feat(builder): WhatsApp + sms/email/webhook in the channel catalog#6
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Brainmodel already supports every spec component — the gap was the catalog:CHANNEL_CATALOGonly offered Telegram/Slack/Discord, even though the spec'sChannelKindalso allowswhatsapp,sms,email,webhook. So a user in Studio (or viaaddChannelFromCatalog) couldn't pick WhatsApp.Adds the four missing channels with credential wiring + "where to get it" help text:
whatsapp_token+phone_number_idconfig)twilio_auth_token+account_sid/from_numberconfig)Tests
New
channels-catalog.test.ts:ChannelKind(keeps it complete as the spec grows),credentialRefships a matching credential,Brain → bundle(credentialconsumedByauto-synced tochannel:whatsapp).Builder suite green (49 tests); lint + typecheck clean.
🤖 Generated with Claude Code