Skip to content

Releases: mohak34/opencode-notifier

v0.2.8

05 Jun 09:44

Choose a tag to compare

Fixed

  • Windows: PowerShell -WindowStyle Hidden no longer minimizes the parent terminal (#80)
    • Replaced -WindowStyle Hidden with Node.js windowsHide: true flag
    • Prevents both the console flash and terminal minimization

v0.2.7

01 Jun 07:00

Choose a tag to compare

Added

  • macOS: New suppressGhosttySound option to skip duplicate audio with Ghostty notifications (#78)
    • Set to true to 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

v0.2.6

01 Jun 06:50

Choose a tag to compare

Fixed

  • Windows: Hide PowerShell console window during focus checks (#77)
    • Added -WindowStyle Hidden to powershell/pwsh spawns in getWindowsActiveWindowId()
    • Prevents visible terminal flashes on every notification event
  • SSH: Skip notification if D-Bus session bus is unavailable (#73)
    • Added DBUS_SESSION_BUS_ADDRESS check before calling notify-send
    • Prevents 60-second hang when running over SSH without a desktop session

v0.2.5

09 May 09:24

Choose a tag to compare

Added

  • New showFullPath config option (#72)
    • Set to true to show the full absolute path in notification titles and the {projectName} token
    • Defaults to false, preserving the existing folder-name behavior
    • Useful when working across multiple projects with the same folder name

v0.2.4

28 Apr 09:28

Choose a tag to compare

Fixed

  • Tmux Multi-client Focus: Fixed an issue where suppressWhenFocused failed to suppress notifications in tmux if multiple clients were attached to the same session. (#71)
  • Minimum Duration Lookup: Fixed a bug where top-level minDuration failed 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

21 Apr 05:50

Choose a tag to compare

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

12 Apr 07:09

Choose a tag to compare

Added

  • New terminal bell channel (bell) with global and per-event controls (#56)

Fixed

  • Added support for plan_exit notifications as a dedicated event (#59)
  • macOS WezTerm focus detection now matches wezterm-gui frontmost 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

31 Mar 20:33

Choose a tag to compare

Fixed

  • Guard {agentName} extraction against non-string session titles (#57)
  • Prevents runtime TypeError when upstream session title data is not a string
  • Added regression coverage for non-string title inputs

v0.2.0

30 Mar 11:07

Choose a tag to compare

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.asked and permission.ask both fire

Changed

  • Focus detection docs aligned with tmux/WezTerm behavior
  • Added tests for WezTerm parsing and focus hardening paths

v0.1.36

24 Mar 09:37

Choose a tag to compare

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