@monoes/cli 1.0.0
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/analysis/analyze-code-quality.md +179 -0
- package/.claude/agents/analysis/code-analyzer.md +210 -0
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +179 -0
- package/.claude/agents/architecture/arch-system-design.md +157 -0
- package/.claude/agents/architecture/system-design/arch-system-design.md +155 -0
- package/.claude/agents/browser/browser-agent.yaml +182 -0
- package/.claude/agents/consensus/byzantine-coordinator.md +63 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +997 -0
- package/.claude/agents/consensus/gossip-coordinator.md +63 -0
- package/.claude/agents/consensus/performance-benchmarker.md +851 -0
- package/.claude/agents/consensus/quorum-manager.md +823 -0
- package/.claude/agents/consensus/raft-manager.md +63 -0
- package/.claude/agents/consensus/security-manager.md +622 -0
- package/.claude/agents/core/coder.md +470 -0
- package/.claude/agents/core/planner.md +393 -0
- package/.claude/agents/core/researcher.md +393 -0
- package/.claude/agents/core/reviewer.md +535 -0
- package/.claude/agents/core/tester.md +527 -0
- package/.claude/agents/custom/test-long-runner.md +44 -0
- package/.claude/agents/data/data-ml-model.md +459 -0
- package/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude/agents/development/dev-backend-api.md +354 -0
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude/agents/devops/ops-cicd-github.md +165 -0
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude/agents/documentation/docs-api-openapi.md +362 -0
- package/.claude/agents/github/code-review-swarm.md +385 -0
- package/.claude/agents/github/github-modes.md +173 -0
- package/.claude/agents/github/issue-tracker.md +616 -0
- package/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude/agents/github/pr-manager.md +455 -0
- package/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude/agents/github/release-manager.md +638 -0
- package/.claude/agents/github/release-swarm.md +629 -0
- package/.claude/agents/github/repo-architect.md +411 -0
- package/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude/agents/github/swarm-pr.md +458 -0
- package/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude/agents/github/workflow-automation.md +946 -0
- package/.claude/agents/goal/agent.md +816 -0
- package/.claude/agents/goal/goal-planner.md +73 -0
- package/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/.claude/agents/optimization/load-balancer.md +431 -0
- package/.claude/agents/optimization/performance-monitor.md +672 -0
- package/.claude/agents/optimization/resource-allocator.md +674 -0
- package/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/.claude/agents/payments/agentic-payments.md +126 -0
- package/.claude/agents/sona/sona-learning-optimizer.md +74 -0
- package/.claude/agents/sparc/architecture.md +713 -0
- package/.claude/agents/sparc/pseudocode.md +525 -0
- package/.claude/agents/sparc/refinement.md +838 -0
- package/.claude/agents/sparc/specification.md +491 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +225 -0
- package/.claude/agents/specialized/spec-mobile-react-native.md +227 -0
- package/.claude/agents/sublinear/consensus-coordinator.md +338 -0
- package/.claude/agents/sublinear/matrix-optimizer.md +185 -0
- package/.claude/agents/sublinear/pagerank-analyzer.md +299 -0
- package/.claude/agents/sublinear/performance-optimizer.md +368 -0
- package/.claude/agents/sublinear/trading-predictor.md +246 -0
- package/.claude/agents/swarm/adaptive-coordinator.md +1149 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +741 -0
- package/.claude/agents/swarm/mesh-coordinator.md +989 -0
- package/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude/agents/templates/base-template-generator.md +298 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude/agents/templates/sparc-coordinator.md +541 -0
- package/.claude/agents/testing/production-validator.md +395 -0
- package/.claude/agents/testing/tdd-london-swarm.md +244 -0
- package/.claude/agents/tmp.json +0 -0
- package/.claude/commands/agents/README.md +50 -0
- package/.claude/commands/agents/agent-capabilities.md +147 -0
- package/.claude/commands/agents/agent-coordination.md +28 -0
- package/.claude/commands/agents/agent-spawning.md +28 -0
- package/.claude/commands/agents/agent-types.md +216 -0
- package/.claude/commands/agents/health.md +139 -0
- package/.claude/commands/agents/list.md +100 -0
- package/.claude/commands/agents/logs.md +130 -0
- package/.claude/commands/agents/metrics.md +124 -0
- package/.claude/commands/agents/pool.md +127 -0
- package/.claude/commands/agents/spawn.md +146 -0
- package/.claude/commands/agents/status.md +115 -0
- package/.claude/commands/agents/stop.md +102 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +44 -0
- package/.claude/commands/coordination/orchestrate.md +43 -0
- package/.claude/commands/coordination/spawn.md +45 -0
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/hive-mind/README.md +17 -0
- package/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-init.md +18 -0
- package/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
- package/.claude/commands/hive-mind/hive-mind-status.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
- package/.claude/commands/hive-mind/hive-mind.md +27 -0
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +47 -0
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +44 -0
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +46 -0
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/monobrain-help.md +103 -0
- package/.claude/commands/monobrain-memory.md +107 -0
- package/.claude/commands/monobrain-swarm.md +205 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +62 -0
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +50 -0
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/pair/README.md +261 -0
- package/.claude/commands/pair/commands.md +546 -0
- package/.claude/commands/pair/config.md +510 -0
- package/.claude/commands/pair/examples.md +512 -0
- package/.claude/commands/pair/modes.md +348 -0
- package/.claude/commands/pair/session.md +407 -0
- package/.claude/commands/pair/start.md +209 -0
- package/.claude/commands/sparc.md +166 -0
- package/.claude/commands/stream-chain/pipeline.md +121 -0
- package/.claude/commands/stream-chain/run.md +70 -0
- package/.claude/commands/swarm/README.md +15 -0
- package/.claude/commands/swarm/analysis.md +95 -0
- package/.claude/commands/swarm/development.md +96 -0
- package/.claude/commands/swarm/examples.md +168 -0
- package/.claude/commands/swarm/maintenance.md +102 -0
- package/.claude/commands/swarm/optimization.md +117 -0
- package/.claude/commands/swarm/research.md +136 -0
- package/.claude/commands/swarm/swarm-analysis.md +8 -0
- package/.claude/commands/swarm/swarm-background.md +8 -0
- package/.claude/commands/swarm/swarm-init.md +19 -0
- package/.claude/commands/swarm/swarm-modes.md +8 -0
- package/.claude/commands/swarm/swarm-monitor.md +8 -0
- package/.claude/commands/swarm/swarm-spawn.md +19 -0
- package/.claude/commands/swarm/swarm-status.md +8 -0
- package/.claude/commands/swarm/swarm-strategies.md +8 -0
- package/.claude/commands/swarm/swarm.md +105 -0
- package/.claude/commands/swarm/testing.md +131 -0
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +108 -0
- package/.claude/commands/training/neural-train.md +75 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +63 -0
- package/.claude/commands/truth/start.md +143 -0
- package/.claude/commands/verify/check.md +50 -0
- package/.claude/commands/verify/start.md +128 -0
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +78 -0
- package/.claude/commands/workflows/research.md +63 -0
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/helpers/README.md +105 -0
- package/.claude/helpers/adr-compliance.sh +186 -0
- package/.claude/helpers/auto-commit.sh +178 -0
- package/.claude/helpers/auto-memory-hook.mjs +368 -0
- package/.claude/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/daemon-manager.sh +252 -0
- package/.claude/helpers/ddd-tracker.sh +144 -0
- package/.claude/helpers/github-safe.js +106 -0
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/guidance-hook.sh +13 -0
- package/.claude/helpers/guidance-hooks.sh +102 -0
- package/.claude/helpers/health-monitor.sh +108 -0
- package/.claude/helpers/hook-handler.cjs +319 -0
- package/.claude/helpers/intelligence.cjs +968 -0
- package/.claude/helpers/learning-hooks.sh +329 -0
- package/.claude/helpers/learning-optimizer.sh +127 -0
- package/.claude/helpers/learning-service.mjs +1144 -0
- package/.claude/helpers/memory.js +83 -0
- package/.claude/helpers/metrics-db.mjs +488 -0
- package/.claude/helpers/pattern-consolidator.sh +86 -0
- package/.claude/helpers/perf-worker.sh +160 -0
- package/.claude/helpers/post-commit +16 -0
- package/.claude/helpers/pre-commit +26 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/router.js +66 -0
- package/.claude/helpers/security-scanner.sh +127 -0
- package/.claude/helpers/session.js +135 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +189 -0
- package/.claude/helpers/statusline-hook.sh +21 -0
- package/.claude/helpers/statusline.cjs +576 -0
- package/.claude/helpers/statusline.js +316 -0
- package/.claude/helpers/swarm-comms.sh +353 -0
- package/.claude/helpers/swarm-hooks.sh +761 -0
- package/.claude/helpers/swarm-monitor.sh +211 -0
- package/.claude/helpers/sync-v3-metrics.sh +245 -0
- package/.claude/helpers/update-v3-progress.sh +166 -0
- package/.claude/helpers/v3-quick-status.sh +58 -0
- package/.claude/helpers/v3.sh +111 -0
- package/.claude/helpers/validate-v3-config.sh +216 -0
- package/.claude/helpers/worker-manager.sh +170 -0
- package/.claude/settings.json +182 -0
- package/.claude/skills/agentdb-advanced/SKILL.md +550 -0
- package/.claude/skills/agentdb-learning/SKILL.md +545 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +339 -0
- package/.claude/skills/agentdb-optimization/SKILL.md +509 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +339 -0
- package/.claude/skills/agentic-jujutsu/SKILL.md +645 -0
- package/.claude/skills/aidefence-scan.md +151 -0
- package/.claude/skills/aidefence.yaml +297 -0
- package/.claude/skills/browser/SKILL.md +204 -0
- package/.claude/skills/flow-nexus-neural/SKILL.md +738 -0
- package/.claude/skills/flow-nexus-platform/SKILL.md +1157 -0
- package/.claude/skills/flow-nexus-swarm/SKILL.md +610 -0
- package/.claude/skills/github-code-review/SKILL.md +1163 -0
- package/.claude/skills/github-multi-repo/SKILL.md +928 -0
- package/.claude/skills/github-project-management/SKILL.md +1277 -0
- package/.claude/skills/github-release-management/SKILL.md +1141 -0
- package/.claude/skills/github-workflow-automation/SKILL.md +1129 -0
- package/.claude/skills/hive-mind-advanced/SKILL.md +712 -0
- package/.claude/skills/hooks-automation/SKILL.md +1201 -0
- package/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/.claude/skills/performance-analysis/SKILL.md +563 -0
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +446 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +210 -0
- package/.claude/skills/secure-review.md +181 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/sparc-methodology/SKILL.md +1115 -0
- package/.claude/skills/stream-chain/SKILL.md +563 -0
- package/.claude/skills/swarm-advanced/SKILL.md +973 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +190 -0
- package/.claude/skills/v3-cli-modernization/SKILL.md +941 -0
- package/.claude/skills/v3-core-implementation/SKILL.md +867 -0
- package/.claude/skills/v3-ddd-architecture/SKILL.md +451 -0
- package/.claude/skills/v3-integration-deep/SKILL.md +258 -0
- package/.claude/skills/v3-mcp-optimization/SKILL.md +816 -0
- package/.claude/skills/v3-memory-unification/SKILL.md +180 -0
- package/.claude/skills/v3-performance-optimization/SKILL.md +408 -0
- package/.claude/skills/v3-security-overhaul/SKILL.md +91 -0
- package/.claude/skills/v3-swarm-coordination/SKILL.md +433 -0
- package/.claude/skills/verification-quality/SKILL.md +677 -0
- package/.claude/skills/worker-benchmarks/skill.md +135 -0
- package/.claude/skills/worker-integration/skill.md +154 -0
- package/README.md +646 -0
- package/bin/cli.js +156 -0
- package/bin/mcp-server.js +189 -0
- package/bin/preinstall.cjs +2 -0
- package/dist/src/agents/halt-signal.d.ts +25 -0
- package/dist/src/agents/halt-signal.d.ts.map +1 -0
- package/dist/src/agents/halt-signal.js +50 -0
- package/dist/src/agents/halt-signal.js.map +1 -0
- package/dist/src/agents/index.d.ts +18 -0
- package/dist/src/agents/index.d.ts.map +1 -0
- package/dist/src/agents/index.js +13 -0
- package/dist/src/agents/index.js.map +1 -0
- package/dist/src/agents/managed-agent.d.ts +41 -0
- package/dist/src/agents/managed-agent.d.ts.map +1 -0
- package/dist/src/agents/managed-agent.js +66 -0
- package/dist/src/agents/managed-agent.js.map +1 -0
- package/dist/src/agents/prompt-experiment.d.ts +22 -0
- package/dist/src/agents/prompt-experiment.d.ts.map +1 -0
- package/dist/src/agents/prompt-experiment.js +49 -0
- package/dist/src/agents/prompt-experiment.js.map +1 -0
- package/dist/src/agents/prompt-version-manager.d.ts +19 -0
- package/dist/src/agents/prompt-version-manager.d.ts.map +1 -0
- package/dist/src/agents/prompt-version-manager.js +58 -0
- package/dist/src/agents/prompt-version-manager.js.map +1 -0
- package/dist/src/agents/registry-builder.d.ts +36 -0
- package/dist/src/agents/registry-builder.d.ts.map +1 -0
- package/dist/src/agents/registry-builder.js +200 -0
- package/dist/src/agents/registry-builder.js.map +1 -0
- package/dist/src/agents/registry-query.d.ts +71 -0
- package/dist/src/agents/registry-query.d.ts.map +1 -0
- package/dist/src/agents/registry-query.js +125 -0
- package/dist/src/agents/registry-query.js.map +1 -0
- package/dist/src/agents/score-decay.d.ts +19 -0
- package/dist/src/agents/score-decay.d.ts.map +1 -0
- package/dist/src/agents/score-decay.js +22 -0
- package/dist/src/agents/score-decay.js.map +1 -0
- package/dist/src/agents/shared-instructions-loader.d.ts +13 -0
- package/dist/src/agents/shared-instructions-loader.d.ts.map +1 -0
- package/dist/src/agents/shared-instructions-loader.js +40 -0
- package/dist/src/agents/shared-instructions-loader.js.map +1 -0
- package/dist/src/agents/specialization-scorer.d.ts +54 -0
- package/dist/src/agents/specialization-scorer.d.ts.map +1 -0
- package/dist/src/agents/specialization-scorer.js +204 -0
- package/dist/src/agents/specialization-scorer.js.map +1 -0
- package/dist/src/agents/termination-watcher.d.ts +30 -0
- package/dist/src/agents/termination-watcher.d.ts.map +1 -0
- package/dist/src/agents/termination-watcher.js +84 -0
- package/dist/src/agents/termination-watcher.js.map +1 -0
- package/dist/src/agents/trigger-index.d.ts +20 -0
- package/dist/src/agents/trigger-index.d.ts.map +1 -0
- package/dist/src/agents/trigger-index.js +38 -0
- package/dist/src/agents/trigger-index.js.map +1 -0
- package/dist/src/agents/trigger-scanner.d.ts +62 -0
- package/dist/src/agents/trigger-scanner.d.ts.map +1 -0
- package/dist/src/agents/trigger-scanner.js +260 -0
- package/dist/src/agents/trigger-scanner.js.map +1 -0
- package/dist/src/agents/version-diff.d.ts +18 -0
- package/dist/src/agents/version-diff.d.ts.map +1 -0
- package/dist/src/agents/version-diff.js +64 -0
- package/dist/src/agents/version-diff.js.map +1 -0
- package/dist/src/agents/version-store.d.ts +61 -0
- package/dist/src/agents/version-store.d.ts.map +1 -0
- package/dist/src/agents/version-store.js +212 -0
- package/dist/src/agents/version-store.js.map +1 -0
- package/dist/src/appliance/gguf-engine.d.ts +91 -0
- package/dist/src/appliance/gguf-engine.d.ts.map +1 -0
- package/dist/src/appliance/gguf-engine.js +425 -0
- package/dist/src/appliance/gguf-engine.js.map +1 -0
- package/dist/src/appliance/ruvllm-bridge.d.ts +102 -0
- package/dist/src/appliance/ruvllm-bridge.d.ts.map +1 -0
- package/dist/src/appliance/ruvllm-bridge.js +292 -0
- package/dist/src/appliance/ruvllm-bridge.js.map +1 -0
- package/dist/src/appliance/rvfa-builder.d.ts +44 -0
- package/dist/src/appliance/rvfa-builder.d.ts.map +1 -0
- package/dist/src/appliance/rvfa-builder.js +329 -0
- package/dist/src/appliance/rvfa-builder.js.map +1 -0
- package/dist/src/appliance/rvfa-distribution.d.ts +97 -0
- package/dist/src/appliance/rvfa-distribution.d.ts.map +1 -0
- package/dist/src/appliance/rvfa-distribution.js +370 -0
- package/dist/src/appliance/rvfa-distribution.js.map +1 -0
- package/dist/src/appliance/rvfa-format.d.ts +111 -0
- package/dist/src/appliance/rvfa-format.d.ts.map +1 -0
- package/dist/src/appliance/rvfa-format.js +393 -0
- package/dist/src/appliance/rvfa-format.js.map +1 -0
- package/dist/src/appliance/rvfa-runner.d.ts +69 -0
- package/dist/src/appliance/rvfa-runner.d.ts.map +1 -0
- package/dist/src/appliance/rvfa-runner.js +237 -0
- package/dist/src/appliance/rvfa-runner.js.map +1 -0
- package/dist/src/appliance/rvfa-signing.d.ts +123 -0
- package/dist/src/appliance/rvfa-signing.d.ts.map +1 -0
- package/dist/src/appliance/rvfa-signing.js +347 -0
- package/dist/src/appliance/rvfa-signing.js.map +1 -0
- package/dist/src/autopilot-state.d.ts +77 -0
- package/dist/src/autopilot-state.d.ts.map +1 -0
- package/dist/src/autopilot-state.js +279 -0
- package/dist/src/autopilot-state.js.map +1 -0
- package/dist/src/benchmarks/benchmark-runner.d.ts +36 -0
- package/dist/src/benchmarks/benchmark-runner.d.ts.map +1 -0
- package/dist/src/benchmarks/benchmark-runner.js +128 -0
- package/dist/src/benchmarks/benchmark-runner.js.map +1 -0
- package/dist/src/benchmarks/metric-evaluators.d.ts +35 -0
- package/dist/src/benchmarks/metric-evaluators.d.ts.map +1 -0
- package/dist/src/benchmarks/metric-evaluators.js +91 -0
- package/dist/src/benchmarks/metric-evaluators.js.map +1 -0
- package/dist/src/benchmarks/pretrain/index.d.ts +58 -0
- package/dist/src/benchmarks/pretrain/index.d.ts.map +1 -0
- package/dist/src/benchmarks/pretrain/index.js +404 -0
- package/dist/src/benchmarks/pretrain/index.js.map +1 -0
- package/dist/src/commands/agent-version.d.ts +8 -0
- package/dist/src/commands/agent-version.d.ts.map +1 -0
- package/dist/src/commands/agent-version.js +78 -0
- package/dist/src/commands/agent-version.js.map +1 -0
- package/dist/src/commands/agent-wasm.d.ts +14 -0
- package/dist/src/commands/agent-wasm.d.ts.map +1 -0
- package/dist/src/commands/agent-wasm.js +333 -0
- package/dist/src/commands/agent-wasm.js.map +1 -0
- package/dist/src/commands/agent.d.ts +8 -0
- package/dist/src/commands/agent.d.ts.map +1 -0
- package/dist/src/commands/agent.js +941 -0
- package/dist/src/commands/agent.js.map +1 -0
- package/dist/src/commands/analyze.d.ts +19 -0
- package/dist/src/commands/analyze.d.ts.map +1 -0
- package/dist/src/commands/analyze.js +2048 -0
- package/dist/src/commands/analyze.js.map +1 -0
- package/dist/src/commands/appliance-advanced.d.ts +9 -0
- package/dist/src/commands/appliance-advanced.d.ts.map +1 -0
- package/dist/src/commands/appliance-advanced.js +215 -0
- package/dist/src/commands/appliance-advanced.js.map +1 -0
- package/dist/src/commands/appliance.d.ts +8 -0
- package/dist/src/commands/appliance.d.ts.map +1 -0
- package/dist/src/commands/appliance.js +406 -0
- package/dist/src/commands/appliance.js.map +1 -0
- package/dist/src/commands/autopilot.d.ts +15 -0
- package/dist/src/commands/autopilot.d.ts.map +1 -0
- package/dist/src/commands/autopilot.js +362 -0
- package/dist/src/commands/autopilot.js.map +1 -0
- package/dist/src/commands/benchmark.d.ts +10 -0
- package/dist/src/commands/benchmark.d.ts.map +1 -0
- package/dist/src/commands/benchmark.js +460 -0
- package/dist/src/commands/benchmark.js.map +1 -0
- package/dist/src/commands/claims.d.ts +10 -0
- package/dist/src/commands/claims.d.ts.map +1 -0
- package/dist/src/commands/claims.js +624 -0
- package/dist/src/commands/claims.js.map +1 -0
- package/dist/src/commands/cleanup.d.ts +13 -0
- package/dist/src/commands/cleanup.d.ts.map +1 -0
- package/dist/src/commands/cleanup.js +218 -0
- package/dist/src/commands/cleanup.js.map +1 -0
- package/dist/src/commands/completions.d.ts +10 -0
- package/dist/src/commands/completions.d.ts.map +1 -0
- package/dist/src/commands/completions.js +539 -0
- package/dist/src/commands/completions.js.map +1 -0
- package/dist/src/commands/config.d.ts +8 -0
- package/dist/src/commands/config.d.ts.map +1 -0
- package/dist/src/commands/config.js +428 -0
- package/dist/src/commands/config.js.map +1 -0
- package/dist/src/commands/consensus.d.ts +8 -0
- package/dist/src/commands/consensus.d.ts.map +1 -0
- package/dist/src/commands/consensus.js +64 -0
- package/dist/src/commands/consensus.js.map +1 -0
- package/dist/src/commands/cost.d.ts +8 -0
- package/dist/src/commands/cost.d.ts.map +1 -0
- package/dist/src/commands/cost.js +48 -0
- package/dist/src/commands/cost.js.map +1 -0
- package/dist/src/commands/daemon.d.ts +8 -0
- package/dist/src/commands/daemon.d.ts.map +1 -0
- package/dist/src/commands/daemon.js +669 -0
- package/dist/src/commands/daemon.js.map +1 -0
- package/dist/src/commands/deployment.d.ts +10 -0
- package/dist/src/commands/deployment.d.ts.map +1 -0
- package/dist/src/commands/deployment.js +672 -0
- package/dist/src/commands/deployment.js.map +1 -0
- package/dist/src/commands/dlq.d.ts +8 -0
- package/dist/src/commands/dlq.d.ts.map +1 -0
- package/dist/src/commands/dlq.js +81 -0
- package/dist/src/commands/dlq.js.map +1 -0
- package/dist/src/commands/doctor.d.ts +10 -0
- package/dist/src/commands/doctor.d.ts.map +1 -0
- package/dist/src/commands/doctor.js +619 -0
- package/dist/src/commands/doctor.js.map +1 -0
- package/dist/src/commands/embeddings.d.ts +18 -0
- package/dist/src/commands/embeddings.d.ts.map +1 -0
- package/dist/src/commands/embeddings.js +1576 -0
- package/dist/src/commands/embeddings.js.map +1 -0
- package/dist/src/commands/eval.d.ts +8 -0
- package/dist/src/commands/eval.d.ts.map +1 -0
- package/dist/src/commands/eval.js +81 -0
- package/dist/src/commands/eval.js.map +1 -0
- package/dist/src/commands/flows.d.ts +8 -0
- package/dist/src/commands/flows.d.ts.map +1 -0
- package/dist/src/commands/flows.js +90 -0
- package/dist/src/commands/flows.js.map +1 -0
- package/dist/src/commands/guidance.d.ts +8 -0
- package/dist/src/commands/guidance.d.ts.map +1 -0
- package/dist/src/commands/guidance.js +560 -0
- package/dist/src/commands/guidance.js.map +1 -0
- package/dist/src/commands/hive-mind.d.ts +11 -0
- package/dist/src/commands/hive-mind.d.ts.map +1 -0
- package/dist/src/commands/hive-mind.js +1237 -0
- package/dist/src/commands/hive-mind.js.map +1 -0
- package/dist/src/commands/hooks.d.ts +8 -0
- package/dist/src/commands/hooks.d.ts.map +1 -0
- package/dist/src/commands/hooks.js +4442 -0
- package/dist/src/commands/hooks.js.map +1 -0
- package/dist/src/commands/index.d.ts +117 -0
- package/dist/src/commands/index.d.ts.map +1 -0
- package/dist/src/commands/index.js +384 -0
- package/dist/src/commands/index.js.map +1 -0
- package/dist/src/commands/init.d.ts +8 -0
- package/dist/src/commands/init.d.ts.map +1 -0
- package/dist/src/commands/init.js +969 -0
- package/dist/src/commands/init.js.map +1 -0
- package/dist/src/commands/issues.d.ts +21 -0
- package/dist/src/commands/issues.d.ts.map +1 -0
- package/dist/src/commands/issues.js +567 -0
- package/dist/src/commands/issues.js.map +1 -0
- package/dist/src/commands/knowledge.d.ts +8 -0
- package/dist/src/commands/knowledge.d.ts.map +1 -0
- package/dist/src/commands/knowledge.js +82 -0
- package/dist/src/commands/knowledge.js.map +1 -0
- package/dist/src/commands/mcp.d.ts +11 -0
- package/dist/src/commands/mcp.d.ts.map +1 -0
- package/dist/src/commands/mcp.js +718 -0
- package/dist/src/commands/mcp.js.map +1 -0
- package/dist/src/commands/memory.d.ts +8 -0
- package/dist/src/commands/memory.d.ts.map +1 -0
- package/dist/src/commands/memory.js +1299 -0
- package/dist/src/commands/memory.js.map +1 -0
- package/dist/src/commands/metrics.d.ts +8 -0
- package/dist/src/commands/metrics.d.ts.map +1 -0
- package/dist/src/commands/metrics.js +55 -0
- package/dist/src/commands/metrics.js.map +1 -0
- package/dist/src/commands/migrate.d.ts +8 -0
- package/dist/src/commands/migrate.d.ts.map +1 -0
- package/dist/src/commands/migrate.js +742 -0
- package/dist/src/commands/migrate.js.map +1 -0
- package/dist/src/commands/neural.d.ts +10 -0
- package/dist/src/commands/neural.d.ts.map +1 -0
- package/dist/src/commands/neural.js +1454 -0
- package/dist/src/commands/neural.js.map +1 -0
- package/dist/src/commands/performance.d.ts +10 -0
- package/dist/src/commands/performance.d.ts.map +1 -0
- package/dist/src/commands/performance.js +579 -0
- package/dist/src/commands/performance.js.map +1 -0
- package/dist/src/commands/plugins.d.ts +11 -0
- package/dist/src/commands/plugins.d.ts.map +1 -0
- package/dist/src/commands/plugins.js +820 -0
- package/dist/src/commands/plugins.js.map +1 -0
- package/dist/src/commands/process.d.ts +10 -0
- package/dist/src/commands/process.d.ts.map +1 -0
- package/dist/src/commands/process.js +695 -0
- package/dist/src/commands/process.js.map +1 -0
- package/dist/src/commands/progress.d.ts +11 -0
- package/dist/src/commands/progress.d.ts.map +1 -0
- package/dist/src/commands/progress.js +259 -0
- package/dist/src/commands/progress.js.map +1 -0
- package/dist/src/commands/prompt.d.ts +8 -0
- package/dist/src/commands/prompt.d.ts.map +1 -0
- package/dist/src/commands/prompt.js +78 -0
- package/dist/src/commands/prompt.js.map +1 -0
- package/dist/src/commands/providers.d.ts +10 -0
- package/dist/src/commands/providers.d.ts.map +1 -0
- package/dist/src/commands/providers.js +359 -0
- package/dist/src/commands/providers.js.map +1 -0
- package/dist/src/commands/registry.d.ts +8 -0
- package/dist/src/commands/registry.d.ts.map +1 -0
- package/dist/src/commands/registry.js +143 -0
- package/dist/src/commands/registry.js.map +1 -0
- package/dist/src/commands/replay.d.ts +8 -0
- package/dist/src/commands/replay.d.ts.map +1 -0
- package/dist/src/commands/replay.js +60 -0
- package/dist/src/commands/replay.js.map +1 -0
- package/dist/src/commands/route.d.ts +16 -0
- package/dist/src/commands/route.d.ts.map +1 -0
- package/dist/src/commands/route.js +907 -0
- package/dist/src/commands/route.js.map +1 -0
- package/dist/src/commands/ruvector/backup.d.ts +11 -0
- package/dist/src/commands/ruvector/backup.d.ts.map +1 -0
- package/dist/src/commands/ruvector/backup.js +746 -0
- package/dist/src/commands/ruvector/backup.js.map +1 -0
- package/dist/src/commands/ruvector/benchmark.d.ts +11 -0
- package/dist/src/commands/ruvector/benchmark.d.ts.map +1 -0
- package/dist/src/commands/ruvector/benchmark.js +489 -0
- package/dist/src/commands/ruvector/benchmark.js.map +1 -0
- package/dist/src/commands/ruvector/import.d.ts +18 -0
- package/dist/src/commands/ruvector/import.d.ts.map +1 -0
- package/dist/src/commands/ruvector/import.js +349 -0
- package/dist/src/commands/ruvector/import.js.map +1 -0
- package/dist/src/commands/ruvector/index.d.ts +29 -0
- package/dist/src/commands/ruvector/index.d.ts.map +1 -0
- package/dist/src/commands/ruvector/index.js +129 -0
- package/dist/src/commands/ruvector/index.js.map +1 -0
- package/dist/src/commands/ruvector/init.d.ts +11 -0
- package/dist/src/commands/ruvector/init.d.ts.map +1 -0
- package/dist/src/commands/ruvector/init.js +466 -0
- package/dist/src/commands/ruvector/init.js.map +1 -0
- package/dist/src/commands/ruvector/migrate.d.ts +11 -0
- package/dist/src/commands/ruvector/migrate.d.ts.map +1 -0
- package/dist/src/commands/ruvector/migrate.js +497 -0
- package/dist/src/commands/ruvector/migrate.js.map +1 -0
- package/dist/src/commands/ruvector/optimize.d.ts +11 -0
- package/dist/src/commands/ruvector/optimize.d.ts.map +1 -0
- package/dist/src/commands/ruvector/optimize.js +504 -0
- package/dist/src/commands/ruvector/optimize.js.map +1 -0
- package/dist/src/commands/ruvector/setup.d.ts +18 -0
- package/dist/src/commands/ruvector/setup.d.ts.map +1 -0
- package/dist/src/commands/ruvector/setup.js +765 -0
- package/dist/src/commands/ruvector/setup.js.map +1 -0
- package/dist/src/commands/ruvector/status.d.ts +11 -0
- package/dist/src/commands/ruvector/status.d.ts.map +1 -0
- package/dist/src/commands/ruvector/status.js +478 -0
- package/dist/src/commands/ruvector/status.js.map +1 -0
- package/dist/src/commands/scores.d.ts +8 -0
- package/dist/src/commands/scores.d.ts.map +1 -0
- package/dist/src/commands/scores.js +95 -0
- package/dist/src/commands/scores.js.map +1 -0
- package/dist/src/commands/security.d.ts +10 -0
- package/dist/src/commands/security.d.ts.map +1 -0
- package/dist/src/commands/security.js +617 -0
- package/dist/src/commands/security.js.map +1 -0
- package/dist/src/commands/session.d.ts +8 -0
- package/dist/src/commands/session.d.ts.map +1 -0
- package/dist/src/commands/session.js +750 -0
- package/dist/src/commands/session.js.map +1 -0
- package/dist/src/commands/start.d.ts +8 -0
- package/dist/src/commands/start.d.ts.map +1 -0
- package/dist/src/commands/start.js +418 -0
- package/dist/src/commands/start.js.map +1 -0
- package/dist/src/commands/status.d.ts +8 -0
- package/dist/src/commands/status.d.ts.map +1 -0
- package/dist/src/commands/status.js +591 -0
- package/dist/src/commands/status.js.map +1 -0
- package/dist/src/commands/swarm.d.ts +8 -0
- package/dist/src/commands/swarm.d.ts.map +1 -0
- package/dist/src/commands/swarm.js +801 -0
- package/dist/src/commands/swarm.js.map +1 -0
- package/dist/src/commands/task.d.ts +8 -0
- package/dist/src/commands/task.d.ts.map +1 -0
- package/dist/src/commands/task.js +671 -0
- package/dist/src/commands/task.js.map +1 -0
- package/dist/src/commands/tools.d.ts +8 -0
- package/dist/src/commands/tools.d.ts.map +1 -0
- package/dist/src/commands/tools.js +76 -0
- package/dist/src/commands/tools.js.map +1 -0
- package/dist/src/commands/transfer-store.d.ts +13 -0
- package/dist/src/commands/transfer-store.d.ts.map +1 -0
- package/dist/src/commands/transfer-store.js +428 -0
- package/dist/src/commands/transfer-store.js.map +1 -0
- package/dist/src/commands/update.d.ts +8 -0
- package/dist/src/commands/update.d.ts.map +1 -0
- package/dist/src/commands/update.js +276 -0
- package/dist/src/commands/update.js.map +1 -0
- package/dist/src/commands/workflow.d.ts +8 -0
- package/dist/src/commands/workflow.d.ts.map +1 -0
- package/dist/src/commands/workflow.js +617 -0
- package/dist/src/commands/workflow.js.map +1 -0
- package/dist/src/config-adapter.d.ts +15 -0
- package/dist/src/config-adapter.d.ts.map +1 -0
- package/dist/src/config-adapter.js +186 -0
- package/dist/src/config-adapter.js.map +1 -0
- package/dist/src/consensus/audit-writer.d.ts +50 -0
- package/dist/src/consensus/audit-writer.d.ts.map +1 -0
- package/dist/src/consensus/audit-writer.js +109 -0
- package/dist/src/consensus/audit-writer.js.map +1 -0
- package/dist/src/consensus/index.d.ts +7 -0
- package/dist/src/consensus/index.d.ts.map +1 -0
- package/dist/src/consensus/index.js +6 -0
- package/dist/src/consensus/index.js.map +1 -0
- package/dist/src/consensus/vote-signer.d.ts +19 -0
- package/dist/src/consensus/vote-signer.d.ts.map +1 -0
- package/dist/src/consensus/vote-signer.js +32 -0
- package/dist/src/consensus/vote-signer.js.map +1 -0
- package/dist/src/context/context-provider.d.ts +44 -0
- package/dist/src/context/context-provider.d.ts.map +1 -0
- package/dist/src/context/context-provider.js +25 -0
- package/dist/src/context/context-provider.js.map +1 -0
- package/dist/src/context/git-state-provider.d.ts +12 -0
- package/dist/src/context/git-state-provider.d.ts.map +1 -0
- package/dist/src/context/git-state-provider.js +34 -0
- package/dist/src/context/git-state-provider.js.map +1 -0
- package/dist/src/context/index.d.ts +12 -0
- package/dist/src/context/index.d.ts.map +1 -0
- package/dist/src/context/index.js +12 -0
- package/dist/src/context/index.js.map +1 -0
- package/dist/src/context/project-conventions-provider.d.ts +15 -0
- package/dist/src/context/project-conventions-provider.d.ts.map +1 -0
- package/dist/src/context/project-conventions-provider.js +19 -0
- package/dist/src/context/project-conventions-provider.js.map +1 -0
- package/dist/src/context/prompt-assembler.d.ts +26 -0
- package/dist/src/context/prompt-assembler.d.ts.map +1 -0
- package/dist/src/context/prompt-assembler.js +93 -0
- package/dist/src/context/prompt-assembler.js.map +1 -0
- package/dist/src/context/task-history-provider.d.ts +24 -0
- package/dist/src/context/task-history-provider.d.ts.map +1 -0
- package/dist/src/context/task-history-provider.js +32 -0
- package/dist/src/context/task-history-provider.js.map +1 -0
- package/dist/src/context/user-preferences-provider.d.ts +14 -0
- package/dist/src/context/user-preferences-provider.d.ts.map +1 -0
- package/dist/src/context/user-preferences-provider.js +27 -0
- package/dist/src/context/user-preferences-provider.js.map +1 -0
- package/dist/src/dlq/dlq-reader.d.ts +29 -0
- package/dist/src/dlq/dlq-reader.d.ts.map +1 -0
- package/dist/src/dlq/dlq-reader.js +64 -0
- package/dist/src/dlq/dlq-reader.js.map +1 -0
- package/dist/src/dlq/dlq-replayer.d.ts +20 -0
- package/dist/src/dlq/dlq-replayer.d.ts.map +1 -0
- package/dist/src/dlq/dlq-replayer.js +56 -0
- package/dist/src/dlq/dlq-replayer.js.map +1 -0
- package/dist/src/dlq/dlq-writer.d.ts +24 -0
- package/dist/src/dlq/dlq-writer.d.ts.map +1 -0
- package/dist/src/dlq/dlq-writer.js +43 -0
- package/dist/src/dlq/dlq-writer.js.map +1 -0
- package/dist/src/dlq/index.d.ts +10 -0
- package/dist/src/dlq/index.d.ts.map +1 -0
- package/dist/src/dlq/index.js +7 -0
- package/dist/src/dlq/index.js.map +1 -0
- package/dist/src/eval/dataset-manager.d.ts +33 -0
- package/dist/src/eval/dataset-manager.d.ts.map +1 -0
- package/dist/src/eval/dataset-manager.js +97 -0
- package/dist/src/eval/dataset-manager.js.map +1 -0
- package/dist/src/eval/dataset-runner.d.ts +23 -0
- package/dist/src/eval/dataset-runner.d.ts.map +1 -0
- package/dist/src/eval/dataset-runner.js +59 -0
- package/dist/src/eval/dataset-runner.js.map +1 -0
- package/dist/src/eval/index.d.ts +10 -0
- package/dist/src/eval/index.d.ts.map +1 -0
- package/dist/src/eval/index.js +7 -0
- package/dist/src/eval/index.js.map +1 -0
- package/dist/src/eval/trace-collector.d.ts +40 -0
- package/dist/src/eval/trace-collector.d.ts.map +1 -0
- package/dist/src/eval/trace-collector.js +82 -0
- package/dist/src/eval/trace-collector.js.map +1 -0
- package/dist/src/index.d.ts +82 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +578 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/infrastructure/in-memory-repositories.d.ts +68 -0
- package/dist/src/infrastructure/in-memory-repositories.d.ts.map +1 -0
- package/dist/src/infrastructure/in-memory-repositories.js +264 -0
- package/dist/src/infrastructure/in-memory-repositories.js.map +1 -0
- package/dist/src/init/claudemd-generator.d.ts +25 -0
- package/dist/src/init/claudemd-generator.d.ts.map +1 -0
- package/dist/src/init/claudemd-generator.js +486 -0
- package/dist/src/init/claudemd-generator.js.map +1 -0
- package/dist/src/init/executor.d.ts +41 -0
- package/dist/src/init/executor.d.ts.map +1 -0
- package/dist/src/init/executor.js +1807 -0
- package/dist/src/init/executor.js.map +1 -0
- package/dist/src/init/helpers-generator.d.ts +60 -0
- package/dist/src/init/helpers-generator.d.ts.map +1 -0
- package/dist/src/init/helpers-generator.js +1185 -0
- package/dist/src/init/helpers-generator.js.map +1 -0
- package/dist/src/init/index.d.ts +13 -0
- package/dist/src/init/index.d.ts.map +1 -0
- package/dist/src/init/index.js +15 -0
- package/dist/src/init/index.js.map +1 -0
- package/dist/src/init/mcp-generator.d.ts +26 -0
- package/dist/src/init/mcp-generator.d.ts.map +1 -0
- package/dist/src/init/mcp-generator.js +116 -0
- package/dist/src/init/mcp-generator.js.map +1 -0
- package/dist/src/init/settings-generator.d.ts +14 -0
- package/dist/src/init/settings-generator.d.ts.map +1 -0
- package/dist/src/init/settings-generator.js +392 -0
- package/dist/src/init/settings-generator.js.map +1 -0
- package/dist/src/init/statusline-generator.d.ts +28 -0
- package/dist/src/init/statusline-generator.d.ts.map +1 -0
- package/dist/src/init/statusline-generator.js +833 -0
- package/dist/src/init/statusline-generator.js.map +1 -0
- package/dist/src/init/types.d.ts +295 -0
- package/dist/src/init/types.d.ts.map +1 -0
- package/dist/src/init/types.js +263 -0
- package/dist/src/init/types.js.map +1 -0
- package/dist/src/interactive/interrupt.d.ts +22 -0
- package/dist/src/interactive/interrupt.d.ts.map +1 -0
- package/dist/src/interactive/interrupt.js +66 -0
- package/dist/src/interactive/interrupt.js.map +1 -0
- package/dist/src/mcp/deprecation-injector.d.ts +25 -0
- package/dist/src/mcp/deprecation-injector.d.ts.map +1 -0
- package/dist/src/mcp/deprecation-injector.js +48 -0
- package/dist/src/mcp/deprecation-injector.js.map +1 -0
- package/dist/src/mcp/tool-registry.d.ts +61 -0
- package/dist/src/mcp/tool-registry.d.ts.map +1 -0
- package/dist/src/mcp/tool-registry.js +212 -0
- package/dist/src/mcp/tool-registry.js.map +1 -0
- package/dist/src/mcp-client.d.ts +92 -0
- package/dist/src/mcp-client.d.ts.map +1 -0
- package/dist/src/mcp-client.js +249 -0
- package/dist/src/mcp-client.js.map +1 -0
- package/dist/src/mcp-server.d.ts +163 -0
- package/dist/src/mcp-server.d.ts.map +1 -0
- package/dist/src/mcp-server.js +682 -0
- package/dist/src/mcp-server.js.map +1 -0
- package/dist/src/mcp-tools/agent-tools.d.ts +9 -0
- package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/agent-tools.js +564 -0
- package/dist/src/mcp-tools/agent-tools.js.map +1 -0
- package/dist/src/mcp-tools/agentdb-tools.d.ts +30 -0
- package/dist/src/mcp-tools/agentdb-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/agentdb-tools.js +557 -0
- package/dist/src/mcp-tools/agentdb-tools.js.map +1 -0
- package/dist/src/mcp-tools/analyze-tools.d.ts +38 -0
- package/dist/src/mcp-tools/analyze-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/analyze-tools.js +317 -0
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -0
- package/dist/src/mcp-tools/auto-install.d.ts +83 -0
- package/dist/src/mcp-tools/auto-install.d.ts.map +1 -0
- package/dist/src/mcp-tools/auto-install.js +131 -0
- package/dist/src/mcp-tools/auto-install.js.map +1 -0
- package/dist/src/mcp-tools/autopilot-tools.d.ts +12 -0
- package/dist/src/mcp-tools/autopilot-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/autopilot-tools.js +227 -0
- package/dist/src/mcp-tools/autopilot-tools.js.map +1 -0
- package/dist/src/mcp-tools/browser-tools.d.ts +13 -0
- package/dist/src/mcp-tools/browser-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/browser-tools.js +550 -0
- package/dist/src/mcp-tools/browser-tools.js.map +1 -0
- package/dist/src/mcp-tools/claims-tools.d.ts +12 -0
- package/dist/src/mcp-tools/claims-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/claims-tools.js +747 -0
- package/dist/src/mcp-tools/claims-tools.js.map +1 -0
- package/dist/src/mcp-tools/config-tools.d.ts +8 -0
- package/dist/src/mcp-tools/config-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/config-tools.js +353 -0
- package/dist/src/mcp-tools/config-tools.js.map +1 -0
- package/dist/src/mcp-tools/coordination-tools.d.ts +13 -0
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/coordination-tools.js +673 -0
- package/dist/src/mcp-tools/coordination-tools.js.map +1 -0
- package/dist/src/mcp-tools/daa-tools.d.ts +13 -0
- package/dist/src/mcp-tools/daa-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/daa-tools.js +473 -0
- package/dist/src/mcp-tools/daa-tools.js.map +1 -0
- package/dist/src/mcp-tools/embeddings-tools.d.ts +9 -0
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/embeddings-tools.js +782 -0
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -0
- package/dist/src/mcp-tools/github-tools.d.ts +9 -0
- package/dist/src/mcp-tools/github-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/github-tools.js +472 -0
- package/dist/src/mcp-tools/github-tools.js.map +1 -0
- package/dist/src/mcp-tools/guidance-tools.d.ts +15 -0
- package/dist/src/mcp-tools/guidance-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/guidance-tools.js +618 -0
- package/dist/src/mcp-tools/guidance-tools.js.map +1 -0
- package/dist/src/mcp-tools/hive-mind-tools.d.ts +8 -0
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/hive-mind-tools.js +842 -0
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts +44 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-tools.js +3295 -0
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -0
- package/dist/src/mcp-tools/index.d.ts +27 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -0
- package/dist/src/mcp-tools/index.js +26 -0
- package/dist/src/mcp-tools/index.js.map +1 -0
- package/dist/src/mcp-tools/memory-tools.d.ts +14 -0
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/memory-tools.js +512 -0
- package/dist/src/mcp-tools/memory-tools.js.map +1 -0
- package/dist/src/mcp-tools/neural-tools.d.ts +16 -0
- package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/neural-tools.js +634 -0
- package/dist/src/mcp-tools/neural-tools.js.map +1 -0
- package/dist/src/mcp-tools/performance-tools.d.ts +16 -0
- package/dist/src/mcp-tools/performance-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/performance-tools.js +643 -0
- package/dist/src/mcp-tools/performance-tools.js.map +1 -0
- package/dist/src/mcp-tools/progress-tools.d.ts +14 -0
- package/dist/src/mcp-tools/progress-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/progress-tools.js +348 -0
- package/dist/src/mcp-tools/progress-tools.js.map +1 -0
- package/dist/src/mcp-tools/request-tracker.d.ts +17 -0
- package/dist/src/mcp-tools/request-tracker.d.ts.map +1 -0
- package/dist/src/mcp-tools/request-tracker.js +27 -0
- package/dist/src/mcp-tools/request-tracker.js.map +1 -0
- package/dist/src/mcp-tools/ruvllm-tools.d.ts +9 -0
- package/dist/src/mcp-tools/ruvllm-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/ruvllm-tools.js +284 -0
- package/dist/src/mcp-tools/ruvllm-tools.js.map +1 -0
- package/dist/src/mcp-tools/security-tools.d.ts +18 -0
- package/dist/src/mcp-tools/security-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/security-tools.js +434 -0
- package/dist/src/mcp-tools/security-tools.js.map +1 -0
- package/dist/src/mcp-tools/session-tools.d.ts +8 -0
- package/dist/src/mcp-tools/session-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/session-tools.js +338 -0
- package/dist/src/mcp-tools/session-tools.js.map +1 -0
- package/dist/src/mcp-tools/swarm-tools.d.ts +9 -0
- package/dist/src/mcp-tools/swarm-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/swarm-tools.js +289 -0
- package/dist/src/mcp-tools/swarm-tools.js.map +1 -0
- package/dist/src/mcp-tools/system-tools.d.ts +13 -0
- package/dist/src/mcp-tools/system-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/system-tools.js +551 -0
- package/dist/src/mcp-tools/system-tools.js.map +1 -0
- package/dist/src/mcp-tools/task-tools.d.ts +8 -0
- package/dist/src/mcp-tools/task-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/task-tools.js +406 -0
- package/dist/src/mcp-tools/task-tools.js.map +1 -0
- package/dist/src/mcp-tools/terminal-tools.d.ts +8 -0
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/terminal-tools.js +260 -0
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -0
- package/dist/src/mcp-tools/transfer-tools.d.ts +14 -0
- package/dist/src/mcp-tools/transfer-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/transfer-tools.js +396 -0
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -0
- package/dist/src/mcp-tools/types.d.ts +37 -0
- package/dist/src/mcp-tools/types.d.ts.map +1 -0
- package/dist/src/mcp-tools/types.js +14 -0
- package/dist/src/mcp-tools/types.js.map +1 -0
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts +9 -0
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/wasm-agent-tools.js +230 -0
- package/dist/src/mcp-tools/wasm-agent-tools.js.map +1 -0
- package/dist/src/mcp-tools/workflow-tools.d.ts +8 -0
- package/dist/src/mcp-tools/workflow-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/workflow-tools.js +562 -0
- package/dist/src/mcp-tools/workflow-tools.js.map +1 -0
- package/dist/src/memory/ewc-consolidation.d.ts +295 -0
- package/dist/src/memory/ewc-consolidation.d.ts.map +1 -0
- package/dist/src/memory/ewc-consolidation.js +601 -0
- package/dist/src/memory/ewc-consolidation.js.map +1 -0
- package/dist/src/memory/intelligence.d.ts +338 -0
- package/dist/src/memory/intelligence.d.ts.map +1 -0
- package/dist/src/memory/intelligence.js +1023 -0
- package/dist/src/memory/intelligence.js.map +1 -0
- package/dist/src/memory/memory-bridge.d.ts +407 -0
- package/dist/src/memory/memory-bridge.d.ts.map +1 -0
- package/dist/src/memory/memory-bridge.js +1500 -0
- package/dist/src/memory/memory-bridge.js.map +1 -0
- package/dist/src/memory/memory-initializer.d.ts +412 -0
- package/dist/src/memory/memory-initializer.d.ts.map +1 -0
- package/dist/src/memory/memory-initializer.js +2222 -0
- package/dist/src/memory/memory-initializer.js.map +1 -0
- package/dist/src/memory/sona-optimizer.d.ts +227 -0
- package/dist/src/memory/sona-optimizer.d.ts.map +1 -0
- package/dist/src/memory/sona-optimizer.js +633 -0
- package/dist/src/memory/sona-optimizer.js.map +1 -0
- package/dist/src/model/complexity-scorer.d.ts +21 -0
- package/dist/src/model/complexity-scorer.d.ts.map +1 -0
- package/dist/src/model/complexity-scorer.js +106 -0
- package/dist/src/model/complexity-scorer.js.map +1 -0
- package/dist/src/model/index.d.ts +4 -0
- package/dist/src/model/index.d.ts.map +1 -0
- package/dist/src/model/index.js +4 -0
- package/dist/src/model/index.js.map +1 -0
- package/dist/src/model/model-settings.d.ts +22 -0
- package/dist/src/model/model-settings.d.ts.map +1 -0
- package/dist/src/model/model-settings.js +33 -0
- package/dist/src/model/model-settings.js.map +1 -0
- package/dist/src/model/model-tier-resolver.d.ts +24 -0
- package/dist/src/model/model-tier-resolver.d.ts.map +1 -0
- package/dist/src/model/model-tier-resolver.js +65 -0
- package/dist/src/model/model-tier-resolver.js.map +1 -0
- package/dist/src/orchestration/index.d.ts +7 -0
- package/dist/src/orchestration/index.d.ts.map +1 -0
- package/dist/src/orchestration/index.js +6 -0
- package/dist/src/orchestration/index.js.map +1 -0
- package/dist/src/orchestration/mode-dispatcher.d.ts +11 -0
- package/dist/src/orchestration/mode-dispatcher.d.ts.map +1 -0
- package/dist/src/orchestration/mode-dispatcher.js +31 -0
- package/dist/src/orchestration/mode-dispatcher.js.map +1 -0
- package/dist/src/orchestration/routing-modes.d.ts +68 -0
- package/dist/src/orchestration/routing-modes.d.ts.map +1 -0
- package/dist/src/orchestration/routing-modes.js +150 -0
- package/dist/src/orchestration/routing-modes.js.map +1 -0
- package/dist/src/output.d.ts +133 -0
- package/dist/src/output.d.ts.map +1 -0
- package/dist/src/output.js +514 -0
- package/dist/src/output.js.map +1 -0
- package/dist/src/parser.d.ts +51 -0
- package/dist/src/parser.d.ts.map +1 -0
- package/dist/src/parser.js +425 -0
- package/dist/src/parser.js.map +1 -0
- package/dist/src/plugins/manager.d.ts +133 -0
- package/dist/src/plugins/manager.d.ts.map +1 -0
- package/dist/src/plugins/manager.js +400 -0
- package/dist/src/plugins/manager.js.map +1 -0
- package/dist/src/plugins/store/discovery.d.ts +88 -0
- package/dist/src/plugins/store/discovery.d.ts.map +1 -0
- package/dist/src/plugins/store/discovery.js +1147 -0
- package/dist/src/plugins/store/discovery.js.map +1 -0
- package/dist/src/plugins/store/index.d.ts +76 -0
- package/dist/src/plugins/store/index.d.ts.map +1 -0
- package/dist/src/plugins/store/index.js +141 -0
- package/dist/src/plugins/store/index.js.map +1 -0
- package/dist/src/plugins/store/search.d.ts +46 -0
- package/dist/src/plugins/store/search.d.ts.map +1 -0
- package/dist/src/plugins/store/search.js +230 -0
- package/dist/src/plugins/store/search.js.map +1 -0
- package/dist/src/plugins/store/types.d.ts +274 -0
- package/dist/src/plugins/store/types.d.ts.map +1 -0
- package/dist/src/plugins/store/types.js +7 -0
- package/dist/src/plugins/store/types.js.map +1 -0
- package/dist/src/plugins/tests/demo-plugin-store.d.ts +7 -0
- package/dist/src/plugins/tests/demo-plugin-store.d.ts.map +1 -0
- package/dist/src/plugins/tests/demo-plugin-store.js +126 -0
- package/dist/src/plugins/tests/demo-plugin-store.js.map +1 -0
- package/dist/src/plugins/tests/standalone-test.d.ts +12 -0
- package/dist/src/plugins/tests/standalone-test.d.ts.map +1 -0
- package/dist/src/plugins/tests/standalone-test.js +188 -0
- package/dist/src/plugins/tests/standalone-test.js.map +1 -0
- package/dist/src/plugins/tests/test-plugin-store.d.ts +7 -0
- package/dist/src/plugins/tests/test-plugin-store.d.ts.map +1 -0
- package/dist/src/plugins/tests/test-plugin-store.js +206 -0
- package/dist/src/plugins/tests/test-plugin-store.js.map +1 -0
- package/dist/src/production/circuit-breaker.d.ts +101 -0
- package/dist/src/production/circuit-breaker.d.ts.map +1 -0
- package/dist/src/production/circuit-breaker.js +241 -0
- package/dist/src/production/circuit-breaker.js.map +1 -0
- package/dist/src/production/error-handler.d.ts +92 -0
- package/dist/src/production/error-handler.d.ts.map +1 -0
- package/dist/src/production/error-handler.js +299 -0
- package/dist/src/production/error-handler.js.map +1 -0
- package/dist/src/production/index.d.ts +23 -0
- package/dist/src/production/index.d.ts.map +1 -0
- package/dist/src/production/index.js +18 -0
- package/dist/src/production/index.js.map +1 -0
- package/dist/src/production/monitoring.d.ts +161 -0
- package/dist/src/production/monitoring.d.ts.map +1 -0
- package/dist/src/production/monitoring.js +356 -0
- package/dist/src/production/monitoring.js.map +1 -0
- package/dist/src/production/rate-limiter.d.ts +80 -0
- package/dist/src/production/rate-limiter.d.ts.map +1 -0
- package/dist/src/production/rate-limiter.js +201 -0
- package/dist/src/production/rate-limiter.js.map +1 -0
- package/dist/src/production/retry.d.ts +48 -0
- package/dist/src/production/retry.d.ts.map +1 -0
- package/dist/src/production/retry.js +179 -0
- package/dist/src/production/retry.js.map +1 -0
- package/dist/src/prompt.d.ts +44 -0
- package/dist/src/prompt.d.ts.map +1 -0
- package/dist/src/prompt.js +501 -0
- package/dist/src/prompt.js.map +1 -0
- package/dist/src/runtime/headless.d.ts +60 -0
- package/dist/src/runtime/headless.d.ts.map +1 -0
- package/dist/src/runtime/headless.js +284 -0
- package/dist/src/runtime/headless.js.map +1 -0
- package/dist/src/ruvector/agent-wasm.d.ts +182 -0
- package/dist/src/ruvector/agent-wasm.d.ts.map +1 -0
- package/dist/src/ruvector/agent-wasm.js +316 -0
- package/dist/src/ruvector/agent-wasm.js.map +1 -0
- package/dist/src/ruvector/ast-analyzer.d.ts +67 -0
- package/dist/src/ruvector/ast-analyzer.d.ts.map +1 -0
- package/dist/src/ruvector/ast-analyzer.js +277 -0
- package/dist/src/ruvector/ast-analyzer.js.map +1 -0
- package/dist/src/ruvector/coverage-router.d.ts +160 -0
- package/dist/src/ruvector/coverage-router.d.ts.map +1 -0
- package/dist/src/ruvector/coverage-router.js +529 -0
- package/dist/src/ruvector/coverage-router.js.map +1 -0
- package/dist/src/ruvector/coverage-tools.d.ts +33 -0
- package/dist/src/ruvector/coverage-tools.d.ts.map +1 -0
- package/dist/src/ruvector/coverage-tools.js +157 -0
- package/dist/src/ruvector/coverage-tools.js.map +1 -0
- package/dist/src/ruvector/diff-classifier.d.ts +175 -0
- package/dist/src/ruvector/diff-classifier.d.ts.map +1 -0
- package/dist/src/ruvector/diff-classifier.js +698 -0
- package/dist/src/ruvector/diff-classifier.js.map +1 -0
- package/dist/src/ruvector/enhanced-model-router.d.ts +146 -0
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +1 -0
- package/dist/src/ruvector/enhanced-model-router.js +529 -0
- package/dist/src/ruvector/enhanced-model-router.js.map +1 -0
- package/dist/src/ruvector/flash-attention.d.ts +195 -0
- package/dist/src/ruvector/flash-attention.d.ts.map +1 -0
- package/dist/src/ruvector/flash-attention.js +643 -0
- package/dist/src/ruvector/flash-attention.js.map +1 -0
- package/dist/src/ruvector/graph-analyzer.d.ts +187 -0
- package/dist/src/ruvector/graph-analyzer.d.ts.map +1 -0
- package/dist/src/ruvector/graph-analyzer.js +929 -0
- package/dist/src/ruvector/graph-analyzer.js.map +1 -0
- package/dist/src/ruvector/index.d.ts +40 -0
- package/dist/src/ruvector/index.d.ts.map +1 -0
- package/dist/src/ruvector/index.js +76 -0
- package/dist/src/ruvector/index.js.map +1 -0
- package/dist/src/ruvector/lora-adapter.d.ts +218 -0
- package/dist/src/ruvector/lora-adapter.d.ts.map +1 -0
- package/dist/src/ruvector/lora-adapter.js +455 -0
- package/dist/src/ruvector/lora-adapter.js.map +1 -0
- package/dist/src/ruvector/model-router.d.ts +220 -0
- package/dist/src/ruvector/model-router.d.ts.map +1 -0
- package/dist/src/ruvector/model-router.js +488 -0
- package/dist/src/ruvector/model-router.js.map +1 -0
- package/dist/src/ruvector/moe-router.d.ts +206 -0
- package/dist/src/ruvector/moe-router.d.ts.map +1 -0
- package/dist/src/ruvector/moe-router.js +626 -0
- package/dist/src/ruvector/moe-router.js.map +1 -0
- package/dist/src/ruvector/q-learning-router.d.ts +211 -0
- package/dist/src/ruvector/q-learning-router.d.ts.map +1 -0
- package/dist/src/ruvector/q-learning-router.js +681 -0
- package/dist/src/ruvector/q-learning-router.js.map +1 -0
- package/dist/src/ruvector/ruvllm-wasm.d.ts +179 -0
- package/dist/src/ruvector/ruvllm-wasm.d.ts.map +1 -0
- package/dist/src/ruvector/ruvllm-wasm.js +363 -0
- package/dist/src/ruvector/ruvllm-wasm.js.map +1 -0
- package/dist/src/ruvector/semantic-router.d.ts +77 -0
- package/dist/src/ruvector/semantic-router.d.ts.map +1 -0
- package/dist/src/ruvector/semantic-router.js +178 -0
- package/dist/src/ruvector/semantic-router.js.map +1 -0
- package/dist/src/ruvector/vector-db.d.ts +69 -0
- package/dist/src/ruvector/vector-db.d.ts.map +1 -0
- package/dist/src/ruvector/vector-db.js +243 -0
- package/dist/src/ruvector/vector-db.js.map +1 -0
- package/dist/src/services/agentic-flow-bridge.d.ts +50 -0
- package/dist/src/services/agentic-flow-bridge.d.ts.map +1 -0
- package/dist/src/services/agentic-flow-bridge.js +95 -0
- package/dist/src/services/agentic-flow-bridge.js.map +1 -0
- package/dist/src/services/claim-service.d.ts +204 -0
- package/dist/src/services/claim-service.d.ts.map +1 -0
- package/dist/src/services/claim-service.js +818 -0
- package/dist/src/services/claim-service.js.map +1 -0
- package/dist/src/services/config-file-manager.d.ts +37 -0
- package/dist/src/services/config-file-manager.d.ts.map +1 -0
- package/dist/src/services/config-file-manager.js +224 -0
- package/dist/src/services/config-file-manager.js.map +1 -0
- package/dist/src/services/container-worker-pool.d.ts +197 -0
- package/dist/src/services/container-worker-pool.d.ts.map +1 -0
- package/dist/src/services/container-worker-pool.js +583 -0
- package/dist/src/services/container-worker-pool.js.map +1 -0
- package/dist/src/services/headless-worker-executor.d.ts +304 -0
- package/dist/src/services/headless-worker-executor.d.ts.map +1 -0
- package/dist/src/services/headless-worker-executor.js +1024 -0
- package/dist/src/services/headless-worker-executor.js.map +1 -0
- package/dist/src/services/index.d.ts +13 -0
- package/dist/src/services/index.d.ts.map +1 -0
- package/dist/src/services/index.js +11 -0
- package/dist/src/services/index.js.map +1 -0
- package/dist/src/services/registry-api.d.ts +58 -0
- package/dist/src/services/registry-api.d.ts.map +1 -0
- package/dist/src/services/registry-api.js +146 -0
- package/dist/src/services/registry-api.js.map +1 -0
- package/dist/src/services/ruvector-training.d.ts +222 -0
- package/dist/src/services/ruvector-training.d.ts.map +1 -0
- package/dist/src/services/ruvector-training.js +688 -0
- package/dist/src/services/ruvector-training.js.map +1 -0
- package/dist/src/services/worker-daemon.d.ts +245 -0
- package/dist/src/services/worker-daemon.d.ts.map +1 -0
- package/dist/src/services/worker-daemon.js +960 -0
- package/dist/src/services/worker-daemon.js.map +1 -0
- package/dist/src/services/worker-queue.d.ts +194 -0
- package/dist/src/services/worker-queue.d.ts.map +1 -0
- package/dist/src/services/worker-queue.js +513 -0
- package/dist/src/services/worker-queue.js.map +1 -0
- package/dist/src/suggest.d.ts +53 -0
- package/dist/src/suggest.d.ts.map +1 -0
- package/dist/src/suggest.js +200 -0
- package/dist/src/suggest.js.map +1 -0
- package/dist/src/swarm/communication-graph.d.ts +25 -0
- package/dist/src/swarm/communication-graph.d.ts.map +1 -0
- package/dist/src/swarm/communication-graph.js +77 -0
- package/dist/src/swarm/communication-graph.js.map +1 -0
- package/dist/src/swarm/flow-enforcer.d.ts +29 -0
- package/dist/src/swarm/flow-enforcer.d.ts.map +1 -0
- package/dist/src/swarm/flow-enforcer.js +49 -0
- package/dist/src/swarm/flow-enforcer.js.map +1 -0
- package/dist/src/swarm/flow-visualizer.d.ts +16 -0
- package/dist/src/swarm/flow-visualizer.d.ts.map +1 -0
- package/dist/src/swarm/flow-visualizer.js +44 -0
- package/dist/src/swarm/flow-visualizer.js.map +1 -0
- package/dist/src/transfer/anonymization/index.d.ts +25 -0
- package/dist/src/transfer/anonymization/index.d.ts.map +1 -0
- package/dist/src/transfer/anonymization/index.js +175 -0
- package/dist/src/transfer/anonymization/index.js.map +1 -0
- package/dist/src/transfer/deploy-seraphine.d.ts +13 -0
- package/dist/src/transfer/deploy-seraphine.d.ts.map +1 -0
- package/dist/src/transfer/deploy-seraphine.js +205 -0
- package/dist/src/transfer/deploy-seraphine.js.map +1 -0
- package/dist/src/transfer/export.d.ts +25 -0
- package/dist/src/transfer/export.d.ts.map +1 -0
- package/dist/src/transfer/export.js +113 -0
- package/dist/src/transfer/export.js.map +1 -0
- package/dist/src/transfer/index.d.ts +12 -0
- package/dist/src/transfer/index.d.ts.map +1 -0
- package/dist/src/transfer/index.js +31 -0
- package/dist/src/transfer/index.js.map +1 -0
- package/dist/src/transfer/ipfs/client.d.ts +109 -0
- package/dist/src/transfer/ipfs/client.d.ts.map +1 -0
- package/dist/src/transfer/ipfs/client.js +307 -0
- package/dist/src/transfer/ipfs/client.js.map +1 -0
- package/dist/src/transfer/ipfs/upload.d.ts +95 -0
- package/dist/src/transfer/ipfs/upload.d.ts.map +1 -0
- package/dist/src/transfer/ipfs/upload.js +411 -0
- package/dist/src/transfer/ipfs/upload.js.map +1 -0
- package/dist/src/transfer/models/seraphine.d.ts +72 -0
- package/dist/src/transfer/models/seraphine.d.ts.map +1 -0
- package/dist/src/transfer/models/seraphine.js +373 -0
- package/dist/src/transfer/models/seraphine.js.map +1 -0
- package/dist/src/transfer/serialization/cfp.d.ts +49 -0
- package/dist/src/transfer/serialization/cfp.d.ts.map +1 -0
- package/dist/src/transfer/serialization/cfp.js +183 -0
- package/dist/src/transfer/serialization/cfp.js.map +1 -0
- package/dist/src/transfer/storage/gcs.d.ts +82 -0
- package/dist/src/transfer/storage/gcs.d.ts.map +1 -0
- package/dist/src/transfer/storage/gcs.js +272 -0
- package/dist/src/transfer/storage/gcs.js.map +1 -0
- package/dist/src/transfer/storage/index.d.ts +6 -0
- package/dist/src/transfer/storage/index.d.ts.map +1 -0
- package/dist/src/transfer/storage/index.js +6 -0
- package/dist/src/transfer/storage/index.js.map +1 -0
- package/dist/src/transfer/store/discovery.d.ts +84 -0
- package/dist/src/transfer/store/discovery.d.ts.map +1 -0
- package/dist/src/transfer/store/discovery.js +382 -0
- package/dist/src/transfer/store/discovery.js.map +1 -0
- package/dist/src/transfer/store/download.d.ts +70 -0
- package/dist/src/transfer/store/download.d.ts.map +1 -0
- package/dist/src/transfer/store/download.js +334 -0
- package/dist/src/transfer/store/download.js.map +1 -0
- package/dist/src/transfer/store/index.d.ts +84 -0
- package/dist/src/transfer/store/index.d.ts.map +1 -0
- package/dist/src/transfer/store/index.js +153 -0
- package/dist/src/transfer/store/index.js.map +1 -0
- package/dist/src/transfer/store/publish.d.ts +76 -0
- package/dist/src/transfer/store/publish.d.ts.map +1 -0
- package/dist/src/transfer/store/publish.js +294 -0
- package/dist/src/transfer/store/publish.js.map +1 -0
- package/dist/src/transfer/store/registry.d.ts +58 -0
- package/dist/src/transfer/store/registry.d.ts.map +1 -0
- package/dist/src/transfer/store/registry.js +285 -0
- package/dist/src/transfer/store/registry.js.map +1 -0
- package/dist/src/transfer/store/search.d.ts +54 -0
- package/dist/src/transfer/store/search.d.ts.map +1 -0
- package/dist/src/transfer/store/search.js +232 -0
- package/dist/src/transfer/store/search.js.map +1 -0
- package/dist/src/transfer/store/tests/standalone-test.d.ts +12 -0
- package/dist/src/transfer/store/tests/standalone-test.d.ts.map +1 -0
- package/dist/src/transfer/store/tests/standalone-test.js +190 -0
- package/dist/src/transfer/store/tests/standalone-test.js.map +1 -0
- package/dist/src/transfer/store/types.d.ts +193 -0
- package/dist/src/transfer/store/types.d.ts.map +1 -0
- package/dist/src/transfer/store/types.js +6 -0
- package/dist/src/transfer/store/types.js.map +1 -0
- package/dist/src/transfer/test-seraphine.d.ts +6 -0
- package/dist/src/transfer/test-seraphine.d.ts.map +1 -0
- package/dist/src/transfer/test-seraphine.js +105 -0
- package/dist/src/transfer/test-seraphine.js.map +1 -0
- package/dist/src/transfer/tests/test-store.d.ts +7 -0
- package/dist/src/transfer/tests/test-store.d.ts.map +1 -0
- package/dist/src/transfer/tests/test-store.js +214 -0
- package/dist/src/transfer/tests/test-store.js.map +1 -0
- package/dist/src/transfer/types.d.ts +245 -0
- package/dist/src/transfer/types.d.ts.map +1 -0
- package/dist/src/transfer/types.js +6 -0
- package/dist/src/transfer/types.js.map +1 -0
- package/dist/src/types.d.ts +198 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +38 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/update/checker.d.ts +34 -0
- package/dist/src/update/checker.d.ts.map +1 -0
- package/dist/src/update/checker.js +190 -0
- package/dist/src/update/checker.js.map +1 -0
- package/dist/src/update/executor.d.ts +32 -0
- package/dist/src/update/executor.d.ts.map +1 -0
- package/dist/src/update/executor.js +181 -0
- package/dist/src/update/executor.js.map +1 -0
- package/dist/src/update/index.d.ts +33 -0
- package/dist/src/update/index.d.ts.map +1 -0
- package/dist/src/update/index.js +64 -0
- package/dist/src/update/index.js.map +1 -0
- package/dist/src/update/rate-limiter.d.ts +20 -0
- package/dist/src/update/rate-limiter.d.ts.map +1 -0
- package/dist/src/update/rate-limiter.js +96 -0
- package/dist/src/update/rate-limiter.js.map +1 -0
- package/dist/src/update/validator.d.ts +17 -0
- package/dist/src/update/validator.d.ts.map +1 -0
- package/dist/src/update/validator.js +123 -0
- package/dist/src/update/validator.js.map +1 -0
- package/dist/src/workflow/condition-evaluator.d.ts +10 -0
- package/dist/src/workflow/condition-evaluator.d.ts.map +1 -0
- package/dist/src/workflow/condition-evaluator.js +48 -0
- package/dist/src/workflow/condition-evaluator.js.map +1 -0
- package/dist/src/workflow/context-resolver.d.ts +12 -0
- package/dist/src/workflow/context-resolver.d.ts.map +1 -0
- package/dist/src/workflow/context-resolver.js +23 -0
- package/dist/src/workflow/context-resolver.js.map +1 -0
- package/dist/src/workflow/dag-builder.d.ts +17 -0
- package/dist/src/workflow/dag-builder.d.ts.map +1 -0
- package/dist/src/workflow/dag-builder.js +113 -0
- package/dist/src/workflow/dag-builder.js.map +1 -0
- package/dist/src/workflow/dag-executor.d.ts +9 -0
- package/dist/src/workflow/dag-executor.d.ts.map +1 -0
- package/dist/src/workflow/dag-executor.js +78 -0
- package/dist/src/workflow/dag-executor.js.map +1 -0
- package/dist/src/workflow/dag-types.d.ts +41 -0
- package/dist/src/workflow/dag-types.d.ts.map +1 -0
- package/dist/src/workflow/dag-types.js +8 -0
- package/dist/src/workflow/dag-types.js.map +1 -0
- package/dist/src/workflow/dsl-parser.d.ts +12 -0
- package/dist/src/workflow/dsl-parser.d.ts.map +1 -0
- package/dist/src/workflow/dsl-parser.js +20 -0
- package/dist/src/workflow/dsl-parser.js.map +1 -0
- package/dist/src/workflow/dsl-schema.d.ts +54 -0
- package/dist/src/workflow/dsl-schema.d.ts.map +1 -0
- package/dist/src/workflow/dsl-schema.js +76 -0
- package/dist/src/workflow/dsl-schema.js.map +1 -0
- package/dist/src/workflow/index.d.ts +13 -0
- package/dist/src/workflow/index.d.ts.map +1 -0
- package/dist/src/workflow/index.js +11 -0
- package/dist/src/workflow/index.js.map +1 -0
- package/dist/src/workflow/template-engine.d.ts +11 -0
- package/dist/src/workflow/template-engine.d.ts.map +1 -0
- package/dist/src/workflow/template-engine.js +33 -0
- package/dist/src/workflow/template-engine.js.map +1 -0
- package/dist/src/workflow/workflow-executor.d.ts +29 -0
- package/dist/src/workflow/workflow-executor.d.ts.map +1 -0
- package/dist/src/workflow/workflow-executor.js +142 -0
- package/dist/src/workflow/workflow-executor.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +113 -0
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Claude Checkpoint Manager
|
|
3
|
+
# Provides easy rollback and management of Claude Code checkpoints
|
|
4
|
+
|
|
5
|
+
set -e
|
|
6
|
+
|
|
7
|
+
# Colors
|
|
8
|
+
RED='\033[0;31m'
|
|
9
|
+
GREEN='\033[0;32m'
|
|
10
|
+
YELLOW='\033[1;33m'
|
|
11
|
+
BLUE='\033[0;34m'
|
|
12
|
+
NC='\033[0m' # No Color
|
|
13
|
+
|
|
14
|
+
# Configuration
|
|
15
|
+
CHECKPOINT_DIR=".claude/checkpoints"
|
|
16
|
+
BACKUP_DIR=".claude/backups"
|
|
17
|
+
|
|
18
|
+
# Help function
|
|
19
|
+
show_help() {
|
|
20
|
+
cat << EOF
|
|
21
|
+
Claude Checkpoint Manager
|
|
22
|
+
========================
|
|
23
|
+
|
|
24
|
+
Usage: $0 <command> [options]
|
|
25
|
+
|
|
26
|
+
Commands:
|
|
27
|
+
list List all checkpoints
|
|
28
|
+
show <id> Show details of a specific checkpoint
|
|
29
|
+
rollback <id> Rollback to a specific checkpoint
|
|
30
|
+
diff <id> Show diff since checkpoint
|
|
31
|
+
clean Clean old checkpoints (older than 7 days)
|
|
32
|
+
summary Show session summary
|
|
33
|
+
|
|
34
|
+
Options:
|
|
35
|
+
--hard For rollback: use git reset --hard (destructive)
|
|
36
|
+
--soft For rollback: use git reset --soft (default)
|
|
37
|
+
--branch For rollback: create new branch from checkpoint
|
|
38
|
+
|
|
39
|
+
Examples:
|
|
40
|
+
$0 list
|
|
41
|
+
$0 show checkpoint-20240130-143022
|
|
42
|
+
$0 rollback checkpoint-20240130-143022 --branch
|
|
43
|
+
$0 diff session-end-session-20240130-150000
|
|
44
|
+
EOF
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
# List all checkpoints
|
|
48
|
+
function list_checkpoints() {
|
|
49
|
+
echo -e "${BLUE}📋 Available Checkpoints:${NC}"
|
|
50
|
+
echo ""
|
|
51
|
+
|
|
52
|
+
# List checkpoint tags
|
|
53
|
+
echo -e "${YELLOW}Git Tags:${NC}"
|
|
54
|
+
local tags=$(git tag -l 'checkpoint-*' -l 'session-end-*' -l 'task-*' --sort=-creatordate | head -20)
|
|
55
|
+
if [ -n "$tags" ]; then
|
|
56
|
+
echo "$tags"
|
|
57
|
+
else
|
|
58
|
+
echo "No checkpoint tags found"
|
|
59
|
+
fi
|
|
60
|
+
|
|
61
|
+
echo ""
|
|
62
|
+
|
|
63
|
+
# List checkpoint branches
|
|
64
|
+
echo -e "${YELLOW}Checkpoint Branches:${NC}"
|
|
65
|
+
local branches=$(git branch -a | grep "checkpoint/" | sed 's/^[ *]*//')
|
|
66
|
+
if [ -n "$branches" ]; then
|
|
67
|
+
echo "$branches"
|
|
68
|
+
else
|
|
69
|
+
echo "No checkpoint branches found"
|
|
70
|
+
fi
|
|
71
|
+
|
|
72
|
+
echo ""
|
|
73
|
+
|
|
74
|
+
# List checkpoint files
|
|
75
|
+
if [ -d "$CHECKPOINT_DIR" ]; then
|
|
76
|
+
echo -e "${YELLOW}Recent Checkpoint Files:${NC}"
|
|
77
|
+
find "$CHECKPOINT_DIR" -name "*.json" -type f -printf "%T@ %p\n" | \
|
|
78
|
+
sort -rn | head -10 | cut -d' ' -f2- | xargs -I {} basename {}
|
|
79
|
+
fi
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
# Show checkpoint details
|
|
83
|
+
function show_checkpoint() {
|
|
84
|
+
local checkpoint_id="$1"
|
|
85
|
+
|
|
86
|
+
echo -e "${BLUE}📍 Checkpoint Details: $checkpoint_id${NC}"
|
|
87
|
+
echo ""
|
|
88
|
+
|
|
89
|
+
# Check if it's a tag
|
|
90
|
+
if git tag -l "$checkpoint_id" | grep -q "$checkpoint_id"; then
|
|
91
|
+
echo -e "${YELLOW}Type:${NC} Git Tag"
|
|
92
|
+
echo -e "${YELLOW}Commit:${NC} $(git rev-list -n 1 "$checkpoint_id")"
|
|
93
|
+
echo -e "${YELLOW}Date:${NC} $(git log -1 --format=%ai "$checkpoint_id")"
|
|
94
|
+
echo -e "${YELLOW}Message:${NC}"
|
|
95
|
+
git log -1 --format=%B "$checkpoint_id" | sed 's/^/ /'
|
|
96
|
+
echo ""
|
|
97
|
+
echo -e "${YELLOW}Files changed:${NC}"
|
|
98
|
+
git diff-tree --no-commit-id --name-status -r "$checkpoint_id" | sed 's/^/ /'
|
|
99
|
+
# Check if it's a branch
|
|
100
|
+
elif git branch -a | grep -q "$checkpoint_id"; then
|
|
101
|
+
echo -e "${YELLOW}Type:${NC} Git Branch"
|
|
102
|
+
echo -e "${YELLOW}Latest commit:${NC}"
|
|
103
|
+
git log -1 --oneline "$checkpoint_id"
|
|
104
|
+
else
|
|
105
|
+
echo -e "${RED}❌ Checkpoint not found: $checkpoint_id${NC}"
|
|
106
|
+
exit 1
|
|
107
|
+
fi
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
# Rollback to checkpoint
|
|
111
|
+
function rollback_checkpoint() {
|
|
112
|
+
local checkpoint_id="$1"
|
|
113
|
+
local mode="$2"
|
|
114
|
+
|
|
115
|
+
echo -e "${YELLOW}🔄 Rolling back to checkpoint: $checkpoint_id${NC}"
|
|
116
|
+
echo ""
|
|
117
|
+
|
|
118
|
+
# Verify checkpoint exists
|
|
119
|
+
if ! git tag -l "$checkpoint_id" | grep -q "$checkpoint_id" && \
|
|
120
|
+
! git branch -a | grep -q "$checkpoint_id"; then
|
|
121
|
+
echo -e "${RED}❌ Checkpoint not found: $checkpoint_id${NC}"
|
|
122
|
+
exit 1
|
|
123
|
+
fi
|
|
124
|
+
|
|
125
|
+
# Create backup before rollback
|
|
126
|
+
local backup_name="backup-$(date +%Y%m%d-%H%M%S)"
|
|
127
|
+
echo "Creating backup: $backup_name"
|
|
128
|
+
git tag "$backup_name" -m "Backup before rollback to $checkpoint_id"
|
|
129
|
+
|
|
130
|
+
case "$mode" in
|
|
131
|
+
"--hard")
|
|
132
|
+
echo -e "${RED}⚠️ Performing hard reset (destructive)${NC}"
|
|
133
|
+
git reset --hard "$checkpoint_id"
|
|
134
|
+
echo -e "${GREEN}✅ Rolled back to $checkpoint_id (hard reset)${NC}"
|
|
135
|
+
;;
|
|
136
|
+
"--branch")
|
|
137
|
+
local branch_name="rollback-$checkpoint_id-$(date +%Y%m%d-%H%M%S)"
|
|
138
|
+
echo "Creating new branch: $branch_name"
|
|
139
|
+
git checkout -b "$branch_name" "$checkpoint_id"
|
|
140
|
+
echo -e "${GREEN}✅ Created branch $branch_name from $checkpoint_id${NC}"
|
|
141
|
+
;;
|
|
142
|
+
"--stash"|*)
|
|
143
|
+
echo "Stashing current changes..."
|
|
144
|
+
git stash push -m "Stash before rollback to $checkpoint_id"
|
|
145
|
+
git reset --soft "$checkpoint_id"
|
|
146
|
+
echo -e "${GREEN}✅ Rolled back to $checkpoint_id (soft reset)${NC}"
|
|
147
|
+
echo "Your changes are stashed. Use 'git stash pop' to restore them."
|
|
148
|
+
;;
|
|
149
|
+
esac
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
# Show diff since checkpoint
|
|
153
|
+
function diff_checkpoint() {
|
|
154
|
+
local checkpoint_id="$1"
|
|
155
|
+
|
|
156
|
+
echo -e "${BLUE}📊 Changes since checkpoint: $checkpoint_id${NC}"
|
|
157
|
+
echo ""
|
|
158
|
+
|
|
159
|
+
if git tag -l "$checkpoint_id" | grep -q "$checkpoint_id"; then
|
|
160
|
+
git diff "$checkpoint_id"
|
|
161
|
+
elif git branch -a | grep -q "$checkpoint_id"; then
|
|
162
|
+
git diff "$checkpoint_id"
|
|
163
|
+
else
|
|
164
|
+
echo -e "${RED}❌ Checkpoint not found: $checkpoint_id${NC}"
|
|
165
|
+
exit 1
|
|
166
|
+
fi
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
# Clean old checkpoints
|
|
170
|
+
function clean_checkpoints() {
|
|
171
|
+
local days=${1:-7}
|
|
172
|
+
|
|
173
|
+
echo -e "${YELLOW}🧹 Cleaning checkpoints older than $days days...${NC}"
|
|
174
|
+
echo ""
|
|
175
|
+
|
|
176
|
+
# Clean old checkpoint files
|
|
177
|
+
if [ -d "$CHECKPOINT_DIR" ]; then
|
|
178
|
+
find "$CHECKPOINT_DIR" -name "*.json" -type f -mtime +$days -delete
|
|
179
|
+
echo "✅ Cleaned old checkpoint files"
|
|
180
|
+
fi
|
|
181
|
+
|
|
182
|
+
# List old tags (but don't delete automatically)
|
|
183
|
+
echo ""
|
|
184
|
+
echo "Old checkpoint tags (manual deletion required):"
|
|
185
|
+
git tag -l 'checkpoint-*' --sort=-creatordate | tail -n +50 || echo "No old tags found"
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
# Show session summary
|
|
189
|
+
function show_summary() {
|
|
190
|
+
echo -e "${BLUE}📊 Session Summary${NC}"
|
|
191
|
+
echo ""
|
|
192
|
+
|
|
193
|
+
# Find most recent session summary
|
|
194
|
+
if [ -d "$CHECKPOINT_DIR" ]; then
|
|
195
|
+
local latest_summary=$(find "$CHECKPOINT_DIR" -name "summary-*.md" -type f -printf "%T@ %p\n" | \
|
|
196
|
+
sort -rn | head -1 | cut -d' ' -f2-)
|
|
197
|
+
|
|
198
|
+
if [ -n "$latest_summary" ]; then
|
|
199
|
+
echo -e "${YELLOW}Latest session summary:${NC}"
|
|
200
|
+
cat "$latest_summary"
|
|
201
|
+
else
|
|
202
|
+
echo "No session summaries found"
|
|
203
|
+
fi
|
|
204
|
+
fi
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
# Main command handling
|
|
208
|
+
case "$1" in
|
|
209
|
+
list)
|
|
210
|
+
list_checkpoints
|
|
211
|
+
;;
|
|
212
|
+
show)
|
|
213
|
+
if [ -z "$2" ]; then
|
|
214
|
+
echo -e "${RED}Error: Please specify a checkpoint ID${NC}"
|
|
215
|
+
show_help
|
|
216
|
+
exit 1
|
|
217
|
+
fi
|
|
218
|
+
show_checkpoint "$2"
|
|
219
|
+
;;
|
|
220
|
+
rollback)
|
|
221
|
+
if [ -z "$2" ]; then
|
|
222
|
+
echo -e "${RED}Error: Please specify a checkpoint ID${NC}"
|
|
223
|
+
show_help
|
|
224
|
+
exit 1
|
|
225
|
+
fi
|
|
226
|
+
rollback_checkpoint "$2" "$3"
|
|
227
|
+
;;
|
|
228
|
+
diff)
|
|
229
|
+
if [ -z "$2" ]; then
|
|
230
|
+
echo -e "${RED}Error: Please specify a checkpoint ID${NC}"
|
|
231
|
+
show_help
|
|
232
|
+
exit 1
|
|
233
|
+
fi
|
|
234
|
+
diff_checkpoint "$2"
|
|
235
|
+
;;
|
|
236
|
+
clean)
|
|
237
|
+
clean_checkpoints "$2"
|
|
238
|
+
;;
|
|
239
|
+
summary)
|
|
240
|
+
show_summary
|
|
241
|
+
;;
|
|
242
|
+
help|--help|-h)
|
|
243
|
+
show_help
|
|
244
|
+
;;
|
|
245
|
+
*)
|
|
246
|
+
echo -e "${RED}Error: Unknown command: $1${NC}"
|
|
247
|
+
echo ""
|
|
248
|
+
show_help
|
|
249
|
+
exit 1
|
|
250
|
+
;;
|
|
251
|
+
esac
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Monobrain V1 - Daemon Manager
|
|
3
|
+
# Manages background services for real-time statusline updates
|
|
4
|
+
|
|
5
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
6
|
+
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
|
7
|
+
PID_DIR="$PROJECT_ROOT/.monobrain/pids"
|
|
8
|
+
LOG_DIR="$PROJECT_ROOT/.monobrain/logs"
|
|
9
|
+
METRICS_DIR="$PROJECT_ROOT/.monobrain/metrics"
|
|
10
|
+
|
|
11
|
+
# Ensure directories exist
|
|
12
|
+
mkdir -p "$PID_DIR" "$LOG_DIR" "$METRICS_DIR"
|
|
13
|
+
|
|
14
|
+
# PID files
|
|
15
|
+
SWARM_MONITOR_PID="$PID_DIR/swarm-monitor.pid"
|
|
16
|
+
METRICS_DAEMON_PID="$PID_DIR/metrics-daemon.pid"
|
|
17
|
+
|
|
18
|
+
# Log files
|
|
19
|
+
DAEMON_LOG="$LOG_DIR/daemon.log"
|
|
20
|
+
|
|
21
|
+
# Colors
|
|
22
|
+
GREEN='\033[0;32m'
|
|
23
|
+
YELLOW='\033[1;33m'
|
|
24
|
+
RED='\033[0;31m'
|
|
25
|
+
CYAN='\033[0;36m'
|
|
26
|
+
RESET='\033[0m'
|
|
27
|
+
|
|
28
|
+
log() {
|
|
29
|
+
local msg="[$(date '+%Y-%m-%d %H:%M:%S')] $1"
|
|
30
|
+
echo -e "${CYAN}$msg${RESET}"
|
|
31
|
+
echo "$msg" >> "$DAEMON_LOG"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
success() {
|
|
35
|
+
local msg="[$(date '+%Y-%m-%d %H:%M:%S')] SUCCESS: $1"
|
|
36
|
+
echo -e "${GREEN}$msg${RESET}"
|
|
37
|
+
echo "$msg" >> "$DAEMON_LOG"
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
error() {
|
|
41
|
+
local msg="[$(date '+%Y-%m-%d %H:%M:%S')] ERROR: $1"
|
|
42
|
+
echo -e "${RED}$msg${RESET}"
|
|
43
|
+
echo "$msg" >> "$DAEMON_LOG"
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
# Check if a process is running
|
|
47
|
+
is_running() {
|
|
48
|
+
local pid_file="$1"
|
|
49
|
+
if [ -f "$pid_file" ]; then
|
|
50
|
+
local pid=$(cat "$pid_file")
|
|
51
|
+
if ps -p "$pid" > /dev/null 2>&1; then
|
|
52
|
+
return 0
|
|
53
|
+
fi
|
|
54
|
+
fi
|
|
55
|
+
return 1
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
# Start the swarm monitor daemon
|
|
59
|
+
start_swarm_monitor() {
|
|
60
|
+
local interval="${1:-30}"
|
|
61
|
+
|
|
62
|
+
if is_running "$SWARM_MONITOR_PID"; then
|
|
63
|
+
log "Swarm monitor already running (PID: $(cat "$SWARM_MONITOR_PID"))"
|
|
64
|
+
return 0
|
|
65
|
+
fi
|
|
66
|
+
|
|
67
|
+
log "Starting swarm monitor daemon (interval: ${interval}s)..."
|
|
68
|
+
|
|
69
|
+
# Run the monitor in background
|
|
70
|
+
nohup "$SCRIPT_DIR/swarm-monitor.sh" monitor "$interval" >> "$LOG_DIR/swarm-monitor.log" 2>&1 &
|
|
71
|
+
local pid=$!
|
|
72
|
+
|
|
73
|
+
echo "$pid" > "$SWARM_MONITOR_PID"
|
|
74
|
+
success "Swarm monitor started (PID: $pid)"
|
|
75
|
+
|
|
76
|
+
return 0
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
# Start the metrics update daemon
|
|
80
|
+
start_metrics_daemon() {
|
|
81
|
+
local interval="${1:-60}" # Default 60 seconds - less frequent updates
|
|
82
|
+
|
|
83
|
+
if is_running "$METRICS_DAEMON_PID"; then
|
|
84
|
+
log "Metrics daemon already running (PID: $(cat "$METRICS_DAEMON_PID"))"
|
|
85
|
+
return 0
|
|
86
|
+
fi
|
|
87
|
+
|
|
88
|
+
log "Starting metrics daemon (interval: ${interval}s, using SQLite)..."
|
|
89
|
+
|
|
90
|
+
# Use SQLite-based metrics (10.5x faster than bash/JSON)
|
|
91
|
+
# Run as Node.js daemon process
|
|
92
|
+
nohup node "$SCRIPT_DIR/metrics-db.mjs" daemon "$interval" >> "$LOG_DIR/metrics-daemon.log" 2>&1 &
|
|
93
|
+
local pid=$!
|
|
94
|
+
|
|
95
|
+
echo "$pid" > "$METRICS_DAEMON_PID"
|
|
96
|
+
success "Metrics daemon started (PID: $pid) - SQLite backend"
|
|
97
|
+
|
|
98
|
+
return 0
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
# Stop a daemon by PID file
|
|
102
|
+
stop_daemon() {
|
|
103
|
+
local pid_file="$1"
|
|
104
|
+
local name="$2"
|
|
105
|
+
|
|
106
|
+
if [ -f "$pid_file" ]; then
|
|
107
|
+
local pid=$(cat "$pid_file")
|
|
108
|
+
if ps -p "$pid" > /dev/null 2>&1; then
|
|
109
|
+
log "Stopping $name (PID: $pid)..."
|
|
110
|
+
kill "$pid" 2>/dev/null
|
|
111
|
+
sleep 1
|
|
112
|
+
|
|
113
|
+
# Force kill if still running
|
|
114
|
+
if ps -p "$pid" > /dev/null 2>&1; then
|
|
115
|
+
kill -9 "$pid" 2>/dev/null
|
|
116
|
+
fi
|
|
117
|
+
|
|
118
|
+
success "$name stopped"
|
|
119
|
+
fi
|
|
120
|
+
rm -f "$pid_file"
|
|
121
|
+
else
|
|
122
|
+
log "$name not running"
|
|
123
|
+
fi
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
# Start all daemons
|
|
127
|
+
start_all() {
|
|
128
|
+
log "Starting all Monobrain daemons..."
|
|
129
|
+
start_swarm_monitor "${1:-30}"
|
|
130
|
+
start_metrics_daemon "${2:-60}"
|
|
131
|
+
|
|
132
|
+
# Initial metrics update
|
|
133
|
+
"$SCRIPT_DIR/swarm-monitor.sh" check > /dev/null 2>&1
|
|
134
|
+
|
|
135
|
+
success "All daemons started"
|
|
136
|
+
show_status
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
# Stop all daemons
|
|
140
|
+
stop_all() {
|
|
141
|
+
log "Stopping all Monobrain daemons..."
|
|
142
|
+
stop_daemon "$SWARM_MONITOR_PID" "Swarm monitor"
|
|
143
|
+
stop_daemon "$METRICS_DAEMON_PID" "Metrics daemon"
|
|
144
|
+
success "All daemons stopped"
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
# Restart all daemons
|
|
148
|
+
restart_all() {
|
|
149
|
+
stop_all
|
|
150
|
+
sleep 1
|
|
151
|
+
start_all "$@"
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
# Show daemon status
|
|
155
|
+
show_status() {
|
|
156
|
+
echo ""
|
|
157
|
+
echo -e "${CYAN}═══════════════════════════════════════════════════${RESET}"
|
|
158
|
+
echo -e "${CYAN} Monobrain V1 Daemon Status${RESET}"
|
|
159
|
+
echo -e "${CYAN}═══════════════════════════════════════════════════${RESET}"
|
|
160
|
+
echo ""
|
|
161
|
+
|
|
162
|
+
# Swarm Monitor
|
|
163
|
+
if is_running "$SWARM_MONITOR_PID"; then
|
|
164
|
+
echo -e " ${GREEN}●${RESET} Swarm Monitor ${GREEN}RUNNING${RESET} (PID: $(cat "$SWARM_MONITOR_PID"))"
|
|
165
|
+
else
|
|
166
|
+
echo -e " ${RED}○${RESET} Swarm Monitor ${RED}STOPPED${RESET}"
|
|
167
|
+
fi
|
|
168
|
+
|
|
169
|
+
# Metrics Daemon
|
|
170
|
+
if is_running "$METRICS_DAEMON_PID"; then
|
|
171
|
+
echo -e " ${GREEN}●${RESET} Metrics Daemon ${GREEN}RUNNING${RESET} (PID: $(cat "$METRICS_DAEMON_PID"))"
|
|
172
|
+
else
|
|
173
|
+
echo -e " ${RED}○${RESET} Metrics Daemon ${RED}STOPPED${RESET}"
|
|
174
|
+
fi
|
|
175
|
+
|
|
176
|
+
# MCP Server
|
|
177
|
+
local mcp_count=$(ps aux 2>/dev/null | grep -E "mcp.*start" | grep -v grep | wc -l)
|
|
178
|
+
if [ "$mcp_count" -gt 0 ]; then
|
|
179
|
+
echo -e " ${GREEN}●${RESET} MCP Server ${GREEN}RUNNING${RESET}"
|
|
180
|
+
else
|
|
181
|
+
echo -e " ${YELLOW}○${RESET} MCP Server ${YELLOW}NOT DETECTED${RESET}"
|
|
182
|
+
fi
|
|
183
|
+
|
|
184
|
+
# Agentic Flow
|
|
185
|
+
local af_count=$(ps aux 2>/dev/null | grep -E "agentic-flow" | grep -v grep | grep -v "daemon-manager" | wc -l)
|
|
186
|
+
if [ "$af_count" -gt 0 ]; then
|
|
187
|
+
echo -e " ${GREEN}●${RESET} Agentic Flow ${GREEN}ACTIVE${RESET} ($af_count processes)"
|
|
188
|
+
else
|
|
189
|
+
echo -e " ${YELLOW}○${RESET} Agentic Flow ${YELLOW}IDLE${RESET}"
|
|
190
|
+
fi
|
|
191
|
+
|
|
192
|
+
echo ""
|
|
193
|
+
echo -e "${CYAN}───────────────────────────────────────────────────${RESET}"
|
|
194
|
+
|
|
195
|
+
# Show latest metrics
|
|
196
|
+
if [ -f "$METRICS_DIR/swarm-activity.json" ]; then
|
|
197
|
+
local last_update=$(jq -r '.timestamp // "unknown"' "$METRICS_DIR/swarm-activity.json" 2>/dev/null)
|
|
198
|
+
local agent_count=$(jq -r '.swarm.agent_count // 0' "$METRICS_DIR/swarm-activity.json" 2>/dev/null)
|
|
199
|
+
echo -e " Last Update: ${last_update}"
|
|
200
|
+
echo -e " Active Agents: ${agent_count}"
|
|
201
|
+
fi
|
|
202
|
+
|
|
203
|
+
echo -e "${CYAN}═══════════════════════════════════════════════════${RESET}"
|
|
204
|
+
echo ""
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
# Main command handling
|
|
208
|
+
case "${1:-status}" in
|
|
209
|
+
"start")
|
|
210
|
+
start_all "${2:-30}" "${3:-60}"
|
|
211
|
+
;;
|
|
212
|
+
"stop")
|
|
213
|
+
stop_all
|
|
214
|
+
;;
|
|
215
|
+
"restart")
|
|
216
|
+
restart_all "${2:-30}" "${3:-60}"
|
|
217
|
+
;;
|
|
218
|
+
"status")
|
|
219
|
+
show_status
|
|
220
|
+
;;
|
|
221
|
+
"start-swarm")
|
|
222
|
+
start_swarm_monitor "${2:-30}"
|
|
223
|
+
;;
|
|
224
|
+
"start-metrics")
|
|
225
|
+
start_metrics_daemon "${2:-60}"
|
|
226
|
+
;;
|
|
227
|
+
"help"|"-h"|"--help")
|
|
228
|
+
echo "Monobrain V1 Daemon Manager"
|
|
229
|
+
echo ""
|
|
230
|
+
echo "Usage: $0 [command] [options]"
|
|
231
|
+
echo ""
|
|
232
|
+
echo "Commands:"
|
|
233
|
+
echo " start [swarm_interval] [metrics_interval] Start all daemons"
|
|
234
|
+
echo " stop Stop all daemons"
|
|
235
|
+
echo " restart [swarm_interval] [metrics_interval] Restart all daemons"
|
|
236
|
+
echo " status Show daemon status"
|
|
237
|
+
echo " start-swarm [interval] Start swarm monitor only"
|
|
238
|
+
echo " start-metrics [interval] Start metrics daemon only"
|
|
239
|
+
echo " help Show this help"
|
|
240
|
+
echo ""
|
|
241
|
+
echo "Examples:"
|
|
242
|
+
echo " $0 start # Start with defaults (30s swarm, 60s metrics)"
|
|
243
|
+
echo " $0 start 10 30 # Start with 10s swarm, 30s metrics intervals"
|
|
244
|
+
echo " $0 status # Show current status"
|
|
245
|
+
echo " $0 stop # Stop all daemons"
|
|
246
|
+
;;
|
|
247
|
+
*)
|
|
248
|
+
error "Unknown command: $1"
|
|
249
|
+
echo "Use '$0 help' for usage information"
|
|
250
|
+
exit 1
|
|
251
|
+
;;
|
|
252
|
+
esac
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Monobrain V1 - DDD Progress Tracker Worker
|
|
3
|
+
# Tracks Domain-Driven Design implementation progress
|
|
4
|
+
|
|
5
|
+
set -euo pipefail
|
|
6
|
+
|
|
7
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
8
|
+
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
|
9
|
+
METRICS_DIR="$PROJECT_ROOT/.monobrain/metrics"
|
|
10
|
+
DDD_FILE="$METRICS_DIR/ddd-progress.json"
|
|
11
|
+
v1_PROGRESS="$METRICS_DIR/v1-progress.json"
|
|
12
|
+
LAST_RUN_FILE="$METRICS_DIR/.ddd-last-run"
|
|
13
|
+
|
|
14
|
+
mkdir -p "$METRICS_DIR"
|
|
15
|
+
|
|
16
|
+
# v1 Target Domains
|
|
17
|
+
DOMAINS=("agent-lifecycle" "task-execution" "memory-management" "coordination" "shared-kernel")
|
|
18
|
+
|
|
19
|
+
should_run() {
|
|
20
|
+
if [ ! -f "$LAST_RUN_FILE" ]; then return 0; fi
|
|
21
|
+
local last_run=$(cat "$LAST_RUN_FILE" 2>/dev/null || echo "0")
|
|
22
|
+
local now=$(date +%s)
|
|
23
|
+
[ $((now - last_run)) -ge 600 ] # 10 minutes
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
check_domain() {
|
|
27
|
+
local domain="$1"
|
|
28
|
+
local domain_path="$PROJECT_ROOT/packages/@monobrain/$domain"
|
|
29
|
+
local alt_path="$PROJECT_ROOT/src/domains/$domain"
|
|
30
|
+
|
|
31
|
+
local score=0
|
|
32
|
+
local max_score=100
|
|
33
|
+
|
|
34
|
+
# Check if domain directory exists (20 points)
|
|
35
|
+
if [ -d "$domain_path" ] || [ -d "$alt_path" ]; then
|
|
36
|
+
score=$((score + 20))
|
|
37
|
+
local path="${domain_path:-$alt_path}"
|
|
38
|
+
[ -d "$domain_path" ] && path="$domain_path" || path="$alt_path"
|
|
39
|
+
|
|
40
|
+
# Check for domain layer (15 points)
|
|
41
|
+
[ -d "$path/domain" ] || [ -d "$path/src/domain" ] && score=$((score + 15))
|
|
42
|
+
|
|
43
|
+
# Check for application layer (15 points)
|
|
44
|
+
[ -d "$path/application" ] || [ -d "$path/src/application" ] && score=$((score + 15))
|
|
45
|
+
|
|
46
|
+
# Check for infrastructure layer (15 points)
|
|
47
|
+
[ -d "$path/infrastructure" ] || [ -d "$path/src/infrastructure" ] && score=$((score + 15))
|
|
48
|
+
|
|
49
|
+
# Check for API/interface layer (10 points)
|
|
50
|
+
[ -d "$path/api" ] || [ -d "$path/src/api" ] && score=$((score + 10))
|
|
51
|
+
|
|
52
|
+
# Check for tests (15 points)
|
|
53
|
+
local test_count=$(find "$path" -name "*.test.ts" -o -name "*.spec.ts" 2>/dev/null | wc -l)
|
|
54
|
+
[ "$test_count" -gt 0 ] && score=$((score + 15))
|
|
55
|
+
|
|
56
|
+
# Check for index/exports (10 points)
|
|
57
|
+
[ -f "$path/index.ts" ] || [ -f "$path/src/index.ts" ] && score=$((score + 10))
|
|
58
|
+
fi
|
|
59
|
+
|
|
60
|
+
echo "$score"
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
count_entities() {
|
|
64
|
+
local type="$1"
|
|
65
|
+
local pattern="$2"
|
|
66
|
+
|
|
67
|
+
find "$PROJECT_ROOT/v1" "$PROJECT_ROOT/src" -name "*.ts" 2>/dev/null | \
|
|
68
|
+
xargs grep -l "$pattern" 2>/dev/null | \
|
|
69
|
+
grep -v node_modules | grep -v ".test." | wc -l || echo "0"
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
track_ddd() {
|
|
73
|
+
echo "[$(date +%H:%M:%S)] Tracking DDD progress..."
|
|
74
|
+
|
|
75
|
+
local total_score=0
|
|
76
|
+
local domain_scores=""
|
|
77
|
+
local completed_domains=0
|
|
78
|
+
|
|
79
|
+
for domain in "${DOMAINS[@]}"; do
|
|
80
|
+
local score=$(check_domain "$domain")
|
|
81
|
+
total_score=$((total_score + score))
|
|
82
|
+
domain_scores="$domain_scores\"$domain\": $score, "
|
|
83
|
+
|
|
84
|
+
[ "$score" -ge 50 ] && completed_domains=$((completed_domains + 1))
|
|
85
|
+
done
|
|
86
|
+
|
|
87
|
+
# Calculate overall progress
|
|
88
|
+
local max_total=$((${#DOMAINS[@]} * 100))
|
|
89
|
+
local progress=$((total_score * 100 / max_total))
|
|
90
|
+
|
|
91
|
+
# Count DDD artifacts
|
|
92
|
+
local entities=$(count_entities "entities" "class.*Entity\|interface.*Entity")
|
|
93
|
+
local value_objects=$(count_entities "value-objects" "class.*VO\|ValueObject")
|
|
94
|
+
local aggregates=$(count_entities "aggregates" "class.*Aggregate\|AggregateRoot")
|
|
95
|
+
local repositories=$(count_entities "repositories" "interface.*Repository\|Repository")
|
|
96
|
+
local services=$(count_entities "services" "class.*Service\|Service")
|
|
97
|
+
local events=$(count_entities "events" "class.*Event\|DomainEvent")
|
|
98
|
+
|
|
99
|
+
# Write DDD metrics
|
|
100
|
+
cat > "$DDD_FILE" << EOF
|
|
101
|
+
{
|
|
102
|
+
"timestamp": "$(date -Iseconds)",
|
|
103
|
+
"progress": $progress,
|
|
104
|
+
"domains": {
|
|
105
|
+
${domain_scores%,*}
|
|
106
|
+
},
|
|
107
|
+
"completed": $completed_domains,
|
|
108
|
+
"total": ${#DOMAINS[@]},
|
|
109
|
+
"artifacts": {
|
|
110
|
+
"entities": $entities,
|
|
111
|
+
"valueObjects": $value_objects,
|
|
112
|
+
"aggregates": $aggregates,
|
|
113
|
+
"repositories": $repositories,
|
|
114
|
+
"services": $services,
|
|
115
|
+
"domainEvents": $events
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
EOF
|
|
119
|
+
|
|
120
|
+
# Update v1-progress.json
|
|
121
|
+
if [ -f "$v1_PROGRESS" ] && command -v jq &>/dev/null; then
|
|
122
|
+
jq --argjson progress "$progress" --argjson completed "$completed_domains" \
|
|
123
|
+
'.ddd.progress = $progress | .domains.completed = $completed' \
|
|
124
|
+
"$v1_PROGRESS" > "$v1_PROGRESS.tmp" && mv "$v1_PROGRESS.tmp" "$v1_PROGRESS"
|
|
125
|
+
fi
|
|
126
|
+
|
|
127
|
+
echo "[$(date +%H:%M:%S)] ✓ DDD: ${progress}% | Domains: $completed_domains/${#DOMAINS[@]} | Entities: $entities | Services: $services"
|
|
128
|
+
|
|
129
|
+
date +%s > "$LAST_RUN_FILE"
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
case "${1:-check}" in
|
|
133
|
+
"run"|"track") track_ddd ;;
|
|
134
|
+
"check") should_run && track_ddd || echo "[$(date +%H:%M:%S)] Skipping (throttled)" ;;
|
|
135
|
+
"force") rm -f "$LAST_RUN_FILE"; track_ddd ;;
|
|
136
|
+
"status")
|
|
137
|
+
if [ -f "$DDD_FILE" ]; then
|
|
138
|
+
jq -r '"Progress: \(.progress)% | Domains: \(.completed)/\(.total) | Entities: \(.artifacts.entities) | Services: \(.artifacts.services)"' "$DDD_FILE"
|
|
139
|
+
else
|
|
140
|
+
echo "No DDD data available"
|
|
141
|
+
fi
|
|
142
|
+
;;
|
|
143
|
+
*) echo "Usage: $0 [run|check|force|status]" ;;
|
|
144
|
+
esac
|