WhatsApp channel add-on for Piclaw. The current package is not self-contained for standalone catalog use: its runtime imports Baileys, qrcode-terminal, and shared Piclaw channel modules that its manifest does not supply.
Requires Piclaw >=2.0.0.
Use Settings → WhatsApp to store the phone number and enable the channel through the direct add-on config API, then reload Piclaw. Environment overrides are also supported:
| Env var | Description |
|---|---|
PICLAW_WHATSAPP_PHONE |
Phone number to connect (with country code) |
PICLAW_WHATSAPP_ENABLED |
Set to 1 to enable the channel |
session_start, lazy-loads the Baileys client and connects to WhatsApp Web@s.whatsapp.net, @g.us) via registerChannelDetector__piclawRuntimeInterop.postMessagesession_shutdown, disconnects cleanlyindex.ts — Addon entry point: env gate, channel detector, lifecycle hookswhatsapp.ts — Baileys WhatsApp client (connection, messaging, presence)whatsapp-presence.ts — Typing indicator helpers