Codex CLI 0.104.0: Proxy Support & Thread Notifications

Codex CLI 0.104.0 adds websocket proxy support, thread notifications, and fixes prompt handling. Multi-approval flows now work correctly.

Codex CLI 0.104.0: Proxy Support & Thread Notifications

TL;DR

  • Websocket proxy environment variables now supported for network proxying
  • App-server emits thread archive/unarchive notifications instead of requiring polling
  • Command approvals now carry distinct IDs for multi-approval flows
  • Fixed Ctrl+C/Ctrl+D handling in cwd-change prompts and reduced false-positive safety checks

New

  • Websocket proxy environment support — Added WS_PROXY/WSS_PROXY env vars (including lowercase variants) for network proxy configuration.
  • Thread archive/unarchive notifications — App-server v2 now emits events when threads are archived or unarchived, eliminating the need for polling.
  • Distinct approval IDs — Protocol/core now support multiple command approvals within a single shell execution flow with separate approval IDs.

Fixed

  • Ctrl+C/Ctrl+D handling — Clean exit from cwd-change prompts during resume/fork flows instead of implicitly selecting an option.
  • Safety-check false positives — Reduced downgrade behavior by relying on response header model and websocket events rather than response body model slug.

Update via: npm install -g @openai/codex-cli@0.104.0 or check the full release on GitHub.

Source: Codex