mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
## Why `/archive` exits the TUI even when connected to a local daemon or remote app server, interrupting access to other tasks. ## What changed - Keep the TUI running after a successful archive on local daemon and remote connections, and reopen the agent command center. - Shut down side conversations before archiving, then clear the archived thread's local state, transcript, and unsent draft. - Preserve exit-on-archive behavior for the embedded app server and remove the exit promise from `/archive` help and confirmation text. ## Testing Add coverage for local daemon and remote connections, including side-thread cleanup, archive requests, cleared session state, and the resulting command center snapshot. Retain coverage for embedded archive success and failure. GitOrigin-RevId: 36c61ec76a13a3fc1b5d6725e3b8f42a97fe6793