claude-flow 2.7.0 → 2.7.2
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/CHANGELOG.md +42 -0
- package/README.md +83 -22
- package/bin/claude-flow +1 -1
- package/dist/src/cli/commands/memory.js +64 -1
- package/dist/src/cli/commands/memory.js.map +1 -1
- package/dist/src/cli/help-formatter.js +3 -5
- package/dist/src/cli/help-formatter.js.map +1 -1
- package/dist/src/cli/simple-cli.js +104 -0
- package/dist/src/cli/simple-cli.js.map +1 -1
- package/dist/src/cli/validation-helper.js.map +1 -1
- package/dist/src/core/version.js +1 -1
- package/dist/src/core/version.js.map +1 -1
- package/dist/src/mcp/mcp-server.js +261 -3
- package/dist/src/mcp/mcp-server.js.map +1 -1
- package/dist/src/memory/agentdb-adapter.js +214 -0
- package/dist/src/memory/agentdb-adapter.js.map +1 -0
- package/dist/src/memory/backends/agentdb.js +234 -0
- package/dist/src/memory/backends/agentdb.js.map +1 -0
- package/dist/src/memory/index.js +11 -2
- package/dist/src/memory/index.js.map +1 -1
- package/dist/src/memory/migration/legacy-bridge.js +222 -0
- package/dist/src/memory/migration/legacy-bridge.js.map +1 -0
- package/dist/src/memory/swarm-memory.js +421 -340
- package/dist/src/memory/swarm-memory.js.map +1 -1
- package/dist/src/utils/metrics-reader.js +41 -29
- package/dist/src/utils/metrics-reader.js.map +1 -1
- package/docs/.claude-flow/metrics/performance.json +80 -2
- package/docs/.claude-flow/metrics/task-metrics.json +3 -3
- package/docs/INDEX.md +37 -12
- package/docs/README.md +92 -4
- package/docs/agentdb/AGENT3_FINAL_REPORT.md +643 -0
- package/docs/agentdb/AGENT3_SUMMARY.md +354 -0
- package/docs/agentdb/AGENTDB_INTEGRATION_PLAN.md +1258 -0
- package/docs/agentdb/BACKWARD_COMPATIBILITY_GUARANTEE.md +421 -0
- package/docs/agentdb/OPTIMIZATION_REPORT.md +360 -0
- package/docs/agentdb/PRODUCTION_READINESS.md +499 -0
- package/docs/agentdb/PUBLISHING_CHECKLIST.md +364 -0
- package/docs/agentdb/README.md +58 -0
- package/docs/agentdb/SWARM_COORDINATION.md +393 -0
- package/docs/agentdb/SWARM_IMPLEMENTATION_COMPLETE.md +538 -0
- package/docs/agentdb/agentdb-integration-summary.md +331 -0
- package/docs/agentdb/benchmarks/baseline-report.json +75 -0
- package/docs/development/AGENT1_COMPLETION_REPORT.md +466 -0
- package/docs/development/README.md +22 -0
- package/docs/fixes/PATTERN_FIX_CONFIRMATION.md +513 -0
- package/docs/fixes/PATTERN_PERSISTENCE_FIX.md +328 -0
- package/docs/fixes/README.md +33 -0
- package/docs/guides/README.md +29 -0
- package/docs/{skills-tutorial.md → guides/skills-tutorial.md} +2 -2
- package/docs/integrations/agentic-flow/INTEGRATION-TEST-v1.7.1.md +419 -0
- package/docs/integrations/agentic-flow/MIGRATION_v1.7.0.md +381 -0
- package/docs/integrations/agentic-flow/README.md +229 -0
- package/docs/integrations/agentic-flow/RELEASE-v1.7.0.md +348 -0
- package/docs/integrations/agentic-flow/RELEASE-v1.7.1.md +547 -0
- package/docs/integrations/agentic-flow/VERIFICATION-v1.7.4.md +556 -0
- package/docs/performance/README.md +31 -0
- package/docs/releases/ALPHA_TAG_UPDATE.md +150 -0
- package/docs/releases/README.md +25 -0
- package/docs/{RELEASE-NOTES-v2.7.0-alpha.10.md → releases/v2.7.0-alpha.10/RELEASE-NOTES-v2.7.0-alpha.10.md} +1 -1
- package/docs/releases/v2.7.1/RELEASE_SUMMARY_v2.7.1.md +340 -0
- package/docs/releases/v2.7.1/RELEASE_v2.7.1.md +244 -0
- package/docs/validation/DOCKER_VERIFICATION_REPORT.md +371 -0
- package/docs/validation/README.md +25 -0
- package/docs/validation/REGRESSION_ANALYSIS_v2.7.1.md +357 -0
- package/package.json +4 -3
- package/scripts/fix-agentdb-imports.sh +18 -0
- package/scripts/run-docker-regression.sh +101 -0
- package/scripts/verify-agentdb-integration.sh +220 -0
- package/src/cli/commands/memory.ts +95 -1
- package/src/mcp/mcp-server.js +302 -2
- package/src/memory/README-AGENTDB.md +366 -0
- package/src/memory/agentdb-adapter.js +373 -0
- package/src/memory/backends/agentdb.js +360 -0
- package/src/memory/index.js +32 -3
- package/src/memory/migration/legacy-bridge.js +330 -0
- package/dist/agents/agent-loader.d.ts +0 -103
- package/dist/agents/agent-loader.d.ts.map +0 -1
- package/dist/agents/agent-loader.js +0 -220
- package/dist/agents/agent-loader.js.map +0 -1
- package/dist/agents/agent-manager.d.ts +0 -191
- package/dist/agents/agent-manager.d.ts.map +0 -1
- package/dist/agents/agent-manager.js +0 -1405
- package/dist/agents/agent-manager.js.map +0 -1
- package/dist/api/claude-api-errors.d.ts +0 -115
- package/dist/api/claude-api-errors.d.ts.map +0 -1
- package/dist/api/claude-api-errors.js +0 -198
- package/dist/api/claude-api-errors.js.map +0 -1
- package/dist/api/claude-client.d.ts +0 -197
- package/dist/api/claude-client.d.ts.map +0 -1
- package/dist/api/claude-client.js +0 -525
- package/dist/api/claude-client.js.map +0 -1
- package/dist/cli/cli-core.d.ts +0 -52
- package/dist/cli/cli-core.d.ts.map +0 -1
- package/dist/cli/cli-core.js +0 -264
- package/dist/cli/cli-core.js.map +0 -1
- package/dist/cli/command-registry.d.ts +0 -10
- package/dist/cli/command-registry.d.ts.map +0 -1
- package/dist/cli/command-registry.js +0 -1126
- package/dist/cli/command-registry.js.map +0 -1
- package/dist/cli/commander-fix.d.ts +0 -4
- package/dist/cli/commander-fix.d.ts.map +0 -1
- package/dist/cli/commander-fix.js +0 -6
- package/dist/cli/commander-fix.js.map +0 -1
- package/dist/cli/commands/agent.d.ts +0 -6
- package/dist/cli/commands/agent.d.ts.map +0 -1
- package/dist/cli/commands/agent.js +0 -382
- package/dist/cli/commands/agent.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -4
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -88
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/enterprise.d.ts +0 -3
- package/dist/cli/commands/enterprise.d.ts.map +0 -1
- package/dist/cli/commands/enterprise.js +0 -1506
- package/dist/cli/commands/enterprise.js.map +0 -1
- package/dist/cli/commands/help.d.ts +0 -6
- package/dist/cli/commands/help.d.ts.map +0 -1
- package/dist/cli/commands/help.js +0 -936
- package/dist/cli/commands/help.js.map +0 -1
- package/dist/cli/commands/hive-mind/index.d.ts +0 -18
- package/dist/cli/commands/hive-mind/index.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/index.js +0 -30
- package/dist/cli/commands/hive-mind/index.js.map +0 -1
- package/dist/cli/commands/hive-mind/init.d.ts +0 -9
- package/dist/cli/commands/hive-mind/init.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/init.js +0 -68
- package/dist/cli/commands/hive-mind/init.js.map +0 -1
- package/dist/cli/commands/hive-mind/pause.d.ts +0 -8
- package/dist/cli/commands/hive-mind/pause.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/pause.js +0 -81
- package/dist/cli/commands/hive-mind/pause.js.map +0 -1
- package/dist/cli/commands/hive-mind/ps.d.ts +0 -8
- package/dist/cli/commands/hive-mind/ps.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/ps.js +0 -120
- package/dist/cli/commands/hive-mind/ps.js.map +0 -1
- package/dist/cli/commands/hive-mind/resume.d.ts +0 -8
- package/dist/cli/commands/hive-mind/resume.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/resume.js +0 -62
- package/dist/cli/commands/hive-mind/resume.js.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.d.ts +0 -9
- package/dist/cli/commands/hive-mind/spawn.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.js +0 -174
- package/dist/cli/commands/hive-mind/spawn.js.map +0 -1
- package/dist/cli/commands/hive-mind/status.d.ts +0 -9
- package/dist/cli/commands/hive-mind/status.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/status.js +0 -204
- package/dist/cli/commands/hive-mind/status.js.map +0 -1
- package/dist/cli/commands/hive-mind/stop.d.ts +0 -8
- package/dist/cli/commands/hive-mind/stop.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/stop.js +0 -125
- package/dist/cli/commands/hive-mind/stop.js.map +0 -1
- package/dist/cli/commands/hive-mind/task.d.ts +0 -9
- package/dist/cli/commands/hive-mind/task.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/task.js +0 -294
- package/dist/cli/commands/hive-mind/task.js.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.d.ts +0 -9
- package/dist/cli/commands/hive-mind/wizard.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.js +0 -531
- package/dist/cli/commands/hive-mind/wizard.js.map +0 -1
- package/dist/cli/commands/hive.d.ts +0 -6
- package/dist/cli/commands/hive.d.ts.map +0 -1
- package/dist/cli/commands/hive.js +0 -409
- package/dist/cli/commands/hive.js.map +0 -1
- package/dist/cli/commands/index.d.ts +0 -3
- package/dist/cli/commands/index.d.ts.map +0 -1
- package/dist/cli/commands/index.js +0 -2624
- package/dist/cli/commands/index.js.map +0 -1
- package/dist/cli/commands/mcp.d.ts +0 -5
- package/dist/cli/commands/mcp.d.ts.map +0 -1
- package/dist/cli/commands/mcp.js +0 -169
- package/dist/cli/commands/mcp.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -26
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -225
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/migrate.d.ts +0 -5
- package/dist/cli/commands/migrate.d.ts.map +0 -1
- package/dist/cli/commands/migrate.js +0 -139
- package/dist/cli/commands/migrate.js.map +0 -1
- package/dist/cli/commands/monitor.d.ts +0 -5
- package/dist/cli/commands/monitor.d.ts.map +0 -1
- package/dist/cli/commands/monitor.js +0 -493
- package/dist/cli/commands/monitor.js.map +0 -1
- package/dist/cli/commands/session.d.ts +0 -5
- package/dist/cli/commands/session.d.ts.map +0 -1
- package/dist/cli/commands/session.js +0 -548
- package/dist/cli/commands/session.js.map +0 -1
- package/dist/cli/commands/sparc.d.ts +0 -3
- package/dist/cli/commands/sparc.d.ts.map +0 -1
- package/dist/cli/commands/sparc.js +0 -472
- package/dist/cli/commands/sparc.js.map +0 -1
- package/dist/cli/commands/start/event-emitter.d.ts +0 -13
- package/dist/cli/commands/start/event-emitter.d.ts.map +0 -1
- package/dist/cli/commands/start/event-emitter.js +0 -35
- package/dist/cli/commands/start/event-emitter.js.map +0 -1
- package/dist/cli/commands/start/index.d.ts +0 -10
- package/dist/cli/commands/start/index.d.ts.map +0 -1
- package/dist/cli/commands/start/index.js +0 -9
- package/dist/cli/commands/start/index.js.map +0 -1
- package/dist/cli/commands/start/process-manager.d.ts +0 -31
- package/dist/cli/commands/start/process-manager.d.ts.map +0 -1
- package/dist/cli/commands/start/process-manager.js +0 -283
- package/dist/cli/commands/start/process-manager.js.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.d.ts +0 -29
- package/dist/cli/commands/start/process-ui-simple.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.js +0 -334
- package/dist/cli/commands/start/process-ui-simple.js.map +0 -1
- package/dist/cli/commands/start/process-ui.d.ts +0 -5
- package/dist/cli/commands/start/process-ui.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui.js +0 -5
- package/dist/cli/commands/start/process-ui.js.map +0 -1
- package/dist/cli/commands/start/start-command.d.ts +0 -2
- package/dist/cli/commands/start/start-command.d.ts.map +0 -1
- package/dist/cli/commands/start/start-command.js +0 -462
- package/dist/cli/commands/start/start-command.js.map +0 -1
- package/dist/cli/commands/start/system-monitor.d.ts +0 -25
- package/dist/cli/commands/start/system-monitor.d.ts.map +0 -1
- package/dist/cli/commands/start/system-monitor.js +0 -265
- package/dist/cli/commands/start/system-monitor.js.map +0 -1
- package/dist/cli/commands/start/types.d.ts +0 -64
- package/dist/cli/commands/start/types.d.ts.map +0 -1
- package/dist/cli/commands/start/types.js +0 -22
- package/dist/cli/commands/start/types.js.map +0 -1
- package/dist/cli/commands/start.d.ts +0 -6
- package/dist/cli/commands/start.d.ts.map +0 -1
- package/dist/cli/commands/start.js +0 -6
- package/dist/cli/commands/start.js.map +0 -1
- package/dist/cli/commands/status.d.ts +0 -2
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -304
- package/dist/cli/commands/status.js.map +0 -1
- package/dist/cli/commands/swarm.d.ts +0 -6
- package/dist/cli/commands/swarm.d.ts.map +0 -1
- package/dist/cli/commands/swarm.js +0 -465
- package/dist/cli/commands/swarm.js.map +0 -1
- package/dist/cli/commands/task.d.ts +0 -2
- package/dist/cli/commands/task.d.ts.map +0 -1
- package/dist/cli/commands/task.js +0 -75
- package/dist/cli/commands/task.js.map +0 -1
- package/dist/cli/commands/workflow.d.ts +0 -2
- package/dist/cli/commands/workflow.d.ts.map +0 -1
- package/dist/cli/commands/workflow.js +0 -624
- package/dist/cli/commands/workflow.js.map +0 -1
- package/dist/cli/completion.d.ts +0 -19
- package/dist/cli/completion.d.ts.map +0 -1
- package/dist/cli/completion.js +0 -545
- package/dist/cli/completion.js.map +0 -1
- package/dist/cli/formatter.d.ts +0 -69
- package/dist/cli/formatter.d.ts.map +0 -1
- package/dist/cli/formatter.js +0 -277
- package/dist/cli/formatter.js.map +0 -1
- package/dist/cli/help-formatter.d.ts +0 -49
- package/dist/cli/help-formatter.d.ts.map +0 -1
- package/dist/cli/help-formatter.js +0 -108
- package/dist/cli/help-formatter.js.map +0 -1
- package/dist/cli/help-text.d.ts +0 -25
- package/dist/cli/help-text.d.ts.map +0 -1
- package/dist/cli/help-text.js +0 -1051
- package/dist/cli/help-text.js.map +0 -1
- package/dist/cli/index-remote.d.ts +0 -7
- package/dist/cli/index-remote.d.ts.map +0 -1
- package/dist/cli/index-remote.js +0 -125
- package/dist/cli/index-remote.js.map +0 -1
- package/dist/cli/index.d.ts +0 -7
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -189
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/node-compat.d.ts +0 -81
- package/dist/cli/node-compat.d.ts.map +0 -1
- package/dist/cli/node-compat.js +0 -229
- package/dist/cli/node-compat.js.map +0 -1
- package/dist/cli/repl.d.ts +0 -5
- package/dist/cli/repl.d.ts.map +0 -1
- package/dist/cli/repl.js +0 -949
- package/dist/cli/repl.js.map +0 -1
- package/dist/cli/runtime-detector.d.ts +0 -128
- package/dist/cli/runtime-detector.d.ts.map +0 -1
- package/dist/cli/runtime-detector.js +0 -267
- package/dist/cli/runtime-detector.js.map +0 -1
- package/dist/cli/simple-cli.d.ts +0 -7
- package/dist/cli/simple-cli.d.ts.map +0 -1
- package/dist/cli/simple-cli.js +0 -3085
- package/dist/cli/simple-cli.js.map +0 -1
- package/dist/cli/simple-commands/agent.d.ts +0 -6
- package/dist/cli/simple-commands/agent.d.ts.map +0 -1
- package/dist/cli/simple-commands/agent.js +0 -128
- package/dist/cli/simple-commands/agent.js.map +0 -1
- package/dist/cli/simple-commands/analysis.d.ts +0 -2
- package/dist/cli/simple-commands/analysis.d.ts.map +0 -1
- package/dist/cli/simple-commands/analysis.js +0 -473
- package/dist/cli/simple-commands/analysis.js.map +0 -1
- package/dist/cli/simple-commands/automation-executor.d.ts +0 -188
- package/dist/cli/simple-commands/automation-executor.d.ts.map +0 -1
- package/dist/cli/simple-commands/automation-executor.js +0 -1383
- package/dist/cli/simple-commands/automation-executor.js.map +0 -1
- package/dist/cli/simple-commands/automation.d.ts +0 -2
- package/dist/cli/simple-commands/automation.d.ts.map +0 -1
- package/dist/cli/simple-commands/automation.js +0 -531
- package/dist/cli/simple-commands/automation.js.map +0 -1
- package/dist/cli/simple-commands/batch-manager.d.ts +0 -2
- package/dist/cli/simple-commands/batch-manager.d.ts.map +0 -1
- package/dist/cli/simple-commands/batch-manager.js +0 -290
- package/dist/cli/simple-commands/batch-manager.js.map +0 -1
- package/dist/cli/simple-commands/claude-telemetry.d.ts +0 -14
- package/dist/cli/simple-commands/claude-telemetry.d.ts.map +0 -1
- package/dist/cli/simple-commands/claude-telemetry.js +0 -263
- package/dist/cli/simple-commands/claude-telemetry.js.map +0 -1
- package/dist/cli/simple-commands/config.d.ts +0 -6
- package/dist/cli/simple-commands/config.d.ts.map +0 -1
- package/dist/cli/simple-commands/config.js +0 -116
- package/dist/cli/simple-commands/config.js.map +0 -1
- package/dist/cli/simple-commands/coordination.d.ts +0 -2
- package/dist/cli/simple-commands/coordination.d.ts.map +0 -1
- package/dist/cli/simple-commands/coordination.js +0 -249
- package/dist/cli/simple-commands/coordination.js.map +0 -1
- package/dist/cli/simple-commands/env-template.d.ts +0 -42
- package/dist/cli/simple-commands/env-template.d.ts.map +0 -1
- package/dist/cli/simple-commands/env-template.js +0 -183
- package/dist/cli/simple-commands/env-template.js.map +0 -1
- package/dist/cli/simple-commands/fix-hook-variables.d.ts +0 -16
- package/dist/cli/simple-commands/fix-hook-variables.d.ts.map +0 -1
- package/dist/cli/simple-commands/fix-hook-variables.js +0 -320
- package/dist/cli/simple-commands/fix-hook-variables.js.map +0 -1
- package/dist/cli/simple-commands/github/init.d.ts +0 -6
- package/dist/cli/simple-commands/github/init.d.ts.map +0 -1
- package/dist/cli/simple-commands/github/init.js +0 -506
- package/dist/cli/simple-commands/github/init.js.map +0 -1
- package/dist/cli/simple-commands/github.d.ts +0 -3
- package/dist/cli/simple-commands/github.d.ts.map +0 -1
- package/dist/cli/simple-commands/github.js +0 -356
- package/dist/cli/simple-commands/github.js.map +0 -1
- package/dist/cli/simple-commands/goal.d.ts +0 -3
- package/dist/cli/simple-commands/goal.d.ts.map +0 -1
- package/dist/cli/simple-commands/goal.js +0 -136
- package/dist/cli/simple-commands/goal.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts +0 -68
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js +0 -264
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/communication.d.ts +0 -176
- package/dist/cli/simple-commands/hive-mind/communication.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/communication.js +0 -611
- package/dist/cli/simple-commands/hive-mind/communication.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/core.d.ts +0 -306
- package/dist/cli/simple-commands/hive-mind/core.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/core.js +0 -839
- package/dist/cli/simple-commands/hive-mind/core.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts +0 -32
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js +0 -702
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts +0 -270
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js +0 -1211
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/memory.d.ts +0 -334
- package/dist/cli/simple-commands/hive-mind/memory.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/memory.js +0 -1068
- package/dist/cli/simple-commands/hive-mind/memory.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/metrics-reader.js +0 -274
- package/dist/cli/simple-commands/hive-mind/metrics-reader.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts +0 -256
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js +0 -520
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/queen.d.ts +0 -235
- package/dist/cli/simple-commands/hive-mind/queen.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/queen.js +0 -697
- package/dist/cli/simple-commands/hive-mind/queen.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts +0 -140
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/session-manager.js +0 -1000
- package/dist/cli/simple-commands/hive-mind/session-manager.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts +0 -6
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind-optimize.js +0 -317
- package/dist/cli/simple-commands/hive-mind-optimize.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind.d.ts +0 -22
- package/dist/cli/simple-commands/hive-mind.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind.js +0 -2722
- package/dist/cli/simple-commands/hive-mind.js.map +0 -1
- package/dist/cli/simple-commands/hook-safety.d.ts +0 -177
- package/dist/cli/simple-commands/hook-safety.d.ts.map +0 -1
- package/dist/cli/simple-commands/hook-safety.js +0 -590
- package/dist/cli/simple-commands/hook-safety.js.map +0 -1
- package/dist/cli/simple-commands/hooks.d.ts +0 -3
- package/dist/cli/simple-commands/hooks.d.ts.map +0 -1
- package/dist/cli/simple-commands/hooks.js +0 -1298
- package/dist/cli/simple-commands/hooks.js.map +0 -1
- package/dist/cli/simple-commands/init/agent-copier.d.ts +0 -65
- package/dist/cli/simple-commands/init/agent-copier.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/agent-copier.js +0 -320
- package/dist/cli/simple-commands/init/agent-copier.js.map +0 -1
- package/dist/cli/simple-commands/init/batch-init.d.ts +0 -137
- package/dist/cli/simple-commands/init/batch-init.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/batch-init.js +0 -558
- package/dist/cli/simple-commands/init/batch-init.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts +0 -2
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js +0 -433
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts +0 -2
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +0 -871
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts +0 -2
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +0 -332
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts +0 -3
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +0 -488
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts +0 -2
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js +0 -51
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts +0 -3
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js +0 -288
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts +0 -29
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/copy-revised-templates.js +0 -166
- package/dist/cli/simple-commands/init/copy-revised-templates.js.map +0 -1
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts +0 -2
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/executable-wrapper.js +0 -116
- package/dist/cli/simple-commands/init/executable-wrapper.js.map +0 -1
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts +0 -23
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/gitignore-updater.js +0 -128
- package/dist/cli/simple-commands/init/gitignore-updater.js.map +0 -1
- package/dist/cli/simple-commands/init/help.d.ts +0 -2
- package/dist/cli/simple-commands/init/help.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/help.js +0 -131
- package/dist/cli/simple-commands/init/help.js.map +0 -1
- package/dist/cli/simple-commands/init/hive-mind-init.d.ts +0 -152
- package/dist/cli/simple-commands/init/hive-mind-init.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/hive-mind-init.js +0 -699
- package/dist/cli/simple-commands/init/hive-mind-init.js.map +0 -1
- package/dist/cli/simple-commands/init/index.d.ts +0 -2
- package/dist/cli/simple-commands/init/index.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/index.js +0 -1784
- package/dist/cli/simple-commands/init/index.js.map +0 -1
- package/dist/cli/simple-commands/init/performance-monitor.d.ts +0 -73
- package/dist/cli/simple-commands/init/performance-monitor.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/performance-monitor.js +0 -277
- package/dist/cli/simple-commands/init/performance-monitor.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts +0 -95
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/backup-manager.js +0 -486
- package/dist/cli/simple-commands/init/rollback/backup-manager.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/index.d.ts +0 -114
- package/dist/cli/simple-commands/init/rollback/index.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/index.js +0 -353
- package/dist/cli/simple-commands/init/rollback/index.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts +0 -161
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js +0 -686
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts +0 -112
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js +0 -480
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts +0 -121
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/state-tracker.js +0 -432
- package/dist/cli/simple-commands/init/rollback/state-tracker.js.map +0 -1
- package/dist/cli/simple-commands/init/skills-copier.d.ts +0 -41
- package/dist/cli/simple-commands/init/skills-copier.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/skills-copier.js +0 -192
- package/dist/cli/simple-commands/init/skills-copier.js.map +0 -1
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts +0 -2
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/sparc/roo-readme.js +0 -61
- package/dist/cli/simple-commands/init/sparc/roo-readme.js.map +0 -1
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts +0 -2
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js +0 -80
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js.map +0 -1
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts +0 -2
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/sparc/workflows.js +0 -36
- package/dist/cli/simple-commands/init/sparc/workflows.js.map +0 -1
- package/dist/cli/simple-commands/init/sparc-structure.d.ts +0 -2
- package/dist/cli/simple-commands/init/sparc-structure.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/sparc-structure.js +0 -63
- package/dist/cli/simple-commands/init/sparc-structure.js.map +0 -1
- package/dist/cli/simple-commands/init/template-copier.d.ts +0 -27
- package/dist/cli/simple-commands/init/template-copier.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/template-copier.js +0 -538
- package/dist/cli/simple-commands/init/template-copier.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts +0 -6
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/claude-md.js +0 -1097
- package/dist/cli/simple-commands/init/templates/claude-md.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts +0 -4
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/coordination-md.js +0 -338
- package/dist/cli/simple-commands/init/templates/coordination-md.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts +0 -21
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js +0 -2304
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts +0 -4
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js +0 -257
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts +0 -3
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/readme-files.js +0 -71
- package/dist/cli/simple-commands/init/templates/readme-files.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts +0 -30
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/sparc-modes.js +0 -1375
- package/dist/cli/simple-commands/init/templates/sparc-modes.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/verification-claude-md.d.ts +0 -3
- package/dist/cli/simple-commands/init/templates/verification-claude-md.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/verification-claude-md.js +0 -432
- package/dist/cli/simple-commands/init/templates/verification-claude-md.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts +0 -63
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/config-validator.js +0 -308
- package/dist/cli/simple-commands/init/validation/config-validator.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts +0 -117
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/health-checker.js +0 -539
- package/dist/cli/simple-commands/init/validation/health-checker.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/index.d.ts +0 -55
- package/dist/cli/simple-commands/init/validation/index.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/index.js +0 -347
- package/dist/cli/simple-commands/init/validation/index.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts +0 -76
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/mode-validator.js +0 -343
- package/dist/cli/simple-commands/init/validation/mode-validator.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts +0 -62
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/post-init-validator.js +0 -349
- package/dist/cli/simple-commands/init/validation/post-init-validator.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts +0 -86
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js +0 -260
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js.map +0 -1
- package/dist/cli/simple-commands/inject-memory-protocol.d.ts +0 -34
- package/dist/cli/simple-commands/inject-memory-protocol.d.ts.map +0 -1
- package/dist/cli/simple-commands/inject-memory-protocol.js +0 -229
- package/dist/cli/simple-commands/inject-memory-protocol.js.map +0 -1
- package/dist/cli/simple-commands/mcp.d.ts +0 -2
- package/dist/cli/simple-commands/mcp.d.ts.map +0 -1
- package/dist/cli/simple-commands/mcp.js +0 -369
- package/dist/cli/simple-commands/mcp.js.map +0 -1
- package/dist/cli/simple-commands/memory-consolidation.d.ts +0 -73
- package/dist/cli/simple-commands/memory-consolidation.d.ts.map +0 -1
- package/dist/cli/simple-commands/memory-consolidation.js +0 -537
- package/dist/cli/simple-commands/memory-consolidation.js.map +0 -1
- package/dist/cli/simple-commands/memory.d.ts +0 -2
- package/dist/cli/simple-commands/memory.d.ts.map +0 -1
- package/dist/cli/simple-commands/memory.js +0 -778
- package/dist/cli/simple-commands/memory.js.map +0 -1
- package/dist/cli/simple-commands/migrate-hooks.d.ts +0 -10
- package/dist/cli/simple-commands/migrate-hooks.d.ts.map +0 -1
- package/dist/cli/simple-commands/migrate-hooks.js +0 -57
- package/dist/cli/simple-commands/migrate-hooks.js.map +0 -1
- package/dist/cli/simple-commands/monitor.d.ts +0 -3
- package/dist/cli/simple-commands/monitor.d.ts.map +0 -1
- package/dist/cli/simple-commands/monitor.js +0 -366
- package/dist/cli/simple-commands/monitor.js.map +0 -1
- package/dist/cli/simple-commands/neural.d.ts +0 -3
- package/dist/cli/simple-commands/neural.d.ts.map +0 -1
- package/dist/cli/simple-commands/neural.js +0 -137
- package/dist/cli/simple-commands/neural.js.map +0 -1
- package/dist/cli/simple-commands/pair.d.ts +0 -3
- package/dist/cli/simple-commands/pair.d.ts.map +0 -1
- package/dist/cli/simple-commands/pair.js +0 -735
- package/dist/cli/simple-commands/pair.js.map +0 -1
- package/dist/cli/simple-commands/performance-hooks.d.ts +0 -20
- package/dist/cli/simple-commands/performance-hooks.d.ts.map +0 -1
- package/dist/cli/simple-commands/performance-hooks.js +0 -127
- package/dist/cli/simple-commands/performance-hooks.js.map +0 -1
- package/dist/cli/simple-commands/performance-metrics.d.ts +0 -153
- package/dist/cli/simple-commands/performance-metrics.d.ts.map +0 -1
- package/dist/cli/simple-commands/performance-metrics.js +0 -759
- package/dist/cli/simple-commands/performance-metrics.js.map +0 -1
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts +0 -55
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts.map +0 -1
- package/dist/cli/simple-commands/process-ui-enhanced.js +0 -680
- package/dist/cli/simple-commands/process-ui-enhanced.js.map +0 -1
- package/dist/cli/simple-commands/proxy.d.ts +0 -5
- package/dist/cli/simple-commands/proxy.d.ts.map +0 -1
- package/dist/cli/simple-commands/proxy.js +0 -346
- package/dist/cli/simple-commands/proxy.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/architect.js +0 -126
- package/dist/cli/simple-commands/sparc-modes/architect.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/ask.js +0 -127
- package/dist/cli/simple-commands/sparc-modes/ask.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/code.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/code.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/code.js +0 -149
- package/dist/cli/simple-commands/sparc-modes/code.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/debug.js +0 -113
- package/dist/cli/simple-commands/sparc-modes/debug.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/devops.js +0 -138
- package/dist/cli/simple-commands/sparc-modes/devops.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/generic.js +0 -35
- package/dist/cli/simple-commands/sparc-modes/generic.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/index.d.ts +0 -17
- package/dist/cli/simple-commands/sparc-modes/index.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/index.js +0 -196
- package/dist/cli/simple-commands/sparc-modes/index.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/integration.js +0 -56
- package/dist/cli/simple-commands/sparc-modes/integration.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/mcp.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/mcp.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/monitoring.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/monitoring.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/optimization.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/optimization.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/security-review.js +0 -131
- package/dist/cli/simple-commands/sparc-modes/security-review.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js +0 -168
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js +0 -150
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts +0 -81
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/swarm.js +0 -428
- package/dist/cli/simple-commands/sparc-modes/swarm.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/tdd.js +0 -113
- package/dist/cli/simple-commands/sparc-modes/tdd.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/tutorial.js +0 -278
- package/dist/cli/simple-commands/sparc-modes/tutorial.js.map +0 -1
- package/dist/cli/simple-commands/sparc.d.ts +0 -2
- package/dist/cli/simple-commands/sparc.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc.js +0 -477
- package/dist/cli/simple-commands/sparc.js.map +0 -1
- package/dist/cli/simple-commands/start-ui.d.ts +0 -2
- package/dist/cli/simple-commands/start-ui.d.ts.map +0 -1
- package/dist/cli/simple-commands/start-ui.js +0 -135
- package/dist/cli/simple-commands/start-ui.js.map +0 -1
- package/dist/cli/simple-commands/start-wrapper.d.ts +0 -2
- package/dist/cli/simple-commands/start-wrapper.d.ts.map +0 -1
- package/dist/cli/simple-commands/start-wrapper.js +0 -264
- package/dist/cli/simple-commands/start-wrapper.js.map +0 -1
- package/dist/cli/simple-commands/start.d.ts +0 -2
- package/dist/cli/simple-commands/start.d.ts.map +0 -1
- package/dist/cli/simple-commands/start.js +0 -3
- package/dist/cli/simple-commands/start.js.map +0 -1
- package/dist/cli/simple-commands/status.d.ts +0 -2
- package/dist/cli/simple-commands/status.d.ts.map +0 -1
- package/dist/cli/simple-commands/status.js +0 -292
- package/dist/cli/simple-commands/status.js.map +0 -1
- package/dist/cli/simple-commands/stream-chain.d.ts +0 -7
- package/dist/cli/simple-commands/stream-chain.d.ts.map +0 -1
- package/dist/cli/simple-commands/stream-chain.js +0 -433
- package/dist/cli/simple-commands/stream-chain.js.map +0 -1
- package/dist/cli/simple-commands/stream-processor.d.ts +0 -32
- package/dist/cli/simple-commands/stream-processor.d.ts.map +0 -1
- package/dist/cli/simple-commands/stream-processor.js +0 -318
- package/dist/cli/simple-commands/stream-processor.js.map +0 -1
- package/dist/cli/simple-commands/swarm-executor.d.ts +0 -68
- package/dist/cli/simple-commands/swarm-executor.d.ts.map +0 -1
- package/dist/cli/simple-commands/swarm-executor.js +0 -218
- package/dist/cli/simple-commands/swarm-executor.js.map +0 -1
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts +0 -69
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts.map +0 -1
- package/dist/cli/simple-commands/swarm-metrics-integration.js +0 -294
- package/dist/cli/simple-commands/swarm-metrics-integration.js.map +0 -1
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts +0 -68
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts.map +0 -1
- package/dist/cli/simple-commands/swarm-webui-integration.js +0 -265
- package/dist/cli/simple-commands/swarm-webui-integration.js.map +0 -1
- package/dist/cli/simple-commands/swarm.d.ts +0 -2
- package/dist/cli/simple-commands/swarm.d.ts.map +0 -1
- package/dist/cli/simple-commands/swarm.js +0 -2104
- package/dist/cli/simple-commands/swarm.js.map +0 -1
- package/dist/cli/simple-commands/task.d.ts +0 -2
- package/dist/cli/simple-commands/task.d.ts.map +0 -1
- package/dist/cli/simple-commands/task.js +0 -250
- package/dist/cli/simple-commands/task.js.map +0 -1
- package/dist/cli/simple-commands/token-tracker.d.ts +0 -73
- package/dist/cli/simple-commands/token-tracker.d.ts.map +0 -1
- package/dist/cli/simple-commands/token-tracker.js +0 -319
- package/dist/cli/simple-commands/token-tracker.js.map +0 -1
- package/dist/cli/simple-commands/training-pipeline.d.ts +0 -166
- package/dist/cli/simple-commands/training-pipeline.d.ts.map +0 -1
- package/dist/cli/simple-commands/training-pipeline.js +0 -760
- package/dist/cli/simple-commands/training-pipeline.js.map +0 -1
- package/dist/cli/simple-commands/training.d.ts +0 -2
- package/dist/cli/simple-commands/training.d.ts.map +0 -1
- package/dist/cli/simple-commands/training.js +0 -240
- package/dist/cli/simple-commands/training.js.map +0 -1
- package/dist/cli/simple-commands/verification-training-integration.d.ts +0 -181
- package/dist/cli/simple-commands/verification-training-integration.d.ts.map +0 -1
- package/dist/cli/simple-commands/verification-training-integration.js +0 -561
- package/dist/cli/simple-commands/verification-training-integration.js.map +0 -1
- package/dist/cli/simple-commands/verification.d.ts +0 -10
- package/dist/cli/simple-commands/verification.d.ts.map +0 -1
- package/dist/cli/simple-commands/verification.js +0 -476
- package/dist/cli/simple-commands/verification.js.map +0 -1
- package/dist/cli/simple-commands/web-server.d.ts +0 -152
- package/dist/cli/simple-commands/web-server.d.ts.map +0 -1
- package/dist/cli/simple-commands/web-server.js +0 -816
- package/dist/cli/simple-commands/web-server.js.map +0 -1
- package/dist/cli/utils/interactive-detector.d.ts +0 -25
- package/dist/cli/utils/interactive-detector.d.ts.map +0 -1
- package/dist/cli/utils/interactive-detector.js +0 -129
- package/dist/cli/utils/interactive-detector.js.map +0 -1
- package/dist/cli/utils/safe-interactive.d.ts +0 -30
- package/dist/cli/utils/safe-interactive.d.ts.map +0 -1
- package/dist/cli/utils/safe-interactive.js +0 -134
- package/dist/cli/utils/safe-interactive.js.map +0 -1
- package/dist/cli/utils.d.ts +0 -75
- package/dist/cli/utils.d.ts.map +0 -1
- package/dist/cli/utils.js +0 -567
- package/dist/cli/utils.js.map +0 -1
- package/dist/config/config-manager.d.ts +0 -212
- package/dist/config/config-manager.d.ts.map +0 -1
- package/dist/config/config-manager.js +0 -550
- package/dist/config/config-manager.js.map +0 -1
- package/dist/constants/agent-types.d.ts +0 -57
- package/dist/constants/agent-types.d.ts.map +0 -1
- package/dist/constants/agent-types.js +0 -57
- package/dist/constants/agent-types.js.map +0 -1
- package/dist/coordination/advanced-scheduler.d.ts +0 -121
- package/dist/coordination/advanced-scheduler.d.ts.map +0 -1
- package/dist/coordination/advanced-scheduler.js +0 -382
- package/dist/coordination/advanced-scheduler.js.map +0 -1
- package/dist/coordination/background-executor.d.ts +0 -69
- package/dist/coordination/background-executor.d.ts.map +0 -1
- package/dist/coordination/background-executor.js +0 -363
- package/dist/coordination/background-executor.js.map +0 -1
- package/dist/coordination/circuit-breaker.d.ts +0 -124
- package/dist/coordination/circuit-breaker.d.ts.map +0 -1
- package/dist/coordination/circuit-breaker.js +0 -301
- package/dist/coordination/circuit-breaker.js.map +0 -1
- package/dist/coordination/conflict-resolution.d.ts +0 -133
- package/dist/coordination/conflict-resolution.d.ts.map +0 -1
- package/dist/coordination/conflict-resolution.js +0 -360
- package/dist/coordination/conflict-resolution.js.map +0 -1
- package/dist/coordination/dependency-graph.d.ts +0 -78
- package/dist/coordination/dependency-graph.d.ts.map +0 -1
- package/dist/coordination/dependency-graph.js +0 -387
- package/dist/coordination/dependency-graph.js.map +0 -1
- package/dist/coordination/manager.d.ts +0 -66
- package/dist/coordination/manager.d.ts.map +0 -1
- package/dist/coordination/manager.js +0 -354
- package/dist/coordination/manager.js.map +0 -1
- package/dist/coordination/messaging.d.ts +0 -37
- package/dist/coordination/messaging.d.ts.map +0 -1
- package/dist/coordination/messaging.js +0 -219
- package/dist/coordination/messaging.js.map +0 -1
- package/dist/coordination/metrics.d.ts +0 -153
- package/dist/coordination/metrics.d.ts.map +0 -1
- package/dist/coordination/metrics.js +0 -436
- package/dist/coordination/metrics.js.map +0 -1
- package/dist/coordination/resources.d.ts +0 -36
- package/dist/coordination/resources.d.ts.map +0 -1
- package/dist/coordination/resources.js +0 -254
- package/dist/coordination/resources.js.map +0 -1
- package/dist/coordination/scheduler.d.ts +0 -48
- package/dist/coordination/scheduler.d.ts.map +0 -1
- package/dist/coordination/scheduler.js +0 -308
- package/dist/coordination/scheduler.js.map +0 -1
- package/dist/coordination/swarm-coordinator.d.ts +0 -116
- package/dist/coordination/swarm-coordinator.d.ts.map +0 -1
- package/dist/coordination/swarm-coordinator.js +0 -563
- package/dist/coordination/swarm-coordinator.js.map +0 -1
- package/dist/coordination/swarm-monitor.d.ts +0 -101
- package/dist/coordination/swarm-monitor.d.ts.map +0 -1
- package/dist/coordination/swarm-monitor.js +0 -340
- package/dist/coordination/swarm-monitor.js.map +0 -1
- package/dist/coordination/work-stealing.d.ts +0 -44
- package/dist/coordination/work-stealing.d.ts.map +0 -1
- package/dist/coordination/work-stealing.js +0 -158
- package/dist/coordination/work-stealing.js.map +0 -1
- package/dist/core/config.d.ts +0 -243
- package/dist/core/config.d.ts.map +0 -1
- package/dist/core/config.js +0 -1125
- package/dist/core/config.js.map +0 -1
- package/dist/core/event-bus.d.ts +0 -63
- package/dist/core/event-bus.d.ts.map +0 -1
- package/dist/core/event-bus.js +0 -153
- package/dist/core/event-bus.js.map +0 -1
- package/dist/core/json-persistence.d.ts +0 -55
- package/dist/core/json-persistence.d.ts.map +0 -1
- package/dist/core/json-persistence.js +0 -111
- package/dist/core/json-persistence.js.map +0 -1
- package/dist/core/logger.d.ts +0 -62
- package/dist/core/logger.d.ts.map +0 -1
- package/dist/core/logger.js +0 -252
- package/dist/core/logger.js.map +0 -1
- package/dist/core/orchestrator-fixed.d.ts +0 -81
- package/dist/core/orchestrator-fixed.d.ts.map +0 -1
- package/dist/core/orchestrator-fixed.js +0 -213
- package/dist/core/orchestrator-fixed.js.map +0 -1
- package/dist/core/orchestrator.d.ts +0 -141
- package/dist/core/orchestrator.d.ts.map +0 -1
- package/dist/core/orchestrator.js +0 -1166
- package/dist/core/orchestrator.js.map +0 -1
- package/dist/core/version.d.ts +0 -10
- package/dist/core/version.d.ts.map +0 -1
- package/dist/core/version.js +0 -36
- package/dist/core/version.js.map +0 -1
- package/dist/enterprise/analytics-manager.d.ts +0 -489
- package/dist/enterprise/analytics-manager.d.ts.map +0 -1
- package/dist/enterprise/analytics-manager.js +0 -956
- package/dist/enterprise/analytics-manager.js.map +0 -1
- package/dist/enterprise/audit-manager.d.ts +0 -459
- package/dist/enterprise/audit-manager.d.ts.map +0 -1
- package/dist/enterprise/audit-manager.js +0 -1014
- package/dist/enterprise/audit-manager.js.map +0 -1
- package/dist/enterprise/cloud-manager.d.ts +0 -435
- package/dist/enterprise/cloud-manager.d.ts.map +0 -1
- package/dist/enterprise/cloud-manager.js +0 -789
- package/dist/enterprise/cloud-manager.js.map +0 -1
- package/dist/enterprise/deployment-manager.d.ts +0 -328
- package/dist/enterprise/deployment-manager.d.ts.map +0 -1
- package/dist/enterprise/deployment-manager.js +0 -830
- package/dist/enterprise/deployment-manager.js.map +0 -1
- package/dist/enterprise/project-manager.d.ts +0 -228
- package/dist/enterprise/project-manager.d.ts.map +0 -1
- package/dist/enterprise/project-manager.js +0 -537
- package/dist/enterprise/project-manager.js.map +0 -1
- package/dist/enterprise/security-manager.d.ts +0 -422
- package/dist/enterprise/security-manager.d.ts.map +0 -1
- package/dist/enterprise/security-manager.js +0 -910
- package/dist/enterprise/security-manager.js.map +0 -1
- package/dist/execution/agent-executor.d.ts +0 -80
- package/dist/execution/agent-executor.d.ts.map +0 -1
- package/dist/execution/agent-executor.js +0 -220
- package/dist/execution/agent-executor.js.map +0 -1
- package/dist/execution/provider-manager.d.ts +0 -65
- package/dist/execution/provider-manager.d.ts.map +0 -1
- package/dist/execution/provider-manager.js +0 -144
- package/dist/execution/provider-manager.js.map +0 -1
- package/dist/hive-mind/core/Agent.d.ts +0 -137
- package/dist/hive-mind/core/Agent.d.ts.map +0 -1
- package/dist/hive-mind/core/Agent.js +0 -567
- package/dist/hive-mind/core/Agent.js.map +0 -1
- package/dist/hive-mind/core/Communication.d.ts +0 -116
- package/dist/hive-mind/core/Communication.d.ts.map +0 -1
- package/dist/hive-mind/core/Communication.js +0 -407
- package/dist/hive-mind/core/Communication.js.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.d.ts +0 -99
- package/dist/hive-mind/core/DatabaseManager.d.ts.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.js +0 -648
- package/dist/hive-mind/core/DatabaseManager.js.map +0 -1
- package/dist/hive-mind/core/HiveMind.d.ts +0 -90
- package/dist/hive-mind/core/HiveMind.d.ts.map +0 -1
- package/dist/hive-mind/core/HiveMind.js +0 -455
- package/dist/hive-mind/core/HiveMind.js.map +0 -1
- package/dist/hive-mind/core/Memory.d.ts +0 -235
- package/dist/hive-mind/core/Memory.d.ts.map +0 -1
- package/dist/hive-mind/core/Memory.js +0 -1192
- package/dist/hive-mind/core/Memory.js.map +0 -1
- package/dist/hive-mind/core/Queen.d.ts +0 -115
- package/dist/hive-mind/core/Queen.d.ts.map +0 -1
- package/dist/hive-mind/core/Queen.js +0 -649
- package/dist/hive-mind/core/Queen.js.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.d.ts +0 -117
- package/dist/hive-mind/integration/ConsensusEngine.d.ts.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.js +0 -478
- package/dist/hive-mind/integration/ConsensusEngine.js.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts +0 -172
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js +0 -217
- package/dist/hive-mind/integration/MCPToolWrapper.js.map +0 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts +0 -172
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts.map +0 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.js +0 -748
- package/dist/hive-mind/integration/SwarmOrchestrator.js.map +0 -1
- package/dist/hive-mind/types.d.ts +0 -314
- package/dist/hive-mind/types.d.ts.map +0 -1
- package/dist/hive-mind/types.js +0 -7
- package/dist/hive-mind/types.js.map +0 -1
- package/dist/mcp/auth.d.ts +0 -80
- package/dist/mcp/auth.d.ts.map +0 -1
- package/dist/mcp/auth.js +0 -350
- package/dist/mcp/auth.js.map +0 -1
- package/dist/mcp/claude-flow-tools.d.ts +0 -13
- package/dist/mcp/claude-flow-tools.d.ts.map +0 -1
- package/dist/mcp/claude-flow-tools.js +0 -1398
- package/dist/mcp/claude-flow-tools.js.map +0 -1
- package/dist/mcp/load-balancer.d.ts +0 -88
- package/dist/mcp/load-balancer.d.ts.map +0 -1
- package/dist/mcp/load-balancer.js +0 -393
- package/dist/mcp/load-balancer.js.map +0 -1
- package/dist/mcp/router.d.ts +0 -54
- package/dist/mcp/router.d.ts.map +0 -1
- package/dist/mcp/router.js +0 -204
- package/dist/mcp/router.js.map +0 -1
- package/dist/mcp/ruv-swarm-tools.d.ts +0 -58
- package/dist/mcp/ruv-swarm-tools.d.ts.map +0 -1
- package/dist/mcp/ruv-swarm-tools.js +0 -568
- package/dist/mcp/ruv-swarm-tools.js.map +0 -1
- package/dist/mcp/server.d.ts +0 -75
- package/dist/mcp/server.d.ts.map +0 -1
- package/dist/mcp/server.js +0 -538
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/session-manager.d.ts +0 -60
- package/dist/mcp/session-manager.d.ts.map +0 -1
- package/dist/mcp/session-manager.js +0 -323
- package/dist/mcp/session-manager.js.map +0 -1
- package/dist/mcp/swarm-tools.d.ts +0 -87
- package/dist/mcp/swarm-tools.d.ts.map +0 -1
- package/dist/mcp/swarm-tools.js +0 -731
- package/dist/mcp/swarm-tools.js.map +0 -1
- package/dist/mcp/tools.d.ts +0 -145
- package/dist/mcp/tools.d.ts.map +0 -1
- package/dist/mcp/tools.js +0 -434
- package/dist/mcp/tools.js.map +0 -1
- package/dist/mcp/transports/base.d.ts +0 -22
- package/dist/mcp/transports/base.d.ts.map +0 -1
- package/dist/mcp/transports/base.js +0 -5
- package/dist/mcp/transports/base.js.map +0 -1
- package/dist/mcp/transports/http.d.ts +0 -48
- package/dist/mcp/transports/http.d.ts.map +0 -1
- package/dist/mcp/transports/http.js +0 -400
- package/dist/mcp/transports/http.js.map +0 -1
- package/dist/mcp/transports/stdio.d.ts +0 -37
- package/dist/mcp/transports/stdio.d.ts.map +0 -1
- package/dist/mcp/transports/stdio.js +0 -206
- package/dist/mcp/transports/stdio.js.map +0 -1
- package/dist/memory/advanced-serializer.d.ts +0 -159
- package/dist/memory/advanced-serializer.d.ts.map +0 -1
- package/dist/memory/advanced-serializer.js +0 -564
- package/dist/memory/advanced-serializer.js.map +0 -1
- package/dist/memory/backends/base.d.ts +0 -21
- package/dist/memory/backends/base.d.ts.map +0 -1
- package/dist/memory/backends/base.js +0 -5
- package/dist/memory/backends/base.js.map +0 -1
- package/dist/memory/backends/markdown.d.ts +0 -35
- package/dist/memory/backends/markdown.d.ts.map +0 -1
- package/dist/memory/backends/markdown.js +0 -223
- package/dist/memory/backends/markdown.js.map +0 -1
- package/dist/memory/backends/sqlite.d.ts +0 -33
- package/dist/memory/backends/sqlite.d.ts.map +0 -1
- package/dist/memory/backends/sqlite.js +0 -291
- package/dist/memory/backends/sqlite.js.map +0 -1
- package/dist/memory/cache.d.ts +0 -65
- package/dist/memory/cache.d.ts.map +0 -1
- package/dist/memory/cache.js +0 -188
- package/dist/memory/cache.js.map +0 -1
- package/dist/memory/distributed-memory.d.ts +0 -188
- package/dist/memory/distributed-memory.d.ts.map +0 -1
- package/dist/memory/distributed-memory.js +0 -710
- package/dist/memory/distributed-memory.js.map +0 -1
- package/dist/memory/enhanced-session-serializer.d.ts +0 -115
- package/dist/memory/enhanced-session-serializer.d.ts.map +0 -1
- package/dist/memory/enhanced-session-serializer.js +0 -478
- package/dist/memory/enhanced-session-serializer.js.map +0 -1
- package/dist/memory/fallback-store.d.ts +0 -28
- package/dist/memory/fallback-store.d.ts.map +0 -1
- package/dist/memory/fallback-store.js +0 -101
- package/dist/memory/fallback-store.js.map +0 -1
- package/dist/memory/in-memory-store.d.ts +0 -37
- package/dist/memory/in-memory-store.d.ts.map +0 -1
- package/dist/memory/in-memory-store.js +0 -174
- package/dist/memory/in-memory-store.js.map +0 -1
- package/dist/memory/indexer.d.ts +0 -52
- package/dist/memory/indexer.d.ts.map +0 -1
- package/dist/memory/indexer.js +0 -191
- package/dist/memory/indexer.js.map +0 -1
- package/dist/memory/manager.d.ts +0 -58
- package/dist/memory/manager.d.ts.map +0 -1
- package/dist/memory/manager.js +0 -423
- package/dist/memory/manager.js.map +0 -1
- package/dist/memory/sqlite-store.d.ts +0 -34
- package/dist/memory/sqlite-store.d.ts.map +0 -1
- package/dist/memory/sqlite-store.js +0 -268
- package/dist/memory/sqlite-store.js.map +0 -1
- package/dist/memory/sqlite-wrapper.d.ts +0 -38
- package/dist/memory/sqlite-wrapper.d.ts.map +0 -1
- package/dist/memory/sqlite-wrapper.js +0 -152
- package/dist/memory/sqlite-wrapper.js.map +0 -1
- package/dist/memory/swarm-memory.d.ts +0 -91
- package/dist/memory/swarm-memory.d.ts.map +0 -1
- package/dist/memory/swarm-memory.js +0 -454
- package/dist/memory/swarm-memory.js.map +0 -1
- package/dist/memory/unified-memory-manager.d.ts +0 -116
- package/dist/memory/unified-memory-manager.d.ts.map +0 -1
- package/dist/memory/unified-memory-manager.js +0 -397
- package/dist/memory/unified-memory-manager.js.map +0 -1
- package/dist/migration/logger.d.ts +0 -26
- package/dist/migration/logger.d.ts.map +0 -1
- package/dist/migration/logger.js +0 -145
- package/dist/migration/logger.js.map +0 -1
- package/dist/migration/migration-analyzer.d.ts +0 -18
- package/dist/migration/migration-analyzer.d.ts.map +0 -1
- package/dist/migration/migration-analyzer.js +0 -284
- package/dist/migration/migration-analyzer.js.map +0 -1
- package/dist/migration/migration-runner.d.ts +0 -26
- package/dist/migration/migration-runner.d.ts.map +0 -1
- package/dist/migration/migration-runner.js +0 -505
- package/dist/migration/migration-runner.js.map +0 -1
- package/dist/migration/migration-validator.d.ts +0 -17
- package/dist/migration/migration-validator.d.ts.map +0 -1
- package/dist/migration/migration-validator.js +0 -309
- package/dist/migration/migration-validator.js.map +0 -1
- package/dist/migration/progress-reporter.d.ts +0 -28
- package/dist/migration/progress-reporter.d.ts.map +0 -1
- package/dist/migration/progress-reporter.js +0 -163
- package/dist/migration/progress-reporter.js.map +0 -1
- package/dist/migration/rollback-manager.d.ts +0 -24
- package/dist/migration/rollback-manager.d.ts.map +0 -1
- package/dist/migration/rollback-manager.js +0 -351
- package/dist/migration/rollback-manager.js.map +0 -1
- package/dist/migration/types.d.ts +0 -103
- package/dist/migration/types.d.ts.map +0 -1
- package/dist/migration/types.js +0 -6
- package/dist/migration/types.js.map +0 -1
- package/dist/reasoningbank/reasoningbank-adapter.d.ts +0 -93
- package/dist/reasoningbank/reasoningbank-adapter.d.ts.map +0 -1
- package/dist/reasoningbank/reasoningbank-adapter.js +0 -365
- package/dist/reasoningbank/reasoningbank-adapter.js.map +0 -1
- package/dist/sdk/query-control.d.ts +0 -131
- package/dist/sdk/query-control.d.ts.map +0 -1
- package/dist/sdk/query-control.js +0 -363
- package/dist/sdk/query-control.js.map +0 -1
- package/dist/sdk/session-forking.d.ts +0 -109
- package/dist/sdk/session-forking.d.ts.map +0 -1
- package/dist/sdk/session-forking.js +0 -275
- package/dist/sdk/session-forking.js.map +0 -1
- package/dist/swarm/types.d.ts +0 -578
- package/dist/swarm/types.d.ts.map +0 -1
- package/dist/swarm/types.js +0 -54
- package/dist/swarm/types.js.map +0 -1
- package/dist/terminal/adapters/base.d.ts +0 -40
- package/dist/terminal/adapters/base.d.ts.map +0 -1
- package/dist/terminal/adapters/base.js +0 -5
- package/dist/terminal/adapters/base.js.map +0 -1
- package/dist/terminal/adapters/native.d.ts +0 -19
- package/dist/terminal/adapters/native.d.ts.map +0 -1
- package/dist/terminal/adapters/native.js +0 -414
- package/dist/terminal/adapters/native.js.map +0 -1
- package/dist/terminal/adapters/vscode.d.ts +0 -23
- package/dist/terminal/adapters/vscode.d.ts.map +0 -1
- package/dist/terminal/adapters/vscode.js +0 -267
- package/dist/terminal/adapters/vscode.js.map +0 -1
- package/dist/terminal/manager.d.ts +0 -59
- package/dist/terminal/manager.d.ts.map +0 -1
- package/dist/terminal/manager.js +0 -235
- package/dist/terminal/manager.js.map +0 -1
- package/dist/terminal/pool.d.ts +0 -32
- package/dist/terminal/pool.d.ts.map +0 -1
- package/dist/terminal/pool.js +0 -208
- package/dist/terminal/pool.js.map +0 -1
- package/dist/terminal/session.d.ts +0 -41
- package/dist/terminal/session.d.ts.map +0 -1
- package/dist/terminal/session.js +0 -210
- package/dist/terminal/session.js.map +0 -1
- package/dist/utils/error-handler.d.ts +0 -14
- package/dist/utils/error-handler.d.ts.map +0 -1
- package/dist/utils/error-handler.js +0 -29
- package/dist/utils/error-handler.js.map +0 -1
- package/dist/utils/errors.d.ts +0 -121
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js +0 -194
- package/dist/utils/errors.js.map +0 -1
- package/dist/utils/formatters.d.ts +0 -15
- package/dist/utils/formatters.d.ts.map +0 -1
- package/dist/utils/formatters.js +0 -75
- package/dist/utils/formatters.js.map +0 -1
- package/dist/utils/helpers.d.ts +0 -134
- package/dist/utils/helpers.d.ts.map +0 -1
- package/dist/utils/helpers.js +0 -444
- package/dist/utils/helpers.js.map +0 -1
- package/dist/utils/key-redactor.d.ts +0 -46
- package/dist/utils/key-redactor.d.ts.map +0 -1
- package/dist/utils/key-redactor.js +0 -153
- package/dist/utils/key-redactor.js.map +0 -1
- package/dist/utils/metrics-reader.d.ts +0 -67
- package/dist/utils/metrics-reader.d.ts.map +0 -1
- package/dist/utils/metrics-reader.js +0 -201
- package/dist/utils/metrics-reader.js.map +0 -1
- package/dist/utils/npx-isolated-cache.d.ts +0 -17
- package/dist/utils/npx-isolated-cache.d.ts.map +0 -1
- package/dist/utils/npx-isolated-cache.js +0 -140
- package/dist/utils/npx-isolated-cache.js.map +0 -1
- package/dist/utils/project-root.d.ts +0 -35
- package/dist/utils/project-root.d.ts.map +0 -1
- package/dist/utils/project-root.js +0 -115
- package/dist/utils/project-root.js.map +0 -1
- package/dist/utils/type-guards.d.ts +0 -117
- package/dist/utils/type-guards.d.ts.map +0 -1
- package/dist/utils/type-guards.js +0 -166
- package/dist/utils/type-guards.js.map +0 -1
- package/dist/utils/types.d.ts +0 -568
- package/dist/utils/types.d.ts.map +0 -1
- package/dist/utils/types.js +0 -37
- package/dist/utils/types.js.map +0 -1
- /package/docs/{COMMANDS_TO_SKILLS_MIGRATION.md → development/COMMANDS_TO_SKILLS_MIGRATION.md} +0 -0
- /package/docs/{FINAL_INIT_STRUCTURE.md → development/FINAL_INIT_STRUCTURE.md} +0 -0
- /package/docs/{CLI-MEMORY-COMMANDS-WORKING.md → fixes/CLI-MEMORY-COMMANDS-WORKING.md} +0 -0
- /package/docs/{PERFORMANCE-JSON-IMPROVEMENTS.md → performance/PERFORMANCE-JSON-IMPROVEMENTS.md} +0 -0
- /package/docs/{PERFORMANCE-METRICS-GUIDE.md → performance/PERFORMANCE-METRICS-GUIDE.md} +0 -0
- /package/docs/{RELEASE-NOTES-v2.7.0-alpha.9.md → releases/v2.7.0-alpha.9/RELEASE-NOTES-v2.7.0-alpha.9.md} +0 -0
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from 'node:events';
|
|
2
|
-
export interface SwarmAgent {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: 'researcher' | 'coder' | 'analyst' | 'coordinator' | 'reviewer';
|
|
6
|
-
status: 'idle' | 'busy' | 'failed' | 'completed';
|
|
7
|
-
capabilities: string[];
|
|
8
|
-
currentTask?: SwarmTask;
|
|
9
|
-
processId?: number;
|
|
10
|
-
terminalId?: string;
|
|
11
|
-
metrics: {
|
|
12
|
-
tasksCompleted: number;
|
|
13
|
-
tasksFailed: number;
|
|
14
|
-
totalDuration: number;
|
|
15
|
-
lastActivity: Date;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export interface SwarmTask {
|
|
19
|
-
id: string;
|
|
20
|
-
type: string;
|
|
21
|
-
description: string;
|
|
22
|
-
priority: number;
|
|
23
|
-
dependencies: string[];
|
|
24
|
-
assignedTo?: string;
|
|
25
|
-
status: 'pending' | 'running' | 'completed' | 'failed';
|
|
26
|
-
result?: any;
|
|
27
|
-
error?: string;
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
startedAt?: Date;
|
|
30
|
-
completedAt?: Date;
|
|
31
|
-
retryCount: number;
|
|
32
|
-
maxRetries: number;
|
|
33
|
-
timeout?: number;
|
|
34
|
-
}
|
|
35
|
-
export interface SwarmObjective {
|
|
36
|
-
id: string;
|
|
37
|
-
description: string;
|
|
38
|
-
strategy: 'auto' | 'research' | 'development' | 'analysis';
|
|
39
|
-
tasks: SwarmTask[];
|
|
40
|
-
status: 'planning' | 'executing' | 'completed' | 'failed';
|
|
41
|
-
createdAt: Date;
|
|
42
|
-
completedAt?: Date;
|
|
43
|
-
}
|
|
44
|
-
export interface SwarmConfig {
|
|
45
|
-
maxAgents: number;
|
|
46
|
-
maxConcurrentTasks: number;
|
|
47
|
-
taskTimeout: number;
|
|
48
|
-
enableMonitoring: boolean;
|
|
49
|
-
enableWorkStealing: boolean;
|
|
50
|
-
enableCircuitBreaker: boolean;
|
|
51
|
-
memoryNamespace: string;
|
|
52
|
-
coordinationStrategy: 'centralized' | 'distributed' | 'hybrid';
|
|
53
|
-
backgroundTaskInterval: number;
|
|
54
|
-
healthCheckInterval: number;
|
|
55
|
-
maxRetries: number;
|
|
56
|
-
backoffMultiplier: number;
|
|
57
|
-
}
|
|
58
|
-
export declare class SwarmCoordinator extends EventEmitter {
|
|
59
|
-
private logger;
|
|
60
|
-
private config;
|
|
61
|
-
private agents;
|
|
62
|
-
private objectives;
|
|
63
|
-
private tasks;
|
|
64
|
-
private monitor?;
|
|
65
|
-
private scheduler?;
|
|
66
|
-
private memoryManager;
|
|
67
|
-
private backgroundWorkers;
|
|
68
|
-
private isRunning;
|
|
69
|
-
private workStealer?;
|
|
70
|
-
private circuitBreaker?;
|
|
71
|
-
constructor(config?: Partial<SwarmConfig>);
|
|
72
|
-
private setupEventHandlers;
|
|
73
|
-
start(): Promise<void>;
|
|
74
|
-
stop(): Promise<void>;
|
|
75
|
-
private startBackgroundWorkers;
|
|
76
|
-
private stopBackgroundWorkers;
|
|
77
|
-
createObjective(description: string, strategy?: SwarmObjective['strategy']): Promise<string>;
|
|
78
|
-
private decomposeObjective;
|
|
79
|
-
private createTask;
|
|
80
|
-
registerAgent(name: string, type: SwarmAgent['type'], capabilities?: string[]): Promise<string>;
|
|
81
|
-
assignTask(taskId: string, agentId: string): Promise<void>;
|
|
82
|
-
private executeTask;
|
|
83
|
-
private simulateTaskExecution;
|
|
84
|
-
private handleTaskCompleted;
|
|
85
|
-
private handleTaskFailed;
|
|
86
|
-
private checkObjectiveCompletion;
|
|
87
|
-
private processBackgroundTasks;
|
|
88
|
-
private areDependenciesMet;
|
|
89
|
-
private selectBestAgent;
|
|
90
|
-
private performHealthChecks;
|
|
91
|
-
private performWorkStealing;
|
|
92
|
-
private syncMemoryState;
|
|
93
|
-
private handleMonitorAlert;
|
|
94
|
-
private handleAgentMessage;
|
|
95
|
-
executeObjective(objectiveId: string): Promise<void>;
|
|
96
|
-
getObjectiveStatus(objectiveId: string): SwarmObjective | undefined;
|
|
97
|
-
getAgentStatus(agentId: string): SwarmAgent | undefined;
|
|
98
|
-
getSwarmStatus(): {
|
|
99
|
-
objectives: number;
|
|
100
|
-
tasks: {
|
|
101
|
-
total: number;
|
|
102
|
-
pending: number;
|
|
103
|
-
running: number;
|
|
104
|
-
completed: number;
|
|
105
|
-
failed: number;
|
|
106
|
-
};
|
|
107
|
-
agents: {
|
|
108
|
-
total: number;
|
|
109
|
-
idle: number;
|
|
110
|
-
busy: number;
|
|
111
|
-
failed: number;
|
|
112
|
-
};
|
|
113
|
-
uptime: number;
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
//# sourceMappingURL=swarm-coordinator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"swarm-coordinator.d.ts","sourceRoot":"","sources":["../../src/coordination/swarm-coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQ3C,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC;IACtE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;IACjD,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE;QACP,cAAc,EAAE,MAAM,CAAC;QACvB,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,MAAM,CAAC;QACtB,YAAY,EAAE,IAAI,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;IACvD,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,UAAU,CAAC;IAC3D,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,MAAM,EAAE,UAAU,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,CAAC;IAC1D,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,CAAC,EAAE,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,aAAa,GAAG,aAAa,GAAG,QAAQ,CAAC;IAC/D,sBAAsB,EAAE,MAAM,CAAC;IAC/B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,qBAAa,gBAAiB,SAAQ,YAAY;IAChD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,MAAM,CAAc;IAC5B,OAAO,CAAC,MAAM,CAA0B;IACxC,OAAO,CAAC,UAAU,CAA8B;IAChD,OAAO,CAAC,KAAK,CAAyB;IACtC,OAAO,CAAC,OAAO,CAAC,CAAe;IAC/B,OAAO,CAAC,SAAS,CAAC,CAAwB;IAC1C,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,iBAAiB,CAA8B;IACvD,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,WAAW,CAAC,CAAM;IAC1B,OAAO,CAAC,cAAc,CAAC,CAAM;gBAEjB,MAAM,GAAE,OAAO,CAAC,WAAW,CAAM;IAkD7C,OAAO,CAAC,kBAAkB;IAkBpB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAsBtB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAqB3B,OAAO,CAAC,sBAAsB;IA4B9B,OAAO,CAAC,qBAAqB;IAQvB,eAAe,CACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,GAAE,cAAc,CAAC,UAAU,CAAU,GAC5C,OAAO,CAAC,MAAM,CAAC;YAqCJ,kBAAkB;IAkDhC,OAAO,CAAC,UAAU;IAoBZ,aAAa,CACjB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,EACxB,YAAY,GAAE,MAAM,EAAO,GAC1B,OAAO,CAAC,MAAM,CAAC;IAiCZ,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAmClD,WAAW;YAYX,qBAAqB;YAwBrB,mBAAmB;YAgDnB,gBAAgB;IAsC9B,OAAO,CAAC,wBAAwB;YAkBlB,sBAAsB;IA+BpC,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,eAAe;YAuBT,mBAAmB;YA6BnB,mBAAmB;YAyBnB,eAAe;IAkC7B,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,kBAAkB;IAMpB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAa1D,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAInE,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS;IAIvD,cAAc,IAAI;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;QAC9F,MAAM,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;QACtE,MAAM,EAAE,MAAM,CAAC;KAChB;CAsBF"}
|
|
@@ -1,563 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from 'node:events';
|
|
2
|
-
import { Logger } from '../core/logger.js';
|
|
3
|
-
import { EventBus } from '../core/event-bus.js';
|
|
4
|
-
import { generateId } from '../utils/helpers.js';
|
|
5
|
-
import { SwarmMonitor } from './swarm-monitor.js';
|
|
6
|
-
import { MemoryManager } from '../memory/manager.js';
|
|
7
|
-
export class SwarmCoordinator extends EventEmitter {
|
|
8
|
-
logger;
|
|
9
|
-
config;
|
|
10
|
-
agents;
|
|
11
|
-
objectives;
|
|
12
|
-
tasks;
|
|
13
|
-
monitor;
|
|
14
|
-
scheduler;
|
|
15
|
-
memoryManager;
|
|
16
|
-
backgroundWorkers;
|
|
17
|
-
isRunning = false;
|
|
18
|
-
workStealer;
|
|
19
|
-
circuitBreaker;
|
|
20
|
-
constructor(config = {}) {
|
|
21
|
-
super();
|
|
22
|
-
this.logger = new Logger('SwarmCoordinator');
|
|
23
|
-
this.config = {
|
|
24
|
-
maxAgents: 10,
|
|
25
|
-
maxConcurrentTasks: 5,
|
|
26
|
-
taskTimeout: 300000, // 5 minutes
|
|
27
|
-
enableMonitoring: true,
|
|
28
|
-
enableWorkStealing: true,
|
|
29
|
-
enableCircuitBreaker: true,
|
|
30
|
-
memoryNamespace: 'swarm',
|
|
31
|
-
coordinationStrategy: 'hybrid',
|
|
32
|
-
backgroundTaskInterval: 5000, // 5 seconds
|
|
33
|
-
healthCheckInterval: 10000, // 10 seconds
|
|
34
|
-
maxRetries: 3,
|
|
35
|
-
backoffMultiplier: 2,
|
|
36
|
-
...config,
|
|
37
|
-
};
|
|
38
|
-
this.agents = new Map();
|
|
39
|
-
this.objectives = new Map();
|
|
40
|
-
this.tasks = new Map();
|
|
41
|
-
this.backgroundWorkers = new Map();
|
|
42
|
-
// Initialize memory manager
|
|
43
|
-
const eventBus = EventBus.getInstance();
|
|
44
|
-
this.memoryManager = new MemoryManager({
|
|
45
|
-
backend: 'sqlite',
|
|
46
|
-
namespace: this.config.memoryNamespace,
|
|
47
|
-
cacheSizeMB: 50,
|
|
48
|
-
syncOnExit: true,
|
|
49
|
-
maxEntries: 10000,
|
|
50
|
-
ttlMinutes: 60,
|
|
51
|
-
}, eventBus, this.logger);
|
|
52
|
-
if (this.config.enableMonitoring) {
|
|
53
|
-
this.monitor = new SwarmMonitor({
|
|
54
|
-
updateInterval: 1000,
|
|
55
|
-
enableAlerts: true,
|
|
56
|
-
enableHistory: true,
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
this.setupEventHandlers();
|
|
60
|
-
}
|
|
61
|
-
setupEventHandlers() {
|
|
62
|
-
// Monitor events
|
|
63
|
-
if (this.monitor) {
|
|
64
|
-
this.monitor.on('alert', (alert) => {
|
|
65
|
-
this.handleMonitorAlert(alert);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
// Add custom event handlers for swarm coordination
|
|
69
|
-
this.on('task:completed', (data) => {
|
|
70
|
-
this.handleTaskCompleted(data.taskId, data.result);
|
|
71
|
-
});
|
|
72
|
-
this.on('task:failed', (data) => {
|
|
73
|
-
this.handleTaskFailed(data.taskId, data.error);
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
async start() {
|
|
77
|
-
if (this.isRunning) {
|
|
78
|
-
this.logger.warn('Swarm coordinator already running');
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
this.logger.info('Starting swarm coordinator...');
|
|
82
|
-
this.isRunning = true;
|
|
83
|
-
// Start subsystems
|
|
84
|
-
await this.memoryManager.initialize();
|
|
85
|
-
if (this.monitor) {
|
|
86
|
-
await this.monitor.start();
|
|
87
|
-
}
|
|
88
|
-
// Start background workers
|
|
89
|
-
this.startBackgroundWorkers();
|
|
90
|
-
this.emit('coordinator:started');
|
|
91
|
-
}
|
|
92
|
-
async stop() {
|
|
93
|
-
if (!this.isRunning) {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
this.logger.info('Stopping swarm coordinator...');
|
|
97
|
-
this.isRunning = false;
|
|
98
|
-
// Stop background workers
|
|
99
|
-
this.stopBackgroundWorkers();
|
|
100
|
-
// Stop subsystems
|
|
101
|
-
await this.scheduler.shutdown();
|
|
102
|
-
if (this.monitor) {
|
|
103
|
-
this.monitor.stop();
|
|
104
|
-
}
|
|
105
|
-
this.emit('coordinator:stopped');
|
|
106
|
-
}
|
|
107
|
-
startBackgroundWorkers() {
|
|
108
|
-
// Task processor worker
|
|
109
|
-
const taskProcessor = setInterval(() => {
|
|
110
|
-
this.processBackgroundTasks();
|
|
111
|
-
}, this.config.backgroundTaskInterval);
|
|
112
|
-
this.backgroundWorkers.set('taskProcessor', taskProcessor);
|
|
113
|
-
// Health check worker
|
|
114
|
-
const healthChecker = setInterval(() => {
|
|
115
|
-
this.performHealthChecks();
|
|
116
|
-
}, this.config.healthCheckInterval);
|
|
117
|
-
this.backgroundWorkers.set('healthChecker', healthChecker);
|
|
118
|
-
// Work stealing worker
|
|
119
|
-
if (this.workStealer) {
|
|
120
|
-
const workStealerWorker = setInterval(() => {
|
|
121
|
-
this.performWorkStealing();
|
|
122
|
-
}, this.config.backgroundTaskInterval);
|
|
123
|
-
this.backgroundWorkers.set('workStealer', workStealerWorker);
|
|
124
|
-
}
|
|
125
|
-
// Memory sync worker
|
|
126
|
-
const memorySync = setInterval(() => {
|
|
127
|
-
this.syncMemoryState();
|
|
128
|
-
}, this.config.backgroundTaskInterval * 2);
|
|
129
|
-
this.backgroundWorkers.set('memorySync', memorySync);
|
|
130
|
-
}
|
|
131
|
-
stopBackgroundWorkers() {
|
|
132
|
-
for (const [name, worker] of this.backgroundWorkers) {
|
|
133
|
-
clearInterval(worker);
|
|
134
|
-
this.logger.debug(`Stopped background worker: ${name}`);
|
|
135
|
-
}
|
|
136
|
-
this.backgroundWorkers.clear();
|
|
137
|
-
}
|
|
138
|
-
async createObjective(description, strategy = 'auto') {
|
|
139
|
-
const objectiveId = generateId('objective');
|
|
140
|
-
const objective = {
|
|
141
|
-
id: objectiveId,
|
|
142
|
-
description,
|
|
143
|
-
strategy,
|
|
144
|
-
tasks: [],
|
|
145
|
-
status: 'planning',
|
|
146
|
-
createdAt: new Date(),
|
|
147
|
-
};
|
|
148
|
-
this.objectives.set(objectiveId, objective);
|
|
149
|
-
this.logger.info(`Created objective: ${objectiveId} - ${description}`);
|
|
150
|
-
// Decompose objective into tasks
|
|
151
|
-
const tasks = await this.decomposeObjective(objective);
|
|
152
|
-
objective.tasks = tasks;
|
|
153
|
-
// Store in memory
|
|
154
|
-
await this.memoryManager.store({
|
|
155
|
-
id: `objective:${objectiveId}`,
|
|
156
|
-
agentId: 'swarm-coordinator',
|
|
157
|
-
type: 'objective',
|
|
158
|
-
content: JSON.stringify(objective),
|
|
159
|
-
namespace: this.config.memoryNamespace,
|
|
160
|
-
timestamp: new Date(),
|
|
161
|
-
metadata: {
|
|
162
|
-
type: 'objective',
|
|
163
|
-
strategy,
|
|
164
|
-
taskCount: tasks.length,
|
|
165
|
-
},
|
|
166
|
-
});
|
|
167
|
-
this.emit('objective:created', objective);
|
|
168
|
-
return objectiveId;
|
|
169
|
-
}
|
|
170
|
-
async decomposeObjective(objective) {
|
|
171
|
-
const tasks = [];
|
|
172
|
-
switch (objective.strategy) {
|
|
173
|
-
case 'research':
|
|
174
|
-
tasks.push(this.createTask('research', 'Gather information and research materials', 1), this.createTask('analysis', 'Analyze research findings', 2, ['research']), this.createTask('synthesis', 'Synthesize insights and create report', 3, ['analysis']));
|
|
175
|
-
break;
|
|
176
|
-
case 'development':
|
|
177
|
-
tasks.push(this.createTask('planning', 'Plan architecture and design', 1), this.createTask('implementation', 'Implement core functionality', 2, ['planning']), this.createTask('testing', 'Test and validate implementation', 3, ['implementation']), this.createTask('documentation', 'Create documentation', 3, ['implementation']), this.createTask('review', 'Peer review and refinement', 4, ['testing', 'documentation']));
|
|
178
|
-
break;
|
|
179
|
-
case 'analysis':
|
|
180
|
-
tasks.push(this.createTask('data-collection', 'Collect and prepare data', 1), this.createTask('analysis', 'Perform detailed analysis', 2, ['data-collection']), this.createTask('visualization', 'Create visualizations', 3, ['analysis']), this.createTask('reporting', 'Generate final report', 4, ['analysis', 'visualization']));
|
|
181
|
-
break;
|
|
182
|
-
default: // auto
|
|
183
|
-
// Use AI to decompose based on objective description
|
|
184
|
-
tasks.push(this.createTask('exploration', 'Explore and understand requirements', 1), this.createTask('planning', 'Create execution plan', 2, ['exploration']), this.createTask('execution', 'Execute main tasks', 3, ['planning']), this.createTask('validation', 'Validate and test results', 4, ['execution']), this.createTask('completion', 'Finalize and document', 5, ['validation']));
|
|
185
|
-
}
|
|
186
|
-
// Register tasks
|
|
187
|
-
tasks.forEach((task) => {
|
|
188
|
-
this.tasks.set(task.id, task);
|
|
189
|
-
});
|
|
190
|
-
return tasks;
|
|
191
|
-
}
|
|
192
|
-
createTask(type, description, priority, dependencies = []) {
|
|
193
|
-
return {
|
|
194
|
-
id: generateId('task'),
|
|
195
|
-
type,
|
|
196
|
-
description,
|
|
197
|
-
priority,
|
|
198
|
-
dependencies,
|
|
199
|
-
status: 'pending',
|
|
200
|
-
createdAt: new Date(),
|
|
201
|
-
retryCount: 0,
|
|
202
|
-
maxRetries: this.config.maxRetries,
|
|
203
|
-
timeout: this.config.taskTimeout,
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
async registerAgent(name, type, capabilities = []) {
|
|
207
|
-
const agentId = generateId('agent');
|
|
208
|
-
const agent = {
|
|
209
|
-
id: agentId,
|
|
210
|
-
name,
|
|
211
|
-
type,
|
|
212
|
-
status: 'idle',
|
|
213
|
-
capabilities,
|
|
214
|
-
metrics: {
|
|
215
|
-
tasksCompleted: 0,
|
|
216
|
-
tasksFailed: 0,
|
|
217
|
-
totalDuration: 0,
|
|
218
|
-
lastActivity: new Date(),
|
|
219
|
-
},
|
|
220
|
-
};
|
|
221
|
-
this.agents.set(agentId, agent);
|
|
222
|
-
if (this.monitor) {
|
|
223
|
-
this.monitor.registerAgent(agentId, name);
|
|
224
|
-
}
|
|
225
|
-
// Register with work stealer if enabled
|
|
226
|
-
if (this.workStealer) {
|
|
227
|
-
this.workStealer.registerWorker(agentId, 1);
|
|
228
|
-
}
|
|
229
|
-
this.logger.info(`Registered agent: ${name} (${agentId}) - Type: ${type}`);
|
|
230
|
-
this.emit('agent:registered', agent);
|
|
231
|
-
return agentId;
|
|
232
|
-
}
|
|
233
|
-
async assignTask(taskId, agentId) {
|
|
234
|
-
const task = this.tasks.get(taskId);
|
|
235
|
-
const agent = this.agents.get(agentId);
|
|
236
|
-
if (!task || !agent) {
|
|
237
|
-
throw new Error('Task or agent not found');
|
|
238
|
-
}
|
|
239
|
-
if (agent.status !== 'idle') {
|
|
240
|
-
throw new Error('Agent is not available');
|
|
241
|
-
}
|
|
242
|
-
// Check circuit breaker
|
|
243
|
-
if (this.circuitBreaker && !this.circuitBreaker.canExecute(agentId)) {
|
|
244
|
-
throw new Error('Agent circuit breaker is open');
|
|
245
|
-
}
|
|
246
|
-
task.assignedTo = agentId;
|
|
247
|
-
task.status = 'running';
|
|
248
|
-
task.startedAt = new Date();
|
|
249
|
-
agent.status = 'busy';
|
|
250
|
-
agent.currentTask = task;
|
|
251
|
-
if (this.monitor) {
|
|
252
|
-
this.monitor.taskStarted(agentId, taskId, task.description);
|
|
253
|
-
}
|
|
254
|
-
this.logger.info(`Assigned task ${taskId} to agent ${agentId}`);
|
|
255
|
-
this.emit('task:assigned', { task, agent });
|
|
256
|
-
// Execute task in background
|
|
257
|
-
this.executeTask(task, agent);
|
|
258
|
-
}
|
|
259
|
-
async executeTask(task, agent) {
|
|
260
|
-
try {
|
|
261
|
-
// Simulate task execution
|
|
262
|
-
// In real implementation, this would spawn actual Claude instances
|
|
263
|
-
const result = await this.simulateTaskExecution(task, agent);
|
|
264
|
-
await this.handleTaskCompleted(task.id, result);
|
|
265
|
-
}
|
|
266
|
-
catch (error) {
|
|
267
|
-
await this.handleTaskFailed(task.id, error);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
async simulateTaskExecution(task, agent) {
|
|
271
|
-
// This is where we would actually spawn Claude processes
|
|
272
|
-
// For now, simulate with timeout
|
|
273
|
-
return new Promise((resolve, reject) => {
|
|
274
|
-
const timeout = setTimeout(() => {
|
|
275
|
-
reject(new Error('Task timeout'));
|
|
276
|
-
}, task.timeout || this.config.taskTimeout);
|
|
277
|
-
// Simulate work
|
|
278
|
-
setTimeout(() => {
|
|
279
|
-
clearTimeout(timeout);
|
|
280
|
-
resolve({
|
|
281
|
-
taskId: task.id,
|
|
282
|
-
agentId: agent.id,
|
|
283
|
-
result: `Completed ${task.type} task`,
|
|
284
|
-
timestamp: new Date(),
|
|
285
|
-
});
|
|
286
|
-
}, Math.random() * 5000 + 2000);
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
async handleTaskCompleted(taskId, result) {
|
|
290
|
-
const task = this.tasks.get(taskId);
|
|
291
|
-
if (!task)
|
|
292
|
-
return;
|
|
293
|
-
const agent = task.assignedTo ? this.agents.get(task.assignedTo) : null;
|
|
294
|
-
task.status = 'completed';
|
|
295
|
-
task.completedAt = new Date();
|
|
296
|
-
task.result = result;
|
|
297
|
-
if (agent) {
|
|
298
|
-
agent.status = 'idle';
|
|
299
|
-
agent.currentTask = undefined;
|
|
300
|
-
agent.metrics.tasksCompleted++;
|
|
301
|
-
agent.metrics.totalDuration += task.completedAt.getTime() - (task.startedAt?.getTime() || 0);
|
|
302
|
-
agent.metrics.lastActivity = new Date();
|
|
303
|
-
if (this.monitor) {
|
|
304
|
-
this.monitor.taskCompleted(agent.id, taskId);
|
|
305
|
-
}
|
|
306
|
-
if (this.circuitBreaker) {
|
|
307
|
-
this.circuitBreaker.recordSuccess(agent.id);
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
// Store result in memory
|
|
311
|
-
await this.memoryManager.store({
|
|
312
|
-
id: `task:${taskId}:result`,
|
|
313
|
-
agentId: agent?.id || 'unknown',
|
|
314
|
-
type: 'task-result',
|
|
315
|
-
content: JSON.stringify(result),
|
|
316
|
-
namespace: this.config.memoryNamespace,
|
|
317
|
-
timestamp: new Date(),
|
|
318
|
-
metadata: {
|
|
319
|
-
type: 'task-result',
|
|
320
|
-
taskType: task.type,
|
|
321
|
-
agentId: agent?.id,
|
|
322
|
-
},
|
|
323
|
-
});
|
|
324
|
-
this.logger.info(`Task ${taskId} completed successfully`);
|
|
325
|
-
this.emit('task:completed', { task, result });
|
|
326
|
-
// Check if objective is complete
|
|
327
|
-
this.checkObjectiveCompletion(task);
|
|
328
|
-
}
|
|
329
|
-
async handleTaskFailed(taskId, error) {
|
|
330
|
-
const task = this.tasks.get(taskId);
|
|
331
|
-
if (!task)
|
|
332
|
-
return;
|
|
333
|
-
const agent = task.assignedTo ? this.agents.get(task.assignedTo) : null;
|
|
334
|
-
task.error = (error instanceof Error ? error.message : String(error)) || String(error);
|
|
335
|
-
task.retryCount++;
|
|
336
|
-
if (agent) {
|
|
337
|
-
agent.status = 'idle';
|
|
338
|
-
agent.currentTask = undefined;
|
|
339
|
-
agent.metrics.tasksFailed++;
|
|
340
|
-
agent.metrics.lastActivity = new Date();
|
|
341
|
-
if (this.monitor) {
|
|
342
|
-
this.monitor.taskFailed(agent.id, taskId, task.error);
|
|
343
|
-
}
|
|
344
|
-
if (this.circuitBreaker) {
|
|
345
|
-
this.circuitBreaker.recordFailure(agent.id);
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
// Retry logic
|
|
349
|
-
if (task.retryCount < task.maxRetries) {
|
|
350
|
-
task.status = 'pending';
|
|
351
|
-
task.assignedTo = undefined;
|
|
352
|
-
this.logger.warn(`Task ${taskId} failed, will retry (${task.retryCount}/${task.maxRetries})`);
|
|
353
|
-
this.emit('task:retry', { task, error });
|
|
354
|
-
}
|
|
355
|
-
else {
|
|
356
|
-
task.status = 'failed';
|
|
357
|
-
task.completedAt = new Date();
|
|
358
|
-
this.logger.error(`Task ${taskId} failed after ${task.retryCount} retries`);
|
|
359
|
-
this.emit('task:failed', { task, error });
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
checkObjectiveCompletion(completedTask) {
|
|
363
|
-
for (const [objectiveId, objective] of this.objectives) {
|
|
364
|
-
if (objective.status !== 'executing')
|
|
365
|
-
continue;
|
|
366
|
-
const allTasksComplete = objective.tasks.every((task) => {
|
|
367
|
-
const t = this.tasks.get(task.id);
|
|
368
|
-
return t && (t.status === 'completed' || t.status === 'failed');
|
|
369
|
-
});
|
|
370
|
-
if (allTasksComplete) {
|
|
371
|
-
objective.status = 'completed';
|
|
372
|
-
objective.completedAt = new Date();
|
|
373
|
-
this.logger.info(`Objective ${objectiveId} completed`);
|
|
374
|
-
this.emit('objective:completed', objective);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
async processBackgroundTasks() {
|
|
379
|
-
if (!this.isRunning)
|
|
380
|
-
return;
|
|
381
|
-
try {
|
|
382
|
-
// Process pending tasks
|
|
383
|
-
const pendingTasks = Array.from(this.tasks.values()).filter((t) => t.status === 'pending' && this.areDependenciesMet(t));
|
|
384
|
-
// Get available agents
|
|
385
|
-
const availableAgents = Array.from(this.agents.values()).filter((a) => a.status === 'idle');
|
|
386
|
-
// Assign tasks to agents
|
|
387
|
-
for (const task of pendingTasks) {
|
|
388
|
-
if (availableAgents.length === 0)
|
|
389
|
-
break;
|
|
390
|
-
const agent = this.selectBestAgent(task, availableAgents);
|
|
391
|
-
if (agent) {
|
|
392
|
-
try {
|
|
393
|
-
await this.assignTask(task.id, agent.id);
|
|
394
|
-
availableAgents.splice(availableAgents.indexOf(agent), 1);
|
|
395
|
-
}
|
|
396
|
-
catch (error) {
|
|
397
|
-
this.logger.error(`Failed to assign task ${task.id}:`, error);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
catch (error) {
|
|
403
|
-
this.logger.error('Error processing background tasks:', error);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
areDependenciesMet(task) {
|
|
407
|
-
return task.dependencies.every((depId) => {
|
|
408
|
-
const dep = this.tasks.get(depId);
|
|
409
|
-
return dep && dep.status === 'completed';
|
|
410
|
-
});
|
|
411
|
-
}
|
|
412
|
-
selectBestAgent(task, availableAgents) {
|
|
413
|
-
// Simple selection based on task type and agent capabilities
|
|
414
|
-
const compatibleAgents = availableAgents.filter((agent) => {
|
|
415
|
-
// Match task type to agent type
|
|
416
|
-
if (task.type.includes('research') && agent.type === 'researcher')
|
|
417
|
-
return true;
|
|
418
|
-
if (task.type.includes('implement') && agent.type === 'coder')
|
|
419
|
-
return true;
|
|
420
|
-
if (task.type.includes('analysis') && agent.type === 'analyst')
|
|
421
|
-
return true;
|
|
422
|
-
if (task.type.includes('review') && agent.type === 'reviewer')
|
|
423
|
-
return true;
|
|
424
|
-
return agent.type === 'coordinator'; // Coordinator can do any task
|
|
425
|
-
});
|
|
426
|
-
if (compatibleAgents.length === 0) {
|
|
427
|
-
return availableAgents[0]; // Fallback to any available agent
|
|
428
|
-
}
|
|
429
|
-
// Select agent with best performance metrics
|
|
430
|
-
return compatibleAgents.reduce((best, agent) => {
|
|
431
|
-
const bestRatio = best.metrics.tasksCompleted / (best.metrics.tasksFailed + 1);
|
|
432
|
-
const agentRatio = agent.metrics.tasksCompleted / (agent.metrics.tasksFailed + 1);
|
|
433
|
-
return agentRatio > bestRatio ? agent : best;
|
|
434
|
-
});
|
|
435
|
-
}
|
|
436
|
-
async performHealthChecks() {
|
|
437
|
-
if (!this.isRunning)
|
|
438
|
-
return;
|
|
439
|
-
try {
|
|
440
|
-
const now = new Date();
|
|
441
|
-
for (const [agentId, agent] of this.agents) {
|
|
442
|
-
// Check for stalled agents
|
|
443
|
-
if (agent.status === 'busy' && agent.currentTask) {
|
|
444
|
-
const taskDuration = now.getTime() - (agent.currentTask.startedAt?.getTime() || 0);
|
|
445
|
-
if (taskDuration > this.config.taskTimeout) {
|
|
446
|
-
this.logger.warn(`Agent ${agentId} appears stalled on task ${agent.currentTask.id}`);
|
|
447
|
-
await this.handleTaskFailed(agent.currentTask.id, new Error('Task timeout'));
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
// Check agent health
|
|
451
|
-
const inactivityTime = now.getTime() - agent.metrics.lastActivity.getTime();
|
|
452
|
-
if (inactivityTime > this.config.healthCheckInterval * 3) {
|
|
453
|
-
this.logger.warn(`Agent ${agentId} has been inactive for ${Math.round(inactivityTime / 1000)}s`);
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
catch (error) {
|
|
458
|
-
this.logger.error('Error performing health checks:', error);
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
async performWorkStealing() {
|
|
462
|
-
if (!this.isRunning || !this.workStealer)
|
|
463
|
-
return;
|
|
464
|
-
try {
|
|
465
|
-
// Get agent workloads
|
|
466
|
-
const workloads = new Map();
|
|
467
|
-
for (const [agentId, agent] of this.agents) {
|
|
468
|
-
workloads.set(agentId, agent.status === 'busy' ? 1 : 0);
|
|
469
|
-
}
|
|
470
|
-
// Update work stealer
|
|
471
|
-
this.workStealer.updateLoads(workloads);
|
|
472
|
-
// Check for work stealing opportunities
|
|
473
|
-
const stealingSuggestions = this.workStealer.suggestWorkStealing();
|
|
474
|
-
for (const suggestion of stealingSuggestions) {
|
|
475
|
-
this.logger.debug(`Work stealing suggestion: ${suggestion.from} -> ${suggestion.to}`);
|
|
476
|
-
// In a real implementation, we would reassign tasks here
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
catch (error) {
|
|
480
|
-
this.logger.error('Error performing work stealing:', error);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
async syncMemoryState() {
|
|
484
|
-
if (!this.isRunning)
|
|
485
|
-
return;
|
|
486
|
-
try {
|
|
487
|
-
// Sync current state to memory
|
|
488
|
-
const state = {
|
|
489
|
-
objectives: Array.from(this.objectives.values()),
|
|
490
|
-
tasks: Array.from(this.tasks.values()),
|
|
491
|
-
agents: Array.from(this.agents.values()).map((a) => ({
|
|
492
|
-
...a,
|
|
493
|
-
currentTask: undefined, // Don't store transient state
|
|
494
|
-
})),
|
|
495
|
-
timestamp: new Date(),
|
|
496
|
-
};
|
|
497
|
-
await this.memoryManager.store({
|
|
498
|
-
id: 'swarm:state',
|
|
499
|
-
agentId: 'swarm-coordinator',
|
|
500
|
-
type: 'swarm-state',
|
|
501
|
-
content: JSON.stringify(state),
|
|
502
|
-
namespace: this.config.memoryNamespace,
|
|
503
|
-
timestamp: new Date(),
|
|
504
|
-
metadata: {
|
|
505
|
-
type: 'swarm-state',
|
|
506
|
-
objectiveCount: state.objectives.length,
|
|
507
|
-
taskCount: state.tasks.length,
|
|
508
|
-
agentCount: state.agents.length,
|
|
509
|
-
},
|
|
510
|
-
});
|
|
511
|
-
}
|
|
512
|
-
catch (error) {
|
|
513
|
-
this.logger.error('Error syncing memory state:', error);
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
handleMonitorAlert(alert) {
|
|
517
|
-
this.logger.warn(`Monitor alert: ${alert.message}`);
|
|
518
|
-
this.emit('monitor:alert', alert);
|
|
519
|
-
}
|
|
520
|
-
handleAgentMessage(message) {
|
|
521
|
-
this.logger.debug(`Agent message: ${message.type} from ${message.from}`);
|
|
522
|
-
this.emit('agent:message', message);
|
|
523
|
-
}
|
|
524
|
-
// Public API methods
|
|
525
|
-
async executeObjective(objectiveId) {
|
|
526
|
-
const objective = this.objectives.get(objectiveId);
|
|
527
|
-
if (!objective) {
|
|
528
|
-
throw new Error('Objective not found');
|
|
529
|
-
}
|
|
530
|
-
objective.status = 'executing';
|
|
531
|
-
this.logger.info(`Executing objective: ${objectiveId}`);
|
|
532
|
-
this.emit('objective:started', objective);
|
|
533
|
-
// Tasks will be processed by background workers
|
|
534
|
-
}
|
|
535
|
-
getObjectiveStatus(objectiveId) {
|
|
536
|
-
return this.objectives.get(objectiveId);
|
|
537
|
-
}
|
|
538
|
-
getAgentStatus(agentId) {
|
|
539
|
-
return this.agents.get(agentId);
|
|
540
|
-
}
|
|
541
|
-
getSwarmStatus() {
|
|
542
|
-
const tasks = Array.from(this.tasks.values());
|
|
543
|
-
const agents = Array.from(this.agents.values());
|
|
544
|
-
return {
|
|
545
|
-
objectives: this.objectives.size,
|
|
546
|
-
tasks: {
|
|
547
|
-
total: tasks.length,
|
|
548
|
-
pending: tasks.filter((t) => t.status === 'pending').length,
|
|
549
|
-
running: tasks.filter((t) => t.status === 'running').length,
|
|
550
|
-
completed: tasks.filter((t) => t.status === 'completed').length,
|
|
551
|
-
failed: tasks.filter((t) => t.status === 'failed').length,
|
|
552
|
-
},
|
|
553
|
-
agents: {
|
|
554
|
-
total: agents.length,
|
|
555
|
-
idle: agents.filter((a) => a.status === 'idle').length,
|
|
556
|
-
busy: agents.filter((a) => a.status === 'busy').length,
|
|
557
|
-
failed: agents.filter((a) => a.status === 'failed').length,
|
|
558
|
-
},
|
|
559
|
-
uptime: this.monitor ? this.monitor.getSummary().uptime : 0,
|
|
560
|
-
};
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
//# sourceMappingURL=swarm-coordinator.js.map
|