Commit Graph
2 Commits
Author SHA1 Message Date
Claude cb46e73642 Windows and Linux: the Coucou window, its Flow pages and the pill
The settings window becomes the Coucou window: a sidebar with Flow (dictation,
the Notetaker, statistics, dictionary, snippets, styles, settings) and Notch
(the island's settings, unchanged, one page per section), each page under its
band of walking Mochis. The pill's page, the translations, ALSA for the builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-15 01:19:02 +02:00
Louis RailleandClaude Opus 5 d68e00baf4 Windows: Claude Code hooks and approving from the island
- coucou-hook.exe (crate `windows/hook`) relays hook events over the named pipe
  `\.\pipe\coucou-<user>`. 300 ms to connect, then it gives up silently: if
  Coucou is closed, slow or crashed the session carries on untouched. Only
  PermissionRequest waits for an answer, and when none comes it still writes
  nothing, so Claude Code falls back to asking in the terminal rather than us
  denying anything behind the user's back.
- The app copies the relay into %LOCALAPPDATA%\Coucou\bin at launch and answers
  with the same decision JSON as HookServer.swift.
- Hook installation follows the CLAUDE.md rule exactly: read, dated backup,
  merge without touching anyone else's hooks, show the diff, write only on an
  explicit click. Uninstall removes Coucou's entries and nothing else. The hook
  command is just the quoted exe path in forward slashes plus the event name,
  because Claude Code runs hook commands through Git Bash on Windows.
- New settings window (second Tauri window) with the Claude Code section and the
  general preferences; the tray "Settings…" opens it.
- Click-through moved into the Rust cursor poll: the island rect is pushed from
  the front end and the flag flips in the same 16 ms tick as the cursor read. The
  previous IPC round trip lost clicks on buttons the cursor reached quickly.
- Log at %LOCALAPPDATA%\Coucou\coucou.log (the nbLog equivalent), written by both
  the Rust side and the island. Nothing leaves the machine.

Verified end to end with the real relay: Allow, Deny, Always, and app closed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-29 21:01:10 +02:00