hermes - ✅(Solved) Fix Dashboard: show session ID and token counts on sessions page [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#23461Fetched 2026-05-11 03:29:23
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3cross-referenced ×1

Fix Action

Fixed

PR fix notes

PR #23462: feat(dashboard): show session ID and token counts on sessions page

Description (problem / solution / changelog)

Summary

The sessions dashboard at /sessions currently shows model, message count, tool calls, and time ago — but omits the session ID and token usage. This PR adds both.

Changes

  • Session ID — clickable label at the far right of each row's metadata line. Click copies the full ID to clipboard with a brief "Copied!" confirmation. Default color: muted-foreground/50, turns green (text-success) on copy. Tooltip: "Click to copy session ID".

  • Token counts — displayed between tool calls and time ago in compact format (e.g. "12.5K in · 3.2K out"). Hidden when both input and output tokens are zero.

Before / After

Row before:

deepseek-v4-pro · 5 msgs · 3 tools · 2h ago

Row after:

deepseek-v4-pro · 5 msgs · 3 tools · 12.5K in · 3.2K out · 2h ago · 20260510_193553…

Files changed

  • web/src/pages/SessionsPage.tsx — 33 insertions in SessionRow component

How to Test

  1. Open dashboard at http://127.0.0.1:9119/sessions
  2. Verify each session row shows token counts (when >0) and session ID at far right
  3. Click the session ID — clipboard should receive the full ID, text briefly shows "Copied!"
  4. Hover over ID — tooltip shows "Click to copy session ID"

Platform Tested

  • Windows 11 (native) with git-bash
  • Hermes Agent latest main

Related

Closes #23461

Changed files

  • web/src/pages/SessionsPage.tsx (modified, +33/-0)

Code Example

deepseek-v4-pro · 5 msgs · 3 tools · 12.5K in · 3.2K out · 2h ago · 20260510_193553
RAW_BUFFERClick to expand / collapse

Feature Description

The sessions dashboard at /sessions currently shows model, message count, tool calls, and time ago — but omits the session ID and token usage. Users need to see their session ID to reference it in support requests or share it, and token counts are the primary cost/usage metric.

Proposed Changes

  1. Session ID — displayed at the far right of each session row's metadata line (after time ago). Clicking copies the full ID to clipboard with a brief "Copied!" confirmation. Color: muted-foreground/50 by default, switches to text-success on copy.

  2. Token counts — displayed between tool calls and time ago in compact K format (e.g. "12.5K in · 3.2K out"). Hidden when both input and output tokens are zero.

Row layout (after change)

deepseek-v4-pro · 5 msgs · 3 tools · 12.5K in · 3.2K out · 2h ago · 20260510_193553…

Files changed

  • web/src/pages/SessionsPage.tsx — added session ID button and token count spans to SessionRow

Screenshots

(Attach before/after screenshots once PR is up)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING