Skip to content

Codex CLI: Add a Continue action after user-run ! commands #62958

Open

Description

@morhaf-ko

What variant of Codex are you using?

Codex CLI 0.171.0 (TUI on macOS).

What feature would you like to see?

When Codex asks me to run a command and I run it with !, the output appears in the conversation, but the agent stays idle until I send another message. I’d like an explicit Continue with command result action after the command exits. It should start a model turn in the same conversation using the recorded result and let Codex pick up the pending task. This would also let Codex help when the command exits with an error.

Additional information

To reproduce:

  1. Ask Codex to wait for you to run !printf 'ready\n', then report what the command printed.
  2. After Codex stops, enter !printf 'ready\n'.
  3. The TUI displays ready and stays idle. Sending a normal follow-up message starts the next model turn.

#26393 covers when shell commands run while Codex is busy. This request is about continuing the conversation after the command exits.

Activity

  1. added
    enhancementNew feature or request
    CLIIssues related to the Codex CLI
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions