docs: remove outdated Claude Code hooks section from notifications (#2053)
The Claude Code hooks section referenced pre-0.60 configuration using matchers (idle_prompt, permission_prompt) that are no longer valid in current Claude Code versions. Replace with a link to the official Claude Code documentation. Fixes #2009 Co-authored-by: BillionClaw <267901332+BillionClaw@users.noreply.github.com>
This commit is contained in:
parent
a0ae085531
commit
6d9c93732c
1 changed files with 2 additions and 29 deletions
|
|
@ -54,36 +54,9 @@ cmux notify --title "Done" --tab 0 --panel 1
|
|||
|
||||
## Integration Examples
|
||||
|
||||
### Claude Code Hooks
|
||||
### Claude Code
|
||||
|
||||
Add to `~/.claude/settings.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"hooks": {
|
||||
"Notification": [
|
||||
{
|
||||
"matcher": "idle_prompt",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "command -v cmux &>/dev/null && cmux notify --title 'Claude Code' --body 'Waiting for input' || osascript -e 'display notification \"Waiting for input\" with title \"Claude Code\"'"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "permission_prompt",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "command -v cmux &>/dev/null && cmux notify --title 'Claude Code' --subtitle 'Permission' --body 'Approval needed' || osascript -e 'display notification \"Approval needed\" with title \"Claude Code\"'"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
See the [Claude Code documentation](https://docs.anthropic.com/en/docs/claude-code) for hook configuration.
|
||||
|
||||
### OpenAI Codex
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue