Codex CLI 0.171.0 turns its terminal workspace on by default and adds remote sessions
OpenAI's Codex CLI shipped version 0.171.0 on November 20, enabling the terminal workspace by default and adding commands to start or resume sessions on a remote app server. The release also adds GPT-6.2 Sol and Astra to the model catalog and fixes several session bugs.
Why it matters
With the TUI workspace on by default, developers get searchable document previews, image previews and subagent transcripts beside the main conversation. The update also lets the prompt composer use configurable undo and redo shortcuts, restoring attachments and large pastes when an action is reversed.
Two new slash commands, /rc and /remote, manage local remote control and show device pairing codes. A codex exec --remote flag starts or resumes noninteractive sessions on an existing app server.
The changelog lists 0.171.0 as published on 2026-11-20. Fixes include preserving drafts and queued follow-ups when switching sessions, keeping permission profiles when the working directory changes, and repairing enterprise MCP sign-in for identity providers that issue ID tokens without refresh tokens.