claude-flow 3.0.0-alpha.7 → 3.0.0-alpha.9
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 +991 -900
- package/{v3/@claude-flow/cli/dist → dist}/src/commands/daemon.d.ts.map +1 -1
- package/{v3/@claude-flow/cli/dist → dist}/src/commands/daemon.js +182 -8
- package/dist/src/commands/daemon.js.map +1 -0
- package/{v3/@claude-flow/cli/dist → dist}/src/index.d.ts +1 -1
- package/{v3/@claude-flow/cli/dist → dist}/src/index.d.ts.map +1 -1
- package/{v3/@claude-flow/cli/dist → dist}/src/index.js +21 -0
- package/dist/src/index.js.map +1 -0
- package/{v3/@claude-flow/cli/dist → dist}/src/output.d.ts +16 -0
- package/dist/src/output.d.ts.map +1 -0
- package/{v3/@claude-flow/cli/dist → dist}/src/output.js +42 -0
- package/dist/src/output.js.map +1 -0
- package/{v3/@claude-flow/cli/dist → dist}/src/services/worker-daemon.d.ts +29 -2
- package/dist/src/services/worker-daemon.d.ts.map +1 -0
- package/{v3/@claude-flow/cli/dist → dist}/src/services/worker-daemon.js +123 -20
- package/dist/src/services/worker-daemon.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +13 -57
- package/src/commands/agent.ts +955 -0
- package/src/commands/config.ts +452 -0
- package/src/commands/daemon.ts +598 -0
- package/src/commands/hive-mind.ts +928 -0
- package/src/commands/hooks.ts +2603 -0
- package/src/commands/index.ts +118 -0
- package/src/commands/init.ts +597 -0
- package/src/commands/mcp.ts +753 -0
- package/src/commands/memory.ts +1161 -0
- package/src/commands/migrate.ts +447 -0
- package/src/commands/process.ts +695 -0
- package/src/commands/session.ts +891 -0
- package/src/commands/start.ts +457 -0
- package/src/commands/status.ts +736 -0
- package/src/commands/swarm.ts +648 -0
- package/src/commands/task.ts +792 -0
- package/src/commands/workflow.ts +742 -0
- package/src/config-adapter.ts +210 -0
- package/src/index.ts +427 -0
- package/src/infrastructure/in-memory-repositories.ts +310 -0
- package/src/init/claudemd-generator.ts +631 -0
- package/src/init/executor.ts +762 -0
- package/src/init/helpers-generator.ts +628 -0
- package/src/init/index.ts +60 -0
- package/src/init/mcp-generator.ts +83 -0
- package/src/init/settings-generator.ts +284 -0
- package/src/init/statusline-generator.ts +211 -0
- package/src/init/types.ts +447 -0
- package/src/mcp-client.ts +241 -0
- package/src/mcp-server.ts +577 -0
- package/src/mcp-tools/agent-tools.ts +466 -0
- package/src/mcp-tools/config-tools.ts +370 -0
- package/src/mcp-tools/hive-mind-tools.ts +521 -0
- package/src/mcp-tools/hooks-tools.ts +1888 -0
- package/src/mcp-tools/index.ts +16 -0
- package/src/mcp-tools/memory-tools.ts +270 -0
- package/src/mcp-tools/session-tools.ts +359 -0
- package/src/mcp-tools/swarm-tools.ts +105 -0
- package/src/mcp-tools/task-tools.ts +347 -0
- package/src/mcp-tools/types.ts +33 -0
- package/src/mcp-tools/workflow-tools.ts +573 -0
- package/src/output.ts +639 -0
- package/src/parser.ts +417 -0
- package/src/prompt.ts +619 -0
- package/src/services/index.ts +15 -0
- package/src/services/worker-daemon.ts +726 -0
- package/src/types.ts +287 -0
- 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 -1097
- package/.claude/helpers/metrics-db.mjs +0 -474
- 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 -1186
- package/v3/@claude-flow/cli/dist/src/commands/daemon.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/index.js.map +0 -1
- package/v3/@claude-flow/cli/dist/src/output.d.ts.map +0 -1
- package/v3/@claude-flow/cli/dist/src/output.js.map +0 -1
- 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.map +0 -1
- package/v3/@claude-flow/cli/dist/tsconfig.tsbuildinfo +0 -1
- package/v3/@claude-flow/cli/package.json +0 -29
- 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
- /package/{v3/@claude-flow/cli/bin → bin}/cli.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/agent.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/agent.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/agent.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/agent.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/config.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/config.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/config.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/config.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/daemon.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/hive-mind.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/hive-mind.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/hive-mind.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/hive-mind.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/hooks.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/hooks.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/hooks.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/hooks.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/index.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/index.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/index.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/index.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/init.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/init.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/init.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/init.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/mcp.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/mcp.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/mcp.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/mcp.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/memory.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/memory.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/memory.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/memory.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/migrate.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/migrate.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/migrate.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/migrate.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/process.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/process.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/process.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/process.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/session.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/session.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/session.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/session.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/start.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/start.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/start.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/start.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/status.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/status.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/status.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/status.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/swarm.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/swarm.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/swarm.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/swarm.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/task.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/task.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/task.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/task.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/workflow.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/workflow.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/workflow.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/commands/workflow.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/config-adapter.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/config-adapter.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/config-adapter.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/config-adapter.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/infrastructure/in-memory-repositories.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/infrastructure/in-memory-repositories.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/infrastructure/in-memory-repositories.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/infrastructure/in-memory-repositories.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/claudemd-generator.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/claudemd-generator.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/claudemd-generator.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/claudemd-generator.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/executor.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/executor.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/executor.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/executor.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/helpers-generator.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/helpers-generator.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/helpers-generator.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/helpers-generator.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/index.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/index.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/index.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/index.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/mcp-generator.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/mcp-generator.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/mcp-generator.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/mcp-generator.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/settings-generator.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/settings-generator.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/settings-generator.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/settings-generator.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/statusline-generator.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/statusline-generator.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/statusline-generator.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/statusline-generator.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/types.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/types.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/types.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/init/types.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-client.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-client.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-client.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-client.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-server.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-server.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-server.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-server.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/agent-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/agent-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/agent-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/agent-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/config-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/config-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/config-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/config-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/hive-mind-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/hive-mind-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/hive-mind-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/hive-mind-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/hooks-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/hooks-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/hooks-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/hooks-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/index.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/index.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/index.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/index.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/memory-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/memory-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/memory-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/memory-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/session-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/session-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/session-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/session-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/swarm-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/swarm-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/swarm-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/swarm-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/task-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/task-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/task-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/task-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/types.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/types.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/types.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/types.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/workflow-tools.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/workflow-tools.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/workflow-tools.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/mcp-tools/workflow-tools.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/parser.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/parser.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/parser.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/parser.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/prompt.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/prompt.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/prompt.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/prompt.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/services/index.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/services/index.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/services/index.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/services/index.js.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/types.d.ts +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/types.d.ts.map +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/types.js +0 -0
- /package/{v3/@claude-flow/cli/dist → dist}/src/types.js.map +0 -0
|
@@ -1,476 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* V3 MCP HTTP Transport
|
|
3
|
-
*
|
|
4
|
-
* HTTP/REST transport for MCP communication:
|
|
5
|
-
* - Express-based with optimized middleware
|
|
6
|
-
* - WebSocket support for real-time notifications
|
|
7
|
-
* - Connection pooling for client connections
|
|
8
|
-
* - Security headers with helmet
|
|
9
|
-
*
|
|
10
|
-
* Performance Targets:
|
|
11
|
-
* - Request handling: <20ms overhead
|
|
12
|
-
* - WebSocket message: <5ms
|
|
13
|
-
*/
|
|
14
|
-
import { EventEmitter } from 'events';
|
|
15
|
-
import express from 'express';
|
|
16
|
-
import { createServer } from 'http';
|
|
17
|
-
import { WebSocketServer, WebSocket } from 'ws';
|
|
18
|
-
import cors from 'cors';
|
|
19
|
-
import helmet from 'helmet';
|
|
20
|
-
/**
|
|
21
|
-
* HTTP Transport Implementation
|
|
22
|
-
*/
|
|
23
|
-
export class HttpTransport extends EventEmitter {
|
|
24
|
-
logger;
|
|
25
|
-
config;
|
|
26
|
-
type = 'http';
|
|
27
|
-
requestHandler;
|
|
28
|
-
notificationHandler;
|
|
29
|
-
app;
|
|
30
|
-
server;
|
|
31
|
-
wss;
|
|
32
|
-
running = false;
|
|
33
|
-
activeConnections = new Set();
|
|
34
|
-
// Statistics
|
|
35
|
-
messagesReceived = 0;
|
|
36
|
-
messagesSent = 0;
|
|
37
|
-
errors = 0;
|
|
38
|
-
httpRequests = 0;
|
|
39
|
-
wsMessages = 0;
|
|
40
|
-
constructor(logger, config) {
|
|
41
|
-
super();
|
|
42
|
-
this.logger = logger;
|
|
43
|
-
this.config = config;
|
|
44
|
-
this.app = express();
|
|
45
|
-
this.setupMiddleware();
|
|
46
|
-
this.setupRoutes();
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Start the transport
|
|
50
|
-
*/
|
|
51
|
-
async start() {
|
|
52
|
-
if (this.running) {
|
|
53
|
-
throw new Error('HTTP transport already running');
|
|
54
|
-
}
|
|
55
|
-
this.logger.info('Starting HTTP transport', {
|
|
56
|
-
host: this.config.host,
|
|
57
|
-
port: this.config.port,
|
|
58
|
-
});
|
|
59
|
-
// Create HTTP server
|
|
60
|
-
this.server = createServer(this.app);
|
|
61
|
-
// Create WebSocket server
|
|
62
|
-
this.wss = new WebSocketServer({
|
|
63
|
-
server: this.server,
|
|
64
|
-
path: '/ws',
|
|
65
|
-
});
|
|
66
|
-
this.setupWebSocketHandlers();
|
|
67
|
-
// Start server
|
|
68
|
-
await new Promise((resolve, reject) => {
|
|
69
|
-
this.server.listen(this.config.port, this.config.host, () => {
|
|
70
|
-
resolve();
|
|
71
|
-
});
|
|
72
|
-
this.server.on('error', reject);
|
|
73
|
-
});
|
|
74
|
-
this.running = true;
|
|
75
|
-
this.logger.info('HTTP transport started', {
|
|
76
|
-
url: `http://${this.config.host}:${this.config.port}`,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Stop the transport
|
|
81
|
-
*/
|
|
82
|
-
async stop() {
|
|
83
|
-
if (!this.running) {
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
this.logger.info('Stopping HTTP transport');
|
|
87
|
-
this.running = false;
|
|
88
|
-
// Close all WebSocket connections
|
|
89
|
-
for (const ws of this.activeConnections) {
|
|
90
|
-
try {
|
|
91
|
-
ws.close(1000, 'Server shutting down');
|
|
92
|
-
}
|
|
93
|
-
catch {
|
|
94
|
-
// Ignore errors
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
this.activeConnections.clear();
|
|
98
|
-
// Close WebSocket server
|
|
99
|
-
if (this.wss) {
|
|
100
|
-
this.wss.close();
|
|
101
|
-
this.wss = undefined;
|
|
102
|
-
}
|
|
103
|
-
// Close HTTP server
|
|
104
|
-
if (this.server) {
|
|
105
|
-
await new Promise((resolve) => {
|
|
106
|
-
this.server.close(() => resolve());
|
|
107
|
-
});
|
|
108
|
-
this.server = undefined;
|
|
109
|
-
}
|
|
110
|
-
this.logger.info('HTTP transport stopped');
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Register request handler
|
|
114
|
-
*/
|
|
115
|
-
onRequest(handler) {
|
|
116
|
-
this.requestHandler = handler;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Register notification handler
|
|
120
|
-
*/
|
|
121
|
-
onNotification(handler) {
|
|
122
|
-
this.notificationHandler = handler;
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Get health status
|
|
126
|
-
*/
|
|
127
|
-
async getHealthStatus() {
|
|
128
|
-
return {
|
|
129
|
-
healthy: this.running,
|
|
130
|
-
metrics: {
|
|
131
|
-
messagesReceived: this.messagesReceived,
|
|
132
|
-
messagesSent: this.messagesSent,
|
|
133
|
-
errors: this.errors,
|
|
134
|
-
httpRequests: this.httpRequests,
|
|
135
|
-
wsMessages: this.wsMessages,
|
|
136
|
-
activeConnections: this.activeConnections.size,
|
|
137
|
-
},
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Send notification to all connected WebSocket clients
|
|
142
|
-
*/
|
|
143
|
-
async sendNotification(notification) {
|
|
144
|
-
const message = JSON.stringify(notification);
|
|
145
|
-
for (const ws of this.activeConnections) {
|
|
146
|
-
try {
|
|
147
|
-
if (ws.readyState === WebSocket.OPEN) {
|
|
148
|
-
ws.send(message);
|
|
149
|
-
this.messagesSent++;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
catch (error) {
|
|
153
|
-
this.logger.error('Failed to send notification', { error });
|
|
154
|
-
this.errors++;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Setup Express middleware
|
|
160
|
-
*/
|
|
161
|
-
setupMiddleware() {
|
|
162
|
-
// Security headers
|
|
163
|
-
this.app.use(helmet({
|
|
164
|
-
contentSecurityPolicy: false, // Allow for flexibility
|
|
165
|
-
}));
|
|
166
|
-
// CORS - Secure defaults (no wildcard in production)
|
|
167
|
-
if (this.config.corsEnabled !== false) {
|
|
168
|
-
const allowedOrigins = this.config.corsOrigins;
|
|
169
|
-
// SECURITY: Reject wildcard CORS in production unless explicitly configured
|
|
170
|
-
if (!allowedOrigins || allowedOrigins.length === 0) {
|
|
171
|
-
this.logger.warn('CORS: No origins configured, restricting to same-origin only');
|
|
172
|
-
}
|
|
173
|
-
this.app.use(cors({
|
|
174
|
-
origin: (origin, callback) => {
|
|
175
|
-
// Allow requests with no origin (same-origin, curl, etc.)
|
|
176
|
-
if (!origin) {
|
|
177
|
-
callback(null, true);
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
// Check against allowed origins
|
|
181
|
-
if (allowedOrigins && allowedOrigins.length > 0) {
|
|
182
|
-
if (allowedOrigins.includes(origin) || allowedOrigins.includes('*')) {
|
|
183
|
-
callback(null, true);
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
callback(new Error(`CORS: Origin '${origin}' not allowed`));
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
else {
|
|
190
|
-
// No origins configured - reject cross-origin requests
|
|
191
|
-
callback(new Error('CORS: Cross-origin requests not allowed'));
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
credentials: true,
|
|
195
|
-
maxAge: 86400,
|
|
196
|
-
methods: ['GET', 'POST', 'OPTIONS'],
|
|
197
|
-
allowedHeaders: ['Content-Type', 'Authorization', 'X-Request-ID'],
|
|
198
|
-
}));
|
|
199
|
-
}
|
|
200
|
-
// Body parsing
|
|
201
|
-
this.app.use(express.json({
|
|
202
|
-
limit: this.config.maxRequestSize || '10mb',
|
|
203
|
-
}));
|
|
204
|
-
// Request timeout
|
|
205
|
-
if (this.config.requestTimeout) {
|
|
206
|
-
this.app.use((req, res, next) => {
|
|
207
|
-
res.setTimeout(this.config.requestTimeout, () => {
|
|
208
|
-
res.status(408).json({
|
|
209
|
-
jsonrpc: '2.0',
|
|
210
|
-
id: null,
|
|
211
|
-
error: { code: -32000, message: 'Request timeout' },
|
|
212
|
-
});
|
|
213
|
-
});
|
|
214
|
-
next();
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
// Request logging
|
|
218
|
-
this.app.use((req, res, next) => {
|
|
219
|
-
const startTime = performance.now();
|
|
220
|
-
res.on('finish', () => {
|
|
221
|
-
const duration = performance.now() - startTime;
|
|
222
|
-
this.logger.debug('HTTP request', {
|
|
223
|
-
method: req.method,
|
|
224
|
-
path: req.path,
|
|
225
|
-
status: res.statusCode,
|
|
226
|
-
duration: `${duration.toFixed(2)}ms`,
|
|
227
|
-
});
|
|
228
|
-
});
|
|
229
|
-
next();
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
/**
|
|
233
|
-
* Setup Express routes
|
|
234
|
-
*/
|
|
235
|
-
setupRoutes() {
|
|
236
|
-
// Health check
|
|
237
|
-
this.app.get('/health', (req, res) => {
|
|
238
|
-
res.json({
|
|
239
|
-
status: 'ok',
|
|
240
|
-
timestamp: new Date().toISOString(),
|
|
241
|
-
connections: this.activeConnections.size,
|
|
242
|
-
});
|
|
243
|
-
});
|
|
244
|
-
// MCP JSON-RPC endpoint
|
|
245
|
-
this.app.post('/rpc', async (req, res) => {
|
|
246
|
-
await this.handleHttpRequest(req, res);
|
|
247
|
-
});
|
|
248
|
-
// Alternative MCP endpoint
|
|
249
|
-
this.app.post('/mcp', async (req, res) => {
|
|
250
|
-
await this.handleHttpRequest(req, res);
|
|
251
|
-
});
|
|
252
|
-
// Server info
|
|
253
|
-
this.app.get('/info', (req, res) => {
|
|
254
|
-
res.json({
|
|
255
|
-
name: 'Claude-Flow MCP Server V3',
|
|
256
|
-
version: '3.0.0',
|
|
257
|
-
transport: 'http',
|
|
258
|
-
capabilities: {
|
|
259
|
-
jsonrpc: true,
|
|
260
|
-
websocket: true,
|
|
261
|
-
},
|
|
262
|
-
});
|
|
263
|
-
});
|
|
264
|
-
// 404 handler
|
|
265
|
-
this.app.use((req, res) => {
|
|
266
|
-
res.status(404).json({
|
|
267
|
-
error: 'Not found',
|
|
268
|
-
path: req.path,
|
|
269
|
-
});
|
|
270
|
-
});
|
|
271
|
-
// Error handler
|
|
272
|
-
this.app.use((err, req, res, next) => {
|
|
273
|
-
this.logger.error('Express error', { error: err });
|
|
274
|
-
this.errors++;
|
|
275
|
-
res.status(500).json({
|
|
276
|
-
jsonrpc: '2.0',
|
|
277
|
-
id: null,
|
|
278
|
-
error: { code: -32603, message: 'Internal error' },
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* Setup WebSocket handlers
|
|
284
|
-
*/
|
|
285
|
-
setupWebSocketHandlers() {
|
|
286
|
-
if (!this.wss)
|
|
287
|
-
return;
|
|
288
|
-
this.wss.on('connection', (ws, req) => {
|
|
289
|
-
this.activeConnections.add(ws);
|
|
290
|
-
this.logger.info('WebSocket client connected', {
|
|
291
|
-
total: this.activeConnections.size,
|
|
292
|
-
});
|
|
293
|
-
ws.on('message', async (data) => {
|
|
294
|
-
await this.handleWebSocketMessage(ws, data.toString());
|
|
295
|
-
});
|
|
296
|
-
ws.on('close', () => {
|
|
297
|
-
this.activeConnections.delete(ws);
|
|
298
|
-
this.logger.info('WebSocket client disconnected', {
|
|
299
|
-
total: this.activeConnections.size,
|
|
300
|
-
});
|
|
301
|
-
});
|
|
302
|
-
ws.on('error', (error) => {
|
|
303
|
-
this.logger.error('WebSocket error', { error });
|
|
304
|
-
this.errors++;
|
|
305
|
-
this.activeConnections.delete(ws);
|
|
306
|
-
});
|
|
307
|
-
});
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* Handle HTTP request
|
|
311
|
-
*/
|
|
312
|
-
async handleHttpRequest(req, res) {
|
|
313
|
-
this.httpRequests++;
|
|
314
|
-
this.messagesReceived++;
|
|
315
|
-
// Validate authentication (ALWAYS check, not just when explicitly enabled)
|
|
316
|
-
// SECURITY: Auth should be opt-out, not opt-in
|
|
317
|
-
const requiresAuth = this.config.auth?.enabled !== false; // Default to requiring auth
|
|
318
|
-
if (requiresAuth && this.config.auth) {
|
|
319
|
-
const authResult = this.validateAuth(req);
|
|
320
|
-
if (!authResult.valid) {
|
|
321
|
-
this.logger.warn('Authentication failed', {
|
|
322
|
-
ip: req.ip,
|
|
323
|
-
path: req.path,
|
|
324
|
-
error: authResult.error,
|
|
325
|
-
});
|
|
326
|
-
res.status(401).json({
|
|
327
|
-
jsonrpc: '2.0',
|
|
328
|
-
id: null,
|
|
329
|
-
error: { code: -32001, message: 'Unauthorized' },
|
|
330
|
-
});
|
|
331
|
-
return;
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
else if (requiresAuth && !this.config.auth) {
|
|
335
|
-
// No auth configured but auth is required - warn and continue (development mode)
|
|
336
|
-
this.logger.warn('No authentication configured - running in development mode');
|
|
337
|
-
}
|
|
338
|
-
const message = req.body;
|
|
339
|
-
// Validate JSON-RPC format
|
|
340
|
-
if (message.jsonrpc !== '2.0') {
|
|
341
|
-
res.status(400).json({
|
|
342
|
-
jsonrpc: '2.0',
|
|
343
|
-
id: message.id || null,
|
|
344
|
-
error: { code: -32600, message: 'Invalid JSON-RPC version' },
|
|
345
|
-
});
|
|
346
|
-
return;
|
|
347
|
-
}
|
|
348
|
-
if (!message.method) {
|
|
349
|
-
res.status(400).json({
|
|
350
|
-
jsonrpc: '2.0',
|
|
351
|
-
id: message.id || null,
|
|
352
|
-
error: { code: -32600, message: 'Missing method' },
|
|
353
|
-
});
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
// Handle notification vs request
|
|
357
|
-
if (message.id === undefined) {
|
|
358
|
-
// Notification
|
|
359
|
-
if (this.notificationHandler) {
|
|
360
|
-
await this.notificationHandler(message);
|
|
361
|
-
}
|
|
362
|
-
res.status(204).end();
|
|
363
|
-
}
|
|
364
|
-
else {
|
|
365
|
-
// Request
|
|
366
|
-
if (!this.requestHandler) {
|
|
367
|
-
res.status(500).json({
|
|
368
|
-
jsonrpc: '2.0',
|
|
369
|
-
id: message.id,
|
|
370
|
-
error: { code: -32603, message: 'No request handler' },
|
|
371
|
-
});
|
|
372
|
-
return;
|
|
373
|
-
}
|
|
374
|
-
try {
|
|
375
|
-
const response = await this.requestHandler(message);
|
|
376
|
-
res.json(response);
|
|
377
|
-
this.messagesSent++;
|
|
378
|
-
}
|
|
379
|
-
catch (error) {
|
|
380
|
-
this.errors++;
|
|
381
|
-
res.status(500).json({
|
|
382
|
-
jsonrpc: '2.0',
|
|
383
|
-
id: message.id,
|
|
384
|
-
error: {
|
|
385
|
-
code: -32603,
|
|
386
|
-
message: error instanceof Error ? error.message : 'Internal error',
|
|
387
|
-
},
|
|
388
|
-
});
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
/**
|
|
393
|
-
* Handle WebSocket message
|
|
394
|
-
*/
|
|
395
|
-
async handleWebSocketMessage(ws, data) {
|
|
396
|
-
this.wsMessages++;
|
|
397
|
-
this.messagesReceived++;
|
|
398
|
-
try {
|
|
399
|
-
const message = JSON.parse(data);
|
|
400
|
-
if (message.jsonrpc !== '2.0') {
|
|
401
|
-
ws.send(JSON.stringify({
|
|
402
|
-
jsonrpc: '2.0',
|
|
403
|
-
id: message.id || null,
|
|
404
|
-
error: { code: -32600, message: 'Invalid JSON-RPC version' },
|
|
405
|
-
}));
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
if (message.id === undefined) {
|
|
409
|
-
// Notification
|
|
410
|
-
if (this.notificationHandler) {
|
|
411
|
-
await this.notificationHandler(message);
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
else {
|
|
415
|
-
// Request
|
|
416
|
-
if (!this.requestHandler) {
|
|
417
|
-
ws.send(JSON.stringify({
|
|
418
|
-
jsonrpc: '2.0',
|
|
419
|
-
id: message.id,
|
|
420
|
-
error: { code: -32603, message: 'No request handler' },
|
|
421
|
-
}));
|
|
422
|
-
return;
|
|
423
|
-
}
|
|
424
|
-
const response = await this.requestHandler(message);
|
|
425
|
-
ws.send(JSON.stringify(response));
|
|
426
|
-
this.messagesSent++;
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
catch (error) {
|
|
430
|
-
this.errors++;
|
|
431
|
-
this.logger.error('WebSocket message error', { error });
|
|
432
|
-
try {
|
|
433
|
-
const parsed = JSON.parse(data);
|
|
434
|
-
ws.send(JSON.stringify({
|
|
435
|
-
jsonrpc: '2.0',
|
|
436
|
-
id: parsed.id || null,
|
|
437
|
-
error: { code: -32700, message: 'Parse error' },
|
|
438
|
-
}));
|
|
439
|
-
}
|
|
440
|
-
catch {
|
|
441
|
-
ws.send(JSON.stringify({
|
|
442
|
-
jsonrpc: '2.0',
|
|
443
|
-
id: null,
|
|
444
|
-
error: { code: -32700, message: 'Parse error' },
|
|
445
|
-
}));
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
/**
|
|
450
|
-
* Validate authentication
|
|
451
|
-
*/
|
|
452
|
-
validateAuth(req) {
|
|
453
|
-
const auth = req.headers.authorization;
|
|
454
|
-
if (!auth) {
|
|
455
|
-
return { valid: false, error: 'Authorization header required' };
|
|
456
|
-
}
|
|
457
|
-
const tokenMatch = auth.match(/^Bearer\s+(.+)$/i);
|
|
458
|
-
if (!tokenMatch) {
|
|
459
|
-
return { valid: false, error: 'Invalid authorization format' };
|
|
460
|
-
}
|
|
461
|
-
const token = tokenMatch[1];
|
|
462
|
-
if (this.config.auth?.tokens?.length) {
|
|
463
|
-
if (!this.config.auth.tokens.includes(token)) {
|
|
464
|
-
return { valid: false, error: 'Invalid token' };
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
return { valid: true };
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
/**
|
|
471
|
-
* Create HTTP transport
|
|
472
|
-
*/
|
|
473
|
-
export function createHttpTransport(logger, config) {
|
|
474
|
-
return new HttpTransport(logger, config);
|
|
475
|
-
}
|
|
476
|
-
//# sourceMappingURL=http.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"http.js","sourceRoot":"","sources":["../../../src/mcp/transport/http.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,OAAqD,MAAM,SAAS,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAU,MAAM,MAAM,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAChD,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AA8B5B;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,YAAY;IAmB1B;IACA;IAnBH,IAAI,GAAkB,MAAM,CAAC;IAErC,cAAc,CAAkB;IAChC,mBAAmB,CAAuB;IAC1C,GAAG,CAAU;IACb,MAAM,CAAU;IAChB,GAAG,CAAmB;IACtB,OAAO,GAAG,KAAK,CAAC;IAChB,iBAAiB,GAAG,IAAI,GAAG,EAAa,CAAC;IAEjD,aAAa;IACL,gBAAgB,GAAG,CAAC,CAAC;IACrB,YAAY,GAAG,CAAC,CAAC;IACjB,MAAM,GAAG,CAAC,CAAC;IACX,YAAY,GAAG,CAAC,CAAC;IACjB,UAAU,GAAG,CAAC,CAAC;IAEvB,YACmB,MAAe,EACf,MAA2B;QAE5C,KAAK,EAAE,CAAC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C;IACzB,CAAC;CACF;AAED;;GAEG;AACH,MAAM,UAAU,mBAAmB,CACjC,MAAe,EACf,MAA2B;IAE3B,OAAO,IAAI,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* V3 MCP Transport Factory
|
|
3
|
-
*
|
|
4
|
-
* Central factory for creating transport instances:
|
|
5
|
-
* - Unified transport creation API
|
|
6
|
-
* - Transport type validation
|
|
7
|
-
* - Configuration defaults
|
|
8
|
-
* - Multi-transport support
|
|
9
|
-
*
|
|
10
|
-
* Supported transports:
|
|
11
|
-
* - stdio: Standard I/O (default for CLI)
|
|
12
|
-
* - http: HTTP/REST with WebSocket upgrade
|
|
13
|
-
* - websocket: Standalone WebSocket
|
|
14
|
-
* - in-process: Direct function calls (fastest)
|
|
15
|
-
*/
|
|
16
|
-
import { ITransport, TransportType, ILogger } from '../types.js';
|
|
17
|
-
import { StdioTransportConfig } from './stdio.js';
|
|
18
|
-
import { HttpTransportConfig } from './http.js';
|
|
19
|
-
import { WebSocketTransportConfig } from './websocket.js';
|
|
20
|
-
export { StdioTransport } from './stdio.js';
|
|
21
|
-
export { HttpTransport } from './http.js';
|
|
22
|
-
export { WebSocketTransport } from './websocket.js';
|
|
23
|
-
export type { StdioTransportConfig } from './stdio.js';
|
|
24
|
-
export type { HttpTransportConfig } from './http.js';
|
|
25
|
-
export type { WebSocketTransportConfig } from './websocket.js';
|
|
26
|
-
/**
|
|
27
|
-
* Transport configuration union
|
|
28
|
-
*/
|
|
29
|
-
export type TransportConfig = {
|
|
30
|
-
type: 'stdio';
|
|
31
|
-
} & StdioTransportConfig | {
|
|
32
|
-
type: 'http';
|
|
33
|
-
} & HttpTransportConfig | {
|
|
34
|
-
type: 'websocket';
|
|
35
|
-
} & WebSocketTransportConfig | {
|
|
36
|
-
type: 'in-process';
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Create a transport instance based on type
|
|
40
|
-
*/
|
|
41
|
-
export declare function createTransport(type: TransportType, logger: ILogger, config?: Partial<TransportConfig>): ITransport;
|
|
42
|
-
/**
|
|
43
|
-
* Create in-process transport
|
|
44
|
-
*/
|
|
45
|
-
export declare function createInProcessTransport(logger: ILogger): ITransport;
|
|
46
|
-
/**
|
|
47
|
-
* Transport manager for multi-transport scenarios
|
|
48
|
-
*/
|
|
49
|
-
export declare class TransportManager {
|
|
50
|
-
private readonly logger;
|
|
51
|
-
private transports;
|
|
52
|
-
private running;
|
|
53
|
-
constructor(logger: ILogger);
|
|
54
|
-
/**
|
|
55
|
-
* Add a transport
|
|
56
|
-
*/
|
|
57
|
-
addTransport(name: string, transport: ITransport): void;
|
|
58
|
-
/**
|
|
59
|
-
* Remove a transport
|
|
60
|
-
*/
|
|
61
|
-
removeTransport(name: string): Promise<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* Get a transport by name
|
|
64
|
-
*/
|
|
65
|
-
getTransport(name: string): ITransport | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Get all transport names
|
|
68
|
-
*/
|
|
69
|
-
getTransportNames(): string[];
|
|
70
|
-
/**
|
|
71
|
-
* Start all transports
|
|
72
|
-
*/
|
|
73
|
-
startAll(): Promise<void>;
|
|
74
|
-
/**
|
|
75
|
-
* Stop all transports
|
|
76
|
-
*/
|
|
77
|
-
stopAll(): Promise<void>;
|
|
78
|
-
/**
|
|
79
|
-
* Get health status of all transports
|
|
80
|
-
*/
|
|
81
|
-
getHealthStatus(): Promise<Record<string, {
|
|
82
|
-
healthy: boolean;
|
|
83
|
-
error?: string;
|
|
84
|
-
}>>;
|
|
85
|
-
/**
|
|
86
|
-
* Check if any transport is running
|
|
87
|
-
*/
|
|
88
|
-
isRunning(): boolean;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Create a transport manager
|
|
92
|
-
*/
|
|
93
|
-
export declare function createTransportManager(logger: ILogger): TransportManager;
|
|
94
|
-
/**
|
|
95
|
-
* Default transport configurations
|
|
96
|
-
*/
|
|
97
|
-
export declare const DEFAULT_TRANSPORT_CONFIGS: {
|
|
98
|
-
readonly stdio: StdioTransportConfig;
|
|
99
|
-
readonly http: HttpTransportConfig;
|
|
100
|
-
readonly websocket: WebSocketTransportConfig;
|
|
101
|
-
};
|
|
102
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mcp/transport/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,aAAa,EAEb,OAAO,EACR,MAAM,aAAa,CAAC;AACrB,OAAO,EAAkB,oBAAoB,EAAwB,MAAM,YAAY,CAAC;AACxF,OAAO,EAAiB,mBAAmB,EAAuB,MAAM,WAAW,CAAC;AACpF,OAAO,EAAsB,wBAAwB,EAA4B,MAAM,gBAAgB,CAAC;AAGxG,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,YAAY,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,eAAe,GACvB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GAAG,oBAAoB,GACxC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,mBAAmB,GACtC;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG,wBAAwB,GAChD;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC;AAE3B;;GAEG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,aAAa,EACnB,MAA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