Claude CodeからMacの通知センターに通知を送る
cliからmacの通知センターに通知を送ることができる
$ brew install terminal-notifier
code:bash
## Notification
ユーザーが気づかずに作業がストップするのを避けるために、 terminal-notifier を使って、Claude Code がパーミッションを要求する前や、長く実行されるタスクが完了したときにデスクトップ通知を送る。
`bash
terminal-notifier -title "Claude Code" -message "任意のメッセージ" -activate com.microsoft.VSCode -sound Sonar
`
https://gyazo.com/e8541b590f7c58c5e235633ca1070846
運用すると一番必要なときに投げてくれなかったりする
$ terminal-notifier -title "Claude Code" -message "確認してください" -activate com.microsoft.VSCode -sound Sonar