Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions docs/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,37 +54,6 @@ cmux notify --title "Done" --tab 0 --panel 1

## Integration Examples

### Claude Code Hooks

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\"'"
}
]
}
]
}
}
```

### OpenAI Codex
Comment on lines 55 to 57

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Missing automatic-integration note for Claude Code

The document intro (line 2) still advertises "AI agents like Claude Code" and the ## Integration Examples section now jumps straight to OpenAI Codex with no mention of Claude Code at all. A user arriving here specifically to configure Claude Code notifications will find no guidance and may incorrectly assume manual setup is still needed.

A short note at the top of the section (or a dedicated stub entry) would make the automatic-since-0.60.0 behaviour discoverable:

Suggested change
## Integration Examples
### Claude Code Hooks
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\"'"
}
]
}
]
}
}
```
### OpenAI Codex
## Integration Examples
### Claude Code
Claude Code integration is automatic since v0.60.0 — no manual configuration required. cmux wraps the `claude` command and injects notification hooks for idle and permission prompts automatically.
### OpenAI Codex


Add to `~/.codex/config.toml`:
Expand Down