claude-flow 2.0.0-alpha.8 β 2.0.0-alpha.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/MIGRATION_SUMMARY.md +215 -0
- package/.claude/agents/README.md +82 -0
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +180 -0
- package/.claude/agents/architecture/system-design/arch-system-design.md +156 -0
- package/.claude/agents/base-template-generator.md +42 -0
- package/.claude/agents/consensus/README.md +246 -0
- package/.claude/agents/consensus/byzantine-coordinator.md +63 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +997 -0
- package/.claude/agents/consensus/gossip-coordinator.md +63 -0
- package/.claude/agents/consensus/performance-benchmarker.md +851 -0
- package/.claude/agents/consensus/quorum-manager.md +823 -0
- package/.claude/agents/consensus/raft-manager.md +63 -0
- package/.claude/agents/consensus/security-manager.md +622 -0
- package/.claude/agents/core/coder.md +211 -0
- package/.claude/agents/core/planner.md +116 -0
- package/.claude/agents/core/researcher.md +136 -0
- package/.claude/agents/core/reviewer.md +272 -0
- package/.claude/agents/core/tester.md +266 -0
- package/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude/agents/github/code-review-swarm.md +538 -0
- package/.claude/agents/github/github-modes.md +173 -0
- package/.claude/agents/github/issue-tracker.md +319 -0
- package/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude/agents/github/pr-manager.md +191 -0
- package/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude/agents/github/release-manager.md +367 -0
- package/.claude/agents/github/release-swarm.md +583 -0
- package/.claude/agents/github/repo-architect.md +398 -0
- package/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude/agents/github/swarm-pr.md +428 -0
- package/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude/agents/github/workflow-automation.md +635 -0
- package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +82 -0
- package/.claude/agents/hive-mind/consensus-builder.md +102 -0
- package/.claude/agents/hive-mind/swarm-memory-manager.md +120 -0
- package/.claude/agents/optimization/README.md +243 -0
- package/.claude/agents/optimization/benchmark-suite.md +658 -0
- package/.claude/agents/optimization/load-balancer.md +424 -0
- package/.claude/agents/optimization/performance-monitor.md +665 -0
- package/.claude/agents/optimization/resource-allocator.md +667 -0
- package/.claude/agents/optimization/topology-optimizer.md +801 -0
- package/.claude/agents/sparc/architecture.md +472 -0
- package/.claude/agents/sparc/pseudocode.md +318 -0
- package/.claude/agents/sparc/refinement.md +525 -0
- package/.claude/agents/sparc/specification.md +276 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +226 -0
- package/.claude/agents/swarm/README.md +183 -0
- package/.claude/agents/swarm/adaptive-coordinator.md +396 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +256 -0
- package/.claude/agents/swarm/mesh-coordinator.md +392 -0
- package/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude/agents/templates/migration-plan.md +746 -0
- package/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude/agents/templates/sparc-coordinator.md +183 -0
- package/.claude/agents/testing/unit/tdd-london-swarm.md +244 -0
- package/.claude/agents/testing/validation/production-validator.md +395 -0
- 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/checkpoints/1753906298.json +12 -0
- package/.claude/checkpoints/1753906353.json +8 -0
- package/.claude/checkpoints/1753906370.json +8 -0
- package/.claude/checkpoints/summary-session-20250730-220658.md +182 -0
- package/.claude/checkpoints/summary-session-20250730-220954.md +187 -0
- package/.claude/checkpoints/summary-session-20250730-222733.md +199 -0
- package/.claude/checkpoints/summary-session-20250731-142811.md +102 -0
- package/.claude/checkpoints/summary-session-20250731-142926.md +103 -0
- package/.claude/checkpoints/task-1753913133.json +7 -0
- package/.claude/checkpoints/task-1753913281.json +7 -0
- package/.claude/checkpoints/task-1753913468.json +7 -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 +42 -67
- package/.claude/commands/sparc/batch-executor.md +44 -68
- package/.claude/commands/sparc/coder.md +44 -69
- package/.claude/commands/sparc/debugger.md +43 -67
- package/.claude/commands/sparc/designer.md +42 -66
- package/.claude/commands/sparc/documenter.md +43 -66
- package/.claude/commands/sparc/innovator.md +43 -67
- 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/researcher.md +43 -68
- package/.claude/commands/sparc/reviewer.md +43 -67
- package/.claude/commands/sparc/sparc-modes.md +145 -333
- package/.claude/commands/sparc/swarm-coordinator.md +44 -67
- package/.claude/commands/sparc/tdd.md +44 -68
- package/.claude/commands/sparc/tester.md +43 -67
- package/.claude/commands/sparc/workflow-manager.md +44 -67
- 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/checkpoint-hooks.sh +187 -0
- package/.claude/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/github-checkpoint-hooks.sh +218 -0
- package/.claude/helpers/github-safe.js +106 -0
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/setup-checkpoints.sh +75 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +179 -0
- package/.claude/jq-validation.log +4 -0
- package/.claude/optimized-settings.json +270 -0
- package/.claude/settings-checkpoint-example.json +29 -0
- package/.claude/settings-checkpoint-simple.json +24 -0
- package/.claude/settings-complete.json +138 -0
- package/.claude/settings-enhanced.json +278 -0
- package/.claude/settings.json +75 -64
- package/.claude/settings.local.json +7 -4
- package/.claude/test-settings.json +15 -0
- package/CHANGELOG.md +473 -0
- package/README.md +709 -633
- package/bin/claude-flow +1 -1
- package/bin/claude-flow.js +120 -0
- package/package.json +42 -22
- 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/install.js +31 -20
- 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-loader.ts +247 -0
- package/src/agents/agent-manager.ts +577 -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 +85 -56
- 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 +232 -78
- 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 +55 -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/maestro.ts +317 -0
- 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 +68 -68
- 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 +311 -14
- package/src/cli/index-remote.ts +14 -11
- package/src/cli/index.ts +88 -82
- 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/maestro-cli-bridge.ts +556 -0
- package/src/cli/main.ts +9 -10
- package/src/cli/node-compat.js +140 -30
- package/src/cli/node-repl.ts +104 -180
- package/src/cli/repl.ts +240 -183
- package/src/cli/runtime-detector.js +26 -21
- package/src/cli/simple-cli.js +479 -394
- package/src/cli/simple-cli.ts +438 -377
- 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 +32 -27
- package/src/cli/simple-commands/analysis.js +420 -140
- package/src/cli/simple-commands/automation.js +226 -205
- package/src/cli/simple-commands/batch-manager.js +104 -93
- 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 +204 -47
- package/src/cli/simple-commands/github/init.js +529 -0
- package/src/cli/simple-commands/github.js +103 -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 +994 -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 +1161 -312
- 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/agent-copier.js +217 -0
- package/src/cli/simple-commands/init/batch-init.js +115 -109
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +10 -9
- package/src/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +10 -9
- package/src/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +66 -39
- 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 +42 -20
- 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 +12 -3
- package/src/cli/simple-commands/init/index.js +766 -447
- package/src/cli/simple-commands/init/performance-monitor.js +71 -64
- package/src/cli/simple-commands/init/rollback/backup-manager.js +49 -68
- 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 +57 -75
- package/src/cli/simple-commands/init/rollback/state-tracker.js +40 -50
- 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 +20 -17
- package/src/cli/simple-commands/init/template-copier.js +583 -0
- package/src/cli/simple-commands/init/templates/CLAUDE.md +641 -60
- 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/helpers/standard-checkpoint-hooks.sh +179 -0
- 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 +938 -137
- package/src/cli/simple-commands/init/templates/github-safe-enhanced.js +333 -0
- package/src/cli/simple-commands/init/templates/github-safe.js +106 -0
- 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 +77 -66
- 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 +25 -35
- package/src/cli/simple-commands/init/validation/health-checker.js +60 -67
- package/src/cli/simple-commands/init/validation/index.js +18 -23
- package/src/cli/simple-commands/init/validation/mode-validator.js +26 -35
- package/src/cli/simple-commands/init/validation/post-init-validator.js +40 -40
- package/src/cli/simple-commands/init/validation/pre-init-validator.js +32 -36
- package/src/cli/simple-commands/init/validation/test-runner.js +64 -72
- 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 +70 -63
- package/src/cli/simple-commands/migrate-hooks.js +63 -0
- package/src/cli/simple-commands/monitor.js +313 -75
- package/src/cli/simple-commands/performance-hooks.js +173 -0
- package/src/cli/simple-commands/performance-metrics.js +592 -0
- package/src/cli/simple-commands/process-ui-enhanced.js +209 -157
- package/src/cli/simple-commands/process-ui.js +66 -57
- 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 +16 -16
- 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 +115 -95
- package/src/cli/simple-commands/start-ui.js +21 -20
- package/src/cli/simple-commands/start-wrapper.js +35 -36
- package/src/cli/simple-commands/start.js +1 -1
- package/src/cli/simple-commands/status.js +57 -50
- package/src/cli/simple-commands/swarm-executor.js +54 -59
- 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 +553 -210
- 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 +8 -6
- package/src/cli/simple-mcp.ts +14 -17
- package/src/cli/simple-orchestrator.ts +115 -102
- package/src/cli/swarm-standalone.js +28 -30
- 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 +173 -168
- 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 +51 -31
- 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 +116 -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 +62 -17
- package/src/hooks/index.ts +192 -0
- 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/maestro/maestro-swarm-coordinator.ts +602 -0
- package/src/maestro/maestro-types.ts +386 -0
- package/src/maestro/tests/native-hive-mind-integration.test.ts +480 -0
- 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 +60 -18
- 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/advanced-serializer.js +611 -0
- 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/enhanced-session-serializer.js +523 -0
- package/src/memory/fallback-store.js +134 -0
- package/src/memory/in-memory-store.js +216 -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 +330 -0
- package/src/memory/sqlite-wrapper.js +168 -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/advanced-orchestrator.ts +1200 -0
- package/src/swarm/claude-code-interface.ts +1268 -0
- 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/hive-mind-integration.ts +1127 -0
- package/src/swarm/index.ts +7 -8
- package/src/swarm/json-output-aggregator.ts +372 -0
- package/src/swarm/mcp-integration-wrapper.ts +860 -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/result-aggregator.ts +1046 -0
- 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 +347 -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/__tests__/github-cli-safety-wrapper.test.js +408 -0
- 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/github-cli-safe.js +119 -0
- package/src/utils/github-cli-safety-wrapper.js +587 -0
- 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 +62 -4
- package/cli.mjs +0 -126
- package/dist/adapters/cliffy-node.d.ts +0 -45
- package/dist/adapters/cliffy-node.d.ts.map +0 -1
- package/dist/adapters/cliffy-node.js +0 -61
- package/dist/adapters/cliffy-node.js.map +0 -1
- package/dist/agents/agent-manager.d.ts +0 -191
- package/dist/agents/agent-manager.d.ts.map +0 -1
- package/dist/agents/agent-manager.js +0 -969
- package/dist/agents/agent-manager.js.map +0 -1
- package/dist/agents/agent-registry.d.ts +0 -112
- package/dist/agents/agent-registry.d.ts.map +0 -1
- package/dist/agents/agent-registry.js +0 -341
- package/dist/agents/agent-registry.js.map +0 -1
- package/dist/cli/agents/analyst.d.ts +0 -28
- package/dist/cli/agents/analyst.d.ts.map +0 -1
- package/dist/cli/agents/analyst.js +0 -718
- package/dist/cli/agents/analyst.js.map +0 -1
- package/dist/cli/agents/architect.d.ts +0 -27
- package/dist/cli/agents/architect.d.ts.map +0 -1
- package/dist/cli/agents/architect.js +0 -729
- package/dist/cli/agents/architect.js.map +0 -1
- package/dist/cli/agents/base-agent.d.ts +0 -80
- package/dist/cli/agents/base-agent.d.ts.map +0 -1
- package/dist/cli/agents/base-agent.js +0 -385
- package/dist/cli/agents/base-agent.js.map +0 -1
- package/dist/cli/agents/capabilities.d.ts +0 -106
- package/dist/cli/agents/capabilities.d.ts.map +0 -1
- package/dist/cli/agents/capabilities.js +0 -556
- package/dist/cli/agents/capabilities.js.map +0 -1
- package/dist/cli/agents/coder.d.ts +0 -34
- package/dist/cli/agents/coder.d.ts.map +0 -1
- package/dist/cli/agents/coder.js +0 -806
- package/dist/cli/agents/coder.js.map +0 -1
- package/dist/cli/agents/coordinator.d.ts +0 -25
- package/dist/cli/agents/coordinator.d.ts.map +0 -1
- package/dist/cli/agents/coordinator.js +0 -454
- package/dist/cli/agents/coordinator.js.map +0 -1
- package/dist/cli/agents/hive-agents.d.ts +0 -85
- package/dist/cli/agents/hive-agents.d.ts.map +0 -1
- package/dist/cli/agents/hive-agents.js +0 -549
- package/dist/cli/agents/hive-agents.js.map +0 -1
- package/dist/cli/agents/index.d.ts +0 -111
- package/dist/cli/agents/index.d.ts.map +0 -1
- package/dist/cli/agents/index.js +0 -276
- package/dist/cli/agents/index.js.map +0 -1
- package/dist/cli/agents/researcher.d.ts +0 -24
- package/dist/cli/agents/researcher.d.ts.map +0 -1
- package/dist/cli/agents/researcher.js +0 -356
- package/dist/cli/agents/researcher.js.map +0 -1
- package/dist/cli/agents/tester.d.ts +0 -27
- package/dist/cli/agents/tester.d.ts.map +0 -1
- package/dist/cli/agents/tester.js +0 -594
- package/dist/cli/agents/tester.js.map +0 -1
- package/dist/cli/cli-core.d.ts +0 -49
- package/dist/cli/cli-core.d.ts.map +0 -1
- package/dist/cli/cli-core.js +0 -263
- package/dist/cli/cli-core.js.map +0 -1
- package/dist/cli/commands/advanced-memory-commands.d.ts +0 -2
- package/dist/cli/commands/advanced-memory-commands.d.ts.map +0 -1
- package/dist/cli/commands/advanced-memory-commands.js +0 -849
- package/dist/cli/commands/advanced-memory-commands.js.map +0 -1
- package/dist/cli/commands/agent-simple.d.ts +0 -12
- package/dist/cli/commands/agent-simple.d.ts.map +0 -1
- package/dist/cli/commands/agent-simple.js +0 -353
- package/dist/cli/commands/agent-simple.js.map +0 -1
- package/dist/cli/commands/agent.d.ts +0 -7
- package/dist/cli/commands/agent.d.ts.map +0 -1
- package/dist/cli/commands/agent.js +0 -369
- package/dist/cli/commands/agent.js.map +0 -1
- package/dist/cli/commands/claude.d.ts +0 -3
- package/dist/cli/commands/claude.d.ts.map +0 -1
- package/dist/cli/commands/claude.js +0 -154
- package/dist/cli/commands/claude.js.map +0 -1
- package/dist/cli/commands/config-integration.d.ts +0 -10
- package/dist/cli/commands/config-integration.d.ts.map +0 -1
- package/dist/cli/commands/config-integration.js +0 -416
- package/dist/cli/commands/config-integration.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -5
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -89
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/enterprise.d.ts +0 -3
- package/dist/cli/commands/enterprise.d.ts.map +0 -1
- package/dist/cli/commands/enterprise.js +0 -1486
- package/dist/cli/commands/enterprise.js.map +0 -1
- package/dist/cli/commands/help.d.ts +0 -6
- package/dist/cli/commands/help.d.ts.map +0 -1
- package/dist/cli/commands/help.js +0 -786
- package/dist/cli/commands/help.js.map +0 -1
- package/dist/cli/commands/hive-mind/index.d.ts +0 -15
- package/dist/cli/commands/hive-mind/index.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/index.js +0 -22
- package/dist/cli/commands/hive-mind/index.js.map +0 -1
- package/dist/cli/commands/hive-mind/init.d.ts +0 -10
- package/dist/cli/commands/hive-mind/init.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/init.js +0 -68
- package/dist/cli/commands/hive-mind/init.js.map +0 -1
- package/dist/cli/commands/hive-mind/optimize-memory.d.ts +0 -8
- package/dist/cli/commands/hive-mind/optimize-memory.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/optimize-memory.js +0 -391
- package/dist/cli/commands/hive-mind/optimize-memory.js.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.d.ts +0 -10
- package/dist/cli/commands/hive-mind/spawn.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.js +0 -147
- package/dist/cli/commands/hive-mind/spawn.js.map +0 -1
- package/dist/cli/commands/hive-mind/status.d.ts +0 -10
- package/dist/cli/commands/hive-mind/status.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/status.js +0 -209
- package/dist/cli/commands/hive-mind/status.js.map +0 -1
- package/dist/cli/commands/hive-mind/task.d.ts +0 -10
- package/dist/cli/commands/hive-mind/task.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/task.js +0 -288
- package/dist/cli/commands/hive-mind/task.js.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.d.ts +0 -10
- package/dist/cli/commands/hive-mind/wizard.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.js +0 -513
- package/dist/cli/commands/hive-mind/wizard.js.map +0 -1
- package/dist/cli/commands/hive.d.ts +0 -6
- package/dist/cli/commands/hive.d.ts.map +0 -1
- package/dist/cli/commands/hive.js +0 -374
- package/dist/cli/commands/hive.js.map +0 -1
- package/dist/cli/commands/index.d.ts +0 -3
- package/dist/cli/commands/index.d.ts.map +0 -1
- package/dist/cli/commands/index.js +0 -2416
- package/dist/cli/commands/index.js.map +0 -1
- package/dist/cli/commands/mcp.d.ts +0 -6
- package/dist/cli/commands/mcp.d.ts.map +0 -1
- package/dist/cli/commands/mcp.js +0 -177
- package/dist/cli/commands/mcp.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -30
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -225
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/migrate.d.ts +0 -6
- package/dist/cli/commands/migrate.d.ts.map +0 -1
- package/dist/cli/commands/migrate.js +0 -139
- package/dist/cli/commands/migrate.js.map +0 -1
- package/dist/cli/commands/monitor.d.ts +0 -6
- package/dist/cli/commands/monitor.d.ts.map +0 -1
- package/dist/cli/commands/monitor.js +0 -477
- package/dist/cli/commands/monitor.js.map +0 -1
- package/dist/cli/commands/ruv-swarm.d.ts +0 -10
- package/dist/cli/commands/ruv-swarm.d.ts.map +0 -1
- package/dist/cli/commands/ruv-swarm.js +0 -563
- package/dist/cli/commands/ruv-swarm.js.map +0 -1
- package/dist/cli/commands/session.d.ts +0 -6
- package/dist/cli/commands/session.d.ts.map +0 -1
- package/dist/cli/commands/session.js +0 -543
- package/dist/cli/commands/session.js.map +0 -1
- package/dist/cli/commands/sparc.d.ts +0 -3
- package/dist/cli/commands/sparc.d.ts.map +0 -1
- package/dist/cli/commands/sparc.js +0 -452
- package/dist/cli/commands/sparc.js.map +0 -1
- package/dist/cli/commands/start/event-emitter.d.ts +0 -13
- package/dist/cli/commands/start/event-emitter.d.ts.map +0 -1
- package/dist/cli/commands/start/event-emitter.js +0 -35
- package/dist/cli/commands/start/event-emitter.js.map +0 -1
- package/dist/cli/commands/start/index.d.ts +0 -10
- package/dist/cli/commands/start/index.d.ts.map +0 -1
- package/dist/cli/commands/start/index.js +0 -9
- package/dist/cli/commands/start/index.js.map +0 -1
- package/dist/cli/commands/start/process-manager.d.ts +0 -31
- package/dist/cli/commands/start/process-manager.d.ts.map +0 -1
- package/dist/cli/commands/start/process-manager.js +0 -281
- package/dist/cli/commands/start/process-manager.js.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.d.ts +0 -25
- package/dist/cli/commands/start/process-ui-simple.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.js +0 -334
- package/dist/cli/commands/start/process-ui-simple.js.map +0 -1
- package/dist/cli/commands/start/process-ui.d.ts +0 -5
- package/dist/cli/commands/start/process-ui.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui.js +0 -5
- package/dist/cli/commands/start/process-ui.js.map +0 -1
- package/dist/cli/commands/start/start-command.d.ts +0 -6
- package/dist/cli/commands/start/start-command.d.ts.map +0 -1
- package/dist/cli/commands/start/start-command.js +0 -450
- package/dist/cli/commands/start/start-command.js.map +0 -1
- package/dist/cli/commands/start/system-monitor.d.ts +0 -22
- package/dist/cli/commands/start/system-monitor.d.ts.map +0 -1
- package/dist/cli/commands/start/system-monitor.js +0 -267
- package/dist/cli/commands/start/system-monitor.js.map +0 -1
- package/dist/cli/commands/start/types.d.ts +0 -64
- package/dist/cli/commands/start/types.d.ts.map +0 -1
- package/dist/cli/commands/start/types.js +0 -22
- package/dist/cli/commands/start/types.js.map +0 -1
- package/dist/cli/commands/start.d.ts +0 -6
- package/dist/cli/commands/start.d.ts.map +0 -1
- package/dist/cli/commands/start.js +0 -6
- package/dist/cli/commands/start.js.map +0 -1
- package/dist/cli/commands/status.d.ts +0 -6
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -312
- package/dist/cli/commands/status.js.map +0 -1
- 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/dist/cli/commands/swarm-spawn.d.ts +0 -24
- package/dist/cli/commands/swarm-spawn.d.ts.map +0 -1
- package/dist/cli/commands/swarm-spawn.js +0 -52
- package/dist/cli/commands/swarm-spawn.js.map +0 -1
- package/dist/cli/commands/swarm.d.ts +0 -3
- package/dist/cli/commands/swarm.d.ts.map +0 -1
- package/dist/cli/commands/swarm.js +0 -460
- package/dist/cli/commands/swarm.js.map +0 -1
- package/dist/cli/commands/task.d.ts +0 -6
- package/dist/cli/commands/task.d.ts.map +0 -1
- package/dist/cli/commands/task.js +0 -72
- package/dist/cli/commands/task.js.map +0 -1
- package/dist/cli/commands/workflow.d.ts +0 -6
- package/dist/cli/commands/workflow.d.ts.map +0 -1
- package/dist/cli/commands/workflow.js +0 -618
- package/dist/cli/commands/workflow.js.map +0 -1
- package/dist/cli/completion.d.ts +0 -16
- package/dist/cli/completion.d.ts.map +0 -1
- package/dist/cli/completion.js +0 -535
- package/dist/cli/completion.js.map +0 -1
- package/dist/cli/formatter.d.ts +0 -66
- package/dist/cli/formatter.d.ts.map +0 -1
- package/dist/cli/formatter.js +0 -277
- package/dist/cli/formatter.js.map +0 -1
- package/dist/cli/index-remote.d.ts +0 -3
- package/dist/cli/index-remote.d.ts.map +0 -1
- package/dist/cli/index-remote.js +0 -126
- package/dist/cli/index-remote.js.map +0 -1
- package/dist/cli/index.d.ts +0 -7
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -197
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/init/batch-tools.d.ts +0 -2
- package/dist/cli/init/batch-tools.d.ts.map +0 -1
- package/dist/cli/init/batch-tools.js +0 -387
- package/dist/cli/init/batch-tools.js.map +0 -1
- package/dist/cli/init/claude-config.d.ts +0 -3
- package/dist/cli/init/claude-config.d.ts.map +0 -1
- package/dist/cli/init/claude-config.js +0 -289
- package/dist/cli/init/claude-config.js.map +0 -1
- package/dist/cli/init/directory-structure.d.ts +0 -2
- package/dist/cli/init/directory-structure.d.ts.map +0 -1
- package/dist/cli/init/directory-structure.js +0 -144
- package/dist/cli/init/directory-structure.js.map +0 -1
- package/dist/cli/init/index.d.ts +0 -6
- package/dist/cli/init/index.d.ts.map +0 -1
- package/dist/cli/init/index.js +0 -52
- package/dist/cli/init/index.js.map +0 -1
- package/dist/cli/init/sparc-environment.d.ts +0 -2
- package/dist/cli/init/sparc-environment.d.ts.map +0 -1
- package/dist/cli/init/sparc-environment.js +0 -426
- package/dist/cli/init/sparc-environment.js.map +0 -1
- package/dist/cli/init/swarm-commands.d.ts +0 -2
- package/dist/cli/init/swarm-commands.d.ts.map +0 -1
- package/dist/cli/init/swarm-commands.js +0 -795
- package/dist/cli/init/swarm-commands.js.map +0 -1
- package/dist/cli/init/utils.d.ts +0 -5
- package/dist/cli/init/utils.d.ts.map +0 -1
- package/dist/cli/init/utils.js +0 -14
- package/dist/cli/init/utils.js.map +0 -1
- package/dist/cli/main.d.ts +0 -3
- package/dist/cli/main.d.ts.map +0 -1
- package/dist/cli/main.js +0 -26
- package/dist/cli/main.js.map +0 -1
- package/dist/cli/node-repl.d.ts +0 -5
- package/dist/cli/node-repl.d.ts.map +0 -1
- package/dist/cli/node-repl.js +0 -677
- package/dist/cli/node-repl.js.map +0 -1
- package/dist/cli/repl.d.ts +0 -5
- package/dist/cli/repl.d.ts.map +0 -1
- package/dist/cli/repl.js +0 -909
- package/dist/cli/repl.js.map +0 -1
- package/dist/cli/simple-cli.d.ts +0 -3
- package/dist/cli/simple-cli.d.ts.map +0 -1
- package/dist/cli/simple-cli.js +0 -3059
- package/dist/cli/simple-cli.js.map +0 -1
- package/dist/cli/simple-mcp.d.ts +0 -6
- package/dist/cli/simple-mcp.d.ts.map +0 -1
- package/dist/cli/simple-mcp.js +0 -107
- package/dist/cli/simple-mcp.js.map +0 -1
- package/dist/cli/simple-orchestrator.d.ts +0 -16
- package/dist/cli/simple-orchestrator.d.ts.map +0 -1
- package/dist/cli/simple-orchestrator.js +0 -833
- package/dist/cli/simple-orchestrator.js.map +0 -1
- package/dist/cli/ui/compatible-ui.d.ts +0 -45
- package/dist/cli/ui/compatible-ui.d.ts.map +0 -1
- package/dist/cli/ui/compatible-ui.js +0 -318
- package/dist/cli/ui/compatible-ui.js.map +0 -1
- package/dist/cli/ui/fallback-handler.d.ts +0 -26
- package/dist/cli/ui/fallback-handler.d.ts.map +0 -1
- package/dist/cli/ui/fallback-handler.js +0 -163
- package/dist/cli/ui/fallback-handler.js.map +0 -1
- package/dist/cli/ui/index.d.ts +0 -11
- package/dist/cli/ui/index.d.ts.map +0 -1
- package/dist/cli/ui/index.js +0 -33
- package/dist/cli/ui/index.js.map +0 -1
- package/dist/cli/utils/environment-detector.d.ts +0 -52
- package/dist/cli/utils/environment-detector.d.ts.map +0 -1
- package/dist/cli/utils/environment-detector.js +0 -238
- package/dist/cli/utils/environment-detector.js.map +0 -1
- package/dist/cli/utils/prompt-defaults.d.ts +0 -82
- package/dist/cli/utils/prompt-defaults.d.ts.map +0 -1
- package/dist/cli/utils/prompt-defaults.js +0 -253
- package/dist/cli/utils/prompt-defaults.js.map +0 -1
- package/dist/communication/message-bus.d.ts +0 -283
- package/dist/communication/message-bus.d.ts.map +0 -1
- package/dist/communication/message-bus.js +0 -954
- package/dist/communication/message-bus.js.map +0 -1
- package/dist/config/config-manager.d.ts +0 -174
- package/dist/config/config-manager.d.ts.map +0 -1
- package/dist/config/config-manager.js +0 -443
- package/dist/config/config-manager.js.map +0 -1
- package/dist/config/ruv-swarm-config.d.ts +0 -167
- package/dist/config/ruv-swarm-config.d.ts.map +0 -1
- package/dist/config/ruv-swarm-config.js +0 -274
- package/dist/config/ruv-swarm-config.js.map +0 -1
- package/dist/config/ruv-swarm-integration.d.ts +0 -93
- package/dist/config/ruv-swarm-integration.d.ts.map +0 -1
- package/dist/config/ruv-swarm-integration.js +0 -292
- package/dist/config/ruv-swarm-integration.js.map +0 -1
- package/dist/constants/agent-types.d.ts +0 -46
- package/dist/constants/agent-types.d.ts.map +0 -1
- package/dist/constants/agent-types.js +0 -50
- package/dist/constants/agent-types.js.map +0 -1
- package/dist/coordination/advanced-scheduler.d.ts +0 -121
- package/dist/coordination/advanced-scheduler.d.ts.map +0 -1
- package/dist/coordination/advanced-scheduler.js +0 -386
- package/dist/coordination/advanced-scheduler.js.map +0 -1
- package/dist/coordination/advanced-task-executor.d.ts +0 -100
- package/dist/coordination/advanced-task-executor.d.ts.map +0 -1
- package/dist/coordination/advanced-task-executor.js +0 -459
- package/dist/coordination/advanced-task-executor.js.map +0 -1
- package/dist/coordination/background-executor.d.ts +0 -69
- package/dist/coordination/background-executor.d.ts.map +0 -1
- package/dist/coordination/background-executor.js +0 -362
- package/dist/coordination/background-executor.js.map +0 -1
- package/dist/coordination/circuit-breaker.d.ts +0 -124
- package/dist/coordination/circuit-breaker.d.ts.map +0 -1
- package/dist/coordination/circuit-breaker.js +0 -298
- package/dist/coordination/circuit-breaker.js.map +0 -1
- package/dist/coordination/conflict-resolution.d.ts +0 -133
- package/dist/coordination/conflict-resolution.d.ts.map +0 -1
- package/dist/coordination/conflict-resolution.js +0 -358
- package/dist/coordination/conflict-resolution.js.map +0 -1
- package/dist/coordination/dependency-graph.d.ts +0 -78
- package/dist/coordination/dependency-graph.d.ts.map +0 -1
- package/dist/coordination/dependency-graph.js +0 -386
- package/dist/coordination/dependency-graph.js.map +0 -1
- package/dist/coordination/hive-orchestrator.d.ts +0 -118
- package/dist/coordination/hive-orchestrator.d.ts.map +0 -1
- package/dist/coordination/hive-orchestrator.js +0 -321
- package/dist/coordination/hive-orchestrator.js.map +0 -1
- package/dist/coordination/hive-protocol.d.ts +0 -117
- package/dist/coordination/hive-protocol.d.ts.map +0 -1
- package/dist/coordination/hive-protocol.js +0 -373
- package/dist/coordination/hive-protocol.js.map +0 -1
- package/dist/coordination/index.d.ts +0 -14
- package/dist/coordination/index.d.ts.map +0 -1
- package/dist/coordination/index.js +0 -21
- package/dist/coordination/index.js.map +0 -1
- package/dist/coordination/load-balancer.d.ts +0 -139
- package/dist/coordination/load-balancer.d.ts.map +0 -1
- package/dist/coordination/load-balancer.js +0 -691
- package/dist/coordination/load-balancer.js.map +0 -1
- package/dist/coordination/manager.d.ts +0 -66
- package/dist/coordination/manager.d.ts.map +0 -1
- package/dist/coordination/manager.js +0 -360
- package/dist/coordination/manager.js.map +0 -1
- package/dist/coordination/messaging.d.ts +0 -37
- package/dist/coordination/messaging.d.ts.map +0 -1
- package/dist/coordination/messaging.js +0 -219
- package/dist/coordination/messaging.js.map +0 -1
- package/dist/coordination/metrics.d.ts +0 -153
- package/dist/coordination/metrics.d.ts.map +0 -1
- package/dist/coordination/metrics.js +0 -434
- package/dist/coordination/metrics.js.map +0 -1
- package/dist/coordination/resources.d.ts +0 -36
- package/dist/coordination/resources.d.ts.map +0 -1
- package/dist/coordination/resources.js +0 -250
- package/dist/coordination/resources.js.map +0 -1
- package/dist/coordination/scheduler.d.ts +0 -48
- package/dist/coordination/scheduler.d.ts.map +0 -1
- package/dist/coordination/scheduler.js +0 -308
- package/dist/coordination/scheduler.js.map +0 -1
- package/dist/coordination/swarm-coordinator.d.ts +0 -116
- package/dist/coordination/swarm-coordinator.d.ts.map +0 -1
- package/dist/coordination/swarm-coordinator.js +0 -565
- package/dist/coordination/swarm-coordinator.js.map +0 -1
- package/dist/coordination/swarm-monitor.d.ts +0 -101
- package/dist/coordination/swarm-monitor.d.ts.map +0 -1
- package/dist/coordination/swarm-monitor.js +0 -340
- package/dist/coordination/swarm-monitor.js.map +0 -1
- package/dist/coordination/work-stealing.d.ts +0 -44
- package/dist/coordination/work-stealing.d.ts.map +0 -1
- package/dist/coordination/work-stealing.js +0 -155
- package/dist/coordination/work-stealing.js.map +0 -1
- package/dist/core/config.d.ts +0 -239
- package/dist/core/config.d.ts.map +0 -1
- package/dist/core/config.js +0 -1128
- package/dist/core/config.js.map +0 -1
- package/dist/core/event-bus.d.ts +0 -60
- package/dist/core/event-bus.d.ts.map +0 -1
- package/dist/core/event-bus.js +0 -153
- package/dist/core/event-bus.js.map +0 -1
- package/dist/core/json-persistence.d.ts +0 -52
- package/dist/core/json-persistence.d.ts.map +0 -1
- package/dist/core/json-persistence.js +0 -115
- package/dist/core/json-persistence.js.map +0 -1
- package/dist/core/logger.d.ts +0 -57
- package/dist/core/logger.d.ts.map +0 -1
- package/dist/core/logger.js +0 -253
- package/dist/core/logger.js.map +0 -1
- package/dist/core/orchestrator-fixed.d.ts +0 -81
- package/dist/core/orchestrator-fixed.d.ts.map +0 -1
- package/dist/core/orchestrator-fixed.js +0 -210
- package/dist/core/orchestrator-fixed.js.map +0 -1
- package/dist/core/orchestrator.d.ts +0 -103
- package/dist/core/orchestrator.d.ts.map +0 -1
- package/dist/core/orchestrator.js +0 -965
- package/dist/core/orchestrator.js.map +0 -1
- package/dist/core/persistence.d.ts +0 -50
- package/dist/core/persistence.d.ts.map +0 -1
- package/dist/core/persistence.js +0 -186
- package/dist/core/persistence.js.map +0 -1
- package/dist/enterprise/analytics-manager.d.ts +0 -489
- package/dist/enterprise/analytics-manager.d.ts.map +0 -1
- package/dist/enterprise/analytics-manager.js +0 -949
- package/dist/enterprise/analytics-manager.js.map +0 -1
- package/dist/enterprise/audit-manager.d.ts +0 -459
- package/dist/enterprise/audit-manager.d.ts.map +0 -1
- package/dist/enterprise/audit-manager.js +0 -992
- package/dist/enterprise/audit-manager.js.map +0 -1
- package/dist/enterprise/cloud-manager.d.ts +0 -435
- package/dist/enterprise/cloud-manager.d.ts.map +0 -1
- package/dist/enterprise/cloud-manager.js +0 -784
- package/dist/enterprise/cloud-manager.js.map +0 -1
- package/dist/enterprise/deployment-manager.d.ts +0 -328
- package/dist/enterprise/deployment-manager.d.ts.map +0 -1
- package/dist/enterprise/deployment-manager.js +0 -823
- package/dist/enterprise/deployment-manager.js.map +0 -1
- package/dist/enterprise/index.d.ts +0 -13
- package/dist/enterprise/index.d.ts.map +0 -1
- package/dist/enterprise/index.js +0 -7
- package/dist/enterprise/index.js.map +0 -1
- package/dist/enterprise/project-manager.d.ts +0 -228
- package/dist/enterprise/project-manager.d.ts.map +0 -1
- package/dist/enterprise/project-manager.js +0 -529
- package/dist/enterprise/project-manager.js.map +0 -1
- package/dist/enterprise/security-manager.d.ts +0 -422
- package/dist/enterprise/security-manager.d.ts.map +0 -1
- package/dist/enterprise/security-manager.js +0 -902
- package/dist/enterprise/security-manager.js.map +0 -1
- package/dist/hive-mind/core/Agent.d.ts +0 -137
- package/dist/hive-mind/core/Agent.d.ts.map +0 -1
- package/dist/hive-mind/core/Agent.js +0 -567
- package/dist/hive-mind/core/Agent.js.map +0 -1
- package/dist/hive-mind/core/Communication.d.ts +0 -116
- package/dist/hive-mind/core/Communication.d.ts.map +0 -1
- package/dist/hive-mind/core/Communication.js +0 -407
- package/dist/hive-mind/core/Communication.js.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.d.ts +0 -93
- package/dist/hive-mind/core/DatabaseManager.d.ts.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.js +0 -551
- package/dist/hive-mind/core/DatabaseManager.js.map +0 -1
- package/dist/hive-mind/core/HiveMind.d.ts +0 -90
- package/dist/hive-mind/core/HiveMind.d.ts.map +0 -1
- package/dist/hive-mind/core/HiveMind.js +0 -439
- package/dist/hive-mind/core/HiveMind.js.map +0 -1
- package/dist/hive-mind/core/Memory.d.ts +0 -235
- package/dist/hive-mind/core/Memory.d.ts.map +0 -1
- package/dist/hive-mind/core/Memory.js +0 -1185
- package/dist/hive-mind/core/Memory.js.map +0 -1
- package/dist/hive-mind/core/MemoryMonitor.d.ts +0 -183
- package/dist/hive-mind/core/MemoryMonitor.d.ts.map +0 -1
- package/dist/hive-mind/core/MemoryMonitor.js +0 -547
- package/dist/hive-mind/core/MemoryMonitor.js.map +0 -1
- package/dist/hive-mind/core/Queen.d.ts +0 -115
- package/dist/hive-mind/core/Queen.d.ts.map +0 -1
- package/dist/hive-mind/core/Queen.js +0 -586
- package/dist/hive-mind/core/Queen.js.map +0 -1
- package/dist/hive-mind/index.d.ts +0 -17
- package/dist/hive-mind/index.d.ts.map +0 -1
- package/dist/hive-mind/index.js +0 -21
- package/dist/hive-mind/index.js.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.d.ts +0 -117
- package/dist/hive-mind/integration/ConsensusEngine.d.ts.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.js +0 -476
- package/dist/hive-mind/integration/ConsensusEngine.js.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts +0 -172
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js +0 -216
- package/dist/hive-mind/integration/MCPToolWrapper.js.map +0 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts +0 -172
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts.map +0 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.js +0 -746
- package/dist/hive-mind/integration/SwarmOrchestrator.js.map +0 -1
- package/dist/hive-mind/types.d.ts +0 -298
- package/dist/hive-mind/types.d.ts.map +0 -1
- package/dist/hive-mind/types.js +0 -7
- package/dist/hive-mind/types.js.map +0 -1
- package/dist/integration/mock-components.d.ts +0 -107
- package/dist/integration/mock-components.d.ts.map +0 -1
- package/dist/integration/mock-components.js +0 -357
- package/dist/integration/mock-components.js.map +0 -1
- package/dist/integration/system-integration.d.ts +0 -84
- package/dist/integration/system-integration.d.ts.map +0 -1
- package/dist/integration/system-integration.js +0 -429
- package/dist/integration/system-integration.js.map +0 -1
- package/dist/integration/types.d.ts +0 -119
- package/dist/integration/types.d.ts.map +0 -1
- package/dist/integration/types.js +0 -5
- package/dist/integration/types.js.map +0 -1
- package/dist/mcp/auth.d.ts +0 -80
- package/dist/mcp/auth.d.ts.map +0 -1
- package/dist/mcp/auth.js +0 -343
- package/dist/mcp/auth.js.map +0 -1
- package/dist/mcp/claude-code-wrapper.d.ts +0 -26
- package/dist/mcp/claude-code-wrapper.d.ts.map +0 -1
- package/dist/mcp/claude-code-wrapper.js +0 -598
- package/dist/mcp/claude-code-wrapper.js.map +0 -1
- package/dist/mcp/claude-flow-tools.d.ts +0 -13
- package/dist/mcp/claude-flow-tools.d.ts.map +0 -1
- package/dist/mcp/claude-flow-tools.js +0 -1142
- package/dist/mcp/claude-flow-tools.js.map +0 -1
- package/dist/mcp/client.d.ts +0 -41
- package/dist/mcp/client.d.ts.map +0 -1
- package/dist/mcp/client.js +0 -194
- package/dist/mcp/client.js.map +0 -1
- package/dist/mcp/index.d.ts +0 -134
- package/dist/mcp/index.d.ts.map +0 -1
- package/dist/mcp/index.js +0 -212
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/integrate-wrapper.d.ts +0 -16
- package/dist/mcp/integrate-wrapper.d.ts.map +0 -1
- package/dist/mcp/integrate-wrapper.js +0 -77
- package/dist/mcp/integrate-wrapper.js.map +0 -1
- package/dist/mcp/lifecycle-manager.d.ts +0 -121
- package/dist/mcp/lifecycle-manager.d.ts.map +0 -1
- package/dist/mcp/lifecycle-manager.js +0 -365
- package/dist/mcp/lifecycle-manager.js.map +0 -1
- package/dist/mcp/load-balancer.d.ts +0 -88
- package/dist/mcp/load-balancer.d.ts.map +0 -1
- package/dist/mcp/load-balancer.js +0 -389
- package/dist/mcp/load-balancer.js.map +0 -1
- package/dist/mcp/orchestration-integration.d.ts +0 -135
- package/dist/mcp/orchestration-integration.d.ts.map +0 -1
- package/dist/mcp/orchestration-integration.js +0 -722
- package/dist/mcp/orchestration-integration.js.map +0 -1
- package/dist/mcp/performance-monitor.d.ts +0 -164
- package/dist/mcp/performance-monitor.d.ts.map +0 -1
- package/dist/mcp/performance-monitor.js +0 -478
- package/dist/mcp/performance-monitor.js.map +0 -1
- package/dist/mcp/protocol-manager.d.ts +0 -88
- package/dist/mcp/protocol-manager.d.ts.map +0 -1
- package/dist/mcp/protocol-manager.js +0 -358
- package/dist/mcp/protocol-manager.js.map +0 -1
- package/dist/mcp/recovery/connection-health-monitor.d.ts +0 -69
- package/dist/mcp/recovery/connection-health-monitor.d.ts.map +0 -1
- package/dist/mcp/recovery/connection-health-monitor.js +0 -241
- package/dist/mcp/recovery/connection-health-monitor.js.map +0 -1
- package/dist/mcp/recovery/connection-state-manager.d.ts +0 -102
- package/dist/mcp/recovery/connection-state-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/connection-state-manager.js +0 -318
- package/dist/mcp/recovery/connection-state-manager.js.map +0 -1
- package/dist/mcp/recovery/fallback-coordinator.d.ts +0 -79
- package/dist/mcp/recovery/fallback-coordinator.d.ts.map +0 -1
- package/dist/mcp/recovery/fallback-coordinator.js +0 -278
- package/dist/mcp/recovery/fallback-coordinator.js.map +0 -1
- package/dist/mcp/recovery/index.d.ts +0 -10
- package/dist/mcp/recovery/index.d.ts.map +0 -1
- package/dist/mcp/recovery/index.js +0 -10
- package/dist/mcp/recovery/index.js.map +0 -1
- package/dist/mcp/recovery/reconnection-manager.d.ts +0 -69
- package/dist/mcp/recovery/reconnection-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/reconnection-manager.js +0 -226
- package/dist/mcp/recovery/reconnection-manager.js.map +0 -1
- package/dist/mcp/recovery/recovery-manager.d.ts +0 -93
- package/dist/mcp/recovery/recovery-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/recovery-manager.js +0 -250
- package/dist/mcp/recovery/recovery-manager.js.map +0 -1
- package/dist/mcp/router.d.ts +0 -54
- package/dist/mcp/router.d.ts.map +0 -1
- package/dist/mcp/router.js +0 -201
- package/dist/mcp/router.js.map +0 -1
- package/dist/mcp/ruv-swarm-tools.d.ts +0 -58
- package/dist/mcp/ruv-swarm-tools.d.ts.map +0 -1
- package/dist/mcp/ruv-swarm-tools.js +0 -518
- package/dist/mcp/ruv-swarm-tools.js.map +0 -1
- package/dist/mcp/server-with-wrapper.d.ts +0 -3
- package/dist/mcp/server-with-wrapper.d.ts.map +0 -1
- package/dist/mcp/server-with-wrapper.js +0 -36
- package/dist/mcp/server-with-wrapper.js.map +0 -1
- package/dist/mcp/server-wrapper-mode.d.ts +0 -3
- package/dist/mcp/server-wrapper-mode.d.ts.map +0 -1
- package/dist/mcp/server-wrapper-mode.js +0 -28
- package/dist/mcp/server-wrapper-mode.js.map +0 -1
- package/dist/mcp/server.d.ts +0 -75
- package/dist/mcp/server.d.ts.map +0 -1
- package/dist/mcp/server.js +0 -533
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/session-manager.d.ts +0 -60
- package/dist/mcp/session-manager.d.ts.map +0 -1
- package/dist/mcp/session-manager.js +0 -322
- package/dist/mcp/session-manager.js.map +0 -1
- package/dist/mcp/sparc-modes.d.ts +0 -12
- package/dist/mcp/sparc-modes.d.ts.map +0 -1
- package/dist/mcp/sparc-modes.js +0 -370
- package/dist/mcp/sparc-modes.js.map +0 -1
- package/dist/mcp/swarm-tools.d.ts +0 -87
- package/dist/mcp/swarm-tools.d.ts.map +0 -1
- package/dist/mcp/swarm-tools.js +0 -711
- package/dist/mcp/swarm-tools.js.map +0 -1
- package/dist/mcp/tools.d.ts +0 -145
- package/dist/mcp/tools.d.ts.map +0 -1
- package/dist/mcp/tools.js +0 -418
- package/dist/mcp/tools.js.map +0 -1
- package/dist/mcp/transports/base.d.ts +0 -22
- package/dist/mcp/transports/base.d.ts.map +0 -1
- package/dist/mcp/transports/base.js +0 -2
- package/dist/mcp/transports/base.js.map +0 -1
- package/dist/mcp/transports/http.d.ts +0 -45
- package/dist/mcp/transports/http.d.ts.map +0 -1
- package/dist/mcp/transports/http.js +0 -400
- package/dist/mcp/transports/http.js.map +0 -1
- package/dist/mcp/transports/stdio.d.ts +0 -34
- package/dist/mcp/transports/stdio.d.ts.map +0 -1
- package/dist/mcp/transports/stdio.js +0 -203
- package/dist/mcp/transports/stdio.js.map +0 -1
- package/dist/memory/advanced-memory-manager.d.ts +0 -303
- package/dist/memory/advanced-memory-manager.d.ts.map +0 -1
- package/dist/memory/advanced-memory-manager.js +0 -1458
- package/dist/memory/advanced-memory-manager.js.map +0 -1
- package/dist/memory/backends/base.d.ts +0 -21
- package/dist/memory/backends/base.d.ts.map +0 -1
- package/dist/memory/backends/base.js +0 -2
- package/dist/memory/backends/base.js.map +0 -1
- package/dist/memory/backends/markdown.d.ts +0 -32
- package/dist/memory/backends/markdown.d.ts.map +0 -1
- package/dist/memory/backends/markdown.js +0 -223
- package/dist/memory/backends/markdown.js.map +0 -1
- package/dist/memory/backends/sqlite.d.ts +0 -29
- package/dist/memory/backends/sqlite.d.ts.map +0 -1
- package/dist/memory/backends/sqlite.js +0 -272
- package/dist/memory/backends/sqlite.js.map +0 -1
- package/dist/memory/cache.d.ts +0 -65
- package/dist/memory/cache.d.ts.map +0 -1
- package/dist/memory/cache.js +0 -186
- package/dist/memory/cache.js.map +0 -1
- package/dist/memory/distributed-memory.d.ts +0 -188
- package/dist/memory/distributed-memory.d.ts.map +0 -1
- package/dist/memory/distributed-memory.js +0 -711
- package/dist/memory/distributed-memory.js.map +0 -1
- package/dist/memory/indexer.d.ts +0 -52
- package/dist/memory/indexer.d.ts.map +0 -1
- package/dist/memory/indexer.js +0 -188
- package/dist/memory/indexer.js.map +0 -1
- package/dist/memory/manager.d.ts +0 -58
- package/dist/memory/manager.d.ts.map +0 -1
- package/dist/memory/manager.js +0 -426
- package/dist/memory/manager.js.map +0 -1
- package/dist/memory/swarm-memory.d.ts +0 -91
- package/dist/memory/swarm-memory.d.ts.map +0 -1
- package/dist/memory/swarm-memory.js +0 -461
- package/dist/memory/swarm-memory.js.map +0 -1
- package/dist/migration/index.d.ts +0 -3
- package/dist/migration/index.d.ts.map +0 -1
- package/dist/migration/index.js +0 -166
- package/dist/migration/index.js.map +0 -1
- package/dist/migration/logger.d.ts +0 -26
- package/dist/migration/logger.d.ts.map +0 -1
- package/dist/migration/logger.js +0 -145
- package/dist/migration/logger.js.map +0 -1
- package/dist/migration/migration-analyzer.d.ts +0 -15
- package/dist/migration/migration-analyzer.d.ts.map +0 -1
- package/dist/migration/migration-analyzer.js +0 -279
- package/dist/migration/migration-analyzer.js.map +0 -1
- package/dist/migration/migration-runner.d.ts +0 -26
- package/dist/migration/migration-runner.d.ts.map +0 -1
- package/dist/migration/migration-runner.js +0 -499
- package/dist/migration/migration-runner.js.map +0 -1
- package/dist/migration/migration-validator.d.ts +0 -14
- package/dist/migration/migration-validator.d.ts.map +0 -1
- package/dist/migration/migration-validator.js +0 -313
- package/dist/migration/migration-validator.js.map +0 -1
- package/dist/migration/progress-reporter.d.ts +0 -25
- package/dist/migration/progress-reporter.d.ts.map +0 -1
- package/dist/migration/progress-reporter.js +0 -163
- package/dist/migration/progress-reporter.js.map +0 -1
- package/dist/migration/rollback-manager.d.ts +0 -21
- package/dist/migration/rollback-manager.d.ts.map +0 -1
- package/dist/migration/rollback-manager.js +0 -348
- package/dist/migration/rollback-manager.js.map +0 -1
- package/dist/migration/types.d.ts +0 -103
- package/dist/migration/types.d.ts.map +0 -1
- package/dist/migration/types.js +0 -6
- package/dist/migration/types.js.map +0 -1
- package/dist/monitoring/diagnostics.d.ts +0 -109
- package/dist/monitoring/diagnostics.d.ts.map +0 -1
- package/dist/monitoring/diagnostics.js +0 -545
- package/dist/monitoring/diagnostics.js.map +0 -1
- package/dist/monitoring/health-check.d.ts +0 -91
- package/dist/monitoring/health-check.d.ts.map +0 -1
- package/dist/monitoring/health-check.js +0 -371
- package/dist/monitoring/health-check.js.map +0 -1
- package/dist/monitoring/real-time-monitor.d.ts +0 -230
- package/dist/monitoring/real-time-monitor.d.ts.map +0 -1
- package/dist/monitoring/real-time-monitor.js +0 -839
- package/dist/monitoring/real-time-monitor.js.map +0 -1
- package/dist/resources/resource-manager.d.ts +0 -390
- package/dist/resources/resource-manager.d.ts.map +0 -1
- package/dist/resources/resource-manager.js +0 -1220
- package/dist/resources/resource-manager.js.map +0 -1
- package/dist/swarm/claude-flow-executor.d.ts +0 -28
- package/dist/swarm/claude-flow-executor.d.ts.map +0 -1
- package/dist/swarm/claude-flow-executor.js +0 -210
- package/dist/swarm/claude-flow-executor.js.map +0 -1
- package/dist/swarm/coordinator.d.ts +0 -134
- package/dist/swarm/coordinator.d.ts.map +0 -1
- package/dist/swarm/coordinator.js +0 -2607
- package/dist/swarm/coordinator.js.map +0 -1
- package/dist/swarm/direct-executor.d.ts +0 -48
- package/dist/swarm/direct-executor.d.ts.map +0 -1
- package/dist/swarm/direct-executor.js +0 -1113
- package/dist/swarm/direct-executor.js.map +0 -1
- package/dist/swarm/executor-v2.d.ts +0 -23
- package/dist/swarm/executor-v2.d.ts.map +0 -1
- package/dist/swarm/executor-v2.js +0 -320
- package/dist/swarm/executor-v2.js.map +0 -1
- package/dist/swarm/executor.d.ts +0 -117
- package/dist/swarm/executor.d.ts.map +0 -1
- package/dist/swarm/executor.js +0 -791
- package/dist/swarm/executor.js.map +0 -1
- package/dist/swarm/index.d.ts +0 -31
- package/dist/swarm/index.d.ts.map +0 -1
- package/dist/swarm/index.js +0 -42
- package/dist/swarm/index.js.map +0 -1
- package/dist/swarm/memory.d.ts +0 -176
- package/dist/swarm/memory.d.ts.map +0 -1
- package/dist/swarm/memory.js +0 -1068
- package/dist/swarm/memory.js.map +0 -1
- package/dist/swarm/optimizations/async-file-manager.d.ts +0 -49
- package/dist/swarm/optimizations/async-file-manager.d.ts.map +0 -1
- package/dist/swarm/optimizations/async-file-manager.js +0 -248
- package/dist/swarm/optimizations/async-file-manager.js.map +0 -1
- package/dist/swarm/optimizations/circular-buffer.d.ts +0 -46
- package/dist/swarm/optimizations/circular-buffer.d.ts.map +0 -1
- package/dist/swarm/optimizations/circular-buffer.js +0 -159
- package/dist/swarm/optimizations/circular-buffer.js.map +0 -1
- package/dist/swarm/optimizations/connection-pool.d.ts +0 -54
- package/dist/swarm/optimizations/connection-pool.d.ts.map +0 -1
- package/dist/swarm/optimizations/connection-pool.js +0 -227
- package/dist/swarm/optimizations/connection-pool.js.map +0 -1
- package/dist/swarm/optimizations/index.d.ts +0 -24
- package/dist/swarm/optimizations/index.d.ts.map +0 -1
- package/dist/swarm/optimizations/index.js +0 -30
- package/dist/swarm/optimizations/index.js.map +0 -1
- package/dist/swarm/optimizations/optimized-executor.d.ts +0 -109
- package/dist/swarm/optimizations/optimized-executor.d.ts.map +0 -1
- package/dist/swarm/optimizations/optimized-executor.js +0 -321
- package/dist/swarm/optimizations/optimized-executor.js.map +0 -1
- package/dist/swarm/optimizations/ttl-map.d.ts +0 -78
- package/dist/swarm/optimizations/ttl-map.d.ts.map +0 -1
- package/dist/swarm/optimizations/ttl-map.js +0 -229
- package/dist/swarm/optimizations/ttl-map.js.map +0 -1
- package/dist/swarm/prompt-cli.d.ts +0 -5
- package/dist/swarm/prompt-cli.d.ts.map +0 -1
- package/dist/swarm/prompt-cli.js +0 -256
- package/dist/swarm/prompt-cli.js.map +0 -1
- package/dist/swarm/prompt-copier-enhanced.d.ts +0 -17
- package/dist/swarm/prompt-copier-enhanced.d.ts.map +0 -1
- package/dist/swarm/prompt-copier-enhanced.js +0 -190
- package/dist/swarm/prompt-copier-enhanced.js.map +0 -1
- package/dist/swarm/prompt-copier.d.ts +0 -76
- package/dist/swarm/prompt-copier.d.ts.map +0 -1
- package/dist/swarm/prompt-copier.js +0 -379
- package/dist/swarm/prompt-copier.js.map +0 -1
- package/dist/swarm/prompt-manager.d.ts +0 -72
- package/dist/swarm/prompt-manager.d.ts.map +0 -1
- package/dist/swarm/prompt-manager.js +0 -270
- package/dist/swarm/prompt-manager.js.map +0 -1
- package/dist/swarm/prompt-utils.d.ts +0 -52
- package/dist/swarm/prompt-utils.d.ts.map +0 -1
- package/dist/swarm/prompt-utils.js +0 -265
- package/dist/swarm/prompt-utils.js.map +0 -1
- package/dist/swarm/sparc-executor.d.ts +0 -105
- package/dist/swarm/sparc-executor.d.ts.map +0 -1
- package/dist/swarm/sparc-executor.js +0 -1364
- package/dist/swarm/sparc-executor.js.map +0 -1
- package/dist/swarm/strategies/auto.d.ts +0 -57
- package/dist/swarm/strategies/auto.d.ts.map +0 -1
- package/dist/swarm/strategies/auto.js +0 -623
- package/dist/swarm/strategies/auto.js.map +0 -1
- package/dist/swarm/strategies/base.d.ts +0 -78
- package/dist/swarm/strategies/base.d.ts.map +0 -1
- package/dist/swarm/strategies/base.js +0 -108
- package/dist/swarm/strategies/base.js.map +0 -1
- package/dist/swarm/strategies/research.d.ts +0 -75
- package/dist/swarm/strategies/research.d.ts.map +0 -1
- package/dist/swarm/strategies/research.js +0 -841
- package/dist/swarm/strategies/research.js.map +0 -1
- package/dist/swarm/strategies/strategy-metrics-patch.d.ts +0 -11
- package/dist/swarm/strategies/strategy-metrics-patch.d.ts.map +0 -1
- package/dist/swarm/strategies/strategy-metrics-patch.js +0 -2
- package/dist/swarm/strategies/strategy-metrics-patch.js.map +0 -1
- package/dist/swarm/types.d.ts +0 -578
- package/dist/swarm/types.d.ts.map +0 -1
- package/dist/swarm/types.js +0 -51
- package/dist/swarm/types.js.map +0 -1
- package/dist/swarm/workers/copy-worker.d.ts +0 -2
- package/dist/swarm/workers/copy-worker.d.ts.map +0 -1
- package/dist/swarm/workers/copy-worker.js +0 -56
- package/dist/swarm/workers/copy-worker.js.map +0 -1
- package/dist/task/commands.d.ts +0 -60
- package/dist/task/commands.d.ts.map +0 -1
- package/dist/task/commands.js +0 -107
- package/dist/task/commands.js.map +0 -1
- package/dist/task/coordination.d.ts +0 -109
- package/dist/task/coordination.d.ts.map +0 -1
- package/dist/task/coordination.js +0 -629
- package/dist/task/coordination.js.map +0 -1
- package/dist/task/engine.d.ts +0 -198
- package/dist/task/engine.d.ts.map +0 -1
- package/dist/task/engine.js +0 -498
- package/dist/task/engine.js.map +0 -1
- package/dist/task/index.d.ts +0 -103
- package/dist/task/index.d.ts.map +0 -1
- package/dist/task/index.js +0 -276
- package/dist/task/index.js.map +0 -1
- package/dist/task/types.d.ts +0 -56
- package/dist/task/types.d.ts.map +0 -1
- package/dist/task/types.js +0 -2
- package/dist/task/types.js.map +0 -1
- package/dist/terminal/adapters/base.d.ts +0 -40
- package/dist/terminal/adapters/base.d.ts.map +0 -1
- package/dist/terminal/adapters/base.js +0 -5
- package/dist/terminal/adapters/base.js.map +0 -1
- package/dist/terminal/adapters/native.d.ts +0 -19
- package/dist/terminal/adapters/native.d.ts.map +0 -1
- package/dist/terminal/adapters/native.js +0 -414
- package/dist/terminal/adapters/native.js.map +0 -1
- package/dist/terminal/adapters/vscode.d.ts +0 -20
- package/dist/terminal/adapters/vscode.d.ts.map +0 -1
- package/dist/terminal/adapters/vscode.js +0 -265
- package/dist/terminal/adapters/vscode.js.map +0 -1
- package/dist/terminal/manager.d.ts +0 -59
- package/dist/terminal/manager.d.ts.map +0 -1
- package/dist/terminal/manager.js +0 -237
- package/dist/terminal/manager.js.map +0 -1
- package/dist/terminal/pool.d.ts +0 -32
- package/dist/terminal/pool.d.ts.map +0 -1
- package/dist/terminal/pool.js +0 -205
- package/dist/terminal/pool.js.map +0 -1
- package/dist/terminal/session.d.ts +0 -41
- package/dist/terminal/session.d.ts.map +0 -1
- package/dist/terminal/session.js +0 -206
- package/dist/terminal/session.js.map +0 -1
- package/dist/types/index.d.ts +0 -28
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -15
- package/dist/types/index.js.map +0 -1
- package/dist/ui/hive-dashboard.d.ts +0 -140
- package/dist/ui/hive-dashboard.d.ts.map +0 -1
- package/dist/ui/hive-dashboard.js +0 -281
- package/dist/ui/hive-dashboard.js.map +0 -1
- package/dist/utils/error-handler.d.ts +0 -13
- package/dist/utils/error-handler.d.ts.map +0 -1
- package/dist/utils/error-handler.js +0 -45
- package/dist/utils/error-handler.js.map +0 -1
- package/dist/utils/errors.d.ts +0 -121
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js +0 -194
- package/dist/utils/errors.js.map +0 -1
- package/dist/utils/formatters.d.ts +0 -15
- package/dist/utils/formatters.d.ts.map +0 -1
- package/dist/utils/formatters.js +0 -75
- package/dist/utils/formatters.js.map +0 -1
- package/dist/utils/helpers.d.ts +0 -131
- package/dist/utils/helpers.d.ts.map +0 -1
- package/dist/utils/helpers.js +0 -447
- package/dist/utils/helpers.js.map +0 -1
- package/dist/utils/paths.d.ts +0 -4
- package/dist/utils/paths.d.ts.map +0 -1
- package/dist/utils/paths.js +0 -39
- package/dist/utils/paths.js.map +0 -1
- package/dist/utils/types.d.ts +0 -512
- package/dist/utils/types.d.ts.map +0 -1
- package/dist/utils/types.js +0 -37
- package/dist/utils/types.js.map +0 -1
- package/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
|
@@ -12,17 +12,32 @@ import inquirer from 'inquirer';
|
|
|
12
12
|
import chalk from 'chalk';
|
|
13
13
|
import ora from 'ora';
|
|
14
14
|
import { args, cwd, exit, writeTextFile, readTextFile, mkdirAsync } from '../node-compat.js';
|
|
15
|
-
import {
|
|
15
|
+
import {
|
|
16
|
+
isInteractive,
|
|
17
|
+
isRawModeSupported,
|
|
18
|
+
warnNonInteractive,
|
|
19
|
+
checkNonInteractiveAuth,
|
|
20
|
+
} from '../utils/interactive-detector.js';
|
|
21
|
+
import {
|
|
22
|
+
safeInteractive,
|
|
23
|
+
nonInteractiveProgress,
|
|
24
|
+
nonInteractiveSelect,
|
|
25
|
+
} from '../utils/safe-interactive.js';
|
|
16
26
|
|
|
17
27
|
// Import SQLite for persistence
|
|
18
28
|
import Database from 'better-sqlite3';
|
|
19
29
|
|
|
30
|
+
// Import help formatter
|
|
31
|
+
import { HelpFormatter } from '../help-formatter.js';
|
|
32
|
+
|
|
20
33
|
// Import MCP tool wrappers
|
|
21
34
|
import { MCPToolWrapper } from './hive-mind/mcp-wrapper.js';
|
|
22
35
|
import { HiveMindCore } from './hive-mind/core.js';
|
|
23
36
|
import { QueenCoordinator } from './hive-mind/queen.js';
|
|
24
37
|
import { CollectiveMemory } from './hive-mind/memory.js';
|
|
25
38
|
import { SwarmCommunication } from './hive-mind/communication.js';
|
|
39
|
+
import { HiveMindSessionManager } from './hive-mind/session-manager.js';
|
|
40
|
+
import { createAutoSaveMiddleware } from './hive-mind/auto-save-middleware.js';
|
|
26
41
|
|
|
27
42
|
function showHiveMindHelp() {
|
|
28
43
|
console.log(`
|
|
@@ -35,6 +50,9 @@ ${chalk.bold('SUBCOMMANDS:')}
|
|
|
35
50
|
${chalk.green('init')} Initialize hive mind system
|
|
36
51
|
${chalk.green('spawn')} Spawn hive mind swarm for a task
|
|
37
52
|
${chalk.green('status')} Show hive mind status
|
|
53
|
+
${chalk.green('resume')} Resume a paused hive mind session
|
|
54
|
+
${chalk.green('stop')} Stop a running hive mind session
|
|
55
|
+
${chalk.green('sessions')} List all hive mind sessions
|
|
38
56
|
${chalk.green('consensus')} View consensus decisions
|
|
39
57
|
${chalk.green('memory')} Manage collective memory
|
|
40
58
|
${chalk.green('metrics')} View performance metrics
|
|
@@ -62,6 +80,12 @@ ${chalk.bold('EXAMPLES:')}
|
|
|
62
80
|
${chalk.gray('# Auto-spawn coordinated Claude Code instances')}
|
|
63
81
|
claude-flow hive-mind spawn "Research AI trends" --auto-spawn --verbose
|
|
64
82
|
|
|
83
|
+
${chalk.gray('# List all sessions')}
|
|
84
|
+
claude-flow hive-mind sessions
|
|
85
|
+
|
|
86
|
+
${chalk.gray('# Resume a paused session')}
|
|
87
|
+
claude-flow hive-mind resume session-1234567890-abc123
|
|
88
|
+
|
|
65
89
|
${chalk.bold('KEY FEATURES:')}
|
|
66
90
|
${chalk.cyan('π')} Queen-led coordination with worker specialization
|
|
67
91
|
${chalk.cyan('π§ ')} Collective memory and knowledge sharing
|
|
@@ -85,10 +109,9 @@ ${chalk.bold('OPTIONS:')}
|
|
|
85
109
|
--spawn Alias for --claude
|
|
86
110
|
--auto-spawn Automatically spawn Claude Code instances
|
|
87
111
|
--execute Execute Claude Code spawn commands immediately
|
|
88
|
-
--auto Auto-approve Claude permissions (uses --dangerously-skip-permissions)
|
|
89
112
|
|
|
90
113
|
${chalk.bold('For more information:')}
|
|
91
|
-
${chalk.blue('https://github.com/ruvnet/claude-
|
|
114
|
+
${chalk.blue('https://github.com/ruvnet/claude-flow/tree/main/docs/hive-mind')}
|
|
92
115
|
`);
|
|
93
116
|
}
|
|
94
117
|
|
|
@@ -97,18 +120,18 @@ ${chalk.blue('https://github.com/ruvnet/claude-code-flow/docs/hive-mind.md')}
|
|
|
97
120
|
*/
|
|
98
121
|
async function initHiveMind(flags) {
|
|
99
122
|
const spinner = ora('Initializing Hive Mind system...').start();
|
|
100
|
-
|
|
123
|
+
|
|
101
124
|
try {
|
|
102
125
|
// Create hive mind directory structure
|
|
103
126
|
const hiveMindDir = path.join(cwd(), '.hive-mind');
|
|
104
127
|
if (!existsSync(hiveMindDir)) {
|
|
105
128
|
mkdirSync(hiveMindDir, { recursive: true });
|
|
106
129
|
}
|
|
107
|
-
|
|
130
|
+
|
|
108
131
|
// Initialize SQLite database
|
|
109
132
|
const dbPath = path.join(hiveMindDir, 'hive.db');
|
|
110
133
|
const db = new Database(dbPath);
|
|
111
|
-
|
|
134
|
+
|
|
112
135
|
// Create tables
|
|
113
136
|
db.exec(`
|
|
114
137
|
CREATE TABLE IF NOT EXISTS swarms (
|
|
@@ -156,6 +179,10 @@ async function initHiveMind(flags) {
|
|
|
156
179
|
confidence REAL DEFAULT 1.0,
|
|
157
180
|
created_by TEXT,
|
|
158
181
|
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
182
|
+
accessed_at DATETIME,
|
|
183
|
+
access_count INTEGER DEFAULT 0,
|
|
184
|
+
compressed INTEGER DEFAULT 0,
|
|
185
|
+
size INTEGER DEFAULT 0,
|
|
159
186
|
FOREIGN KEY (swarm_id) REFERENCES swarms(id)
|
|
160
187
|
);
|
|
161
188
|
|
|
@@ -171,9 +198,9 @@ async function initHiveMind(flags) {
|
|
|
171
198
|
FOREIGN KEY (swarm_id) REFERENCES swarms(id)
|
|
172
199
|
);
|
|
173
200
|
`);
|
|
174
|
-
|
|
201
|
+
|
|
175
202
|
db.close();
|
|
176
|
-
|
|
203
|
+
|
|
177
204
|
// Create configuration file
|
|
178
205
|
const config = {
|
|
179
206
|
version: '2.0.0',
|
|
@@ -184,29 +211,29 @@ async function initHiveMind(flags) {
|
|
|
184
211
|
consensusAlgorithm: 'majority',
|
|
185
212
|
memorySize: 100,
|
|
186
213
|
autoScale: true,
|
|
187
|
-
encryption: false
|
|
214
|
+
encryption: false,
|
|
188
215
|
},
|
|
189
216
|
mcpTools: {
|
|
190
217
|
enabled: true,
|
|
191
218
|
parallel: true,
|
|
192
|
-
timeout: 60000
|
|
193
|
-
}
|
|
219
|
+
timeout: 60000,
|
|
220
|
+
},
|
|
194
221
|
};
|
|
195
|
-
|
|
196
|
-
await writeFile(
|
|
197
|
-
|
|
198
|
-
JSON.stringify(config, null, 2)
|
|
199
|
-
);
|
|
200
|
-
|
|
222
|
+
|
|
223
|
+
await writeFile(path.join(hiveMindDir, 'config.json'), JSON.stringify(config, null, 2));
|
|
224
|
+
|
|
201
225
|
spinner.succeed('Hive Mind system initialized successfully!');
|
|
202
|
-
|
|
226
|
+
|
|
203
227
|
console.log('\n' + chalk.green('β') + ' Created .hive-mind directory');
|
|
204
228
|
console.log(chalk.green('β') + ' Initialized SQLite database');
|
|
205
229
|
console.log(chalk.green('β') + ' Created configuration file');
|
|
206
230
|
console.log('\n' + chalk.yellow('Next steps:'));
|
|
207
|
-
console.log(
|
|
208
|
-
|
|
209
|
-
|
|
231
|
+
console.log(
|
|
232
|
+
' 1. Run ' + chalk.cyan('claude-flow hive-mind spawn') + ' to create your first swarm',
|
|
233
|
+
);
|
|
234
|
+
console.log(
|
|
235
|
+
' 2. Use ' + chalk.cyan('claude-flow hive-mind wizard') + ' for interactive setup',
|
|
236
|
+
);
|
|
210
237
|
} catch (error) {
|
|
211
238
|
spinner.fail('Failed to initialize Hive Mind system');
|
|
212
239
|
console.error(chalk.red('Error:'), error.message);
|
|
@@ -217,50 +244,89 @@ async function initHiveMind(flags) {
|
|
|
217
244
|
/**
|
|
218
245
|
* Interactive wizard for hive mind operations
|
|
219
246
|
*/
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
247
|
+
// Wrapped wizard function that handles non-interactive environments
|
|
248
|
+
const hiveMindWizard = safeInteractive(
|
|
249
|
+
// Interactive version
|
|
250
|
+
async function (flags = {}) {
|
|
251
|
+
console.log(chalk.yellow('\nπ§ Hive Mind Interactive Wizard\n'));
|
|
252
|
+
|
|
253
|
+
const { action } = await inquirer.prompt([
|
|
254
|
+
{
|
|
255
|
+
type: 'list',
|
|
256
|
+
name: 'action',
|
|
257
|
+
message: 'What would you like to do?',
|
|
258
|
+
choices: [
|
|
259
|
+
{ name: 'π Create new swarm', value: 'spawn' },
|
|
260
|
+
{ name: 'π View swarm status', value: 'status' },
|
|
261
|
+
{ name: 'π§ Manage collective memory', value: 'memory' },
|
|
262
|
+
{ name: 'π€ View consensus decisions', value: 'consensus' },
|
|
263
|
+
{ name: 'π Performance metrics', value: 'metrics' },
|
|
264
|
+
{ name: 'π§ Configure hive mind', value: 'config' },
|
|
265
|
+
{ name: 'β Exit', value: 'exit' },
|
|
266
|
+
],
|
|
267
|
+
},
|
|
268
|
+
]);
|
|
269
|
+
|
|
270
|
+
switch (action) {
|
|
271
|
+
case 'spawn':
|
|
272
|
+
await spawnSwarmWizard();
|
|
273
|
+
break;
|
|
274
|
+
case 'status':
|
|
275
|
+
await showStatus({});
|
|
276
|
+
break;
|
|
277
|
+
case 'memory':
|
|
278
|
+
await manageMemoryWizard();
|
|
279
|
+
break;
|
|
280
|
+
case 'consensus':
|
|
281
|
+
await showConsensus({});
|
|
282
|
+
break;
|
|
283
|
+
case 'metrics':
|
|
284
|
+
await showMetrics({});
|
|
285
|
+
break;
|
|
286
|
+
case 'config':
|
|
287
|
+
await configureWizard();
|
|
288
|
+
break;
|
|
289
|
+
case 'exit':
|
|
290
|
+
console.log(chalk.gray('Exiting wizard...'));
|
|
291
|
+
break;
|
|
237
292
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
293
|
+
},
|
|
294
|
+
// Non-interactive fallback
|
|
295
|
+
async function (flags = {}) {
|
|
296
|
+
console.log(chalk.yellow('\nπ§ Hive Mind - Non-Interactive Mode\n'));
|
|
297
|
+
|
|
298
|
+
// Default to creating a swarm with sensible defaults
|
|
299
|
+
console.log(chalk.cyan('Creating new swarm with default settings...'));
|
|
300
|
+
console.log(chalk.gray('Use command-line flags to customize:'));
|
|
301
|
+
console.log(chalk.gray(' --objective "Your task" Set swarm objective'));
|
|
302
|
+
console.log(chalk.gray(' --queen-type strategic Set queen type'));
|
|
303
|
+
console.log(chalk.gray(' --max-workers 8 Set worker count'));
|
|
304
|
+
console.log();
|
|
305
|
+
|
|
306
|
+
const objective = flags.objective || 'General task coordination';
|
|
307
|
+
const config = {
|
|
308
|
+
name: flags.name || `swarm-${Date.now()}`,
|
|
309
|
+
queenType: flags.queenType || flags['queen-type'] || 'strategic',
|
|
310
|
+
maxWorkers: parseInt(flags.maxWorkers || flags['max-workers'] || '8'),
|
|
311
|
+
consensusAlgorithm: flags.consensus || flags.consensusAlgorithm || 'majority',
|
|
312
|
+
autoScale: flags.autoScale || flags['auto-scale'] || false,
|
|
313
|
+
namespace: flags.namespace || 'default',
|
|
314
|
+
verbose: flags.verbose || false,
|
|
315
|
+
encryption: flags.encryption || false,
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
await spawnSwarm([objective], {
|
|
319
|
+
...flags,
|
|
320
|
+
name: config.name,
|
|
321
|
+
queenType: config.queenType,
|
|
322
|
+
maxWorkers: config.maxWorkers,
|
|
323
|
+
consensusAlgorithm: config.consensusAlgorithm,
|
|
324
|
+
autoScale: config.autoScale,
|
|
325
|
+
encryption: config.encryption,
|
|
326
|
+
nonInteractive: true,
|
|
327
|
+
});
|
|
328
|
+
},
|
|
329
|
+
);
|
|
264
330
|
|
|
265
331
|
/**
|
|
266
332
|
* Spawn swarm wizard
|
|
@@ -271,13 +337,13 @@ async function spawnSwarmWizard() {
|
|
|
271
337
|
type: 'input',
|
|
272
338
|
name: 'objective',
|
|
273
339
|
message: 'What is the swarm objective?',
|
|
274
|
-
validate: input => input.trim().length > 0 || 'Please enter an objective'
|
|
340
|
+
validate: (input) => input.trim().length > 0 || 'Please enter an objective',
|
|
275
341
|
},
|
|
276
342
|
{
|
|
277
343
|
type: 'input',
|
|
278
344
|
name: 'name',
|
|
279
345
|
message: 'Swarm name (optional):',
|
|
280
|
-
default: answers => `swarm-${Date.now()}
|
|
346
|
+
default: (answers) => `swarm-${Date.now()}`,
|
|
281
347
|
},
|
|
282
348
|
{
|
|
283
349
|
type: 'list',
|
|
@@ -286,16 +352,16 @@ async function spawnSwarmWizard() {
|
|
|
286
352
|
choices: [
|
|
287
353
|
{ name: 'Strategic - High-level planning and coordination', value: 'strategic' },
|
|
288
354
|
{ name: 'Tactical - Detailed task management', value: 'tactical' },
|
|
289
|
-
{ name: 'Adaptive - Learns and adapts strategies', value: 'adaptive' }
|
|
355
|
+
{ name: 'Adaptive - Learns and adapts strategies', value: 'adaptive' },
|
|
290
356
|
],
|
|
291
|
-
default: 'strategic'
|
|
357
|
+
default: 'strategic',
|
|
292
358
|
},
|
|
293
359
|
{
|
|
294
360
|
type: 'number',
|
|
295
361
|
name: 'maxWorkers',
|
|
296
362
|
message: 'Maximum number of worker agents:',
|
|
297
363
|
default: 8,
|
|
298
|
-
validate: input => input > 0 && input <= 20 || 'Please enter a number between 1 and 20'
|
|
364
|
+
validate: (input) => (input > 0 && input <= 20) || 'Please enter a number between 1 and 20',
|
|
299
365
|
},
|
|
300
366
|
{
|
|
301
367
|
type: 'checkbox',
|
|
@@ -309,8 +375,8 @@ async function spawnSwarmWizard() {
|
|
|
309
375
|
{ name: 'Architect', value: 'architect' },
|
|
310
376
|
{ name: 'Reviewer', value: 'reviewer' },
|
|
311
377
|
{ name: 'Optimizer', value: 'optimizer' },
|
|
312
|
-
{ name: 'Documenter', value: 'documenter' }
|
|
313
|
-
]
|
|
378
|
+
{ name: 'Documenter', value: 'documenter' },
|
|
379
|
+
],
|
|
314
380
|
},
|
|
315
381
|
{
|
|
316
382
|
type: 'list',
|
|
@@ -319,33 +385,38 @@ async function spawnSwarmWizard() {
|
|
|
319
385
|
choices: [
|
|
320
386
|
{ name: 'Majority - Simple majority voting', value: 'majority' },
|
|
321
387
|
{ name: 'Weighted - Expertise-weighted voting', value: 'weighted' },
|
|
322
|
-
{ name: 'Byzantine - Fault-tolerant consensus', value: 'byzantine' }
|
|
388
|
+
{ name: 'Byzantine - Fault-tolerant consensus', value: 'byzantine' },
|
|
323
389
|
],
|
|
324
|
-
default: 'majority'
|
|
390
|
+
default: 'majority',
|
|
325
391
|
},
|
|
326
392
|
{
|
|
327
393
|
type: 'confirm',
|
|
328
394
|
name: 'autoScale',
|
|
329
395
|
message: 'Enable auto-scaling?',
|
|
330
|
-
default: true
|
|
396
|
+
default: true,
|
|
331
397
|
},
|
|
332
398
|
{
|
|
333
399
|
type: 'confirm',
|
|
334
400
|
name: 'monitor',
|
|
335
401
|
message: 'Launch monitoring dashboard?',
|
|
336
|
-
default: true
|
|
337
|
-
}
|
|
402
|
+
default: true,
|
|
403
|
+
},
|
|
338
404
|
]);
|
|
339
|
-
|
|
405
|
+
|
|
340
406
|
// Spawn the swarm with collected parameters
|
|
341
407
|
await spawnSwarm([answers.objective], {
|
|
342
408
|
name: answers.name,
|
|
343
409
|
queenType: answers.queenType,
|
|
410
|
+
'queen-type': answers.queenType,
|
|
344
411
|
maxWorkers: answers.maxWorkers,
|
|
412
|
+
'max-workers': answers.maxWorkers,
|
|
345
413
|
workerTypes: answers.workerTypes.join(','),
|
|
346
414
|
consensus: answers.consensusAlgorithm,
|
|
347
415
|
autoScale: answers.autoScale,
|
|
348
|
-
|
|
416
|
+
'auto-scale': answers.autoScale,
|
|
417
|
+
monitor: answers.monitor,
|
|
418
|
+
namespace: answers.namespace || 'default',
|
|
419
|
+
verbose: answers.verbose || false,
|
|
349
420
|
});
|
|
350
421
|
}
|
|
351
422
|
|
|
@@ -354,47 +425,110 @@ async function spawnSwarmWizard() {
|
|
|
354
425
|
*/
|
|
355
426
|
async function spawnSwarm(args, flags) {
|
|
356
427
|
const objective = args.join(' ').trim();
|
|
357
|
-
|
|
428
|
+
|
|
358
429
|
if (!objective && !flags.wizard) {
|
|
359
430
|
console.error(chalk.red('Error: Please provide an objective or use --wizard flag'));
|
|
360
431
|
console.log('Example: claude-flow hive-mind spawn "Build REST API"');
|
|
361
432
|
return;
|
|
362
433
|
}
|
|
363
|
-
|
|
434
|
+
|
|
435
|
+
// Validate parameters
|
|
436
|
+
if (flags.verbose) {
|
|
437
|
+
console.log(chalk.gray('π Debug: Parsed flags:'));
|
|
438
|
+
console.log(chalk.gray(JSON.stringify(flags, null, 2)));
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
// Validate queen type
|
|
442
|
+
const validQueenTypes = ['strategic', 'tactical', 'adaptive'];
|
|
443
|
+
const queenType = flags.queenType || flags['queen-type'] || 'strategic';
|
|
444
|
+
if (!validQueenTypes.includes(queenType)) {
|
|
445
|
+
console.error(chalk.red(`Error: Invalid queen type '${queenType}'. Must be one of: ${validQueenTypes.join(', ')}`));
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
// Validate max workers
|
|
450
|
+
const maxWorkers = parseInt(flags.maxWorkers || flags['max-workers'] || '8');
|
|
451
|
+
if (isNaN(maxWorkers) || maxWorkers < 1 || maxWorkers > 20) {
|
|
452
|
+
console.error(chalk.red('Error: max-workers must be a number between 1 and 20'));
|
|
453
|
+
return;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
// Validate consensus algorithm
|
|
457
|
+
const validConsensusTypes = ['majority', 'weighted', 'byzantine'];
|
|
458
|
+
const consensusAlgorithm = flags.consensus || flags.consensusAlgorithm || 'majority';
|
|
459
|
+
if (!validConsensusTypes.includes(consensusAlgorithm)) {
|
|
460
|
+
console.error(chalk.red(`Error: Invalid consensus algorithm '${consensusAlgorithm}'. Must be one of: ${validConsensusTypes.join(', ')}`));
|
|
461
|
+
return;
|
|
462
|
+
}
|
|
463
|
+
|
|
364
464
|
const spinner = ora('Spawning Hive Mind swarm...').start();
|
|
365
|
-
|
|
465
|
+
|
|
366
466
|
try {
|
|
367
|
-
// Initialize hive mind core
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
467
|
+
// Initialize hive mind core with error handling
|
|
468
|
+
let hiveMind;
|
|
469
|
+
try {
|
|
470
|
+
spinner.text = 'Initializing Hive Mind Core...';
|
|
471
|
+
hiveMind = new HiveMindCore({
|
|
472
|
+
objective,
|
|
473
|
+
name: flags.name || `hive-${Date.now()}`,
|
|
474
|
+
queenType: flags.queenType || flags['queen-type'] || 'strategic',
|
|
475
|
+
maxWorkers: parseInt(flags.maxWorkers || flags['max-workers'] || '8'),
|
|
476
|
+
consensusAlgorithm: flags.consensus || flags.consensusAlgorithm || 'majority',
|
|
477
|
+
autoScale: flags.autoScale !== undefined ? flags.autoScale : (flags['auto-scale'] !== undefined ? flags['auto-scale'] : true),
|
|
478
|
+
namespace: flags.namespace || 'default',
|
|
479
|
+
encryption: flags.encryption || false,
|
|
480
|
+
});
|
|
481
|
+
} catch (error) {
|
|
482
|
+
console.error('HiveMindCore initialization failed:', error);
|
|
483
|
+
throw new Error(`Failed to initialize HiveMindCore: ${error.message}`);
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
spinner.text = 'Setting up database connection...';
|
|
378
487
|
// Initialize database connection
|
|
379
488
|
const dbDir = path.join(cwd(), '.hive-mind');
|
|
380
489
|
const dbPath = path.join(dbDir, 'hive.db');
|
|
381
|
-
|
|
490
|
+
|
|
382
491
|
// Ensure .hive-mind directory exists
|
|
383
492
|
if (!existsSync(dbDir)) {
|
|
384
493
|
mkdirSync(dbDir, { recursive: true });
|
|
385
494
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
495
|
+
|
|
496
|
+
// Check if database file exists and try to create a clean one if needed
|
|
497
|
+
let db;
|
|
498
|
+
try {
|
|
499
|
+
spinner.text = 'Creating database connection...';
|
|
500
|
+
db = new Database(dbPath);
|
|
501
|
+
// Test the database with a simple query
|
|
502
|
+
db.prepare('SELECT 1').get();
|
|
503
|
+
spinner.text = 'Database connection established';
|
|
504
|
+
} catch (error) {
|
|
505
|
+
console.warn('Database issue detected, recreating...', error.message);
|
|
506
|
+
spinner.text = 'Recreating database...';
|
|
507
|
+
// Remove corrupted database
|
|
508
|
+
if (existsSync(dbPath)) {
|
|
509
|
+
try {
|
|
510
|
+
const fs = await import('fs');
|
|
511
|
+
fs.unlinkSync(dbPath);
|
|
512
|
+
} catch (e) {
|
|
513
|
+
console.warn('Could not remove corrupted database:', e.message);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
// Create new database
|
|
517
|
+
db = new Database(dbPath);
|
|
518
|
+
}
|
|
519
|
+
|
|
389
520
|
// Initialize database schema if not exists
|
|
390
|
-
|
|
521
|
+
spinner.text = 'Creating database schema...';
|
|
522
|
+
try {
|
|
523
|
+
db.exec(`
|
|
391
524
|
CREATE TABLE IF NOT EXISTS swarms (
|
|
392
525
|
id TEXT PRIMARY KEY,
|
|
393
526
|
name TEXT NOT NULL,
|
|
394
527
|
objective TEXT,
|
|
395
528
|
queen_type TEXT,
|
|
396
529
|
status TEXT DEFAULT 'active',
|
|
397
|
-
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
|
530
|
+
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
531
|
+
updated_at DATETIME
|
|
398
532
|
);
|
|
399
533
|
|
|
400
534
|
CREATE TABLE IF NOT EXISTS agents (
|
|
@@ -415,29 +549,105 @@ async function spawnSwarm(args, flags) {
|
|
|
415
549
|
agent_id TEXT,
|
|
416
550
|
description TEXT,
|
|
417
551
|
status TEXT DEFAULT 'pending',
|
|
552
|
+
priority INTEGER DEFAULT 5,
|
|
418
553
|
result TEXT,
|
|
419
554
|
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
555
|
+
completed_at DATETIME,
|
|
420
556
|
FOREIGN KEY (swarm_id) REFERENCES swarms(id),
|
|
421
557
|
FOREIGN KEY (agent_id) REFERENCES agents(id)
|
|
422
558
|
);
|
|
559
|
+
|
|
560
|
+
CREATE TABLE IF NOT EXISTS collective_memory (
|
|
561
|
+
id TEXT PRIMARY KEY,
|
|
562
|
+
swarm_id TEXT,
|
|
563
|
+
key TEXT NOT NULL,
|
|
564
|
+
value TEXT,
|
|
565
|
+
type TEXT DEFAULT 'knowledge',
|
|
566
|
+
confidence REAL DEFAULT 1.0,
|
|
567
|
+
created_by TEXT,
|
|
568
|
+
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
569
|
+
accessed_at DATETIME,
|
|
570
|
+
access_count INTEGER DEFAULT 0,
|
|
571
|
+
compressed INTEGER DEFAULT 0,
|
|
572
|
+
size INTEGER DEFAULT 0,
|
|
573
|
+
FOREIGN KEY (swarm_id) REFERENCES swarms(id)
|
|
574
|
+
);
|
|
575
|
+
|
|
576
|
+
CREATE TABLE IF NOT EXISTS consensus_decisions (
|
|
577
|
+
id TEXT PRIMARY KEY,
|
|
578
|
+
swarm_id TEXT,
|
|
579
|
+
topic TEXT NOT NULL,
|
|
580
|
+
decision TEXT,
|
|
581
|
+
votes TEXT,
|
|
582
|
+
algorithm TEXT DEFAULT 'majority',
|
|
583
|
+
confidence REAL,
|
|
584
|
+
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
585
|
+
FOREIGN KEY (swarm_id) REFERENCES swarms(id)
|
|
586
|
+
);
|
|
423
587
|
`);
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
588
|
+
spinner.text = 'Database schema created successfully';
|
|
589
|
+
} catch (error) {
|
|
590
|
+
console.error('Database schema creation failed:', error);
|
|
591
|
+
throw new Error(`Failed to create database schema: ${error.message}`);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
// Create swarm record with safe ID generation
|
|
595
|
+
spinner.text = 'Creating swarm record...';
|
|
596
|
+
const timestamp = Date.now();
|
|
597
|
+
const randomPart = Math.random().toString(36).substring(2, 11); // Use substring instead of substr
|
|
598
|
+
const swarmId = `swarm-${timestamp}-${randomPart}`;
|
|
599
|
+
try {
|
|
600
|
+
db.prepare(
|
|
601
|
+
`
|
|
602
|
+
INSERT INTO swarms (id, name, objective, queen_type)
|
|
603
|
+
VALUES (?, ?, ?, ?)
|
|
604
|
+
`,
|
|
605
|
+
).run(swarmId, hiveMind.config.name, objective, hiveMind.config.queenType);
|
|
606
|
+
} catch (error) {
|
|
607
|
+
console.error('Failed to create swarm record:', error);
|
|
608
|
+
throw new Error(`Failed to create swarm record: ${error.message}`);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
// Create session for this swarm
|
|
612
|
+
spinner.text = 'Creating session tracking...';
|
|
613
|
+
const sessionManager = new HiveMindSessionManager();
|
|
614
|
+
const sessionId = await sessionManager.createSession(swarmId, hiveMind.config.name, objective, {
|
|
615
|
+
queenType: hiveMind.config.queenType,
|
|
616
|
+
maxWorkers: hiveMind.config.maxWorkers,
|
|
617
|
+
consensusAlgorithm: hiveMind.config.consensusAlgorithm,
|
|
618
|
+
autoScale: hiveMind.config.autoScale,
|
|
619
|
+
encryption: hiveMind.config.encryption,
|
|
620
|
+
workerTypes: flags.workerTypes,
|
|
621
|
+
});
|
|
622
|
+
|
|
623
|
+
spinner.text = 'Session tracking established...';
|
|
624
|
+
|
|
625
|
+
// Initialize auto-save middleware (use the same session manager)
|
|
626
|
+
const autoSave = createAutoSaveMiddleware(sessionId, sessionManager, {
|
|
627
|
+
saveInterval: 30000, // Save every 30 seconds
|
|
628
|
+
autoStart: true,
|
|
629
|
+
});
|
|
630
|
+
|
|
631
|
+
// Close session manager after auto-save is set up
|
|
632
|
+
// sessionManager.close(); // Don't close yet as auto-save needs it
|
|
633
|
+
|
|
634
|
+
// Track initial swarm creation
|
|
635
|
+
autoSave.trackChange('swarm_created', {
|
|
636
|
+
swarmId,
|
|
637
|
+
swarmName: hiveMind.config.name,
|
|
638
|
+
objective,
|
|
639
|
+
workerCount: hiveMind.config.maxWorkers,
|
|
640
|
+
});
|
|
641
|
+
|
|
432
642
|
spinner.text = 'Initializing Queen coordinator...';
|
|
433
|
-
|
|
643
|
+
|
|
434
644
|
// Initialize Queen
|
|
435
645
|
const queen = new QueenCoordinator({
|
|
436
646
|
swarmId,
|
|
437
647
|
type: hiveMind.config.queenType,
|
|
438
|
-
objective
|
|
648
|
+
objective,
|
|
439
649
|
});
|
|
440
|
-
|
|
650
|
+
|
|
441
651
|
// Spawn Queen agent
|
|
442
652
|
const queenAgent = {
|
|
443
653
|
id: `queen-${swarmId}`,
|
|
@@ -446,27 +656,29 @@ async function spawnSwarm(args, flags) {
|
|
|
446
656
|
type: 'coordinator',
|
|
447
657
|
role: 'queen',
|
|
448
658
|
status: 'active',
|
|
449
|
-
capabilities: JSON.stringify(['coordination', 'planning', 'decision-making'])
|
|
659
|
+
capabilities: JSON.stringify(['coordination', 'planning', 'decision-making']),
|
|
450
660
|
};
|
|
451
|
-
|
|
452
|
-
db.prepare(
|
|
661
|
+
|
|
662
|
+
db.prepare(
|
|
663
|
+
`
|
|
453
664
|
INSERT INTO agents (id, swarm_id, name, type, role, status, capabilities)
|
|
454
665
|
VALUES (?, ?, ?, ?, ?, ?, ?)
|
|
455
|
-
|
|
456
|
-
|
|
666
|
+
`,
|
|
667
|
+
).run(...Object.values(queenAgent));
|
|
668
|
+
|
|
457
669
|
spinner.text = 'Spawning worker agents...';
|
|
458
|
-
|
|
670
|
+
|
|
459
671
|
// Determine worker types
|
|
460
|
-
const workerTypes = flags.workerTypes
|
|
461
|
-
? flags.workerTypes.split(',')
|
|
672
|
+
const workerTypes = flags.workerTypes
|
|
673
|
+
? flags.workerTypes.split(',')
|
|
462
674
|
: ['researcher', 'coder', 'analyst', 'tester'];
|
|
463
|
-
|
|
675
|
+
|
|
464
676
|
// Spawn worker agents
|
|
465
677
|
const workers = [];
|
|
466
678
|
for (let i = 0; i < Math.min(workerTypes.length, hiveMind.config.maxWorkers); i++) {
|
|
467
679
|
const workerType = workerTypes[i % workerTypes.length];
|
|
468
680
|
const workerId = `worker-${swarmId}-${i}`;
|
|
469
|
-
|
|
681
|
+
|
|
470
682
|
const worker = {
|
|
471
683
|
id: workerId,
|
|
472
684
|
swarmId,
|
|
@@ -474,46 +686,56 @@ async function spawnSwarm(args, flags) {
|
|
|
474
686
|
type: workerType,
|
|
475
687
|
role: 'worker',
|
|
476
688
|
status: 'idle',
|
|
477
|
-
capabilities: JSON.stringify(getAgentCapabilities(workerType))
|
|
689
|
+
capabilities: JSON.stringify(getAgentCapabilities(workerType)),
|
|
478
690
|
};
|
|
479
|
-
|
|
691
|
+
|
|
480
692
|
workers.push(worker);
|
|
481
|
-
|
|
482
|
-
db.prepare(
|
|
693
|
+
|
|
694
|
+
db.prepare(
|
|
695
|
+
`
|
|
483
696
|
INSERT INTO agents (id, swarm_id, name, type, role, status, capabilities)
|
|
484
697
|
VALUES (?, ?, ?, ?, ?, ?, ?)
|
|
485
|
-
|
|
698
|
+
`,
|
|
699
|
+
).run(...Object.values(worker));
|
|
700
|
+
|
|
701
|
+
// Track agent spawning for auto-save
|
|
702
|
+
autoSave.trackAgentActivity(workerId, 'spawned', {
|
|
703
|
+
type: workerType,
|
|
704
|
+
name: worker.name,
|
|
705
|
+
});
|
|
486
706
|
}
|
|
487
|
-
|
|
707
|
+
|
|
488
708
|
spinner.text = 'Initializing collective memory...';
|
|
489
|
-
|
|
709
|
+
|
|
490
710
|
// Initialize collective memory
|
|
491
711
|
const memory = new CollectiveMemory({
|
|
492
712
|
swarmId,
|
|
493
|
-
maxSize: flags.memorySize || 100
|
|
713
|
+
maxSize: flags.memorySize || 100,
|
|
494
714
|
});
|
|
495
|
-
|
|
715
|
+
|
|
496
716
|
// Store initial context
|
|
497
717
|
memory.store('objective', objective, 'context');
|
|
498
718
|
memory.store('queen_type', hiveMind.config.queenType, 'config');
|
|
499
719
|
memory.store('worker_count', workers.length, 'metrics');
|
|
500
|
-
|
|
720
|
+
memory.store('session_id', sessionId, 'system');
|
|
721
|
+
|
|
501
722
|
spinner.text = 'Establishing communication channels...';
|
|
502
|
-
|
|
723
|
+
|
|
503
724
|
// Initialize communication system
|
|
504
725
|
const communication = new SwarmCommunication({
|
|
505
726
|
swarmId,
|
|
506
|
-
encryption: hiveMind.config.encryption
|
|
727
|
+
encryption: hiveMind.config.encryption,
|
|
507
728
|
});
|
|
508
|
-
|
|
729
|
+
|
|
509
730
|
db.close();
|
|
510
|
-
|
|
731
|
+
|
|
511
732
|
spinner.succeed('Hive Mind swarm spawned successfully!');
|
|
512
|
-
|
|
733
|
+
|
|
513
734
|
// Display swarm summary
|
|
514
735
|
console.log('\n' + chalk.bold('π Swarm Summary:'));
|
|
515
736
|
console.log(chalk.gray('β'.repeat(50)));
|
|
516
737
|
console.log(chalk.cyan('Swarm ID:'), swarmId);
|
|
738
|
+
console.log(chalk.cyan('Session ID:'), sessionId);
|
|
517
739
|
console.log(chalk.cyan('Name:'), hiveMind.config.name);
|
|
518
740
|
console.log(chalk.cyan('Objective:'), objective);
|
|
519
741
|
console.log(chalk.cyan('Queen Type:'), hiveMind.config.queenType);
|
|
@@ -522,28 +744,100 @@ async function spawnSwarm(args, flags) {
|
|
|
522
744
|
console.log(chalk.cyan('Consensus:'), hiveMind.config.consensusAlgorithm);
|
|
523
745
|
console.log(chalk.cyan('Auto-scaling:'), hiveMind.config.autoScale ? 'Enabled' : 'Disabled');
|
|
524
746
|
console.log(chalk.gray('β'.repeat(50)));
|
|
525
|
-
|
|
747
|
+
|
|
526
748
|
// Launch monitoring if requested
|
|
527
749
|
if (flags.monitor) {
|
|
528
750
|
console.log('\n' + chalk.yellow('Launching monitoring dashboard...'));
|
|
529
751
|
// TODO: Implement monitoring dashboard
|
|
530
752
|
}
|
|
531
|
-
|
|
753
|
+
|
|
532
754
|
// Enhanced coordination instructions with MCP tools
|
|
533
755
|
console.log('\n' + chalk.green('β') + ' Swarm is ready for coordination');
|
|
534
756
|
console.log(chalk.gray('Use "claude-flow hive-mind status" to view swarm activity'));
|
|
535
|
-
|
|
757
|
+
console.log(chalk.gray('Session auto-save enabled - progress saved every 30 seconds'));
|
|
758
|
+
console.log(chalk.blue('π‘ To pause:') + ' Press Ctrl+C to safely pause and resume later');
|
|
759
|
+
console.log(chalk.blue('π‘ To resume:') + ' claude-flow hive-mind resume ' + sessionId);
|
|
760
|
+
|
|
761
|
+
// Set up SIGINT handler for automatic session pausing
|
|
762
|
+
let isExiting = false;
|
|
763
|
+
const sigintHandler = async () => {
|
|
764
|
+
if (isExiting) return;
|
|
765
|
+
isExiting = true;
|
|
766
|
+
|
|
767
|
+
console.log('\n\n' + chalk.yellow('βΈοΈ Pausing session...'));
|
|
768
|
+
|
|
769
|
+
try {
|
|
770
|
+
// Save current checkpoint using the existing session manager
|
|
771
|
+
// const sessionManager = new HiveMindSessionManager(); // Use existing one
|
|
772
|
+
|
|
773
|
+
// Create checkpoint data
|
|
774
|
+
const checkpointData = {
|
|
775
|
+
timestamp: new Date().toISOString(),
|
|
776
|
+
swarmId,
|
|
777
|
+
objective,
|
|
778
|
+
workerCount: workers.length,
|
|
779
|
+
workerTypes,
|
|
780
|
+
status: 'paused_by_user',
|
|
781
|
+
reason: 'User pressed Ctrl+C',
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
// Save checkpoint
|
|
785
|
+
await sessionManager.saveCheckpoint(sessionId, 'auto-pause', checkpointData);
|
|
786
|
+
|
|
787
|
+
// Pause the session
|
|
788
|
+
await sessionManager.pauseSession(sessionId);
|
|
789
|
+
|
|
790
|
+
// Close session manager
|
|
791
|
+
sessionManager.close();
|
|
792
|
+
|
|
793
|
+
console.log(chalk.green('β') + ' Session paused successfully');
|
|
794
|
+
console.log(chalk.cyan('\nTo resume this session, run:'));
|
|
795
|
+
console.log(chalk.bold(` claude-flow hive-mind resume ${sessionId}`));
|
|
796
|
+
console.log();
|
|
797
|
+
|
|
798
|
+
// Clean up auto-save if active
|
|
799
|
+
if (global.autoSaveInterval) {
|
|
800
|
+
clearInterval(global.autoSaveInterval);
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
process.exit(0);
|
|
804
|
+
} catch (error) {
|
|
805
|
+
console.error(chalk.red('Error pausing session:'), error.message);
|
|
806
|
+
process.exit(1);
|
|
807
|
+
}
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
// Register SIGINT handler
|
|
811
|
+
process.on('SIGINT', sigintHandler);
|
|
812
|
+
process.on('SIGTERM', sigintHandler);
|
|
813
|
+
|
|
536
814
|
// Offer to spawn Claude Code instances with coordination instructions
|
|
537
815
|
if (flags.claude || flags.spawn) {
|
|
538
816
|
await spawnClaudeCodeInstances(swarmId, hiveMind.config.name, objective, workers, flags);
|
|
539
817
|
} else {
|
|
540
|
-
console.log(
|
|
818
|
+
console.log(
|
|
819
|
+
'\n' +
|
|
820
|
+
chalk.blue('π‘ Pro Tip:') +
|
|
821
|
+
' Add --claude to spawn coordinated Claude Code instances',
|
|
822
|
+
);
|
|
541
823
|
console.log(chalk.gray(' claude-flow hive-mind spawn "objective" --claude'));
|
|
542
824
|
}
|
|
543
|
-
|
|
544
825
|
} catch (error) {
|
|
545
826
|
spinner.fail('Failed to spawn Hive Mind swarm');
|
|
546
827
|
console.error(chalk.red('Error:'), error.message);
|
|
828
|
+
|
|
829
|
+
// If error contains "sha3", provide specific guidance
|
|
830
|
+
if (error.message.includes('sha3') || error.message.includes('SHA3')) {
|
|
831
|
+
console.error('\nπ SHA3 Function Error Detected');
|
|
832
|
+
console.error('This appears to be a SQLite extension or better-sqlite3 configuration issue.');
|
|
833
|
+
console.error('\nPossible solutions:');
|
|
834
|
+
console.error('1. Try removing the corrupted database: rm -rf .hive-mind/');
|
|
835
|
+
console.error('2. Reinstall better-sqlite3: npm reinstall better-sqlite3');
|
|
836
|
+
console.error('3. Check if any SQLite extensions are conflicting');
|
|
837
|
+
console.error('\nπ¨ Detailed error:');
|
|
838
|
+
console.error(error.stack || error.message);
|
|
839
|
+
}
|
|
840
|
+
|
|
547
841
|
exit(1);
|
|
548
842
|
}
|
|
549
843
|
}
|
|
@@ -560,9 +854,9 @@ function getAgentCapabilities(type) {
|
|
|
560
854
|
architect: ['system-design', 'architecture', 'planning', 'documentation'],
|
|
561
855
|
reviewer: ['code-review', 'quality-check', 'feedback', 'improvement'],
|
|
562
856
|
optimizer: ['performance-tuning', 'optimization', 'profiling', 'enhancement'],
|
|
563
|
-
documenter: ['documentation', 'explanation', 'tutorial-creation', 'knowledge-base']
|
|
857
|
+
documenter: ['documentation', 'explanation', 'tutorial-creation', 'knowledge-base'],
|
|
564
858
|
};
|
|
565
|
-
|
|
859
|
+
|
|
566
860
|
return capabilities[type] || ['general'];
|
|
567
861
|
}
|
|
568
862
|
|
|
@@ -572,30 +866,34 @@ function getAgentCapabilities(type) {
|
|
|
572
866
|
async function showStatus(flags) {
|
|
573
867
|
try {
|
|
574
868
|
const dbPath = path.join(cwd(), '.hive-mind', 'hive.db');
|
|
575
|
-
|
|
869
|
+
|
|
576
870
|
if (!existsSync(dbPath)) {
|
|
577
871
|
console.error(chalk.red('Error: Hive Mind not initialized'));
|
|
578
872
|
console.log('Run "claude-flow hive-mind init" first');
|
|
579
873
|
return;
|
|
580
874
|
}
|
|
581
|
-
|
|
875
|
+
|
|
582
876
|
const db = new Database(dbPath);
|
|
583
|
-
|
|
877
|
+
|
|
584
878
|
// Get active swarms
|
|
585
|
-
const swarms = db
|
|
879
|
+
const swarms = db
|
|
880
|
+
.prepare(
|
|
881
|
+
`
|
|
586
882
|
SELECT * FROM swarms
|
|
587
883
|
WHERE status = 'active'
|
|
588
884
|
ORDER BY created_at DESC
|
|
589
|
-
|
|
590
|
-
|
|
885
|
+
`,
|
|
886
|
+
)
|
|
887
|
+
.all();
|
|
888
|
+
|
|
591
889
|
if (swarms.length === 0) {
|
|
592
890
|
console.log(chalk.gray('No active swarms found'));
|
|
593
891
|
db.close();
|
|
594
892
|
return;
|
|
595
893
|
}
|
|
596
|
-
|
|
894
|
+
|
|
597
895
|
console.log(chalk.bold('\nπ Active Hive Mind Swarms\n'));
|
|
598
|
-
|
|
896
|
+
|
|
599
897
|
for (const swarm of swarms) {
|
|
600
898
|
console.log(chalk.yellow('β'.repeat(60)));
|
|
601
899
|
console.log(chalk.cyan('Swarm:'), swarm.name);
|
|
@@ -604,32 +902,38 @@ async function showStatus(flags) {
|
|
|
604
902
|
console.log(chalk.cyan('Queen Type:'), swarm.queen_type);
|
|
605
903
|
console.log(chalk.cyan('Status:'), chalk.green(swarm.status));
|
|
606
904
|
console.log(chalk.cyan('Created:'), new Date(swarm.created_at).toLocaleString());
|
|
607
|
-
|
|
905
|
+
|
|
608
906
|
// Get agents
|
|
609
|
-
const agents = db
|
|
907
|
+
const agents = db
|
|
908
|
+
.prepare(
|
|
909
|
+
`
|
|
610
910
|
SELECT * FROM agents
|
|
611
911
|
WHERE swarm_id = ?
|
|
612
|
-
|
|
613
|
-
|
|
912
|
+
`,
|
|
913
|
+
)
|
|
914
|
+
.all(swarm.id);
|
|
915
|
+
|
|
614
916
|
console.log('\n' + chalk.bold('Agents:'));
|
|
615
|
-
|
|
917
|
+
|
|
616
918
|
// Group by role
|
|
617
|
-
const queen = agents.find(a => a.role === 'queen');
|
|
618
|
-
const workers = agents.filter(a => a.role === 'worker');
|
|
619
|
-
|
|
919
|
+
const queen = agents.find((a) => a.role === 'queen');
|
|
920
|
+
const workers = agents.filter((a) => a.role === 'worker');
|
|
921
|
+
|
|
620
922
|
if (queen) {
|
|
621
923
|
console.log(' ' + chalk.magenta('π Queen:'), queen.name, chalk.gray(`(${queen.status})`));
|
|
622
924
|
}
|
|
623
|
-
|
|
925
|
+
|
|
624
926
|
console.log(' ' + chalk.blue('π Workers:'));
|
|
625
|
-
workers.forEach(worker => {
|
|
626
|
-
const statusColor =
|
|
627
|
-
|
|
927
|
+
workers.forEach((worker) => {
|
|
928
|
+
const statusColor =
|
|
929
|
+
worker.status === 'active' ? 'green' : worker.status === 'busy' ? 'yellow' : 'gray';
|
|
628
930
|
console.log(` - ${worker.name} (${worker.type}) ${chalk[statusColor](worker.status)}`);
|
|
629
931
|
});
|
|
630
|
-
|
|
932
|
+
|
|
631
933
|
// Get task statistics
|
|
632
|
-
const taskStats = db
|
|
934
|
+
const taskStats = db
|
|
935
|
+
.prepare(
|
|
936
|
+
`
|
|
633
937
|
SELECT
|
|
634
938
|
COUNT(*) as total,
|
|
635
939
|
SUM(CASE WHEN status = 'completed' THEN 1 ELSE 0 END) as completed,
|
|
@@ -637,37 +941,46 @@ async function showStatus(flags) {
|
|
|
637
941
|
SUM(CASE WHEN status = 'pending' THEN 1 ELSE 0 END) as pending
|
|
638
942
|
FROM tasks
|
|
639
943
|
WHERE swarm_id = ?
|
|
640
|
-
|
|
641
|
-
|
|
944
|
+
`,
|
|
945
|
+
)
|
|
946
|
+
.get(swarm.id);
|
|
947
|
+
|
|
642
948
|
console.log('\n' + chalk.bold('Tasks:'));
|
|
643
949
|
console.log(` Total: ${taskStats.total}`);
|
|
644
950
|
console.log(` Completed: ${chalk.green(taskStats.completed)}`);
|
|
645
951
|
console.log(` In Progress: ${chalk.yellow(taskStats.in_progress)}`);
|
|
646
952
|
console.log(` Pending: ${chalk.gray(taskStats.pending)}`);
|
|
647
|
-
|
|
953
|
+
|
|
648
954
|
// Get memory stats
|
|
649
|
-
const memoryCount = db
|
|
955
|
+
const memoryCount = db
|
|
956
|
+
.prepare(
|
|
957
|
+
`
|
|
650
958
|
SELECT COUNT(*) as count FROM collective_memory
|
|
651
959
|
WHERE swarm_id = ?
|
|
652
|
-
|
|
653
|
-
|
|
960
|
+
`,
|
|
961
|
+
)
|
|
962
|
+
.get(swarm.id);
|
|
963
|
+
|
|
654
964
|
console.log('\n' + chalk.bold('Collective Memory:'));
|
|
655
965
|
console.log(` Entries: ${memoryCount.count}`);
|
|
656
|
-
|
|
966
|
+
|
|
657
967
|
// Get consensus stats
|
|
658
|
-
const consensusCount = db
|
|
968
|
+
const consensusCount = db
|
|
969
|
+
.prepare(
|
|
970
|
+
`
|
|
659
971
|
SELECT COUNT(*) as count FROM consensus_decisions
|
|
660
972
|
WHERE swarm_id = ?
|
|
661
|
-
|
|
662
|
-
|
|
973
|
+
`,
|
|
974
|
+
)
|
|
975
|
+
.get(swarm.id);
|
|
976
|
+
|
|
663
977
|
console.log('\n' + chalk.bold('Consensus Decisions:'));
|
|
664
978
|
console.log(` Total: ${consensusCount.count}`);
|
|
665
979
|
}
|
|
666
|
-
|
|
980
|
+
|
|
667
981
|
console.log(chalk.yellow('β'.repeat(60)) + '\n');
|
|
668
|
-
|
|
982
|
+
|
|
669
983
|
db.close();
|
|
670
|
-
|
|
671
984
|
} catch (error) {
|
|
672
985
|
console.error(chalk.red('Error:'), error.message);
|
|
673
986
|
exit(1);
|
|
@@ -681,24 +994,28 @@ async function showConsensus(flags) {
|
|
|
681
994
|
try {
|
|
682
995
|
const dbPath = path.join(cwd(), '.hive-mind', 'hive.db');
|
|
683
996
|
const db = new Database(dbPath);
|
|
684
|
-
|
|
685
|
-
const decisions = db
|
|
997
|
+
|
|
998
|
+
const decisions = db
|
|
999
|
+
.prepare(
|
|
1000
|
+
`
|
|
686
1001
|
SELECT cd.*, s.name as swarm_name
|
|
687
1002
|
FROM consensus_decisions cd
|
|
688
1003
|
JOIN swarms s ON cd.swarm_id = s.id
|
|
689
1004
|
ORDER BY cd.created_at DESC
|
|
690
1005
|
LIMIT 20
|
|
691
|
-
|
|
692
|
-
|
|
1006
|
+
`,
|
|
1007
|
+
)
|
|
1008
|
+
.all();
|
|
1009
|
+
|
|
693
1010
|
if (decisions.length === 0) {
|
|
694
1011
|
console.log(chalk.gray('No consensus decisions found'));
|
|
695
1012
|
db.close();
|
|
696
1013
|
return;
|
|
697
1014
|
}
|
|
698
|
-
|
|
1015
|
+
|
|
699
1016
|
console.log(chalk.bold('\nπ€ Recent Consensus Decisions\n'));
|
|
700
|
-
|
|
701
|
-
decisions.forEach(decision => {
|
|
1017
|
+
|
|
1018
|
+
decisions.forEach((decision) => {
|
|
702
1019
|
console.log(chalk.yellow('β'.repeat(50)));
|
|
703
1020
|
console.log(chalk.cyan('Swarm:'), decision.swarm_name);
|
|
704
1021
|
console.log(chalk.cyan('Topic:'), decision.topic);
|
|
@@ -706,35 +1023,40 @@ async function showConsensus(flags) {
|
|
|
706
1023
|
console.log(chalk.cyan('Algorithm:'), decision.algorithm);
|
|
707
1024
|
console.log(chalk.cyan('Confidence:'), `${(decision.confidence * 100).toFixed(1)}%`);
|
|
708
1025
|
console.log(chalk.cyan('Time:'), new Date(decision.created_at).toLocaleString());
|
|
709
|
-
|
|
1026
|
+
|
|
710
1027
|
if (decision.votes) {
|
|
711
1028
|
const votes = JSON.parse(decision.votes);
|
|
712
1029
|
console.log(chalk.cyan('Votes:'));
|
|
713
|
-
|
|
1030
|
+
|
|
714
1031
|
// Handle vote summary format (for/against/abstain/details)
|
|
715
1032
|
if (votes.for !== undefined || votes.against !== undefined || votes.abstain !== undefined) {
|
|
716
1033
|
console.log(` - for: ${votes.for || 0}`);
|
|
717
1034
|
console.log(` - against: ${votes.against || 0}`);
|
|
718
1035
|
console.log(` - abstain: ${votes.abstain || 0}`);
|
|
719
|
-
|
|
1036
|
+
|
|
720
1037
|
// Display vote details properly if they exist
|
|
721
1038
|
if (votes.details && Array.isArray(votes.details)) {
|
|
722
1039
|
console.log(' - details:');
|
|
723
1040
|
votes.details.forEach((detail, index) => {
|
|
724
1041
|
if (typeof detail === 'object') {
|
|
725
1042
|
// Extract available fields
|
|
726
|
-
const agent =
|
|
1043
|
+
const agent =
|
|
1044
|
+
detail.agentId ||
|
|
1045
|
+
detail.agent ||
|
|
1046
|
+
detail.id ||
|
|
1047
|
+
detail.name ||
|
|
1048
|
+
`agent-${index + 1}`;
|
|
727
1049
|
const vote = detail.vote || detail.choice || detail.decision || 'unknown';
|
|
728
1050
|
const reason = detail.reason || detail.justification || detail.rationale;
|
|
729
|
-
|
|
1051
|
+
|
|
730
1052
|
// Build display string
|
|
731
1053
|
let displayString = ` ${index + 1}. Agent: ${agent}, Vote: ${vote}`;
|
|
732
|
-
|
|
1054
|
+
|
|
733
1055
|
// Add reason if available
|
|
734
1056
|
if (reason && reason !== 'N/A' && reason !== '') {
|
|
735
1057
|
displayString += `, Reason: ${reason}`;
|
|
736
1058
|
}
|
|
737
|
-
|
|
1059
|
+
|
|
738
1060
|
console.log(displayString);
|
|
739
1061
|
} else {
|
|
740
1062
|
console.log(` ${index + 1}. ${detail}`);
|
|
@@ -749,11 +1071,10 @@ async function showConsensus(flags) {
|
|
|
749
1071
|
}
|
|
750
1072
|
}
|
|
751
1073
|
});
|
|
752
|
-
|
|
1074
|
+
|
|
753
1075
|
console.log(chalk.yellow('β'.repeat(50)) + '\n');
|
|
754
|
-
|
|
1076
|
+
|
|
755
1077
|
db.close();
|
|
756
|
-
|
|
757
1078
|
} catch (error) {
|
|
758
1079
|
console.error(chalk.red('Error:'), error.message);
|
|
759
1080
|
exit(1);
|
|
@@ -767,85 +1088,150 @@ async function showMetrics(flags) {
|
|
|
767
1088
|
try {
|
|
768
1089
|
const dbPath = path.join(cwd(), '.hive-mind', 'hive.db');
|
|
769
1090
|
const db = new Database(dbPath);
|
|
770
|
-
|
|
1091
|
+
|
|
771
1092
|
// Get overall metrics
|
|
772
|
-
const overallStats = db
|
|
1093
|
+
const overallStats = db
|
|
1094
|
+
.prepare(
|
|
1095
|
+
`
|
|
773
1096
|
SELECT
|
|
774
1097
|
(SELECT COUNT(*) FROM swarms) as total_swarms,
|
|
775
1098
|
(SELECT COUNT(*) FROM agents) as total_agents,
|
|
776
1099
|
(SELECT COUNT(*) FROM tasks) as total_tasks,
|
|
777
1100
|
(SELECT COUNT(*) FROM tasks WHERE status = 'completed') as completed_tasks
|
|
778
|
-
|
|
779
|
-
|
|
1101
|
+
`,
|
|
1102
|
+
)
|
|
1103
|
+
.get();
|
|
1104
|
+
|
|
780
1105
|
console.log(chalk.bold('\nπ Hive Mind Performance Metrics\n'));
|
|
781
|
-
|
|
1106
|
+
|
|
782
1107
|
// Get task status breakdown
|
|
783
|
-
const taskBreakdown = db
|
|
1108
|
+
const taskBreakdown = db
|
|
1109
|
+
.prepare(
|
|
1110
|
+
`
|
|
784
1111
|
SELECT
|
|
785
1112
|
status,
|
|
786
1113
|
COUNT(*) as count
|
|
787
1114
|
FROM tasks
|
|
788
1115
|
GROUP BY status
|
|
789
1116
|
ORDER BY count DESC
|
|
790
|
-
|
|
1117
|
+
`,
|
|
1118
|
+
)
|
|
1119
|
+
.all();
|
|
791
1120
|
|
|
792
1121
|
console.log(chalk.cyan('Overall Statistics:'));
|
|
793
1122
|
console.log(` Total Swarms: ${overallStats.total_swarms}`);
|
|
794
1123
|
console.log(` Total Agents: ${overallStats.total_agents}`);
|
|
795
1124
|
console.log(` Total Tasks: ${overallStats.total_tasks}`);
|
|
796
1125
|
console.log(` Completed Tasks: ${overallStats.completed_tasks}`);
|
|
797
|
-
console.log(
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
1126
|
+
console.log(
|
|
1127
|
+
` Success Rate: ${
|
|
1128
|
+
overallStats.total_tasks > 0
|
|
1129
|
+
? ((overallStats.completed_tasks / overallStats.total_tasks) * 100).toFixed(1) + '%'
|
|
1130
|
+
: 'N/A'
|
|
1131
|
+
}`,
|
|
1132
|
+
);
|
|
1133
|
+
|
|
801
1134
|
if (taskBreakdown.length > 0) {
|
|
802
1135
|
console.log('\n' + chalk.cyan('Task Status Breakdown:'));
|
|
803
|
-
taskBreakdown.forEach(status => {
|
|
804
|
-
const percentage =
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
status.status === '
|
|
810
|
-
|
|
811
|
-
|
|
1136
|
+
taskBreakdown.forEach((status) => {
|
|
1137
|
+
const percentage =
|
|
1138
|
+
overallStats.total_tasks > 0
|
|
1139
|
+
? ((status.count / overallStats.total_tasks) * 100).toFixed(1)
|
|
1140
|
+
: '0';
|
|
1141
|
+
const statusColor =
|
|
1142
|
+
status.status === 'completed'
|
|
1143
|
+
? 'green'
|
|
1144
|
+
: status.status === 'in_progress'
|
|
1145
|
+
? 'yellow'
|
|
1146
|
+
: status.status === 'failed'
|
|
1147
|
+
? 'red'
|
|
1148
|
+
: 'gray';
|
|
1149
|
+
console.log(
|
|
1150
|
+
` ${chalk[statusColor](status.status.charAt(0).toUpperCase() + status.status.slice(1))}: ${status.count} (${percentage}%)`,
|
|
1151
|
+
);
|
|
812
1152
|
});
|
|
813
1153
|
}
|
|
814
|
-
|
|
815
|
-
// Get agent performance
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
1154
|
+
|
|
1155
|
+
// Get agent performance (check for completed_at column)
|
|
1156
|
+
let agentPerf = [];
|
|
1157
|
+
try {
|
|
1158
|
+
// Check if completed_at exists
|
|
1159
|
+
const hasCompletedAt = db
|
|
1160
|
+
.prepare(
|
|
1161
|
+
`
|
|
1162
|
+
SELECT COUNT(*) as count FROM pragma_table_info('tasks')
|
|
1163
|
+
WHERE name = 'completed_at'
|
|
1164
|
+
`,
|
|
1165
|
+
)
|
|
1166
|
+
.get();
|
|
1167
|
+
|
|
1168
|
+
if (hasCompletedAt && hasCompletedAt.count > 0) {
|
|
1169
|
+
agentPerf = db
|
|
1170
|
+
.prepare(
|
|
1171
|
+
`
|
|
1172
|
+
SELECT
|
|
1173
|
+
a.name,
|
|
1174
|
+
a.type,
|
|
1175
|
+
COUNT(t.id) as tasks_assigned,
|
|
1176
|
+
SUM(CASE WHEN t.status = 'completed' THEN 1 ELSE 0 END) as tasks_completed,
|
|
1177
|
+
AVG(CASE WHEN t.completed_at IS NOT NULL
|
|
1178
|
+
THEN (julianday(t.completed_at) - julianday(t.created_at)) * 24 * 60
|
|
1179
|
+
ELSE NULL END) as avg_completion_minutes
|
|
1180
|
+
FROM agents a
|
|
1181
|
+
LEFT JOIN tasks t ON a.id = t.agent_id
|
|
1182
|
+
GROUP BY a.id
|
|
1183
|
+
HAVING tasks_assigned > 0
|
|
1184
|
+
ORDER BY tasks_completed DESC
|
|
1185
|
+
LIMIT 10
|
|
1186
|
+
`,
|
|
1187
|
+
)
|
|
1188
|
+
.all();
|
|
1189
|
+
} else {
|
|
1190
|
+
// Simpler query without completed_at
|
|
1191
|
+
agentPerf = db
|
|
1192
|
+
.prepare(
|
|
1193
|
+
`
|
|
1194
|
+
SELECT
|
|
1195
|
+
a.name,
|
|
1196
|
+
a.type,
|
|
1197
|
+
COUNT(t.id) as tasks_assigned,
|
|
1198
|
+
SUM(CASE WHEN t.status = 'completed' THEN 1 ELSE 0 END) as tasks_completed,
|
|
1199
|
+
NULL as avg_completion_minutes
|
|
1200
|
+
FROM agents a
|
|
1201
|
+
LEFT JOIN tasks t ON a.id = t.agent_id
|
|
1202
|
+
GROUP BY a.id
|
|
1203
|
+
HAVING tasks_assigned > 0
|
|
1204
|
+
ORDER BY tasks_completed DESC
|
|
1205
|
+
LIMIT 10
|
|
1206
|
+
`,
|
|
1207
|
+
)
|
|
1208
|
+
.all();
|
|
1209
|
+
}
|
|
1210
|
+
} catch (error) {
|
|
1211
|
+
console.warn('Could not get agent performance:', error.message);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
833
1214
|
if (agentPerf.length > 0) {
|
|
834
1215
|
console.log('\n' + chalk.cyan('Top Performing Agents:'));
|
|
835
1216
|
agentPerf.forEach((agent, index) => {
|
|
836
|
-
const successRate =
|
|
837
|
-
|
|
838
|
-
|
|
1217
|
+
const successRate =
|
|
1218
|
+
agent.tasks_assigned > 0
|
|
1219
|
+
? ((agent.tasks_completed / agent.tasks_assigned) * 100).toFixed(1)
|
|
1220
|
+
: '0';
|
|
839
1221
|
console.log(` ${index + 1}. ${agent.name} (${agent.type})`);
|
|
840
|
-
console.log(
|
|
1222
|
+
console.log(
|
|
1223
|
+
` Tasks: ${agent.tasks_completed}/${agent.tasks_assigned} (${successRate}%)`,
|
|
1224
|
+
);
|
|
841
1225
|
if (agent.avg_completion_minutes) {
|
|
842
1226
|
console.log(` Avg Time: ${agent.avg_completion_minutes.toFixed(1)} minutes`);
|
|
843
1227
|
}
|
|
844
1228
|
});
|
|
845
1229
|
}
|
|
846
|
-
|
|
1230
|
+
|
|
847
1231
|
// Get swarm performance
|
|
848
|
-
const swarmPerf = db
|
|
1232
|
+
const swarmPerf = db
|
|
1233
|
+
.prepare(
|
|
1234
|
+
`
|
|
849
1235
|
SELECT
|
|
850
1236
|
s.name,
|
|
851
1237
|
s.objective,
|
|
@@ -858,67 +1244,137 @@ async function showMetrics(flags) {
|
|
|
858
1244
|
WHERE s.status = 'active'
|
|
859
1245
|
ORDER BY s.created_at DESC
|
|
860
1246
|
LIMIT 5
|
|
861
|
-
|
|
862
|
-
|
|
1247
|
+
`,
|
|
1248
|
+
)
|
|
1249
|
+
.all();
|
|
1250
|
+
|
|
863
1251
|
if (swarmPerf.length > 0) {
|
|
864
1252
|
console.log('\n' + chalk.cyan('Active Swarm Performance:'));
|
|
865
|
-
swarmPerf.forEach(swarm => {
|
|
866
|
-
const successRate =
|
|
867
|
-
|
|
868
|
-
|
|
1253
|
+
swarmPerf.forEach((swarm) => {
|
|
1254
|
+
const successRate =
|
|
1255
|
+
swarm.task_count > 0
|
|
1256
|
+
? ((swarm.completed_count / swarm.task_count) * 100).toFixed(1)
|
|
1257
|
+
: '0';
|
|
869
1258
|
console.log(`\n ${chalk.yellow(swarm.name)}`);
|
|
870
1259
|
console.log(` Objective: ${swarm.objective.substring(0, 50)}...`);
|
|
871
|
-
console.log(
|
|
872
|
-
|
|
1260
|
+
console.log(
|
|
1261
|
+
` Agents: ${swarm.agent_count}, Tasks: ${swarm.completed_count}/${swarm.task_count} (${successRate}%)`,
|
|
1262
|
+
);
|
|
1263
|
+
console.log(
|
|
1264
|
+
` Memory: ${swarm.memory_entries} entries, Consensus: ${swarm.consensus_count} decisions`,
|
|
1265
|
+
);
|
|
873
1266
|
});
|
|
874
1267
|
}
|
|
875
|
-
|
|
1268
|
+
|
|
876
1269
|
// Get performance insights
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
1270
|
+
let avgTaskTime = { avg_minutes: null };
|
|
1271
|
+
try {
|
|
1272
|
+
// Check if completed_at exists
|
|
1273
|
+
const hasCompletedAt = db
|
|
1274
|
+
.prepare(
|
|
1275
|
+
`
|
|
1276
|
+
SELECT COUNT(*) as count FROM pragma_table_info('tasks')
|
|
1277
|
+
WHERE name = 'completed_at'
|
|
1278
|
+
`,
|
|
1279
|
+
)
|
|
1280
|
+
.get();
|
|
1281
|
+
|
|
1282
|
+
if (hasCompletedAt && hasCompletedAt.count > 0) {
|
|
1283
|
+
avgTaskTime = db
|
|
1284
|
+
.prepare(
|
|
1285
|
+
`
|
|
1286
|
+
SELECT
|
|
1287
|
+
AVG(CASE WHEN completed_at IS NOT NULL
|
|
1288
|
+
THEN (julianday(completed_at) - julianday(created_at)) * 24 * 60
|
|
1289
|
+
ELSE NULL END) as avg_minutes
|
|
1290
|
+
FROM tasks
|
|
1291
|
+
WHERE status = 'completed'
|
|
1292
|
+
`,
|
|
1293
|
+
)
|
|
1294
|
+
.get();
|
|
1295
|
+
}
|
|
1296
|
+
} catch (error) {
|
|
1297
|
+
console.warn('Could not calculate average task time:', error.message);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
// Get agent type performance
|
|
1301
|
+
let agentTypePerf = [];
|
|
1302
|
+
try {
|
|
1303
|
+
// Check if completed_at exists
|
|
1304
|
+
const hasCompletedAt = db
|
|
1305
|
+
.prepare(
|
|
1306
|
+
`
|
|
1307
|
+
SELECT COUNT(*) as count FROM pragma_table_info('tasks')
|
|
1308
|
+
WHERE name = 'completed_at'
|
|
1309
|
+
`,
|
|
1310
|
+
)
|
|
1311
|
+
.get();
|
|
1312
|
+
|
|
1313
|
+
if (hasCompletedAt && hasCompletedAt.count > 0) {
|
|
1314
|
+
agentTypePerf = db
|
|
1315
|
+
.prepare(
|
|
1316
|
+
`
|
|
1317
|
+
SELECT
|
|
1318
|
+
a.type,
|
|
1319
|
+
COUNT(t.id) as total_tasks,
|
|
1320
|
+
SUM(CASE WHEN t.status = 'completed' THEN 1 ELSE 0 END) as completed_tasks,
|
|
1321
|
+
AVG(CASE WHEN t.completed_at IS NOT NULL
|
|
1322
|
+
THEN (julianday(t.completed_at) - julianday(t.created_at)) * 24 * 60
|
|
1323
|
+
ELSE NULL END) as avg_completion_minutes
|
|
1324
|
+
FROM agents a
|
|
1325
|
+
LEFT JOIN tasks t ON a.id = t.agent_id
|
|
1326
|
+
GROUP BY a.type
|
|
1327
|
+
HAVING total_tasks > 0
|
|
1328
|
+
ORDER BY completed_tasks DESC
|
|
1329
|
+
`,
|
|
1330
|
+
)
|
|
1331
|
+
.all();
|
|
1332
|
+
} else {
|
|
1333
|
+
// Simpler query without completed_at
|
|
1334
|
+
agentTypePerf = db
|
|
1335
|
+
.prepare(
|
|
1336
|
+
`
|
|
1337
|
+
SELECT
|
|
1338
|
+
a.type,
|
|
1339
|
+
COUNT(t.id) as total_tasks,
|
|
1340
|
+
SUM(CASE WHEN t.status = 'completed' THEN 1 ELSE 0 END) as completed_tasks,
|
|
1341
|
+
NULL as avg_completion_minutes
|
|
1342
|
+
FROM agents a
|
|
1343
|
+
LEFT JOIN tasks t ON a.id = t.agent_id
|
|
1344
|
+
GROUP BY a.type
|
|
1345
|
+
HAVING total_tasks > 0
|
|
1346
|
+
ORDER BY completed_tasks DESC
|
|
1347
|
+
`,
|
|
1348
|
+
)
|
|
1349
|
+
.all();
|
|
1350
|
+
}
|
|
1351
|
+
} catch (error) {
|
|
1352
|
+
console.warn('Could not get agent type performance:', error.message);
|
|
1353
|
+
}
|
|
1354
|
+
|
|
901
1355
|
if (avgTaskTime.avg_minutes) {
|
|
902
1356
|
console.log('\n' + chalk.cyan('Performance Insights:'));
|
|
903
1357
|
console.log(` Average Task Completion Time: ${avgTaskTime.avg_minutes.toFixed(1)} minutes`);
|
|
904
|
-
|
|
1358
|
+
|
|
905
1359
|
if (agentTypePerf.length > 0) {
|
|
906
1360
|
console.log('\n' + chalk.cyan('Agent Type Performance:'));
|
|
907
|
-
agentTypePerf.forEach(type => {
|
|
908
|
-
const successRate =
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
1361
|
+
agentTypePerf.forEach((type) => {
|
|
1362
|
+
const successRate =
|
|
1363
|
+
type.total_tasks > 0
|
|
1364
|
+
? ((type.completed_tasks / type.total_tasks) * 100).toFixed(1)
|
|
1365
|
+
: '0';
|
|
1366
|
+
console.log(
|
|
1367
|
+
` ${type.type.charAt(0).toUpperCase() + type.type.slice(1)}: ${type.completed_tasks}/${type.total_tasks} (${successRate}%)`,
|
|
1368
|
+
);
|
|
912
1369
|
if (type.avg_completion_minutes) {
|
|
913
1370
|
console.log(` Average time: ${type.avg_completion_minutes.toFixed(1)} minutes`);
|
|
914
1371
|
}
|
|
915
1372
|
});
|
|
916
1373
|
}
|
|
917
1374
|
}
|
|
918
|
-
|
|
1375
|
+
|
|
919
1376
|
console.log('\n');
|
|
920
1377
|
db.close();
|
|
921
|
-
|
|
922
1378
|
} catch (error) {
|
|
923
1379
|
console.error(chalk.red('Error:'), error.message);
|
|
924
1380
|
exit(1);
|
|
@@ -930,7 +1386,7 @@ async function showMetrics(flags) {
|
|
|
930
1386
|
*/
|
|
931
1387
|
async function manageMemoryWizard() {
|
|
932
1388
|
console.log(chalk.blue('\nπ§ Collective Memory Management\n'));
|
|
933
|
-
|
|
1389
|
+
|
|
934
1390
|
const { action } = await inquirer.prompt([
|
|
935
1391
|
{
|
|
936
1392
|
type: 'list',
|
|
@@ -943,11 +1399,11 @@ async function manageMemoryWizard() {
|
|
|
943
1399
|
{ name: 'π Memory statistics', value: 'stats' },
|
|
944
1400
|
{ name: 'ποΈ Clean old memories', value: 'clean' },
|
|
945
1401
|
{ name: 'π€ Export memory backup', value: 'export' },
|
|
946
|
-
{ name: 'β¬
οΈ Back to main menu', value: 'back' }
|
|
947
|
-
]
|
|
948
|
-
}
|
|
1402
|
+
{ name: 'β¬
οΈ Back to main menu', value: 'back' },
|
|
1403
|
+
],
|
|
1404
|
+
},
|
|
949
1405
|
]);
|
|
950
|
-
|
|
1406
|
+
|
|
951
1407
|
switch (action) {
|
|
952
1408
|
case 'list':
|
|
953
1409
|
await listMemories();
|
|
@@ -971,17 +1427,17 @@ async function manageMemoryWizard() {
|
|
|
971
1427
|
await hiveMindWizard();
|
|
972
1428
|
return;
|
|
973
1429
|
}
|
|
974
|
-
|
|
1430
|
+
|
|
975
1431
|
// Ask if user wants to continue
|
|
976
1432
|
const { continue: continueAction } = await inquirer.prompt([
|
|
977
1433
|
{
|
|
978
1434
|
type: 'confirm',
|
|
979
1435
|
name: 'continue',
|
|
980
1436
|
message: 'Would you like to perform another memory operation?',
|
|
981
|
-
default: true
|
|
982
|
-
}
|
|
1437
|
+
default: true,
|
|
1438
|
+
},
|
|
983
1439
|
]);
|
|
984
|
-
|
|
1440
|
+
|
|
985
1441
|
if (continueAction) {
|
|
986
1442
|
await manageMemoryWizard();
|
|
987
1443
|
}
|
|
@@ -1001,23 +1457,29 @@ async function configureWizard() {
|
|
|
1001
1457
|
export async function hiveMindCommand(args, flags) {
|
|
1002
1458
|
const subcommand = args[0];
|
|
1003
1459
|
const subArgs = args.slice(1);
|
|
1004
|
-
|
|
1005
|
-
//
|
|
1006
|
-
if (
|
|
1460
|
+
|
|
1461
|
+
// Handle help flags
|
|
1462
|
+
if (
|
|
1463
|
+
!subcommand ||
|
|
1464
|
+
subcommand === '--help' ||
|
|
1465
|
+
subcommand === '-h' ||
|
|
1466
|
+
subcommand === 'help' ||
|
|
1467
|
+
flags.help
|
|
1468
|
+
) {
|
|
1007
1469
|
showHiveMindHelp();
|
|
1008
1470
|
return;
|
|
1009
1471
|
}
|
|
1010
|
-
|
|
1472
|
+
|
|
1011
1473
|
// Warn about non-interactive environments for certain commands
|
|
1012
1474
|
if ((subcommand === 'spawn' && (flags.claude || flags.spawn)) || subcommand === 'wizard') {
|
|
1013
1475
|
warnNonInteractive('hive-mind ' + subcommand);
|
|
1014
1476
|
}
|
|
1015
|
-
|
|
1477
|
+
|
|
1016
1478
|
switch (subcommand) {
|
|
1017
1479
|
case 'init':
|
|
1018
1480
|
await initHiveMind(flags);
|
|
1019
1481
|
break;
|
|
1020
|
-
|
|
1482
|
+
|
|
1021
1483
|
case 'spawn':
|
|
1022
1484
|
if (flags.wizard || subArgs.length === 0) {
|
|
1023
1485
|
await spawnSwarmWizard();
|
|
@@ -1025,33 +1487,45 @@ export async function hiveMindCommand(args, flags) {
|
|
|
1025
1487
|
await spawnSwarm(subArgs, flags);
|
|
1026
1488
|
}
|
|
1027
1489
|
break;
|
|
1028
|
-
|
|
1490
|
+
|
|
1029
1491
|
case 'status':
|
|
1030
1492
|
await showStatus(flags);
|
|
1031
1493
|
break;
|
|
1032
|
-
|
|
1494
|
+
|
|
1495
|
+
case 'sessions':
|
|
1496
|
+
await showSessions(flags);
|
|
1497
|
+
break;
|
|
1498
|
+
|
|
1499
|
+
case 'resume':
|
|
1500
|
+
await resumeSession(subArgs, flags);
|
|
1501
|
+
break;
|
|
1502
|
+
|
|
1503
|
+
case 'stop':
|
|
1504
|
+
await stopSession(subArgs, flags);
|
|
1505
|
+
break;
|
|
1506
|
+
|
|
1033
1507
|
case 'consensus':
|
|
1034
1508
|
await showConsensus(flags);
|
|
1035
1509
|
break;
|
|
1036
|
-
|
|
1510
|
+
|
|
1037
1511
|
case 'memory':
|
|
1038
1512
|
await manageMemoryWizard();
|
|
1039
1513
|
break;
|
|
1040
|
-
|
|
1514
|
+
|
|
1041
1515
|
case 'metrics':
|
|
1042
1516
|
await showMetrics(flags);
|
|
1043
1517
|
break;
|
|
1044
|
-
|
|
1518
|
+
|
|
1045
1519
|
case 'wizard':
|
|
1046
|
-
await hiveMindWizard();
|
|
1520
|
+
await hiveMindWizard(flags);
|
|
1047
1521
|
break;
|
|
1048
|
-
|
|
1522
|
+
|
|
1049
1523
|
case 'help':
|
|
1050
1524
|
case '--help':
|
|
1051
1525
|
case '-h':
|
|
1052
1526
|
showHiveMindHelp();
|
|
1053
1527
|
break;
|
|
1054
|
-
|
|
1528
|
+
|
|
1055
1529
|
default:
|
|
1056
1530
|
console.error(chalk.red(`Unknown subcommand: ${subcommand}`));
|
|
1057
1531
|
console.log('Run "claude-flow hive-mind help" for usage information');
|
|
@@ -1065,11 +1539,11 @@ export async function hiveMindCommand(args, flags) {
|
|
|
1065
1539
|
async function listMemories() {
|
|
1066
1540
|
try {
|
|
1067
1541
|
console.log(chalk.blue('\nπ Collective Memory Store\n'));
|
|
1068
|
-
|
|
1542
|
+
|
|
1069
1543
|
// Use MCP wrapper to search for all memories (empty pattern matches all)
|
|
1070
1544
|
const mcpWrapper = await getMcpWrapper();
|
|
1071
1545
|
const searchResult = await mcpWrapper.searchMemory('hive-mind', '');
|
|
1072
|
-
|
|
1546
|
+
|
|
1073
1547
|
// Handle different possible response structures
|
|
1074
1548
|
let memories = [];
|
|
1075
1549
|
if (searchResult && Array.isArray(searchResult.results)) {
|
|
@@ -1079,13 +1553,15 @@ async function listMemories() {
|
|
|
1079
1553
|
} else if (searchResult && searchResult.data && Array.isArray(searchResult.data)) {
|
|
1080
1554
|
memories = searchResult.data;
|
|
1081
1555
|
}
|
|
1082
|
-
|
|
1556
|
+
|
|
1083
1557
|
if (!memories || memories.length === 0) {
|
|
1084
1558
|
console.log(chalk.yellow('No memories found in the collective store.'));
|
|
1085
|
-
console.log(
|
|
1559
|
+
console.log(
|
|
1560
|
+
chalk.gray('Try storing some memories first using the "πΎ Store new memory" option.'),
|
|
1561
|
+
);
|
|
1086
1562
|
return;
|
|
1087
1563
|
}
|
|
1088
|
-
|
|
1564
|
+
|
|
1089
1565
|
memories.forEach((memory, index) => {
|
|
1090
1566
|
console.log(chalk.cyan(`${index + 1}. ${memory.key || `memory-${index}`}`));
|
|
1091
1567
|
console.log(` Category: ${memory.type || 'general'}`);
|
|
@@ -1097,7 +1573,6 @@ async function listMemories() {
|
|
|
1097
1573
|
}
|
|
1098
1574
|
console.log('');
|
|
1099
1575
|
});
|
|
1100
|
-
|
|
1101
1576
|
} catch (error) {
|
|
1102
1577
|
console.error(chalk.red('Error listing memories:'), error.message);
|
|
1103
1578
|
console.log(chalk.gray('This might be because no memories have been stored yet.'));
|
|
@@ -1114,15 +1589,15 @@ async function searchMemories() {
|
|
|
1114
1589
|
type: 'input',
|
|
1115
1590
|
name: 'searchTerm',
|
|
1116
1591
|
message: 'Enter search term:',
|
|
1117
|
-
validate: input => input.length > 0
|
|
1118
|
-
}
|
|
1592
|
+
validate: (input) => input.length > 0,
|
|
1593
|
+
},
|
|
1119
1594
|
]);
|
|
1120
|
-
|
|
1595
|
+
|
|
1121
1596
|
console.log(chalk.blue(`\nπ Searching for: "${searchTerm}"\n`));
|
|
1122
|
-
|
|
1597
|
+
|
|
1123
1598
|
const mcpWrapper = await getMcpWrapper();
|
|
1124
1599
|
const searchResult = await mcpWrapper.searchMemory('hive-mind', searchTerm);
|
|
1125
|
-
|
|
1600
|
+
|
|
1126
1601
|
// Handle different possible response structures
|
|
1127
1602
|
let memories = [];
|
|
1128
1603
|
if (searchResult && Array.isArray(searchResult.results)) {
|
|
@@ -1132,12 +1607,12 @@ async function searchMemories() {
|
|
|
1132
1607
|
} else if (searchResult && searchResult.data && Array.isArray(searchResult.data)) {
|
|
1133
1608
|
memories = searchResult.data;
|
|
1134
1609
|
}
|
|
1135
|
-
|
|
1610
|
+
|
|
1136
1611
|
if (!memories || memories.length === 0) {
|
|
1137
1612
|
console.log(chalk.yellow('No memories found matching your search.'));
|
|
1138
1613
|
return;
|
|
1139
1614
|
}
|
|
1140
|
-
|
|
1615
|
+
|
|
1141
1616
|
memories.forEach((memory, index) => {
|
|
1142
1617
|
console.log(chalk.green(`${index + 1}. ${memory.key || `result-${index}`}`));
|
|
1143
1618
|
console.log(` Category: ${memory.type || 'general'}`);
|
|
@@ -1145,7 +1620,6 @@ async function searchMemories() {
|
|
|
1145
1620
|
console.log(` Value: ${JSON.stringify(memory.value || memory, null, 2)}`);
|
|
1146
1621
|
console.log('');
|
|
1147
1622
|
});
|
|
1148
|
-
|
|
1149
1623
|
} catch (error) {
|
|
1150
1624
|
console.error(chalk.red('Error searching memories:'), error.message);
|
|
1151
1625
|
}
|
|
@@ -1161,7 +1635,7 @@ async function storeMemoryWizard() {
|
|
|
1161
1635
|
type: 'input',
|
|
1162
1636
|
name: 'key',
|
|
1163
1637
|
message: 'Memory key (identifier):',
|
|
1164
|
-
validate: input => input.length > 0
|
|
1638
|
+
validate: (input) => input.length > 0,
|
|
1165
1639
|
},
|
|
1166
1640
|
{
|
|
1167
1641
|
type: 'list',
|
|
@@ -1175,32 +1649,31 @@ async function storeMemoryWizard() {
|
|
|
1175
1649
|
'coordination',
|
|
1176
1650
|
'performance',
|
|
1177
1651
|
'configuration',
|
|
1178
|
-
'general'
|
|
1179
|
-
]
|
|
1652
|
+
'general',
|
|
1653
|
+
],
|
|
1180
1654
|
},
|
|
1181
1655
|
{
|
|
1182
1656
|
type: 'editor',
|
|
1183
1657
|
name: 'value',
|
|
1184
|
-
message: 'Memory content (JSON or text):'
|
|
1185
|
-
}
|
|
1658
|
+
message: 'Memory content (JSON or text):',
|
|
1659
|
+
},
|
|
1186
1660
|
]);
|
|
1187
|
-
|
|
1661
|
+
|
|
1188
1662
|
const mcpWrapper = await getMcpWrapper();
|
|
1189
1663
|
let memoryValue;
|
|
1190
|
-
|
|
1664
|
+
|
|
1191
1665
|
// Try to parse as JSON, fall back to string
|
|
1192
1666
|
try {
|
|
1193
1667
|
memoryValue = JSON.parse(answers.value);
|
|
1194
1668
|
} catch {
|
|
1195
1669
|
memoryValue = answers.value;
|
|
1196
1670
|
}
|
|
1197
|
-
|
|
1671
|
+
|
|
1198
1672
|
await mcpWrapper.storeMemory('hive-mind', answers.key, memoryValue, answers.category);
|
|
1199
|
-
|
|
1673
|
+
|
|
1200
1674
|
console.log(chalk.green(`\nβ
Memory stored successfully!`));
|
|
1201
1675
|
console.log(`Key: ${answers.key}`);
|
|
1202
1676
|
console.log(`Category: ${answers.category}`);
|
|
1203
|
-
|
|
1204
1677
|
} catch (error) {
|
|
1205
1678
|
console.error(chalk.red('Error storing memory:'), error.message);
|
|
1206
1679
|
}
|
|
@@ -1212,12 +1685,12 @@ async function storeMemoryWizard() {
|
|
|
1212
1685
|
async function showMemoryStats() {
|
|
1213
1686
|
try {
|
|
1214
1687
|
console.log(chalk.blue('\nπ Memory Statistics\n'));
|
|
1215
|
-
|
|
1688
|
+
|
|
1216
1689
|
const mcpWrapper = await getMcpWrapper();
|
|
1217
|
-
|
|
1690
|
+
|
|
1218
1691
|
// Search for all memories with an empty pattern to get everything
|
|
1219
1692
|
const searchResult = await mcpWrapper.searchMemory('hive-mind', '');
|
|
1220
|
-
|
|
1693
|
+
|
|
1221
1694
|
// Handle different possible response structures
|
|
1222
1695
|
let memories = [];
|
|
1223
1696
|
if (searchResult && Array.isArray(searchResult.results)) {
|
|
@@ -1227,27 +1700,27 @@ async function showMemoryStats() {
|
|
|
1227
1700
|
} else if (searchResult && searchResult.data && Array.isArray(searchResult.data)) {
|
|
1228
1701
|
memories = searchResult.data;
|
|
1229
1702
|
}
|
|
1230
|
-
|
|
1703
|
+
|
|
1231
1704
|
if (!memories || memories.length === 0) {
|
|
1232
1705
|
console.log(chalk.yellow('No memories found.'));
|
|
1233
1706
|
console.log(chalk.gray('Use "Store new memory" to create your first memory.'));
|
|
1234
1707
|
return;
|
|
1235
1708
|
}
|
|
1236
|
-
|
|
1709
|
+
|
|
1237
1710
|
// Calculate statistics
|
|
1238
1711
|
const stats = {
|
|
1239
1712
|
total: memories.length,
|
|
1240
1713
|
categories: {},
|
|
1241
1714
|
oldestDate: null,
|
|
1242
1715
|
newestDate: null,
|
|
1243
|
-
totalSize: 0
|
|
1716
|
+
totalSize: 0,
|
|
1244
1717
|
};
|
|
1245
|
-
|
|
1246
|
-
memories.forEach(memory => {
|
|
1718
|
+
|
|
1719
|
+
memories.forEach((memory) => {
|
|
1247
1720
|
// Count by category
|
|
1248
1721
|
const category = memory.category || memory.type || 'general';
|
|
1249
1722
|
stats.categories[category] = (stats.categories[category] || 0) + 1;
|
|
1250
|
-
|
|
1723
|
+
|
|
1251
1724
|
// Track dates
|
|
1252
1725
|
const date = new Date(memory.timestamp || Date.now());
|
|
1253
1726
|
if (!stats.oldestDate || date < stats.oldestDate) {
|
|
@@ -1256,21 +1729,22 @@ async function showMemoryStats() {
|
|
|
1256
1729
|
if (!stats.newestDate || date > stats.newestDate) {
|
|
1257
1730
|
stats.newestDate = date;
|
|
1258
1731
|
}
|
|
1259
|
-
|
|
1732
|
+
|
|
1260
1733
|
// Estimate size
|
|
1261
1734
|
stats.totalSize += JSON.stringify(memory).length;
|
|
1262
1735
|
});
|
|
1263
|
-
|
|
1736
|
+
|
|
1264
1737
|
console.log(chalk.cyan('Total memories:'), stats.total);
|
|
1265
1738
|
console.log(chalk.cyan('Estimated size:'), `${(stats.totalSize / 1024).toFixed(2)} KB`);
|
|
1266
|
-
console.log(
|
|
1267
|
-
|
|
1268
|
-
|
|
1739
|
+
console.log(
|
|
1740
|
+
chalk.cyan('Date range:'),
|
|
1741
|
+
`${stats.oldestDate?.toLocaleDateString()} - ${stats.newestDate?.toLocaleDateString()}`,
|
|
1742
|
+
);
|
|
1743
|
+
|
|
1269
1744
|
console.log(chalk.cyan('\nBy category:'));
|
|
1270
1745
|
Object.entries(stats.categories).forEach(([category, count]) => {
|
|
1271
1746
|
console.log(` ${category}: ${count}`);
|
|
1272
1747
|
});
|
|
1273
|
-
|
|
1274
1748
|
} catch (error) {
|
|
1275
1749
|
console.error(chalk.red('Error getting memory stats:'), error.message);
|
|
1276
1750
|
}
|
|
@@ -1287,29 +1761,29 @@ async function cleanMemories() {
|
|
|
1287
1761
|
name: 'days',
|
|
1288
1762
|
message: 'Remove memories older than how many days?',
|
|
1289
1763
|
default: 30,
|
|
1290
|
-
validate: input => input > 0
|
|
1291
|
-
}
|
|
1764
|
+
validate: (input) => input > 0,
|
|
1765
|
+
},
|
|
1292
1766
|
]);
|
|
1293
|
-
|
|
1767
|
+
|
|
1294
1768
|
const { confirm } = await inquirer.prompt([
|
|
1295
1769
|
{
|
|
1296
1770
|
type: 'confirm',
|
|
1297
1771
|
name: 'confirm',
|
|
1298
1772
|
message: `Are you sure you want to delete memories older than ${days} days?`,
|
|
1299
|
-
default: false
|
|
1300
|
-
}
|
|
1773
|
+
default: false,
|
|
1774
|
+
},
|
|
1301
1775
|
]);
|
|
1302
|
-
|
|
1776
|
+
|
|
1303
1777
|
if (!confirm) {
|
|
1304
1778
|
console.log(chalk.yellow('Operation cancelled.'));
|
|
1305
1779
|
return;
|
|
1306
1780
|
}
|
|
1307
|
-
|
|
1781
|
+
|
|
1308
1782
|
const mcpWrapper = await getMcpWrapper();
|
|
1309
|
-
|
|
1783
|
+
|
|
1310
1784
|
// Get all memories first
|
|
1311
1785
|
const searchResult = await mcpWrapper.searchMemory('hive-mind', '');
|
|
1312
|
-
|
|
1786
|
+
|
|
1313
1787
|
// Handle different possible response structures
|
|
1314
1788
|
let memories = [];
|
|
1315
1789
|
if (searchResult && Array.isArray(searchResult.results)) {
|
|
@@ -1319,25 +1793,24 @@ async function cleanMemories() {
|
|
|
1319
1793
|
} else if (searchResult && searchResult.data && Array.isArray(searchResult.data)) {
|
|
1320
1794
|
memories = searchResult.data;
|
|
1321
1795
|
}
|
|
1322
|
-
|
|
1796
|
+
|
|
1323
1797
|
const cutoffDate = new Date();
|
|
1324
1798
|
cutoffDate.setDate(cutoffDate.getDate() - days);
|
|
1325
|
-
|
|
1799
|
+
|
|
1326
1800
|
// Filter memories older than cutoff date
|
|
1327
|
-
const oldMemories = memories.filter(memory => {
|
|
1801
|
+
const oldMemories = memories.filter((memory) => {
|
|
1328
1802
|
const memoryDate = new Date(memory.timestamp || 0);
|
|
1329
1803
|
return memoryDate < cutoffDate;
|
|
1330
1804
|
});
|
|
1331
|
-
|
|
1805
|
+
|
|
1332
1806
|
if (oldMemories.length === 0) {
|
|
1333
1807
|
console.log(chalk.yellow('\nπ No old memories found to clean.'));
|
|
1334
1808
|
return;
|
|
1335
1809
|
}
|
|
1336
|
-
|
|
1810
|
+
|
|
1337
1811
|
console.log(chalk.green(`\nβ
Found ${oldMemories.length} old memories to clean.`));
|
|
1338
1812
|
console.log(chalk.gray('Note: Individual memory deletion not yet implemented in MCPWrapper.'));
|
|
1339
1813
|
console.log(chalk.gray('Consider implementing batch deletion or memory lifecycle management.'));
|
|
1340
|
-
|
|
1341
1814
|
} catch (error) {
|
|
1342
1815
|
console.error(chalk.red('Error cleaning memories:'), error.message);
|
|
1343
1816
|
}
|
|
@@ -1353,15 +1826,15 @@ async function exportMemoryBackup() {
|
|
|
1353
1826
|
type: 'input',
|
|
1354
1827
|
name: 'filename',
|
|
1355
1828
|
message: 'Export filename:',
|
|
1356
|
-
default: `hive-mind-memory-backup-${new Date().toISOString().split('T')[0]}.json
|
|
1357
|
-
}
|
|
1829
|
+
default: `hive-mind-memory-backup-${new Date().toISOString().split('T')[0]}.json`,
|
|
1830
|
+
},
|
|
1358
1831
|
]);
|
|
1359
|
-
|
|
1832
|
+
|
|
1360
1833
|
const mcpWrapper = await getMcpWrapper();
|
|
1361
|
-
|
|
1834
|
+
|
|
1362
1835
|
// Get all memories using search
|
|
1363
1836
|
const searchResult = await mcpWrapper.searchMemory('hive-mind', '');
|
|
1364
|
-
|
|
1837
|
+
|
|
1365
1838
|
// Handle different possible response structures
|
|
1366
1839
|
let memories = [];
|
|
1367
1840
|
if (searchResult && Array.isArray(searchResult.results)) {
|
|
@@ -1371,42 +1844,62 @@ async function exportMemoryBackup() {
|
|
|
1371
1844
|
} else if (searchResult && searchResult.data && Array.isArray(searchResult.data)) {
|
|
1372
1845
|
memories = searchResult.data;
|
|
1373
1846
|
}
|
|
1374
|
-
|
|
1847
|
+
|
|
1375
1848
|
const backup = {
|
|
1376
1849
|
exportDate: new Date().toISOString(),
|
|
1377
1850
|
version: '1.0',
|
|
1378
1851
|
totalMemories: memories.length,
|
|
1379
1852
|
namespace: 'hive-mind',
|
|
1380
|
-
memories: memories
|
|
1853
|
+
memories: memories,
|
|
1381
1854
|
};
|
|
1382
|
-
|
|
1855
|
+
|
|
1383
1856
|
const fs = await import('fs');
|
|
1384
1857
|
fs.writeFileSync(filename, JSON.stringify(backup, null, 2));
|
|
1385
|
-
|
|
1858
|
+
|
|
1386
1859
|
console.log(chalk.green(`\nβ
Memory backup exported to: ${filename}`));
|
|
1387
1860
|
console.log(chalk.cyan(`Exported ${memories.length} memories`));
|
|
1388
|
-
|
|
1389
1861
|
} catch (error) {
|
|
1390
1862
|
console.error(chalk.red('Error exporting memory backup:'), error.message);
|
|
1391
1863
|
}
|
|
1392
1864
|
}
|
|
1393
1865
|
|
|
1866
|
+
/**
|
|
1867
|
+
* Get active session ID for a swarm
|
|
1868
|
+
*/
|
|
1869
|
+
async function getActiveSessionId(swarmId) {
|
|
1870
|
+
const sessionManager = new HiveMindSessionManager();
|
|
1871
|
+
try {
|
|
1872
|
+
const sessions = await sessionManager.getActiveSessions();
|
|
1873
|
+
const activeSession = sessions.find(s => s.swarm_id === swarmId && s.status === 'active');
|
|
1874
|
+
return activeSession ? activeSession.id : null;
|
|
1875
|
+
} finally {
|
|
1876
|
+
sessionManager.close();
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1394
1880
|
/**
|
|
1395
1881
|
* Spawn Claude Code with Hive Mind coordination instructions
|
|
1396
1882
|
*/
|
|
1397
1883
|
async function spawnClaudeCodeInstances(swarmId, swarmName, objective, workers, flags) {
|
|
1398
1884
|
console.log('\n' + chalk.bold('π Launching Claude Code with Hive Mind Coordination'));
|
|
1399
1885
|
console.log(chalk.gray('β'.repeat(60)));
|
|
1400
|
-
|
|
1886
|
+
|
|
1401
1887
|
const spinner = ora('Preparing Hive Mind coordination prompt...').start();
|
|
1402
|
-
|
|
1888
|
+
|
|
1403
1889
|
try {
|
|
1404
1890
|
// Generate comprehensive Hive Mind prompt
|
|
1405
1891
|
const workerGroups = groupWorkersByType(workers);
|
|
1406
|
-
const hiveMindPrompt = generateHiveMindPrompt(
|
|
1407
|
-
|
|
1892
|
+
const hiveMindPrompt = generateHiveMindPrompt(
|
|
1893
|
+
swarmId,
|
|
1894
|
+
swarmName,
|
|
1895
|
+
objective,
|
|
1896
|
+
workers,
|
|
1897
|
+
workerGroups,
|
|
1898
|
+
flags,
|
|
1899
|
+
);
|
|
1900
|
+
|
|
1408
1901
|
spinner.succeed('Hive Mind coordination prompt ready!');
|
|
1409
|
-
|
|
1902
|
+
|
|
1410
1903
|
// Display coordination summary
|
|
1411
1904
|
console.log('\n' + chalk.bold('π§ Hive Mind Configuration'));
|
|
1412
1905
|
console.log(chalk.gray('β'.repeat(60)));
|
|
@@ -1417,62 +1910,152 @@ async function spawnClaudeCodeInstances(swarmId, swarmName, objective, workers,
|
|
|
1417
1910
|
console.log(chalk.cyan('Worker Types:'), Object.keys(workerGroups).join(', '));
|
|
1418
1911
|
console.log(chalk.cyan('Consensus Algorithm:'), flags.consensus || 'majority');
|
|
1419
1912
|
console.log(chalk.cyan('MCP Tools:'), 'Full Claude-Flow integration enabled');
|
|
1420
|
-
|
|
1913
|
+
|
|
1421
1914
|
try {
|
|
1915
|
+
// ALWAYS save the prompt file first (fix for issue #330)
|
|
1916
|
+
// Ensure sessions directory exists
|
|
1917
|
+
const sessionsDir = path.join('.hive-mind', 'sessions');
|
|
1918
|
+
await mkdirAsync(sessionsDir, { recursive: true });
|
|
1919
|
+
|
|
1920
|
+
const promptFile = path.join(sessionsDir, `hive-mind-prompt-${swarmId}.txt`);
|
|
1921
|
+
await writeFile(promptFile, hiveMindPrompt, 'utf8');
|
|
1922
|
+
console.log(chalk.green(`\nβ Hive Mind prompt saved to: ${promptFile}`));
|
|
1923
|
+
|
|
1422
1924
|
// Check if claude command exists
|
|
1423
1925
|
const { spawn: childSpawn, execSync } = await import('child_process');
|
|
1424
1926
|
let claudeAvailable = false;
|
|
1425
|
-
|
|
1927
|
+
|
|
1426
1928
|
try {
|
|
1427
1929
|
execSync('which claude', { stdio: 'ignore' });
|
|
1428
1930
|
claudeAvailable = true;
|
|
1429
1931
|
} catch {
|
|
1430
1932
|
console.log(chalk.yellow('\nβ οΈ Claude Code CLI not found in PATH'));
|
|
1431
|
-
console.log(chalk.gray('Install it with: npm install -g @anthropic/claude-code
|
|
1933
|
+
console.log(chalk.gray('Install it with: npm install -g @anthropic-ai/claude-code'));
|
|
1432
1934
|
console.log(chalk.gray('\nFalling back to displaying instructions...'));
|
|
1433
1935
|
}
|
|
1434
|
-
|
|
1435
|
-
|
|
1936
|
+
|
|
1436
1937
|
if (claudeAvailable && !flags.dryRun) {
|
|
1437
1938
|
// Pass the prompt directly as an argument to claude
|
|
1939
|
+
// Remove --print to allow interactive session
|
|
1438
1940
|
const claudeArgs = [hiveMindPrompt];
|
|
1439
|
-
|
|
1440
|
-
// Add auto-permission flag
|
|
1441
|
-
if (flags
|
|
1941
|
+
|
|
1942
|
+
// Add auto-permission flag by default for hive-mind mode (unless explicitly disabled)
|
|
1943
|
+
if (flags['dangerously-skip-permissions'] !== false && !flags['no-auto-permissions']) {
|
|
1442
1944
|
claudeArgs.push('--dangerously-skip-permissions');
|
|
1443
|
-
console.log(
|
|
1945
|
+
console.log(
|
|
1946
|
+
chalk.yellow(
|
|
1947
|
+
'π Using --dangerously-skip-permissions by default for seamless hive-mind execution',
|
|
1948
|
+
),
|
|
1949
|
+
);
|
|
1444
1950
|
}
|
|
1445
|
-
|
|
1951
|
+
|
|
1446
1952
|
// Spawn claude with the prompt as the first argument
|
|
1953
|
+
// Use 'inherit' to allow interactive session
|
|
1447
1954
|
const claudeProcess = childSpawn('claude', claudeArgs, {
|
|
1448
1955
|
stdio: 'inherit',
|
|
1449
|
-
shell: false
|
|
1956
|
+
shell: false,
|
|
1450
1957
|
});
|
|
1451
|
-
|
|
1958
|
+
|
|
1959
|
+
// Track child process PID in session
|
|
1960
|
+
const sessionManager = new HiveMindSessionManager();
|
|
1961
|
+
const sessionId = await getActiveSessionId(swarmId);
|
|
1962
|
+
if (sessionId && claudeProcess.pid) {
|
|
1963
|
+
sessionManager.addChildPid(sessionId, claudeProcess.pid);
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
// Set up SIGINT handler for automatic session pausing
|
|
1967
|
+
let isExiting = false;
|
|
1968
|
+
const sigintHandler = async () => {
|
|
1969
|
+
if (isExiting) return;
|
|
1970
|
+
isExiting = true;
|
|
1971
|
+
|
|
1972
|
+
console.log('\n\n' + chalk.yellow('βΈοΈ Pausing session and terminating Claude Code...'));
|
|
1973
|
+
|
|
1974
|
+
try {
|
|
1975
|
+
// Terminate Claude Code process
|
|
1976
|
+
if (claudeProcess && !claudeProcess.killed) {
|
|
1977
|
+
claudeProcess.kill('SIGTERM');
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
// Save checkpoint and pause session
|
|
1981
|
+
if (sessionId) {
|
|
1982
|
+
const checkpointData = {
|
|
1983
|
+
timestamp: new Date().toISOString(),
|
|
1984
|
+
swarmId,
|
|
1985
|
+
objective,
|
|
1986
|
+
status: 'paused_by_user',
|
|
1987
|
+
reason: 'User pressed Ctrl+C during Claude Code execution',
|
|
1988
|
+
claudePid: claudeProcess.pid,
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
await sessionManager.saveCheckpoint(sessionId, 'auto-pause-claude', checkpointData);
|
|
1992
|
+
await sessionManager.pauseSession(sessionId);
|
|
1993
|
+
|
|
1994
|
+
console.log(chalk.green('β') + ' Session paused successfully');
|
|
1995
|
+
console.log(chalk.cyan('\nTo resume this session, run:'));
|
|
1996
|
+
console.log(chalk.bold(` claude-flow hive-mind resume ${sessionId}`));
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
sessionManager.close();
|
|
2000
|
+
process.exit(0);
|
|
2001
|
+
} catch (error) {
|
|
2002
|
+
console.error(chalk.red('Error pausing session:'), error.message);
|
|
2003
|
+
sessionManager.close();
|
|
2004
|
+
process.exit(1);
|
|
2005
|
+
}
|
|
2006
|
+
};
|
|
2007
|
+
|
|
2008
|
+
// Register SIGINT handler
|
|
2009
|
+
process.on('SIGINT', sigintHandler);
|
|
2010
|
+
process.on('SIGTERM', sigintHandler);
|
|
2011
|
+
|
|
2012
|
+
// Handle stdout
|
|
2013
|
+
if (claudeProcess.stdout) {
|
|
2014
|
+
claudeProcess.stdout.on('data', (data) => {
|
|
2015
|
+
console.log(data.toString());
|
|
2016
|
+
});
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
// Handle stderr
|
|
2020
|
+
if (claudeProcess.stderr) {
|
|
2021
|
+
claudeProcess.stderr.on('data', (data) => {
|
|
2022
|
+
console.error(chalk.red(data.toString()));
|
|
2023
|
+
});
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
// Handle process exit
|
|
2027
|
+
claudeProcess.on('exit', (code) => {
|
|
2028
|
+
// Remove child PID from session
|
|
2029
|
+
if (sessionId && claudeProcess.pid) {
|
|
2030
|
+
sessionManager.removeChildPid(sessionId, claudeProcess.pid);
|
|
2031
|
+
sessionManager.close();
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
if (code === 0) {
|
|
2035
|
+
console.log(chalk.green('\nβ Claude Code completed successfully'));
|
|
2036
|
+
} else if (code !== null) {
|
|
2037
|
+
console.log(chalk.red(`\nβ Claude Code exited with code ${code}`));
|
|
2038
|
+
}
|
|
2039
|
+
});
|
|
2040
|
+
|
|
1452
2041
|
console.log(chalk.green('\nβ Claude Code launched with Hive Mind coordination'));
|
|
1453
2042
|
console.log(chalk.blue(' The Queen coordinator will orchestrate all worker agents'));
|
|
1454
|
-
console.log(
|
|
1455
|
-
|
|
2043
|
+
console.log(
|
|
2044
|
+
chalk.blue(' Use MCP tools for collective intelligence and task distribution'),
|
|
2045
|
+
);
|
|
2046
|
+
console.log(chalk.gray(` Prompt file saved at: ${promptFile}`));
|
|
1456
2047
|
} else if (flags.dryRun) {
|
|
1457
2048
|
console.log(chalk.blue('\nDry run - would execute Claude Code with prompt:'));
|
|
1458
2049
|
console.log(chalk.gray('Prompt length:'), hiveMindPrompt.length, 'characters');
|
|
1459
2050
|
console.log(chalk.gray('\nFirst 500 characters of prompt:'));
|
|
1460
2051
|
console.log(chalk.yellow(hiveMindPrompt.substring(0, 500) + '...'));
|
|
1461
|
-
|
|
1462
|
-
// Save prompt to file for inspection
|
|
1463
|
-
const promptFile = `hive-mind-prompt-${swarmId}.txt`;
|
|
1464
|
-
await writeFile(promptFile, hiveMindPrompt, 'utf8');
|
|
1465
|
-
console.log(chalk.green(`\nβ Full prompt saved to: ${promptFile}`));
|
|
1466
|
-
|
|
2052
|
+
console.log(chalk.gray(`\nFull prompt saved to: ${promptFile}`));
|
|
1467
2053
|
} else {
|
|
1468
|
-
// Claude not available -
|
|
1469
|
-
const promptFile = `hive-mind-prompt-${swarmId}.txt`;
|
|
1470
|
-
await writeFile(promptFile, hiveMindPrompt, 'utf8');
|
|
1471
|
-
|
|
2054
|
+
// Claude not available - show instructions with already saved prompt
|
|
1472
2055
|
console.log(chalk.yellow('\nπ Manual Execution Instructions:'));
|
|
1473
2056
|
console.log(chalk.gray('β'.repeat(50)));
|
|
1474
2057
|
console.log(chalk.gray('1. Install Claude Code:'));
|
|
1475
|
-
console.log(chalk.green(' npm install -g @anthropic/claude-code
|
|
2058
|
+
console.log(chalk.green(' npm install -g @anthropic-ai/claude-code'));
|
|
1476
2059
|
console.log(chalk.gray('\n2. Run with the saved prompt:'));
|
|
1477
2060
|
console.log(chalk.green(` claude < ${promptFile}`));
|
|
1478
2061
|
console.log(chalk.gray('\n3. Or copy the prompt manually:'));
|
|
@@ -1480,24 +2063,22 @@ async function spawnClaudeCodeInstances(swarmId, swarmName, objective, workers,
|
|
|
1480
2063
|
console.log(chalk.gray('\n4. With auto-permissions:'));
|
|
1481
2064
|
console.log(chalk.green(` claude --dangerously-skip-permissions < ${promptFile}`));
|
|
1482
2065
|
}
|
|
1483
|
-
|
|
1484
2066
|
} catch (error) {
|
|
1485
2067
|
console.error(chalk.red('\nFailed to launch Claude Code:'), error.message);
|
|
1486
|
-
|
|
2068
|
+
|
|
1487
2069
|
// Save prompt as fallback
|
|
1488
2070
|
const promptFile = `hive-mind-prompt-${swarmId}-fallback.txt`;
|
|
1489
2071
|
await writeFile(promptFile, hiveMindPrompt, 'utf8');
|
|
1490
2072
|
console.log(chalk.green(`\nβ Prompt saved to: ${promptFile}`));
|
|
1491
2073
|
console.log(chalk.yellow('\nYou can run Claude Code manually with the saved prompt'));
|
|
1492
2074
|
}
|
|
1493
|
-
|
|
2075
|
+
|
|
1494
2076
|
console.log('\n' + chalk.bold('π‘ Pro Tips:'));
|
|
1495
2077
|
console.log(chalk.gray('β'.repeat(30)));
|
|
1496
2078
|
console.log('β’ Use --auto-spawn to launch instances automatically');
|
|
1497
2079
|
console.log('β’ Add --verbose for detailed coordination context');
|
|
1498
2080
|
console.log('β’ Monitor with: claude-flow hive-mind status');
|
|
1499
2081
|
console.log('β’ Share memories: mcp__ruv-swarm__memory_usage');
|
|
1500
|
-
|
|
1501
2082
|
} catch (error) {
|
|
1502
2083
|
spinner.fail('Failed to prepare Claude Code coordination');
|
|
1503
2084
|
console.error(chalk.red('Error:'), error.message);
|
|
@@ -1512,7 +2093,7 @@ function generateHiveMindPrompt(swarmId, swarmName, objective, workers, workerGr
|
|
|
1512
2093
|
const workerTypes = Object.keys(workerGroups);
|
|
1513
2094
|
const queenType = flags.queenType || 'strategic';
|
|
1514
2095
|
const consensusAlgorithm = flags.consensus || 'majority';
|
|
1515
|
-
|
|
2096
|
+
|
|
1516
2097
|
return `π§ HIVE MIND COLLECTIVE INTELLIGENCE SYSTEM
|
|
1517
2098
|
βββββββββββββββββββββββββββββββββββββββββββββββ
|
|
1518
2099
|
|
|
@@ -1528,7 +2109,7 @@ HIVE MIND CONFIGURATION:
|
|
|
1528
2109
|
β° Initialized: ${currentTime}
|
|
1529
2110
|
|
|
1530
2111
|
WORKER DISTRIBUTION:
|
|
1531
|
-
${workerTypes.map(type => `β’ ${type}: ${workerGroups[type].length} agents`).join('\n')}
|
|
2112
|
+
${workerTypes.map((type) => `β’ ${type}: ${workerGroups[type].length} agents`).join('\n')}
|
|
1532
2113
|
|
|
1533
2114
|
π§ AVAILABLE MCP TOOLS FOR HIVE MIND COORDINATION:
|
|
1534
2115
|
|
|
@@ -1568,7 +2149,7 @@ As the Queen coordinator, you must:
|
|
|
1568
2149
|
|
|
1569
2150
|
1. **INITIALIZE THE HIVE** (Single BatchTool Message):
|
|
1570
2151
|
[BatchTool]:
|
|
1571
|
-
${workerTypes.map(type => ` mcp__claude-flow__agent_spawn { "type": "${type}", "count": ${workerGroups[type].length} }`).join('\n')}
|
|
2152
|
+
${workerTypes.map((type) => ` mcp__claude-flow__agent_spawn { "type": "${type}", "count": ${workerGroups[type].length} }`).join('\n')}
|
|
1572
2153
|
mcp__claude-flow__memory_store { "key": "hive/objective", "value": "${objective}" }
|
|
1573
2154
|
mcp__claude-flow__memory_store { "key": "hive/queen", "value": "${queenType}" }
|
|
1574
2155
|
mcp__claude-flow__swarm_think { "topic": "initial_strategy" }
|
|
@@ -1581,21 +2162,33 @@ As the Queen coordinator, you must:
|
|
|
1581
2162
|
- Coordinate strategy with swarm_think
|
|
1582
2163
|
|
|
1583
2164
|
3. **QUEEN LEADERSHIP PATTERNS**:
|
|
1584
|
-
${
|
|
2165
|
+
${
|
|
2166
|
+
queenType === 'strategic'
|
|
2167
|
+
? `
|
|
1585
2168
|
- Focus on high-level planning and coordination
|
|
1586
2169
|
- Delegate implementation details to workers
|
|
1587
2170
|
- Monitor overall progress and adjust strategy
|
|
1588
|
-
- Make executive decisions when consensus fails`
|
|
1589
|
-
|
|
2171
|
+
- Make executive decisions when consensus fails`
|
|
2172
|
+
: ''
|
|
2173
|
+
}
|
|
2174
|
+
${
|
|
2175
|
+
queenType === 'tactical'
|
|
2176
|
+
? `
|
|
1590
2177
|
- Manage detailed task breakdowns and assignments
|
|
1591
2178
|
- Closely monitor worker progress and efficiency
|
|
1592
2179
|
- Optimize resource allocation and load balancing
|
|
1593
|
-
- Intervene directly when workers need guidance`
|
|
1594
|
-
|
|
2180
|
+
- Intervene directly when workers need guidance`
|
|
2181
|
+
: ''
|
|
2182
|
+
}
|
|
2183
|
+
${
|
|
2184
|
+
queenType === 'adaptive'
|
|
2185
|
+
? `
|
|
1595
2186
|
- Learn from swarm performance and adapt strategies
|
|
1596
2187
|
- Experiment with different coordination patterns
|
|
1597
2188
|
- Use neural training to improve over time
|
|
1598
|
-
- Balance between strategic and tactical approaches`
|
|
2189
|
+
- Balance between strategic and tactical approaches`
|
|
2190
|
+
: ''
|
|
2191
|
+
}
|
|
1599
2192
|
|
|
1600
2193
|
4. **WORKER COORDINATION**:
|
|
1601
2194
|
- Spawn workers based on task requirements
|
|
@@ -1673,24 +2266,24 @@ function generateCoordinationInstructions(swarmId, swarmName, objective, workers
|
|
|
1673
2266
|
hiveMindEndpoint: 'ws://localhost:3000/hive-mind',
|
|
1674
2267
|
mcpTools: [
|
|
1675
2268
|
'mcp__ruv-swarm__memory_usage',
|
|
1676
|
-
'mcp__ruv-swarm__swarm_monitor',
|
|
2269
|
+
'mcp__ruv-swarm__swarm_monitor',
|
|
1677
2270
|
'mcp__ruv-swarm__task_orchestrate',
|
|
1678
2271
|
'mcp__ruv-swarm__neural_train',
|
|
1679
2272
|
'mcp__ruv-swarm__consensus_vote',
|
|
1680
2273
|
'mcp__ruv-swarm__agent_spawn',
|
|
1681
|
-
'mcp__ruv-swarm__swarm_status'
|
|
2274
|
+
'mcp__ruv-swarm__swarm_status',
|
|
1682
2275
|
],
|
|
1683
2276
|
coordinationProtocol: {
|
|
1684
2277
|
memoryNamespace: `hive-mind-${swarmId}`,
|
|
1685
2278
|
consensusThreshold: 0.7,
|
|
1686
2279
|
taskUpdateInterval: 30000,
|
|
1687
|
-
healthCheckInterval: 60000
|
|
2280
|
+
healthCheckInterval: 60000,
|
|
1688
2281
|
},
|
|
1689
|
-
workerCapabilities: workers.map(w => ({
|
|
2282
|
+
workerCapabilities: workers.map((w) => ({
|
|
1690
2283
|
id: w.id,
|
|
1691
2284
|
type: w.type,
|
|
1692
|
-
capabilities: JSON.parse(w.capabilities)
|
|
1693
|
-
}))
|
|
2285
|
+
capabilities: JSON.parse(w.capabilities),
|
|
2286
|
+
})),
|
|
1694
2287
|
};
|
|
1695
2288
|
}
|
|
1696
2289
|
|
|
@@ -1710,7 +2303,14 @@ function groupWorkersByType(workers) {
|
|
|
1710
2303
|
/**
|
|
1711
2304
|
* Create Claude Code spawn command with coordination context
|
|
1712
2305
|
*/
|
|
1713
|
-
function createClaudeCodeSpawnCommand(
|
|
2306
|
+
function createClaudeCodeSpawnCommand(
|
|
2307
|
+
swarmId,
|
|
2308
|
+
swarmName,
|
|
2309
|
+
objective,
|
|
2310
|
+
workerType,
|
|
2311
|
+
typeWorkers,
|
|
2312
|
+
instructions,
|
|
2313
|
+
) {
|
|
1714
2314
|
const context = `You are a ${workerType} agent in the "${swarmName}" Hive Mind swarm.
|
|
1715
2315
|
|
|
1716
2316
|
π― MISSION: ${objective}
|
|
@@ -1752,13 +2352,13 @@ ${getWorkerTypeInstructions(workerType)}
|
|
|
1752
2352
|
Remember: You are part of a COLLECTIVE INTELLIGENCE. Your individual success depends on swarm coordination!`;
|
|
1753
2353
|
|
|
1754
2354
|
const command = `claude code --context "${context.replace(/"/g, '\\"')}"`;
|
|
1755
|
-
|
|
2355
|
+
|
|
1756
2356
|
return {
|
|
1757
2357
|
title: `${workerType.toUpperCase()} Agent (${typeWorkers.length} instance${typeWorkers.length > 1 ? 's' : ''})`,
|
|
1758
2358
|
command,
|
|
1759
2359
|
context,
|
|
1760
2360
|
workerType,
|
|
1761
|
-
count: typeWorkers.length
|
|
2361
|
+
count: typeWorkers.length,
|
|
1762
2362
|
};
|
|
1763
2363
|
}
|
|
1764
2364
|
|
|
@@ -1772,43 +2372,418 @@ function getWorkerTypeInstructions(workerType) {
|
|
|
1772
2372
|
- Validate source credibility and relevance
|
|
1773
2373
|
- Synthesize insights from multiple sources
|
|
1774
2374
|
- Share research methodology and results`,
|
|
1775
|
-
|
|
2375
|
+
|
|
1776
2376
|
coder: `- Write clean, maintainable, well-documented code
|
|
1777
2377
|
- Follow project conventions and best practices
|
|
1778
2378
|
- Test implementations thoroughly
|
|
1779
2379
|
- Document code changes and decisions
|
|
1780
2380
|
- Review and optimize existing code`,
|
|
1781
|
-
|
|
2381
|
+
|
|
1782
2382
|
analyst: `- Analyze data patterns and trends
|
|
1783
2383
|
- Create comprehensive reports and visualizations
|
|
1784
2384
|
- Identify key insights and recommendations
|
|
1785
2385
|
- Validate analytical methodologies
|
|
1786
2386
|
- Correlate findings across data sources`,
|
|
1787
|
-
|
|
2387
|
+
|
|
1788
2388
|
tester: `- Design comprehensive test strategies
|
|
1789
2389
|
- Execute functional, integration, and performance tests
|
|
1790
2390
|
- Document test results and issues
|
|
1791
2391
|
- Verify bug fixes and improvements
|
|
1792
2392
|
- Ensure quality standards and coverage`,
|
|
1793
|
-
|
|
2393
|
+
|
|
1794
2394
|
coordinator: `- Monitor overall progress and coordination
|
|
1795
2395
|
- Facilitate communication between agents
|
|
1796
2396
|
- Resolve conflicts and blockers
|
|
1797
2397
|
- Optimize resource allocation
|
|
1798
2398
|
- Ensure alignment with objectives`,
|
|
1799
|
-
|
|
2399
|
+
|
|
1800
2400
|
architect: `- Design system architecture and components
|
|
1801
2401
|
- Define technical standards and patterns
|
|
1802
2402
|
- Create implementation guidelines
|
|
1803
2403
|
- Review and approve design decisions
|
|
1804
|
-
- Ensure scalability and maintainability
|
|
2404
|
+
- Ensure scalability and maintainability`,
|
|
1805
2405
|
};
|
|
1806
|
-
|
|
1807
|
-
return
|
|
2406
|
+
|
|
2407
|
+
return (
|
|
2408
|
+
instructions[workerType] ||
|
|
2409
|
+
`- Execute tasks according to ${workerType} best practices
|
|
1808
2410
|
- Collaborate effectively with team members
|
|
1809
2411
|
- Document work and share insights
|
|
1810
2412
|
- Maintain quality standards
|
|
1811
|
-
- Contribute to collective objectives
|
|
2413
|
+
- Contribute to collective objectives`
|
|
2414
|
+
);
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* Show all hive mind sessions
|
|
2419
|
+
*/
|
|
2420
|
+
async function showSessions(flags) {
|
|
2421
|
+
try {
|
|
2422
|
+
const sessionManager = new HiveMindSessionManager();
|
|
2423
|
+
const sessions = await sessionManager.getActiveSessions();
|
|
2424
|
+
|
|
2425
|
+
if (sessions.length === 0) {
|
|
2426
|
+
console.log(chalk.gray('No active or paused sessions found'));
|
|
2427
|
+
sessionManager.close();
|
|
2428
|
+
return;
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
console.log(chalk.bold('\nποΈ Hive Mind Sessions\n'));
|
|
2432
|
+
|
|
2433
|
+
sessions.forEach((session, index) => {
|
|
2434
|
+
const statusColor =
|
|
2435
|
+
session.status === 'active' ? 'green' : session.status === 'paused' ? 'yellow' : 'gray';
|
|
2436
|
+
const statusIcon =
|
|
2437
|
+
session.status === 'active' ? 'π’' : session.status === 'paused' ? 'π‘' : 'β«';
|
|
2438
|
+
|
|
2439
|
+
console.log(chalk.yellow('β'.repeat(60)));
|
|
2440
|
+
console.log(`${statusIcon} ${chalk.bold(session.swarm_name)}`);
|
|
2441
|
+
console.log(chalk.cyan('Session ID:'), session.id);
|
|
2442
|
+
console.log(chalk.cyan('Status:'), chalk[statusColor](session.status));
|
|
2443
|
+
console.log(chalk.cyan('Objective:'), session.objective);
|
|
2444
|
+
console.log(chalk.cyan('Progress:'), `${session.completion_percentage}%`);
|
|
2445
|
+
console.log(chalk.cyan('Created:'), new Date(session.created_at).toLocaleString());
|
|
2446
|
+
console.log(chalk.cyan('Last Updated:'), new Date(session.updated_at).toLocaleString());
|
|
2447
|
+
|
|
2448
|
+
if (session.paused_at) {
|
|
2449
|
+
console.log(chalk.cyan('Paused At:'), new Date(session.paused_at).toLocaleString());
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
console.log('\n' + chalk.bold('Progress:'));
|
|
2453
|
+
console.log(` Agents: ${session.agent_count || 0}`);
|
|
2454
|
+
console.log(` Tasks: ${session.completed_tasks || 0}/${session.task_count || 0}`);
|
|
2455
|
+
|
|
2456
|
+
if (session.checkpoint_data) {
|
|
2457
|
+
console.log('\n' + chalk.bold('Last Checkpoint:'));
|
|
2458
|
+
console.log(
|
|
2459
|
+
chalk.gray(JSON.stringify(session.checkpoint_data, null, 2).substring(0, 200) + '...'),
|
|
2460
|
+
);
|
|
2461
|
+
}
|
|
2462
|
+
});
|
|
2463
|
+
|
|
2464
|
+
console.log(chalk.yellow('β'.repeat(60)) + '\n');
|
|
2465
|
+
|
|
2466
|
+
console.log(chalk.blue('π‘ Tips:'));
|
|
2467
|
+
console.log(' β’ Resume a session: claude-flow hive-mind resume <session-id>');
|
|
2468
|
+
console.log(' β’ View session details: claude-flow hive-mind status');
|
|
2469
|
+
|
|
2470
|
+
sessionManager.close();
|
|
2471
|
+
} catch (error) {
|
|
2472
|
+
console.error(chalk.red('Error:'), error.message);
|
|
2473
|
+
exit(1);
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
/**
|
|
2478
|
+
* Resume a paused hive mind session
|
|
2479
|
+
*/
|
|
2480
|
+
async function resumeSession(args, flags) {
|
|
2481
|
+
const sessionId = args[0];
|
|
2482
|
+
|
|
2483
|
+
if (!sessionId) {
|
|
2484
|
+
console.error(chalk.red('Error: Please provide a session ID'));
|
|
2485
|
+
console.log('Usage: claude-flow hive-mind resume <session-id>');
|
|
2486
|
+
console.log('Run "claude-flow hive-mind sessions" to see available sessions');
|
|
2487
|
+
return;
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
const spinner = ora('Resuming Hive Mind session...').start();
|
|
2491
|
+
|
|
2492
|
+
try {
|
|
2493
|
+
const sessionManager = new HiveMindSessionManager();
|
|
2494
|
+
|
|
2495
|
+
// Get session details
|
|
2496
|
+
const session = sessionManager.getSession(sessionId);
|
|
2497
|
+
|
|
2498
|
+
if (!session) {
|
|
2499
|
+
spinner.fail(`Session ${sessionId} not found`);
|
|
2500
|
+
console.log('\nRun "claude-flow hive-mind sessions" to see available sessions');
|
|
2501
|
+
sessionManager.close();
|
|
2502
|
+
return;
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
// Allow resuming any session regardless of status
|
|
2506
|
+
spinner.text = `Resuming session from status: ${session.status}...`;
|
|
2507
|
+
|
|
2508
|
+
if (session.status === 'stopped') {
|
|
2509
|
+
spinner.text = 'Restarting stopped session with original configuration...';
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
// Resume the session
|
|
2513
|
+
const resumedSession = await sessionManager.resumeSession(sessionId);
|
|
2514
|
+
|
|
2515
|
+
spinner.succeed('Session resumed successfully!');
|
|
2516
|
+
|
|
2517
|
+
// Display session summary
|
|
2518
|
+
console.log('\n' + chalk.bold('π Resumed Session Summary:'));
|
|
2519
|
+
console.log(chalk.gray('β'.repeat(50)));
|
|
2520
|
+
console.log(chalk.cyan('Session ID:'), sessionId);
|
|
2521
|
+
console.log(chalk.cyan('Swarm Name:'), resumedSession.swarm_name);
|
|
2522
|
+
console.log(chalk.cyan('Objective:'), resumedSession.objective);
|
|
2523
|
+
console.log(chalk.cyan('Progress:'), `${resumedSession.statistics.completionPercentage}%`);
|
|
2524
|
+
console.log(
|
|
2525
|
+
chalk.cyan('Active Agents:'),
|
|
2526
|
+
`${resumedSession.statistics.activeAgents}/${resumedSession.statistics.totalAgents}`,
|
|
2527
|
+
);
|
|
2528
|
+
console.log(
|
|
2529
|
+
chalk.cyan('Tasks:'),
|
|
2530
|
+
`${resumedSession.statistics.completedTasks}/${resumedSession.statistics.totalTasks} completed`,
|
|
2531
|
+
);
|
|
2532
|
+
console.log(chalk.gray('β'.repeat(50)));
|
|
2533
|
+
|
|
2534
|
+
// Show task breakdown
|
|
2535
|
+
console.log('\n' + chalk.bold('π Task Status:'));
|
|
2536
|
+
console.log(` β
Completed: ${resumedSession.statistics.completedTasks}`);
|
|
2537
|
+
console.log(` π In Progress: ${resumedSession.statistics.inProgressTasks}`);
|
|
2538
|
+
console.log(` β³ Pending: ${resumedSession.statistics.pendingTasks}`);
|
|
2539
|
+
|
|
2540
|
+
// Show recent activity
|
|
2541
|
+
if (resumedSession.recentLogs && resumedSession.recentLogs.length > 0) {
|
|
2542
|
+
console.log('\n' + chalk.bold('π Recent Activity:'));
|
|
2543
|
+
resumedSession.recentLogs.slice(0, 5).forEach((log) => {
|
|
2544
|
+
const timestamp = new Date(log.timestamp).toLocaleTimeString();
|
|
2545
|
+
console.log(` [${timestamp}] ${log.message}`);
|
|
2546
|
+
});
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
// Restore checkpoint if available
|
|
2550
|
+
if (resumedSession.checkpoint_data) {
|
|
2551
|
+
console.log('\n' + chalk.bold('β»οΈ Restoring from checkpoint...'));
|
|
2552
|
+
console.log(chalk.gray('Checkpoint data available for restoration'));
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
sessionManager.close();
|
|
2556
|
+
|
|
2557
|
+
// Offer to spawn Claude Code with restored context
|
|
2558
|
+
if (flags.claude || flags.spawn) {
|
|
2559
|
+
console.log('\n' + chalk.yellow('π Launching Claude Code with restored context...'));
|
|
2560
|
+
|
|
2561
|
+
// Generate prompt with session context
|
|
2562
|
+
const restoredPrompt = generateRestoredSessionPrompt(resumedSession);
|
|
2563
|
+
|
|
2564
|
+
// Launch Claude Code with restored context
|
|
2565
|
+
await launchClaudeWithContext(restoredPrompt, flags);
|
|
2566
|
+
} else {
|
|
2567
|
+
console.log(
|
|
2568
|
+
'\n' +
|
|
2569
|
+
chalk.blue('π‘ Pro Tip:') +
|
|
2570
|
+
' Add --claude to spawn Claude Code with restored context',
|
|
2571
|
+
);
|
|
2572
|
+
console.log(chalk.gray(' claude-flow hive-mind resume ' + sessionId + ' --claude'));
|
|
2573
|
+
}
|
|
2574
|
+
} catch (error) {
|
|
2575
|
+
spinner.fail('Failed to resume session');
|
|
2576
|
+
console.error(chalk.red('Error:'), error.message);
|
|
2577
|
+
exit(1);
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* Stop a hive mind session
|
|
2583
|
+
*/
|
|
2584
|
+
async function stopSession(args, flags) {
|
|
2585
|
+
const sessionId = args[0];
|
|
2586
|
+
|
|
2587
|
+
if (!sessionId) {
|
|
2588
|
+
console.error(chalk.red('Error: Please provide a session ID'));
|
|
2589
|
+
console.log('Usage: claude-flow hive-mind stop <session-id>');
|
|
2590
|
+
console.log('Run "claude-flow hive-mind sessions" to see available sessions');
|
|
2591
|
+
return;
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
const spinner = ora('Stopping Hive Mind session...').start();
|
|
2595
|
+
|
|
2596
|
+
try {
|
|
2597
|
+
const sessionManager = new HiveMindSessionManager();
|
|
2598
|
+
|
|
2599
|
+
// Get session details
|
|
2600
|
+
const session = sessionManager.getSession(sessionId);
|
|
2601
|
+
|
|
2602
|
+
if (!session) {
|
|
2603
|
+
spinner.fail(`Session ${sessionId} not found`);
|
|
2604
|
+
console.log('\nRun "claude-flow hive-mind sessions" to see available sessions');
|
|
2605
|
+
sessionManager.close();
|
|
2606
|
+
return;
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2609
|
+
// Stop the session
|
|
2610
|
+
await sessionManager.stopSession(sessionId);
|
|
2611
|
+
|
|
2612
|
+
spinner.succeed('Session stopped successfully!');
|
|
2613
|
+
|
|
2614
|
+
// Display session summary
|
|
2615
|
+
console.log('\n' + chalk.bold('π Stopped Session Summary:'));
|
|
2616
|
+
console.log(chalk.gray('β'.repeat(50)));
|
|
2617
|
+
console.log(chalk.cyan('Session ID:'), sessionId);
|
|
2618
|
+
console.log(chalk.cyan('Swarm Name:'), session.swarm_name || 'Unknown');
|
|
2619
|
+
console.log(chalk.cyan('Final Status:'), 'Stopped');
|
|
2620
|
+
console.log(
|
|
2621
|
+
chalk.cyan('Active Agents:'),
|
|
2622
|
+
session.statistics ? session.statistics.activeAgents : 0,
|
|
2623
|
+
);
|
|
2624
|
+
console.log(chalk.gray('β'.repeat(50)));
|
|
2625
|
+
|
|
2626
|
+
console.log('\n' + chalk.yellow('π‘ Session has been stopped and all processes cleaned up.'));
|
|
2627
|
+
console.log(
|
|
2628
|
+
chalk.gray('To resume this session later, use: claude-flow hive-mind resume ' + sessionId),
|
|
2629
|
+
);
|
|
2630
|
+
|
|
2631
|
+
sessionManager.close();
|
|
2632
|
+
} catch (error) {
|
|
2633
|
+
spinner.fail('Failed to stop session');
|
|
2634
|
+
console.error(chalk.red('Error:'), error.message);
|
|
2635
|
+
exit(1);
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* Generate prompt for restored session
|
|
2641
|
+
*/
|
|
2642
|
+
function generateRestoredSessionPrompt(session) {
|
|
2643
|
+
const activeAgents = session.agents.filter((a) => a.status === 'active' || a.status === 'busy');
|
|
2644
|
+
const pendingTasks = session.tasks.filter(
|
|
2645
|
+
(t) => t.status === 'pending' || t.status === 'in_progress',
|
|
2646
|
+
);
|
|
2647
|
+
|
|
2648
|
+
return `π RESUMING HIVE MIND SESSION
|
|
2649
|
+
βββββββββββββββββββββββββββββββββββ
|
|
2650
|
+
|
|
2651
|
+
You are resuming a paused Hive Mind session with the following context:
|
|
2652
|
+
|
|
2653
|
+
SESSION DETAILS:
|
|
2654
|
+
π Session ID: ${session.id}
|
|
2655
|
+
π Swarm Name: ${session.swarm_name}
|
|
2656
|
+
π― Objective: ${session.objective}
|
|
2657
|
+
π Progress: ${session.statistics.completionPercentage}% complete
|
|
2658
|
+
βΈοΈ Paused: ${new Date(session.paused_at).toLocaleString()}
|
|
2659
|
+
βΆοΈ Resumed: ${new Date().toLocaleString()}
|
|
2660
|
+
|
|
2661
|
+
CURRENT STATUS:
|
|
2662
|
+
β’ Total Agents: ${session.statistics.totalAgents}
|
|
2663
|
+
β’ Active Agents: ${session.statistics.activeAgents}
|
|
2664
|
+
β’ Completed Tasks: ${session.statistics.completedTasks}/${session.statistics.totalTasks}
|
|
2665
|
+
β’ Pending Tasks: ${pendingTasks.length}
|
|
2666
|
+
|
|
2667
|
+
ACTIVE AGENTS:
|
|
2668
|
+
${activeAgents.map((agent) => `β’ ${agent.name} (${agent.type}) - ${agent.status}`).join('\n')}
|
|
2669
|
+
|
|
2670
|
+
PENDING TASKS:
|
|
2671
|
+
${pendingTasks
|
|
2672
|
+
.slice(0, 10)
|
|
2673
|
+
.map((task) => `β’ [${task.priority}] ${task.description}`)
|
|
2674
|
+
.join('\n')}
|
|
2675
|
+
${pendingTasks.length > 10 ? `... and ${pendingTasks.length - 10} more tasks` : ''}
|
|
2676
|
+
|
|
2677
|
+
CHECKPOINT DATA:
|
|
2678
|
+
${session.checkpoint_data ? JSON.stringify(session.checkpoint_data, null, 2) : 'No checkpoint data available'}
|
|
2679
|
+
|
|
2680
|
+
RECENT ACTIVITY:
|
|
2681
|
+
${session.recentLogs
|
|
2682
|
+
.slice(0, 10)
|
|
2683
|
+
.map((log) => `[${new Date(log.timestamp).toLocaleTimeString()}] ${log.message}`)
|
|
2684
|
+
.join('\n')}
|
|
2685
|
+
|
|
2686
|
+
π― RESUMPTION PROTOCOL:
|
|
2687
|
+
|
|
2688
|
+
1. **RESTORE CONTEXT**:
|
|
2689
|
+
- Review the checkpoint data and recent activity
|
|
2690
|
+
- Check collective memory for important decisions
|
|
2691
|
+
- Verify agent status and reassign if needed
|
|
2692
|
+
|
|
2693
|
+
2. **CONTINUE EXECUTION**:
|
|
2694
|
+
- Resume pending tasks based on priority
|
|
2695
|
+
- Maintain coordination with existing agents
|
|
2696
|
+
- Update progress tracking regularly
|
|
2697
|
+
|
|
2698
|
+
3. **COORDINATION**:
|
|
2699
|
+
- Use mcp__claude-flow__memory_retrieve to access shared knowledge
|
|
2700
|
+
- Continue using consensus mechanisms for decisions
|
|
2701
|
+
- Maintain swarm communication protocols
|
|
2702
|
+
|
|
2703
|
+
Resume the hive mind operation and continue working towards the objective.`;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
/**
|
|
2707
|
+
* Launch Claude Code with context
|
|
2708
|
+
*/
|
|
2709
|
+
async function launchClaudeWithContext(prompt, flags) {
|
|
2710
|
+
try {
|
|
2711
|
+
// ALWAYS save the prompt file first (fix for issue #330)
|
|
2712
|
+
const promptFile = `hive-mind-resume-${Date.now()}.txt`;
|
|
2713
|
+
await writeFile(promptFile, prompt);
|
|
2714
|
+
console.log(chalk.green(`\nβ Session context saved to: ${promptFile}`));
|
|
2715
|
+
|
|
2716
|
+
const { spawn: childSpawn, execSync } = await import('child_process');
|
|
2717
|
+
let claudeAvailable = false;
|
|
2718
|
+
|
|
2719
|
+
try {
|
|
2720
|
+
execSync('which claude', { stdio: 'ignore' });
|
|
2721
|
+
claudeAvailable = true;
|
|
2722
|
+
} catch {
|
|
2723
|
+
console.log(chalk.yellow('\nβ οΈ Claude Code CLI not found'));
|
|
2724
|
+
console.log(chalk.gray('Install Claude Code: npm install -g @anthropic-ai/claude-code'));
|
|
2725
|
+
console.log(chalk.gray(`Run with: claude < ${promptFile}`));
|
|
2726
|
+
return;
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
if (claudeAvailable && !flags.dryRun) {
|
|
2730
|
+
const claudeArgs = [prompt, '--print'];
|
|
2731
|
+
|
|
2732
|
+
if (flags['dangerously-skip-permissions'] !== false && !flags['no-auto-permissions']) {
|
|
2733
|
+
claudeArgs.push('--dangerously-skip-permissions');
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
// Use 'pipe' instead of 'inherit' to prevent terminal conflicts
|
|
2737
|
+
const claudeProcess = childSpawn('claude', claudeArgs, {
|
|
2738
|
+
stdio: 'pipe',
|
|
2739
|
+
shell: false,
|
|
2740
|
+
});
|
|
2741
|
+
|
|
2742
|
+
// Set up SIGINT handler for clean termination (no session pausing here since we're resuming)
|
|
2743
|
+
const sigintHandler = () => {
|
|
2744
|
+
console.log('\n\n' + chalk.yellow('βΉοΈ Terminating Claude Code...'));
|
|
2745
|
+
if (claudeProcess && !claudeProcess.killed) {
|
|
2746
|
+
claudeProcess.kill('SIGTERM');
|
|
2747
|
+
}
|
|
2748
|
+
process.exit(0);
|
|
2749
|
+
};
|
|
2750
|
+
|
|
2751
|
+
process.on('SIGINT', sigintHandler);
|
|
2752
|
+
process.on('SIGTERM', sigintHandler);
|
|
2753
|
+
|
|
2754
|
+
// Handle stdout
|
|
2755
|
+
if (claudeProcess.stdout) {
|
|
2756
|
+
claudeProcess.stdout.on('data', (data) => {
|
|
2757
|
+
console.log(data.toString());
|
|
2758
|
+
});
|
|
2759
|
+
}
|
|
2760
|
+
|
|
2761
|
+
// Handle stderr
|
|
2762
|
+
if (claudeProcess.stderr) {
|
|
2763
|
+
claudeProcess.stderr.on('data', (data) => {
|
|
2764
|
+
console.error(chalk.red(data.toString()));
|
|
2765
|
+
});
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
// Handle process exit
|
|
2769
|
+
claudeProcess.on('exit', (code) => {
|
|
2770
|
+
if (code === 0) {
|
|
2771
|
+
console.log(chalk.green('\nβ Claude Code completed successfully'));
|
|
2772
|
+
} else if (code !== null) {
|
|
2773
|
+
console.log(chalk.red(`\nβ Claude Code exited with code ${code}`));
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
// Clean up signal handlers
|
|
2777
|
+
process.removeListener('SIGINT', sigintHandler);
|
|
2778
|
+
process.removeListener('SIGTERM', sigintHandler);
|
|
2779
|
+
});
|
|
2780
|
+
|
|
2781
|
+
console.log(chalk.green('\nβ Claude Code launched with restored session context'));
|
|
2782
|
+
console.log(chalk.gray(` Prompt file saved at: ${promptFile}`));
|
|
2783
|
+
}
|
|
2784
|
+
} catch (error) {
|
|
2785
|
+
console.error(chalk.red('Failed to launch Claude Code:'), error.message);
|
|
2786
|
+
}
|
|
1812
2787
|
}
|
|
1813
2788
|
|
|
1814
2789
|
/**
|
|
@@ -1820,4 +2795,4 @@ async function getMcpWrapper() {
|
|
|
1820
2795
|
}
|
|
1821
2796
|
|
|
1822
2797
|
// Export for testing
|
|
1823
|
-
export { showHiveMindHelp, initHiveMind, spawnSwarm, showStatus };
|
|
2798
|
+
export { showHiveMindHelp, initHiveMind, spawnSwarm, showStatus };
|