Releases: mohak34/opencode-notifier
Releases · mohak34/opencode-notifier
v0.2.8
v0.2.7
Added
- macOS: New
suppressGhosttySoundoption to skip duplicate audio with Ghostty notifications (#78)- Set to
trueto prevent the plugin's sound from playing alongside macOS Notification Center's default sound - Only affects default (bundled) sounds — custom sounds still play
- Disabled by default for backward compatibility
- Set to
v0.2.6
Fixed
- Windows: Hide PowerShell console window during focus checks (#77)
- Added
-WindowStyle Hiddentopowershell/pwshspawns ingetWindowsActiveWindowId() - Prevents visible terminal flashes on every notification event
- Added
- SSH: Skip notification if D-Bus session bus is unavailable (#73)
- Added
DBUS_SESSION_BUS_ADDRESScheck before callingnotify-send - Prevents 60-second hang when running over SSH without a desktop session
- Added
v0.2.5
v0.2.4
Fixed
- Tmux Multi-client Focus: Fixed an issue where
suppressWhenFocusedfailed to suppress notifications intmuxif multiple clients were attached to the same session. (#71) - Minimum Duration Lookup: Fixed a bug where top-level
minDurationfailed to suppress notifications because elapsed time was only calculated when custom command durations were set. (#68)
Documentation
- Updated cache paths and troubleshooting steps in the README.
- Added missing configuration option docs and fixed broken markdown links.
v0.2.3
Added
- KDE Plasma notification jump-back action (#67)
- Click "Jump to terminal" button on KDE notifications to focus the terminal
- Uses kdotool or KWin scripts for focus routing
- Captures startup window ID for deterministic jump-back
- WSL support (#65)
- Detects WSL and routes notifications through Windows SnoreToast
- Adds customIconPath config for Windows-native icon paths
- Minimum duration threshold for DONE notifications (#68)
- New top-level minDuration config option (default: 0)
- Suppresses complete and subagent_complete events when session finishes faster than threshold
- Independent of command.minDuration
Fixed
- tmux focus fallback when window detection fails (#69)
- Uses tmux pane state as best-effort fallback on Linux setups where window focus is unavailable
- Fixes suppressWhenFocused for GNOME Wayland + tmux users
v0.2.2
Added
- New terminal bell channel (
bell) with global and per-event controls (#56)
Fixed
- Added support for
plan_exitnotifications as a dedicated event (#59) - macOS WezTerm focus detection now matches
wezterm-guifrontmost app name reliably (#64)
Changed
- Updated README for bell behavior and quick validation command
- Added regression tests for bell config/dispatch and WezTerm macOS focus mapping
v0.2.1
v0.2.0
Added
- WezTerm pane-aware focus suppression (#54) - @Shrub24
{agentName}placeholder for notifications and command args (#51)- Linux Niri focus detection support (#53) - @Shrub24
Fixed
- tmux focus suppression hardening and safer pane probe execution
- macOS focus suppression when running inside tmux (
TERM_PROGRAM=tmux/screen) (#50) - Ghostty notifications inside tmux via passthrough-wrapped OSC 9
- Permission alert dedupe when
permission.askedandpermission.askboth fire
Changed
- Focus detection docs aligned with tmux/WezTerm behavior
- Added tests for WezTerm parsing and focus hardening paths
v0.1.36
Fixed
- Remove legacy permission.updated handler to prevent duplicate sounds on Windows (#52)
- The handler fired on every permission state change (asked + resolved), causing double sounds when the user took >1s to respond
- permission.asked event and permission.ask hook already cover all modern OpenCode versions