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
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ cn usage status
51
51
52
52
## Features
53
53
54
-
-**Multi-tool support** - Claude Code, OpenAI Codex, Google Gemini CLI
54
+
-**Multi-tool support** - Claude Code, OpenAI Codex, Google Gemini CLI, Oh My Pi (omp)
55
55
-**Works everywhere** - Terminal, VSCode, Cursor, or any editor
56
56
-**Cross-platform** - macOS, Linux, Windows
57
57
-**Native notifications** - Uses system notification APIs
@@ -145,6 +145,7 @@ npm packages are published with GitHub Actions Trusted Publisher and npm provena
145
145
|`cn on claude`| Enable for Claude Code only |
146
146
|`cn on codex`| Enable for Codex only |
147
147
|`cn on gemini`| Enable for Gemini CLI only |
148
+
|`cn on omp`| Enable for Oh My Pi (omp) only |
148
149
|`cn off`| Disable notifications |
149
150
|`cn off all`| Explicit alias for disabling all tools |
150
151
|`cn test`| Send test notification |
@@ -173,10 +174,13 @@ Code-Notify uses the hook systems built into AI coding tools:
173
174
-**Claude Code**: `~/.claude/settings.json`
174
175
-**Codex**: `~/.codex/config.toml`
175
176
-**Gemini CLI**: `~/.gemini/settings.json`
177
+
-**Oh My Pi (omp)**: `~/.omp/agent/extensions/code-notify.js`
176
178
177
179
For Codex, Code-Notify configures `notify = ["/absolute/path/to/notifier.sh", "codex"]` and reads the JSON payload Codex appends on completion.
178
180
Codex currently exposes completion events through `notify`; approval and `request_permissions` prompts do not currently arrive through this hook.
179
181
182
+
For omp, Code-Notify writes a small managed extension module to `~/.omp/agent/extensions/code-notify.js`, because omp loads extension modules instead of reading hook commands from a config file. The extension forwards omp's `agent_end` event to the same `notifier.sh`, so sound, voice, Slack/Discord channels, click-through, the global mute switch, and rate limiting all work unchanged. Like Codex, omp currently exposes completion events; approval and idle prompts are not yet wired.
183
+
180
184
When enabled, it adds hooks that call the notification script when tasks complete:
0 commit comments