whazaa 0.6.23 → 0.6.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +23 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -174,6 +174,8 @@ Works in English, German, and 90+ other languages. Transcription runs entirely o
174
174
 
175
175
  Send `/ss` from your phone and the watcher captures the active Claude session's iTerm2 window and sends it back to WhatsApp as an image. Useful for checking on long-running tasks without switching to your desk.
176
176
 
177
+ The watcher raises the correct window and selects the correct tab before capturing, so you always get the right session — even if iTerm2 is in the background or another window is on top. If no session is tracked yet (e.g. after a watcher restart), it auto-discovers the first live Claude session.
178
+
177
179
  ### Session Management (from Your Phone)
178
180
 
179
181
  You can control your Claude sessions from WhatsApp itself. Send these commands to your self-chat:
@@ -227,7 +229,7 @@ Sends a message to your self-chat. Supports Markdown formatting converted to Wha
227
229
  Optionally send as a TTS voice note by setting the `voice` parameter:
228
230
 
229
231
  ```
230
- voice='true' Use default voice (bm_fable)
232
+ voice='true' Use the configured default voice
231
233
  voice='bm_george' Use a specific voice
232
234
  ```
233
235
 
@@ -281,7 +283,7 @@ Default voice: `bm_fable`
281
283
 
282
284
  Parameters:
283
285
  - `message` (required) — text to convert to speech
284
- - `voice` (optional, default `bm_fable`) — voice name from the table above
286
+ - `voice` (optional) — voice name from the table above; omit to use the configured default
285
287
  - `recipient` (optional) — phone number, JID, or contact name; omit for self-chat
286
288
 
287
289
  ### whatsapp_speak
@@ -290,7 +292,7 @@ Same TTS engine as `whatsapp_tts`, but plays audio through the Mac's speakers in
290
292
 
291
293
  Parameters:
292
294
  - `message` (required) — text to speak aloud
293
- - `voice` (optional, default `bm_fable`) — voice name (same list as `whatsapp_tts`)
295
+ - `voice` (optional) — voice name (same list as `whatsapp_tts`); omit to use the configured default
294
296
 
295
297
  ### whatsapp_voice_config
296
298
 
@@ -394,6 +396,24 @@ Reply `/s` to get a numbered list of open Claude sessions with their working dir
394
396
 
395
397
  Switch to a session with `/1`, `/2`, etc. Switch and rename in one step with `/1 My Project`. Session names are stored as iTerm2 session variables and persist across watcher restarts.
396
398
 
399
+ ### /ss (screenshot)
400
+
401
+ ```
402
+ /ss
403
+ /screenshot
404
+ ```
405
+
406
+ Captures the active Claude session's iTerm2 window and sends it back as a WhatsApp image. The watcher finds the session, selects its tab, raises its window to the foreground, waits for macOS to redraw, then captures the screen region.
407
+
408
+ Session resolution for screenshots follows this priority:
409
+
410
+ 1. **MCP registry** — the session registered by the active MCP client (most precise)
411
+ 2. **Active session** — set by `/N` switch commands
412
+ 3. **Auto-discover** — scans iTerm2 for any session running Claude
413
+ 4. **Frontmost window** — last resort if no Claude sessions exist
414
+
415
+ If you have multiple Claude sessions, use `/s` then `/N` to select the one you want before taking a screenshot.
416
+
397
417
  ### /kill
398
418
 
399
419
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whazaa",
3
- "version": "0.6.23",
3
+ "version": "0.6.24",
4
4
  "description": "WhatsApp MCP server for Claude Code — talk to Claude from your phone via WhatsApp self-chat",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",