whatsapp
extension
WhatsApp channel for PiClaw via Baileys. Connects to WhatsApp Web, receives/sends messages, and routes them through the agent.
channelmessagingwhatsapp
Open Settings → Add-Ons and pick whatsapp
Source: addons/whatsapp

WhatsApp channel add-on for Piclaw. The package declares Baileys and qrcode-terminal as runtime dependencies and keeps its channel contracts, logging and storage-path handling inside the package.

Requires Piclaw >=2.0.0.

Configuration

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

How it works

  1. On session_start, lazy-loads the Baileys client and connects to WhatsApp Web
  2. Registers a channel detector for WhatsApp JIDs (@s.whatsapp.net, @g.us) via registerChannelDetector
  3. Inbound messages are posted to the agent via __piclawRuntimeInterop.postMessage
  4. On session_shutdown, disconnects cleanly

Files

Settings field appearance (0.1.4)

Text-like fields use the host's shared settings-addon-* controls and associated labels, matching core Settings in Classic and Visual without changing save payloads, defaults or secret handling. A package-local layered stylesheet keeps older supported hosts readable; host rules take precedence when available. Native checkboxes and action buttons retain their own control roles.