Show successful TUI commands individually (#41893)

## What changed

- Emit a separate history cell for each completed command instead of grouping
  consecutive successes into a `Ran N commands` summary.
- Preserve `Explored` grouping for related file reads, searches, and listings.
- Replay completed commands as individual entries so their output and failure
  status remain visible.

## Testing

- Update TUI tests and snapshots for live exploration and replayed commands.

GitOrigin-RevId: 7dafe0b7846fc89784093791a6be137a1b1ab8ff
This commit is contained in:
Benjamin Carlsson authored and copyberry committed 2026-08-31 18:34:10 +00:00
1 parent e51b54b4c0
commit 32f48598a0
16 files changed
+110 -480

No files matched your search

@@ -25,7 +25,6 @@ impl ChatWidget {
let should_pause_active_goal = self
.bottom_pane
.active_view_will_interrupt_turn_on_key_event(key_event);
self.flush_completed_command_activity();
self.bottom_pane.handle_key_event(key_event);
if should_pause_active_goal {
self.pause_active_goal_for_interrupt();
@@ -176,9 +175,6 @@ impl ChatWidget {
let had_modal_or_popup = !self.bottom_pane.no_modal_or_popup_active();
let should_pause_active_goal =
self.bottom_pane.should_interrupt_running_task(key_event);
if key_event.code == KeyCode::Enter {
self.flush_completed_command_activity();
}
let input_result = self.bottom_pane.handle_key_event(key_event);
self.sync_backend_banner_view();
if should_pause_active_goal {