github mohak34/opencode-notifier v0.1.30
v0.1.30 - suppressWhenFocused

11 hours ago

What's New

New Feature: suppressWhenFocused

Added suppressWhenFocused config option to suppress notifications when the terminal window running OpenCode is focused.

To enable:

{
  "plugins": [{
    "name": "@mohak34/opencode-notifier",
    "config": {
      "suppressWhenFocused": true
    }
  }]
}

Changes

  • Fixed: Replaced PID-based focus detection with window ID comparison for more accurate window identification
  • Fixed: Ghostty multi-window focus detection — notifications now correctly trigger when switching between Ghostty windows
  • Fixed: tmux session/window/pane awareness — properly detects when switching tmux sessions

Supported Platforms

  • Hyprland
  • Sway
  • KDE Wayland
  • X11
  • macOS
  • Windows

Known Limitations

Ghostty native tabs (without tmux) cannot be distinguished — Ghostty does not yet expose a tab query IPC API (ghostty-org/ghostty#2353). If you use Ghostty tabs, use tmux instead for full functionality.

Installation

opencode plugins add @mohak34/opencode-notifier@latest

Don't miss a new opencode-notifier release

NewReleases is sending notifications on new releases.