Skip to content

Notify send in wrong time #16844

Closed
Closed

Description

@FlowerRealm

What version of Codex CLI is running?

0.118.0

What subscription do you have?

Plus

Which model were you using?

No response

What platform is your computer?

Ubuntu 25.10 x64

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

I want to send notify in "Ask me question" in plan mode
And I don't want to send notify when subagent finish their work

What steps can reproduce the bug?

It's detail in "What issue are you seeing"

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Apr 5, 2026
  2. added
    CLI
    TUI
    on Apr 5, 2026
  3. github-actions commented on Apr 5, 2026

    @github-actions
    Contributor
  4. etraut-openai commented on Apr 5, 2026

    @etraut-openai
    Contributor

    Sorry, but I don't understand your bug report. Could you clarify what you mean by "send notify"? Are you talking about a user prompt that you are sending to the agent?

    Perhaps it would help if you provided step-by-step repro instructions.

  5. removed
    CLI
    on Apr 5, 2026
  6. FlowerRealm commented on Apr 6, 2026

    @FlowerRealm
    Author

    When the agent finish their work, it will send the notify, isn't it?
    and it is which you can config in the config.toml

  7. etraut-openai commented on Apr 6, 2026

    @etraut-openai
    Contributor

    Ah, I understand now. You're using the tui.notifications mechanism, and you want to configure it to send a notification when plan mode is waiting for an answer.

    To receive notifications for all events:

    [tui]
    notifications = true

    To receive notifications only when the turn is complete:

    [tui]
    notififications = ["agent-turn-complete"]

    To receive notifications only for plan-mode prompts and approval requests:

    [tui]
    notififications = ["plan-mode-prompt", "approval-requested"]

    For more details, refer to this documentation.

    There is currently no way to differentiate between main agent and subagent. If you would like to see that, please open a feature request, and we'll see if other codex users upvote it.

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

    TUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions