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

-3
View File
@@ -1203,9 +1203,6 @@ impl ChatWidget {
pub(crate) fn pre_draw_tick(&mut self) {
self.update_due_hook_visibility();
self.schedule_hook_timer_if_needed();
if self.bottom_pane.has_active_view() {
self.flush_completed_command_activity();
}
self.bottom_pane.pre_draw_tick();
if let Some(pet) = self.ambient_pet.as_ref() {
pet.schedule_next_frame();