github 777genius/claude-notifications-go v1.26.0

latest releases: v1.40.1, v1.40.0, v1.39.4...
5 months ago

New Features

Suppress notifications for subagents

New suppressForSubagents config option (default: true) detects subagent sessions by /subagents/ in transcript_path and suppresses notifications from both Stop and SubagentStop hooks. Covers in-process subagents, teammates, and Task tool completions.

Set "suppressForSubagents": false to receive notifications from subagents.

Bug Fixes

Cooldown 0 was impossible to set (#37)

ApplyDefaults() could not distinguish "not configured" from explicit 0, silently overwriting it with 12. Changed cooldown fields from int to *int so null = default, 0 = disabled.

permission_prompt notifications never fired

suppressQuestionAfterAnyNotificationSeconds default of 12 was too aggressive — it suppressed mid-task question notifications because there was almost always a prior notification within 12 seconds. Changed default to 0 (disabled). suppressQuestionAfterTaskCompleteSeconds (12s) remains sufficient for duplicate protection.

Validate both cooldown fields

Validate() now checks suppressQuestionAfterAnyNotificationSeconds for negative values (previously only checked suppressQuestionAfterTaskCompleteSeconds).


📦 Installation · 🔄 Updating

Full Changelog: v1.25.2...v1.26.0

Don't miss a new claude-notifications-go release

NewReleases is sending notifications on new releases.