Commit Graph
109 Commits
Author SHA1 Message Date
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
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
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 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 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 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
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
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 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 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 90e3435ed2 Flow on your Claude plan: clean-up, prompt mode and translation through Claude Code
With Claude's switch on in Settings → Chat → Your AI subscriptions and
Claude Code installed (FlowCleanup.tool), Flow's clean-up, prompt mode
and translation run `claude -p` like the chat, with no tools and no web
at all, Claude Haiku 4.5 and no thinking. Off, or not installed: the key
as before. Same switch as the chat, so nothing new to set: it is on by
default when no key is saved, and a key user who never touched it keeps
the API.

Claude Code gets 6 s more than the key to start: 10 s for a clean-up (as
on Windows and Linux), 14 s for a translation, 18 s in prompt mode. When
it fails early (signed out, no answer), the key stands in with what is
left of that time; with no key the words are pasted as heard, as on any
other problem.

Signed out, the pill says so with the command to sign in again and an
Open Terminal button (once per launch when the key stood in, since
nothing was lost). The Flow window's switches are enabled with either
Claude Code or a key, and its hints and privacy lines name both
(16 languages).

scripts/measure-flow-subscription.py times each installed subscription
tool with Flow's flags on the Mac, started when the key comes up and
started when it goes down.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 07:52:14 +00: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 4dd4861a3e Japanese on Mac, Windows and Linux
Every Mac string (930), every Windows and Linux string of extra.json (473),
and every What's new entry, in Japanese. Added to the language pickers, the
bundle localizations and the plural rules (one form, as Korean). Mac 16
languages, Windows and Linux 14.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-30 00:11:00 +01:00
Claude 4d84c8fa25 Merge #880: Korean on Mac, Windows and Linux (lovyestar)
Completed with Korean for the strings added since (the subscriptions, the
Claude Code relay's errors) and the 0.5.5 What's new.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-30 00:03:45 +01: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 ff34140199 Merge #875: run the hook relay on a remote machine (COUCOU_SOCKET, VS Code Remote) 2026-10-29 17:20:40 +01:00
Claude e0542cb3e3 Merge #874, #876, #877, #878: sessions apart behind each pill 2026-10-29 17:20:20 +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
lovyestar 94a6d8aa2e feat(i18n): add Korean to the Mac What's new
Korean for the 0.5.3 entry, and ko in the check's Mac language list now
that the Mac app speaks it.
2026-10-23 02:07:52 +09:00
Claude d6cdc36314 test-whats-new.py: print UTF-8 on Windows runners
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-22 17:34:22 +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
Claude 5075a2041e What's new data for the Mac and Windows/Linux, and its check
Each release brings its own short What's new (icon, title, one line, in
every language the app speaks). scripts/test-whats-new.py fails when the
version about to ship has no complete entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-22 17:14:52 +02: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
NikitaBulichevandClaude Opus 5.5 b0e0d78c01 Name a session after its title, with Claude Code's own as a fallback
The relay read the session's /rename title (custom-title) and nothing
else, so a VS Code session, which only has the title Claude Code gives it
(ai-title), was named after its folder. It also stopped at the first line
that merely contained "custom-title", say a search for that word, and then
named nothing. Entries are now told by their type: the last custom-title
wins, else the last ai-title, else the folder as before. The tail read for
them grows from 64 KB to 256 KB, as Claude Code writes the title again only
every 40 to 80 KB.

scripts/test-session-title.py runs both relays on transcripts that have
either title, both, lines that only mention one, a title 200 KB back and
none; in the Build workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 08:49:40 +00:00
NikitaBulichevandClaude Opus 5.5 20f72efea3 QuestionQueue: questions from several sessions wait side by side
A pure FIFO of pending AskUserQuestions, like ApprovalQueue: one per
session (a session asking again takes its older question's place and
slot), up to 5. Each question gets a slot on its pill for the iPhone: the
pill's own record for the first, "<pill>#2"… for the others, kept for the
question's life. QuestionQueue.question(answering:onRecord:…) finds the
question an iPhone answer is for, by fingerprint and record, so two
sessions asking the very same question each get their own answer.

Tests in scripts/test-question-queue.sh, in the Build workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 08:23:22 +00:00
NikitaBulichevandClaude Opus 5.5 ce6823c855 Test the nb-hook relay against a stand-in socket
scripts/test-nb-hook.py takes the wrapper and both Python relays out of
HookServer.swift and runs them against a socket that answers like the app:
the default path and COUCOU_SOCKET, a permission decision, an
AskUserQuestion answer, remote VS Code sessions, an unreachable socket
(the agent is never held), and a wrapper without python3 (Copilot still
gets its JSON). It runs in the Build workflow on macOS and passes on Linux
too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 08:00:21 +00:00
Claude 660c87f737 Merge main (#820 Claude Desktop chats, #823 alerts from every pill)
Localizable.xcstrings is main's with the de/tr/th/zh-Hant localizations
copied in again by the same script, plus German, Turkish, Thai and
Traditional Chinese for the strings #820 and #823 add (claude-desktop.*,
alerts.all-pills*, "has a plan ready"; "Change plan", "Auto mode" and
"Manual", now in main's catalog, keep main's entries plus the four new
languages). strings.json regenerated with gen-strings.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-20 03:18:37 +02:00
Claudeandshawn-t516 a8dcdfc2be Traditional Chinese on the Mac (from #314)
shawn-t516's Traditional Chinese translation:
- Localizable.xcstrings: the "zh-Hant" localization of every key, from
  #314 (plus the update.* and step.needs-input strings main gained since),
  and 繁體中文 in the language picker after 简体中文;
  CFBundleLocalizations of both Mac targets.
- #314's wrapping of hard-coded English in String(localized:): outfit
  names (MochiWardrobe), PillCatalog category titles and subtitles, and the
  DeepSeek, Qwen and Moonshot "key saved" messages. Pill ids are unchanged.
  The catalog gains #314's new keys (those, plus literals the code already
  shows that the catalog lacked, and the plan card's Change plan, Auto mode
  and Manual buttons), each translated in every language; the
  ones Windows already translates in extra.json reuse those translations
  (and #701/#700's German and Turkish) and leave extra.json, since the Mac
  catalog now has them. Brand names and URLs keep their English text.
- scripts/test-localization.py and its CONTRIBUTING note, now also run by
  the macOS Build workflow.

Co-Authored-By: shawn-t516 <180199675+shawn-t516@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-20 02:23:33 +02:00
Claude 21e4238e3e Merge remote-tracking branch 'origin/main' into feat/claude-desktop-chat
# Conflicts:
#	.github/workflows/build.yml
#	NotchBuddy/Resources/Localizable.xcstrings
#	NotchBuddy/Sources/App/AppDelegate.swift
#	windows/src/i18n/strings.json
2026-10-20 02:16:26 +02:00
Louis 0f460db8e0 Merge pull request #819 from Louis-CFM/feat/homebrew-cask
Homebrew cask for the Mac app (#340, on current main)
2026-10-20 01:53:20 +02:00
Claude 81154c8d2b Claude Desktop: Mochi jumps when a regular chat reply is ready
Regular chats in the Claude app run no hook (#686). Experimental, off by
default (Settings > Agents > Claude Desktop chats): when you leave
Claude while its Stop response button is on screen, Coucou checks once
a second through Accessibility for that button to go away, then Mochi
jumps, the finish sound plays and the Claude Desktop pill says the
reply is ready. Nothing runs while Claude is in front or idle; no chat
text is read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-20 01:31:17 +02:00
Claudeandespensgr ac62e5bb4d Merge #340 (Homebrew cask) onto current main, cask at 0.5.1
Resolves the README conflict with the Android section. The cask now
points at 0.5.1, says auto_updates (Coucou updates itself from the
notch), checks only the Mac's vX.Y.Z tags, and zaps
Application Support/Coucou too.

Co-Authored-By: espensgr <espensgr@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-20 01:26:06 +02:00
Claude 5e2b8af3de Mac: new version in the notch, one click to install it
Coucou looks at its own GitHub releases (after the user said yes, a few
times a day) and Mochi says "Coucou X is out" in the notch: Update now,
What's new, Later. The click downloads Coucou.zip from GitHub only,
checks it is Coucou at the announced version, signed with Louis's
Developer ID and accepted by Gatekeeper, swaps the app in place and
restarts. Outside /Applications it points to the release page.
Settings > General > Updates: the toggle, Check now, Install.
GitHub build only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-20 01:21:01 +02:00
Claude 2a0c5682ec WhatsApp pill, phase 1: see incoming messages in the notch
GitHub build only. Coucou talks to a local gateway (GOWA by default, or OpenWA)
and never to WhatsApp's servers.

- WhatsAppProvider with GOWAProvider and OpenWAProvider: status, QR, recent
  messages, send, mark read, group names. Endpoints taken from each gateway's
  docs.
- Webhook bound to 127.0.0.1 only. Coucou registers itself with the gateway
  (GOWA PATCH /devices/{id}/webhook, OpenWA POST /webhooks) and checks the
  HMAC-SHA256 signature on the raw body. Falls back to polling every 20 s.
- WhatsAppController keeps the conversations in memory only (last 20 per
  chat), cleared when turned off or on quit. No message content is logged.
- Pill integration_whatsapp (#25D366) with one row per conversation:
  initials, name, last message, unread count. Media shows as a label only.
  New message: Mochi's happy emote, the global sound setting, the usual
  island rules.
- Settings > Integrations > WhatsApp (experimental): off by default,
  warning, gateway, URL, credentials (Keychain), port, Test connection,
  QR shown in Coucou, mute groups unless mentioned, ignored chats, Focus.
- Tests: gateway payloads copied from the GOWA and OpenWA docs, OpenWA's
  signature fixture, inbox and filters (scripts/test-whatsapp.sh, in CI).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-18 15:31:47 +02:00
Claude 4ea862940a dev-install.sh: works with macOS's bash 3.2 (no "…" glued to a variable)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-16 22:53:17 +02:00
Claude 07e085ca4f scripts/dev-install.sh: one signed Coucou in /Applications, so macOS keeps its permissions
Builds DebugCloud (signed, iPhone link), installs it in /Applications (never over the App
Store Coucou), removes the Coucou.app copies earlier builds left in DerivedData and
unregisters them from Launch Services.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-16 22:45:56 +02:00
Daniel930902 5efccaa4a1 fix(codex): defer proven automatic reviews before relaying 2026-10-16 18:35:32 +08:00
Claude c6276017a6 Notetaker: remove the echo by the sound, merge a voice cut in two, correct misheard words
- Both recordings share one clock: the Mac's sound starts with the silence it missed.
- Echo: the Mac's sound is the reference; a microphone word with no more energy than
  its echo is the others'. Plus a word-level check for runs of their words.
- A speaker heard only in short bits goes back to the closest real voice.
- Claude corrects the transcript before the summary (checked, raw kept) and names
  people when the call says who they are.
- Fix a line, reassign it or delete it; corrected words are learnt for the next calls.
- Renaming a speaker with another's name merges them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-15 20:44:39 +02:00
Claude 7ae7d2f4fc release.sh: leave signing to project.yml so FluidAudio's targets build
Passing CODE_SIGN_IDENTITY and CODE_SIGNING_REQUIRED on the xcodebuild command
line applied them to every target, Swift packages included; FluidAudio's have
no development team, so the 0.4.0 release build failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-15 03:21:44 +02:00
Claude b7c25d2baa Notetaker: record a call, transcript person by person, summary and to-dos
Coucou Flow → Notetaker records the microphone (you) and the Mac's sound (the
others, through a Core Audio process tap) to 16 kHz WAV files, shows a live
transcript, then writes the whole transcript with Parakeet and tells the
voices apart with FluidAudio's offline diarizer. Echo of the speakers in the
microphone is removed, a recording with nobody on the Mac's sound is split by
voice instead. Claude (your key) or Apple Intelligence writes the summary,
key points and to-dos. Rename the people, tick the to-dos, copy as Markdown
or export. The pill shows the recording with a stop button. The audio is
deleted once the transcript is written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-14 18:15:22 +02:00
Claude c84ba14fb7 Coucou Flow window: history, statistics, dictionary, snippets, styles and settings of the dictation
A window like Wispr Flow's app, in the island's dark: the dictations of the
day with copy, the numbers (words, speed, days in a row, time saved, apps),
a dictionary and replacements, snippets, Claude's optional clean-up with a
style per app, and the dictation settings. Paste again with ⌃⌘V, the words
are marked transient for clipboard managers, and ⌘V follows the keyboard
layout. Opens from the menu bar and from Settings → Voice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-14 17:38:34 +02:00