Files
codex/codex-rs/tui
Eric Traut 774d642582 Populate the agents overview from background tool responses (#46946)
## Why

Tool responses can arrive without a `thread/started` notification, leaving background threads missing from the agents overview.

## What changed

Register metadata returned by background thread creation, forking, and resumption as a fallback, then refresh and repaint the overview. Clear turn history before registration and exclude ephemeral threads.

Preserve existing metadata and track archived or deleted threads so delayed tool responses cannot restore removed rows. Clear that removal tracking when a thread starts or is unarchived.

## Testing

Extend tests to cover tool-created and forked thread registration, missing start notifications, and delayed responses alongside metadata refreshes and lifecycle removals.

GitOrigin-RevId: a6f892f1c839dc69fac24b00c34927a7c5f8ce84
2026-09-21 06:09:42 +00:00
..