Codex CLI 0.120.0: Realtime V2 Streaming, Hook UI Polish
Codex CLI 0.120.0 brings Realtime V2 background agent streaming, cleaner hook UI rendering, and critical Windows sandbox fixes for filesystem policies and symlinks.
TL;DR
- Realtime V2 now streams background agent progress while queuing follow-up responses
- Hook activity rendering overhauled for better scannability in the TUI
- Windows sandbox fixes for split filesystem policies and symlinked writable roots
New
- Realtime V2 background agent streaming — Stream progress updates while work runs and queue follow-up responses until the active response completes, reducing perceived latency.
- Improved hook activity rendering — Live running hooks now display separately from completed output, keeping only useful results for cleaner TUI scanning.
- Thread title in custom TUI status — Custom status lines can now include the renamed thread title for better context.
- MCP outputSchema for code-mode tools — Tool declarations now include structured output schema details for more precise type handling.
- SessionStart hook source distinction — Hooks can now differentiate between sessions created by
/clear, fresh startup, or resume.
Fixed
- Windows elevated sandbox handling for split filesystem policies with read-only carveouts under writable roots.
- Sandbox permission handling for symlinked writable roots and carveouts, preventing failures in shell and
apply_patchworkflows. codex --remote wss://...panics by installing the Rustls crypto provider before TLS websocket connections.- Tool search result ordering now preserved instead of alphabetically reordered.
- Live Stop-hook prompts now appear immediately instead of waiting for thread history reloads.
- App-server MCP cleanup on disconnect to properly tear down unsubscribed threads and resources.
Update: npm install -g @openai/codex-cli@0.120.0 or check the full release on GitHub.
Source: Codex