The merge commit of #1293 took a link to a local node_modules folder (a path in /tmp) into the
repository: npm install in windows/ would follow it. Gone, and windows/.gitignore now ignores a
node_modules link as well as the folder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
- community/mochis/: teams of Mochis as .mochis.json files with an index (name, description in
English and French, author, tags); three to start: Maintainer team, Night shift, Solo builder.
A README says how to share one.
- scripts/community-mochis.py checks every file (format, 1 to 12 Mochis, no secret, no local
path, no repository, nothing autonomous) and keeps the index's counts and faces in step; its own
CI workflow runs it when community/mochis/ changes.
- Mochis › Team › From the community: the index is read from GitHub only on a click, and Import
opens the import sheet on that file. The Mochis arrive off and asking first.
- 6 new strings in 16 languages.
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Co-authored-by: Claude <noreply@anthropic.com>
- Each card says where its AI comes from: runs on your Mac (Free), your Anthropic key (Cloud),
AI included (Solo, Pro, Max): Cloud at 9 Mochis next to Solo at 3 no longer reads as less for
more.
- The credits as work: "About N Mochi runs a month" (25 cents a run, an estimate said as one),
on the cards and as a row of the table.
- The page's first line says what a Mochi is; a sixth question says what runs in the Cloud.
- Said plainly: team leads, PR Triage and the chats stay on the Mac (Cloud card, table row).
- Solo, Pro and Max stay « Soon ». 10 new strings and the subtitle, in 16 languages.
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Co-authored-by: Claude <noreply@anthropic.com>
- iPhone: a Conversations button in Botan's chat lists Botan, each team (as its lead) and each
Mochi on its own, like a messaging app: the start of what it last did, when, a red mark if it
failed, and a badge for what waits for a tap (a lead counts its team's). A tap opens the thread.
- Mac: a Mochi's sheet shows what it got done over 30 days: PRs opened and merged since (checked
once with gh, then kept), reviews and replies posted, PRs closed, and the time saved (an
estimate). brain `mochi stats <id>`, 0.15.5.
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Co-authored-by: Claude <noreply@anthropic.com>
With the Coucou window open, one WebKitWebProcess stayed at about 100 % of a
core on Linux (KDE Plasma 5.27, X11, WebKitGTK 2.52.6), focused or not.
Measured per canvas, almost all of it was the sleeping Mochi of an empty
page (the Dictation page's empty history, shown at every launch until you
dictate): 60-75 ms a frame, growing over time, for a 64x64 canvas. Its z's
grow as they rise, so each frame set `ctx.font` to a new fractional size,
and WebKitGTK resolved and cached a new font every time. The z is now drawn
at one font size (32 px) and scaled: 0.3 ms a frame.
The window's canvases are also drawn at 30 frames a second with the focus
and 10 behind other windows, instead of 60: WebKitGTK paints and composites
each changed canvas in software, which cost about half a core at 60 even
with the font fixed. Mochi's engine is stepped in pieces of at most 1/30 s,
since its mouth spring is unstable above 0.08 s per step.
CPU of the whole app with the window open (Ubuntu 24.04, X11, RTX 2060):
0.5.9: ~100 % focused, ~100 % behind other windows
font fix only (60 fps): 49 % 46 %
font fix + 30/10 fps: 24 % 10 %
Nothing looks different apart from the frame rate.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Each bubble in an open conversation gets its hour underneath, small and
dim on the right like WhatsApp: the hour for today, the day and the hour
before that ("Oct 31 14:05"), in the app's language.
drawBot gave the canvas a new bitmap whenever Mochi's size changed, so every
frame of the island folding. WebKitGTK (Linux) kept the last bigger bitmap on
screen: a frozen second Mochi, in his last pose, over the compact island,
while the real one went on following the cursor under it. The bitmap now
only grows (at least 120 px, the biggest Mochi of the island) and Mochi is
drawn centred in it, which also spares an allocation per frame.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
With "Show clock in the island" and the Claude plan pill in the compact island
both on, the date and time ran under the pill (the clock spans left 50 px to
right 56 px, the pill sits at right 58 px). The compact island now widens by
64 px when both show, and the clock ends where the pill starts.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
When the closed island shows anything but Mochi (time, date and time, plan
usage, music, empty), the frame loop stopped as soon as the island folded,
before Mochi's size and position springs settled. He stayed frozen half-way,
big, over the closed island. The loop now waits for him to settle whatever
the closed island shows; it still stops right after, so a hidden island
costs nothing.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
GitHub offers fine-grained tokens no Checks permission, so the pulse's
statusCheckRollup can't read check runs with one: each repository or pull
request whose CI runs on GitHub Actions comes back with a GraphQL error, and
the pill shows no CI status for it. Says so next to the token's permissions,
in windows/README.md and docs/INTEGRATIONS.md.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
alsa-sys (the dictation's audio) needs ALSA's development files: on a fresh
Ubuntu 24.04 the build stops at `pkg-config --libs alsa` without them.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Made again from the Mac's catalog, strings.json now holds Details, Error, Questions, Off,
Microphone, not installed and Send Mochi to the desktop: their copies in extra.json go (the
test says extra.json never shadows the Mac), and Allow reads "Erlauben" in German, the Mac's word.
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Co-authored-by: Claude <noreply@anthropic.com>
The Mac's catalog gained strings (Mochi teams, leads, Telegram) without strings.json being made
again, so the Windows test "strings.json is what the generator makes of the Mac's catalog"
failed on main. Generated with node scripts/gen-strings.mjs, nothing written by hand.
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Co-authored-by: Claude <noreply@anthropic.com>
- The straw hat's brim goes from 1.62 to 1.18 head widths: it shades Mochi
without spilling out of his space (Mac, Windows and Linux, Android).
- Prod Watch on the team: its addresses instead of a level and a budget, no Run
now, and "No AI" instead of the Claude plan note (it only checks addresses).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Same drawing as windows/src/mochi/outfits.ts, line by line: the outfit trace now
covers them, with dashed strokes and the headlamp's additive light written down,
and the parity test checks every call. Names in the 16 languages. The phone link
test channel holds all the outfits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Mochis page: a gallery of the nine ready-made Mochis under the team (Add asks
for the repository, or Prod Watch's addresses), what starts each one in its
tag, its repository, and each proposal waiting for the click (Open the PR,
Post the review, Post the reply, Discard). The editor keeps a repo Mochi's
kind and repository, and has a weekly schedule. The notch card says when a
repo Mochi has something ready and its button does the click.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Headlamp, hard hat, monocle, knight helm, deerstalker, captain hat, headset,
aviator cap and straw hat (stored as gardenHat: strawHat was a removed Mac
value). Drawn in code on Mac and Windows, named in every language, in the
wardrobe for everyone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
The closed (asleep, blink, yawn) eyes were arcs nearly twice an open eye's width: on a small
Mochi they met in the middle. They are now two small arcs about as wide as an open eye,
the same on the Mac and iPhone, Windows and Linux, Android and the prototype.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
the_pane_list_is_capped fills the process-wide list past its limit; run in
parallel with a_session_end_forgets_the_pane, it could evict that test's pane
before its lookup. It failed the linux-v0.6.0 release build once. A lock in
the tests module serializes the two.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Windows and Linux 0.6.0: start a Claude Code session from the island or
from Coucou for Android 0.6.0, drop a file on a session, approve
Antigravity and OpenCode. Version 0.6.0 in Cargo, npm, Tauri and the Arch
PKGBUILD; CHANGELOG dated; README rows, Linux links and paragraph.
What's new: the session item says island (no notch on a PC), and the phone
launch replaces the « OK Coucou » item; 14 languages, the test passes.
Android 0.6.0 (#1133 by @Rhytam23): CHANGELOG dated, README row and
download links, docs/android.html and docs/index.html point to android-v0.6.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
As Louis asked: the Linux terminal runs an interactive login shell, so a
user's alias or shell function named claude still applied, and an alias
such as claude='claude --dangerously-skip-permissions' would have
reached a session started from the phone. The phone's launch now uses
'command claude', which takes the program on $PATH only. The island's
own launch is unchanged; Windows already skipped aliases with
Get-Command -CommandType Application.
Tests: the phone's command on zsh, bash and fish, with and without a
prompt; the island keeps plain claude.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
openai_compat's a_pdf_with_text_is_inlined_as_file_contents and
mail::pdf's a_pdf_is_cut_into_pages_with_their_text both used
coucou-pdf-<pid>. Tests run in parallel in one process, so when the
mail test removed the folder first, the chat test could no longer save
its PDF (NotFound at openai_compat.rs:496). Seen on CI on 19 November.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As Louis asked: Claude Code started from a phone always gets
--permission-mode default, whatever the computer's own Claude Code
settings say, so a phone can never start a session that skips approval.
The island's own launch is unchanged.
launch.rs: Origin (Island, Phone) carries the flag into the Linux shell
command and the PowerShell script; launch_from_phone is the phone's
entry point and phone_link calls only it. Tests: the flag on Linux and
Windows, with and without a prompt, in Windows Terminal and in a
console; a prompt that tries to pass its own flags stays in the
environment; only launch_from_phone uses the phone origin; phone_link
never calls launch_session.
Plan, ANDROID_LINK.md and CHANGELOG updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts: README.md (the Android Versions rows from #1098 next to the
0.6.0 row) and android/i18n/REVIEW.md (regenerated with gen-strings
--review). All generated strings files regenerated; --check passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- docs/index.html: a Botan card under the coffee one ("Join the founders ↗",
louisraille.fr/botan), with Botan's mark in docs/media/botan.svg.
- Mac and Windows/Linux: the "Your Coucou so far" step of the What's new card
has one more line, "Botan: Mochi is leaving the notch. Join the founders ↗".
Two new strings in the 16 Mac languages, strings.json regenerated.
- Windows: the What's new card is 248 px tall (was 222) so the worst case
(six numbers and a two-line thanks) still fits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Settings > Android phone > "Let the phone start Claude Code sessions",
off by default and owned by Rust like the other phone switches. With it
on, a phone that asks for the new `launch` capability is told the
island's projects (folder names and opaque ids, never a path) and may
ask for a session in one of them with a prompt.
There is no second launcher: the request ends in launch::launch_session,
the function behind the island's own card, so the prompt is handed over
the same way and is never written into a command line. The phone cannot
name a folder, a command or an option; the switch is read again for
every request; starts are rate limited; the prompt is not logged.
An older phone never asks for `launch` and is sent nothing new; to a
phone that did not negotiate it, the message is an unknown type.
Tests through the real TLS server in phone_link/tests.rs (mod launch).
See docs/ANDROID_0_6_PLAN.md; the design is still to be reviewed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMLAfnxNRTcLp4GtHWhuKm
The "Away from home Wi-Fi" block stays hidden until a relay is ready for everyone, but now shows when Coucou starts with
COUCOU_RELAY_SETTINGS=1, or when a relay is already on. Without it, nobody could reach a relay, so the Android 0.5 relay
fixes (#19, #30 on Rhytam23/coucou) could not be tested. Nothing changes for other users.
- phone_relay_status carries `shown`; Settings → Android phone inserts the block only when it is set.
- docs/RELAY_DEPLOY.md says how to start Coucou with the variable; CHANGELOG notes it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Flow → Settings → Hide the pill until I dictate (off by default): the resting
pill is not shown; it comes for a dictation, a call being recorded, a message
or « OK Coucou », and leaves again. The dictation key works as before.
One preference (hidePill), one row on the Flow settings page in its existing
style, the two texts in the 13 languages.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Ports of the Mac's LaunchScript/SessionLauncher and SessionDrop.
New Claude Code session: a terminal tab in the island's header opens a card
(Mochi on the left, the project, "What should Claude do?", the send arrow).
The projects are the folders Claude Code sessions ran in (from SessionStart
and UserPromptSubmit), most recent first, ten at most, never a home folder
or a root, kept in the webview's storage; "Choose a folder…" is the system
picker (IFileOpenDialog on Windows, zenity or kdialog on Linux). Rust opens
the terminal in the folder running claude with the prompt, never spliced
into a command line:
- Linux: $TERMINAL, x-terminal-emulator, gnome-terminal, ptyxis, konsole,
kitty, alacritty, wezterm, foot, xterm, running
$SHELL -lic 'claude "$COUCOU_PROMPT"; exec $SHELL -l' with COUCOU_PROMPT
set on the terminal's process.
- Windows: Windows Terminal (wt.exe -d <folder> pwsh|powershell ...), else
PowerShell in a new console. wt.exe's tabs don't get its environment
(microsoft/terminal#11094), so the prompt goes into a temp file of ours
that PowerShell reads into $env:COUCOU_PROMPT and deletes; claude is taken
with Get-Command -CommandType Application (never npm's claude.ps1).
Drop on a session: while a file is over the drop card, up to three sessions
are listed on its right ("Or into a session"). Letting go over one folds the
island, brings that session's window forward (the "Open terminal" lookup)
and pastes the path(s) with Flow's paste, escaped as a terminal drag writes
them, then a space (Ctrl+V on Windows, Ctrl+Shift+V on Linux). When the
window can't be found the text is copied and a note says so. Elsewhere on
the card the drop works as before. Hit-testing uses the Win32 cursor poll on
Windows and the drag events' position on Linux.
The command lines are pure, unit-tested Rust (launch.rs); the card logic,
the remembered projects and the drop hit-testing have TS tests. The
Windows-only parts (wt/PowerShell spawn, IFileOpenDialog) could not be
compiled here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Port of the Mac's "Approve commands from the notch" (#934). Antigravity has
no permission request: it runs PreToolUse before its own permission check and
waits for the hook's decision. With Settings → Agents → Antigravity →
Approve commands from the notch (off by default, shown once the hooks are
installed), a run_command that none of Antigravity's command(...) rules
covers waits on the island's card: Allow prints {"decision":"allow"}, Deny
{"decision":"deny","reason":"Denied from Coucou"}, and Reply in terminal, no
click, a full card or Coucou closed print {"decision":"ask"}. Coucou never
allows a command without a click.
- agy_rules.rs: AgyPermissionRules.swift in Rust (CLI settings, global
grants, the session's project or "outside of project"), with the Swift
tests plus Windows folder URIs and paths.
- agy_approvals.rs: the gate (setting, run_command, hooks.json timeout >=
120 s, rules verdict unknown, wait min(timeout - 10, 110) s) and the
setting's commands, owned by Rust like the phone switches.
- Relay: Antigravity's PreToolUse is tagged coucou_kind agy_pre_tool and
reads one line: "ask" at once, or "pending" then allow / deny / ask. 3 s
for the first line, 115 s once pending. A command longer than what the
relay forwards is flagged and gets no card.
- App (pipe.rs): the event goes to the island as usual, then the card as a
PermissionRequest; "pending" once the island acks it.
- PreToolUse hook installed with a 120 s timeout; Settings shows the Mac's
"install again" hint for hooks written with 10 s.
- Card: Deny, Allow and Reply in terminal for Antigravity only. Mac strings
reused (all already in strings.json), no extra.json entries needed.
- CHANGELOG, windows/README.md, docs/AGENTS.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT