- Add Baileys-based connection/auth modules and pairing route support for QR, pair code, status, and logout - Refactor plugin entrypoint and split reply/auth/connection logic into focused modules - Update plugin metadata/docs/settings schema to pairing-era configuration and remove legacy webhook key usage - Add targeted tests for auth state, connection handling, reply flow, and updated schema expectations Fusion-Task-Id: FN-3713
35 lines
743 B
JSON
35 lines
743 B
JSON
{
|
|
"name": "@fusion-plugin-examples/whatsapp-chat",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"description": "WhatsApp Web (Baileys) chat bridge for Fusion agents",
|
|
"keywords": [
|
|
"fusion-plugin",
|
|
"whatsapp",
|
|
"chat",
|
|
"integration"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run --silent=passed-only --reporter=dot"
|
|
},
|
|
"dependencies": {
|
|
"@fusion/plugin-sdk": "workspace:*",
|
|
"@whiskeysockets/baileys": "^6.7.21",
|
|
"pino": "^9.9.0",
|
|
"qrcode": "^1.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.5.2",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|