You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tui: notifications fire in every attached TUI for a single session completion #59386
With multiple TUI clients attached to the same opencode server, a single session completion produces one desktop notification per attached TUI. The built-in opencode.notifications plugin has no notion of which client owns the session, so every client fires its own notification.
Every TUI subscribes to the same shared server event stream, and the plugin does not check whether the session belongs to the current client. So each attached TUI emits its own notification. With when: "blurred", every terminal that is not focused notifies — N attached TUIs produce N notifications.
Workaround: launch secondary TUIs with OPENCODE_CLI_CONFIG_CONTENT='{"plugins":["-opencode.notifications"]}' to disable the plugin in those instances.
Thanks for the detailed report and the workaround! I think this is a duplicate of #51014, which reports the same thing: several TUIs attached to one server each send their own notification for the same session event.
Possible duplicates and related issues, most likely first:
Activity
opencode-agent commentedon Oct 26, 2026
Thanks for the detailed report and the workaround! I think this is a duplicate of #51014, which reports the same thing: several TUIs attached to one server each send their own notification for the same session event.
Possible duplicates and related issues, most likely first:
opencode.notificationshandler you found.The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
rekram1-node commentedon Oct 28, 2026
Closing as a duplicate of the issue linked above. If this turns out to be a different problem, comment here and we'll reopen it.