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

56 lines
1.6 KiB
JSON

{
"name": "@waggle/server",
"version": "0.1.0",
"type": "module",
"exports": {
".": "./src/index.ts",
"./local": "./src/local/index.ts",
"./local/service": "./src/local/service.ts",
"./local/routes/*": "./src/local/routes/*.ts"
},
"scripts": {
"dev": "tsx watch src/local/start.ts",
"dev:team": "tsx watch src/index.ts",
"build": "tsc",
"test": "node ../../node_modules/vitest/vitest.mjs run --root ../.. --config vitest.config.ts packages/server/tests --maxWorkers=1 --silent",
"start": "node dist/index.js",
"start:local": "tsx src/local/start.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.78.0",
"@clerk/fastify": "^3.1.3",
"@fastify/cors": "^10.0.0",
"@fastify/static": "^10.1.2",
"@fastify/websocket": "^11.0.0",
"@waggle/agent": "*",
"@waggle/core": "*",
"@waggle/marketplace": "*",
"@waggle/sdk": "*",
"@waggle/shared": "*",
"@waggle/waggle-dance": "*",
"@waggle/weaver": "*",
"@waggle/wiki-compiler": "*",
"@whiskeysockets/baileys": "^7.0.0-rc13",
"adm-zip": "^0.6.0",
"archiver": "^7.0.1",
"better-sqlite3": "^12.6.2",
"bullmq": "^5.0.0",
"cron-parser": "^4.9.0",
"drizzle-orm": "^0.45.2",
"exceljs": "^4.4.0",
"fastify": "^5.3.0",
"fastify-plugin": "^5.0.0",
"ioredis": "^5.4.0",
"mammoth": "^1.11.0",
"pdf-parse": "^2.4.5",
"postgres": "^3.4.0",
"zod": "^3.24.0"
},
"devDependencies": {
"@types/archiver": "^7.0.0",
"@types/better-sqlite3": "^7.6.13",
"@types/ws": "^8.18.1",
"drizzle-kit": "^0.31.0"
}
}