Reusable input slots reduce repeated setup inside the terminal

OpenAI released Codex CLI 0.164.0 on October 23, 2026. Its most visible addition is /presets: ten numbered slots for reusable prompts and slash commands, accessible through a keyboard menu. A repeated task instruction can be saved as an input instead of being typed again each time; the feature reuses the instruction, while the active conversation still supplies its working context.

The release also lets /model take inline arguments for the model, reasoning effort and speed, and /permissions take a permission profile directly. Those controls make the intended execution settings explicit at the point of use. They complement saved prompts: one controls the recurring instruction, while the other controls the model and permissions under which the current session operates.

Conceptual map of ten reusable input slots and the current thread’s model and permission settings. The resume fix restores saved thread settings; the diagram is not a terminal screenshot or a guarantee that a preset contains those settings. English labels are retained in both editions.
Conceptual map of ten reusable input slots and the current thread’s model and permission settings. The resume fix restores saved thread settings; the diagram is not a terminal screenshot or a guarantee that a preset contains those settings. English labels are retained in both editions.

Image display and enterprise tools gain additional supported paths

The fullscreen transcript can preview viewed and generated images on terminals supporting Kitty or Sixel graphics. For work involving visual artifacts, a compatible terminal can keep the image beside the conversation record instead of leaving it as text-only context.

Enterprise MCP connections gain authentication through eligible Codex account grants or a dedicated sign-in flow, including OAuth clients that require a client secret. MCP connections let Codex use external tool servers, so the authentication change concerns how access to those servers is established. The release also masks credentials in supported remote Bash commands and Zsh snapshot sessions, including custom-provider credentials.

Windows proxy authentication and Bedrock setup target connection friction

On Windows, HTTPS and WebSocket connections can now answer proxy authentication challenges with the signed-in user’s Negotiate or NTLM credentials. In a managed network using those protocols, the connection can use the existing operating-system identity instead of failing at that challenge.

The Amazon Bedrock setup wizard is enabled by default. When credentials are detected, API-key entry is grouped with the other AWS sign-in options, bringing the available methods together in the provider setup flow.

Long-running sessions retain history and their own settings more reliably

A failed conversation compaction no longer leaves a partial summary in history, and background compaction failures fall back without panicking. Compaction reduces the stored conversational context used for continuing work; retaining a partial failed summary could otherwise leave a misleading basis for the next step. Resuming can now find compressed histories and restore saved thread settings instead of replacing them with global defaults.

Related fixes preserve -c or --config overrides when supplied at several subcommand levels, and hold queued prompts until a pending permission selection has finished. These changes address the handoff between a user’s chosen settings and the next operation, including work resumed after an interruption.

The release also hardens macOS sandbox checks around case variants of metadata paths and replaceable symlinks used to locate executables. Maintenance changes prune unused installations, clean abandoned marketplace checkouts and bound daemon logs, and add safety checks for optimized Array.sort in the embedded JavaScript runtime.