Releases: mohak34/opencode-notifier
Releases · mohak34/opencode-notifier
v0.1.28
v0.1.27 - Linux Notification Grouping
Added
- Linux notification grouping support (#33)
- New
linux.groupingconfig option to replace notifications in-place instead of stacking - Auto-detects
notify-send0.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
v0.1.22 - Prevent Overlapping Notifications
What's New
Added
- New
interruptedevent 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
- @minpeter - Overlapping notifications fix
- @cristianmiranda - Session title support
v0.1.21 - Session Titles in Notifications
What's New
Added
- Session title in notification messages (#28) - @cristianmiranda
- New
showSessionTitleconfig 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: truein config - Works alongside existing volume control feature
v0.1.20 - Per-Event Volume Control
What's New
Added
- Per-event sound volume configuration (#30) - thanks @minpeter
- New
volumesconfig 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
Added
- macOS notification system selector (#23)
notificationSystemconfig 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
Added
- Icon support for notifications on Windows and Linux
- OpenCode logo displays in system notifications
- New
showIconconfig option (default: true)
Notes
- macOS uses osascript which doesn't support custom icons (shows Script Editor icon)
- To disable icons: set
showIcon: falsein config
v0.1.15
v0.1.14
Added
- Custom command execution for events with
{event}and{message}token substitution command.minDurationoption to skip command if response time is below threshold- New
subagent_completeevent for subagent session completions (disabled by default)
Changed
completeevent now only fires for main (primary) sessions- Elapsed time for
minDurationnow measures time since last user prompt
Fixed
- Config parsing for
subagent_completenow supports top-level format