Baileys depends on libsignal (GPL-3.0), which the sidecar bundled. The WhatsApp adapter now drives WhatsApp Web through whatsapp-web.js and keeps its public shape: start, stop, status with the pairing QR, send and inbound text. LocalAuth stores the session as a browser profile in <dataDir>/channels/whatsapp; the old Baileys state is left untouched. The browser comes from whatsapp-browser.ts: CHROME_PATH or PUPPETEER_EXECUTABLE_PATH, then an installed Chrome, Edge or Chromium (Windows, macOS, Linux), then a Chrome for Testing build downloaded on the first start into <dataDir>/browsers, with progress in the status. The root .puppeteerrc.cjs stops npm install from downloading a browser. The sidecar build keeps whatsapp-web.js external: bundled, it fails on __dirname and would inline LGPL node-webpmux. Text only, so ffmpeg is never needed. New dependencies, pinned: whatsapp-web.js 1.34.7 (Apache-2.0) and @puppeteer/browsers 2.13.0 (Apache-2.0). Transitive: puppeteer, puppeteer-core, chromium-bidi, webdriver-bidi-protocol (Apache-2.0), devtools-protocol (BSD-3-Clause), extract-zip (BSD-2-Clause), fluent-ffmpeg and the rest (MIT or ISC), and node-webpmux (LGPL-3.0-or-later, shipped as a separate package; needs the license review). Removed: @whiskeysockets/baileys and libsignal. UF-020 is now Fixed; ADR-0005 records the consequences.
70 lines
1.6 KiB
JSON
70 lines
1.6 KiB
JSON
{
|
|
"name": "@waggle-ai/waggle",
|
|
"version": "1.0.0",
|
|
"description": "Waggle — Your personal AI agent swarm. Start with `npx @waggle-ai/waggle`.",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"type": "module",
|
|
"bin": {
|
|
"waggle": "./dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"start": "tsx src/cli.ts",
|
|
"test": "node ../../node_modules/vitest/vitest.mjs run --root ../.. --config vitest.config.ts packages/launcher/tests/cli.test.ts",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"agent",
|
|
"swarm",
|
|
"memory",
|
|
"waggle",
|
|
"llm",
|
|
"personal-assistant"
|
|
],
|
|
"author": "Marko Markovic",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@clerk/fastify": "^3.0.0",
|
|
"@fastify/cors": "^10.0.0",
|
|
"@fastify/static": "^10.1.2",
|
|
"@fastify/websocket": "^11.0.0",
|
|
"@huggingface/transformers": "3.8.1",
|
|
"@puppeteer/browsers": "2.13.0",
|
|
"adm-zip": "^0.6.0",
|
|
"archiver": "^7.0.1",
|
|
"better-sqlite3": "^12.6.2",
|
|
"bullmq": "^5.0.0",
|
|
"cron-parser": "^4.9.0",
|
|
"docx": "^9.6.1",
|
|
"drizzle-orm": "^0.45.2",
|
|
"exceljs": "^4.4.0",
|
|
"fastify": "^5.3.0",
|
|
"fastify-plugin": "^5.0.0",
|
|
"glob": "^13.0.6",
|
|
"ioredis": "^5.4.0",
|
|
"mammoth": "^1.11.0",
|
|
"pdf-parse": "^2.4.5",
|
|
"postgres": "^3.4.0",
|
|
"sqlite-vec": "^0.1.7-alpha.2",
|
|
"undici": "^6.27.0",
|
|
"whatsapp-web.js": "1.34.7",
|
|
"ws": "^8.21.0",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@waggle/server": "*",
|
|
"tsup": "^8.5.1",
|
|
"tsx": "^4.21.0"
|
|
}
|
|
}
|