claude-flow 2.0.0-alpha.7 → 2.0.0-alpha.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/cache/agent-pool.json +33 -0
- package/.claude/cache/memory-optimization.json +19 -0
- package/.claude/cache/neural-optimization.json +25 -0
- package/.claude/cache/optimized-hooks.json +19 -0
- package/.claude/cache/parallel-processing.json +26 -0
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +1 -1
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-efficiency.md +2 -1
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/self-healing.md +47 -2
- package/.claude/commands/automation/session-memory.md +39 -10
- package/.claude/commands/automation/smart-agents.md +36 -8
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +2 -2
- package/.claude/commands/coordination/orchestrate.md +2 -2
- package/.claude/commands/coordination/spawn.md +2 -2
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/github/README.md +11 -0
- package/.claude/commands/github/code-review-swarm.md +80 -15
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-modes.md +19 -19
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-tracker.md +32 -29
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/multi-repo-swarm.md +114 -16
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/pr-manager.md +16 -15
- package/.claude/commands/github/project-board-sync.md +38 -5
- package/.claude/commands/github/release-manager.md +35 -35
- package/.claude/commands/github/release-swarm.md +102 -13
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/github/repo-architect.md +20 -20
- package/.claude/commands/github/swarm-issue.md +139 -17
- package/.claude/commands/github/swarm-pr.md +49 -15
- package/.claude/commands/github/sync-coordinator.md +48 -48
- package/.claude/commands/github/workflow-automation.md +37 -10
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/overview.md +2 -2
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/hooks/setup.md +7 -7
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +11 -6
- package/.claude/commands/memory/usage.md +10 -6
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +8 -6
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +9 -6
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +15 -3
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +9 -3
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/sparc/analyzer.md +41 -68
- package/.claude/commands/sparc/architect.md +64 -62
- package/.claude/commands/sparc/ask.md +97 -0
- package/.claude/commands/sparc/batch-executor.md +44 -68
- package/.claude/commands/sparc/code.md +89 -0
- package/.claude/commands/sparc/coder.md +44 -69
- package/.claude/commands/sparc/debug.md +83 -0
- package/.claude/commands/sparc/debugger.md +43 -67
- package/.claude/commands/sparc/designer.md +42 -66
- package/.claude/commands/sparc/devops.md +109 -0
- package/.claude/commands/sparc/docs-writer.md +80 -0
- package/.claude/commands/sparc/documenter.md +43 -66
- package/.claude/commands/sparc/innovator.md +43 -67
- package/.claude/commands/sparc/integration.md +83 -0
- package/.claude/commands/sparc/mcp.md +117 -0
- package/.claude/commands/sparc/memory-manager.md +44 -67
- package/.claude/commands/sparc/optimizer.md +43 -67
- package/.claude/commands/sparc/orchestrator.md +117 -64
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -0
- package/.claude/commands/sparc/refinement-optimization-mode.md +83 -0
- package/.claude/commands/sparc/researcher.md +43 -68
- package/.claude/commands/sparc/reviewer.md +43 -67
- package/.claude/commands/sparc/security-review.md +80 -0
- package/.claude/commands/sparc/sparc-modes.md +145 -333
- package/.claude/commands/sparc/sparc.md +111 -0
- package/.claude/commands/sparc/spec-pseudocode.md +80 -0
- package/.claude/commands/sparc/supabase-admin.md +348 -0
- package/.claude/commands/sparc/swarm-coordinator.md +44 -67
- package/.claude/commands/sparc/tdd.md +67 -62
- package/.claude/commands/sparc/tester.md +43 -67
- package/.claude/commands/sparc/tutorial.md +79 -0
- package/.claude/commands/sparc/workflow-manager.md +44 -67
- package/.claude/commands/sparc.md +166 -0
- package/.claude/commands/swarm/analysis.md +90 -16
- package/.claude/commands/swarm/development.md +90 -15
- package/.claude/commands/swarm/examples.md +147 -42
- package/.claude/commands/swarm/maintenance.md +97 -16
- package/.claude/commands/swarm/optimization.md +112 -16
- package/.claude/commands/swarm/research.md +131 -16
- package/.claude/commands/swarm/testing.md +126 -16
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +29 -4
- package/.claude/commands/training/neural-train.md +25 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +15 -5
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +47 -8
- package/.claude/commands/workflows/research.md +30 -6
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/config.json +32 -11
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/jq-validation.log +4 -0
- package/.claude/optimized-settings.json +270 -0
- package/.claude/settings-backup.json +186 -0
- package/.claude/settings-clean.json +96 -0
- package/.claude/settings-enhanced.json +278 -0
- package/.claude/settings-fixed.json +186 -0
- package/.claude/settings-minimal.json +52 -0
- package/.claude/settings-working.json +110 -0
- package/.claude/settings.json +51 -64
- package/.claude/settings.local.json +7 -4
- package/.claude/test-settings.json +15 -0
- package/CHANGELOG.md +345 -0
- package/README.md +692 -635
- package/bin/claude-flow +1 -1
- package/dist/adapters/cliffy-node.d.ts.map +1 -1
- package/dist/adapters/cliffy-node.js +13 -7
- package/dist/adapters/cliffy-node.js.map +1 -1
- package/dist/agents/agent-manager.d.ts.map +1 -1
- package/dist/agents/agent-manager.js +77 -65
- package/dist/agents/agent-manager.js.map +1 -1
- package/dist/agents/agent-registry.d.ts.map +1 -1
- package/dist/agents/agent-registry.js +38 -30
- package/dist/agents/agent-registry.js.map +1 -1
- package/dist/api/claude-api-errors.d.ts +115 -0
- package/dist/api/claude-api-errors.d.ts.map +1 -0
- package/dist/api/claude-api-errors.js +198 -0
- package/dist/api/claude-api-errors.js.map +1 -0
- package/dist/api/claude-client-enhanced.d.ts +109 -0
- package/dist/api/claude-client-enhanced.d.ts.map +1 -0
- package/dist/api/claude-client-enhanced.js +479 -0
- package/dist/api/claude-client-enhanced.js.map +1 -0
- package/dist/api/claude-client.d.ts +197 -0
- package/dist/api/claude-client.d.ts.map +1 -0
- package/dist/api/claude-client.js +525 -0
- package/dist/api/claude-client.js.map +1 -0
- package/dist/cli/agents/analyst.d.ts.map +1 -1
- package/dist/cli/agents/analyst.js +94 -114
- package/dist/cli/agents/analyst.js.map +1 -1
- package/dist/cli/agents/architect.d.ts.map +1 -1
- package/dist/cli/agents/architect.js +100 -114
- package/dist/cli/agents/architect.js.map +1 -1
- package/dist/cli/agents/base-agent.d.ts.map +1 -1
- package/dist/cli/agents/base-agent.js +27 -27
- package/dist/cli/agents/base-agent.js.map +1 -1
- package/dist/cli/agents/capabilities.d.ts.map +1 -1
- package/dist/cli/agents/capabilities.js +49 -51
- package/dist/cli/agents/capabilities.js.map +1 -1
- package/dist/cli/agents/coder.d.ts.map +1 -1
- package/dist/cli/agents/coder.js +92 -98
- package/dist/cli/agents/coder.js.map +1 -1
- package/dist/cli/agents/coordinator.d.ts.map +1 -1
- package/dist/cli/agents/coordinator.js +59 -64
- package/dist/cli/agents/coordinator.js.map +1 -1
- package/dist/cli/agents/hive-agents.d.ts.map +1 -1
- package/dist/cli/agents/hive-agents.js +22 -24
- package/dist/cli/agents/hive-agents.js.map +1 -1
- package/dist/cli/agents/index.d.ts.map +1 -1
- package/dist/cli/agents/index.js +17 -17
- package/dist/cli/agents/index.js.map +1 -1
- package/dist/cli/agents/researcher.d.ts.map +1 -1
- package/dist/cli/agents/researcher.js +41 -61
- package/dist/cli/agents/researcher.js.map +1 -1
- package/dist/cli/agents/tester.d.ts.map +1 -1
- package/dist/cli/agents/tester.js +78 -90
- package/dist/cli/agents/tester.js.map +1 -1
- package/dist/cli/cli-core.d.ts +5 -2
- package/dist/cli/cli-core.d.ts.map +1 -1
- package/dist/cli/cli-core.js +40 -39
- package/dist/cli/cli-core.js.map +1 -1
- package/dist/cli/command-registry.d.ts +10 -0
- package/dist/cli/command-registry.d.ts.map +1 -0
- package/dist/cli/command-registry.js +735 -0
- package/dist/cli/command-registry.js.map +1 -0
- package/dist/cli/commands/advanced-memory-commands.d.ts.map +1 -1
- package/dist/cli/commands/advanced-memory-commands.js +49 -40
- package/dist/cli/commands/advanced-memory-commands.js.map +1 -1
- package/dist/cli/commands/agent-simple.d.ts +3 -0
- package/dist/cli/commands/agent-simple.d.ts.map +1 -1
- package/dist/cli/commands/agent-simple.js +30 -27
- package/dist/cli/commands/agent-simple.js.map +1 -1
- package/dist/cli/commands/agent.d.ts.map +1 -1
- package/dist/cli/commands/agent.js +53 -40
- package/dist/cli/commands/agent.js.map +1 -1
- package/dist/cli/commands/claude-api.d.ts +6 -0
- package/dist/cli/commands/claude-api.d.ts.map +1 -0
- package/dist/cli/commands/claude-api.js +256 -0
- package/dist/cli/commands/claude-api.js.map +1 -0
- package/dist/cli/commands/claude.d.ts.map +1 -1
- package/dist/cli/commands/claude.js +2 -2
- package/dist/cli/commands/claude.js.map +1 -1
- package/dist/cli/commands/config-integration.d.ts +7 -1
- package/dist/cli/commands/config-integration.d.ts.map +1 -1
- package/dist/cli/commands/config-integration.js +18 -9
- package/dist/cli/commands/config-integration.js.map +1 -1
- package/dist/cli/commands/config.d.ts.map +1 -1
- package/dist/cli/commands/config.js +2 -3
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/enterprise.d.ts.map +1 -1
- package/dist/cli/commands/enterprise.js +115 -95
- package/dist/cli/commands/enterprise.js.map +1 -1
- package/dist/cli/commands/help-new.d.ts +7 -0
- package/dist/cli/commands/help-new.d.ts.map +1 -0
- package/dist/cli/commands/help-new.js +236 -0
- package/dist/cli/commands/help-new.js.map +1 -0
- package/dist/cli/commands/help.d.ts +2 -1
- package/dist/cli/commands/help.d.ts.map +1 -1
- package/dist/cli/commands/help.js +283 -133
- package/dist/cli/commands/help.js.map +1 -1
- package/dist/cli/commands/hive-mind/index.d.ts +5 -1
- package/dist/cli/commands/hive-mind/index.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/index.js +10 -2
- package/dist/cli/commands/hive-mind/index.js.map +1 -1
- package/dist/cli/commands/hive-mind/init.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/init.js.map +1 -1
- package/dist/cli/commands/hive-mind/optimize-memory.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/optimize-memory.js +35 -26
- package/dist/cli/commands/hive-mind/optimize-memory.js.map +1 -1
- package/dist/cli/commands/hive-mind/pause.d.ts +9 -0
- package/dist/cli/commands/hive-mind/pause.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/pause.js +81 -0
- package/dist/cli/commands/hive-mind/pause.js.map +1 -0
- package/dist/cli/commands/hive-mind/ps.d.ts +9 -0
- package/dist/cli/commands/hive-mind/ps.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/ps.js +120 -0
- package/dist/cli/commands/hive-mind/ps.js.map +1 -0
- package/dist/cli/commands/hive-mind/resume.d.ts +9 -0
- package/dist/cli/commands/hive-mind/resume.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/resume.js +62 -0
- package/dist/cli/commands/hive-mind/resume.js.map +1 -0
- package/dist/cli/commands/hive-mind/spawn.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/spawn.js +20 -11
- package/dist/cli/commands/hive-mind/spawn.js.map +1 -1
- package/dist/cli/commands/hive-mind/status.js +17 -22
- package/dist/cli/commands/hive-mind/status.js.map +1 -1
- package/dist/cli/commands/hive-mind/stop.d.ts +9 -0
- package/dist/cli/commands/hive-mind/stop.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/stop.js +125 -0
- package/dist/cli/commands/hive-mind/stop.js.map +1 -0
- package/dist/cli/commands/hive-mind/task.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/task.js +25 -19
- package/dist/cli/commands/hive-mind/task.js.map +1 -1
- package/dist/cli/commands/hive-mind/wizard.d.ts.map +1 -1
- package/dist/cli/commands/hive-mind/wizard.js +86 -68
- package/dist/cli/commands/hive-mind/wizard.js.map +1 -1
- package/dist/cli/commands/hive.js +73 -38
- package/dist/cli/commands/hive.js.map +1 -1
- package/dist/cli/commands/hook-types.d.ts +117 -0
- package/dist/cli/commands/hook-types.d.ts.map +1 -0
- package/dist/cli/commands/hook-types.js +5 -0
- package/dist/cli/commands/hook-types.js.map +1 -0
- package/dist/cli/commands/hook-validator.d.ts +18 -0
- package/dist/cli/commands/hook-validator.d.ts.map +1 -0
- package/dist/cli/commands/hook-validator.js +167 -0
- package/dist/cli/commands/hook-validator.js.map +1 -0
- package/dist/cli/commands/hook.d.ts +8 -0
- package/dist/cli/commands/hook.d.ts.map +1 -0
- package/dist/cli/commands/hook.js +299 -0
- package/dist/cli/commands/hook.js.map +1 -0
- package/dist/cli/commands/index.d.ts +1 -1
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +892 -776
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/mcp.d.ts.map +1 -1
- package/dist/cli/commands/mcp.js +8 -16
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/memory.d.ts.map +1 -1
- package/dist/cli/commands/memory.js +8 -8
- package/dist/cli/commands/memory.js.map +1 -1
- package/dist/cli/commands/migrate.d.ts.map +1 -1
- package/dist/cli/commands/migrate.js +3 -3
- package/dist/cli/commands/migrate.js.map +1 -1
- package/dist/cli/commands/monitor.d.ts.map +1 -1
- package/dist/cli/commands/monitor.js +50 -34
- package/dist/cli/commands/monitor.js.map +1 -1
- package/dist/cli/commands/ruv-swarm.d.ts +7 -1
- package/dist/cli/commands/ruv-swarm.d.ts.map +1 -1
- package/dist/cli/commands/ruv-swarm.js +6 -6
- package/dist/cli/commands/ruv-swarm.js.map +1 -1
- package/dist/cli/commands/session.d.ts.map +1 -1
- package/dist/cli/commands/session.js +22 -17
- package/dist/cli/commands/session.js.map +1 -1
- package/dist/cli/commands/sparc.d.ts +1 -1
- package/dist/cli/commands/sparc.d.ts.map +1 -1
- package/dist/cli/commands/sparc.js +146 -126
- package/dist/cli/commands/sparc.js.map +1 -1
- package/dist/cli/commands/start/event-emitter.js +1 -1
- package/dist/cli/commands/start/event-emitter.js.map +1 -1
- package/dist/cli/commands/start/process-manager.d.ts.map +1 -1
- package/dist/cli/commands/start/process-manager.js +20 -18
- package/dist/cli/commands/start/process-manager.js.map +1 -1
- package/dist/cli/commands/start/process-ui-simple.d.ts +4 -0
- package/dist/cli/commands/start/process-ui-simple.d.ts.map +1 -1
- package/dist/cli/commands/start/process-ui-simple.js +2 -2
- package/dist/cli/commands/start/process-ui-simple.js.map +1 -1
- package/dist/cli/commands/start/start-command.d.ts.map +1 -1
- package/dist/cli/commands/start/start-command.js +27 -15
- package/dist/cli/commands/start/start-command.js.map +1 -1
- package/dist/cli/commands/start/system-monitor.d.ts +3 -0
- package/dist/cli/commands/start/system-monitor.d.ts.map +1 -1
- package/dist/cli/commands/start/system-monitor.js +16 -18
- package/dist/cli/commands/start/system-monitor.js.map +1 -1
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +28 -33
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/commands/swarm-spawn.d.ts.map +1 -1
- package/dist/cli/commands/swarm-spawn.js +8 -4
- package/dist/cli/commands/swarm-spawn.js.map +1 -1
- package/dist/cli/commands/swarm.d.ts +4 -1
- package/dist/cli/commands/swarm.d.ts.map +1 -1
- package/dist/cli/commands/swarm.js +23 -18
- package/dist/cli/commands/swarm.js.map +1 -1
- package/dist/cli/commands/task.d.ts +1 -1
- package/dist/cli/commands/task.d.ts.map +1 -1
- package/dist/cli/commands/task.js +31 -28
- package/dist/cli/commands/task.js.map +1 -1
- package/dist/cli/commands/workflow.d.ts.map +1 -1
- package/dist/cli/commands/workflow.js +82 -76
- package/dist/cli/commands/workflow.js.map +1 -1
- package/dist/cli/completion.d.ts +3 -0
- package/dist/cli/completion.d.ts.map +1 -1
- package/dist/cli/completion.js +15 -5
- package/dist/cli/completion.js.map +1 -1
- package/dist/cli/formatter.d.ts +3 -0
- package/dist/cli/formatter.d.ts.map +1 -1
- package/dist/cli/formatter.js +4 -4
- package/dist/cli/formatter.js.map +1 -1
- package/dist/cli/help-formatter.d.ts +49 -0
- package/dist/cli/help-formatter.d.ts.map +1 -0
- package/dist/cli/help-formatter.js +108 -0
- package/dist/cli/help-formatter.js.map +1 -0
- package/dist/cli/index-remote.d.ts +4 -0
- package/dist/cli/index-remote.d.ts.map +1 -1
- package/dist/cli/index-remote.js +2 -2
- package/dist/cli/index-remote.js.map +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +42 -48
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init/batch-tools.d.ts.map +1 -1
- package/dist/cli/init/batch-tools.js.map +1 -1
- package/dist/cli/init/claude-config.d.ts.map +1 -1
- package/dist/cli/init/claude-config.js +111 -106
- package/dist/cli/init/claude-config.js.map +1 -1
- package/dist/cli/init/directory-structure.d.ts.map +1 -1
- package/dist/cli/init/directory-structure.js +3 -3
- package/dist/cli/init/directory-structure.js.map +1 -1
- package/dist/cli/init/index.d.ts.map +1 -1
- package/dist/cli/init/index.js +1 -1
- package/dist/cli/init/index.js.map +1 -1
- package/dist/cli/init/sparc-environment.d.ts.map +1 -1
- package/dist/cli/init/sparc-environment.js +69 -69
- package/dist/cli/init/sparc-environment.js.map +1 -1
- package/dist/cli/init/swarm-commands.d.ts.map +1 -1
- package/dist/cli/init/swarm-commands.js +1 -1
- package/dist/cli/init/swarm-commands.js.map +1 -1
- package/dist/cli/main.d.ts +3 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +6 -6
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/node-compat.d.ts +106 -0
- package/dist/cli/node-compat.d.ts.map +1 -0
- package/dist/cli/node-compat.js +248 -0
- package/dist/cli/node-compat.js.map +1 -0
- package/dist/cli/node-repl.d.ts +4 -0
- package/dist/cli/node-repl.d.ts.map +1 -1
- package/dist/cli/node-repl.js +24 -107
- package/dist/cli/node-repl.js.map +1 -1
- package/dist/cli/repl.d.ts.map +1 -1
- package/dist/cli/repl.js +139 -99
- package/dist/cli/repl.js.map +1 -1
- package/dist/cli/runtime-detector.d.ts +128 -0
- package/dist/cli/runtime-detector.d.ts.map +1 -0
- package/dist/cli/runtime-detector.js +267 -0
- package/dist/cli/runtime-detector.js.map +1 -0
- package/dist/cli/simple-cli.d.ts +4 -0
- package/dist/cli/simple-cli.d.ts.map +1 -1
- package/dist/cli/simple-cli.js +113 -98
- package/dist/cli/simple-cli.js.map +1 -1
- package/dist/cli/simple-commands/agent.d.ts +2 -0
- package/dist/cli/simple-commands/agent.d.ts.map +1 -0
- package/dist/cli/simple-commands/agent.js +175 -0
- package/dist/cli/simple-commands/agent.js.map +1 -0
- package/dist/cli/simple-commands/analysis.d.ts +2 -0
- package/dist/cli/simple-commands/analysis.d.ts.map +1 -0
- package/dist/cli/simple-commands/analysis.js +207 -0
- package/dist/cli/simple-commands/analysis.js.map +1 -0
- package/dist/cli/simple-commands/automation.d.ts +2 -0
- package/dist/cli/simple-commands/automation.d.ts.map +1 -0
- package/dist/cli/simple-commands/automation.js +246 -0
- package/dist/cli/simple-commands/automation.js.map +1 -0
- package/dist/cli/simple-commands/batch-manager.d.ts +2 -0
- package/dist/cli/simple-commands/batch-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/batch-manager.js +289 -0
- package/dist/cli/simple-commands/batch-manager.js.map +1 -0
- package/dist/cli/simple-commands/config.d.ts +2 -0
- package/dist/cli/simple-commands/config.d.ts.map +1 -0
- package/dist/cli/simple-commands/config.js +278 -0
- package/dist/cli/simple-commands/config.js.map +1 -0
- package/dist/cli/simple-commands/coordination.d.ts +2 -0
- package/dist/cli/simple-commands/coordination.d.ts.map +1 -0
- package/dist/cli/simple-commands/coordination.js +249 -0
- package/dist/cli/simple-commands/coordination.js.map +1 -0
- package/dist/cli/simple-commands/fix-hook-variables.d.ts +16 -0
- package/dist/cli/simple-commands/fix-hook-variables.d.ts.map +1 -0
- package/dist/cli/simple-commands/fix-hook-variables.js +320 -0
- package/dist/cli/simple-commands/fix-hook-variables.js.map +1 -0
- package/dist/cli/simple-commands/github.d.ts +3 -0
- package/dist/cli/simple-commands/github.d.ts.map +1 -0
- package/dist/cli/simple-commands/github.js +343 -0
- package/dist/cli/simple-commands/github.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts +68 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js +264 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/communication.d.ts +176 -0
- package/dist/cli/simple-commands/hive-mind/communication.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/communication.js +611 -0
- package/dist/cli/simple-commands/hive-mind/communication.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/core.d.ts +306 -0
- package/dist/cli/simple-commands/hive-mind/core.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/core.js +840 -0
- package/dist/cli/simple-commands/hive-mind/core.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts +32 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js +702 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts +270 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js +1211 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/memory.d.ts +334 -0
- package/dist/cli/simple-commands/hive-mind/memory.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/memory.js +1068 -0
- package/dist/cli/simple-commands/hive-mind/memory.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts +256 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js +520 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/queen.d.ts +294 -0
- package/dist/cli/simple-commands/hive-mind/queen.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/queen.js +697 -0
- package/dist/cli/simple-commands/hive-mind/queen.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts +139 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.js +833 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts +6 -0
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind-optimize.js +317 -0
- package/dist/cli/simple-commands/hive-mind-optimize.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind.d.ts +18 -0
- package/dist/cli/simple-commands/hive-mind.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind.js +2430 -0
- package/dist/cli/simple-commands/hive-mind.js.map +1 -0
- package/dist/cli/simple-commands/hook-safety.d.ts +177 -0
- package/dist/cli/simple-commands/hook-safety.d.ts.map +1 -0
- package/dist/cli/simple-commands/hook-safety.js +590 -0
- package/dist/cli/simple-commands/hook-safety.js.map +1 -0
- package/dist/cli/simple-commands/hooks.d.ts +3 -0
- package/dist/cli/simple-commands/hooks.d.ts.map +1 -0
- package/dist/cli/simple-commands/hooks.js +995 -0
- package/dist/cli/simple-commands/hooks.js.map +1 -0
- package/dist/cli/simple-commands/init/batch-init.d.ts +137 -0
- package/dist/cli/simple-commands/init/batch-init.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/batch-init.js +557 -0
- package/dist/cli/simple-commands/init/batch-init.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js +432 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +870 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +332 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts +3 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +488 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js +50 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts +3 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js +288 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts +29 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.js +159 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.js.map +1 -0
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts +2 -0
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/executable-wrapper.js +116 -0
- package/dist/cli/simple-commands/init/executable-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts +23 -0
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/gitignore-updater.js +126 -0
- package/dist/cli/simple-commands/init/gitignore-updater.js.map +1 -0
- package/dist/cli/simple-commands/init/help.d.ts +2 -0
- package/dist/cli/simple-commands/init/help.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/help.js +95 -0
- package/dist/cli/simple-commands/init/help.js.map +1 -0
- package/dist/cli/simple-commands/init/index.d.ts +2 -0
- package/dist/cli/simple-commands/init/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/index.js +1127 -0
- package/dist/cli/simple-commands/init/index.js.map +1 -0
- package/dist/cli/simple-commands/init/performance-monitor.d.ts +73 -0
- package/dist/cli/simple-commands/init/performance-monitor.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/performance-monitor.js +277 -0
- package/dist/cli/simple-commands/init/performance-monitor.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts +95 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.js +485 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/index.d.ts +114 -0
- package/dist/cli/simple-commands/init/rollback/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/index.js +353 -0
- package/dist/cli/simple-commands/init/rollback/index.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts +161 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js +686 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts +112 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js +479 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts +121 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.js +431 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.js +61 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js +80 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/workflows.js +36 -0
- package/dist/cli/simple-commands/init/sparc/workflows.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc-structure.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc-structure.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc-structure.js +61 -0
- package/dist/cli/simple-commands/init/sparc-structure.js.map +1 -0
- package/dist/cli/simple-commands/init/template-copier.d.ts +27 -0
- package/dist/cli/simple-commands/init/template-copier.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/template-copier.js +510 -0
- package/dist/cli/simple-commands/init/template-copier.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts +5 -0
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/claude-md.js +646 -0
- package/dist/cli/simple-commands/init/templates/claude-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts +4 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.js +338 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts +18 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js +1300 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts +4 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js +257 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts +3 -0
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/readme-files.js +71 -0
- package/dist/cli/simple-commands/init/templates/readme-files.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts +30 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.js +1375 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts +63 -0
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/config-validator.js +307 -0
- package/dist/cli/simple-commands/init/validation/config-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts +117 -0
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/health-checker.js +538 -0
- package/dist/cli/simple-commands/init/validation/health-checker.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/index.d.ts +55 -0
- package/dist/cli/simple-commands/init/validation/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/index.js +347 -0
- package/dist/cli/simple-commands/init/validation/index.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts +76 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.js +342 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts +62 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.js +348 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts +86 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js +260 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js.map +1 -0
- package/dist/cli/simple-commands/mcp.d.ts +2 -0
- package/dist/cli/simple-commands/mcp.d.ts.map +1 -0
- package/dist/cli/simple-commands/mcp.js +366 -0
- package/dist/cli/simple-commands/mcp.js.map +1 -0
- package/dist/cli/simple-commands/memory.d.ts +2 -0
- package/dist/cli/simple-commands/memory.d.ts.map +1 -0
- package/dist/cli/simple-commands/memory.js +277 -0
- package/dist/cli/simple-commands/memory.js.map +1 -0
- package/dist/cli/simple-commands/migrate-hooks.d.ts +10 -0
- package/dist/cli/simple-commands/migrate-hooks.d.ts.map +1 -0
- package/dist/cli/simple-commands/migrate-hooks.js +57 -0
- package/dist/cli/simple-commands/migrate-hooks.js.map +1 -0
- package/dist/cli/simple-commands/monitor.d.ts +3 -0
- package/dist/cli/simple-commands/monitor.d.ts.map +1 -0
- package/dist/cli/simple-commands/monitor.js +366 -0
- package/dist/cli/simple-commands/monitor.js.map +1 -0
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts +55 -0
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts.map +1 -0
- package/dist/cli/simple-commands/process-ui-enhanced.js +680 -0
- package/dist/cli/simple-commands/process-ui-enhanced.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/architect.js +126 -0
- package/dist/cli/simple-commands/sparc-modes/architect.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/ask.js +127 -0
- package/dist/cli/simple-commands/sparc-modes/ask.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/code.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/code.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/code.js +149 -0
- package/dist/cli/simple-commands/sparc-modes/code.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/debug.js +113 -0
- package/dist/cli/simple-commands/sparc-modes/debug.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/devops.js +138 -0
- package/dist/cli/simple-commands/sparc-modes/devops.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/generic.js +35 -0
- package/dist/cli/simple-commands/sparc-modes/generic.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/index.d.ts +17 -0
- package/dist/cli/simple-commands/sparc-modes/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/index.js +196 -0
- package/dist/cli/simple-commands/sparc-modes/index.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/integration.js +56 -0
- package/dist/cli/simple-commands/sparc-modes/integration.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.js +131 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js +168 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js +150 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts +81 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.js +428 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.js +113 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.js +278 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.js.map +1 -0
- package/dist/cli/simple-commands/sparc.d.ts +2 -0
- package/dist/cli/simple-commands/sparc.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc.js +478 -0
- package/dist/cli/simple-commands/sparc.js.map +1 -0
- package/dist/cli/simple-commands/start-ui.d.ts +2 -0
- package/dist/cli/simple-commands/start-ui.d.ts.map +1 -0
- package/dist/cli/simple-commands/start-ui.js +135 -0
- package/dist/cli/simple-commands/start-ui.js.map +1 -0
- package/dist/cli/simple-commands/start-wrapper.d.ts +2 -0
- package/dist/cli/simple-commands/start-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/start-wrapper.js +263 -0
- package/dist/cli/simple-commands/start-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/start.d.ts +2 -0
- package/dist/cli/simple-commands/start.d.ts.map +1 -0
- package/dist/cli/simple-commands/start.js +3 -0
- package/dist/cli/simple-commands/start.js.map +1 -0
- package/dist/cli/simple-commands/status.d.ts +2 -0
- package/dist/cli/simple-commands/status.d.ts.map +1 -0
- package/dist/cli/simple-commands/status.js +273 -0
- package/dist/cli/simple-commands/status.js.map +1 -0
- package/dist/cli/simple-commands/swarm-executor.d.ts +68 -0
- package/dist/cli/simple-commands/swarm-executor.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-executor.js +212 -0
- package/dist/cli/simple-commands/swarm-executor.js.map +1 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts +69 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.js +294 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.js.map +1 -0
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts +68 -0
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-webui-integration.js +265 -0
- package/dist/cli/simple-commands/swarm-webui-integration.js.map +1 -0
- package/dist/cli/simple-commands/swarm.d.ts +2 -0
- package/dist/cli/simple-commands/swarm.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm.js +1742 -0
- package/dist/cli/simple-commands/swarm.js.map +1 -0
- package/dist/cli/simple-commands/task.d.ts +2 -0
- package/dist/cli/simple-commands/task.d.ts.map +1 -0
- package/dist/cli/simple-commands/task.js +190 -0
- package/dist/cli/simple-commands/task.js.map +1 -0
- package/dist/cli/simple-commands/training.d.ts +2 -0
- package/dist/cli/simple-commands/training.d.ts.map +1 -0
- package/dist/cli/simple-commands/training.js +240 -0
- package/dist/cli/simple-commands/training.js.map +1 -0
- package/dist/cli/simple-commands/web-server.d.ts +152 -0
- package/dist/cli/simple-commands/web-server.d.ts.map +1 -0
- package/dist/cli/simple-commands/web-server.js +816 -0
- package/dist/cli/simple-commands/web-server.js.map +1 -0
- package/dist/cli/simple-mcp.d.ts.map +1 -1
- package/dist/cli/simple-mcp.js +2 -4
- package/dist/cli/simple-mcp.js.map +1 -1
- package/dist/cli/simple-orchestrator.d.ts +3 -0
- package/dist/cli/simple-orchestrator.d.ts.map +1 -1
- package/dist/cli/simple-orchestrator.js +38 -36
- package/dist/cli/simple-orchestrator.js.map +1 -1
- package/dist/cli/ui/compatible-ui.d.ts +4 -0
- package/dist/cli/ui/compatible-ui.d.ts.map +1 -1
- package/dist/cli/ui/compatible-ui.js +10 -9
- package/dist/cli/ui/compatible-ui.js.map +1 -1
- package/dist/cli/ui/fallback-handler.d.ts.map +1 -1
- package/dist/cli/ui/fallback-handler.js +8 -5
- package/dist/cli/ui/fallback-handler.js.map +1 -1
- package/dist/cli/ui/index.d.ts +2 -2
- package/dist/cli/ui/index.d.ts.map +1 -1
- package/dist/cli/ui/index.js +7 -5
- package/dist/cli/ui/index.js.map +1 -1
- package/dist/cli/utils/environment-detector.d.ts +7 -0
- package/dist/cli/utils/environment-detector.d.ts.map +1 -1
- package/dist/cli/utils/environment-detector.js +39 -10
- package/dist/cli/utils/environment-detector.js.map +1 -1
- package/dist/cli/utils/interactive-detector.d.ts +25 -0
- package/dist/cli/utils/interactive-detector.d.ts.map +1 -0
- package/dist/cli/utils/interactive-detector.js +129 -0
- package/dist/cli/utils/interactive-detector.js.map +1 -0
- package/dist/cli/utils/prompt-defaults.d.ts.map +1 -1
- package/dist/cli/utils/prompt-defaults.js +6 -7
- package/dist/cli/utils/prompt-defaults.js.map +1 -1
- package/dist/cli/utils/safe-interactive.d.ts +30 -0
- package/dist/cli/utils/safe-interactive.d.ts.map +1 -0
- package/dist/cli/utils/safe-interactive.js +134 -0
- package/dist/cli/utils/safe-interactive.js.map +1 -0
- package/dist/cli/utils.d.ts +74 -0
- package/dist/cli/utils.d.ts.map +1 -0
- package/dist/cli/utils.js +578 -0
- package/dist/cli/utils.js.map +1 -0
- package/dist/cli/validation-helper.d.ts +27 -0
- package/dist/cli/validation-helper.d.ts.map +1 -0
- package/dist/cli/validation-helper.js +72 -0
- package/dist/cli/validation-helper.js.map +1 -0
- package/dist/communication/message-bus.d.ts.map +1 -1
- package/dist/communication/message-bus.js +86 -75
- package/dist/communication/message-bus.js.map +1 -1
- package/dist/config/config-manager.d.ts +38 -0
- package/dist/config/config-manager.d.ts.map +1 -1
- package/dist/config/config-manager.js +112 -5
- package/dist/config/config-manager.js.map +1 -1
- package/dist/config/ruv-swarm-config.d.ts +6 -0
- package/dist/config/ruv-swarm-config.d.ts.map +1 -1
- package/dist/config/ruv-swarm-config.js +37 -22
- package/dist/config/ruv-swarm-config.js.map +1 -1
- package/dist/config/ruv-swarm-integration.d.ts.map +1 -1
- package/dist/config/ruv-swarm-integration.js +21 -21
- package/dist/config/ruv-swarm-integration.js.map +1 -1
- package/dist/constants/agent-types.d.ts +5 -5
- package/dist/constants/agent-types.d.ts.map +1 -1
- package/dist/constants/agent-types.js +4 -4
- package/dist/constants/agent-types.js.map +1 -1
- package/dist/coordination/advanced-scheduler.d.ts.map +1 -1
- package/dist/coordination/advanced-scheduler.js +6 -10
- package/dist/coordination/advanced-scheduler.js.map +1 -1
- package/dist/coordination/advanced-task-executor.d.ts.map +1 -1
- package/dist/coordination/advanced-task-executor.js +40 -36
- package/dist/coordination/advanced-task-executor.js.map +1 -1
- package/dist/coordination/background-executor.d.ts.map +1 -1
- package/dist/coordination/background-executor.js +17 -16
- package/dist/coordination/background-executor.js.map +1 -1
- package/dist/coordination/circuit-breaker.d.ts.map +1 -1
- package/dist/coordination/circuit-breaker.js +3 -0
- package/dist/coordination/circuit-breaker.js.map +1 -1
- package/dist/coordination/conflict-resolution.d.ts.map +1 -1
- package/dist/coordination/conflict-resolution.js +10 -8
- package/dist/coordination/conflict-resolution.js.map +1 -1
- package/dist/coordination/dependency-graph.d.ts.map +1 -1
- package/dist/coordination/dependency-graph.js +4 -3
- package/dist/coordination/dependency-graph.js.map +1 -1
- package/dist/coordination/hive-orchestrator.d.ts.map +1 -1
- package/dist/coordination/hive-orchestrator.js +29 -25
- package/dist/coordination/hive-orchestrator.js.map +1 -1
- package/dist/coordination/hive-protocol.d.ts.map +1 -1
- package/dist/coordination/hive-protocol.js +22 -23
- package/dist/coordination/hive-protocol.js.map +1 -1
- package/dist/coordination/index.d.ts +1 -1
- package/dist/coordination/index.d.ts.map +1 -1
- package/dist/coordination/index.js +1 -1
- package/dist/coordination/index.js.map +1 -1
- package/dist/coordination/load-balancer.d.ts.map +1 -1
- package/dist/coordination/load-balancer.js +67 -59
- package/dist/coordination/load-balancer.js.map +1 -1
- package/dist/coordination/manager.d.ts.map +1 -1
- package/dist/coordination/manager.js +2 -8
- package/dist/coordination/manager.js.map +1 -1
- package/dist/coordination/messaging.d.ts.map +1 -1
- package/dist/coordination/messaging.js +4 -4
- package/dist/coordination/messaging.js.map +1 -1
- package/dist/coordination/metrics.d.ts.map +1 -1
- package/dist/coordination/metrics.js +11 -9
- package/dist/coordination/metrics.js.map +1 -1
- package/dist/coordination/resources.d.ts.map +1 -1
- package/dist/coordination/resources.js +10 -6
- package/dist/coordination/resources.js.map +1 -1
- package/dist/coordination/scheduler.d.ts.map +1 -1
- package/dist/coordination/scheduler.js +4 -4
- package/dist/coordination/scheduler.js.map +1 -1
- package/dist/coordination/swarm-coordinator.d.ts.map +1 -1
- package/dist/coordination/swarm-coordinator.js +32 -34
- package/dist/coordination/swarm-coordinator.js.map +1 -1
- package/dist/coordination/swarm-monitor.d.ts.map +1 -1
- package/dist/coordination/swarm-monitor.js +17 -17
- package/dist/coordination/swarm-monitor.js.map +1 -1
- package/dist/coordination/work-stealing.d.ts.map +1 -1
- package/dist/coordination/work-stealing.js +3 -0
- package/dist/coordination/work-stealing.js.map +1 -1
- package/dist/core/config.d.ts +4 -0
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +28 -31
- package/dist/core/config.js.map +1 -1
- package/dist/core/event-bus.d.ts +3 -0
- package/dist/core/event-bus.d.ts.map +1 -1
- package/dist/core/event-bus.js.map +1 -1
- package/dist/core/json-persistence.d.ts +3 -0
- package/dist/core/json-persistence.d.ts.map +1 -1
- package/dist/core/json-persistence.js +19 -23
- package/dist/core/json-persistence.js.map +1 -1
- package/dist/core/logger.d.ts +5 -0
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/logger.js +5 -6
- package/dist/core/logger.js.map +1 -1
- package/dist/core/orchestrator-fixed.d.ts.map +1 -1
- package/dist/core/orchestrator-fixed.js +4 -1
- package/dist/core/orchestrator-fixed.js.map +1 -1
- package/dist/core/orchestrator.d.ts +20 -0
- package/dist/core/orchestrator.d.ts.map +1 -1
- package/dist/core/orchestrator.js +126 -33
- package/dist/core/orchestrator.js.map +1 -1
- package/dist/core/persistence.d.ts +3 -0
- package/dist/core/persistence.d.ts.map +1 -1
- package/dist/core/persistence.js +25 -19
- package/dist/core/persistence.js.map +1 -1
- package/dist/enterprise/analytics-manager.d.ts.map +1 -1
- package/dist/enterprise/analytics-manager.js +141 -134
- package/dist/enterprise/analytics-manager.js.map +1 -1
- package/dist/enterprise/audit-manager.d.ts.map +1 -1
- package/dist/enterprise/audit-manager.js +144 -122
- package/dist/enterprise/audit-manager.js.map +1 -1
- package/dist/enterprise/cloud-manager.d.ts.map +1 -1
- package/dist/enterprise/cloud-manager.js +104 -99
- package/dist/enterprise/cloud-manager.js.map +1 -1
- package/dist/enterprise/deployment-manager.d.ts.map +1 -1
- package/dist/enterprise/deployment-manager.js +104 -97
- package/dist/enterprise/deployment-manager.js.map +1 -1
- package/dist/enterprise/index.d.ts +6 -6
- package/dist/enterprise/index.d.ts.map +1 -1
- package/dist/enterprise/project-manager.d.ts.map +1 -1
- package/dist/enterprise/project-manager.js +74 -66
- package/dist/enterprise/project-manager.js.map +1 -1
- package/dist/enterprise/security-manager.d.ts.map +1 -1
- package/dist/enterprise/security-manager.js +137 -129
- package/dist/enterprise/security-manager.js.map +1 -1
- package/dist/hive-mind/core/Agent.d.ts.map +1 -1
- package/dist/hive-mind/core/Agent.js +36 -36
- package/dist/hive-mind/core/Agent.js.map +1 -1
- package/dist/hive-mind/core/Communication.d.ts.map +1 -1
- package/dist/hive-mind/core/Communication.js +17 -17
- package/dist/hive-mind/core/Communication.js.map +1 -1
- package/dist/hive-mind/core/DatabaseManager.d.ts +6 -0
- package/dist/hive-mind/core/DatabaseManager.d.ts.map +1 -1
- package/dist/hive-mind/core/DatabaseManager.js +170 -73
- package/dist/hive-mind/core/DatabaseManager.js.map +1 -1
- package/dist/hive-mind/core/HiveMind.d.ts.map +1 -1
- package/dist/hive-mind/core/HiveMind.js +35 -35
- package/dist/hive-mind/core/HiveMind.js.map +1 -1
- package/dist/hive-mind/core/Memory.d.ts.map +1 -1
- package/dist/hive-mind/core/Memory.js +78 -71
- package/dist/hive-mind/core/Memory.js.map +1 -1
- package/dist/hive-mind/core/MemoryMonitor.d.ts.map +1 -1
- package/dist/hive-mind/core/MemoryMonitor.js +38 -38
- package/dist/hive-mind/core/MemoryMonitor.js.map +1 -1
- package/dist/hive-mind/core/Queen.d.ts.map +1 -1
- package/dist/hive-mind/core/Queen.js +110 -47
- package/dist/hive-mind/core/Queen.js.map +1 -1
- package/dist/hive-mind/integration/ConsensusEngine.d.ts.map +1 -1
- package/dist/hive-mind/integration/ConsensusEngine.js +25 -23
- package/dist/hive-mind/integration/ConsensusEngine.js.map +1 -1
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts.map +1 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js +2 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js.map +1 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts.map +1 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.js +60 -58
- package/dist/hive-mind/integration/SwarmOrchestrator.js.map +1 -1
- package/dist/hive-mind/types.d.ts.map +1 -1
- package/dist/integration/mock-components.d.ts.map +1 -1
- package/dist/integration/mock-components.js +21 -21
- package/dist/integration/mock-components.js.map +1 -1
- package/dist/integration/system-integration.d.ts.map +1 -1
- package/dist/integration/system-integration.js +29 -12
- package/dist/integration/system-integration.js.map +1 -1
- package/dist/mcp/auth.d.ts +1 -1
- package/dist/mcp/auth.d.ts.map +1 -1
- package/dist/mcp/auth.js +8 -1
- package/dist/mcp/auth.js.map +1 -1
- package/dist/mcp/claude-code-wrapper.d.ts.map +1 -1
- package/dist/mcp/claude-code-wrapper.js +169 -68
- package/dist/mcp/claude-code-wrapper.js.map +1 -1
- package/dist/mcp/claude-flow-tools.d.ts.map +1 -1
- package/dist/mcp/claude-flow-tools.js +42 -3
- package/dist/mcp/claude-flow-tools.js.map +1 -1
- package/dist/mcp/client.d.ts.map +1 -1
- package/dist/mcp/client.js.map +1 -1
- package/dist/mcp/index.d.ts +6 -6
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +9 -9
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/integrate-wrapper.d.ts.map +1 -1
- package/dist/mcp/integrate-wrapper.js +5 -7
- package/dist/mcp/integrate-wrapper.js.map +1 -1
- package/dist/mcp/lifecycle-manager.d.ts.map +1 -1
- package/dist/mcp/lifecycle-manager.js +8 -7
- package/dist/mcp/lifecycle-manager.js.map +1 -1
- package/dist/mcp/load-balancer.d.ts.map +1 -1
- package/dist/mcp/load-balancer.js +5 -1
- package/dist/mcp/load-balancer.js.map +1 -1
- package/dist/mcp/orchestration-integration.d.ts.map +1 -1
- package/dist/mcp/orchestration-integration.js +22 -9
- package/dist/mcp/orchestration-integration.js.map +1 -1
- package/dist/mcp/performance-monitor.d.ts.map +1 -1
- package/dist/mcp/performance-monitor.js +22 -19
- package/dist/mcp/performance-monitor.js.map +1 -1
- package/dist/mcp/protocol-manager.d.ts.map +1 -1
- package/dist/mcp/protocol-manager.js +8 -19
- package/dist/mcp/protocol-manager.js.map +1 -1
- package/dist/mcp/recovery/connection-health-monitor.d.ts.map +1 -1
- package/dist/mcp/recovery/connection-health-monitor.js +5 -5
- package/dist/mcp/recovery/connection-health-monitor.js.map +1 -1
- package/dist/mcp/recovery/connection-state-manager.d.ts +4 -0
- package/dist/mcp/recovery/connection-state-manager.d.ts.map +1 -1
- package/dist/mcp/recovery/connection-state-manager.js +13 -13
- package/dist/mcp/recovery/connection-state-manager.js.map +1 -1
- package/dist/mcp/recovery/fallback-coordinator.d.ts.map +1 -1
- package/dist/mcp/recovery/fallback-coordinator.js +5 -5
- package/dist/mcp/recovery/fallback-coordinator.js.map +1 -1
- package/dist/mcp/recovery/index.d.ts +4 -4
- package/dist/mcp/recovery/index.d.ts.map +1 -1
- package/dist/mcp/recovery/index.js +4 -4
- package/dist/mcp/recovery/index.js.map +1 -1
- package/dist/mcp/recovery/reconnection-manager.d.ts.map +1 -1
- package/dist/mcp/recovery/reconnection-manager.js +1 -1
- package/dist/mcp/recovery/reconnection-manager.js.map +1 -1
- package/dist/mcp/recovery/recovery-manager.d.ts.map +1 -1
- package/dist/mcp/recovery/recovery-manager.js +2 -4
- package/dist/mcp/recovery/recovery-manager.js.map +1 -1
- package/dist/mcp/router.d.ts.map +1 -1
- package/dist/mcp/router.js +3 -0
- package/dist/mcp/router.js.map +1 -1
- package/dist/mcp/ruv-swarm-tools.d.ts.map +1 -1
- package/dist/mcp/ruv-swarm-tools.js +132 -102
- package/dist/mcp/ruv-swarm-tools.js.map +1 -1
- package/dist/mcp/server-with-wrapper.d.ts +3 -0
- package/dist/mcp/server-with-wrapper.d.ts.map +1 -1
- package/dist/mcp/server-with-wrapper.js +2 -3
- package/dist/mcp/server-with-wrapper.js.map +1 -1
- package/dist/mcp/server-wrapper-mode.d.ts +5 -0
- package/dist/mcp/server-wrapper-mode.d.ts.map +1 -1
- package/dist/mcp/server-wrapper-mode.js +2 -3
- package/dist/mcp/server-wrapper-mode.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +12 -7
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/session-manager.d.ts.map +1 -1
- package/dist/mcp/session-manager.js +4 -3
- package/dist/mcp/session-manager.js.map +1 -1
- package/dist/mcp/sparc-modes.d.ts.map +1 -1
- package/dist/mcp/sparc-modes.js +15 -15
- package/dist/mcp/sparc-modes.js.map +1 -1
- package/dist/mcp/swarm-tools.d.ts.map +1 -1
- package/dist/mcp/swarm-tools.js +100 -80
- package/dist/mcp/swarm-tools.js.map +1 -1
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +28 -12
- package/dist/mcp/tools.js.map +1 -1
- package/dist/mcp/transports/base.d.ts.map +1 -1
- package/dist/mcp/transports/base.js +3 -0
- package/dist/mcp/transports/base.js.map +1 -1
- package/dist/mcp/transports/http.d.ts +3 -0
- package/dist/mcp/transports/http.d.ts.map +1 -1
- package/dist/mcp/transports/http.js +3 -3
- package/dist/mcp/transports/http.js.map +1 -1
- package/dist/mcp/transports/stdio.d.ts +3 -0
- package/dist/mcp/transports/stdio.d.ts.map +1 -1
- package/dist/mcp/transports/stdio.js +3 -0
- package/dist/mcp/transports/stdio.js.map +1 -1
- package/dist/memory/advanced-memory-manager.d.ts.map +1 -1
- package/dist/memory/advanced-memory-manager.js +109 -100
- package/dist/memory/advanced-memory-manager.js.map +1 -1
- package/dist/memory/backends/base.d.ts.map +1 -1
- package/dist/memory/backends/base.js +3 -0
- package/dist/memory/backends/base.js.map +1 -1
- package/dist/memory/backends/markdown.d.ts +3 -0
- package/dist/memory/backends/markdown.d.ts.map +1 -1
- package/dist/memory/backends/markdown.js +8 -8
- package/dist/memory/backends/markdown.js.map +1 -1
- package/dist/memory/backends/sqlite.d.ts +4 -0
- package/dist/memory/backends/sqlite.d.ts.map +1 -1
- package/dist/memory/backends/sqlite.js +23 -4
- package/dist/memory/backends/sqlite.js.map +1 -1
- package/dist/memory/cache.d.ts.map +1 -1
- package/dist/memory/cache.js +5 -3
- package/dist/memory/cache.js.map +1 -1
- package/dist/memory/distributed-memory.d.ts.map +1 -1
- package/dist/memory/distributed-memory.js +27 -28
- package/dist/memory/distributed-memory.js.map +1 -1
- package/dist/memory/fallback-store.d.ts +28 -0
- package/dist/memory/fallback-store.d.ts.map +1 -0
- package/dist/memory/fallback-store.js +101 -0
- package/dist/memory/fallback-store.js.map +1 -0
- package/dist/memory/in-memory-store.d.ts +41 -0
- package/dist/memory/in-memory-store.d.ts.map +1 -0
- package/dist/memory/in-memory-store.js +173 -0
- package/dist/memory/in-memory-store.js.map +1 -0
- package/dist/memory/indexer.d.ts.map +1 -1
- package/dist/memory/indexer.js +4 -1
- package/dist/memory/indexer.js.map +1 -1
- package/dist/memory/manager.d.ts.map +1 -1
- package/dist/memory/manager.js +17 -20
- package/dist/memory/manager.js.map +1 -1
- package/dist/memory/sqlite-store.d.ts +34 -0
- package/dist/memory/sqlite-store.d.ts.map +1 -0
- package/dist/memory/sqlite-store.js +266 -0
- package/dist/memory/sqlite-store.js.map +1 -0
- package/dist/memory/sqlite-wrapper.d.ts +38 -0
- package/dist/memory/sqlite-wrapper.d.ts.map +1 -0
- package/dist/memory/sqlite-wrapper.js +157 -0
- package/dist/memory/sqlite-wrapper.js.map +1 -0
- package/dist/memory/swarm-memory.d.ts.map +1 -1
- package/dist/memory/swarm-memory.js +37 -44
- package/dist/memory/swarm-memory.js.map +1 -1
- package/dist/migration/index.d.ts +4 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +8 -8
- package/dist/migration/index.js.map +1 -1
- package/dist/migration/logger.d.ts.map +1 -1
- package/dist/migration/logger.js +5 -5
- package/dist/migration/logger.js.map +1 -1
- package/dist/migration/migration-analyzer.d.ts +3 -0
- package/dist/migration/migration-analyzer.d.ts.map +1 -1
- package/dist/migration/migration-analyzer.js +25 -20
- package/dist/migration/migration-analyzer.js.map +1 -1
- package/dist/migration/migration-runner.d.ts.map +1 -1
- package/dist/migration/migration-runner.js +35 -29
- package/dist/migration/migration-runner.js.map +1 -1
- package/dist/migration/migration-validator.d.ts +3 -0
- package/dist/migration/migration-validator.d.ts.map +1 -1
- package/dist/migration/migration-validator.js +22 -26
- package/dist/migration/migration-validator.js.map +1 -1
- package/dist/migration/progress-reporter.d.ts +3 -0
- package/dist/migration/progress-reporter.d.ts.map +1 -1
- package/dist/migration/progress-reporter.js +8 -8
- package/dist/migration/progress-reporter.js.map +1 -1
- package/dist/migration/rollback-manager.d.ts +3 -0
- package/dist/migration/rollback-manager.d.ts.map +1 -1
- package/dist/migration/rollback-manager.js +29 -26
- package/dist/migration/rollback-manager.js.map +1 -1
- package/dist/monitoring/diagnostics.d.ts.map +1 -1
- package/dist/monitoring/diagnostics.js +49 -37
- package/dist/monitoring/diagnostics.js.map +1 -1
- package/dist/monitoring/health-check.d.ts.map +1 -1
- package/dist/monitoring/health-check.js +24 -25
- package/dist/monitoring/health-check.js.map +1 -1
- package/dist/monitoring/real-time-monitor.d.ts.map +1 -1
- package/dist/monitoring/real-time-monitor.js +71 -58
- package/dist/monitoring/real-time-monitor.js.map +1 -1
- package/dist/providers/anthropic-provider.d.ts +27 -0
- package/dist/providers/anthropic-provider.d.ts.map +1 -0
- package/dist/providers/anthropic-provider.js +247 -0
- package/dist/providers/anthropic-provider.js.map +1 -0
- package/dist/providers/base-provider.d.ts +134 -0
- package/dist/providers/base-provider.d.ts.map +1 -0
- package/dist/providers/base-provider.js +407 -0
- package/dist/providers/base-provider.js.map +1 -0
- package/dist/providers/cohere-provider.d.ts +28 -0
- package/dist/providers/cohere-provider.d.ts.map +1 -0
- package/dist/providers/cohere-provider.js +407 -0
- package/dist/providers/cohere-provider.js.map +1 -0
- package/dist/providers/google-provider.d.ts +23 -0
- package/dist/providers/google-provider.d.ts.map +1 -0
- package/dist/providers/google-provider.js +362 -0
- package/dist/providers/google-provider.js.map +1 -0
- package/dist/providers/index.d.ts +14 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +18 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/ollama-provider.d.ts +23 -0
- package/dist/providers/ollama-provider.d.ts.map +1 -0
- package/dist/providers/ollama-provider.js +374 -0
- package/dist/providers/ollama-provider.js.map +1 -0
- package/dist/providers/openai-provider.d.ts +23 -0
- package/dist/providers/openai-provider.d.ts.map +1 -0
- package/dist/providers/openai-provider.js +349 -0
- package/dist/providers/openai-provider.js.map +1 -0
- package/dist/providers/provider-manager.d.ts +139 -0
- package/dist/providers/provider-manager.d.ts.map +1 -0
- package/dist/providers/provider-manager.js +513 -0
- package/dist/providers/provider-manager.js.map +1 -0
- package/dist/providers/types.d.ts +356 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/types.js +61 -0
- package/dist/providers/types.js.map +1 -0
- package/dist/providers/utils.d.ts +37 -0
- package/dist/providers/utils.d.ts.map +1 -0
- package/dist/providers/utils.js +322 -0
- package/dist/providers/utils.js.map +1 -0
- package/dist/resources/resource-manager.d.ts.map +1 -1
- package/dist/resources/resource-manager.js +96 -83
- package/dist/resources/resource-manager.js.map +1 -1
- package/dist/services/agentic-flow-hooks/hook-manager.d.ts +70 -0
- package/dist/services/agentic-flow-hooks/hook-manager.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/hook-manager.js +512 -0
- package/dist/services/agentic-flow-hooks/hook-manager.js.map +1 -0
- package/dist/services/agentic-flow-hooks/index.d.ts +36 -0
- package/dist/services/agentic-flow-hooks/index.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/index.js +325 -0
- package/dist/services/agentic-flow-hooks/index.js.map +1 -0
- package/dist/services/agentic-flow-hooks/llm-hooks.d.ts +33 -0
- package/dist/services/agentic-flow-hooks/llm-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/llm-hooks.js +415 -0
- package/dist/services/agentic-flow-hooks/llm-hooks.js.map +1 -0
- package/dist/services/agentic-flow-hooks/memory-hooks.d.ts +45 -0
- package/dist/services/agentic-flow-hooks/memory-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/memory-hooks.js +532 -0
- package/dist/services/agentic-flow-hooks/memory-hooks.js.map +1 -0
- package/dist/services/agentic-flow-hooks/neural-hooks.d.ts +39 -0
- package/dist/services/agentic-flow-hooks/neural-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/neural-hooks.js +561 -0
- package/dist/services/agentic-flow-hooks/neural-hooks.js.map +1 -0
- package/dist/services/agentic-flow-hooks/performance-hooks.d.ts +33 -0
- package/dist/services/agentic-flow-hooks/performance-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/performance-hooks.js +621 -0
- package/dist/services/agentic-flow-hooks/performance-hooks.js.map +1 -0
- package/dist/services/agentic-flow-hooks/types.d.ts +379 -0
- package/dist/services/agentic-flow-hooks/types.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/types.js +8 -0
- package/dist/services/agentic-flow-hooks/types.js.map +1 -0
- package/dist/services/agentic-flow-hooks/workflow-hooks.d.ts +39 -0
- package/dist/services/agentic-flow-hooks/workflow-hooks.d.ts.map +1 -0
- package/dist/services/agentic-flow-hooks/workflow-hooks.js +742 -0
- package/dist/services/agentic-flow-hooks/workflow-hooks.js.map +1 -0
- package/dist/swarm/claude-flow-executor.d.ts.map +1 -1
- package/dist/swarm/claude-flow-executor.js +37 -31
- package/dist/swarm/claude-flow-executor.js.map +1 -1
- package/dist/swarm/coordinator.d.ts +33 -0
- package/dist/swarm/coordinator.d.ts.map +1 -1
- package/dist/swarm/coordinator.js +411 -280
- package/dist/swarm/coordinator.js.map +1 -1
- package/dist/swarm/direct-executor.d.ts.map +1 -1
- package/dist/swarm/direct-executor.js +44 -37
- package/dist/swarm/direct-executor.js.map +1 -1
- package/dist/swarm/executor-v2.d.ts.map +1 -1
- package/dist/swarm/executor-v2.js +28 -27
- package/dist/swarm/executor-v2.js.map +1 -1
- package/dist/swarm/executor.d.ts +3 -0
- package/dist/swarm/executor.d.ts.map +1 -1
- package/dist/swarm/executor.js +58 -52
- package/dist/swarm/executor.js.map +1 -1
- package/dist/swarm/index.d.ts.map +1 -1
- package/dist/swarm/index.js +2 -2
- package/dist/swarm/index.js.map +1 -1
- package/dist/swarm/json-output-aggregator.d.ts +100 -0
- package/dist/swarm/json-output-aggregator.d.ts.map +1 -0
- package/dist/swarm/json-output-aggregator.js +250 -0
- package/dist/swarm/json-output-aggregator.js.map +1 -0
- package/dist/swarm/memory.d.ts.map +1 -1
- package/dist/swarm/memory.js +67 -67
- package/dist/swarm/memory.js.map +1 -1
- package/dist/swarm/optimizations/async-file-manager.d.ts +4 -0
- package/dist/swarm/optimizations/async-file-manager.d.ts.map +1 -1
- package/dist/swarm/optimizations/async-file-manager.js +19 -23
- package/dist/swarm/optimizations/async-file-manager.js.map +1 -1
- package/dist/swarm/optimizations/circular-buffer.d.ts.map +1 -1
- package/dist/swarm/optimizations/circular-buffer.js +2 -4
- package/dist/swarm/optimizations/circular-buffer.js.map +1 -1
- package/dist/swarm/optimizations/connection-pool.d.ts.map +1 -1
- package/dist/swarm/optimizations/connection-pool.js +12 -13
- package/dist/swarm/optimizations/connection-pool.js.map +1 -1
- package/dist/swarm/optimizations/index.js +2 -2
- package/dist/swarm/optimizations/optimized-executor.d.ts.map +1 -1
- package/dist/swarm/optimizations/optimized-executor.js +23 -29
- package/dist/swarm/optimizations/optimized-executor.js.map +1 -1
- package/dist/swarm/optimizations/ttl-map.d.ts.map +1 -1
- package/dist/swarm/optimizations/ttl-map.js +4 -4
- package/dist/swarm/optimizations/ttl-map.js.map +1 -1
- package/dist/swarm/prompt-cli.d.ts.map +1 -1
- package/dist/swarm/prompt-cli.js +18 -13
- package/dist/swarm/prompt-cli.js.map +1 -1
- package/dist/swarm/prompt-copier-enhanced.d.ts +1 -1
- package/dist/swarm/prompt-copier-enhanced.d.ts.map +1 -1
- package/dist/swarm/prompt-copier-enhanced.js +16 -13
- package/dist/swarm/prompt-copier-enhanced.js.map +1 -1
- package/dist/swarm/prompt-copier.d.ts.map +1 -1
- package/dist/swarm/prompt-copier.js +16 -18
- package/dist/swarm/prompt-copier.js.map +1 -1
- package/dist/swarm/prompt-manager.d.ts +1 -1
- package/dist/swarm/prompt-manager.d.ts.map +1 -1
- package/dist/swarm/prompt-manager.js +28 -22
- package/dist/swarm/prompt-manager.js.map +1 -1
- package/dist/swarm/prompt-utils.d.ts.map +1 -1
- package/dist/swarm/prompt-utils.js +34 -32
- package/dist/swarm/prompt-utils.js.map +1 -1
- package/dist/swarm/sparc-executor.d.ts.map +1 -1
- package/dist/swarm/sparc-executor.js +190 -124
- package/dist/swarm/sparc-executor.js.map +1 -1
- package/dist/swarm/strategies/auto.d.ts.map +1 -1
- package/dist/swarm/strategies/auto.js +105 -86
- package/dist/swarm/strategies/auto.js.map +1 -1
- package/dist/swarm/strategies/base.d.ts.map +1 -1
- package/dist/swarm/strategies/base.js +14 -11
- package/dist/swarm/strategies/base.js.map +1 -1
- package/dist/swarm/strategies/research.d.ts.map +1 -1
- package/dist/swarm/strategies/research.js +76 -71
- package/dist/swarm/strategies/research.js.map +1 -1
- package/dist/swarm/types.d.ts.map +1 -1
- package/dist/swarm/types.js +3 -0
- package/dist/swarm/types.js.map +1 -1
- package/dist/swarm/workers/copy-worker.js +4 -4
- package/dist/swarm/workers/copy-worker.js.map +1 -1
- package/dist/task/commands.d.ts.map +1 -1
- package/dist/task/commands.js +11 -7
- package/dist/task/commands.js.map +1 -1
- package/dist/task/coordination.d.ts.map +1 -1
- package/dist/task/coordination.js +75 -70
- package/dist/task/coordination.js.map +1 -1
- package/dist/task/engine.d.ts.map +1 -1
- package/dist/task/engine.js +35 -33
- package/dist/task/engine.js.map +1 -1
- package/dist/task/index.d.ts +3 -3
- package/dist/task/index.d.ts.map +1 -1
- package/dist/task/index.js +11 -11
- package/dist/task/index.js.map +1 -1
- package/dist/terminal/adapters/native.d.ts.map +1 -1
- package/dist/terminal/adapters/native.js +6 -6
- package/dist/terminal/adapters/native.js.map +1 -1
- package/dist/terminal/adapters/vscode.d.ts +3 -0
- package/dist/terminal/adapters/vscode.d.ts.map +1 -1
- package/dist/terminal/adapters/vscode.js +6 -4
- package/dist/terminal/adapters/vscode.js.map +1 -1
- package/dist/terminal/manager.d.ts.map +1 -1
- package/dist/terminal/manager.js +6 -8
- package/dist/terminal/manager.js.map +1 -1
- package/dist/terminal/pool.d.ts.map +1 -1
- package/dist/terminal/pool.js +3 -0
- package/dist/terminal/pool.js.map +1 -1
- package/dist/terminal/session.d.ts.map +1 -1
- package/dist/terminal/session.js +6 -2
- package/dist/terminal/session.js.map +1 -1
- package/dist/ui/hive-dashboard.d.ts.map +1 -1
- package/dist/ui/hive-dashboard.js +52 -33
- package/dist/ui/hive-dashboard.js.map +1 -1
- package/dist/utils/error-handler.d.ts +4 -3
- package/dist/utils/error-handler.d.ts.map +1 -1
- package/dist/utils/error-handler.js +5 -21
- package/dist/utils/error-handler.js.map +1 -1
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/helpers.d.ts +3 -0
- package/dist/utils/helpers.d.ts.map +1 -1
- package/dist/utils/helpers.js +5 -8
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/npx-isolated-cache.d.ts +17 -0
- package/dist/utils/npx-isolated-cache.d.ts.map +1 -0
- package/dist/utils/npx-isolated-cache.js +140 -0
- package/dist/utils/npx-isolated-cache.js.map +1 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +8 -4
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/type-guards.d.ts +117 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +166 -0
- package/dist/utils/type-guards.js.map +1 -0
- package/package.json +24 -15
- package/scripts/claude-flow-wrapper.sh +35 -0
- package/scripts/fix-timezone-issue-246.js +200 -0
- package/scripts/install-arm64.js +78 -0
- package/scripts/migrate-hooks.js +173 -0
- package/scripts/optimize-performance.js +400 -0
- package/scripts/performance-monitor.js +263 -0
- package/scripts/quick-fix-ts.js +281 -0
- package/scripts/ruv-swarm-safe.js +74 -0
- package/scripts/update-bin-version.js +32 -0
- package/src/adapters/cliffy-node.ts +27 -22
- package/src/agents/agent-manager.ts +145 -121
- package/src/agents/agent-registry.ts +77 -70
- package/src/api/claude-api-errors.ts +248 -0
- package/src/api/claude-client-enhanced.ts +616 -0
- package/src/api/claude-client.ts +756 -0
- package/src/api/routes/analysis.js +750 -735
- package/src/cli/__tests__/command-registry.test.js +42 -32
- package/src/cli/__tests__/simple-cli.test.js +42 -37
- package/src/cli/__tests__/utils.test.js +9 -9
- package/src/cli/agents/README.md +30 -4
- package/src/cli/agents/analyst.ts +161 -163
- package/src/cli/agents/architect.ts +126 -131
- package/src/cli/agents/base-agent.ts +48 -47
- package/src/cli/agents/capabilities.ts +87 -85
- package/src/cli/agents/coder.ts +127 -120
- package/src/cli/agents/coordinator.ts +72 -72
- package/src/cli/agents/hive-agents.ts +96 -70
- package/src/cli/agents/index.ts +70 -55
- package/src/cli/agents/researcher.ts +63 -74
- package/src/cli/agents/tester.ts +91 -98
- package/src/cli/cli-core.ts +56 -47
- package/src/cli/command-registry.js +196 -77
- package/src/cli/commands/advanced-memory-commands.ts +210 -142
- package/src/cli/commands/agent-simple.ts +146 -114
- package/src/cli/commands/agent.ts +119 -95
- package/src/cli/commands/claude-api.ts +276 -0
- package/src/cli/commands/claude.ts +96 -88
- package/src/cli/commands/config-integration.ts +120 -101
- package/src/cli/commands/config.ts +10 -8
- package/src/cli/commands/enterprise.ts +323 -187
- package/src/cli/commands/help-new.ts +246 -0
- package/src/cli/commands/help.ts +326 -183
- package/src/cli/commands/hive-mind/index.ts +16 -4
- package/src/cli/commands/hive-mind/init.ts +19 -12
- package/src/cli/commands/hive-mind/optimize-memory.ts +83 -53
- package/src/cli/commands/hive-mind/pause.ts +89 -0
- package/src/cli/commands/hive-mind/ps.ts +139 -0
- package/src/cli/commands/hive-mind/resume.ts +67 -0
- package/src/cli/commands/hive-mind/spawn.ts +37 -29
- package/src/cli/commands/hive-mind/status.ts +51 -51
- package/src/cli/commands/hive-mind/stop.ts +139 -0
- package/src/cli/commands/hive-mind/task.ts +65 -54
- package/src/cli/commands/hive-mind/wizard.ts +181 -167
- package/src/cli/commands/hive.ts +136 -96
- package/src/cli/commands/hook-types.ts +148 -0
- package/src/cli/commands/hook-validator.ts +195 -0
- package/src/cli/commands/hook.ts +348 -0
- package/src/cli/commands/index.ts +1203 -1019
- package/src/cli/commands/mcp.ts +105 -94
- package/src/cli/commands/memory.ts +24 -21
- package/src/cli/commands/migrate.ts +24 -24
- package/src/cli/commands/monitor.ts +123 -93
- package/src/cli/commands/ruv-swarm.ts +131 -122
- package/src/cli/commands/session.ts +60 -45
- package/src/cli/commands/sparc.ts +170 -139
- package/src/cli/commands/start/event-emitter.ts +2 -2
- package/src/cli/commands/start/index.ts +1 -1
- package/src/cli/commands/start/process-manager.ts +30 -47
- package/src/cli/commands/start/process-ui-simple.ts +60 -49
- package/src/cli/commands/start/process-ui.ts +1 -1
- package/src/cli/commands/start/start-command.ts +104 -75
- package/src/cli/commands/start/system-monitor.ts +35 -41
- package/src/cli/commands/start/types.ts +3 -3
- package/src/cli/commands/start.ts +1 -1
- package/src/cli/commands/status.ts +67 -67
- package/src/cli/commands/swarm-new.ts.disabled +1620 -0
- package/src/cli/commands/swarm-spawn.ts +28 -15
- package/src/cli/commands/swarm.ts +224 -149
- package/src/cli/commands/task.ts +63 -66
- package/src/cli/commands/workflow.ts +186 -173
- package/src/cli/completion.ts +34 -19
- package/src/cli/create-enhanced-task.js +49 -17
- package/src/cli/formatter.ts +39 -38
- package/src/cli/help-formatter.js +145 -0
- package/src/cli/help-formatter.ts +173 -0
- package/src/cli/help-text.js +297 -9
- package/src/cli/index-remote.ts +13 -10
- package/src/cli/index.ts +87 -81
- package/src/cli/init/batch-tools.ts +4 -5
- package/src/cli/init/claude-config.ts +125 -118
- package/src/cli/init/directory-structure.ts +10 -11
- package/src/cli/init/index.ts +13 -13
- package/src/cli/init/sparc-environment.ts +90 -74
- package/src/cli/init/swarm-commands.ts +5 -6
- package/src/cli/init/utils.ts +1 -1
- package/src/cli/main.ts +9 -10
- package/src/cli/node-compat.js +139 -10
- package/src/cli/node-repl.ts +104 -180
- package/src/cli/repl.ts +240 -183
- package/src/cli/runtime-detector.js +24 -19
- package/src/cli/simple-cli.js +479 -394
- package/src/cli/simple-cli.ts +437 -376
- package/src/cli/simple-commands/__tests__/agent.test.js +49 -55
- package/src/cli/simple-commands/__tests__/memory.test.js +4 -401
- package/src/cli/simple-commands/__tests__/swarm.test.js +49 -55
- package/src/cli/simple-commands/__tests__/task.test.js +4 -478
- package/src/cli/simple-commands/agent.js +27 -27
- package/src/cli/simple-commands/analysis.js +179 -161
- package/src/cli/simple-commands/automation.js +226 -205
- package/src/cli/simple-commands/batch-manager.js +98 -88
- package/src/cli/simple-commands/config.js +65 -60
- package/src/cli/simple-commands/coordination.js +220 -184
- package/src/cli/simple-commands/enhanced-ui-views.js +142 -115
- package/src/cli/simple-commands/enhanced-webui-complete.js +267 -167
- package/src/cli/simple-commands/fix-hook-variables.js +363 -0
- package/src/cli/simple-commands/github/gh-coordinator.js +63 -53
- package/src/cli/simple-commands/github/github-api.js +45 -47
- package/src/cli/simple-commands/github.js +88 -34
- package/src/cli/simple-commands/hive-mind/auto-save-middleware.js +311 -0
- package/src/cli/simple-commands/hive-mind/communication.js +198 -185
- package/src/cli/simple-commands/hive-mind/core.js +292 -305
- package/src/cli/simple-commands/hive-mind/db-optimizer.js +872 -0
- package/src/cli/simple-commands/hive-mind/mcp-wrapper.js +679 -263
- package/src/cli/simple-commands/hive-mind/memory.js +374 -291
- package/src/cli/simple-commands/hive-mind/performance-optimizer.js +88 -79
- package/src/cli/simple-commands/hive-mind/performance-test.js +61 -49
- package/src/cli/simple-commands/hive-mind/queen.js +223 -213
- package/src/cli/simple-commands/hive-mind/session-manager.js +996 -0
- package/src/cli/simple-commands/hive-mind-optimize.js +361 -0
- package/src/cli/simple-commands/hive-mind-wizard.js +214 -212
- package/src/cli/simple-commands/hive-mind.js +1403 -428
- package/src/cli/simple-commands/hive.js +12 -12
- package/src/cli/simple-commands/hook-safety.js +671 -0
- package/src/cli/simple-commands/hooks.js +1129 -320
- package/src/cli/simple-commands/init/README.md +8 -1
- package/src/cli/simple-commands/init/VALIDATION_ROLLBACK.md +27 -1
- package/src/cli/simple-commands/init/batch-init.js +105 -100
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +6 -6
- package/src/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +6 -6
- package/src/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +64 -37
- package/src/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +85 -71
- package/src/cli/simple-commands/init/claude-commands/slash-commands.js +40 -19
- package/src/cli/simple-commands/init/claude-commands/sparc-commands.js +149 -63
- package/src/cli/simple-commands/init/copy-revised-templates.js +175 -0
- package/src/cli/simple-commands/init/executable-wrapper.js +28 -21
- package/src/cli/simple-commands/init/gitignore-updater.js +137 -0
- package/src/cli/simple-commands/init/help.js +10 -3
- package/src/cli/simple-commands/init/index.js +579 -421
- package/src/cli/simple-commands/init/performance-monitor.js +71 -64
- package/src/cli/simple-commands/init/rollback/backup-manager.js +44 -64
- package/src/cli/simple-commands/init/rollback/index.js +31 -39
- package/src/cli/simple-commands/init/rollback/recovery-manager.js +71 -101
- package/src/cli/simple-commands/init/rollback/rollback-executor.js +34 -53
- package/src/cli/simple-commands/init/rollback/state-tracker.js +38 -49
- package/src/cli/simple-commands/init/sparc/roo-readme.js +1 -1
- package/src/cli/simple-commands/init/sparc/roomodes-config.js +99 -77
- package/src/cli/simple-commands/init/sparc/workflows.js +37 -33
- package/src/cli/simple-commands/init/sparc-structure.js +12 -11
- package/src/cli/simple-commands/init/template-copier.js +583 -0
- package/src/cli/simple-commands/init/templates/CLAUDE.md +363 -61
- package/src/cli/simple-commands/init/templates/claude-flow-universal +81 -0
- package/src/cli/simple-commands/init/templates/claude-md.js +183 -1
- package/src/cli/simple-commands/init/templates/commands/analysis/bottleneck-detect.md +15 -3
- package/src/cli/simple-commands/init/templates/commands/automation/auto-agent.md +12 -2
- package/src/cli/simple-commands/init/templates/commands/coordination/swarm-init.md +10 -1
- package/src/cli/simple-commands/init/templates/commands/github/github-swarm.md +18 -5
- package/src/cli/simple-commands/init/templates/commands/hooks/notification.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-command.md +116 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-edit.md +117 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/post-task.md +112 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-command.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-edit.md +113 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-search.md +112 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/pre-task.md +12 -1
- package/src/cli/simple-commands/init/templates/commands/hooks/session-end.md +118 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/session-restore.md +118 -0
- package/src/cli/simple-commands/init/templates/commands/hooks/session-start.md +117 -0
- package/src/cli/simple-commands/init/templates/coordination-md.js +1 -1
- package/src/cli/simple-commands/init/templates/coordination.md +16 -0
- package/src/cli/simple-commands/init/templates/enhanced-templates.js +191 -137
- package/src/cli/simple-commands/init/templates/memory-bank-md.js +1 -1
- package/src/cli/simple-commands/init/templates/memory-bank.md +16 -0
- package/src/cli/simple-commands/init/templates/readme-files.js +1 -1
- package/src/cli/simple-commands/init/templates/safe-hook-patterns.js +430 -0
- package/src/cli/simple-commands/init/templates/settings.json +51 -64
- package/src/cli/simple-commands/init/templates/settings.json.enhanced +35 -0
- package/src/cli/simple-commands/init/templates/sparc-modes.js +637 -26
- package/src/cli/simple-commands/init/validation/config-validator.js +17 -28
- package/src/cli/simple-commands/init/validation/health-checker.js +54 -62
- package/src/cli/simple-commands/init/validation/index.js +18 -23
- package/src/cli/simple-commands/init/validation/mode-validator.js +22 -32
- package/src/cli/simple-commands/init/validation/post-init-validator.js +25 -26
- package/src/cli/simple-commands/init/validation/pre-init-validator.js +32 -36
- package/src/cli/simple-commands/init/validation/test-runner.js +55 -63
- package/src/cli/simple-commands/init.js +1 -1
- package/src/cli/simple-commands/mcp-integration-layer.js +179 -110
- package/src/cli/simple-commands/mcp.js +63 -47
- package/src/cli/simple-commands/memory.js +62 -56
- package/src/cli/simple-commands/migrate-hooks.js +63 -0
- package/src/cli/simple-commands/monitor.js +313 -75
- package/src/cli/simple-commands/process-ui-enhanced.js +207 -155
- package/src/cli/simple-commands/process-ui.js +65 -56
- package/src/cli/simple-commands/realtime-update-system.js +136 -129
- package/src/cli/simple-commands/sparc/architecture.js +352 -251
- package/src/cli/simple-commands/sparc/commands.js +122 -94
- package/src/cli/simple-commands/sparc/completion.js +274 -199
- package/src/cli/simple-commands/sparc/coordinator.js +217 -169
- package/src/cli/simple-commands/sparc/index.js +40 -36
- package/src/cli/simple-commands/sparc/phase-base.js +72 -58
- package/src/cli/simple-commands/sparc/pseudocode.js +275 -159
- package/src/cli/simple-commands/sparc/refinement.js +306 -212
- package/src/cli/simple-commands/sparc/specification.js +164 -94
- package/src/cli/simple-commands/sparc-modes/architect.js +1 -1
- package/src/cli/simple-commands/sparc-modes/ask.js +1 -1
- package/src/cli/simple-commands/sparc-modes/code.js +1 -1
- package/src/cli/simple-commands/sparc-modes/debug.js +1 -1
- package/src/cli/simple-commands/sparc-modes/devops.js +1 -1
- package/src/cli/simple-commands/sparc-modes/docs-writer.js +1 -1
- package/src/cli/simple-commands/sparc-modes/generic.js +1 -1
- package/src/cli/simple-commands/sparc-modes/index.js +15 -15
- package/src/cli/simple-commands/sparc-modes/integration.js +1 -1
- package/src/cli/simple-commands/sparc-modes/mcp.js +1 -1
- package/src/cli/simple-commands/sparc-modes/monitoring.js +1 -1
- package/src/cli/simple-commands/sparc-modes/optimization.js +1 -1
- package/src/cli/simple-commands/sparc-modes/security-review.js +1 -1
- package/src/cli/simple-commands/sparc-modes/sparc-orchestrator.js +1 -1
- package/src/cli/simple-commands/sparc-modes/spec-pseudocode.js +1 -1
- package/src/cli/simple-commands/sparc-modes/supabase-admin.js +1 -1
- package/src/cli/simple-commands/sparc-modes/swarm.js +52 -52
- package/src/cli/simple-commands/sparc-modes/tdd.js +1 -1
- package/src/cli/simple-commands/sparc-modes/tutorial.js +1 -1
- package/src/cli/simple-commands/sparc.js +87 -69
- package/src/cli/simple-commands/start-ui.js +21 -20
- package/src/cli/simple-commands/start-wrapper.js +29 -31
- package/src/cli/simple-commands/start.js +1 -1
- package/src/cli/simple-commands/status.js +53 -47
- package/src/cli/simple-commands/swarm-executor.js +47 -57
- package/src/cli/simple-commands/swarm-metrics-integration.js +119 -79
- package/src/cli/simple-commands/swarm-ui.js +183 -104
- package/src/cli/simple-commands/swarm-webui-integration.js +48 -27
- package/src/cli/simple-commands/swarm.js +293 -196
- package/src/cli/simple-commands/task.js +87 -35
- package/src/cli/simple-commands/timestamp-fix.js +104 -0
- package/src/cli/simple-commands/tool-execution-framework.js +115 -118
- package/src/cli/simple-commands/training.js +219 -194
- package/src/cli/simple-commands/web-server.js +118 -117
- package/src/cli/simple-commands/webui-validator.js +4 -3
- package/src/cli/simple-mcp.ts +14 -17
- package/src/cli/simple-orchestrator.ts +115 -102
- package/src/cli/swarm-standalone.js +24 -26
- package/src/cli/ui/compatible-ui.ts +56 -45
- package/src/cli/ui/fallback-handler.ts +23 -18
- package/src/cli/ui/index.ts +18 -17
- package/src/cli/utils/environment-detector.ts +102 -61
- package/src/cli/utils/interactive-detector.js +20 -11
- package/src/cli/utils/prompt-defaults.ts +32 -28
- package/src/cli/utils/safe-interactive.js +143 -0
- package/src/cli/utils.js +127 -110
- package/src/cli/validation-helper.js +113 -0
- package/src/cli/validation-helper.ts +128 -0
- package/src/communication/message-bus.ts +143 -126
- package/src/config/config-manager.ts +173 -27
- package/src/config/ruv-swarm-config.ts +105 -86
- package/src/config/ruv-swarm-integration.ts +38 -38
- package/src/constants/agent-types.ts +9 -8
- package/src/coordination/README.md +54 -31
- package/src/coordination/advanced-scheduler.ts +23 -26
- package/src/coordination/advanced-task-executor.ts +83 -74
- package/src/coordination/background-executor.ts +33 -30
- package/src/coordination/circuit-breaker.ts +26 -27
- package/src/coordination/conflict-resolution.ts +18 -27
- package/src/coordination/dependency-graph.ts +15 -18
- package/src/coordination/hive-orchestrator.ts +111 -81
- package/src/coordination/hive-protocol.ts +68 -77
- package/src/coordination/index.ts +3 -7
- package/src/coordination/load-balancer.ts +127 -109
- package/src/coordination/manager.ts +38 -51
- package/src/coordination/messaging.ts +19 -29
- package/src/coordination/metrics.ts +57 -60
- package/src/coordination/resources.ts +32 -37
- package/src/coordination/scheduler.ts +29 -30
- package/src/coordination/swarm-coordinator.ts +81 -70
- package/src/coordination/swarm-monitor.ts +90 -69
- package/src/coordination/work-stealing.ts +6 -13
- package/src/core/config.ts +148 -143
- package/src/core/event-bus.ts +5 -6
- package/src/core/json-persistence.ts +27 -34
- package/src/core/logger.ts +18 -16
- package/src/core/orchestrator-fixed.ts +33 -32
- package/src/core/orchestrator.ts +234 -156
- package/src/core/persistence.ts +47 -36
- package/src/enterprise/analytics-manager.ts +242 -233
- package/src/enterprise/audit-manager.ts +238 -184
- package/src/enterprise/cloud-manager.ts +167 -151
- package/src/enterprise/deployment-manager.ts +223 -180
- package/src/enterprise/index.ts +7 -7
- package/src/enterprise/project-manager.ts +151 -133
- package/src/enterprise/security-manager.ts +278 -223
- package/src/hive-mind/core/Agent.ts +112 -109
- package/src/hive-mind/core/Communication.ts +67 -69
- package/src/hive-mind/core/DatabaseManager.ts +371 -179
- package/src/hive-mind/core/HiveMind.ts +100 -96
- package/src/hive-mind/core/Memory.ts +304 -295
- package/src/hive-mind/core/MemoryMonitor.ts +46 -47
- package/src/hive-mind/core/Queen.ts +187 -114
- package/src/hive-mind/index.ts +2 -2
- package/src/hive-mind/integration/ConsensusEngine.ts +88 -92
- package/src/hive-mind/integration/MCPToolWrapper.ts +22 -73
- package/src/hive-mind/integration/SwarmOrchestrator.ts +173 -165
- package/src/hive-mind/types.ts +24 -12
- package/src/index.js +1 -1
- package/src/integration/mock-components.ts +42 -30
- package/src/integration/system-integration.ts +93 -69
- package/src/integration/types.ts +7 -7
- package/src/mcp/README.md +23 -4
- package/src/mcp/auth.ts +25 -18
- package/src/mcp/claude-code-wrapper.ts +257 -150
- package/src/mcp/claude-flow-tools.ts +52 -13
- package/src/mcp/client.ts +15 -13
- package/src/mcp/index.ts +22 -27
- package/src/mcp/integrate-wrapper.ts +18 -18
- package/src/mcp/lifecycle-manager.ts +30 -27
- package/src/mcp/load-balancer.ts +10 -11
- package/src/mcp/mcp-server.js +1027 -257
- package/src/mcp/orchestration-integration.ts +32 -17
- package/src/mcp/performance-monitor.ts +65 -51
- package/src/mcp/protocol-manager.ts +36 -52
- package/src/mcp/recovery/connection-health-monitor.ts +40 -35
- package/src/mcp/recovery/connection-state-manager.ts +52 -50
- package/src/mcp/recovery/fallback-coordinator.ts +24 -24
- package/src/mcp/recovery/index.ts +23 -4
- package/src/mcp/recovery/reconnection-manager.ts +14 -15
- package/src/mcp/recovery/recovery-manager.ts +52 -68
- package/src/mcp/router.ts +1 -2
- package/src/mcp/ruv-swarm-tools.ts +167 -138
- package/src/mcp/ruv-swarm-wrapper.js +254 -0
- package/src/mcp/server-with-wrapper.ts +4 -5
- package/src/mcp/server-wrapper-mode.ts +5 -6
- package/src/mcp/server.ts +45 -40
- package/src/mcp/session-manager.ts +8 -11
- package/src/mcp/sparc-modes.ts +29 -28
- package/src/mcp/swarm-tools.ts +131 -114
- package/src/mcp/tests/mcp-integration.test.ts +53 -59
- package/src/mcp/tools.ts +53 -38
- package/src/mcp/transports/base.ts +4 -5
- package/src/mcp/transports/http.ts +45 -42
- package/src/mcp/transports/stdio.ts +9 -12
- package/src/memory/README.md +292 -0
- package/src/memory/advanced-memory-manager.ts +336 -279
- package/src/memory/backends/base.ts +4 -5
- package/src/memory/backends/markdown.ts +16 -22
- package/src/memory/backends/sqlite.ts +40 -18
- package/src/memory/cache.ts +18 -18
- package/src/memory/distributed-memory.ts +84 -92
- package/src/memory/enhanced-examples.js +307 -0
- package/src/memory/enhanced-memory.js +339 -0
- package/src/memory/enhanced-schema.sql +154 -0
- package/src/memory/fallback-store.js +134 -0
- package/src/memory/in-memory-store.js +214 -0
- package/src/memory/index.js +38 -0
- package/src/memory/indexer.ts +6 -10
- package/src/memory/manager.ts +45 -59
- package/src/memory/migration.js +462 -0
- package/src/memory/shared-memory.js +790 -0
- package/src/memory/sqlite-store.js +329 -0
- package/src/memory/sqlite-wrapper.js +173 -0
- package/src/memory/swarm-memory.js +604 -0
- package/src/memory/swarm-memory.ts +74 -75
- package/src/memory/test-example.js +138 -0
- package/src/migration/README.md +25 -9
- package/src/migration/index.ts +13 -14
- package/src/migration/logger.ts +9 -7
- package/src/migration/migration-analyzer.ts +66 -52
- package/src/migration/migration-manifest.json +2 -6
- package/src/migration/migration-runner.ts +86 -63
- package/src/migration/migration-validator.ts +93 -68
- package/src/migration/package.json +1 -1
- package/src/migration/progress-reporter.ts +25 -21
- package/src/migration/rollback-manager.ts +79 -63
- package/src/migration/tests/migration-system.test.ts +4 -491
- package/src/migration/tsconfig.json +3 -10
- package/src/migration/types.ts +1 -1
- package/src/monitoring/diagnostics.ts +123 -97
- package/src/monitoring/health-check.ts +45 -51
- package/src/monitoring/real-time-monitor.ts +105 -92
- package/src/patches/hive-mind-timezone-fix.patch +123 -0
- package/src/providers/anthropic-provider.ts +282 -0
- package/src/providers/base-provider.ts +560 -0
- package/src/providers/cohere-provider.ts +521 -0
- package/src/providers/google-provider.ts +477 -0
- package/src/providers/index.ts +21 -0
- package/src/providers/ollama-provider.ts +489 -0
- package/src/providers/openai-provider.ts +476 -0
- package/src/providers/provider-manager.ts +654 -0
- package/src/providers/types.ts +531 -0
- package/src/providers/utils.ts +376 -0
- package/src/resources/resource-manager.ts +205 -159
- package/src/services/agentic-flow-hooks/hook-manager.ts +701 -0
- package/src/services/agentic-flow-hooks/index.ts +386 -0
- package/src/services/agentic-flow-hooks/llm-hooks.ts +557 -0
- package/src/services/agentic-flow-hooks/memory-hooks.ts +710 -0
- package/src/services/agentic-flow-hooks/neural-hooks.ts +758 -0
- package/src/services/agentic-flow-hooks/performance-hooks.ts +827 -0
- package/src/services/agentic-flow-hooks/types.ts +503 -0
- package/src/services/agentic-flow-hooks/workflow-hooks.ts +1026 -0
- package/src/swarm/__tests__/integration.test.ts +59 -65
- package/src/swarm/__tests__/prompt-copier.test.ts +27 -27
- package/src/swarm/claude-flow-executor.ts +50 -49
- package/src/swarm/coordinator.ts +821 -624
- package/src/swarm/direct-executor.ts +80 -86
- package/src/swarm/executor-v2.ts +81 -66
- package/src/swarm/executor.ts +124 -124
- package/src/swarm/index.ts +7 -8
- package/src/swarm/json-output-aggregator.ts +372 -0
- package/src/swarm/memory.ts +152 -147
- package/src/swarm/optimizations/README.md +20 -12
- package/src/swarm/optimizations/__tests__/optimization.test.ts +84 -87
- package/src/swarm/optimizations/async-file-manager.ts +70 -80
- package/src/swarm/optimizations/circular-buffer.ts +37 -37
- package/src/swarm/optimizations/connection-pool.ts +64 -64
- package/src/swarm/optimizations/index.ts +4 -4
- package/src/swarm/optimizations/migration-guide.md +27 -16
- package/src/swarm/optimizations/optimized-executor.ts +104 -114
- package/src/swarm/optimizations/ttl-map.ts +66 -63
- package/src/swarm/prompt-cli.ts +48 -42
- package/src/swarm/prompt-copier-enhanced.ts +72 -70
- package/src/swarm/prompt-copier.ts +59 -64
- package/src/swarm/prompt-copying-README.md +49 -33
- package/src/swarm/prompt-manager.ts +71 -64
- package/src/swarm/prompt-utils.ts +71 -66
- package/src/swarm/sparc-executor.ts +302 -229
- package/src/swarm/strategies/auto.ts +367 -252
- package/src/swarm/strategies/base.ts +24 -20
- package/src/swarm/strategies/research.ts +144 -124
- package/src/swarm/types.ts +340 -309
- package/src/swarm/workers/copy-worker.ts +12 -13
- package/src/task/README.md +99 -70
- package/src/task/commands.ts +16 -8
- package/src/task/coordination.ts +209 -162
- package/src/task/engine.ts +82 -66
- package/src/task/index.ts +28 -31
- package/src/templates/claude-optimized/.claude/BATCHTOOLS_BEST_PRACTICES.md +479 -481
- package/src/templates/claude-optimized/.claude/BATCHTOOLS_GUIDE.md +210 -188
- package/src/templates/claude-optimized/.claude/MIGRATION_GUIDE.md +151 -105
- package/src/templates/claude-optimized/.claude/PERFORMANCE_BENCHMARKS.md +102 -87
- package/src/templates/claude-optimized/.claude/commands/claude-flow-help.md +18 -1
- package/src/templates/claude-optimized/.claude/commands/claude-flow-memory.md +17 -1
- package/src/templates/claude-optimized/.claude/commands/claude-flow-swarm.md +21 -1
- package/src/templates/claude-optimized/.claude/commands/sparc/architect.md +11 -4
- package/src/templates/claude-optimized/.claude/commands/sparc/ask.md +16 -10
- package/src/templates/claude-optimized/.claude/commands/sparc/code.md +26 -7
- package/src/templates/claude-optimized/.claude/commands/sparc/debug.md +14 -4
- package/src/templates/claude-optimized/.claude/commands/sparc/devops.md +23 -10
- package/src/templates/claude-optimized/.claude/commands/sparc/docs-writer.md +8 -4
- package/src/templates/claude-optimized/.claude/commands/sparc/integration.md +43 -27
- package/src/templates/claude-optimized/.claude/commands/sparc/mcp.md +15 -1
- package/src/templates/claude-optimized/.claude/commands/sparc/post-deployment-monitoring-mode.md +45 -30
- package/src/templates/claude-optimized/.claude/commands/sparc/refinement-optimization-mode.md +23 -13
- package/src/templates/claude-optimized/.claude/commands/sparc/security-review.md +31 -17
- package/src/templates/claude-optimized/.claude/commands/sparc/sparc.md +54 -47
- package/src/templates/claude-optimized/.claude/commands/sparc/spec-pseudocode.md +27 -17
- package/src/templates/claude-optimized/.claude/commands/sparc/supabase-admin.md +18 -4
- package/src/templates/claude-optimized/.claude/commands/sparc/tdd.md +23 -9
- package/src/templates/claude-optimized/.claude/commands/sparc/tutorial.md +22 -16
- package/src/templates/claude-optimized/.claude/commands/sparc.md +20 -1
- package/src/templates/claude-optimized/README.md +10 -1
- package/src/templates/claude-optimized/SUMMARY.md +23 -1
- package/src/templates/claude-optimized/deploy-to-project.js +22 -10
- package/src/templates/claude-optimized/install-template.js +14 -10
- package/src/templates/claude-optimized/manifest.json +1 -1
- package/src/templates/claude-optimized/package.json +1 -1
- package/src/templates/claude-optimized/template-manager.js +8 -8
- package/src/templates/claude-optimized/validate-template.js +33 -23
- package/src/terminal/adapters/base.ts +1 -1
- package/src/terminal/adapters/native.ts +47 -47
- package/src/terminal/adapters/vscode.ts +21 -28
- package/src/terminal/manager.ts +27 -22
- package/src/terminal/pool.ts +24 -27
- package/src/terminal/session.ts +18 -18
- package/src/terminal/vscode-bridge.ts +21 -21
- package/src/tests/validation-consistency.test.ts +4 -4
- package/src/types/cliffy.d.ts +11 -14
- package/src/types/global.d.ts +1 -2
- package/src/types/index.ts +2 -2
- package/src/types/mcp.d.ts +11 -17
- package/src/types/vscode.d.ts +18 -5
- package/src/ui/console/README-analysis-tools.md +52 -2
- package/src/ui/console/README.md +33 -1
- package/src/ui/console/WORKFLOW_DESIGNER_README.md +81 -22
- package/src/ui/console/analysis-tools.html +282 -261
- package/src/ui/console/analytics.html +329 -326
- package/src/ui/console/index.html +221 -209
- package/src/ui/console/js/analysis-tools.js +831 -686
- package/src/ui/console/js/command-handler.js +226 -196
- package/src/ui/console/js/console.js +117 -119
- package/src/ui/console/js/daa-tools.js +797 -787
- package/src/ui/console/js/memory-interface.js +676 -638
- package/src/ui/console/js/memory-test.js +49 -46
- package/src/ui/console/js/memory-tools.js +181 -159
- package/src/ui/console/js/settings.js +124 -103
- package/src/ui/console/js/terminal-emulator.js +147 -130
- package/src/ui/console/js/websocket-client.js +71 -71
- package/src/ui/console/js/workflow-designer.js +1126 -1110
- package/src/ui/console/neural-networks-demo.md +45 -16
- package/src/ui/console/styles/analysis-tools.css +571 -561
- package/src/ui/console/styles/console.css +16 -12
- package/src/ui/console/styles/daa-tools.css +322 -319
- package/src/ui/console/styles/responsive.css +71 -70
- package/src/ui/console/styles/settings.css +12 -12
- package/src/ui/console/styles/workflow-designer.css +628 -584
- package/src/ui/console/test-neural-networks.js +59 -54
- package/src/ui/console/test-neural.html +194 -196
- package/src/ui/console/workflow-designer-demo.html +433 -424
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/_shims/web-runtime.js +2 -2
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/core.d.ts +1 -1
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/core.js +3 -3
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/error.js +2 -2
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +3 -3
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +10 -10
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/_shims/web-runtime.ts +3 -6
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/core.ts +3 -173
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/error.ts +2 -33
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +14 -69
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/src/streaming.ts +3 -81
- package/src/ui/extension/node_modules/@anthropic-ai/sdk/streaming.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/deserializationPolicy.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/httpClientCache.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/interfaceHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/operationHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/serializationPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/serializer.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/browser/serviceClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/deserializationPolicy.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/httpClientCache.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/interfaceHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/operationHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/serializationPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/serializer.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/commonjs/serviceClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/deserializationPolicy.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/httpClientCache.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/interfaceHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/operationHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/serializationPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/serializer.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/esm/serviceClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/deserializationPolicy.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/httpClientCache.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/interfaceHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/operationHelpers.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/serializationPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/serializer.js +5 -5
- package/src/ui/extension/node_modules/@azure/core-client/dist/react-native/serviceClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/bearerTokenAuthenticationPolicy.js +10 -10
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/ndJsonPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/setClientRequestIdPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/tracingPolicy.js +3 -3
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/browser/util/tokenCycler.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/bearerTokenAuthenticationPolicy.js +10 -10
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/ndJsonPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/setClientRequestIdPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/tracingPolicy.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/commonjs/util/tokenCycler.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/bearerTokenAuthenticationPolicy.js +10 -10
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/ndJsonPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/setClientRequestIdPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/tracingPolicy.js +3 -3
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/esm/util/tokenCycler.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/auxiliaryAuthenticationHeaderPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/bearerTokenAuthenticationPolicy.js +10 -10
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/ndJsonPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/setClientRequestIdPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/tracingPolicy.js +3 -3
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/policies/wrapAbortSignalLikePolicy.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-rest-pipeline/dist/react-native/util/tokenCycler.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/browser/instrumenter.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/browser/tracingClient.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/commonjs/instrumenter.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/commonjs/tracingClient.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/esm/instrumenter.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/esm/tracingClient.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/react-native/instrumenter.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-tracing/dist/react-native/tracingClient.js +2 -2
- package/src/ui/extension/node_modules/@azure/core-util/dist/browser/delay.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/browser/error.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/commonjs/delay.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/commonjs/error.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/esm/delay.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/esm/error.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/react-native/delay.js +1 -1
- package/src/ui/extension/node_modules/@azure/core-util/dist/react-native/error.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/credentials/chainedTokenCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/credentials/managedIdentityCredential/imdsMsi.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/msal/browserFlows/msalBrowserCommon.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/msal/nodeFlows/msalClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/msal/utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/msal/utils.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/plugins/provider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/util/logging.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/util/logging.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/browser/util/processMultiTenantRequest.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/azureCliCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/azureDeveloperCliCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/chainedTokenCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/clientCertificateCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/managedIdentityCredential/imdsMsi.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/managedIdentityCredential/index.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/onBehalfOfCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/credentials/visualStudioCodeCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/msal/browserFlows/msalBrowserCommon.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/msal/nodeFlows/msalClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/msal/utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/msal/utils.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/plugins/provider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/util/logging.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/util/logging.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/commonjs/util/processMultiTenantRequest.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/azureCliCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/azureDeveloperCliCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/chainedTokenCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/clientCertificateCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/managedIdentityCredential/imdsMsi.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/managedIdentityCredential/index.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/onBehalfOfCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/credentials/visualStudioCodeCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/msal/browserFlows/msalBrowserCommon.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/msal/nodeFlows/msalClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/msal/utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/msal/utils.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/plugins/provider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/util/logging.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/util/logging.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/esm/util/processMultiTenantRequest.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/azureCliCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/azureDeveloperCliCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/chainedTokenCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/clientCertificateCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/managedIdentityCredential/imdsMsi.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/managedIdentityCredential/index.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/onBehalfOfCredential.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/credentials/visualStudioCodeCredential.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/msal/browserFlows/msalBrowserCommon.js +2 -2
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/msal/nodeFlows/msalClient.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/msal/utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/msal/utils.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/plugins/provider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/util/logging.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/util/logging.js +1 -1
- package/src/ui/extension/node_modules/@azure/identity/dist/workerd/util/processMultiTenantRequest.js +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/app/IPublicClientApplication.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/app/PublicClientApplication.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/app/PublicClientNext.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/AccountManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/AsyncMemoryStorage.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/BrowserCacheManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/LocalStorage.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/cache/TokenCache.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/controllers/IController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/controllers/NestedAppAuthController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/controllers/StandardController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/controllers/UnknownOperatingContextController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/crypto/BrowserCrypto.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/crypto/CryptoOps.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/crypto/PkceGenerator.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/error/NativeAuthError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/event/EventHandler.d.ts +1 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/PopupClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/RedirectClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_client/SilentIframeClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_handler/InteractionHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/interaction_handler/SilentHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/naa/AuthBridge.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/naa/BridgeError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/naa/mapping/NestedAppAuthAdapter.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/operatingcontext/BaseOperatingContext.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/protocol/Authorize.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/request/RequestHelpers.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/response/ResponseHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/dist/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/msal-browser.js +97 -281
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/app/IPublicClientApplication.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/app/PublicClientApplication.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/app/PublicClientNext.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/AccountManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/AsyncMemoryStorage.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/BrowserCacheManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/LocalStorage.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/cache/TokenCache.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/controllers/IController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/controllers/NestedAppAuthController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/controllers/StandardController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/controllers/UnknownOperatingContextController.d.ts +3 -3
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/crypto/BrowserCrypto.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/crypto/CryptoOps.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/crypto/PkceGenerator.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/error/NativeAuthError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/event/EventHandler.d.ts +1 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/BaseInteractionClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/PopupClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/RedirectClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_client/SilentIframeClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_handler/InteractionHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/interaction_handler/SilentHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/naa/AuthBridge.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/naa/BridgeError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/operatingcontext/BaseOperatingContext.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/protocol/Authorize.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/request/RequestHelpers.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/response/ResponseHandler.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/lib/types/utils/MsalFrameStatsUtils.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-browser/src/app/IPublicClientApplication.ts +2 -5
- package/src/ui/extension/node_modules/@azure/msal-browser/src/app/PublicClientApplication.ts +2 -44
- package/src/ui/extension/node_modules/@azure/msal-browser/src/app/PublicClientNext.ts +3 -40
- package/src/ui/extension/node_modules/@azure/msal-browser/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +2 -23
- package/src/ui/extension/node_modules/@azure/msal-browser/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +5 -39
- package/src/ui/extension/node_modules/@azure/msal-browser/src/broker/nativeBroker/PlatformAuthProvider.ts +3 -16
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/AccountManager.ts +2 -15
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/AsyncMemoryStorage.ts +2 -14
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/BrowserCacheManager.ts +4 -108
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/LocalStorage.ts +3 -44
- package/src/ui/extension/node_modules/@azure/msal-browser/src/cache/TokenCache.ts +2 -38
- package/src/ui/extension/node_modules/@azure/msal-browser/src/controllers/IController.ts +2 -39
- package/src/ui/extension/node_modules/@azure/msal-browser/src/controllers/NestedAppAuthController.ts +2 -100
- package/src/ui/extension/node_modules/@azure/msal-browser/src/controllers/StandardController.ts +9 -205
- package/src/ui/extension/node_modules/@azure/msal-browser/src/controllers/UnknownOperatingContextController.ts +2 -24
- package/src/ui/extension/node_modules/@azure/msal-browser/src/error/NativeAuthError.ts +2 -15
- package/src/ui/extension/node_modules/@azure/msal-browser/src/event/EventHandler.ts +2 -17
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/BaseInteractionClient.ts +2 -18
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/PlatformAuthInteractionClient.ts +2 -99
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/PopupClient.ts +2 -72
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/RedirectClient.ts +2 -59
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/SilentCacheClient.ts +2 -8
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/SilentIframeClient.ts +2 -26
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_client/StandardInteractionClient.ts +2 -22
- package/src/ui/extension/node_modules/@azure/msal-browser/src/interaction_handler/InteractionHandler.ts +2 -18
- package/src/ui/extension/node_modules/@azure/msal-browser/src/naa/BridgeError.ts +2 -5
- package/src/ui/extension/node_modules/@azure/msal-browser/src/naa/BridgeProxy.ts +2 -23
- package/src/ui/extension/node_modules/@azure/msal-browser/src/naa/mapping/NestedAppAuthAdapter.ts +2 -29
- package/src/ui/extension/node_modules/@azure/msal-browser/src/network/FetchClient.ts +3 -11
- package/src/ui/extension/node_modules/@azure/msal-browser/src/operatingcontext/BaseOperatingContext.ts +3 -19
- package/src/ui/extension/node_modules/@azure/msal-browser/src/protocol/Authorize.ts +2 -37
- package/src/ui/extension/node_modules/@azure/msal-browser/src/telemetry/BrowserPerformanceClient.ts +2 -24
- package/src/ui/extension/node_modules/@azure/msal-browser/src/utils/MsalFrameStatsUtils.ts +2 -7
- package/src/ui/extension/node_modules/@azure/msal-common/dist/authority/Authority.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/authority/AuthorityFactory.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/authority/RegionDiscovery.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/cache/CacheManager.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/client/BaseClient.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/error/NetworkError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/protocol/Authorize.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/response/ResponseHandler.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/telemetry/performance/IPerformanceClient.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceClient.d.ts +6 -7
- package/src/ui/extension/node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-common/dist/utils/FunctionWrappers.d.ts +2 -3
- package/src/ui/extension/node_modules/@azure/msal-common/lib/index-node-DNGOJ4N7.js +31 -106
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/authority/Authority.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/authority/AuthorityFactory.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/authority/AuthorityMetadata.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/authority/RegionDiscovery.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/cache/CacheManager.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/cache/entities/AccountEntity.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/client/BaseClient.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/crypto/PopTokenGenerator.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/error/NetworkError.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/protocol/Authorize.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/response/ResponseHandler.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/telemetry/performance/IPerformanceClient.d.ts +2 -2
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/telemetry/performance/PerformanceClient.d.ts +6 -7
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/telemetry/server/ServerTelemetryManager.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-common/lib/types/utils/FunctionWrappers.d.ts +2 -3
- package/src/ui/extension/node_modules/@azure/msal-common/src/authority/Authority.ts +5 -120
- package/src/ui/extension/node_modules/@azure/msal-common/src/authority/AuthorityFactory.ts +1 -6
- package/src/ui/extension/node_modules/@azure/msal-common/src/authority/AuthorityMetadata.ts +2 -16
- package/src/ui/extension/node_modules/@azure/msal-common/src/authority/RegionDiscovery.ts +1 -17
- package/src/ui/extension/node_modules/@azure/msal-common/src/cache/CacheManager.ts +3 -207
- package/src/ui/extension/node_modules/@azure/msal-common/src/cache/entities/AccountEntity.ts +2 -39
- package/src/ui/extension/node_modules/@azure/msal-common/src/client/AuthorizationCodeClient.ts +2 -52
- package/src/ui/extension/node_modules/@azure/msal-common/src/client/BaseClient.ts +2 -35
- package/src/ui/extension/node_modules/@azure/msal-common/src/client/RefreshTokenClient.ts +2 -49
- package/src/ui/extension/node_modules/@azure/msal-common/src/client/SilentFlowClient.ts +2 -19
- package/src/ui/extension/node_modules/@azure/msal-common/src/config/ClientConfiguration.ts +2 -25
- package/src/ui/extension/node_modules/@azure/msal-common/src/crypto/PopTokenGenerator.ts +2 -18
- package/src/ui/extension/node_modules/@azure/msal-common/src/error/NetworkError.ts +1 -7
- package/src/ui/extension/node_modules/@azure/msal-common/src/protocol/Authorize.ts +3 -38
- package/src/ui/extension/node_modules/@azure/msal-common/src/request/RequestParameterBuilder.ts +2 -55
- package/src/ui/extension/node_modules/@azure/msal-common/src/response/ResponseHandler.ts +9 -53
- package/src/ui/extension/node_modules/@azure/msal-common/src/telemetry/performance/IPerformanceClient.ts +3 -10
- package/src/ui/extension/node_modules/@azure/msal-common/src/telemetry/performance/PerformanceClient.ts +9 -96
- package/src/ui/extension/node_modules/@azure/msal-common/src/telemetry/server/ServerTelemetryManager.ts +4 -47
- package/src/ui/extension/node_modules/@azure/msal-common/src/url/UrlString.ts +2 -32
- package/src/ui/extension/node_modules/@azure/msal-common/src/utils/FunctionWrappers.ts +1 -5
- package/src/ui/extension/node_modules/@azure/msal-node/dist/cache/NodeStorage.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/cache/TokenCache.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/IConfidentialClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/IPublicClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentityClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/AppService.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/AzureArc.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/CloudShell.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/Imds.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/MachineLearning.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/ServiceFabric.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/network/HttpClientWithRetries.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/protocol/Authorize.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/retry/DefaultManagedIdentityRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/retry/IHttpRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/dist/retry/ImdsRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/cache/NodeStorage.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/cache/TokenCache.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/IConfidentialClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/IPublicClientApplication.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentityClient.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/AppService.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/AzureArc.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/BaseManagedIdentitySource.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/CloudShell.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/Imds.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/MachineLearning.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/client/ManagedIdentitySources/ServiceFabric.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/network/HttpClientWithRetries.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/protocol/Authorize.d.ts +1 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/retry/DefaultManagedIdentityRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/retry/IHttpRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/lib/types/retry/ImdsRetryPolicy.d.ts +0 -1
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/esm-node/parse.js +1 -9
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/esm-node/v1.js +2 -30
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/parse.js +1 -12
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/rng-browser.js +1 -5
- package/src/ui/extension/node_modules/@azure/msal-node/node_modules/uuid/dist/v1.js +2 -34
- package/src/ui/extension/node_modules/@azure/msal-node/src/cache/TokenCache.ts +3 -30
- package/src/ui/extension/node_modules/@azure/msal-node/src/cache/distributed/DistributedCachePlugin.ts +2 -9
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ClientApplication.ts +3 -44
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ClientAssertion.ts +2 -21
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ClientCredentialClient.ts +4 -49
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ConfidentialClientApplication.ts +3 -25
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/DeviceCodeClient.ts +2 -28
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/AppService.ts +2 -20
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/AzureArc.ts +5 -43
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts +5 -38
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/CloudShell.ts +2 -18
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/Imds.ts +3 -19
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/MachineLearning.ts +2 -21
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/ManagedIdentitySources/ServiceFabric.ts +2 -21
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/OnBehalfOfClient.ts +2 -42
- package/src/ui/extension/node_modules/@azure/msal-node/src/client/PublicClientApplication.ts +2 -24
- package/src/ui/extension/node_modules/@azure/msal-node/src/config/Configuration.ts +2 -25
- package/src/ui/extension/node_modules/@azure/msal-node/src/network/HttpClient.ts +6 -50
- package/src/ui/extension/node_modules/@azure/msal-node/src/network/LoopbackClient.ts +2 -13
- package/src/ui/extension/node_modules/@azure/msal-node/src/retry/DefaultManagedIdentityRetryPolicy.ts +2 -11
- package/src/ui/extension/node_modules/@azure/msal-node/src/retry/IHttpRetryPolicy.ts +1 -5
- package/src/ui/extension/node_modules/@azure/msal-node/src/retry/ImdsRetryPolicy.ts +2 -18
- package/src/ui/extension/node_modules/@babel/code-frame/lib/index.js +5 -11
- package/src/ui/extension/node_modules/@babel/core/lib/config/caching.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/config/config-chain.js +19 -21
- package/src/ui/extension/node_modules/@babel/core/lib/config/config-descriptors.js +5 -7
- package/src/ui/extension/node_modules/@babel/core/lib/config/files/configuration.js +2 -12
- package/src/ui/extension/node_modules/@babel/core/lib/config/files/module-types.js +6 -9
- package/src/ui/extension/node_modules/@babel/core/lib/config/files/package.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/config/files/plugins.js +6 -8
- package/src/ui/extension/node_modules/@babel/core/lib/config/full.js +10 -12
- package/src/ui/extension/node_modules/@babel/core/lib/config/index.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/config/partial.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/config/resolve-targets-browser.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/config/resolve-targets.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/config/validation/options.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/gensync-utils/functional.js +6 -8
- package/src/ui/extension/node_modules/@babel/core/lib/parse.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/parser/index.js +3 -5
- package/src/ui/extension/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +2 -5
- package/src/ui/extension/node_modules/@babel/core/lib/tools/build-external-helpers.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/transform-ast.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/transform-file-browser.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transform.js +4 -6
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/file/file.js +6 -8
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/file/generate.js +6 -8
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/normalize-file.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/normalize-opts.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/transformation/util/clone-deep.js +2 -4
- package/src/ui/extension/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +28 -30
- package/src/ui/extension/node_modules/@babel/core/src/config/resolve-targets-browser.ts +2 -8
- package/src/ui/extension/node_modules/@babel/core/src/config/resolve-targets.ts +3 -11
- package/src/ui/extension/node_modules/@babel/core/src/transform-file-browser.ts +4 -9
- package/src/ui/extension/node_modules/@babel/generator/lib/buffer.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/base.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/classes.js +3 -5
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/expressions.js +6 -8
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/flow.js +11 -13
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/methods.js +3 -5
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/modules.js +4 -6
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/statements.js +4 -6
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/types.js +8 -10
- package/src/ui/extension/node_modules/@babel/generator/lib/generators/typescript.js +16 -18
- package/src/ui/extension/node_modules/@babel/generator/lib/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/node/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/node/parentheses.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/node/whitespace.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/printer.js +12 -14
- package/src/ui/extension/node_modules/@babel/generator/lib/source-map.js +2 -4
- package/src/ui/extension/node_modules/@babel/generator/lib/token-map.js +3 -5
- package/src/ui/extension/node_modules/@babel/helper-compilation-targets/lib/index.js +3 -5
- package/src/ui/extension/node_modules/@babel/helper-compilation-targets/lib/pretty.js +2 -4
- package/src/ui/extension/node_modules/@babel/helper-compilation-targets/node_modules/yallist/yallist.js +4 -63
- package/src/ui/extension/node_modules/@babel/helper-module-imports/lib/import-builder.js +2 -4
- package/src/ui/extension/node_modules/@babel/helper-module-imports/lib/import-injector.js +5 -7
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +3 -5
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/index.js +4 -8
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +4 -6
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +16 -18
- package/src/ui/extension/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +2 -4
- package/src/ui/extension/node_modules/@babel/helper-string-parser/lib/index.js +7 -9
- package/src/ui/extension/node_modules/@babel/helper-validator-option/lib/find-suggestion.js +2 -4
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js +3 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js +2 -4
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/dispose.js +5 -7
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js +3 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js +2 -4
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncIterator.js +3 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js +2 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/helpers/usingCtx.js +3 -5
- package/src/ui/extension/node_modules/@babel/helpers/lib/index.js +3 -5
- package/src/ui/extension/node_modules/@babel/parser/lib/index.js +211 -212
- package/src/ui/extension/node_modules/@babel/template/lib/builder.js +2 -4
- package/src/ui/extension/node_modules/@babel/template/lib/formatters.js +2 -4
- package/src/ui/extension/node_modules/@babel/template/lib/literal.js +3 -5
- package/src/ui/extension/node_modules/@babel/template/lib/options.js +2 -4
- package/src/ui/extension/node_modules/@babel/template/lib/parse.js +9 -11
- package/src/ui/extension/node_modules/@babel/template/lib/populate.js +3 -5
- package/src/ui/extension/node_modules/@babel/template/lib/string.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/cache.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/context.js +3 -5
- package/src/ui/extension/node_modules/@babel/traverse/lib/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/ancestry.js +6 -8
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/comments.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/context.js +7 -9
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/conversion.js +12 -16
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/evaluation.js +7 -9
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/family.js +9 -11
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/inference/index.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +6 -8
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/inference/inferers.js +4 -6
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/inference/util.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/introspection.js +8 -10
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/lib/hoister.js +3 -5
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +8 -10
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/modification.js +6 -8
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/removal.js +2 -4
- package/src/ui/extension/node_modules/@babel/traverse/lib/path/replacement.js +3 -5
- package/src/ui/extension/node_modules/@babel/traverse/lib/scope/index.js +19 -21
- package/src/ui/extension/node_modules/@babel/traverse/lib/scope/lib/renamer.js +6 -8
- package/src/ui/extension/node_modules/@babel/traverse/lib/traverse-node.js +3 -5
- package/src/ui/extension/node_modules/@babel/traverse/lib/visitors.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/builders/generated/lowercase.js +3 -5
- package/src/ui/extension/node_modules/@babel/types/lib/clone/cloneNode.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/converters/toKeyAlias.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/converters/toStatement.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/converters/valueToNode.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/definitions/core.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/definitions/utils.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/retrievers/getFunctionName.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/traverse/traverse.js +2 -4
- package/src/ui/extension/node_modules/@babel/types/lib/utils/deprecationWarning.js +4 -6
- package/src/ui/extension/node_modules/@babel/types/lib/validators/matchesPattern.js +3 -5
- package/src/ui/extension/node_modules/@cspotcode/source-map-support/source-map-support.d.ts +2 -9
- package/src/ui/extension/node_modules/@cspotcode/source-map-support/source-map-support.js +5 -101
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +5 -71
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +2 -19
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +2 -23
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/config-array-factory.js +12 -147
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/flat-compat.js +2 -59
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +2 -52
- package/src/ui/extension/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +2 -7
- package/src/ui/extension/node_modules/@eslint-community/eslint-utils/index.js +4 -201
- package/src/ui/extension/node_modules/@eslint-community/regexpp/index.js +2 -16
- package/src/ui/extension/node_modules/@humanwhocodes/config-array/api.js +5 -214
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/argument_parser.js +2 -165
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/argparse/lib/help/formatter.js +2 -115
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/bin/js-yaml.js +4 -44
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/dist/js-yaml.js +2 -868
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml/lib/js-yaml/dumper.js +2 -133
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate/index.js +2 -13
- package/src/ui/extension/node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from/index.js +3 -11
- package/src/ui/extension/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +4 -11
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/index.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/index.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +4 -4
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/providers/async.js +6 -6
- package/src/ui/extension/node_modules/@nodelib/fs.scandir/out/providers/sync.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/index.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/index.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/providers/async.js +4 -4
- package/src/ui/extension/node_modules/@nodelib/fs.stat/out/providers/sync.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/index.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/index.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +3 -3
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/providers/async.js +4 -4
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +5 -5
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/async.js +5 -5
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/common.js +2 -2
- package/src/ui/extension/node_modules/@nodelib/fs.walk/out/readers/sync.js +3 -3
- package/src/ui/extension/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js +2 -4
- package/src/ui/extension/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +13 -233
- package/src/ui/extension/node_modules/@sinonjs/samsam/lib/deep-equal-benchmark.js +2 -7
- package/src/ui/extension/node_modules/@sinonjs/samsam/lib/match.js +2 -1
- package/src/ui/extension/node_modules/@sinonjs/text-encoding/lib/encoding.js +4 -4
- package/src/ui/extension/node_modules/@types/mocha/index.d.ts +194 -570
- package/src/ui/extension/node_modules/@types/node/assert.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/async_hooks.d.ts +63 -63
- package/src/ui/extension/node_modules/@types/node/child_process.d.ts +60 -60
- package/src/ui/extension/node_modules/@types/node/cluster.d.ts +93 -93
- package/src/ui/extension/node_modules/@types/node/console.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/constants.d.ts +2 -3
- package/src/ui/extension/node_modules/@types/node/crypto.d.ts +79 -79
- package/src/ui/extension/node_modules/@types/node/dgram.d.ts +44 -44
- package/src/ui/extension/node_modules/@types/node/diagnostics_channel.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/dns/promises.d.ts +25 -25
- package/src/ui/extension/node_modules/@types/node/dom-events.d.ts +2 -12
- package/src/ui/extension/node_modules/@types/node/events.d.ts +3 -12
- package/src/ui/extension/node_modules/@types/node/fs/promises.d.ts +2 -6
- package/src/ui/extension/node_modules/@types/node/fs.d.ts +196 -205
- package/src/ui/extension/node_modules/@types/node/http.d.ts +153 -157
- package/src/ui/extension/node_modules/@types/node/http2.d.ts +535 -535
- package/src/ui/extension/node_modules/@types/node/https.d.ts +100 -100
- package/src/ui/extension/node_modules/@types/node/inspector.d.ts +171 -174
- package/src/ui/extension/node_modules/@types/node/module.d.ts +3 -3
- package/src/ui/extension/node_modules/@types/node/net.d.ts +92 -92
- package/src/ui/extension/node_modules/@types/node/os.d.ts +153 -153
- package/src/ui/extension/node_modules/@types/node/path.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/perf_hooks.d.ts +13 -14
- package/src/ui/extension/node_modules/@types/node/process.d.ts +89 -89
- package/src/ui/extension/node_modules/@types/node/punycode.d.ts +3 -3
- package/src/ui/extension/node_modules/@types/node/querystring.d.ts +3 -3
- package/src/ui/extension/node_modules/@types/node/readline.d.ts +57 -58
- package/src/ui/extension/node_modules/@types/node/repl.d.ts +65 -65
- package/src/ui/extension/node_modules/@types/node/stream/web.d.ts +18 -36
- package/src/ui/extension/node_modules/@types/node/stream.d.ts +204 -208
- package/src/ui/extension/node_modules/@types/node/test.d.ts +74 -122
- package/src/ui/extension/node_modules/@types/node/timers/promises.d.ts +2 -2
- package/src/ui/extension/node_modules/@types/node/timers.d.ts +5 -5
- package/src/ui/extension/node_modules/@types/node/tls.d.ts +75 -75
- package/src/ui/extension/node_modules/@types/node/tty.d.ts +14 -14
- package/src/ui/extension/node_modules/@types/node/util.d.ts +29 -58
- package/src/ui/extension/node_modules/@types/node/v8.d.ts +6 -6
- package/src/ui/extension/node_modules/@types/node/worker_threads.d.ts +88 -91
- package/src/ui/extension/node_modules/@types/node/zlib.d.ts +159 -159
- package/src/ui/extension/node_modules/@types/node-fetch/externals.d.ts +5 -11
- package/src/ui/extension/node_modules/@types/node-fetch/index.d.ts +2 -28
- package/src/ui/extension/node_modules/@types/sinon/index.d.ts +13 -88
- package/src/ui/extension/node_modules/@types/sinon-chai/index.d.ts +2 -6
- package/src/ui/extension/node_modules/@types/sinonjs__fake-timers/index.d.ts +4 -55
- package/src/ui/extension/node_modules/@types/vscode/index.d.ts +23 -2250
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/await-thenable.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/block-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js +10 -10
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/key-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-around-comment.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +4 -4
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/parse-options.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-type-constituents.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-import-type-side-effects.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-mixed-enums.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-declaration-merging.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +3 -32
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +6 -6
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-constituents.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +6 -6
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/util/getStringLength.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/eslint-plugin/dist/util/objectIterators.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +14 -14
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/type-utils/dist/getTokenAtPosition.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +6 -6
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Scope.d.ts +3 -3
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint/Rule.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint/Scope.d.ts +2 -2
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/PatternVisitor.d.ts +1 -1
- package/src/ui/extension/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Referencer.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/client/apiVersionPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/client/clientHelpers.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/client/sendRequest.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/client/urlHelpers.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/fetchHttpClient.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/logger/debug.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/logger/logger.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/nodeHttpClient.js +7 -7
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/pipeline.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/agentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/apiKeyAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/bearerAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/auth/oauth2AuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/formDataPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/logPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/redirectPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/retryPolicy.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/tlsPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/util/sha256.common.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/browser/xhrHttpClient.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/apiVersionPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/clientHelpers.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/sendRequest.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/client/urlHelpers.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/fetchHttpClient.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/debug.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/logger.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/nodeHttpClient.js +7 -7
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/pipeline.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/agentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/apiKeyAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/bearerAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/oauth2AuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/decompressResponsePolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/formDataPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/logPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/proxyPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/redirectPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/retryPolicy.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/tlsPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/util/sha256.common.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/commonjs/xhrHttpClient.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/client/apiVersionPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/client/clientHelpers.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/client/sendRequest.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/client/urlHelpers.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/fetchHttpClient.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/logger/debug.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/logger/logger.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/nodeHttpClient.js +7 -7
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/pipeline.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/agentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/apiKeyAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/bearerAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/auth/oauth2AuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/decompressResponsePolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/formDataPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/logPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/proxyPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/redirectPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/retryPolicy.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/tlsPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/util/sha256.common.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/esm/xhrHttpClient.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/client/apiVersionPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/client/clientHelpers.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/client/sendRequest.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/client/urlHelpers.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/fetchHttpClient.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/debug.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/logger/logger.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/nodeHttpClient.js +7 -7
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/pipeline.d.ts +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/pipeline.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/agentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/apiKeyAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/basicAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/bearerAuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/auth/oauth2AuthenticationPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/decompressResponsePolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/formDataPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/logPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/multipartPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/redirectPolicy.js +2 -2
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/retryPolicy.js +3 -3
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/tlsPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/policies/userAgentPolicy.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/util/sha256.common.js +1 -1
- package/src/ui/extension/node_modules/@typespec/ts-http-runtime/dist/react-native/xhrHttpClient.js +1 -1
- package/src/ui/extension/node_modules/@ungap/structured-clone/cjs/deserialize.js +2 -9
- package/src/ui/extension/node_modules/@ungap/structured-clone/cjs/serialize.js +2 -21
- package/src/ui/extension/node_modules/@vscode/test-electron/out/download.js +3 -3
- package/src/ui/extension/node_modules/@vscode/test-electron/out/progress.js +2 -2
- package/src/ui/extension/node_modules/@vscode/test-electron/out/request.js +3 -3
- package/src/ui/extension/node_modules/@vscode/test-electron/out/runTest.js +2 -2
- package/src/ui/extension/node_modules/@vscode/test-electron/out/util.js +4 -4
- package/src/ui/extension/node_modules/@vscode/vsce/out/auth.js +1 -1
- package/src/ui/extension/node_modules/@vscode/vsce/out/npm.js +1 -1
- package/src/ui/extension/node_modules/@vscode/vsce/out/package.js +9 -10
- package/src/ui/extension/node_modules/@vscode/vsce/out/publish.js +3 -3
- package/src/ui/extension/node_modules/@vscode/vsce/out/store.js +2 -2
- package/src/ui/extension/node_modules/@vscode/vsce/out/util.js +2 -2
- package/src/ui/extension/node_modules/@vscode/vsce/out/validation.js +1 -1
- package/src/ui/extension/node_modules/@vscode/vsce-sign/src/main.js +1 -29
- package/src/ui/extension/node_modules/@vscode/vsce-sign/src/postinstall.js +1 -22
- package/src/ui/extension/node_modules/@vscode/vsce-sign/src/target.js +3 -24
- package/src/ui/extension/node_modules/acorn/dist/acorn.js +34 -778
- package/src/ui/extension/node_modules/acorn-jsx/index.js +5 -70
- package/src/ui/extension/node_modules/acorn-walk/dist/walk.d.ts +3 -23
- package/src/ui/extension/node_modules/acorn-walk/dist/walk.js +3 -44
- package/src/ui/extension/node_modules/agent-base/dist/index.d.ts +2 -2
- package/src/ui/extension/node_modules/agent-base/dist/index.js +1 -1
- package/src/ui/extension/node_modules/agentkeepalive/index.d.ts +3 -13
- package/src/ui/extension/node_modules/agentkeepalive/lib/agent.js +2 -44
- package/src/ui/extension/node_modules/agentkeepalive/lib/https_agent.js +2 -10
- package/src/ui/extension/node_modules/ajv/dist/ajv.bundle.js +13 -530
- package/src/ui/extension/node_modules/ajv/lib/ajv.js +6 -84
- package/src/ui/extension/node_modules/ajv/lib/compile/async.js +3 -21
- package/src/ui/extension/node_modules/ajv/lib/compile/resolve.js +4 -39
- package/src/ui/extension/node_modules/ansi-colors/types/index.d.ts +48 -71
- package/src/ui/extension/node_modules/append-transform/index.js +3 -21
- package/src/ui/extension/node_modules/argparse/argparse.js +301 -767
- package/src/ui/extension/node_modules/argparse/lib/sub.js +2 -13
- package/src/ui/extension/node_modules/argparse/lib/textwrap.js +5 -51
- package/src/ui/extension/node_modules/assertion-error/index.js +2 -25
- package/src/ui/extension/node_modules/asynckit/lib/async.js +2 -6
- package/src/ui/extension/node_modules/asynckit/lib/iterate.js +3 -12
- package/src/ui/extension/node_modules/asynckit/lib/readable_parallel.js +2 -6
- package/src/ui/extension/node_modules/asynckit/lib/readable_serial.js +2 -6
- package/src/ui/extension/node_modules/asynckit/lib/readable_serial_ordered.js +2 -6
- package/src/ui/extension/node_modules/asynckit/lib/streamify.js +5 -23
- package/src/ui/extension/node_modules/asynckit/lib/terminator.js +2 -7
- package/src/ui/extension/node_modules/asynckit/parallel.js +2 -8
- package/src/ui/extension/node_modules/asynckit/serial.js +2 -4
- package/src/ui/extension/node_modules/asynckit/serialOrdered.js +3 -13
- package/src/ui/extension/node_modules/azure-devops-node-api/AlertApi.js +9 -9
- package/src/ui/extension/node_modules/azure-devops-node-api/BuildApi.js +90 -90
- package/src/ui/extension/node_modules/azure-devops-node-api/CoreApi.js +34 -34
- package/src/ui/extension/node_modules/azure-devops-node-api/DashboardApi.js +14 -14
- package/src/ui/extension/node_modules/azure-devops-node-api/ExtensionManagementApi.js +26 -26
- package/src/ui/extension/node_modules/azure-devops-node-api/FeatureManagementApi.js +10 -10
- package/src/ui/extension/node_modules/azure-devops-node-api/FileContainerApi.js +6 -6
- package/src/ui/extension/node_modules/azure-devops-node-api/FileContainerApiBase.js +5 -5
- package/src/ui/extension/node_modules/azure-devops-node-api/GalleryApi.js +74 -74
- package/src/ui/extension/node_modules/azure-devops-node-api/GalleryCompatHttpClientBase.js +5 -5
- package/src/ui/extension/node_modules/azure-devops-node-api/GitApi.js +138 -138
- package/src/ui/extension/node_modules/azure-devops-node-api/LocationsApi.js +10 -10
- package/src/ui/extension/node_modules/azure-devops-node-api/ManagementApi.js +18 -18
- package/src/ui/extension/node_modules/azure-devops-node-api/NotificationApi.js +25 -25
- package/src/ui/extension/node_modules/azure-devops-node-api/PolicyApi.js +13 -13
- package/src/ui/extension/node_modules/azure-devops-node-api/ProfileApi.js +18 -18
- package/src/ui/extension/node_modules/azure-devops-node-api/ProjectAnalysisApi.js +5 -5
- package/src/ui/extension/node_modules/azure-devops-node-api/ReleaseApi.js +79 -79
- package/src/ui/extension/node_modules/azure-devops-node-api/SecurityRolesApi.js +7 -7
- package/src/ui/extension/node_modules/azure-devops-node-api/TaskAgentApi.js +2 -2
- package/src/ui/extension/node_modules/azure-devops-node-api/TaskAgentApiBase.js +152 -152
- package/src/ui/extension/node_modules/azure-devops-node-api/TaskApi.js +25 -25
- package/src/ui/extension/node_modules/azure-devops-node-api/TestApi.js +71 -71
- package/src/ui/extension/node_modules/azure-devops-node-api/TestPlanApi.js +42 -42
- package/src/ui/extension/node_modules/azure-devops-node-api/TestResultsApi.js +91 -91
- package/src/ui/extension/node_modules/azure-devops-node-api/TfvcApi.js +21 -21
- package/src/ui/extension/node_modules/azure-devops-node-api/VsoClient.js +7 -7
- package/src/ui/extension/node_modules/azure-devops-node-api/WebApi.js +3 -3
- package/src/ui/extension/node_modules/azure-devops-node-api/WikiApi.js +18 -18
- package/src/ui/extension/node_modules/azure-devops-node-api/WorkApi.js +58 -58
- package/src/ui/extension/node_modules/azure-devops-node-api/WorkItemTrackingApi.js +87 -87
- package/src/ui/extension/node_modules/azure-devops-node-api/WorkItemTrackingProcessApi.js +58 -58
- package/src/ui/extension/node_modules/azure-devops-node-api/WorkItemTrackingProcessDefinitionsApi.js +47 -47
- package/src/ui/extension/node_modules/azure-devops-node-api/interfaces/common/VsoBaseInterfaces.d.ts +2 -2
- package/src/ui/extension/node_modules/azure-devops-node-api/opensource/node-http-ntlm/ntlm.js +2 -2
- package/src/ui/extension/node_modules/bl/bl.js +4 -23
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/errors.js +3 -18
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +1 -71
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +2 -4
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/lib/internal/streams/from.js +2 -3
- package/src/ui/extension/node_modules/bl/node_modules/readable-stream/lib/internal/streams/pipeline.js +2 -5
- package/src/ui/extension/node_modules/braces/lib/parse.js +10 -76
- package/src/ui/extension/node_modules/browserslist/browser.js +2 -16
- package/src/ui/extension/node_modules/browserslist/index.d.ts +9 -36
- package/src/ui/extension/node_modules/browserslist/index.js +43 -112
- package/src/ui/extension/node_modules/browserslist/node.js +2 -54
- package/src/ui/extension/node_modules/caching-transform/index.js +3 -19
- package/src/ui/extension/node_modules/call-bind-apply-helpers/index.d.ts +4 -11
- package/src/ui/extension/node_modules/call-bound/index.d.ts +3 -15
- package/src/ui/extension/node_modules/chai/chai.js +5 -1145
- package/src/ui/extension/node_modules/chai/lib/chai/core/assertions.js +2 -1
- package/src/ui/extension/node_modules/chai-as-promised/lib/chai-as-promised.js +4 -70
- package/src/ui/extension/node_modules/chalk/templates.js +3 -25
- package/src/ui/extension/node_modules/cheerio/dist/browser/api/css.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/api/manipulation.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/browser/api/traversing.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/browser/cheerio.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/load-parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/load.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/browser/parse.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/browser/static.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/api/css.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/api/manipulation.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/api/traversing.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/cheerio.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/index.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/load-parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/load.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/parse.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/commonjs/static.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/esm/api/css.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/api/manipulation.js +2 -2
- package/src/ui/extension/node_modules/cheerio/dist/esm/api/traversing.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/esm/cheerio.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/index.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/esm/load-parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/load.js +3 -3
- package/src/ui/extension/node_modules/cheerio/dist/esm/parse.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/parse.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +1 -1
- package/src/ui/extension/node_modules/cheerio/dist/esm/static.js +2 -2
- package/src/ui/extension/node_modules/cheerio/src/__tests__/deprecated.spec.ts +2 -31
- package/src/ui/extension/node_modules/cheerio/src/api/attributes.spec.ts +11 -202
- package/src/ui/extension/node_modules/cheerio/src/api/css.spec.ts +2 -21
- package/src/ui/extension/node_modules/cheerio/src/api/css.ts +2 -18
- package/src/ui/extension/node_modules/cheerio/src/api/forms.spec.ts +2 -20
- package/src/ui/extension/node_modules/cheerio/src/api/manipulation.spec.ts +6 -364
- package/src/ui/extension/node_modules/cheerio/src/api/manipulation.ts +3 -110
- package/src/ui/extension/node_modules/cheerio/src/api/traversing.spec.ts +8 -263
- package/src/ui/extension/node_modules/cheerio/src/api/traversing.ts +3 -73
- package/src/ui/extension/node_modules/cheerio/src/index.spec.ts +6 -50
- package/src/ui/extension/node_modules/cheerio/src/index.ts +5 -38
- package/src/ui/extension/node_modules/cheerio/src/load-parse.ts +2 -4
- package/src/ui/extension/node_modules/cheerio/src/parse.spec.ts +2 -72
- package/src/ui/extension/node_modules/cheerio/src/static.spec.ts +4 -59
- package/src/ui/extension/node_modules/cheerio/src/static.ts +2 -29
- package/src/ui/extension/node_modules/cheerio/src/utils.ts +2 -11
- package/src/ui/extension/node_modules/cheerio-select/lib/esm/index.js +1 -1
- package/src/ui/extension/node_modules/chokidar/index.js +12 -136
- package/src/ui/extension/node_modules/chokidar/lib/fsevents-handler.js +14 -76
- package/src/ui/extension/node_modules/chokidar/lib/nodefs-handler.js +12 -82
- package/src/ui/extension/node_modules/chokidar/types/index.d.ts +8 -42
- package/src/ui/extension/node_modules/chownr/chownr.js +2 -23
- package/src/ui/extension/node_modules/cliui/build/lib/index.js +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/CircuitBreakerPolicy.js +3 -2
- package/src/ui/extension/node_modules/cockatiel/dist/Policy.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/Policy.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/RetryPolicy.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/backoff/Backoff.d.ts +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/backoff/DelegateBackoff.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/backoff/DelegateBackoff.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/common/Event.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/common/Event.js +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/common/defer.d.ts +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/common/defer.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/CircuitBreakerPolicy.js +3 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/Policy.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/esm/Policy.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/RetryPolicy.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/backoff/Backoff.d.ts +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/backoff/DelegateBackoff.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/esm/backoff/DelegateBackoff.js +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/common/Event.d.ts +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/esm/common/Event.js +3 -3
- package/src/ui/extension/node_modules/cockatiel/dist/esm/common/defer.d.ts +2 -2
- package/src/ui/extension/node_modules/cockatiel/dist/esm/common/defer.js +2 -2
- package/src/ui/extension/node_modules/commander/index.js +9 -223
- package/src/ui/extension/node_modules/commander/typings/index.d.ts +2 -42
- package/src/ui/extension/node_modules/cross-spawn/lib/util/readShebang.js +2 -8
- package/src/ui/extension/node_modules/cross-spawn/lib/util/resolveCommand.js +2 -11
- package/src/ui/extension/node_modules/css-select/lib/attributes.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/attributes.js +8 -8
- package/src/ui/extension/node_modules/css-select/lib/compile.js +5 -5
- package/src/ui/extension/node_modules/css-select/lib/esm/attributes.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/attributes.js +8 -8
- package/src/ui/extension/node_modules/css-select/lib/esm/compile.js +6 -6
- package/src/ui/extension/node_modules/css-select/lib/esm/general.js +2 -2
- package/src/ui/extension/node_modules/css-select/lib/esm/index.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +6 -6
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/index.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +4 -4
- package/src/ui/extension/node_modules/css-select/lib/general.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/index.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/filters.js +10 -10
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/index.js +1 -1
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +1 -1
- package/src/ui/extension/node_modules/css-select/lib/pseudo-selectors/subselects.js +4 -4
- package/src/ui/extension/node_modules/css-what/lib/es/parse.js +3 -3
- package/src/ui/extension/node_modules/debug/src/browser.js +7 -34
- package/src/ui/extension/node_modules/debug/src/common.js +4 -46
- package/src/ui/extension/node_modules/debug/src/node.js +2 -34
- package/src/ui/extension/node_modules/decompress-response/index.js +4 -18
- package/src/ui/extension/node_modules/default-require-extensions/json.js +2 -4
- package/src/ui/extension/node_modules/detect-libc/lib/detect-libc.js +3 -30
- package/src/ui/extension/node_modules/diff/dist/diff.js +8 -330
- package/src/ui/extension/node_modules/diff/lib/diff/array.js +2 -10
- package/src/ui/extension/node_modules/diff/lib/diff/base.js +3 -68
- package/src/ui/extension/node_modules/diff/lib/diff/css.js +2 -9
- package/src/ui/extension/node_modules/diff/lib/diff/line.js +3 -20
- package/src/ui/extension/node_modules/diff/lib/diff/sentence.js +2 -9
- package/src/ui/extension/node_modules/diff/lib/index.es6.js +8 -327
- package/src/ui/extension/node_modules/doctrine/lib/doctrine.js +2 -123
- package/src/ui/extension/node_modules/domhandler/lib/esm/index.d.ts +3 -3
- package/src/ui/extension/node_modules/domhandler/lib/esm/index.js +5 -5
- package/src/ui/extension/node_modules/domhandler/lib/esm/node.js +3 -3
- package/src/ui/extension/node_modules/domhandler/lib/index.d.ts +3 -3
- package/src/ui/extension/node_modules/domhandler/lib/index.js +5 -5
- package/src/ui/extension/node_modules/domhandler/lib/node.js +2 -2
- package/src/ui/extension/node_modules/domutils/lib/esm/manipulation.d.ts +1 -1
- package/src/ui/extension/node_modules/domutils/lib/esm/manipulation.js +2 -2
- package/src/ui/extension/node_modules/domutils/lib/manipulation.d.ts +1 -1
- package/src/ui/extension/node_modules/domutils/lib/manipulation.js +2 -2
- package/src/ui/extension/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +2 -2
- package/src/ui/extension/node_modules/encoding-sniffer/dist/commonjs/index.js +2 -2
- package/src/ui/extension/node_modules/encoding-sniffer/dist/esm/index.d.ts +2 -2
- package/src/ui/extension/node_modules/encoding-sniffer/dist/esm/index.js +2 -2
- package/src/ui/extension/node_modules/end-of-stream/index.js +2 -21
- package/src/ui/extension/node_modules/entities/lib/esm/encode.js +1 -1
- package/src/ui/extension/node_modules/entities/lib/esm/escape.js +2 -2
- package/src/ui/extension/node_modules/escalade/dist/index.js +2 -6
- package/src/ui/extension/node_modules/escalade/sync/index.js +2 -5
- package/src/ui/extension/node_modules/eslint/bin/eslint.js +3 -33
- package/src/ui/extension/node_modules/eslint/lib/cli-engine/cli-engine.js +13 -152
- package/src/ui/extension/node_modules/eslint/lib/cli-engine/file-enumerator.js +6 -76
- package/src/ui/extension/node_modules/eslint/lib/cli-engine/formatters/html.js +4 -47
- package/src/ui/extension/node_modules/eslint/lib/cli-engine/formatters/stylish.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/cli.js +7 -81
- package/src/ui/extension/node_modules/eslint/lib/config/flat-config-array.js +6 -80
- package/src/ui/extension/node_modules/eslint/lib/config/flat-config-helpers.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/config/rule-validator.js +2 -36
- package/src/ui/extension/node_modules/eslint/lib/eslint/eslint-helpers.js +6 -140
- package/src/ui/extension/node_modules/eslint/lib/eslint/eslint.js +5 -83
- package/src/ui/extension/node_modules/eslint/lib/eslint/flat-eslint.js +16 -204
- package/src/ui/extension/node_modules/eslint/lib/linter/apply-disable-directives.js +3 -69
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +2 -128
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +2 -41
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +9 -342
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +4 -49
- package/src/ui/extension/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +3 -46
- package/src/ui/extension/node_modules/eslint/lib/linter/linter.js +11 -305
- package/src/ui/extension/node_modules/eslint/lib/linter/report-translator.js +2 -56
- package/src/ui/extension/node_modules/eslint/lib/options.js +8 -31
- package/src/ui/extension/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +6 -170
- package/src/ui/extension/node_modules/eslint/lib/rule-tester/rule-tester.js +4 -162
- package/src/ui/extension/node_modules/eslint/lib/rules/accessor-pairs.js +2 -48
- package/src/ui/extension/node_modules/eslint/lib/rules/array-bracket-newline.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/array-bracket-spacing.js +2 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/array-callback-return.js +2 -74
- package/src/ui/extension/node_modules/eslint/lib/rules/array-element-newline.js +4 -50
- package/src/ui/extension/node_modules/eslint/lib/rules/arrow-body-style.js +3 -40
- package/src/ui/extension/node_modules/eslint/lib/rules/arrow-parens.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/arrow-spacing.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/block-scoped-var.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/block-spacing.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/brace-style.js +2 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/callback-return.js +2 -40
- package/src/ui/extension/node_modules/eslint/lib/rules/camelcase.js +2 -50
- package/src/ui/extension/node_modules/eslint/lib/rules/capitalized-comments.js +2 -48
- package/src/ui/extension/node_modules/eslint/lib/rules/class-methods-use-this.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/comma-dangle.js +2 -45
- package/src/ui/extension/node_modules/eslint/lib/rules/comma-spacing.js +4 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/comma-style.js +2 -44
- package/src/ui/extension/node_modules/eslint/lib/rules/complexity.js +3 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/computed-property-spacing.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/consistent-return.js +3 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/consistent-this.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/constructor-super.js +2 -74
- package/src/ui/extension/node_modules/eslint/lib/rules/curly.js +2 -70
- package/src/ui/extension/node_modules/eslint/lib/rules/default-case-last.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/default-case.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/default-param-last.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/dot-location.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/dot-notation.js +3 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/eol-last.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/eqeqeq.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/for-direction.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/func-call-spacing.js +2 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/func-name-matching.js +3 -33
- package/src/ui/extension/node_modules/eslint/lib/rules/func-names.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/func-style.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/function-call-argument-newline.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/function-paren-newline.js +4 -43
- package/src/ui/extension/node_modules/eslint/lib/rules/generator-star-spacing.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/getter-return.js +2 -34
- package/src/ui/extension/node_modules/eslint/lib/rules/global-require.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +2 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/guard-for-in.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/handle-callback-err.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/id-blacklist.js +3 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/id-denylist.js +3 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/id-length.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/id-match.js +3 -55
- package/src/ui/extension/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/indent-legacy.js +8 -180
- package/src/ui/extension/node_modules/eslint/lib/rules/indent.js +7 -258
- package/src/ui/extension/node_modules/eslint/lib/rules/init-declarations.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/jsx-quotes.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/key-spacing.js +4 -80
- package/src/ui/extension/node_modules/eslint/lib/rules/keyword-spacing.js +2 -84
- package/src/ui/extension/node_modules/eslint/lib/rules/line-comment-position.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/linebreak-style.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/lines-around-comment.js +2 -61
- package/src/ui/extension/node_modules/eslint/lib/rules/lines-around-directive.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/lines-between-class-members.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/logical-assignment-operators.js +2 -81
- package/src/ui/extension/node_modules/eslint/lib/rules/max-classes-per-file.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/max-depth.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/max-len.js +3 -69
- package/src/ui/extension/node_modules/eslint/lib/rules/max-lines-per-function.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/max-lines.js +3 -31
- package/src/ui/extension/node_modules/eslint/lib/rules/max-nested-callbacks.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/max-params.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/max-statements-per-line.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/max-statements.js +2 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/multiline-comment-style.js +3 -71
- package/src/ui/extension/node_modules/eslint/lib/rules/multiline-ternary.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/new-cap.js +2 -51
- package/src/ui/extension/node_modules/eslint/lib/rules/new-parens.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/newline-after-var.js +2 -43
- package/src/ui/extension/node_modules/eslint/lib/rules/newline-before-return.js +3 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/newline-per-chained-call.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-alert.js +3 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-array-constructor.js +5 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/no-async-promise-executor.js +2 -7
- package/src/ui/extension/node_modules/eslint/lib/rules/no-await-in-loop.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-bitwise.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-buffer-constructor.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-caller.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-case-declarations.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-catch-shadow.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-class-assign.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-compare-neg-zero.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-cond-assign.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-confusing-arrow.js +2 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/no-console.js +2 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/no-const-assign.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-constant-binary-expression.js +2 -48
- package/src/ui/extension/node_modules/eslint/lib/rules/no-constant-condition.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-constructor-return.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-continue.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-control-regex.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-debugger.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-delete-var.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-div-regex.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-dupe-args.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-dupe-class-members.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-dupe-else-if.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-dupe-keys.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/no-duplicate-case.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-duplicate-imports.js +3 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-else-return.js +4 -78
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty-character-class.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty-function.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty-pattern.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty-static-block.js +2 -10
- package/src/ui/extension/node_modules/eslint/lib/rules/no-empty.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-eq-null.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-eval.js +2 -47
- package/src/ui/extension/node_modules/eslint/lib/rules/no-ex-assign.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extend-native.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-bind.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +2 -59
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-label.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-parens.js +4 -202
- package/src/ui/extension/node_modules/eslint/lib/rules/no-extra-semi.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/no-fallthrough.js +3 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/no-floating-decimal.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-func-assign.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-global-assign.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-implicit-coercion.js +4 -61
- package/src/ui/extension/node_modules/eslint/lib/rules/no-implicit-globals.js +3 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/no-implied-eval.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-import-assign.js +2 -34
- package/src/ui/extension/node_modules/eslint/lib/rules/no-inline-comments.js +3 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-inner-declarations.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/no-invalid-regexp.js +2 -31
- package/src/ui/extension/node_modules/eslint/lib/rules/no-invalid-this.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-irregular-whitespace.js +3 -40
- package/src/ui/extension/node_modules/eslint/lib/rules/no-iterator.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-label-var.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/no-labels.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-lone-blocks.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-lonely-if.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-loop-func.js +2 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/no-loss-of-precision.js +2 -33
- package/src/ui/extension/node_modules/eslint/lib/rules/no-magic-numbers.js +5 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/no-misleading-character-class.js +4 -50
- package/src/ui/extension/node_modules/eslint/lib/rules/no-mixed-operators.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-mixed-requires.js +2 -48
- package/src/ui/extension/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +3 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-multi-assign.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-multi-spaces.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-multi-str.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +3 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-native-reassign.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-negated-condition.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-negated-in-lhs.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-nested-ternary.js +2 -10
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-func.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-object.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-require.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-symbol.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new-wrappers.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-new.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-obj-calls.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-object-constructor.js +5 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/no-octal-escape.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-octal.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-param-reassign.js +2 -34
- package/src/ui/extension/node_modules/eslint/lib/rules/no-path-concat.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-plusplus.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-process-env.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-process-exit.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-promise-executor-return.js +3 -51
- package/src/ui/extension/node_modules/eslint/lib/rules/no-proto.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-prototype-builtins.js +3 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-redeclare.js +3 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/no-regex-spaces.js +5 -38
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-exports.js +2 -27
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-globals.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-imports.js +3 -46
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-modules.js +2 -33
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-properties.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-restricted-syntax.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/no-return-assign.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-return-await.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-script-url.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/no-self-assign.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-self-compare.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-sequences.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-setter-return.js +2 -41
- package/src/ui/extension/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-shadow.js +3 -54
- package/src/ui/extension/node_modules/eslint/lib/rules/no-spaced-func.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/no-sparse-arrays.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/no-sync.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-tabs.js +3 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-template-curly-in-string.js +2 -10
- package/src/ui/extension/node_modules/eslint/lib/rules/no-ternary.js +2 -13
- package/src/ui/extension/node_modules/eslint/lib/rules/no-this-before-super.js +2 -47
- package/src/ui/extension/node_modules/eslint/lib/rules/no-throw-literal.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/no-trailing-spaces.js +2 -36
- package/src/ui/extension/node_modules/eslint/lib/rules/no-undef-init.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-undef.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-undefined.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/no-underscore-dangle.js +3 -38
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unexpected-multiline.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +4 -62
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unneeded-ternary.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unreachable-loop.js +2 -37
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unreachable.js +2 -49
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unsafe-finally.js +3 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unsafe-negation.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unused-expressions.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unused-labels.js +2 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unused-private-class-members.js +2 -34
- package/src/ui/extension/node_modules/eslint/lib/rules/no-unused-vars.js +6 -122
- package/src/ui/extension/node_modules/eslint/lib/rules/no-use-before-define.js +2 -49
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-backreference.js +3 -39
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-call.js +2 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-catch.js +2 -9
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-computed-key.js +2 -31
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-concat.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-constructor.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-escape.js +6 -60
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-rename.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-useless-return.js +2 -53
- package/src/ui/extension/node_modules/eslint/lib/rules/no-var.js +2 -44
- package/src/ui/extension/node_modules/eslint/lib/rules/no-void.js +2 -10
- package/src/ui/extension/node_modules/eslint/lib/rules/no-warning-comments.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/no-whitespace-before-property.js +4 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/no-with.js +2 -11
- package/src/ui/extension/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +2 -19
- package/src/ui/extension/node_modules/eslint/lib/rules/object-curly-newline.js +4 -44
- package/src/ui/extension/node_modules/eslint/lib/rules/object-curly-spacing.js +2 -45
- package/src/ui/extension/node_modules/eslint/lib/rules/object-property-newline.js +2 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/object-shorthand.js +3 -73
- package/src/ui/extension/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +3 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/one-var.js +3 -69
- package/src/ui/extension/node_modules/eslint/lib/rules/operator-assignment.js +3 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/operator-linebreak.js +3 -44
- package/src/ui/extension/node_modules/eslint/lib/rules/padded-blocks.js +3 -43
- package/src/ui/extension/node_modules/eslint/lib/rules/padding-line-between-statements.js +4 -65
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-arrow-callback.js +2 -66
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-const.js +2 -87
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-destructuring.js +2 -38
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-named-capture-group.js +5 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-numeric-literals.js +2 -28
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-object-has-own.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-object-spread.js +3 -41
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-reflect.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-regex-literals.js +3 -74
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-rest-params.js +2 -22
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-spread.js +3 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/prefer-template.js +2 -45
- package/src/ui/extension/node_modules/eslint/lib/rules/quote-props.js +4 -42
- package/src/ui/extension/node_modules/eslint/lib/rules/quotes.js +2 -54
- package/src/ui/extension/node_modules/eslint/lib/rules/radix.js +3 -30
- package/src/ui/extension/node_modules/eslint/lib/rules/require-atomic-updates.js +2 -55
- package/src/ui/extension/node_modules/eslint/lib/rules/require-await.js +2 -20
- package/src/ui/extension/node_modules/eslint/lib/rules/require-jsdoc.js +2 -12
- package/src/ui/extension/node_modules/eslint/lib/rules/require-unicode-regexp.js +3 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/require-yield.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/rest-spread-spacing.js +3 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/semi-spacing.js +2 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/semi-style.js +2 -26
- package/src/ui/extension/node_modules/eslint/lib/rules/semi.js +3 -58
- package/src/ui/extension/node_modules/eslint/lib/rules/sort-imports.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/sort-keys.js +2 -35
- package/src/ui/extension/node_modules/eslint/lib/rules/sort-vars.js +2 -21
- package/src/ui/extension/node_modules/eslint/lib/rules/space-before-blocks.js +5 -29
- package/src/ui/extension/node_modules/eslint/lib/rules/space-before-function-paren.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/space-in-parens.js +3 -43
- package/src/ui/extension/node_modules/eslint/lib/rules/space-infix-ops.js +2 -33
- package/src/ui/extension/node_modules/eslint/lib/rules/space-unary-ops.js +2 -32
- package/src/ui/extension/node_modules/eslint/lib/rules/spaced-comment.js +2 -54
- package/src/ui/extension/node_modules/eslint/lib/rules/strict.js +2 -39
- package/src/ui/extension/node_modules/eslint/lib/rules/switch-colon-spacing.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/symbol-description.js +2 -16
- package/src/ui/extension/node_modules/eslint/lib/rules/template-curly-spacing.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/template-tag-spacing.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/unicode-bom.js +2 -15
- package/src/ui/extension/node_modules/eslint/lib/rules/use-isnan.js +2 -24
- package/src/ui/extension/node_modules/eslint/lib/rules/utils/ast-utils.js +8 -276
- package/src/ui/extension/node_modules/eslint/lib/rules/utils/fix-tracker.js +2 -17
- package/src/ui/extension/node_modules/eslint/lib/rules/valid-jsdoc.js +4 -64
- package/src/ui/extension/node_modules/eslint/lib/rules/valid-typeof.js +3 -25
- package/src/ui/extension/node_modules/eslint/lib/rules/vars-on-top.js +2 -23
- package/src/ui/extension/node_modules/eslint/lib/rules/wrap-iife.js +2 -38
- package/src/ui/extension/node_modules/eslint/lib/rules/wrap-regex.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/rules/yield-star-spacing.js +2 -18
- package/src/ui/extension/node_modules/eslint/lib/rules/yoda.js +2 -45
- package/src/ui/extension/node_modules/eslint/lib/shared/config-validator.js +2 -51
- package/src/ui/extension/node_modules/eslint/lib/shared/relative-module-resolver.js +2 -8
- package/src/ui/extension/node_modules/eslint/lib/shared/runtime-info.js +2 -30
- package/src/ui/extension/node_modules/eslint/lib/shared/string-utils.js +2 -14
- package/src/ui/extension/node_modules/eslint/lib/source-code/source-code.js +4 -175
- package/src/ui/extension/node_modules/eslint/node_modules/ansi-styles/index.js +2 -26
- package/src/ui/extension/node_modules/eslint/node_modules/chalk/source/index.js +5 -47
- package/src/ui/extension/node_modules/eslint/node_modules/chalk/source/templates.js +3 -28
- package/src/ui/extension/node_modules/eslint/node_modules/color-convert/conversions.js +28 -197
- package/src/ui/extension/node_modules/eslint/node_modules/eslint-scope/lib/pattern-visitor.js +2 -32
- package/src/ui/extension/node_modules/eslint/node_modules/eslint-scope/lib/referencer.js +5 -137
- package/src/ui/extension/node_modules/eslint/node_modules/eslint-scope/lib/scope.js +5 -132
- package/src/ui/extension/node_modules/eslint/node_modules/estraverse/estraverse.js +3 -112
- package/src/ui/extension/node_modules/eslint/node_modules/supports-color/index.js +2 -27
- package/src/ui/extension/node_modules/eslint-scope/lib/pattern-visitor.js +2 -31
- package/src/ui/extension/node_modules/eslint-scope/lib/referencer.js +5 -130
- package/src/ui/extension/node_modules/eslint-scope/lib/scope.js +5 -129
- package/src/ui/extension/node_modules/espree/espree.js +2 -28
- package/src/ui/extension/node_modules/espree/lib/espree.js +2 -62
- package/src/ui/extension/node_modules/esprima/bin/esvalidate.js +5 -36
- package/src/ui/extension/node_modules/esprima/dist/esprima.js +17 -72
- package/src/ui/extension/node_modules/esquery/dist/esquery.esm.js +3 -63
- package/src/ui/extension/node_modules/esquery/dist/esquery.js +3 -65
- package/src/ui/extension/node_modules/esquery/node_modules/estraverse/estraverse.js +3 -112
- package/src/ui/extension/node_modules/esrecurse/node_modules/estraverse/estraverse.js +3 -112
- package/src/ui/extension/node_modules/estraverse/estraverse.js +3 -109
- package/src/ui/extension/node_modules/event-target-shim/dist/event-target-shim.js +11 -99
- package/src/ui/extension/node_modules/event-target-shim/index.d.ts +2 -47
- package/src/ui/extension/node_modules/fast-glob/out/index.d.ts +5 -5
- package/src/ui/extension/node_modules/fast-glob/out/index.js +3 -3
- package/src/ui/extension/node_modules/fast-glob/out/providers/filters/error.js +3 -3
- package/src/ui/extension/node_modules/fast-glob/out/readers/async.js +2 -2
- package/src/ui/extension/node_modules/fast-glob/out/readers/reader.d.ts +2 -2
- package/src/ui/extension/node_modules/fast-glob/out/readers/reader.js +2 -2
- package/src/ui/extension/node_modules/fast-glob/out/readers/sync.js +2 -2
- package/src/ui/extension/node_modules/fast-glob/out/utils/errno.d.ts +1 -1
- package/src/ui/extension/node_modules/fast-glob/out/utils/errno.js +2 -2
- package/src/ui/extension/node_modules/fastq/queue.js +4 -53
- package/src/ui/extension/node_modules/fd-slicer/index.js +9 -49
- package/src/ui/extension/node_modules/fill-range/index.js +2 -53
- package/src/ui/extension/node_modules/foreground-child/index.js +2 -22
- package/src/ui/extension/node_modules/form-data/index.d.ts +4 -12
- package/src/ui/extension/node_modules/form-data/lib/form_data.js +4 -95
- package/src/ui/extension/node_modules/form-data-encoder/lib/cjs/FormDataEncoder.js +2 -2
- package/src/ui/extension/node_modules/form-data-encoder/lib/esm/FormDataEncoder.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/@type/FormData.d.ts +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/cjs/Blob.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/cjs/FormData.js +3 -3
- package/src/ui/extension/node_modules/formdata-node/lib/cjs/blobHelpers.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/cjs/fileFromPath.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/esm/Blob.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/esm/FormData.js +3 -3
- package/src/ui/extension/node_modules/formdata-node/lib/esm/blobHelpers.js +2 -2
- package/src/ui/extension/node_modules/formdata-node/lib/esm/fileFromPath.js +2 -2
- package/src/ui/extension/node_modules/gensync/index.js +7 -49
- package/src/ui/extension/node_modules/gensync/test/index.test.js +3 -81
- package/src/ui/extension/node_modules/globby/index.js +2 -42
- package/src/ui/extension/node_modules/globby/stream-utils.js +3 -11
- package/src/ui/extension/node_modules/graceful-fs/graceful-fs.js +2 -58
- package/src/ui/extension/node_modules/graceful-fs/polyfills.js +2 -40
- package/src/ui/extension/node_modules/graphemer/lib/Graphemer.js +3 -3
- package/src/ui/extension/node_modules/graphemer/lib/GraphemerHelper.js +3 -3
- package/src/ui/extension/node_modules/graphemer/lib/GraphemerIterator.js +2 -2
- package/src/ui/extension/node_modules/hasha/index.js +2 -35
- package/src/ui/extension/node_modules/hasha/node_modules/type-fest/source/merge-exclusive.d.ts +2 -12
- package/src/ui/extension/node_modules/hasha/thread.js +2 -10
- package/src/ui/extension/node_modules/highlight.js/es/languages/fsharp.js +2 -36
- package/src/ui/extension/node_modules/highlight.js/es/languages/javascript.js +2 -37
- package/src/ui/extension/node_modules/highlight.js/es/languages/typescript.js +2 -54
- package/src/ui/extension/node_modules/highlight.js/lib/core.js +2 -317
- package/src/ui/extension/node_modules/highlight.js/lib/languages/fsharp.js +2 -36
- package/src/ui/extension/node_modules/highlight.js/lib/languages/javascript.js +2 -37
- package/src/ui/extension/node_modules/highlight.js/lib/languages/typescript.js +2 -54
- package/src/ui/extension/node_modules/highlight.js/types/index.d.ts +4 -34
- package/src/ui/extension/node_modules/hosted-git-info/index.js +3 -39
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +1 -1
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/WritableStream.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/index.d.ts +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/commonjs/index.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/Parser.d.ts +1 -1
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/WritableStream.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/index.d.ts +2 -2
- package/src/ui/extension/node_modules/htmlparser2/dist/esm/index.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +3 -3
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +2 -2
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +3 -3
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/src/decode.ts +3 -82
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/src/encode.ts +3 -12
- package/src/ui/extension/node_modules/htmlparser2/node_modules/entities/src/escape.ts +4 -19
- package/src/ui/extension/node_modules/htmlparser2/src/Parser.events.spec.ts +3 -64
- package/src/ui/extension/node_modules/htmlparser2/src/Parser.ts +2 -88
- package/src/ui/extension/node_modules/htmlparser2/src/Tokenizer.ts +3 -63
- package/src/ui/extension/node_modules/htmlparser2/src/WritableStream.spec.ts +4 -21
- package/src/ui/extension/node_modules/htmlparser2/src/WritableStream.ts +2 -7
- package/src/ui/extension/node_modules/htmlparser2/src/__fixtures__/testHelper.ts +7 -20
- package/src/ui/extension/node_modules/htmlparser2/src/index.spec.ts +5 -19
- package/src/ui/extension/node_modules/htmlparser2/src/index.ts +4 -16
- package/src/ui/extension/node_modules/http-proxy-agent/dist/index.d.ts +3 -3
- package/src/ui/extension/node_modules/http-proxy-agent/dist/index.js +7 -7
- package/src/ui/extension/node_modules/https-proxy-agent/dist/index.d.ts +1 -1
- package/src/ui/extension/node_modules/https-proxy-agent/dist/index.js +3 -3
- package/src/ui/extension/node_modules/is-docker/index.js +2 -7
- package/src/ui/extension/node_modules/is-inside-container/index.js +2 -6
- package/src/ui/extension/node_modules/istanbul-lib-coverage/lib/coverage-map.js +2 -18
- package/src/ui/extension/node_modules/istanbul-lib-coverage/lib/percent.js +2 -3
- package/src/ui/extension/node_modules/istanbul-lib-hook/lib/hook.js +3 -10
- package/src/ui/extension/node_modules/istanbul-lib-instrument/dist/instrumenter.js +2 -28
- package/src/ui/extension/node_modules/istanbul-lib-instrument/dist/read-coverage.js +2 -23
- package/src/ui/extension/node_modules/istanbul-lib-instrument/dist/visitor.js +1 -135
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/index.js +2 -57
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/esm-node/parse.js +1 -9
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/esm-node/v1.js +2 -30
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/index.js +2 -2
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/parse.js +1 -12
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/rng-browser.js +1 -5
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/v1.js +4 -36
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/v35.js +2 -2
- package/src/ui/extension/node_modules/istanbul-lib-processinfo/node_modules/uuid/dist/v4.js +2 -2
- package/src/ui/extension/node_modules/istanbul-lib-report/lib/file-writer.js +2 -22
- package/src/ui/extension/node_modules/istanbul-lib-report/lib/path.js +6 -30
- package/src/ui/extension/node_modules/istanbul-lib-report/lib/report-base.js +2 -6
- package/src/ui/extension/node_modules/istanbul-lib-report/lib/summarizer-factory.js +4 -49
- package/src/ui/extension/node_modules/istanbul-lib-report/node_modules/make-dir/index.js +3 -35
- package/src/ui/extension/node_modules/istanbul-lib-report/node_modules/supports-color/index.js +2 -27
- package/src/ui/extension/node_modules/istanbul-lib-source-maps/lib/get-mapping.js +2 -19
- package/src/ui/extension/node_modules/istanbul-lib-source-maps/lib/map-store.js +3 -29
- package/src/ui/extension/node_modules/istanbul-lib-source-maps/lib/transformer.js +3 -24
- package/src/ui/extension/node_modules/istanbul-reports/index.js +2 -5
- package/src/ui/extension/node_modules/istanbul-reports/lib/clover/index.js +4 -25
- package/src/ui/extension/node_modules/istanbul-reports/lib/cobertura/index.js +2 -19
- package/src/ui/extension/node_modules/istanbul-reports/lib/html/annotator.js +15 -34
- package/src/ui/extension/node_modules/istanbul-reports/lib/html/assets/block-navigation.js +2 -16
- package/src/ui/extension/node_modules/istanbul-reports/lib/html/index.js +7 -44
- package/src/ui/extension/node_modules/istanbul-reports/lib/html/insertion-text.js +5 -16
- package/src/ui/extension/node_modules/istanbul-reports/lib/html-spa/index.js +8 -26
- package/src/ui/extension/node_modules/istanbul-reports/lib/html-spa/src/getChildData.js +3 -17
- package/src/ui/extension/node_modules/istanbul-reports/lib/json/index.js +2 -9
- package/src/ui/extension/node_modules/istanbul-reports/lib/json-summary/index.js +2 -10
- package/src/ui/extension/node_modules/istanbul-reports/lib/lcovonly/index.js +2 -12
- package/src/ui/extension/node_modules/istanbul-reports/lib/teamcity/index.js +2 -13
- package/src/ui/extension/node_modules/istanbul-reports/lib/text/index.js +8 -49
- package/src/ui/extension/node_modules/istanbul-reports/lib/text-summary/index.js +2 -9
- package/src/ui/extension/node_modules/js-yaml/bin/js-yaml.js +4 -38
- package/src/ui/extension/node_modules/js-yaml/dist/js-yaml.js +2 -797
- package/src/ui/extension/node_modules/js-yaml/lib/dumper.js +2 -152
- package/src/ui/extension/node_modules/jsesc/jsesc.js +5 -31
- package/src/ui/extension/node_modules/json5/dist/index.js +2 -2
- package/src/ui/extension/node_modules/json5/lib/cli.js +11 -36
- package/src/ui/extension/node_modules/json5/lib/parse.js +16 -224
- package/src/ui/extension/node_modules/json5/lib/stringify.js +8 -51
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/impl/edit.js +6 -6
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/impl/format.js +7 -7
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/impl/parser.js +8 -6
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/impl/scanner.js +6 -4
- package/src/ui/extension/node_modules/jsonc-parser/lib/esm/main.d.ts +2 -2
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/impl/edit.js +6 -6
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/impl/format.js +7 -7
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/impl/parser.js +8 -6
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/impl/scanner.js +6 -4
- package/src/ui/extension/node_modules/jsonc-parser/lib/umd/main.d.ts +2 -2
- package/src/ui/extension/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +2 -4
- package/src/ui/extension/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +2 -1
- package/src/ui/extension/node_modules/jsonwebtoken/sign.js +6 -35
- package/src/ui/extension/node_modules/jsonwebtoken/verify.js +7 -57
- package/src/ui/extension/node_modules/jszip/dist/jszip.js +9 -1379
- package/src/ui/extension/node_modules/jszip/index.d.ts +6 -48
- package/src/ui/extension/node_modules/jszip/lib/stream/GenericWorker.js +2 -16
- package/src/ui/extension/node_modules/jszip/lib/utils.js +2 -42
- package/src/ui/extension/node_modules/jszip/vendor/FileSaver.js +3 -9
- package/src/ui/extension/node_modules/leven/index.js +5 -20
- package/src/ui/extension/node_modules/lie/dist/lie.js +5 -40
- package/src/ui/extension/node_modules/lie/dist/lie.polyfill.js +5 -42
- package/src/ui/extension/node_modules/lie/lib/browser.js +5 -32
- package/src/ui/extension/node_modules/lie/lib/index.js +5 -32
- package/src/ui/extension/node_modules/log-symbols/node_modules/ansi-styles/index.js +2 -26
- package/src/ui/extension/node_modules/log-symbols/node_modules/chalk/source/index.js +5 -47
- package/src/ui/extension/node_modules/log-symbols/node_modules/chalk/source/templates.js +3 -28
- package/src/ui/extension/node_modules/log-symbols/node_modules/color-convert/conversions.js +28 -197
- package/src/ui/extension/node_modules/log-symbols/node_modules/supports-color/index.js +2 -27
- package/src/ui/extension/node_modules/loupe/lib/error.js +2 -4
- package/src/ui/extension/node_modules/loupe/loupe.js +2 -163
- package/src/ui/extension/node_modules/make-dir/index.js +3 -35
- package/src/ui/extension/node_modules/make-error/dist/make-error.js +1 -1
- package/src/ui/extension/node_modules/make-error/index.js +2 -25
- package/src/ui/extension/node_modules/markdown-it/bin/markdown-it.js +2 -31
- package/src/ui/extension/node_modules/marked/bin/main.js +10 -44
- package/src/ui/extension/node_modules/marked/lib/marked.d.ts +4 -7
- package/src/ui/extension/node_modules/marked/lib/marked.esm.js +21 -34
- package/src/ui/extension/node_modules/marked/lib/marked.umd.js +21 -36
- package/src/ui/extension/node_modules/minimist/index.js +2 -37
- package/src/ui/extension/node_modules/mocha/bin/mocha.js +2 -21
- package/src/ui/extension/node_modules/mocha/browser-entry.js +2 -38
- package/src/ui/extension/node_modules/mocha/lib/cli/cli.js +2 -11
- package/src/ui/extension/node_modules/mocha/lib/cli/config.js +2 -10
- package/src/ui/extension/node_modules/mocha/lib/cli/lookup-files.js +4 -14
- package/src/ui/extension/node_modules/mocha/lib/cli/options.js +3 -27
- package/src/ui/extension/node_modules/mocha/lib/cli/run-helpers.js +4 -37
- package/src/ui/extension/node_modules/mocha/lib/cli/run.js +3 -23
- package/src/ui/extension/node_modules/mocha/lib/cli/watch-run.js +2 -49
- package/src/ui/extension/node_modules/mocha/lib/interfaces/bdd.js +2 -18
- package/src/ui/extension/node_modules/mocha/lib/interfaces/common.js +2 -16
- package/src/ui/extension/node_modules/mocha/lib/interfaces/qunit.js +2 -15
- package/src/ui/extension/node_modules/mocha/lib/interfaces/tdd.js +2 -14
- package/src/ui/extension/node_modules/mocha/lib/mocha.js +5 -89
- package/src/ui/extension/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js +9 -51
- package/src/ui/extension/node_modules/mocha/lib/nodejs/reporters/parallel-buffered.js +3 -19
- package/src/ui/extension/node_modules/mocha/lib/nodejs/serializer.js +2 -34
- package/src/ui/extension/node_modules/mocha/lib/nodejs/worker.js +5 -24
- package/src/ui/extension/node_modules/mocha/lib/plugin-loader.js +2 -21
- package/src/ui/extension/node_modules/mocha/lib/reporters/html.js +2 -50
- package/src/ui/extension/node_modules/mocha/lib/reporters/json-stream.js +2 -15
- package/src/ui/extension/node_modules/mocha/lib/runnable.js +2 -47
- package/src/ui/extension/node_modules/mocha/lib/runner.js +2 -130
- package/src/ui/extension/node_modules/mocha/lib/utils.js +7 -5
- package/src/ui/extension/node_modules/mocha/mocha.js +40 -2765
- package/src/ui/extension/node_modules/mocha/node_modules/minimatch/minimatch.js +7 -151
- package/src/ui/extension/node_modules/mocha/node_modules/supports-color/index.js +2 -32
- package/src/ui/extension/node_modules/nise/lib/event/event-target.js +2 -15
- package/src/ui/extension/node_modules/nise/lib/fake-xhr/index.js +5 -121
- package/src/ui/extension/node_modules/nise/nise.js +20 -1174
- package/src/ui/extension/node_modules/nise/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +17 -282
- package/src/ui/extension/node_modules/node-addon-api/tools/check-napi.js +4 -10
- package/src/ui/extension/node_modules/node-fetch/lib/index.es.js +16 -261
- package/src/ui/extension/node_modules/node-fetch/lib/index.js +16 -263
- package/src/ui/extension/node_modules/nyc/bin/nyc.js +2 -21
- package/src/ui/extension/node_modules/nyc/index.js +4 -88
- package/src/ui/extension/node_modules/nyc/lib/commands/helpers.js +2 -12
- package/src/ui/extension/node_modules/nyc/node_modules/ansi-styles/index.js +2 -26
- package/src/ui/extension/node_modules/nyc/node_modules/cliui/index.js +2 -70
- package/src/ui/extension/node_modules/nyc/node_modules/color-convert/conversions.js +28 -197
- package/src/ui/extension/node_modules/nyc/node_modules/p-locate/index.js +2 -13
- package/src/ui/extension/node_modules/nyc/node_modules/resolve-from/index.js +3 -11
- package/src/ui/extension/node_modules/nyc/node_modules/wrap-ansi/index.js +2 -41
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/command.d.ts +2 -2
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/command.js +5 -5
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/completion.js +2 -2
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/levenshtein.js +3 -6
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/middleware.js +3 -3
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/usage.js +3 -3
- package/src/ui/extension/node_modules/nyc/node_modules/yargs/build/lib/yargs.js +9 -9
- package/src/ui/extension/node_modules/nyc/node_modules/yargs-parser/index.js +11 -137
- package/src/ui/extension/node_modules/onetime/index.js +2 -13
- package/src/ui/extension/node_modules/open/index.js +5 -84
- package/src/ui/extension/node_modules/ora/index.js +2 -92
- package/src/ui/extension/node_modules/ora/node_modules/chalk/source/index.js +3 -45
- package/src/ui/extension/node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.js +4 -40
- package/src/ui/extension/node_modules/ora/node_modules/chalk/source/vendor/supports-color/index.js +2 -38
- package/src/ui/extension/node_modules/p-locate/index.js +2 -13
- package/src/ui/extension/node_modules/p-map/index.js +2 -14
- package/src/ui/extension/node_modules/p-try/index.d.ts +2 -7
- package/src/ui/extension/node_modules/parse5/dist/cjs/common/error-codes.d.ts +2 -2
- package/src/ui/extension/node_modules/parse5/dist/cjs/parser/index.js +7 -7
- package/src/ui/extension/node_modules/parse5/dist/common/error-codes.d.ts +2 -2
- package/src/ui/extension/node_modules/parse5/dist/parser/index.js +7 -7
- package/src/ui/extension/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +2 -2
- package/src/ui/extension/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +3 -3
- package/src/ui/extension/node_modules/parse5/node_modules/entities/dist/esm/encode.js +2 -2
- package/src/ui/extension/node_modules/parse5/node_modules/entities/dist/esm/escape.js +3 -3
- package/src/ui/extension/node_modules/parse5/node_modules/entities/src/decode.ts +3 -82
- package/src/ui/extension/node_modules/parse5/node_modules/entities/src/encode.ts +3 -12
- package/src/ui/extension/node_modules/parse5/node_modules/entities/src/escape.ts +4 -19
- package/src/ui/extension/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +2 -2
- package/src/ui/extension/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +2 -2
- package/src/ui/extension/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +3 -3
- package/src/ui/extension/node_modules/parse5-parser-stream/dist/cjs/index.js +2 -2
- package/src/ui/extension/node_modules/parse5-parser-stream/dist/index.d.ts +3 -3
- package/src/ui/extension/node_modules/parse5-parser-stream/dist/index.js +2 -2
- package/src/ui/extension/node_modules/path-type/index.js +3 -10
- package/src/ui/extension/node_modules/picomatch/lib/parse.js +9 -220
- package/src/ui/extension/node_modules/picomatch/lib/scan.js +8 -70
- package/src/ui/extension/node_modules/picomatch/lib/utils.js +2 -11
- package/src/ui/extension/node_modules/pkg-dir/node_modules/p-locate/index.js +2 -13
- package/src/ui/extension/node_modules/prebuild-install/asset.js +2 -9
- package/src/ui/extension/node_modules/prebuild-install/download.js +4 -26
- package/src/ui/extension/node_modules/prelude-ls/lib/Func.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/List.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/Num.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/Obj.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/Str.js +1 -1
- package/src/ui/extension/node_modules/prelude-ls/lib/index.js +1 -1
- package/src/ui/extension/node_modules/pump/index.js +2 -21
- package/src/ui/extension/node_modules/pump/test-browser.js +2 -16
- package/src/ui/extension/node_modules/pump/test-node.js +2 -14
- package/src/ui/extension/node_modules/punycode/punycode.es6.js +3 -59
- package/src/ui/extension/node_modules/punycode/punycode.js +3 -59
- package/src/ui/extension/node_modules/queue-microtask/index.js +2 -3
- package/src/ui/extension/node_modules/readable-stream/lib/_stream_readable.js +1 -149
- package/src/ui/extension/node_modules/readdirp/index.js +6 -38
- package/src/ui/extension/node_modules/release-zalgo/lib/unwrapSync.js +2 -11
- package/src/ui/extension/node_modules/rimraf/rimraf.js +5 -55
- package/src/ui/extension/node_modules/run-parallel/index.js +2 -9
- package/src/ui/extension/node_modules/sax/lib/sax.js +4 -134
- package/src/ui/extension/node_modules/semver/bin/semver.js +3 -40
- package/src/ui/extension/node_modules/semver/classes/range.js +4 -70
- package/src/ui/extension/node_modules/semver/functions/coerce.js +2 -11
- package/src/ui/extension/node_modules/semver/internal/re.js +2 -49
- package/src/ui/extension/node_modules/semver/ranges/outside.js +2 -13
- package/src/ui/extension/node_modules/semver/ranges/subset.js +5 -30
- package/src/ui/extension/node_modules/setimmediate/setImmediate.js +4 -27
- package/src/ui/extension/node_modules/signal-exit/index.js +2 -24
- package/src/ui/extension/node_modules/simple-get/index.js +4 -21
- package/src/ui/extension/node_modules/sinon/lib/sinon/assert.js +2 -35
- package/src/ui/extension/node_modules/sinon/lib/sinon/behavior.js +4 -47
- package/src/ui/extension/node_modules/sinon/lib/sinon/default-behaviors.js +8 -52
- package/src/ui/extension/node_modules/sinon/lib/sinon/fake.js +3 -32
- package/src/ui/extension/node_modules/sinon/lib/sinon/mock.js +3 -43
- package/src/ui/extension/node_modules/sinon/lib/sinon/promise.js +2 -12
- package/src/ui/extension/node_modules/sinon/lib/sinon/proxy-call-util.js +2 -11
- package/src/ui/extension/node_modules/sinon/lib/sinon/proxy-call.js +3 -55
- package/src/ui/extension/node_modules/sinon/lib/sinon/proxy-invoke.js +2 -17
- package/src/ui/extension/node_modules/sinon/lib/sinon/proxy.js +4 -42
- package/src/ui/extension/node_modules/sinon/lib/sinon/sandbox.js +3 -110
- package/src/ui/extension/node_modules/sinon/lib/sinon/spy.js +2 -28
- package/src/ui/extension/node_modules/sinon/lib/sinon/stub.js +2 -43
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/extend.js +2 -15
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/function-to-string.js +2 -6
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/get-next-tick.js +2 -6
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/get-property-descriptor.js +2 -6
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/walk.js +4 -11
- package/src/ui/extension/node_modules/sinon/lib/sinon/util/core/wrap-method.js +6 -37
- package/src/ui/extension/node_modules/sinon/node_modules/supports-color/index.js +2 -27
- package/src/ui/extension/node_modules/sinon/pkg/sinon-esm.js +68 -2626
- package/src/ui/extension/node_modules/sinon/pkg/sinon.js +6 -5
- package/src/ui/extension/node_modules/sprintf-js/dist/sprintf.min.js +1 -1
- package/src/ui/extension/node_modules/sprintf-js/src/sprintf.js +2 -2
- package/src/ui/extension/node_modules/ts-node/dist-raw/node-options.js +5 -5
- package/src/ui/extension/node_modules/tsutils/util/usage.js +2 -1
- package/src/ui/extension/node_modules/tsutils/util/util.js +3 -2
- package/src/ui/extension/node_modules/typescript/lib/_tsc.js +266 -188
- package/src/ui/extension/node_modules/typescript/lib/_tsserver.js +2 -1
- package/src/ui/extension/node_modules/typescript/lib/typescript.js +399 -261
- package/src/ui/extension/node_modules/uri-js/dist/es5/uri.all.js +2 -1
- package/src/ui/extension/node_modules/uri-js/dist/esnext/schemes/mailto.js +2 -1
- package/src/ui/extension/node_modules/uuid/dist/commonjs-browser/index.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/commonjs-browser/v1.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/commonjs-browser/v35.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/commonjs-browser/v4.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/index.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/v1.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/v35.js +2 -2
- package/src/ui/extension/node_modules/uuid/dist/v4.js +2 -2
- package/src/ui/hive-dashboard.ts +74 -52
- package/src/ui/web-ui/EnhancedProcessUI.js +570 -424
- package/src/ui/web-ui/EnhancedWebUI.js +65 -65
- package/src/ui/web-ui/README.md +16 -16
- package/src/ui/web-ui/components/ComponentLibrary.js +173 -124
- package/src/ui/web-ui/core/EventBus.js +27 -25
- package/src/ui/web-ui/core/MCPIntegrationLayer.js +294 -108
- package/src/ui/web-ui/core/StateManager.js +43 -46
- package/src/ui/web-ui/core/UIManager.js +120 -70
- package/src/ui/web-ui/core/ViewManager.js +16 -19
- package/src/ui/web-ui/index.js +101 -48
- package/src/ui/web-ui/neural-panel-test.js +109 -108
- package/src/ui/web-ui/test-github-view.js +11 -12
- package/src/ui/web-ui/test-neural-panel.html +219 -205
- package/src/ui/web-ui/views/DAAView.js +88 -85
- package/src/ui/web-ui/views/GitHubIntegrationTest.js +42 -42
- package/src/ui/web-ui/views/GitHubIntegrationView.js +59 -53
- package/src/ui/web-ui/views/NeuralNetworkView.js +20 -21
- package/src/ui/web-ui/views/WorkflowAutomationView.js +31 -32
- package/src/utils/error-handler.js +1 -1
- package/src/utils/error-handler.ts +14 -27
- package/src/utils/errors.ts +20 -18
- package/src/utils/formatters.ts +6 -6
- package/src/utils/helpers.ts +53 -55
- package/src/utils/npx-isolated-cache.js +156 -0
- package/src/utils/paths.ts +9 -6
- package/src/utils/timezone-utils.js +134 -0
- package/src/utils/type-guards.ts +199 -0
- package/src/utils/types.ts +2 -2
- package/cli.mjs +0 -126
- package/dist/cli/commands/swarm-new.d.ts +0 -3
- package/dist/cli/commands/swarm-new.d.ts.map +0 -1
- package/dist/cli/commands/swarm-new.js +0 -989
- package/dist/cli/commands/swarm-new.js.map +0 -1
- package/src/cli/commands/swarm-new.ts +0 -1111
- package/src/templates/claude-optimized/.claude/tests/README.md +0 -139
- package/src/templates/claude-optimized/.claude/tests/e2e/workflows.test.js +0 -1110
- package/src/templates/claude-optimized/.claude/tests/error-handling/batch-errors.test.js +0 -550
- package/src/templates/claude-optimized/.claude/tests/error-handling/rollback.test.js +0 -746
- package/src/templates/claude-optimized/.claude/tests/integration/architect-batch.test.js +0 -275
- package/src/templates/claude-optimized/.claude/tests/integration/code-batch.test.js +0 -467
- package/src/templates/claude-optimized/.claude/tests/integration/debug-batch.test.js +0 -490
- package/src/templates/claude-optimized/.claude/tests/integration/security-batch.test.js +0 -618
- package/src/templates/claude-optimized/.claude/tests/integration/tdd-batch.test.js +0 -522
- package/src/templates/claude-optimized/.claude/tests/performance/benchmarks.test.js +0 -609
- package/src/templates/claude-optimized/.claude/tests/performance/resource-usage.test.js +0 -520
- package/src/templates/claude-optimized/.claude/tests/test-harness.js +0 -275
- package/src/templates/claude-optimized/.claude/tests/unit/batch-operations.test.js +0 -193
- package/src/templates/claude-optimized/.claude/tests/unit/parallel-utils.test.js +0 -238
package/src/swarm/coordinator.ts
CHANGED
|
@@ -1,78 +1,98 @@
|
|
|
1
|
-
import { getErrorMessage } from '../utils/error-handler.js';
|
|
2
1
|
import { EventEmitter } from 'events';
|
|
3
2
|
import { promises as fs } from 'node:fs';
|
|
4
3
|
import { Logger } from '../core/logger.js';
|
|
5
4
|
import { generateId } from '../utils/helpers.js';
|
|
6
5
|
import {
|
|
7
|
-
SwarmId,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
SwarmId,
|
|
7
|
+
AgentId,
|
|
8
|
+
TaskId,
|
|
9
|
+
AgentState,
|
|
10
|
+
TaskDefinition,
|
|
11
|
+
SwarmObjective,
|
|
12
|
+
SwarmConfig,
|
|
13
|
+
SwarmStatus,
|
|
14
|
+
SwarmProgress,
|
|
15
|
+
SwarmResults,
|
|
16
|
+
SwarmMetrics,
|
|
17
|
+
SwarmMode,
|
|
18
|
+
SwarmStrategy,
|
|
19
|
+
AgentType,
|
|
20
|
+
TaskType,
|
|
21
|
+
TaskStatus,
|
|
22
|
+
TaskPriority,
|
|
23
|
+
SwarmEvent,
|
|
24
|
+
EventType,
|
|
25
|
+
SwarmEventEmitter,
|
|
26
|
+
ValidationResult,
|
|
27
|
+
SWARM_CONSTANTS,
|
|
12
28
|
} from './types.js';
|
|
13
29
|
import { AutoStrategy } from './strategies/auto.js';
|
|
14
30
|
import { getClaudeFlowRoot, getClaudeFlowBin } from '../utils/paths.js';
|
|
31
|
+
import { SwarmJsonOutputAggregator } from './json-output-aggregator.js';
|
|
15
32
|
|
|
16
33
|
export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter {
|
|
17
34
|
private logger: Logger;
|
|
18
35
|
private config: SwarmConfig;
|
|
19
36
|
private swarmId: SwarmId;
|
|
20
|
-
|
|
37
|
+
|
|
21
38
|
// Core state management
|
|
22
39
|
private agents: Map<string, AgentState> = new Map();
|
|
23
40
|
private tasks: Map<string, TaskDefinition> = new Map();
|
|
24
41
|
private objectives: Map<string, SwarmObjective> = new Map();
|
|
25
|
-
|
|
42
|
+
|
|
26
43
|
// Execution state
|
|
27
44
|
private _isRunning: boolean = false;
|
|
28
45
|
private status: SwarmStatus = 'planning';
|
|
29
46
|
private startTime?: Date;
|
|
30
47
|
private endTime?: Date;
|
|
31
|
-
|
|
48
|
+
|
|
32
49
|
// Performance tracking
|
|
33
50
|
private metrics: SwarmMetrics;
|
|
34
51
|
private events: SwarmEvent[] = [];
|
|
35
52
|
private lastHeartbeat: Date = new Date();
|
|
36
|
-
|
|
53
|
+
|
|
54
|
+
// JSON output aggregation (optional)
|
|
55
|
+
private jsonOutputAggregator?: SwarmJsonOutputAggregator;
|
|
56
|
+
|
|
37
57
|
// Background processes
|
|
38
58
|
private heartbeatTimer?: NodeJS.Timeout;
|
|
39
59
|
private monitoringTimer?: NodeJS.Timeout;
|
|
40
60
|
private cleanupTimer?: NodeJS.Timeout;
|
|
41
61
|
private executionIntervals?: Map<string, NodeJS.Timeout>;
|
|
42
|
-
|
|
62
|
+
|
|
43
63
|
// Strategy instances
|
|
44
64
|
private autoStrategy: AutoStrategy;
|
|
45
|
-
|
|
65
|
+
|
|
46
66
|
constructor(config: Partial<SwarmConfig> = {}) {
|
|
47
67
|
super();
|
|
48
|
-
|
|
68
|
+
|
|
49
69
|
// Configure logger based on config or default to quiet mode
|
|
50
70
|
const logLevel = (config as any).logging?.level || 'error';
|
|
51
71
|
const logFormat = (config as any).logging?.format || 'text';
|
|
52
72
|
const logDestination = (config as any).logging?.destination || 'console';
|
|
53
|
-
|
|
73
|
+
|
|
54
74
|
this.logger = new Logger(
|
|
55
75
|
{ level: logLevel, format: logFormat, destination: logDestination },
|
|
56
|
-
{ component: 'SwarmCoordinator' }
|
|
76
|
+
{ component: 'SwarmCoordinator' },
|
|
57
77
|
);
|
|
58
78
|
this.swarmId = this.generateSwarmId();
|
|
59
|
-
|
|
79
|
+
|
|
60
80
|
// Initialize configuration with defaults
|
|
61
81
|
this.config = this.mergeWithDefaults(config);
|
|
62
|
-
|
|
82
|
+
|
|
63
83
|
// Initialize metrics
|
|
64
84
|
this.metrics = this.initializeMetrics();
|
|
65
|
-
|
|
85
|
+
|
|
66
86
|
// Initialize strategy instances
|
|
67
87
|
this.autoStrategy = new AutoStrategy(config);
|
|
68
|
-
|
|
88
|
+
|
|
69
89
|
// Setup event handlers
|
|
70
90
|
this.setupEventHandlers();
|
|
71
|
-
|
|
72
|
-
this.logger.info('SwarmCoordinator initialized', {
|
|
91
|
+
|
|
92
|
+
this.logger.info('SwarmCoordinator initialized', {
|
|
73
93
|
swarmId: this.swarmId.id,
|
|
74
94
|
mode: this.config.mode,
|
|
75
|
-
strategy: this.config.strategy
|
|
95
|
+
strategy: this.config.strategy,
|
|
76
96
|
});
|
|
77
97
|
}
|
|
78
98
|
|
|
@@ -85,24 +105,26 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
85
105
|
|
|
86
106
|
this.logger.info('Initializing swarm coordinator...');
|
|
87
107
|
this.status = 'initializing';
|
|
88
|
-
|
|
108
|
+
|
|
89
109
|
try {
|
|
90
110
|
// Validate configuration
|
|
91
111
|
const validation = await this.validateConfiguration();
|
|
92
112
|
if (!validation.valid) {
|
|
93
|
-
throw new Error(
|
|
113
|
+
throw new Error(
|
|
114
|
+
`Configuration validation failed: ${validation.errors.map((e) => e.message).join(', ')}`,
|
|
115
|
+
);
|
|
94
116
|
}
|
|
95
117
|
|
|
96
118
|
// Initialize subsystems
|
|
97
119
|
await this.initializeSubsystems();
|
|
98
|
-
|
|
120
|
+
|
|
99
121
|
// Start background processes
|
|
100
122
|
this.startBackgroundProcesses();
|
|
101
|
-
|
|
123
|
+
|
|
102
124
|
this._isRunning = true;
|
|
103
125
|
this.startTime = new Date();
|
|
104
126
|
this.status = 'executing';
|
|
105
|
-
|
|
127
|
+
|
|
106
128
|
this.emitSwarmEvent({
|
|
107
129
|
id: generateId('event'),
|
|
108
130
|
timestamp: new Date(),
|
|
@@ -110,11 +132,10 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
110
132
|
source: this.swarmId.id,
|
|
111
133
|
data: { swarmId: this.swarmId },
|
|
112
134
|
broadcast: true,
|
|
113
|
-
processed: false
|
|
135
|
+
processed: false,
|
|
114
136
|
});
|
|
115
|
-
|
|
137
|
+
|
|
116
138
|
this.logger.info('Swarm coordinator initialized successfully');
|
|
117
|
-
|
|
118
139
|
} catch (error) {
|
|
119
140
|
this.status = 'failed';
|
|
120
141
|
this.logger.error('Failed to initialize swarm coordinator', { error });
|
|
@@ -129,40 +150,39 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
129
150
|
|
|
130
151
|
this.logger.info('Shutting down swarm coordinator...');
|
|
131
152
|
this.status = 'paused';
|
|
132
|
-
|
|
153
|
+
|
|
133
154
|
try {
|
|
134
155
|
// Stop background processes
|
|
135
156
|
this.stopBackgroundProcesses();
|
|
136
|
-
|
|
157
|
+
|
|
137
158
|
// Gracefully stop all agents
|
|
138
159
|
await this.stopAllAgents();
|
|
139
|
-
|
|
160
|
+
|
|
140
161
|
// Complete any running tasks
|
|
141
162
|
await this.completeRunningTasks();
|
|
142
|
-
|
|
163
|
+
|
|
143
164
|
// Save final state
|
|
144
165
|
await this.saveState();
|
|
145
|
-
|
|
166
|
+
|
|
146
167
|
this._isRunning = false;
|
|
147
168
|
this.endTime = new Date();
|
|
148
169
|
this.status = 'completed';
|
|
149
|
-
|
|
170
|
+
|
|
150
171
|
this.emitSwarmEvent({
|
|
151
172
|
id: generateId('event'),
|
|
152
173
|
timestamp: new Date(),
|
|
153
174
|
type: 'swarm.completed',
|
|
154
175
|
source: this.swarmId.id,
|
|
155
|
-
data: {
|
|
176
|
+
data: {
|
|
156
177
|
swarmId: this.swarmId,
|
|
157
178
|
metrics: this.metrics,
|
|
158
|
-
duration: this.endTime.getTime() - (this.startTime?.getTime() || 0)
|
|
179
|
+
duration: this.endTime.getTime() - (this.startTime?.getTime() || 0),
|
|
159
180
|
},
|
|
160
181
|
broadcast: true,
|
|
161
|
-
processed: false
|
|
182
|
+
processed: false,
|
|
162
183
|
});
|
|
163
|
-
|
|
184
|
+
|
|
164
185
|
this.logger.info('Swarm coordinator shut down successfully');
|
|
165
|
-
|
|
166
186
|
} catch (error) {
|
|
167
187
|
this.logger.error('Error during swarm coordinator shutdown', { error });
|
|
168
188
|
throw error;
|
|
@@ -176,14 +196,14 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
176
196
|
|
|
177
197
|
this.logger.info('Pausing swarm coordinator...');
|
|
178
198
|
this.status = 'paused';
|
|
179
|
-
|
|
199
|
+
|
|
180
200
|
// Pause all agents
|
|
181
201
|
for (const agent of this.agents.values()) {
|
|
182
202
|
if (agent.status === 'busy') {
|
|
183
203
|
await this.pauseAgent(agent.id);
|
|
184
204
|
}
|
|
185
205
|
}
|
|
186
|
-
|
|
206
|
+
|
|
187
207
|
this.emitSwarmEvent({
|
|
188
208
|
id: generateId('event'),
|
|
189
209
|
timestamp: new Date(),
|
|
@@ -191,7 +211,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
191
211
|
source: this.swarmId.id,
|
|
192
212
|
data: { swarmId: this.swarmId },
|
|
193
213
|
broadcast: true,
|
|
194
|
-
processed: false
|
|
214
|
+
processed: false,
|
|
195
215
|
});
|
|
196
216
|
}
|
|
197
217
|
|
|
@@ -202,14 +222,14 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
202
222
|
|
|
203
223
|
this.logger.info('Resuming swarm coordinator...');
|
|
204
224
|
this.status = 'executing';
|
|
205
|
-
|
|
225
|
+
|
|
206
226
|
// Resume all paused agents
|
|
207
227
|
for (const agent of this.agents.values()) {
|
|
208
228
|
if (agent.status === 'paused') {
|
|
209
229
|
await this.resumeAgent(agent.id);
|
|
210
230
|
}
|
|
211
231
|
}
|
|
212
|
-
|
|
232
|
+
|
|
213
233
|
this.emitSwarmEvent({
|
|
214
234
|
id: generateId('event'),
|
|
215
235
|
timestamp: new Date(),
|
|
@@ -217,7 +237,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
217
237
|
source: this.swarmId.id,
|
|
218
238
|
data: { swarmId: this.swarmId },
|
|
219
239
|
broadcast: true,
|
|
220
|
-
processed: false
|
|
240
|
+
processed: false,
|
|
221
241
|
});
|
|
222
242
|
}
|
|
223
243
|
|
|
@@ -227,10 +247,10 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
227
247
|
name: string,
|
|
228
248
|
description: string,
|
|
229
249
|
strategy: SwarmStrategy = 'auto',
|
|
230
|
-
requirements: Partial<SwarmObjective['requirements']> = {}
|
|
250
|
+
requirements: Partial<SwarmObjective['requirements']> = {},
|
|
231
251
|
): Promise<string> {
|
|
232
252
|
const objectiveId = generateId('objective');
|
|
233
|
-
|
|
253
|
+
|
|
234
254
|
const objective: SwarmObjective = {
|
|
235
255
|
id: objectiveId,
|
|
236
256
|
name,
|
|
@@ -242,45 +262,47 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
242
262
|
maxAgents: this.config.maxAgents,
|
|
243
263
|
agentTypes: this.determineRequiredAgentTypes(strategy),
|
|
244
264
|
estimatedDuration: 60 * 60 * 1000, // 1 hour default
|
|
245
|
-
maxDuration: 4 * 60 * 60 * 1000,
|
|
265
|
+
maxDuration: 4 * 60 * 60 * 1000, // 4 hours default
|
|
246
266
|
qualityThreshold: this.config.qualityThreshold,
|
|
247
267
|
reviewCoverage: 0.8,
|
|
248
268
|
testCoverage: 0.7,
|
|
249
269
|
reliabilityTarget: 0.95,
|
|
250
|
-
...requirements
|
|
270
|
+
...requirements,
|
|
251
271
|
},
|
|
252
272
|
constraints: {
|
|
253
273
|
minQuality: this.config.qualityThreshold,
|
|
254
274
|
requiredApprovals: [],
|
|
255
275
|
allowedFailures: Math.floor(this.config.maxAgents * 0.1),
|
|
256
276
|
recoveryTime: 5 * 60 * 1000, // 5 minutes
|
|
257
|
-
milestones: []
|
|
277
|
+
milestones: [],
|
|
258
278
|
},
|
|
259
279
|
tasks: [],
|
|
260
280
|
dependencies: [],
|
|
261
281
|
status: 'planning',
|
|
262
282
|
progress: this.initializeProgress(),
|
|
263
283
|
createdAt: new Date(),
|
|
264
|
-
metrics: this.initializeMetrics()
|
|
284
|
+
metrics: this.initializeMetrics(),
|
|
265
285
|
};
|
|
266
286
|
|
|
267
287
|
// Decompose objective into tasks using optimized AUTO strategy
|
|
268
288
|
if (objective.strategy === 'auto') {
|
|
269
289
|
const decompositionResult = await this.autoStrategy.decomposeObjective(objective);
|
|
270
290
|
objective.tasks = decompositionResult.tasks;
|
|
271
|
-
objective.dependencies = this.convertDependenciesToTaskDependencies(
|
|
291
|
+
objective.dependencies = this.convertDependenciesToTaskDependencies(
|
|
292
|
+
decompositionResult.dependencies,
|
|
293
|
+
);
|
|
272
294
|
} else {
|
|
273
295
|
objective.tasks = await this.decomposeObjective(objective);
|
|
274
296
|
objective.dependencies = this.analyzeDependencies(objective.tasks);
|
|
275
297
|
}
|
|
276
|
-
|
|
298
|
+
|
|
277
299
|
this.objectives.set(objectiveId, objective);
|
|
278
|
-
|
|
279
|
-
this.logger.info('Created objective', {
|
|
280
|
-
objectiveId,
|
|
281
|
-
name,
|
|
282
|
-
strategy,
|
|
283
|
-
taskCount: objective.tasks.length
|
|
300
|
+
|
|
301
|
+
this.logger.info('Created objective', {
|
|
302
|
+
objectiveId,
|
|
303
|
+
name,
|
|
304
|
+
strategy,
|
|
305
|
+
taskCount: objective.tasks.length,
|
|
284
306
|
});
|
|
285
307
|
|
|
286
308
|
return objectiveId;
|
|
@@ -303,13 +325,12 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
303
325
|
try {
|
|
304
326
|
// Ensure we have required agents
|
|
305
327
|
await this.ensureRequiredAgents(objective);
|
|
306
|
-
|
|
328
|
+
|
|
307
329
|
// Schedule initial tasks
|
|
308
330
|
await this.scheduleInitialTasks(objective);
|
|
309
|
-
|
|
331
|
+
|
|
310
332
|
// Start task execution loop
|
|
311
333
|
this.startTaskExecutionLoop(objective);
|
|
312
|
-
|
|
313
334
|
} catch (error) {
|
|
314
335
|
objective.status = 'failed';
|
|
315
336
|
this.logger.error('Failed to execute objective', { objectiveId, error });
|
|
@@ -322,13 +343,13 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
322
343
|
async registerAgent(
|
|
323
344
|
name: string,
|
|
324
345
|
type: AgentType,
|
|
325
|
-
capabilities: Partial<AgentState['capabilities']> = {}
|
|
346
|
+
capabilities: Partial<AgentState['capabilities']> = {},
|
|
326
347
|
): Promise<string> {
|
|
327
348
|
const agentId: AgentId = {
|
|
328
349
|
id: generateId('agent'),
|
|
329
350
|
swarmId: this.swarmId.id,
|
|
330
351
|
type,
|
|
331
|
-
instance: this.getNextInstanceNumber(type)
|
|
352
|
+
instance: this.getNextInstanceNumber(type),
|
|
332
353
|
};
|
|
333
354
|
|
|
334
355
|
const agentState: AgentState = {
|
|
@@ -358,7 +379,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
358
379
|
reliability: 0.8,
|
|
359
380
|
speed: 1.0,
|
|
360
381
|
quality: 0.8,
|
|
361
|
-
...capabilities
|
|
382
|
+
...capabilities,
|
|
362
383
|
},
|
|
363
384
|
metrics: {
|
|
364
385
|
tasksCompleted: 0,
|
|
@@ -375,7 +396,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
375
396
|
userSatisfaction: 0,
|
|
376
397
|
totalUptime: 0,
|
|
377
398
|
lastActivity: new Date(),
|
|
378
|
-
responseTime: 0
|
|
399
|
+
responseTime: 0,
|
|
379
400
|
},
|
|
380
401
|
workload: 0,
|
|
381
402
|
health: 1.0,
|
|
@@ -391,7 +412,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
391
412
|
permissions: this.getDefaultPermissions(type),
|
|
392
413
|
trustedAgents: [],
|
|
393
414
|
expertise: {},
|
|
394
|
-
preferences: {}
|
|
415
|
+
preferences: {},
|
|
395
416
|
},
|
|
396
417
|
environment: {
|
|
397
418
|
runtime: 'deno',
|
|
@@ -402,29 +423,32 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
402
423
|
apiEndpoints: {},
|
|
403
424
|
credentials: {},
|
|
404
425
|
availableTools: [],
|
|
405
|
-
toolConfigs: {}
|
|
426
|
+
toolConfigs: {},
|
|
406
427
|
},
|
|
407
428
|
endpoints: [],
|
|
408
429
|
lastHeartbeat: new Date(),
|
|
409
430
|
taskHistory: [],
|
|
410
431
|
errorHistory: [],
|
|
411
432
|
childAgents: [],
|
|
412
|
-
collaborators: []
|
|
433
|
+
collaborators: [],
|
|
413
434
|
};
|
|
414
435
|
|
|
415
436
|
this.agents.set(agentId.id, agentState);
|
|
416
|
-
|
|
437
|
+
|
|
438
|
+
// Track agent in JSON output if enabled
|
|
439
|
+
this.trackAgentInJsonOutput(agentState);
|
|
440
|
+
|
|
417
441
|
// Initialize agent capabilities based on type
|
|
418
442
|
await this.initializeAgentCapabilities(agentState);
|
|
419
|
-
|
|
443
|
+
|
|
420
444
|
// Start agent
|
|
421
445
|
await this.startAgent(agentId.id);
|
|
422
|
-
|
|
423
|
-
this.logger.info('Registered agent', {
|
|
424
|
-
agentId: agentId.id,
|
|
425
|
-
name,
|
|
446
|
+
|
|
447
|
+
this.logger.info('Registered agent', {
|
|
448
|
+
agentId: agentId.id,
|
|
449
|
+
name,
|
|
426
450
|
type,
|
|
427
|
-
capabilities: Object.keys(capabilities)
|
|
451
|
+
capabilities: Object.keys(capabilities),
|
|
428
452
|
});
|
|
429
453
|
|
|
430
454
|
this.emitSwarmEvent({
|
|
@@ -434,7 +458,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
434
458
|
source: agentId.id,
|
|
435
459
|
data: { agent: agentState },
|
|
436
460
|
broadcast: false,
|
|
437
|
-
processed: false
|
|
461
|
+
processed: false,
|
|
438
462
|
});
|
|
439
463
|
|
|
440
464
|
return agentId.id;
|
|
@@ -447,18 +471,18 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
447
471
|
}
|
|
448
472
|
|
|
449
473
|
this.logger.info('Unregistering agent', { agentId, name: agent.name });
|
|
450
|
-
|
|
474
|
+
|
|
451
475
|
// Stop agent gracefully
|
|
452
476
|
await this.stopAgent(agentId);
|
|
453
|
-
|
|
477
|
+
|
|
454
478
|
// Reassign any active tasks
|
|
455
479
|
if (agent.currentTask) {
|
|
456
480
|
await this.reassignTask(agent.currentTask.id);
|
|
457
481
|
}
|
|
458
|
-
|
|
482
|
+
|
|
459
483
|
// Remove from agents map
|
|
460
484
|
this.agents.delete(agentId);
|
|
461
|
-
|
|
485
|
+
|
|
462
486
|
this.emitSwarmEvent({
|
|
463
487
|
id: generateId('event'),
|
|
464
488
|
timestamp: new Date(),
|
|
@@ -466,7 +490,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
466
490
|
source: agentId,
|
|
467
491
|
data: { agentId },
|
|
468
492
|
broadcast: false,
|
|
469
|
-
processed: false
|
|
493
|
+
processed: false,
|
|
470
494
|
});
|
|
471
495
|
}
|
|
472
496
|
|
|
@@ -481,17 +505,17 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
481
505
|
}
|
|
482
506
|
|
|
483
507
|
this.logger.info('Starting agent', { agentId, name: agent.name });
|
|
484
|
-
|
|
508
|
+
|
|
485
509
|
try {
|
|
486
510
|
// Initialize agent environment
|
|
487
511
|
await this.initializeAgentEnvironment(agent);
|
|
488
|
-
|
|
512
|
+
|
|
489
513
|
// Start agent heartbeat
|
|
490
514
|
this.startAgentHeartbeat(agent);
|
|
491
|
-
|
|
515
|
+
|
|
492
516
|
agent.status = 'idle';
|
|
493
517
|
agent.lastHeartbeat = new Date();
|
|
494
|
-
|
|
518
|
+
|
|
495
519
|
this.emitSwarmEvent({
|
|
496
520
|
id: generateId('event'),
|
|
497
521
|
timestamp: new Date(),
|
|
@@ -499,21 +523,20 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
499
523
|
source: agentId,
|
|
500
524
|
data: { agent },
|
|
501
525
|
broadcast: false,
|
|
502
|
-
processed: false
|
|
526
|
+
processed: false,
|
|
503
527
|
});
|
|
504
|
-
|
|
505
528
|
} catch (error) {
|
|
506
529
|
agent.status = 'error';
|
|
507
530
|
agent.errorHistory.push({
|
|
508
531
|
timestamp: new Date(),
|
|
509
532
|
type: 'startup_error',
|
|
510
|
-
message:
|
|
533
|
+
message: error instanceof Error ? error.message : String(error),
|
|
511
534
|
stack: error.stack,
|
|
512
535
|
context: { agentId },
|
|
513
536
|
severity: 'high',
|
|
514
|
-
resolved: false
|
|
537
|
+
resolved: false,
|
|
515
538
|
});
|
|
516
|
-
|
|
539
|
+
|
|
517
540
|
this.logger.error('Failed to start agent', { agentId, error });
|
|
518
541
|
throw error;
|
|
519
542
|
}
|
|
@@ -530,23 +553,22 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
530
553
|
}
|
|
531
554
|
|
|
532
555
|
this.logger.info('Stopping agent', { agentId, name: agent.name });
|
|
533
|
-
|
|
556
|
+
|
|
534
557
|
agent.status = 'terminating';
|
|
535
|
-
|
|
558
|
+
|
|
536
559
|
try {
|
|
537
560
|
// Cancel current task if any
|
|
538
561
|
if (agent.currentTask) {
|
|
539
562
|
await this.cancelTask(agent.currentTask.id, 'Agent stopping');
|
|
540
563
|
}
|
|
541
|
-
|
|
564
|
+
|
|
542
565
|
// Stop heartbeat
|
|
543
566
|
this.stopAgentHeartbeat(agent);
|
|
544
|
-
|
|
567
|
+
|
|
545
568
|
// Cleanup agent environment
|
|
546
569
|
await this.cleanupAgentEnvironment(agent);
|
|
547
|
-
|
|
570
|
+
|
|
548
571
|
agent.status = 'terminated';
|
|
549
|
-
|
|
550
572
|
} catch (error) {
|
|
551
573
|
agent.status = 'error';
|
|
552
574
|
this.logger.error('Error stopping agent', { agentId, error });
|
|
@@ -580,13 +602,13 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
580
602
|
name: string,
|
|
581
603
|
description: string,
|
|
582
604
|
instructions: string,
|
|
583
|
-
options: Partial<TaskDefinition> = {}
|
|
605
|
+
options: Partial<TaskDefinition> = {},
|
|
584
606
|
): Promise<string> {
|
|
585
607
|
const taskId: TaskId = {
|
|
586
608
|
id: generateId('task'),
|
|
587
609
|
swarmId: this.swarmId.id,
|
|
588
610
|
sequence: this.tasks.size + 1,
|
|
589
|
-
priority: 1
|
|
611
|
+
priority: 1,
|
|
590
612
|
};
|
|
591
613
|
|
|
592
614
|
const task: TaskDefinition = {
|
|
@@ -599,7 +621,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
599
621
|
capabilities: this.getRequiredCapabilities(type),
|
|
600
622
|
tools: this.getRequiredTools(type),
|
|
601
623
|
permissions: this.getRequiredPermissions(type),
|
|
602
|
-
...options.requirements
|
|
624
|
+
...options.requirements,
|
|
603
625
|
},
|
|
604
626
|
constraints: {
|
|
605
627
|
dependencies: [],
|
|
@@ -607,7 +629,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
607
629
|
conflicts: [],
|
|
608
630
|
maxRetries: SWARM_CONSTANTS.MAX_RETRIES,
|
|
609
631
|
timeoutAfter: SWARM_CONSTANTS.DEFAULT_TASK_TIMEOUT,
|
|
610
|
-
...options.constraints
|
|
632
|
+
...options.constraints,
|
|
611
633
|
},
|
|
612
634
|
priority: 'normal',
|
|
613
635
|
input: options.input || {},
|
|
@@ -617,23 +639,28 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
617
639
|
createdAt: new Date(),
|
|
618
640
|
updatedAt: new Date(),
|
|
619
641
|
attempts: [],
|
|
620
|
-
statusHistory: [
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
642
|
+
statusHistory: [
|
|
643
|
+
{
|
|
644
|
+
timestamp: new Date(),
|
|
645
|
+
from: 'created' as TaskStatus,
|
|
646
|
+
to: 'created' as TaskStatus,
|
|
647
|
+
reason: 'Task created',
|
|
648
|
+
triggeredBy: 'system',
|
|
649
|
+
},
|
|
650
|
+
],
|
|
651
|
+
...options,
|
|
628
652
|
};
|
|
629
653
|
|
|
630
654
|
this.tasks.set(taskId.id, task);
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
655
|
+
|
|
656
|
+
// Track task in JSON output if enabled
|
|
657
|
+
this.trackTaskInJsonOutput(task);
|
|
658
|
+
|
|
659
|
+
this.logger.info('Created task', {
|
|
660
|
+
taskId: taskId.id,
|
|
661
|
+
type,
|
|
635
662
|
name,
|
|
636
|
-
priority: task.priority
|
|
663
|
+
priority: task.priority,
|
|
637
664
|
});
|
|
638
665
|
|
|
639
666
|
this.emitSwarmEvent({
|
|
@@ -643,7 +670,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
643
670
|
source: this.swarmId.id,
|
|
644
671
|
data: { task },
|
|
645
672
|
broadcast: false,
|
|
646
|
-
processed: false
|
|
673
|
+
processed: false,
|
|
647
674
|
});
|
|
648
675
|
|
|
649
676
|
return taskId.id;
|
|
@@ -680,23 +707,23 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
680
707
|
task.assignedTo = agent.id;
|
|
681
708
|
task.assignedAt = new Date();
|
|
682
709
|
task.status = 'assigned';
|
|
683
|
-
|
|
710
|
+
|
|
684
711
|
agent.currentTask = task.id;
|
|
685
712
|
agent.status = 'busy';
|
|
686
|
-
|
|
713
|
+
|
|
687
714
|
// Update status history
|
|
688
715
|
task.statusHistory.push({
|
|
689
716
|
timestamp: new Date(),
|
|
690
717
|
from: task.statusHistory[task.statusHistory.length - 1].to,
|
|
691
718
|
to: 'assigned',
|
|
692
719
|
reason: `Assigned to agent ${agent.name}`,
|
|
693
|
-
triggeredBy: 'system'
|
|
720
|
+
triggeredBy: 'system',
|
|
694
721
|
});
|
|
695
722
|
|
|
696
|
-
this.logger.info('Assigned task', {
|
|
697
|
-
taskId,
|
|
698
|
-
agentId,
|
|
699
|
-
agentName: agent.name
|
|
723
|
+
this.logger.info('Assigned task', {
|
|
724
|
+
taskId,
|
|
725
|
+
agentId,
|
|
726
|
+
agentName: agent.name,
|
|
700
727
|
});
|
|
701
728
|
|
|
702
729
|
this.emitSwarmEvent({
|
|
@@ -706,7 +733,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
706
733
|
source: agentId,
|
|
707
734
|
data: { task, agent },
|
|
708
735
|
broadcast: false,
|
|
709
|
-
processed: false
|
|
736
|
+
processed: false,
|
|
710
737
|
});
|
|
711
738
|
|
|
712
739
|
// Start task execution
|
|
@@ -723,31 +750,31 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
723
750
|
throw new Error(`Agent not found: ${task.assignedTo.id}`);
|
|
724
751
|
}
|
|
725
752
|
|
|
726
|
-
this.logger.info('Starting task execution', {
|
|
727
|
-
taskId: task.id.id,
|
|
728
|
-
agentId: agent.id.id
|
|
753
|
+
this.logger.info('Starting task execution', {
|
|
754
|
+
taskId: task.id.id,
|
|
755
|
+
agentId: agent.id.id,
|
|
729
756
|
});
|
|
730
757
|
|
|
731
758
|
task.status = 'running';
|
|
732
759
|
task.startedAt = new Date();
|
|
733
|
-
|
|
760
|
+
|
|
734
761
|
// Create attempt record
|
|
735
762
|
const attempt = {
|
|
736
763
|
attemptNumber: task.attempts.length + 1,
|
|
737
764
|
agent: agent.id,
|
|
738
765
|
startedAt: new Date(),
|
|
739
766
|
status: 'running' as TaskStatus,
|
|
740
|
-
resourcesUsed: {}
|
|
767
|
+
resourcesUsed: {},
|
|
741
768
|
};
|
|
742
769
|
task.attempts.push(attempt);
|
|
743
|
-
|
|
770
|
+
|
|
744
771
|
// Update status history
|
|
745
772
|
task.statusHistory.push({
|
|
746
773
|
timestamp: new Date(),
|
|
747
774
|
from: 'assigned',
|
|
748
775
|
to: 'running',
|
|
749
776
|
reason: 'Task execution started',
|
|
750
|
-
triggeredBy: agent.id
|
|
777
|
+
triggeredBy: agent.id,
|
|
751
778
|
});
|
|
752
779
|
|
|
753
780
|
this.emitSwarmEvent({
|
|
@@ -757,14 +784,13 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
757
784
|
source: agent.id.id,
|
|
758
785
|
data: { task, agent, attempt },
|
|
759
786
|
broadcast: false,
|
|
760
|
-
processed: false
|
|
787
|
+
processed: false,
|
|
761
788
|
});
|
|
762
789
|
|
|
763
790
|
try {
|
|
764
791
|
// Execute task (this would spawn actual Claude process)
|
|
765
792
|
const result = await this.executeTaskWithAgent(task, agent);
|
|
766
793
|
await this.completeTask(task.id.id, result);
|
|
767
|
-
|
|
768
794
|
} catch (error) {
|
|
769
795
|
await this.failTask(task.id.id, error);
|
|
770
796
|
}
|
|
@@ -794,7 +820,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
794
820
|
accuracy: 1.0,
|
|
795
821
|
executionTime: task.completedAt.getTime() - (task.startedAt?.getTime() || 0),
|
|
796
822
|
resourcesUsed: {},
|
|
797
|
-
validated: false
|
|
823
|
+
validated: false,
|
|
798
824
|
};
|
|
799
825
|
|
|
800
826
|
// Update attempt
|
|
@@ -811,7 +837,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
811
837
|
agent.metrics.tasksCompleted++;
|
|
812
838
|
agent.metrics.lastActivity = new Date();
|
|
813
839
|
agent.taskHistory.push(task.id);
|
|
814
|
-
|
|
840
|
+
|
|
815
841
|
// Update agent metrics
|
|
816
842
|
this.updateAgentMetrics(agent, task);
|
|
817
843
|
|
|
@@ -821,7 +847,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
821
847
|
from: 'running',
|
|
822
848
|
to: 'completed',
|
|
823
849
|
reason: 'Task completed successfully',
|
|
824
|
-
triggeredBy: agent.id
|
|
850
|
+
triggeredBy: agent.id,
|
|
825
851
|
});
|
|
826
852
|
|
|
827
853
|
this.emitSwarmEvent({
|
|
@@ -831,7 +857,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
831
857
|
source: agent.id.id,
|
|
832
858
|
data: { task, agent, result: task.result },
|
|
833
859
|
broadcast: false,
|
|
834
|
-
processed: false
|
|
860
|
+
processed: false,
|
|
835
861
|
});
|
|
836
862
|
|
|
837
863
|
// Check for dependent tasks
|
|
@@ -849,16 +875,20 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
849
875
|
throw new Error('Task not assigned to any agent');
|
|
850
876
|
}
|
|
851
877
|
|
|
852
|
-
this.logger.warn('Task failed', {
|
|
878
|
+
this.logger.warn('Task failed', {
|
|
879
|
+
taskId,
|
|
880
|
+
agentId: agent.id.id,
|
|
881
|
+
error: error instanceof Error ? error.message : String(error),
|
|
882
|
+
});
|
|
853
883
|
|
|
854
884
|
task.error = {
|
|
855
885
|
type: error.constructor.name,
|
|
856
|
-
message:
|
|
886
|
+
message: error instanceof Error ? error.message : String(error),
|
|
857
887
|
code: error.code,
|
|
858
888
|
stack: error.stack,
|
|
859
889
|
context: { taskId, agentId: agent.id.id },
|
|
860
890
|
recoverable: this.isRecoverableError(error),
|
|
861
|
-
retryable: this.isRetryableError(error)
|
|
891
|
+
retryable: this.isRetryableError(error),
|
|
862
892
|
};
|
|
863
893
|
|
|
864
894
|
// Update attempt
|
|
@@ -874,33 +904,34 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
874
904
|
agent.currentTask = undefined;
|
|
875
905
|
agent.metrics.tasksFailed++;
|
|
876
906
|
agent.metrics.lastActivity = new Date();
|
|
877
|
-
|
|
907
|
+
|
|
878
908
|
// Add to error history
|
|
879
909
|
agent.errorHistory.push({
|
|
880
910
|
timestamp: new Date(),
|
|
881
911
|
type: 'task_failure',
|
|
882
|
-
message:
|
|
912
|
+
message: error instanceof Error ? error.message : String(error),
|
|
883
913
|
stack: error.stack,
|
|
884
914
|
context: { taskId },
|
|
885
915
|
severity: 'medium',
|
|
886
|
-
resolved: false
|
|
916
|
+
resolved: false,
|
|
887
917
|
});
|
|
888
918
|
|
|
889
919
|
// Determine if we should retry
|
|
890
|
-
const shouldRetry =
|
|
891
|
-
|
|
920
|
+
const shouldRetry =
|
|
921
|
+
task.error.retryable &&
|
|
922
|
+
task.attempts.length < (task.constraints.maxRetries || SWARM_CONSTANTS.MAX_RETRIES);
|
|
892
923
|
|
|
893
924
|
if (shouldRetry) {
|
|
894
925
|
task.status = 'retrying';
|
|
895
926
|
task.assignedTo = undefined;
|
|
896
|
-
|
|
927
|
+
|
|
897
928
|
// Update status history
|
|
898
929
|
task.statusHistory.push({
|
|
899
930
|
timestamp: new Date(),
|
|
900
931
|
from: 'running',
|
|
901
932
|
to: 'retrying',
|
|
902
|
-
reason: `Task failed, will retry: ${
|
|
903
|
-
triggeredBy: agent.id
|
|
933
|
+
reason: `Task failed, will retry: ${error instanceof Error ? error.message : String(error)}`,
|
|
934
|
+
triggeredBy: agent.id,
|
|
904
935
|
});
|
|
905
936
|
|
|
906
937
|
this.emitSwarmEvent({
|
|
@@ -910,28 +941,27 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
910
941
|
source: agent.id.id,
|
|
911
942
|
data: { task, error: task.error, attempt: task.attempts.length },
|
|
912
943
|
broadcast: false,
|
|
913
|
-
processed: false
|
|
944
|
+
processed: false,
|
|
914
945
|
});
|
|
915
946
|
|
|
916
947
|
// Schedule retry with exponential backoff
|
|
917
948
|
const retryDelay = Math.pow(2, task.attempts.length) * 1000;
|
|
918
949
|
setTimeout(() => {
|
|
919
|
-
this.assignTask(taskId).catch(retryError => {
|
|
950
|
+
this.assignTask(taskId).catch((retryError) => {
|
|
920
951
|
this.logger.error('Failed to retry task', { taskId, retryError });
|
|
921
952
|
});
|
|
922
953
|
}, retryDelay);
|
|
923
|
-
|
|
924
954
|
} else {
|
|
925
955
|
task.status = 'failed';
|
|
926
956
|
task.completedAt = new Date();
|
|
927
|
-
|
|
957
|
+
|
|
928
958
|
// Update status history
|
|
929
959
|
task.statusHistory.push({
|
|
930
960
|
timestamp: new Date(),
|
|
931
961
|
from: 'running',
|
|
932
962
|
to: 'failed',
|
|
933
|
-
reason: `Task failed permanently: ${
|
|
934
|
-
triggeredBy: agent.id
|
|
963
|
+
reason: `Task failed permanently: ${error instanceof Error ? error.message : String(error)}`,
|
|
964
|
+
triggeredBy: agent.id,
|
|
935
965
|
});
|
|
936
966
|
|
|
937
967
|
this.emitSwarmEvent({
|
|
@@ -941,7 +971,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
941
971
|
source: agent.id.id,
|
|
942
972
|
data: { task, error: task.error },
|
|
943
973
|
broadcast: false,
|
|
944
|
-
processed: false
|
|
974
|
+
processed: false,
|
|
945
975
|
});
|
|
946
976
|
|
|
947
977
|
// Handle failure cascade
|
|
@@ -973,7 +1003,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
973
1003
|
from: task.statusHistory[task.statusHistory.length - 1].to,
|
|
974
1004
|
to: 'cancelled',
|
|
975
1005
|
reason: `Task cancelled: ${reason}`,
|
|
976
|
-
triggeredBy: 'system'
|
|
1006
|
+
triggeredBy: 'system',
|
|
977
1007
|
});
|
|
978
1008
|
|
|
979
1009
|
this.emitSwarmEvent({
|
|
@@ -983,27 +1013,25 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
983
1013
|
source: this.swarmId.id,
|
|
984
1014
|
data: { task, reason },
|
|
985
1015
|
broadcast: false,
|
|
986
|
-
processed: false
|
|
1016
|
+
processed: false,
|
|
987
1017
|
});
|
|
988
1018
|
}
|
|
989
1019
|
|
|
990
1020
|
// ===== ADVANCED FEATURES =====
|
|
991
1021
|
|
|
992
1022
|
async selectAgentForTask(task: TaskDefinition): Promise<string | null> {
|
|
993
|
-
const availableAgents = Array.from(this.agents.values())
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
this.agentCanHandleTask(agent, task)
|
|
997
|
-
);
|
|
1023
|
+
const availableAgents = Array.from(this.agents.values()).filter(
|
|
1024
|
+
(agent) => agent.status === 'idle' && this.agentCanHandleTask(agent, task),
|
|
1025
|
+
);
|
|
998
1026
|
|
|
999
1027
|
if (availableAgents.length === 0) {
|
|
1000
1028
|
return null;
|
|
1001
1029
|
}
|
|
1002
1030
|
|
|
1003
1031
|
// Score agents based on multiple criteria
|
|
1004
|
-
const scoredAgents = availableAgents.map(agent => ({
|
|
1032
|
+
const scoredAgents = availableAgents.map((agent) => ({
|
|
1005
1033
|
agent,
|
|
1006
|
-
score: this.calculateAgentScore(agent, task)
|
|
1034
|
+
score: this.calculateAgentScore(agent, task),
|
|
1007
1035
|
}));
|
|
1008
1036
|
|
|
1009
1037
|
// Sort by score (highest first)
|
|
@@ -1049,24 +1077,37 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1049
1077
|
|
|
1050
1078
|
private agentHasCapability(agent: AgentState, capability: string): boolean {
|
|
1051
1079
|
const caps = agent.capabilities;
|
|
1052
|
-
|
|
1080
|
+
|
|
1053
1081
|
switch (capability) {
|
|
1054
|
-
case 'code-generation':
|
|
1055
|
-
|
|
1056
|
-
case '
|
|
1057
|
-
|
|
1058
|
-
case '
|
|
1059
|
-
|
|
1060
|
-
case '
|
|
1061
|
-
|
|
1062
|
-
case '
|
|
1063
|
-
|
|
1064
|
-
case '
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1082
|
+
case 'code-generation':
|
|
1083
|
+
return caps.codeGeneration;
|
|
1084
|
+
case 'code-review':
|
|
1085
|
+
return caps.codeReview;
|
|
1086
|
+
case 'testing':
|
|
1087
|
+
return caps.testing;
|
|
1088
|
+
case 'documentation':
|
|
1089
|
+
return caps.documentation;
|
|
1090
|
+
case 'research':
|
|
1091
|
+
return caps.research;
|
|
1092
|
+
case 'analysis':
|
|
1093
|
+
return caps.analysis;
|
|
1094
|
+
case 'web-search':
|
|
1095
|
+
return caps.webSearch;
|
|
1096
|
+
case 'api-integration':
|
|
1097
|
+
return caps.apiIntegration;
|
|
1098
|
+
case 'file-system':
|
|
1099
|
+
return caps.fileSystem;
|
|
1100
|
+
case 'terminal-access':
|
|
1101
|
+
return caps.terminalAccess;
|
|
1102
|
+
case 'validation':
|
|
1103
|
+
return caps.testing; // Validation is part of testing capability
|
|
1104
|
+
default:
|
|
1105
|
+
return (
|
|
1106
|
+
caps.domains.includes(capability) ||
|
|
1107
|
+
caps.languages.includes(capability) ||
|
|
1108
|
+
caps.frameworks.includes(capability) ||
|
|
1109
|
+
caps.tools.includes(capability)
|
|
1110
|
+
);
|
|
1070
1111
|
}
|
|
1071
1112
|
}
|
|
1072
1113
|
|
|
@@ -1084,8 +1125,10 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1084
1125
|
}
|
|
1085
1126
|
|
|
1086
1127
|
// Check reliability requirement
|
|
1087
|
-
if (
|
|
1088
|
-
|
|
1128
|
+
if (
|
|
1129
|
+
task.requirements.minReliability &&
|
|
1130
|
+
agent.capabilities.reliability < task.requirements.minReliability
|
|
1131
|
+
) {
|
|
1089
1132
|
return false;
|
|
1090
1133
|
}
|
|
1091
1134
|
|
|
@@ -1103,7 +1146,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1103
1146
|
return {
|
|
1104
1147
|
id: generateId('swarm'),
|
|
1105
1148
|
timestamp: Date.now(),
|
|
1106
|
-
namespace: 'default'
|
|
1149
|
+
namespace: 'default',
|
|
1107
1150
|
};
|
|
1108
1151
|
}
|
|
1109
1152
|
|
|
@@ -1121,7 +1164,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1121
1164
|
taskScheduling: 'priority',
|
|
1122
1165
|
loadBalancing: 'work-stealing',
|
|
1123
1166
|
faultTolerance: 'retry',
|
|
1124
|
-
communication: 'event-driven'
|
|
1167
|
+
communication: 'event-driven',
|
|
1125
1168
|
},
|
|
1126
1169
|
maxAgents: 10,
|
|
1127
1170
|
maxTasks: 100,
|
|
@@ -1129,7 +1172,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1129
1172
|
resourceLimits: {
|
|
1130
1173
|
memory: SWARM_CONSTANTS.DEFAULT_MEMORY_LIMIT,
|
|
1131
1174
|
cpu: SWARM_CONSTANTS.DEFAULT_CPU_LIMIT,
|
|
1132
|
-
disk: SWARM_CONSTANTS.DEFAULT_DISK_LIMIT
|
|
1175
|
+
disk: SWARM_CONSTANTS.DEFAULT_DISK_LIMIT,
|
|
1133
1176
|
},
|
|
1134
1177
|
qualityThreshold: SWARM_CONSTANTS.DEFAULT_QUALITY_THRESHOLD,
|
|
1135
1178
|
reviewRequired: true,
|
|
@@ -1149,11 +1192,11 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1149
1192
|
errorRate: 0.1,
|
|
1150
1193
|
responseTime: 5000,
|
|
1151
1194
|
memoryUsage: 0.8,
|
|
1152
|
-
cpuUsage: 0.8
|
|
1195
|
+
cpuUsage: 0.8,
|
|
1153
1196
|
},
|
|
1154
1197
|
exportEnabled: false,
|
|
1155
1198
|
exportFormat: 'json',
|
|
1156
|
-
exportDestination: '/tmp/swarm-metrics'
|
|
1199
|
+
exportDestination: '/tmp/swarm-metrics',
|
|
1157
1200
|
},
|
|
1158
1201
|
memory: {
|
|
1159
1202
|
namespace: 'default',
|
|
@@ -1162,14 +1205,14 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1162
1205
|
read: 'swarm',
|
|
1163
1206
|
write: 'team',
|
|
1164
1207
|
delete: 'private',
|
|
1165
|
-
share: 'team'
|
|
1208
|
+
share: 'team',
|
|
1166
1209
|
},
|
|
1167
1210
|
persistent: true,
|
|
1168
1211
|
backupEnabled: true,
|
|
1169
1212
|
distributed: false,
|
|
1170
1213
|
consistency: 'eventual',
|
|
1171
1214
|
cacheEnabled: true,
|
|
1172
|
-
compressionEnabled: false
|
|
1215
|
+
compressionEnabled: false,
|
|
1173
1216
|
},
|
|
1174
1217
|
security: {
|
|
1175
1218
|
authenticationRequired: false,
|
|
@@ -1180,7 +1223,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1180
1223
|
auditEnabled: true,
|
|
1181
1224
|
auditLevel: 'info',
|
|
1182
1225
|
inputValidation: true,
|
|
1183
|
-
outputSanitization: true
|
|
1226
|
+
outputSanitization: true,
|
|
1184
1227
|
},
|
|
1185
1228
|
performance: {
|
|
1186
1229
|
maxConcurrency: 10,
|
|
@@ -1193,9 +1236,9 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1193
1236
|
predictiveLoading: false,
|
|
1194
1237
|
resourcePooling: true,
|
|
1195
1238
|
connectionPooling: true,
|
|
1196
|
-
memoryPooling: false
|
|
1239
|
+
memoryPooling: false,
|
|
1197
1240
|
},
|
|
1198
|
-
...config
|
|
1241
|
+
...config,
|
|
1199
1242
|
};
|
|
1200
1243
|
}
|
|
1201
1244
|
|
|
@@ -1214,7 +1257,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1214
1257
|
agentSatisfaction: 0,
|
|
1215
1258
|
collaborationEffectiveness: 0,
|
|
1216
1259
|
scheduleVariance: 0,
|
|
1217
|
-
deadlineAdherence: 0
|
|
1260
|
+
deadlineAdherence: 0,
|
|
1218
1261
|
};
|
|
1219
1262
|
}
|
|
1220
1263
|
|
|
@@ -1234,7 +1277,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1234
1277
|
costSpent: 0,
|
|
1235
1278
|
activeAgents: 0,
|
|
1236
1279
|
idleAgents: 0,
|
|
1237
|
-
busyAgents: 0
|
|
1280
|
+
busyAgents: 0,
|
|
1238
1281
|
};
|
|
1239
1282
|
}
|
|
1240
1283
|
|
|
@@ -1273,12 +1316,12 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1273
1316
|
|
|
1274
1317
|
emitSwarmEvent(event: SwarmEvent): boolean {
|
|
1275
1318
|
this.events.push(event);
|
|
1276
|
-
|
|
1319
|
+
|
|
1277
1320
|
// Limit event history
|
|
1278
1321
|
if (this.events.length > 1000) {
|
|
1279
1322
|
this.events = this.events.slice(-500);
|
|
1280
1323
|
}
|
|
1281
|
-
|
|
1324
|
+
|
|
1282
1325
|
return this.emit(event.type, event);
|
|
1283
1326
|
}
|
|
1284
1327
|
|
|
@@ -1305,7 +1348,7 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1305
1348
|
}
|
|
1306
1349
|
|
|
1307
1350
|
correlateEvents(correlationId: string): SwarmEvent[] {
|
|
1308
|
-
return this.events.filter(event => event.correlationId === correlationId);
|
|
1351
|
+
return this.events.filter((event) => event.correlationId === correlationId);
|
|
1309
1352
|
}
|
|
1310
1353
|
|
|
1311
1354
|
// ===== PUBLIC API METHODS =====
|
|
@@ -1360,22 +1403,27 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1360
1403
|
return endTime.getTime() - this.startTime.getTime();
|
|
1361
1404
|
}
|
|
1362
1405
|
|
|
1363
|
-
getSwarmStatus(): {
|
|
1406
|
+
getSwarmStatus(): {
|
|
1407
|
+
status: SwarmStatus;
|
|
1408
|
+
objectives: number;
|
|
1409
|
+
tasks: { completed: number; failed: number; total: number };
|
|
1410
|
+
agents: { total: number };
|
|
1411
|
+
} {
|
|
1364
1412
|
const tasks = Array.from(this.tasks.values());
|
|
1365
|
-
const completedTasks = tasks.filter(t => t.status === 'completed').length;
|
|
1366
|
-
const failedTasks = tasks.filter(t => t.status === 'failed').length;
|
|
1367
|
-
|
|
1413
|
+
const completedTasks = tasks.filter((t) => t.status === 'completed').length;
|
|
1414
|
+
const failedTasks = tasks.filter((t) => t.status === 'failed').length;
|
|
1415
|
+
|
|
1368
1416
|
return {
|
|
1369
1417
|
status: this.status,
|
|
1370
1418
|
objectives: this.objectives.size,
|
|
1371
1419
|
tasks: {
|
|
1372
1420
|
completed: completedTasks,
|
|
1373
1421
|
failed: failedTasks,
|
|
1374
|
-
total: tasks.length
|
|
1422
|
+
total: tasks.length,
|
|
1375
1423
|
},
|
|
1376
1424
|
agents: {
|
|
1377
|
-
total: this.agents.size
|
|
1378
|
-
}
|
|
1425
|
+
total: this.agents.size,
|
|
1426
|
+
},
|
|
1379
1427
|
};
|
|
1380
1428
|
}
|
|
1381
1429
|
|
|
@@ -1383,7 +1431,14 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1383
1431
|
|
|
1384
1432
|
private async validateConfiguration(): Promise<ValidationResult> {
|
|
1385
1433
|
// Implementation needed
|
|
1386
|
-
return {
|
|
1434
|
+
return {
|
|
1435
|
+
valid: true,
|
|
1436
|
+
errors: [],
|
|
1437
|
+
warnings: [],
|
|
1438
|
+
validatedAt: new Date(),
|
|
1439
|
+
validator: 'SwarmCoordinator',
|
|
1440
|
+
context: {},
|
|
1441
|
+
};
|
|
1387
1442
|
}
|
|
1388
1443
|
|
|
1389
1444
|
private async initializeSubsystems(): Promise<void> {
|
|
@@ -1430,24 +1485,23 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1430
1485
|
}
|
|
1431
1486
|
|
|
1432
1487
|
private async stopAllAgents(): Promise<void> {
|
|
1433
|
-
const stopPromises = Array.from(this.agents.keys()).map(agentId =>
|
|
1434
|
-
this.stopAgent(agentId)
|
|
1435
|
-
);
|
|
1488
|
+
const stopPromises = Array.from(this.agents.keys()).map((agentId) => this.stopAgent(agentId));
|
|
1436
1489
|
await Promise.allSettled(stopPromises);
|
|
1437
1490
|
}
|
|
1438
1491
|
|
|
1439
1492
|
private async completeRunningTasks(): Promise<void> {
|
|
1440
|
-
const runningTasks = Array.from(this.tasks.values())
|
|
1441
|
-
|
|
1442
|
-
|
|
1493
|
+
const runningTasks = Array.from(this.tasks.values()).filter(
|
|
1494
|
+
(task) => task.status === 'running',
|
|
1495
|
+
);
|
|
1496
|
+
|
|
1443
1497
|
// Wait for tasks to complete or timeout
|
|
1444
1498
|
const timeout = 30000; // 30 seconds
|
|
1445
1499
|
const deadline = Date.now() + timeout;
|
|
1446
|
-
|
|
1447
|
-
while (runningTasks.some(task => task.status === 'running') && Date.now() < deadline) {
|
|
1448
|
-
await new Promise(resolve => setTimeout(resolve, 1000));
|
|
1500
|
+
|
|
1501
|
+
while (runningTasks.some((task) => task.status === 'running') && Date.now() < deadline) {
|
|
1502
|
+
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
1449
1503
|
}
|
|
1450
|
-
|
|
1504
|
+
|
|
1451
1505
|
// Cancel any remaining running tasks
|
|
1452
1506
|
for (const task of runningTasks) {
|
|
1453
1507
|
if (task.status === 'running') {
|
|
@@ -1462,13 +1516,20 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1462
1516
|
|
|
1463
1517
|
private determineRequiredAgentTypes(strategy: SwarmStrategy): AgentType[] {
|
|
1464
1518
|
switch (strategy) {
|
|
1465
|
-
case 'research':
|
|
1466
|
-
|
|
1467
|
-
case '
|
|
1468
|
-
|
|
1469
|
-
case '
|
|
1470
|
-
|
|
1471
|
-
|
|
1519
|
+
case 'research':
|
|
1520
|
+
return ['researcher', 'analyst'];
|
|
1521
|
+
case 'development':
|
|
1522
|
+
return ['coder', 'tester', 'reviewer'];
|
|
1523
|
+
case 'analysis':
|
|
1524
|
+
return ['analyst', 'researcher'];
|
|
1525
|
+
case 'testing':
|
|
1526
|
+
return ['tester', 'coder'];
|
|
1527
|
+
case 'optimization':
|
|
1528
|
+
return ['analyst', 'coder'];
|
|
1529
|
+
case 'maintenance':
|
|
1530
|
+
return ['coder', 'monitor'];
|
|
1531
|
+
default:
|
|
1532
|
+
return ['coordinator', 'coder', 'analyst'];
|
|
1472
1533
|
}
|
|
1473
1534
|
}
|
|
1474
1535
|
|
|
@@ -1516,31 +1577,37 @@ export class SwarmCoordinator extends EventEmitter implements SwarmEventEmitter
|
|
|
1516
1577
|
|
|
1517
1578
|
private async decomposeObjective(objective: SwarmObjective): Promise<TaskDefinition[]> {
|
|
1518
1579
|
// Decompose objective into tasks with clear instructions for Claude
|
|
1519
|
-
this.logger.info('Decomposing objective', {
|
|
1520
|
-
objectiveId: objective.id,
|
|
1521
|
-
description: objective.description
|
|
1580
|
+
this.logger.info('Decomposing objective', {
|
|
1581
|
+
objectiveId: objective.id,
|
|
1582
|
+
description: objective.description,
|
|
1522
1583
|
});
|
|
1523
|
-
|
|
1584
|
+
|
|
1524
1585
|
const tasks: TaskDefinition[] = [];
|
|
1525
|
-
|
|
1586
|
+
|
|
1526
1587
|
// Extract target directory from objective
|
|
1527
|
-
const targetDirMatch = objective.description.match(
|
|
1588
|
+
const targetDirMatch = objective.description.match(
|
|
1589
|
+
/(?:in|to|at)\s+([^\s]+\/[^\s]+)|([^\s]+\/[^\s]+)$/,
|
|
1590
|
+
);
|
|
1528
1591
|
const targetDir = targetDirMatch ? targetDirMatch[1] || targetDirMatch[2] : null;
|
|
1529
|
-
const targetPath = targetDir
|
|
1530
|
-
|
|
1592
|
+
const targetPath = targetDir
|
|
1593
|
+
? targetDir.startsWith('/')
|
|
1594
|
+
? targetDir
|
|
1595
|
+
: `${getClaudeFlowRoot()}/${targetDir}`
|
|
1596
|
+
: null;
|
|
1597
|
+
|
|
1531
1598
|
// Check if objective requests "each agent" or "each agent type" for parallel execution
|
|
1532
1599
|
const eachAgentPattern = /\beach\s+agent(?:\s+type)?\b/i;
|
|
1533
1600
|
const requestsParallelAgents = eachAgentPattern.test(objective.description);
|
|
1534
|
-
|
|
1601
|
+
|
|
1535
1602
|
// Create tasks with specific prompts for Claude
|
|
1536
1603
|
if (requestsParallelAgents && this.config.mode === 'parallel') {
|
|
1537
1604
|
// Create parallel tasks for each agent type
|
|
1538
1605
|
const agentTypes = this.determineRequiredAgentTypes(objective.strategy);
|
|
1539
|
-
this.logger.info('Creating parallel tasks for each agent type', {
|
|
1606
|
+
this.logger.info('Creating parallel tasks for each agent type', {
|
|
1540
1607
|
agentTypes,
|
|
1541
|
-
mode: this.config.mode
|
|
1608
|
+
mode: this.config.mode,
|
|
1542
1609
|
});
|
|
1543
|
-
|
|
1610
|
+
|
|
1544
1611
|
for (const agentType of agentTypes) {
|
|
1545
1612
|
const taskId = this.createTaskForObjective(`${agentType}-task`, agentType as TaskType, {
|
|
1546
1613
|
title: `${agentType.charAt(0).toUpperCase() + agentType.slice(1)} Agent Task`,
|
|
@@ -1557,7 +1624,7 @@ ${this.getAgentTypeInstructions(agentType)}
|
|
|
1557
1624
|
Work independently but be aware that other agents are working on this same objective from their perspectives.`,
|
|
1558
1625
|
priority: 'high' as TaskPriority,
|
|
1559
1626
|
estimatedDuration: 10 * 60 * 1000,
|
|
1560
|
-
requiredCapabilities: this.getAgentCapabilities(agentType)
|
|
1627
|
+
requiredCapabilities: this.getAgentCapabilities(agentType),
|
|
1561
1628
|
});
|
|
1562
1629
|
tasks.push(taskId);
|
|
1563
1630
|
}
|
|
@@ -1582,10 +1649,10 @@ Your analysis should include:
|
|
|
1582
1649
|
Please provide a clear, structured plan that the next tasks can follow.`,
|
|
1583
1650
|
priority: 'high' as TaskPriority,
|
|
1584
1651
|
estimatedDuration: 5 * 60 * 1000,
|
|
1585
|
-
requiredCapabilities: ['analysis', 'documentation']
|
|
1652
|
+
requiredCapabilities: ['analysis', 'documentation'],
|
|
1586
1653
|
});
|
|
1587
1654
|
tasks.push(task1);
|
|
1588
|
-
|
|
1655
|
+
|
|
1589
1656
|
// Task 2: Implementation
|
|
1590
1657
|
const task2 = this.createTaskForObjective('create-implementation', 'coding', {
|
|
1591
1658
|
title: 'Implement the Solution',
|
|
@@ -1607,10 +1674,10 @@ Focus on creating a working implementation that matches the user's request exact
|
|
|
1607
1674
|
priority: 'high' as TaskPriority,
|
|
1608
1675
|
estimatedDuration: 10 * 60 * 1000,
|
|
1609
1676
|
requiredCapabilities: ['code-generation', 'file-system'],
|
|
1610
|
-
dependencies: [task1.id.id]
|
|
1677
|
+
dependencies: [task1.id.id],
|
|
1611
1678
|
});
|
|
1612
1679
|
tasks.push(task2);
|
|
1613
|
-
|
|
1680
|
+
|
|
1614
1681
|
// Task 3: Testing
|
|
1615
1682
|
const task3 = this.createTaskForObjective('write-tests', 'testing', {
|
|
1616
1683
|
title: 'Create Tests',
|
|
@@ -1628,10 +1695,10 @@ Create appropriate test files that:
|
|
|
1628
1695
|
priority: 'medium' as TaskPriority,
|
|
1629
1696
|
estimatedDuration: 5 * 60 * 1000,
|
|
1630
1697
|
requiredCapabilities: ['testing', 'code-generation'],
|
|
1631
|
-
dependencies: [task2.id.id]
|
|
1698
|
+
dependencies: [task2.id.id],
|
|
1632
1699
|
});
|
|
1633
1700
|
tasks.push(task3);
|
|
1634
|
-
|
|
1701
|
+
|
|
1635
1702
|
// Task 4: Documentation
|
|
1636
1703
|
const task4 = this.createTaskForObjective('create-documentation', 'documentation', {
|
|
1637
1704
|
title: 'Create Documentation',
|
|
@@ -1652,15 +1719,16 @@ Make sure the documentation is clear, complete, and helps users understand and u
|
|
|
1652
1719
|
priority: 'medium' as TaskPriority,
|
|
1653
1720
|
estimatedDuration: 5 * 60 * 1000,
|
|
1654
1721
|
requiredCapabilities: ['documentation'],
|
|
1655
|
-
dependencies: [task2.id.id]
|
|
1722
|
+
dependencies: [task2.id.id],
|
|
1656
1723
|
});
|
|
1657
1724
|
tasks.push(task4);
|
|
1658
1725
|
} else {
|
|
1659
1726
|
// For other strategies, create a comprehensive single task
|
|
1660
|
-
tasks.push(
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1727
|
+
tasks.push(
|
|
1728
|
+
this.createTaskForObjective('execute-objective', 'generic', {
|
|
1729
|
+
title: 'Execute Objective',
|
|
1730
|
+
description: objective.description,
|
|
1731
|
+
instructions: `Please complete the following request:
|
|
1664
1732
|
|
|
1665
1733
|
${objective.description}
|
|
1666
1734
|
|
|
@@ -1674,28 +1742,29 @@ Please analyze what is being requested and implement it appropriately. This may
|
|
|
1674
1742
|
- Any other tasks necessary to fulfill the request
|
|
1675
1743
|
|
|
1676
1744
|
Ensure your implementation is complete, well-structured, and follows best practices.`,
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1745
|
+
priority: 'high' as TaskPriority,
|
|
1746
|
+
estimatedDuration: 15 * 60 * 1000,
|
|
1747
|
+
requiredCapabilities: ['code-generation', 'file-system', 'documentation'],
|
|
1748
|
+
}),
|
|
1749
|
+
);
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
this.logger.info('Objective decomposed', {
|
|
1753
|
+
objectiveId: objective.id,
|
|
1754
|
+
taskCount: tasks.length,
|
|
1686
1755
|
});
|
|
1687
|
-
|
|
1756
|
+
|
|
1688
1757
|
return tasks;
|
|
1689
1758
|
}
|
|
1690
|
-
|
|
1759
|
+
|
|
1691
1760
|
private createTaskForObjective(id: string, type: TaskType, params: any): TaskDefinition {
|
|
1692
1761
|
const taskId: TaskId = {
|
|
1693
1762
|
id: generateId('task'),
|
|
1694
1763
|
swarmId: this.swarmId.id,
|
|
1695
1764
|
sequence: this.tasks.size + 1,
|
|
1696
|
-
priority: 1
|
|
1765
|
+
priority: 1,
|
|
1697
1766
|
};
|
|
1698
|
-
|
|
1767
|
+
|
|
1699
1768
|
return {
|
|
1700
1769
|
id: taskId,
|
|
1701
1770
|
type,
|
|
@@ -1705,36 +1774,38 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1705
1774
|
requirements: {
|
|
1706
1775
|
capabilities: params.requiredCapabilities || [],
|
|
1707
1776
|
tools: this.getRequiredTools(type),
|
|
1708
|
-
permissions: this.getRequiredPermissions(type)
|
|
1777
|
+
permissions: this.getRequiredPermissions(type),
|
|
1709
1778
|
},
|
|
1710
1779
|
constraints: {
|
|
1711
1780
|
dependencies: params.dependencies || [],
|
|
1712
1781
|
dependents: [],
|
|
1713
1782
|
conflicts: [],
|
|
1714
1783
|
maxRetries: SWARM_CONSTANTS.MAX_RETRIES,
|
|
1715
|
-
timeoutAfter: params.estimatedDuration || SWARM_CONSTANTS.DEFAULT_TASK_TIMEOUT
|
|
1784
|
+
timeoutAfter: params.estimatedDuration || SWARM_CONSTANTS.DEFAULT_TASK_TIMEOUT,
|
|
1716
1785
|
},
|
|
1717
1786
|
priority: params.priority || 'medium',
|
|
1718
1787
|
input: {
|
|
1719
1788
|
description: params.description,
|
|
1720
|
-
objective: params.description
|
|
1789
|
+
objective: params.description,
|
|
1721
1790
|
},
|
|
1722
1791
|
context: {
|
|
1723
1792
|
objectiveId: id,
|
|
1724
|
-
targetDir: params.targetDir
|
|
1793
|
+
targetDir: params.targetDir,
|
|
1725
1794
|
},
|
|
1726
1795
|
examples: [],
|
|
1727
1796
|
status: 'created',
|
|
1728
1797
|
createdAt: new Date(),
|
|
1729
1798
|
updatedAt: new Date(),
|
|
1730
1799
|
attempts: [],
|
|
1731
|
-
statusHistory: [
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1800
|
+
statusHistory: [
|
|
1801
|
+
{
|
|
1802
|
+
timestamp: new Date(),
|
|
1803
|
+
from: 'created' as TaskStatus,
|
|
1804
|
+
to: 'created' as TaskStatus,
|
|
1805
|
+
reason: 'Task created',
|
|
1806
|
+
triggeredBy: 'system',
|
|
1807
|
+
},
|
|
1808
|
+
],
|
|
1738
1809
|
};
|
|
1739
1810
|
}
|
|
1740
1811
|
|
|
@@ -1742,16 +1813,16 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1742
1813
|
// Implementation needed - analyze task dependencies
|
|
1743
1814
|
return [];
|
|
1744
1815
|
}
|
|
1745
|
-
|
|
1816
|
+
|
|
1746
1817
|
private convertDependenciesToTaskDependencies(dependencies: Map<string, string[]>): any[] {
|
|
1747
1818
|
// Convert decomposition dependencies to task dependencies format
|
|
1748
1819
|
const result: any[] = [];
|
|
1749
1820
|
dependencies.forEach((deps, taskId) => {
|
|
1750
|
-
deps.forEach(dependsOn => {
|
|
1821
|
+
deps.forEach((dependsOn) => {
|
|
1751
1822
|
result.push({
|
|
1752
1823
|
taskId,
|
|
1753
1824
|
dependsOn,
|
|
1754
|
-
type: 'sequential'
|
|
1825
|
+
type: 'sequential',
|
|
1755
1826
|
});
|
|
1756
1827
|
});
|
|
1757
1828
|
});
|
|
@@ -1763,19 +1834,19 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1763
1834
|
}
|
|
1764
1835
|
|
|
1765
1836
|
private async scheduleInitialTasks(objective: SwarmObjective): Promise<void> {
|
|
1766
|
-
this.logger.info('Scheduling initial tasks for objective', {
|
|
1767
|
-
objectiveId: objective.id,
|
|
1768
|
-
taskCount: objective.tasks.length
|
|
1837
|
+
this.logger.info('Scheduling initial tasks for objective', {
|
|
1838
|
+
objectiveId: objective.id,
|
|
1839
|
+
taskCount: objective.tasks.length,
|
|
1769
1840
|
});
|
|
1770
|
-
|
|
1841
|
+
|
|
1771
1842
|
// Extract target directory from objective description
|
|
1772
1843
|
const targetDirPatterns = [
|
|
1773
1844
|
/in\s+([^\s]+\/?)$/i,
|
|
1774
1845
|
/(?:in|to|at)\s+([^\s]+\/[^\s]+)/i,
|
|
1775
1846
|
/([^\s]+\/[^\s]+)$/,
|
|
1776
|
-
/examples\/[^\s]+/i
|
|
1847
|
+
/examples\/[^\s]+/i,
|
|
1777
1848
|
];
|
|
1778
|
-
|
|
1849
|
+
|
|
1779
1850
|
let objectiveTargetDir = null;
|
|
1780
1851
|
for (const pattern of targetDirPatterns) {
|
|
1781
1852
|
const match = objective.description.match(pattern);
|
|
@@ -1784,7 +1855,7 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1784
1855
|
break;
|
|
1785
1856
|
}
|
|
1786
1857
|
}
|
|
1787
|
-
|
|
1858
|
+
|
|
1788
1859
|
// Add all tasks to the tasks map
|
|
1789
1860
|
for (const task of objective.tasks) {
|
|
1790
1861
|
task.context.objectiveId = objective.id;
|
|
@@ -1793,32 +1864,35 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1793
1864
|
task.context.targetDir = objectiveTargetDir;
|
|
1794
1865
|
}
|
|
1795
1866
|
this.tasks.set(task.id.id, task);
|
|
1867
|
+
|
|
1868
|
+
// Track task in JSON output if enabled
|
|
1869
|
+
this.trackTaskInJsonOutput(task);
|
|
1796
1870
|
}
|
|
1797
|
-
|
|
1871
|
+
|
|
1798
1872
|
// Find tasks with no dependencies and queue them
|
|
1799
|
-
const initialTasks = objective.tasks.filter(
|
|
1800
|
-
!task.constraints.dependencies || task.constraints.dependencies.length === 0
|
|
1873
|
+
const initialTasks = objective.tasks.filter(
|
|
1874
|
+
(task) => !task.constraints.dependencies || task.constraints.dependencies.length === 0,
|
|
1801
1875
|
);
|
|
1802
|
-
|
|
1803
|
-
this.logger.info('Found initial tasks without dependencies', {
|
|
1876
|
+
|
|
1877
|
+
this.logger.info('Found initial tasks without dependencies', {
|
|
1804
1878
|
count: initialTasks.length,
|
|
1805
|
-
tasks: initialTasks.map(t => ({ id: t.id.id, name: t.name }))
|
|
1879
|
+
tasks: initialTasks.map((t) => ({ id: t.id.id, name: t.name })),
|
|
1806
1880
|
});
|
|
1807
|
-
|
|
1881
|
+
|
|
1808
1882
|
// Queue initial tasks for execution
|
|
1809
1883
|
for (const task of initialTasks) {
|
|
1810
1884
|
task.status = 'queued';
|
|
1811
1885
|
task.updatedAt = new Date();
|
|
1812
|
-
|
|
1886
|
+
|
|
1813
1887
|
// Update status history
|
|
1814
1888
|
task.statusHistory.push({
|
|
1815
1889
|
timestamp: new Date(),
|
|
1816
1890
|
from: 'created' as TaskStatus,
|
|
1817
1891
|
to: 'queued' as TaskStatus,
|
|
1818
1892
|
reason: 'Task queued for execution',
|
|
1819
|
-
triggeredBy: 'system'
|
|
1893
|
+
triggeredBy: 'system',
|
|
1820
1894
|
});
|
|
1821
|
-
|
|
1895
|
+
|
|
1822
1896
|
// Emit task queued event
|
|
1823
1897
|
this.emitSwarmEvent({
|
|
1824
1898
|
id: generateId('event'),
|
|
@@ -1827,10 +1901,10 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1827
1901
|
source: this.swarmId.id,
|
|
1828
1902
|
data: { task },
|
|
1829
1903
|
broadcast: false,
|
|
1830
|
-
processed: false
|
|
1904
|
+
processed: false,
|
|
1831
1905
|
});
|
|
1832
1906
|
}
|
|
1833
|
-
|
|
1907
|
+
|
|
1834
1908
|
// Update objective progress
|
|
1835
1909
|
objective.progress.totalTasks = objective.tasks.length;
|
|
1836
1910
|
objective.progress.runningTasks = 0;
|
|
@@ -1839,10 +1913,10 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1839
1913
|
}
|
|
1840
1914
|
|
|
1841
1915
|
private startTaskExecutionLoop(objective: SwarmObjective): void {
|
|
1842
|
-
this.logger.info('Starting task execution loop for objective', {
|
|
1843
|
-
objectiveId: objective.id
|
|
1916
|
+
this.logger.info('Starting task execution loop for objective', {
|
|
1917
|
+
objectiveId: objective.id,
|
|
1844
1918
|
});
|
|
1845
|
-
|
|
1919
|
+
|
|
1846
1920
|
// Create an interval to process queued tasks
|
|
1847
1921
|
const executionInterval = setInterval(async () => {
|
|
1848
1922
|
try {
|
|
@@ -1851,74 +1925,69 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1851
1925
|
clearInterval(executionInterval);
|
|
1852
1926
|
return;
|
|
1853
1927
|
}
|
|
1854
|
-
|
|
1928
|
+
|
|
1855
1929
|
// Find queued tasks
|
|
1856
|
-
const queuedTasks = Array.from(this.tasks.values())
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
);
|
|
1861
|
-
|
|
1930
|
+
const queuedTasks = Array.from(this.tasks.values()).filter(
|
|
1931
|
+
(task) => task.context?.objectiveId === objective.id && task.status === 'queued',
|
|
1932
|
+
);
|
|
1933
|
+
|
|
1862
1934
|
// Find idle agents
|
|
1863
|
-
const idleAgents = Array.from(this.agents.values())
|
|
1864
|
-
|
|
1865
|
-
|
|
1935
|
+
const idleAgents = Array.from(this.agents.values()).filter(
|
|
1936
|
+
(agent) => agent.status === 'idle',
|
|
1937
|
+
);
|
|
1938
|
+
|
|
1866
1939
|
if (queuedTasks.length > 0 && idleAgents.length > 0) {
|
|
1867
|
-
this.logger.debug('Processing queued tasks', {
|
|
1868
|
-
queuedTasks: queuedTasks.length,
|
|
1869
|
-
idleAgents: idleAgents.length
|
|
1940
|
+
this.logger.debug('Processing queued tasks', {
|
|
1941
|
+
queuedTasks: queuedTasks.length,
|
|
1942
|
+
idleAgents: idleAgents.length,
|
|
1870
1943
|
});
|
|
1871
1944
|
}
|
|
1872
|
-
|
|
1945
|
+
|
|
1873
1946
|
// Assign tasks to idle agents
|
|
1874
1947
|
for (const task of queuedTasks) {
|
|
1875
1948
|
if (idleAgents.length === 0) break;
|
|
1876
|
-
|
|
1949
|
+
|
|
1877
1950
|
// Find suitable agent
|
|
1878
|
-
const suitableAgents = idleAgents.filter(agent =>
|
|
1879
|
-
|
|
1880
|
-
);
|
|
1881
|
-
|
|
1951
|
+
const suitableAgents = idleAgents.filter((agent) => this.agentCanHandleTask(agent, task));
|
|
1952
|
+
|
|
1882
1953
|
if (suitableAgents.length > 0) {
|
|
1883
1954
|
// Assign to first suitable agent
|
|
1884
1955
|
await this.assignTask(task.id.id, suitableAgents[0].id.id);
|
|
1885
|
-
|
|
1956
|
+
|
|
1886
1957
|
// Remove agent from idle list
|
|
1887
|
-
const agentIndex = idleAgents.findIndex(a => a.id.id === suitableAgents[0].id.id);
|
|
1958
|
+
const agentIndex = idleAgents.findIndex((a) => a.id.id === suitableAgents[0].id.id);
|
|
1888
1959
|
if (agentIndex >= 0) {
|
|
1889
1960
|
idleAgents.splice(agentIndex, 1);
|
|
1890
1961
|
}
|
|
1891
1962
|
}
|
|
1892
1963
|
}
|
|
1893
|
-
|
|
1964
|
+
|
|
1894
1965
|
// Check for completed tasks and process dependencies
|
|
1895
|
-
const completedTasks = Array.from(this.tasks.values())
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
);
|
|
1900
|
-
|
|
1966
|
+
const completedTasks = Array.from(this.tasks.values()).filter(
|
|
1967
|
+
(task) => task.context?.objectiveId === objective.id && task.status === 'completed',
|
|
1968
|
+
);
|
|
1969
|
+
|
|
1901
1970
|
// Find tasks that can now be queued (dependencies met)
|
|
1902
|
-
const pendingTasks = Array.from(this.tasks.values())
|
|
1903
|
-
|
|
1904
|
-
task.context?.objectiveId === objective.id &&
|
|
1971
|
+
const pendingTasks = Array.from(this.tasks.values()).filter(
|
|
1972
|
+
(task) =>
|
|
1973
|
+
task.context?.objectiveId === objective.id &&
|
|
1905
1974
|
task.status === 'created' &&
|
|
1906
|
-
this.taskDependenciesMet(task, completedTasks)
|
|
1907
|
-
|
|
1908
|
-
|
|
1975
|
+
this.taskDependenciesMet(task, completedTasks),
|
|
1976
|
+
);
|
|
1977
|
+
|
|
1909
1978
|
// Queue tasks with met dependencies
|
|
1910
1979
|
for (const task of pendingTasks) {
|
|
1911
1980
|
task.status = 'queued';
|
|
1912
1981
|
task.updatedAt = new Date();
|
|
1913
|
-
|
|
1982
|
+
|
|
1914
1983
|
task.statusHistory.push({
|
|
1915
1984
|
timestamp: new Date(),
|
|
1916
1985
|
from: 'created' as TaskStatus,
|
|
1917
1986
|
to: 'queued' as TaskStatus,
|
|
1918
1987
|
reason: 'Dependencies met, task queued',
|
|
1919
|
-
triggeredBy: 'system'
|
|
1988
|
+
triggeredBy: 'system',
|
|
1920
1989
|
});
|
|
1921
|
-
|
|
1990
|
+
|
|
1922
1991
|
this.emitSwarmEvent({
|
|
1923
1992
|
id: generateId('event'),
|
|
1924
1993
|
timestamp: new Date(),
|
|
@@ -1926,30 +1995,28 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1926
1995
|
source: this.swarmId.id,
|
|
1927
1996
|
data: { task },
|
|
1928
1997
|
broadcast: false,
|
|
1929
|
-
processed: false
|
|
1998
|
+
processed: false,
|
|
1930
1999
|
});
|
|
1931
2000
|
}
|
|
1932
|
-
|
|
2001
|
+
|
|
1933
2002
|
// Check for stuck/timed out tasks
|
|
1934
|
-
const runningTasks = Array.from(this.tasks.values())
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
);
|
|
1939
|
-
|
|
2003
|
+
const runningTasks = Array.from(this.tasks.values()).filter(
|
|
2004
|
+
(task) => task.context?.objectiveId === objective.id && task.status === 'running',
|
|
2005
|
+
);
|
|
2006
|
+
|
|
1940
2007
|
const now = Date.now();
|
|
1941
2008
|
for (const task of runningTasks) {
|
|
1942
2009
|
if (task.startedAt) {
|
|
1943
2010
|
const runtime = now - task.startedAt.getTime();
|
|
1944
2011
|
const timeout = task.constraints?.timeoutAfter || SWARM_CONSTANTS.DEFAULT_TASK_TIMEOUT;
|
|
1945
|
-
|
|
2012
|
+
|
|
1946
2013
|
if (runtime > timeout) {
|
|
1947
|
-
this.logger.warn('Task timed out', {
|
|
1948
|
-
taskId: task.id.id,
|
|
2014
|
+
this.logger.warn('Task timed out', {
|
|
2015
|
+
taskId: task.id.id,
|
|
1949
2016
|
runtime: Math.round(runtime / 1000),
|
|
1950
|
-
timeout: Math.round(timeout / 1000)
|
|
2017
|
+
timeout: Math.round(timeout / 1000),
|
|
1951
2018
|
});
|
|
1952
|
-
|
|
2019
|
+
|
|
1953
2020
|
// Mark task as failed due to timeout
|
|
1954
2021
|
task.status = 'failed';
|
|
1955
2022
|
task.completedAt = new Date();
|
|
@@ -1959,9 +2026,9 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1959
2026
|
code: 'TASK_TIMEOUT',
|
|
1960
2027
|
context: { taskId: task.id.id, runtime },
|
|
1961
2028
|
recoverable: true,
|
|
1962
|
-
retryable: true
|
|
2029
|
+
retryable: true,
|
|
1963
2030
|
};
|
|
1964
|
-
|
|
2031
|
+
|
|
1965
2032
|
// Update agent state if assigned
|
|
1966
2033
|
if (task.assignedTo) {
|
|
1967
2034
|
const agent = this.agents.get(task.assignedTo.id);
|
|
@@ -1971,7 +2038,7 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1971
2038
|
agent.metrics.tasksFailed++;
|
|
1972
2039
|
}
|
|
1973
2040
|
}
|
|
1974
|
-
|
|
2041
|
+
|
|
1975
2042
|
// Emit timeout event
|
|
1976
2043
|
this.emitSwarmEvent({
|
|
1977
2044
|
id: generateId('event'),
|
|
@@ -1980,37 +2047,42 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
1980
2047
|
source: this.swarmId.id,
|
|
1981
2048
|
data: { task, reason: 'timeout' },
|
|
1982
2049
|
broadcast: false,
|
|
1983
|
-
processed: false
|
|
2050
|
+
processed: false,
|
|
1984
2051
|
});
|
|
1985
2052
|
}
|
|
1986
2053
|
}
|
|
1987
2054
|
}
|
|
1988
|
-
|
|
2055
|
+
|
|
1989
2056
|
// Update objective progress
|
|
1990
|
-
const allTasks = Array.from(this.tasks.values())
|
|
1991
|
-
|
|
1992
|
-
|
|
2057
|
+
const allTasks = Array.from(this.tasks.values()).filter(
|
|
2058
|
+
(task) => task.context?.objectiveId === objective.id,
|
|
2059
|
+
);
|
|
2060
|
+
|
|
1993
2061
|
objective.progress.totalTasks = allTasks.length;
|
|
1994
|
-
objective.progress.completedTasks = allTasks.filter(t => t.status === 'completed').length;
|
|
1995
|
-
objective.progress.failedTasks = allTasks.filter(t => t.status === 'failed').length;
|
|
1996
|
-
objective.progress.runningTasks = allTasks.filter(t => t.status === 'running').length;
|
|
1997
|
-
objective.progress.percentComplete =
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2062
|
+
objective.progress.completedTasks = allTasks.filter((t) => t.status === 'completed').length;
|
|
2063
|
+
objective.progress.failedTasks = allTasks.filter((t) => t.status === 'failed').length;
|
|
2064
|
+
objective.progress.runningTasks = allTasks.filter((t) => t.status === 'running').length;
|
|
2065
|
+
objective.progress.percentComplete =
|
|
2066
|
+
objective.progress.totalTasks > 0
|
|
2067
|
+
? (objective.progress.completedTasks / objective.progress.totalTasks) * 100
|
|
2068
|
+
: 0;
|
|
2069
|
+
|
|
2001
2070
|
// Check if objective is complete
|
|
2002
|
-
if (
|
|
2071
|
+
if (
|
|
2072
|
+
objective.progress.completedTasks + objective.progress.failedTasks ===
|
|
2073
|
+
objective.progress.totalTasks
|
|
2074
|
+
) {
|
|
2003
2075
|
objective.status = objective.progress.failedTasks === 0 ? 'completed' : 'failed';
|
|
2004
2076
|
objective.completedAt = new Date();
|
|
2005
2077
|
clearInterval(executionInterval);
|
|
2006
|
-
|
|
2007
|
-
this.logger.info('Objective completed', {
|
|
2078
|
+
|
|
2079
|
+
this.logger.info('Objective completed', {
|
|
2008
2080
|
objectiveId: objective.id,
|
|
2009
2081
|
status: objective.status,
|
|
2010
2082
|
completedTasks: objective.progress.completedTasks,
|
|
2011
|
-
failedTasks: objective.progress.failedTasks
|
|
2083
|
+
failedTasks: objective.progress.failedTasks,
|
|
2012
2084
|
});
|
|
2013
|
-
|
|
2085
|
+
|
|
2014
2086
|
this.emitSwarmEvent({
|
|
2015
2087
|
id: generateId('event'),
|
|
2016
2088
|
timestamp: new Date(),
|
|
@@ -2018,29 +2090,28 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2018
2090
|
source: this.swarmId.id,
|
|
2019
2091
|
data: { objective },
|
|
2020
2092
|
broadcast: true,
|
|
2021
|
-
processed: false
|
|
2093
|
+
processed: false,
|
|
2022
2094
|
});
|
|
2023
2095
|
}
|
|
2024
|
-
|
|
2025
2096
|
} catch (error) {
|
|
2026
2097
|
this.logger.error('Error in task execution loop', { error });
|
|
2027
2098
|
}
|
|
2028
2099
|
}, 2000); // Check every 2 seconds
|
|
2029
|
-
|
|
2100
|
+
|
|
2030
2101
|
// Store interval reference for cleanup
|
|
2031
2102
|
if (!this.executionIntervals) {
|
|
2032
2103
|
this.executionIntervals = new Map();
|
|
2033
2104
|
}
|
|
2034
2105
|
this.executionIntervals.set(objective.id, executionInterval);
|
|
2035
2106
|
}
|
|
2036
|
-
|
|
2107
|
+
|
|
2037
2108
|
private taskDependenciesMet(task: TaskDefinition, completedTasks: TaskDefinition[]): boolean {
|
|
2038
2109
|
if (!task.constraints.dependencies || task.constraints.dependencies.length === 0) {
|
|
2039
2110
|
return true;
|
|
2040
2111
|
}
|
|
2041
|
-
|
|
2042
|
-
const completedTaskIds = completedTasks.map(t => t.id.id);
|
|
2043
|
-
return task.constraints.dependencies.every(dep => {
|
|
2112
|
+
|
|
2113
|
+
const completedTaskIds = completedTasks.map((t) => t.id.id);
|
|
2114
|
+
return task.constraints.dependencies.every((dep) => {
|
|
2044
2115
|
// Handle both string and TaskId object dependencies
|
|
2045
2116
|
const depId = typeof dep === 'string' ? dep : dep.id;
|
|
2046
2117
|
return completedTaskIds.includes(depId);
|
|
@@ -2048,18 +2119,22 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2048
2119
|
}
|
|
2049
2120
|
|
|
2050
2121
|
private getNextInstanceNumber(type: AgentType): number {
|
|
2051
|
-
const agentsOfType = Array.from(this.agents.values())
|
|
2052
|
-
.filter(agent => agent.type === type);
|
|
2122
|
+
const agentsOfType = Array.from(this.agents.values()).filter((agent) => agent.type === type);
|
|
2053
2123
|
return agentsOfType.length + 1;
|
|
2054
2124
|
}
|
|
2055
2125
|
|
|
2056
2126
|
private getDefaultPermissions(type: AgentType): string[] {
|
|
2057
2127
|
switch (type) {
|
|
2058
|
-
case 'coordinator':
|
|
2059
|
-
|
|
2060
|
-
case '
|
|
2061
|
-
|
|
2062
|
-
|
|
2128
|
+
case 'coordinator':
|
|
2129
|
+
return ['read', 'write', 'execute', 'admin'];
|
|
2130
|
+
case 'coder':
|
|
2131
|
+
return ['read', 'write', 'execute'];
|
|
2132
|
+
case 'tester':
|
|
2133
|
+
return ['read', 'execute'];
|
|
2134
|
+
case 'reviewer':
|
|
2135
|
+
return ['read', 'write'];
|
|
2136
|
+
default:
|
|
2137
|
+
return ['read'];
|
|
2063
2138
|
}
|
|
2064
2139
|
}
|
|
2065
2140
|
|
|
@@ -2121,120 +2196,135 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2121
2196
|
|
|
2122
2197
|
private getRequiredCapabilities(type: TaskType): string[] {
|
|
2123
2198
|
switch (type) {
|
|
2124
|
-
case 'coding':
|
|
2125
|
-
|
|
2126
|
-
case '
|
|
2127
|
-
|
|
2128
|
-
case '
|
|
2129
|
-
|
|
2130
|
-
|
|
2199
|
+
case 'coding':
|
|
2200
|
+
return ['code-generation', 'file-system'];
|
|
2201
|
+
case 'testing':
|
|
2202
|
+
return ['testing', 'code-review'];
|
|
2203
|
+
case 'research':
|
|
2204
|
+
return ['research', 'web-search'];
|
|
2205
|
+
case 'analysis':
|
|
2206
|
+
return ['analysis', 'documentation'];
|
|
2207
|
+
case 'review':
|
|
2208
|
+
return ['code-review', 'documentation'];
|
|
2209
|
+
case 'documentation':
|
|
2210
|
+
return ['documentation'];
|
|
2211
|
+
default:
|
|
2212
|
+
return [];
|
|
2131
2213
|
}
|
|
2132
2214
|
}
|
|
2133
2215
|
|
|
2134
2216
|
private getRequiredTools(type: TaskType): string[] {
|
|
2135
2217
|
switch (type) {
|
|
2136
|
-
case 'coding':
|
|
2137
|
-
|
|
2138
|
-
case '
|
|
2139
|
-
|
|
2140
|
-
|
|
2218
|
+
case 'coding':
|
|
2219
|
+
return ['editor', 'compiler', 'debugger'];
|
|
2220
|
+
case 'testing':
|
|
2221
|
+
return ['test-runner', 'coverage-tool'];
|
|
2222
|
+
case 'research':
|
|
2223
|
+
return ['web-browser', 'search-engine'];
|
|
2224
|
+
case 'analysis':
|
|
2225
|
+
return ['data-tools', 'visualization'];
|
|
2226
|
+
default:
|
|
2227
|
+
return [];
|
|
2141
2228
|
}
|
|
2142
2229
|
}
|
|
2143
2230
|
|
|
2144
2231
|
private getRequiredPermissions(type: TaskType): string[] {
|
|
2145
2232
|
switch (type) {
|
|
2146
|
-
case 'coding':
|
|
2147
|
-
|
|
2148
|
-
case '
|
|
2149
|
-
|
|
2233
|
+
case 'coding':
|
|
2234
|
+
return ['read', 'write', 'execute'];
|
|
2235
|
+
case 'testing':
|
|
2236
|
+
return ['read', 'execute'];
|
|
2237
|
+
case 'research':
|
|
2238
|
+
return ['read', 'network'];
|
|
2239
|
+
default:
|
|
2240
|
+
return ['read'];
|
|
2150
2241
|
}
|
|
2151
2242
|
}
|
|
2152
2243
|
|
|
2153
2244
|
private async executeTaskWithAgent(task: TaskDefinition, agent: AgentState): Promise<any> {
|
|
2154
|
-
this.logger.info('Executing task with agent', {
|
|
2155
|
-
taskId: task.id.id,
|
|
2245
|
+
this.logger.info('Executing task with agent', {
|
|
2246
|
+
taskId: task.id.id,
|
|
2156
2247
|
taskName: task.name,
|
|
2157
2248
|
agentId: agent.id.id,
|
|
2158
|
-
agentName: agent.name
|
|
2249
|
+
agentName: agent.name,
|
|
2159
2250
|
});
|
|
2160
|
-
|
|
2251
|
+
|
|
2161
2252
|
// Extract target directory from task
|
|
2162
2253
|
const targetDir = this.extractTargetDirectory(task);
|
|
2163
|
-
|
|
2254
|
+
|
|
2164
2255
|
try {
|
|
2165
2256
|
// Use Claude Flow executor for full SPARC system in non-interactive mode
|
|
2166
2257
|
const { ClaudeFlowExecutor } = await import('./claude-flow-executor.ts');
|
|
2167
|
-
const executor = new ClaudeFlowExecutor({
|
|
2258
|
+
const executor = new ClaudeFlowExecutor({
|
|
2168
2259
|
logger: this.logger,
|
|
2169
2260
|
claudeFlowPath: getClaudeFlowBin(),
|
|
2170
2261
|
enableSparc: true,
|
|
2171
2262
|
verbose: this.config.logging?.level === 'debug',
|
|
2172
|
-
timeoutMinutes: this.config.taskTimeoutMinutes
|
|
2263
|
+
timeoutMinutes: this.config.taskTimeoutMinutes,
|
|
2173
2264
|
});
|
|
2174
|
-
|
|
2265
|
+
|
|
2175
2266
|
const result = await executor.executeTask(task, agent, targetDir);
|
|
2176
|
-
|
|
2177
|
-
this.logger.info('Task execution completed', {
|
|
2267
|
+
|
|
2268
|
+
this.logger.info('Task execution completed', {
|
|
2178
2269
|
taskId: task.id.id,
|
|
2179
2270
|
success: true,
|
|
2180
|
-
outputLength: JSON.stringify(result).length
|
|
2271
|
+
outputLength: JSON.stringify(result).length,
|
|
2181
2272
|
});
|
|
2182
|
-
|
|
2273
|
+
|
|
2183
2274
|
return result;
|
|
2184
|
-
|
|
2185
2275
|
} catch (error) {
|
|
2186
|
-
this.logger.error('Task execution failed', {
|
|
2276
|
+
this.logger.error('Task execution failed', {
|
|
2187
2277
|
taskId: task.id.id,
|
|
2188
|
-
error:
|
|
2278
|
+
error: error instanceof Error ? error.message : String(error),
|
|
2189
2279
|
});
|
|
2190
2280
|
throw error;
|
|
2191
2281
|
}
|
|
2192
2282
|
}
|
|
2193
|
-
|
|
2283
|
+
|
|
2194
2284
|
private createExecutionPrompt(task: TaskDefinition): string {
|
|
2195
2285
|
// Create a prompt that Claude will understand
|
|
2196
2286
|
let prompt = `# Swarm Task Execution\n\n`;
|
|
2197
2287
|
prompt += `## Task: ${task.name}\n\n`;
|
|
2198
2288
|
prompt += `${task.instructions || task.description}\n\n`;
|
|
2199
|
-
|
|
2289
|
+
|
|
2200
2290
|
// Add working directory information if available
|
|
2201
2291
|
const targetDir = this.extractTargetDirectory(task);
|
|
2202
2292
|
if (targetDir) {
|
|
2203
2293
|
prompt += `## Working Directory\n`;
|
|
2204
2294
|
prompt += `Please create all files in: ${targetDir}\n\n`;
|
|
2205
2295
|
}
|
|
2206
|
-
|
|
2296
|
+
|
|
2207
2297
|
if (task.input && Object.keys(task.input).length > 0) {
|
|
2208
2298
|
prompt += `## Additional Input\n`;
|
|
2209
2299
|
prompt += `${JSON.stringify(task.input, null, 2)}\n\n`;
|
|
2210
2300
|
}
|
|
2211
|
-
|
|
2301
|
+
|
|
2212
2302
|
if (task.context && Object.keys(task.context).length > 0) {
|
|
2213
2303
|
prompt += `## Context\n`;
|
|
2214
2304
|
prompt += `${JSON.stringify(task.context, null, 2)}\n\n`;
|
|
2215
2305
|
}
|
|
2216
|
-
|
|
2306
|
+
|
|
2217
2307
|
// Add execution guidelines
|
|
2218
2308
|
prompt += `## Guidelines\n`;
|
|
2219
2309
|
prompt += `- Focus on completing this specific task\n`;
|
|
2220
2310
|
prompt += `- Create all necessary files and directories\n`;
|
|
2221
2311
|
prompt += `- Follow best practices for the technology being used\n`;
|
|
2222
2312
|
prompt += `- Ensure the implementation is complete and functional\n`;
|
|
2223
|
-
|
|
2313
|
+
|
|
2224
2314
|
return prompt;
|
|
2225
2315
|
}
|
|
2226
|
-
|
|
2316
|
+
|
|
2227
2317
|
private extractTargetDirectory(task: TaskDefinition): string | null {
|
|
2228
2318
|
// Try multiple patterns to find the target directory
|
|
2229
2319
|
const patterns = [
|
|
2230
|
-
/in\s+([^\s]+\/?)$/i,
|
|
2320
|
+
/in\s+([^\s]+\/?)$/i, // "in examples/dir" at end
|
|
2231
2321
|
/(?:in|to|at)\s+([^\s]+\/[^\s]+)/i, // "in examples/gradio" anywhere
|
|
2232
|
-
/([^\s]+\/[^\s]+)$/,
|
|
2233
|
-
/examples\/[^\s]+/i
|
|
2322
|
+
/([^\s]+\/[^\s]+)$/, // "examples/gradio" at end
|
|
2323
|
+
/examples\/[^\s]+/i, // specifically match examples/ paths
|
|
2234
2324
|
];
|
|
2235
|
-
|
|
2325
|
+
|
|
2236
2326
|
let targetDir = null;
|
|
2237
|
-
|
|
2327
|
+
|
|
2238
2328
|
// First check task description and input
|
|
2239
2329
|
for (const pattern of patterns) {
|
|
2240
2330
|
const descMatch = task.description.match(pattern);
|
|
@@ -2244,12 +2334,12 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2244
2334
|
break;
|
|
2245
2335
|
}
|
|
2246
2336
|
}
|
|
2247
|
-
|
|
2337
|
+
|
|
2248
2338
|
// If not found and task has context with targetDir, use that
|
|
2249
2339
|
if (!targetDir && task.context?.targetDir) {
|
|
2250
2340
|
targetDir = task.context.targetDir;
|
|
2251
2341
|
}
|
|
2252
|
-
|
|
2342
|
+
|
|
2253
2343
|
// If still not found, check objective description from context
|
|
2254
2344
|
if (!targetDir && task.context?.objectiveId) {
|
|
2255
2345
|
const objective = this.objectives.get(task.context.objectiveId);
|
|
@@ -2263,7 +2353,7 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2263
2353
|
}
|
|
2264
2354
|
}
|
|
2265
2355
|
}
|
|
2266
|
-
|
|
2356
|
+
|
|
2267
2357
|
if (targetDir) {
|
|
2268
2358
|
// Clean up the target directory
|
|
2269
2359
|
targetDir = targetDir.replace(/\s+.*$/, '');
|
|
@@ -2272,40 +2362,40 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2272
2362
|
targetDir = `${getClaudeFlowRoot()}/${targetDir}`;
|
|
2273
2363
|
}
|
|
2274
2364
|
}
|
|
2275
|
-
|
|
2365
|
+
|
|
2276
2366
|
return targetDir;
|
|
2277
2367
|
}
|
|
2278
|
-
|
|
2368
|
+
|
|
2279
2369
|
private async executeClaudeTask(
|
|
2280
2370
|
task: TaskDefinition,
|
|
2281
2371
|
agent: AgentState,
|
|
2282
2372
|
prompt: string,
|
|
2283
|
-
targetDir: string | null
|
|
2373
|
+
targetDir: string | null,
|
|
2284
2374
|
): Promise<any> {
|
|
2285
2375
|
// Create unique instance ID for this execution
|
|
2286
2376
|
const instanceId = `swarm-${this.swarmId.id}-${task.id.id}-${Date.now()}`;
|
|
2287
|
-
|
|
2377
|
+
|
|
2288
2378
|
// Build Claude arguments for non-interactive execution
|
|
2289
2379
|
const claudeArgs = [prompt];
|
|
2290
|
-
|
|
2380
|
+
|
|
2291
2381
|
// Always skip permissions for swarm automation
|
|
2292
|
-
claudeArgs.push(
|
|
2293
|
-
|
|
2382
|
+
claudeArgs.push('--dangerously-skip-permissions');
|
|
2383
|
+
|
|
2294
2384
|
// Add non-interactive flags for automation
|
|
2295
|
-
claudeArgs.push(
|
|
2296
|
-
claudeArgs.push(
|
|
2297
|
-
claudeArgs.push(
|
|
2298
|
-
|
|
2385
|
+
claudeArgs.push('-p'); // Print mode
|
|
2386
|
+
claudeArgs.push('--output-format', 'stream-json');
|
|
2387
|
+
claudeArgs.push('--verbose'); // Required when using stream-json with -p
|
|
2388
|
+
|
|
2299
2389
|
// Set working directory if specified
|
|
2300
2390
|
if (targetDir) {
|
|
2301
2391
|
// Ensure directory exists
|
|
2302
2392
|
await Deno.mkdir(targetDir, { recursive: true });
|
|
2303
|
-
|
|
2393
|
+
|
|
2304
2394
|
// Add directory context to prompt
|
|
2305
2395
|
const enhancedPrompt = `${prompt}\n\n## Important: Working Directory\nPlease ensure all files are created in: ${targetDir}`;
|
|
2306
2396
|
claudeArgs[0] = enhancedPrompt;
|
|
2307
2397
|
}
|
|
2308
|
-
|
|
2398
|
+
|
|
2309
2399
|
try {
|
|
2310
2400
|
// Check if claude command exists
|
|
2311
2401
|
const checkCommand = new Deno.Command('which', {
|
|
@@ -2317,137 +2407,136 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2317
2407
|
if (!checkResult.success) {
|
|
2318
2408
|
throw new Error('Claude CLI not found. Please ensure claude is installed and in PATH.');
|
|
2319
2409
|
}
|
|
2320
|
-
|
|
2410
|
+
|
|
2321
2411
|
// Execute Claude with the prompt
|
|
2322
|
-
const command = new Deno.Command(
|
|
2412
|
+
const command = new Deno.Command('claude', {
|
|
2323
2413
|
args: claudeArgs,
|
|
2324
2414
|
cwd: targetDir || process.cwd(),
|
|
2325
2415
|
env: {
|
|
2326
2416
|
...Deno.env.toObject(),
|
|
2327
2417
|
CLAUDE_INSTANCE_ID: instanceId,
|
|
2328
|
-
CLAUDE_SWARM_MODE:
|
|
2418
|
+
CLAUDE_SWARM_MODE: 'true',
|
|
2329
2419
|
CLAUDE_SWARM_ID: this.swarmId.id,
|
|
2330
2420
|
CLAUDE_TASK_ID: task.id.id,
|
|
2331
2421
|
CLAUDE_AGENT_ID: agent.id.id,
|
|
2332
2422
|
CLAUDE_WORKING_DIRECTORY: targetDir || process.cwd(),
|
|
2333
|
-
CLAUDE_FLOW_MEMORY_ENABLED:
|
|
2423
|
+
CLAUDE_FLOW_MEMORY_ENABLED: 'true',
|
|
2334
2424
|
CLAUDE_FLOW_MEMORY_NAMESPACE: `swarm-${this.swarmId.id}`,
|
|
2335
2425
|
},
|
|
2336
|
-
stdin:
|
|
2337
|
-
stdout:
|
|
2338
|
-
stderr:
|
|
2426
|
+
stdin: 'null',
|
|
2427
|
+
stdout: 'piped',
|
|
2428
|
+
stderr: 'piped',
|
|
2339
2429
|
});
|
|
2340
|
-
|
|
2341
|
-
this.logger.info('Spawning Claude agent for task', {
|
|
2430
|
+
|
|
2431
|
+
this.logger.info('Spawning Claude agent for task', {
|
|
2342
2432
|
taskId: task.id.id,
|
|
2343
2433
|
agentId: agent.id.id,
|
|
2344
2434
|
instanceId,
|
|
2345
|
-
targetDir
|
|
2435
|
+
targetDir,
|
|
2346
2436
|
});
|
|
2347
|
-
|
|
2437
|
+
|
|
2348
2438
|
const child = command.spawn();
|
|
2349
2439
|
const { code, stdout, stderr } = await child.output();
|
|
2350
|
-
|
|
2440
|
+
|
|
2351
2441
|
if (code === 0) {
|
|
2352
2442
|
const output = new TextDecoder().decode(stdout);
|
|
2353
2443
|
this.logger.info('Claude agent completed task successfully', {
|
|
2354
2444
|
taskId: task.id.id,
|
|
2355
|
-
outputLength: output.length
|
|
2445
|
+
outputLength: output.length,
|
|
2356
2446
|
});
|
|
2357
|
-
|
|
2447
|
+
|
|
2358
2448
|
return {
|
|
2359
2449
|
success: true,
|
|
2360
2450
|
output,
|
|
2361
2451
|
instanceId,
|
|
2362
|
-
targetDir
|
|
2452
|
+
targetDir,
|
|
2363
2453
|
};
|
|
2364
2454
|
} else {
|
|
2365
2455
|
const errorOutput = new TextDecoder().decode(stderr);
|
|
2366
|
-
this.logger.error(`Claude agent failed with code ${code}`, {
|
|
2456
|
+
this.logger.error(`Claude agent failed with code ${code}`, {
|
|
2367
2457
|
taskId: task.id.id,
|
|
2368
|
-
error: errorOutput
|
|
2458
|
+
error: errorOutput,
|
|
2369
2459
|
});
|
|
2370
2460
|
throw new Error(`Claude execution failed: ${errorOutput}`);
|
|
2371
2461
|
}
|
|
2372
|
-
|
|
2373
2462
|
} catch (error) {
|
|
2374
|
-
this.logger.error('Failed to execute Claude agent', {
|
|
2463
|
+
this.logger.error('Failed to execute Claude agent', {
|
|
2375
2464
|
taskId: task.id.id,
|
|
2376
|
-
error:
|
|
2465
|
+
error: error instanceof Error ? error.message : String(error),
|
|
2377
2466
|
});
|
|
2378
2467
|
throw error;
|
|
2379
2468
|
}
|
|
2380
2469
|
}
|
|
2381
|
-
|
|
2470
|
+
|
|
2382
2471
|
private determineToolsForTask(task: TaskDefinition, agent: AgentState): string[] {
|
|
2383
2472
|
const tools = new Set<string>();
|
|
2384
|
-
|
|
2473
|
+
|
|
2385
2474
|
// Basic tools for all tasks
|
|
2386
|
-
tools.add(
|
|
2387
|
-
tools.add(
|
|
2388
|
-
tools.add(
|
|
2389
|
-
|
|
2475
|
+
tools.add('View');
|
|
2476
|
+
tools.add('Edit');
|
|
2477
|
+
tools.add('Bash');
|
|
2478
|
+
|
|
2390
2479
|
// Add tools based on task type
|
|
2391
2480
|
switch (task.type) {
|
|
2392
2481
|
case 'coding':
|
|
2393
|
-
tools.add(
|
|
2394
|
-
tools.add(
|
|
2395
|
-
tools.add(
|
|
2396
|
-
tools.add(
|
|
2482
|
+
tools.add('Create');
|
|
2483
|
+
tools.add('Write');
|
|
2484
|
+
tools.add('MultiEdit');
|
|
2485
|
+
tools.add('Test');
|
|
2397
2486
|
break;
|
|
2398
2487
|
case 'testing':
|
|
2399
|
-
tools.add(
|
|
2400
|
-
tools.add(
|
|
2488
|
+
tools.add('Test');
|
|
2489
|
+
tools.add('View');
|
|
2401
2490
|
break;
|
|
2402
2491
|
case 'documentation':
|
|
2403
|
-
tools.add(
|
|
2404
|
-
tools.add(
|
|
2492
|
+
tools.add('Write');
|
|
2493
|
+
tools.add('Create');
|
|
2405
2494
|
break;
|
|
2406
2495
|
case 'analysis':
|
|
2407
|
-
tools.add(
|
|
2408
|
-
tools.add(
|
|
2496
|
+
tools.add('Analyze');
|
|
2497
|
+
tools.add('Search');
|
|
2409
2498
|
break;
|
|
2410
2499
|
case 'research':
|
|
2411
|
-
tools.add(
|
|
2412
|
-
tools.add(
|
|
2500
|
+
tools.add('WebSearch');
|
|
2501
|
+
tools.add('Search');
|
|
2413
2502
|
break;
|
|
2414
2503
|
}
|
|
2415
|
-
|
|
2504
|
+
|
|
2416
2505
|
// Add tools based on agent capabilities
|
|
2417
2506
|
if (agent.capabilities.fileSystem) {
|
|
2418
|
-
tools.add(
|
|
2507
|
+
tools.add('FileSystem');
|
|
2419
2508
|
}
|
|
2420
2509
|
if (agent.capabilities.terminalAccess) {
|
|
2421
|
-
tools.add(
|
|
2510
|
+
tools.add('Terminal');
|
|
2422
2511
|
}
|
|
2423
2512
|
if (agent.capabilities.webSearch) {
|
|
2424
|
-
tools.add(
|
|
2513
|
+
tools.add('WebSearch');
|
|
2425
2514
|
}
|
|
2426
2515
|
if (agent.capabilities.apiIntegration) {
|
|
2427
|
-
tools.add(
|
|
2516
|
+
tools.add('API');
|
|
2428
2517
|
}
|
|
2429
|
-
|
|
2518
|
+
|
|
2430
2519
|
return Array.from(tools);
|
|
2431
2520
|
}
|
|
2432
|
-
|
|
2521
|
+
|
|
2433
2522
|
private async simulateTaskExecution(
|
|
2434
2523
|
task: TaskDefinition,
|
|
2435
2524
|
agent: AgentState,
|
|
2436
|
-
prompt: string
|
|
2525
|
+
prompt: string,
|
|
2437
2526
|
): Promise<any> {
|
|
2438
2527
|
// Simulate different task types with actual file operations
|
|
2439
2528
|
// Check if task has a target directory in the description or context
|
|
2440
2529
|
let workDir = `/tmp/swarm/${this.swarmId.id}/work`;
|
|
2441
|
-
|
|
2530
|
+
|
|
2442
2531
|
// Extract target directory from task description or input
|
|
2443
2532
|
// Try multiple patterns to find the target directory
|
|
2444
2533
|
const patterns = [
|
|
2445
|
-
/in\s+([^\s]+\/?)$/i,
|
|
2534
|
+
/in\s+([^\s]+\/?)$/i, // "in examples/dir" at end
|
|
2446
2535
|
/(?:in|to|at)\s+([^\s]+\/[^\s]+)/i, // "in examples/gradio" anywhere
|
|
2447
|
-
/([^\s]+\/[^\s]+)$/,
|
|
2448
|
-
/examples\/[^\s]+/i
|
|
2536
|
+
/([^\s]+\/[^\s]+)$/, // "examples/gradio" at end
|
|
2537
|
+
/examples\/[^\s]+/i, // specifically match examples/ paths
|
|
2449
2538
|
];
|
|
2450
|
-
|
|
2539
|
+
|
|
2451
2540
|
let targetDir = null;
|
|
2452
2541
|
for (const pattern of patterns) {
|
|
2453
2542
|
const descMatch = task.description.match(pattern);
|
|
@@ -2457,55 +2546,65 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2457
2546
|
break;
|
|
2458
2547
|
}
|
|
2459
2548
|
}
|
|
2460
|
-
|
|
2549
|
+
|
|
2461
2550
|
if (targetDir) {
|
|
2462
2551
|
// Clean up the target directory (remove trailing words if needed)
|
|
2463
2552
|
targetDir = targetDir.replace(/\s+.*$/, '');
|
|
2464
2553
|
// Use absolute path or resolve relative to current directory
|
|
2465
2554
|
workDir = targetDir.startsWith('/') ? targetDir : `${getClaudeFlowRoot()}/${targetDir}`;
|
|
2466
|
-
|
|
2467
|
-
this.logger.debug('Extracted target directory', {
|
|
2555
|
+
|
|
2556
|
+
this.logger.debug('Extracted target directory', {
|
|
2468
2557
|
original: task.description,
|
|
2469
2558
|
targetDir,
|
|
2470
|
-
workDir
|
|
2559
|
+
workDir,
|
|
2471
2560
|
});
|
|
2472
2561
|
}
|
|
2473
|
-
|
|
2562
|
+
|
|
2474
2563
|
try {
|
|
2475
2564
|
// Ensure work directory exists
|
|
2476
2565
|
await Deno.mkdir(workDir, { recursive: true });
|
|
2477
|
-
|
|
2566
|
+
|
|
2478
2567
|
switch (task.type) {
|
|
2479
2568
|
case 'coding':
|
|
2480
2569
|
return await this.executeCodeGenerationTask(task, workDir, agent);
|
|
2481
|
-
|
|
2570
|
+
|
|
2482
2571
|
case 'analysis':
|
|
2483
2572
|
return await this.executeAnalysisTask(task, workDir, agent);
|
|
2484
|
-
|
|
2573
|
+
|
|
2485
2574
|
case 'documentation':
|
|
2486
2575
|
return await this.executeDocumentationTask(task, workDir, agent);
|
|
2487
|
-
|
|
2576
|
+
|
|
2488
2577
|
case 'testing':
|
|
2489
2578
|
return await this.executeTestingTask(task, workDir, agent);
|
|
2490
|
-
|
|
2579
|
+
|
|
2491
2580
|
default:
|
|
2492
2581
|
return await this.executeGenericTask(task, workDir, agent);
|
|
2493
2582
|
}
|
|
2494
2583
|
} catch (error) {
|
|
2495
|
-
throw new Error(
|
|
2584
|
+
throw new Error(
|
|
2585
|
+
`Task execution failed: ${error instanceof Error ? error.message : String(error)}`,
|
|
2586
|
+
);
|
|
2496
2587
|
}
|
|
2497
2588
|
}
|
|
2498
|
-
|
|
2499
|
-
private async executeCodeGenerationTask(
|
|
2589
|
+
|
|
2590
|
+
private async executeCodeGenerationTask(
|
|
2591
|
+
task: TaskDefinition,
|
|
2592
|
+
workDir: string,
|
|
2593
|
+
agent: AgentState,
|
|
2594
|
+
): Promise<any> {
|
|
2500
2595
|
this.logger.info('Executing code generation task', { taskId: task.id.id });
|
|
2501
|
-
|
|
2596
|
+
|
|
2502
2597
|
// Detect technology from description
|
|
2503
2598
|
const description = task.description.toLowerCase();
|
|
2504
2599
|
const isGradio = description.includes('gradio');
|
|
2505
|
-
const isPython =
|
|
2600
|
+
const isPython =
|
|
2601
|
+
isGradio ||
|
|
2602
|
+
description.includes('python') ||
|
|
2603
|
+
description.includes('fastapi') ||
|
|
2604
|
+
description.includes('django');
|
|
2506
2605
|
const isHelloWorld = description.includes('hello') && description.includes('world');
|
|
2507
2606
|
const isRestAPI = description.includes('rest api') || description.includes('api');
|
|
2508
|
-
|
|
2607
|
+
|
|
2509
2608
|
if (isGradio) {
|
|
2510
2609
|
// Create a Gradio application
|
|
2511
2610
|
return await this.createGradioApp(task, workDir);
|
|
@@ -2517,7 +2616,7 @@ Ensure your implementation is complete, well-structured, and follows best practi
|
|
|
2517
2616
|
const projectName = 'rest-api';
|
|
2518
2617
|
const projectDir = `${workDir}/${projectName}`;
|
|
2519
2618
|
await Deno.mkdir(projectDir, { recursive: true });
|
|
2520
|
-
|
|
2619
|
+
|
|
2521
2620
|
// Create main API file
|
|
2522
2621
|
const apiCode = `const express = require('express');
|
|
2523
2622
|
const app = express();
|
|
@@ -2595,44 +2694,41 @@ app.listen(port, () => {
|
|
|
2595
2694
|
|
|
2596
2695
|
module.exports = app;
|
|
2597
2696
|
`;
|
|
2598
|
-
|
|
2697
|
+
|
|
2599
2698
|
await fs.writeFile(`${projectDir}/server.js`, apiCode);
|
|
2600
|
-
|
|
2699
|
+
|
|
2601
2700
|
// Create package.json
|
|
2602
2701
|
const packageJson = {
|
|
2603
2702
|
name: projectName,
|
|
2604
|
-
version:
|
|
2605
|
-
description:
|
|
2606
|
-
main:
|
|
2703
|
+
version: '1.0.0',
|
|
2704
|
+
description: 'REST API created by Claude Flow Swarm',
|
|
2705
|
+
main: 'server.js',
|
|
2607
2706
|
scripts: {
|
|
2608
|
-
start:
|
|
2609
|
-
dev:
|
|
2610
|
-
test:
|
|
2707
|
+
start: 'node server.js',
|
|
2708
|
+
dev: 'nodemon server.js',
|
|
2709
|
+
test: 'jest',
|
|
2611
2710
|
},
|
|
2612
|
-
keywords: [
|
|
2613
|
-
author:
|
|
2614
|
-
license:
|
|
2711
|
+
keywords: ['rest', 'api', 'swarm', 'claude-flow'],
|
|
2712
|
+
author: 'Claude Flow Swarm',
|
|
2713
|
+
license: 'MIT',
|
|
2615
2714
|
dependencies: {
|
|
2616
|
-
express:
|
|
2715
|
+
express: '^4.18.2',
|
|
2617
2716
|
},
|
|
2618
2717
|
devDependencies: {
|
|
2619
|
-
nodemon:
|
|
2620
|
-
jest:
|
|
2621
|
-
supertest:
|
|
2718
|
+
nodemon: '^3.0.1',
|
|
2719
|
+
jest: '^29.7.0',
|
|
2720
|
+
supertest: '^6.3.3',
|
|
2622
2721
|
},
|
|
2623
2722
|
swarmMetadata: {
|
|
2624
2723
|
swarmId: this.swarmId.id,
|
|
2625
2724
|
taskId: task.id.id,
|
|
2626
2725
|
agentId: agent.id.id,
|
|
2627
|
-
created: new Date().toISOString()
|
|
2628
|
-
}
|
|
2726
|
+
created: new Date().toISOString(),
|
|
2727
|
+
},
|
|
2629
2728
|
};
|
|
2630
|
-
|
|
2631
|
-
await fs.writeFile(
|
|
2632
|
-
|
|
2633
|
-
JSON.stringify(packageJson, null, 2)
|
|
2634
|
-
);
|
|
2635
|
-
|
|
2729
|
+
|
|
2730
|
+
await fs.writeFile(`${projectDir}/package.json`, JSON.stringify(packageJson, null, 2));
|
|
2731
|
+
|
|
2636
2732
|
// Create README
|
|
2637
2733
|
const readme = `# REST API
|
|
2638
2734
|
|
|
@@ -2677,9 +2773,9 @@ ${task.description}
|
|
|
2677
2773
|
---
|
|
2678
2774
|
Created by Claude Flow Swarm
|
|
2679
2775
|
`;
|
|
2680
|
-
|
|
2776
|
+
|
|
2681
2777
|
await fs.writeFile(`${projectDir}/README.md`, readme);
|
|
2682
|
-
|
|
2778
|
+
|
|
2683
2779
|
// Create .gitignore
|
|
2684
2780
|
const gitignore = `node_modules/
|
|
2685
2781
|
.env
|
|
@@ -2687,27 +2783,27 @@ Created by Claude Flow Swarm
|
|
|
2687
2783
|
.DS_Store
|
|
2688
2784
|
coverage/
|
|
2689
2785
|
`;
|
|
2690
|
-
|
|
2786
|
+
|
|
2691
2787
|
await fs.writeFile(`${projectDir}/.gitignore`, gitignore);
|
|
2692
|
-
|
|
2788
|
+
|
|
2693
2789
|
return {
|
|
2694
2790
|
success: true,
|
|
2695
2791
|
output: {
|
|
2696
2792
|
message: 'REST API created successfully',
|
|
2697
2793
|
location: projectDir,
|
|
2698
|
-
files: ['server.js', 'package.json', 'README.md', '.gitignore']
|
|
2794
|
+
files: ['server.js', 'package.json', 'README.md', '.gitignore'],
|
|
2699
2795
|
},
|
|
2700
2796
|
artifacts: {
|
|
2701
2797
|
mainFile: `${projectDir}/server.js`,
|
|
2702
2798
|
packageFile: `${projectDir}/package.json`,
|
|
2703
|
-
readmeFile: `${projectDir}/README.md
|
|
2704
|
-
}
|
|
2799
|
+
readmeFile: `${projectDir}/README.md`,
|
|
2800
|
+
},
|
|
2705
2801
|
};
|
|
2706
2802
|
} else if (isHelloWorld) {
|
|
2707
2803
|
// Create a simple hello world application
|
|
2708
2804
|
const projectDir = `${workDir}/hello-world`;
|
|
2709
2805
|
await Deno.mkdir(projectDir, { recursive: true });
|
|
2710
|
-
|
|
2806
|
+
|
|
2711
2807
|
// Create main application file
|
|
2712
2808
|
const mainCode = `#!/usr/bin/env node
|
|
2713
2809
|
|
|
@@ -2725,29 +2821,26 @@ if (typeof module !== 'undefined' && module.exports) {
|
|
|
2725
2821
|
module.exports = { message: 'Hello, World!' };
|
|
2726
2822
|
}
|
|
2727
2823
|
`;
|
|
2728
|
-
|
|
2824
|
+
|
|
2729
2825
|
await fs.writeFile(`${projectDir}/index.js`, mainCode);
|
|
2730
|
-
|
|
2826
|
+
|
|
2731
2827
|
// Create package.json
|
|
2732
2828
|
const packageJson = {
|
|
2733
|
-
name:
|
|
2734
|
-
version:
|
|
2735
|
-
description:
|
|
2736
|
-
main:
|
|
2829
|
+
name: 'hello-world',
|
|
2830
|
+
version: '1.0.0',
|
|
2831
|
+
description: 'Hello World application created by Claude Flow Swarm',
|
|
2832
|
+
main: 'index.js',
|
|
2737
2833
|
scripts: {
|
|
2738
|
-
start:
|
|
2739
|
-
test:
|
|
2834
|
+
start: 'node index.js',
|
|
2835
|
+
test: 'node test.js',
|
|
2740
2836
|
},
|
|
2741
|
-
keywords: [
|
|
2742
|
-
author:
|
|
2743
|
-
license:
|
|
2837
|
+
keywords: ['hello-world', 'swarm', 'claude-flow'],
|
|
2838
|
+
author: 'Claude Flow Swarm',
|
|
2839
|
+
license: 'MIT',
|
|
2744
2840
|
};
|
|
2745
|
-
|
|
2746
|
-
await fs.writeFile(
|
|
2747
|
-
|
|
2748
|
-
JSON.stringify(packageJson, null, 2)
|
|
2749
|
-
);
|
|
2750
|
-
|
|
2841
|
+
|
|
2842
|
+
await fs.writeFile(`${projectDir}/package.json`, JSON.stringify(packageJson, null, 2));
|
|
2843
|
+
|
|
2751
2844
|
// Create README
|
|
2752
2845
|
const readme = `# Hello World
|
|
2753
2846
|
|
|
@@ -2767,28 +2860,28 @@ npm start
|
|
|
2767
2860
|
## Description
|
|
2768
2861
|
${task.description}
|
|
2769
2862
|
`;
|
|
2770
|
-
|
|
2863
|
+
|
|
2771
2864
|
await fs.writeFile(`${projectDir}/README.md`, readme);
|
|
2772
|
-
|
|
2865
|
+
|
|
2773
2866
|
return {
|
|
2774
2867
|
success: true,
|
|
2775
2868
|
output: {
|
|
2776
2869
|
message: 'Hello World application created successfully',
|
|
2777
2870
|
location: projectDir,
|
|
2778
|
-
files: ['index.js', 'package.json', 'README.md']
|
|
2871
|
+
files: ['index.js', 'package.json', 'README.md'],
|
|
2779
2872
|
},
|
|
2780
2873
|
artifacts: {
|
|
2781
2874
|
mainFile: `${projectDir}/index.js`,
|
|
2782
2875
|
packageFile: `${projectDir}/package.json`,
|
|
2783
|
-
readmeFile: `${projectDir}/README.md
|
|
2784
|
-
}
|
|
2876
|
+
readmeFile: `${projectDir}/README.md`,
|
|
2877
|
+
},
|
|
2785
2878
|
};
|
|
2786
2879
|
}
|
|
2787
|
-
|
|
2880
|
+
|
|
2788
2881
|
// For other code generation tasks, create a basic structure
|
|
2789
2882
|
const projectDir = `${workDir}/generated-code`;
|
|
2790
2883
|
await Deno.mkdir(projectDir, { recursive: true });
|
|
2791
|
-
|
|
2884
|
+
|
|
2792
2885
|
const code = `// Generated code for: ${task.name}
|
|
2793
2886
|
// ${task.description}
|
|
2794
2887
|
|
|
@@ -2799,25 +2892,29 @@ function main() {
|
|
|
2799
2892
|
|
|
2800
2893
|
main();
|
|
2801
2894
|
`;
|
|
2802
|
-
|
|
2895
|
+
|
|
2803
2896
|
await fs.writeFile(`${projectDir}/main.js`, code);
|
|
2804
|
-
|
|
2897
|
+
|
|
2805
2898
|
return {
|
|
2806
2899
|
success: true,
|
|
2807
2900
|
output: {
|
|
2808
2901
|
message: 'Code generated successfully',
|
|
2809
2902
|
location: projectDir,
|
|
2810
|
-
files: ['main.js']
|
|
2811
|
-
}
|
|
2903
|
+
files: ['main.js'],
|
|
2904
|
+
},
|
|
2812
2905
|
};
|
|
2813
2906
|
}
|
|
2814
|
-
|
|
2815
|
-
private async executeAnalysisTask(
|
|
2907
|
+
|
|
2908
|
+
private async executeAnalysisTask(
|
|
2909
|
+
task: TaskDefinition,
|
|
2910
|
+
workDir: string,
|
|
2911
|
+
agent: AgentState,
|
|
2912
|
+
): Promise<any> {
|
|
2816
2913
|
this.logger.info('Executing analysis task', { taskId: task.id.id });
|
|
2817
|
-
|
|
2914
|
+
|
|
2818
2915
|
const analysisDir = `${workDir}/analysis`;
|
|
2819
2916
|
await Deno.mkdir(analysisDir, { recursive: true });
|
|
2820
|
-
|
|
2917
|
+
|
|
2821
2918
|
const analysis = {
|
|
2822
2919
|
task: task.name,
|
|
2823
2920
|
description: task.description,
|
|
@@ -2825,35 +2922,36 @@ main();
|
|
|
2825
2922
|
findings: [
|
|
2826
2923
|
'Analysis point 1: Task objectives are clear',
|
|
2827
2924
|
'Analysis point 2: Resources are allocated',
|
|
2828
|
-
'Analysis point 3: Implementation path is defined'
|
|
2925
|
+
'Analysis point 3: Implementation path is defined',
|
|
2829
2926
|
],
|
|
2830
2927
|
recommendations: [
|
|
2831
2928
|
'Proceed with implementation',
|
|
2832
2929
|
'Monitor progress regularly',
|
|
2833
|
-
'Adjust resources as needed'
|
|
2834
|
-
]
|
|
2930
|
+
'Adjust resources as needed',
|
|
2931
|
+
],
|
|
2835
2932
|
};
|
|
2836
|
-
|
|
2837
|
-
await fs.writeFile(
|
|
2838
|
-
|
|
2839
|
-
JSON.stringify(analysis, null, 2)
|
|
2840
|
-
);
|
|
2841
|
-
|
|
2933
|
+
|
|
2934
|
+
await fs.writeFile(`${analysisDir}/analysis-report.json`, JSON.stringify(analysis, null, 2));
|
|
2935
|
+
|
|
2842
2936
|
return {
|
|
2843
2937
|
success: true,
|
|
2844
2938
|
output: analysis,
|
|
2845
2939
|
artifacts: {
|
|
2846
|
-
report: `${analysisDir}/analysis-report.json
|
|
2847
|
-
}
|
|
2940
|
+
report: `${analysisDir}/analysis-report.json`,
|
|
2941
|
+
},
|
|
2848
2942
|
};
|
|
2849
2943
|
}
|
|
2850
|
-
|
|
2851
|
-
private async executeDocumentationTask(
|
|
2944
|
+
|
|
2945
|
+
private async executeDocumentationTask(
|
|
2946
|
+
task: TaskDefinition,
|
|
2947
|
+
workDir: string,
|
|
2948
|
+
agent: AgentState,
|
|
2949
|
+
): Promise<any> {
|
|
2852
2950
|
this.logger.info('Executing documentation task', { taskId: task.id.id });
|
|
2853
|
-
|
|
2951
|
+
|
|
2854
2952
|
const docsDir = `${workDir}/docs`;
|
|
2855
2953
|
await Deno.mkdir(docsDir, { recursive: true });
|
|
2856
|
-
|
|
2954
|
+
|
|
2857
2955
|
const documentation = `# ${task.name}
|
|
2858
2956
|
|
|
2859
2957
|
${task.description}
|
|
@@ -2873,28 +2971,32 @@ ${task.instructions}
|
|
|
2873
2971
|
- This is an automated documentation generated by the swarm
|
|
2874
2972
|
- Further details would be added based on actual implementation
|
|
2875
2973
|
`;
|
|
2876
|
-
|
|
2974
|
+
|
|
2877
2975
|
await fs.writeFile(`${docsDir}/documentation.md`, documentation);
|
|
2878
|
-
|
|
2976
|
+
|
|
2879
2977
|
return {
|
|
2880
2978
|
success: true,
|
|
2881
2979
|
output: {
|
|
2882
2980
|
message: 'Documentation created successfully',
|
|
2883
2981
|
location: docsDir,
|
|
2884
|
-
files: ['documentation.md']
|
|
2982
|
+
files: ['documentation.md'],
|
|
2885
2983
|
},
|
|
2886
2984
|
artifacts: {
|
|
2887
|
-
documentation: `${docsDir}/documentation.md
|
|
2888
|
-
}
|
|
2985
|
+
documentation: `${docsDir}/documentation.md`,
|
|
2986
|
+
},
|
|
2889
2987
|
};
|
|
2890
2988
|
}
|
|
2891
|
-
|
|
2892
|
-
private async executeTestingTask(
|
|
2989
|
+
|
|
2990
|
+
private async executeTestingTask(
|
|
2991
|
+
task: TaskDefinition,
|
|
2992
|
+
workDir: string,
|
|
2993
|
+
agent: AgentState,
|
|
2994
|
+
): Promise<any> {
|
|
2893
2995
|
this.logger.info('Executing testing task', { taskId: task.id.id });
|
|
2894
|
-
|
|
2996
|
+
|
|
2895
2997
|
const testDir = `${workDir}/tests`;
|
|
2896
2998
|
await Deno.mkdir(testDir, { recursive: true });
|
|
2897
|
-
|
|
2999
|
+
|
|
2898
3000
|
const testCode = `// Test suite for: ${task.name}
|
|
2899
3001
|
// ${task.description}
|
|
2900
3002
|
|
|
@@ -2913,9 +3015,9 @@ describe('${task.name}', () => {
|
|
|
2913
3015
|
|
|
2914
3016
|
console.log('Tests completed for: ${task.name}');
|
|
2915
3017
|
`;
|
|
2916
|
-
|
|
3018
|
+
|
|
2917
3019
|
await fs.writeFile(`${testDir}/test.js`, testCode);
|
|
2918
|
-
|
|
3020
|
+
|
|
2919
3021
|
return {
|
|
2920
3022
|
success: true,
|
|
2921
3023
|
output: {
|
|
@@ -2923,40 +3025,41 @@ console.log('Tests completed for: ${task.name}');
|
|
|
2923
3025
|
location: testDir,
|
|
2924
3026
|
files: ['test.js'],
|
|
2925
3027
|
testsPassed: 2,
|
|
2926
|
-
testsFailed: 0
|
|
3028
|
+
testsFailed: 0,
|
|
2927
3029
|
},
|
|
2928
3030
|
artifacts: {
|
|
2929
|
-
testFile: `${testDir}/test.js
|
|
2930
|
-
}
|
|
3031
|
+
testFile: `${testDir}/test.js`,
|
|
3032
|
+
},
|
|
2931
3033
|
};
|
|
2932
3034
|
}
|
|
2933
|
-
|
|
2934
|
-
private async executeGenericTask(
|
|
3035
|
+
|
|
3036
|
+
private async executeGenericTask(
|
|
3037
|
+
task: TaskDefinition,
|
|
3038
|
+
workDir: string,
|
|
3039
|
+
agent: AgentState,
|
|
3040
|
+
): Promise<any> {
|
|
2935
3041
|
this.logger.info('Executing generic task', { taskId: task.id.id });
|
|
2936
|
-
|
|
3042
|
+
|
|
2937
3043
|
const outputDir = `${workDir}/output`;
|
|
2938
3044
|
await Deno.mkdir(outputDir, { recursive: true });
|
|
2939
|
-
|
|
3045
|
+
|
|
2940
3046
|
const output = {
|
|
2941
3047
|
task: task.name,
|
|
2942
3048
|
type: task.type,
|
|
2943
3049
|
description: task.description,
|
|
2944
3050
|
status: 'completed',
|
|
2945
3051
|
timestamp: new Date().toISOString(),
|
|
2946
|
-
result: 'Task executed successfully'
|
|
3052
|
+
result: 'Task executed successfully',
|
|
2947
3053
|
};
|
|
2948
|
-
|
|
2949
|
-
await fs.writeFile(
|
|
2950
|
-
|
|
2951
|
-
JSON.stringify(output, null, 2)
|
|
2952
|
-
);
|
|
2953
|
-
|
|
3054
|
+
|
|
3055
|
+
await fs.writeFile(`${outputDir}/result.json`, JSON.stringify(output, null, 2));
|
|
3056
|
+
|
|
2954
3057
|
return {
|
|
2955
3058
|
success: true,
|
|
2956
3059
|
output,
|
|
2957
3060
|
artifacts: {
|
|
2958
|
-
result: `${outputDir}/result.json
|
|
2959
|
-
}
|
|
3061
|
+
result: `${outputDir}/result.json`,
|
|
3062
|
+
},
|
|
2960
3063
|
};
|
|
2961
3064
|
}
|
|
2962
3065
|
|
|
@@ -2968,12 +3071,12 @@ console.log('Tests completed for: ${task.name}');
|
|
|
2968
3071
|
private updateAgentMetrics(agent: AgentState, task: TaskDefinition): void {
|
|
2969
3072
|
// Update agent performance metrics
|
|
2970
3073
|
const executionTime = task.completedAt!.getTime() - (task.startedAt?.getTime() || 0);
|
|
2971
|
-
|
|
2972
|
-
agent.metrics.averageExecutionTime =
|
|
2973
|
-
(agent.metrics.averageExecutionTime * agent.metrics.tasksCompleted + executionTime) /
|
|
3074
|
+
|
|
3075
|
+
agent.metrics.averageExecutionTime =
|
|
3076
|
+
(agent.metrics.averageExecutionTime * agent.metrics.tasksCompleted + executionTime) /
|
|
2974
3077
|
(agent.metrics.tasksCompleted + 1);
|
|
2975
|
-
|
|
2976
|
-
agent.metrics.successRate =
|
|
3078
|
+
|
|
3079
|
+
agent.metrics.successRate =
|
|
2977
3080
|
agent.metrics.tasksCompleted / (agent.metrics.tasksCompleted + agent.metrics.tasksFailed);
|
|
2978
3081
|
}
|
|
2979
3082
|
|
|
@@ -3002,17 +3105,17 @@ console.log('Tests completed for: ${task.name}');
|
|
|
3002
3105
|
private processHeartbeats(): void {
|
|
3003
3106
|
const now = new Date();
|
|
3004
3107
|
const timeout = this.config.monitoring.heartbeatInterval * 10; // Increased multiplier for long-running Claude tasks
|
|
3005
|
-
|
|
3108
|
+
|
|
3006
3109
|
for (const agent of this.agents.values()) {
|
|
3007
3110
|
if (agent.status === 'offline' || agent.status === 'terminated') {
|
|
3008
3111
|
continue;
|
|
3009
3112
|
}
|
|
3010
|
-
|
|
3113
|
+
|
|
3011
3114
|
const timeSinceHeartbeat = now.getTime() - agent.lastHeartbeat.getTime();
|
|
3012
3115
|
if (timeSinceHeartbeat > timeout) {
|
|
3013
|
-
this.logger.warn('Agent heartbeat timeout', {
|
|
3014
|
-
agentId: agent.id.id,
|
|
3015
|
-
timeSinceHeartbeat
|
|
3116
|
+
this.logger.warn('Agent heartbeat timeout', {
|
|
3117
|
+
agentId: agent.id.id,
|
|
3118
|
+
timeSinceHeartbeat,
|
|
3016
3119
|
});
|
|
3017
3120
|
agent.status = 'error';
|
|
3018
3121
|
agent.health = 0;
|
|
@@ -3042,6 +3145,100 @@ console.log('Tests completed for: ${task.name}');
|
|
|
3042
3145
|
agent.status = 'error';
|
|
3043
3146
|
agent.health = 0;
|
|
3044
3147
|
this.logger.error('Agent error', { agentId, error });
|
|
3148
|
+
|
|
3149
|
+
// Track error in JSON output if enabled
|
|
3150
|
+
if (this.jsonOutputAggregator) {
|
|
3151
|
+
this.jsonOutputAggregator.addAgentError(
|
|
3152
|
+
agentId,
|
|
3153
|
+
error instanceof Error ? error.message : String(error),
|
|
3154
|
+
);
|
|
3155
|
+
}
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
// ===== JSON OUTPUT METHODS =====
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* Enable JSON output collection for non-interactive mode
|
|
3163
|
+
*/
|
|
3164
|
+
enableJsonOutput(objective: string): void {
|
|
3165
|
+
if (!this.jsonOutputAggregator) {
|
|
3166
|
+
this.jsonOutputAggregator = new SwarmJsonOutputAggregator(
|
|
3167
|
+
this.swarmId.id,
|
|
3168
|
+
objective,
|
|
3169
|
+
this.config,
|
|
3170
|
+
);
|
|
3171
|
+
this.logger.info('JSON output aggregation enabled', { swarmId: this.swarmId.id });
|
|
3045
3172
|
}
|
|
3046
3173
|
}
|
|
3047
|
-
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* Get the final JSON output for the swarm
|
|
3177
|
+
*/
|
|
3178
|
+
getJsonOutput(
|
|
3179
|
+
status: 'completed' | 'failed' | 'timeout' | 'cancelled' = 'completed',
|
|
3180
|
+
): string | null {
|
|
3181
|
+
if (!this.jsonOutputAggregator) {
|
|
3182
|
+
return null;
|
|
3183
|
+
}
|
|
3184
|
+
return this.jsonOutputAggregator.getJsonOutput(status);
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* Save JSON output to file
|
|
3189
|
+
*/
|
|
3190
|
+
async saveJsonOutput(
|
|
3191
|
+
filePath: string,
|
|
3192
|
+
status: 'completed' | 'failed' | 'timeout' | 'cancelled' = 'completed',
|
|
3193
|
+
): Promise<void> {
|
|
3194
|
+
if (!this.jsonOutputAggregator) {
|
|
3195
|
+
throw new Error('JSON output aggregation not enabled');
|
|
3196
|
+
}
|
|
3197
|
+
await this.jsonOutputAggregator.saveToFile(filePath, status);
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
/**
|
|
3201
|
+
* Track agent activity in JSON output
|
|
3202
|
+
*/
|
|
3203
|
+
private trackAgentInJsonOutput(agent: AgentState): void {
|
|
3204
|
+
if (this.jsonOutputAggregator) {
|
|
3205
|
+
this.jsonOutputAggregator.addAgent(agent);
|
|
3206
|
+
}
|
|
3207
|
+
}
|
|
3208
|
+
|
|
3209
|
+
/**
|
|
3210
|
+
* Track task activity in JSON output
|
|
3211
|
+
*/
|
|
3212
|
+
private trackTaskInJsonOutput(task: TaskDefinition): void {
|
|
3213
|
+
if (this.jsonOutputAggregator) {
|
|
3214
|
+
this.jsonOutputAggregator.addTask(task);
|
|
3215
|
+
}
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* Add output to JSON aggregator
|
|
3220
|
+
*/
|
|
3221
|
+
private addOutputToJsonAggregator(agentId: string, output: string): void {
|
|
3222
|
+
if (this.jsonOutputAggregator) {
|
|
3223
|
+
this.jsonOutputAggregator.addAgentOutput(agentId, output);
|
|
3224
|
+
}
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* Add insight to JSON aggregator
|
|
3229
|
+
*/
|
|
3230
|
+
addInsight(insight: string): void {
|
|
3231
|
+
if (this.jsonOutputAggregator) {
|
|
3232
|
+
this.jsonOutputAggregator.addInsight(insight);
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* Add artifact to JSON aggregator
|
|
3238
|
+
*/
|
|
3239
|
+
addArtifact(key: string, artifact: any): void {
|
|
3240
|
+
if (this.jsonOutputAggregator) {
|
|
3241
|
+
this.jsonOutputAggregator.addArtifact(key, artifact);
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3244
|
+
}
|