usage

Codex 0.169.0

Tools and page contents
On this page

New 12

01

Terminal workspace supports multiple side-chat tabs

When you want to ask about a separate topic mid-coding, you no longer have to scroll back and forth inside a single chat box. With the opt-in terminal workspace enabled, you can open multiple side-chat tabs along the side and switch between them with your keyboard or mouse.

Even if you quit and restart Codex, you can still reopen saved local side chats and pick up where you left off. ⟦Picture prepping ingredients with several small bowls instead of dumping everything into one bowl to mix together: each dish stays separate, and when you open the fridge for the next meal, you can pull it out intact and keep cooking.⟧

Original changelog

The opt-in terminal workspace supports multiple side-chat tabs. Switch between them with the keyboard or mouse, and reopen saved local side chats after restarting Codex. (#59784, #60152, #60181)

02

Search older tasks by keyword in agent command center

To find a task you ran a few days ago, you no longer have to scroll all the way down a long list. Inside the agent command center, you can now search older tasks by task name, prompt preview, or working directory.

If you finished a project report yesterday and want to reuse that task record today, just type the matching working directory or words from the prompt to pull it up. ⟦Think of picking songs at karaoke: instead of flipping page by page through a thick songbook, you type the title, a lyric snippet, or the artist's name to bring it right up.⟧

Original changelog

Search older tasks from the agent command center by name, prompt preview, or working directory. (#60286)

03

Collapse activity in full-screen transcript to keep answers

Reviewing a long transcript often means wading through walls of tool execution steps just to reach the final answer. Now, when you turn on **Collapse turn details** in the full-screen transcript, completed activity beneath each prompt folds away automatically.

Your answers stay clearly visible on screen, while the collapsed tool output remains directly searchable. ⟦A gallery exhibition works the same way: instead of leaving shipping crates and wrapping paper piled under every frame, the packing materials go into storage so only the artwork stays on display, yet you can still look up the shipping labels whenever needed.⟧

Original changelog

Turn on **Collapse turn details** in the full-screen transcript to fold completed activity beneath each prompt while keeping answers visible and tool output searchable. (#60554, #60555, #60556, #60557)

04

Manage custom providers and sign in with device code in terminal

Connecting to a remote host or a text-only environment without a browser often stalls when a custom model provider expects a web login redirect. You can now add or edit custom model providers directly from the terminal.

With custom gateway onboarding enabled, you can create a provider right during sign-in. For supported gateways, even over SSH (remote text connection) or on a machine without a local browser, you can authenticate using a device code instead. ⟦Imagine standing at a self-service locker with no card reader: where you once needed a physical tap card, the screen now shows a pickup code that you enter on your phone beside it to open the door.⟧

Original changelog

Add or edit custom model providers from the terminal. With custom gateway onboarding enabled, you can create a provider during sign-in and use a device code for supported gateways over SSH or without a local browser. (#59779, #60009, #60186, #60486, #60662)

05

Press Ctrl+S in report editor to save diagnostics locally

When a corporate network is restricted or uploads are disabled, getting diagnostic data out for troubleshooting can be a dead end. Now, pressing Ctrl+S in the terminal report editor saves a diagnostic ZIP archive directly to your machine, even when uploads are turned off. ⟦It feels like writing a field log on a mountain with no cell signal: instead of staring at an unsent screen, you hit save to write it onto a portable memory card and carry it down with you.⟧

Original changelog

Press Ctrl+S in the terminal report editor to save a diagnostic ZIP locally, even when uploads are disabled. (#60542)

06

Terminal Cloud connection supports images and archiving

When connected to Cloud from a terminal on macOS or Linux, sending a screenshot or adjusting reasoning depth used to mean switching to another interface. With this opt-in connection enabled, you can now send images and choose your model and reasoning effort directly from the terminal.

Once a discussion wraps up, or when you want to bring back an earlier thread, you can archive or restore Cloud conversations right from the terminal as well. ⟦Say a smartwatch could previously only display text alerts, and now lets you send photos, adjust notification intensity, and tuck away or pull back old alerts straight from your wrist.⟧

Original changelog

With the opt-in Cloud connection on macOS and Linux, send images, choose a model and reasoning effort, and archive or restore Cloud conversations from the terminal. (#59828, #60061, #60635, #60651)

07

codex exec skips project config in untrusted directories

Running automated checks on an unfamiliar project downloaded from the web always carries the risk of bundled settings silently opening external connections. Even with --sandbox workspace-write, codex exec keeps project configuration and MCP (a protocol that connects AI to external tools) servers disabled as long as the directory is untrusted.

Once you verify the directory is safe and want to save its trusted status, pass --trust to codex exec or codex review. ⟦Plug an unfamiliar USB drive into your computer, and even if you allow writing files to it, its autorun scripts stay locked until you explicitly click trust to let them run and remember your choice.⟧

```bash codex exec --trust # Run task and save project trust codex review --trust # Run review and save project trust ```

Original changelog

codex exec keeps project configuration and MCP servers disabled in untrusted directories, even with --sandbox workspace-write. Use --trust with codex exec or codex review to explicitly save project trust. (#60041)

08

Full approved plan handed off when clearing context

After finalizing a plan with Codex, clearing context for a fresh start keeps earlier discussion from eating up memory. Now, selecting **Yes, clear context and implement** hands the full approved plan over to the fresh session. If the handoff fails, the current session stays open instead of closing on the spot. ⟦Like closing an old bank account to transfer the balance, the teller only cancels the old passbook after confirming the full amount has landed in the new account, leaving the original account untouched if the transfer fails midway.⟧

Original changelog

**Yes, clear context and implement** now hands the full approved plan to the fresh session and keeps the current session open if the handoff fails. (#60763)

09

Preserve orientation and native format for pasted macOS images

Copying and pasting an image directly into the chat box on macOS could occasionally leave the photo rotated the wrong way. Pasted images now retain their intended orientation. Whenever native PNG or JPEG data is available on the clipboard, those formats are used directly as well.

Original changelog

Pasted images on macOS retain their intended orientation and use native PNG or JPEG clipboard data when available. (#60455)

10

openai-docs skill focuses on team setup and onboarding

If you are just getting started with Codex and ChatGPT Work, or unsure where to begin with your first API (an interface for connecting programs) integration, you can turn straight to the openai-docs skill. The updated openai-docs focuses on questions about these two products and first-time API setup, and adds dedicated guidance for configuring Codex consistently across a team. ⟦Swapping a general handbook for a city-specific brochure puts first-time transit tips, popular questions, and group-leader notes all in one place.⟧

Original changelog

Updated the openai-docs skill to focus on Codex and ChatGPT Work questions and first-time API setup, with dedicated guidance for configuring Codex across a team. (#59944, #59949)

11

App-server clients get docs for models and gateways

For engineers building integrations who want to target a specific configured provider without touching the default option, this update has you covered. The documentation now clearly explains how to list models for a configured provider or authorize its gateway without changing the default provider.

Original changelog

Documented how app-server clients can list models or authorize a gateway for a configured provider without changing the default provider. (#59776, #59819)

12

Plugin marketplace upgrades reuse local data to cut downloads

When upgrading in the plugin marketplace, few things are more annoying than having to download files all over again when plenty of them are already on your computer. Plugin marketplace upgrades can now reuse existing Git (a version control tool) objects already on disk, reducing repeat downloads. ⟦Take rebuilding a LEGO set into a new model: instead of buying a whole new box every time, you can use parts you already have in the bin and skip buying everything again.⟧

Original changelog

Plugin marketplace upgrades can reuse Git objects already on disk, reducing repeat downloads. (#60528)

Fixed 3

13

Fix Windows sandbox path and directory permission handling

Running commands in the Windows sandbox previously broke on quoted cmd.exe paths or PowerShell sessions whose working directory had an unreadable parent. This has been fixed, and both cases now work properly.

Original changelog

Fixed Windows sandbox handling for quoted cmd.exe paths and for PowerShell sessions whose working directory has an unreadable parent. (#60624, #60647)

14

Terminal no longer gets stuck waiting or hit by prior interruptions

After finishing or stopping a conversation turn in the terminal, the last thing you want is waiting or leftover signals from the previous round blocking your next step.

When a shared app server does not report back on MCP servers, the terminal no longer stays stuck in a busy state waiting.

Interrupted turns also wrap up cleanly, so even a late abort signal or a delayed file approval cancellation will no longer cut off a later turn. ⟦Just as a photo studio shooting two clients back-to-back must clear the set when the first wraps early, undelivered gear or late cancellation notices will not disrupt the next shoot.⟧

Original changelog

The terminal no longer stays busy waiting for MCP servers that a shared app server did not report. (#60280, #60622)

Interrupted turns now close cleanly, and delayed aborts or file approval cancellations no longer interrupt a later turn. (#59910, #60700)

15

Bundled SQLite upgraded to 3.54 with log fixes

Under the hood, Codex relies on a bundled SQLite database to store data locally, though most people never interact with it directly. This update upgrades bundled SQLite to version 3.54 and pulls in fixes for the write-ahead log (a mechanism that keeps a backup record before data is officially saved). ⟦Much like keeping a copy of the shipping slip before sending a package, this update fixes a glitch in that pre-recording step so it runs smoothly behind the scenes.⟧

Original changelog

Updated bundled SQLite to 3.54 to pick up write-ahead log fixes. (#60432)