hermes-agent/tui_gateway
jonny cab6447d58 fix(tui): render tool trail consistently between live and resume
Resumed sessions showed raw JSON tool output in content boxes instead
of the compact trail lines seen during live use. The root cause was
two separate rendering paths with no shared code.

Extract buildToolTrailLine() into lib/text.ts as the single source
of truth for formatting tool trail lines. Both the live tool.complete
handler and toTranscriptMessages now call it.

Server-side, reconstruct tool name and args from the assistant
message's tool_calls field (tool_name column is unpopulated) and
pass them through _tool_ctx/build_tool_preview — the same path
the live tool.start callback uses.
2026-04-11 06:35:00 +00:00
..
__init__.py feat: new tui based on ink 2026-04-02 19:07:53 -05:00
entry.py feat: small refactors 2026-04-06 18:38:13 -05:00
render.py tui: inherit Python-side rendering via gateway bridge 2026-04-05 18:50:41 -05:00
server.py fix(tui): render tool trail consistently between live and resume 2026-04-11 06:35:00 +00:00
slash_worker.py feat: personality 2026-04-08 00:15:15 -04:00