Files
codex/codex-rs
Eric Traut 32f77f824d Restore the TUI Working indicator when a Stop hook continues a turn (#63736)
## Why

A final answer hides the Working indicator. If a Stop hook then asks
Codex to continue, the TUI can look idle while the turn is still running.

## What changed

Restore the indicator when a completed `HookPrompt` belongs to the
current running turn, both during live updates and when replaying a
thread snapshot.

## Testing

Add a regression test that snapshots the restored Working row during a
live retry, checks that snapshot replay also restores it, and verifies
that replaying the prompt after turn completion leaves it hidden.

GitOrigin-RevId: 67909c92b628ff5389ea9b417e7e5133a9acdeec
2026-11-24 20:35:36 +00:00
..
…
…
…