whazaa 0.6.11 → 0.6.12
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.
- package/README.md +21 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ Restart Claude Code. Whazaa connects automatically from now on.
|
|
|
52
52
|
|
|
53
53
|
## MCP tools
|
|
54
54
|
|
|
55
|
-
Once configured, Claude Code has
|
|
55
|
+
Once configured, Claude Code has seven tools available:
|
|
56
56
|
|
|
57
57
|
| Tool | Description |
|
|
58
58
|
|------|-------------|
|
|
@@ -61,6 +61,8 @@ Once configured, Claude Code has five tools available:
|
|
|
61
61
|
| `whatsapp_receive` | Drain all queued incoming messages |
|
|
62
62
|
| `whatsapp_wait` | Block until a message arrives (up to timeout) |
|
|
63
63
|
| `whatsapp_login` | Trigger a new QR pairing flow |
|
|
64
|
+
| `whatsapp_chats` | List WhatsApp conversations (from Desktop DB or Baileys) |
|
|
65
|
+
| `whatsapp_history` | Fetch message history for a conversation |
|
|
64
66
|
|
|
65
67
|
### whatsapp_send
|
|
66
68
|
|
|
@@ -78,6 +80,24 @@ Efficient alternative to polling. Blocks the tool call until a message arrives o
|
|
|
78
80
|
"Message me on WhatsApp when you're done. I'll wait."
|
|
79
81
|
```
|
|
80
82
|
|
|
83
|
+
### whatsapp_chats
|
|
84
|
+
|
|
85
|
+
Lists WhatsApp conversations. Reads from the WhatsApp Desktop macOS SQLite database for a complete inbox view, falling back to Baileys in-memory store (~100–150 recent chats) if the Desktop app is not installed.
|
|
86
|
+
|
|
87
|
+
Parameters:
|
|
88
|
+
- `search` (optional) — filter results by contact name or phone number
|
|
89
|
+
- `limit` (optional, default 50, max 200) — maximum number of conversations to return
|
|
90
|
+
|
|
91
|
+
Returns conversation JIDs, display names, and last-message timestamps. JIDs can be passed directly to `whatsapp_history`.
|
|
92
|
+
|
|
93
|
+
### whatsapp_history
|
|
94
|
+
|
|
95
|
+
Fetches message history for a conversation. Reads from the WhatsApp Desktop macOS SQLite database (no phone connection required). Falls back to requesting history from Baileys on demand, which requires the phone to be online.
|
|
96
|
+
|
|
97
|
+
Parameters:
|
|
98
|
+
- `jid` (required) — the conversation JID (e.g. `15551234567@s.whatsapp.net`), as returned by `whatsapp_chats`
|
|
99
|
+
- `count` (optional, default 50, max 500) — number of messages to return (most recent first)
|
|
100
|
+
|
|
81
101
|
---
|
|
82
102
|
|
|
83
103
|
## CLI commands
|