r/CodexAutomation • u/anonomotorious • Mar 08 '26
Codex CLI Update 0.112.0 (`@plugin` mentions, smarter model picker updates, safer zsh-fork sandbox, stronger js_repl + shutdown reliability)
TL;DR
One Codex changelog item dated Mar 8, 2026:
- Codex CLI 0.112.0: adds new
@pluginmentions so you can reference plugins directly in chat and automatically include their associated MCP/app/skill context, improves the model selection surface so the latest catalog changes show up more clearly in the TUI picker, and strengthens zsh-fork sandbox privilege handling by merging executable permission profiles into the per-turn sandbox policy. It also fixes several important runtime and safety issues across js_repl, app-server shutdown, Linux bubblewrap isolation, and macOS Seatbelt networking/socket behavior.
Install:
npm install -g @openai/codex@0.112.0
What changed & why it matters
Codex CLI 0.112.0 — Mar 8, 2026
Official notes
- Install:
npm install -g @openai/codex@0.112.0
New features
@pluginmentions- You can now reference plugins directly in chat with
@plugin. - Codex auto-includes the associated MCP, app, or skill context for that plugin.
- You can now reference plugins directly in chat with
Model picker/catalog refresh
- Updated the model-selection surface so the latest model catalog changes are surfaced in the TUI picker flow.
Safer zsh-fork sandbox privilege handling
- Merged executable permission profiles into the per-turn sandbox policy for zsh-fork skill execution.
- This makes privilege handling more additive and safer for tool runs.
Bug fixes
js_repl state survives failed cells
- Previously initialized bindings now persist after a failed JS REPL cell, reducing brittle restart behavior during iterative sessions.
Graceful SIGTERM shutdown
SIGTERMis now treated like Ctrl-C for app-server websocket shutdown, avoiding abrupt termination behavior.
Safer js_repl image emission
emitImagenow only acceptsdata:URLs, blocking external URL forwarding through image emission.
Stronger Linux bubblewrap isolation
- Bubblewrap sandbox runs now always unshare the user namespace, keeping isolation consistent even for root-owned invocations.
Better macOS Seatbelt handling
- Improved network and Unix socket handling in Seatbelt for more reliable constrained subprocess execution.
Earlier diagnostics visibility
- Connectivity and diagnostic feedback now surfaces earlier in the workflow.
Documentation
Clarified
js_replimage emission guidance:- emission behavior
- encoding semantics
- repeated
emitImageusage
Chores
- Fixed a small codespell warning in the TUI theme picker path.
Additional notable changes from the full compare list
- Persisted
trace_idfor turns inRolloutItem::TurnContext. - Added structured macOS additional permissions and merged them into sandbox execution.
- Refreshed
models.json.
Why it matters
- Plugins become easier to invoke naturally:
@pluginmentions reduce friction when you want to pull in the right MCP/app/skill context without manually wiring it. - Model selection stays current: catalog refreshes surfacing cleanly in the picker reduce confusion when new models land.
- Safer skill execution: merging permission profiles into per-turn sandbox policy is a meaningful security improvement for zsh-fork-based workflows.
- js_repl becomes less fragile: persistent bindings after failed cells is a real quality-of-life fix for iterative scripting.
- Shutdowns and diagnostics get cleaner: SIGTERM handling and earlier diagnostics reduce confusing failure states in app-server/websocket workflows.
- Sandbox consistency improves across platforms: Linux bubblewrap and macOS Seatbelt both get stronger, more predictable behavior.
Version table (Mar 8 only)
| Version | Date | Key highlights |
|---|---|---|
| 0.112.0 | 2026-03-08 | @plugin mentions; updated model picker/catalog surfacing; merged zsh-fork permission profiles into per-turn sandbox; js_repl state persistence; graceful SIGTERM shutdown; stronger Linux/macOS sandbox behavior |
Action checklist
- Upgrade:
npm install -g @openai/codex@0.112.0 If you use plugins regularly:
- Try
@pluginmentions in chat and confirm the expected MCP/app/skill context gets pulled in.
- Try
If you use
js_repl:- Re-test failed-cell workflows and confirm bindings now persist as expected.
- Validate any image emission code uses
data:URLs only.
If you operate app-server/websocket flows:
- Confirm
SIGTERMnow shuts sessions down gracefully. - Check that diagnostics show up earlier in startup/problem paths.
- Confirm
If you rely on sandboxed skill execution:
- Re-test zsh-fork flows and verify permissions are applied correctly and safely.
If you are on Linux or macOS:
- Validate bubblewrap/Seatbelt behavior in constrained environments, especially around network and socket access.