Skip to content

Releases: mohak34/opencode-notifier

v0.1.28

23 Feb 16:34

Choose a tag to compare

Fixed

  • Fix Linux notification grouping not showing notifications on GNOME (#33)
  • Removed --app-name flag from direct notify-send calls that caused GNOME to suppress notifications

v0.1.27 - Linux Notification Grouping

23 Feb 11:27

Choose a tag to compare

Added

  • Linux notification grouping support (#33)
  • New linux.grouping config option to replace notifications in-place instead of stacking
  • Auto-detects notify-send 0.8+ capabilities, falls back to default behavior on older systems
  • Works with GNOME, dunst, mako, swaync on both X11 and Wayland

Usage

Add to ~/.config/opencode/opencode-notifier.json:

{
  "linux": {
    "grouping": true
  }
}

v0.1.26

19 Feb 15:11

Choose a tag to compare

Fixed

  • Suppress completion sounds immediately after error events (#31)

v0.1.22 - Prevent Overlapping Notifications

18 Feb 18:37

Choose a tag to compare

What's New

Added

  • New interrupted event for when sessions are cancelled (e.g., Esc pressed) (#29) - @minpeter
  • Shows "Session was interrupted" instead of duplicate error+completion notifications
  • Only one sound plays when interruption is detected
  • Auto-cleanup of error tracking to prevent memory leaks
  • Fix placeholder interpolation so {sessionTitle} is removed when disabled

Changed

  • Restored PR #29's 350ms delay and 4-map tracking for reliable race handling
  • Added cleanup for session maps to avoid leaks

Contributors

v0.1.21 - Session Titles in Notifications

18 Feb 17:34

Choose a tag to compare

What's New

Added

  • Session title in notification messages (#28) - @cristianmiranda
  • New showSessionTitle config option (default: false)
  • New {sessionTitle} placeholder for notification messages
  • New {projectName} token support in custom command args
  • Session title pre-loading for better performance

Notes

  • Session titles are disabled by default to avoid large notification text
  • Enable by setting showSessionTitle: true in config
  • Works alongside existing volume control feature

v0.1.20 - Per-Event Volume Control

18 Feb 17:22

Choose a tag to compare

What's New

Added

  • Per-event sound volume configuration (#30) - thanks @minpeter
  • New volumes config option to set individual volume levels (0-1) for each event type
  • Supported on macOS and Linux (Windows plays at full volume)
  • Volume values are automatically clamped to valid range (0-1)
  • Default volume is 100% (1.0) for all events when not specified

Usage

{
  "volumes": {
    "permission": 0.3,
    "complete": 0.5,
    "error": 1.0,
    "question": 0.7
  }
}

v0.1.19 - macOS Notification System Selector

12 Feb 10:29

Choose a tag to compare

Added

  • macOS notification system selector (#23)
  • notificationSystem config option: "osascript" (default, reliable) or "node-notifier" (icons)
  • Choose between reliable notifications (osascript) or custom icons (node-notifier) on macOS

Usage

Default (reliable, no custom icons):

{
  "notificationSystem": "osascript"
}

With custom icons:

{
  "notificationSystem": "node-notifier"
}

Note: node-notifier may have reliability issues on some macOS systems.

v0.1.18 - Icon Support

12 Feb 10:29

Choose a tag to compare

Added

  • Icon support for notifications on Windows and Linux
  • OpenCode logo displays in system notifications
  • New showIcon config option (default: true)

Notes

  • macOS uses osascript which doesn't support custom icons (shows Script Editor icon)
  • To disable icons: set showIcon: false in config

v0.1.15

20 Jan 08:04

Choose a tag to compare

Fixed

  • README now shows correct default message for subagent_complete

v0.1.14

20 Jan 08:04

Choose a tag to compare

Added

  • Custom command execution for events with {event} and {message} token substitution
  • command.minDuration option to skip command if response time is below threshold
  • New subagent_complete event for subagent session completions (disabled by default)

Changed

  • complete event now only fires for main (primary) sessions
  • Elapsed time for minDuration now measures time since last user prompt

Fixed

  • Config parsing for subagent_complete now supports top-level format