Skip to content

VS Code extension (Cursor host): no reliable completion ding / notify config appears ignored #13020

Closed

Description

@flutterrausch

Summary

In the OpenAI Codex VS Code extension (openai.chatgpt, tested in Cursor host), completion notifications are not configurable in a way that yields one ding per finished request.

The same ~/.codex/config.toml notification settings used by CLI/TUI appear ignored in extension app-server sessions.

Environment

  • Date observed: 2026-02-27
  • Extension: openai.chatgpt-0.5.78-universal
  • Cursor: 2.5.26 (VS Code-compatible host)
  • codex binary used by extension: bundled app-server binary
  • macOS: 26.3 (Darwin 25.3.0)

Config used

notify = ["zsh", "/Users/ingo/Developer/dotfiles/ai/notify_log_codex.zsh"]

[tui]
notification_method = "bel"
notifications = ["agent-turn-complete"]

Repro

  1. Configure notify hook to write payloads to ~/.codex/notify-debug.log.
  2. Confirm script works manually.
  3. Start extension session and run turns.
  4. Check ~/.codex/notify-debug.log.

Expected

  • A supported completion notification path for extension sessions (ideally event-filterable to turn completion only).

Actual

  • No notify hook invocations for extension turns.
  • No completion ding.
  • Extension logs show app-server activity, but no evidence that config-based notify is wired for this surface.

Additional observed logs

  • Frequent:
    • Received broadcast but no handler is configured method=thread-stream-state-changed
  • Also saw state DB warnings in extension logs:
    • failed to open state db ... migration 18 was previously applied but is missing in the resolved migrations

Request

  1. Document notification support matrix for extension sessions vs CLI/TUI.
  2. Add explicit extension-level setting for completion sound (single ding per completed request).
  3. If CLI notify/[tui] settings are intentionally not used by extension, surface that clearly in logs/docs.

Activity

  1. added
    bug
    extension
    on Feb 27, 2026
  2. github-actions commented on Feb 27, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. flutterrausch commented on Feb 27, 2026

    @flutterrausch
    Author

    Both by me, close which you want.

  4. etraut-openai commented on Feb 27, 2026

    @etraut-openai
    Contributor

    The tui.notifications is specific to the TUI, so it doesn't apply to the extension or app.

    The notify hook does work with the extension.

  5. flutterrausch commented on Feb 27, 2026

    @flutterrausch
    Author

    First sentence - with subagents, I get like a dozen dings from "notify", which is not helpful.

    Please add another hook that works in both, or sth. TUI is not an option anymore since app and ext got really good (I can actually edit my prompt now : ).

  6. etraut-openai commented on Feb 27, 2026

    @etraut-openai
    Contributor

    We are actively working on a more general event hooks mechanism. The notify hook will be deprecated as soon as we have that in place.

    See #2109 and #3962.

  7. flutterrausch commented on Feb 27, 2026

    @flutterrausch
    Author

    I just tried Cursor and Codex app, and both their notifications don't work. Sorry that I've missed that before.

    Hooks seem to be the only stable thing for both actual Cursor, and and Codex (tried months ago on TUI).

    Looking forward and thanks for your answers ❤️

  8. etraut-openai commented on Feb 27, 2026

    @etraut-openai
    Contributor

    Have you tried configuring notifications in the app rather than trying to use a low-level hook?

    Image

    One of the (many) reasons we created the app is because notifications are difficult to do right in the TUI and IDE Extension given the limitations of terminals and VS Code.

  9. flutterrausch commented on Feb 28, 2026

    @flutterrausch
    Author

    Yes, this setting (and notifications/audio), does not work. I guess Tahoe is broken.

  10. etraut-openai commented on Feb 28, 2026

    @etraut-openai
    Contributor

    @flutterrausch, are you sure that you have enabled notifications for the Codex app in your Mac System Settings? Your settings should look like this.

    Image
  11. flutterrausch commented on Mar 2, 2026

    @flutterrausch
    Author

    Yep, had sound only, tried alerts and stuff too, nothing. MacOS broken it seems.

  12. flutterrausch commented on Apr 1, 2026

    @flutterrausch
    Author

    Can be closed, hooks are working, thanks.

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

    bugextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions