usage

Codex 0.171.0

Tools and page contents
On this page

New 8

01

Model Catalogs Add GPT-6.2 Sol and Astra

Open the menu before starting a new conversation, and you will find two new additions. GPT-6.2 Sol and Astra have been added to the model catalogs, with Sol set as the default catalog selection. ⟦Picture a stationery shop putting two new pens on display—previously only older styles sat on the rack, and now there are not only new choices, but one sits right in the handiest default spot.⟧

Original changelog

Added GPT-6.2 Sol and Astra to model catalogs, with Sol as the default catalog selection. (#62106)

02

TUI Workspace Enabled by Default with Side-by-Side Previews

Having to open a separate window to flip through documents while asking AI to edit data often leaves your eyes jumping between several places. Now the TUI (a text-based interface in the terminal) workspace is enabled by default, so you can see a side-by-side layout without switching views.

Searchable document previews and image previews appear right next to the main conversation. If a subagent (an assistant that handles parallel work for the main conversation) is running, its full transcript is placed alongside it for easy comparison. ⟦Think of spreading folders across both sides of your desk while organizing a report: instead of flipping through files one by one, your reference docs, images, and side-investigation notes sit right next to your main draft.⟧

Original changelog

Enabled the TUI workspace by default, with searchable document previews, image previews, and subagent transcripts alongside the main conversation. (#61352, #61888, #61889, #61919, #62157)

03

Non-Vim Composer Adds Configurable Undo and Redo Shortcuts

You paste a large block of reference material and attach a file while organizing a report, only to slip and delete the entire prompt. Now, as long as you are not in Vim (a keyboard-only editing mode), you can configure undo and redo shortcuts in the prompt composer.

When you trigger them, not only is plain text restored, but previously attached files and large pasted blocks also return intact to the input box. ⟦Just like making a collage on a clipboard, if you accidentally sweep away a whole chunk of cut-out text and images, stepping back puts the entire photo and long clipping right back on the table.⟧

Original changelog

Added configurable undo and redo shortcuts to the non-Vim prompt composer, including restoration of attachments and large pastes. (#61954)

04

codex exec Adds --remote Flag

A Codex service is already running on a remote machine, and you want to dispatch tasks to it from a script. By running the command below, you can connect to an existing app server and start or resume noninteractive sessions (runs that finish after you send a command, without back-and-forth):

```bash codex exec --remote <ADDR> # Replace <ADDR> with the target server address ```

Analogy

A factory production line is already up and running—you simply feed materials onto the existing line to start or continue work.

Original changelog

Added codex exec --remote <ADDR> to start or resume noninteractive sessions on an existing app server. (#61707)

05

Terminal Adds /rc and /remote to Manage Remote Control

When you step away from your desk and want to use another device to remotely control a conversation running locally, how do you pair quickly? In the terminal interface, enter /rc or /remote to manage local remote control and display device pairing codes directly. ⟦It is like connecting a smart TV in the living room by bringing up the pairing code right on the screen.⟧

Original changelog

Added /rc and /remote to manage local remote control and display device pairing codes from the TUI. (#62121)

06

/statusline Supports Custom and Selectable MCP Status Lines

After staring at the bottom of the terminal for a while, it is natural to want information from your frequently used external tools pinned right there. Once tui_extensions_statusline is enabled, you can use /statusline to manage the bottom status bar.

Through this command, you can pick from ready-made styles or author your own MCP (a protocol that lets AI connect to external tools) status line to display. ⟦Compare it to a car dashboard: before, you could only watch the factory indicator lights, whereas now you can pick or assemble the widget fields you want to display.⟧

Original changelog

Added custom MCP status line selection and authoring through /statusline when tui_extensions_statusline is enabled. (#61979, #61988, #62037)

07

Switching or Steering No Longer Overwrites Progress and Permissions

Switching between tasks or adjusting direction mid-conversation now keeps your existing settings and half-written work intact.

When switching or resuming sessions, in-progress drafts, queued follow-up messages, and interrupted input stay with their original threads.

When changing your working directory to another folder, previously configured permission profiles remain untouched.

A late completion notification from a previous turn will no longer mistakenly cancel a pending permission approval for a newer turn.

When steering an active turn mid-way, aggregate diffs still preserve earlier edits.

Previously, switching conversations or changing directories meant worrying about losing drafts, permissions, and edit history; now these active states carry over intact.

Original changelog

Preserved drafts, queued follow-ups, and interrupted input with their original threads when switching or resuming sessions. (#61216)

Kept permission profiles intact when changing working directories. (#61195)

Prevented late completion events from cancelling approvals for a newer turn. (#61801)

Preserved earlier edits in aggregate diffs when steering an active turn. (#61820)

08

For Source Builders: Build Tooling and XML Package Updates

This set of underlying updates is primarily for developers who build from source or handle packaging and releases.

Source build workflows and release tooling have been upgraded to Rust 1.99.1.

Dependencies for handling XML (a common tag-based data format) have been updated as well, and obsolete security advisory exceptions have been removed.

Original changelog

Updated source builds and release tooling to Rust 1.99.1. (#61205)

Updated XML dependencies and removed obsolete security advisory exceptions. (#62068)

Fixed 2

09

Fixed Terminal Scrolling Input and Redraw Issues

When scrolling through content in the terminal, you might previously have run into stray characters appearing during scrolling, the composer caret jumping, or the screen redrawing with stale terminal dimensions. These issues are now fixed, so scrolling, caret placement, and terminal-dimension redraws all work properly.

Original changelog

Fixed scrolling that inserted stray characters, composer caret jumps, and redraws using stale terminal dimensions. (#62139, #62174, #62175)

10

Fixed Enterprise MCP Sign-In When Only ID Tokens Are Issued

When verifying identity through a company account, some services only issue an ID token (an authorization credential used to verify identity). Because no refresh token was included for renewal, this setup previously caused enterprise MCP sign-in to fail. That issue is now fixed, so enterprise MCP sign-in works normally even when only an ID token is received.

Original changelog

Fixed enterprise MCP sign-in for identity providers that issue ID tokens without refresh tokens. (#62129)