Repository navigation
Coucou for Android 0.6.0: start a Claude Code session from the phone, spoken alerts - #1133
Merged
Merged
Conversation
Settings > Sound > Spoken alerts: the phone says one short line with Android's own TextToSpeech when a linked agent needs the user (a permission request or a question) or finishes, e.g. "Claude Code needs your approval". The line names the agent and the kind of event only: it never reads a command, a diff, a file name or a message, and it never answers or approves anything. Silent in Do Not Disturb, when the ringer is silent or on vibrate, during a call, and when the phone has no installed offline voice for the app's language (Settings then says so). No network call, no dependency, no permission; the engine exists only while the switch is on. The decision (speak or not, which line, which voice, never twice) is pure Kotlin in core/SpokenAlerts.kt with unit tests. Strings in the 16 languages; the machine-written ones are listed in i18n/REVIEW.md. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EMLAfnxNRTcLp4GtHWhuKm
What each of the two features does, what the phone sends, what the computer accepts and refuses, what is off by default, what is not included, what the Mac would need, and the decisions Louis may want changed. Committed before the code of Part 2 (starting a Claude Code session from the phone) so the design can be reworked. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EMLAfnxNRTcLp4GtHWhuKm
…f 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
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EMLAfnxNRTcLp4GtHWhuKm
A row on Home, "New Claude Code session", once a computer is paired. Its sheet lists the projects the computer offers (folder names, tapped, never a typed path), a text field for what Claude should do, and Send, which asks for the fingerprint or screen lock like Allow. It says what became of the request (sent, refused and why, no answer in 10 s) and what is missing (the computer does not offer this yet, no project yet, not connected). The words are not stored or logged. Protocol: the optional capability `launch` (docs/ANDROID_LINK.md). The phone sends a project id of the computer's list and the prompt, nothing else; a computer that does not know it offers nothing and the phone then sends nothing. Rules in core/LaunchFlow.kt (pure, unit tested); the client is tested against a plain-socket computer, the pretend computer (tools/dev-desktop.mjs --launch) and the real Rust server (RustDesktopInteropTest). Strings in the 16 languages, the machine-written ones listed in i18n/REVIEW.md. 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
versionName 0.6.0, versionCode 6. An "Android 0.6.0 — Unreleased" section in the CHANGELOG, a line under "Windows and Linux 0.6.0 — Unreleased" for the computer-side switch, and the README Android row (no link: nothing is tagged or published). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EMLAfnxNRTcLp4GtHWhuKm
The label of the quiet hours' end ("From … To") had been reused from the
"To" of a message's recipient: Kepada, Кому, 收件人, প্রতি, प्रति, Para.
It now says "until" in Indonesian, Russian, Simplified Chinese, Bengali,
Hindi, Spanish and Brazilian Portuguese. These seven are now Android's
own words, so REVIEW.md lists them for a native speaker.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Conflicts: README.md (the Android Versions rows from Louis-CFM#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>
…pproval 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>
Louis asked for Windows and Linux only; nothing on the Mac is built or planned in this release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
Three pills share the Vibration for a request row, about 90 dp each on a 360 dp phone; PillButton's 22 dp a side left under 50 dp for the label. PillButton takes a sidePadding (22 dp by default, so every other button is unchanged) and ChoiceRow passes 8 dp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Anil56
pushed a commit
to Anil56/coucou
that referenced
this pull request
Nov 22, 2026
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 (Louis-CFM#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Coucou for Android 0.6.0 (versionCode 6), with the Windows and Linux side of starting a session from the phone. As agreed by mail on 19 November: the two features you suggested, built as in
docs/ANDROID_0_6_PLAN.md, with your one change applied.What's in it
1. Start a Claude Code session from the phone (Windows and Linux)
--permission-mode default, whatever the computer's own Claude Code settings say. The island's own launch is unchanged. Tested inlaunch.rs(a_session_from_the_phone_always_starts_in_the_standard_permission_mode,only_the_phone_entry_point_uses_the_phone_origin) and inphone_link/tests.rs.launch(docs/ANDROID_LINK.md). An older computer or phone simply doesn't offer or ask for it.2. Spoken alerts (Android only)
3. A translation fix
The quiet hours' "To" label meant a message's recipient in seven languages (Indonesian, Russian, Simplified Chinese, Bengali, Hindi, Spanish, Brazilian Portuguese); it now means "until".
Checks
REVIEW.md; both are resolved and the strings were regenerated.android/i18n/REVIEW.md.Not done yet
You keep the merge and the tag.
🤖 Generated with Claude Code