Node.js bridge (bridge/whatsapp/): Baileys client with Express HTTP API on localhost:8098 — QR code linking, message queue, reconnection logic. Python adapter (src/adapters/whatsapp.py): polls bridge every 2s, routes through router.py, separate whatsapp.owner/admins auth, security logging. Integrated in main.py alongside Discord + Telegram via asyncio.gather. CLI: echo whatsapp status/qr. 442 tests pass (32 new, zero failures). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
332 B
JSON
16 lines
332 B
JSON
{
|
|
"name": "echo-whatsapp-bridge",
|
|
"version": "1.0.0",
|
|
"description": "WhatsApp bridge for Echo Core using Baileys",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "node index.js"
|
|
},
|
|
"dependencies": {
|
|
"@whiskeysockets/baileys": "^6.7.16",
|
|
"express": "^4.21.0",
|
|
"pino": "^9.6.0",
|
|
"qrcode": "^1.5.4"
|
|
}
|
|
}
|