Files
waggle-os/packages/agent/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

57 lines
1.4 KiB
JSON

{
"name": "@waggle/agent",
"version": "0.1.0",
"description": "Waggle agent — Orchestrator and Tools",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./external-process-env": {
"source": "./src/external-process-env.ts",
"types": "./dist/external-process-env.d.ts",
"import": "./dist/external-process-env.js"
}
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsc --build --force && node ../../scripts/stage-agent-pptx-runtime.mjs",
"prepack": "tsc --build --force && node ../../scripts/stage-agent-pptx-runtime.mjs",
"test": "vitest run"
},
"dependencies": {
"@ax-llm/ax": "^19.0.12",
"@waggle/core": "*",
"@waggle/marketplace": "*",
"@waggle/memory-contract": "*",
"@waggle/shared": "*",
"docx": "^9.6.1",
"exceljs": "^4.4.0",
"glob": "^13.0.6",
"jszip": "^3.10.1",
"pdf-parse": "^2.4.5",
"pdfmake": "^0.3.7",
"undici": "^6.27.0"
},
"peerDependencies": {
"playwright-core": "^1.60.0"
},
"peerDependenciesMeta": {
"playwright-core": {
"optional": true
}
},
"license": "MIT",
"devDependencies": {
"@types/pdfmake": "^0.3.2",
"pptxgenjs": "file:../../vendor/pptxgenjs"
}
}