fix(dashboard): 3 UI bugs + new DB watch tool
1. filterCategory: fix inline event.target → uses btn parameter - All Agents tab filter buttons now correctly toggle active class 2. exportRecommendations/showApplyModal: read from agentData, not removed INLINE_RECOMMENDATIONS - Apply modal shows real recommendations - Export generates JSON with real data 3. Heatmap cell click: add showCellDetail modal with Chart.js line chart + prompt history - onclick='showCellDetail(model, agent)' on every td - renderCellChart computes score history from agent.history - prompt_change items filtered and displayed 4. watch-db.cjs: incremental DB sync tool - Polls git for changes in .kilo/agents/*.md and kilo-meta.json - Detects model_change vs prompt_change by comparing with previous version - Exports to JSON after sync, logs to .kilo/logs/watch-db.log - SIGINT/SIGTERM graceful shutdown - Trigger: npm run evolution:watch
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
"evolution:reload": "bash agent-evolution/docker-run.sh reload",
|
||||
"evolution:restart": "bash agent-evolution/docker-run.sh restart",
|
||||
"evolution:stop": "bash agent-evolution/docker-run.sh stop",
|
||||
"evolution:watch": "node agent-evolution/scripts/watch-db.cjs",
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user