Codex 0.154.0
Highlights in this release
New 11
GPT-6-Astra Arrives in Model Picker and Bedrock with Updated Migration Guides
Looking to try the latest model during development? You can now select GPT-6-Astra directly from the model picker. This update is also available in the Amazon Bedrock service catalog. If you plan to migrate existing projects, the bundled OpenAI Docs skill has been updated with dedicated migration steps, compatibility notes, and prompting guidance for GPT-6-Astra. ⟦It is like a carmaker showcasing a new flagship model in showrooms and dealership catalogs, while immediately updating the owner's manual with upgrade guides, compatibility details, and driving tips.⟧ Whether you invoke it from the local menu or cloud catalog, you can switch smoothly by following the guides.
Original changelog
GPT-6-Astra is now available in the model picker and Amazon Bedrock catalogs. (#42879, #42619)
Updated the bundled OpenAI Docs skill with GPT-6-Astra migration, compatibility, and prompting guidance. (#42931)
Experimental Worktree Support Arrives to Browse and Resume Isolated Checkouts
Want to work on multiple branches simultaneously without cluttering your current directory? Codex now introduces experimental worktree support. ⟦This is like a library setting up private study rooms for major research projects, allowing researchers to work behind closed doors with copies of materials, step out to browse progress across rooms, and return later to resume unfinished work without occupying shared reading tables.⟧ Simply pass the --worktree flag at startup or enter the /worktree command in a conversation to create isolated checkout directories for new or forked sessions. Once created, you can browse all existing worktrees and resume earlier progress at any time.
Original changelog
Experimental worktree support lets you create isolated checkouts for new or forked sessions using --worktree or /worktree, then browse and resume them. (#42652, #43069, #43120, #43286)
Answer Questions Inline While Working in Background Without Losing Drafts
You no longer have to wait idly for Codex to stop before interacting while it writes code. When Codex runs in the background and asks a question, it can now surface prompt questions inline for immediate replies. ⟦Just like an assistant handing seasoning option slips to a chef focused on cooking a main dish, allowing the chef to check boxes or jot notes without ever putting down the spatula.⟧ You can click suggested options provided by the interface or type custom text responses. Best of all, this interaction will not clear or affect your ongoing main draft in the input box.
Original changelog
Answer questions inline while Codex continues working, using suggested choices or custom text without losing your main draft. (#42891, #42894, #42897)
Windows Adds Shared Background Server with Daemon Lifecycle Commands and Managed Updates
Multiple sessions on Windows can now share a single background server instead of each terminal window starting its own. This update also introduces daemon lifecycle management commands to check status, start, or stop the background server, alongside managed updates. ⟦This is like an office building setting up a central printing center where offices on each floor share the same background professional equipment and management tools, rather than placing power-hungry printers on every desk.⟧
Original changelog
Windows sessions can now share a background Codex server, with daemon lifecycle commands and managed updates. (#42405, #42392)
Vim Editing Adds R Replace Mode with Undo, Dot-Repeat, and Reliable Escape Handling
Developers accustomed to Vim keybindings will enjoy a snappier draft editing experience. This update brings the classic R replace mode to Vim mode, allowing you to overwrite characters directly under the cursor. During text replacement, you can undo changes and use the dot key to repeat your previous replacement action. For legacy terminals, the update improves Escape key handling, making exiting edit modes more reliable and avoiding key delays or failures. ⟦This is like a typewriter equipped with an instant correction ribbon that overwrites typos, allows backspacing to undo or repeating keystrokes, while fully lubricating worn-out mechanical key joints.⟧
Original changelog
Vim editing gains R replace mode with undo and dot-repeat, plus more reliable Escape handling in legacy terminals. (#42194, #42584)
Copying Responses Preserves Rich-Text Formatting as /copy Gains Status and Field Extraction
Pasting generated code or explanations into other document apps will no longer scramble formatting into plain text. Copying responses from Codex into rich-text applications now fully preserves the original styling and appearance. Meanwhile, the command-line /copy command has been enhanced to copy status output or extract specific individual fields from a session in addition to the response itself. ⟦Just like a professional camera outputting photos, which can develop fine prints with full color and tonal detail, or independently export current shooting metadata and specific parameters for reference.⟧ This makes organizing documentation and sharing debugging information much smoother.
Original changelog
Copying responses preserves formatting in rich-text apps, and /copy can copy status output or individual session fields. (#42847, #43055)
Existing Sessions Dynamically Detect Plugin Tools and Refresh on Upgrades or Rollbacks
When your current session is running, you no longer need to restart it when external plugins change. ⟦This is like a factory rotating tool rack where logistics staff hang new parts or replace tool specifications while technicians work, allowing technicians to grab newly arrived tools and manuals without shutting down power or halting work.⟧ Existing sessions now feature dynamic detection to recognize newly installed plugin tools without interrupting execution. When plugins are upgraded or rolled back externally, the active window immediately refreshes corresponding skills. Internally defined hooks are updated as well.
Original changelog
Existing sessions pick up newly installed plugin tools and refresh skills and hooks after external plugin upgrades or rollbacks. (#42284, #42593, #42990)
Startup Blocks Untrusted Workspace Helpers as macOS Sandbox Prevents Terminal Injection
When opening unfamiliar project directories or running terminals on Mac computers, security defenses are active right from the start. During startup, Codex actively avoids running workspace-controlled helpers before establishing trust with the current workspace, preventing malicious scripts from taking advantage. Meanwhile, the macOS sandbox has been strengthened to block unauthorized terminal input injection attacks. ⟦This is like entering a high-security laboratory where personal equipment brought from outside cannot be powered on before trust verification, while containment barriers block unauthorized external button signals.⟧ This ensures thorough protection when inspecting unknown code.
Original changelog
Startup avoids running workspace-controlled helpers before trust is established, and the macOS sandbox blocks terminal input injection. (#42324, #42590)
Remote Resume and Fork Preserve Saved Permissions While Fresh Sessions Follow Default Models
Configurations and permissions remain consistent when resuming or branching progress in remote environments. When performing resume or fork operations on remote sessions, previously saved authorizations and permission settings are preserved, eliminating repetitive authorization prompts. Furthermore, fresh sessions and derived forks strictly respect server-configured default models unless you explicitly specify another model in your command. ⟦Just as a multinational enterprise assigns managers to take over or split project teams remotely, existing access permissions are automatically inherited, while newly chartered branch units adopt standard equipment prescribed by headquarters without requiring new approvals for each connection.⟧ This ensures permission continuity and environmental standards during remote collaboration.
Original changelog
Remote resume and fork operations preserve saved permissions; fresh sessions and forks respect server model defaults unless explicitly overridden. (#43330, #43177, #43355)
Cross-App Conversation Resume Prevents Conflicts with Read-Only Transcripts and Draft Preservation
You no longer have to worry about progress conflicts when resuming a conversation that happens to be open in another application. ⟦It is like visiting a bank vault to inspect documents where, if a co-owner is reviewing the original at the counter, the clerk provides a read-only reference copy and a retry ticket while safeguarding the application form you are filling out.⟧ Codex displays a read-only transcript in the interface so you can review past context, accompanied by a retry button option. Meanwhile, your ongoing text draft in the input box remains protected without being cleared or overwritten, allowing you to take over immediately once the lock is released on the other side.
Original changelog
Resuming a conversation open in another app now shows a read-only transcript with a retry option while preserving your draft. (#43253)
Automatic Approval Reviews Preserve Compaction Context and Reject Invalidated Authorizations
When dealing with workflows that require repeated permission reviews, automatic approval mechanisms are now more rigorous. Following conversation compaction, automatic approval reviews better preserve original authorization context, preventing critical authorizations from being lost due to history condensation. More importantly, once users provide fresh instructions or supplementary answers that invalidate earlier approvals, the review mechanism promptly rejects those approvals to prevent obsolete authorizations from being misapplied in new contexts. ⟦Similar to an architect reviewing engineering change orders, where approval records remain intact even after past meeting notes are summarized, but previously signed work orders are immediately invalidated for re-evaluation whenever the owner alters design requirements midway.⟧
Original changelog
Automatic approval reviews better preserve authorization context through compaction and reject approvals invalidated by new user instructions or answers. (#42844, #42852, #43442)
Fixed 1
MCP Connections Coordinate Token Refreshes and Login Challenges as Legacy Entry Point Retires
Maintaining authorization credentials when connecting to external services via MCP is now safer and more orderly. When multiple tool connections require OAuth token refreshes, Codex coordinates the refresh across those connections. If a refresh fails, the interface surfaces login challenges without automatically replaying previously rejected tool calls. In addition, the previously deprecated codex mcp-server entry point is officially removed in this release. ⟦This is like an office park updating contractor access control, where expired badges are renewed through centralized coordination, failed renewals direct personnel to service counters for re-verification without repeatedly swiping rejected cards at gates, and management seals off the deprecated side entrance.⟧
Original changelog
MCP connections coordinate OAuth token refreshes and surface login challenges when refresh fails, without automatically replaying rejected tool calls. (#42413, #42552)
The deprecated codex mcp-server entry point is no longer available. (#42993)