Files
codex/codex-rs/tui
Anton Panasenko 8e757686c1 Let users retry a failed TUI reconnect with Ctrl+R (#63599)
## Why

When automatic reconnect failed in a remote conversation, users had to
relaunch Codex to try again and copy any unsent draft they wanted to keep.

## What changed

Press `Ctrl+R` in an eligible disconnected conversation to start a fresh
reconnect attempt while keeping the draft editable. In Vim mode, the
shortcut works in Insert mode and leaves Normal mode redo intact.

Show the retry shortcut in the chat footer, direct users back to the
conversation from the agents overview, and show a fresh timer only while
a reconnect attempt is running.

Clear stale MCP startup activity on disconnect while preserving the busy
state of an active turn. Check whether a selected slash command is
available before submitting it from the offline completion menu.

## Testing

Extend coverage for retry after timeout, draft preservation, Vim Normal
mode, reconnect status, and offline slash-command handling. Verify that
disconnect clears stale MCP startup activity while an active turn stays
busy.

GitOrigin-RevId: 0742219e891be89a78418c9b8bbc789cd660cec5
2026-11-24 10:02:49 +00:00
..