claude-flow-novice 2.3.4 ā 2.3.6
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/dist/src/booster/performance-benchmark.js +1 -1
- package/dist/src/booster/wasm-demo.js +1 -1
- package/dist/src/cli/command-registry.js +2 -2
- package/dist/src/cli/help-formatter.js +137 -109
- package/dist/src/cli/simple-cli.js +2528 -2121
- package/dist/src/cli/simple-commands/sparc/refinement.js +3 -3
- package/dist/src/cli/validation-helper.js +98 -49
- package/dist/src/commands/suggest-templates.js +4 -4
- package/dist/src/core/version.js +23 -15
- package/dist/src/memory/swarm-memory.js +603 -470
- package/dist/src/slash-commands/fullstack.js +2 -2
- package/dist/src/slash-commands/parse-epic.js +1 -1
- package/package.json +1 -1
- package/scripts/postinstall.js +41 -31
- package/dist/scripts/.claude-flow/metrics/agent-metrics.json +0 -1
- package/dist/scripts/.claude-flow/metrics/performance.json +0 -9
- package/dist/scripts/.claude-flow/metrics/task-metrics.json +0 -10
- package/dist/scripts/CLEANUP_OPTIMIZATION_REPORT.json +0 -312
- package/dist/scripts/CLEANUP_PERFORMANCE_OPTIMIZATION.md +0 -387
- package/dist/scripts/CLEANUP_QUICK_START.md +0 -268
- package/dist/scripts/CLEANUP_TEST_RESULTS.md +0 -205
- package/dist/scripts/README.md +0 -339
- package/dist/scripts/ace-query.sh +0 -384
- package/dist/scripts/agent-token-analysis.js +0 -430
- package/dist/scripts/auto-setup.js +0 -332
- package/dist/scripts/build/README.md +0 -167
- package/dist/scripts/build/build-config.js +0 -27
- package/dist/scripts/build/build-prompt-copier.sh +0 -30
- package/dist/scripts/build/performance-monitor.js +0 -869
- package/dist/scripts/build/prepare-publish.js +0 -150
- package/dist/scripts/build/typescript-fixer.js +0 -621
- package/dist/scripts/build/unified-builder.sh +0 -428
- package/dist/scripts/build/update-bin-version.js +0 -32
- package/dist/scripts/build/validate-agents.js +0 -238
- package/dist/scripts/build-index.js +0 -43
- package/dist/scripts/build-orchestrator.js +0 -320
- package/dist/scripts/check-routing-stats.cjs +0 -122
- package/dist/scripts/ci-validation.js +0 -375
- package/dist/scripts/cleanup-blocking-coordination.sh +0 -420
- package/dist/scripts/cleanup-idle-sessions.sh +0 -118
- package/dist/scripts/collect-build-metrics.js +0 -65
- package/dist/scripts/demo/README.md +0 -79
- package/dist/scripts/demo/autoscaling-demo-simplified.js +0 -963
- package/dist/scripts/demo/comprehensive-dashboard-test.js +0 -693
- package/dist/scripts/demo/confidence-log.js +0 -87
- package/dist/scripts/demo/confidence-report.js +0 -82
- package/dist/scripts/demo/demo-multi-swarm-coordination.js +0 -325
- package/dist/scripts/demo/demo-production-deployment.js +0 -399
- package/dist/scripts/demo/demo-visualization-system.js +0 -149
- package/dist/scripts/demo/performance-analysis.cjs +0 -71
- package/dist/scripts/demo/performance-analysis.js +0 -71
- package/dist/scripts/demo/test-autoscaling-demo.js +0 -314
- package/dist/scripts/dependency-optimizer.js +0 -349
- package/dist/scripts/dependency-security-assessment.js +0 -331
- package/dist/scripts/deploy-sdk.sh +0 -176
- package/dist/scripts/deployment-readiness-report.json +0 -179
- package/dist/scripts/dev/README.md +0 -264
- package/dist/scripts/dev/claude-flow-wrapper.sh +0 -35
- package/dist/scripts/dev/claude-monitor.py +0 -419
- package/dist/scripts/dev/claude-sparc.sh +0 -562
- package/dist/scripts/dev/claude-wrapper.sh +0 -17
- package/dist/scripts/dev/demo-phase3-compliance.js +0 -172
- package/dist/scripts/dev/demo-task-system.ts +0 -224
- package/dist/scripts/dev/deployment-validator.js +0 -315
- package/dist/scripts/dev/spawn-claude-terminal.sh +0 -32
- package/dist/scripts/dev/start-portal.sh +0 -506
- package/dist/scripts/dev/start-web-ui.js +0 -15
- package/dist/scripts/dev/stop-portal.sh +0 -311
- package/dist/scripts/dev/validate-examples.ts +0 -288
- package/dist/scripts/dev/validate-phase2.cjs +0 -451
- package/dist/scripts/dev/validate-phase2.js +0 -785
- package/dist/scripts/dev/validate-phase3.cjs +0 -208
- package/dist/scripts/dev/validate-security-remediation.js +0 -1
- package/dist/scripts/ecosystem.config.cjs +0 -90
- package/dist/scripts/enhanced-memory-spiral-killer.sh +0 -221
- package/dist/scripts/fix-js-extensions.js +0 -167
- package/dist/scripts/generate-basic-types.js +0 -73
- package/dist/scripts/generate-changelog.js +0 -318
- package/dist/scripts/git-hooks/pre-commit.sh +0 -143
- package/dist/scripts/health-checks.js +0 -634
- package/dist/scripts/hook-wrapper.sh +0 -54
- package/dist/scripts/install/README.md +0 -375
- package/dist/scripts/install/REDIS_SETUP_VALIDATION.json +0 -245
- package/dist/scripts/install/check-prerequisites.js +0 -303
- package/dist/scripts/install/config-wizard.js +0 -606
- package/dist/scripts/install/dependency-checker.js +0 -385
- package/dist/scripts/install/health-check.js +0 -765
- package/dist/scripts/install/install.js +0 -256
- package/dist/scripts/install/installation-benchmark.js +0 -461
- package/dist/scripts/install/quick-install.js +0 -720
- package/dist/scripts/install/quick-start-wizard.js +0 -295
- package/dist/scripts/install/redis-cli.js +0 -289
- package/dist/scripts/install/redis-install-guides.md +0 -407
- package/dist/scripts/install/redis-setup.js +0 -559
- package/dist/scripts/install/redis-test.js +0 -278
- package/dist/scripts/install/service-manager.js +0 -672
- package/dist/scripts/install/setup.js +0 -832
- package/dist/scripts/install/uninstall.js +0 -526
- package/dist/scripts/install/update.js +0 -461
- package/dist/scripts/install-pre-commit-hook.sh +0 -127
- package/dist/scripts/legacy/README.md +0 -272
- package/dist/scripts/legacy/batch-fix-ts.sh +0 -54
- package/dist/scripts/legacy/build-migration.sh +0 -105
- package/dist/scripts/legacy/build-monitor.js +0 -209
- package/dist/scripts/legacy/build-with-filter.sh +0 -84
- package/dist/scripts/legacy/build-workaround.sh +0 -71
- package/dist/scripts/legacy/fix-ts-advanced.js +0 -358
- package/dist/scripts/legacy/fix-ts-final.sh +0 -50
- package/dist/scripts/legacy/fix-ts-targeted.sh +0 -49
- package/dist/scripts/legacy/fix-typescript-errors.js +0 -305
- package/dist/scripts/legacy/force-build.sh +0 -63
- package/dist/scripts/legacy/optimize-performance.js +0 -400
- package/dist/scripts/legacy/performance-monitor.js +0 -263
- package/dist/scripts/legacy/performance-monitoring.js +0 -532
- package/dist/scripts/legacy/performance-test-runner.js +0 -645
- package/dist/scripts/legacy/quick-fix-ts.js +0 -281
- package/dist/scripts/legacy/safe-build.sh +0 -63
- package/dist/scripts/memory-monitor-coordinator.js +0 -451
- package/dist/scripts/migrate-to-sdk.sh +0 -520
- package/dist/scripts/migration/QUICK-START.md +0 -189
- package/dist/scripts/migration/QUICK-START.md.backup-1760135091363 +0 -189
- package/dist/scripts/migration/README.md +0 -464
- package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md +0 -500
- package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md.backup-1760135091348 +0 -500
- package/dist/scripts/migration/UPDATE-PATHS-README.md +0 -464
- package/dist/scripts/migration/UPDATE-PATHS-README.md.backup-1760135091337 +0 -464
- package/dist/scripts/migration/example-patterns.json +0 -19
- package/dist/scripts/migration/install-arm64.js +0 -78
- package/dist/scripts/migration/install.js +0 -83
- package/dist/scripts/migration/migrate-hooks.js +0 -173
- package/dist/scripts/migration/migration-examples.ts +0 -318
- package/dist/scripts/migration/reorganize-workspace.js +0 -504
- package/dist/scripts/migration/test-update-paths.js +0 -359
- package/dist/scripts/migration/update-paths.js +0 -664
- package/dist/scripts/migration/validate-migration.js +0 -647
- package/dist/scripts/monitor-loop.sh +0 -65
- package/dist/scripts/monitor-memory.sh +0 -47
- package/dist/scripts/monitor-migration.js +0 -339
- package/dist/scripts/monitor.py +0 -43
- package/dist/scripts/monitoring/README.md +0 -178
- package/dist/scripts/monitoring/alert-monitor.sh +0 -220
- package/dist/scripts/monitoring/analyze-resources.sh +0 -199
- package/dist/scripts/monitoring/dashboards/rate-limiting-dashboard.json +0 -211
- package/dist/scripts/monitoring/dynamic-monitor.sh +0 -85
- package/dist/scripts/monitoring/launch-stability-test.sh +0 -184
- package/dist/scripts/monitoring/monitor-test.sh +0 -93
- package/dist/scripts/monitoring/pre-test-validation.sh +0 -208
- package/dist/scripts/monitoring/quick-test-alerting.sh +0 -118
- package/dist/scripts/monitoring/quick-test-rate-limiting.sh +0 -206
- package/dist/scripts/monitoring/rate-limiting-monitor.sh +0 -380
- package/dist/scripts/monitoring/resource-monitor.sh +0 -126
- package/dist/scripts/monitoring/stability-monitor.js +0 -429
- package/dist/scripts/monitoring/test-monitor-quick.sh +0 -54
- package/dist/scripts/monitoring/view-alerts.sh +0 -307
- package/dist/scripts/npm-metrics-collector.js +0 -482
- package/dist/scripts/npm-package-validation.cjs +0 -299
- package/dist/scripts/optimization/build-optimizer.js +0 -438
- package/dist/scripts/optimization/config-validator.js +0 -761
- package/dist/scripts/optimization/test-optimization.js +0 -432
- package/dist/scripts/optimization/unified-activation.js +0 -839
- package/dist/scripts/optimize-package-swarm.js +0 -54
- package/dist/scripts/performance/ACTIVATION_COMMANDS.md +0 -292
- package/dist/scripts/performance/sqlite-enhanced-activation.sh +0 -583
- package/dist/scripts/performance/test-enhanced-backend.sh +0 -504
- package/dist/scripts/performance-monitor.js +0 -644
- package/dist/scripts/performance-test-runner.js +0 -698
- package/dist/scripts/post-deployment-monitoring.js +0 -350
- package/dist/scripts/post-edit-pipeline.js +0 -2091
- package/dist/scripts/post-install-claude-md.js +0 -78
- package/dist/scripts/postinstall.js +0 -84
- package/dist/scripts/pre-publish-validation.cjs +0 -212
- package/dist/scripts/pre-publish-validation.js +0 -429
- package/dist/scripts/redis-lua/cleanup-blocking-coordination.lua +0 -198
- package/dist/scripts/release-announcement.js +0 -425
- package/dist/scripts/release-notification.js +0 -248
- package/dist/scripts/release-rollback.js +0 -376
- package/dist/scripts/release-validation.js +0 -460
- package/dist/scripts/rollback-sdk.sh +0 -66
- package/dist/scripts/run-production-validation.ts +0 -590
- package/dist/scripts/run-stability-validation.sh +0 -687
- package/dist/scripts/security/README.md +0 -339
- package/dist/scripts/security/deployment-validation.cjs +0 -279
- package/dist/scripts/security/envelope-encryption-confidence-report.cjs +0 -422
- package/dist/scripts/security/install-git-hooks.sh +0 -132
- package/dist/scripts/security/install-git-secrets.sh +0 -295
- package/dist/scripts/security/rotate-api-keys.js +0 -469
- package/dist/scripts/security/ruv-swarm-safe.js +0 -74
- package/dist/scripts/security/security-audit.cjs +0 -538
- package/dist/scripts/security/setup-redis-auth.sh +0 -397
- package/dist/scripts/security/validate-envelope-encryption.cjs +0 -340
- package/dist/scripts/security-scan.js +0 -492
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/agent-metrics.json +0 -1
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/performance.json +0 -9
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/task-metrics.json +0 -10
- package/dist/scripts/switch-api.sh +0 -159
- package/dist/scripts/sync-agents.js +0 -290
- package/dist/scripts/test/50-agent-test.js +0 -625
- package/dist/scripts/test/NEW_STABILITY_TEST_GUIDE.md +0 -407
- package/dist/scripts/test/README.md +0 -236
- package/dist/scripts/test/STABILITY_TEST_EXAMPLE.md +0 -347
- package/dist/scripts/test/STABILITY_TEST_README.md +0 -480
- package/dist/scripts/test/agent-worker.js +0 -309
- package/dist/scripts/test/ai-coordination-test.js +0 -650
- package/dist/scripts/test/ai-mesh-coordination-test.js +0 -416
- package/dist/scripts/test/check-links.ts +0 -274
- package/dist/scripts/test/check-performance-regression.ts +0 -168
- package/dist/scripts/test/cli-agent-coordination-test.js +0 -313
- package/dist/scripts/test/coordinator-multilingual-test.js +0 -396
- package/dist/scripts/test/coordinator-transparency-demo.js +0 -585
- package/dist/scripts/test/coverage-report.ts +0 -692
- package/dist/scripts/test/generate-swarm-tests.js +0 -633
- package/dist/scripts/test/integration-test-validation.cjs +0 -253
- package/dist/scripts/test/load-test-swarm.js +0 -576
- package/dist/scripts/test/mesh-coordination-zero-overlap-test.js +0 -740
- package/dist/scripts/test/multilingual-hello-world-test.js +0 -390
- package/dist/scripts/test/quick-multilingual-demo.js +0 -464
- package/dist/scripts/test/real-agent-test.js +0 -312
- package/dist/scripts/test/run-phase3-compliance-tests.js +0 -427
- package/dist/scripts/test/run-stability-test-examples.sh +0 -292
- package/dist/scripts/test/stability-results/stability-metrics.jsonl +0 -83
- package/dist/scripts/test/stability-results/stability-test-report.json +0 -128
- package/dist/scripts/test/stability-results/stability-test.log +0 -1827
- package/dist/scripts/test/stability-test-50-agents.js +0 -734
- package/dist/scripts/test/test-batch-tasks.ts +0 -29
- package/dist/scripts/test/test-byzantine-resolution.js +0 -246
- package/dist/scripts/test/test-claude-spawn-options.sh +0 -63
- package/dist/scripts/test/test-cli-wizard.js +0 -331
- package/dist/scripts/test/test-comprehensive.js +0 -401
- package/dist/scripts/test/test-coordination-features.ts +0 -238
- package/dist/scripts/test/test-fallback-systems.js +0 -276
- package/dist/scripts/test/test-init-command.ts +0 -302
- package/dist/scripts/test/test-mcp.ts +0 -251
- package/dist/scripts/test/test-runner.ts +0 -568
- package/dist/scripts/test/test-swarm-integration.sh +0 -92
- package/dist/scripts/test/test-swarm.ts +0 -142
- package/dist/scripts/test/validation-summary.ts +0 -408
- package/dist/scripts/test-cleanup-performance.sh +0 -416
- package/dist/scripts/test-dashboard-auth.cjs +0 -203
- package/dist/scripts/test-docker-deployment.sh +0 -207
- package/dist/scripts/test-npm-package.cjs +0 -167
- package/dist/scripts/test-provider-routing.cjs +0 -226
- package/dist/scripts/test-routing-telemetry.cjs +0 -147
- package/dist/scripts/test-runner.cjs +0 -154
- package/dist/scripts/test-zai-10k.cjs +0 -81
- package/dist/scripts/test-zai-api.cjs +0 -191
- package/dist/scripts/test-zai-diagnostic.cjs +0 -151
- package/dist/scripts/test-zai-final.cjs +0 -128
- package/dist/scripts/test-zai-with-env.cjs +0 -85
- package/dist/scripts/toggle-cost-savings.cjs +0 -302
- package/dist/scripts/unified-memory-monitor.js +0 -526
- package/dist/scripts/utils/README.md +0 -261
- package/dist/scripts/utils/clean-build-artifacts.sh +0 -94
- package/dist/scripts/utils/cleanup-root.sh +0 -69
- package/dist/scripts/utils/fix-cliffy-imports.js +0 -307
- package/dist/scripts/utils/fix-duplicate-imports.js +0 -114
- package/dist/scripts/utils/fix-error-handling.cjs +0 -70
- package/dist/scripts/utils/fix-import-paths.js +0 -104
- package/dist/scripts/utils/fix-imports.js +0 -116
- package/dist/scripts/utils/fix-shebang.js +0 -78
- package/dist/scripts/utils/fix-test-modules.js +0 -27
- package/dist/scripts/utils/fix-timezone-issue-246.js +0 -200
- package/dist/scripts/utils/fix-ts-comprehensive.py +0 -182
- package/dist/scripts/utils/fix-ts-targeted-batch.js +0 -250
- package/dist/scripts/utils/remove-benchmark-conflicts.sh +0 -140
- package/dist/scripts/utils/simple-test-fixer.js +0 -190
- package/dist/scripts/utils/validate-metrics-structure.cjs +0 -144
- package/dist/scripts/validate-agent-hooks.js +0 -506
- package/dist/scripts/validate-changelog.js +0 -241
- package/dist/scripts/validate-coordination-cli.js +0 -69
- package/dist/scripts/validate-coordination-toggle-integration.cjs +0 -501
- package/dist/scripts/validate-docker-infrastructure.sh +0 -502
- package/dist/scripts/validate-entry-points.js +0 -300
- package/dist/scripts/validate-memory-monitoring.sh +0 -225
- package/dist/scripts/validate-stage3-performance.ts +0 -377
- package/dist/scripts/validate-template-bundling.js +0 -180
- package/dist/scripts/validation/README.md +0 -33
- package/dist/scripts/validation/acl-security-validation.cjs +0 -214
- package/dist/scripts/validation/acl-security-validation.js +0 -402
- package/dist/scripts/validation/byzantine-verification.js +0 -407
- package/dist/scripts/validation/final-phase-2-consensus.cjs +0 -219
- package/dist/scripts/validation/final-security-validation.js +0 -791
- package/dist/scripts/validation/final-wasm-validation.cjs +0 -840
- package/dist/scripts/validation/integration-test-analysis.js +0 -105
- package/dist/scripts/validation/phase-0-comprehensive-validation.js +0 -474
- package/dist/scripts/validation/phase-0-consensus-report.js +0 -139
- package/dist/scripts/validation/phase-0-final-report.js +0 -112
- package/dist/scripts/validation/phase-0-redis-consensus-report.js +0 -129
- package/dist/scripts/validation/phase-0-validation-improved.js +0 -490
- package/dist/scripts/validation/phase-0-validation-test.js +0 -65
- package/dist/scripts/validation/phase-1-consensus-report.cjs +0 -342
- package/dist/scripts/validation/phase-1-consensus-validation.cjs +0 -551
- package/dist/scripts/validation/phase-1-consensus-validation.js +0 -551
- package/dist/scripts/validation/phase-2-consensus-report.cjs +0 -186
- package/dist/scripts/validation/phase-2-validation.cjs +0 -171
- package/dist/scripts/validation/phase-2-validation.js +0 -171
- package/dist/scripts/validation/phase-4-consensus-report.js +0 -181
- package/dist/scripts/validation/phase-4-final-validation.js +0 -351
- package/dist/scripts/validation/phase-5-consensus-report.cjs +0 -113
- package/dist/scripts/validation/phase-5-consensus-report.js +0 -113
- package/dist/scripts/validation/security-analysis.js +0 -49
- package/dist/scripts/validation/security-validation.js +0 -492
- package/dist/scripts/validation/simple-security-validation.js +0 -464
- package/dist/scripts/verify-installation.js +0 -112
- package/dist/scripts/verify-mcp-server.js +0 -86
- package/dist/scripts/verify-sdk-phase1.cjs +0 -293
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/accessibility/browser/accessibilityService.js +0 -88
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/accessibility/common/accessibility.js +0 -9
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/action/common/action.js +0 -7
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/action/common/actionCommonCategories.js +0 -13
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/browser/actionList.js +0 -276
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/browser/actionWidget.js +0 -248
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/common/actionWidget.js +0 -5
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actions/common/actions.js +0 -409
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/audioCues/browser/audioCueService.js +0 -176
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/browser/clipboardService.js +0 -141
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/common/clipboardService.js +0 -6
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/commands/common/commands.js +0 -80
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configuration.js +0 -86
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationModels.js +0 -554
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationRegistry.js +0 -317
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurations.js +0 -41
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/browser/contextKeyService.js +0 -432
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkey.js +0 -1547
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkeys.js +0 -18
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuHandler.js +0 -124
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuService.js +0 -101
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextView.js +0 -7
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextViewService.js +0 -72
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dialogs/common/dialogs.js +0 -2
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dnd/browser/dnd.js +0 -36
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/editor/common/editor.js +0 -17
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/environment/common/environment.js +0 -2
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/extensions/common/extensions.js +0 -47
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/files/common/files.js +0 -9
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +0 -105
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/descriptors.js +0 -11
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/extensions.js +0 -15
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/abstractKeybindingService.js +0 -277
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/baseResolvedKeybinding.js +0 -53
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +0 -354
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/browser/defaultStyles.js +0 -162
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/common/colorRegistry.js +0 -482
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/abap/abap.js +0 -10
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/apex/apex.js +0 -10
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/azcli/azcli.js +0 -10
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bat/bat.js +0 -10
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bicep/bicep.js +0 -11
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env deno run --allow-read --allow-write
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Performance Regression Checker
|
|
5
|
-
* Compares current performance metrics against baseline
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
interface PerformanceMetric {
|
|
9
|
-
name: string;
|
|
10
|
-
value: number;
|
|
11
|
-
unit: string;
|
|
12
|
-
threshold: number; // Maximum allowed regression percentage
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
interface PerformanceReport {
|
|
16
|
-
timestamp: string;
|
|
17
|
-
gitHash: string;
|
|
18
|
-
metrics: PerformanceMetric[];
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const BASELINE_FILE = 'performance-baseline.json';
|
|
22
|
-
const CURRENT_RESULTS_FILE = 'performance-results.json';
|
|
23
|
-
const REGRESSION_THRESHOLD = 20; // 20% regression threshold
|
|
24
|
-
|
|
25
|
-
async function loadBaseline(): Promise<PerformanceReport | null> {
|
|
26
|
-
try {
|
|
27
|
-
const baselineData = await Deno.readTextFile(BASELINE_FILE);
|
|
28
|
-
return JSON.parse(baselineData);
|
|
29
|
-
} catch (error) {
|
|
30
|
-
if (error instanceof Deno.errors.NotFound) {
|
|
31
|
-
console.log('No baseline found, creating initial baseline...');
|
|
32
|
-
return null;
|
|
33
|
-
}
|
|
34
|
-
throw error;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
async function loadCurrentResults(): Promise<PerformanceReport> {
|
|
39
|
-
try {
|
|
40
|
-
const currentData = await Deno.readTextFile(CURRENT_RESULTS_FILE);
|
|
41
|
-
return JSON.parse(currentData);
|
|
42
|
-
} catch (error) {
|
|
43
|
-
console.error('Failed to load current performance results:', error.message);
|
|
44
|
-
Deno.exit(1);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
async function saveBaseline(report: PerformanceReport): Promise<void> {
|
|
49
|
-
await Deno.writeTextFile(BASELINE_FILE, JSON.stringify(report, null, 2));
|
|
50
|
-
console.log('Baseline updated successfully');
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function calculateRegression(baseline: number, current: number): number {
|
|
54
|
-
return ((current - baseline) / baseline) * 100;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function checkRegressions(baseline: PerformanceReport, current: PerformanceReport): {
|
|
58
|
-
regressions: Array<{ metric: string; regression: number; threshold: number }>;
|
|
59
|
-
hasRegressions: boolean;
|
|
60
|
-
} {
|
|
61
|
-
const regressions: Array<{ metric: string; regression: number; threshold: number }> = [];
|
|
62
|
-
|
|
63
|
-
for (const currentMetric of current.metrics) {
|
|
64
|
-
const baselineMetric = baseline.metrics.find(m => m.name === currentMetric.name);
|
|
65
|
-
|
|
66
|
-
if (!baselineMetric) {
|
|
67
|
-
console.log(`New metric detected: ${currentMetric.name}`);
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
const regression = calculateRegression(baselineMetric.value, currentMetric.value);
|
|
72
|
-
const threshold = currentMetric.threshold || REGRESSION_THRESHOLD;
|
|
73
|
-
|
|
74
|
-
if (regression > threshold) {
|
|
75
|
-
regressions.push({
|
|
76
|
-
metric: currentMetric.name,
|
|
77
|
-
regression,
|
|
78
|
-
threshold,
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
return {
|
|
84
|
-
regressions,
|
|
85
|
-
hasRegressions: regressions.length > 0,
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
function generateReport(
|
|
90
|
-
baseline: PerformanceReport,
|
|
91
|
-
current: PerformanceReport,
|
|
92
|
-
regressions: Array<{ metric: string; regression: number; threshold: number }>
|
|
93
|
-
): void {
|
|
94
|
-
console.log('\n=== Performance Regression Report ===\n');
|
|
95
|
-
|
|
96
|
-
console.log(`Baseline: ${baseline.timestamp} (${baseline.gitHash})`);
|
|
97
|
-
console.log(`Current: ${current.timestamp} (${current.gitHash})\n`);
|
|
98
|
-
|
|
99
|
-
if (regressions.length === 0) {
|
|
100
|
-
console.log('ā
No performance regressions detected!\n');
|
|
101
|
-
} else {
|
|
102
|
-
console.log('ā Performance regressions detected:\n');
|
|
103
|
-
|
|
104
|
-
for (const regression of regressions) {
|
|
105
|
-
const baselineMetric = baseline.metrics.find(m => m.name === regression.metric)!;
|
|
106
|
-
const currentMetric = current.metrics.find(m => m.name === regression.metric)!;
|
|
107
|
-
|
|
108
|
-
console.log(` ${regression.metric}:`);
|
|
109
|
-
console.log(` Baseline: ${baselineMetric.value} ${baselineMetric.unit}`);
|
|
110
|
-
console.log(` Current: ${currentMetric.value} ${currentMetric.unit}`);
|
|
111
|
-
console.log(` Regression: ${regression.regression.toFixed(2)}% (threshold: ${regression.threshold}%)`);
|
|
112
|
-
console.log('');
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// Show all metrics for reference
|
|
117
|
-
console.log('š All Performance Metrics:\n');
|
|
118
|
-
|
|
119
|
-
for (const currentMetric of current.metrics) {
|
|
120
|
-
const baselineMetric = baseline.metrics.find(m => m.name === currentMetric.name);
|
|
121
|
-
|
|
122
|
-
if (baselineMetric) {
|
|
123
|
-
const regression = calculateRegression(baselineMetric.value, currentMetric.value);
|
|
124
|
-
const status = regression > (currentMetric.threshold || REGRESSION_THRESHOLD) ? 'ā' : 'ā
';
|
|
125
|
-
|
|
126
|
-
console.log(` ${status} ${currentMetric.name}: ${currentMetric.value} ${currentMetric.unit} (${regression > 0 ? '+' : ''}${regression.toFixed(2)}%)`);
|
|
127
|
-
} else {
|
|
128
|
-
console.log(` š ${currentMetric.name}: ${currentMetric.value} ${currentMetric.unit} (new metric)`);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
console.log('');
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
async function main(): Promise<void> {
|
|
136
|
-
console.log('Checking for performance regressions...\n');
|
|
137
|
-
|
|
138
|
-
const baseline = await loadBaseline();
|
|
139
|
-
const current = await loadCurrentResults();
|
|
140
|
-
|
|
141
|
-
if (!baseline) {
|
|
142
|
-
console.log('No baseline found, establishing current results as baseline...');
|
|
143
|
-
await saveBaseline(current);
|
|
144
|
-
console.log('Baseline established successfully');
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
const { regressions, hasRegressions } = checkRegressions(baseline, current);
|
|
149
|
-
|
|
150
|
-
generateReport(baseline, current, regressions);
|
|
151
|
-
|
|
152
|
-
if (hasRegressions) {
|
|
153
|
-
console.error('Performance regressions detected! Please investigate and fix before merging.');
|
|
154
|
-
Deno.exit(1);
|
|
155
|
-
} else {
|
|
156
|
-
console.log('Performance check passed! š');
|
|
157
|
-
|
|
158
|
-
// Update baseline if this is a main branch build
|
|
159
|
-
const branch = Deno.env.get('GITHUB_REF');
|
|
160
|
-
if (branch === 'refs/heads/main') {
|
|
161
|
-
await saveBaseline(current);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
if (import.meta.main) {
|
|
167
|
-
await main();
|
|
168
|
-
}
|
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* CLI Agent Coordination Test
|
|
5
|
-
*
|
|
6
|
-
* This test demonstrates spawning real Claude Code agents using the CLI
|
|
7
|
-
* and testing their coordination capabilities through slash commands
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { spawn } from 'child_process';
|
|
11
|
-
import fs from 'fs/promises';
|
|
12
|
-
import path from 'path';
|
|
13
|
-
import { fileURLToPath } from 'url';
|
|
14
|
-
|
|
15
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
16
|
-
const __dirname = path.dirname(__filename);
|
|
17
|
-
|
|
18
|
-
class CLIAgentCoordinationTest {
|
|
19
|
-
constructor() {
|
|
20
|
-
this.outputDir = './cli-agent-results';
|
|
21
|
-
this.testStartTime = Date.now();
|
|
22
|
-
this.agentProcesses = new Map();
|
|
23
|
-
this.coordinationResults = [];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
async start() {
|
|
27
|
-
console.log('š Starting CLI Agent Coordination Test');
|
|
28
|
-
console.log(' This test spawns REAL Claude Code agents using slash commands\n');
|
|
29
|
-
|
|
30
|
-
await fs.mkdir(this.outputDir, { recursive: true });
|
|
31
|
-
|
|
32
|
-
// Step 1: Initialize swarm
|
|
33
|
-
await this.initializeSwarm();
|
|
34
|
-
|
|
35
|
-
// Step 2: Spawn agents using slash commands
|
|
36
|
-
await this.spawnAgentsWithSlashCommands();
|
|
37
|
-
|
|
38
|
-
// Step 3: Test coordination
|
|
39
|
-
await this.testAgentCoordination();
|
|
40
|
-
|
|
41
|
-
// Step 4: Generate report
|
|
42
|
-
await this.generateReport();
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
async initializeSwarm() {
|
|
46
|
-
console.log('š Step 1: Initializing swarm...');
|
|
47
|
-
|
|
48
|
-
return new Promise((resolve) => {
|
|
49
|
-
const swarmInit = spawn('claude-flow-novice', ['swarm', 'init', 'mesh', '5', 'balanced'], {
|
|
50
|
-
stdio: ['pipe', 'pipe', 'pipe'],
|
|
51
|
-
cwd: __dirname
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
let output = '';
|
|
55
|
-
|
|
56
|
-
swarmInit.stdout.on('data', (data) => {
|
|
57
|
-
const text = data.toString();
|
|
58
|
-
output += text;
|
|
59
|
-
console.log(text.trim());
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
swarmInit.stderr.on('data', (data) => {
|
|
63
|
-
console.error('ERROR:', data.toString().trim());
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
swarmInit.on('close', (code) => {
|
|
67
|
-
console.log(`ā
Swarm initialization completed with code: ${code}\n`);
|
|
68
|
-
resolve();
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
// Timeout after 10 seconds
|
|
72
|
-
setTimeout(() => {
|
|
73
|
-
swarmInit.kill();
|
|
74
|
-
resolve();
|
|
75
|
-
}, 10000);
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
async spawnAgentsWithSlashCommands() {
|
|
80
|
-
console.log('š¤ Step 2: Spawning agents with slash commands...');
|
|
81
|
-
|
|
82
|
-
const agentTypes = [
|
|
83
|
-
{ type: 'coder', name: 'Code Agent 1' },
|
|
84
|
-
{ type: 'tester', name: 'Test Agent 1' },
|
|
85
|
-
{ type: 'reviewer', name: 'Review Agent 1' },
|
|
86
|
-
{ type: 'analyst', name: 'Analysis Agent 1' },
|
|
87
|
-
{ type: 'researcher', name: 'Research Agent 1' }
|
|
88
|
-
];
|
|
89
|
-
|
|
90
|
-
for (const agent of agentTypes) {
|
|
91
|
-
console.log(` Spawning ${agent.type}: ${agent.name}`);
|
|
92
|
-
|
|
93
|
-
await this.spawnAgent(agent);
|
|
94
|
-
|
|
95
|
-
// Small delay between spawns
|
|
96
|
-
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
console.log(`ā
Spawned ${agentTypes.length} agents\n`);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
async spawnAgent(agentConfig) {
|
|
103
|
-
return new Promise((resolve) => {
|
|
104
|
-
const agentProcess = spawn('claude-flow-novice', ['swarm', 'spawn', agentConfig.type, agentConfig.name], {
|
|
105
|
-
stdio: ['pipe', 'pipe', 'pipe'],
|
|
106
|
-
cwd: __dirname
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
const agentId = `${agentConfig.type}-${Date.now()}`;
|
|
110
|
-
let output = '';
|
|
111
|
-
|
|
112
|
-
agentProcess.stdout.on('data', (data) => {
|
|
113
|
-
const text = data.toString();
|
|
114
|
-
output += text;
|
|
115
|
-
console.log(` [${agentId}] ${text.trim()}`);
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
agentProcess.stderr.on('data', (data) => {
|
|
119
|
-
console.error(` [${agentId}] ERROR: ${data.toString().trim()}`);
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
agentProcess.on('close', (code) => {
|
|
123
|
-
this.agentProcesses.set(agentId, {
|
|
124
|
-
config: agentConfig,
|
|
125
|
-
output: output,
|
|
126
|
-
exitCode: code,
|
|
127
|
-
spawned: Date.now()
|
|
128
|
-
});
|
|
129
|
-
resolve();
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
// Timeout after 15 seconds
|
|
133
|
-
setTimeout(() => {
|
|
134
|
-
agentProcess.kill();
|
|
135
|
-
resolve();
|
|
136
|
-
}, 15000);
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
async testAgentCoordination() {
|
|
141
|
-
console.log('š” Step 3: Testing agent coordination...');
|
|
142
|
-
|
|
143
|
-
// Test swarm status
|
|
144
|
-
await this.checkSwarmStatus();
|
|
145
|
-
|
|
146
|
-
// Test orchestration
|
|
147
|
-
await this.testTaskOrchestration();
|
|
148
|
-
|
|
149
|
-
console.log('ā
Coordination testing completed\n');
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
async checkSwarmStatus() {
|
|
153
|
-
console.log(' Checking swarm status...');
|
|
154
|
-
|
|
155
|
-
return new Promise((resolve) => {
|
|
156
|
-
const statusCheck = spawn('claude-flow-novice', ['swarm', 'status', 'true'], {
|
|
157
|
-
stdio: ['pipe', 'pipe', 'pipe'],
|
|
158
|
-
cwd: __dirname
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
let output = '';
|
|
162
|
-
|
|
163
|
-
statusCheck.stdout.on('data', (data) => {
|
|
164
|
-
const text = data.toString();
|
|
165
|
-
output += text;
|
|
166
|
-
console.log(` ${text.trim()}`);
|
|
167
|
-
});
|
|
168
|
-
|
|
169
|
-
statusCheck.stderr.on('data', (data) => {
|
|
170
|
-
console.error(` ERROR: ${data.toString().trim()}`);
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
statusCheck.on('close', (code) => {
|
|
174
|
-
this.coordinationResults.push({
|
|
175
|
-
test: 'swarm-status',
|
|
176
|
-
success: code === 0,
|
|
177
|
-
output: output,
|
|
178
|
-
timestamp: Date.now()
|
|
179
|
-
});
|
|
180
|
-
resolve();
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
setTimeout(() => {
|
|
184
|
-
statusCheck.kill();
|
|
185
|
-
resolve();
|
|
186
|
-
}, 10000);
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
async testTaskOrchestration() {
|
|
191
|
-
console.log(' Testing task orchestration...');
|
|
192
|
-
|
|
193
|
-
const testTask = 'Create a simple coordination test between agents';
|
|
194
|
-
|
|
195
|
-
return new Promise((resolve) => {
|
|
196
|
-
const orchestration = spawn('claude-flow-novice', ['swarm', 'orchestrate', testTask], {
|
|
197
|
-
stdio: ['pipe', 'pipe', 'pipe'],
|
|
198
|
-
cwd: __dirname
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
let output = '';
|
|
202
|
-
|
|
203
|
-
orchestration.stdout.on('data', (data) => {
|
|
204
|
-
const text = data.toString();
|
|
205
|
-
output += text;
|
|
206
|
-
console.log(` ${text.trim()}`);
|
|
207
|
-
});
|
|
208
|
-
|
|
209
|
-
orchestration.stderr.on('data', (data) => {
|
|
210
|
-
console.error(` ERROR: ${data.toString().trim()}`);
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
orchestration.on('close', (code) => {
|
|
214
|
-
this.coordinationResults.push({
|
|
215
|
-
test: 'task-orchestration',
|
|
216
|
-
success: code === 0,
|
|
217
|
-
output: output,
|
|
218
|
-
timestamp: Date.now()
|
|
219
|
-
});
|
|
220
|
-
resolve();
|
|
221
|
-
});
|
|
222
|
-
|
|
223
|
-
setTimeout(() => {
|
|
224
|
-
orchestration.kill();
|
|
225
|
-
resolve();
|
|
226
|
-
}, 15000);
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
async generateReport() {
|
|
231
|
-
console.log('š Step 4: Generating test report...');
|
|
232
|
-
|
|
233
|
-
const testDuration = Date.now() - this.testStartTime;
|
|
234
|
-
const successfulAgents = Array.from(this.agentProcesses.values()).filter(a => a.exitCode === 0).length;
|
|
235
|
-
const successfulTests = this.coordinationResults.filter(r => r.success).length;
|
|
236
|
-
|
|
237
|
-
const report = {
|
|
238
|
-
test: {
|
|
239
|
-
type: 'cli-agent-coordination-test',
|
|
240
|
-
duration: testDuration,
|
|
241
|
-
startTime: new Date(this.testStartTime).toISOString(),
|
|
242
|
-
endTime: new Date().toISOString()
|
|
243
|
-
},
|
|
244
|
-
agents: {
|
|
245
|
-
total: this.agentProcesses.size,
|
|
246
|
-
successful: successfulAgents,
|
|
247
|
-
successRate: (successfulAgents / this.agentProcesses.size * 100).toFixed(2) + '%'
|
|
248
|
-
},
|
|
249
|
-
coordination: {
|
|
250
|
-
totalTests: this.coordinationResults.length,
|
|
251
|
-
successful: successfulTests,
|
|
252
|
-
successRate: (successfulTests / this.coordinationResults.length * 100).toFixed(2) + '%'
|
|
253
|
-
},
|
|
254
|
-
details: {
|
|
255
|
-
agents: Array.from(this.agentProcesses.entries()).map(([id, agent]) => ({
|
|
256
|
-
id,
|
|
257
|
-
type: agent.config.type,
|
|
258
|
-
name: agent.config.name,
|
|
259
|
-
success: agent.exitCode === 0,
|
|
260
|
-
spawned: new Date(agent.spawned).toISOString()
|
|
261
|
-
})),
|
|
262
|
-
tests: this.coordinationResults
|
|
263
|
-
}
|
|
264
|
-
};
|
|
265
|
-
|
|
266
|
-
const reportFile = path.join(this.outputDir, `cli-agent-test-report-${Date.now()}.json`);
|
|
267
|
-
await fs.writeFile(reportFile, JSON.stringify(report, null, 2));
|
|
268
|
-
|
|
269
|
-
console.log('\nš CLI AGENT COORDINATION TEST RESULTS:');
|
|
270
|
-
console.log(` Test Duration: ${(testDuration / 1000).toFixed(2)} seconds`);
|
|
271
|
-
console.log(` Agents Spawned: ${this.agentProcesses.size}`);
|
|
272
|
-
console.log(` Successful Agents: ${successfulAgents} (${report.agents.successRate})`);
|
|
273
|
-
console.log(` Coordination Tests: ${this.coordinationResults.length}`);
|
|
274
|
-
console.log(` Successful Tests: ${successfulTests} (${report.coordination.successRate})`);
|
|
275
|
-
console.log(` Report saved to: ${reportFile}`);
|
|
276
|
-
|
|
277
|
-
console.log('\nšÆ SUMMARY:');
|
|
278
|
-
if (report.agents.successRate === '100.00%' && report.coordination.successRate === '100.00%') {
|
|
279
|
-
console.log(' ā
All tests passed! Real CLI agents are working correctly.');
|
|
280
|
-
} else {
|
|
281
|
-
console.log(' ā ļø Some tests failed. Check the detailed report for more information.');
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
// CLI interface
|
|
287
|
-
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
288
|
-
if (process.argv.includes('--help')) {
|
|
289
|
-
console.log(`
|
|
290
|
-
CLI Agent Coordination Test
|
|
291
|
-
|
|
292
|
-
Usage: node cli-agent-coordination-test.js
|
|
293
|
-
|
|
294
|
-
This test demonstrates:
|
|
295
|
-
1. Initializing a swarm using CLI commands
|
|
296
|
-
2. Spawning real Claude Code agents
|
|
297
|
-
3. Testing agent coordination and orchestration
|
|
298
|
-
4. Generating a comprehensive test report
|
|
299
|
-
|
|
300
|
-
The agents spawned are REAL Claude Code agent processes, not simulated workers.
|
|
301
|
-
`);
|
|
302
|
-
process.exit(0);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
const test = new CLIAgentCoordinationTest();
|
|
306
|
-
|
|
307
|
-
test.start().catch(error => {
|
|
308
|
-
console.error('Test failed:', error);
|
|
309
|
-
process.exit(1);
|
|
310
|
-
});
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
export default CLIAgentCoordinationTest;
|