Skip to content

OpenAI Codex CLI rust-v0.173.0

Released · OpenAI

Breaking

What the release notes say

New Features

  • Custom status lines can align items left, center, or right, or spread them across the terminal width. (#62569, #62637)

  • Terminal Markdown now renders multiline labels on Mermaid flowchart arrows, labeled underbraces in display equations, and \widetilde over a single character. (#62550, #62554, #62577)

  • Codex shares MCP connections by default and supports older local servers that require initialize as their first request. (#62552)

  • Supported synchronous command and MCP tool hooks can set onFailure to block. A failed PreToolUse check then prevents the tool from running. (#62831)

  • Administrators can block both scheduled and manual daemon updates by setting features.daemon_updates = false in managed requirements.toml or local MDM policy. (#62690)

  • Codex automatically discovers OAuth endpoints published by a config server when config_server.oauth is omitted. (#62824)

Bug Fixes

  • Open sidebar previews refresh when files change on disk, even when an editor replaces the file on save. (#62583)

  • Pasting an image path creates a private copy, so the attachment survives moving or deleting the original before sending. (#62687)

  • The Agents overview refreshes Cloud thread names, status, and unread indicators when another client makes changes. (#62858)

  • The task mention picker now fuzzy-matches the titles you see and keeps recent threads in the results. (#62691)

  • Running threads pick up updated approval requirements and Guardian policies when you reload configuration, sign in, or sign out. (#62585, #62614)

  • Codex can report why the server rejected a WebSocket request, including when it was too large, even if the upload stalls or fails. (#62749, #62771)

Documentation

  • The TUI style guide shows how to pair a keyboard shortcut with its action and style hints such as esc close. (#62560)

Chores

  • Smaller npm packages reduce the download size when installing or updating Codex. (#62643)

Changelog

Full Changelog: https://github.com/openai/codex/compare/rust-v0.172.0...rust-v0.173.0

  • #62525 Reuse the parsed bundled model catalog @jif-oai

  • #62532 Avoid cloning the PostToolUse hook payload @jif-oai

  • #62534 Add built-in namespace guidance and budget tool description prefixes @tz-openai

  • #62537 Respect app-server turn admission for agent mailbox wakes @jif-oai

  • #62540 Borrow user input in extension turn contexts @jif-oai

  • #62547 Prevent remote app-server shutdown from hanging on a full queue @jif-oai

  • #62550 Render multiline Mermaid flowchart edge labels @etraut-openai

  • #62552 Enable MCP connection sharing by default @charliemarsh-oai

  • #62554 Render \widetilde in terminal Markdown math @etraut-openai

  • #62557 Preserve process state across concurrent unified exec updates @jif-oai

  • #62558 Stage ICU data for mksnapshot in rusty_v8 builds @charliemarsh-oai

  • #62559 Reject overflowing rollout budget charges before posting @tz-openai

  • #62560 Document how to render TUI shortcut labels @fcoury-oai

  • #62564 Fix timing races in core integration tests @dylan-hurd-oai

  • #62566 Remove the real-time wait from the OTLP headers helper timeout test @dylan-hurd-oai

  • #62567 Add OpenTelemetry for subagent lifecycles @bryanashley

  • #62568 Box the managed credential loading future @charliemarsh-oai

  • #62569 Add justification to custom statusline rows @joesavona

  • #62571 Keep async Guardian scoring active for serving probes @jif-oai

  • #62573 Use the cloud emoji for cloud thread labels @bc-openai

  • #62577 Render LaTeX underbraces in TUI display math @etraut-openai

  • #62582 Allow macOS installer cleanup despite unrelated mount warnings @etraut-openai

  • #62583 Refresh open sidebar file previews when files change @fcoury-oai

  • #62585 Enforce refreshed Guardian policy on running threads @ioanbudea-OAI

  • #62587 Centralize schema selection for config diagnostics @charliemarsh-oai

  • #62588 Support a host-selected inference provider for Guardian @XMLIU-oai

  • #62589 Remove cumulative MCP attribution from requests and rollouts @owenlin0

  • #62593 Explain Windows sandbox logon policy failures @zm-oai

  • #62599 Stream app-server fs/readFile responses over stdio @charliemarsh-oai

  • #62601 Retry transient exec-server connection failures @richardopenai

  • #62602 Apply additional context when turn input is delivered @dylan-hurd-oai

  • #62604 Expose current turn admission state on CodexThread @keitht-openai

  • #62607 Enable Guardian V2 scoring with an explicit Guardian provider @XMLIU-oai

  • #62609 Apply backpressure to app-server request replay on thread resume @ztanner-oai

  • #62610 Refresh plugin recommendations after installed state changes @zamoshchin-openai

  • #62614 Refresh Guardian policy on config reload and account changes @rreichel3-oai

  • #62615 Split in-memory execution policy rules into a separate crate @charliemarsh-oai

  • #62621 Handle rollout budget decisions in each accounting path @tz-openai

  • #62624 Share slash command argument range mapping in the TUI @imac-oai

  • #62627 Retry Guardian model discovery in the background @XMLIU-oai

  • #62633 Centralize thread context ID allocation @euroelessar

  • #62635 Centralize request and prefix ID handling in ThreadContextIds @euroelessar

  • #62636 Reduce rollout scanning overhead when listing threads @dkovalenko-oai

  • #62637 Add center and end alignment to status line rows @joesavona

  • #62639 Defer queue-only mail after a retained final answer @pash-openai

  • #62640 Reuse executor Discovery V2 inventories across turns @TAFOYA-OAI

  • #62641 Release persisted MCP tool results from active-turn memory @btraut-openai

  • #62642 Hide the warning navigation hint for a single warning @imac-oai

  • #62643 Shrink npm release tarballs with libdeflate @imac-oai

  • #62644 Pass inherited history visibility to the thread store @owenlin0

  • #62648 Fix standalone release pruning on macOS with GNU coreutils @fcoury-oai

  • #62653 Return file sizes from fs/getMetadata @fcoury-oai