Skip to content

feat(builder): WhatsApp + sms/email/webhook in the channel catalog#6

Merged
maxlibin merged 1 commit into
mainfrom
feat/whatsapp-channel-catalog
Jun 10, 2026
Merged

feat(builder): WhatsApp + sms/email/webhook in the channel catalog#6
maxlibin merged 1 commit into
mainfrom
feat/whatsapp-channel-catalog

Conversation

@maxlibin

@maxlibin maxlibin commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Toward the goal of packaging any agent ready-to-go (incl. a Voltade-style WhatsApp agent), the builder must be able to assemble any channel. The Brain model already supports every spec component — the gap was the catalog: CHANNEL_CATALOG only offered Telegram/Slack/Discord, even though the spec's ChannelKind also allows whatsapp, sms, email, webhook. So a user in Studio (or via addChannelFromCatalog) couldn't pick WhatsApp.

Adds the four missing channels with credential wiring + "where to get it" help text:

  • WhatsApp (Business Cloud API; whatsapp_token + phone_number_id config)
  • SMS (Twilio; twilio_auth_token + account_sid/from_number config)
  • Email (provider API key)
  • Webhook (optional signing secret)

Tests

New channels-catalog.test.ts:

  • the catalog covers every ChannelKind (keeps it complete as the spec grows),
  • every catalog channel with a credentialRef ships a matching credential,
  • adding WhatsApp from the catalog wires the channel and its credential through Brain → bundle (credential consumedBy auto-synced to channel:whatsapp).

Builder suite green (49 tests); lint + typecheck clean.

🤖 Generated with Claude Code

The spec supports whatsapp/sms/email/webhook channel kinds, but the builder's
CHANNEL_CATALOG only offered telegram/slack/discord — so a user (in Studio or
via addChannelFromCatalog) couldn't assemble a ready-to-go WhatsApp agent, the
headline use case. Adds all four with credential wiring + help text, and a test
that keeps the catalog complete against ChannelKind and verifies WhatsApp wires
through Brain → bundle (channel + auto-synced credential consumedBy).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maxlibin maxlibin merged commit 6696d52 into main Jun 10, 2026
2 checks passed
@maxlibin maxlibin deleted the feat/whatsapp-channel-catalog branch June 10, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant