█

AI/TLDR

OpenAI · 2026-10-29 · notable

Codex CLI 0.166.0 — keyboard transcript selection and codex doctor

Codex CLI 0.166.0 adds keyboard-driven transcript selection with search, a `codex doctor --network-only` diagnostic, `codex queue --resume`, and GPT-6.1 Terra in the Vertex AI and Bedrock catalogs.

GitHub card for the openai/codex terminal coding agent repository

Codex gets keyboard transcript selection, a network doctor command and safer-prompt hints.

What is it?

Keyboard-driven transcript selection is the main change in Codex CLI 0.166.0. You can move by word, line or page, search inside the transcript, and set your own shortcuts. The release also adds `codex doctor --network-only` and `codex queue --resume`.

How does it work?

The doctor flag runs only the configuration, connectivity and WebSocket checks. The queue command resumes threads that are not loaded after it queues a message. When a request is blocked for safety, the TUI explains why and offers safer follow-up prompts you can pick.

Why does it matter?

Fixes keep approval and permission settings when you resume or fork a thread. They also keep reasoning-token counts across resume, so context is not compacted too early. GPT-6.1 Terra is now in the bundled, Vertex AI and Amazon Bedrock model catalogs.

Who is it for?

developers who use the Codex agent in the terminal

Try it

npm i -g @openai/codex@0.166.0

Sources

Tags

  • openai
  • codex
  • codex-cli
  • coding-agent
  • cli
  • terminal
  • gpt-6-1-terra
  • developer-tools
  • release

← All releases · Learn AI