Codex CLI v0.159.0 lets you steer Codex mid-answer

39 minutes ago

Codex CLI v0.159.0 lets new input steer Codex while it's still answering (opt-in), refreshes the terminal screen, fixes Windows console windows and sandbox protections, and removes prompt suggestions. Release notes: https://github.com/openai/codex/releases/tag/rust-v0.159.0 Full changelog: https://github.com/openai/codex/compare/rust-v0.158.0...rust-v0.159.0

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Codex CLI v0.159.0 lets you steer Codex mid-answer
  2. 0:13New input also reaches long code mode calls
  3. 0:25The terminal screen
  4. 0:27New sessions open on a compact welcome screen
  5. 0:38Codex shows an occasional tip while it works
  6. 0:51Closing the warnings viewer dismisses what you reviewed
  7. 1:01Scroll back through a plan before you implement it
  8. 1:13Mermaid diagrams understand more flowchart syntax
  9. 1:27Copied answers keep their Markdown tables
  10. 1:40Fixes
  11. 1:42Windows stops opening stray console windows
  12. 1:57The sandbox protects your .aws folder by default
  13. 2:12Sign-in, blank sessions and macOS connections are fixed
  14. 2:29Removed
  15. 2:30Prompt suggestions and the plugin-creator skill are removed
  16. 2:41Every change is in the v0.159.0 release notes
Show transcript

Codex CLI v0.159.0 lets you steer Codex mid-answer

01020304Steer Codex mid-answer
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull requests #48135, #48141
Codex
Released September 29, 2026Opt-in

Codex CLI v0.159.0 lets you steer Codex while it's still answering. Send a new message in the middle of a response and it reaches the model right away, instead of waiting in the queue.

New input also reaches long code mode calls

codex-cli v0.159.0
01020304Steer Codex mid-answer
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull request #48135

New input also cuts into long code mode calls

The running code keeps going. The setting is off by default.

It works on long running code mode calls too. Codex picks up your message as soon as you send it, and the code it started keeps running in the background. The setting is opt-in, and it's off by default.

The terminal screen

codex-cli v0.159.0
01020304The terminal screen
02
The terminal screen

Next, the terminal screen.

New sessions open on a compact welcome screen

codex-cli v0.159.0
01020304The terminal screen
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull requests #48513, #48562

Resumed, forked and cleared sessions share one borderless header.

New sessions now open on a compact welcome screen with a short greeting. Resumed, forked and cleared sessions get the same borderless header, with the title, the version and your folder.

Codex shows an occasional tip while it works

codex-cli v0.159.0
01020304The terminal screen
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull request #48352

After 30 seconds of work, and after some finished turns.

Codex now shows an occasional tip. One appears under the working status after thirty seconds, and a few show up after finished turns, at most two per session. The existing tooltips setting turns them off.

Closing the warnings viewer dismisses what you reviewed

codex-cli v0.159.0
01020304The terminal screen
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull requests #48205, #48206

Closing the warnings viewer dismisses the warnings you reviewed

Press k to keep one for later.

When you close the warnings viewer, it now dismisses the warnings you looked at, so the badge stops counting them. To keep one for later, press K and move on to the next.

Scroll back through a plan before you implement it

codex-cli v0.159.0
01020304The terminal screen
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull request #48805

The mouse wheel scrolls the transcript while the prompt is open.

When Codex asks whether to implement a plan, that prompt used to block scrolling. Now your mouse wheel scrolls the transcript behind it, so you can check a long plan's earlier steps before you decide.

Mermaid diagrams understand more flowchart syntax

codex-cli v0.159.0
01020304The terminal screen
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull requests #48814, #48895

Mermaid diagrams in the terminal understand more flowchart syntax

%% dashed edge with a label
A -. retry .-> B
%% two groups, four edges
A & B --> C & D

Codex draws Mermaid diagrams right in the terminal, and it now understands more flowchart syntax. Dashed and two way arrows, labels on edges, punctuation inside labels, and node groups that fan out into every edge.

Copied answers keep their Markdown tables

codex-cli v0.159.0
01020304The terminal screen
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull requests #48548, #48549, #48469

More terminals now copy as soon as you select.

Copying from the transcript now keeps Markdown tables as tables, along with formatting and meaningful whitespace, like the spaces in code. And more terminals now copy automatically when you select text.

Fixes

codex-cli v0.159.0
01020304Fixes
03
Fixes

Then the fixes.

Windows stops opening stray console windows

codex-cli v0.159.0
01020304Fixes
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull requests #48138, #48238, #48483, #48491

Under restrictive launchers, Codex falls back to embedded mode.

On Windows, starting MCP servers, the code mode host or piped commands no longer flashes stray console windows. And under launchers that stop background processes, Codex falls back to embedded mode instead of failing to open.

The sandbox protects your .aws folder by default

codex-cli v0.159.0
01020304Fixes
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull requests #48155, #48176

The sandbox now protects your .aws folder by default

Approved commands also keep the file denials you set.

Your AWS folder is now protected by default inside folders Codex may write to, because AWS profiles can run credential helpers. And commands you approve still respect the files you've explicitly blocked.

Sign-in, blank sessions and macOS connections are fixed

codex-cli v0.159.0
01020304Fixes
openai/codex · GitHub release rust-v0.159.0
ChatGPT sign-inopens the browser reliably; press c to copy the login link
Blank sessionskeep their drafts when you switch tasks
macOS sandboxsecure connections work when network access is on

Signing in with ChatGPT on your own machine now opens the browser reliably, and onboarding can copy the login link for you. Blank sessions keep their drafts when you switch tasks. And on macOS, secure connections work in sandboxes with network access.

Removed

codex-cli v0.159.0
01020304Removed
04
Removed

And two removals.

Prompt suggestions and the plugin-creator skill are removed

codex-cli v0.159.0
01020304Removed
openai/codex · GitHub release rust-v0.159.0 · openai/codex · pull requests #48621, #48604
Prompt suggestionsCodex stops suggesting your next message; its setting is gone
plugin-creatorthe skill no longer ships with Codex

Codex no longer suggests your next message after a turn, and the setting that controlled those suggestions is gone. The plugin creator skill no longer ships with Codex.

Every change is in the v0.159.0 release notes

codex-cli v0.159.0
01020304Removed
openai/codex · GitHub release rust-v0.159.0

github.com/openai/codex › Releases › 0.159.0

The release notes list every change in this version. You'll find them on the Codex releases page on GitHub, under v0.159.0.