Alpha prerelease (0.157.0-alpha.8 → 0.157.0-alpha.10) focused on agent control hardening, realtime history presentation, compaction resume metadata, and TUI daemon recovery.
Changelog
[changed] Agent control flow is reworked around a clearer control API, spawn guarding, and watch paths (replacing the previous delivery/spawn-request split) so agent lifecycle handling is tighter and easier to reason about.
[new] Realtime history gains a dedicated presentation path so live history can be shaped for display more consistently.
[new] Compaction can carry resume metadata, and compacted item wire format is extended, improving continuity when a compacted thread is continued.
[new] Thread usage can be queried through a typed usage response, and capability root discovery has a dedicated response shape.
[new] Agent registration returns a structured register-agent response for multi-agent / external-agent setup.
[new] TUI adds daemon recovery support so a disconnected or restarted app-server session can be brought back more cleanly.
[new] External agent configuration is modeled in the TUI app-server session path for configuring agents outside the default local flow.
[new] Apply-patch can preserve original line endings via CODEX_APPLY_PATCH_PRESERVE_LINE_ENDINGS when you need patch application not to normalize CRLF/LF.
[new] Session and thread identity can be supplied through CODEX_SESSION_ID and CODEX_THREAD_ID for automation and orchestration hooks.
[changed] Client streaming shifts toward client message chunk events (in place of the older ack-style segment signal) for incremental message delivery.
[changed] Amazon Bedrock login parameters move to an access-keys oriented shape for that auth path.
[removed] Empty-state lighting animation code is dropped from the TUI empty-state path (simpler empty state rendering).
Under the hood
New groundwork for tools catalog parameter handling and for sender-side user message history helpers, supporting richer tool schemas and history transport.
Model hint and previous-turn settings payloads land for carrying turn context and model guidance more explicitly between components.
Snapshot list change and TUI suspend-failure signals are wired through so UI/session layers can react when snapshot inventories change or suspend fails.
color_quant is pulled in as a dependency (image palette/quantization support).
Internal cloud-tasks forcing is expressed as CODEX_CLOUD_TASKS_FORCE_INTERNAL; several older/broken env flag spellings and unused sandbox/protocol toggles are cleaned out of the surface.
Assorted stale payloads and structs (close-agent args, environment status, installed-app records, and similar) are removed or replaced as the agent/control and session models narrow.
Upgrade notes
If you relied on older agent control delivery/spawn-request behavior or ack-style client segment events, expect the new control API, spawn guard/watch behavior, and client message chunk events instead.
Prefer CODEX_APPLY_PATCH_PRESERVE_LINE_ENDINGS, CODEX_SESSION_ID, CODEX_THREAD_ID, and CODEX_CLOUD_TASKS_FORCE_INTERNAL over any prior misspelled or removed CODEX_* flags from earlier alphas.
Bedrock auth integrations should follow the access-keys login parameter shape rather than the previous Bedrock login variant.
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.