Skip to content

[feature request] notifications #213

Closed

Description

@akuuly-7

Leaving it here, because it sounded really interesting - heard there were notifications upon the agent waiting for further input and/or finishing the task in Claude Code (and maybe Codex)

It's really not a priority, but sounded cool to have :)

Activity

  1. adamdotdevin commented on Jun 20, 2025

    @adamdotdevin
    Member

    @thdxr this will be on the TS side, lmk if you still want me taking this on or not

  2. tamirzb commented on Jul 15, 2025

    @tamirzb

    This seems to already be available using the experimental.hook.session_completed config option? You can add a command there that sends a notification (e.g. notify-send on Linux).

    But you guys put it under "experimental" and I'm not that sure what that means.

  3. rohitsathish commented on Sep 2, 2025

    @rohitsathish

    @tamirzb could you expand on this? I can't seem to find this option anywhere?

  4. tamirzb commented on Sep 3, 2025

    @tamirzb

    @rohitsathish They changed the config since I posted this. Although I believe these days it could be done using a plugin, the plugins page in the docs even gives a specific example about this.

  5. berenar commented on Oct 27, 2025

    @berenar
    Contributor

    Yes! This can be done with a plugin. Here's the one I'm using: https://github.com/berenar/dotfiles/blob/main/opencode/.config/opencode/plugin/notification.ts
    FYI: It only triggers if kitty (my terminal) is in the background

  6. TheHamkerCat commented on Jan 28, 2026

    @TheHamkerCat

    Most notification plugins only support macOS, and not linux (i tried to create one as well, and failed)

    because if i understand it right, it's pretty hard to listen to focus-in/focus-out events via plugins, We need the focus-related code inside opencode itself, or opencode should expose some events to plugins for this

    I'm talking about: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html

    echo -ne '\e[?1004h' and echo -ne '\e[?1004l'

  7. github-actions commented on Mar 30, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions