r/CodexAutomation • • Oct 30 '26

News & Releases Codex CLI 0.166.0 adds queue resume and network diagnostics, fixes permission preservation

TL;DR

Codex CLI 0.166.0 is the new stable release in OpenAI's October 29 changelog and is marked Latest on GitHub. It adds explicit queue-and-resume support, focused network diagnostics, better transcript navigation, and fixes that matter when continuing agent work.

The release notes say acknowledged approval and permission settings are now preserved when resuming or forking threads. Reasoning-token accounting is also preserved across resume and fork to avoid premature compaction.

What changed

  • Queue and resume: codex queue --resume can resume an unloaded thread after queueing a message. This is a specific CLI option, rather than a promise that every queued message automatically starts work.
  • Network diagnostics: codex doctor --network-only focuses on configuration, connectivity and WebSocket diagnostics.
  • Transcript navigation: Keyboard selection gains word, line and page motions, integrated search and configurable shortcuts. Markdown rendering is improved across asynchronous questions, choices, answers and transcript replies.
  • Model catalogs: GPT-6.1 Terra is added to the bundled, Vertex AI and Amazon Bedrock catalogs. Catalog support does not establish account or provider access by itself.
  • Safety explanations: The terminal interface gets clearer explanations of safety blocks and selectable safer follow-up prompts.

Reliability fixes for ongoing work

Alongside permission preservation and reasoning-token accounting, OpenAI reports fixes for app-server thread startup and shutdown races, prompt release of completed runtimes, and terminal reconnection recovery, including offline quit and exit handling.

The release also preserves local image attachments when restoring composer text cleared with a kill command, restores spawned descendant threads when their parent is unarchived, and fixes standalone release cleanup on macOS when an installation is in use or its path contains non-ASCII characters.

For automation users, our practical interpretation is to check the workflow's actual resume, queue and permission behavior after upgrading. These are reported project fixes; this article does not claim an independent installation or regression test.

Upgrade and availability

For an npm-managed CLI installation, the official changelog gives:

npm install -g @openai/codex@0.166.0

Use the update method appropriate to your installation and confirm the running version. This is a CLI release; it does not establish that every desktop, mobile or IDE client has received the same changes.

The separately listed 0.166.0-alpha releases are prereleases. The stable release is identified by tag rust-v0.166.0.

Official sources

1 Upvotes

0 comments sorted by