What problem does it solve?
Long-running Codex CLI sessions inside tmux can be interrupted by terminal or network disconnects, and users need a simple way to turn disconnect recovery monitoring on or off for the current thread without leaving the conversation.
Core Features & Use Cases
- Enable Recovery: Run
$reconnect on to execute codex-reconnect on and start monitoring the current tmux Codex thread for disconnects.
- Disable Recovery: Run
$reconnect off to execute codex-reconnect off and stop recovery monitoring.
- Strict Scope: Only responds to the two explicit invocations, relays the command result honestly, and never claims coverage for quota, authentication, or task-completion failures.
- Use Case: You are running a long Codex coding session in tmux over SSH and want the session to survive a dropped connection, so you type
$reconnect on before stepping away.
Quick Start
Type $reconnect on in your tmux-based Codex CLI session to enable disconnect recovery for the current thread.