← Commit history

Publish 1.0.2

John Lauer ·6e9fc36e32 ·4mo ago ·parent 47f16fc
3 files changed +10−8
SKILL.md+7−3
@@ -29,13 +29,17 @@ synthesizes, you think it played, and they get silence. So ALWAYS match the play **surface** to their window mode:  ```bash-# 1. Detect the surface+# 1. Detect the surface from the user's window mode MODE=$(adom-cli hydrogen probe | python3 -c "import sys,json;print(json.load(sys.stdin).get('window_mode','hydrogen'))") SURFACE=$([ "$MODE" = "pup" ] && echo pup || echo hydrogen) -# 2. Narrate to THAT surface+# 2. If the relay has >1 client, the pup player's browser_open_window is+#    AMBIGUOUS and fails silently. Pin it to the user's host:+export ADOM_DESKTOP_TARGET=$(adom-desktop status | python3 -c "import sys,json;print(json.load(sys.stdin).get('hostname',''))")++# 3. Narrate to THAT surface. NOTE: --thread is a `play` flag, NOT a `say` flag. adom-tts say "This is the <thread> thread — <your spoken answer>" \-  --thread "<thread>" --play --surface "$SURFACE" --out /tmp/reply.mp3+  --play --surface "$SURFACE" --out /tmp/reply.mp3 ```  ## How to narrate well
package.json+1−1
@@ -4,7 +4,7 @@   "slug": "im-driving",   "title": "I'm Driving \u2014 hands-free narration",   "brief": "When the user is driving, narrate replies aloud via adom-tts (to the correct pup/hydrogen surface).",-  "version": "1.0.1",+  "version": "1.0.2",   "description": "Hands-free / drive-mode entry skill. On any 'I'm driving' / 'read me' signal, narrate the answer through the Adom Desktop TTS player instead of text \u2014 and match the play surface to the user's window_mode so it's actually audible.",   "license": "MIT",   "dependencies": {
page.json+2−4
@@ -4,7 +4,7 @@   "slug": "im-driving",   "title": "I'm Driving — hands-free narration",   "brief": "When the user is driving, narrate replies aloud via adom-tts (to the correct pup/hydrogen surface).",-  "version": "1.0.1",+  "version": "1.0.2",   "description": "Hands-free / drive-mode entry skill. On any 'I'm driving' / 'read me' signal, narrate the answer through the Adom Desktop TTS player instead of text — and match the play surface to the user's window_mode so it's actually audible.",   "license": "MIT",   "dependencies": {@@ -33,9 +33,7 @@     "name": "John Lauer",     "email": "[email protected]"   },-  "visibility": {-    "public": true-  },+  "visibility": "public",   "discovery_triggers": [     "I'm driving",     "I am driving",