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.
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>
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
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>
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
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
- #991 compiles (var task) and the Hermes plugin keeps the terminal's own bundle id.
- #1022 keeps one renderer per window (a crash no longer takes all four).
- #1038 cuts a long PDF's text on a character boundary; its timer-only test goes.
- #1062 runs herdr only from a path to a program named herdr.
- #1055 Coucoudoro: one timer at the phase's deadline instead of a half-second tick.
- #952 "As heard" in the 16 languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
- DictationLanguageMenu is shared with the new-session card.
- The Rust approvals test lists OpenCode (#442).
- The notes export test (#1007) stubs window listeners, which the Coucou
window's hero now adds.
- strings.json regenerated from the Mac catalog.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
The dictation key could only be Right Ctrl, Right Alt, Right Shift or
Ctrl + Win. Left Ctrl, Left Alt and Left Shift join them, and "A shortcut
of your own…" records any keys held together (Alt + Shift + F, F9…, up to
four): press them in Settings, let go, they are kept.
Underneath, every choice is now a list of keys (KeyboardEvent.code names,
mapped to virtual keys on Windows and keysyms on X11) watched by the same
combo logic. On Windows a shortcut's own letter is kept from the app in
front while the keys are held, and a held Alt or Win is masked so letting
go opens no menu.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Hovering the closed island went straight to the open island when Open on
hover was on. A PC has no notch, so the pointer crosses the closed island
far more often than a Mac's notch: it now always brings the compact island
first, and Open on hover opens it once the pointer rests on it for half a
second. Passing over it opens nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
A PC has no notch, so a closed island used to shrink to an invisible 6 px
strip at the top of the screen, and when that strip failed the island was
gone for good. It now keeps a small black island there while Coucou runs,
as a Mac does on a screen without a notch: Mochi in it (the default), or
the time, the date and the time, the Claude plan's usage, what's playing,
or nothing. Settings → General → Closed island shows; Hide the island
keeps the old strip. Hovering it brings the compact island back, and the
folded window is exactly its size, so nothing polls the cursor.
The open island gets the Mac's ✕ to fold it at once, the header uses the
Mac's line icons at the Mac's size, and the card's ↗ is readable again.
The cursor poll stops telling the page about a cursor far from the island.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
- The app watches the relay's connection while a card is up: when Claude
Code ends the relay because the prompt was answered in the terminal or
the Claude app, the island gets hook-resolved and the card goes at once.
- The card also goes when the very tool call it asked about runs.
- coucou-hook notices when the shell that ran it (Git Bash, cmd) is gone
and exits, so an orphaned relay no longer keeps the card up.
Claude Code also submits text the user never typed: a background task's
<task-notification>, system reminders, slash-command echoes. The session's
step line showed them as raw tags. promptStep now shows a notification's
summary, a command's name, or the prompt with its tags removed.
The month's navigation, weekday names and Open Cal.com action now stay inside the island card while only the weeks scroll, using the Mac's 18 px day rows so two weeks and the top of the third show at once. The day and booking views scroll their calls and details the same way, and the fixed 220 px height that was taller than the card is gone.
Follow-up to the approval queue:
- a request that waits in line no longer switches the island to its view
(a queued question turned the approval card into a question view) and no
longer plays its sound twice; its pill gets the approval badge instead;
- every request gives up on its own 110 s clock, checked by id: the first
card's timer could drop the request promoted after it;
- a turn that ends releases its requests still in line at once, before the
card goes, so a moot request never takes the card;
- the next request comes up through island.alert, like a new one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
On main the pill re-attaches its capsule only when it has no parent, and
puts its bubble first with prepend (#760). The fake DOM left parentNode set
after replaceChildren/removeChild and had no prepend, so #699's pill tests
failed against main although a real DOM behaves as the page expects.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Resolves the conflict with the settings search (#996): the sidebar groups
now live in their own container, the Mail group is kept, and the hub tests
give the search field an empty value, since the fake DOM keeps none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
As on the Mac, the pill that was shown comes back when the island closes
(any close, not only the collapse button). The 5.2 s return to idle no
longer swaps the pill under an open island, where the finished card would
then have named the wrong pill; an agent pill about to be removed still
hands the front back at once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
Port the Coucou window settings search to Windows and Linux:
- Add search box beneath brand header in the sidebar with query normalization and keyboard navigation (Enter opens first match, Escape clears)
- Implement pure SettingsSearchMatch algorithm and index in search.ts matching SettingsSearch.swift
- Add data-anchor hooks and smooth scroll with glow animation across Flow and Mail pages
- Add unit tests verifying words normalization, match parity, and section lookups
The Mail pill (Windows only) reads the classic Outlook already open, through
its COM objects in a small PowerShell script: no sign-in, no app registration,
no admin consent; Coucou never starts Outlook. Same features as the Mac:
search and quick filters, actions on a message, the Mail section (automatic
sorting, rules, banned words, VIPs, journal with Undo, what Coucou sent), and
the chat's Mail switch with plans that run only after Run (mail merge: the PDF
is cut with lopdf and each page goes to its recipient).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT