You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**npm is now a first-class install path**: `npm install -g code-notify` now provides `code-notify`, `cn`, and `cnp` on macOS, Linux, and Windows
27
-
-**Repeated idle/input alerts are deduped**: repeated `idle_prompt`-style notification events are suppressed so sound playback does not keep firing while Claude stays idle
28
-
-**`cn update` understands npm installs**: npm users now get the correct `npm install -g code-notify@latest` update path, including on Windows
26
+
-**Legacy Claude hooks are repaired during supported upgrades**: stale `claude-notify`-style Claude configs are migrated to the current `code-notify` hook format when users update through the supported install paths
27
+
-**Claude idle dedupe now survives upgrades from older installs**: users who were still on the old blank-matcher Claude hooks no longer bypass the repeated `idle_prompt` suppression after updating
28
+
-**Codex notify integration now reads Codex payload JSON directly**: completion notifications use Codex's `notify` payload format, and the docs/status output now clearly call out Codex's current completion-focused behavior
29
29
30
30
---
31
31
@@ -60,6 +60,8 @@ cn update
60
60
code-notify version
61
61
```
62
62
63
+
If you were using the older `claude-notify` hook layout, supported upgrades now repair those Claude hooks automatically.
64
+
63
65
**Linux / WSL**
64
66
65
67
```bash
@@ -129,6 +131,9 @@ Code-Notify uses the hook systems built into AI coding tools:
129
131
-**Codex**: `~/.codex/config.toml`
130
132
-**Gemini CLI**: `~/.gemini/settings.json`
131
133
134
+
For Codex, Code-Notify configures `notify = ["/absolute/path/to/notifier.sh", "codex"]` and reads the JSON payload Codex appends on completion.
135
+
Codex currently exposes completion events through `notify`; approval and `request_permissions` prompts do not currently arrive through this hook.
136
+
132
137
When enabled, it adds hooks that call the notification script when tasks complete:
133
138
134
139
```json
@@ -172,6 +177,8 @@ cn alerts reset # Back to default (idle_prompt only)
172
177
|`auth_success`| Authentication success |
173
178
|`elicitation_dialog`| MCP tool input needed |
174
179
180
+
Alert-type matching currently applies to Claude Code and Gemini CLI notification hooks. Codex currently uses completion events from `notify`, so `permission_prompt` and `idle_prompt` settings do not change Codex behavior.
Copy file name to clipboardExpand all lines: docs/installation.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,16 @@
4
4
5
5
## Quick Overview
6
6
7
-
Code-Notify adds desktop notifications to Claude Code. You'll get alerts when:
7
+
Code-Notify adds desktop notifications to Claude Code, Codex, and Gemini CLI. You'll get alerts when:
8
8
9
9
- Tasks complete
10
-
- Claude needs your input
10
+
- Claude or Gemini needs your input
11
11
- Voice announcements (macOS)
12
12
13
+
Codex currently exposes completion notifications through its `notify` hook. Approval and `request_permissions` prompts do not currently trigger Code-Notify through Codex.
14
+
15
+
Supported upgrade paths also repair stale `claude-notify`-style Claude hooks automatically when they are detected.
0 commit comments