Skip to content

fix(macos): add -sender flag to terminal-notifier for banner notifications#48

Open
j-hannes wants to merge 1 commit into
hta218:mainfrom
j-hannes:fix/macos-terminal-notifier-sender
Open

fix(macos): add -sender flag to terminal-notifier for banner notifications#48
j-hannes wants to merge 1 commit into
hta218:mainfrom
j-hannes:fix/macos-terminal-notifier-sender

Conversation

@j-hannes

@j-hannes j-hannes commented Feb 3, 2026

Copy link
Copy Markdown

Summary

On some macOS setups, terminal-notifier's own bundle ID isn't properly registered for notifications, causing notifications to appear only in Notification Center without showing as banners.

Adding -sender com.apple.Terminal borrows Terminal.app's notification permissions, which resolves the issue.

Changes

  • Added -sender com.apple.Terminal flag to the terminal-notifier command in claude/claude-code-notifier.sh
  • Added a comment explaining why the flag is needed

Notes

The Copilot script (copilot/copilot-cli-notifier.sh) already includes this flag (line 135), so this change aligns the two scripts.

Testing

Tested on macOS Sequoia (Darwin 25.2.0) where notifications were not displaying as banners before the fix.

@j-hannes j-hannes force-pushed the fix/macos-terminal-notifier-sender branch from 0bdbae2 to 2b982d6 Compare February 3, 2026 18:22
…tions

On some macOS setups, terminal-notifier's own bundle ID isn't properly
registered for notifications, causing notifications to appear only in
Notification Center without showing banners.

Adding `-sender com.apple.Terminal` borrows Terminal.app's notification
permissions, which resolves the issue.

This aligns the Claude script with the Copilot script, which already
includes this flag.
@j-hannes j-hannes force-pushed the fix/macos-terminal-notifier-sender branch from 2b982d6 to 5ecc1c9 Compare February 3, 2026 18:43
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.

1 participant