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.