7 evolutionary tasks implemented: 1. PHP web development: php-developer agent + 6 skills (Laravel, Symfony, WordPress, security, testing, modular architecture) + 2 pipeline commands (/laravel, /wordpress) 2. Atomic task decomposition: 1 action = 1 task rule, task sizing guide, decomposition protocol for orchestrator, token budgets per complexity 3. Modular code rules: max 100 lines/file, max 30 lines/function, service/repository patterns, cross-module communication via events only 4. Gitea-centric workflow: mandatory issue creation before work, research with links, progress checkboxes, screenshots on test, git history as knowledge base 5. Fix: target project auto-detection — removed all hardcoded UniqueSoft/APAW from API calls, added get_target_repo() via git remote, GITEA_TARGET_REPO env override 6. Agent execution monitoring: agent-executions.jsonl logging, agent-stats.ts statistics script, required fields per invocation, Gitea comment includes duration/tokens 7. Token optimization: 1 action = 1 task principle, token budgets by task type, routing matrix, no scope creep, skip unnecessary pipeline steps
58 lines
1.9 KiB
JSON
58 lines
1.9 KiB
JSON
{
|
|
"name": "apaw",
|
|
"version": "1.0.0",
|
|
"description": "Self-improving code pipeline with agent management and Gitea logging",
|
|
"type": "module",
|
|
"main": "./dist/kilocode/index.js",
|
|
"types": "./dist/kilocode/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/kilocode/index.js",
|
|
"types": "./dist/kilocode/index.d.ts"
|
|
},
|
|
"./agent-manager": {
|
|
"import": "./dist/kilocode/agent-manager/index.js",
|
|
"types": "./dist/kilocode/agent-manager/index.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"clean": "rm -rf dist",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "bun test",
|
|
"sync:evolution": "bun run agent-evolution/scripts/sync-agent-history.ts && node agent-evolution/scripts/build-standalone.cjs",
|
|
"evolution:build": "node agent-evolution/scripts/build-standalone.cjs",
|
|
"evolution:open": "start agent-evolution/index.standalone.html",
|
|
"evolution:dashboard": "bunx serve agent-evolution -l 3001",
|
|
"evolution:run": "docker run -d --name apaw-evolution-dashboard -p 3001:3001 -v \"$(pwd)/agent-evolution/data:/app/data:ro\" apaw-evolution:latest",
|
|
"evolution:stop": "docker stop apaw-evolution-dashboard && docker rm apaw-evolution-dashboard",
|
|
"evolution:start": "bash agent-evolution/docker-run.sh run",
|
|
"evolution:dev": "docker-compose -f docker-compose.evolution.yml up -d",
|
|
"evolution:logs": "docker logs -f apaw-evolution-dashboard",
|
|
"agent:stats": "bun run scripts/agent-stats.ts",
|
|
"agent:stats:week": "bun run scripts/agent-stats.ts --last 7",
|
|
"agent:stats:project": "bun run scripts/agent-stats.ts --project"
|
|
},
|
|
"dependencies": {
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.1.6",
|
|
"@types/node": "^20.10.0",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"keywords": [
|
|
"agent",
|
|
"pipeline",
|
|
"workflow",
|
|
"gitea",
|
|
"automation",
|
|
"self-improving",
|
|
"kilocode"
|
|
],
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
".kilo"
|
|
]
|
|
} |