From d3b693524f2cd7305a4a6a98bf849fca1f668ffe Mon Sep 17 00:00:00 2001 From: Nathan Esquenazi Date: Fri, 3 Apr 2026 21:11:52 -0700 Subject: [PATCH] =?UTF-8?q?docs:=20v0.30.1=20release=20=E2=80=94=20CLI=20b?= =?UTF-8?q?ridge=20fixes,=20README=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CHANGELOG: add v0.30.1 entry covering PRs #57-#61 (CLI session bridge fixes: sidebar rendering, profile-aware state.db path, silent SQL error, show/hide toggle in Settings. README: add CLI session bridge, token/cost display, subagent cards, /usage command, skills linked files, show CLI sessions toggle. Version label: v0.30 -> v0.30.1 in index.html, SPRINTS, CHANGELOG footer. Co-Authored-By: Claude Opus 4.6 (1M context) EOF ) --- CHANGELOG.md | 28 +++++++++++++++++++++++++++- README.md | 11 ++++++++--- SPRINTS.md | 4 ++-- static/index.html | 2 +- 4 files changed, 38 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dde51e..5849037 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,32 @@ --- +## [v0.30.1] CLI Session Bridge Fixes +*April 4, 2026 | 424 tests* + +### Bug Fixes +- **CLI sessions not appearing in sidebar.** Three frontend gaps: `sessions.js` + wasn't rendering CLI sessions (missing `is_cli_session` check in render loop), + sidebar click handler didn't trigger import, and the "cli" badge CSS selector + wasn't matching the rendered DOM structure. (#58) +- **CLI bridge read wrong profile's state.db.** `get_cli_sessions()` resolved + `HERMES_HOME` at server launch time, not at call time. After a profile switch, + it kept reading the original profile's database. Now resolves dynamically via + `get_active_hermes_home()`. (#59) +- **Silent SQL error swallowed all CLI sessions.** The `sessions` table in + `state.db` has no `profile` column — the query referenced `s.profile` which + caused a silent `OperationalError`. The `except Exception: return []` handler + swallowed it, returning zero CLI sessions. Removed the column reference and + added explicit column-existence checks. (#60) + +### Features +- **"Show CLI sessions" toggle in Settings.** New checkbox in the Settings panel + to show/hide CLI sessions in the sidebar. Persisted server-side in + `settings.json` (`show_cli_sessions`, default `true`). When disabled, CLI + sessions are excluded from `/api/sessions` responses. (#61) + +--- + ## [v0.30] CLI Session Bridge (Community: @thadreber-web) *April 4, 2026 | 424 tests* @@ -1042,4 +1068,4 @@ Three-panel layout: sessions sidebar, chat area, workspace panel. --- -*Last updated: v0.30, April 4, 2026 | Tests: 426* +*Last updated: v0.30.1, April 4, 2026 | Tests: 424* diff --git a/README.md b/README.md index 0cc6b57..00e4f53 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ Or using the agent venv explicitly: ``` Tests run against an isolated server on port 8788 with a separate state directory. -Production data and real cron jobs are never touched. Current count: **426 tests** +Production data and real cron jobs are never touched. Current count: **424 tests** across 22 test files. --- @@ -191,6 +191,7 @@ across 22 test files. - Retry the last assistant response with one click - Cancel a running task from the activity bar - Tool call cards inline -- each shows the tool name, args, and result snippet; expand/collapse all toggle for multi-tool turns +- Subagent delegation cards -- child agent activity shown with distinct icon and indented border - Mermaid diagram rendering inline (flowcharts, sequence diagrams, gantt charts) - Thinking/reasoning display -- collapsible gold-themed cards for Claude extended thinking and o3 reasoning blocks - Approval card for dangerous shell commands (allow once / session / always / deny) @@ -211,6 +212,8 @@ across 22 test files. - Download as Markdown transcript, full JSON export, or import from JSON - Sessions persist across page reloads and SSH tunnel reconnects - Browser tab title reflects the active session name +- CLI session bridge -- CLI sessions from hermes-agent's SQLite store appear in the sidebar with a gold "cli" badge; click to import with full history and reply normally +- Token/cost display -- input tokens, output tokens, estimated cost shown per conversation (toggle in Settings or `/usage` command) ### Workspace file browser - Directory tree with expand/collapse (single-click toggles, double-click navigates) @@ -250,19 +253,21 @@ across 22 test files. ### Settings and configuration - Settings panel (gear icon) -- default model, default workspace, send key preference - Send key: Enter (default) or Ctrl/Cmd+Enter +- Show/hide CLI sessions toggle (enabled by default) +- Token usage display toggle (off by default, also via `/usage` command) - Cron completion alerts -- toast notifications and unread badge on Tasks tab - Background agent error alerts -- banner when a non-active session encounters an error ### Slash commands - Type `/` in the composer for autocomplete dropdown -- Built-in: `/help`, `/clear`, `/model `, `/workspace `, `/new` +- Built-in: `/help`, `/clear`, `/model `, `/workspace `, `/new`, `/usage` - Arrow keys navigate, Tab/Enter select, Escape closes - Unrecognized commands pass through to the agent ### Panels - **Chat** -- session list, search, pin, archive, projects, new conversation - **Tasks** -- view, create, edit, run, pause/resume, delete cron jobs; run history; completion alerts -- **Skills** -- list all skills by category, search, preview, create/edit/delete +- **Skills** -- list all skills by category, search, preview, create/edit/delete; linked files viewer - **Memory** -- view and edit MEMORY.md and USER.md inline - **Profiles** -- create, switch, delete agent profiles; clone config - **Todos** -- live task list from the current session diff --git a/SPRINTS.md b/SPRINTS.md index 00b24a1..6727982 100644 --- a/SPRINTS.md +++ b/SPRINTS.md @@ -1,6 +1,6 @@ # Hermes Web UI -- Forward Sprint Plan -> Current state: v0.30 | 426 tests | Daily driver ready +> Current state: v0.30.1 | 424 tests | Daily driver ready > This document plans the path from here to two targets: > > Target A: 1:1 feature parity with the Hermes CLI (everything you can do from the @@ -898,5 +898,5 @@ genuinely differentiating for an open-source project --- *Last updated: April 4, 2026* -*Current version: v0.30 | 426 tests* +*Current version: v0.30.1 | 424 tests* *Next sprint: Sprint 24 (Web Polish + Bug Fix Pass)* diff --git a/static/index.html b/static/index.html index ff36311..c8dc68d 100644 --- a/static/index.html +++ b/static/index.html @@ -13,7 +13,7 @@