feat: add WebUI status command card#1667
Closed
Michaelyklam wants to merge 1 commit into
Closed
Conversation
Collaborator
|
Closed by the v0.51.1 release in PR #1681 (merged at e23ba59). Massive thanks @Michaelyklam — this is now 19 merged PRs across the v0.50.292–v0.51.1 release window, an extraordinary contribution rate. Each PR was per-claim-vs-diff verified against your description and every security-relevant code path checked under independent review (Opus advisor, 6/6 questions clean). Your Live on production: https://github.com/nesquena/hermes-webui/releases/tag/v0.51.1 🚀 |
nesquena-hermes
pushed a commit
to Michaelyklam/hermes-webui
that referenced
this pull request
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thinking Path
/statusview./statusas an assistant-style inline card and keeps it ephemeral so it does not mutate persisted transcript history.What Changed
/statusto the WebUI slash command registry/help and implemented it from already-loaded client state._statusCarddata.Why It Matters
WebUI users can now inspect the same kind of operational context the CLI exposes without hunting through several UI surfaces or involving the agent. Keeping it client-handled avoids extra latency and avoids polluting saved session history with diagnostic snapshots.
UI Media
Before: WebUI had no
/statusinfo card; users had to infer status from scattered chips/tooltips.After:
/statusrenders an inline assistant-style status card:Verification
env -u HERMES_CONFIG_PATH /home/michael/.hermes/hermes-agent/venv/bin/python -m pytest tests/test_status_command_card.py -q→7 passed in 1.36senv -u HERMES_CONFIG_PATH /home/michael/.hermes/hermes-agent/venv/bin/python -m pytest tests/test_status_command_card.py tests/test_cli_only_slash_commands.py tests/test_subpath_frontend_routes.py -q→23 passed in 1.54senv -u HERMES_CONFIG_PATH -u HERMES_WEBUI_PASSWORD TZ=UTC LANG=C.UTF-8 LC_ALL=C.UTF-8 /home/michael/.hermes/hermes-agent/venv/bin/python -m pytest tests/test_status_command_card.py tests/test_chinese_locale.py -q→12 passed in 2.14snode --check static/commands.js static/ui.js static/i18n.js static/messages.js→ passedgit diff --check→ passed/status, verified the DOM had one[data-status-card], confirmed the card shows session ID, title, model/provider, profile, workspace, timestamps, token/cost usage, message count, and running state, then captured the screenshot above.Full-suite note:
env -u HERMES_CONFIG_PATH -u HERMES_WEBUI_PASSWORD TZ=UTC LANG=C.UTF-8 LC_ALL=C.UTF-8 /home/michael/.hermes/hermes-agent/venv/bin/python -m pytest tests/ -q; it did not pass in this local environment:488 failed, 3791 passed, 5 skipped, 3 xfailed, 1 warning, 13 errors, 8 subtests passed in 334.35s. The failures were broad server-fixture/environment failures dominated byurllib.error.URLError: <urlopen error [Errno 111] Connection refused>against the shared test server at127.0.0.1:20128, plus onboarding fixture errors, not failures in the new focused/statuscoverage.Risks / Follow-ups
model_provider, active provider state, or split from provider-prefixed model names. If future sessions carry richer provider metadata, the card can display that directly.Model Used
AI assisted.
gpt-5.5Closes #463