cc-haha/adapters/package.json
程序员阿江(Relakkes) ddcfa5faae feat(adapters): add WhatsApp linked-device support (#573)
Add a WhatsApp adapter backed by Baileys linked-device auth, plus desktop QR binding UI, server config endpoints, sidecar startup wiring, tests, and documentation.

Constraint: Uses WhatsApp Web linked-device auth, not Meta WhatsApp Business Cloud API.

Tested:
- cd adapters && bun run check:adapters
- bun test src/server/__tests__/adapters.test.ts
- cd desktop && bun run check:desktop
- bun run check:native
- bun run check:persistence-upgrade
- bun run check:docs

Not-tested:
- Live WhatsApp QR pairing, because no WhatsApp account/device was exercised here.
- bun run check:server, because the existing src/server/__tests__/conversations.test.ts timeout still fails independently.

Confidence: medium
Scope-risk: moderate
2026-06-09 21:31:46 +08:00

36 lines
961 B
JSON

{
"name": "claude-code-im-adapters",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"telegram": "bun run telegram/index.ts",
"feishu": "bun run feishu/index.ts",
"wechat": "bun run wechat/index.ts",
"dingtalk": "bun run dingtalk/index.ts",
"whatsapp": "bun run whatsapp/index.ts",
"test": "bun test",
"test:common": "bun test common/",
"test:telegram": "bun test telegram/",
"test:feishu": "bun test feishu/",
"test:wechat": "bun test wechat/",
"test:dingtalk": "bun test dingtalk/",
"test:whatsapp": "bun test whatsapp/"
},
"dependencies": {
"@larksuiteoapi/node-sdk": "^1.60.0",
"@whiskeysockets/baileys": "7.0.0-rc.9",
"dingtalk-stream": "2.1.4",
"grammy": "^1.42.0",
"ws": "^8.18.0"
},
"overrides": {
"follow-redirects": "^1.16.0",
"protobufjs": "^7.5.5"
},
"devDependencies": {
"@types/ws": "^8.5.0",
"bun-types": "latest"
}
}