claude-flow 3.0.0-alpha.16 → 3.0.0-alpha.19
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/README.md +39 -1093
- package/bin/cli.js +36 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -0
- package/package.json +53 -54
- package/.claude/.claude-flow/metrics/system-metrics.json +0 -2606
- package/.claude/agents/MIGRATION_SUMMARY.md +0 -222
- package/.claude/agents/README.md +0 -89
- package/.claude/agents/analysis/analyze-code-quality.md +0 -180
- package/.claude/agents/analysis/code-analyzer.md +0 -209
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +0 -180
- package/.claude/agents/architecture/system-design/arch-system-design.md +0 -156
- package/.claude/agents/base-template-generator.md +0 -42
- package/.claude/agents/consensus/README.md +0 -253
- package/.claude/agents/consensus/byzantine-coordinator.md +0 -63
- package/.claude/agents/consensus/crdt-synchronizer.md +0 -997
- package/.claude/agents/consensus/gossip-coordinator.md +0 -63
- package/.claude/agents/consensus/performance-benchmarker.md +0 -851
- package/.claude/agents/consensus/quorum-manager.md +0 -823
- package/.claude/agents/consensus/raft-manager.md +0 -63
- package/.claude/agents/consensus/security-manager.md +0 -622
- package/.claude/agents/core/coder.md +0 -266
- package/.claude/agents/core/planner.md +0 -168
- package/.claude/agents/core/researcher.md +0 -190
- package/.claude/agents/core/reviewer.md +0 -326
- package/.claude/agents/core/tester.md +0 -319
- package/.claude/agents/custom/test-long-runner.md +0 -44
- package/.claude/agents/data/ml/data-ml-model.md +0 -193
- package/.claude/agents/database-specialist.yaml +0 -21
- package/.claude/agents/development/backend/dev-backend-api.md +0 -142
- package/.claude/agents/development/dev-backend-api.md +0 -345
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +0 -164
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +0 -174
- package/.claude/agents/flow-nexus/app-store.md +0 -88
- package/.claude/agents/flow-nexus/authentication.md +0 -69
- package/.claude/agents/flow-nexus/challenges.md +0 -81
- package/.claude/agents/flow-nexus/neural-network.md +0 -88
- package/.claude/agents/flow-nexus/payments.md +0 -83
- package/.claude/agents/flow-nexus/sandbox.md +0 -76
- package/.claude/agents/flow-nexus/swarm.md +0 -76
- package/.claude/agents/flow-nexus/user-tools.md +0 -96
- package/.claude/agents/flow-nexus/workflow.md +0 -84
- package/.claude/agents/github/code-review-swarm.md +0 -538
- package/.claude/agents/github/github-modes.md +0 -173
- package/.claude/agents/github/issue-tracker.md +0 -319
- package/.claude/agents/github/multi-repo-swarm.md +0 -553
- package/.claude/agents/github/pr-manager.md +0 -191
- package/.claude/agents/github/project-board-sync.md +0 -509
- package/.claude/agents/github/release-manager.md +0 -367
- package/.claude/agents/github/release-swarm.md +0 -583
- package/.claude/agents/github/repo-architect.md +0 -398
- package/.claude/agents/github/swarm-issue.md +0 -573
- package/.claude/agents/github/swarm-pr.md +0 -428
- package/.claude/agents/github/sync-coordinator.md +0 -452
- package/.claude/agents/github/workflow-automation.md +0 -635
- package/.claude/agents/goal/agent.md +0 -816
- package/.claude/agents/goal/code-goal-planner.md +0 -446
- package/.claude/agents/goal/goal-planner.md +0 -168
- package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +0 -130
- package/.claude/agents/hive-mind/queen-coordinator.md +0 -203
- package/.claude/agents/hive-mind/scout-explorer.md +0 -242
- package/.claude/agents/hive-mind/swarm-memory-manager.md +0 -193
- package/.claude/agents/hive-mind/worker-specialist.md +0 -217
- package/.claude/agents/index.yaml +0 -17
- package/.claude/agents/neural/safla-neural.md +0 -74
- package/.claude/agents/optimization/README.md +0 -250
- package/.claude/agents/optimization/benchmark-suite.md +0 -665
- package/.claude/agents/optimization/load-balancer.md +0 -431
- package/.claude/agents/optimization/performance-monitor.md +0 -672
- package/.claude/agents/optimization/resource-allocator.md +0 -674
- package/.claude/agents/optimization/topology-optimizer.md +0 -808
- package/.claude/agents/payments/agentic-payments.md +0 -126
- package/.claude/agents/project-coordinator.yaml +0 -15
- package/.claude/agents/python-specialist.yaml +0 -21
- package/.claude/agents/reasoning/agent.md +0 -816
- package/.claude/agents/reasoning/goal-planner.md +0 -73
- package/.claude/agents/security-auditor.yaml +0 -20
- package/.claude/agents/sona/sona-learning-optimizer.md +0 -496
- package/.claude/agents/sparc/architecture.md +0 -472
- package/.claude/agents/sparc/pseudocode.md +0 -318
- package/.claude/agents/sparc/refinement.md +0 -525
- package/.claude/agents/sparc/specification.md +0 -276
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +0 -226
- package/.claude/agents/sublinear/consensus-coordinator.md +0 -338
- package/.claude/agents/sublinear/matrix-optimizer.md +0 -185
- package/.claude/agents/sublinear/pagerank-analyzer.md +0 -299
- package/.claude/agents/sublinear/performance-optimizer.md +0 -368
- package/.claude/agents/sublinear/trading-predictor.md +0 -246
- package/.claude/agents/swarm/README.md +0 -190
- package/.claude/agents/swarm/adaptive-coordinator.md +0 -396
- package/.claude/agents/swarm/hierarchical-coordinator.md +0 -327
- package/.claude/agents/swarm/mesh-coordinator.md +0 -392
- package/.claude/agents/templates/automation-smart-agent.md +0 -205
- package/.claude/agents/templates/coordinator-swarm-init.md +0 -105
- package/.claude/agents/templates/github-pr-manager.md +0 -177
- package/.claude/agents/templates/implementer-sparc-coder.md +0 -259
- package/.claude/agents/templates/memory-coordinator.md +0 -187
- package/.claude/agents/templates/migration-plan.md +0 -746
- package/.claude/agents/templates/orchestrator-task.md +0 -139
- package/.claude/agents/templates/performance-analyzer.md +0 -199
- package/.claude/agents/templates/sparc-coordinator.md +0 -183
- package/.claude/agents/testing/production-validator.md +0 -395
- package/.claude/agents/testing/tdd-london-swarm.md +0 -244
- package/.claude/agents/testing/unit/tdd-london-swarm.md +0 -244
- package/.claude/agents/testing/validation/production-validator.md +0 -395
- package/.claude/agents/typescript-specialist.yaml +0 -21
- package/.claude/agents/v3/database-specialist.yaml +0 -21
- package/.claude/agents/v3/index.yaml +0 -17
- package/.claude/agents/v3/project-coordinator.yaml +0 -15
- package/.claude/agents/v3/python-specialist.yaml +0 -21
- package/.claude/agents/v3/test-architect.yaml +0 -20
- package/.claude/agents/v3/typescript-specialist.yaml +0 -21
- package/.claude/agents/v3/v3-integration-architect.md +0 -346
- package/.claude/agents/v3/v3-memory-specialist.md +0 -318
- package/.claude/agents/v3/v3-performance-engineer.md +0 -397
- package/.claude/agents/v3/v3-queen-coordinator.md +0 -98
- package/.claude/agents/v3/v3-security-architect.md +0 -174
- package/.claude/checkpoints/1767754460.json +0 -8
- package/.claude/commands/agents/README.md +0 -10
- package/.claude/commands/agents/agent-capabilities.md +0 -21
- package/.claude/commands/agents/agent-coordination.md +0 -28
- package/.claude/commands/agents/agent-spawning.md +0 -28
- package/.claude/commands/agents/agent-types.md +0 -26
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
- package/.claude/commands/analysis/README.md +0 -9
- package/.claude/commands/analysis/bottleneck-detect.md +0 -162
- package/.claude/commands/analysis/performance-bottlenecks.md +0 -59
- package/.claude/commands/analysis/performance-report.md +0 -25
- package/.claude/commands/analysis/token-efficiency.md +0 -45
- package/.claude/commands/analysis/token-usage.md +0 -25
- package/.claude/commands/automation/README.md +0 -9
- package/.claude/commands/automation/auto-agent.md +0 -122
- package/.claude/commands/automation/self-healing.md +0 -106
- package/.claude/commands/automation/session-memory.md +0 -90
- package/.claude/commands/automation/smart-agents.md +0 -73
- package/.claude/commands/automation/smart-spawn.md +0 -25
- package/.claude/commands/automation/workflow-select.md +0 -25
- package/.claude/commands/claude-flow-help.md +0 -103
- package/.claude/commands/claude-flow-memory.md +0 -107
- package/.claude/commands/claude-flow-swarm.md +0 -205
- package/.claude/commands/coordination/README.md +0 -9
- package/.claude/commands/coordination/agent-spawn.md +0 -25
- package/.claude/commands/coordination/init.md +0 -44
- package/.claude/commands/coordination/orchestrate.md +0 -43
- package/.claude/commands/coordination/spawn.md +0 -45
- package/.claude/commands/coordination/swarm-init.md +0 -85
- package/.claude/commands/coordination/task-orchestrate.md +0 -25
- package/.claude/commands/flow-nexus/app-store.md +0 -124
- package/.claude/commands/flow-nexus/challenges.md +0 -120
- package/.claude/commands/flow-nexus/login-registration.md +0 -65
- package/.claude/commands/flow-nexus/neural-network.md +0 -134
- package/.claude/commands/flow-nexus/payments.md +0 -116
- package/.claude/commands/flow-nexus/sandbox.md +0 -83
- package/.claude/commands/flow-nexus/swarm.md +0 -87
- package/.claude/commands/flow-nexus/user-tools.md +0 -152
- package/.claude/commands/flow-nexus/workflow.md +0 -115
- package/.claude/commands/github/README.md +0 -11
- package/.claude/commands/github/code-review-swarm.md +0 -514
- package/.claude/commands/github/code-review.md +0 -25
- package/.claude/commands/github/github-modes.md +0 -147
- package/.claude/commands/github/github-swarm.md +0 -121
- package/.claude/commands/github/issue-tracker.md +0 -292
- package/.claude/commands/github/issue-triage.md +0 -25
- package/.claude/commands/github/multi-repo-swarm.md +0 -519
- package/.claude/commands/github/pr-enhance.md +0 -26
- package/.claude/commands/github/pr-manager.md +0 -170
- package/.claude/commands/github/project-board-sync.md +0 -471
- package/.claude/commands/github/release-manager.md +0 -338
- package/.claude/commands/github/release-swarm.md +0 -544
- package/.claude/commands/github/repo-analyze.md +0 -25
- package/.claude/commands/github/repo-architect.md +0 -367
- package/.claude/commands/github/swarm-issue.md +0 -482
- package/.claude/commands/github/swarm-pr.md +0 -285
- package/.claude/commands/github/sync-coordinator.md +0 -301
- package/.claude/commands/github/workflow-automation.md +0 -442
- package/.claude/commands/hive-mind/README.md +0 -17
- package/.claude/commands/hive-mind/hive-mind-consensus.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-init.md +0 -18
- package/.claude/commands/hive-mind/hive-mind-memory.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-metrics.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-resume.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-sessions.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-spawn.md +0 -21
- package/.claude/commands/hive-mind/hive-mind-status.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-stop.md +0 -8
- package/.claude/commands/hive-mind/hive-mind-wizard.md +0 -8
- package/.claude/commands/hive-mind/hive-mind.md +0 -27
- package/.claude/commands/hooks/README.md +0 -11
- package/.claude/commands/hooks/overview.md +0 -58
- package/.claude/commands/hooks/post-edit.md +0 -117
- package/.claude/commands/hooks/post-task.md +0 -112
- package/.claude/commands/hooks/pre-edit.md +0 -113
- package/.claude/commands/hooks/pre-task.md +0 -111
- package/.claude/commands/hooks/session-end.md +0 -118
- package/.claude/commands/hooks/setup.md +0 -103
- package/.claude/commands/memory/README.md +0 -9
- package/.claude/commands/memory/memory-persist.md +0 -25
- package/.claude/commands/memory/memory-search.md +0 -25
- package/.claude/commands/memory/memory-usage.md +0 -25
- package/.claude/commands/memory/neural.md +0 -47
- package/.claude/commands/monitoring/README.md +0 -9
- package/.claude/commands/monitoring/agent-metrics.md +0 -25
- package/.claude/commands/monitoring/agents.md +0 -44
- package/.claude/commands/monitoring/real-time-view.md +0 -25
- package/.claude/commands/monitoring/status.md +0 -46
- package/.claude/commands/monitoring/swarm-monitor.md +0 -25
- package/.claude/commands/optimization/README.md +0 -9
- package/.claude/commands/optimization/auto-topology.md +0 -62
- package/.claude/commands/optimization/cache-manage.md +0 -25
- package/.claude/commands/optimization/parallel-execute.md +0 -25
- package/.claude/commands/optimization/parallel-execution.md +0 -50
- package/.claude/commands/optimization/topology-optimize.md +0 -25
- package/.claude/commands/pair/README.md +0 -261
- package/.claude/commands/pair/commands.md +0 -546
- package/.claude/commands/pair/config.md +0 -510
- package/.claude/commands/pair/examples.md +0 -512
- package/.claude/commands/pair/modes.md +0 -348
- package/.claude/commands/pair/session.md +0 -407
- package/.claude/commands/pair/start.md +0 -209
- package/.claude/commands/sparc/analyzer.md +0 -52
- package/.claude/commands/sparc/architect.md +0 -53
- package/.claude/commands/sparc/ask.md +0 -97
- package/.claude/commands/sparc/batch-executor.md +0 -54
- package/.claude/commands/sparc/code.md +0 -89
- package/.claude/commands/sparc/coder.md +0 -54
- package/.claude/commands/sparc/debug.md +0 -83
- package/.claude/commands/sparc/debugger.md +0 -54
- package/.claude/commands/sparc/designer.md +0 -53
- package/.claude/commands/sparc/devops.md +0 -109
- package/.claude/commands/sparc/docs-writer.md +0 -80
- package/.claude/commands/sparc/documenter.md +0 -54
- package/.claude/commands/sparc/innovator.md +0 -54
- package/.claude/commands/sparc/integration.md +0 -83
- package/.claude/commands/sparc/mcp.md +0 -117
- package/.claude/commands/sparc/memory-manager.md +0 -54
- package/.claude/commands/sparc/optimizer.md +0 -54
- package/.claude/commands/sparc/orchestrator.md +0 -132
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +0 -83
- package/.claude/commands/sparc/refinement-optimization-mode.md +0 -83
- package/.claude/commands/sparc/researcher.md +0 -54
- package/.claude/commands/sparc/reviewer.md +0 -54
- package/.claude/commands/sparc/security-review.md +0 -80
- package/.claude/commands/sparc/sparc-modes.md +0 -174
- package/.claude/commands/sparc/sparc.md +0 -111
- package/.claude/commands/sparc/spec-pseudocode.md +0 -80
- package/.claude/commands/sparc/supabase-admin.md +0 -348
- package/.claude/commands/sparc/swarm-coordinator.md +0 -54
- package/.claude/commands/sparc/tdd.md +0 -54
- package/.claude/commands/sparc/tester.md +0 -54
- package/.claude/commands/sparc/tutorial.md +0 -79
- package/.claude/commands/sparc/workflow-manager.md +0 -54
- package/.claude/commands/sparc.md +0 -166
- package/.claude/commands/stream-chain/pipeline.md +0 -121
- package/.claude/commands/stream-chain/run.md +0 -70
- package/.claude/commands/swarm/README.md +0 -15
- package/.claude/commands/swarm/analysis.md +0 -95
- package/.claude/commands/swarm/development.md +0 -96
- package/.claude/commands/swarm/examples.md +0 -168
- package/.claude/commands/swarm/maintenance.md +0 -102
- package/.claude/commands/swarm/optimization.md +0 -117
- package/.claude/commands/swarm/research.md +0 -136
- package/.claude/commands/swarm/swarm-analysis.md +0 -8
- package/.claude/commands/swarm/swarm-background.md +0 -8
- package/.claude/commands/swarm/swarm-init.md +0 -19
- package/.claude/commands/swarm/swarm-modes.md +0 -8
- package/.claude/commands/swarm/swarm-monitor.md +0 -8
- package/.claude/commands/swarm/swarm-spawn.md +0 -19
- package/.claude/commands/swarm/swarm-status.md +0 -8
- package/.claude/commands/swarm/swarm-strategies.md +0 -8
- package/.claude/commands/swarm/swarm.md +0 -27
- package/.claude/commands/swarm/testing.md +0 -131
- package/.claude/commands/training/README.md +0 -9
- package/.claude/commands/training/model-update.md +0 -25
- package/.claude/commands/training/neural-patterns.md +0 -74
- package/.claude/commands/training/neural-train.md +0 -25
- package/.claude/commands/training/pattern-learn.md +0 -25
- package/.claude/commands/training/specialization.md +0 -63
- package/.claude/commands/truth/start.md +0 -143
- package/.claude/commands/verify/check.md +0 -50
- package/.claude/commands/verify/start.md +0 -128
- package/.claude/commands/workflows/README.md +0 -9
- package/.claude/commands/workflows/development.md +0 -78
- package/.claude/commands/workflows/research.md +0 -63
- package/.claude/commands/workflows/workflow-create.md +0 -25
- package/.claude/commands/workflows/workflow-execute.md +0 -25
- package/.claude/commands/workflows/workflow-export.md +0 -25
- package/.claude/config/v3-dependency-optimization.json +0 -266
- package/.claude/config/v3-performance-targets.json +0 -251
- package/.claude/helpers/README.md +0 -97
- package/.claude/helpers/adr-compliance.sh +0 -186
- package/.claude/helpers/auto-commit.sh +0 -178
- package/.claude/helpers/checkpoint-manager.sh +0 -251
- package/.claude/helpers/daemon-manager.sh +0 -252
- package/.claude/helpers/ddd-tracker.sh +0 -144
- package/.claude/helpers/github-safe.js +0 -106
- package/.claude/helpers/github-setup.sh +0 -28
- package/.claude/helpers/guidance-hook.sh +0 -13
- package/.claude/helpers/guidance-hooks.sh +0 -102
- package/.claude/helpers/health-monitor.sh +0 -108
- package/.claude/helpers/learning-hooks.sh +0 -329
- package/.claude/helpers/learning-optimizer.sh +0 -127
- package/.claude/helpers/learning-service.mjs +0 -1144
- package/.claude/helpers/metrics-db.mjs +0 -488
- package/.claude/helpers/pattern-consolidator.sh +0 -86
- package/.claude/helpers/perf-worker.sh +0 -160
- package/.claude/helpers/quick-start.sh +0 -19
- package/.claude/helpers/security-scanner.sh +0 -127
- package/.claude/helpers/setup-mcp.sh +0 -18
- package/.claude/helpers/standard-checkpoint-hooks.sh +0 -189
- package/.claude/helpers/swarm-comms.sh +0 -353
- package/.claude/helpers/swarm-hooks.sh +0 -761
- package/.claude/helpers/swarm-monitor.sh +0 -211
- package/.claude/helpers/sync-v3-metrics.sh +0 -245
- package/.claude/helpers/update-v3-progress.sh +0 -166
- package/.claude/helpers/v3-quick-status.sh +0 -58
- package/.claude/helpers/v3.sh +0 -111
- package/.claude/helpers/validate-v3-config.sh +0 -216
- package/.claude/helpers/worker-manager.sh +0 -170
- package/.claude/mcp.json +0 -13
- package/.claude/settings.json +0 -526
- package/.claude/settings.local.json +0 -10
- package/.claude/skills/.claude-flow/metrics/agent-metrics.json +0 -1
- package/.claude/skills/.claude-flow/metrics/performance.json +0 -87
- package/.claude/skills/.claude-flow/metrics/task-metrics.json +0 -10
- package/.claude/skills/agentdb-advanced/SKILL.md +0 -550
- package/.claude/skills/agentdb-learning/SKILL.md +0 -545
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +0 -339
- package/.claude/skills/agentdb-optimization/SKILL.md +0 -509
- package/.claude/skills/agentdb-vector-search/SKILL.md +0 -339
- package/.claude/skills/agentic-jujutsu/SKILL.md +0 -645
- package/.claude/skills/flow-nexus-neural/SKILL.md +0 -738
- package/.claude/skills/flow-nexus-platform/SKILL.md +0 -1157
- package/.claude/skills/flow-nexus-swarm/SKILL.md +0 -610
- package/.claude/skills/github-code-review/SKILL.md +0 -1140
- package/.claude/skills/github-multi-repo/SKILL.md +0 -874
- package/.claude/skills/github-project-management/SKILL.md +0 -1277
- package/.claude/skills/github-release-management/SKILL.md +0 -1081
- package/.claude/skills/github-workflow-automation/SKILL.md +0 -1065
- package/.claude/skills/hive-mind-advanced/SKILL.md +0 -712
- package/.claude/skills/hooks-automation/SKILL.md +0 -1201
- package/.claude/skills/pair-programming/SKILL.md +0 -1202
- package/.claude/skills/performance-analysis/SKILL.md +0 -563
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +0 -446
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +0 -201
- package/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +0 -1
- package/.claude/skills/skill-builder/.claude-flow/metrics/performance.json +0 -87
- package/.claude/skills/skill-builder/.claude-flow/metrics/task-metrics.json +0 -10
- package/.claude/skills/skill-builder/SKILL.md +0 -910
- package/.claude/skills/sparc-methodology/SKILL.md +0 -1115
- package/.claude/skills/stream-chain/SKILL.md +0 -563
- package/.claude/skills/swarm-advanced/SKILL.md +0 -973
- package/.claude/skills/swarm-orchestration/SKILL.md +0 -179
- package/.claude/skills/v3-cli-modernization/SKILL.md +0 -872
- package/.claude/skills/v3-core-implementation/SKILL.md +0 -797
- package/.claude/skills/v3-ddd-architecture/SKILL.md +0 -442
- package/.claude/skills/v3-integration-deep/SKILL.md +0 -241
- package/.claude/skills/v3-mcp-optimization/SKILL.md +0 -777
- package/.claude/skills/v3-memory-unification/SKILL.md +0 -174
- package/.claude/skills/v3-performance-optimization/SKILL.md +0 -390
- package/.claude/skills/v3-security-overhaul/SKILL.md +0 -82
- package/.claude/skills/v3-swarm-coordination/SKILL.md +0 -340
- package/.claude/skills/verification-quality/SKILL.md +0 -649
- package/.claude/skills/worker-benchmarks/skill.md +0 -135
- package/.claude/skills/worker-integration/skill.md +0 -154
- package/.claude/statusline-command.sh +0 -176
- package/.claude/statusline.mjs +0 -109
- package/.claude/statusline.sh +0 -375
- package/.claude-plugin/README.md +0 -720
- package/.claude-plugin/docs/INSTALLATION.md +0 -261
- package/.claude-plugin/docs/PLUGIN_SUMMARY.md +0 -361
- package/.claude-plugin/docs/QUICKSTART.md +0 -361
- package/.claude-plugin/docs/STRUCTURE.md +0 -128
- package/.claude-plugin/hooks/hooks.json +0 -74
- package/.claude-plugin/marketplace.json +0 -96
- package/.claude-plugin/plugin.json +0 -71
- package/.claude-plugin/scripts/install.sh +0 -234
- package/.claude-plugin/scripts/uninstall.sh +0 -36
- package/.claude-plugin/scripts/verify.sh +0 -108
- package/v3/@claude-flow/cli/README.md +0 -1352
- package/v3/@claude-flow/cli/bin/cli.js +0 -14
- package/v3/@claude-flow/cli/dist/src/commands/agent.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/agent.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/agent.js +0 -819
- package/v3/@claude-flow/cli/dist/src/commands/agent.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/analyze.d.ts +0 -19
- package/v3/@claude-flow/cli/dist/src/commands/analyze.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/analyze.js +0 -1823
- package/v3/@claude-flow/cli/dist/src/commands/analyze.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/claims.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/claims.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/claims.js +0 -288
- package/v3/@claude-flow/cli/dist/src/commands/claims.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/completions.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/completions.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/completions.js +0 -539
- package/v3/@claude-flow/cli/dist/src/commands/completions.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/config.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/config.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/config.js +0 -406
- package/v3/@claude-flow/cli/dist/src/commands/config.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/daemon.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/daemon.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/daemon.js +0 -545
- package/v3/@claude-flow/cli/dist/src/commands/daemon.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/deployment.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/deployment.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/deployment.js +0 -289
- package/v3/@claude-flow/cli/dist/src/commands/deployment.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/doctor.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/doctor.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/doctor.js +0 -448
- package/v3/@claude-flow/cli/dist/src/commands/doctor.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/embeddings.d.ts +0 -18
- package/v3/@claude-flow/cli/dist/src/commands/embeddings.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/embeddings.js +0 -616
- package/v3/@claude-flow/cli/dist/src/commands/embeddings.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/hive-mind.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/hive-mind.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/hive-mind.js +0 -844
- package/v3/@claude-flow/cli/dist/src/commands/hive-mind.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/hooks.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/hooks.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/hooks.js +0 -2542
- package/v3/@claude-flow/cli/dist/src/commands/hooks.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/index.d.ts +0 -65
- package/v3/@claude-flow/cli/dist/src/commands/index.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/index.js +0 -162
- package/v3/@claude-flow/cli/dist/src/commands/index.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/init.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/init.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/init.js +0 -532
- package/v3/@claude-flow/cli/dist/src/commands/init.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/mcp.d.ts +0 -11
- package/v3/@claude-flow/cli/dist/src/commands/mcp.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/mcp.js +0 -662
- package/v3/@claude-flow/cli/dist/src/commands/mcp.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/memory.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/memory.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/memory.js +0 -977
- package/v3/@claude-flow/cli/dist/src/commands/memory.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/migrate.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/migrate.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/migrate.js +0 -398
- package/v3/@claude-flow/cli/dist/src/commands/migrate.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/neural.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/neural.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/neural.js +0 -224
- package/v3/@claude-flow/cli/dist/src/commands/neural.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/performance.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/performance.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/performance.js +0 -262
- package/v3/@claude-flow/cli/dist/src/commands/performance.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/plugins.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/plugins.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/plugins.js +0 -280
- package/v3/@claude-flow/cli/dist/src/commands/plugins.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/process.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/process.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/process.js +0 -641
- package/v3/@claude-flow/cli/dist/src/commands/process.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/progress.d.ts +0 -11
- package/v3/@claude-flow/cli/dist/src/commands/progress.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/progress.js +0 -259
- package/v3/@claude-flow/cli/dist/src/commands/progress.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/providers.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/providers.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/providers.js +0 -232
- package/v3/@claude-flow/cli/dist/src/commands/providers.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/route.d.ts +0 -16
- package/v3/@claude-flow/cli/dist/src/commands/route.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/route.js +0 -603
- package/v3/@claude-flow/cli/dist/src/commands/route.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/security.d.ts +0 -10
- package/v3/@claude-flow/cli/dist/src/commands/security.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/security.js +0 -261
- package/v3/@claude-flow/cli/dist/src/commands/security.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/session.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/session.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/session.js +0 -750
- package/v3/@claude-flow/cli/dist/src/commands/session.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/start.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/start.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/start.js +0 -398
- package/v3/@claude-flow/cli/dist/src/commands/start.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/status.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/status.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/status.js +0 -584
- package/v3/@claude-flow/cli/dist/src/commands/status.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/swarm.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/swarm.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/swarm.js +0 -573
- package/v3/@claude-flow/cli/dist/src/commands/swarm.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/task.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/task.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/task.js +0 -671
- package/v3/@claude-flow/cli/dist/src/commands/task.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/workflow.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/commands/workflow.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/commands/workflow.js +0 -617
- package/v3/@claude-flow/cli/dist/src/commands/workflow.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/config-adapter.d.ts +0 -15
- package/v3/@claude-flow/cli/dist/src/config-adapter.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/config-adapter.js +0 -185
- package/v3/@claude-flow/cli/dist/src/config-adapter.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/index.d.ts +0 -57
- package/v3/@claude-flow/cli/dist/src/index.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/index.js +0 -370
- package/v3/@claude-flow/cli/dist/src/index.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/infrastructure/in-memory-repositories.d.ts +0 -68
- package/v3/@claude-flow/cli/dist/src/infrastructure/in-memory-repositories.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/infrastructure/in-memory-repositories.js +0 -264
- package/v3/@claude-flow/cli/dist/src/infrastructure/in-memory-repositories.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.d.ts +0 -15
- package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.js +0 -482
- package/v3/@claude-flow/cli/dist/src/init/claudemd-generator.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/executor.d.ts +0 -11
- package/v3/@claude-flow/cli/dist/src/init/executor.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/executor.js +0 -652
- package/v3/@claude-flow/cli/dist/src/init/executor.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/helpers-generator.d.ts +0 -42
- package/v3/@claude-flow/cli/dist/src/init/helpers-generator.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/helpers-generator.js +0 -613
- package/v3/@claude-flow/cli/dist/src/init/helpers-generator.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/index.d.ts +0 -12
- package/v3/@claude-flow/cli/dist/src/init/index.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/index.js +0 -15
- package/v3/@claude-flow/cli/dist/src/init/index.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/mcp-generator.d.ts +0 -18
- package/v3/@claude-flow/cli/dist/src/init/mcp-generator.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/mcp-generator.js +0 -71
- package/v3/@claude-flow/cli/dist/src/init/mcp-generator.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/settings-generator.d.ts +0 -14
- package/v3/@claude-flow/cli/dist/src/init/settings-generator.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/settings-generator.js +0 -267
- package/v3/@claude-flow/cli/dist/src/init/settings-generator.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/statusline-generator.d.ts +0 -14
- package/v3/@claude-flow/cli/dist/src/init/statusline-generator.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/statusline-generator.js +0 -206
- package/v3/@claude-flow/cli/dist/src/init/statusline-generator.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/types.d.ts +0 -240
- package/v3/@claude-flow/cli/dist/src/init/types.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/init/types.js +0 -210
- package/v3/@claude-flow/cli/dist/src/init/types.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-client.d.ts +0 -92
- package/v3/@claude-flow/cli/dist/src/mcp-client.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-client.js +0 -207
- package/v3/@claude-flow/cli/dist/src/mcp-client.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-server.d.ts +0 -153
- package/v3/@claude-flow/cli/dist/src/mcp-server.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-server.js +0 -453
- package/v3/@claude-flow/cli/dist/src/mcp-server.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.js +0 -426
- package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.d.ts +0 -38
- package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.js +0 -317
- package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.js +0 -333
- package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.js +0 -447
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.d.ts +0 -41
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.js +0 -1711
- package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/index.d.ts +0 -19
- package/v3/@claude-flow/cli/dist/src/mcp-tools/index.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/index.js +0 -18
- package/v3/@claude-flow/cli/dist/src/mcp-tools/index.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js +0 -235
- package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.d.ts +0 -14
- package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.js +0 -343
- package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.js +0 -315
- package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.js +0 -102
- package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.js +0 -302
- package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/types.d.ts +0 -31
- package/v3/@claude-flow/cli/dist/src/mcp-tools/types.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/types.js +0 -7
- package/v3/@claude-flow/cli/dist/src/mcp-tools/types.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.d.ts +0 -8
- package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.js +0 -481
- package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/output.d.ts +0 -133
- package/v3/@claude-flow/cli/dist/src/output.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/output.js +0 -513
- package/v3/@claude-flow/cli/dist/src/output.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/parser.d.ts +0 -41
- package/v3/@claude-flow/cli/dist/src/parser.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/parser.js +0 -353
- package/v3/@claude-flow/cli/dist/src/parser.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/prompt.d.ts +0 -44
- package/v3/@claude-flow/cli/dist/src/prompt.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/prompt.js +0 -501
- package/v3/@claude-flow/cli/dist/src/prompt.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/ast-analyzer.d.ts +0 -67
- package/v3/@claude-flow/cli/dist/src/ruvector/ast-analyzer.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/ast-analyzer.js +0 -277
- package/v3/@claude-flow/cli/dist/src/ruvector/ast-analyzer.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/coverage-router.d.ts +0 -160
- package/v3/@claude-flow/cli/dist/src/ruvector/coverage-router.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/coverage-router.js +0 -491
- package/v3/@claude-flow/cli/dist/src/ruvector/coverage-router.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/coverage-tools.d.ts +0 -33
- package/v3/@claude-flow/cli/dist/src/ruvector/coverage-tools.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/coverage-tools.js +0 -157
- package/v3/@claude-flow/cli/dist/src/ruvector/coverage-tools.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/diff-classifier.d.ts +0 -175
- package/v3/@claude-flow/cli/dist/src/ruvector/diff-classifier.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/diff-classifier.js +0 -662
- package/v3/@claude-flow/cli/dist/src/ruvector/diff-classifier.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/graph-analyzer.d.ts +0 -187
- package/v3/@claude-flow/cli/dist/src/ruvector/graph-analyzer.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/graph-analyzer.js +0 -929
- package/v3/@claude-flow/cli/dist/src/ruvector/graph-analyzer.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/index.d.ts +0 -27
- package/v3/@claude-flow/cli/dist/src/ruvector/index.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/index.js +0 -53
- package/v3/@claude-flow/cli/dist/src/ruvector/index.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/q-learning-router.d.ts +0 -211
- package/v3/@claude-flow/cli/dist/src/ruvector/q-learning-router.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/q-learning-router.js +0 -681
- package/v3/@claude-flow/cli/dist/src/ruvector/q-learning-router.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/vector-db.d.ts +0 -69
- package/v3/@claude-flow/cli/dist/src/ruvector/vector-db.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/ruvector/vector-db.js +0 -243
- package/v3/@claude-flow/cli/dist/src/ruvector/vector-db.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/services/index.d.ts +0 -7
- package/v3/@claude-flow/cli/dist/src/services/index.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/services/index.js +0 -6
- package/v3/@claude-flow/cli/dist/src/services/index.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/services/worker-daemon.d.ts +0 -153
- package/v3/@claude-flow/cli/dist/src/services/worker-daemon.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/services/worker-daemon.js +0 -567
- package/v3/@claude-flow/cli/dist/src/services/worker-daemon.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/suggest.d.ts +0 -53
- package/v3/@claude-flow/cli/dist/src/suggest.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/suggest.js +0 -200
- package/v3/@claude-flow/cli/dist/src/suggest.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/types.d.ts +0 -198
- package/v3/@claude-flow/cli/dist/src/types.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/types.js +0 -38
- package/v3/@claude-flow/cli/dist/src/types.js.map +0 -1
- package/v3/@claude-flow/cli/dist/tsconfig.tsbuildinfo +0 -1
- package/v3/@claude-flow/cli/package.json +0 -51
- package/v3/@claude-flow/shared/README.md +0 -323
- package/v3/@claude-flow/shared/dist/core/config/defaults.d.ts +0 -41
- package/v3/@claude-flow/shared/dist/core/config/defaults.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/defaults.js +0 -186
- package/v3/@claude-flow/shared/dist/core/config/defaults.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/index.d.ts +0 -8
- package/v3/@claude-flow/shared/dist/core/config/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/index.js +0 -12
- package/v3/@claude-flow/shared/dist/core/config/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/loader.d.ts +0 -45
- package/v3/@claude-flow/shared/dist/core/config/loader.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/loader.js +0 -222
- package/v3/@claude-flow/shared/dist/core/config/loader.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/schema.d.ts +0 -1134
- package/v3/@claude-flow/shared/dist/core/config/schema.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/schema.js +0 -158
- package/v3/@claude-flow/shared/dist/core/config/schema.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/validator.d.ts +0 -92
- package/v3/@claude-flow/shared/dist/core/config/validator.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/config/validator.js +0 -147
- package/v3/@claude-flow/shared/dist/core/config/validator.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/event-bus.d.ts +0 -31
- package/v3/@claude-flow/shared/dist/core/event-bus.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/event-bus.js +0 -197
- package/v3/@claude-flow/shared/dist/core/event-bus.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/index.d.ts +0 -15
- package/v3/@claude-flow/shared/dist/core/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/index.js +0 -19
- package/v3/@claude-flow/shared/dist/core/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/agent.interface.d.ts +0 -200
- package/v3/@claude-flow/shared/dist/core/interfaces/agent.interface.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/agent.interface.js +0 -6
- package/v3/@claude-flow/shared/dist/core/interfaces/agent.interface.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/coordinator.interface.d.ts +0 -310
- package/v3/@claude-flow/shared/dist/core/interfaces/coordinator.interface.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/coordinator.interface.js +0 -7
- package/v3/@claude-flow/shared/dist/core/interfaces/coordinator.interface.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/event.interface.d.ts +0 -224
- package/v3/@claude-flow/shared/dist/core/interfaces/event.interface.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/event.interface.js +0 -46
- package/v3/@claude-flow/shared/dist/core/interfaces/event.interface.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/index.d.ts +0 -10
- package/v3/@claude-flow/shared/dist/core/interfaces/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/index.js +0 -15
- package/v3/@claude-flow/shared/dist/core/interfaces/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/memory.interface.d.ts +0 -298
- package/v3/@claude-flow/shared/dist/core/interfaces/memory.interface.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/memory.interface.js +0 -7
- package/v3/@claude-flow/shared/dist/core/interfaces/memory.interface.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/task.interface.d.ts +0 -185
- package/v3/@claude-flow/shared/dist/core/interfaces/task.interface.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/interfaces/task.interface.js +0 -6
- package/v3/@claude-flow/shared/dist/core/interfaces/task.interface.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/event-coordinator.d.ts +0 -35
- package/v3/@claude-flow/shared/dist/core/orchestrator/event-coordinator.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/event-coordinator.js +0 -101
- package/v3/@claude-flow/shared/dist/core/orchestrator/event-coordinator.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/health-monitor.d.ts +0 -60
- package/v3/@claude-flow/shared/dist/core/orchestrator/health-monitor.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/health-monitor.js +0 -166
- package/v3/@claude-flow/shared/dist/core/orchestrator/health-monitor.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/index.d.ts +0 -46
- package/v3/@claude-flow/shared/dist/core/orchestrator/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/index.js +0 -64
- package/v3/@claude-flow/shared/dist/core/orchestrator/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/lifecycle-manager.d.ts +0 -56
- package/v3/@claude-flow/shared/dist/core/orchestrator/lifecycle-manager.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/lifecycle-manager.js +0 -195
- package/v3/@claude-flow/shared/dist/core/orchestrator/lifecycle-manager.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/session-manager.d.ts +0 -83
- package/v3/@claude-flow/shared/dist/core/orchestrator/session-manager.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/session-manager.js +0 -193
- package/v3/@claude-flow/shared/dist/core/orchestrator/session-manager.js.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/task-manager.d.ts +0 -49
- package/v3/@claude-flow/shared/dist/core/orchestrator/task-manager.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/core/orchestrator/task-manager.js +0 -253
- package/v3/@claude-flow/shared/dist/core/orchestrator/task-manager.js.map +0 -1
- package/v3/@claude-flow/shared/dist/events/domain-events.d.ts +0 -282
- package/v3/@claude-flow/shared/dist/events/domain-events.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/events/domain-events.js +0 -165
- package/v3/@claude-flow/shared/dist/events/domain-events.js.map +0 -1
- package/v3/@claude-flow/shared/dist/events/event-store.d.ts +0 -126
- package/v3/@claude-flow/shared/dist/events/event-store.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/events/event-store.js +0 -416
- package/v3/@claude-flow/shared/dist/events/event-store.js.map +0 -1
- package/v3/@claude-flow/shared/dist/events/event-store.test.d.ts +0 -8
- package/v3/@claude-flow/shared/dist/events/event-store.test.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/events/event-store.test.js +0 -293
- package/v3/@claude-flow/shared/dist/events/event-store.test.js.map +0 -1
- package/v3/@claude-flow/shared/dist/events/example-usage.d.ts +0 -10
- package/v3/@claude-flow/shared/dist/events/example-usage.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/events/example-usage.js +0 -193
- package/v3/@claude-flow/shared/dist/events/example-usage.js.map +0 -1
- package/v3/@claude-flow/shared/dist/events/index.d.ts +0 -19
- package/v3/@claude-flow/shared/dist/events/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/events/index.js +0 -20
- package/v3/@claude-flow/shared/dist/events/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/events/projections.d.ts +0 -177
- package/v3/@claude-flow/shared/dist/events/projections.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/events/projections.js +0 -421
- package/v3/@claude-flow/shared/dist/events/projections.js.map +0 -1
- package/v3/@claude-flow/shared/dist/events/state-reconstructor.d.ts +0 -101
- package/v3/@claude-flow/shared/dist/events/state-reconstructor.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/events/state-reconstructor.js +0 -263
- package/v3/@claude-flow/shared/dist/events/state-reconstructor.js.map +0 -1
- package/v3/@claude-flow/shared/dist/events.d.ts +0 -80
- package/v3/@claude-flow/shared/dist/events.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/events.js +0 -249
- package/v3/@claude-flow/shared/dist/events.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/example-usage.d.ts +0 -42
- package/v3/@claude-flow/shared/dist/hooks/example-usage.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/example-usage.js +0 -351
- package/v3/@claude-flow/shared/dist/hooks/example-usage.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/executor.d.ts +0 -100
- package/v3/@claude-flow/shared/dist/hooks/executor.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/executor.js +0 -264
- package/v3/@claude-flow/shared/dist/hooks/executor.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/hooks.test.d.ts +0 -9
- package/v3/@claude-flow/shared/dist/hooks/hooks.test.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/hooks.test.js +0 -322
- package/v3/@claude-flow/shared/dist/hooks/hooks.test.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/index.d.ts +0 -52
- package/v3/@claude-flow/shared/dist/hooks/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/index.js +0 -51
- package/v3/@claude-flow/shared/dist/hooks/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/registry.d.ts +0 -133
- package/v3/@claude-flow/shared/dist/hooks/registry.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/registry.js +0 -277
- package/v3/@claude-flow/shared/dist/hooks/registry.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/safety/bash-safety.d.ts +0 -105
- package/v3/@claude-flow/shared/dist/hooks/safety/bash-safety.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/safety/bash-safety.js +0 -481
- package/v3/@claude-flow/shared/dist/hooks/safety/bash-safety.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/safety/file-organization.d.ts +0 -144
- package/v3/@claude-flow/shared/dist/hooks/safety/file-organization.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/safety/file-organization.js +0 -328
- package/v3/@claude-flow/shared/dist/hooks/safety/file-organization.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/safety/git-commit.d.ts +0 -158
- package/v3/@claude-flow/shared/dist/hooks/safety/git-commit.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/safety/git-commit.js +0 -450
- package/v3/@claude-flow/shared/dist/hooks/safety/git-commit.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/safety/index.d.ts +0 -17
- package/v3/@claude-flow/shared/dist/hooks/safety/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/safety/index.js +0 -17
- package/v3/@claude-flow/shared/dist/hooks/safety/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/session-hooks.d.ts +0 -234
- package/v3/@claude-flow/shared/dist/hooks/session-hooks.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/session-hooks.js +0 -334
- package/v3/@claude-flow/shared/dist/hooks/session-hooks.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/task-hooks.d.ts +0 -163
- package/v3/@claude-flow/shared/dist/hooks/task-hooks.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/task-hooks.js +0 -326
- package/v3/@claude-flow/shared/dist/hooks/task-hooks.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/types.d.ts +0 -267
- package/v3/@claude-flow/shared/dist/hooks/types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/types.js +0 -62
- package/v3/@claude-flow/shared/dist/hooks/types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/verify-exports.test.d.ts +0 -9
- package/v3/@claude-flow/shared/dist/hooks/verify-exports.test.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/hooks/verify-exports.test.js +0 -93
- package/v3/@claude-flow/shared/dist/hooks/verify-exports.test.js.map +0 -1
- package/v3/@claude-flow/shared/dist/index.d.ts +0 -19
- package/v3/@claude-flow/shared/dist/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/index.js +0 -46
- package/v3/@claude-flow/shared/dist/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/connection-pool.d.ts +0 -98
- package/v3/@claude-flow/shared/dist/mcp/connection-pool.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/connection-pool.js +0 -364
- package/v3/@claude-flow/shared/dist/mcp/connection-pool.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/index.d.ts +0 -69
- package/v3/@claude-flow/shared/dist/mcp/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/index.js +0 -84
- package/v3/@claude-flow/shared/dist/mcp/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/server.d.ts +0 -166
- package/v3/@claude-flow/shared/dist/mcp/server.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/server.js +0 -593
- package/v3/@claude-flow/shared/dist/mcp/server.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/session-manager.d.ts +0 -136
- package/v3/@claude-flow/shared/dist/mcp/session-manager.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/session-manager.js +0 -335
- package/v3/@claude-flow/shared/dist/mcp/session-manager.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/tool-registry.d.ts +0 -178
- package/v3/@claude-flow/shared/dist/mcp/tool-registry.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/tool-registry.js +0 -439
- package/v3/@claude-flow/shared/dist/mcp/tool-registry.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/transport/http.d.ts +0 -104
- package/v3/@claude-flow/shared/dist/mcp/transport/http.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/transport/http.js +0 -476
- package/v3/@claude-flow/shared/dist/mcp/transport/http.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/transport/index.d.ts +0 -102
- package/v3/@claude-flow/shared/dist/mcp/transport/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/transport/index.js +0 -238
- package/v3/@claude-flow/shared/dist/mcp/transport/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/transport/stdio.d.ts +0 -104
- package/v3/@claude-flow/shared/dist/mcp/transport/stdio.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/transport/stdio.js +0 -263
- package/v3/@claude-flow/shared/dist/mcp/transport/stdio.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/transport/websocket.d.ts +0 -133
- package/v3/@claude-flow/shared/dist/mcp/transport/websocket.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/transport/websocket.js +0 -396
- package/v3/@claude-flow/shared/dist/mcp/transport/websocket.js.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/types.d.ts +0 -438
- package/v3/@claude-flow/shared/dist/mcp/types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/mcp/types.js +0 -54
- package/v3/@claude-flow/shared/dist/mcp/types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/plugin-interface.d.ts +0 -544
- package/v3/@claude-flow/shared/dist/plugin-interface.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/plugin-interface.js +0 -23
- package/v3/@claude-flow/shared/dist/plugin-interface.js.map +0 -1
- package/v3/@claude-flow/shared/dist/plugin-loader.d.ts +0 -139
- package/v3/@claude-flow/shared/dist/plugin-loader.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/plugin-loader.js +0 -434
- package/v3/@claude-flow/shared/dist/plugin-loader.js.map +0 -1
- package/v3/@claude-flow/shared/dist/plugin-registry.d.ts +0 -183
- package/v3/@claude-flow/shared/dist/plugin-registry.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/plugin-registry.js +0 -457
- package/v3/@claude-flow/shared/dist/plugin-registry.js.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/index.d.ts +0 -10
- package/v3/@claude-flow/shared/dist/plugins/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/index.js +0 -10
- package/v3/@claude-flow/shared/dist/plugins/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/official/hive-mind-plugin.d.ts +0 -106
- package/v3/@claude-flow/shared/dist/plugins/official/hive-mind-plugin.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/official/hive-mind-plugin.js +0 -241
- package/v3/@claude-flow/shared/dist/plugins/official/hive-mind-plugin.js.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/official/index.d.ts +0 -10
- package/v3/@claude-flow/shared/dist/plugins/official/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/official/index.js +0 -10
- package/v3/@claude-flow/shared/dist/plugins/official/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/official/maestro-plugin.d.ts +0 -121
- package/v3/@claude-flow/shared/dist/plugins/official/maestro-plugin.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/official/maestro-plugin.js +0 -355
- package/v3/@claude-flow/shared/dist/plugins/official/maestro-plugin.js.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/types.d.ts +0 -93
- package/v3/@claude-flow/shared/dist/plugins/types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/plugins/types.js +0 -9
- package/v3/@claude-flow/shared/dist/plugins/types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/bulkhead.d.ts +0 -105
- package/v3/@claude-flow/shared/dist/resilience/bulkhead.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/bulkhead.js +0 -206
- package/v3/@claude-flow/shared/dist/resilience/bulkhead.js.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/circuit-breaker.d.ts +0 -132
- package/v3/@claude-flow/shared/dist/resilience/circuit-breaker.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/circuit-breaker.js +0 -233
- package/v3/@claude-flow/shared/dist/resilience/circuit-breaker.js.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/index.d.ts +0 -19
- package/v3/@claude-flow/shared/dist/resilience/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/index.js +0 -19
- package/v3/@claude-flow/shared/dist/resilience/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/rate-limiter.d.ts +0 -168
- package/v3/@claude-flow/shared/dist/resilience/rate-limiter.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/rate-limiter.js +0 -314
- package/v3/@claude-flow/shared/dist/resilience/rate-limiter.js.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/retry.d.ts +0 -91
- package/v3/@claude-flow/shared/dist/resilience/retry.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/resilience/retry.js +0 -159
- package/v3/@claude-flow/shared/dist/resilience/retry.js.map +0 -1
- package/v3/@claude-flow/shared/dist/security/index.d.ts +0 -10
- package/v3/@claude-flow/shared/dist/security/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/security/index.js +0 -12
- package/v3/@claude-flow/shared/dist/security/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/security/input-validation.d.ts +0 -73
- package/v3/@claude-flow/shared/dist/security/input-validation.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/security/input-validation.js +0 -201
- package/v3/@claude-flow/shared/dist/security/input-validation.js.map +0 -1
- package/v3/@claude-flow/shared/dist/security/secure-random.d.ts +0 -92
- package/v3/@claude-flow/shared/dist/security/secure-random.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/security/secure-random.js +0 -142
- package/v3/@claude-flow/shared/dist/security/secure-random.js.map +0 -1
- package/v3/@claude-flow/shared/dist/types/agent.types.d.ts +0 -137
- package/v3/@claude-flow/shared/dist/types/agent.types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/types/agent.types.js +0 -6
- package/v3/@claude-flow/shared/dist/types/agent.types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/types/index.d.ts +0 -11
- package/v3/@claude-flow/shared/dist/types/index.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/types/index.js +0 -17
- package/v3/@claude-flow/shared/dist/types/index.js.map +0 -1
- package/v3/@claude-flow/shared/dist/types/mcp.types.d.ts +0 -266
- package/v3/@claude-flow/shared/dist/types/mcp.types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/types/mcp.types.js +0 -7
- package/v3/@claude-flow/shared/dist/types/mcp.types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/types/memory.types.d.ts +0 -236
- package/v3/@claude-flow/shared/dist/types/memory.types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/types/memory.types.js +0 -7
- package/v3/@claude-flow/shared/dist/types/memory.types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/types/swarm.types.d.ts +0 -186
- package/v3/@claude-flow/shared/dist/types/swarm.types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/types/swarm.types.js +0 -65
- package/v3/@claude-flow/shared/dist/types/swarm.types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/types/task.types.d.ts +0 -178
- package/v3/@claude-flow/shared/dist/types/task.types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/types/task.types.js +0 -32
- package/v3/@claude-flow/shared/dist/types/task.types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/types.d.ts +0 -197
- package/v3/@claude-flow/shared/dist/types.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/types.js +0 -21
- package/v3/@claude-flow/shared/dist/types.js.map +0 -1
- package/v3/@claude-flow/shared/dist/utils/secure-logger.d.ts +0 -69
- package/v3/@claude-flow/shared/dist/utils/secure-logger.d.ts.map +0 -1
- package/v3/@claude-flow/shared/dist/utils/secure-logger.js +0 -208
- package/v3/@claude-flow/shared/dist/utils/secure-logger.js.map +0 -1
- package/v3/@claude-flow/shared/package.json +0 -34
- package/v3/README.md +0 -493
|
@@ -1,652 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Init Executor
|
|
3
|
-
* Main execution logic for V3 initialization
|
|
4
|
-
*/
|
|
5
|
-
import * as fs from 'fs';
|
|
6
|
-
import * as path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
8
|
-
import { dirname } from 'path';
|
|
9
|
-
// ESM-compatible __dirname
|
|
10
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
11
|
-
const __dirname = dirname(__filename);
|
|
12
|
-
import { detectPlatform } from './types.js';
|
|
13
|
-
import { generateSettingsJson } from './settings-generator.js';
|
|
14
|
-
import { generateMCPJson } from './mcp-generator.js';
|
|
15
|
-
import { generateStatuslineScript, generateStatuslineHook } from './statusline-generator.js';
|
|
16
|
-
import { generatePreCommitHook, generatePostCommitHook, generateSessionManager, generateAgentRouter, generateMemoryHelper, } from './helpers-generator.js';
|
|
17
|
-
import { generateClaudeMd, generateMinimalClaudeMd } from './claudemd-generator.js';
|
|
18
|
-
/**
|
|
19
|
-
* Skills to copy based on configuration
|
|
20
|
-
*/
|
|
21
|
-
const SKILLS_MAP = {
|
|
22
|
-
core: [
|
|
23
|
-
'swarm-orchestration',
|
|
24
|
-
'swarm-advanced',
|
|
25
|
-
'sparc-methodology',
|
|
26
|
-
'hooks-automation',
|
|
27
|
-
'pair-programming',
|
|
28
|
-
'verification-quality',
|
|
29
|
-
'stream-chain',
|
|
30
|
-
'skill-builder',
|
|
31
|
-
],
|
|
32
|
-
agentdb: [
|
|
33
|
-
'agentdb-advanced',
|
|
34
|
-
'agentdb-learning',
|
|
35
|
-
'agentdb-memory-patterns',
|
|
36
|
-
'agentdb-optimization',
|
|
37
|
-
'agentdb-vector-search',
|
|
38
|
-
'reasoningbank-agentdb',
|
|
39
|
-
'reasoningbank-intelligence',
|
|
40
|
-
],
|
|
41
|
-
github: [
|
|
42
|
-
'github-code-review',
|
|
43
|
-
'github-multi-repo',
|
|
44
|
-
'github-project-management',
|
|
45
|
-
'github-release-management',
|
|
46
|
-
'github-workflow-automation',
|
|
47
|
-
],
|
|
48
|
-
flowNexus: [
|
|
49
|
-
'flow-nexus-neural',
|
|
50
|
-
'flow-nexus-platform',
|
|
51
|
-
'flow-nexus-swarm',
|
|
52
|
-
],
|
|
53
|
-
v3: [
|
|
54
|
-
'v3-cli-modernization',
|
|
55
|
-
'v3-core-implementation',
|
|
56
|
-
'v3-ddd-architecture',
|
|
57
|
-
'v3-integration-deep',
|
|
58
|
-
'v3-mcp-optimization',
|
|
59
|
-
'v3-memory-unification',
|
|
60
|
-
'v3-performance-optimization',
|
|
61
|
-
'v3-security-overhaul',
|
|
62
|
-
'v3-swarm-coordination',
|
|
63
|
-
],
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Commands to copy based on configuration
|
|
67
|
-
*/
|
|
68
|
-
const COMMANDS_MAP = {
|
|
69
|
-
core: ['claude-flow-help.md', 'claude-flow-swarm.md', 'claude-flow-memory.md'],
|
|
70
|
-
analysis: ['analysis'],
|
|
71
|
-
automation: ['automation'],
|
|
72
|
-
github: ['github'],
|
|
73
|
-
hooks: ['hooks'],
|
|
74
|
-
monitoring: ['monitoring'],
|
|
75
|
-
optimization: ['optimization'],
|
|
76
|
-
sparc: ['sparc'],
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* Agents to copy based on configuration
|
|
80
|
-
*/
|
|
81
|
-
const AGENTS_MAP = {
|
|
82
|
-
core: ['core'],
|
|
83
|
-
consensus: ['consensus'],
|
|
84
|
-
github: ['github'],
|
|
85
|
-
hiveMind: ['hive-mind'],
|
|
86
|
-
sparc: ['sparc'],
|
|
87
|
-
swarm: ['swarm'],
|
|
88
|
-
};
|
|
89
|
-
/**
|
|
90
|
-
* Directory structure to create
|
|
91
|
-
*/
|
|
92
|
-
const DIRECTORIES = {
|
|
93
|
-
claude: [
|
|
94
|
-
'.claude',
|
|
95
|
-
'.claude/skills',
|
|
96
|
-
'.claude/commands',
|
|
97
|
-
'.claude/agents',
|
|
98
|
-
'.claude/helpers',
|
|
99
|
-
],
|
|
100
|
-
runtime: [
|
|
101
|
-
'.claude-flow',
|
|
102
|
-
'.claude-flow/data',
|
|
103
|
-
'.claude-flow/logs',
|
|
104
|
-
'.claude-flow/sessions',
|
|
105
|
-
'.claude-flow/hooks',
|
|
106
|
-
'.claude-flow/agents',
|
|
107
|
-
'.claude-flow/workflows',
|
|
108
|
-
],
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Execute initialization
|
|
112
|
-
*/
|
|
113
|
-
export async function executeInit(options) {
|
|
114
|
-
// Detect platform
|
|
115
|
-
const platform = detectPlatform();
|
|
116
|
-
const result = {
|
|
117
|
-
success: true,
|
|
118
|
-
platform,
|
|
119
|
-
created: {
|
|
120
|
-
directories: [],
|
|
121
|
-
files: [],
|
|
122
|
-
},
|
|
123
|
-
skipped: [],
|
|
124
|
-
errors: [],
|
|
125
|
-
summary: {
|
|
126
|
-
skillsCount: 0,
|
|
127
|
-
commandsCount: 0,
|
|
128
|
-
agentsCount: 0,
|
|
129
|
-
hooksEnabled: 0,
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
const targetDir = options.targetDir;
|
|
133
|
-
try {
|
|
134
|
-
// Create directory structure
|
|
135
|
-
await createDirectories(targetDir, options, result);
|
|
136
|
-
// Generate and write settings.json
|
|
137
|
-
if (options.components.settings) {
|
|
138
|
-
await writeSettings(targetDir, options, result);
|
|
139
|
-
}
|
|
140
|
-
// Generate and write .mcp.json
|
|
141
|
-
if (options.components.mcp) {
|
|
142
|
-
await writeMCPConfig(targetDir, options, result);
|
|
143
|
-
}
|
|
144
|
-
// Copy skills
|
|
145
|
-
if (options.components.skills) {
|
|
146
|
-
await copySkills(targetDir, options, result);
|
|
147
|
-
}
|
|
148
|
-
// Copy commands
|
|
149
|
-
if (options.components.commands) {
|
|
150
|
-
await copyCommands(targetDir, options, result);
|
|
151
|
-
}
|
|
152
|
-
// Copy agents
|
|
153
|
-
if (options.components.agents) {
|
|
154
|
-
await copyAgents(targetDir, options, result);
|
|
155
|
-
}
|
|
156
|
-
// Generate helpers
|
|
157
|
-
if (options.components.helpers) {
|
|
158
|
-
await writeHelpers(targetDir, options, result);
|
|
159
|
-
}
|
|
160
|
-
// Generate statusline
|
|
161
|
-
if (options.components.statusline) {
|
|
162
|
-
await writeStatusline(targetDir, options, result);
|
|
163
|
-
}
|
|
164
|
-
// Generate runtime config
|
|
165
|
-
if (options.components.runtime) {
|
|
166
|
-
await writeRuntimeConfig(targetDir, options, result);
|
|
167
|
-
}
|
|
168
|
-
// Generate CLAUDE.md
|
|
169
|
-
if (options.components.claudeMd) {
|
|
170
|
-
await writeClaudeMd(targetDir, options, result);
|
|
171
|
-
}
|
|
172
|
-
// Count enabled hooks
|
|
173
|
-
result.summary.hooksEnabled = countEnabledHooks(options);
|
|
174
|
-
}
|
|
175
|
-
catch (error) {
|
|
176
|
-
result.success = false;
|
|
177
|
-
result.errors.push(error instanceof Error ? error.message : String(error));
|
|
178
|
-
}
|
|
179
|
-
return result;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Create directory structure
|
|
183
|
-
*/
|
|
184
|
-
async function createDirectories(targetDir, options, result) {
|
|
185
|
-
const dirs = [
|
|
186
|
-
...DIRECTORIES.claude,
|
|
187
|
-
...(options.components.runtime ? DIRECTORIES.runtime : []),
|
|
188
|
-
];
|
|
189
|
-
for (const dir of dirs) {
|
|
190
|
-
const fullPath = path.join(targetDir, dir);
|
|
191
|
-
if (!fs.existsSync(fullPath)) {
|
|
192
|
-
fs.mkdirSync(fullPath, { recursive: true });
|
|
193
|
-
result.created.directories.push(dir);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Write settings.json
|
|
199
|
-
*/
|
|
200
|
-
async function writeSettings(targetDir, options, result) {
|
|
201
|
-
const settingsPath = path.join(targetDir, '.claude', 'settings.json');
|
|
202
|
-
if (fs.existsSync(settingsPath) && !options.force) {
|
|
203
|
-
result.skipped.push('.claude/settings.json');
|
|
204
|
-
return;
|
|
205
|
-
}
|
|
206
|
-
const content = generateSettingsJson(options);
|
|
207
|
-
fs.writeFileSync(settingsPath, content, 'utf-8');
|
|
208
|
-
result.created.files.push('.claude/settings.json');
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* Write .mcp.json
|
|
212
|
-
*/
|
|
213
|
-
async function writeMCPConfig(targetDir, options, result) {
|
|
214
|
-
const mcpPath = path.join(targetDir, '.mcp.json');
|
|
215
|
-
if (fs.existsSync(mcpPath) && !options.force) {
|
|
216
|
-
result.skipped.push('.mcp.json');
|
|
217
|
-
return;
|
|
218
|
-
}
|
|
219
|
-
const content = generateMCPJson(options);
|
|
220
|
-
fs.writeFileSync(mcpPath, content, 'utf-8');
|
|
221
|
-
result.created.files.push('.mcp.json');
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* Copy skills from source
|
|
225
|
-
*/
|
|
226
|
-
async function copySkills(targetDir, options, result) {
|
|
227
|
-
const skillsConfig = options.skills;
|
|
228
|
-
const targetSkillsDir = path.join(targetDir, '.claude', 'skills');
|
|
229
|
-
// Determine which skills to copy
|
|
230
|
-
const skillsToCopy = [];
|
|
231
|
-
if (skillsConfig.all) {
|
|
232
|
-
// Copy all available skills
|
|
233
|
-
Object.values(SKILLS_MAP).forEach(skills => skillsToCopy.push(...skills));
|
|
234
|
-
}
|
|
235
|
-
else {
|
|
236
|
-
if (skillsConfig.core)
|
|
237
|
-
skillsToCopy.push(...SKILLS_MAP.core);
|
|
238
|
-
if (skillsConfig.agentdb)
|
|
239
|
-
skillsToCopy.push(...SKILLS_MAP.agentdb);
|
|
240
|
-
if (skillsConfig.github)
|
|
241
|
-
skillsToCopy.push(...SKILLS_MAP.github);
|
|
242
|
-
if (skillsConfig.flowNexus)
|
|
243
|
-
skillsToCopy.push(...SKILLS_MAP.flowNexus);
|
|
244
|
-
if (skillsConfig.v3)
|
|
245
|
-
skillsToCopy.push(...SKILLS_MAP.v3);
|
|
246
|
-
}
|
|
247
|
-
// Find source skills directory
|
|
248
|
-
const sourceSkillsDir = findSourceDir('skills', options.sourceBaseDir);
|
|
249
|
-
if (!sourceSkillsDir) {
|
|
250
|
-
result.errors.push('Could not find source skills directory');
|
|
251
|
-
return;
|
|
252
|
-
}
|
|
253
|
-
// Copy each skill
|
|
254
|
-
for (const skillName of [...new Set(skillsToCopy)]) {
|
|
255
|
-
const sourcePath = path.join(sourceSkillsDir, skillName);
|
|
256
|
-
const targetPath = path.join(targetSkillsDir, skillName);
|
|
257
|
-
if (fs.existsSync(sourcePath)) {
|
|
258
|
-
if (!fs.existsSync(targetPath) || options.force) {
|
|
259
|
-
copyDirRecursive(sourcePath, targetPath);
|
|
260
|
-
result.created.files.push(`.claude/skills/${skillName}`);
|
|
261
|
-
result.summary.skillsCount++;
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
result.skipped.push(`.claude/skills/${skillName}`);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
/**
|
|
270
|
-
* Copy commands from source
|
|
271
|
-
*/
|
|
272
|
-
async function copyCommands(targetDir, options, result) {
|
|
273
|
-
const commandsConfig = options.commands;
|
|
274
|
-
const targetCommandsDir = path.join(targetDir, '.claude', 'commands');
|
|
275
|
-
// Determine which commands to copy
|
|
276
|
-
const commandsToCopy = [];
|
|
277
|
-
if (commandsConfig.all) {
|
|
278
|
-
Object.values(COMMANDS_MAP).forEach(cmds => commandsToCopy.push(...cmds));
|
|
279
|
-
}
|
|
280
|
-
else {
|
|
281
|
-
if (commandsConfig.core)
|
|
282
|
-
commandsToCopy.push(...COMMANDS_MAP.core);
|
|
283
|
-
if (commandsConfig.analysis)
|
|
284
|
-
commandsToCopy.push(...COMMANDS_MAP.analysis);
|
|
285
|
-
if (commandsConfig.automation)
|
|
286
|
-
commandsToCopy.push(...COMMANDS_MAP.automation);
|
|
287
|
-
if (commandsConfig.github)
|
|
288
|
-
commandsToCopy.push(...COMMANDS_MAP.github);
|
|
289
|
-
if (commandsConfig.hooks)
|
|
290
|
-
commandsToCopy.push(...COMMANDS_MAP.hooks);
|
|
291
|
-
if (commandsConfig.monitoring)
|
|
292
|
-
commandsToCopy.push(...COMMANDS_MAP.monitoring);
|
|
293
|
-
if (commandsConfig.optimization)
|
|
294
|
-
commandsToCopy.push(...COMMANDS_MAP.optimization);
|
|
295
|
-
if (commandsConfig.sparc)
|
|
296
|
-
commandsToCopy.push(...COMMANDS_MAP.sparc);
|
|
297
|
-
}
|
|
298
|
-
// Find source commands directory
|
|
299
|
-
const sourceCommandsDir = findSourceDir('commands', options.sourceBaseDir);
|
|
300
|
-
if (!sourceCommandsDir) {
|
|
301
|
-
result.errors.push('Could not find source commands directory');
|
|
302
|
-
return;
|
|
303
|
-
}
|
|
304
|
-
// Copy each command/directory
|
|
305
|
-
for (const cmdName of [...new Set(commandsToCopy)]) {
|
|
306
|
-
const sourcePath = path.join(sourceCommandsDir, cmdName);
|
|
307
|
-
const targetPath = path.join(targetCommandsDir, cmdName);
|
|
308
|
-
if (fs.existsSync(sourcePath)) {
|
|
309
|
-
if (!fs.existsSync(targetPath) || options.force) {
|
|
310
|
-
if (fs.statSync(sourcePath).isDirectory()) {
|
|
311
|
-
copyDirRecursive(sourcePath, targetPath);
|
|
312
|
-
}
|
|
313
|
-
else {
|
|
314
|
-
fs.copyFileSync(sourcePath, targetPath);
|
|
315
|
-
}
|
|
316
|
-
result.created.files.push(`.claude/commands/${cmdName}`);
|
|
317
|
-
result.summary.commandsCount++;
|
|
318
|
-
}
|
|
319
|
-
else {
|
|
320
|
-
result.skipped.push(`.claude/commands/${cmdName}`);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* Copy agents from source
|
|
327
|
-
*/
|
|
328
|
-
async function copyAgents(targetDir, options, result) {
|
|
329
|
-
const agentsConfig = options.agents;
|
|
330
|
-
const targetAgentsDir = path.join(targetDir, '.claude', 'agents');
|
|
331
|
-
// Determine which agents to copy
|
|
332
|
-
const agentsToCopy = [];
|
|
333
|
-
if (agentsConfig.all) {
|
|
334
|
-
Object.values(AGENTS_MAP).forEach(agents => agentsToCopy.push(...agents));
|
|
335
|
-
}
|
|
336
|
-
else {
|
|
337
|
-
if (agentsConfig.core)
|
|
338
|
-
agentsToCopy.push(...AGENTS_MAP.core);
|
|
339
|
-
if (agentsConfig.consensus)
|
|
340
|
-
agentsToCopy.push(...AGENTS_MAP.consensus);
|
|
341
|
-
if (agentsConfig.github)
|
|
342
|
-
agentsToCopy.push(...AGENTS_MAP.github);
|
|
343
|
-
if (agentsConfig.hiveMind)
|
|
344
|
-
agentsToCopy.push(...AGENTS_MAP.hiveMind);
|
|
345
|
-
if (agentsConfig.sparc)
|
|
346
|
-
agentsToCopy.push(...AGENTS_MAP.sparc);
|
|
347
|
-
if (agentsConfig.swarm)
|
|
348
|
-
agentsToCopy.push(...AGENTS_MAP.swarm);
|
|
349
|
-
}
|
|
350
|
-
// Find source agents directory
|
|
351
|
-
const sourceAgentsDir = findSourceDir('agents', options.sourceBaseDir);
|
|
352
|
-
if (!sourceAgentsDir) {
|
|
353
|
-
result.errors.push('Could not find source agents directory');
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
// Copy each agent category
|
|
357
|
-
for (const agentCategory of [...new Set(agentsToCopy)]) {
|
|
358
|
-
const sourcePath = path.join(sourceAgentsDir, agentCategory);
|
|
359
|
-
const targetPath = path.join(targetAgentsDir, agentCategory);
|
|
360
|
-
if (fs.existsSync(sourcePath)) {
|
|
361
|
-
if (!fs.existsSync(targetPath) || options.force) {
|
|
362
|
-
copyDirRecursive(sourcePath, targetPath);
|
|
363
|
-
// Count agent files
|
|
364
|
-
const agentFiles = countFiles(sourcePath, '.md');
|
|
365
|
-
result.summary.agentsCount += agentFiles;
|
|
366
|
-
result.created.files.push(`.claude/agents/${agentCategory}`);
|
|
367
|
-
}
|
|
368
|
-
else {
|
|
369
|
-
result.skipped.push(`.claude/agents/${agentCategory}`);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* Write helper scripts
|
|
376
|
-
*/
|
|
377
|
-
async function writeHelpers(targetDir, options, result) {
|
|
378
|
-
const helpersDir = path.join(targetDir, '.claude', 'helpers');
|
|
379
|
-
const sourceBaseDir = options.sourceBaseDir;
|
|
380
|
-
// Try to copy existing helpers from source first
|
|
381
|
-
if (sourceBaseDir) {
|
|
382
|
-
const sourceHelpersDir = path.join(sourceBaseDir, '.claude', 'helpers');
|
|
383
|
-
if (fs.existsSync(sourceHelpersDir)) {
|
|
384
|
-
const helperFiles = fs.readdirSync(sourceHelpersDir);
|
|
385
|
-
for (const file of helperFiles) {
|
|
386
|
-
const sourcePath = path.join(sourceHelpersDir, file);
|
|
387
|
-
const destPath = path.join(helpersDir, file);
|
|
388
|
-
// Skip directories and only copy files
|
|
389
|
-
if (!fs.statSync(sourcePath).isFile())
|
|
390
|
-
continue;
|
|
391
|
-
if (!fs.existsSync(destPath) || options.force) {
|
|
392
|
-
fs.copyFileSync(sourcePath, destPath);
|
|
393
|
-
// Make shell scripts executable
|
|
394
|
-
if (file.endsWith('.sh')) {
|
|
395
|
-
fs.chmodSync(destPath, '755');
|
|
396
|
-
}
|
|
397
|
-
result.created.files.push(`.claude/helpers/${file}`);
|
|
398
|
-
}
|
|
399
|
-
else {
|
|
400
|
-
result.skipped.push(`.claude/helpers/${file}`);
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
return; // Skip generating if we copied from source
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
// Fall back to generating helpers if source not available
|
|
407
|
-
const helpers = {
|
|
408
|
-
'pre-commit': generatePreCommitHook(),
|
|
409
|
-
'post-commit': generatePostCommitHook(),
|
|
410
|
-
'session.js': generateSessionManager(),
|
|
411
|
-
'router.js': generateAgentRouter(),
|
|
412
|
-
'memory.js': generateMemoryHelper(),
|
|
413
|
-
};
|
|
414
|
-
for (const [name, content] of Object.entries(helpers)) {
|
|
415
|
-
const filePath = path.join(helpersDir, name);
|
|
416
|
-
if (!fs.existsSync(filePath) || options.force) {
|
|
417
|
-
fs.writeFileSync(filePath, content, 'utf-8');
|
|
418
|
-
// Make shell scripts executable
|
|
419
|
-
if (!name.endsWith('.js')) {
|
|
420
|
-
fs.chmodSync(filePath, '755');
|
|
421
|
-
}
|
|
422
|
-
result.created.files.push(`.claude/helpers/${name}`);
|
|
423
|
-
}
|
|
424
|
-
else {
|
|
425
|
-
result.skipped.push(`.claude/helpers/${name}`);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
/**
|
|
430
|
-
* Write statusline configuration
|
|
431
|
-
*/
|
|
432
|
-
async function writeStatusline(targetDir, options, result) {
|
|
433
|
-
const claudeDir = path.join(targetDir, '.claude');
|
|
434
|
-
const helpersDir = path.join(targetDir, '.claude', 'helpers');
|
|
435
|
-
// Try to copy existing advanced statusline files from source
|
|
436
|
-
const sourceBaseDir = options.sourceBaseDir;
|
|
437
|
-
const advancedStatuslineFiles = [
|
|
438
|
-
{ src: 'statusline.sh', dest: 'statusline.sh', dir: claudeDir },
|
|
439
|
-
{ src: 'statusline.mjs', dest: 'statusline.mjs', dir: claudeDir },
|
|
440
|
-
];
|
|
441
|
-
let copiedAdvanced = false;
|
|
442
|
-
if (sourceBaseDir) {
|
|
443
|
-
for (const file of advancedStatuslineFiles) {
|
|
444
|
-
const sourcePath = path.join(sourceBaseDir, '.claude', file.src);
|
|
445
|
-
const destPath = path.join(file.dir, file.dest);
|
|
446
|
-
if (fs.existsSync(sourcePath)) {
|
|
447
|
-
if (!fs.existsSync(destPath) || options.force) {
|
|
448
|
-
fs.copyFileSync(sourcePath, destPath);
|
|
449
|
-
// Make shell scripts executable
|
|
450
|
-
if (file.src.endsWith('.sh')) {
|
|
451
|
-
fs.chmodSync(destPath, '755');
|
|
452
|
-
}
|
|
453
|
-
result.created.files.push(`.claude/${file.dest}`);
|
|
454
|
-
copiedAdvanced = true;
|
|
455
|
-
}
|
|
456
|
-
else {
|
|
457
|
-
result.skipped.push(`.claude/${file.dest}`);
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
// Fall back to generating simple statusline if advanced files not available
|
|
463
|
-
if (!copiedAdvanced) {
|
|
464
|
-
const statuslineScript = generateStatuslineScript(options);
|
|
465
|
-
const statuslineHook = generateStatuslineHook(options);
|
|
466
|
-
const files = {
|
|
467
|
-
'statusline.js': statuslineScript,
|
|
468
|
-
'statusline-hook.sh': statuslineHook,
|
|
469
|
-
};
|
|
470
|
-
for (const [name, content] of Object.entries(files)) {
|
|
471
|
-
const filePath = path.join(helpersDir, name);
|
|
472
|
-
if (!fs.existsSync(filePath) || options.force) {
|
|
473
|
-
fs.writeFileSync(filePath, content, 'utf-8');
|
|
474
|
-
result.created.files.push(`.claude/helpers/${name}`);
|
|
475
|
-
}
|
|
476
|
-
else {
|
|
477
|
-
result.skipped.push(`.claude/helpers/${name}`);
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
/**
|
|
483
|
-
* Write runtime configuration (.claude-flow/)
|
|
484
|
-
*/
|
|
485
|
-
async function writeRuntimeConfig(targetDir, options, result) {
|
|
486
|
-
const configPath = path.join(targetDir, '.claude-flow', 'config.yaml');
|
|
487
|
-
if (fs.existsSync(configPath) && !options.force) {
|
|
488
|
-
result.skipped.push('.claude-flow/config.yaml');
|
|
489
|
-
return;
|
|
490
|
-
}
|
|
491
|
-
const config = `# Claude Flow V3 Runtime Configuration
|
|
492
|
-
# Generated: ${new Date().toISOString()}
|
|
493
|
-
|
|
494
|
-
version: "3.0.0"
|
|
495
|
-
|
|
496
|
-
swarm:
|
|
497
|
-
topology: ${options.runtime.topology}
|
|
498
|
-
maxAgents: ${options.runtime.maxAgents}
|
|
499
|
-
autoScale: true
|
|
500
|
-
coordinationStrategy: consensus
|
|
501
|
-
|
|
502
|
-
memory:
|
|
503
|
-
backend: ${options.runtime.memoryBackend}
|
|
504
|
-
enableHNSW: ${options.runtime.enableHNSW}
|
|
505
|
-
persistPath: .claude-flow/data
|
|
506
|
-
cacheSize: 100
|
|
507
|
-
|
|
508
|
-
neural:
|
|
509
|
-
enabled: ${options.runtime.enableNeural}
|
|
510
|
-
modelPath: .claude-flow/neural
|
|
511
|
-
|
|
512
|
-
hooks:
|
|
513
|
-
enabled: true
|
|
514
|
-
autoExecute: true
|
|
515
|
-
|
|
516
|
-
mcp:
|
|
517
|
-
autoStart: ${options.mcp.autoStart}
|
|
518
|
-
port: ${options.mcp.port}
|
|
519
|
-
`;
|
|
520
|
-
fs.writeFileSync(configPath, config, 'utf-8');
|
|
521
|
-
result.created.files.push('.claude-flow/config.yaml');
|
|
522
|
-
// Write .gitignore
|
|
523
|
-
const gitignorePath = path.join(targetDir, '.claude-flow', '.gitignore');
|
|
524
|
-
const gitignore = `# Claude Flow runtime files
|
|
525
|
-
data/
|
|
526
|
-
logs/
|
|
527
|
-
sessions/
|
|
528
|
-
neural/
|
|
529
|
-
*.log
|
|
530
|
-
*.tmp
|
|
531
|
-
`;
|
|
532
|
-
if (!fs.existsSync(gitignorePath) || options.force) {
|
|
533
|
-
fs.writeFileSync(gitignorePath, gitignore, 'utf-8');
|
|
534
|
-
result.created.files.push('.claude-flow/.gitignore');
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
/**
|
|
538
|
-
* Write CLAUDE.md with swarm guidance
|
|
539
|
-
*/
|
|
540
|
-
async function writeClaudeMd(targetDir, options, result) {
|
|
541
|
-
const claudeMdPath = path.join(targetDir, 'CLAUDE.md');
|
|
542
|
-
if (fs.existsSync(claudeMdPath) && !options.force) {
|
|
543
|
-
result.skipped.push('CLAUDE.md');
|
|
544
|
-
return;
|
|
545
|
-
}
|
|
546
|
-
// Use minimal version for minimal init, full version otherwise
|
|
547
|
-
const isMinimal = !options.components.commands && !options.components.agents;
|
|
548
|
-
const content = isMinimal ? generateMinimalClaudeMd(options) : generateClaudeMd(options);
|
|
549
|
-
fs.writeFileSync(claudeMdPath, content, 'utf-8');
|
|
550
|
-
result.created.files.push('CLAUDE.md');
|
|
551
|
-
}
|
|
552
|
-
/**
|
|
553
|
-
* Find source directory for skills/commands/agents
|
|
554
|
-
*/
|
|
555
|
-
function findSourceDir(type, sourceBaseDir) {
|
|
556
|
-
// Build list of possible paths to check
|
|
557
|
-
const possiblePaths = [];
|
|
558
|
-
// If explicit source base directory is provided, use it first
|
|
559
|
-
if (sourceBaseDir) {
|
|
560
|
-
possiblePaths.push(path.join(sourceBaseDir, '.claude', type));
|
|
561
|
-
}
|
|
562
|
-
// From dist/src/init -> go up to project root
|
|
563
|
-
// __dirname is typically /path/to/v3/@claude-flow/cli/dist/src/init
|
|
564
|
-
const distPath = __dirname;
|
|
565
|
-
// Try to find the project root by looking for .claude directory
|
|
566
|
-
let currentDir = distPath;
|
|
567
|
-
for (let i = 0; i < 10; i++) {
|
|
568
|
-
const parentDir = path.dirname(currentDir);
|
|
569
|
-
const dotClaudePath = path.join(parentDir, '.claude', type);
|
|
570
|
-
if (fs.existsSync(dotClaudePath)) {
|
|
571
|
-
possiblePaths.push(dotClaudePath);
|
|
572
|
-
}
|
|
573
|
-
currentDir = parentDir;
|
|
574
|
-
}
|
|
575
|
-
// Also check relative to process.cwd() for development
|
|
576
|
-
const cwdBased = [
|
|
577
|
-
path.join(process.cwd(), '.claude', type),
|
|
578
|
-
path.join(process.cwd(), '..', '.claude', type),
|
|
579
|
-
path.join(process.cwd(), '..', '..', '.claude', type),
|
|
580
|
-
];
|
|
581
|
-
possiblePaths.push(...cwdBased);
|
|
582
|
-
// Check v2 directory for agents
|
|
583
|
-
if (type === 'agents') {
|
|
584
|
-
possiblePaths.push(path.join(process.cwd(), 'v2', '.claude', type), path.join(process.cwd(), '..', 'v2', '.claude', type));
|
|
585
|
-
}
|
|
586
|
-
// Plugin directory
|
|
587
|
-
possiblePaths.push(path.join(process.cwd(), 'plugin', type), path.join(process.cwd(), '..', 'plugin', type));
|
|
588
|
-
for (const p of possiblePaths) {
|
|
589
|
-
if (fs.existsSync(p)) {
|
|
590
|
-
return p;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
return null;
|
|
594
|
-
}
|
|
595
|
-
/**
|
|
596
|
-
* Copy directory recursively
|
|
597
|
-
*/
|
|
598
|
-
function copyDirRecursive(src, dest) {
|
|
599
|
-
fs.mkdirSync(dest, { recursive: true });
|
|
600
|
-
const entries = fs.readdirSync(src, { withFileTypes: true });
|
|
601
|
-
for (const entry of entries) {
|
|
602
|
-
const srcPath = path.join(src, entry.name);
|
|
603
|
-
const destPath = path.join(dest, entry.name);
|
|
604
|
-
if (entry.isDirectory()) {
|
|
605
|
-
copyDirRecursive(srcPath, destPath);
|
|
606
|
-
}
|
|
607
|
-
else {
|
|
608
|
-
fs.copyFileSync(srcPath, destPath);
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
/**
|
|
613
|
-
* Count files with extension in directory
|
|
614
|
-
*/
|
|
615
|
-
function countFiles(dir, ext) {
|
|
616
|
-
let count = 0;
|
|
617
|
-
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
618
|
-
for (const entry of entries) {
|
|
619
|
-
const fullPath = path.join(dir, entry.name);
|
|
620
|
-
if (entry.isDirectory()) {
|
|
621
|
-
count += countFiles(fullPath, ext);
|
|
622
|
-
}
|
|
623
|
-
else if (entry.name.endsWith(ext)) {
|
|
624
|
-
count++;
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
return count;
|
|
628
|
-
}
|
|
629
|
-
/**
|
|
630
|
-
* Count enabled hooks
|
|
631
|
-
*/
|
|
632
|
-
function countEnabledHooks(options) {
|
|
633
|
-
const hooks = options.hooks;
|
|
634
|
-
let count = 0;
|
|
635
|
-
if (hooks.preToolUse)
|
|
636
|
-
count++;
|
|
637
|
-
if (hooks.postToolUse)
|
|
638
|
-
count++;
|
|
639
|
-
if (hooks.userPromptSubmit)
|
|
640
|
-
count++;
|
|
641
|
-
if (hooks.sessionStart)
|
|
642
|
-
count++;
|
|
643
|
-
if (hooks.stop)
|
|
644
|
-
count++;
|
|
645
|
-
if (hooks.notification)
|
|
646
|
-
count++;
|
|
647
|
-
if (hooks.permissionRequest)
|
|
648
|
-
count++;
|
|
649
|
-
return count;
|
|
650
|
-
}
|
|
651
|
-
export default executeInit;
|
|
652
|
-
//# sourceMappingURL=executor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../src/init/executor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,2BAA2B;AAC3B,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEpF;;GAEG;AACH,MAAM,UAAU,GAA6B;IAC3C,IAAI,EAAE;QACJ,qBAAqB;QACrB,gBAAgB;QAChB,mBAAmB;QACnB,kBAAkB;QAClB,kBAAkB;QAClB,sBAAsB;QACtB,cAAc;QACd,eAAe;KAChB;IACD,OAAO,EAAE;QACP,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