Original Title: Codex CLI 0.172.0 Released
OpenAI's Codex CLI has been upgraded from 0.171.0 to 0.172.0. According to the official changelog, new features include: opening session links and sub-agents directly in the terminal from search results and conversation history; Tab-completion for parameters of supported slash commands (e.g., /mcp lo completes to /mcp login); navigating between task groups in the Agent Command Center using Shift plus the up/down arrow keys; optional stdio MCP servers with cached tool lists now default to starting only upon the first tool call; and specifying approvers for individual connected application tools in config.toml. Regarding fixes, codex exec resume restores saved sandbox permissions and working directories, and errors now indicate which API spending limit was triggered; the built-in openai-docs skill adds instructions for migrating to GPT-6.2 Astra and Sol.
Why It Matters Codex CLI is OpenAI's local coding agent. This version improves MCP startup, remote sessions, and task recovery, while the built-in documentation skill adds migration notes for new models.
Credibility: High · Sources include npm @openai/codex and 2 others (including official) · Event time 11-24 09:21 (Beijing Time)
Reasoning
- The npm version matches the OpenAI official changelog
- Changes such as on-demand MCP startup and per-tool approvals directly impact the speed and security boundaries of daily Codex usage
Usage
- npm install -g @openai/[email protected]
Risks
- Code Mode now routes all connections through gRPC; the code_mode_host_grpc setting is deprecated