Claude Code ring bell on any kind of stop without explicitly enabling alarms
- 主要言語
- TypeScript
- スター
- 5
- フォーク
- 0
- 平均マージ
- 18時間 32分
- マージ済み PR(30日)
- 216
説明
Right now there are two paths to get a notification when Claude Code has stopped for some reason:
- explicitly turn on the alarm which is looking for visual changes
- follow the workaround in https://github.com/anthropics/claude-code/issues/36850 to send terminal bells on stop
```json
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "printf '\\a' > /dev/tty 2>/dev/null || true"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "printf '\\a' > /dev/tty 2>/dev/null || true"
}
]
}
]
}
```
Ideally we should work out of the box, and the user shouldn't have to turn anything on at all...
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
この issue ではファイルもテストも指定されていません。まず TypeScript コード内の既存のアラームおよび通知処理を見つけ、次に issue #36850 の Notification と Stop hook の workaround と比較してください。ユーザーがアラームを明示的に有効化しなくても、すべての Claude Code stop でターミナルのベルが鳴ることが完了条件です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell, typescript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100