Add experimental WhatsApp Personal connector (Baileys bridge)#315
Open
rohitprasad15 wants to merge 1 commit into
Open
Add experimental WhatsApp Personal connector (Baileys bridge)#315rohitprasad15 wants to merge 1 commit into
rohitprasad15 wants to merge 1 commit into
Conversation
Two-way WhatsApp on a personal account via a supervised Node.js sidecar
built on Baileys (unofficial WhatsApp Web protocol). The sidecar streams
inbound messages, pairing QRs, and connection state as NDJSON events on
stdout — no inbound HTTP, no polling; its only listener is a loopback
POST /send for the stateless send_message tool. Registration hooks
(platforms, adapter factories, sender credentials) plug the experimental
package into the existing gateway, which skips experimental platforms
unless the opt-in setting is on. QR pairing via a new
/v1/connectors/{name}/status endpoint; npm deps install into the state
dir on first connect (never vendored); blunt account-ban risk notice
gates connect; excluded from release builds like all experimental code.
cad63ba to
bdfdd52
Compare
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.
The first connector behind the experimental gate (#314): two-way WhatsApp on a personal account using Baileys (the unofficial WhatsApp Web protocol library) in a supervised Node.js sidecar.
experimental/whatsapp_bridge/): streams inbound messages, pairing QRs, and connection state as NDJSON events on stdout — no inbound HTTP, no polling. The only listener is a loopbackPOST /sendfor the stateless send_message tool. QR pairing, self-chat mode default, one npm dependency installed into the state dir on first connect (never vendored, never in release artifacts).GET /v1/connectors/{name}/statussurfaces pairing state and the QR from the cached event stream.risk_noticerequired at connect; excluded from release builds like all experimental code.9 new offline tests (registration, gating, settings, event mapper, event-stream handling, sender routing, credential-less send_message, gateway opt-in skip). Full suite: 308 passed, 1 skipped; bridge.js syntax-checked.