focus/crates/focus-tui
DaiChaoXiong 71d83d23ed fix(tui): show pending tool calls while streaming; pause-follow hint
1. tool calls inside a streaming assistant message were dropped entirely
   (push_content_block dropped the ToolCall arm after the merged-block
   refactor), so the call info only appeared once the whole turn finished.
   They now render as pending UiBlock::Tool blocks (ExecStatus::Pending, no
   status marker) as soon as the model issues them, then transition to the
   running execution blocks, then the merged request+result block.

2. with two thinkings, the first was pushed out of view by auto-follow when
   the second streamed; scrolling up already pauses follow, and the status
   bar now hints '↑跟随已暂停(滚到最底恢复)' while a run is active and the
   user is reviewing history.

regression test: a streaming partial with a tool call renders a pending Tool
block with the concrete summary.
2026-08-09 22:59:50 +08:00
..
src fix(tui): show pending tool calls while streaming; pause-follow hint 2026-08-09 22:59:50 +08:00
tests fix(tui): show pending tool calls while streaming; pause-follow hint 2026-08-09 22:59:50 +08:00
Cargo.toml feat(tui): add focus-tui terminal UI 2026-08-09 21:35:58 +08:00