Backend: Express + Socket.io server with whatsapp-web.js session management, in-memory inbound/outbound queues with idempotency, exponential-backoff retry, and Claude AI draft generation via Anthropic SDK. Frontend: Modern dark-theme single-page dashboard with session status card, real-time inbox, conversation view, AI compose box, and operations panel. Demo mode (DEMO_MODE=true) runs with sample data, no real WhatsApp needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
374 B
JSON
18 lines
374 B
JSON
{
|
|
"name": "whatsapp-ai-agent",
|
|
"version": "1.0.0",
|
|
"description": "WhatsApp Web AI Messaging Agent",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"start": "node server.js"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.40.0",
|
|
"express": "^4.18.2",
|
|
"socket.io": "^4.7.4",
|
|
"qrcode": "^1.5.3",
|
|
"whatsapp-web.js": "^1.23.0",
|
|
"uuid": "^9.0.0"
|
|
}
|
|
}
|