Team mode stays in the repository but is not built or shipped (ADR-0003). - The team server (index.ts, config, db, daemons, plugins, proactive, routes, scheduler, services, ws, drizzle migrations) and its tests move from @waggle/server to packages/team-server (@waggle/team-server, private). It keeps its own copies of the logger and the agent-group executor, so it does not import @waggle/server. @clerk/fastify, bullmq, ioredis, postgres, drizzle-orm, drizzle-kit, cron-parser and @waggle/waggle-dance leave @waggle/server; the launcher drops the same team-only dependencies. - build:packages no longer builds waggle-dance or the worker: nothing in the community edition imports them, and the worker's project reference would otherwise build the team server. The worker now imports from team-server; the team Dockerfile builds both explicitly. - The sidecar no longer starts the team server when DATABASE_URL is set, and loses the team routes (/api/team/*, /api/teams), the WaggleDance routes and bridge (/api/waggle-dance/*), the Team server binding and egress guard, the WebSocket team client, the TeamSync cache and pushes, team audit forwarding, team workspace registration and the team capability-policy lookup in chat. The in-process room signal bus stays: agent groups, fleet runs and external tool runs use it. middleware/audit.ts was dead and is deleted. - @waggle/core loses TeamSync and the teamServer part of WaggleConfig. A teamServer key in config.json is ignored and kept on save, as P0.1 does for the tier keys. Workspaces lose teamServerUrl and teamUserId; teamId and teamRole stay because workspaces from a shared data directory still carry them and the viewer write guards read them. POST /api/workspaces ignores team fields. - The sidecar bundle no longer marks the team packages as external. The agent still references the TeamSync type in orchestrator.ts and pattern-write-back.ts; those files are being rewritten in P1.5 and drop it there. Logs UF-030 and UF-031 (team sync and team policy defects found while removing the code).
65 lines
1.5 KiB
JSON
65 lines
1.5 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": {
|
|
"@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",
|
|
"cron-parser": "^4.9.0",
|
|
"docx": "^9.6.1",
|
|
"exceljs": "^4.4.0",
|
|
"fastify": "^5.3.0",
|
|
"fastify-plugin": "^5.0.0",
|
|
"glob": "^13.0.6",
|
|
"mammoth": "^1.11.0",
|
|
"pdf-parse": "^2.4.5",
|
|
"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"
|
|
}
|
|
}
|