What shipped in Codex CLI
4 releases, newest first.
Codex CLI 0.166.0
Released October 29, 2026. The TUI can select transcript text from the keyboard, with word, line, and page motions, integrated search, and configurable shortcuts, and it renders Markdown consistently in async questions, choices, answers, and transcript replies. GPT-6.1 Terra is added to the bundled, Vertex AI, and Amazon Bedrock model catalogs. codex queue --resume resumes unloaded threads after a message is queued. Safety blocks in the TUI explain the block more clearly and offer selectable safer follow-up prompts. codex doctor --network-only checks configuration, connectivity, and WebSocket diagnostics. The release also preserves acknowledged approval and permission settings when resuming or forking threads, keeps local image attachments when restoring killed composer text, fixes standalone release cleanup on macOS when installations are in use or paths contain non-ASCII characters, restores spawned descendant threads when their parent is unarchived, fixes app-server thread startup and shutdown races, improves TUI reconnection including offline /quit and /exit, and preserves reasoning-token accounting across resume and fork so compaction is not premature. The standalone executor ships in the canonical CLI and app-server release packages.
Source for Codex CLI 0.166.0 (opens in a new tab)Codex CLI 0.165.0
Released October 27, 2026. Adds a built-in Google Cloud Vertex AI provider, configured with model_provider = "gcp", and adds GPT-6.1 Terra to the model catalogs. The session picker can filter by repository, and the agent command center groups sessions by directory across linked worktrees. Reasoning effort can change during a conversation by default for supported models. Memory v2 is on by default for fresh profiles, and external-agent memories can be imported into it. The app-server API adds experimental attached thread forks. The release also fixes TUI approval defaults, MCP cancellation, queued messages after an interrupt or a switch to Plan mode, model-not-found retries, and a marketplace URL check that could let Git connect to a different host than the one checked against allowed patterns.
Source for Codex CLI 0.165.0 (opens in a new tab)Codex CLI 0.164.0
Released October 23, 2026. Adds ten numbered /presets slots for reusable prompts and slash commands, with a keyboard menu. Inline /model and /permissions arguments set the model, reasoning effort, speed, and permission profiles. Terminals that support Kitty or Sixel graphics can preview viewed and generated images in the fullscreen transcript. Enterprise MCP connections can authenticate with eligible Codex account grants or a dedicated sign-in, including OAuth clients that require secrets. Supported remote Bash commands and Zsh snapshot sessions mask credentials, including credentials from custom providers. The Amazon Bedrock setup wizard is on by default. Failed compaction no longer leaves partial summaries in history, and resuming a session finds compressed histories and restores saved thread settings.
Source for Codex CLI 0.164.0 (opens in a new tab)Codex CLI 0.162.x
The 0.162 line, with patch 0.162.1 on October 9–10, 2026, includes managed git worktrees for trusted local projects and an opt-in Code Mode. The patch itself was a two-fix release.
Source for Codex CLI 0.162.x (opens in a new tab)
Updated