Codex CLI v0.173.0 can stop a tool when your hook fails, and aligns your status line
1 day ago
Codex CLI v0.173.0: a failed hook can now stop a tool from running, MCP connections are shared by default, custom status lines can align their items, and administrators can block daemon updates.
Links
Ask about this presentation
Chapters
0:00Codex CLI v0.173.0 can stop a tool when your hook fails
0:10Blocking is opt-in, per hook
0:18MCP connections are shared by default
0:25In your terminal
0:27Custom status lines can align their items
0:37Terminal Markdown renders more
0:47Pasted image paths survive moving the original
0:55Three views stay current
1:06Codex says why the server rejected a request
1:14Updates and administration
1:16Running threads pick up new policies
1:26Config servers' OAuth endpoints are found automatically
1:34Administrators can block daemon updates
1:45Smaller npm packages
Show transcriptHide transcript
Codex CLI v0.173.0 can stop a tool when your safety hook fails. Set a hook to block on failure, and a check that fails before a tool call keeps that tool from running.
Nothing changes unless you ask: the default still continues after a failed hook. Blocking works on supported synchronous command hooks and MCP tool hooks.
Codex now shares MCP connections by default. Older local servers that insist on initialize as their very first request are supported as well.
Next, what changed in your terminal.
Your custom status line can now line up its items. Pack a row left, center it, push it right, or spread it across the terminal so two groups stay at opposite edges as you resize.
Terminal Markdown renders more. Mermaid flowchart arrows can carry labels on several lines, display equations show labeled underbraces, and a wide tilde fits over a single character.
Paste an image path, and Codex now makes a private copy right away. Move or delete the original file before you send, and the attachment is still there.
Open sidebar previews refresh when a file changes on disk, even when an editor replaces it on save. The Agents overview follows Cloud threads changed from another client. And task mentions match the titles you see.
When the server rejects a request, Codex can now tell you why. That includes a request that was too large, even if the upload stalled or failed first.
And finally, updates and administration.
Threads that are already running now pick up updated approval requirements and Guardian policies when you reload configuration, sign in or sign out. That holds even when the new policy blocks the current model.
Config servers that publish their OAuth endpoints now need less setup. Leave the OAuth settings out, and Codex discovers those endpoints on its own.
Administrators can now block Codex daemon updates, scheduled and manual alike. It works through managed requirements or local MDM policy, not cloud-delivered requirements, and users cannot override it.
Installing or updating Codex through NPM now downloads less, because the packages are smaller. Every other change is in the v0.173.0 release notes on GitHub.
Up next
2:21Codex CLI v0.172.0 opens saved conversations from a link and completes slash commands with Tab
@codex-cli
1 week ago
2:58Codex CLI v0.171.0 opens your files, images and subagents in a sidebar beside the chat
@codex-cli
1 week ago
3:34Codex CLI adds GPT-6.2 Sol and GPT-6.2 Astra, with Sol as the new default
@codex-cli
2 weeks ago
3:19Codex CLI v0.169.0 keeps side chats in tabs and saves them across restarts
@codex-cli
2 weeks ago
3:07Codex CLI now runs a side chat next to your main one, and takes recordings
@codex-cli
2 weeks ago
3:04Codex CLI v0.167.0 runs the agent command center without a daemon and marks unread results
@codex-cli
3 weeks ago
3:29Codex CLI runs on Google Cloud Vertex AI and adds GPT-6.1 Terra
@codex-cli
1 month ago
3:08Codex CLI now lets you steer a reply while it is still answering
@codex-cli
1 month ago
2:51Codex CLI v0.162.0 adds managed Git worktrees
@codex-cli
1 month ago
3:02Codex CLI v0.160.0 starts sessions outside a project
@codex-cli
2 months ago
1:19Codex CLI makes GPT-6.1 Sol its default model
@codex-cli
2 months ago
2:49Codex CLI v0.159.0 lets you steer Codex mid-answer
@codex-cli
2 months ago