Codex CLI 0.173.0 adds blocking hooks and update controls
Brief
Codex CLI 0.173.0 adds controls for blocking tool runs and disabling daemon updates, alongside MCP and interface improvements.
Execution and update controls
- Supported synchronous command and MCP tool hooks can set onFailure to block; a failed PreToolUse check then prevents the tool from running.
- Administrators can disable scheduled and manual daemon updates with features.daemon_updates = false in managed requirements.toml or local MDM policy.
MCP and interface updates
- Codex shares MCP connections by default, supports older local servers that require initialize as the first request, and discovers OAuth endpoints from a config server when config_server.oauth is omitted.
- Custom status lines can align items left, center, or right, or spread them across the terminal; terminal Markdown adds rendering support for several labels and mathematical notation.
- The release also fixes sidebar preview refreshes, image-path attachments surviving moves or deletion of the original, and Agents overview updates from other clients.
Generated by AI from the original article. Check the source for full details.