Open /status in an interactive TUI modal (#64772)

## Why

Rate limits and thread usage can arrive after `/status` is displayed.
Updating a status card already in terminal scrollback required rewriting
history and depended on where the card was rendered.

## What changed

- Show the report in a scrollable modal with Overview, Configuration, and
  Session tabs. Apply rate limit and thread usage results to the open report
  without writing status output to the transcript or terminal scrollback.
- Copy a selected field or the full report directly from the modal, and open
  usage settings from the same view. Remove status fields from the `/copy`
  picker.

## Testing

Add coverage for overlapping refreshes, dismissal during account or thread
changes, keyboard navigation and copying during an active turn, and scrolling
in a narrow terminal.

GitOrigin-RevId: 64961c4d013607e373d50a79182b74e3048c632f
This commit is contained in:
Felipe Coury
2026-11-30 17:40:02 +00:00
committed by copyberry
parent f7184ab849
commit f92681791d
92 changed files with 1652 additions and 1941 deletions
+2
View File
@@ -554,6 +554,8 @@ trust_level = "trusted"
})
.await
.with_context(|| format!("daemon status timed out: {output}"))??;
// Dismiss the status modal before sending /quit to the composer.
session.writer_sender().send(b"\x03".to_vec()).await?;
}
if analytics {
for reason in ["turn_start", "resize"] {