You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Proposal: include a pairing code when starting remote control #32826
codex remote-control start enables remote control but does not return a manual pairing code. Users must run codex remote-control pair as a second command, which makes initial setup less discoverable and adds an unnecessary gap between enabling remote control and connecting a controller. The foreground form has the same limitation.
Prototype fix
After remote control becomes ready, the CLI requests a short-lived pairing artifact with a manual code and includes it in the start output. Human output prints the pairing code, while JSON output includes the pairing object. The existing codex remote-control pair command remains available, and the start help text now documents the behavior.
I tested a complementary setup flow on WSL2: expose Remote Control directly inside an active TUI session as /remote-control, then render the opaque pairingCode as the same https://chatgpt.com/codex/pair?pairing_code=... QR/deep link used by the desktop flow. The short manual code remains visible as fallback.
This preserves the existing remote-control start and remote-control pair subcommands while making setup discoverable without leaving the current Codex session. The flow has focused unit tests, an insta UI snapshot, and was validated interactively in a WSL terminal.
Activity
cendyandreoli commentedon Aug 25, 2026
I tested a complementary setup flow on WSL2: expose Remote Control directly inside an active TUI session as
/remote-control, then render the opaquepairingCodeas the samehttps://chatgpt.com/codex/pair?pairing_code=...QR/deep link used by the desktop flow. The short manual code remains visible as fallback.Reference implementation: https://github.com/cendyandreoli/codex/tree/cli-remote-control
Relevant commits:
/remote-controlTUI commandThis preserves the existing
remote-control startandremote-control pairsubcommands while making setup discoverable without leaving the current Codex session. The flow has focused unit tests, aninstaUI snapshot, and was validated interactively in a WSL terminal.