Skip to content

Fix Bash launching notifications for every command#45

Merged
kosinal merged 1 commit intomasterfrom
feature/42-fix-bash-notifications
Mar 5, 2026
Merged

Fix Bash launching notifications for every command#45
kosinal merged 1 commit intomasterfrom
feature/42-fix-bash-notifications

Conversation

@kosinal
Copy link
Copy Markdown
Owner

@kosinal kosinal commented Mar 5, 2026

Summary

  • Only fire browser notifications for interactive tools (AskUserQuestion, Write, Edit, NotebookEdit, ExitPlanMode), not for routine Bash PermissionRequest events
  • Dashboard card still correctly shows "Waiting for input" status for Bash permission prompts — only the browser notification is suppressed
  • Adds NOTIFY_TOOLS whitelist in the frontend that mirrors the INTERACTIVE_TOOLS set from state.ts

Closes #42

Test plan

  • All 104 tests pass
  • Lint passes
  • Verify Bash commands no longer trigger browser notifications
  • Verify AskUserQuestion/Write/Edit still trigger browser notifications
  • Verify Bash permission requests still show "Waiting for input" on the dashboard card

🤖 Generated with Claude Code

Only fire browser notifications for interactive tools (AskUserQuestion,
Write, Edit, NotebookEdit, ExitPlanMode), not for Bash PermissionRequest
events. The dashboard card still shows "Waiting for input" status for
Bash permission prompts, but no browser notification is triggered.
@kosinal kosinal merged commit 5c6ba9f into master Mar 5, 2026
6 checks passed
@kosinal kosinal deleted the feature/42-fix-bash-notifications branch March 5, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bash launching notifications when it should not

1 participant