Skip to content
  • Tech Dev NotesTech Dev Notes
Apps
  • Lookup
  • Compare
Market movement
  • Charts
  • Rankings
Visual proof
  • Screens
  • Store listings
  • Icons
Stacks and releases
  • Tech stacks
  • Tool releases
  • Developers
More
  • X feature flags
  • Grokipedia
  • Grok companions
  • Blog
  • Follow on X
ChartsRankingsMoversCompareLookupScreensTech stacksReleases

© 2026 Tech Dev Notes

RSSAboutAPIStatusSecurityPrivacyTermsSitemap@techdevnotes
Codex CLI

OpenAI · CLI

Codex CLI 0.158.0-alpha.3

0.158.0-alpha.2→0.158.0-alpha.3·September 23, 2026 at 6:17 PM UTC

Prerelease patch (0.158.0-alpha.3): session env handling cleanup, apply-patch line-ending control, and removal of the o1 model id and a sandbox network env flag.

Changelog

  • [changed] Session identification via environment variable is now pluralized: use CODEX_SESSION_IDS instead of CODEX_SESSION_ID.
  • [new] Apply-patch can preserve original line endings through a dedicated environment flag (CODEX_APPLY_PATCH_PRESERVE_LINE_ENDINGS).
  • [removed] The CODEX_SANDBOX_NETWORK_DISABLED environment variable is no longer recognized.
  • [removed] The o1 model identifier is no longer included in the built-in model list.
  • [changed] Active-server client signaling now uses an ack-style event path in place of the previous client message-chunk event.
  • [removed] Turn-steer response handling and consequential tool message template file support have been dropped from the data model.

Under the hood

  • Added internal config shapes for goals and cloud requirements TOML bundles, laying groundwork for richer requirements/goals configuration.
  • Introduced wait-related argument typing and a post-notification payload for notification flows.
  • Handshake rejection and related protocol/error variants were reshaped (including capability-oriented reject reasons and connection-failure error info naming).
  • Process identity and filesystem path enums were adjusted as part of ongoing platform and exec path modeling.
  • Marketplace plugin source and scheduled-task schedule modeling saw small internal refactors; review-target and user-input variant sets were tightened accordingly.

Upgrade notes

  • Replace any use of CODEX_SESSION_ID with CODEX_SESSION_IDS.
  • Remove reliance on CODEX_SANDBOX_NETWORK_DISABLED; configure sandbox/network behavior through current supported options instead.
  • If you still pin or select o1, switch to a supported model id before upgrading.
  • If you depend on apply-patch normalizing line endings, set the preserve-line-endings environment flag when you need the original endings kept.

content/

Browse captured content/

Same tree as codex-cli/latest/content for this version. Open the full browser for sidebar navigation between docs and other files.

Open content/ browser →

31 listed · 32 in tree · 17 under docs/

content/ browserNavigate docs, prompts, and root filesFolder index plus per-file pages with prev/next and a full file sidebar.
README.mdDocs3.3 KBCHANGELOG.mdDocs330 BAGENTS.mdDocs21.9 KBconfig.mdDocs351 Bdocs/agents_md.mdDocs126 Bdocs/authentication.mdDocs134 Bdocs/CLA.mdDocs2 KBdocs/codex-rs/bazel.mdDocs7.4 KBdocs/codex-rs/protocol_v1.mdDocs9.2 KBdocs/config.mdDocs726 Bdocs/contributing.mdDocs2.6 KBdocs/example-config.mdDocs134 BView all 31 files in content/ browser →
Older release← 0.157.0-alpha.10Newer release→ 0.158.0-alpha.4
All Codex CLI releases →