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
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>
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
- #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 card's ↗ always opened web.whatsapp.com, which on Windows sends you to
a "download WhatsApp" page even with WhatsApp Desktop installed. It now
opens WhatsApp Desktop (the Microsoft Store app registers `whatsapp:`) at
the conversation open in the card when it is a person's, and the app as it
is otherwise. WhatsApp Web in the browser stays the fallback when no app
handles `whatsapp:` links (on Linux, xdg-mime's x-scheme-handler), now at
the same chat too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The island never disappears (Mochi or the time when closed, ✕ to fold),
dictation keeps your language, any dictation key, silence while you speak
on Windows, the Coucou window comes alive, a forgotten call stops by
itself; Claude API models (#1000) and Flow saves (#1003) by @lazarevtill.
CHANGELOG, README and What's new in the 14 languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
While Coucou listens to you (hold-to-dictate, and the question after
« OK Coucou »), every other app's session in the Windows mixer is muted:
a video, music or a call no longer gets in the way of your voice. Coucou's
own sounds keep playing, sessions the user had muted stay theirs, and only
the ones Coucou muted get their sound back once it has heard you. The list
is kept on disk, so a Coucou that quits mid-dictation gives the sound back
at the next launch. On by default; Flow → Settings → Microphone.
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
A cursor-poll tick still running as the island folded could make the
folded window click-through again after set_collapsed made it take the
mouse: nothing could ever wake the island (the closed island froze, and
before it the wake strip vanished). The poll now stops before the window
folds, sets click-through only under the gate's lock while it is open,
and, folded, glances at the cursor four times a second and wakes the
island itself when it is on it.
Mochi in the closed island blinks and looks around every few seconds, as
on a Mac without a notch, with the loop asleep in between.
A call left recording ran the microphone and Parakeet for hours (8 h in
one log), then took as long again to write. It now stops by itself after
15 minutes with nobody speaking, or after 4 hours, and says so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
A dictation starts the moment the key goes down: the microphone opens
with a click and the first word is already under way. Parakeet, which
guesses the language by itself, then often started in English and went
on mixing ('Okay, that marche plutôt bien. Moi, le truc is that…'). Each
stretch now reaches the model with half a second of silence before it and
a little after, as a call always has, and stays in the language spoken.
Word times are shifted back, so the Notetaker's timeline is unchanged.
The window's text-field style drew a second box inside the sidebar's
search field.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
WebView2 gives a window created hidden no animation frames, so on Windows
the top bands and glowing cards never drew: no particles, no Mochis, and a
grey card instead of the deep black. The loop now falls back to a timer
when no frame comes, trusts the focused window, and the bands paint their
black and colour themselves before the canvas runs. While you dictate,
their light and particles follow your voice. Scrollbars are the Mac's thin
rounded thumb, without arrows.
dev/hub-preview.html and dev/island-preview.html show both windows in a
browser with a stand-in for Tauri.
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.
- The island and its windows stay tool windows without WS_EX_APPWINDOW,
so no taskbar (Windows' own or a replacement) and no Alt+Tab lists them.
- Toggling click-through rebuilds the extended style and dropped those
bits; platform::set_click_through puts them back right after.
- The island and desktop cursor polls use it (Linux keeps the plain call).