@sparkleideas/cli 3.1.0-alpha.25 → 3.1.0-alpha.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/core/coder.md +1 -1
- package/.claude/agents/core/planner.md +2 -2
- package/.claude/agents/core/researcher.md +1 -1
- package/.claude/agents/core/reviewer.md +1 -1
- package/.claude/agents/core/tester.md +1 -1
- package/.claude/agents/data/data-ml-model.md +4 -4
- package/.claude/agents/development/dev-backend-api.md +4 -4
- package/.claude/agents/documentation/docs-api-openapi.md +4 -4
- package/.claude/agents/github/code-review-swarm.md +2 -2
- package/.claude/agents/github/issue-tracker.md +2 -2
- package/.claude/agents/github/pr-manager.md +2 -2
- package/.claude/agents/github/release-manager.md +2 -2
- package/.claude/agents/github/workflow-automation.md +2 -2
- package/.claude/agents/sparc/architecture.md +3 -3
- package/.claude/agents/sparc/pseudocode.md +2 -2
- package/.claude/agents/sparc/refinement.md +3 -3
- package/.claude/agents/sparc/specification.md +2 -2
- package/.claude/agents/swarm/adaptive-coordinator.md +1 -1
- package/.claude/agents/swarm/hierarchical-coordinator.md +1 -1
- package/.claude/agents/swarm/mesh-coordinator.md +1 -1
- package/.claude/agents/templates/base-template-generator.md +3 -3
- package/.claude/agents/templates/sparc-coordinator.md +3 -3
- package/.claude/helpers/session.js +0 -8
- package/.claude/helpers/statusline.cjs +28 -96
- package/.claude/settings.json +141 -86
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +2 -2
- package/.claude/skills/swarm-orchestration/SKILL.md +1 -1
- package/README.md +481 -952
- package/package.json +7 -9
- package/.claude/helpers/auto-memory-hook.mjs +0 -365
- package/.claude/helpers/hook-handler.cjs +0 -271
- package/.claude/helpers/intelligence.cjs +0 -916
- package/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +0 -1
- package/.claude/skills/skill-builder/.claude-flow/metrics/performance.json +0 -87
- package/.claude/skills/skill-builder/.claude-flow/metrics/task-metrics.json +0 -10
- package/bin/preinstall.cjs +0 -2
- package/dist/src/appliance/gguf-engine.d.ts +0 -91
- package/dist/src/appliance/gguf-engine.d.ts.map +0 -1
- package/dist/src/appliance/gguf-engine.js +0 -425
- package/dist/src/appliance/gguf-engine.js.map +0 -1
- package/dist/src/appliance/ruvllm-bridge.d.ts +0 -102
- package/dist/src/appliance/ruvllm-bridge.d.ts.map +0 -1
- package/dist/src/appliance/ruvllm-bridge.js +0 -292
- package/dist/src/appliance/ruvllm-bridge.js.map +0 -1
- package/dist/src/appliance/rvfa-builder.d.ts +0 -44
- package/dist/src/appliance/rvfa-builder.d.ts.map +0 -1
- package/dist/src/appliance/rvfa-builder.js +0 -329
- package/dist/src/appliance/rvfa-builder.js.map +0 -1
- package/dist/src/appliance/rvfa-distribution.d.ts +0 -97
- package/dist/src/appliance/rvfa-distribution.d.ts.map +0 -1
- package/dist/src/appliance/rvfa-distribution.js +0 -370
- package/dist/src/appliance/rvfa-distribution.js.map +0 -1
- package/dist/src/appliance/rvfa-format.d.ts +0 -111
- package/dist/src/appliance/rvfa-format.d.ts.map +0 -1
- package/dist/src/appliance/rvfa-format.js +0 -393
- package/dist/src/appliance/rvfa-format.js.map +0 -1
- package/dist/src/appliance/rvfa-runner.d.ts +0 -69
- package/dist/src/appliance/rvfa-runner.d.ts.map +0 -1
- package/dist/src/appliance/rvfa-runner.js +0 -237
- package/dist/src/appliance/rvfa-runner.js.map +0 -1
- package/dist/src/appliance/rvfa-signing.d.ts +0 -123
- package/dist/src/appliance/rvfa-signing.d.ts.map +0 -1
- package/dist/src/appliance/rvfa-signing.js +0 -347
- package/dist/src/appliance/rvfa-signing.js.map +0 -1
- package/dist/src/benchmarks/pretrain/index.d.ts +0 -58
- package/dist/src/benchmarks/pretrain/index.d.ts.map +0 -1
- package/dist/src/benchmarks/pretrain/index.js +0 -404
- package/dist/src/benchmarks/pretrain/index.js.map +0 -1
- package/dist/src/commands/agent.d.ts +0 -8
- package/dist/src/commands/agent.d.ts.map +0 -1
- package/dist/src/commands/agent.js +0 -819
- package/dist/src/commands/agent.js.map +0 -1
- package/dist/src/commands/analyze.d.ts +0 -19
- package/dist/src/commands/analyze.d.ts.map +0 -1
- package/dist/src/commands/analyze.js +0 -1823
- package/dist/src/commands/analyze.js.map +0 -1
- package/dist/src/commands/appliance-advanced.d.ts +0 -9
- package/dist/src/commands/appliance-advanced.d.ts.map +0 -1
- package/dist/src/commands/appliance-advanced.js +0 -215
- package/dist/src/commands/appliance-advanced.js.map +0 -1
- package/dist/src/commands/appliance.d.ts +0 -8
- package/dist/src/commands/appliance.d.ts.map +0 -1
- package/dist/src/commands/appliance.js +0 -406
- package/dist/src/commands/appliance.js.map +0 -1
- package/dist/src/commands/benchmark.d.ts +0 -10
- package/dist/src/commands/benchmark.d.ts.map +0 -1
- package/dist/src/commands/benchmark.js +0 -459
- package/dist/src/commands/benchmark.js.map +0 -1
- package/dist/src/commands/categories.d.ts +0 -75
- package/dist/src/commands/categories.d.ts.map +0 -1
- package/dist/src/commands/categories.js +0 -178
- package/dist/src/commands/categories.js.map +0 -1
- package/dist/src/commands/claims.d.ts +0 -10
- package/dist/src/commands/claims.d.ts.map +0 -1
- package/dist/src/commands/claims.js +0 -373
- package/dist/src/commands/claims.js.map +0 -1
- package/dist/src/commands/completions.d.ts +0 -10
- package/dist/src/commands/completions.d.ts.map +0 -1
- package/dist/src/commands/completions.js +0 -539
- package/dist/src/commands/completions.js.map +0 -1
- package/dist/src/commands/config.d.ts +0 -8
- package/dist/src/commands/config.d.ts.map +0 -1
- package/dist/src/commands/config.js +0 -406
- package/dist/src/commands/config.js.map +0 -1
- package/dist/src/commands/daemon.d.ts +0 -8
- package/dist/src/commands/daemon.d.ts.map +0 -1
- package/dist/src/commands/daemon.js +0 -609
- package/dist/src/commands/daemon.js.map +0 -1
- package/dist/src/commands/deployment.d.ts +0 -10
- package/dist/src/commands/deployment.d.ts.map +0 -1
- package/dist/src/commands/deployment.js +0 -289
- package/dist/src/commands/deployment.js.map +0 -1
- package/dist/src/commands/doctor.d.ts +0 -10
- package/dist/src/commands/doctor.d.ts.map +0 -1
- package/dist/src/commands/doctor.js +0 -602
- package/dist/src/commands/doctor.js.map +0 -1
- package/dist/src/commands/embeddings.d.ts +0 -18
- package/dist/src/commands/embeddings.d.ts.map +0 -1
- package/dist/src/commands/embeddings.js +0 -1576
- package/dist/src/commands/embeddings.js.map +0 -1
- package/dist/src/commands/guidance.d.ts +0 -8
- package/dist/src/commands/guidance.d.ts.map +0 -1
- package/dist/src/commands/guidance.js +0 -560
- package/dist/src/commands/guidance.js.map +0 -1
- package/dist/src/commands/hive-mind.d.ts +0 -11
- package/dist/src/commands/hive-mind.d.ts.map +0 -1
- package/dist/src/commands/hive-mind.js +0 -1230
- package/dist/src/commands/hive-mind.js.map +0 -1
- package/dist/src/commands/hooks.d.ts +0 -8
- package/dist/src/commands/hooks.d.ts.map +0 -1
- package/dist/src/commands/hooks.js +0 -3759
- package/dist/src/commands/hooks.js.map +0 -1
- package/dist/src/commands/index.d.ts +0 -113
- package/dist/src/commands/index.d.ts.map +0 -1
- package/dist/src/commands/index.js +0 -368
- package/dist/src/commands/index.js.map +0 -1
- package/dist/src/commands/init.d.ts +0 -8
- package/dist/src/commands/init.d.ts.map +0 -1
- package/dist/src/commands/init.js +0 -965
- package/dist/src/commands/init.js.map +0 -1
- package/dist/src/commands/issues.d.ts +0 -21
- package/dist/src/commands/issues.d.ts.map +0 -1
- package/dist/src/commands/issues.js +0 -567
- package/dist/src/commands/issues.js.map +0 -1
- package/dist/src/commands/mcp.d.ts +0 -11
- package/dist/src/commands/mcp.d.ts.map +0 -1
- package/dist/src/commands/mcp.js +0 -715
- package/dist/src/commands/mcp.js.map +0 -1
- package/dist/src/commands/memory.d.ts +0 -8
- package/dist/src/commands/memory.d.ts.map +0 -1
- package/dist/src/commands/memory.js +0 -1292
- package/dist/src/commands/memory.js.map +0 -1
- package/dist/src/commands/migrate.d.ts +0 -8
- package/dist/src/commands/migrate.d.ts.map +0 -1
- package/dist/src/commands/migrate.js +0 -410
- package/dist/src/commands/migrate.js.map +0 -1
- package/dist/src/commands/neural.d.ts +0 -10
- package/dist/src/commands/neural.d.ts.map +0 -1
- package/dist/src/commands/neural.js +0 -1448
- package/dist/src/commands/neural.js.map +0 -1
- package/dist/src/commands/performance.d.ts +0 -10
- package/dist/src/commands/performance.d.ts.map +0 -1
- package/dist/src/commands/performance.js +0 -579
- package/dist/src/commands/performance.js.map +0 -1
- package/dist/src/commands/plugins.d.ts +0 -11
- package/dist/src/commands/plugins.d.ts.map +0 -1
- package/dist/src/commands/plugins.js +0 -820
- package/dist/src/commands/plugins.js.map +0 -1
- package/dist/src/commands/process.d.ts +0 -10
- package/dist/src/commands/process.d.ts.map +0 -1
- package/dist/src/commands/process.js +0 -641
- package/dist/src/commands/process.js.map +0 -1
- package/dist/src/commands/progress.d.ts +0 -11
- package/dist/src/commands/progress.d.ts.map +0 -1
- package/dist/src/commands/progress.js +0 -259
- package/dist/src/commands/progress.js.map +0 -1
- package/dist/src/commands/providers.d.ts +0 -10
- package/dist/src/commands/providers.d.ts.map +0 -1
- package/dist/src/commands/providers.js +0 -232
- package/dist/src/commands/providers.js.map +0 -1
- package/dist/src/commands/route.d.ts +0 -16
- package/dist/src/commands/route.d.ts.map +0 -1
- package/dist/src/commands/route.js +0 -813
- package/dist/src/commands/route.js.map +0 -1
- package/dist/src/commands/ruvector/backup.d.ts +0 -11
- package/dist/src/commands/ruvector/backup.d.ts.map +0 -1
- package/dist/src/commands/ruvector/backup.js +0 -746
- package/dist/src/commands/ruvector/backup.js.map +0 -1
- package/dist/src/commands/ruvector/benchmark.d.ts +0 -11
- package/dist/src/commands/ruvector/benchmark.d.ts.map +0 -1
- package/dist/src/commands/ruvector/benchmark.js +0 -480
- package/dist/src/commands/ruvector/benchmark.js.map +0 -1
- package/dist/src/commands/ruvector/import.d.ts +0 -18
- package/dist/src/commands/ruvector/import.d.ts.map +0 -1
- package/dist/src/commands/ruvector/import.js +0 -349
- package/dist/src/commands/ruvector/import.js.map +0 -1
- package/dist/src/commands/ruvector/index.d.ts +0 -29
- package/dist/src/commands/ruvector/index.d.ts.map +0 -1
- package/dist/src/commands/ruvector/index.js +0 -129
- package/dist/src/commands/ruvector/index.js.map +0 -1
- package/dist/src/commands/ruvector/init.d.ts +0 -11
- package/dist/src/commands/ruvector/init.d.ts.map +0 -1
- package/dist/src/commands/ruvector/init.js +0 -431
- package/dist/src/commands/ruvector/init.js.map +0 -1
- package/dist/src/commands/ruvector/migrate.d.ts +0 -11
- package/dist/src/commands/ruvector/migrate.d.ts.map +0 -1
- package/dist/src/commands/ruvector/migrate.js +0 -481
- package/dist/src/commands/ruvector/migrate.js.map +0 -1
- package/dist/src/commands/ruvector/optimize.d.ts +0 -11
- package/dist/src/commands/ruvector/optimize.d.ts.map +0 -1
- package/dist/src/commands/ruvector/optimize.js +0 -503
- package/dist/src/commands/ruvector/optimize.js.map +0 -1
- package/dist/src/commands/ruvector/setup.d.ts +0 -18
- package/dist/src/commands/ruvector/setup.d.ts.map +0 -1
- package/dist/src/commands/ruvector/setup.js +0 -765
- package/dist/src/commands/ruvector/setup.js.map +0 -1
- package/dist/src/commands/ruvector/status.d.ts +0 -11
- package/dist/src/commands/ruvector/status.d.ts.map +0 -1
- package/dist/src/commands/ruvector/status.js +0 -456
- package/dist/src/commands/ruvector/status.js.map +0 -1
- package/dist/src/commands/security.d.ts +0 -10
- package/dist/src/commands/security.d.ts.map +0 -1
- package/dist/src/commands/security.js +0 -575
- package/dist/src/commands/security.js.map +0 -1
- package/dist/src/commands/session.d.ts +0 -8
- package/dist/src/commands/session.d.ts.map +0 -1
- package/dist/src/commands/session.js +0 -750
- package/dist/src/commands/session.js.map +0 -1
- package/dist/src/commands/start.d.ts +0 -8
- package/dist/src/commands/start.d.ts.map +0 -1
- package/dist/src/commands/start.js +0 -418
- package/dist/src/commands/start.js.map +0 -1
- package/dist/src/commands/status.d.ts +0 -8
- package/dist/src/commands/status.d.ts.map +0 -1
- package/dist/src/commands/status.js +0 -591
- package/dist/src/commands/status.js.map +0 -1
- package/dist/src/commands/swarm.d.ts +0 -8
- package/dist/src/commands/swarm.d.ts.map +0 -1
- package/dist/src/commands/swarm.js +0 -748
- package/dist/src/commands/swarm.js.map +0 -1
- package/dist/src/commands/task.d.ts +0 -8
- package/dist/src/commands/task.d.ts.map +0 -1
- package/dist/src/commands/task.js +0 -671
- package/dist/src/commands/task.js.map +0 -1
- package/dist/src/commands/transfer-store.d.ts +0 -13
- package/dist/src/commands/transfer-store.d.ts.map +0 -1
- package/dist/src/commands/transfer-store.js +0 -428
- package/dist/src/commands/transfer-store.js.map +0 -1
- package/dist/src/commands/update.d.ts +0 -8
- package/dist/src/commands/update.d.ts.map +0 -1
- package/dist/src/commands/update.js +0 -276
- package/dist/src/commands/update.js.map +0 -1
- package/dist/src/commands/workflow.d.ts +0 -8
- package/dist/src/commands/workflow.d.ts.map +0 -1
- package/dist/src/commands/workflow.js +0 -617
- package/dist/src/commands/workflow.js.map +0 -1
- package/dist/src/config-adapter.d.ts +0 -15
- package/dist/src/config-adapter.d.ts.map +0 -1
- package/dist/src/config-adapter.js +0 -186
- package/dist/src/config-adapter.js.map +0 -1
- package/dist/src/index.d.ts +0 -76
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -470
- package/dist/src/index.js.map +0 -1
- package/dist/src/infrastructure/in-memory-repositories.d.ts +0 -68
- package/dist/src/infrastructure/in-memory-repositories.d.ts.map +0 -1
- package/dist/src/infrastructure/in-memory-repositories.js +0 -264
- package/dist/src/infrastructure/in-memory-repositories.js.map +0 -1
- package/dist/src/init/claudemd-generator.d.ts +0 -25
- package/dist/src/init/claudemd-generator.d.ts.map +0 -1
- package/dist/src/init/claudemd-generator.js +0 -486
- package/dist/src/init/claudemd-generator.js.map +0 -1
- package/dist/src/init/executor.d.ts +0 -41
- package/dist/src/init/executor.d.ts.map +0 -1
- package/dist/src/init/executor.js +0 -1741
- package/dist/src/init/executor.js.map +0 -1
- package/dist/src/init/helpers-generator.d.ts +0 -60
- package/dist/src/init/helpers-generator.d.ts.map +0 -1
- package/dist/src/init/helpers-generator.js +0 -1166
- package/dist/src/init/helpers-generator.js.map +0 -1
- package/dist/src/init/index.d.ts +0 -13
- package/dist/src/init/index.d.ts.map +0 -1
- package/dist/src/init/index.js +0 -15
- package/dist/src/init/index.js.map +0 -1
- package/dist/src/init/mcp-generator.d.ts +0 -26
- package/dist/src/init/mcp-generator.d.ts.map +0 -1
- package/dist/src/init/mcp-generator.js +0 -116
- package/dist/src/init/mcp-generator.js.map +0 -1
- package/dist/src/init/settings-generator.d.ts +0 -14
- package/dist/src/init/settings-generator.d.ts.map +0 -1
- package/dist/src/init/settings-generator.js +0 -399
- package/dist/src/init/settings-generator.js.map +0 -1
- package/dist/src/init/statusline-generator.d.ts +0 -28
- package/dist/src/init/statusline-generator.d.ts.map +0 -1
- package/dist/src/init/statusline-generator.js +0 -817
- package/dist/src/init/statusline-generator.js.map +0 -1
- package/dist/src/init/types.d.ts +0 -287
- package/dist/src/init/types.d.ts.map +0 -1
- package/dist/src/init/types.js +0 -259
- package/dist/src/init/types.js.map +0 -1
- package/dist/src/mcp-client.d.ts +0 -92
- package/dist/src/mcp-client.d.ts.map +0 -1
- package/dist/src/mcp-client.js +0 -237
- package/dist/src/mcp-client.js.map +0 -1
- package/dist/src/mcp-server.d.ts +0 -161
- package/dist/src/mcp-server.d.ts.map +0 -1
- package/dist/src/mcp-server.js +0 -627
- package/dist/src/mcp-server.js.map +0 -1
- package/dist/src/mcp-tools/agent-tools.d.ts +0 -9
- package/dist/src/mcp-tools/agent-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/agent-tools.js +0 -549
- package/dist/src/mcp-tools/agent-tools.js.map +0 -1
- package/dist/src/mcp-tools/agentdb-tools.d.ts +0 -30
- package/dist/src/mcp-tools/agentdb-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/agentdb-tools.js +0 -557
- package/dist/src/mcp-tools/agentdb-tools.js.map +0 -1
- package/dist/src/mcp-tools/analyze-tools.d.ts +0 -38
- package/dist/src/mcp-tools/analyze-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/analyze-tools.js +0 -317
- package/dist/src/mcp-tools/analyze-tools.js.map +0 -1
- package/dist/src/mcp-tools/auto-install.d.ts +0 -83
- package/dist/src/mcp-tools/auto-install.d.ts.map +0 -1
- package/dist/src/mcp-tools/auto-install.js +0 -131
- package/dist/src/mcp-tools/auto-install.js.map +0 -1
- package/dist/src/mcp-tools/browser-tools.d.ts +0 -13
- package/dist/src/mcp-tools/browser-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/browser-tools.js +0 -550
- package/dist/src/mcp-tools/browser-tools.js.map +0 -1
- package/dist/src/mcp-tools/claims-tools.d.ts +0 -12
- package/dist/src/mcp-tools/claims-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/claims-tools.js +0 -732
- package/dist/src/mcp-tools/claims-tools.js.map +0 -1
- package/dist/src/mcp-tools/config-tools.d.ts +0 -8
- package/dist/src/mcp-tools/config-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/config-tools.js +0 -343
- package/dist/src/mcp-tools/config-tools.js.map +0 -1
- package/dist/src/mcp-tools/coordination-tools.d.ts +0 -13
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/coordination-tools.js +0 -486
- package/dist/src/mcp-tools/coordination-tools.js.map +0 -1
- package/dist/src/mcp-tools/daa-tools.d.ts +0 -13
- package/dist/src/mcp-tools/daa-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/daa-tools.js +0 -426
- package/dist/src/mcp-tools/daa-tools.js.map +0 -1
- package/dist/src/mcp-tools/embeddings-tools.d.ts +0 -9
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/embeddings-tools.js +0 -782
- package/dist/src/mcp-tools/embeddings-tools.js.map +0 -1
- package/dist/src/mcp-tools/github-tools.d.ts +0 -13
- package/dist/src/mcp-tools/github-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/github-tools.js +0 -373
- package/dist/src/mcp-tools/github-tools.js.map +0 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts +0 -8
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +0 -583
- package/dist/src/mcp-tools/hive-mind-tools.js.map +0 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts +0 -44
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/hooks-tools.js +0 -2969
- package/dist/src/mcp-tools/hooks-tools.js.map +0 -1
- package/dist/src/mcp-tools/index.d.ts +0 -23
- package/dist/src/mcp-tools/index.d.ts.map +0 -1
- package/dist/src/mcp-tools/index.js +0 -22
- package/dist/src/mcp-tools/index.js.map +0 -1
- package/dist/src/mcp-tools/memory-tools.d.ts +0 -14
- package/dist/src/mcp-tools/memory-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/memory-tools.js +0 -499
- package/dist/src/mcp-tools/memory-tools.js.map +0 -1
- package/dist/src/mcp-tools/neural-tools.d.ts +0 -16
- package/dist/src/mcp-tools/neural-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/neural-tools.js +0 -461
- package/dist/src/mcp-tools/neural-tools.js.map +0 -1
- package/dist/src/mcp-tools/performance-tools.d.ts +0 -16
- package/dist/src/mcp-tools/performance-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/performance-tools.js +0 -534
- package/dist/src/mcp-tools/performance-tools.js.map +0 -1
- package/dist/src/mcp-tools/progress-tools.d.ts +0 -14
- package/dist/src/mcp-tools/progress-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/progress-tools.js +0 -348
- package/dist/src/mcp-tools/progress-tools.js.map +0 -1
- package/dist/src/mcp-tools/security-tools.d.ts +0 -18
- package/dist/src/mcp-tools/security-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/security-tools.js +0 -434
- package/dist/src/mcp-tools/security-tools.js.map +0 -1
- package/dist/src/mcp-tools/session-tools.d.ts +0 -8
- package/dist/src/mcp-tools/session-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/session-tools.js +0 -315
- package/dist/src/mcp-tools/session-tools.js.map +0 -1
- package/dist/src/mcp-tools/swarm-tools.d.ts +0 -8
- package/dist/src/mcp-tools/swarm-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/swarm-tools.js +0 -102
- package/dist/src/mcp-tools/swarm-tools.js.map +0 -1
- package/dist/src/mcp-tools/system-tools.d.ts +0 -13
- package/dist/src/mcp-tools/system-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/system-tools.js +0 -417
- package/dist/src/mcp-tools/system-tools.js.map +0 -1
- package/dist/src/mcp-tools/task-tools.d.ts +0 -8
- package/dist/src/mcp-tools/task-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/task-tools.js +0 -338
- package/dist/src/mcp-tools/task-tools.js.map +0 -1
- package/dist/src/mcp-tools/terminal-tools.d.ts +0 -13
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/terminal-tools.js +0 -246
- package/dist/src/mcp-tools/terminal-tools.js.map +0 -1
- package/dist/src/mcp-tools/transfer-tools.d.ts +0 -14
- package/dist/src/mcp-tools/transfer-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/transfer-tools.js +0 -396
- package/dist/src/mcp-tools/transfer-tools.js.map +0 -1
- package/dist/src/mcp-tools/types.d.ts +0 -31
- package/dist/src/mcp-tools/types.d.ts.map +0 -1
- package/dist/src/mcp-tools/types.js +0 -7
- package/dist/src/mcp-tools/types.js.map +0 -1
- package/dist/src/mcp-tools/workflow-tools.d.ts +0 -8
- package/dist/src/mcp-tools/workflow-tools.d.ts.map +0 -1
- package/dist/src/mcp-tools/workflow-tools.js +0 -572
- package/dist/src/mcp-tools/workflow-tools.js.map +0 -1
- package/dist/src/memory/ewc-consolidation.d.ts +0 -271
- package/dist/src/memory/ewc-consolidation.d.ts.map +0 -1
- package/dist/src/memory/ewc-consolidation.js +0 -542
- package/dist/src/memory/ewc-consolidation.js.map +0 -1
- package/dist/src/memory/intelligence.d.ts +0 -285
- package/dist/src/memory/intelligence.d.ts.map +0 -1
- package/dist/src/memory/intelligence.js +0 -794
- package/dist/src/memory/intelligence.js.map +0 -1
- package/dist/src/memory/memory-bridge.d.ts +0 -407
- package/dist/src/memory/memory-bridge.d.ts.map +0 -1
- package/dist/src/memory/memory-bridge.js +0 -1494
- package/dist/src/memory/memory-bridge.js.map +0 -1
- package/dist/src/memory/memory-initializer.d.ts +0 -405
- package/dist/src/memory/memory-initializer.d.ts.map +0 -1
- package/dist/src/memory/memory-initializer.js +0 -2105
- package/dist/src/memory/memory-initializer.js.map +0 -1
- package/dist/src/memory/sona-optimizer.d.ts +0 -227
- package/dist/src/memory/sona-optimizer.d.ts.map +0 -1
- package/dist/src/memory/sona-optimizer.js +0 -633
- package/dist/src/memory/sona-optimizer.js.map +0 -1
- package/dist/src/output.d.ts +0 -133
- package/dist/src/output.d.ts.map +0 -1
- package/dist/src/output.js +0 -514
- package/dist/src/output.js.map +0 -1
- package/dist/src/parser.d.ts +0 -41
- package/dist/src/parser.d.ts.map +0 -1
- package/dist/src/parser.js +0 -377
- package/dist/src/parser.js.map +0 -1
- package/dist/src/plugins/manager.d.ts +0 -133
- package/dist/src/plugins/manager.d.ts.map +0 -1
- package/dist/src/plugins/manager.js +0 -400
- package/dist/src/plugins/manager.js.map +0 -1
- package/dist/src/plugins/store/discovery.d.ts +0 -88
- package/dist/src/plugins/store/discovery.d.ts.map +0 -1
- package/dist/src/plugins/store/discovery.js +0 -1147
- package/dist/src/plugins/store/discovery.js.map +0 -1
- package/dist/src/plugins/store/index.d.ts +0 -76
- package/dist/src/plugins/store/index.d.ts.map +0 -1
- package/dist/src/plugins/store/index.js +0 -141
- package/dist/src/plugins/store/index.js.map +0 -1
- package/dist/src/plugins/store/search.d.ts +0 -46
- package/dist/src/plugins/store/search.d.ts.map +0 -1
- package/dist/src/plugins/store/search.js +0 -230
- package/dist/src/plugins/store/search.js.map +0 -1
- package/dist/src/plugins/store/types.d.ts +0 -274
- package/dist/src/plugins/store/types.d.ts.map +0 -1
- package/dist/src/plugins/store/types.js +0 -7
- package/dist/src/plugins/store/types.js.map +0 -1
- package/dist/src/plugins/tests/demo-plugin-store.d.ts +0 -7
- package/dist/src/plugins/tests/demo-plugin-store.d.ts.map +0 -1
- package/dist/src/plugins/tests/demo-plugin-store.js +0 -126
- package/dist/src/plugins/tests/demo-plugin-store.js.map +0 -1
- package/dist/src/plugins/tests/standalone-test.d.ts +0 -12
- package/dist/src/plugins/tests/standalone-test.d.ts.map +0 -1
- package/dist/src/plugins/tests/standalone-test.js +0 -188
- package/dist/src/plugins/tests/standalone-test.js.map +0 -1
- package/dist/src/plugins/tests/test-plugin-store.d.ts +0 -7
- package/dist/src/plugins/tests/test-plugin-store.d.ts.map +0 -1
- package/dist/src/plugins/tests/test-plugin-store.js +0 -206
- package/dist/src/plugins/tests/test-plugin-store.js.map +0 -1
- package/dist/src/production/circuit-breaker.d.ts +0 -101
- package/dist/src/production/circuit-breaker.d.ts.map +0 -1
- package/dist/src/production/circuit-breaker.js +0 -241
- package/dist/src/production/circuit-breaker.js.map +0 -1
- package/dist/src/production/error-handler.d.ts +0 -92
- package/dist/src/production/error-handler.d.ts.map +0 -1
- package/dist/src/production/error-handler.js +0 -299
- package/dist/src/production/error-handler.js.map +0 -1
- package/dist/src/production/index.d.ts +0 -23
- package/dist/src/production/index.d.ts.map +0 -1
- package/dist/src/production/index.js +0 -18
- package/dist/src/production/index.js.map +0 -1
- package/dist/src/production/monitoring.d.ts +0 -161
- package/dist/src/production/monitoring.d.ts.map +0 -1
- package/dist/src/production/monitoring.js +0 -356
- package/dist/src/production/monitoring.js.map +0 -1
- package/dist/src/production/rate-limiter.d.ts +0 -80
- package/dist/src/production/rate-limiter.d.ts.map +0 -1
- package/dist/src/production/rate-limiter.js +0 -201
- package/dist/src/production/rate-limiter.js.map +0 -1
- package/dist/src/production/retry.d.ts +0 -48
- package/dist/src/production/retry.d.ts.map +0 -1
- package/dist/src/production/retry.js +0 -179
- package/dist/src/production/retry.js.map +0 -1
- package/dist/src/prompt.d.ts +0 -44
- package/dist/src/prompt.d.ts.map +0 -1
- package/dist/src/prompt.js +0 -501
- package/dist/src/prompt.js.map +0 -1
- package/dist/src/runtime/headless.d.ts +0 -60
- package/dist/src/runtime/headless.d.ts.map +0 -1
- package/dist/src/runtime/headless.js +0 -284
- package/dist/src/runtime/headless.js.map +0 -1
- package/dist/src/ruvector/ast-analyzer.d.ts +0 -67
- package/dist/src/ruvector/ast-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/ast-analyzer.js +0 -277
- package/dist/src/ruvector/ast-analyzer.js.map +0 -1
- package/dist/src/ruvector/coverage-router.d.ts +0 -160
- package/dist/src/ruvector/coverage-router.d.ts.map +0 -1
- package/dist/src/ruvector/coverage-router.js +0 -529
- package/dist/src/ruvector/coverage-router.js.map +0 -1
- package/dist/src/ruvector/coverage-tools.d.ts +0 -33
- package/dist/src/ruvector/coverage-tools.d.ts.map +0 -1
- package/dist/src/ruvector/coverage-tools.js +0 -157
- package/dist/src/ruvector/coverage-tools.js.map +0 -1
- package/dist/src/ruvector/diff-classifier.d.ts +0 -175
- package/dist/src/ruvector/diff-classifier.d.ts.map +0 -1
- package/dist/src/ruvector/diff-classifier.js +0 -698
- package/dist/src/ruvector/diff-classifier.js.map +0 -1
- package/dist/src/ruvector/enhanced-model-router.d.ts +0 -146
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +0 -1
- package/dist/src/ruvector/enhanced-model-router.js +0 -529
- package/dist/src/ruvector/enhanced-model-router.js.map +0 -1
- package/dist/src/ruvector/flash-attention.d.ts +0 -195
- package/dist/src/ruvector/flash-attention.d.ts.map +0 -1
- package/dist/src/ruvector/flash-attention.js +0 -643
- package/dist/src/ruvector/flash-attention.js.map +0 -1
- package/dist/src/ruvector/graph-analyzer.d.ts +0 -187
- package/dist/src/ruvector/graph-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/graph-analyzer.js +0 -929
- package/dist/src/ruvector/graph-analyzer.js.map +0 -1
- package/dist/src/ruvector/index.d.ts +0 -34
- package/dist/src/ruvector/index.d.ts.map +0 -1
- package/dist/src/ruvector/index.js +0 -60
- package/dist/src/ruvector/index.js.map +0 -1
- package/dist/src/ruvector/lora-adapter.d.ts +0 -218
- package/dist/src/ruvector/lora-adapter.d.ts.map +0 -1
- package/dist/src/ruvector/lora-adapter.js +0 -455
- package/dist/src/ruvector/lora-adapter.js.map +0 -1
- package/dist/src/ruvector/model-router.d.ts +0 -220
- package/dist/src/ruvector/model-router.d.ts.map +0 -1
- package/dist/src/ruvector/model-router.js +0 -488
- package/dist/src/ruvector/model-router.js.map +0 -1
- package/dist/src/ruvector/moe-router.d.ts +0 -206
- package/dist/src/ruvector/moe-router.d.ts.map +0 -1
- package/dist/src/ruvector/moe-router.js +0 -626
- package/dist/src/ruvector/moe-router.js.map +0 -1
- package/dist/src/ruvector/q-learning-router.d.ts +0 -211
- package/dist/src/ruvector/q-learning-router.d.ts.map +0 -1
- package/dist/src/ruvector/q-learning-router.js +0 -681
- package/dist/src/ruvector/q-learning-router.js.map +0 -1
- package/dist/src/ruvector/semantic-router.d.ts +0 -77
- package/dist/src/ruvector/semantic-router.d.ts.map +0 -1
- package/dist/src/ruvector/semantic-router.js +0 -178
- package/dist/src/ruvector/semantic-router.js.map +0 -1
- package/dist/src/ruvector/vector-db.d.ts +0 -69
- package/dist/src/ruvector/vector-db.d.ts.map +0 -1
- package/dist/src/ruvector/vector-db.js +0 -243
- package/dist/src/ruvector/vector-db.js.map +0 -1
- package/dist/src/services/agentic-flow-bridge.d.ts +0 -50
- package/dist/src/services/agentic-flow-bridge.d.ts.map +0 -1
- package/dist/src/services/agentic-flow-bridge.js +0 -95
- package/dist/src/services/agentic-flow-bridge.js.map +0 -1
- package/dist/src/services/claim-service.d.ts +0 -204
- package/dist/src/services/claim-service.d.ts.map +0 -1
- package/dist/src/services/claim-service.js +0 -818
- package/dist/src/services/claim-service.js.map +0 -1
- package/dist/src/services/container-worker-pool.d.ts +0 -197
- package/dist/src/services/container-worker-pool.d.ts.map +0 -1
- package/dist/src/services/container-worker-pool.js +0 -583
- package/dist/src/services/container-worker-pool.js.map +0 -1
- package/dist/src/services/headless-worker-executor.d.ts +0 -304
- package/dist/src/services/headless-worker-executor.d.ts.map +0 -1
- package/dist/src/services/headless-worker-executor.js +0 -999
- package/dist/src/services/headless-worker-executor.js.map +0 -1
- package/dist/src/services/index.d.ts +0 -13
- package/dist/src/services/index.d.ts.map +0 -1
- package/dist/src/services/index.js +0 -11
- package/dist/src/services/index.js.map +0 -1
- package/dist/src/services/registry-api.d.ts +0 -58
- package/dist/src/services/registry-api.d.ts.map +0 -1
- package/dist/src/services/registry-api.js +0 -146
- package/dist/src/services/registry-api.js.map +0 -1
- package/dist/src/services/ruvector-training.d.ts +0 -214
- package/dist/src/services/ruvector-training.d.ts.map +0 -1
- package/dist/src/services/ruvector-training.js +0 -497
- package/dist/src/services/ruvector-training.js.map +0 -1
- package/dist/src/services/worker-daemon.d.ts +0 -203
- package/dist/src/services/worker-daemon.d.ts.map +0 -1
- package/dist/src/services/worker-daemon.js +0 -756
- package/dist/src/services/worker-daemon.js.map +0 -1
- package/dist/src/services/worker-queue.d.ts +0 -194
- package/dist/src/services/worker-queue.d.ts.map +0 -1
- package/dist/src/services/worker-queue.js +0 -513
- package/dist/src/services/worker-queue.js.map +0 -1
- package/dist/src/suggest.d.ts +0 -53
- package/dist/src/suggest.d.ts.map +0 -1
- package/dist/src/suggest.js +0 -200
- package/dist/src/suggest.js.map +0 -1
- package/dist/src/tests/ruvector-integration-benchmark.d.ts +0 -6
- package/dist/src/tests/ruvector-integration-benchmark.d.ts.map +0 -1
- package/dist/src/tests/ruvector-integration-benchmark.js +0 -385
- package/dist/src/tests/ruvector-integration-benchmark.js.map +0 -1
- package/dist/src/transfer/anonymization/index.d.ts +0 -25
- package/dist/src/transfer/anonymization/index.d.ts.map +0 -1
- package/dist/src/transfer/anonymization/index.js +0 -175
- package/dist/src/transfer/anonymization/index.js.map +0 -1
- package/dist/src/transfer/deploy-seraphine.d.ts +0 -13
- package/dist/src/transfer/deploy-seraphine.d.ts.map +0 -1
- package/dist/src/transfer/deploy-seraphine.js +0 -205
- package/dist/src/transfer/deploy-seraphine.js.map +0 -1
- package/dist/src/transfer/export.d.ts +0 -25
- package/dist/src/transfer/export.d.ts.map +0 -1
- package/dist/src/transfer/export.js +0 -113
- package/dist/src/transfer/export.js.map +0 -1
- package/dist/src/transfer/index.d.ts +0 -12
- package/dist/src/transfer/index.d.ts.map +0 -1
- package/dist/src/transfer/index.js +0 -31
- package/dist/src/transfer/index.js.map +0 -1
- package/dist/src/transfer/ipfs/client.d.ts +0 -109
- package/dist/src/transfer/ipfs/client.d.ts.map +0 -1
- package/dist/src/transfer/ipfs/client.js +0 -307
- package/dist/src/transfer/ipfs/client.js.map +0 -1
- package/dist/src/transfer/ipfs/upload.d.ts +0 -95
- package/dist/src/transfer/ipfs/upload.d.ts.map +0 -1
- package/dist/src/transfer/ipfs/upload.js +0 -411
- package/dist/src/transfer/ipfs/upload.js.map +0 -1
- package/dist/src/transfer/models/seraphine.d.ts +0 -72
- package/dist/src/transfer/models/seraphine.d.ts.map +0 -1
- package/dist/src/transfer/models/seraphine.js +0 -373
- package/dist/src/transfer/models/seraphine.js.map +0 -1
- package/dist/src/transfer/serialization/cfp.d.ts +0 -49
- package/dist/src/transfer/serialization/cfp.d.ts.map +0 -1
- package/dist/src/transfer/serialization/cfp.js +0 -183
- package/dist/src/transfer/serialization/cfp.js.map +0 -1
- package/dist/src/transfer/storage/gcs.d.ts +0 -82
- package/dist/src/transfer/storage/gcs.d.ts.map +0 -1
- package/dist/src/transfer/storage/gcs.js +0 -256
- package/dist/src/transfer/storage/gcs.js.map +0 -1
- package/dist/src/transfer/storage/index.d.ts +0 -6
- package/dist/src/transfer/storage/index.d.ts.map +0 -1
- package/dist/src/transfer/storage/index.js +0 -6
- package/dist/src/transfer/storage/index.js.map +0 -1
- package/dist/src/transfer/store/discovery.d.ts +0 -84
- package/dist/src/transfer/store/discovery.d.ts.map +0 -1
- package/dist/src/transfer/store/discovery.js +0 -382
- package/dist/src/transfer/store/discovery.js.map +0 -1
- package/dist/src/transfer/store/download.d.ts +0 -70
- package/dist/src/transfer/store/download.d.ts.map +0 -1
- package/dist/src/transfer/store/download.js +0 -334
- package/dist/src/transfer/store/download.js.map +0 -1
- package/dist/src/transfer/store/index.d.ts +0 -84
- package/dist/src/transfer/store/index.d.ts.map +0 -1
- package/dist/src/transfer/store/index.js +0 -153
- package/dist/src/transfer/store/index.js.map +0 -1
- package/dist/src/transfer/store/publish.d.ts +0 -76
- package/dist/src/transfer/store/publish.d.ts.map +0 -1
- package/dist/src/transfer/store/publish.js +0 -294
- package/dist/src/transfer/store/publish.js.map +0 -1
- package/dist/src/transfer/store/registry.d.ts +0 -58
- package/dist/src/transfer/store/registry.d.ts.map +0 -1
- package/dist/src/transfer/store/registry.js +0 -285
- package/dist/src/transfer/store/registry.js.map +0 -1
- package/dist/src/transfer/store/search.d.ts +0 -54
- package/dist/src/transfer/store/search.d.ts.map +0 -1
- package/dist/src/transfer/store/search.js +0 -232
- package/dist/src/transfer/store/search.js.map +0 -1
- package/dist/src/transfer/store/tests/standalone-test.d.ts +0 -12
- package/dist/src/transfer/store/tests/standalone-test.d.ts.map +0 -1
- package/dist/src/transfer/store/tests/standalone-test.js +0 -190
- package/dist/src/transfer/store/tests/standalone-test.js.map +0 -1
- package/dist/src/transfer/store/types.d.ts +0 -193
- package/dist/src/transfer/store/types.d.ts.map +0 -1
- package/dist/src/transfer/store/types.js +0 -6
- package/dist/src/transfer/store/types.js.map +0 -1
- package/dist/src/transfer/test-seraphine.d.ts +0 -6
- package/dist/src/transfer/test-seraphine.d.ts.map +0 -1
- package/dist/src/transfer/test-seraphine.js +0 -105
- package/dist/src/transfer/test-seraphine.js.map +0 -1
- package/dist/src/transfer/tests/test-store.d.ts +0 -7
- package/dist/src/transfer/tests/test-store.d.ts.map +0 -1
- package/dist/src/transfer/tests/test-store.js +0 -214
- package/dist/src/transfer/tests/test-store.js.map +0 -1
- package/dist/src/transfer/types.d.ts +0 -245
- package/dist/src/transfer/types.d.ts.map +0 -1
- package/dist/src/transfer/types.js +0 -6
- package/dist/src/transfer/types.js.map +0 -1
- package/dist/src/types.d.ts +0 -198
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/types.js +0 -38
- package/dist/src/types.js.map +0 -1
- package/dist/src/update/checker.d.ts +0 -34
- package/dist/src/update/checker.d.ts.map +0 -1
- package/dist/src/update/checker.js +0 -190
- package/dist/src/update/checker.js.map +0 -1
- package/dist/src/update/executor.d.ts +0 -32
- package/dist/src/update/executor.d.ts.map +0 -1
- package/dist/src/update/executor.js +0 -181
- package/dist/src/update/executor.js.map +0 -1
- package/dist/src/update/index.d.ts +0 -33
- package/dist/src/update/index.d.ts.map +0 -1
- package/dist/src/update/index.js +0 -64
- package/dist/src/update/index.js.map +0 -1
- package/dist/src/update/rate-limiter.d.ts +0 -20
- package/dist/src/update/rate-limiter.d.ts.map +0 -1
- package/dist/src/update/rate-limiter.js +0 -96
- package/dist/src/update/rate-limiter.js.map +0 -1
- package/dist/src/update/validator.d.ts +0 -17
- package/dist/src/update/validator.d.ts.map +0 -1
- package/dist/src/update/validator.js +0 -123
- package/dist/src/update/validator.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- optimization
|
|
10
10
|
- api_design
|
|
11
11
|
- error_handling
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning # ReasoningBank pattern storage
|
|
14
14
|
- context_enhancement # GNN-enhanced search
|
|
15
15
|
- fast_processing # Flash Attention
|
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- resource_allocation
|
|
10
10
|
- timeline_estimation
|
|
11
11
|
- risk_assessment
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning # Learn from planning outcomes
|
|
14
14
|
- context_enhancement # GNN-enhanced dependency mapping
|
|
15
15
|
- fast_processing # Flash Attention planning
|
|
@@ -366,7 +366,7 @@ console.log(`Common planning gaps: ${stats.commonCritiques}`);
|
|
|
366
366
|
- Efficient resource utilization (MoE expert selection)
|
|
367
367
|
- Continuous progress visibility
|
|
368
368
|
|
|
369
|
-
4. **New
|
|
369
|
+
4. **New v2.0.0-alpha Practices**:
|
|
370
370
|
- Learn from past plans (ReasoningBank)
|
|
371
371
|
- Use GNN for dependency mapping (+12.4% accuracy)
|
|
372
372
|
- Route tasks with MoE attention (optimal agent selection)
|
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- documentation_research
|
|
10
10
|
- dependency_tracking
|
|
11
11
|
- knowledge_synthesis
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning # ReasoningBank pattern storage
|
|
14
14
|
- context_enhancement # GNN-enhanced search (+12.4% accuracy)
|
|
15
15
|
- fast_processing # Flash Attention
|
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- performance_analysis
|
|
10
10
|
- best_practices
|
|
11
11
|
- documentation_review
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning # Learn from review patterns
|
|
14
14
|
- context_enhancement # GNN-enhanced issue detection
|
|
15
15
|
- fast_processing # Flash Attention review
|
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- e2e_testing
|
|
10
10
|
- performance_testing
|
|
11
11
|
- security_testing
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning # Learn from test failures
|
|
14
14
|
- context_enhancement # GNN-enhanced test case discovery
|
|
15
15
|
- fast_processing # Flash Attention test generation
|
|
@@ -112,7 +112,7 @@ hooks:
|
|
|
112
112
|
echo "📦 Checking ML libraries..."
|
|
113
113
|
python -c "import sklearn, pandas, numpy; print('Core ML libraries available')" 2>/dev/null || echo "ML libraries not installed"
|
|
114
114
|
|
|
115
|
-
# 🧠
|
|
115
|
+
# 🧠 v2.0.0-alpha: Learn from past model training patterns
|
|
116
116
|
echo "🧠 Learning from past ML training patterns..."
|
|
117
117
|
SIMILAR_MODELS=$(npx claude-flow@alpha memory search-patterns "ML training: $TASK" --k=5 --min-reward=0.8 2>/dev/null || echo "")
|
|
118
118
|
if [ -n "$SIMILAR_MODELS" ]; then
|
|
@@ -133,7 +133,7 @@ hooks:
|
|
|
133
133
|
find . -name "*.pkl" -o -name "*.h5" -o -name "*.joblib" | grep -v __pycache__ | head -5
|
|
134
134
|
echo "📋 Remember to version and document your model"
|
|
135
135
|
|
|
136
|
-
# 🧠
|
|
136
|
+
# 🧠 v2.0.0-alpha: Store model training patterns
|
|
137
137
|
echo "🧠 Storing ML training pattern for future learning..."
|
|
138
138
|
MODEL_COUNT=$(find . -name "*.pkl" -o -name "*.h5" | grep -v __pycache__ | wc -l)
|
|
139
139
|
REWARD="0.85"
|
|
@@ -176,9 +176,9 @@ examples:
|
|
|
176
176
|
response: "I'll create a neural network architecture for image classification, including data augmentation, model training, and performance evaluation..."
|
|
177
177
|
---
|
|
178
178
|
|
|
179
|
-
# Machine Learning Model Developer
|
|
179
|
+
# Machine Learning Model Developer v2.0.0-alpha
|
|
180
180
|
|
|
181
|
-
You are a Machine Learning Model Developer with **self-learning** hyperparameter optimization and **pattern recognition** powered by Agentic-Flow
|
|
181
|
+
You are a Machine Learning Model Developer with **self-learning** hyperparameter optimization and **pattern recognition** powered by Agentic-Flow v2.0.0-alpha.
|
|
182
182
|
|
|
183
183
|
## 🧠 Self-Learning Protocol
|
|
184
184
|
|
|
@@ -109,7 +109,7 @@ hooks:
|
|
|
109
109
|
echo "📋 Analyzing existing API structure..."
|
|
110
110
|
find . -name "*.route.js" -o -name "*.controller.js" | head -20
|
|
111
111
|
|
|
112
|
-
# 🧠
|
|
112
|
+
# 🧠 v2.0.0-alpha: Learn from past API implementations
|
|
113
113
|
echo "🧠 Learning from past API patterns..."
|
|
114
114
|
SIMILAR_PATTERNS=$(npx claude-flow@alpha memory search-patterns "API implementation: $TASK" --k=5 --min-reward=0.85 2>/dev/null || echo "")
|
|
115
115
|
if [ -n "$SIMILAR_PATTERNS" ]; then
|
|
@@ -129,7 +129,7 @@ hooks:
|
|
|
129
129
|
echo "📊 Running API tests..."
|
|
130
130
|
npm run test:api 2>/dev/null || echo "No API tests configured"
|
|
131
131
|
|
|
132
|
-
# 🧠
|
|
132
|
+
# 🧠 v2.0.0-alpha: Store learning patterns
|
|
133
133
|
echo "🧠 Storing API pattern for future learning..."
|
|
134
134
|
REWARD=$(if npm run test:api 2>/dev/null; then echo "0.95"; else echo "0.7"; fi)
|
|
135
135
|
SUCCESS=$(if npm run test:api 2>/dev/null; then echo "true"; else echo "false"; fi)
|
|
@@ -170,9 +170,9 @@ examples:
|
|
|
170
170
|
response: "I'll implement a complete CRUD API for products with proper validation, error handling, and documentation..."
|
|
171
171
|
---
|
|
172
172
|
|
|
173
|
-
# Backend API Developer
|
|
173
|
+
# Backend API Developer v2.0.0-alpha
|
|
174
174
|
|
|
175
|
-
You are a specialized Backend API Developer agent with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
175
|
+
You are a specialized Backend API Developer agent with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
176
176
|
|
|
177
177
|
## 🧠 Self-Learning Protocol
|
|
178
178
|
|
|
@@ -104,7 +104,7 @@ hooks:
|
|
|
104
104
|
# Check for existing OpenAPI docs
|
|
105
105
|
find . -name "openapi.yaml" -o -name "swagger.yaml" -o -name "api.yaml" | grep -v node_modules
|
|
106
106
|
|
|
107
|
-
# 🧠
|
|
107
|
+
# 🧠 v2.0.0-alpha: Learn from past documentation patterns
|
|
108
108
|
echo "🧠 Learning from past API documentation patterns..."
|
|
109
109
|
SIMILAR_DOCS=$(npx claude-flow@alpha memory search-patterns "API documentation: $TASK" --k=5 --min-reward=0.85 2>/dev/null || echo "")
|
|
110
110
|
if [ -n "$SIMILAR_DOCS" ]; then
|
|
@@ -128,7 +128,7 @@ hooks:
|
|
|
128
128
|
grep -E "^(openapi:|info:|paths:)" openapi.yaml | head -5
|
|
129
129
|
fi
|
|
130
130
|
|
|
131
|
-
# 🧠
|
|
131
|
+
# 🧠 v2.0.0-alpha: Store documentation patterns
|
|
132
132
|
echo "🧠 Storing documentation pattern for future learning..."
|
|
133
133
|
ENDPOINT_COUNT=$(grep -c "^ /" openapi.yaml 2>/dev/null || echo "0")
|
|
134
134
|
SCHEMA_COUNT=$(grep -c "^ [A-Z]" openapi.yaml 2>/dev/null || echo "0")
|
|
@@ -171,9 +171,9 @@ examples:
|
|
|
171
171
|
response: "I'll analyze your REST API endpoints and create detailed OpenAPI documentation with request/response examples..."
|
|
172
172
|
---
|
|
173
173
|
|
|
174
|
-
# OpenAPI Documentation Specialist
|
|
174
|
+
# OpenAPI Documentation Specialist v2.0.0-alpha
|
|
175
175
|
|
|
176
|
-
You are an OpenAPI Documentation Specialist with **pattern learning** and **fast generation** capabilities powered by Agentic-Flow
|
|
176
|
+
You are an OpenAPI Documentation Specialist with **pattern learning** and **fast generation** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
177
177
|
|
|
178
178
|
## 🧠 Self-Learning Protocol
|
|
179
179
|
|
|
@@ -85,9 +85,9 @@ hooks:
|
|
|
85
85
|
# Code Review Swarm - Automated Code Review with AI Agents
|
|
86
86
|
|
|
87
87
|
## Overview
|
|
88
|
-
Deploy specialized AI agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
88
|
+
Deploy specialized AI agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
89
89
|
|
|
90
|
-
## 🧠 Self-Learning Protocol (
|
|
90
|
+
## 🧠 Self-Learning Protocol (v2.0.0-alpha)
|
|
91
91
|
|
|
92
92
|
### Before Each Review: Learn from Past Reviews
|
|
93
93
|
|
|
@@ -89,7 +89,7 @@ hooks:
|
|
|
89
89
|
# GitHub Issue Tracker
|
|
90
90
|
|
|
91
91
|
## Purpose
|
|
92
|
-
Intelligent issue management and project coordination with ruv-swarm integration for automated tracking, progress monitoring, and team coordination, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
92
|
+
Intelligent issue management and project coordination with ruv-swarm integration for automated tracking, progress monitoring, and team coordination, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
93
93
|
|
|
94
94
|
## Core Capabilities
|
|
95
95
|
- **Automated issue creation** with smart templates and labeling
|
|
@@ -98,7 +98,7 @@ Intelligent issue management and project coordination with ruv-swarm integration
|
|
|
98
98
|
- **Project milestone coordination** with integrated workflows
|
|
99
99
|
- **Cross-repository issue synchronization** for monorepo management
|
|
100
100
|
|
|
101
|
-
## 🧠 Self-Learning Protocol (
|
|
101
|
+
## 🧠 Self-Learning Protocol (v2.0.0-alpha)
|
|
102
102
|
|
|
103
103
|
### Before Issue Triage: Learn from History
|
|
104
104
|
|
|
@@ -93,7 +93,7 @@ hooks:
|
|
|
93
93
|
# GitHub PR Manager
|
|
94
94
|
|
|
95
95
|
## Purpose
|
|
96
|
-
Comprehensive pull request management with swarm coordination for automated reviews, testing, and merge workflows, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
96
|
+
Comprehensive pull request management with swarm coordination for automated reviews, testing, and merge workflows, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
97
97
|
|
|
98
98
|
## Core Capabilities
|
|
99
99
|
- **Multi-reviewer coordination** with swarm agents
|
|
@@ -102,7 +102,7 @@ Comprehensive pull request management with swarm coordination for automated revi
|
|
|
102
102
|
- **Real-time progress tracking** with GitHub issue coordination
|
|
103
103
|
- **Intelligent branch management** and synchronization
|
|
104
104
|
|
|
105
|
-
## 🧠 Self-Learning Protocol (
|
|
105
|
+
## 🧠 Self-Learning Protocol (v2.0.0-alpha)
|
|
106
106
|
|
|
107
107
|
### Before Each PR Task: Learn from History
|
|
108
108
|
|
|
@@ -82,7 +82,7 @@ hooks:
|
|
|
82
82
|
# GitHub Release Manager
|
|
83
83
|
|
|
84
84
|
## Purpose
|
|
85
|
-
Automated release coordination and deployment with ruv-swarm orchestration for seamless version management, testing, and deployment across multiple packages, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
85
|
+
Automated release coordination and deployment with ruv-swarm orchestration for seamless version management, testing, and deployment across multiple packages, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
86
86
|
|
|
87
87
|
## Core Capabilities
|
|
88
88
|
- **Automated release pipelines** with comprehensive testing
|
|
@@ -91,7 +91,7 @@ Automated release coordination and deployment with ruv-swarm orchestration for s
|
|
|
91
91
|
- **Release documentation** generation and management
|
|
92
92
|
- **Multi-stage validation** with swarm coordination
|
|
93
93
|
|
|
94
|
-
## 🧠 Self-Learning Protocol (
|
|
94
|
+
## 🧠 Self-Learning Protocol (v2.0.0-alpha)
|
|
95
95
|
|
|
96
96
|
### Before Release: Learn from Past Releases
|
|
97
97
|
|
|
@@ -93,9 +93,9 @@ hooks:
|
|
|
93
93
|
# Workflow Automation - GitHub Actions Integration
|
|
94
94
|
|
|
95
95
|
## Overview
|
|
96
|
-
Integrate AI swarms with GitHub Actions to create intelligent, self-organizing CI/CD pipelines that adapt to your codebase through advanced multi-agent coordination and automation, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
96
|
+
Integrate AI swarms with GitHub Actions to create intelligent, self-organizing CI/CD pipelines that adapt to your codebase through advanced multi-agent coordination and automation, enhanced with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
97
97
|
|
|
98
|
-
## 🧠 Self-Learning Protocol (
|
|
98
|
+
## 🧠 Self-Learning Protocol (v2.0.0-alpha)
|
|
99
99
|
|
|
100
100
|
### Before Workflow Creation: Learn from Past Workflows
|
|
101
101
|
|
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- interface_design
|
|
10
10
|
- scalability_planning
|
|
11
11
|
- technology_selection
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning
|
|
14
14
|
- context_enhancement
|
|
15
15
|
- fast_processing
|
|
@@ -83,7 +83,7 @@ hooks:
|
|
|
83
83
|
|
|
84
84
|
# SPARC Architecture Agent
|
|
85
85
|
|
|
86
|
-
You are a system architect focused on the Architecture phase of the SPARC methodology with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
86
|
+
You are a system architect focused on the Architecture phase of the SPARC methodology with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
87
87
|
|
|
88
88
|
## 🧠 Self-Learning Protocol for Architecture
|
|
89
89
|
|
|
@@ -244,7 +244,7 @@ console.log(`Architecture aligned with requirements: ${architectureDecision.cons
|
|
|
244
244
|
// Time: ~2 hours
|
|
245
245
|
```
|
|
246
246
|
|
|
247
|
-
### After: Self-learning architecture (
|
|
247
|
+
### After: Self-learning architecture (v2.0.0-alpha)
|
|
248
248
|
```typescript
|
|
249
249
|
// 1. GNN finds similar successful architectures (+12.4% better matches)
|
|
250
250
|
// 2. Flash Attention processes large docs (4-7x faster)
|
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- data_structures
|
|
10
10
|
- complexity_analysis
|
|
11
11
|
- pattern_selection
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning
|
|
14
14
|
- context_enhancement
|
|
15
15
|
- fast_processing
|
|
@@ -80,7 +80,7 @@ hooks:
|
|
|
80
80
|
|
|
81
81
|
# SPARC Pseudocode Agent
|
|
82
82
|
|
|
83
|
-
You are an algorithm design specialist focused on the Pseudocode phase of the SPARC methodology with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
83
|
+
You are an algorithm design specialist focused on the Pseudocode phase of the SPARC methodology with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
84
84
|
|
|
85
85
|
## 🧠 Self-Learning Protocol for Algorithms
|
|
86
86
|
|
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- refactoring
|
|
10
10
|
- performance_tuning
|
|
11
11
|
- quality_improvement
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning
|
|
14
14
|
- context_enhancement
|
|
15
15
|
- fast_processing
|
|
@@ -96,7 +96,7 @@ hooks:
|
|
|
96
96
|
|
|
97
97
|
# SPARC Refinement Agent
|
|
98
98
|
|
|
99
|
-
You are a code refinement specialist focused on the Refinement phase of the SPARC methodology with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
99
|
+
You are a code refinement specialist focused on the Refinement phase of the SPARC methodology with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
100
100
|
|
|
101
101
|
## 🧠 Self-Learning Protocol for Refinement
|
|
102
102
|
|
|
@@ -279,7 +279,7 @@ console.log(`Refinement quality improved by ${weeklyImprovement}% this week`);
|
|
|
279
279
|
// Coverage: ~70%
|
|
280
280
|
```
|
|
281
281
|
|
|
282
|
-
### After: Self-learning refinement (
|
|
282
|
+
### After: Self-learning refinement (v2.0.0-alpha)
|
|
283
283
|
```typescript
|
|
284
284
|
// 1. Learn from past refactorings (avoid known pitfalls)
|
|
285
285
|
// 2. GNN finds similar code patterns (+12.4% accuracy)
|
|
@@ -9,7 +9,7 @@ capabilities:
|
|
|
9
9
|
- acceptance_criteria
|
|
10
10
|
- scope_definition
|
|
11
11
|
- stakeholder_analysis
|
|
12
|
-
# NEW
|
|
12
|
+
# NEW v2.0.0-alpha capabilities
|
|
13
13
|
- self_learning
|
|
14
14
|
- context_enhancement
|
|
15
15
|
- fast_processing
|
|
@@ -75,7 +75,7 @@ hooks:
|
|
|
75
75
|
|
|
76
76
|
# SPARC Specification Agent
|
|
77
77
|
|
|
78
|
-
You are a requirements analysis specialist focused on the Specification phase of the SPARC methodology with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow
|
|
78
|
+
You are a requirements analysis specialist focused on the Specification phase of the SPARC methodology with **self-learning** and **continuous improvement** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
79
79
|
|
|
80
80
|
## 🧠 Self-Learning Protocol for Specifications
|
|
81
81
|
|
|
@@ -142,7 +142,7 @@ WORKERS WORKERS WORKERS WORKERS
|
|
|
142
142
|
- Lessons learned documentation
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
## 🧠 Advanced Attention Mechanisms (
|
|
145
|
+
## 🧠 Advanced Attention Mechanisms (v2.0.0-alpha)
|
|
146
146
|
|
|
147
147
|
### Hyperbolic Attention for Hierarchical Coordination
|
|
148
148
|
|
|
@@ -14,7 +14,7 @@ hooks:
|
|
|
14
14
|
pre_execution: |
|
|
15
15
|
echo "🎨 Base Template Generator starting..."
|
|
16
16
|
|
|
17
|
-
# 🧠
|
|
17
|
+
# 🧠 v2.0.0-alpha: Learn from past successful templates
|
|
18
18
|
echo "🧠 Learning from past template patterns..."
|
|
19
19
|
SIMILAR_TEMPLATES=$(npx claude-flow@alpha memory search-patterns "Template generation: $TASK" --k=5 --min-reward=0.85 2>/dev/null || echo "")
|
|
20
20
|
if [ -n "$SIMILAR_TEMPLATES" ]; then
|
|
@@ -32,7 +32,7 @@ hooks:
|
|
|
32
32
|
post_execution: |
|
|
33
33
|
echo "✅ Template generation completed"
|
|
34
34
|
|
|
35
|
-
# 🧠
|
|
35
|
+
# 🧠 v2.0.0-alpha: Store template patterns
|
|
36
36
|
echo "🧠 Storing template pattern for future reuse..."
|
|
37
37
|
FILE_COUNT=$(find . -type f -newer /tmp/template_start 2>/dev/null | wc -l)
|
|
38
38
|
REWARD="0.9"
|
|
@@ -68,7 +68,7 @@ hooks:
|
|
|
68
68
|
--critique "Error: {{error_message}}" 2>/dev/null || true
|
|
69
69
|
---
|
|
70
70
|
|
|
71
|
-
You are a Base Template Generator
|
|
71
|
+
You are a Base Template Generator v2.0.0-alpha, an expert architect specializing in creating clean, well-structured foundational templates with **pattern learning** and **intelligent template search** powered by Agentic-Flow v2.0.0-alpha.
|
|
72
72
|
|
|
73
73
|
## 🧠 Self-Learning Protocol
|
|
74
74
|
|
|
@@ -10,7 +10,7 @@ capabilities:
|
|
|
10
10
|
- methodology_compliance
|
|
11
11
|
- result_synthesis
|
|
12
12
|
- progress_tracking
|
|
13
|
-
# NEW
|
|
13
|
+
# NEW v2.0.0-alpha capabilities
|
|
14
14
|
- self_learning
|
|
15
15
|
- hierarchical_coordination
|
|
16
16
|
- moe_routing
|
|
@@ -98,7 +98,7 @@ hooks:
|
|
|
98
98
|
# SPARC Methodology Orchestrator Agent
|
|
99
99
|
|
|
100
100
|
## Purpose
|
|
101
|
-
This agent orchestrates the complete SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) methodology with **hierarchical coordination**, **MoE routing**, and **self-learning** capabilities powered by Agentic-Flow
|
|
101
|
+
This agent orchestrates the complete SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) methodology with **hierarchical coordination**, **MoE routing**, and **self-learning** capabilities powered by Agentic-Flow v2.0.0-alpha.
|
|
102
102
|
|
|
103
103
|
## 🧠 Self-Learning Protocol for SPARC Coordination
|
|
104
104
|
|
|
@@ -349,7 +349,7 @@ console.log(`Methodology efficiency improved by ${weeklyImprovement}% this week`
|
|
|
349
349
|
// Time: ~1 week per cycle
|
|
350
350
|
```
|
|
351
351
|
|
|
352
|
-
### After: Self-learning SPARC coordination (
|
|
352
|
+
### After: Self-learning SPARC coordination (v2.0.0-alpha)
|
|
353
353
|
```typescript
|
|
354
354
|
// 1. Hierarchical coordination (queen-worker model)
|
|
355
355
|
// 2. MoE routing to optimal phase specialists
|
|
@@ -100,14 +100,6 @@ const commands = {
|
|
|
100
100
|
return session;
|
|
101
101
|
},
|
|
102
102
|
|
|
103
|
-
get: (key) => {
|
|
104
|
-
if (!fs.existsSync(SESSION_FILE)) return null;
|
|
105
|
-
try {
|
|
106
|
-
const session = JSON.parse(fs.readFileSync(SESSION_FILE, 'utf-8'));
|
|
107
|
-
return key ? (session.context || {})[key] : session.context;
|
|
108
|
-
} catch { return null; }
|
|
109
|
-
},
|
|
110
|
-
|
|
111
103
|
metric: (name) => {
|
|
112
104
|
if (!fs.existsSync(SESSION_FILE)) {
|
|
113
105
|
return null;
|
|
@@ -135,104 +135,48 @@ function getUserInfo() {
|
|
|
135
135
|
return { name, gitBranch, modelName };
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
// Get learning stats from
|
|
138
|
+
// Get learning stats from memory database
|
|
139
139
|
function getLearningStats() {
|
|
140
|
+
const memoryPaths = [
|
|
141
|
+
path.join(process.cwd(), '.swarm', 'memory.db'),
|
|
142
|
+
path.join(process.cwd(), '.claude', 'memory.db'),
|
|
143
|
+
path.join(process.cwd(), 'data', 'memory.db'),
|
|
144
|
+
];
|
|
145
|
+
|
|
140
146
|
let patterns = 0;
|
|
141
147
|
let sessions = 0;
|
|
142
148
|
let trajectories = 0;
|
|
143
|
-
let edges = 0;
|
|
144
|
-
let confidenceMean = 0;
|
|
145
|
-
let accessedCount = 0;
|
|
146
|
-
let trend = 'STABLE';
|
|
147
|
-
|
|
148
|
-
// PRIMARY: Read from intelligence loop data files
|
|
149
|
-
const dataDir = path.join(process.cwd(), '.claude-flow', 'data');
|
|
150
|
-
|
|
151
|
-
// 1. graph-state.json — authoritative node/edge counts
|
|
152
|
-
const graphPath = path.join(dataDir, 'graph-state.json');
|
|
153
|
-
if (fs.existsSync(graphPath)) {
|
|
154
|
-
try {
|
|
155
|
-
const graph = JSON.parse(fs.readFileSync(graphPath, 'utf-8'));
|
|
156
|
-
patterns = graph.nodes ? Object.keys(graph.nodes).length : 0;
|
|
157
|
-
edges = Array.isArray(graph.edges) ? graph.edges.length : 0;
|
|
158
|
-
} catch (e) { /* ignore */ }
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// 2. ranked-context.json — confidence and access data
|
|
162
|
-
const rankedPath = path.join(dataDir, 'ranked-context.json');
|
|
163
|
-
if (fs.existsSync(rankedPath)) {
|
|
164
|
-
try {
|
|
165
|
-
const ranked = JSON.parse(fs.readFileSync(rankedPath, 'utf-8'));
|
|
166
|
-
if (ranked.entries && ranked.entries.length > 0) {
|
|
167
|
-
patterns = Math.max(patterns, ranked.entries.length);
|
|
168
|
-
let confSum = 0;
|
|
169
|
-
let accCount = 0;
|
|
170
|
-
for (let i = 0; i < ranked.entries.length; i++) {
|
|
171
|
-
confSum += (ranked.entries[i].confidence || 0);
|
|
172
|
-
if ((ranked.entries[i].accessCount || 0) > 0) accCount++;
|
|
173
|
-
}
|
|
174
|
-
confidenceMean = confSum / ranked.entries.length;
|
|
175
|
-
accessedCount = accCount;
|
|
176
|
-
}
|
|
177
|
-
} catch (e) { /* ignore */ }
|
|
178
|
-
}
|
|
179
149
|
|
|
180
|
-
//
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
try {
|
|
184
|
-
const snapshot = JSON.parse(fs.readFileSync(snapshotPath, 'utf-8'));
|
|
185
|
-
if (snapshot.history && snapshot.history.length >= 2) {
|
|
186
|
-
const first = snapshot.history[0];
|
|
187
|
-
const last = snapshot.history[snapshot.history.length - 1];
|
|
188
|
-
const confDrift = (last.confidenceMean || 0) - (first.confidenceMean || 0);
|
|
189
|
-
trend = confDrift > 0.01 ? 'IMPROVING' : confDrift < -0.01 ? 'DECLINING' : 'STABLE';
|
|
190
|
-
sessions = Math.max(sessions, snapshot.history.length);
|
|
191
|
-
}
|
|
192
|
-
} catch (e) { /* ignore */ }
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
// 4. auto-memory-store.json — fallback entry count
|
|
196
|
-
if (patterns === 0) {
|
|
197
|
-
const autoMemPath = path.join(dataDir, 'auto-memory-store.json');
|
|
198
|
-
if (fs.existsSync(autoMemPath)) {
|
|
150
|
+
// Try to read from sqlite database
|
|
151
|
+
for (const dbPath of memoryPaths) {
|
|
152
|
+
if (fs.existsSync(dbPath)) {
|
|
199
153
|
try {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
path.join(process.cwd(), '.claude', 'memory.db'),
|
|
211
|
-
path.join(process.cwd(), 'data', 'memory.db'),
|
|
212
|
-
];
|
|
213
|
-
for (let j = 0; j < memoryPaths.length; j++) {
|
|
214
|
-
if (fs.existsSync(memoryPaths[j])) {
|
|
215
|
-
try {
|
|
216
|
-
const dbStats = fs.statSync(memoryPaths[j]);
|
|
217
|
-
patterns = Math.floor(dbStats.size / 1024 / 2);
|
|
218
|
-
break;
|
|
219
|
-
} catch (e) { /* ignore */ }
|
|
154
|
+
// Count entries in memory file (rough estimate from file size)
|
|
155
|
+
const stats = fs.statSync(dbPath);
|
|
156
|
+
const sizeKB = stats.size / 1024;
|
|
157
|
+
// Estimate: ~2KB per pattern on average
|
|
158
|
+
patterns = Math.floor(sizeKB / 2);
|
|
159
|
+
sessions = Math.max(1, Math.floor(patterns / 10));
|
|
160
|
+
trajectories = Math.floor(patterns / 5);
|
|
161
|
+
break;
|
|
162
|
+
} catch (e) {
|
|
163
|
+
// Ignore
|
|
220
164
|
}
|
|
221
165
|
}
|
|
222
166
|
}
|
|
223
167
|
|
|
224
|
-
//
|
|
168
|
+
// Also check for session files
|
|
225
169
|
const sessionsPath = path.join(process.cwd(), '.claude', 'sessions');
|
|
226
170
|
if (fs.existsSync(sessionsPath)) {
|
|
227
171
|
try {
|
|
228
172
|
const sessionFiles = fs.readdirSync(sessionsPath).filter(f => f.endsWith('.json'));
|
|
229
173
|
sessions = Math.max(sessions, sessionFiles.length);
|
|
230
|
-
} catch (e) {
|
|
174
|
+
} catch (e) {
|
|
175
|
+
// Ignore
|
|
176
|
+
}
|
|
231
177
|
}
|
|
232
178
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
return { patterns, sessions, trajectories, edges, confidenceMean, accessedCount, trend };
|
|
179
|
+
return { patterns, sessions, trajectories };
|
|
236
180
|
}
|
|
237
181
|
|
|
238
182
|
// Get V3 progress from learning state (grows as system learns)
|
|
@@ -346,22 +290,10 @@ function getSystemMetrics() {
|
|
|
346
290
|
// Get learning stats for intelligence %
|
|
347
291
|
const learning = getLearningStats();
|
|
348
292
|
|
|
349
|
-
// Intelligence %
|
|
350
|
-
|
|
351
|
-
let intelligencePct = 0;
|
|
352
|
-
if (learning.confidenceMean > 0 || (learning.patterns > 0 && learning.accessedCount > 0)) {
|
|
353
|
-
const confScore = Math.min(100, Math.floor(learning.confidenceMean * 100));
|
|
354
|
-
const accessRatio = learning.patterns > 0 ? (learning.accessedCount / learning.patterns) : 0;
|
|
355
|
-
const accessScore = Math.min(100, Math.floor(accessRatio * 100));
|
|
356
|
-
const densityScore = Math.min(100, Math.floor(learning.patterns / 5));
|
|
357
|
-
intelligencePct = Math.floor(confScore * 0.4 + accessScore * 0.3 + densityScore * 0.3);
|
|
358
|
-
}
|
|
359
|
-
// Fallback: legacy pattern count
|
|
360
|
-
if (intelligencePct === 0 && learning.patterns > 0) {
|
|
361
|
-
intelligencePct = Math.min(100, Math.floor(learning.patterns / 10));
|
|
362
|
-
}
|
|
293
|
+
// Intelligence % based on learned patterns (0 patterns = 0%, 1000+ = 100%)
|
|
294
|
+
const intelligencePct = Math.min(100, Math.floor((learning.patterns / 10) * 1));
|
|
363
295
|
|
|
364
|
-
// Context % based on session history
|
|
296
|
+
// Context % based on session history (0 sessions = 0%, grows with usage)
|
|
365
297
|
const contextPct = Math.min(100, Math.floor(learning.sessions * 5));
|
|
366
298
|
|
|
367
299
|
// Count active sub-agents from process list
|