OpenAI Codex CLI rust-v0.165.0

OpenAI Codex CLI rust-v0.165.0 was released on .

Summary

Codex CLI rust-v0.165.0 is here: a built-in Vertex AI provider, GPT-6.1 Terra in the catalogs, and memory v2 on by default. Ready to see what else changed?

Release Context

Shipped around the same time

Within 3 days of this release, other AI coding tools also shipped:

Compare OpenAI Codex CLI

Release Notes

New Features - Added a built-in Google Cloud Vertex AI provider, configured with modelprovider = "gcp". (56265) - Added GPT-6.1 Terra to the model catalogs. (57337) - Added a repository filter to the session picker and directory grouping to the agent command center, making it easier to navigate sessions across linked worktrees. (56308) - Added experimental attached thread forks to the app-server API. (56351) - Enabled reasoning effort changes during a conversation by default for supported models. (56163) - Enabled memory v2 by default for fresh profiles and added support for importing external-agent memories into it. (56211, 56414) Bug Fixes - Fixed fresh TUI sessions to honor the server’s default approval reviewer when no explicit override is provided. (56090) - Kept TUI preferences editable and immediately applicable when execution settings are invalid. (56091) - Cancelled remote MCP tool requests when their local response futures are dropped. (56132) - Prevented queued agent messages from restarting work after an interrupt or a switch to Plan mode. (56330) - Stopped retrying when a provider reports that a model was not found, preserving its error message. (56445) - Closed a marketplace URL validation gap that could allow Git to connect to a different host than the one checked against allowed patterns. (56263) Changelog Full Changelog: https://github.com/openai/codex/compare/rust-v0.164.0...rust-v0.165.0 - 56081 Cache decrypted Codex auth and managed secrets @celia-oai - 56090 Honor server approval reviewer defaults on fresh TUI startup @etraut-openai - 56091 Keep TUI preferences editable when execution settings are invalid @etraut-openai - 56097 Prepare TUI startup to accept multiple backend sessions @bc-openai - 56124 Forward Guardian reviewer events to parent raw-event subscribers @jif-oai - 56127 Avoid blocking EMA auth status checks on account refresh @jif-oai - 56132 Cancel MCP tool requests when response futures are dropped @rhan-oai - 56133 Defer agent mail after empty final answers @eknight-oai - 56139 Fix the MCP auth status test's IdP OAuth configuration @jif-oai - 56153 Preserve safe enterprise MCP authentication error details @jif-oai - 56154 Add managed network review domains before allow rules @olliem-oai - 56163 Enable reasoning effort overrides by default @felixxia-oai - 56182 Add AWS SigV4 signing to network proxy MITM hooks @viyatb-oai - 56210 Stabilize the marketplace staging cleanup test @felixxia-oai - 56211 Default fresh memory profiles to v2 @jif-oai - 56214 Remove the u64 cast from WSL DrvFS detection @felixxia-oai - 56220 Use cargobin in the Windows sandbox manifest test @felixxia-oai - 56222 Consolidate Bazel CI setup into prepare-bazel-ci @anp-oai - 56224 Reuse current model context across paginated resume config loading @charliemarsh-oai - 56233 Make Opus encoder test timestamps follow sample time @goodman-oai - 56234 Emit prompt telemetry only after hooks accept input @abhinav-oai - 56236 Make the code mode yield/resume test yield explicitly between phases @goodman-oai - 56246 Bump Bazelisk to 1.30.0 in the Bazel CI setup action @anp-oai - 56247 Consolidate Rust unit tests under dedicated test modules @dkovalenko-oai - 56248 Bump uv to 0.13.5 in CI and release workflows @anp-oai - 56250 Avoid redundant settings checkpoints when resuming threads @owenlin0 - 56261 Isolate V8 source dependencies and their C++ runtime settings @seanh-oai - 56263 Reject backslashes in HTTP(S) marketplace URL userinfo @willwang-openai - 56265 Add a built-in Google Cloud Vertex AI provider @celia-oai - 56266 Preserve MCP disable reasons across runtime overlays @mzeng-openai - 56272 Upgrade Python SDK model generation to datamodel-code-generator 0.64.0 @anp-oai - 56274 Wait for cloud config refresh cancellation in loader lifetime tests @goodman-oai - 56277 Support bounded request bodies in AWS SigV4 signing @viyatb-oai - 56278 Add negotiated network policy metadata support for MCP calls @viyatb-oai - 56280 Group consecutive transcript prompts into one background block @bc-openai - 56284 Scope model catalogs and caches by thread originator @kennyyi-oai - 56286 Bump @modelcontextprotocol/sdk to 1.32.0 @anp-oai - 56288 Pin Linux artifact signing to Cosign v3.1.4 @anp-oai - 56290 Lock Python release build tools with uv @anp-oai - 56292 Fix MCP cancellation tests to use the metadata callback @anp-oai - 56293 Use fixed-token auth fixtures in Vertex tests @anp-oai - 56295 Decouple managed configuration loading from ChatGPT authentication @smurching-oai - 56297 Mark built-in dummy credentials and strengthen collision checks @viyatb-oai - 56301 Add TLS forwarding tests for MITM SigV4 requests @viyatb-oai - 56302 Add hook configuration to environment attachments @andrewgu-oai - 56304 Add support for environment-scoped managed hooks @andrewgu-oai - 56308 Separate directory and repository scopes in the TUI @bc-openai - 56309 Support model-specific writable-root permission wording @goodman-oai - 56312 Track accepted conversation history in rollout traces @cassirer-openai - 56313 Apply model catalog overrides to history, notes, and context tools @rhan-oai - 56314 Add managed configuration loaders for custom config servers @smurching-oai - 56330 Make agent-message wakes respect interrupts and Plan mode @alishobeiri-oai - 56342 Match rollout trace image content across request snapshots @cassirer-openai - 56343 Run environment hooks on their owning executors @andrewgu-oai - 56351 Add experimental attached thread forks @btraut-openai - 56364 Allow callers to set the thread source for sampling @keyz - 56371 Make the Guardian review timeout configurable @vivi - 56414 Support memory v2 in external-agent memory imports @jif-oai - 56439 Update ctutils from 0.4.2 to 0.4.5 @felixxia-oai - 56445 Treat model-not-found provider errors as terminal failures @charliemarsh-oai - 56453 Make the Realtime V2 background-agent steering test deterministic @felixxia-oai - 56454 Make sandbox mount cleanup tests tolerate file descriptor reuse @felixxia-oai - 56459 Add Guardian V3 feature configuration @felixxia-oai - 56460 Add Guardian v3 local board helpers @felixxia-oai - 56461 Add silent append support to message boards @felixxia-oai - 56462 Prevent memory imports from racing with consolidation @jif-oai - 56465 Add experimental thread memory summary reads @jif-oai - 57337 [0.165.0-alpha.1.2] Backport GPT-6.1 Terra to the model catalogs @shijie-oai

View original release

Other Recent OpenAI Codex CLI Releases

All OpenAI Codex CLI releases · All AI coding tool releases on Havoptic