Alpha pre-release toward 0.156.0: opt out of the shared daemon with --no-daemon, headless MCP OAuth login, richer daemon install/update controls, an analytics-oriented TUI surface, and internal HTTP/3 TCP tunneling.
Changelog
[new]--no-daemon runs Codex without the shared background app-server, even when a daemon is already running. It applies to interactive flows such as resume and fork; codex agents still requires the shared server and rejects the flag.
[new]mcp login --no-browser prints the authorization URL and accepts the callback URL without opening a browser—useful for remote or headless environments.
[new]/daemon slash command for working with the local app-server daemon from the interactive session.
[removed]/personality slash command (no longer available).
[new]Analytics views in the TUI, including activity charts, chat/plan/task panels, and usage summaries backed by new account and workspace usage APIs.
[new]Markdown math rendering in the terminal UI for inline and block math in model output.
[new]Screen-reader-oriented TUI support to improve accessibility of the interactive interface.
[new]Mermaid diagram handling for parsing and rendering Mermaid content in the product UI.
[new]codex tcp-tunnel (internal): forwards a local TCP socket through an HTTP/3 CONNECT proxy, with options for proxy origin, approved origins file, CONNECT target, listen address, and bearer/header input via stdin.
[changed]App-server daemon update/install flow: app-server daemon update focuses on updating the daemon package (may interrupt running work), with --from-cli to copy and pin the current CLI package and -y/--yes to confirm without a prompt. The pid-update loop gains --check-package-ownership and --restore-release for ownership checks and authorized release restoration.
[new]exclude_slash_tmp configuration key for controlling temporary slash-command path behavior.
[new]o1 added to the known model identifier set.
[changed]Agents overview refreshed with updated grouping, usage presentation, and session browsing on the shared daemon.
[new]Realtime settings and recap history surfaces in the TUI app shell.
[new]Directory trust step during onboarding when establishing workspace trust.
[changed]Image submission path in the chat composer for attaching images to turns more cleanly.
[changed] Shell completions (bash, fish, zsh) updated for --no-daemon, tcp-tunnel, MCP --no-browser, and the daemon update flags.
Under the hood
New tcp-tunnel and mermaid workspace crates; HTTP stack picks up Quinn (HTTP/3) plus newer rustls / aws-lc-rs builds used by the tunnel and TLS paths.
Daemon lifecycle work: install locking, prepare-install, migration helpers, PID identity, and daemon telemetry handoff so managed installs can update and recover more safely.
OAuth and workspace routing expanded across login, model provider, and app-server account flows (including MCP OAuth callback handling and enterprise/IdP-oriented MCP auth config).
Session startup/recovery: daemon recovery, environment accessors, plugin selection, extension interruption handling, and managed thread-manager paths for multi-session operation.
Agent control plumbing for delivery, interrupt, and child agent config; guardian review session setup consolidated.
Tooling: tool-search support; multi-agent common tool handler removed in favor of newer agent control paths.
Config/requirements: managed requirements loading and richer config requirement shapes for enterprise-style policy.
Prompts: model instructions and update-plan instructions relocated/extended for plan and code-mode flows.
Backend client additions for analytics sessions, plan limit history, profile, and task usage.
Miscellaneous TUI groundwork: system motion, prose preview streaming, sparkle composer field, and daemon telemetry wiring in CLI/TUI.
Upgrade notes
This build is 0.156.0-alpha.1 on the alpha channel (rust-v0.156.0-alpha.1). Prefer it only if you intend to run pre-release bits.
If you rely on the shared app-server for multi-session/agents workflows, avoid --no-daemon there; the agents overview still needs the daemon.
Daemon package updates can interrupt in-flight managed work; use -y/--yes only when non-interactive confirmation is intended.
/personality is gone—remove it from habits, scripts, or docs that still reference it.
codex tcp-tunnel is an internal networking helper; treat its flags and stdin auth/header protocol as unstable unless you already integrate with that path.
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.