Files
waggle-os/packages/agent/package.json
shumeiko.it 2e1999a3f6 refactor: remove self-learning and the optimizer package (P1.4)
Self-learning is excluded from the community edition (ADR-0004); the
project owner reworks it separately. Cost tracking stays.

- agent: delete behaviour evolution (evolve-schema, iterative GEPA,
  compose-evolution, evolution gates, orchestrator and deploy),
  improvement and correction detection, AgentLearning, the eval-dataset
  builder, optimization-capture and the agent_insights tool. Secret
  detection moves from eval-dataset to secret-patterns. The LLM wiring
  keeps only the Haiku adapter and judge call used by skill audit and
  hygiene, so @ax-llm/ax is now declared by agent instead of server.
- server: delete /api/evolution/*, the evolution and optimizer services,
  GEPA expansion of the first chat message, the prompt_optimization and
  monthly_assessment jobs, the idle-session reviewer and its
  session-reviewer persona, prompt injection of past corrections and
  thumbs-down recorded as correction signals. Existing job rows of the
  removed types are ignored, not deleted.
- core: delete OptimizationLogStore; stop re-exporting the improvement
  signal and evolution run stores.
- web: delete the Evolution screen and the two job types in the
  automation editor.
- delete packages/optimizer.

Also logs UF-027 (self-learning loops read data nothing collects) and
UF-028 (the Settings prompt-shape choice is ignored by chat).
2026-10-20 00:54:58 +02:00

53 lines
1.2 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": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./external-process-env": {
"types": "./dist/external-process-env.d.ts",
"import": "./dist/external-process-env.js"
}
},
"files": [
"dist"
],
"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/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"
}
}