Stable release: Codex CLI 0.151.0 graduates the 0.151.0-alpha.12 line to the stable channel, with dependency lock updates and a small set of internal cleanups and refactors.
Changelog
[changed]0.151.0 is now stable — the build is published on the stable channel (rust-v0.151.0) rather than alpha.
[new]exclude_slash_tmp config option — new configuration key for controlling slash-command temp-path exclusion behavior.
[changed]Agent spawn and thread shell command payloads — spawn-agent and thread shell-command parameter shapes were adjusted (fields added/trimmed) as part of tightening those APIs.
[changed]Hook handler configuration — configured hook handlers were reworked around agent- and prompt-style handlers.
[new]mitm_hook_denied notification — new event when a MITM hook path is denied.
[removed]collab_waiting_end event — collaboration “waiting end” notification dropped from the event set.
[removed]Auth recovery event/notification payloads — auth-recovery-specific event and notification types are no longer part of the shipped model.
[changed]Token usage profiling — token-usage profile data now includes daily-bucket structure instead of the prior single profile shape.
Under the hood
App-server picks up a realtime history module and drops the old codex home metrics path, simplifying metrics-related surface area.
Exec-server noise-relay work includes message framing updates; remote registration retry code was removed.
RMCP HTTP client WWW-Authenticate handling lives under the HTTP client adapter layout (replacing the previous standalone module).
Rollout seekable reader and sandboxing terminal query helpers were removed as unused or superseded groundwork.
Environments snapshot and several requirements/marketplace-related data shapes were slimmed or replaced (including guardian warning notification and marketplace manifest types).
Cargo and dependency locks refreshed for the stable cut; version metadata now reports channel: stable, version 0.151.0.
Upgrade notes
If you pin prerelease tags or channels, switch from 0.151.0-alpha.12 / rust-v0.151.0-alpha.12 to 0.151.0 / rust-v0.151.0 and the stable channel.
Integrations that listened for collab_waiting_end or auth-recovery events should stop expecting those payloads; prefer current session/auth and collaboration signals instead.
Review any config that should opt into exclude_slash_tmp after upgrade.
Call sites using spawn-agent or thread shell-command parameter objects should confirm they match the updated field sets.
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.