settings.json

preferredNotifChannel

タスク完了や許可プロンプト待機時の通知方法を、"auto"や"terminal_bell"などから選択します。

使い方・用途

  • デフォルト値: "auto"
  • 選択肢: ["auto", "terminal_bell", "iterm2", "iterm2_with_bell", "kitty", "ghostty", "notifications_disabled"]
  • "auto"はiTerm2、Ghostty、Kittyでデスクトップ通知を送信します。それ以外の環境で音による通知が欲しい場合は"terminal_bell"を選択します。
英語原文(公式ドキュメントより)

Method for task-complete and permission-prompt notifications. "auto" (default) sends a desktop notification in iTerm2, Ghostty, and Kitty and does nothing in other terminals; "terminal_bell" rings the bell in any terminal; "notifications_disabled" turns them off. See https://code.claude.com/docs/en/terminal-config#get-a-terminal-bell-or-notification