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.2 (#325)

Louis73d26bb7748c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a52108f8..2dc970ab 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog
-## Windows and Linux 0.2.0 — unreleased
+## Windows and Linux 0.2.0 — October 8, 2026
The Windows and Linux app catches up with the Mac, from 0.1.1 to 0.2.1 — everything except Apple Music and the iPhone, which depend on macOS and iCloud.
@@ -20,6 +20,20 @@ The Windows and Linux app catches up with the Mac, from 0.1.1 to 0.2.1 — every
- **Linux**: auto-close on KDE/Wayland and GNOME (#160 by @4rchila, #136), the island at the top on GNOME (#149 by @betodoescher), pinned to its display on Hyprland and Sway with a display picker (#227 by @chuxclay), GNOME large text no longer cuts the island (#122), an Arch Linux PKGBUILD (#299 by @FabioLukas123, #230)
- The step ticker no longer stops at a session's 20th step (#265 by @PythonTilk), ticker steps keep their own line (from #203 by @shakibbinkabir), `tauri dev` no longer crashes on EBUSY (#202 by @Andrev-91)
+## 0.2.2 — October 8, 2026
+
+- **Choose Mochi's screen**: the screen with the notch, the main screen, a specific display, or "Follow the mouse" — Settings → General → Display. The island moves right away and finds its place again when screens are plugged in or out; Mochi's gaze is right on any display arrangement (#236 by @steeven-th)
+- **Claude Desktop pill**: Claude Code sessions started from the Claude app's Code tab get their own pill instead of being ignored; their permission prompts stay in the Claude app (#191 by @samuelmtz2000)
+- **Codex plan usage**: a Codex pill next to the Claude one shows your Codex limits and free resets, read from the Codex CLI — Settings → Agents → Plan usage *(GitHub build)* (#244 by @Ace3Z)
+- **Questions** show in full, with each option's description (#249 by @Mehdi-fsn)
+- A pending permission can be folded away with Escape in the notch or the toggle shortcut, without answering it; Escape typed in another app never hides it (#290 by @jhannesreimann)
+- Pills that run on hooks (Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Copilot CLI, Muse Code, OpenCode, Amp, Hermes) say whether their hooks are installed instead of asking for a key (#183 by @TheodoreRiant)
+- The chat keeps Claude's whole answer — web-search answers were cut after the first block (#67 by @RAMZI0TO99)
+- `~/.claude/settings.json` is never rewritten from scratch when it can't be read, the backup must succeed before anything is written, and nothing is written if the file changed since the preview (#243 by @Fabian-2026)
+- The auto-close delay set in Settings is respected (#25 by @Kamasoutra); reopening Coucou brings the island back (#270 by @AndersonPGS)
+- Fixed a crash an hour after a file edit (#286 by @i87ce)
+- Lighter when hidden: the island checks the pointer 8 times a second instead of 60 while it is hidden and the pointer is away from it
+
## 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)
diff --git a/NotchBuddy/Resources/Info.plist b/NotchBuddy/Resources/Info.plist
index 71702289..220e570a 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.1</string>
+ <string>0.2.2</string>
<key>CFBundleVersion</key>
- <string>12</string>
+ <string>13</string>
<key>LSUIElement</key>
<true/>
<key>NSAccessibilityUsageDescription</key>
diff --git a/NotchBuddy/Sources/App/IslandWindowController.swift b/NotchBuddy/Sources/App/IslandWindowController.swift
index c9635db3..28d4c16d 100644
--- a/NotchBuddy/Sources/App/IslandWindowController.swift
+++ b/NotchBuddy/Sources/App/IslandWindowController.swift
@@ -274,14 +274,34 @@ final class IslandWindowController: NSWindowController {
fsm.isHeldOpen = { AppState.shared.pendingApproval != nil }
}
- // MARK: - 60 Hz polling loop
-
- private func startPolling() {
- frameTimer = Timer.scheduledTimer(withTimeInterval: 1.0/60.0, repeats: true) { [weak self] _ in
- guard let self else { return }
- Task { @MainActor in self.pollFrame() }
+ // MARK: - Polling loop
+ // 60 Hz while the island is on screen, Mochi is on the desktop, a drag is under way or the
+ // pointer is near the island; 8 Hz (with timer tolerance) while it is hidden and the pointer
+ // is elsewhere, so a hidden island costs next to nothing (CLAUDE.md: 0 % CPU when hidden).
+
+ private static let fastPoll: TimeInterval = 1.0 / 60.0
+ private static let idlePoll: TimeInterval = 1.0 / 8.0
+ private var pollInterval: TimeInterval = 0
+
+ private func startPolling(interval: TimeInterval = IslandWindowController.fastPoll) {
+ frameTimer?.invalidate()
+ pollInterval = interval
+ let timer = Timer(timeInterval: interval, repeats: true) { [weak self] _ in
+ // Scheduled on the main run loop: already on the main actor, no Task per tick.
+ MainActor.assumeIsolated { self?.pollFrame() }
}
- RunLoop.main.add(frameTimer!, forMode: .common)
+ timer.tolerance = interval == Self.idlePoll ? 0.04 : 0
+ RunLoop.main.add(timer, forMode: .common)
+ frameTimer = timer
+ }
+
+ /// Picks the polling rate for the next ticks (see startPolling).
+ private func adjustPollRate(mouse: NSPoint, panelFrame: NSRect) {
+ let nearIsland = panelFrame.insetBy(dx: -120, dy: -120).contains(mouse)
+ let busy = state.mode != .hidden || state.mochiOnDesktop || inAttachDrag || attachDragStart != nil
+ || fsm.state != .hidden || nearIsland
+ let wanted = busy ? Self.fastPoll : Self.idlePoll
+ if wanted != pollInterval { startPolling(interval: wanted) }
}
private func pollFrame() {
@@ -355,6 +375,8 @@ final class IslandWindowController: NSWindowController {
updateDragGhost()
updateWindowHighlight()
}
+
+ adjustPollRate(mouse: mouse, panelFrame: pf)
}
private var lastMouse: CGPoint = .zero
diff --git a/NotchBuddy/project.yml b/NotchBuddy/project.yml
index ffcc42a4..bab0f515 100644
--- a/NotchBuddy/project.yml
+++ b/NotchBuddy/project.yml
@@ -127,8 +127,8 @@ targets:
CFBundleName: Coucou
CFBundleDisplayName: Coucou
CFBundleIdentifier: fr.louisraille.NotchBuddy
- CFBundleVersion: "12"
- CFBundleShortVersionString: "0.2.1"
+ CFBundleVersion: "13"
+ CFBundleShortVersionString: "0.2.2"
CFBundlePackageType: APPL
LSUIElement: YES
NSHighResolutionCapable: YES
diff --git a/README.md b/README.md
index f5e62e53..17e26b9a 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, 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.
+- 🤖 **Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Copilot CLI, Muse Code, OpenCode, Amp, Hermes, Claude Desktop 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)*.
@@ -101,6 +101,7 @@ macOS releases are published as `v*` tags. See [CHANGELOG.md](CHANGELOG.md) for
| Version | Date | Highlights |
|---------|------|------------|
+| [0.2.2](https://github.com/Louis-CFM/coucou/releases/tag/v0.2.2) | Oct 8, 2026 | Choose Mochi's screen, Claude Desktop pill, Codex plan usage, full questions, safer settings.json |
| [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 |