claude-flow 2.7.0 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/README.md +83 -22
- package/bin/claude-flow +1 -1
- package/dist/src/cli/commands/memory.js +64 -1
- package/dist/src/cli/commands/memory.js.map +1 -1
- package/dist/src/cli/help-formatter.js +3 -5
- package/dist/src/cli/help-formatter.js.map +1 -1
- package/dist/src/cli/simple-cli.js +104 -0
- package/dist/src/cli/simple-cli.js.map +1 -1
- package/dist/src/cli/validation-helper.js.map +1 -1
- package/dist/src/core/version.js +1 -1
- package/dist/src/core/version.js.map +1 -1
- package/dist/src/mcp/mcp-server.js +261 -3
- package/dist/src/mcp/mcp-server.js.map +1 -1
- package/dist/src/memory/agentdb-adapter.js +214 -0
- package/dist/src/memory/agentdb-adapter.js.map +1 -0
- package/dist/src/memory/backends/agentdb.js +234 -0
- package/dist/src/memory/backends/agentdb.js.map +1 -0
- package/dist/src/memory/index.js +11 -2
- package/dist/src/memory/index.js.map +1 -1
- package/dist/src/memory/migration/legacy-bridge.js +222 -0
- package/dist/src/memory/migration/legacy-bridge.js.map +1 -0
- package/dist/src/memory/swarm-memory.js +421 -340
- package/dist/src/memory/swarm-memory.js.map +1 -1
- package/dist/src/utils/metrics-reader.js +41 -29
- package/dist/src/utils/metrics-reader.js.map +1 -1
- package/docs/.claude-flow/metrics/performance.json +80 -2
- package/docs/.claude-flow/metrics/task-metrics.json +3 -3
- package/docs/INDEX.md +37 -12
- package/docs/README.md +92 -4
- package/docs/agentdb/AGENT3_FINAL_REPORT.md +643 -0
- package/docs/agentdb/AGENT3_SUMMARY.md +354 -0
- package/docs/agentdb/AGENTDB_INTEGRATION_PLAN.md +1258 -0
- package/docs/agentdb/BACKWARD_COMPATIBILITY_GUARANTEE.md +421 -0
- package/docs/agentdb/OPTIMIZATION_REPORT.md +360 -0
- package/docs/agentdb/PRODUCTION_READINESS.md +499 -0
- package/docs/agentdb/PUBLISHING_CHECKLIST.md +364 -0
- package/docs/agentdb/README.md +58 -0
- package/docs/agentdb/SWARM_COORDINATION.md +393 -0
- package/docs/agentdb/SWARM_IMPLEMENTATION_COMPLETE.md +538 -0
- package/docs/agentdb/agentdb-integration-summary.md +331 -0
- package/docs/agentdb/benchmarks/baseline-report.json +75 -0
- package/docs/development/AGENT1_COMPLETION_REPORT.md +466 -0
- package/docs/development/README.md +22 -0
- package/docs/fixes/PATTERN_FIX_CONFIRMATION.md +513 -0
- package/docs/fixes/PATTERN_PERSISTENCE_FIX.md +328 -0
- package/docs/fixes/README.md +33 -0
- package/docs/guides/README.md +29 -0
- package/docs/{skills-tutorial.md → guides/skills-tutorial.md} +2 -2
- package/docs/integrations/agentic-flow/INTEGRATION-TEST-v1.7.1.md +419 -0
- package/docs/integrations/agentic-flow/MIGRATION_v1.7.0.md +381 -0
- package/docs/integrations/agentic-flow/README.md +229 -0
- package/docs/integrations/agentic-flow/RELEASE-v1.7.0.md +348 -0
- package/docs/integrations/agentic-flow/RELEASE-v1.7.1.md +547 -0
- package/docs/integrations/agentic-flow/VERIFICATION-v1.7.4.md +556 -0
- package/docs/performance/README.md +31 -0
- package/docs/releases/ALPHA_TAG_UPDATE.md +150 -0
- package/docs/releases/README.md +25 -0
- package/docs/{RELEASE-NOTES-v2.7.0-alpha.10.md → releases/v2.7.0-alpha.10/RELEASE-NOTES-v2.7.0-alpha.10.md} +1 -1
- package/docs/releases/v2.7.1/RELEASE_SUMMARY_v2.7.1.md +340 -0
- package/docs/releases/v2.7.1/RELEASE_v2.7.1.md +244 -0
- package/docs/validation/DOCKER_VERIFICATION_REPORT.md +371 -0
- package/docs/validation/README.md +25 -0
- package/docs/validation/REGRESSION_ANALYSIS_v2.7.1.md +357 -0
- package/package.json +4 -3
- package/scripts/fix-agentdb-imports.sh +18 -0
- package/scripts/run-docker-regression.sh +101 -0
- package/scripts/verify-agentdb-integration.sh +220 -0
- package/src/cli/commands/memory.ts +95 -1
- package/src/mcp/mcp-server.js +302 -2
- package/src/memory/README-AGENTDB.md +366 -0
- package/src/memory/agentdb-adapter.js +373 -0
- package/src/memory/backends/agentdb.js +360 -0
- package/src/memory/index.js +32 -3
- package/src/memory/migration/legacy-bridge.js +330 -0
- package/dist/agents/agent-loader.d.ts +0 -103
- package/dist/agents/agent-loader.d.ts.map +0 -1
- package/dist/agents/agent-loader.js +0 -220
- package/dist/agents/agent-loader.js.map +0 -1
- package/dist/agents/agent-manager.d.ts +0 -191
- package/dist/agents/agent-manager.d.ts.map +0 -1
- package/dist/agents/agent-manager.js +0 -1405
- package/dist/agents/agent-manager.js.map +0 -1
- package/dist/api/claude-api-errors.d.ts +0 -115
- package/dist/api/claude-api-errors.d.ts.map +0 -1
- package/dist/api/claude-api-errors.js +0 -198
- package/dist/api/claude-api-errors.js.map +0 -1
- package/dist/api/claude-client.d.ts +0 -197
- package/dist/api/claude-client.d.ts.map +0 -1
- package/dist/api/claude-client.js +0 -525
- package/dist/api/claude-client.js.map +0 -1
- package/dist/cli/cli-core.d.ts +0 -52
- package/dist/cli/cli-core.d.ts.map +0 -1
- package/dist/cli/cli-core.js +0 -264
- package/dist/cli/cli-core.js.map +0 -1
- package/dist/cli/command-registry.d.ts +0 -10
- package/dist/cli/command-registry.d.ts.map +0 -1
- package/dist/cli/command-registry.js +0 -1126
- package/dist/cli/command-registry.js.map +0 -1
- package/dist/cli/commander-fix.d.ts +0 -4
- package/dist/cli/commander-fix.d.ts.map +0 -1
- package/dist/cli/commander-fix.js +0 -6
- package/dist/cli/commander-fix.js.map +0 -1
- package/dist/cli/commands/agent.d.ts +0 -6
- package/dist/cli/commands/agent.d.ts.map +0 -1
- package/dist/cli/commands/agent.js +0 -382
- package/dist/cli/commands/agent.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -4
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -88
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/enterprise.d.ts +0 -3
- package/dist/cli/commands/enterprise.d.ts.map +0 -1
- package/dist/cli/commands/enterprise.js +0 -1506
- package/dist/cli/commands/enterprise.js.map +0 -1
- package/dist/cli/commands/help.d.ts +0 -6
- package/dist/cli/commands/help.d.ts.map +0 -1
- package/dist/cli/commands/help.js +0 -936
- package/dist/cli/commands/help.js.map +0 -1
- package/dist/cli/commands/hive-mind/index.d.ts +0 -18
- package/dist/cli/commands/hive-mind/index.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/index.js +0 -30
- package/dist/cli/commands/hive-mind/index.js.map +0 -1
- package/dist/cli/commands/hive-mind/init.d.ts +0 -9
- package/dist/cli/commands/hive-mind/init.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/init.js +0 -68
- package/dist/cli/commands/hive-mind/init.js.map +0 -1
- package/dist/cli/commands/hive-mind/pause.d.ts +0 -8
- package/dist/cli/commands/hive-mind/pause.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/pause.js +0 -81
- package/dist/cli/commands/hive-mind/pause.js.map +0 -1
- package/dist/cli/commands/hive-mind/ps.d.ts +0 -8
- package/dist/cli/commands/hive-mind/ps.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/ps.js +0 -120
- package/dist/cli/commands/hive-mind/ps.js.map +0 -1
- package/dist/cli/commands/hive-mind/resume.d.ts +0 -8
- package/dist/cli/commands/hive-mind/resume.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/resume.js +0 -62
- package/dist/cli/commands/hive-mind/resume.js.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.d.ts +0 -9
- package/dist/cli/commands/hive-mind/spawn.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.js +0 -174
- package/dist/cli/commands/hive-mind/spawn.js.map +0 -1
- package/dist/cli/commands/hive-mind/status.d.ts +0 -9
- package/dist/cli/commands/hive-mind/status.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/status.js +0 -204
- package/dist/cli/commands/hive-mind/status.js.map +0 -1
- package/dist/cli/commands/hive-mind/stop.d.ts +0 -8
- package/dist/cli/commands/hive-mind/stop.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/stop.js +0 -125
- package/dist/cli/commands/hive-mind/stop.js.map +0 -1
- package/dist/cli/commands/hive-mind/task.d.ts +0 -9
- package/dist/cli/commands/hive-mind/task.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/task.js +0 -294
- package/dist/cli/commands/hive-mind/task.js.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.d.ts +0 -9
- package/dist/cli/commands/hive-mind/wizard.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.js +0 -531
- package/dist/cli/commands/hive-mind/wizard.js.map +0 -1
- package/dist/cli/commands/hive.d.ts +0 -6
- package/dist/cli/commands/hive.d.ts.map +0 -1
- package/dist/cli/commands/hive.js +0 -409
- package/dist/cli/commands/hive.js.map +0 -1
- package/dist/cli/commands/index.d.ts +0 -3
- package/dist/cli/commands/index.d.ts.map +0 -1
- package/dist/cli/commands/index.js +0 -2624
- package/dist/cli/commands/index.js.map +0 -1
- package/dist/cli/commands/mcp.d.ts +0 -5
- package/dist/cli/commands/mcp.d.ts.map +0 -1
- package/dist/cli/commands/mcp.js +0 -169
- package/dist/cli/commands/mcp.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -26
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -225
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/migrate.d.ts +0 -5
- package/dist/cli/commands/migrate.d.ts.map +0 -1
- package/dist/cli/commands/migrate.js +0 -139
- package/dist/cli/commands/migrate.js.map +0 -1
- package/dist/cli/commands/monitor.d.ts +0 -5
- package/dist/cli/commands/monitor.d.ts.map +0 -1
- package/dist/cli/commands/monitor.js +0 -493
- package/dist/cli/commands/monitor.js.map +0 -1
- package/dist/cli/commands/session.d.ts +0 -5
- package/dist/cli/commands/session.d.ts.map +0 -1
- package/dist/cli/commands/session.js +0 -548
- package/dist/cli/commands/session.js.map +0 -1
- package/dist/cli/commands/sparc.d.ts +0 -3
- package/dist/cli/commands/sparc.d.ts.map +0 -1
- package/dist/cli/commands/sparc.js +0 -472
- package/dist/cli/commands/sparc.js.map +0 -1
- package/dist/cli/commands/start/event-emitter.d.ts +0 -13
- package/dist/cli/commands/start/event-emitter.d.ts.map +0 -1
- package/dist/cli/commands/start/event-emitter.js +0 -35
- package/dist/cli/commands/start/event-emitter.js.map +0 -1
- package/dist/cli/commands/start/index.d.ts +0 -10
- package/dist/cli/commands/start/index.d.ts.map +0 -1
- package/dist/cli/commands/start/index.js +0 -9
- package/dist/cli/commands/start/index.js.map +0 -1
- package/dist/cli/commands/start/process-manager.d.ts +0 -31
- package/dist/cli/commands/start/process-manager.d.ts.map +0 -1
- package/dist/cli/commands/start/process-manager.js +0 -283
- package/dist/cli/commands/start/process-manager.js.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.d.ts +0 -29
- package/dist/cli/commands/start/process-ui-simple.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.js +0 -334
- package/dist/cli/commands/start/process-ui-simple.js.map +0 -1
- package/dist/cli/commands/start/process-ui.d.ts +0 -5
- package/dist/cli/commands/start/process-ui.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui.js +0 -5
- package/dist/cli/commands/start/process-ui.js.map +0 -1
- package/dist/cli/commands/start/start-command.d.ts +0 -2
- package/dist/cli/commands/start/start-command.d.ts.map +0 -1
- package/dist/cli/commands/start/start-command.js +0 -462
- package/dist/cli/commands/start/start-command.js.map +0 -1
- package/dist/cli/commands/start/system-monitor.d.ts +0 -25
- package/dist/cli/commands/start/system-monitor.d.ts.map +0 -1
- package/dist/cli/commands/start/system-monitor.js +0 -265
- package/dist/cli/commands/start/system-monitor.js.map +0 -1
- package/dist/cli/commands/start/types.d.ts +0 -64
- package/dist/cli/commands/start/types.d.ts.map +0 -1
- package/dist/cli/commands/start/types.js +0 -22
- package/dist/cli/commands/start/types.js.map +0 -1
- package/dist/cli/commands/start.d.ts +0 -6
- package/dist/cli/commands/start.d.ts.map +0 -1
- package/dist/cli/commands/start.js +0 -6
- package/dist/cli/commands/start.js.map +0 -1
- package/dist/cli/commands/status.d.ts +0 -2
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -304
- package/dist/cli/commands/status.js.map +0 -1
- package/dist/cli/commands/swarm.d.ts +0 -6
- package/dist/cli/commands/swarm.d.ts.map +0 -1
- package/dist/cli/commands/swarm.js +0 -465
- package/dist/cli/commands/swarm.js.map +0 -1
- package/dist/cli/commands/task.d.ts +0 -2
- package/dist/cli/commands/task.d.ts.map +0 -1
- package/dist/cli/commands/task.js +0 -75
- package/dist/cli/commands/task.js.map +0 -1
- package/dist/cli/commands/workflow.d.ts +0 -2
- package/dist/cli/commands/workflow.d.ts.map +0 -1
- package/dist/cli/commands/workflow.js +0 -624
- package/dist/cli/commands/workflow.js.map +0 -1
- package/dist/cli/completion.d.ts +0 -19
- package/dist/cli/completion.d.ts.map +0 -1
- package/dist/cli/completion.js +0 -545
- package/dist/cli/completion.js.map +0 -1
- package/dist/cli/formatter.d.ts +0 -69
- package/dist/cli/formatter.d.ts.map +0 -1
- package/dist/cli/formatter.js +0 -277
- package/dist/cli/formatter.js.map +0 -1
- package/dist/cli/help-formatter.d.ts +0 -49
- package/dist/cli/help-formatter.d.ts.map +0 -1
- package/dist/cli/help-formatter.js +0 -108
- package/dist/cli/help-formatter.js.map +0 -1
- package/dist/cli/help-text.d.ts +0 -25
- package/dist/cli/help-text.d.ts.map +0 -1
- package/dist/cli/help-text.js +0 -1051
- package/dist/cli/help-text.js.map +0 -1
- package/dist/cli/index-remote.d.ts +0 -7
- package/dist/cli/index-remote.d.ts.map +0 -1
- package/dist/cli/index-remote.js +0 -125
- package/dist/cli/index-remote.js.map +0 -1
- package/dist/cli/index.d.ts +0 -7
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -189
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/node-compat.d.ts +0 -81
- package/dist/cli/node-compat.d.ts.map +0 -1
- package/dist/cli/node-compat.js +0 -229
- package/dist/cli/node-compat.js.map +0 -1
- package/dist/cli/repl.d.ts +0 -5
- package/dist/cli/repl.d.ts.map +0 -1
- package/dist/cli/repl.js +0 -949
- package/dist/cli/repl.js.map +0 -1
- package/dist/cli/runtime-detector.d.ts +0 -128
- package/dist/cli/runtime-detector.d.ts.map +0 -1
- package/dist/cli/runtime-detector.js +0 -267
- package/dist/cli/runtime-detector.js.map +0 -1
- package/dist/cli/simple-cli.d.ts +0 -7
- package/dist/cli/simple-cli.d.ts.map +0 -1
- package/dist/cli/simple-cli.js +0 -3085
- package/dist/cli/simple-cli.js.map +0 -1
- package/dist/cli/simple-commands/agent.d.ts +0 -6
- package/dist/cli/simple-commands/agent.d.ts.map +0 -1
- package/dist/cli/simple-commands/agent.js +0 -128
- package/dist/cli/simple-commands/agent.js.map +0 -1
- package/dist/cli/simple-commands/analysis.d.ts +0 -2
- package/dist/cli/simple-commands/analysis.d.ts.map +0 -1
- package/dist/cli/simple-commands/analysis.js +0 -473
- package/dist/cli/simple-commands/analysis.js.map +0 -1
- package/dist/cli/simple-commands/automation-executor.d.ts +0 -188
- package/dist/cli/simple-commands/automation-executor.d.ts.map +0 -1
- package/dist/cli/simple-commands/automation-executor.js +0 -1383
- package/dist/cli/simple-commands/automation-executor.js.map +0 -1
- package/dist/cli/simple-commands/automation.d.ts +0 -2
- package/dist/cli/simple-commands/automation.d.ts.map +0 -1
- package/dist/cli/simple-commands/automation.js +0 -531
- package/dist/cli/simple-commands/automation.js.map +0 -1
- package/dist/cli/simple-commands/batch-manager.d.ts +0 -2
- package/dist/cli/simple-commands/batch-manager.d.ts.map +0 -1
- package/dist/cli/simple-commands/batch-manager.js +0 -290
- package/dist/cli/simple-commands/batch-manager.js.map +0 -1
- package/dist/cli/simple-commands/claude-telemetry.d.ts +0 -14
- package/dist/cli/simple-commands/claude-telemetry.d.ts.map +0 -1
- package/dist/cli/simple-commands/claude-telemetry.js +0 -263
- package/dist/cli/simple-commands/claude-telemetry.js.map +0 -1
- package/dist/cli/simple-commands/config.d.ts +0 -6
- package/dist/cli/simple-commands/config.d.ts.map +0 -1
- package/dist/cli/simple-commands/config.js +0 -116
- package/dist/cli/simple-commands/config.js.map +0 -1
- package/dist/cli/simple-commands/coordination.d.ts +0 -2
- package/dist/cli/simple-commands/coordination.d.ts.map +0 -1
- package/dist/cli/simple-commands/coordination.js +0 -249
- package/dist/cli/simple-commands/coordination.js.map +0 -1
- package/dist/cli/simple-commands/env-template.d.ts +0 -42
- package/dist/cli/simple-commands/env-template.d.ts.map +0 -1
- package/dist/cli/simple-commands/env-template.js +0 -183
- package/dist/cli/simple-commands/env-template.js.map +0 -1
- package/dist/cli/simple-commands/fix-hook-variables.d.ts +0 -16
- package/dist/cli/simple-commands/fix-hook-variables.d.ts.map +0 -1
- package/dist/cli/simple-commands/fix-hook-variables.js +0 -320
- package/dist/cli/simple-commands/fix-hook-variables.js.map +0 -1
- package/dist/cli/simple-commands/github/init.d.ts +0 -6
- package/dist/cli/simple-commands/github/init.d.ts.map +0 -1
- package/dist/cli/simple-commands/github/init.js +0 -506
- package/dist/cli/simple-commands/github/init.js.map +0 -1
- package/dist/cli/simple-commands/github.d.ts +0 -3
- package/dist/cli/simple-commands/github.d.ts.map +0 -1
- package/dist/cli/simple-commands/github.js +0 -356
- package/dist/cli/simple-commands/github.js.map +0 -1
- package/dist/cli/simple-commands/goal.d.ts +0 -3
- package/dist/cli/simple-commands/goal.d.ts.map +0 -1
- package/dist/cli/simple-commands/goal.js +0 -136
- package/dist/cli/simple-commands/goal.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts +0 -68
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js +0 -264
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/communication.d.ts +0 -176
- package/dist/cli/simple-commands/hive-mind/communication.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/communication.js +0 -611
- package/dist/cli/simple-commands/hive-mind/communication.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/core.d.ts +0 -306
- package/dist/cli/simple-commands/hive-mind/core.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/core.js +0 -839
- package/dist/cli/simple-commands/hive-mind/core.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts +0 -32
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js +0 -702
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts +0 -270
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js +0 -1211
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/memory.d.ts +0 -334
- package/dist/cli/simple-commands/hive-mind/memory.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/memory.js +0 -1068
- package/dist/cli/simple-commands/hive-mind/memory.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/metrics-reader.js +0 -274
- package/dist/cli/simple-commands/hive-mind/metrics-reader.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts +0 -256
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js +0 -520
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/queen.d.ts +0 -235
- package/dist/cli/simple-commands/hive-mind/queen.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/queen.js +0 -697
- package/dist/cli/simple-commands/hive-mind/queen.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts +0 -140
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/session-manager.js +0 -1000
- package/dist/cli/simple-commands/hive-mind/session-manager.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts +0 -6
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind-optimize.js +0 -317
- package/dist/cli/simple-commands/hive-mind-optimize.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind.d.ts +0 -22
- package/dist/cli/simple-commands/hive-mind.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind.js +0 -2722
- package/dist/cli/simple-commands/hive-mind.js.map +0 -1
- package/dist/cli/simple-commands/hook-safety.d.ts +0 -177
- package/dist/cli/simple-commands/hook-safety.d.ts.map +0 -1
- package/dist/cli/simple-commands/hook-safety.js +0 -590
- package/dist/cli/simple-commands/hook-safety.js.map +0 -1
- package/dist/cli/simple-commands/hooks.d.ts +0 -3
- package/dist/cli/simple-commands/hooks.d.ts.map +0 -1
- package/dist/cli/simple-commands/hooks.js +0 -1298
- package/dist/cli/simple-commands/hooks.js.map +0 -1
- package/dist/cli/simple-commands/init/agent-copier.d.ts +0 -65
- package/dist/cli/simple-commands/init/agent-copier.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/agent-copier.js +0 -320
- package/dist/cli/simple-commands/init/agent-copier.js.map +0 -1
- package/dist/cli/simple-commands/init/batch-init.d.ts +0 -137
- package/dist/cli/simple-commands/init/batch-init.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/batch-init.js +0 -558
- package/dist/cli/simple-commands/init/batch-init.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts +0 -2
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js +0 -433
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts +0 -2
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +0 -871
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts +0 -2
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +0 -332
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts +0 -3
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +0 -488
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts +0 -2
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js +0 -51
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts +0 -3
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js +0 -288
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js.map +0 -1
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts +0 -29
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/copy-revised-templates.js +0 -166
- package/dist/cli/simple-commands/init/copy-revised-templates.js.map +0 -1
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts +0 -2
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/executable-wrapper.js +0 -116
- package/dist/cli/simple-commands/init/executable-wrapper.js.map +0 -1
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts +0 -23
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/gitignore-updater.js +0 -128
- package/dist/cli/simple-commands/init/gitignore-updater.js.map +0 -1
- package/dist/cli/simple-commands/init/help.d.ts +0 -2
- package/dist/cli/simple-commands/init/help.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/help.js +0 -131
- package/dist/cli/simple-commands/init/help.js.map +0 -1
- package/dist/cli/simple-commands/init/hive-mind-init.d.ts +0 -152
- package/dist/cli/simple-commands/init/hive-mind-init.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/hive-mind-init.js +0 -699
- package/dist/cli/simple-commands/init/hive-mind-init.js.map +0 -1
- package/dist/cli/simple-commands/init/index.d.ts +0 -2
- package/dist/cli/simple-commands/init/index.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/index.js +0 -1784
- package/dist/cli/simple-commands/init/index.js.map +0 -1
- package/dist/cli/simple-commands/init/performance-monitor.d.ts +0 -73
- package/dist/cli/simple-commands/init/performance-monitor.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/performance-monitor.js +0 -277
- package/dist/cli/simple-commands/init/performance-monitor.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts +0 -95
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/backup-manager.js +0 -486
- package/dist/cli/simple-commands/init/rollback/backup-manager.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/index.d.ts +0 -114
- package/dist/cli/simple-commands/init/rollback/index.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/index.js +0 -353
- package/dist/cli/simple-commands/init/rollback/index.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts +0 -161
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js +0 -686
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts +0 -112
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js +0 -480
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js.map +0 -1
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts +0 -121
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/rollback/state-tracker.js +0 -432
- package/dist/cli/simple-commands/init/rollback/state-tracker.js.map +0 -1
- package/dist/cli/simple-commands/init/skills-copier.d.ts +0 -41
- package/dist/cli/simple-commands/init/skills-copier.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/skills-copier.js +0 -192
- package/dist/cli/simple-commands/init/skills-copier.js.map +0 -1
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts +0 -2
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/sparc/roo-readme.js +0 -61
- package/dist/cli/simple-commands/init/sparc/roo-readme.js.map +0 -1
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts +0 -2
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js +0 -80
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js.map +0 -1
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts +0 -2
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/sparc/workflows.js +0 -36
- package/dist/cli/simple-commands/init/sparc/workflows.js.map +0 -1
- package/dist/cli/simple-commands/init/sparc-structure.d.ts +0 -2
- package/dist/cli/simple-commands/init/sparc-structure.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/sparc-structure.js +0 -63
- package/dist/cli/simple-commands/init/sparc-structure.js.map +0 -1
- package/dist/cli/simple-commands/init/template-copier.d.ts +0 -27
- package/dist/cli/simple-commands/init/template-copier.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/template-copier.js +0 -538
- package/dist/cli/simple-commands/init/template-copier.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts +0 -6
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/claude-md.js +0 -1097
- package/dist/cli/simple-commands/init/templates/claude-md.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts +0 -4
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/coordination-md.js +0 -338
- package/dist/cli/simple-commands/init/templates/coordination-md.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts +0 -21
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js +0 -2304
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts +0 -4
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js +0 -257
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts +0 -3
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/readme-files.js +0 -71
- package/dist/cli/simple-commands/init/templates/readme-files.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts +0 -30
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/sparc-modes.js +0 -1375
- package/dist/cli/simple-commands/init/templates/sparc-modes.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/verification-claude-md.d.ts +0 -3
- package/dist/cli/simple-commands/init/templates/verification-claude-md.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/templates/verification-claude-md.js +0 -432
- package/dist/cli/simple-commands/init/templates/verification-claude-md.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts +0 -63
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/config-validator.js +0 -308
- package/dist/cli/simple-commands/init/validation/config-validator.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts +0 -117
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/health-checker.js +0 -539
- package/dist/cli/simple-commands/init/validation/health-checker.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/index.d.ts +0 -55
- package/dist/cli/simple-commands/init/validation/index.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/index.js +0 -347
- package/dist/cli/simple-commands/init/validation/index.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts +0 -76
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/mode-validator.js +0 -343
- package/dist/cli/simple-commands/init/validation/mode-validator.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts +0 -62
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/post-init-validator.js +0 -349
- package/dist/cli/simple-commands/init/validation/post-init-validator.js.map +0 -1
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts +0 -86
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js +0 -260
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js.map +0 -1
- package/dist/cli/simple-commands/inject-memory-protocol.d.ts +0 -34
- package/dist/cli/simple-commands/inject-memory-protocol.d.ts.map +0 -1
- package/dist/cli/simple-commands/inject-memory-protocol.js +0 -229
- package/dist/cli/simple-commands/inject-memory-protocol.js.map +0 -1
- package/dist/cli/simple-commands/mcp.d.ts +0 -2
- package/dist/cli/simple-commands/mcp.d.ts.map +0 -1
- package/dist/cli/simple-commands/mcp.js +0 -369
- package/dist/cli/simple-commands/mcp.js.map +0 -1
- package/dist/cli/simple-commands/memory-consolidation.d.ts +0 -73
- package/dist/cli/simple-commands/memory-consolidation.d.ts.map +0 -1
- package/dist/cli/simple-commands/memory-consolidation.js +0 -537
- package/dist/cli/simple-commands/memory-consolidation.js.map +0 -1
- package/dist/cli/simple-commands/memory.d.ts +0 -2
- package/dist/cli/simple-commands/memory.d.ts.map +0 -1
- package/dist/cli/simple-commands/memory.js +0 -778
- package/dist/cli/simple-commands/memory.js.map +0 -1
- package/dist/cli/simple-commands/migrate-hooks.d.ts +0 -10
- package/dist/cli/simple-commands/migrate-hooks.d.ts.map +0 -1
- package/dist/cli/simple-commands/migrate-hooks.js +0 -57
- package/dist/cli/simple-commands/migrate-hooks.js.map +0 -1
- package/dist/cli/simple-commands/monitor.d.ts +0 -3
- package/dist/cli/simple-commands/monitor.d.ts.map +0 -1
- package/dist/cli/simple-commands/monitor.js +0 -366
- package/dist/cli/simple-commands/monitor.js.map +0 -1
- package/dist/cli/simple-commands/neural.d.ts +0 -3
- package/dist/cli/simple-commands/neural.d.ts.map +0 -1
- package/dist/cli/simple-commands/neural.js +0 -137
- package/dist/cli/simple-commands/neural.js.map +0 -1
- package/dist/cli/simple-commands/pair.d.ts +0 -3
- package/dist/cli/simple-commands/pair.d.ts.map +0 -1
- package/dist/cli/simple-commands/pair.js +0 -735
- package/dist/cli/simple-commands/pair.js.map +0 -1
- package/dist/cli/simple-commands/performance-hooks.d.ts +0 -20
- package/dist/cli/simple-commands/performance-hooks.d.ts.map +0 -1
- package/dist/cli/simple-commands/performance-hooks.js +0 -127
- package/dist/cli/simple-commands/performance-hooks.js.map +0 -1
- package/dist/cli/simple-commands/performance-metrics.d.ts +0 -153
- package/dist/cli/simple-commands/performance-metrics.d.ts.map +0 -1
- package/dist/cli/simple-commands/performance-metrics.js +0 -759
- package/dist/cli/simple-commands/performance-metrics.js.map +0 -1
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts +0 -55
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts.map +0 -1
- package/dist/cli/simple-commands/process-ui-enhanced.js +0 -680
- package/dist/cli/simple-commands/process-ui-enhanced.js.map +0 -1
- package/dist/cli/simple-commands/proxy.d.ts +0 -5
- package/dist/cli/simple-commands/proxy.d.ts.map +0 -1
- package/dist/cli/simple-commands/proxy.js +0 -346
- package/dist/cli/simple-commands/proxy.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/architect.js +0 -126
- package/dist/cli/simple-commands/sparc-modes/architect.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/ask.js +0 -127
- package/dist/cli/simple-commands/sparc-modes/ask.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/code.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/code.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/code.js +0 -149
- package/dist/cli/simple-commands/sparc-modes/code.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/debug.js +0 -113
- package/dist/cli/simple-commands/sparc-modes/debug.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/devops.js +0 -138
- package/dist/cli/simple-commands/sparc-modes/devops.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/generic.js +0 -35
- package/dist/cli/simple-commands/sparc-modes/generic.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/index.d.ts +0 -17
- package/dist/cli/simple-commands/sparc-modes/index.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/index.js +0 -196
- package/dist/cli/simple-commands/sparc-modes/index.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/integration.js +0 -56
- package/dist/cli/simple-commands/sparc-modes/integration.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/mcp.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/mcp.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/monitoring.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/monitoring.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/optimization.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/optimization.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/security-review.js +0 -131
- package/dist/cli/simple-commands/sparc-modes/security-review.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js +0 -168
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js +0 -39
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js +0 -150
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts +0 -81
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/swarm.js +0 -428
- package/dist/cli/simple-commands/sparc-modes/swarm.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/tdd.js +0 -113
- package/dist/cli/simple-commands/sparc-modes/tdd.js.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts +0 -2
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc-modes/tutorial.js +0 -278
- package/dist/cli/simple-commands/sparc-modes/tutorial.js.map +0 -1
- package/dist/cli/simple-commands/sparc.d.ts +0 -2
- package/dist/cli/simple-commands/sparc.d.ts.map +0 -1
- package/dist/cli/simple-commands/sparc.js +0 -477
- package/dist/cli/simple-commands/sparc.js.map +0 -1
- package/dist/cli/simple-commands/start-ui.d.ts +0 -2
- package/dist/cli/simple-commands/start-ui.d.ts.map +0 -1
- package/dist/cli/simple-commands/start-ui.js +0 -135
- package/dist/cli/simple-commands/start-ui.js.map +0 -1
- package/dist/cli/simple-commands/start-wrapper.d.ts +0 -2
- package/dist/cli/simple-commands/start-wrapper.d.ts.map +0 -1
- package/dist/cli/simple-commands/start-wrapper.js +0 -264
- package/dist/cli/simple-commands/start-wrapper.js.map +0 -1
- package/dist/cli/simple-commands/start.d.ts +0 -2
- package/dist/cli/simple-commands/start.d.ts.map +0 -1
- package/dist/cli/simple-commands/start.js +0 -3
- package/dist/cli/simple-commands/start.js.map +0 -1
- package/dist/cli/simple-commands/status.d.ts +0 -2
- package/dist/cli/simple-commands/status.d.ts.map +0 -1
- package/dist/cli/simple-commands/status.js +0 -292
- package/dist/cli/simple-commands/status.js.map +0 -1
- package/dist/cli/simple-commands/stream-chain.d.ts +0 -7
- package/dist/cli/simple-commands/stream-chain.d.ts.map +0 -1
- package/dist/cli/simple-commands/stream-chain.js +0 -433
- package/dist/cli/simple-commands/stream-chain.js.map +0 -1
- package/dist/cli/simple-commands/stream-processor.d.ts +0 -32
- package/dist/cli/simple-commands/stream-processor.d.ts.map +0 -1
- package/dist/cli/simple-commands/stream-processor.js +0 -318
- package/dist/cli/simple-commands/stream-processor.js.map +0 -1
- package/dist/cli/simple-commands/swarm-executor.d.ts +0 -68
- package/dist/cli/simple-commands/swarm-executor.d.ts.map +0 -1
- package/dist/cli/simple-commands/swarm-executor.js +0 -218
- package/dist/cli/simple-commands/swarm-executor.js.map +0 -1
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts +0 -69
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts.map +0 -1
- package/dist/cli/simple-commands/swarm-metrics-integration.js +0 -294
- package/dist/cli/simple-commands/swarm-metrics-integration.js.map +0 -1
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts +0 -68
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts.map +0 -1
- package/dist/cli/simple-commands/swarm-webui-integration.js +0 -265
- package/dist/cli/simple-commands/swarm-webui-integration.js.map +0 -1
- package/dist/cli/simple-commands/swarm.d.ts +0 -2
- package/dist/cli/simple-commands/swarm.d.ts.map +0 -1
- package/dist/cli/simple-commands/swarm.js +0 -2104
- package/dist/cli/simple-commands/swarm.js.map +0 -1
- package/dist/cli/simple-commands/task.d.ts +0 -2
- package/dist/cli/simple-commands/task.d.ts.map +0 -1
- package/dist/cli/simple-commands/task.js +0 -250
- package/dist/cli/simple-commands/task.js.map +0 -1
- package/dist/cli/simple-commands/token-tracker.d.ts +0 -73
- package/dist/cli/simple-commands/token-tracker.d.ts.map +0 -1
- package/dist/cli/simple-commands/token-tracker.js +0 -319
- package/dist/cli/simple-commands/token-tracker.js.map +0 -1
- package/dist/cli/simple-commands/training-pipeline.d.ts +0 -166
- package/dist/cli/simple-commands/training-pipeline.d.ts.map +0 -1
- package/dist/cli/simple-commands/training-pipeline.js +0 -760
- package/dist/cli/simple-commands/training-pipeline.js.map +0 -1
- package/dist/cli/simple-commands/training.d.ts +0 -2
- package/dist/cli/simple-commands/training.d.ts.map +0 -1
- package/dist/cli/simple-commands/training.js +0 -240
- package/dist/cli/simple-commands/training.js.map +0 -1
- package/dist/cli/simple-commands/verification-training-integration.d.ts +0 -181
- package/dist/cli/simple-commands/verification-training-integration.d.ts.map +0 -1
- package/dist/cli/simple-commands/verification-training-integration.js +0 -561
- package/dist/cli/simple-commands/verification-training-integration.js.map +0 -1
- package/dist/cli/simple-commands/verification.d.ts +0 -10
- package/dist/cli/simple-commands/verification.d.ts.map +0 -1
- package/dist/cli/simple-commands/verification.js +0 -476
- package/dist/cli/simple-commands/verification.js.map +0 -1
- package/dist/cli/simple-commands/web-server.d.ts +0 -152
- package/dist/cli/simple-commands/web-server.d.ts.map +0 -1
- package/dist/cli/simple-commands/web-server.js +0 -816
- package/dist/cli/simple-commands/web-server.js.map +0 -1
- package/dist/cli/utils/interactive-detector.d.ts +0 -25
- package/dist/cli/utils/interactive-detector.d.ts.map +0 -1
- package/dist/cli/utils/interactive-detector.js +0 -129
- package/dist/cli/utils/interactive-detector.js.map +0 -1
- package/dist/cli/utils/safe-interactive.d.ts +0 -30
- package/dist/cli/utils/safe-interactive.d.ts.map +0 -1
- package/dist/cli/utils/safe-interactive.js +0 -134
- package/dist/cli/utils/safe-interactive.js.map +0 -1
- package/dist/cli/utils.d.ts +0 -75
- package/dist/cli/utils.d.ts.map +0 -1
- package/dist/cli/utils.js +0 -567
- package/dist/cli/utils.js.map +0 -1
- package/dist/config/config-manager.d.ts +0 -212
- package/dist/config/config-manager.d.ts.map +0 -1
- package/dist/config/config-manager.js +0 -550
- package/dist/config/config-manager.js.map +0 -1
- package/dist/constants/agent-types.d.ts +0 -57
- package/dist/constants/agent-types.d.ts.map +0 -1
- package/dist/constants/agent-types.js +0 -57
- package/dist/constants/agent-types.js.map +0 -1
- package/dist/coordination/advanced-scheduler.d.ts +0 -121
- package/dist/coordination/advanced-scheduler.d.ts.map +0 -1
- package/dist/coordination/advanced-scheduler.js +0 -382
- package/dist/coordination/advanced-scheduler.js.map +0 -1
- package/dist/coordination/background-executor.d.ts +0 -69
- package/dist/coordination/background-executor.d.ts.map +0 -1
- package/dist/coordination/background-executor.js +0 -363
- package/dist/coordination/background-executor.js.map +0 -1
- package/dist/coordination/circuit-breaker.d.ts +0 -124
- package/dist/coordination/circuit-breaker.d.ts.map +0 -1
- package/dist/coordination/circuit-breaker.js +0 -301
- package/dist/coordination/circuit-breaker.js.map +0 -1
- package/dist/coordination/conflict-resolution.d.ts +0 -133
- package/dist/coordination/conflict-resolution.d.ts.map +0 -1
- package/dist/coordination/conflict-resolution.js +0 -360
- package/dist/coordination/conflict-resolution.js.map +0 -1
- package/dist/coordination/dependency-graph.d.ts +0 -78
- package/dist/coordination/dependency-graph.d.ts.map +0 -1
- package/dist/coordination/dependency-graph.js +0 -387
- package/dist/coordination/dependency-graph.js.map +0 -1
- package/dist/coordination/manager.d.ts +0 -66
- package/dist/coordination/manager.d.ts.map +0 -1
- package/dist/coordination/manager.js +0 -354
- package/dist/coordination/manager.js.map +0 -1
- package/dist/coordination/messaging.d.ts +0 -37
- package/dist/coordination/messaging.d.ts.map +0 -1
- package/dist/coordination/messaging.js +0 -219
- package/dist/coordination/messaging.js.map +0 -1
- package/dist/coordination/metrics.d.ts +0 -153
- package/dist/coordination/metrics.d.ts.map +0 -1
- package/dist/coordination/metrics.js +0 -436
- package/dist/coordination/metrics.js.map +0 -1
- package/dist/coordination/resources.d.ts +0 -36
- package/dist/coordination/resources.d.ts.map +0 -1
- package/dist/coordination/resources.js +0 -254
- package/dist/coordination/resources.js.map +0 -1
- package/dist/coordination/scheduler.d.ts +0 -48
- package/dist/coordination/scheduler.d.ts.map +0 -1
- package/dist/coordination/scheduler.js +0 -308
- package/dist/coordination/scheduler.js.map +0 -1
- package/dist/coordination/swarm-coordinator.d.ts +0 -116
- package/dist/coordination/swarm-coordinator.d.ts.map +0 -1
- package/dist/coordination/swarm-coordinator.js +0 -563
- package/dist/coordination/swarm-coordinator.js.map +0 -1
- package/dist/coordination/swarm-monitor.d.ts +0 -101
- package/dist/coordination/swarm-monitor.d.ts.map +0 -1
- package/dist/coordination/swarm-monitor.js +0 -340
- package/dist/coordination/swarm-monitor.js.map +0 -1
- package/dist/coordination/work-stealing.d.ts +0 -44
- package/dist/coordination/work-stealing.d.ts.map +0 -1
- package/dist/coordination/work-stealing.js +0 -158
- package/dist/coordination/work-stealing.js.map +0 -1
- package/dist/core/config.d.ts +0 -243
- package/dist/core/config.d.ts.map +0 -1
- package/dist/core/config.js +0 -1125
- package/dist/core/config.js.map +0 -1
- package/dist/core/event-bus.d.ts +0 -63
- package/dist/core/event-bus.d.ts.map +0 -1
- package/dist/core/event-bus.js +0 -153
- package/dist/core/event-bus.js.map +0 -1
- package/dist/core/json-persistence.d.ts +0 -55
- package/dist/core/json-persistence.d.ts.map +0 -1
- package/dist/core/json-persistence.js +0 -111
- package/dist/core/json-persistence.js.map +0 -1
- package/dist/core/logger.d.ts +0 -62
- package/dist/core/logger.d.ts.map +0 -1
- package/dist/core/logger.js +0 -252
- package/dist/core/logger.js.map +0 -1
- package/dist/core/orchestrator-fixed.d.ts +0 -81
- package/dist/core/orchestrator-fixed.d.ts.map +0 -1
- package/dist/core/orchestrator-fixed.js +0 -213
- package/dist/core/orchestrator-fixed.js.map +0 -1
- package/dist/core/orchestrator.d.ts +0 -141
- package/dist/core/orchestrator.d.ts.map +0 -1
- package/dist/core/orchestrator.js +0 -1166
- package/dist/core/orchestrator.js.map +0 -1
- package/dist/core/version.d.ts +0 -10
- package/dist/core/version.d.ts.map +0 -1
- package/dist/core/version.js +0 -36
- package/dist/core/version.js.map +0 -1
- package/dist/enterprise/analytics-manager.d.ts +0 -489
- package/dist/enterprise/analytics-manager.d.ts.map +0 -1
- package/dist/enterprise/analytics-manager.js +0 -956
- package/dist/enterprise/analytics-manager.js.map +0 -1
- package/dist/enterprise/audit-manager.d.ts +0 -459
- package/dist/enterprise/audit-manager.d.ts.map +0 -1
- package/dist/enterprise/audit-manager.js +0 -1014
- package/dist/enterprise/audit-manager.js.map +0 -1
- package/dist/enterprise/cloud-manager.d.ts +0 -435
- package/dist/enterprise/cloud-manager.d.ts.map +0 -1
- package/dist/enterprise/cloud-manager.js +0 -789
- package/dist/enterprise/cloud-manager.js.map +0 -1
- package/dist/enterprise/deployment-manager.d.ts +0 -328
- package/dist/enterprise/deployment-manager.d.ts.map +0 -1
- package/dist/enterprise/deployment-manager.js +0 -830
- package/dist/enterprise/deployment-manager.js.map +0 -1
- package/dist/enterprise/project-manager.d.ts +0 -228
- package/dist/enterprise/project-manager.d.ts.map +0 -1
- package/dist/enterprise/project-manager.js +0 -537
- package/dist/enterprise/project-manager.js.map +0 -1
- package/dist/enterprise/security-manager.d.ts +0 -422
- package/dist/enterprise/security-manager.d.ts.map +0 -1
- package/dist/enterprise/security-manager.js +0 -910
- package/dist/enterprise/security-manager.js.map +0 -1
- package/dist/execution/agent-executor.d.ts +0 -80
- package/dist/execution/agent-executor.d.ts.map +0 -1
- package/dist/execution/agent-executor.js +0 -220
- package/dist/execution/agent-executor.js.map +0 -1
- package/dist/execution/provider-manager.d.ts +0 -65
- package/dist/execution/provider-manager.d.ts.map +0 -1
- package/dist/execution/provider-manager.js +0 -144
- package/dist/execution/provider-manager.js.map +0 -1
- package/dist/hive-mind/core/Agent.d.ts +0 -137
- package/dist/hive-mind/core/Agent.d.ts.map +0 -1
- package/dist/hive-mind/core/Agent.js +0 -567
- package/dist/hive-mind/core/Agent.js.map +0 -1
- package/dist/hive-mind/core/Communication.d.ts +0 -116
- package/dist/hive-mind/core/Communication.d.ts.map +0 -1
- package/dist/hive-mind/core/Communication.js +0 -407
- package/dist/hive-mind/core/Communication.js.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.d.ts +0 -99
- package/dist/hive-mind/core/DatabaseManager.d.ts.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.js +0 -648
- package/dist/hive-mind/core/DatabaseManager.js.map +0 -1
- package/dist/hive-mind/core/HiveMind.d.ts +0 -90
- package/dist/hive-mind/core/HiveMind.d.ts.map +0 -1
- package/dist/hive-mind/core/HiveMind.js +0 -455
- package/dist/hive-mind/core/HiveMind.js.map +0 -1
- package/dist/hive-mind/core/Memory.d.ts +0 -235
- package/dist/hive-mind/core/Memory.d.ts.map +0 -1
- package/dist/hive-mind/core/Memory.js +0 -1192
- package/dist/hive-mind/core/Memory.js.map +0 -1
- package/dist/hive-mind/core/Queen.d.ts +0 -115
- package/dist/hive-mind/core/Queen.d.ts.map +0 -1
- package/dist/hive-mind/core/Queen.js +0 -649
- package/dist/hive-mind/core/Queen.js.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.d.ts +0 -117
- package/dist/hive-mind/integration/ConsensusEngine.d.ts.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.js +0 -478
- package/dist/hive-mind/integration/ConsensusEngine.js.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts +0 -172
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js +0 -217
- package/dist/hive-mind/integration/MCPToolWrapper.js.map +0 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts +0 -172
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts.map +0 -1
- package/dist/hive-mind/integration/SwarmOrchestrator.js +0 -748
- package/dist/hive-mind/integration/SwarmOrchestrator.js.map +0 -1
- package/dist/hive-mind/types.d.ts +0 -314
- package/dist/hive-mind/types.d.ts.map +0 -1
- package/dist/hive-mind/types.js +0 -7
- package/dist/hive-mind/types.js.map +0 -1
- package/dist/mcp/auth.d.ts +0 -80
- package/dist/mcp/auth.d.ts.map +0 -1
- package/dist/mcp/auth.js +0 -350
- package/dist/mcp/auth.js.map +0 -1
- package/dist/mcp/claude-flow-tools.d.ts +0 -13
- package/dist/mcp/claude-flow-tools.d.ts.map +0 -1
- package/dist/mcp/claude-flow-tools.js +0 -1398
- package/dist/mcp/claude-flow-tools.js.map +0 -1
- package/dist/mcp/load-balancer.d.ts +0 -88
- package/dist/mcp/load-balancer.d.ts.map +0 -1
- package/dist/mcp/load-balancer.js +0 -393
- package/dist/mcp/load-balancer.js.map +0 -1
- package/dist/mcp/router.d.ts +0 -54
- package/dist/mcp/router.d.ts.map +0 -1
- package/dist/mcp/router.js +0 -204
- package/dist/mcp/router.js.map +0 -1
- package/dist/mcp/ruv-swarm-tools.d.ts +0 -58
- package/dist/mcp/ruv-swarm-tools.d.ts.map +0 -1
- package/dist/mcp/ruv-swarm-tools.js +0 -568
- package/dist/mcp/ruv-swarm-tools.js.map +0 -1
- package/dist/mcp/server.d.ts +0 -75
- package/dist/mcp/server.d.ts.map +0 -1
- package/dist/mcp/server.js +0 -538
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/session-manager.d.ts +0 -60
- package/dist/mcp/session-manager.d.ts.map +0 -1
- package/dist/mcp/session-manager.js +0 -323
- package/dist/mcp/session-manager.js.map +0 -1
- package/dist/mcp/swarm-tools.d.ts +0 -87
- package/dist/mcp/swarm-tools.d.ts.map +0 -1
- package/dist/mcp/swarm-tools.js +0 -731
- package/dist/mcp/swarm-tools.js.map +0 -1
- package/dist/mcp/tools.d.ts +0 -145
- package/dist/mcp/tools.d.ts.map +0 -1
- package/dist/mcp/tools.js +0 -434
- package/dist/mcp/tools.js.map +0 -1
- package/dist/mcp/transports/base.d.ts +0 -22
- package/dist/mcp/transports/base.d.ts.map +0 -1
- package/dist/mcp/transports/base.js +0 -5
- package/dist/mcp/transports/base.js.map +0 -1
- package/dist/mcp/transports/http.d.ts +0 -48
- package/dist/mcp/transports/http.d.ts.map +0 -1
- package/dist/mcp/transports/http.js +0 -400
- package/dist/mcp/transports/http.js.map +0 -1
- package/dist/mcp/transports/stdio.d.ts +0 -37
- package/dist/mcp/transports/stdio.d.ts.map +0 -1
- package/dist/mcp/transports/stdio.js +0 -206
- package/dist/mcp/transports/stdio.js.map +0 -1
- package/dist/memory/advanced-serializer.d.ts +0 -159
- package/dist/memory/advanced-serializer.d.ts.map +0 -1
- package/dist/memory/advanced-serializer.js +0 -564
- package/dist/memory/advanced-serializer.js.map +0 -1
- package/dist/memory/backends/base.d.ts +0 -21
- package/dist/memory/backends/base.d.ts.map +0 -1
- package/dist/memory/backends/base.js +0 -5
- package/dist/memory/backends/base.js.map +0 -1
- package/dist/memory/backends/markdown.d.ts +0 -35
- package/dist/memory/backends/markdown.d.ts.map +0 -1
- package/dist/memory/backends/markdown.js +0 -223
- package/dist/memory/backends/markdown.js.map +0 -1
- package/dist/memory/backends/sqlite.d.ts +0 -33
- package/dist/memory/backends/sqlite.d.ts.map +0 -1
- package/dist/memory/backends/sqlite.js +0 -291
- package/dist/memory/backends/sqlite.js.map +0 -1
- package/dist/memory/cache.d.ts +0 -65
- package/dist/memory/cache.d.ts.map +0 -1
- package/dist/memory/cache.js +0 -188
- package/dist/memory/cache.js.map +0 -1
- package/dist/memory/distributed-memory.d.ts +0 -188
- package/dist/memory/distributed-memory.d.ts.map +0 -1
- package/dist/memory/distributed-memory.js +0 -710
- package/dist/memory/distributed-memory.js.map +0 -1
- package/dist/memory/enhanced-session-serializer.d.ts +0 -115
- package/dist/memory/enhanced-session-serializer.d.ts.map +0 -1
- package/dist/memory/enhanced-session-serializer.js +0 -478
- package/dist/memory/enhanced-session-serializer.js.map +0 -1
- package/dist/memory/fallback-store.d.ts +0 -28
- package/dist/memory/fallback-store.d.ts.map +0 -1
- package/dist/memory/fallback-store.js +0 -101
- package/dist/memory/fallback-store.js.map +0 -1
- package/dist/memory/in-memory-store.d.ts +0 -37
- package/dist/memory/in-memory-store.d.ts.map +0 -1
- package/dist/memory/in-memory-store.js +0 -174
- package/dist/memory/in-memory-store.js.map +0 -1
- package/dist/memory/indexer.d.ts +0 -52
- package/dist/memory/indexer.d.ts.map +0 -1
- package/dist/memory/indexer.js +0 -191
- package/dist/memory/indexer.js.map +0 -1
- package/dist/memory/manager.d.ts +0 -58
- package/dist/memory/manager.d.ts.map +0 -1
- package/dist/memory/manager.js +0 -423
- package/dist/memory/manager.js.map +0 -1
- package/dist/memory/sqlite-store.d.ts +0 -34
- package/dist/memory/sqlite-store.d.ts.map +0 -1
- package/dist/memory/sqlite-store.js +0 -268
- package/dist/memory/sqlite-store.js.map +0 -1
- package/dist/memory/sqlite-wrapper.d.ts +0 -38
- package/dist/memory/sqlite-wrapper.d.ts.map +0 -1
- package/dist/memory/sqlite-wrapper.js +0 -152
- package/dist/memory/sqlite-wrapper.js.map +0 -1
- package/dist/memory/swarm-memory.d.ts +0 -91
- package/dist/memory/swarm-memory.d.ts.map +0 -1
- package/dist/memory/swarm-memory.js +0 -454
- package/dist/memory/swarm-memory.js.map +0 -1
- package/dist/memory/unified-memory-manager.d.ts +0 -116
- package/dist/memory/unified-memory-manager.d.ts.map +0 -1
- package/dist/memory/unified-memory-manager.js +0 -397
- package/dist/memory/unified-memory-manager.js.map +0 -1
- package/dist/migration/logger.d.ts +0 -26
- package/dist/migration/logger.d.ts.map +0 -1
- package/dist/migration/logger.js +0 -145
- package/dist/migration/logger.js.map +0 -1
- package/dist/migration/migration-analyzer.d.ts +0 -18
- package/dist/migration/migration-analyzer.d.ts.map +0 -1
- package/dist/migration/migration-analyzer.js +0 -284
- package/dist/migration/migration-analyzer.js.map +0 -1
- package/dist/migration/migration-runner.d.ts +0 -26
- package/dist/migration/migration-runner.d.ts.map +0 -1
- package/dist/migration/migration-runner.js +0 -505
- package/dist/migration/migration-runner.js.map +0 -1
- package/dist/migration/migration-validator.d.ts +0 -17
- package/dist/migration/migration-validator.d.ts.map +0 -1
- package/dist/migration/migration-validator.js +0 -309
- package/dist/migration/migration-validator.js.map +0 -1
- package/dist/migration/progress-reporter.d.ts +0 -28
- package/dist/migration/progress-reporter.d.ts.map +0 -1
- package/dist/migration/progress-reporter.js +0 -163
- package/dist/migration/progress-reporter.js.map +0 -1
- package/dist/migration/rollback-manager.d.ts +0 -24
- package/dist/migration/rollback-manager.d.ts.map +0 -1
- package/dist/migration/rollback-manager.js +0 -351
- package/dist/migration/rollback-manager.js.map +0 -1
- package/dist/migration/types.d.ts +0 -103
- package/dist/migration/types.d.ts.map +0 -1
- package/dist/migration/types.js +0 -6
- package/dist/migration/types.js.map +0 -1
- package/dist/reasoningbank/reasoningbank-adapter.d.ts +0 -93
- package/dist/reasoningbank/reasoningbank-adapter.d.ts.map +0 -1
- package/dist/reasoningbank/reasoningbank-adapter.js +0 -365
- package/dist/reasoningbank/reasoningbank-adapter.js.map +0 -1
- package/dist/sdk/query-control.d.ts +0 -131
- package/dist/sdk/query-control.d.ts.map +0 -1
- package/dist/sdk/query-control.js +0 -363
- package/dist/sdk/query-control.js.map +0 -1
- package/dist/sdk/session-forking.d.ts +0 -109
- package/dist/sdk/session-forking.d.ts.map +0 -1
- package/dist/sdk/session-forking.js +0 -275
- package/dist/sdk/session-forking.js.map +0 -1
- package/dist/swarm/types.d.ts +0 -578
- package/dist/swarm/types.d.ts.map +0 -1
- package/dist/swarm/types.js +0 -54
- package/dist/swarm/types.js.map +0 -1
- package/dist/terminal/adapters/base.d.ts +0 -40
- package/dist/terminal/adapters/base.d.ts.map +0 -1
- package/dist/terminal/adapters/base.js +0 -5
- package/dist/terminal/adapters/base.js.map +0 -1
- package/dist/terminal/adapters/native.d.ts +0 -19
- package/dist/terminal/adapters/native.d.ts.map +0 -1
- package/dist/terminal/adapters/native.js +0 -414
- package/dist/terminal/adapters/native.js.map +0 -1
- package/dist/terminal/adapters/vscode.d.ts +0 -23
- package/dist/terminal/adapters/vscode.d.ts.map +0 -1
- package/dist/terminal/adapters/vscode.js +0 -267
- package/dist/terminal/adapters/vscode.js.map +0 -1
- package/dist/terminal/manager.d.ts +0 -59
- package/dist/terminal/manager.d.ts.map +0 -1
- package/dist/terminal/manager.js +0 -235
- package/dist/terminal/manager.js.map +0 -1
- package/dist/terminal/pool.d.ts +0 -32
- package/dist/terminal/pool.d.ts.map +0 -1
- package/dist/terminal/pool.js +0 -208
- package/dist/terminal/pool.js.map +0 -1
- package/dist/terminal/session.d.ts +0 -41
- package/dist/terminal/session.d.ts.map +0 -1
- package/dist/terminal/session.js +0 -210
- package/dist/terminal/session.js.map +0 -1
- package/dist/utils/error-handler.d.ts +0 -14
- package/dist/utils/error-handler.d.ts.map +0 -1
- package/dist/utils/error-handler.js +0 -29
- package/dist/utils/error-handler.js.map +0 -1
- package/dist/utils/errors.d.ts +0 -121
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js +0 -194
- package/dist/utils/errors.js.map +0 -1
- package/dist/utils/formatters.d.ts +0 -15
- package/dist/utils/formatters.d.ts.map +0 -1
- package/dist/utils/formatters.js +0 -75
- package/dist/utils/formatters.js.map +0 -1
- package/dist/utils/helpers.d.ts +0 -134
- package/dist/utils/helpers.d.ts.map +0 -1
- package/dist/utils/helpers.js +0 -444
- package/dist/utils/helpers.js.map +0 -1
- package/dist/utils/key-redactor.d.ts +0 -46
- package/dist/utils/key-redactor.d.ts.map +0 -1
- package/dist/utils/key-redactor.js +0 -153
- package/dist/utils/key-redactor.js.map +0 -1
- package/dist/utils/metrics-reader.d.ts +0 -67
- package/dist/utils/metrics-reader.d.ts.map +0 -1
- package/dist/utils/metrics-reader.js +0 -201
- package/dist/utils/metrics-reader.js.map +0 -1
- package/dist/utils/npx-isolated-cache.d.ts +0 -17
- package/dist/utils/npx-isolated-cache.d.ts.map +0 -1
- package/dist/utils/npx-isolated-cache.js +0 -140
- package/dist/utils/npx-isolated-cache.js.map +0 -1
- package/dist/utils/project-root.d.ts +0 -35
- package/dist/utils/project-root.d.ts.map +0 -1
- package/dist/utils/project-root.js +0 -115
- package/dist/utils/project-root.js.map +0 -1
- package/dist/utils/type-guards.d.ts +0 -117
- package/dist/utils/type-guards.d.ts.map +0 -1
- package/dist/utils/type-guards.js +0 -166
- package/dist/utils/type-guards.js.map +0 -1
- package/dist/utils/types.d.ts +0 -568
- package/dist/utils/types.d.ts.map +0 -1
- package/dist/utils/types.js +0 -37
- package/dist/utils/types.js.map +0 -1
- /package/docs/{COMMANDS_TO_SKILLS_MIGRATION.md → development/COMMANDS_TO_SKILLS_MIGRATION.md} +0 -0
- /package/docs/{FINAL_INIT_STRUCTURE.md → development/FINAL_INIT_STRUCTURE.md} +0 -0
- /package/docs/{CLI-MEMORY-COMMANDS-WORKING.md → fixes/CLI-MEMORY-COMMANDS-WORKING.md} +0 -0
- /package/docs/{PERFORMANCE-JSON-IMPROVEMENTS.md → performance/PERFORMANCE-JSON-IMPROVEMENTS.md} +0 -0
- /package/docs/{PERFORMANCE-METRICS-GUIDE.md → performance/PERFORMANCE-METRICS-GUIDE.md} +0 -0
- /package/docs/{RELEASE-NOTES-v2.7.0-alpha.9.md → releases/v2.7.0-alpha.9/RELEASE-NOTES-v2.7.0-alpha.9.md} +0 -0
|
@@ -1,735 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Enhanced Pair Programming with Working Auto-Fix
|
|
3
|
-
* This version actually applies fixes using real commands
|
|
4
|
-
*/
|
|
5
|
-
import fs from 'fs/promises';
|
|
6
|
-
import path from 'path';
|
|
7
|
-
import { spawn, exec } from 'child_process';
|
|
8
|
-
import { promisify } from 'util';
|
|
9
|
-
import readline from 'readline';
|
|
10
|
-
const execAsync = promisify(exec);
|
|
11
|
-
// Guidance mode configurations
|
|
12
|
-
const GUIDANCE_MODES = {
|
|
13
|
-
beginner: {
|
|
14
|
-
verbosity: 'high',
|
|
15
|
-
suggestions: 'frequent',
|
|
16
|
-
explanations: 'detailed',
|
|
17
|
-
autoFix: true,
|
|
18
|
-
threshold: 0.9,
|
|
19
|
-
description: 'Detailed explanations and step-by-step guidance'
|
|
20
|
-
},
|
|
21
|
-
intermediate: {
|
|
22
|
-
verbosity: 'medium',
|
|
23
|
-
suggestions: 'balanced',
|
|
24
|
-
explanations: 'concise',
|
|
25
|
-
autoFix: true,
|
|
26
|
-
threshold: 0.95,
|
|
27
|
-
description: 'Balanced guidance with key explanations'
|
|
28
|
-
},
|
|
29
|
-
expert: {
|
|
30
|
-
verbosity: 'low',
|
|
31
|
-
suggestions: 'minimal',
|
|
32
|
-
explanations: 'brief',
|
|
33
|
-
autoFix: true,
|
|
34
|
-
threshold: 0.98,
|
|
35
|
-
description: 'Minimal guidance, maximum efficiency'
|
|
36
|
-
},
|
|
37
|
-
mentor: {
|
|
38
|
-
verbosity: 'high',
|
|
39
|
-
suggestions: 'educational',
|
|
40
|
-
explanations: 'teaching',
|
|
41
|
-
autoFix: false,
|
|
42
|
-
threshold: 0.9,
|
|
43
|
-
description: 'Educational focus with learning opportunities'
|
|
44
|
-
},
|
|
45
|
-
strict: {
|
|
46
|
-
verbosity: 'medium',
|
|
47
|
-
suggestions: 'quality-focused',
|
|
48
|
-
explanations: 'standards',
|
|
49
|
-
autoFix: true,
|
|
50
|
-
threshold: 0.99,
|
|
51
|
-
description: 'Enforces highest code quality standards'
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
class WorkingPairSession {
|
|
55
|
-
constructor(options = {}) {
|
|
56
|
-
this.sessionId = `pair_${Date.now()}`;
|
|
57
|
-
this.guidanceMode = options.guidance || 'intermediate';
|
|
58
|
-
this.guidance = GUIDANCE_MODES[this.guidanceMode];
|
|
59
|
-
this.autoFix = options.autoFix ?? this.guidance.autoFix;
|
|
60
|
-
this.threshold = options.threshold || this.guidance.threshold;
|
|
61
|
-
this.maxIterations = options.maxIterations || 5;
|
|
62
|
-
this.verify = options.verify || false;
|
|
63
|
-
this.startTime = new Date();
|
|
64
|
-
this.status = 'active';
|
|
65
|
-
this.verificationScores = [];
|
|
66
|
-
this.fixHistory = [];
|
|
67
|
-
this.currentIteration = 0;
|
|
68
|
-
this.rl = null;
|
|
69
|
-
}
|
|
70
|
-
async start() {
|
|
71
|
-
await this.saveSession();
|
|
72
|
-
this.showWelcome();
|
|
73
|
-
if (this.verify && this.autoFix) {
|
|
74
|
-
console.log('\n🔄 Auto-Fix Mode Enabled');
|
|
75
|
-
console.log(' • Will automatically fix issues until threshold is met');
|
|
76
|
-
console.log(` • Maximum iterations: ${this.maxIterations}`);
|
|
77
|
-
console.log(` • Target threshold: ${this.threshold}`);
|
|
78
|
-
await this.recursiveFixLoop();
|
|
79
|
-
}
|
|
80
|
-
else if (this.verify) {
|
|
81
|
-
await this.runVerification();
|
|
82
|
-
}
|
|
83
|
-
await this.startInteractiveMode();
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Working recursive fix loop that actually applies fixes
|
|
87
|
-
*/
|
|
88
|
-
async recursiveFixLoop() {
|
|
89
|
-
console.log('\n🚀 Starting Auto-Fix Loop with Real Fixes...');
|
|
90
|
-
console.log('━'.repeat(50));
|
|
91
|
-
let score = 0;
|
|
92
|
-
this.currentIteration = 0;
|
|
93
|
-
while (score < this.threshold && this.currentIteration < this.maxIterations) {
|
|
94
|
-
this.currentIteration++;
|
|
95
|
-
console.log(`\n📍 Iteration ${this.currentIteration}/${this.maxIterations}`);
|
|
96
|
-
// Step 1: Run verification
|
|
97
|
-
const verificationResult = await this.runVerification();
|
|
98
|
-
score = verificationResult.score;
|
|
99
|
-
if (score >= this.threshold) {
|
|
100
|
-
console.log(`\n✨ Threshold met! Score: ${score.toFixed(2)} >= ${this.threshold}`);
|
|
101
|
-
break;
|
|
102
|
-
}
|
|
103
|
-
// Step 2: Apply actual fixes
|
|
104
|
-
console.log('\n🔧 Applying fixes...');
|
|
105
|
-
const fixResults = await this.applyRealFixes(verificationResult);
|
|
106
|
-
if (fixResults.applied > 0) {
|
|
107
|
-
console.log(` ✅ Applied ${fixResults.applied} fixes`);
|
|
108
|
-
this.fixHistory.push({
|
|
109
|
-
iteration: this.currentIteration,
|
|
110
|
-
fixes: fixResults.fixes,
|
|
111
|
-
timestamp: new Date()
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
// Wait before next iteration
|
|
115
|
-
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
116
|
-
}
|
|
117
|
-
this.showFixSummary();
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Apply real fixes to the codebase
|
|
121
|
-
*/
|
|
122
|
-
async applyRealFixes(verificationResult) {
|
|
123
|
-
const fixResults = {
|
|
124
|
-
applied: 0,
|
|
125
|
-
fixes: []
|
|
126
|
-
};
|
|
127
|
-
// Fix linting issues
|
|
128
|
-
if (verificationResult.lintScore < 0.8) {
|
|
129
|
-
console.log(' 🔧 Fixing linting issues...');
|
|
130
|
-
try {
|
|
131
|
-
// First try auto-fix
|
|
132
|
-
const { stdout, stderr } = await execAsync('(npm run lint -- --fix) 2>&1 || true');
|
|
133
|
-
// Check if fixes were applied
|
|
134
|
-
const afterLint = await execAsync('(npm run lint) 2>&1 || true');
|
|
135
|
-
const stillHasErrors = afterLint.stdout.toLowerCase().includes('error');
|
|
136
|
-
if (!stillHasErrors || afterLint.stdout.match(/error/gi)?.length <
|
|
137
|
-
stdout.match(/error/gi)?.length) {
|
|
138
|
-
console.log(' ✅ Applied ESLint auto-fixes');
|
|
139
|
-
fixResults.applied++;
|
|
140
|
-
fixResults.fixes.push('ESLint auto-fix');
|
|
141
|
-
}
|
|
142
|
-
// If still has errors, try prettier
|
|
143
|
-
if (stillHasErrors) {
|
|
144
|
-
await execAsync('npx prettier --write "src/**/*.{js,ts,jsx,tsx}" 2>&1 || true');
|
|
145
|
-
console.log(' ✅ Applied Prettier formatting');
|
|
146
|
-
fixResults.applied++;
|
|
147
|
-
fixResults.fixes.push('Prettier formatting');
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
catch (error) {
|
|
151
|
-
console.log(' ⚠️ Some linting issues require manual fixes');
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
// Fix TypeScript issues
|
|
155
|
-
if (verificationResult.typeScore < 0.8) {
|
|
156
|
-
console.log(' 🔧 Analyzing TypeScript errors...');
|
|
157
|
-
try {
|
|
158
|
-
const { stdout: tsErrors } = await execAsync('(npm run typecheck) 2>&1 || true');
|
|
159
|
-
// Common auto-fixable TypeScript issues
|
|
160
|
-
if (tsErrors.includes('Could not find a declaration file')) {
|
|
161
|
-
console.log(' 📦 Installing missing type definitions...');
|
|
162
|
-
const missingTypes = this.extractMissingTypes(tsErrors);
|
|
163
|
-
for (const pkg of missingTypes) {
|
|
164
|
-
try {
|
|
165
|
-
await execAsync(`npm install --save-dev @types/${pkg} 2>&1 || true`);
|
|
166
|
-
console.log(` ✅ Installed @types/${pkg}`);
|
|
167
|
-
fixResults.applied++;
|
|
168
|
-
fixResults.fixes.push(`Installed @types/${pkg}`);
|
|
169
|
-
}
|
|
170
|
-
catch (e) {
|
|
171
|
-
// Type package might not exist
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
// Add basic type annotations for 'any' types
|
|
176
|
-
if (tsErrors.includes("implicitly has an 'any' type")) {
|
|
177
|
-
console.log(' 📝 Adding type annotations for implicit any...');
|
|
178
|
-
// This would need more complex AST manipulation in production
|
|
179
|
-
// For now, we'll just report it
|
|
180
|
-
console.log(' ℹ️ Manual type annotations needed');
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
catch (error) {
|
|
184
|
-
console.log(' ⚠️ TypeScript fixes require manual intervention');
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
// Fix build issues
|
|
188
|
-
if (verificationResult.buildScore < 0.8) {
|
|
189
|
-
console.log(' 🔧 Fixing build configuration...');
|
|
190
|
-
try {
|
|
191
|
-
// Clear cache and rebuild
|
|
192
|
-
await execAsync('rm -rf dist 2>&1 || true');
|
|
193
|
-
await execAsync('(npm run build) 2>&1 || true');
|
|
194
|
-
console.log(' ✅ Cleared cache and rebuilt');
|
|
195
|
-
fixResults.applied++;
|
|
196
|
-
fixResults.fixes.push('Cache clear and rebuild');
|
|
197
|
-
}
|
|
198
|
-
catch (error) {
|
|
199
|
-
console.log(' ⚠️ Build issues may require configuration changes');
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
// Fix package issues
|
|
203
|
-
console.log(' 🔧 Checking for dependency issues...');
|
|
204
|
-
try {
|
|
205
|
-
// Audit and fix vulnerabilities
|
|
206
|
-
const { stdout: auditOutput } = await execAsync('npm audit --json 2>&1 || true');
|
|
207
|
-
const audit = JSON.parse(auditOutput);
|
|
208
|
-
if (audit.metadata?.vulnerabilities?.total > 0) {
|
|
209
|
-
console.log(' 🛡️ Fixing security vulnerabilities...');
|
|
210
|
-
await execAsync('npm audit fix 2>&1 || true');
|
|
211
|
-
console.log(' ✅ Applied security fixes');
|
|
212
|
-
fixResults.applied++;
|
|
213
|
-
fixResults.fixes.push('Security vulnerability fixes');
|
|
214
|
-
}
|
|
215
|
-
// Update outdated packages (only patch/minor)
|
|
216
|
-
await execAsync('npm update 2>&1 || true');
|
|
217
|
-
console.log(' ✅ Updated dependencies');
|
|
218
|
-
fixResults.applied++;
|
|
219
|
-
fixResults.fixes.push('Dependency updates');
|
|
220
|
-
}
|
|
221
|
-
catch (error) {
|
|
222
|
-
// Audit might fail, that's okay
|
|
223
|
-
}
|
|
224
|
-
return fixResults;
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* Extract missing type packages from TypeScript errors
|
|
228
|
-
*/
|
|
229
|
-
extractMissingTypes(tsErrors) {
|
|
230
|
-
const packages = new Set();
|
|
231
|
-
const regex = /Could not find a declaration file for module '([^']+)'/g;
|
|
232
|
-
let match;
|
|
233
|
-
while ((match = regex.exec(tsErrors)) !== null) {
|
|
234
|
-
const pkg = match[1];
|
|
235
|
-
// Clean package name (remove @org/ prefix if present)
|
|
236
|
-
const cleanPkg = pkg.replace(/^@[^/]+\//, '');
|
|
237
|
-
packages.add(cleanPkg);
|
|
238
|
-
}
|
|
239
|
-
return Array.from(packages);
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Run verification with detailed scoring
|
|
243
|
-
*/
|
|
244
|
-
async runVerification() {
|
|
245
|
-
console.log('\n🔍 Running verification check...');
|
|
246
|
-
const checks = [
|
|
247
|
-
{
|
|
248
|
-
name: 'Type Check',
|
|
249
|
-
command: '(npm run typecheck) 2>&1 || true',
|
|
250
|
-
weight: 0.4,
|
|
251
|
-
scoreKey: 'typeScore'
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
name: 'Linting',
|
|
255
|
-
command: '(npm run lint) 2>&1 || true',
|
|
256
|
-
weight: 0.3,
|
|
257
|
-
scoreKey: 'lintScore'
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
name: 'Build',
|
|
261
|
-
command: '(npm run build) 2>&1 || true',
|
|
262
|
-
weight: 0.3,
|
|
263
|
-
scoreKey: 'buildScore'
|
|
264
|
-
}
|
|
265
|
-
];
|
|
266
|
-
const results = {};
|
|
267
|
-
let totalScore = 0;
|
|
268
|
-
let totalWeight = 0;
|
|
269
|
-
for (const check of checks) {
|
|
270
|
-
try {
|
|
271
|
-
const { stdout, stderr } = await execAsync(check.command);
|
|
272
|
-
const output = stdout + stderr;
|
|
273
|
-
// Calculate score based on actual errors/warnings
|
|
274
|
-
let score = 1.0;
|
|
275
|
-
const errorCount = (output.match(/error/gi) || []).length;
|
|
276
|
-
const warningCount = (output.match(/warning/gi) || []).length;
|
|
277
|
-
if (errorCount > 0) {
|
|
278
|
-
score = Math.max(0.2, 1.0 - (errorCount * 0.1));
|
|
279
|
-
}
|
|
280
|
-
else if (warningCount > 0) {
|
|
281
|
-
score = Math.max(0.7, 1.0 - (warningCount * 0.05));
|
|
282
|
-
}
|
|
283
|
-
results[check.scoreKey] = score;
|
|
284
|
-
totalScore += score * check.weight;
|
|
285
|
-
totalWeight += check.weight;
|
|
286
|
-
const icon = score >= 0.8 ? '✅' : score >= 0.5 ? '⚠️' : '❌';
|
|
287
|
-
console.log(` ${icon} ${check.name}: ${score.toFixed(2)}`);
|
|
288
|
-
}
|
|
289
|
-
catch (error) {
|
|
290
|
-
console.log(` ❌ ${check.name}: 0.00 (failed)`);
|
|
291
|
-
results[check.scoreKey] = 0;
|
|
292
|
-
totalWeight += check.weight;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
const averageScore = totalWeight > 0 ? totalScore / totalWeight : 0;
|
|
296
|
-
console.log(`\n📊 Verification Score: ${averageScore.toFixed(2)}/${this.threshold}`);
|
|
297
|
-
if (this.guidanceMode === 'beginner' && averageScore < this.threshold) {
|
|
298
|
-
console.log('\n💡 Don\'t worry! Use /autofix to automatically improve the score');
|
|
299
|
-
}
|
|
300
|
-
const verificationResult = {
|
|
301
|
-
score: averageScore,
|
|
302
|
-
...results,
|
|
303
|
-
timestamp: new Date(),
|
|
304
|
-
iteration: this.currentIteration
|
|
305
|
-
};
|
|
306
|
-
this.verificationScores.push(verificationResult);
|
|
307
|
-
return verificationResult;
|
|
308
|
-
}
|
|
309
|
-
showWelcome() {
|
|
310
|
-
console.log('\n🚀 Enhanced Pair Programming Session');
|
|
311
|
-
console.log('━'.repeat(50));
|
|
312
|
-
console.log(`Session ID: ${this.sessionId}`);
|
|
313
|
-
console.log(`Guidance Mode: ${this.guidanceMode.charAt(0).toUpperCase() + this.guidanceMode.slice(1)}`);
|
|
314
|
-
console.log(`Description: ${this.guidance.description}`);
|
|
315
|
-
console.log(`Verification: ${this.verify ? '✅ Enabled' : '❌ Disabled'}`);
|
|
316
|
-
console.log(`Auto-Fix: ${this.autoFix ? '✅ Enabled' : '❌ Disabled'}`);
|
|
317
|
-
console.log(`Target Threshold: ${this.threshold}`);
|
|
318
|
-
console.log('━'.repeat(50));
|
|
319
|
-
if (this.guidanceMode === 'beginner') {
|
|
320
|
-
console.log('\n📚 Guidance Settings:');
|
|
321
|
-
console.log(` • Mode: ${this.guidanceMode.charAt(0).toUpperCase() + this.guidanceMode.slice(1)}`);
|
|
322
|
-
console.log(` • Verbosity: ${this.guidance.verbosity}`);
|
|
323
|
-
console.log(` • Suggestions: ${this.guidance.suggestions}`);
|
|
324
|
-
console.log(` • Explanations: ${this.guidance.explanations}`);
|
|
325
|
-
console.log('\n💡 Beginner Tips:');
|
|
326
|
-
console.log(' • Use /explain for detailed explanations');
|
|
327
|
-
console.log(' • Use /pattern to see design patterns');
|
|
328
|
-
console.log(' • Use /best for best practices');
|
|
329
|
-
console.log(' • Use /why to understand decisions');
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
showFixSummary() {
|
|
333
|
-
if (this.fixHistory.length > 0) {
|
|
334
|
-
console.log('\n📋 Fix Summary:');
|
|
335
|
-
console.log('━'.repeat(50));
|
|
336
|
-
let totalFixes = 0;
|
|
337
|
-
for (const entry of this.fixHistory) {
|
|
338
|
-
console.log(`\nIteration ${entry.iteration}:`);
|
|
339
|
-
for (const fix of entry.fixes) {
|
|
340
|
-
console.log(` ✅ ${fix}`);
|
|
341
|
-
totalFixes++;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
console.log('━'.repeat(50));
|
|
345
|
-
console.log(`Total fixes applied: ${totalFixes}`);
|
|
346
|
-
console.log(`Iterations completed: ${this.currentIteration}`);
|
|
347
|
-
if (this.verificationScores.length > 1) {
|
|
348
|
-
const first = this.verificationScores[0].score;
|
|
349
|
-
const last = this.verificationScores[this.verificationScores.length - 1].score;
|
|
350
|
-
const improvement = ((last - first) * 100).toFixed(1);
|
|
351
|
-
if (improvement > 0) {
|
|
352
|
-
console.log(`Score improvement: +${improvement}%`);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
async startInteractiveMode() {
|
|
358
|
-
this.rl = readline.createInterface({
|
|
359
|
-
input: process.stdin,
|
|
360
|
-
output: process.stdout,
|
|
361
|
-
prompt: '\n💻 pair> '
|
|
362
|
-
});
|
|
363
|
-
console.log('\n💡 Interactive mode active. Type /help for commands.\n');
|
|
364
|
-
this.showCommands();
|
|
365
|
-
this.rl.prompt();
|
|
366
|
-
this.rl.on('line', async (line) => {
|
|
367
|
-
const input = line.trim();
|
|
368
|
-
if (input.startsWith('/')) {
|
|
369
|
-
await this.handleCommand(input);
|
|
370
|
-
}
|
|
371
|
-
else if (input.startsWith('?')) {
|
|
372
|
-
await this.askQuestion(input.slice(1).trim());
|
|
373
|
-
}
|
|
374
|
-
else if (input) {
|
|
375
|
-
console.log('🤖 Processing your input...');
|
|
376
|
-
}
|
|
377
|
-
this.rl.prompt();
|
|
378
|
-
});
|
|
379
|
-
this.rl.on('close', () => {
|
|
380
|
-
this.end();
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
showCommands() {
|
|
384
|
-
console.log('\n📝 Session Commands:');
|
|
385
|
-
console.log(' /help - Show all commands');
|
|
386
|
-
console.log(' /verify - Run verification');
|
|
387
|
-
console.log(' /autofix - Start auto-fix loop');
|
|
388
|
-
console.log(' /suggest - Get suggestions');
|
|
389
|
-
console.log(' /explain <topic> - Explain concept');
|
|
390
|
-
console.log(' /best <area> - Show best practices');
|
|
391
|
-
console.log(' /pattern - Pattern suggestions');
|
|
392
|
-
console.log(' /why - Explain decisions');
|
|
393
|
-
console.log(' /status - Session status');
|
|
394
|
-
console.log(' /metrics - Quality metrics');
|
|
395
|
-
console.log(' /guidance - Change guidance mode');
|
|
396
|
-
console.log(' /test - Run tests');
|
|
397
|
-
console.log(' /commit - Commit with verification');
|
|
398
|
-
console.log(' /end - End session');
|
|
399
|
-
if (this.guidanceMode === 'beginner') {
|
|
400
|
-
console.log('\n💡 Quick tips:');
|
|
401
|
-
console.log(' • Type ? followed by question for Q&A');
|
|
402
|
-
console.log(' • Use Tab for command completion');
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
async handleCommand(command) {
|
|
406
|
-
const [cmd, ...args] = command.split(' ');
|
|
407
|
-
switch (cmd) {
|
|
408
|
-
case '/help':
|
|
409
|
-
this.showCommands();
|
|
410
|
-
break;
|
|
411
|
-
case '/verify':
|
|
412
|
-
await this.runVerification();
|
|
413
|
-
break;
|
|
414
|
-
case '/autofix':
|
|
415
|
-
await this.recursiveFixLoop();
|
|
416
|
-
break;
|
|
417
|
-
case '/suggest':
|
|
418
|
-
await this.showSuggestions();
|
|
419
|
-
break;
|
|
420
|
-
case '/explain':
|
|
421
|
-
await this.explainConcept(args.join(' '));
|
|
422
|
-
break;
|
|
423
|
-
case '/best':
|
|
424
|
-
this.showBestPractices(args[0] || 'general');
|
|
425
|
-
break;
|
|
426
|
-
case '/pattern':
|
|
427
|
-
this.showPatternSuggestions();
|
|
428
|
-
break;
|
|
429
|
-
case '/why':
|
|
430
|
-
this.explainDecisions();
|
|
431
|
-
break;
|
|
432
|
-
case '/status':
|
|
433
|
-
await this.showStatus();
|
|
434
|
-
break;
|
|
435
|
-
case '/metrics':
|
|
436
|
-
this.showMetrics();
|
|
437
|
-
break;
|
|
438
|
-
case '/guidance':
|
|
439
|
-
await this.changeGuidanceMode(args[0]);
|
|
440
|
-
break;
|
|
441
|
-
case '/test':
|
|
442
|
-
await this.runTests();
|
|
443
|
-
break;
|
|
444
|
-
case '/commit':
|
|
445
|
-
await this.commitWithVerification();
|
|
446
|
-
break;
|
|
447
|
-
case '/end':
|
|
448
|
-
case '/exit':
|
|
449
|
-
await this.end();
|
|
450
|
-
process.exit(0);
|
|
451
|
-
break;
|
|
452
|
-
default:
|
|
453
|
-
console.log(`❌ Unknown command: ${cmd}`);
|
|
454
|
-
console.log('💡 Type /help for available commands');
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
async showSuggestions() {
|
|
458
|
-
console.log('\n💡 Analyzing for suggestions...');
|
|
459
|
-
// Get latest verification scores
|
|
460
|
-
let latestScore = null;
|
|
461
|
-
if (this.verificationScores.length > 0) {
|
|
462
|
-
latestScore = this.verificationScores[this.verificationScores.length - 1];
|
|
463
|
-
}
|
|
464
|
-
else {
|
|
465
|
-
latestScore = await this.runVerification();
|
|
466
|
-
}
|
|
467
|
-
console.log('\n📝 Immediate Actions:');
|
|
468
|
-
if (latestScore.lintScore < 0.8) {
|
|
469
|
-
console.log(' 1. Fix linting issues: Run /autofix or npm run lint --fix');
|
|
470
|
-
}
|
|
471
|
-
if (latestScore.typeScore < 0.8) {
|
|
472
|
-
console.log(' 2. Fix TypeScript errors: Check npm run typecheck output');
|
|
473
|
-
}
|
|
474
|
-
if (latestScore.buildScore < 0.8) {
|
|
475
|
-
console.log(' 3. Fix build issues: Clear cache and rebuild');
|
|
476
|
-
}
|
|
477
|
-
if (latestScore.score >= this.threshold) {
|
|
478
|
-
console.log(' ✨ Code quality meets threshold! Consider adding tests or documentation.');
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
async explainConcept(topic) {
|
|
482
|
-
if (!topic) {
|
|
483
|
-
console.log('Usage: /explain <topic>');
|
|
484
|
-
return;
|
|
485
|
-
}
|
|
486
|
-
console.log(`\n📚 Explaining: ${topic}`);
|
|
487
|
-
console.log('━'.repeat(40));
|
|
488
|
-
// Provide explanations based on common topics
|
|
489
|
-
const explanations = {
|
|
490
|
-
'typescript': 'TypeScript adds static typing to JavaScript, catching errors at compile time.',
|
|
491
|
-
'linting': 'Linting analyzes code for potential errors and style issues.',
|
|
492
|
-
'testing': 'Tests verify your code works as expected and prevent regressions.',
|
|
493
|
-
'async': 'Async/await provides cleaner syntax for handling promises.',
|
|
494
|
-
'hooks': 'React hooks allow using state in functional components.'
|
|
495
|
-
};
|
|
496
|
-
const explanation = explanations[topic.toLowerCase()];
|
|
497
|
-
if (explanation) {
|
|
498
|
-
console.log(explanation);
|
|
499
|
-
}
|
|
500
|
-
else {
|
|
501
|
-
console.log('Topic not found. Try: typescript, linting, testing, async, hooks');
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
showBestPractices(area) {
|
|
505
|
-
console.log(`\n📚 Best Practices for ${area}:`);
|
|
506
|
-
console.log('━'.repeat(40));
|
|
507
|
-
const practices = {
|
|
508
|
-
general: [
|
|
509
|
-
'• Write self-documenting code',
|
|
510
|
-
'• Keep functions small and focused',
|
|
511
|
-
'• Use meaningful variable names',
|
|
512
|
-
'• Handle errors properly',
|
|
513
|
-
'• Write tests for critical paths'
|
|
514
|
-
],
|
|
515
|
-
testing: [
|
|
516
|
-
'• Test behavior, not implementation',
|
|
517
|
-
'• Use descriptive test names',
|
|
518
|
-
'• Follow AAA pattern',
|
|
519
|
-
'• Mock external dependencies',
|
|
520
|
-
'• Test edge cases'
|
|
521
|
-
]
|
|
522
|
-
};
|
|
523
|
-
const selected = practices[area] || practices.general;
|
|
524
|
-
selected.forEach(p => console.log(p));
|
|
525
|
-
}
|
|
526
|
-
showPatternSuggestions() {
|
|
527
|
-
console.log('\n🏗️ Recommended Design Patterns:');
|
|
528
|
-
console.log('━'.repeat(40));
|
|
529
|
-
console.log('• Singleton - One instance throughout app');
|
|
530
|
-
console.log('• Factory - Create objects without specifying class');
|
|
531
|
-
console.log('• Observer - Subscribe to and notify changes');
|
|
532
|
-
console.log('• Strategy - Encapsulate algorithms');
|
|
533
|
-
console.log('• Decorator - Add functionality to objects');
|
|
534
|
-
}
|
|
535
|
-
explainDecisions() {
|
|
536
|
-
console.log('\n🤔 Decision Rationale:');
|
|
537
|
-
console.log('━'.repeat(40));
|
|
538
|
-
console.log('Auto-fix decisions are based on:');
|
|
539
|
-
console.log('• Industry best practices');
|
|
540
|
-
console.log('• Code maintainability');
|
|
541
|
-
console.log('• Performance optimization');
|
|
542
|
-
console.log('• Security considerations');
|
|
543
|
-
console.log('• Team consistency');
|
|
544
|
-
}
|
|
545
|
-
async showStatus() {
|
|
546
|
-
const duration = Math.floor((Date.now() - this.startTime) / 1000 / 60);
|
|
547
|
-
console.log('\n📊 Session Status');
|
|
548
|
-
console.log('━'.repeat(40));
|
|
549
|
-
console.log(`Session ID: ${this.sessionId}`);
|
|
550
|
-
console.log(`Duration: ${duration} minutes`);
|
|
551
|
-
console.log(`Guidance Mode: ${this.guidanceMode}`);
|
|
552
|
-
console.log(`Auto-Fix: ${this.autoFix ? 'Enabled' : 'Disabled'}`);
|
|
553
|
-
console.log(`Fix Iterations: ${this.currentIteration}`);
|
|
554
|
-
console.log(`Total Fixes Applied: ${this.fixHistory.reduce((sum, h) => sum + h.fixes.length, 0)}`);
|
|
555
|
-
if (this.verificationScores.length > 0) {
|
|
556
|
-
const latest = this.verificationScores[this.verificationScores.length - 1];
|
|
557
|
-
console.log(`Latest Score: ${latest.score.toFixed(2)}`);
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
showMetrics() {
|
|
561
|
-
console.log('\n📈 Quality Metrics');
|
|
562
|
-
console.log('━'.repeat(40));
|
|
563
|
-
if (this.verificationScores.length > 0) {
|
|
564
|
-
console.log('\nScore Progression:');
|
|
565
|
-
this.verificationScores.forEach((v, i) => {
|
|
566
|
-
const bar = '█'.repeat(Math.floor(v.score * 20));
|
|
567
|
-
console.log(` ${i + 1}. ${bar} ${v.score.toFixed(2)}`);
|
|
568
|
-
});
|
|
569
|
-
if (this.verificationScores.length > 1) {
|
|
570
|
-
const first = this.verificationScores[0].score;
|
|
571
|
-
const last = this.verificationScores[this.verificationScores.length - 1].score;
|
|
572
|
-
const improvement = ((last - first) * 100).toFixed(1);
|
|
573
|
-
if (improvement > 0) {
|
|
574
|
-
console.log(`\n Improvement: +${improvement}%`);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
async changeGuidanceMode(newMode) {
|
|
580
|
-
if (!newMode || !GUIDANCE_MODES[newMode]) {
|
|
581
|
-
console.log('Available modes: beginner, intermediate, expert, mentor, strict');
|
|
582
|
-
return;
|
|
583
|
-
}
|
|
584
|
-
this.guidanceMode = newMode;
|
|
585
|
-
this.guidance = GUIDANCE_MODES[newMode];
|
|
586
|
-
console.log(`✅ Guidance mode changed to: ${newMode}`);
|
|
587
|
-
console.log(`Description: ${this.guidance.description}`);
|
|
588
|
-
}
|
|
589
|
-
async askQuestion(question) {
|
|
590
|
-
console.log('\n❓ Question:', question);
|
|
591
|
-
console.log('\n📚 Answer:');
|
|
592
|
-
console.log('━'.repeat(40));
|
|
593
|
-
// Provide contextual answers
|
|
594
|
-
if (question.toLowerCase().includes('why')) {
|
|
595
|
-
console.log('This is important for code quality and maintainability.');
|
|
596
|
-
}
|
|
597
|
-
else if (question.toLowerCase().includes('how')) {
|
|
598
|
-
console.log('You can achieve this by following the suggested approach.');
|
|
599
|
-
}
|
|
600
|
-
else {
|
|
601
|
-
console.log('That\'s a great question! Consider exploring the documentation.');
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
async runTests() {
|
|
605
|
-
console.log('\n🧪 Running tests...');
|
|
606
|
-
try {
|
|
607
|
-
const { stdout } = await execAsync('npm test 2>&1 || true');
|
|
608
|
-
const passed = !stdout.toLowerCase().includes('fail');
|
|
609
|
-
console.log(` ${passed ? '✅' : '❌'} Tests ${passed ? 'passed' : 'failed'}`);
|
|
610
|
-
return passed;
|
|
611
|
-
}
|
|
612
|
-
catch (error) {
|
|
613
|
-
console.log(' ❌ Test execution failed:', error.message);
|
|
614
|
-
return false;
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
async commitWithVerification() {
|
|
618
|
-
const result = await this.runVerification();
|
|
619
|
-
if (result.score >= this.threshold) {
|
|
620
|
-
console.log('✅ Verification passed! Ready to commit.');
|
|
621
|
-
console.log('\n📝 Suggested commit message:');
|
|
622
|
-
console.log(` "feat: improved code quality to ${result.score.toFixed(2)} threshold"`);
|
|
623
|
-
}
|
|
624
|
-
else {
|
|
625
|
-
console.log('❌ Verification failed!');
|
|
626
|
-
console.log('💡 Run /autofix to automatically fix issues');
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
async end() {
|
|
630
|
-
console.log('\n🛑 Ending pair programming session...');
|
|
631
|
-
if (this.rl)
|
|
632
|
-
this.rl.close();
|
|
633
|
-
this.status = 'completed';
|
|
634
|
-
await this.saveSession();
|
|
635
|
-
const duration = Math.floor((Date.now() - this.startTime) / 1000 / 60);
|
|
636
|
-
console.log('\n✨ Session Complete!');
|
|
637
|
-
console.log('━'.repeat(40));
|
|
638
|
-
console.log(`Duration: ${duration} minutes`);
|
|
639
|
-
console.log(`Total Fixes Applied: ${this.fixHistory.reduce((sum, h) => sum + h.fixes.length, 0)}`);
|
|
640
|
-
console.log(`Final Iterations: ${this.currentIteration}`);
|
|
641
|
-
if (this.verificationScores.length > 0) {
|
|
642
|
-
const final = this.verificationScores[this.verificationScores.length - 1];
|
|
643
|
-
console.log(`Final Score: ${final.score.toFixed(2)}`);
|
|
644
|
-
}
|
|
645
|
-
console.log('\n👋 Thanks for pair programming!\n');
|
|
646
|
-
}
|
|
647
|
-
async saveSession() {
|
|
648
|
-
const sessionPath = '.claude-flow/sessions/pair';
|
|
649
|
-
await fs.mkdir(sessionPath, { recursive: true });
|
|
650
|
-
const sessionData = {
|
|
651
|
-
id: this.sessionId,
|
|
652
|
-
guidanceMode: this.guidanceMode,
|
|
653
|
-
autoFix: this.autoFix,
|
|
654
|
-
threshold: this.threshold,
|
|
655
|
-
startTime: this.startTime.toISOString(),
|
|
656
|
-
status: this.status,
|
|
657
|
-
verificationScores: this.verificationScores,
|
|
658
|
-
fixHistory: this.fixHistory,
|
|
659
|
-
iterations: this.currentIteration
|
|
660
|
-
};
|
|
661
|
-
await fs.writeFile(path.join(sessionPath, `${this.sessionId}.json`), JSON.stringify(sessionData, null, 2));
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
async function pairCommand(args = [], flags = {}) {
|
|
665
|
-
console.log('\n👥 Enhanced Pair Programming');
|
|
666
|
-
console.log('━'.repeat(50));
|
|
667
|
-
if (flags.help || args.includes('--help')) {
|
|
668
|
-
showHelp();
|
|
669
|
-
return;
|
|
670
|
-
}
|
|
671
|
-
if (flags.start) {
|
|
672
|
-
const session = new WorkingPairSession({
|
|
673
|
-
guidance: flags.guidance || 'intermediate',
|
|
674
|
-
verify: flags.verify || false,
|
|
675
|
-
autoFix: flags.autofix || flags.fix || false,
|
|
676
|
-
threshold: parseFloat(flags.threshold) || undefined,
|
|
677
|
-
maxIterations: parseInt(flags.iterations) || 5
|
|
678
|
-
});
|
|
679
|
-
return await session.start();
|
|
680
|
-
}
|
|
681
|
-
showHelp();
|
|
682
|
-
}
|
|
683
|
-
function showHelp() {
|
|
684
|
-
console.log(`
|
|
685
|
-
📚 USAGE:
|
|
686
|
-
claude-flow pair [options]
|
|
687
|
-
|
|
688
|
-
⚙️ OPTIONS:
|
|
689
|
-
--start Start a new pair programming session
|
|
690
|
-
--guidance <mode> Set guidance mode (beginner, intermediate, expert, mentor, strict)
|
|
691
|
-
--verify Enable verification
|
|
692
|
-
--autofix, --fix Enable auto-fix with real fixes
|
|
693
|
-
--threshold <n> Target verification threshold
|
|
694
|
-
--iterations <n> Max fix iterations
|
|
695
|
-
--help Show this help message
|
|
696
|
-
|
|
697
|
-
🎯 GUIDANCE MODES:
|
|
698
|
-
beginner - Detailed explanations and step-by-step guidance
|
|
699
|
-
intermediate - Balanced guidance with key explanations
|
|
700
|
-
expert - Minimal guidance, maximum efficiency
|
|
701
|
-
mentor - Educational focus with learning opportunities
|
|
702
|
-
strict - Enforces highest code quality standards
|
|
703
|
-
|
|
704
|
-
🔄 AUTO-FIX FEATURES:
|
|
705
|
-
• Real ESLint auto-fixes
|
|
706
|
-
• Prettier formatting
|
|
707
|
-
• Missing type definitions installation
|
|
708
|
-
• Security vulnerability fixes
|
|
709
|
-
• Dependency updates
|
|
710
|
-
• Cache clearing and rebuilding
|
|
711
|
-
|
|
712
|
-
💡 EXAMPLES:
|
|
713
|
-
# Beginner mode with auto-fix
|
|
714
|
-
claude-flow pair --start --guidance beginner --verify --autofix
|
|
715
|
-
|
|
716
|
-
# Expert mode with high threshold
|
|
717
|
-
claude-flow pair --start --guidance expert --verify --autofix --threshold 0.98
|
|
718
|
-
|
|
719
|
-
# Mentor mode (educational, no auto-fix)
|
|
720
|
-
claude-flow pair --start --guidance mentor --verify
|
|
721
|
-
|
|
722
|
-
📊 DURING SESSION:
|
|
723
|
-
/verify - Manual verification
|
|
724
|
-
/autofix - Start auto-fix loop
|
|
725
|
-
/suggest - Get improvement suggestions
|
|
726
|
-
/guidance - Change guidance mode
|
|
727
|
-
/metrics - Show quality metrics
|
|
728
|
-
/status - Current session status
|
|
729
|
-
|
|
730
|
-
📚 For detailed documentation, see:
|
|
731
|
-
.claude/commands/pair/README.md
|
|
732
|
-
`);
|
|
733
|
-
}
|
|
734
|
-
export default pairCommand;
|
|
735
|
-
//# sourceMappingURL=pair.js.map
|