Triggered by Anything, Spoken in Order
Whether an Antigravity turn finishes, a Signal message arrives, a Pixel voice note syncs, or a nightly build script completes, every caller feeds into one warm local daemon with a serialized, priority-aware speaker queue.
Antigravity Hooks
Automatic Attention Hooks
Non-blocking hooks.json + run_hook.py returns in <50 ms while alerting you asynchronously when:
ask_question— Agent asks you a questionstop_done— Long task finished and idlestop_error/stop_limit— Needs attentiontool_error— Optional tool failure alert
Localhost HTTP + OpenAI
Warm Local Trigger Daemon
Runs locally on http://127.0.0.1:8765 keeping Kokoro-82M warm in memory:
POST /speak&POST /notifyPOST /chime,POST /play,POST /stopPOST /v1/audio/speech— drop-in OpenAI TTS API (tts-1→ Kokoro,tts-1-hd→ Qwen3)
Zero-Code Automations
Drop-Folder Inbox Watcher
Drop any .txt or .json file into ~/RoshiSpeech/inbox/ from batch scripts, cron, or Task Scheduler. The daemon speaks it within 500 ms and archives it to inbox/processed/.
Wire Into Roshi's Recorder MCP & Signal MCP
# Recorder MCP watch rule command action (new Pixel voice note synced):
powershell -NoProfile -File "$HOME\.gemini\config\plugins\roshi-speech-mcp\speech-tool.ps1" notify attention "New Google Recorder note: {title}"
# Signal MCP watch rule command action (priority message arrived):
powershell -NoProfile -File "$HOME\.gemini\config\plugins\roshi-speech-mcp\speech-tool.ps1" notify attention "New Signal message from {sender}: {preview}"
# Drop-folder trigger from any script:
Set-Content -Path "$HOME\RoshiSpeech\inbox\alert.txt" -Value "Backup completed successfully."