claude-flow 2.0.0-alpha.79 → 2.0.0-alpha.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/checkpoints/1753906298.json +12 -0
- package/.claude/checkpoints/1753906353.json +8 -0
- package/.claude/checkpoints/1753906370.json +8 -0
- package/.claude/checkpoints/summary-session-20250730-220658.md +182 -0
- package/.claude/checkpoints/summary-session-20250730-220954.md +187 -0
- package/.claude/checkpoints/summary-session-20250730-222733.md +199 -0
- package/.claude/checkpoints/task-1753913133.json +7 -0
- package/.claude/checkpoints/task-1753913281.json +7 -0
- package/.claude/checkpoints/task-1753913468.json +7 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/github/README.md +11 -0
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-train.md +25 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/helpers/checkpoint-hooks.sh +187 -0
- package/.claude/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/github-checkpoint-hooks.sh +218 -0
- package/.claude/helpers/github-safe.js +106 -0
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/setup-checkpoints.sh +75 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +179 -0
- package/.claude/settings-checkpoint-example.json +29 -0
- package/.claude/settings-checkpoint-simple.json +24 -0
- package/.claude/settings-complete.json +138 -0
- package/.claude/settings.json +10 -10
- package/.claude/settings.local.json +1 -10
- package/CHANGELOG.md +54 -0
- package/README.md +20 -0
- package/bin/claude-flow +1 -1
- package/package.json +1 -1
- package/src/cli/command-registry.js +12 -1
- package/src/cli/commands/status.ts +1 -1
- package/src/cli/help-text.js +15 -6
- package/src/cli/index-remote.ts +1 -1
- package/src/cli/index.ts +1 -1
- package/src/cli/simple-cli.js +1 -1
- package/src/cli/simple-cli.ts +1 -1
- package/src/cli/simple-commands/agent.js +5 -0
- package/src/cli/simple-commands/analysis.js +370 -108
- package/src/cli/simple-commands/github/init.js +529 -0
- package/src/cli/simple-commands/github.js +15 -0
- package/src/cli/simple-commands/init/help.js +2 -0
- package/src/cli/simple-commands/init/index.js +112 -1
- package/src/cli/simple-commands/init/template-copier.js +1 -1
- package/src/cli/simple-commands/init/templates/commands/helpers/standard-checkpoint-hooks.sh +179 -0
- package/src/cli/simple-commands/init/templates/enhanced-templates.js +642 -2
- package/src/cli/simple-commands/init/templates/settings.json +6 -2
- package/src/cli/simple-commands/performance-hooks.js +173 -0
- package/src/cli/simple-commands/performance-metrics.js +592 -0
- package/src/cli/simple-commands/process-ui-enhanced.js +2 -2
- package/src/cli/simple-commands/status.js +1 -1
- package/dist/agents/agent-loader.d.ts +0 -90
- package/dist/agents/agent-loader.d.ts.map +0 -1
- package/dist/agents/agent-loader.js +0 -195
- 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 -758
- package/dist/cli/command-registry.js.map +0 -1
- package/dist/cli/commands/agent.d.ts +0 -7
- package/dist/cli/commands/agent.d.ts.map +0 -1
- package/dist/cli/commands/agent.js +0 -382
- package/dist/cli/commands/agent.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -5
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -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 -7
- 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 -19
- 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 -10
- package/dist/cli/commands/hive-mind/init.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/init.js +0 -68
- package/dist/cli/commands/hive-mind/init.js.map +0 -1
- package/dist/cli/commands/hive-mind/pause.d.ts +0 -9
- 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 -9
- 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 -9
- 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 -10
- 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 -10
- 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 -9
- 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 -10
- 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 -10
- 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 -2532
- 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 -30
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -225
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/migrate.d.ts +0 -6
- package/dist/cli/commands/migrate.d.ts.map +0 -1
- package/dist/cli/commands/migrate.js +0 -139
- package/dist/cli/commands/migrate.js.map +0 -1
- package/dist/cli/commands/monitor.d.ts +0 -6
- package/dist/cli/commands/monitor.d.ts.map +0 -1
- package/dist/cli/commands/monitor.js +0 -493
- package/dist/cli/commands/monitor.js.map +0 -1
- package/dist/cli/commands/session.d.ts +0 -6
- package/dist/cli/commands/session.d.ts.map +0 -1
- package/dist/cli/commands/session.js +0 -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 -6
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -307
- 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 -6
- 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 -6
- 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/index-remote.d.ts +0 -7
- package/dist/cli/index-remote.d.ts.map +0 -1
- package/dist/cli/index-remote.js +0 -126
- package/dist/cli/index-remote.js.map +0 -1
- package/dist/cli/index.d.ts +0 -7
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -191
- 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 -3074
- package/dist/cli/simple-cli.js.map +0 -1
- package/dist/cli/simple-commands/agent.d.ts +0 -2
- package/dist/cli/simple-commands/agent.d.ts.map +0 -1
- package/dist/cli/simple-commands/agent.js +0 -175
- 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 -207
- package/dist/cli/simple-commands/analysis.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 -246
- 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/config.d.ts +0 -2
- package/dist/cli/simple-commands/config.d.ts.map +0 -1
- package/dist/cli/simple-commands/config.js +0 -278
- 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/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.d.ts +0 -3
- package/dist/cli/simple-commands/github.d.ts.map +0 -1
- package/dist/cli/simple-commands/github.js +0 -343
- package/dist/cli/simple-commands/github.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 -840
- 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/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 -139
- 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 -835
- 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 -18
- package/dist/cli/simple-commands/hive-mind.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind.js +0 -2430
- 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 -1026
- package/dist/cli/simple-commands/hooks.js.map +0 -1
- package/dist/cli/simple-commands/init/agent-copier.d.ts +0 -43
- package/dist/cli/simple-commands/init/agent-copier.d.ts.map +0 -1
- package/dist/cli/simple-commands/init/agent-copier.js +0 -200
- 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 -159
- 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 -126
- 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 -95
- package/dist/cli/simple-commands/init/help.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 -1178
- 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/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 -510
- package/dist/cli/simple-commands/init/template-copier.js.map +0 -1
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts +0 -5
- 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 -646
- 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 -18
- 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 -1407
- 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/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/mcp.d.ts +0 -2
- package/dist/cli/simple-commands/mcp.d.ts.map +0 -1
- package/dist/cli/simple-commands/mcp.js +0 -366
- package/dist/cli/simple-commands/mcp.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 -278
- 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/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/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 -480
- 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 -274
- package/dist/cli/simple-commands/status.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 -1964
- 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 -190
- package/dist/cli/simple-commands/task.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/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 -55
- package/dist/constants/agent-types.d.ts.map +0 -1
- package/dist/constants/agent-types.js +0 -66
- 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 -123
- package/dist/core/orchestrator.d.ts.map +0 -1
- package/dist/core/orchestrator.js +0 -1058
- package/dist/core/orchestrator.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/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 -1176
- 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 -548
- 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 -267
- 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/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/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/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/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
|
@@ -1,646 +0,0 @@
|
|
|
1
|
-
// claude-md.js - CLAUDE.md templates
|
|
2
|
-
export function createMinimalClaudeMd() {
|
|
3
|
-
return `# Claude Code Configuration
|
|
4
|
-
|
|
5
|
-
## 🚨 CRITICAL: CONCURRENT EXECUTION FOR ALL ACTIONS
|
|
6
|
-
|
|
7
|
-
**ABSOLUTE RULE**: ALL operations MUST be concurrent/parallel in a single message:
|
|
8
|
-
|
|
9
|
-
### 🔴 MANDATORY CONCURRENT PATTERNS:
|
|
10
|
-
1. **TodoWrite**: ALWAYS batch ALL todos in ONE call (5-10+ todos minimum)
|
|
11
|
-
2. **Task tool**: ALWAYS spawn ALL agents in ONE message with full instructions
|
|
12
|
-
3. **File operations**: ALWAYS batch ALL reads/writes/edits in ONE message
|
|
13
|
-
4. **Bash commands**: ALWAYS batch ALL terminal operations in ONE message
|
|
14
|
-
|
|
15
|
-
### ⚡ GOLDEN RULE: "1 MESSAGE = ALL RELATED OPERATIONS"
|
|
16
|
-
|
|
17
|
-
**✅ CORRECT**: Everything in ONE message
|
|
18
|
-
**❌ WRONG**: Multiple messages for related operations (6x slower!)
|
|
19
|
-
|
|
20
|
-
### 🎯 CONCURRENT EXECUTION CHECKLIST:
|
|
21
|
-
- ✅ Are ALL related TodoWrite operations batched together?
|
|
22
|
-
- ✅ Are ALL Task spawning operations in ONE message?
|
|
23
|
-
- ✅ Are ALL file operations (Read/Write/Edit) batched together?
|
|
24
|
-
- ✅ Are ALL bash commands grouped in ONE message?
|
|
25
|
-
|
|
26
|
-
If ANY answer is "No", you MUST combine operations into a single message!
|
|
27
|
-
|
|
28
|
-
## Build Commands
|
|
29
|
-
- \`npm run build\`: Build the project
|
|
30
|
-
- \`npm run test\`: Run tests
|
|
31
|
-
- \`npm run lint\`: Run linter
|
|
32
|
-
|
|
33
|
-
## Code Style
|
|
34
|
-
- Use TypeScript/ES modules
|
|
35
|
-
- Follow project conventions
|
|
36
|
-
- Run typecheck before committing
|
|
37
|
-
|
|
38
|
-
## Project Info
|
|
39
|
-
This is a Claude-Flow AI agent orchestration system.
|
|
40
|
-
`;
|
|
41
|
-
}
|
|
42
|
-
export function createFullClaudeMd() {
|
|
43
|
-
return `# Claude Code Configuration
|
|
44
|
-
|
|
45
|
-
## 🚨 CRITICAL: CONCURRENT EXECUTION FOR ALL ACTIONS
|
|
46
|
-
|
|
47
|
-
**ABSOLUTE RULE**: ALL operations MUST be concurrent/parallel in a single message:
|
|
48
|
-
|
|
49
|
-
### 🔴 MANDATORY CONCURRENT PATTERNS:
|
|
50
|
-
1. **TodoWrite**: ALWAYS batch ALL todos in ONE call (5-10+ todos minimum)
|
|
51
|
-
2. **Task tool**: ALWAYS spawn ALL agents in ONE message with full instructions
|
|
52
|
-
3. **File operations**: ALWAYS batch ALL reads/writes/edits in ONE message
|
|
53
|
-
4. **Bash commands**: ALWAYS batch ALL terminal operations in ONE message
|
|
54
|
-
5. **Memory operations**: ALWAYS batch ALL memory store/retrieve in ONE message
|
|
55
|
-
|
|
56
|
-
### ⚡ GOLDEN RULE: "1 MESSAGE = ALL RELATED OPERATIONS"
|
|
57
|
-
|
|
58
|
-
**Examples of CORRECT concurrent execution:**
|
|
59
|
-
\`\`\`javascript
|
|
60
|
-
// ✅ CORRECT: Everything in ONE message
|
|
61
|
-
[Single Message]:
|
|
62
|
-
- TodoWrite { todos: [10+ todos with all statuses/priorities] }
|
|
63
|
-
- Task("Agent 1 with full instructions and hooks")
|
|
64
|
-
- Task("Agent 2 with full instructions and hooks")
|
|
65
|
-
- Task("Agent 3 with full instructions and hooks")
|
|
66
|
-
- Read("file1.js")
|
|
67
|
-
- Read("file2.js")
|
|
68
|
-
- Write("output1.js", content)
|
|
69
|
-
- Write("output2.js", content)
|
|
70
|
-
- Bash("npm install")
|
|
71
|
-
- Bash("npm test")
|
|
72
|
-
- Bash("npm run build")
|
|
73
|
-
\`\`\`
|
|
74
|
-
|
|
75
|
-
**Examples of WRONG sequential execution:**
|
|
76
|
-
\`\`\`javascript
|
|
77
|
-
// ❌ WRONG: Multiple messages (NEVER DO THIS)
|
|
78
|
-
Message 1: TodoWrite { todos: [single todo] }
|
|
79
|
-
Message 2: Task("Agent 1")
|
|
80
|
-
Message 3: Task("Agent 2")
|
|
81
|
-
Message 4: Read("file1.js")
|
|
82
|
-
Message 5: Write("output1.js")
|
|
83
|
-
Message 6: Bash("npm install")
|
|
84
|
-
// This is 6x slower and breaks coordination!
|
|
85
|
-
\`\`\`
|
|
86
|
-
|
|
87
|
-
### 🎯 CONCURRENT EXECUTION CHECKLIST:
|
|
88
|
-
|
|
89
|
-
Before sending ANY message, ask yourself:
|
|
90
|
-
- ✅ Are ALL related TodoWrite operations batched together?
|
|
91
|
-
- ✅ Are ALL Task spawning operations in ONE message?
|
|
92
|
-
- ✅ Are ALL file operations (Read/Write/Edit) batched together?
|
|
93
|
-
- ✅ Are ALL bash commands grouped in ONE message?
|
|
94
|
-
- ✅ Are ALL memory operations concurrent?
|
|
95
|
-
|
|
96
|
-
If ANY answer is "No", you MUST combine operations into a single message!
|
|
97
|
-
|
|
98
|
-
## Build Commands
|
|
99
|
-
- \`npm run build\`: Build the project using Deno compile
|
|
100
|
-
- \`npm run test\`: Run the full test suite
|
|
101
|
-
- \`npm run lint\`: Run ESLint and format checks
|
|
102
|
-
- \`npm run typecheck\`: Run TypeScript type checking
|
|
103
|
-
- \`./claude-flow start\`: Start the orchestration system
|
|
104
|
-
- \`./claude-flow --help\`: Show all available commands
|
|
105
|
-
|
|
106
|
-
## Code Style Preferences
|
|
107
|
-
- Use ES modules (import/export) syntax, not CommonJS (require)
|
|
108
|
-
- Destructure imports when possible (e.g., \`import { foo } from 'bar'\`)
|
|
109
|
-
- Use TypeScript for all new code
|
|
110
|
-
- Follow existing naming conventions (camelCase for variables, PascalCase for classes)
|
|
111
|
-
- Add JSDoc comments for public APIs
|
|
112
|
-
- Use async/await instead of Promise chains
|
|
113
|
-
- Prefer const/let over var
|
|
114
|
-
|
|
115
|
-
## Workflow Guidelines
|
|
116
|
-
- Always run typecheck after making code changes
|
|
117
|
-
- Run tests before committing changes
|
|
118
|
-
- Use meaningful commit messages following conventional commits
|
|
119
|
-
- Create feature branches for new functionality
|
|
120
|
-
- Ensure all tests pass before merging
|
|
121
|
-
|
|
122
|
-
## Project Architecture
|
|
123
|
-
This is a Claude-Flow AI agent orchestration system with the following components:
|
|
124
|
-
- **CLI Interface**: Command-line tools for managing the system
|
|
125
|
-
- **Orchestrator**: Core engine for coordinating agents and tasks
|
|
126
|
-
- **Memory System**: Persistent storage and retrieval of information
|
|
127
|
-
- **Terminal Management**: Automated terminal session handling
|
|
128
|
-
- **MCP Integration**: Model Context Protocol server for Claude integration
|
|
129
|
-
- **Agent Coordination**: Multi-agent task distribution and management
|
|
130
|
-
|
|
131
|
-
## Important Notes
|
|
132
|
-
- Use \`claude --dangerously-skip-permissions\` for unattended operation
|
|
133
|
-
- The system supports both daemon and interactive modes
|
|
134
|
-
- Memory persistence is handled automatically
|
|
135
|
-
- All components are event-driven for scalability
|
|
136
|
-
|
|
137
|
-
## Debugging
|
|
138
|
-
- Check logs in \`./claude-flow.log\`
|
|
139
|
-
- Use \`./claude-flow status\` to check system health
|
|
140
|
-
- Monitor with \`./claude-flow monitor\` for real-time updates
|
|
141
|
-
- Verbose output available with \`--verbose\` flag on most commands
|
|
142
|
-
`;
|
|
143
|
-
}
|
|
144
|
-
export function createSparcClaudeMd() {
|
|
145
|
-
return `# Claude Code Configuration - SPARC Development Environment
|
|
146
|
-
|
|
147
|
-
## 🚨 CRITICAL: CONCURRENT EXECUTION FOR ALL ACTIONS
|
|
148
|
-
|
|
149
|
-
**ABSOLUTE RULE**: ALL operations MUST be concurrent/parallel in a single message:
|
|
150
|
-
|
|
151
|
-
### 🔴 MANDATORY CONCURRENT PATTERNS:
|
|
152
|
-
1. **TodoWrite**: ALWAYS batch ALL todos in ONE call (5-10+ todos minimum)
|
|
153
|
-
2. **Task tool**: ALWAYS spawn ALL agents in ONE message with full instructions
|
|
154
|
-
3. **File operations**: ALWAYS batch ALL reads/writes/edits in ONE message
|
|
155
|
-
4. **Bash commands**: ALWAYS batch ALL terminal operations in ONE message
|
|
156
|
-
5. **Memory operations**: ALWAYS batch ALL memory store/retrieve in ONE message
|
|
157
|
-
|
|
158
|
-
### ⚡ GOLDEN RULE: "1 MESSAGE = ALL RELATED OPERATIONS"
|
|
159
|
-
|
|
160
|
-
**Examples of CORRECT concurrent execution:**
|
|
161
|
-
\`\`\`javascript
|
|
162
|
-
// ✅ CORRECT: Everything in ONE message
|
|
163
|
-
[Single Message]:
|
|
164
|
-
- TodoWrite { todos: [10+ todos with all statuses/priorities] }
|
|
165
|
-
- Task("Agent 1 with full instructions and hooks")
|
|
166
|
-
- Task("Agent 2 with full instructions and hooks")
|
|
167
|
-
- Task("Agent 3 with full instructions and hooks")
|
|
168
|
-
- Read("file1.js")
|
|
169
|
-
- Read("file2.js")
|
|
170
|
-
- Write("output1.js", content)
|
|
171
|
-
- Write("output2.js", content)
|
|
172
|
-
- Bash("npm install")
|
|
173
|
-
- Bash("npm test")
|
|
174
|
-
- Bash("npm run build")
|
|
175
|
-
\`\`\`
|
|
176
|
-
|
|
177
|
-
**Examples of WRONG sequential execution:**
|
|
178
|
-
\`\`\`javascript
|
|
179
|
-
// ❌ WRONG: Multiple messages (NEVER DO THIS)
|
|
180
|
-
Message 1: TodoWrite { todos: [single todo] }
|
|
181
|
-
Message 2: Task("Agent 1")
|
|
182
|
-
Message 3: Task("Agent 2")
|
|
183
|
-
Message 4: Read("file1.js")
|
|
184
|
-
Message 5: Write("output1.js")
|
|
185
|
-
Message 6: Bash("npm install")
|
|
186
|
-
// This is 6x slower and breaks coordination!
|
|
187
|
-
\`\`\`
|
|
188
|
-
|
|
189
|
-
### 🎯 CONCURRENT EXECUTION CHECKLIST:
|
|
190
|
-
|
|
191
|
-
Before sending ANY message, ask yourself:
|
|
192
|
-
- ✅ Are ALL related TodoWrite operations batched together?
|
|
193
|
-
- ✅ Are ALL Task spawning operations in ONE message?
|
|
194
|
-
- ✅ Are ALL file operations (Read/Write/Edit) batched together?
|
|
195
|
-
- ✅ Are ALL bash commands grouped in ONE message?
|
|
196
|
-
- ✅ Are ALL memory operations concurrent?
|
|
197
|
-
|
|
198
|
-
If ANY answer is "No", you MUST combine operations into a single message!
|
|
199
|
-
|
|
200
|
-
## Project Overview
|
|
201
|
-
This project uses the SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) methodology for systematic Test-Driven Development with AI assistance through Claude-Flow orchestration.
|
|
202
|
-
|
|
203
|
-
## SPARC Development Commands
|
|
204
|
-
|
|
205
|
-
### Core SPARC Commands
|
|
206
|
-
- \`./claude-flow sparc modes\`: List all available SPARC development modes
|
|
207
|
-
- \`./claude-flow sparc run <mode> "<task>"\`: Execute specific SPARC mode for a task
|
|
208
|
-
- \`./claude-flow sparc tdd "<feature>"\`: Run complete TDD workflow using SPARC methodology
|
|
209
|
-
- \`./claude-flow sparc info <mode>\`: Get detailed information about a specific mode
|
|
210
|
-
|
|
211
|
-
### Standard Build Commands
|
|
212
|
-
- \`npm run build\`: Build the project
|
|
213
|
-
- \`npm run test\`: Run the test suite
|
|
214
|
-
- \`npm run lint\`: Run linter and format checks
|
|
215
|
-
- \`npm run typecheck\`: Run TypeScript type checking
|
|
216
|
-
|
|
217
|
-
## SPARC Methodology Workflow
|
|
218
|
-
|
|
219
|
-
### 1. Specification Phase
|
|
220
|
-
\`\`\`bash
|
|
221
|
-
# Create detailed specifications and requirements
|
|
222
|
-
./claude-flow sparc run spec-pseudocode "Define user authentication requirements"
|
|
223
|
-
\`\`\`
|
|
224
|
-
- Define clear functional requirements
|
|
225
|
-
- Document edge cases and constraints
|
|
226
|
-
- Create user stories and acceptance criteria
|
|
227
|
-
- Establish non-functional requirements
|
|
228
|
-
|
|
229
|
-
### 2. Pseudocode Phase
|
|
230
|
-
\`\`\`bash
|
|
231
|
-
# Develop algorithmic logic and data flows
|
|
232
|
-
./claude-flow sparc run spec-pseudocode "Create authentication flow pseudocode"
|
|
233
|
-
\`\`\`
|
|
234
|
-
- Break down complex logic into steps
|
|
235
|
-
- Define data structures and interfaces
|
|
236
|
-
- Plan error handling and edge cases
|
|
237
|
-
- Create modular, testable components
|
|
238
|
-
|
|
239
|
-
### 3. Architecture Phase
|
|
240
|
-
\`\`\`bash
|
|
241
|
-
# Design system architecture and component structure
|
|
242
|
-
./claude-flow sparc run architect "Design authentication service architecture"
|
|
243
|
-
\`\`\`
|
|
244
|
-
- Create system diagrams and component relationships
|
|
245
|
-
- Define API contracts and interfaces
|
|
246
|
-
- Plan database schemas and data flows
|
|
247
|
-
- Establish security and scalability patterns
|
|
248
|
-
|
|
249
|
-
### 4. Refinement Phase (TDD Implementation)
|
|
250
|
-
\`\`\`bash
|
|
251
|
-
# Execute Test-Driven Development cycle
|
|
252
|
-
./claude-flow sparc tdd "implement user authentication system"
|
|
253
|
-
\`\`\`
|
|
254
|
-
|
|
255
|
-
**TDD Cycle:**
|
|
256
|
-
1. **Red**: Write failing tests first
|
|
257
|
-
2. **Green**: Implement minimal code to pass tests
|
|
258
|
-
3. **Refactor**: Optimize and clean up code
|
|
259
|
-
4. **Repeat**: Continue until feature is complete
|
|
260
|
-
|
|
261
|
-
### 5. Completion Phase
|
|
262
|
-
\`\`\`bash
|
|
263
|
-
# Integration, documentation, and validation
|
|
264
|
-
./claude-flow sparc run integration "integrate authentication with user management"
|
|
265
|
-
\`\`\`
|
|
266
|
-
- Integrate all components
|
|
267
|
-
- Perform end-to-end testing
|
|
268
|
-
- Create comprehensive documentation
|
|
269
|
-
- Validate against original requirements
|
|
270
|
-
|
|
271
|
-
## SPARC Mode Reference
|
|
272
|
-
|
|
273
|
-
### Development Modes
|
|
274
|
-
- **\`architect\`**: System design and architecture planning
|
|
275
|
-
- **\`code\`**: Clean, modular code implementation
|
|
276
|
-
- **\`tdd\`**: Test-driven development and testing
|
|
277
|
-
- **\`spec-pseudocode\`**: Requirements and algorithmic planning
|
|
278
|
-
- **\`integration\`**: System integration and coordination
|
|
279
|
-
|
|
280
|
-
### Quality Assurance Modes
|
|
281
|
-
- **\`debug\`**: Troubleshooting and bug resolution
|
|
282
|
-
- **\`security-review\`**: Security analysis and vulnerability assessment
|
|
283
|
-
- **\`refinement-optimization-mode\`**: Performance optimization and refactoring
|
|
284
|
-
|
|
285
|
-
### Support Modes
|
|
286
|
-
- **\`docs-writer\`**: Documentation creation and maintenance
|
|
287
|
-
- **\`devops\`**: Deployment and infrastructure management
|
|
288
|
-
- **\`mcp\`**: External service integration
|
|
289
|
-
- **\`swarm\`**: Multi-agent coordination for complex tasks
|
|
290
|
-
|
|
291
|
-
## Claude Code Slash Commands
|
|
292
|
-
|
|
293
|
-
Claude Code slash commands are available in \`.claude/commands/\`:
|
|
294
|
-
|
|
295
|
-
### Project Commands
|
|
296
|
-
- \`/sparc\`: Execute SPARC methodology workflows
|
|
297
|
-
- \`/sparc-<mode>\`: Run specific SPARC mode (e.g., /sparc-architect)
|
|
298
|
-
- \`/claude-flow-help\`: Show all Claude-Flow commands
|
|
299
|
-
- \`/claude-flow-memory\`: Interact with memory system
|
|
300
|
-
- \`/claude-flow-swarm\`: Coordinate multi-agent swarms
|
|
301
|
-
|
|
302
|
-
### Using Slash Commands
|
|
303
|
-
1. Type \`/\` in Claude Code to see available commands
|
|
304
|
-
2. Select a command or type its name
|
|
305
|
-
3. Commands are context-aware and project-specific
|
|
306
|
-
4. Custom commands can be added to \`.claude/commands/\`
|
|
307
|
-
|
|
308
|
-
## Code Style and Best Practices
|
|
309
|
-
|
|
310
|
-
### SPARC Development Principles
|
|
311
|
-
- **Modular Design**: Keep files under 500 lines, break into logical components
|
|
312
|
-
- **Environment Safety**: Never hardcode secrets or environment-specific values
|
|
313
|
-
- **Test-First**: Always write tests before implementation (Red-Green-Refactor)
|
|
314
|
-
- **Clean Architecture**: Separate concerns, use dependency injection
|
|
315
|
-
- **Documentation**: Maintain clear, up-to-date documentation
|
|
316
|
-
|
|
317
|
-
### Coding Standards
|
|
318
|
-
- Use TypeScript for type safety and better tooling
|
|
319
|
-
- Follow consistent naming conventions (camelCase for variables, PascalCase for classes)
|
|
320
|
-
- Implement proper error handling and logging
|
|
321
|
-
- Use async/await for asynchronous operations
|
|
322
|
-
- Prefer composition over inheritance
|
|
323
|
-
|
|
324
|
-
### Memory and State Management
|
|
325
|
-
- Use claude-flow memory system for persistent state across sessions
|
|
326
|
-
- Store progress and findings using namespaced keys
|
|
327
|
-
- Query previous work before starting new tasks
|
|
328
|
-
- Export/import memory for backup and sharing
|
|
329
|
-
|
|
330
|
-
## SPARC Memory Integration
|
|
331
|
-
|
|
332
|
-
### Memory Commands for SPARC Development
|
|
333
|
-
\`\`\`bash
|
|
334
|
-
# Store project specifications
|
|
335
|
-
./claude-flow memory store spec_auth "User authentication requirements and constraints"
|
|
336
|
-
|
|
337
|
-
# Store architectural decisions
|
|
338
|
-
./claude-flow memory store arch_decisions "Database schema and API design choices"
|
|
339
|
-
|
|
340
|
-
# Store test results and coverage
|
|
341
|
-
./claude-flow memory store test_coverage "Authentication module: 95% coverage, all tests passing"
|
|
342
|
-
|
|
343
|
-
# Query previous work
|
|
344
|
-
./claude-flow memory query auth_implementation
|
|
345
|
-
|
|
346
|
-
# Export project memory
|
|
347
|
-
./claude-flow memory export project_backup.json
|
|
348
|
-
\`\`\`
|
|
349
|
-
|
|
350
|
-
### Memory Namespaces
|
|
351
|
-
- **\`spec\`**: Requirements and specifications
|
|
352
|
-
- **\`arch\`**: Architecture and design decisions
|
|
353
|
-
- **\`impl\`**: Implementation notes and code patterns
|
|
354
|
-
- **\`test\`**: Test results and coverage reports
|
|
355
|
-
- **\`debug\`**: Bug reports and resolution notes
|
|
356
|
-
|
|
357
|
-
## Workflow Examples
|
|
358
|
-
|
|
359
|
-
### Feature Development Workflow
|
|
360
|
-
\`\`\`bash
|
|
361
|
-
# 1. Start with specification
|
|
362
|
-
./claude-flow sparc run spec-pseudocode "User profile management feature"
|
|
363
|
-
|
|
364
|
-
# 2. Design architecture
|
|
365
|
-
./claude-flow sparc run architect "Profile service architecture with data validation"
|
|
366
|
-
|
|
367
|
-
# 3. Implement with TDD
|
|
368
|
-
./claude-flow sparc tdd "user profile CRUD operations"
|
|
369
|
-
|
|
370
|
-
# 4. Security review
|
|
371
|
-
./claude-flow sparc run security-review "profile data access and validation"
|
|
372
|
-
|
|
373
|
-
# 5. Integration testing
|
|
374
|
-
./claude-flow sparc run integration "profile service with authentication system"
|
|
375
|
-
|
|
376
|
-
# 6. Documentation
|
|
377
|
-
./claude-flow sparc run docs-writer "profile service API documentation"
|
|
378
|
-
\`\`\`
|
|
379
|
-
|
|
380
|
-
### Bug Fix Workflow
|
|
381
|
-
\`\`\`bash
|
|
382
|
-
# 1. Debug and analyze
|
|
383
|
-
./claude-flow sparc run debug "authentication token expiration issue"
|
|
384
|
-
|
|
385
|
-
# 2. Write regression tests
|
|
386
|
-
./claude-flow sparc run tdd "token refresh mechanism tests"
|
|
387
|
-
|
|
388
|
-
# 3. Implement fix
|
|
389
|
-
./claude-flow sparc run code "fix token refresh in authentication service"
|
|
390
|
-
|
|
391
|
-
# 4. Security review
|
|
392
|
-
./claude-flow sparc run security-review "token handling security implications"
|
|
393
|
-
\`\`\`
|
|
394
|
-
|
|
395
|
-
## Configuration Files
|
|
396
|
-
|
|
397
|
-
### Claude Code Integration
|
|
398
|
-
- **\`.claude/commands/\`**: Claude Code slash commands for all SPARC modes
|
|
399
|
-
- **\`.claude/logs/\`**: Conversation and session logs
|
|
400
|
-
|
|
401
|
-
### SPARC Configuration
|
|
402
|
-
- **\`.roomodes\`**: SPARC mode definitions and configurations (auto-generated)
|
|
403
|
-
- **\`.roo/\`**: SPARC templates and workflows (auto-generated)
|
|
404
|
-
|
|
405
|
-
### Claude-Flow Configuration
|
|
406
|
-
- **\`memory/\`**: Persistent memory and session data
|
|
407
|
-
- **\`coordination/\`**: Multi-agent coordination settings
|
|
408
|
-
- **\`CLAUDE.md\`**: Project instructions for Claude Code
|
|
409
|
-
|
|
410
|
-
## Git Workflow Integration
|
|
411
|
-
|
|
412
|
-
### Commit Strategy with SPARC
|
|
413
|
-
- **Specification commits**: After completing requirements analysis
|
|
414
|
-
- **Architecture commits**: After design phase completion
|
|
415
|
-
- **TDD commits**: After each Red-Green-Refactor cycle
|
|
416
|
-
- **Integration commits**: After successful component integration
|
|
417
|
-
- **Documentation commits**: After completing documentation updates
|
|
418
|
-
|
|
419
|
-
### Branch Strategy
|
|
420
|
-
- **\`feature/sparc-<feature-name>\`**: Feature development with SPARC methodology
|
|
421
|
-
- **\`hotfix/sparc-<issue>\`**: Bug fixes using SPARC debugging workflow
|
|
422
|
-
- **\`refactor/sparc-<component>\`**: Refactoring using optimization mode
|
|
423
|
-
|
|
424
|
-
## Troubleshooting
|
|
425
|
-
|
|
426
|
-
### Common SPARC Issues
|
|
427
|
-
- **Mode not found**: Check \`.roomodes\` file exists and is valid JSON
|
|
428
|
-
- **Memory persistence**: Ensure \`memory/\` directory has write permissions
|
|
429
|
-
- **Tool access**: Verify required tools are available for the selected mode
|
|
430
|
-
- **Namespace conflicts**: Use unique memory namespaces for different features
|
|
431
|
-
|
|
432
|
-
### Debug Commands
|
|
433
|
-
\`\`\`bash
|
|
434
|
-
# Check SPARC configuration
|
|
435
|
-
./claude-flow sparc modes
|
|
436
|
-
|
|
437
|
-
# Verify memory system
|
|
438
|
-
./claude-flow memory stats
|
|
439
|
-
|
|
440
|
-
# Check system status
|
|
441
|
-
./claude-flow status
|
|
442
|
-
|
|
443
|
-
# View detailed mode information
|
|
444
|
-
./claude-flow sparc info <mode-name>
|
|
445
|
-
\`\`\`
|
|
446
|
-
|
|
447
|
-
## Project Architecture
|
|
448
|
-
|
|
449
|
-
This SPARC-enabled project follows a systematic development approach:
|
|
450
|
-
- **Clear separation of concerns** through modular design
|
|
451
|
-
- **Test-driven development** ensuring reliability and maintainability
|
|
452
|
-
- **Iterative refinement** for continuous improvement
|
|
453
|
-
- **Comprehensive documentation** for team collaboration
|
|
454
|
-
- **AI-assisted development** through specialized SPARC modes
|
|
455
|
-
|
|
456
|
-
## Important Notes
|
|
457
|
-
|
|
458
|
-
- Always run tests before committing (\`npm run test\`)
|
|
459
|
-
- Use SPARC memory system to maintain context across sessions
|
|
460
|
-
- Follow the Red-Green-Refactor cycle during TDD phases
|
|
461
|
-
- Document architectural decisions in memory for future reference
|
|
462
|
-
- Regular security reviews for any authentication or data handling code
|
|
463
|
-
- Claude Code slash commands provide quick access to SPARC modes
|
|
464
|
-
|
|
465
|
-
For more information about SPARC methodology, see: https://github.com/ruvnet/claude-code-flow/docs/sparc.md
|
|
466
|
-
`;
|
|
467
|
-
}
|
|
468
|
-
// Create optimized SPARC CLAUDE.md with batchtools integration
|
|
469
|
-
export async function createOptimizedSparcClaudeMd() {
|
|
470
|
-
return `# Claude Code Configuration - SPARC Development Environment (Batchtools Optimized)
|
|
471
|
-
|
|
472
|
-
## 🚨 CRITICAL: CONCURRENT EXECUTION FOR ALL ACTIONS
|
|
473
|
-
|
|
474
|
-
**ABSOLUTE RULE**: ALL operations MUST be concurrent/parallel in a single message:
|
|
475
|
-
|
|
476
|
-
### 🔴 MANDATORY CONCURRENT PATTERNS:
|
|
477
|
-
1. **TodoWrite**: ALWAYS batch ALL todos in ONE call (5-10+ todos minimum)
|
|
478
|
-
2. **Task tool**: ALWAYS spawn ALL agents in ONE message with full instructions
|
|
479
|
-
3. **File operations**: ALWAYS batch ALL reads/writes/edits in ONE message
|
|
480
|
-
4. **Bash commands**: ALWAYS batch ALL terminal operations in ONE message
|
|
481
|
-
5. **Memory operations**: ALWAYS batch ALL memory store/retrieve in ONE message
|
|
482
|
-
|
|
483
|
-
### ⚡ GOLDEN RULE: "1 MESSAGE = ALL RELATED OPERATIONS"
|
|
484
|
-
|
|
485
|
-
**Examples of CORRECT concurrent execution:**
|
|
486
|
-
\`\`\`javascript
|
|
487
|
-
// ✅ CORRECT: Everything in ONE message
|
|
488
|
-
[Single Message]:
|
|
489
|
-
- TodoWrite { todos: [10+ todos with all statuses/priorities] }
|
|
490
|
-
- Task("Agent 1 with full instructions and hooks")
|
|
491
|
-
- Task("Agent 2 with full instructions and hooks")
|
|
492
|
-
- Task("Agent 3 with full instructions and hooks")
|
|
493
|
-
- Read("file1.js")
|
|
494
|
-
- Read("file2.js")
|
|
495
|
-
- Write("output1.js", content)
|
|
496
|
-
- Write("output2.js", content)
|
|
497
|
-
- Bash("npm install")
|
|
498
|
-
- Bash("npm test")
|
|
499
|
-
- Bash("npm run build")
|
|
500
|
-
\`\`\`
|
|
501
|
-
|
|
502
|
-
**Examples of WRONG sequential execution:**
|
|
503
|
-
\`\`\`javascript
|
|
504
|
-
// ❌ WRONG: Multiple messages (NEVER DO THIS)
|
|
505
|
-
Message 1: TodoWrite { todos: [single todo] }
|
|
506
|
-
Message 2: Task("Agent 1")
|
|
507
|
-
Message 3: Task("Agent 2")
|
|
508
|
-
Message 4: Read("file1.js")
|
|
509
|
-
Message 5: Write("output1.js")
|
|
510
|
-
Message 6: Bash("npm install")
|
|
511
|
-
// This is 6x slower and breaks coordination!
|
|
512
|
-
\`\`\`
|
|
513
|
-
|
|
514
|
-
### 🎯 CONCURRENT EXECUTION CHECKLIST:
|
|
515
|
-
|
|
516
|
-
Before sending ANY message, ask yourself:
|
|
517
|
-
- ✅ Are ALL related TodoWrite operations batched together?
|
|
518
|
-
- ✅ Are ALL Task spawning operations in ONE message?
|
|
519
|
-
- ✅ Are ALL file operations (Read/Write/Edit) batched together?
|
|
520
|
-
- ✅ Are ALL bash commands grouped in ONE message?
|
|
521
|
-
- ✅ Are ALL memory operations concurrent?
|
|
522
|
-
|
|
523
|
-
If ANY answer is "No", you MUST combine operations into a single message!
|
|
524
|
-
|
|
525
|
-
## Project Overview
|
|
526
|
-
This project uses the SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) methodology for systematic Test-Driven Development with AI assistance through Claude-Flow orchestration.
|
|
527
|
-
|
|
528
|
-
**🚀 Batchtools Optimization Enabled**: This configuration includes optimized prompts and parallel processing capabilities for improved performance and efficiency.
|
|
529
|
-
|
|
530
|
-
## SPARC Development Commands
|
|
531
|
-
|
|
532
|
-
### Core SPARC Commands
|
|
533
|
-
- \`npx claude-flow sparc modes\`: List all available SPARC development modes
|
|
534
|
-
- \`npx claude-flow sparc run <mode> "<task>"\`: Execute specific SPARC mode for a task
|
|
535
|
-
- \`npx claude-flow sparc tdd "<feature>"\`: Run complete TDD workflow using SPARC methodology
|
|
536
|
-
- \`npx claude-flow sparc info <mode>\`: Get detailed information about a specific mode
|
|
537
|
-
|
|
538
|
-
### Batchtools Commands (Optimized)
|
|
539
|
-
- \`npx claude-flow sparc batch <modes> "<task>"\`: Execute multiple SPARC modes in parallel
|
|
540
|
-
- \`npx claude-flow sparc pipeline "<task>"\`: Execute full SPARC pipeline with parallel processing
|
|
541
|
-
- \`npx claude-flow sparc concurrent <mode> "<tasks-file>"\`: Process multiple tasks concurrently
|
|
542
|
-
|
|
543
|
-
### Standard Build Commands
|
|
544
|
-
- \`npm run build\`: Build the project
|
|
545
|
-
- \`npm run test\`: Run the test suite
|
|
546
|
-
- \`npm run lint\`: Run linter and format checks
|
|
547
|
-
- \`npm run typecheck\`: Run TypeScript type checking
|
|
548
|
-
|
|
549
|
-
## SPARC Methodology Workflow (Batchtools Enhanced)
|
|
550
|
-
|
|
551
|
-
### 1. Specification Phase (Parallel Analysis)
|
|
552
|
-
\`\`\`bash
|
|
553
|
-
# Create detailed specifications with concurrent requirements analysis
|
|
554
|
-
npx claude-flow sparc run spec-pseudocode "Define user authentication requirements" --parallel
|
|
555
|
-
\`\`\`
|
|
556
|
-
**Batchtools Optimization**: Simultaneously analyze multiple requirement sources, validate constraints in parallel, and generate comprehensive specifications.
|
|
557
|
-
|
|
558
|
-
### 2. Pseudocode Phase (Concurrent Logic Design)
|
|
559
|
-
\`\`\`bash
|
|
560
|
-
# Develop algorithmic logic with parallel pattern analysis
|
|
561
|
-
npx claude-flow sparc run spec-pseudocode "Create authentication flow pseudocode" --batch-optimize
|
|
562
|
-
\`\`\`
|
|
563
|
-
**Batchtools Optimization**: Process multiple algorithm patterns concurrently, validate logic flows in parallel, and optimize data structures simultaneously.
|
|
564
|
-
|
|
565
|
-
### 3. Architecture Phase (Parallel Component Design)
|
|
566
|
-
\`\`\`bash
|
|
567
|
-
# Design system architecture with concurrent component analysis
|
|
568
|
-
npx claude-flow sparc run architect "Design authentication service architecture" --parallel
|
|
569
|
-
\`\`\`
|
|
570
|
-
**Batchtools Optimization**: Generate multiple architectural alternatives simultaneously, validate integration points in parallel, and create comprehensive documentation concurrently.
|
|
571
|
-
|
|
572
|
-
### 4. Refinement Phase (Parallel TDD Implementation)
|
|
573
|
-
\`\`\`bash
|
|
574
|
-
# Execute Test-Driven Development with parallel test generation
|
|
575
|
-
npx claude-flow sparc tdd "implement user authentication system" --batch-tdd
|
|
576
|
-
\`\`\`
|
|
577
|
-
**Batchtools Optimization**: Generate multiple test scenarios simultaneously, implement and validate code in parallel, and optimize performance concurrently.
|
|
578
|
-
|
|
579
|
-
### 5. Completion Phase (Concurrent Integration)
|
|
580
|
-
\`\`\`bash
|
|
581
|
-
# Integration with parallel validation and documentation
|
|
582
|
-
npx claude-flow sparc run integration "integrate authentication with user management" --parallel
|
|
583
|
-
\`\`\`
|
|
584
|
-
**Batchtools Optimization**: Run integration tests in parallel, generate documentation concurrently, and validate requirements simultaneously.
|
|
585
|
-
|
|
586
|
-
## Batchtools Integration Features
|
|
587
|
-
|
|
588
|
-
### Parallel Processing Capabilities
|
|
589
|
-
- **Concurrent File Operations**: Read, analyze, and modify multiple files simultaneously
|
|
590
|
-
- **Parallel Code Analysis**: Analyze dependencies, patterns, and architecture concurrently
|
|
591
|
-
- **Batch Test Generation**: Create comprehensive test suites in parallel
|
|
592
|
-
- **Concurrent Documentation**: Generate multiple documentation formats simultaneously
|
|
593
|
-
|
|
594
|
-
### Performance Optimizations
|
|
595
|
-
- **Smart Batching**: Group related operations for optimal performance
|
|
596
|
-
- **Pipeline Processing**: Chain dependent operations with parallel stages
|
|
597
|
-
- **Resource Management**: Efficient utilization of system resources
|
|
598
|
-
- **Error Resilience**: Robust error handling with parallel recovery
|
|
599
|
-
|
|
600
|
-
## Performance Benchmarks
|
|
601
|
-
|
|
602
|
-
### Batchtools Performance Improvements
|
|
603
|
-
- **File Operations**: Up to 300% faster with parallel processing
|
|
604
|
-
- **Code Analysis**: 250% improvement with concurrent pattern recognition
|
|
605
|
-
- **Test Generation**: 400% faster with parallel test creation
|
|
606
|
-
- **Documentation**: 200% improvement with concurrent content generation
|
|
607
|
-
- **Memory Operations**: 180% faster with batched read/write operations
|
|
608
|
-
|
|
609
|
-
## Code Style and Best Practices (Batchtools Enhanced)
|
|
610
|
-
|
|
611
|
-
### SPARC Development Principles with Batchtools
|
|
612
|
-
- **Modular Design**: Keep files under 500 lines, optimize with parallel analysis
|
|
613
|
-
- **Environment Safety**: Never hardcode secrets, validate with concurrent checks
|
|
614
|
-
- **Test-First**: Always write tests before implementation using parallel generation
|
|
615
|
-
- **Clean Architecture**: Separate concerns with concurrent validation
|
|
616
|
-
- **Parallel Documentation**: Maintain clear, up-to-date documentation with concurrent updates
|
|
617
|
-
|
|
618
|
-
### Batchtools Best Practices
|
|
619
|
-
- **Parallel Operations**: Use batchtools for independent tasks
|
|
620
|
-
- **Concurrent Validation**: Validate multiple aspects simultaneously
|
|
621
|
-
- **Batch Processing**: Group similar operations for efficiency
|
|
622
|
-
- **Pipeline Optimization**: Chain operations with parallel stages
|
|
623
|
-
- **Resource Management**: Monitor and optimize resource usage
|
|
624
|
-
|
|
625
|
-
## Important Notes (Enhanced)
|
|
626
|
-
|
|
627
|
-
- Always run tests before committing with parallel execution (\`npm run test --parallel\`)
|
|
628
|
-
- Use SPARC memory system with concurrent operations to maintain context across sessions
|
|
629
|
-
- Follow the Red-Green-Refactor cycle with parallel test generation during TDD phases
|
|
630
|
-
- Document architectural decisions with concurrent validation in memory
|
|
631
|
-
- Regular security reviews with parallel analysis for authentication or data handling code
|
|
632
|
-
- Claude Code slash commands provide quick access to batchtools-optimized SPARC modes
|
|
633
|
-
- Monitor system resources during parallel operations for optimal performance
|
|
634
|
-
|
|
635
|
-
For more information about SPARC methodology and batchtools optimization, see:
|
|
636
|
-
- SPARC Guide: https://github.com/ruvnet/claude-code-flow/docs/sparc.md
|
|
637
|
-
- Batchtools Documentation: https://github.com/ruvnet/claude-code-flow/docs/batchtools.md
|
|
638
|
-
|
|
639
|
-
# important-instruction-reminders
|
|
640
|
-
Do what has been asked; nothing more, nothing less.
|
|
641
|
-
NEVER create files unless they're absolutely necessary for achieving your goal.
|
|
642
|
-
ALWAYS prefer editing an existing file to creating a new one.
|
|
643
|
-
NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitly requested by the User.
|
|
644
|
-
`;
|
|
645
|
-
}
|
|
646
|
-
//# sourceMappingURL=claude-md.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"claude-md.js","sourceRoot":"","sources":["../../../../../src/cli/simple-commands/init/templates/claude-md.js"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,MAAM,UAAU,qBAAqB;IACnC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCR,CAAC;AACF,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGR,CAAC;AACF,CAAC;AAED,MAAM,UAAU,mBAAmB;IACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiUR,CAAC;AACF,CAAC;AAED,+DAA+D;AAC/D,MAAM,CAAC,KAAK,UAAU,4BAA4B;IAChD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8KR,CAAC;AACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coordination-md.d.ts","sourceRoot":"","sources":["../../../../../src/cli/simple-commands/init/templates/coordination-md.js"],"names":[],"mappings":"AAEA,sDAWC;AAED,mDA0FC;AAGD,iEAuOC"}
|