Files
waggle-os/packages/launcher/package.json
shumeiko.it 23431550ae build: one tsc -b build and a source export condition (P2.1)
- tsconfig.build.json references the nine in-scope packages; each package
  is composite and references the workspace packages it depends on.
  build:packages is now `tsc -b tsconfig.build.json` instead of a chain
  of cd commands.
- Every in-scope package exports its TypeScript entry under a `source`
  condition next to the dist/ entries. Vitest, tsx (dev:server, the
  Tauri dev launch, the e2e server), the sidecar and launcher bundles and
  the web app resolve it, so none of them needs build:packages first or
  can pick up a stale dist/. The vitest src aliases remain only for the
  excluded packages that have no source export.
- Published packages with a files list (agent, cli, marketplace) pack
  src/ too, so the source condition never points at a missing file.
- tsconfig.tests.json and `npm run typecheck:tests` type-check the test
  suites of the in-scope packages. They report 426 existing errors, so
  the CI step is advisory for now.
- The root test run leaves out the excluded and postponed packages
  (hive-mind-*, memory-mcp, wiki-compiler, team-server, waggle-dance,
  worker, weaver); they are not built either.
- CI runs the test job on Ubuntu, macOS and Windows with Node 22.23.2
  (ADR-0008), and no longer builds the hook runtime and the memory MCP
  server.
2026-10-24 17:14:29 +02:00

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 --conditions=source 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",
"mem0ai": "3.3.1",
"pdf-parse": "^2.4.5",
"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"
}
}