Skip to content

Add WhatsApp channel support and QR login flow parity#18

Draft
chrysb wants to merge 2 commits intomainfrom
feat/whatsapp-v2
Draft

Add WhatsApp channel support and QR login flow parity#18
chrysb wants to merge 2 commits intomainfrom
feat/whatsapp-v2

Conversation

@chrysb
Copy link
Owner

@chrysb chrysb commented Mar 13, 2026

Summary

  • Ports WhatsApp channel support onto current main, including channel creation, onboarding/import validation, pairings support, and watchdog notifications.
  • Restores WhatsApp QR linking flow parity (channels login) with API response behavior that surfaces stdout/stderr without treating incomplete login as a hard API failure.
  • Adds a dedicated WhatsApp login modal and UI/UX fixes for QR output readability (monospace no-wrap and vertical-only resizable output area).

Test plan

  • npm test -- tests/server/agents-service.test.js tests/server/routes-agents.test.js
  • Manual: Add WhatsApp channel from Channels UI and verify owner number is saved.
  • Manual: Run "Link WhatsApp (QR)" and confirm QR output is visible and scannable.
  • Manual: Confirm onboarding accepts WHATSAPP_OWNER_NUMBER as valid channel credential.

References #8

chrysb added 2 commits March 12, 2026 23:16
Restore the WhatsApp provisioning and login behavior on top of current main, including plugin setup, route response parity, onboarding/watchdog wiring, and a resizable QR output UI. References #8.
Remove WhatsApp from onboarding channel inputs and pairing-step plumbing while keeping the post-setup channel flow intact, and fix completion copy spacing for dynamic channel names.
@Photon1c
Copy link

Thanks for carrying this through and for referencing #8.

Glad the initial patch helped surface the integration points. I’m happy to test the WhatsApp flow from the user side if that’s useful.

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.

2 participants