155 Commits
Author SHA1 Message Date
PeachyCadandClaude Opus 5.5 ff88a07821 Yandex Music pill on macOS (GitHub build) and Windows (#837)
* 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>
2026-12-04 18:29:52 +00:00
Nicolas De LetterandClaude Opus 5.5 08ee780000 Find brain when nvm's default alias is partial (#1254)
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>
2026-12-03 21:22:59 +00:00
TatsukichiandClaude Opus 5.5 62691256eb macOS: fold alert-opened island after the auto-close delay (#1253)
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>
2026-12-03 21:22:55 +00:00
Miraç Duran cb9281a071 feat(macos): support Maestri as a Claude Code host (#1157) (#1168) 2026-12-03 21:22:43 +00:00
Miraç Duran 9777ce1e6a fix(macos): keep still-waiting indicator on pill after approval timeout (#1117) (#1143) 2026-12-03 21:22:39 +00:00
Louis RailleandClaude Sonnet 4.6 2c733d16c7 brain: protection settings.json — extraire logique pure + tests swiftc
- MemorySettingsLogic.swift : fonctions Foundation pures (brainSettingsApply,
  brainHooksAdd/Remove, brainMcpAdd/Remove) compilables sans SwiftUI/AppKit
- HooksMCPSection.applyAction() délègue à brainSettingsApply(), supprime les
  méthodes privées dupliquées
- tests/MemorySettingsTests.swift : 7 cas (fichier absent, JSON invalide,
  backup impossible, ajout/retrait hooks, ajout/retrait MCP)
- scripts/test-memory-settings.sh : compile avec swiftc, ajouté en CI

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-11-28 11:50:22 +01:00
Claude ee4f7e2be7 Merge main into botan-link: Mochi's room and 0.6.2 under 0.7.0
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
2026-11-26 12:35:50 +00:00
Claude 9b89693832 Mochi's room: a page of the Coucou window where every object is live data
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
2026-11-24 15:53:26 +00:00
Claude a4e633f47e Botan: a double press on the button denies an approval
The Mac and the iPhone accept deny|#token from Botan, checked against the
approval it shows like approve. Firmware 0.8.3 sends it; tests and the link
doc follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B9uCpBfczfSCvLARne8hCd
2026-11-22 23:47:30 +00:00
Louis-CFMandClaude Opus 5.5 87e7fa6c2a Botan on the iPhone: the bridge, iPhone locked
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
2026-11-22 16:27:17 +00:00
Louis-CFMandClaude Opus 5.5 4da8447e0f Botan link: show the agents on Botan's screen, approve and answer with its button
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
2026-11-22 16:01:12 +00:00
Claude 6589c3a74f Merge #1063: Flow: one press of the key starts hands-free (Brezinben) 2026-11-06 12:44:11 +01:00
Claude 8fa97c9b38 Merge #611: Grade the 7-day GitHub strip against its week (rollecode) 2026-11-06 12:44:05 +01:00
Claude e1f7f1d71f Merge #971: Flow on your Claude plan: clean-up, prompt mode and translation through Claude Code (NikitaBulichev) 2026-11-06 12:44:00 +01:00
Claude 9e16d50dda Merge #970: Mochi gets sleepy after long hours with the agents, fresh again after a break (lovyestar) 2026-11-06 12:43:57 +01:00
Claude 42adc4cf71 Merge #672: Claude plan gauge: a stale session no longer moves the numbers back (orrrrli) 2026-11-06 12:43:39 +01:00
Claude 9c15f1310e Merge remote-tracking branch 'pr/934' into release-0.6
# Conflicts:
#	.github/workflows/build.yml
#	CHANGELOG.md
#	NotchBuddy/Sources/App/HookServer.swift
#	NotchBuddy/Sources/App/IslandViewContent.swift
2026-11-06 12:40:50 +01:00
Claude 7f2d9492a0 Merge remote-tracking branch 'pr/767' into release-0.6 2026-11-06 12:40:15 +01:00
Claude 578154e808 Mac: drop a file on a session in the island to put it in its prompt
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
2026-11-06 12:39:15 +01:00
Claude 7d65c9a3db Mac: start a Claude Code session from the notch
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
2026-11-06 12:37:00 +01:00
Claude 39e9e7f60c App Store build: ask for a review after good moments (Mac and iPhone)
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
2026-11-06 12:33:17 +01:00
Brezinben 882a239ee1 Flow: one press of the key starts hands-free
Closes #1059. A double tap is hard to hit on a two-key custom shortcut.
2026-11-04 18:56:07 +01:00
Rhytam BiswasandClaude Sonnet 5.5 92589ba1a2 Android link (Mac) tests: put the usage arguments in declaration order
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 15:31:11 +05:30
Claude 225dad7cb5 Android link (Mac): protocol v1 rules, admission, hub and certificate, with tests
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>
2026-11-03 09:25:40 +00:00
Claude bce6f87c5e Flow (Mac): mute the Mac while dictating, Copy card when nowhere to paste, custom shortcut
- 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
2026-11-03 00:50:39 +00:00
NikitaBulichevandClaude Opus 5.5 e2426b5502 Merge main (0.5.8) into feat/flow-subscription
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>
2026-10-31 10:05:54 +00:00
Claude 448532dfef Corner island: Mochi nearer his circle, rounded tile, pills out of the tile on hover, circles drawn in and out
- 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
2026-10-31 00:55:51 +01:00
Claude 3511564112 Corner island: a round tile, Mochi held by the corner, a crossing swap, room for names
- 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
2026-10-31 00:44:20 +01:00
Claude 220ae8b995 Corner island: Mochi alone in a tile, the pills on a quarter circle, a magnetic drop
- 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
2026-10-31 00:35:37 +01:00
Claude ba5ddadf6a IslandPlacement: import CoreGraphics on the Mac (CGRect's edges)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-31 00:06:48 +01:00
Claude 53eb18de1c Coucou in a corner of the screen
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
2026-10-30 23:56:32 +01:00
Claude bf88f138ea Merge branch 'mail-triage' into settings-search 2026-10-30 20:05:09 +01:00
Claude be3e361fdb Mail: reach a message by its id with «class mssg», the mailbox search as fallback
"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
2026-10-30 20:05:06 +01:00
Claude 5ab3960665 Merge branch 'mail-triage' into settings-search 2026-10-30 19:29:28 +01:00
Claude 301ad1ab7a Mail: stop freezing Apple Mail on a big inbox
- 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
2026-10-30 19:29:24 +01:00
Claude 8a9845b305 Merge branch 'mail-triage' into settings-search 2026-10-30 18:11:38 +01:00
Claude f9a2c9eb6e Mail pill: the number alone, filters on one line, a taller notch to read
- 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
2026-10-30 18:11:33 +01:00
Claude e3c821b7b2 Settings search in the Coucou window
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
2026-10-30 16:58:22 +01:00
Claude 3772e6e258 Mail phase 2: the chat acts on the mail, after a click
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
2026-10-30 12:36:10 +01:00
Claude 2c7f902a80 Mail: search and filters in the pill, a Mail section that sorts the inbox
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
2026-10-30 10:05:10 +01:00
NikitaBulichevandClaude Opus 5.5 efd60fe34a Subscription runs: stopped for good past their time limit, thinking off on request
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>
2026-10-30 07:52:06 +00:00
lovyestar 24235eb6ac Mochi gets sleepy after long hours with the agents, fresh again after a break
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.
2026-10-30 13:26:23 +09:00
Claude c0be2a48e6 Mac: chat on your own subscription for Claude, Gemini, ChatGPT, Cursor and Copilot
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
2026-10-29 23:46:17 +01:00
Claude e0542cb3e3 Merge #874, #876, #877, #878: sessions apart behind each pill 2026-10-29 17:20:20 +01:00
Claude 962cbfaf4a Merge #780 2026-10-29 13:13:31 +01:00
Brendon AngandClaude Opus 5.5 128efcb77f Mac: approve Antigravity commands from the notch
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>
2026-10-26 14:15:57 +08:00
Claude cbec7563cf Mac: WhatsApp Status updates and channels no longer show as chats (#901)
A contact's Status comes in from status@broadcast and became a chat named
after them; channels (@newsletter) the same. Same fix as #910 on Windows
and Linux.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-23 17:23:50 +02:00
Claude b1d8a8d340 Mac: blue Mochi while a new Coucou waits, then What's new after the update
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
2026-10-22 17:22:55 +02:00
NikitaBulichevandClaude Opus 5.5 e1e8722c61 Each session apart behind its client's pill; a waiting one pops out
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>
2026-10-22 09:07:39 +00:00
NikitaBulichevandClaude Opus 5.5 60289ece6d SessionBoard: each session behind a pill, and when one pops out
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>
2026-10-22 09:07:25 +00:00