mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-07 07:32:35 +09:00
Louis: "que je puisse littéralement tout demander à Coucou par la voix".
Questions (VoiceQuery, pure + tested): Stripe ("combien j'ai fait
aujourd'hui"), GitHub (stars, PRs, CI), Vercel (last deployment),
Resend, n8n, Notion, Cal.com (next booking), agents ("qu'est-ce qui se
passe sur mon Claude Code", approval waiting first), Claude/Codex plan
usage, music now playing, active pills, weather today/tomorrow. A phrase
with an action verb stays a command. Answers in French or English.
Data (VoiceDataSources, Mac): what the pollers already keep in AppState.
New network, only for services the user configured and only when asked:
- Stripe: today's succeeded charges (minus refunds) with their key;
- Open-Meteo weather: off by default, Settings → Voice toggle + city,
15 min cache.
Mail: "envoie (le fichier X des téléchargements) à Tana" → address from
Contacts (asked on first use; NSContactsUsageDescription + addressbook
entitlement on the GitHub builds), file from Downloads/Desktop/Documents
(most recent match), then Mail opens a compose window. It never sends:
the user clicks Send (CLAUDE.md).
Apps: "ouvre Figma" → /Applications, /System/Applications, ~/Applications.
On-device model: new ServiceTool returns the same real data, and the
instructions say to call it before answering about a service.
Tests: VoiceQueryTests 48/48 (Louis's own questions), new CI step.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
13 lines
426 B
Bash
Executable File
13 lines
426 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
echo "Running EntityResolver tests…"
|
|
swiftc -o /tmp/voice-entity-tests \
|
|
tests/VoiceTestStubs.swift \
|
|
tests/PillFixture.swift \
|
|
NotchBuddy/Sources/App/Voice/VoiceIntent.swift \
|
|
NotchBuddy/Sources/App/Voice/IntentParser.swift \
|
|
NotchBuddy/Sources/App/Voice/VoiceQuery.swift \
|
|
NotchBuddy/Sources/App/Voice/EntityResolver.swift \
|
|
tests/EntityResolverTests.swift
|
|
/tmp/voice-entity-tests
|