Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Prepare Coucou 0.2.1 (#292)

Louis721d34f55f76
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 35e67936..6992a6cd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## 0.2.1 — October 7, 2026
+
+- **Hermes Agent** (Nous Research, open-source): sessions appear in the notch — live tool steps, the final response when done, and the platform (Telegram, Discord…) when running via the gateway. Install from Settings → Agents → Hermes: it writes a small Python plugin to `~/.hermes/plugins/coucou/` and enables it in `~/.hermes/config.yaml`, with the same preview, backup and confirmation flow as other agents *(macOS, GitHub build)* (#288)
+- Hermes approval requests show a "⏳ Approval pending in Hermes" step in the notch. Approving directly from the notch isn't supported yet — current Hermes versions (0.15.x) don't expose the transport API. The Approvals toggle in Settings will activate automatically once Hermes adds it (#288)
+- Coucou never blocks Hermes: if the app is closed or unreachable, Hermes continues normally and handles approvals itself (#288)
+
## 0.2.0 — October 6, 2026
- GitHub Copilot CLI and Muse Code sessions show up in the notch: see every step live and approve or deny permissions right from the island. Install from Settings → Agents → Copilot CLI / Muse Code, which shows what will change in your config and backs it up before writing *(GitHub build)* (#263)
diff --git a/NotchBuddy/Resources/Info.plist b/NotchBuddy/Resources/Info.plist
index 49cf71fa..71702289 100644
--- a/NotchBuddy/Resources/Info.plist
+++ b/NotchBuddy/Resources/Info.plist
@@ -30,9 +30,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.2.0</string>
+ <string>0.2.1</string>
<key>CFBundleVersion</key>
- <string>11</string>
+ <string>12</string>
<key>LSUIElement</key>
<true/>
<key>NSAccessibilityUsageDescription</key>
diff --git a/NotchBuddy/project.yml b/NotchBuddy/project.yml
index de4a079c..ffcc42a4 100644
--- a/NotchBuddy/project.yml
+++ b/NotchBuddy/project.yml
@@ -127,8 +127,8 @@ targets:
CFBundleName: Coucou
CFBundleDisplayName: Coucou
CFBundleIdentifier: fr.louisraille.NotchBuddy
- CFBundleVersion: "11"
- CFBundleShortVersionString: "0.2.0"
+ CFBundleVersion: "12"
+ CFBundleShortVersionString: "0.2.1"
CFBundlePackageType: APPL
LSUIElement: YES
NSHighResolutionCapable: YES
diff --git a/README.md b/README.md
index 48edeba8..8d6892ab 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ Meet **Mochi**: a soft little squircle with big eyes that pops out of your notch
## Features
-- 🤖 **Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Copilot CLI, Muse Code, OpenCode, Amp and other agents, live** — see every session in your notch: what it reads, edits and runs, step by step. Tag a hook payload with `coucou_agent` to give any agent its own pill (see [`docs/AGENTS.md`](docs/AGENTS.md)). Finished? Mochi does a happy little jump.
+- 🤖 **Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Copilot CLI, Muse Code, OpenCode, Amp, Hermes and other agents, live** — see every session in your notch: what it reads, edits and runs, step by step. Tag a hook payload with `coucou_agent` to give any agent its own pill (see [`docs/AGENTS.md`](docs/AGENTS.md)). Finished? Mochi does a happy little jump.
- See what Claude is editing, live in the notch: each file modification shows the file name and +N −M counts in the ticker, tap to read the full diff
- ✅ **Approve and answer from the notch** — Claude Code permission requests show up with **Allow / Deny / Always**; `AskUserQuestion` prompts show the choices right in the notch (single or multi-select, up to 4 questions). One click, or "Reply in terminal" to fall back to the CLI. Codex also gets Allow / Deny.
- 🧑‍💻 **Jump to the right terminal** — open the exact terminal window of a session *(macOS)*.
@@ -100,6 +100,7 @@ macOS releases are published as `v*` tags. See [CHANGELOG.md](CHANGELOG.md) for
| Version | Date | Highlights |
|---------|------|------------|
+| [0.2.1](https://github.com/Louis-CFM/coucou/releases/tag/v0.2.1) | Oct 7, 2026 | Hermes Agent support |
| [0.2.0](https://github.com/Louis-CFM/coucou/releases/tag/v0.2.0) | Oct 6, 2026 | Copilot CLI, Muse Code, OpenCode and Amp, weekly recap, 10 languages |
| [0.1.9](https://github.com/Louis-CFM/coucou/releases/tag/v0.1.9) | Oct 6, 2026 | iPhone services with live details and actions, smarter Live Activity |
| [0.1.8](https://github.com/Louis-CFM/coucou/releases/tag/v0.1.8) | Oct 5, 2026 | Coucou on iPhone: sessions, widgets, approvals with Face ID, Mochi in the Dynamic Island |
@@ -238,9 +239,10 @@ If Coucou isn't running, the hook exits immediately: **Claude Code is never bloc
| Muse Code | `--agent muse` flag | No |
| OpenCode | Plugin — **Settings → OpenCode Plugin → Install** | Mac only |
| Amp | Plugin — **Settings → Amp Plugin → Install** | Mac only |
+| Hermes | Plugin — **Settings → Agents → Hermes → Install** | Mac only |
| Any other | `--agent <name>` flag; see [`docs/AGENTS.md`](docs/AGENTS.md) | No |
-OpenCode and Amp use a TypeScript/JavaScript plugin model rather than a hook command. Coucou installs the plugin file into `~/.config/opencode/plugins/` and `~/.config/amp/plugins/` respectively — these are macOS paths; the Windows/Linux build does not support them.
+OpenCode, Amp and Hermes use a plugin model rather than a hook command. Coucou installs the plugin file into `~/.config/opencode/plugins/`, `~/.config/amp/plugins/` and `~/.hermes/plugins/coucou/` respectively — these are macOS paths; the Windows/Linux build does not support them.
## Things to try
diff --git a/docs/AGENTS.md b/docs/AGENTS.md
index 7144d4ea..f5e5a241 100644
--- a/docs/AGENTS.md
+++ b/docs/AGENTS.md
@@ -100,8 +100,8 @@ A **declared pill** is a catalog entry (`PillCatalog.swift`) that has been enabl
A catalog pill that is not checked in Settings behaves like any other agent: it gets an automatic pill when a session starts, and that pill is removed when the session ends.
The GitHub build exposes Gemini CLI (`agent_gemini`), Antigravity (`agent_antigravity`),
-GitHub Copilot CLI (`agent_copilot`), Muse Code (`agent_muse`), OpenCode (`agent_opencode`)
-and Amp (`agent_amp`) in Settings → Active pills. Cursor (`agent_cursor`) and Codex
+GitHub Copilot CLI (`agent_copilot`), Muse Code (`agent_muse`), OpenCode (`agent_opencode`),
+Amp (`agent_amp`) and Hermes (`agent_hermes`) in Settings → Active pills. Cursor (`agent_cursor`) and Codex
(`agent_codex`, GitHub build only) are there too — their pills can be declared and set as
the main pill; session support is coming in a future version.
@@ -204,6 +204,23 @@ The `tool.call` handler returns `{ action: 'allow' }` so Amp always proceeds; al
| `tool.result` | `PostToolUse` |
| `agent.end` | `Stop` |
+### Hermes Agent (macOS)
+
+Coucou supports Hermes via **Settings → Agents → Hermes → Install plugin**.
+The installer writes a Python plugin to `~/.hermes/plugins/coucou/` and enables it in
+`~/.hermes/config.yaml`. The plugin uses `on_session_start` (sends the platform when running
+via the gateway), `post_llm_call` (sends the final response), and a `pre_approval_request`
+observer hook that fires a `⏳ Approval pending in Hermes` step in the notch.
+Approving from the notch requires `register_approval_transport`, which is not yet available
+in Hermes 0.15.x; the Approvals toggle activates automatically once Hermes exposes it.
+Every event is fire-and-forget: if the app is closed or unreachable, nothing is sent and Hermes carries on, handling approvals itself.
+
+| Hermes event | Canonical event |
+|---|---|
+| `on_session_start` | `SessionStart` |
+| `post_llm_call` | `Stop` |
+| `pre_approval_request` | `PreToolUse` (observer only, shows "⏳ Approval pending in Hermes") |
+
### Any other tool
Follow the generic pattern: call `nb-hook --agent <your-name> <EventName>` (macOS),
diff --git a/docs/SPEC.md b/docs/SPEC.md
index 7ecc2dca..2d11bcd1 100644
--- a/docs/SPEC.md
+++ b/docs/SPEC.md
@@ -101,11 +101,11 @@ Toutes les pastilles déclarées sont définies dans `PillCatalog.all` (source d
| Catégorie | Titre | Pastilles | Subtitle (repos) | Subtitle (session) |
|---|---|---|---|---|
| `workspace` | Where you code | VS Code, Cursor, Antigravity *(GitHub only)*, Codex *(GitHub only)* | Integration | Claude Code / Cursor / Codex / Agent |
-| `agent` | Agents | Gemini CLI *(GitHub only)*, Copilot CLI *(GitHub only)*, Muse Code *(GitHub only)*, OpenCode *(GitHub only)*, Amp *(GitHub only)* | Agent | Agent |
+| `agent` | Agents | Gemini CLI *(GitHub only)*, Copilot CLI *(GitHub only)*, Muse Code *(GitHub only)*, OpenCode *(GitHub only)*, Amp *(GitHub only)*, Hermes *(GitHub only)* | Agent | Agent |
| `ai` | AI for the chat | Anthropic, Google AI, OpenAI, Ollama, LM Studio | Chat | — |
| `service` | Services | Resend, n8n, Vercel, GitHub, Notion, Cal.com, Stripe, Apple Music *(GitHub only)* | Integration | — |
-Couleurs : Cursor `#C0C4CC`, Codex `#2DD4BF`, Gemini CLI `#8AB4F8`, Antigravity `#E879F9`, Copilot CLI `#818CF8`, Muse Code `#38BDF8`, OpenCode `#4ADE80`, Amp `#F59E0B`, pastilles IA = `ChatProvider.accentHex` (Ollama `#FACC15`, LM Studio `#A3E635`).
+Couleurs : Cursor `#C0C4CC`, Codex `#2DD4BF`, Gemini CLI `#8AB4F8`, Antigravity `#E879F9`, Copilot CLI `#818CF8`, Muse Code `#38BDF8`, OpenCode `#4ADE80`, Amp `#F59E0B`, Hermes `#C084FC`, pastilles IA = `ChatProvider.accentHex` (Ollama `#FACC15`, LM Studio `#A3E635`).
Règles :
- **`mainPillId`** (défaut `integration_claude`) est la pastille workspace toujours chargée. Elle ne compte pas dans les 4 places. Modifiable via le sélecteur Main dans Settings.
@@ -114,7 +114,7 @@ Règles :
- `removeTask` sur `mainPillId` ou une pastille déclarée + active → reset à `.idle` + `pillBadge = nil` + nom du catalogue (pas de suppression). Sinon → suppression normale.
- `sortTasksByCatalog` : pastilles du catalogue dans l'ordre du catalogue ; pastilles hors catalogue juste après `integration_claude`.
- Pastilles `githubOnly` : exclues des builds App Store (`#if APPSTORE`).
-- Hooks (Gemini CLI, Antigravity, Codex, Copilot CLI, Muse Code) et plugins (OpenCode, Amp) : `isConfigured` = méthodes correspondantes de `HookServer` sous `#if !APPSTORE`. La section Codex Hooks dans Settings installe les hooks dans `~/.codex/hooks.json` avec le même flux backup + preview que Gemini CLI. Après l'installation, la carte affiche : « run /hooks in Codex or open Hooks in the app's settings to trust them ». Approbations Codex, Copilot CLI, Muse Code : carte avec Allow et Deny seulement (pas Always) ; updatedPermissions jamais envoyé pour Codex/Copilot/Muse ; notes « Handled in Codex. » / « Handled in Copilot CLI. » / « Handled in Muse Code. ». OpenCode : plugin JS dans `~/.config/opencode/plugins/coucou.js`, événements mappés via EVENT_MAP, lecture depuis `event.properties`. Amp : plugin TypeScript dans `~/.config/amp/plugins/coucou.ts`, `tool.call` retourne toujours `{ action: 'allow' }`.
+- Hooks (Gemini CLI, Antigravity, Codex, Copilot CLI, Muse Code) et plugins (OpenCode, Amp, Hermes) : `isConfigured` = méthodes correspondantes de `HookServer` sous `#if !APPSTORE`. La section Codex Hooks dans Settings installe les hooks dans `~/.codex/hooks.json` avec le même flux backup + preview que Gemini CLI. Après l'installation, la carte affiche : « run /hooks in Codex or open Hooks in the app's settings to trust them ». Approbations Codex, Copilot CLI, Muse Code : carte avec Allow et Deny seulement (pas Always) ; updatedPermissions jamais envoyé pour Codex/Copilot/Muse ; notes « Handled in Codex. » / « Handled in Copilot CLI. » / « Handled in Muse Code. ». OpenCode : plugin JS dans `~/.config/opencode/plugins/coucou.js`, événements mappés via EVENT_MAP, lecture depuis `event.properties`. Amp : plugin TypeScript dans `~/.config/amp/plugins/coucou.ts`, `tool.call` retourne toujours `{ action: 'allow' }`. Hermes : plugin Python dans `~/.hermes/plugins/coucou/__init__.py`, approuver depuis le notch nécessite `register_approval_transport` (non disponible en 0.15.x) ; en attendant, `pre_approval_request` affiche « ⏳ Approval pending in Hermes » dans le fil.
- Pastilles IA (cloud) : `isConfigured` = clé API dans le Keychain. Pastilles IA locales (Ollama, LM Studio) : `isConfigured` = URL serveur non vide (définie via le bouton **Connect** dans Réglages → Chat). Bouton « Chat with… » → change le fournisseur et ouvre la vue `.prompt`.
### Carte GitHub (`GitHubPulseCardView`)
diff --git a/docs/index.html b/docs/index.html
index fdcff51f..db8528bf 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -4,7 +4,7 @@
<nav><a href="index.html" class="on">Home</a><a href="iphone.html">iPhone</a><a href="support.html">Support</a><a href="privacy.html">Privacy</a><a href="terms.html">Terms</a><a href="legal.html">Legal</a></nav></header>
<div class="hero">
<h1>A tiny friend that lives in your notch</h1>
-<p class="meta" style="font-size:17px">Coucou watches your AI coding agents — Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more — lets you approve Claude Code and Codex requests from the notch, chat with Anthropic, Google AI or OpenAI, keeps an eye on Stripe, GitHub, Vercel, n8n and more, and follows you to your iPhone. Free and open source.</p>
+<p class="meta" style="font-size:17px">Coucou watches your AI coding agents — Claude Code, Codex, Cursor, Gemini CLI, Antigravity, Hermes and more — lets you approve Claude Code and Codex requests from the notch, chat with Anthropic, Google AI or OpenAI, keeps an eye on Stripe, GitHub, Vercel, n8n and more, and follows you to your iPhone. Free and open source.</p>
<a class="btn" href="https://github.com/Louis-CFM/coucou/releases/latest">Download for Mac</a><a class="btn ghost" href="https://github.com/Louis-CFM/coucou">View on GitHub</a>
<img class="demo" src="media/demo.gif" alt="Coucou in action">
</div>
diff --git a/windows/README.md b/windows/README.md
index db603a0d..2b897bd3 100644
--- a/windows/README.md
+++ b/windows/README.md
@@ -151,7 +151,7 @@ The relay (`coucou-hook.exe`) works with any tool that can run a command on hook
| Muse Code | `--agent muse` positional arg | `%USERPROFILE%\.config\muse\settings.json` |
| Any other | `--agent <name>` positional arg | your tool's hook config |
-OpenCode and Amp are not yet supported on Windows or Linux. Their integration uses a plugin that calls `/bin/sh` with macOS-specific paths; the plugin installer lives in the Mac app only.
+OpenCode, Amp and Hermes are not yet supported on Windows or Linux. Their integration uses a plugin that calls `/bin/sh` with macOS-specific paths; the plugin installer lives in the Mac app only.
## What's different from the Mac version