Skip to content

OpenAI Codex CLI v0.142.2 Changelog

What changed in Codex CLI v0.142.2, released 2026-06-25 โ€” explained in plain English.

TLDR
  • Easier tool integration and network support: Adds automatic discovery for MCP tools and macOS system proxy support.
  • Enhanced safety and security: Introduces approval prompts for complex PowerShell scripts and updates built-in security tools (OpenSSL).
  • Improved error handling and UX: Provides clearer error messages for expired Amazon Bedrock logins and inaccessible image links, while making successful code formatting silent.

Want a heads-up when OpenAI Codex CLI updates?

We email you the moment a new OpenAI Codex CLI version drops โ€” plus plain-English release notes like these. No spam.

Choose update emails OpenAI Codex CLI ยท Vibe Mastermind Updates
Choose which update emails you want

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This update is all about making the Codex command-line tool smarter, safer, and easier to use. It introduces better ways for the AI to find external tools, improves security checks when running scripts, and cleans up error messages so you actually know what went wrong. It is a great update for anyone using Codex to write and run code directly from their terminal.

What's new

  • Easier tool discovery: Codex now uses an automatic search to find MCP tools (Model Context Protocol, which is a standard that lets the AI connect to outside apps). This makes it much easier for the AI to find and use the right tool for your project.
  • Dark mode logos: Plugins can now include custom logos designed specifically for dark mode, so they look great no matter your color theme.
  • Better safety screens: The app can now show more detailed status updates and loading screens while the AI is double-checking to make sure its responses are safe to display.
  • macOS network support: If you are on a Mac, Codex can now automatically follow your system's proxy settings (which route internet traffic, often used in school or office networks).

Improvements

  • Quieter code formatting: When the code formatter (the tool that cleans up your code's spacing and style) runs successfully, it will now do so silently. You will only see messages if something actually goes wrong, keeping your terminal clean.
  • Under-the-hood updates: The built-in security tools (OpenSSL) and code-bundling tools (esbuild) have been updated to their latest, safest versions.

Fixes

  • PowerShell safety check: If you try to run a PowerShell script with complex code that the safety scanner cannot fully inspect, Codex will now pause and ask for your approval first instead of just running it.
  • Clearer cloud login errors: If your Amazon Bedrock (a cloud AI service) login credentials expire, Codex will now give you helpful steps to fix it instead of showing a confusing, generic error.
  • Better image error handling: If you try to send the AI a web link to an image that it cannot access, it will now generate a clear error message explaining why, rather than failing silently. (Uploading local images still works perfectly).
  • Smarter file paths for remote tools: Fixed an issue where remote tools running on different operating systems got confused by file paths (the address of where a file is stored).
  • Code Mode warnings: Codex will now warn you if the AI model you selected is missing the background information (metadata) it needs to work properly in Code Mode.
  • Featured plugins list: Fixed a bug so that the remote plugin store now correctly ranks and displays featured plugins.

Breaking changes

No breaking changes in this release.

How to upgrade

Update to OpenAI Codex CLI v0.142.2 by running:

codex --upgrade

This is our plain-language summary. Read the complete, official notes on the OpenAI Codex CLI official changelog โ†—.

๐Ÿ• Vibe Mastermind in 00d 00h 00m 00s
Call LIVE — Join Now