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). |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||