hermes-agent/ui-tui/src
Teknium 2536a36f6f fix(tui): route /save through session.save JSON-RPC
The cherry-picked approach serialized the UI-shaped transcript on the Node
side, producing a third JSON format alongside cli.py save_conversation and
tui_gateway session.save. Simpler to call the existing session.save method,
which already writes the canonical agent history (raw OpenAI messages +
model) to an absolute-path file.

- /save still short-circuits before the slash worker
- Empty transcript -> 'no conversation yet'
- No active session -> 'no active session - nothing to save'
- Otherwise: rpc('session.save', {session_id}) and echo back the file path
- Tests updated to assert RPC contract; new test covers the no-sid case
2026-04-25 18:11:37 -07:00
..
__tests__ fix(tui): route /save through session.save JSON-RPC 2026-04-25 18:11:37 -07:00
app fix(tui): route /save through session.save JSON-RPC 2026-04-25 18:11:37 -07:00
components fix(tui): track rendered spaces for selection copy 2026-04-25 15:21:26 -05:00
config chore(tui): /clean pass — inline one-off locals, tighten ConfirmPrompt 2026-04-19 07:55:38 -05:00
content refactor(tui): simplify remote copy hotkey hints 2026-04-25 15:09:12 -05:00
domain feat(tui): stream thinking + tools expanded by default 2026-04-24 02:53:44 -05:00
hooks fix(tui): address PR #13231 review comments 2026-04-20 19:09:09 -05:00
lib refactor(tui): share remote shell detection 2026-04-25 14:55:28 -05:00
protocol refactor(tui): /clean pass across ui-tui — 49 files, −217 LOC 2026-04-16 22:32:53 -05:00
types fix(tui): improve macOS paste and shortcut parity 2026-04-21 08:00:00 -07:00
app.tsx fix(tui): apply ui-tui fix pass and restore type-check 2026-04-25 14:08:54 -05:00
banner.ts refactor(tui): /clean pass across ui-tui — 49 files, −217 LOC 2026-04-16 22:32:53 -05:00
entry.tsx fix(tui): drop main-screen banner flash, widen alt-screen clear on entry 2026-04-22 15:27:54 -05:00
gatewayClient.ts fix(tui): address PR #13231 review comments 2026-04-20 19:09:09 -05:00
gatewayTypes.ts fix(tui): route /save through session.save JSON-RPC 2026-04-25 18:11:37 -07:00
theme.ts feat(tui): subagent spawn observability overlay 2026-04-22 10:38:17 -05:00
types.ts fix(tui): gate messageLine on content-bearing sections, not all sections 2026-04-24 03:01:06 -05:00