Skip to content
Back

OpenAICodex CLI

Codex CLI 0.164.0

6 new6 fixes2 other

AI summary

Written by AI from the official notes. Check them for exact details.

Codex CLI 0.164.0 introduces new features for prompt management and authentication, along with several bug fixes.

  • Save prompts in ten numbered /presets slots for quick access.
  • Set model and permissions directly with inline arguments.
  • Preview images in fullscreen on supported terminals.
  • Authenticate enterprise connections with Codex account grants.
  • Mask credentials during remote Bash commands.

Why it matters: Users who rely on Codex CLI for development should update to utilize new features and improved stability.

Full release notes14 changes

New Features

  • Save reusable prompts and slash commands in ten numbered /presets slots, with a keyboard menu for quick access.
  • Set model, reasoning effort, speed, and permission profiles directly with inline /model and /permissions arguments.
  • Preview viewed and generated images in the fullscreen transcript on terminals supporting Kitty or Sixel graphics.
  • Authenticate enterprise MCP connections using eligible Codex account grants or dedicated sign-in, including OAuth clients requiring secrets.
  • Mask credentials during supported remote Bash commands and Zsh snapshot sessions, including credentials from custom providers.
  • The Amazon Bedrock setup wizard is now enabled by default, with API key entry grouped alongside other AWS sign-in methods when credentials are detected.

Bug Fixes

  • Failed compaction no longer leaves partial summaries in conversation history, and background compaction failures fall back without panicking.
  • Resuming sessions now finds compressed histories and restores saved thread settings instead of replacing them with global defaults.
  • Windows HTTPS and WebSocket connections now handle proxy authentication challenges using the signed-in user’s Negotiate or NTLM credentials.
  • CLI configuration overrides are preserved when -c or --config appears at multiple subcommand levels.
  • Queued prompts now wait for pending permission selections to resolve before continuing.
  • Hardened sandbox checks for case-variant metadata paths on macOS and replaceable symlinks used to locate executables.

Chores

  • Reduced disk usage by pruning unused installations, cleaning abandoned marketplace checkouts, and bounding daemon logs.
  • Updated the embedded JavaScript runtime with safety checks for optimized Array.sort operations.