Skip to content

feat: /status command — at-a-glance session info card in Web UI #463

@nesquena-hermes

Description

@nesquena-hermes

Summary

The Web UI has no equivalent of the CLI's /status command, which gives an at-a-glance dump of the current session: session ID, model, provider, token usage, active profile, and timestamps. This information is scattered across several places in the UI (context indicator tooltip, profile chip, model chip) but there is no single command or panel that surfaces it cleanly, and several fields (session ID, provider, start time) are not visible anywhere in the Web UI at all.

Current state

The CLI's /status prints a "Hermes CLI Status" panel with:

  • Session ID
  • Hermes home path
  • Title (if set)
  • Model + provider
  • Created timestamp
  • Last activity timestamp
  • Total tokens for the session
  • Whether an agent is currently running

The CLI's /profile prints the active profile name and its home directory.

In the Web UI, some of this exists but fragmented:

  • Model is shown in the composer chip
  • Profile name appears in the bottom-left profile chip
  • Token usage shows in the context indicator tooltip (if show_token_usage is on)
  • Session title shows in the sidebar

Session ID, provider, start time, and hermes home path are invisible from the Web UI entirely.

Proposed solution

Slash command — add /status to COMMANDS. When executed it renders a compact info card as an assistant-role message (not sent to the agent — handled client-side). The card shows:

Session:  abc123_def456
Title:    Can we remove those timestamps...
Model:    claude-sonnet-4-6  (anthropic)
Profile:  webui
Started:  Apr 16 2026, 2:14pm
Tokens:   4,821 in / 1,203 out  (~$0.009)

All data is available client-side from S.session, S.lastUsage, and window._activeProvider without any new API calls.

Session info tooltip / hover — optionally, clicking the session title in the header (or a small ⓘ icon next to it) could show the same card as a popover, making it accessible without knowing the slash command.

Profile info/profile (or add profile details to /status) shows which profile is active and where its home dir is. The profile panel already shows the profile list but does not highlight "you are here" prominently enough when you have multiple profiles.

Files involved

  • ~/hermes-webui-public/static/commands.js — add /status to COMMANDS, implement cmdStatus() using S.session, S.lastUsage, window._activeProvider
  • ~/hermes-webui-public/static/ui.js — optional info popover on session title
  • ~/.hermes/hermes-agent/cli.py — reference: _show_session_status (line 3667)

Metadata

Metadata

Assignees

No one assigned

    Labels

    commandsSlash commands, /model, /reasoning, autocompleteenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions