dotsfeed
← Updates

Codexv0.158.0

Codex CLI 0.158.0 released

Observed· Oct 1, 2026Published Sep 28, 2026

Codex CLI 0.158.0: Command completion events now include early output and report process-launch failures to clients.

Key changes

  • Command completion events now include early output and report process-launch failures to clients.

What changed

New Features

  • Configure copy-on-select and right-click paste in the fullscreen TUI. Copied transcript selections now preserve Markdown formatting. (#47639, #47896, #48118)
  • Connect to MCP servers that require pre-registered OAuth client secrets, including through codex mcp add --oauth-client-secret. (#47891)
  • Secure direct exec-server WebSocket connections with bearer tokens, including connections configured through app-server. (#47601, #47648)
  • Image generation and editing can explicitly request transparent backgrounds, and edits now accept file-backed conversation images. (#47484, #47956)
  • Terminal input approval is enabled by default for commands running with elevated permissions; runtime-only grants no longer cause unnecessary reviews. (#47799, #48073)

Bug Fixes

  • Fixed Windows sandbox failures involving ordinary Windows 10 paths, rejected stored credentials, and large permission policies. (#47672, #47695, #47919)
  • Fixed Linux sandbox startup with nested writable roots and preserved Git metadata protections across writable roots on Linux and macOS. (#47623, #47974)
  • macOS patch operations now recognize system path aliases covered by existing permissions, avoiding unnecessary approval prompts. (#47879)
  • Approval reviews now retry when new user input arrives, so a status question does not automatically abort a pending action. (#47819)
  • Mermaid flowcharts now render quoted labels and ampersands; unsupported diagrams explain why they fall back to source. (#47572, #47678)
  • Command completion events now include early output and report process-launch failures to clients. (#47529, #47665)

Full release notes: openai/codex rust-v0.158.0

Who is affected

Anyone running the open-source Codex CLI (@openai/codex), including IDE extensions and apps that bundle it.

What to do now

Update with npm install -g @openai/codex@latest or brew upgrade codex, then run codex --version and check it prints 0.158.0.

What is not confirmed

Summarized from the official GitHub release notes. Dotsfeed has not tested this release yet.

Sources

Get updates like this every morning

  1. ① Email
  2. ② Card on Stripe
  3. ③ 7 days free

Then $2/month · cancel anytime in one click

Codex CLI 0.158.0 released · Dotsfeed