Codex CLI 0.165.0
New Features · Bug Fixes
- Added a built-in Google Cloud Vertex AI provider, configured with model_provider = "gcp".
- Added GPT-6.1 Terra to the model catalogs.
- 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.
- Added experimental attached thread forks to the app-server API.
- Enabled reasoning effort changes during a conversation by default for supported models.
- Enabled memory v2 by default for fresh profiles and added support for importing external-agent memories into it. (#56211, #56414)
- Fixed fresh TUI sessions to honor the server’s default approval reviewer when no explicit override is provided.
- Kept TUI preferences editable and immediately applicable when execution settings are invalid.
22 more
- Cancelled remote MCP tool requests when their local response futures are dropped.
- Prevented queued agent messages from restarting work after an interrupt or a switch to Plan mode.
- Stopped retrying when a provider reports that a model was not found, preserving its error message.
- Closed a marketplace URL validation gap that could allow Git to connect to a different host than the one checked against allowed patterns.
- #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 cargo_bin in the Windows sandbox manifest test @felixxia-oai
- #56222 Consolidate Bazel CI setup into prepare-bazel-ci @anp-oai