focus/crates/focus-tui
DaiChaoXiong ea22f3d9ea fix(tui): restore real-time transcript growth lost in the tool-merge refactor
The on_agent_event handler (committing messages at MessageEnd and clearing
the live partial) was accidentally dropped during the merged-tool-block
refactor, so only the current turn's partial was visible: thinking1 vanished
when thinking2 streamed, and everything appeared only at Done.

- restore on_agent_event: MessageEnd(assistant/toolResult) commits into the
  transcript in real time; commit_partial clears the streamed partial
- tool-block state machine: committed call + result → done; committed call +
  running exec → running with live streamed output; otherwise → pending
  (a committed call no longer shows a bogus ✓ before its result arrives)
- live section skips running execs already rendered via committed blocks

regressions: transcript_grows_in_real_time (app-level),
committed_tool_with_running_exec_shows_live_output (state-level).
2026-08-09 23:05:06 +08:00
..
src fix(tui): restore real-time transcript growth lost in the tool-merge refactor 2026-08-09 23:05:06 +08:00
tests fix(tui): restore real-time transcript growth lost in the tool-merge refactor 2026-08-09 23:05:06 +08:00
Cargo.toml feat(tui): add focus-tui terminal UI 2026-08-09 21:35:58 +08:00