Codex CLI v0.160.0 starts sessions outside a project

1 month ago

Codex CLI v0.160.0 starts sessions outside a project with workspace defaults when policy permits, restores saved permissions on resume, adds X11 middle-click paste and opt-in Guardian review features, and fixes Windows, subagent, SQLite and model catalog issues. Release notes: https://github.com/openai/codex/releases/tag/rust-v0.160.0 Full changelog: https://github.com/openai/codex/compare/rust-v0.159.3...rust-v0.160.0

Ask about this presentation

Chapters

  1. 0:00Codex CLI v0.160.0 starts sessions outside a project
  2. 0:15Resumed tasks get their saved permissions back
  3. 0:27The terminal screen
  4. 0:29The agent command center shows older tasks
  5. 0:40Middle-click pastes your selection on Linux X11
  6. 0:56Queued messages send after a reconnect
  7. 1:08The terminal keeps the app server's settings
  8. 1:20Guardian reviews
  9. 1:22Guardian can look up your earlier instructions
  10. 1:36Guardian reviews follow handoffs to other agents
  11. 1:50Fixes and upkeep
  12. 1:51PowerShell, long paths and console windows are fixed on Windows
  13. 2:05Subagents keep an environment that's still starting
  14. 2:16SQLite stalls during setup and logging are fixed
  15. 2:27A provider's own model catalog is now the whole list
  16. 2:40Plugins load with less repeated work and the log database shrinks
  17. 2:54Every change is in the v0.160.0 release notes
Show transcript
  1. Codex CLI v0.160.0 can start a session outside any project. In a folder without a saved trust decision, it skips the trust prompt and applies workspace defaults, when your local settings and managed policy allow it.

    Slide text
    01 02 03 04 Sessions outside a project
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49160
    Codex
    Released October 1, 2026 When policy permits
  2. When you resume a task, Codex now restores the permissions you saved for it. An explicit override still wins, and ordinary turns stop overwriting the permission profile the server saved.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Sessions outside a project
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49160

    An explicit override still wins.

  3. Next, the terminal screen.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 The terminal screen
    02
    The terminal screen
  4. The agent command center used to list only your ten most recent sessions. Now a Show more row, which you can select from the keyboard, loads up to ten older tasks at a time.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 The terminal screen
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49106

    The agent command center can now show older tasks

    A Show more row loads up to ten more, from the keyboard.

  5. In fullscreen mode on Linux, selecting transcript text now puts it in the X11 primary selection, and middle-click pastes it. That's local X11 only. Wayland, SSH, tmux, WSL and VS Code terminals are excluded.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 The terminal screen
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49112

    Local X11 sessions only. Wayland, SSH, tmux, WSL and VS Code terminals are excluded.

  6. If your connection drops with messages still queued, Codex now sends them once it reconnects. A message whose delivery it can't confirm stays paused, with a notice naming it, so you don't get a duplicate.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 The terminal screen
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49105

    Queued messages send once Codex reconnects

    A message it can't confirm stays paused, so it isn't sent twice.

  7. Connected to an app server, the terminal now keeps that server's settings. Its model provider, its reasoning summary and verbosity. And the resume and fork pickers now list the right sessions.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 The terminal screen
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull requests #49144, #49161, #49171
    Model provider the server's default, unless you pick one
    Reasoning summary and verbosity keep the server's values
    Resume and fork the pickers list the right sessions
  8. Then, Guardian reviews.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Guardian reviews
    03
    Guardian reviews
  9. Guardian, the reviewer that checks actions with side effects before approving them, can now search your earlier messages. That surfaces instructions or revoked permissions its transcript may be missing. It's opt-in, and off by default.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Guardian reviews
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49036

    Opt-in, and off by default.

  10. A second opt-in feature covers work handed to another agent. Guardian reviews that worker's actions against the messages just before each handoff, plus your latest ones, so a recent cancellation still counts.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Guardian reviews
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49057

    It checks a worker against the messages before each handoff. Also opt-in.

  11. And the fixes.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Fixes and upkeep
    04
    Fixes and upkeep
  12. On Windows, the sandbox now swaps the Microsoft Store PowerShell, which it can't run, for a compatible one. Permission repair handles paths past the old length limit. And background helpers stop opening console windows.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Fixes and upkeep
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull requests #49019, #49098, #49058, #49164
    PowerShell the sandbox swaps the Store build for one it can run
    Long paths permission repair works past the old limit
    Console windows background helpers stop opening them
  13. A subagent spawned while an environment was still starting used to lose that environment. Now it keeps it, and gets its configuration or its failure when preparation finishes.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Fixes and upkeep
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49075

    They get its configuration, or its failure, when it's ready.

  14. Codex's SQLite database could stall while opening a connection or writing logs, and that's fixed. When setup does fail, you now see the real error, instead of a timeout.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Fixes and upkeep
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull requests #49032, #49102

    A failed setup reports its real error instead of a timeout.

  15. If your model provider publishes its own model catalog, Codex now treats it as the complete list. Bundled models it doesn't support drop out, and a failed refresh stops leaving stale entries behind.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Fixes and upkeep
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull request #49135

    Unsupported bundled models and stale entries drop out.

  16. Plugins load with less repeated work, because Codex caches their parsed manifests and reuses connections for remote plugins. And the log database now reclaims unused space in the background, so it takes up less disk.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Fixes and upkeep
    openai/codex · GitHub release rust-v0.160.0 · openai/codex · pull requests #49099, #49100, #49069

    Plugins load with less repeated work, and the log database shrinks

    Plugins parsed manifests are cached, connections reused
    Log database unused space is reclaimed in the background
  17. The release notes list every change in this version. You'll find them on the Codex releases page on GitHub, under v0.160.0.

    Slide text
    codex-cli v0.160.0
    01 02 03 04 Fixes and upkeep
    openai/codex · GitHub release rust-v0.160.0

    github.com/openai/codex › Releases › 0.160.0

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York