* Yandex Music pill on macOS (GitHub build) and Windows
A new integration_yandex_music pill, modelled on the Spotify one: title,
artist, progress with seek, play/pause and previous/next, and Mochi
dances while it plays.
- macOS (GitHub build): Yandex Music has no AppleScript dictionary, so
the track is read from the system's Now Playing through MediaRemote,
run by /usr/bin/osascript (JXA). A small watcher runs only while the
pill is declared and Yandex Music is open. Commands go to Yandex Music
only, never to another player. No cover or volume.
- Windows: system media controls (SMTC) filtered on Yandex Music's app
id, cover from the session thumbnail, volume from the mixer.
- Linux: not offered (no official client).
- Tests: scripts/test-yandex-music.sh (also in CI),
windows/tests/yandex-music.test.mjs; strings in all 14 languages;
docs, privacy page and Android catalog entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Regenerate Xcode project with xcodegen
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
* Revert "Regenerate Xcode project with xcodegen"
The project file is generated by XcodeGen in CI, so this PR leaves it out.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* Regenerate Xcode project after merging v0.6.1
The merge dropped the Yandex Music sources from the project file; xcodegen puts them back with the 0.6.1 sources.
* ci: retrigger Phone link after apt flake on ubuntu-24.04
relay-e2e failed installing Tauri system libraries (apt-get exit 100); unrelated to the Yandex Music changes.
* Android: refresh i18n/REVIEW.md after strings regen
CI fails English strings are up to date when REVIEW.md lags windows/src/i18n/strings.json after the 0.6.2 rebase.
* ci: retrigger Phone link after relay-e2e flake
* Use the updated shared translations on Windows
* Refresh translations after merging upstream main
* Preserve the shared approval button translation
* Keep the Yandex Music pill desktop-only
* Regenerate Windows translations after upstream merge
* Use shared translations for Details and Off
* Refresh Android translation review for updated shared catalog
* Retry Android CI when Maven Central rate limits downloads
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Coucou looked for brain at ~/.nvm/versions/node/<default alias>/bin, but
nvm's default alias is usually partial (`22`, `lts/*`, `node`) while Node
lives in versions/node/v22.23.4. The login-shell fallback can't help
either: nvm sets itself up in ~/.zshrc, which `zsh -l -c` never loads,
so the Mochis and Memory pages said they couldn't reach brain.
NvmBinaryLocator follows nvm's alias files to the newest matching
installed version, then falls back to the newest Node that has brain.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
An alert (a finished session, an error, a note…) opens the island through
hookExpand → openedExternally(), which cancelled every timer and never
scheduled the home collapse. Only mouseLeft() did, so the finished card
stayed open until the pointer touched the notch.
openedExternally(autoClose:) now schedules the collapse when asked, and
hookExpand asks for it except for approvals and questions, which wait for
an answer. Shortcut-opened and in-progress cards (launch, mail) keep their
current behavior. Three cases added to the auto-close tests.
Fixes#1250
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0.6.2 came out from main with Mochi's room; 0.7.0 comes after it, so it
carries the room too. Kept both everywhere: CHANGELOG (0.7.0 above 0.6.2),
README Versions rows, What's new (0.7.0, then 0.6.2), the settings search,
the strings. Version stays 0.7.0, build 29 (0.6.2 shipped as 28).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
A new page at the top of the Notch section of the Coucou window (GitHub
build), off by default. Turned on, it draws a little room:
- Mochi naps on the bed when nothing runs, works at the desk while an
agent does, and walks to the door when one asks something. A permission
request opens under the room with the island's choices (Deny, Always,
Allow), each one a click. Plans, Antigravity and questions keep their
choices in the island: a button opens it.
- One little Mochi per agent session and n8n workflow, in its pill's colour.
- The window is the weather: sun when the main branches' CI and the last
Vercel deploy are green, clouds while something builds, rain when a build
fails, a storm when the last deploy failed. Day and night follow the clock.
- The frames on the wall are the connected tools: Stripe (paid today), GitHub
(stars), Vercel (last deploy), n8n (runs today), Cal.com (next call). A
click opens the service. Each one can be hidden; a tool that is not
connected shows a Connect button that opens Integrations.
- The clock is the time coded with agents today, the plant grows with the
streak of days with a session.
Under it: time coded, approvals, deploys and streak for today, then the
room's settings. It only reads what Coucou already has (AppState, the
pollers, the weekly recap); off, it draws nothing, and the Mochis stop when
the window is hidden.
The rules (spot, weather, streak, frames) are in MochiRoom.swift, Foundation
only, tested by scripts/test-mochi-room.sh (added to CI). Strings in the 16
languages; the page is in the settings search.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
The iPhone app links Botan over Bluetooth and turns the sessions the Mac publishes to iCloud into
Botan's line, and its button into the same Decision / Answer records a tap sends. So Botan works
wherever the iPhone has the network, with the iPhone locked.
- BotanBridge.swift: CoreBluetooth central with state restoration; bluetooth-central background mode;
written after every fetch (push or Botan's 15 s heartbeat); presses sent inside a background task
- BotanLinkScreen moves to CoucouKit, shared by the Mac and the iPhone; the heartbeat decides nothing
- Settings → Botan on the iPhone (off by default, says a press needs no Face ID); Bluetooth purpose string
- Mac and iPhone link only the first Botan met, remembered ("Forget this Botan")
- SessionItem reads approvalTool (optional, old caches still load)
- docs/BOTAN_LINK.md: the iPhone, locked
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B9uCpBfczfSCvLARne8hCd
Botan is a small screen with one button next to the Mac. Settings → Botan (GitHub build, off by
default) links it over Bluetooth: Coucou sends one line for the most urgent thing (a permission
request, a question with 2 to 4 choices, an error, work in progress, work done) and applies a press
only if it carries the token of the request still pending, through the same path as a click on the
island's card. Botan never denies, types, or answers what it was not shown.
- BotanLinkScreen.swift: pure mapping and button checks, tested by scripts/test-botan-link.sh (CI)
- BotanLinkService.swift: CoreBluetooth central, event driven, nothing runs while it is off
- Settings box, search entry, 16 languages, Bluetooth purpose string (GitHub build only)
- docs/BOTAN_LINK.md: the line format and the rules
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B9uCpBfczfSCvLARne8hCd
While a file is dragged over the island (a ⌘⇧2 thumbnail, a capture, anything
from Finder), the drop card lists up to three sessions on its right. Let go on
one: Coucou brings that session's terminal forward and types the path, as a
drag onto the terminal would, so Claude Code takes the file (an image as an
image). Without the Accessibility permission the path stays on the clipboard.
Anywhere else on the card, the drop goes on as before. GitHub build only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
A new island card (the terminal tab in the header, or ⌃⌥N): pick a project
among the folders your sessions ran in (or any folder), type or dictate what
Claude should do, and Coucou opens your terminal there with claude "<prompt>".
The prompt goes through an environment variable, never into the command line;
the script runs in your login shell and removes itself. Terminal and iTerm2
get a .command file; Ghostty, kitty, WezTerm and Alacritty a new window
running it; Warp and others fall back to Terminal. GitHub build only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
The Mac asks after a finished session, the 8th one at least; the iPhone after
a few decisions sent from it. Never in the first three days, once per version
(ReviewPolicy, with its tests), and through Apple's own request, which shows at
most three times a year. The GitHub build never asks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
The pure part of the desktop side of docs/ANDROID_LINK.md in Swift: pairing link,
fingerprints, TXT record, framing, the admission rules of admission.rs, the hub that
applies a decision only to the request still pending, and the self-signed certificate.
scripts/test-android-link.sh checks them against the Rust and Kotlin vectors; CI runs it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMLAfoARhk8bXPKnZ2p5MG
Signed-off-by: Claude <noreply@anthropic.com>
- Mute while dictating: once the blip is heard, every output in use goes quiet
(videos, music, calls) and comes back as it was when the microphone closes.
A Mac already muted stays muted; a crash mid-dictation is undone at launch.
Settings → Coucou Flow → "Mute the Mac while you dictate", on by default.
- Nowhere to paste: the pill grows with the words (three lines at most, then
"…") and a Copy button. In a web browser, the page itself no longer counts
as a text field (YouTube, an article), so the card shows there too.
- Custom shortcut: "Hold to dictate" → "Custom shortcut…" unfolds an editor
under the row. Hold 1 to 6 keys together, let go, ↩ saves (Esc cancels); the
menu then shows the keys in place of "Custom shortcut". An event tap keeps
the shortcut's own key (the D of ⌘⇧D) out of the app in front. Plain letters
need ⌃, ⌥, ⌘ or fn; a left modifier alone, Esc, ↩ and Caps Lock are refused.
FlowChord and FlowShortcutRules are tested in tests/FlowKeyLogicTests.swift.
Strings in the 16 languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B9uCpASh6JFgbMYMyYUrBN
Both sides added test steps to build.yml: the subscription run tests here,
Mail triage and the settings search on main. All three are kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Open: Mochi pulled 30 pt towards his circle; no mask (it cut him while the
island grew) and no bounce on his way to the corner.
- Compact: back to a square tile with rounded corners.
- The pointer on the compact tile: the other pills come out one after the
other as small tiles along the edge, each born from the one before; a click
opens the island on that pill. They count in the hover area.
- Swapping: the circle around a Mochi on the arc draws itself out (and in)
from the top down both sides at once; its name fades with it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
- Resting or compact in a corner: a circle.
- Mochi is drawn in a box held by the island's corner: he no longer drifts
while the island grows; raised a little so the room above and beside him
match. The card and the circle are held by the corner too.
- Swapping: the two Mochis travel on two curves and cross, one growing into
the corner, the other shrinking onto the circle; then the focus changes.
- The circle is wider (150 pt) so each name fits under its Mochi and the
swap has room; the header keeps clear of the corner column.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
- Resting or compact in a corner: a square tile with Mochi alone.
- Open in a corner: Mochi in the island's corner, the other pills' Mochis on a
quarter circle around him (a tap swaps them), the focused pill's card in the
rest of the island, the header clear of the corner.
- Dragging Mochi near a corner (or the top centre) shows the place he will
take and pulls him into it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Besides the notch, the island can live in one of the four corners of its
screen: just under the menu bar at the top, just above the Dock at the
bottom. It rests as a small floating bar with Mochi in sight and opens from
its corner with every view. Chosen in Settings → Display → Position, or by
dropping Mochi near a corner (back at the top centre for the notch).
IslandPlacement holds the geometry (tested); the panel, the hit tests,
Mochi's eyes, Mochi on the desktop and the voice captions follow it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
"message id N" alone is read as Mail's Message-ID property, so the direct
reference failed and the card said Mail didn't give the text. The raw class
code makes it a by-id reference; it is checked, and if Mail refuses it the
mailbox is searched as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
- Search and quick filters no longer ask Mail to search (a whose clause scans
the whole mailbox, six times per search): one read of the newest 400
messages per inbox, kept a minute, filtered in Coucou.
- A message is reached directly (message id N of mailbox) instead of by
scanning its mailbox, for the preview, the actions and the chat's plans.
- The list is joined once at the end, with account and mailbox names read
once per inbox instead of twice per message.
- 30 seconds at most per read: a busy Mail is given up on, not queued.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
- Unread: just the number, on one line (the sentence on hover).
- Filters never wrap; a search in progress is a small spinner in the header.
- An open mail: the notch grows to read it, the text fills the room and
scrolls, the actions are one row of icons (names on hover) next to Open.
- The text: 20 seconds at most, then it says Mail didn't give it, instead of
Loading forever. Searches keep the newest 60 per inbox, so 1,300 unread
answer quickly and an opened mail doesn't wait behind them.
- Overview: while nothing was sorted, the journal says how many new messages
were checked today.
- Windows: the same number badge, spinner and one-line filters.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
A field under Coucou in the sidebar searches every setting of Flow, the notch
and Mail, in the app's language, whatever the accents. The results replace the
pages while something is typed; a click (or Return) opens the page, scrolls to
the box and makes it glow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
A Mail switch in the chat sends the AI the latest 40 messages (attachments
and text for the newest and for the ones the request names). The AI may
answer with a plan (a coucou-mail JSON block): sort, reply drafts, sends,
a mail merge that gives each recipient their page of a PDF, saving
attachments. The chat shows it as a card: the mails to send, the ones that
can't be sent in red, Send me a test, and Run, which starts a 5-second
countdown before anything happens. Sends are listed in the Mail section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
The Mail pill gets a search (free words, from:, subject:) and quick filters
(All, Unread, Important, Today), Load more, and on a message: Important,
Junk, Always important (VIP), Always ignore this sender.
The Coucou window gets a Mail section (Overview, Rules, Banned words, VIP).
Automatic sorting, off by default, looks once at each message that arrives
after it is turned on: VIPs are flagged, banned words send to Junk, then the
first matching rule acts (Junk, important, read, move). Nothing is ever
deleted; every action is in a journal with Undo (found again by Message-ID).
Rules, search and scripts are pure Foundation, tested on CI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
A tool past its time limit was only sent SIGTERM. One that takes its time
to quit, or never gets the signal (a process started from a dispatch
thread can inherit it blocked: on Linux Foundation, `exec sleep 30` ran
its 30 s), kept the caller waiting. It is now killed a second later, and
the run counts as timed out whatever its exit status.
CLIRequest.thinking: false runs Claude Code with MAX_THINKING_TOKENS=0
(CLIRelay.environment, pure), for short rewrites with nothing to think
about. The chat keeps Claude Code's own default.
CLIRelay.ask(_:_:exe:workdir:) runs a given executable, so
scripts/test-cli-relay-run.sh runs stand-in tools: the prompt on stdin,
thinking off, Coucou's folder, no tools; Claude Code 2.1's real
signed-out answer ("Failed to authenticate: OAuth session expired…")
reads as "not signed in" with the command to sign in; a tool that
ignores SIGTERM is gone a second past its limit. Added to CI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After two hours of work with the agents and no break, Mochi shows the tired look he already
has for a low battery: heavy eyes and the odd yawn while he waits (never while an agent works
or asks). A break is twenty minutes with no agent activity or away from the keyboard and mouse;
then he is fresh again. No timer, no notice, no setting: it follows "Mochi feels the Mac".
Only the times of the hook events are kept, in memory; the island hidden costs nothing.
The battery line under the island now shows only for a low battery. Checked by
scripts/test-work-streak.sh, in CI.
Settings → Chat gets "Your AI subscriptions": one switch per provider, with
whether its official terminal tool is installed and how to sign in. On, the
chat goes through that tool (Claude Code, Antigravity CLI or Gemini CLI, Codex
CLI, Cursor CLI, Copilot CLI) signed in with the user's account; off, through
the API key. Replaces the hidden "empty the key" rule of 0.5.5.
The tools are found in the usual install folders (nvm, fnm, Volta, Bun, pnpm,
Homebrew…) and else through the login shell, once, in the background. Each run
is read-only: no shell, no edits, no user hooks/MCP/extensions where the tool
can turn them off, web search for the chat only; a dropped file is read with no
web. Pure parts tested in scripts/test-cli-relay.sh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Antigravity has no permission-request event: it runs PreToolUse before its
own permission check and waits for the hook's decision. With the new
Settings → Antigravity → Approve commands from the notch (off by default),
a run_command that none of Antigravity's command(...) rules covers waits on
the approval card: Allow prints {"decision":"allow"}, Deny prints "deny",
and Reply in terminal, no click or Coucou closed print "ask" (Antigravity's
own prompt). Coucou never allows a command without a click.
- AgyPermissionRules reads Antigravity's allow and deny rules (CLI settings,
shared global grants, the session's project), so commands they cover get
no card. Tested by scripts/test-agy-permissions.sh, added to CI.
- Relay: Antigravity's PreToolUse asks Coucou and reads one line back:
"ask" at once, or {"pending":true} then the decision. It waits 3 s for the
first line and 115 s for the click. The shell wrapper answers "ask" when
Python is missing.
- The PreToolUse hook is installed with a 120 s timeout. Settings asks to
install again the hooks written with the old 10 s.
- Card: Deny, Allow and Reply in terminal for Antigravity; other agents'
cards are unchanged.
- Strings in the 14 languages, CHANGELOG, AGENTS.md, SPEC.md, README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
While a newer release waits (after the user agreed to look, not within a
day of Later), Mochi turns blue with an up-arrow badge whenever he has
nothing else to say, and opening the notch shows the update card first.
After Coucou updated itself, the notch shows once what the version brings
(Resources/whats-new.json, in the 14 languages), then 'Your Coucou so far'
from what is already on the Mac (recap, Flow, Notetaker) and Buy Mochi a
coffee. GitHub build only. Each release must add its entry: CLAUDE.md,
release.sh and CI check it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Pills stay one per client (VS Code, the Claude app, Codex…), but every
event now goes to its session on the SessionBoard and the pill shows the
board:
- name, steps, state and last message are those of the session the pill
shows, the most urgent else the one active last, no longer the oldest
(PillSessionRegistry.displayOwner), and the steps are that session's
only, not a feed shared by every session
- every session finishes on its own: its sound and its "finished",
even while a sibling works ("N session(s) still working" swallowed
them), and for 5 s the pill shows the session that finished; a failure
shows for 30 s
- with several sessions behind it, the pill carries their lines for the
open card (title, state, last step)
- a session that starts waiting for a permission or an answer while it
shares the pill pops out into "<pill>#2"…, named after it, right after
its client's pill; its card, focus and iPhone record are that pill's
(QueuedApproval / QueuedQuestion .shownPill). It folds back after the
answer, a timeout or a denial (3 s at least), or at SessionEnd. A
session alone in its pill waits there, as before
- the Claude app's pill takes the session's title; other agents' pills
keep the agent's name
The approval/question "defer" that held the pill's state is gone: a
waiting session's state comes from the queues. Sessions the registry let
go leave the board.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pure model of the sessions sharing a client's pill. Each keeps its own
title, state, steps and last message. The pill shows one of them: the
most urgent (waiting for you, a turn that just failed, one that just
finished, work, an older finish, idle), else the one active last, held
6 s so the pill does not flip between busy sessions. A session that
starts waiting while another, active lately, shares the pill pops out
into "<pill>#2"…; it folds back once no longer waiting, after 3 s at
least, or at once when nobody is left inside.
SessionBoard.slots lays out the 4 places beside the focused pill: pills
keep their order; a waiting one that would not show takes a free place,
else an idle pill's, else a finished one's; working and waiting pills
keep theirs; waiting pills left over share a "+N" stack in the last
place, the ones waiting longest staying in sight.
Tests in scripts/test-session-board.sh, in the Build workflow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>