Repository navigation
Conversation
Reads local state.db (default home plus existing profiles). No invented 5-hour/weekly limits — Hermes is multi-provider. Missing or truncated databases still print valid JSON so the updater does not fail.
There was a problem hiding this comment.
Pull request overview
Adds Hermes Agent usage collection to the agents panel using local profile databases.
Changes:
- Adds the Hermes collector with schema-tolerant SQLite scanning.
- Adds scanner tests and collector documentation.
- Adds an optional Hermes panel icon.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
bin/omarchy-agent-usage-hermes |
Implements Hermes usage collection. |
test/shell.d/agent-usage-hermes-scanner-test.sh |
Tests database scanning and failure handling. |
shell/plugins/agents/README.md |
Documents Hermes data sources. |
shell/plugins/agents/assets/hermes.svg |
Adds the Hermes panel mark. |
manual/17-ai.md |
Lists Hermes as supported. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Closing in favor of #6645 / #6647. Same collector ( Zero QML here was deliberate; #6647 already has the QML. No unique collector behavior worth keeping. |
|
Superseded by #6647. |
Why
The agents bar panel is display-only. It picks up any
omarchy-agent-usage-<agent>collector. Claude, Codex, and Fireworks ship; Hermes does not.What
omarchy-agent-usage-hermesprints the panel record from localstate.db(~/.hermes+ existing~/.hermes/profiles/*)session_model_usageand usermessages; probessqlite_master/PRAGMA table_infoso a schema bump does not crash the updatertierLabelis the dominant billing providerready: false) so sibling collectors are not failedassets/hermes.svgmarkTest plan
bash test/shell.d/agent-usage-hermes-scanner-test.sh./test/cli(metadata)state.db(ready, grok-4.6 + glm models, empty limits)Rollback: revert the branch. Existing
~/.local/state/omarchy/agents/usage/hermes.jsoncan be deleted; the panel hides agents with no record.