Codex 0.160.0 shipped on October 1, 2026 and added “Show more” paging for older tasks in the agent command center, sessions started outside a project, and opt-in context for Guardian reviews, plus fixes for reconnects, the Windows sandbox and SQLite stalls. A patch, 0.160.1, followed on October 5 with one fix: remote stdio MCP servers launched from a Windows executor keep SYSTEMROOT, TEMP and TMP.
OpenAI published 0.160.0 on GitHub at 20:19 UTC and the npm package at 20:26 UTC (npm). Neither is the current release any more: npm’s latest tag now points to 0.167.2, published November 11, 2026 (npm registry, GitHub).
Versions and dates checked November 12, 2026 on GitHub and npm.
On this page
Codex 0.160.x at a glance
| Version | GitHub release (UTC) | npm publish (UTC) | What it changed |
|---|---|---|---|
| 0.160.0 | Oct 1, 2026, 20:19 | Oct 1, 2026, 20:26 | Task paging, projectless sessions, Guardian context, Linux middle-click paste, fixes listed below |
| 0.160.1 | Oct 5, 2026, 18:29 | Oct 5, 2026, 18:33 | Windows environment variables kept for remote stdio MCP servers (#51121) |
npm lists no later 0.160 patch; the next release, 0.161.0, was published there on October 7, 2026 at 16:04 UTC. Sources: 0.160.0 release, 0.160.1 release, npm registry entry for @openai/codex.
New in 0.160.0
From the release notes:
- Older tasks in the agent command center. A keyboard-accessible “Show more” action loads earlier tasks (#49106).
- Sessions outside a project. You can start a session with workspace defaults when policy permits, and saved permissions come back when you resume (#49160).
- More context for Guardian reviews. Opt-in capabilities let a Guardian review retrieve earlier user instructions and include context from agent handoffs (#49036, #49057).
- Middle-click paste on Linux. In fullscreen mode on supported local X11 terminals, you can select transcript text and paste it with middle-click (#49112).
Fixes worth knowing about
- Queued messages that were not sent resume after a reconnect once uncertain submissions are resolved, so they are not sent twice (#49105).
- The terminal UI keeps the server’s provider, reasoning-summary and verbosity settings, and resume and fork history show the right sessions (#49144, #49161, #49171).
- Windows: PowerShell fallbacks in the sandbox, permission repairs on long paths, and no more stray console windows from background helpers (#49019, #49058, #49098, #49164, #49386). For the Windows setup itself, see Codex CLI on Windows.
- Subagents keep environments that are still starting and receive their configuration or preparation failure (#49075).
- SQLite no longer stalls during connection setup and logging, and initialization errors are reported instead of showing up as timeouts (#49032, #49102).
- An explicit provider model catalog no longer picks up unsupported bundled models or reuses stale entries after a failed refresh (#49135).
Smaller changes in the 0.160.0 changelog
The full pull-request list on the release page also includes changes the summary does not mention:
- The fullscreen status line shows the hint for cycling Plan mode (#49037).
/statushides reasoning-summary settings for server connections (#49145).- Pro plan display names and subscription labels were updated in the terminal UI (#49043, #49079).
- Content-filter retries now come with recovery guidance (#49119, #49130).
- Copying a selection inside inline code gives plain text, and copying a quoted selection drops the blockquote markers (#49041, #49153).
- A backport updated the maintenance-line model catalog and security reminders (#49763).
The 0.160.1 patch
From the 0.160.1 release notes, the only fix: Codex preserves SYSTEMROOT, TEMP and TMP when it launches remote stdio MCP servers with explicitly configured remote environment variables, so Unix hosts keep the Windows executor’s startup environment (#51121, a backport to the 0.160 line). It matters if you run MCP servers on a Windows executor and set env values for them. How Codex starts and configures MCP servers is covered in Codex MCP.
Docs and housekeeping
The release clarifies how provider credentials use the configured storage backend and how env_key names the environment variable that holds the API key (#49118). Plugin loading now caches parsed manifests and reuses HTTP connections for remote plugin requests, and unused space in the log database is reclaimed in the background (#49099, #49100, #49069).
How to update Codex
The current Codex README starts with standalone installers, which fetch the current version.
Mac or Linux:
curl -fsSL https://chatgpt.com/codex/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
The README says these installers download from https://releases.openai.com/codex by default and fall back to GitHub Releases. It also lists the package managers:
# Install using npm
npm install -g @openai/codex
# Install using Homebrew
brew install --cask codex
OpenAI’s Codex changelog gives a pinned npm command with each release. For the current one it is:
$ npm install -g @openai/codex@0.167.2
What changed in a later release is covered in Codex CLI 0.164.0, and the parts of Codex in What is Codex.





