Commit Graph
455 Commits
Author SHA1 Message Date
Claude 682150c791 Windows and Linux: strings.json made again from the Mac's catalog
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.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-12-03 20:50:15 +00:00
Louis 90e11e1997 Merge pull request #1182 from Louis-CFM/mochis/presets
Ready-made Mochis: nine agents for the dev environment
2026-11-29 22:13:56 +01:00
Claude 56d108d3ad Straw hat: a shorter brim; Prod Watch's card says what it is
- 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
2026-11-29 20:45:08 +00:00
Claude 40aa47febf Outfit names: German deerstalker, and the words that are the same in English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-29 18:02:23 +00:00
Claude 8410b79337 Android: the nine new outfits, drawn like on the PC
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
2026-11-29 17:53:35 +00:00
Claude 045f261a2b Phone link: the nine new outfits are sent to the phone too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-29 17:12:45 +00:00
Claude 0571449d21 Mochis: the gallery of ready-made Mochis, and their proposals
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
2026-11-29 17:07:58 +00:00
Claude 86423b4686 Nine new outfits for the ready-made Mochis
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
2026-11-29 17:03:17 +00:00
Claude 640a16ffd1 Patterns: Make it a Mochis
The button reads Mochis, the product name, in the 16 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-29 01:49:52 +00:00
Claude 2bd7647bb5 Windows: « You » now comes from the Mac's catalog, not extra.json
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-29 00:07:07 +00:00
Claude 1c58d3fb6f Windows: regenerate strings.json from the Mac catalog (Memory and Mochis strings)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-29 00:05:28 +00:00
Claude 7bd5313422 Mochi: smaller closed eyes, well apart
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
2026-11-28 20:54:27 +00:00
Claude 844d9f1e4f Tests: the two herdr tests that share the pane list no longer run at once
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
2026-11-21 20:52:54 +00:00
Claude b85bb19e1c Release prep: Windows and Linux 0.6.0, Android 0.6.0
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
2026-11-21 20:27:24 +00:00
Rhytam Biswas a219e4124b Merge remote-tracking branch 'upstream/main' into feat/android-0.6.0 2026-11-20 22:04:09 +05:30
Rhytam BiswasandClaude Opus 5.5 3a565329b3 Linux: a session from the phone runs 'command claude', never an alias
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>
2026-11-20 22:04:09 +05:30
Rhytam BiswasandClaude Opus 5.5 7f62dbdaea Windows and Linux tests: the chat PDF test gets its own temp folder
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>
2026-11-19 22:49:39 +05:30
Rhytam BiswasandClaude Opus 5.5 542feca025 Windows and Linux: a session started from the phone always asks for approval
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>
2026-11-19 22:05:32 +05:30
Rhytam BiswasandClaude Opus 5.5 a34a8febd3 Merge Louis-CFM/coucou main into feat/android-0.6.0
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>
2026-11-19 22:02:52 +05:30
Louis 67ae9e2a46 Merge pull request #1100 from Ohualtex/fix/windows-pipe-and-relay-hardening
fix(windows): authenticate pipe clients, restrict dir ACLs, and hash-verify relay (#1076)
2026-11-19 12:14:22 +01:00
Louis 4ffc97a677 Merge pull request #1095 from Ohualtex/fix/windows-n8n-card-and-poller
fix(windows): populate n8n card on initial load and emit execution updates (#1093)
2026-11-19 12:14:07 +01:00
Claude 3396ab1c6a Botan: the founders list on the Coucou page and in the card after an update
- 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
2026-11-18 17:07:45 +00:00
Ohualtex 2a6893d3a1 fix(windows): authenticate pipe clients, restrict dir ACLs, and hash-verify relay (#1076) 2026-11-14 22:15:23 +03:00
Claude 6c7649a3fb Windows and Linux: let a paired phone start a Claude Code session (off by default)
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
2026-11-14 06:11:06 +00:00
Ohualtex 7eb42d79d1 fix(windows): populate n8n card on initial load and emit execution updates (#1093) 2026-11-13 17:06:54 +03:00
Claude 6bc221c782 Windows and Linux: show the relay settings to testers
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
2026-11-12 22:46:34 +01:00
Rhytam BiswasandClaude Fable 5.2 f258e0a313 Windows and Linux: Flow can hide the pill until you dictate
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>
2026-11-10 23:27:14 +05:30
Claude e693a8121d Windows and Linux: start a Claude Code session from the island, drop a file on a session (port of the Mac's)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-06 14:04:19 +01:00
Claude 497c7ea075 Windows/Linux: start a Claude Code session from the island, drop a file on a session
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
2026-11-06 14:04:00 +01:00
Claude 3227ae5b8b What's new for 0.6.0 (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-11-06 13:25:54 +01:00
Claude 5461634c49 Windows and Linux: approve Antigravity commands from the island
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
2026-11-06 13:13:25 +01:00
Claude 357e02e232 Merge follow-up for #726: the closed island's hover wake keeps it off the taskbar too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-06 12:56:51 +01:00
Claude d27801e616 Merge #791: « OK Coucou » with a Spanish accent (alexisrja)
Kept with the Brazilian spellings from #828; "go go" left out: "okay, go go"
is something people say, and the microphone is always on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-06 12:54:42 +01:00
Claude 5ab86b989f Merge #735: fix(windows): task notifications no longer show as the session's prompt (arnavaggarwal-dev)
# Conflicts:
#	windows/src/island/hooks.ts
2026-11-06 12:54:28 +01:00
Claude a825d59b6f Merge #726: fix(windows): keep the island and overlays off the taskbar (arnavaggarwal-dev) 2026-11-06 12:54:14 +01:00
Claude 249149f9f2 Merge #828: Windows/Linux: « OK Coucou » wakes with a Brazilian Portuguese accent (#813) (afpruivo) 2026-11-06 12:54:12 +01:00
Claude f2dfd1d387 Merge #906: Linux: instant page switches in Settings (key presence from memory) (RomainBrocheton) 2026-11-06 12:54:12 +01:00
Claude 646e482d2c Merge #731: fix(windows): the upload bar and percentage move with Mochi (arnavaggarwal-dev) 2026-11-06 12:54:10 +01:00
Claude e9bcf07212 Merge #696: Windows and Linux: a failed drop's note no longer reopens a folded island (mahach666) 2026-11-06 12:54:10 +01:00
Claude e7d09ec0e4 Merge #695: Windows and Linux: Settings → General follows changes made from the island (mahach666) 2026-11-06 12:54:09 +01:00
Claude 56a4f76dba 0.6: small fixes on merged pull requests
- #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
2026-11-06 12:54:08 +01:00
Claude db57f1bb94 Merge #1055: Coucoudoro: a work and rest timer in the notch (PeachyCad) 2026-11-06 12:52:55 +01:00
Claude 7f281c9fda Merge #1062: Open terminal: select the session's pane in herdr (Brezinben) 2026-11-06 12:52:54 +01:00
Claude 78088eab0a Merge #1038: fix(chat): support PDF text extraction for Google AI and resolve drag exit freeze (#608) (Ohualtex) 2026-11-06 12:52:53 +01:00
Claude c25979b1b5 Merge #1022: Windows: less memory from the webviews nobody is looking at (CODEX-cpp) 2026-11-06 12:52:53 +01:00
Claude 0530896766 0.6: fix the build after the merges
- 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
2026-11-06 12:52:33 +01:00
Claude 6589c3a74f Merge #1063: Flow: one press of the key starts hands-free (Brezinben) 2026-11-06 12:44:11 +01:00
Claude 0543b0d37f Merge #1070: Windows: WhatsApp's ↗ opens WhatsApp Desktop, at the open chat (Joshuabarradas234) 2026-11-06 12:44:10 +01:00
Claude c8732ef1b0 Merge #1007: Windows: choose the destination for Markdown note exports (lazarevtill) 2026-11-06 12:44:09 +01:00
Claude e1e6f5cd5d Merge #1006: Windows/Linux: show Cal.com booking details with bounded pagination (lazarevtill) 2026-11-06 12:44:08 +01:00