Alpha pre-release (0.148.0-alpha.6) focused on apply-patch line-ending handling, TUI textarea wrapping and thread-event work, plus exec-server and config groundwork.
Changelog
[new] Apply-patch can preserve original line endings, controlled via CODEX_APPLY_PATCH_PRESERVE_LINE_ENDINGS.
[new] Optional CODEX_PERMISSION_PROFILE for selecting a permission profile.
[new]CODEX_SANDBOX_NETWORK_DISABLED to turn off sandbox network access.
[new] Identity and federation-related configuration via OPENAI_IDENTITY_TOKEN_FILE and OPENAI_FEDERATION_RULE_ID.
[changed] Apply-patch gains dedicated text-file and file-update handling for more reliable patch application.
[changed] TUI bottom-pane textarea wrapping is improved for long input lines.
[changed] TUI thread-event handling is reworked for clearer thread lifecycle updates.
[changed] Hooks and plugin install metadata carry additional fields for richer configuration.
[changed] Internal account/login and tools models are refined (including Tools v2-shaped payloads and ChatGPT/Bedrock-related account variants).
Under the hood
New apply-patch modules for text files and file updates underpin the line-ending and patch behavior above.
Exec-server adds a relay protobuf path for process relay communication, with related stdin-close exit behavior.
MCP protocol version and network-related environment wiring are tightened up.
OpenTelemetry exporter kinds and several client/event payload shapes are adjusted for ongoing protocol work.
Lockfiles and version.json are bumped to 0.148.0-alpha.6.
Upgrade notes
If patches were rewriting line endings unexpectedly, set CODEX_APPLY_PATCH_PRESERVE_LINE_ENDINGS when you need the original style kept.
Teams using custom sandbox or permission setup should review CODEX_SANDBOX_NETWORK_DISABLED and CODEX_PERMISSION_PROFILE.
Callers that integrate identity or federation config can adopt OPENAI_IDENTITY_TOKEN_FILE and OPENAI_FEDERATION_RULE_ID where applicable.
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.