claude-flow 2.0.0-alpha.78 → 2.0.0-alpha.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +74 -0
- package/bin/claude-flow +1 -1
- package/bin/claude-flow.js +0 -0
- package/dist/agents/agent-loader.d.ts +90 -0
- package/dist/agents/agent-loader.d.ts.map +1 -0
- package/dist/agents/agent-loader.js +195 -0
- package/dist/agents/agent-loader.js.map +1 -0
- package/dist/agents/agent-manager.d.ts +191 -0
- package/dist/agents/agent-manager.d.ts.map +1 -0
- package/dist/agents/agent-manager.js +1405 -0
- package/dist/agents/agent-manager.js.map +1 -0
- package/dist/api/claude-api-errors.d.ts +115 -0
- package/dist/api/claude-api-errors.d.ts.map +1 -0
- package/dist/api/claude-api-errors.js +198 -0
- package/dist/api/claude-api-errors.js.map +1 -0
- package/dist/api/claude-client.d.ts +197 -0
- package/dist/api/claude-client.d.ts.map +1 -0
- package/dist/api/claude-client.js +525 -0
- package/dist/api/claude-client.js.map +1 -0
- package/dist/cli/cli-core.d.ts +52 -0
- package/dist/cli/cli-core.d.ts.map +1 -0
- package/dist/cli/cli-core.js +264 -0
- package/dist/cli/cli-core.js.map +1 -0
- package/dist/cli/command-registry.d.ts +10 -0
- package/dist/cli/command-registry.d.ts.map +1 -0
- package/dist/cli/command-registry.js +758 -0
- package/dist/cli/command-registry.js.map +1 -0
- package/dist/cli/commands/agent.d.ts +7 -0
- package/dist/cli/commands/agent.d.ts.map +1 -0
- package/dist/cli/commands/agent.js +382 -0
- package/dist/cli/commands/agent.js.map +1 -0
- package/dist/cli/commands/config.d.ts +5 -0
- package/dist/cli/commands/config.d.ts.map +1 -0
- package/dist/cli/commands/config.js +88 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/enterprise.d.ts +3 -0
- package/dist/cli/commands/enterprise.d.ts.map +1 -0
- package/dist/cli/commands/enterprise.js +1506 -0
- package/dist/cli/commands/enterprise.js.map +1 -0
- package/dist/cli/commands/help.d.ts +7 -0
- package/dist/cli/commands/help.d.ts.map +1 -0
- package/dist/cli/commands/help.js +936 -0
- package/dist/cli/commands/help.js.map +1 -0
- package/dist/cli/commands/hive-mind/index.d.ts +19 -0
- package/dist/cli/commands/hive-mind/index.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/index.js +30 -0
- package/dist/cli/commands/hive-mind/index.js.map +1 -0
- package/dist/cli/commands/hive-mind/init.d.ts +10 -0
- package/dist/cli/commands/hive-mind/init.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/init.js +68 -0
- package/dist/cli/commands/hive-mind/init.js.map +1 -0
- package/dist/cli/commands/hive-mind/pause.d.ts +9 -0
- package/dist/cli/commands/hive-mind/pause.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/pause.js +81 -0
- package/dist/cli/commands/hive-mind/pause.js.map +1 -0
- package/dist/cli/commands/hive-mind/ps.d.ts +9 -0
- package/dist/cli/commands/hive-mind/ps.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/ps.js +120 -0
- package/dist/cli/commands/hive-mind/ps.js.map +1 -0
- package/dist/cli/commands/hive-mind/resume.d.ts +9 -0
- package/dist/cli/commands/hive-mind/resume.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/resume.js +62 -0
- package/dist/cli/commands/hive-mind/resume.js.map +1 -0
- package/dist/cli/commands/hive-mind/spawn.d.ts +10 -0
- package/dist/cli/commands/hive-mind/spawn.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/spawn.js +174 -0
- package/dist/cli/commands/hive-mind/spawn.js.map +1 -0
- package/dist/cli/commands/hive-mind/status.d.ts +10 -0
- package/dist/cli/commands/hive-mind/status.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/status.js +204 -0
- package/dist/cli/commands/hive-mind/status.js.map +1 -0
- package/dist/cli/commands/hive-mind/stop.d.ts +9 -0
- package/dist/cli/commands/hive-mind/stop.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/stop.js +125 -0
- package/dist/cli/commands/hive-mind/stop.js.map +1 -0
- package/dist/cli/commands/hive-mind/task.d.ts +10 -0
- package/dist/cli/commands/hive-mind/task.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/task.js +294 -0
- package/dist/cli/commands/hive-mind/task.js.map +1 -0
- package/dist/cli/commands/hive-mind/wizard.d.ts +10 -0
- package/dist/cli/commands/hive-mind/wizard.d.ts.map +1 -0
- package/dist/cli/commands/hive-mind/wizard.js +531 -0
- package/dist/cli/commands/hive-mind/wizard.js.map +1 -0
- package/dist/cli/commands/hive.d.ts +6 -0
- package/dist/cli/commands/hive.d.ts.map +1 -0
- package/dist/cli/commands/hive.js +409 -0
- package/dist/cli/commands/hive.js.map +1 -0
- package/dist/cli/commands/index.d.ts +3 -0
- package/dist/cli/commands/index.d.ts.map +1 -0
- package/dist/cli/commands/index.js +2532 -0
- package/dist/cli/commands/index.js.map +1 -0
- package/dist/cli/commands/mcp.d.ts +5 -0
- package/dist/cli/commands/mcp.d.ts.map +1 -0
- package/dist/cli/commands/mcp.js +169 -0
- package/dist/cli/commands/mcp.js.map +1 -0
- package/dist/cli/commands/memory.d.ts +30 -0
- package/dist/cli/commands/memory.d.ts.map +1 -0
- package/dist/cli/commands/memory.js +225 -0
- package/dist/cli/commands/memory.js.map +1 -0
- package/dist/cli/commands/migrate.d.ts +6 -0
- package/dist/cli/commands/migrate.d.ts.map +1 -0
- package/dist/cli/commands/migrate.js +139 -0
- package/dist/cli/commands/migrate.js.map +1 -0
- package/dist/cli/commands/monitor.d.ts +6 -0
- package/dist/cli/commands/monitor.d.ts.map +1 -0
- package/dist/cli/commands/monitor.js +493 -0
- package/dist/cli/commands/monitor.js.map +1 -0
- package/dist/cli/commands/session.d.ts +6 -0
- package/dist/cli/commands/session.d.ts.map +1 -0
- package/dist/cli/commands/session.js +548 -0
- package/dist/cli/commands/session.js.map +1 -0
- package/dist/cli/commands/sparc.d.ts +3 -0
- package/dist/cli/commands/sparc.d.ts.map +1 -0
- package/dist/cli/commands/sparc.js +472 -0
- package/dist/cli/commands/sparc.js.map +1 -0
- package/dist/cli/commands/start/event-emitter.d.ts +13 -0
- package/dist/cli/commands/start/event-emitter.d.ts.map +1 -0
- package/dist/cli/commands/start/event-emitter.js +35 -0
- package/dist/cli/commands/start/event-emitter.js.map +1 -0
- package/dist/cli/commands/start/index.d.ts +10 -0
- package/dist/cli/commands/start/index.d.ts.map +1 -0
- package/dist/cli/commands/start/index.js +9 -0
- package/dist/cli/commands/start/index.js.map +1 -0
- package/dist/cli/commands/start/process-manager.d.ts +31 -0
- package/dist/cli/commands/start/process-manager.d.ts.map +1 -0
- package/dist/cli/commands/start/process-manager.js +283 -0
- package/dist/cli/commands/start/process-manager.js.map +1 -0
- package/dist/cli/commands/start/process-ui-simple.d.ts +29 -0
- package/dist/cli/commands/start/process-ui-simple.d.ts.map +1 -0
- package/dist/cli/commands/start/process-ui-simple.js +334 -0
- package/dist/cli/commands/start/process-ui-simple.js.map +1 -0
- package/dist/cli/commands/start/process-ui.d.ts +5 -0
- package/dist/cli/commands/start/process-ui.d.ts.map +1 -0
- package/dist/cli/commands/start/process-ui.js +5 -0
- package/dist/cli/commands/start/process-ui.js.map +1 -0
- package/dist/cli/commands/start/start-command.d.ts +2 -0
- package/dist/cli/commands/start/start-command.d.ts.map +1 -0
- package/dist/cli/commands/start/start-command.js +462 -0
- package/dist/cli/commands/start/start-command.js.map +1 -0
- package/dist/cli/commands/start/system-monitor.d.ts +25 -0
- package/dist/cli/commands/start/system-monitor.d.ts.map +1 -0
- package/dist/cli/commands/start/system-monitor.js +265 -0
- package/dist/cli/commands/start/system-monitor.js.map +1 -0
- package/dist/cli/commands/start/types.d.ts +64 -0
- package/dist/cli/commands/start/types.d.ts.map +1 -0
- package/dist/cli/commands/start/types.js +22 -0
- package/dist/cli/commands/start/types.js.map +1 -0
- package/dist/cli/commands/start.d.ts +6 -0
- package/dist/cli/commands/start.d.ts.map +1 -0
- package/dist/cli/commands/start.js +6 -0
- package/dist/cli/commands/start.js.map +1 -0
- package/dist/cli/commands/status.d.ts +6 -0
- package/dist/cli/commands/status.d.ts.map +1 -0
- package/dist/cli/commands/status.js +307 -0
- package/dist/cli/commands/status.js.map +1 -0
- package/dist/cli/commands/swarm.d.ts +6 -0
- package/dist/cli/commands/swarm.d.ts.map +1 -0
- package/dist/cli/commands/swarm.js +465 -0
- package/dist/cli/commands/swarm.js.map +1 -0
- package/dist/cli/commands/task.d.ts +6 -0
- package/dist/cli/commands/task.d.ts.map +1 -0
- package/dist/cli/commands/task.js +75 -0
- package/dist/cli/commands/task.js.map +1 -0
- package/dist/cli/commands/workflow.d.ts +6 -0
- package/dist/cli/commands/workflow.d.ts.map +1 -0
- package/dist/cli/commands/workflow.js +624 -0
- package/dist/cli/commands/workflow.js.map +1 -0
- package/dist/cli/completion.d.ts +19 -0
- package/dist/cli/completion.d.ts.map +1 -0
- package/dist/cli/completion.js +545 -0
- package/dist/cli/completion.js.map +1 -0
- package/dist/cli/formatter.d.ts +69 -0
- package/dist/cli/formatter.d.ts.map +1 -0
- package/dist/cli/formatter.js +277 -0
- package/dist/cli/formatter.js.map +1 -0
- package/dist/cli/help-formatter.d.ts +49 -0
- package/dist/cli/help-formatter.d.ts.map +1 -0
- package/dist/cli/help-formatter.js +108 -0
- package/dist/cli/help-formatter.js.map +1 -0
- package/dist/cli/index-remote.d.ts +7 -0
- package/dist/cli/index-remote.d.ts.map +1 -0
- package/dist/cli/index-remote.js +126 -0
- package/dist/cli/index-remote.js.map +1 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +191 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/node-compat.d.ts +81 -0
- package/dist/cli/node-compat.d.ts.map +1 -0
- package/dist/cli/node-compat.js +229 -0
- package/dist/cli/node-compat.js.map +1 -0
- package/dist/cli/repl.d.ts +5 -0
- package/dist/cli/repl.d.ts.map +1 -0
- package/dist/cli/repl.js +949 -0
- package/dist/cli/repl.js.map +1 -0
- package/dist/cli/runtime-detector.d.ts +128 -0
- package/dist/cli/runtime-detector.d.ts.map +1 -0
- package/dist/cli/runtime-detector.js +267 -0
- package/dist/cli/runtime-detector.js.map +1 -0
- package/dist/cli/simple-cli.d.ts +7 -0
- package/dist/cli/simple-cli.d.ts.map +1 -0
- package/dist/cli/simple-cli.js +3074 -0
- package/dist/cli/simple-cli.js.map +1 -0
- package/dist/cli/simple-commands/agent.d.ts +2 -0
- package/dist/cli/simple-commands/agent.d.ts.map +1 -0
- package/dist/cli/simple-commands/agent.js +175 -0
- package/dist/cli/simple-commands/agent.js.map +1 -0
- package/dist/cli/simple-commands/analysis.d.ts +2 -0
- package/dist/cli/simple-commands/analysis.d.ts.map +1 -0
- package/dist/cli/simple-commands/analysis.js +207 -0
- package/dist/cli/simple-commands/analysis.js.map +1 -0
- package/dist/cli/simple-commands/automation.d.ts +2 -0
- package/dist/cli/simple-commands/automation.d.ts.map +1 -0
- package/dist/cli/simple-commands/automation.js +246 -0
- package/dist/cli/simple-commands/automation.js.map +1 -0
- package/dist/cli/simple-commands/batch-manager.d.ts +2 -0
- package/dist/cli/simple-commands/batch-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/batch-manager.js +290 -0
- package/dist/cli/simple-commands/batch-manager.js.map +1 -0
- package/dist/cli/simple-commands/config.d.ts +2 -0
- package/dist/cli/simple-commands/config.d.ts.map +1 -0
- package/dist/cli/simple-commands/config.js +278 -0
- package/dist/cli/simple-commands/config.js.map +1 -0
- package/dist/cli/simple-commands/coordination.d.ts +2 -0
- package/dist/cli/simple-commands/coordination.d.ts.map +1 -0
- package/dist/cli/simple-commands/coordination.js +249 -0
- package/dist/cli/simple-commands/coordination.js.map +1 -0
- package/dist/cli/simple-commands/fix-hook-variables.d.ts +16 -0
- package/dist/cli/simple-commands/fix-hook-variables.d.ts.map +1 -0
- package/dist/cli/simple-commands/fix-hook-variables.js +320 -0
- package/dist/cli/simple-commands/fix-hook-variables.js.map +1 -0
- package/dist/cli/simple-commands/github.d.ts +3 -0
- package/dist/cli/simple-commands/github.d.ts.map +1 -0
- package/dist/cli/simple-commands/github.js +343 -0
- package/dist/cli/simple-commands/github.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts +68 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js +264 -0
- package/dist/cli/simple-commands/hive-mind/auto-save-middleware.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/communication.d.ts +176 -0
- package/dist/cli/simple-commands/hive-mind/communication.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/communication.js +611 -0
- package/dist/cli/simple-commands/hive-mind/communication.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/core.d.ts +306 -0
- package/dist/cli/simple-commands/hive-mind/core.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/core.js +840 -0
- package/dist/cli/simple-commands/hive-mind/core.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts +32 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js +702 -0
- package/dist/cli/simple-commands/hive-mind/db-optimizer.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts +270 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js +1211 -0
- package/dist/cli/simple-commands/hive-mind/mcp-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/memory.d.ts +334 -0
- package/dist/cli/simple-commands/hive-mind/memory.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/memory.js +1068 -0
- package/dist/cli/simple-commands/hive-mind/memory.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts +256 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js +520 -0
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/queen.d.ts +235 -0
- package/dist/cli/simple-commands/hive-mind/queen.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/queen.js +697 -0
- package/dist/cli/simple-commands/hive-mind/queen.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts +139 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.js +835 -0
- package/dist/cli/simple-commands/hive-mind/session-manager.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts +6 -0
- package/dist/cli/simple-commands/hive-mind-optimize.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind-optimize.js +317 -0
- package/dist/cli/simple-commands/hive-mind-optimize.js.map +1 -0
- package/dist/cli/simple-commands/hive-mind.d.ts +18 -0
- package/dist/cli/simple-commands/hive-mind.d.ts.map +1 -0
- package/dist/cli/simple-commands/hive-mind.js +2430 -0
- package/dist/cli/simple-commands/hive-mind.js.map +1 -0
- package/dist/cli/simple-commands/hook-safety.d.ts +177 -0
- package/dist/cli/simple-commands/hook-safety.d.ts.map +1 -0
- package/dist/cli/simple-commands/hook-safety.js +590 -0
- package/dist/cli/simple-commands/hook-safety.js.map +1 -0
- package/dist/cli/simple-commands/hooks.d.ts +3 -0
- package/dist/cli/simple-commands/hooks.d.ts.map +1 -0
- package/dist/cli/simple-commands/hooks.js +1026 -0
- package/dist/cli/simple-commands/hooks.js.map +1 -0
- package/dist/cli/simple-commands/init/agent-copier.d.ts +43 -0
- package/dist/cli/simple-commands/init/agent-copier.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/agent-copier.js +200 -0
- package/dist/cli/simple-commands/init/agent-copier.js.map +1 -0
- package/dist/cli/simple-commands/init/batch-init.d.ts +137 -0
- package/dist/cli/simple-commands/init/batch-init.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/batch-init.js +558 -0
- package/dist/cli/simple-commands/init/batch-init.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js +433 -0
- package/dist/cli/simple-commands/init/claude-commands/claude-flow-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +871 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +332 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-slash-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts +3 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js +488 -0
- package/dist/cli/simple-commands/init/claude-commands/optimized-sparc-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts +2 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js +51 -0
- package/dist/cli/simple-commands/init/claude-commands/slash-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts +3 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js +288 -0
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.js.map +1 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts +29 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.js +159 -0
- package/dist/cli/simple-commands/init/copy-revised-templates.js.map +1 -0
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts +2 -0
- package/dist/cli/simple-commands/init/executable-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/executable-wrapper.js +116 -0
- package/dist/cli/simple-commands/init/executable-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts +23 -0
- package/dist/cli/simple-commands/init/gitignore-updater.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/gitignore-updater.js +126 -0
- package/dist/cli/simple-commands/init/gitignore-updater.js.map +1 -0
- package/dist/cli/simple-commands/init/help.d.ts +2 -0
- package/dist/cli/simple-commands/init/help.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/help.js +95 -0
- package/dist/cli/simple-commands/init/help.js.map +1 -0
- package/dist/cli/simple-commands/init/index.d.ts +2 -0
- package/dist/cli/simple-commands/init/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/index.js +1178 -0
- package/dist/cli/simple-commands/init/index.js.map +1 -0
- package/dist/cli/simple-commands/init/performance-monitor.d.ts +73 -0
- package/dist/cli/simple-commands/init/performance-monitor.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/performance-monitor.js +277 -0
- package/dist/cli/simple-commands/init/performance-monitor.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts +95 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.js +486 -0
- package/dist/cli/simple-commands/init/rollback/backup-manager.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/index.d.ts +114 -0
- package/dist/cli/simple-commands/init/rollback/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/index.js +353 -0
- package/dist/cli/simple-commands/init/rollback/index.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts +161 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js +686 -0
- package/dist/cli/simple-commands/init/rollback/recovery-manager.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts +112 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js +480 -0
- package/dist/cli/simple-commands/init/rollback/rollback-executor.js.map +1 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts +121 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.js +432 -0
- package/dist/cli/simple-commands/init/rollback/state-tracker.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.js +61 -0
- package/dist/cli/simple-commands/init/sparc/roo-readme.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js +80 -0
- package/dist/cli/simple-commands/init/sparc/roomodes-config.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc/workflows.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc/workflows.js +36 -0
- package/dist/cli/simple-commands/init/sparc/workflows.js.map +1 -0
- package/dist/cli/simple-commands/init/sparc-structure.d.ts +2 -0
- package/dist/cli/simple-commands/init/sparc-structure.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/sparc-structure.js +63 -0
- package/dist/cli/simple-commands/init/sparc-structure.js.map +1 -0
- package/dist/cli/simple-commands/init/template-copier.d.ts +27 -0
- package/dist/cli/simple-commands/init/template-copier.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/template-copier.js +510 -0
- package/dist/cli/simple-commands/init/template-copier.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts +5 -0
- package/dist/cli/simple-commands/init/templates/claude-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/claude-md.js +646 -0
- package/dist/cli/simple-commands/init/templates/claude-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts +4 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.js +338 -0
- package/dist/cli/simple-commands/init/templates/coordination-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts +18 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js +1407 -0
- package/dist/cli/simple-commands/init/templates/enhanced-templates.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts +4 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js +257 -0
- package/dist/cli/simple-commands/init/templates/memory-bank-md.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts +3 -0
- package/dist/cli/simple-commands/init/templates/readme-files.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/readme-files.js +71 -0
- package/dist/cli/simple-commands/init/templates/readme-files.js.map +1 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts +30 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.js +1375 -0
- package/dist/cli/simple-commands/init/templates/sparc-modes.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts +63 -0
- package/dist/cli/simple-commands/init/validation/config-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/config-validator.js +308 -0
- package/dist/cli/simple-commands/init/validation/config-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts +117 -0
- package/dist/cli/simple-commands/init/validation/health-checker.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/health-checker.js +539 -0
- package/dist/cli/simple-commands/init/validation/health-checker.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/index.d.ts +55 -0
- package/dist/cli/simple-commands/init/validation/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/index.js +347 -0
- package/dist/cli/simple-commands/init/validation/index.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts +76 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.js +343 -0
- package/dist/cli/simple-commands/init/validation/mode-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts +62 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.js +349 -0
- package/dist/cli/simple-commands/init/validation/post-init-validator.js.map +1 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts +86 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.d.ts.map +1 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js +260 -0
- package/dist/cli/simple-commands/init/validation/pre-init-validator.js.map +1 -0
- package/dist/cli/simple-commands/mcp.d.ts +2 -0
- package/dist/cli/simple-commands/mcp.d.ts.map +1 -0
- package/dist/cli/simple-commands/mcp.js +366 -0
- package/dist/cli/simple-commands/mcp.js.map +1 -0
- package/dist/cli/simple-commands/memory.d.ts +2 -0
- package/dist/cli/simple-commands/memory.d.ts.map +1 -0
- package/dist/cli/simple-commands/memory.js +278 -0
- package/dist/cli/simple-commands/memory.js.map +1 -0
- package/dist/cli/simple-commands/migrate-hooks.d.ts +10 -0
- package/dist/cli/simple-commands/migrate-hooks.d.ts.map +1 -0
- package/dist/cli/simple-commands/migrate-hooks.js +57 -0
- package/dist/cli/simple-commands/migrate-hooks.js.map +1 -0
- package/dist/cli/simple-commands/monitor.d.ts +3 -0
- package/dist/cli/simple-commands/monitor.d.ts.map +1 -0
- package/dist/cli/simple-commands/monitor.js +366 -0
- package/dist/cli/simple-commands/monitor.js.map +1 -0
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts +55 -0
- package/dist/cli/simple-commands/process-ui-enhanced.d.ts.map +1 -0
- package/dist/cli/simple-commands/process-ui-enhanced.js +680 -0
- package/dist/cli/simple-commands/process-ui-enhanced.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/architect.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/architect.js +126 -0
- package/dist/cli/simple-commands/sparc-modes/architect.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/ask.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/ask.js +127 -0
- package/dist/cli/simple-commands/sparc-modes/ask.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/code.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/code.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/code.js +149 -0
- package/dist/cli/simple-commands/sparc-modes/code.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/debug.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/debug.js +113 -0
- package/dist/cli/simple-commands/sparc-modes/debug.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/devops.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/devops.js +138 -0
- package/dist/cli/simple-commands/sparc-modes/devops.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/docs-writer.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/generic.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/generic.js +35 -0
- package/dist/cli/simple-commands/sparc-modes/generic.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/index.d.ts +17 -0
- package/dist/cli/simple-commands/sparc-modes/index.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/index.js +196 -0
- package/dist/cli/simple-commands/sparc-modes/index.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/integration.js +56 -0
- package/dist/cli/simple-commands/sparc-modes/integration.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/mcp.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/monitoring.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/optimization.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.js +131 -0
- package/dist/cli/simple-commands/sparc-modes/security-review.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js +168 -0
- package/dist/cli/simple-commands/sparc-modes/sparc-orchestrator.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js +39 -0
- package/dist/cli/simple-commands/sparc-modes/spec-pseudocode.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js +150 -0
- package/dist/cli/simple-commands/sparc-modes/supabase-admin.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts +81 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.js +428 -0
- package/dist/cli/simple-commands/sparc-modes/swarm.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.js +113 -0
- package/dist/cli/simple-commands/sparc-modes/tdd.js.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts +2 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.js +278 -0
- package/dist/cli/simple-commands/sparc-modes/tutorial.js.map +1 -0
- package/dist/cli/simple-commands/sparc.d.ts +2 -0
- package/dist/cli/simple-commands/sparc.d.ts.map +1 -0
- package/dist/cli/simple-commands/sparc.js +480 -0
- package/dist/cli/simple-commands/sparc.js.map +1 -0
- package/dist/cli/simple-commands/start-ui.d.ts +2 -0
- package/dist/cli/simple-commands/start-ui.d.ts.map +1 -0
- package/dist/cli/simple-commands/start-ui.js +135 -0
- package/dist/cli/simple-commands/start-ui.js.map +1 -0
- package/dist/cli/simple-commands/start-wrapper.d.ts +2 -0
- package/dist/cli/simple-commands/start-wrapper.d.ts.map +1 -0
- package/dist/cli/simple-commands/start-wrapper.js +264 -0
- package/dist/cli/simple-commands/start-wrapper.js.map +1 -0
- package/dist/cli/simple-commands/start.d.ts +2 -0
- package/dist/cli/simple-commands/start.d.ts.map +1 -0
- package/dist/cli/simple-commands/start.js +3 -0
- package/dist/cli/simple-commands/start.js.map +1 -0
- package/dist/cli/simple-commands/status.d.ts +2 -0
- package/dist/cli/simple-commands/status.d.ts.map +1 -0
- package/dist/cli/simple-commands/status.js +274 -0
- package/dist/cli/simple-commands/status.js.map +1 -0
- package/dist/cli/simple-commands/swarm-executor.d.ts +68 -0
- package/dist/cli/simple-commands/swarm-executor.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-executor.js +218 -0
- package/dist/cli/simple-commands/swarm-executor.js.map +1 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts +69 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.js +294 -0
- package/dist/cli/simple-commands/swarm-metrics-integration.js.map +1 -0
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts +68 -0
- package/dist/cli/simple-commands/swarm-webui-integration.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm-webui-integration.js +265 -0
- package/dist/cli/simple-commands/swarm-webui-integration.js.map +1 -0
- package/dist/cli/simple-commands/swarm.d.ts +2 -0
- package/dist/cli/simple-commands/swarm.d.ts.map +1 -0
- package/dist/cli/simple-commands/swarm.js +1964 -0
- package/dist/cli/simple-commands/swarm.js.map +1 -0
- package/dist/cli/simple-commands/task.d.ts +2 -0
- package/dist/cli/simple-commands/task.d.ts.map +1 -0
- package/dist/cli/simple-commands/task.js +190 -0
- package/dist/cli/simple-commands/task.js.map +1 -0
- package/dist/cli/simple-commands/training.d.ts +2 -0
- package/dist/cli/simple-commands/training.d.ts.map +1 -0
- package/dist/cli/simple-commands/training.js +240 -0
- package/dist/cli/simple-commands/training.js.map +1 -0
- package/dist/cli/simple-commands/web-server.d.ts +152 -0
- package/dist/cli/simple-commands/web-server.d.ts.map +1 -0
- package/dist/cli/simple-commands/web-server.js +816 -0
- package/dist/cli/simple-commands/web-server.js.map +1 -0
- package/dist/cli/utils/interactive-detector.d.ts +25 -0
- package/dist/cli/utils/interactive-detector.d.ts.map +1 -0
- package/dist/cli/utils/interactive-detector.js +129 -0
- package/dist/cli/utils/interactive-detector.js.map +1 -0
- package/dist/cli/utils/safe-interactive.d.ts +30 -0
- package/dist/cli/utils/safe-interactive.d.ts.map +1 -0
- package/dist/cli/utils/safe-interactive.js +134 -0
- package/dist/cli/utils/safe-interactive.js.map +1 -0
- package/dist/cli/utils.d.ts +75 -0
- package/dist/cli/utils.d.ts.map +1 -0
- package/dist/cli/utils.js +567 -0
- package/dist/cli/utils.js.map +1 -0
- package/dist/config/config-manager.d.ts +212 -0
- package/dist/config/config-manager.d.ts.map +1 -0
- package/dist/config/config-manager.js +550 -0
- package/dist/config/config-manager.js.map +1 -0
- package/dist/constants/agent-types.d.ts +55 -0
- package/dist/constants/agent-types.d.ts.map +1 -0
- package/dist/constants/agent-types.js +66 -0
- package/dist/constants/agent-types.js.map +1 -0
- package/dist/coordination/advanced-scheduler.d.ts +121 -0
- package/dist/coordination/advanced-scheduler.d.ts.map +1 -0
- package/dist/coordination/advanced-scheduler.js +382 -0
- package/dist/coordination/advanced-scheduler.js.map +1 -0
- package/dist/coordination/background-executor.d.ts +69 -0
- package/dist/coordination/background-executor.d.ts.map +1 -0
- package/dist/coordination/background-executor.js +363 -0
- package/dist/coordination/background-executor.js.map +1 -0
- package/dist/coordination/circuit-breaker.d.ts +124 -0
- package/dist/coordination/circuit-breaker.d.ts.map +1 -0
- package/dist/coordination/circuit-breaker.js +301 -0
- package/dist/coordination/circuit-breaker.js.map +1 -0
- package/dist/coordination/conflict-resolution.d.ts +133 -0
- package/dist/coordination/conflict-resolution.d.ts.map +1 -0
- package/dist/coordination/conflict-resolution.js +360 -0
- package/dist/coordination/conflict-resolution.js.map +1 -0
- package/dist/coordination/dependency-graph.d.ts +78 -0
- package/dist/coordination/dependency-graph.d.ts.map +1 -0
- package/dist/coordination/dependency-graph.js +387 -0
- package/dist/coordination/dependency-graph.js.map +1 -0
- package/dist/coordination/manager.d.ts +66 -0
- package/dist/coordination/manager.d.ts.map +1 -0
- package/dist/coordination/manager.js +354 -0
- package/dist/coordination/manager.js.map +1 -0
- package/dist/coordination/messaging.d.ts +37 -0
- package/dist/coordination/messaging.d.ts.map +1 -0
- package/dist/coordination/messaging.js +219 -0
- package/dist/coordination/messaging.js.map +1 -0
- package/dist/coordination/metrics.d.ts +153 -0
- package/dist/coordination/metrics.d.ts.map +1 -0
- package/dist/coordination/metrics.js +436 -0
- package/dist/coordination/metrics.js.map +1 -0
- package/dist/coordination/resources.d.ts +36 -0
- package/dist/coordination/resources.d.ts.map +1 -0
- package/dist/coordination/resources.js +254 -0
- package/dist/coordination/resources.js.map +1 -0
- package/dist/coordination/scheduler.d.ts +48 -0
- package/dist/coordination/scheduler.d.ts.map +1 -0
- package/dist/coordination/scheduler.js +308 -0
- package/dist/coordination/scheduler.js.map +1 -0
- package/dist/coordination/swarm-coordinator.d.ts +116 -0
- package/dist/coordination/swarm-coordinator.d.ts.map +1 -0
- package/dist/coordination/swarm-coordinator.js +563 -0
- package/dist/coordination/swarm-coordinator.js.map +1 -0
- package/dist/coordination/swarm-monitor.d.ts +101 -0
- package/dist/coordination/swarm-monitor.d.ts.map +1 -0
- package/dist/coordination/swarm-monitor.js +340 -0
- package/dist/coordination/swarm-monitor.js.map +1 -0
- package/dist/coordination/work-stealing.d.ts +44 -0
- package/dist/coordination/work-stealing.d.ts.map +1 -0
- package/dist/coordination/work-stealing.js +158 -0
- package/dist/coordination/work-stealing.js.map +1 -0
- package/dist/core/config.d.ts +243 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +1125 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/event-bus.d.ts +63 -0
- package/dist/core/event-bus.d.ts.map +1 -0
- package/dist/core/event-bus.js +153 -0
- package/dist/core/event-bus.js.map +1 -0
- package/dist/core/json-persistence.d.ts +55 -0
- package/dist/core/json-persistence.d.ts.map +1 -0
- package/dist/core/json-persistence.js +111 -0
- package/dist/core/json-persistence.js.map +1 -0
- package/dist/core/logger.d.ts +62 -0
- package/dist/core/logger.d.ts.map +1 -0
- package/dist/core/logger.js +252 -0
- package/dist/core/logger.js.map +1 -0
- package/dist/core/orchestrator-fixed.d.ts +81 -0
- package/dist/core/orchestrator-fixed.d.ts.map +1 -0
- package/dist/core/orchestrator-fixed.js +213 -0
- package/dist/core/orchestrator-fixed.js.map +1 -0
- package/dist/core/orchestrator.d.ts +123 -0
- package/dist/core/orchestrator.d.ts.map +1 -0
- package/dist/core/orchestrator.js +1058 -0
- package/dist/core/orchestrator.js.map +1 -0
- package/dist/enterprise/analytics-manager.d.ts +489 -0
- package/dist/enterprise/analytics-manager.d.ts.map +1 -0
- package/dist/enterprise/analytics-manager.js +956 -0
- package/dist/enterprise/analytics-manager.js.map +1 -0
- package/dist/enterprise/audit-manager.d.ts +459 -0
- package/dist/enterprise/audit-manager.d.ts.map +1 -0
- package/dist/enterprise/audit-manager.js +1014 -0
- package/dist/enterprise/audit-manager.js.map +1 -0
- package/dist/enterprise/cloud-manager.d.ts +435 -0
- package/dist/enterprise/cloud-manager.d.ts.map +1 -0
- package/dist/enterprise/cloud-manager.js +789 -0
- package/dist/enterprise/cloud-manager.js.map +1 -0
- package/dist/enterprise/deployment-manager.d.ts +328 -0
- package/dist/enterprise/deployment-manager.d.ts.map +1 -0
- package/dist/enterprise/deployment-manager.js +830 -0
- package/dist/enterprise/deployment-manager.js.map +1 -0
- package/dist/enterprise/project-manager.d.ts +228 -0
- package/dist/enterprise/project-manager.d.ts.map +1 -0
- package/dist/enterprise/project-manager.js +537 -0
- package/dist/enterprise/project-manager.js.map +1 -0
- package/dist/enterprise/security-manager.d.ts +422 -0
- package/dist/enterprise/security-manager.d.ts.map +1 -0
- package/dist/enterprise/security-manager.js +910 -0
- package/dist/enterprise/security-manager.js.map +1 -0
- package/dist/hive-mind/core/Agent.d.ts +137 -0
- package/dist/hive-mind/core/Agent.d.ts.map +1 -0
- package/dist/hive-mind/core/Agent.js +567 -0
- package/dist/hive-mind/core/Agent.js.map +1 -0
- package/dist/hive-mind/core/Communication.d.ts +116 -0
- package/dist/hive-mind/core/Communication.d.ts.map +1 -0
- package/dist/hive-mind/core/Communication.js +407 -0
- package/dist/hive-mind/core/Communication.js.map +1 -0
- package/dist/hive-mind/core/DatabaseManager.d.ts +99 -0
- package/dist/hive-mind/core/DatabaseManager.d.ts.map +1 -0
- package/dist/hive-mind/core/DatabaseManager.js +648 -0
- package/dist/hive-mind/core/DatabaseManager.js.map +1 -0
- package/dist/hive-mind/core/HiveMind.d.ts +90 -0
- package/dist/hive-mind/core/HiveMind.d.ts.map +1 -0
- package/dist/hive-mind/core/HiveMind.js +455 -0
- package/dist/hive-mind/core/HiveMind.js.map +1 -0
- package/dist/hive-mind/core/Memory.d.ts +235 -0
- package/dist/hive-mind/core/Memory.d.ts.map +1 -0
- package/dist/hive-mind/core/Memory.js +1192 -0
- package/dist/hive-mind/core/Memory.js.map +1 -0
- package/dist/hive-mind/core/Queen.d.ts +115 -0
- package/dist/hive-mind/core/Queen.d.ts.map +1 -0
- package/dist/hive-mind/core/Queen.js +649 -0
- package/dist/hive-mind/core/Queen.js.map +1 -0
- package/dist/hive-mind/integration/ConsensusEngine.d.ts +117 -0
- package/dist/hive-mind/integration/ConsensusEngine.d.ts.map +1 -0
- package/dist/hive-mind/integration/ConsensusEngine.js +478 -0
- package/dist/hive-mind/integration/ConsensusEngine.js.map +1 -0
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts +172 -0
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts.map +1 -0
- package/dist/hive-mind/integration/MCPToolWrapper.js +217 -0
- package/dist/hive-mind/integration/MCPToolWrapper.js.map +1 -0
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts +172 -0
- package/dist/hive-mind/integration/SwarmOrchestrator.d.ts.map +1 -0
- package/dist/hive-mind/integration/SwarmOrchestrator.js +748 -0
- package/dist/hive-mind/integration/SwarmOrchestrator.js.map +1 -0
- package/dist/hive-mind/types.d.ts +314 -0
- package/dist/hive-mind/types.d.ts.map +1 -0
- package/dist/hive-mind/types.js +7 -0
- package/dist/hive-mind/types.js.map +1 -0
- package/dist/mcp/auth.d.ts +80 -0
- package/dist/mcp/auth.d.ts.map +1 -0
- package/dist/mcp/auth.js +350 -0
- package/dist/mcp/auth.js.map +1 -0
- package/dist/mcp/claude-flow-tools.d.ts +13 -0
- package/dist/mcp/claude-flow-tools.d.ts.map +1 -0
- package/dist/mcp/claude-flow-tools.js +1176 -0
- package/dist/mcp/claude-flow-tools.js.map +1 -0
- package/dist/mcp/load-balancer.d.ts +88 -0
- package/dist/mcp/load-balancer.d.ts.map +1 -0
- package/dist/mcp/load-balancer.js +393 -0
- package/dist/mcp/load-balancer.js.map +1 -0
- package/dist/mcp/router.d.ts +54 -0
- package/dist/mcp/router.d.ts.map +1 -0
- package/dist/mcp/router.js +204 -0
- package/dist/mcp/router.js.map +1 -0
- package/dist/mcp/ruv-swarm-tools.d.ts +58 -0
- package/dist/mcp/ruv-swarm-tools.d.ts.map +1 -0
- package/dist/mcp/ruv-swarm-tools.js +548 -0
- package/dist/mcp/ruv-swarm-tools.js.map +1 -0
- package/dist/mcp/server.d.ts +75 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +538 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/session-manager.d.ts +60 -0
- package/dist/mcp/session-manager.d.ts.map +1 -0
- package/dist/mcp/session-manager.js +323 -0
- package/dist/mcp/session-manager.js.map +1 -0
- package/dist/mcp/swarm-tools.d.ts +87 -0
- package/dist/mcp/swarm-tools.d.ts.map +1 -0
- package/dist/mcp/swarm-tools.js +731 -0
- package/dist/mcp/swarm-tools.js.map +1 -0
- package/dist/mcp/tools.d.ts +145 -0
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/mcp/tools.js +434 -0
- package/dist/mcp/tools.js.map +1 -0
- package/dist/mcp/transports/base.d.ts +22 -0
- package/dist/mcp/transports/base.d.ts.map +1 -0
- package/dist/mcp/transports/base.js +5 -0
- package/dist/mcp/transports/base.js.map +1 -0
- package/dist/mcp/transports/http.d.ts +48 -0
- package/dist/mcp/transports/http.d.ts.map +1 -0
- package/dist/mcp/transports/http.js +400 -0
- package/dist/mcp/transports/http.js.map +1 -0
- package/dist/mcp/transports/stdio.d.ts +37 -0
- package/dist/mcp/transports/stdio.d.ts.map +1 -0
- package/dist/mcp/transports/stdio.js +206 -0
- package/dist/mcp/transports/stdio.js.map +1 -0
- package/dist/memory/advanced-serializer.d.ts +159 -0
- package/dist/memory/advanced-serializer.d.ts.map +1 -0
- package/dist/memory/advanced-serializer.js +564 -0
- package/dist/memory/advanced-serializer.js.map +1 -0
- package/dist/memory/backends/base.d.ts +21 -0
- package/dist/memory/backends/base.d.ts.map +1 -0
- package/dist/memory/backends/base.js +5 -0
- package/dist/memory/backends/base.js.map +1 -0
- package/dist/memory/backends/markdown.d.ts +35 -0
- package/dist/memory/backends/markdown.d.ts.map +1 -0
- package/dist/memory/backends/markdown.js +223 -0
- package/dist/memory/backends/markdown.js.map +1 -0
- package/dist/memory/backends/sqlite.d.ts +33 -0
- package/dist/memory/backends/sqlite.d.ts.map +1 -0
- package/dist/memory/backends/sqlite.js +291 -0
- package/dist/memory/backends/sqlite.js.map +1 -0
- package/dist/memory/cache.d.ts +65 -0
- package/dist/memory/cache.d.ts.map +1 -0
- package/dist/memory/cache.js +188 -0
- package/dist/memory/cache.js.map +1 -0
- package/dist/memory/distributed-memory.d.ts +188 -0
- package/dist/memory/distributed-memory.d.ts.map +1 -0
- package/dist/memory/distributed-memory.js +710 -0
- package/dist/memory/distributed-memory.js.map +1 -0
- package/dist/memory/enhanced-session-serializer.d.ts +115 -0
- package/dist/memory/enhanced-session-serializer.d.ts.map +1 -0
- package/dist/memory/enhanced-session-serializer.js +478 -0
- package/dist/memory/enhanced-session-serializer.js.map +1 -0
- package/dist/memory/fallback-store.d.ts +28 -0
- package/dist/memory/fallback-store.d.ts.map +1 -0
- package/dist/memory/fallback-store.js +101 -0
- package/dist/memory/fallback-store.js.map +1 -0
- package/dist/memory/in-memory-store.d.ts +37 -0
- package/dist/memory/in-memory-store.d.ts.map +1 -0
- package/dist/memory/in-memory-store.js +174 -0
- package/dist/memory/in-memory-store.js.map +1 -0
- package/dist/memory/indexer.d.ts +52 -0
- package/dist/memory/indexer.d.ts.map +1 -0
- package/dist/memory/indexer.js +191 -0
- package/dist/memory/indexer.js.map +1 -0
- package/dist/memory/manager.d.ts +58 -0
- package/dist/memory/manager.d.ts.map +1 -0
- package/dist/memory/manager.js +423 -0
- package/dist/memory/manager.js.map +1 -0
- package/dist/memory/sqlite-store.d.ts +34 -0
- package/dist/memory/sqlite-store.d.ts.map +1 -0
- package/dist/memory/sqlite-store.js +267 -0
- package/dist/memory/sqlite-store.js.map +1 -0
- package/dist/memory/sqlite-wrapper.d.ts +38 -0
- package/dist/memory/sqlite-wrapper.d.ts.map +1 -0
- package/dist/memory/sqlite-wrapper.js +152 -0
- package/dist/memory/sqlite-wrapper.js.map +1 -0
- package/dist/memory/swarm-memory.d.ts +91 -0
- package/dist/memory/swarm-memory.d.ts.map +1 -0
- package/dist/memory/swarm-memory.js +454 -0
- package/dist/memory/swarm-memory.js.map +1 -0
- package/dist/migration/logger.d.ts +26 -0
- package/dist/migration/logger.d.ts.map +1 -0
- package/dist/migration/logger.js +145 -0
- package/dist/migration/logger.js.map +1 -0
- package/dist/migration/migration-analyzer.d.ts +18 -0
- package/dist/migration/migration-analyzer.d.ts.map +1 -0
- package/dist/migration/migration-analyzer.js +284 -0
- package/dist/migration/migration-analyzer.js.map +1 -0
- package/dist/migration/migration-runner.d.ts +26 -0
- package/dist/migration/migration-runner.d.ts.map +1 -0
- package/dist/migration/migration-runner.js +505 -0
- package/dist/migration/migration-runner.js.map +1 -0
- package/dist/migration/migration-validator.d.ts +17 -0
- package/dist/migration/migration-validator.d.ts.map +1 -0
- package/dist/migration/migration-validator.js +309 -0
- package/dist/migration/migration-validator.js.map +1 -0
- package/dist/migration/progress-reporter.d.ts +28 -0
- package/dist/migration/progress-reporter.d.ts.map +1 -0
- package/dist/migration/progress-reporter.js +163 -0
- package/dist/migration/progress-reporter.js.map +1 -0
- package/dist/migration/rollback-manager.d.ts +24 -0
- package/dist/migration/rollback-manager.d.ts.map +1 -0
- package/dist/migration/rollback-manager.js +351 -0
- package/dist/migration/rollback-manager.js.map +1 -0
- package/dist/migration/types.d.ts +103 -0
- package/dist/migration/types.d.ts.map +1 -0
- package/dist/migration/types.js +6 -0
- package/dist/migration/types.js.map +1 -0
- package/dist/swarm/types.d.ts +578 -0
- package/dist/swarm/types.d.ts.map +1 -0
- package/dist/swarm/types.js +54 -0
- package/dist/swarm/types.js.map +1 -0
- package/dist/terminal/adapters/base.d.ts +40 -0
- package/dist/terminal/adapters/base.d.ts.map +1 -0
- package/dist/terminal/adapters/base.js +5 -0
- package/dist/terminal/adapters/base.js.map +1 -0
- package/dist/terminal/adapters/native.d.ts +19 -0
- package/dist/terminal/adapters/native.d.ts.map +1 -0
- package/dist/terminal/adapters/native.js +414 -0
- package/dist/terminal/adapters/native.js.map +1 -0
- package/dist/terminal/adapters/vscode.d.ts +23 -0
- package/dist/terminal/adapters/vscode.d.ts.map +1 -0
- package/dist/terminal/adapters/vscode.js +267 -0
- package/dist/terminal/adapters/vscode.js.map +1 -0
- package/dist/terminal/manager.d.ts +59 -0
- package/dist/terminal/manager.d.ts.map +1 -0
- package/dist/terminal/manager.js +235 -0
- package/dist/terminal/manager.js.map +1 -0
- package/dist/terminal/pool.d.ts +32 -0
- package/dist/terminal/pool.d.ts.map +1 -0
- package/dist/terminal/pool.js +208 -0
- package/dist/terminal/pool.js.map +1 -0
- package/dist/terminal/session.d.ts +41 -0
- package/dist/terminal/session.d.ts.map +1 -0
- package/dist/terminal/session.js +210 -0
- package/dist/terminal/session.js.map +1 -0
- package/dist/utils/error-handler.d.ts +14 -0
- package/dist/utils/error-handler.d.ts.map +1 -0
- package/dist/utils/error-handler.js +29 -0
- package/dist/utils/error-handler.js.map +1 -0
- package/dist/utils/errors.d.ts +121 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +194 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/formatters.d.ts +15 -0
- package/dist/utils/formatters.d.ts.map +1 -0
- package/dist/utils/formatters.js +75 -0
- package/dist/utils/formatters.js.map +1 -0
- package/dist/utils/helpers.d.ts +134 -0
- package/dist/utils/helpers.d.ts.map +1 -0
- package/dist/utils/helpers.js +444 -0
- package/dist/utils/helpers.js.map +1 -0
- package/dist/utils/npx-isolated-cache.d.ts +17 -0
- package/dist/utils/npx-isolated-cache.d.ts.map +1 -0
- package/dist/utils/npx-isolated-cache.js +140 -0
- package/dist/utils/npx-isolated-cache.js.map +1 -0
- package/dist/utils/type-guards.d.ts +117 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +166 -0
- package/dist/utils/type-guards.js.map +1 -0
- package/dist/utils/types.d.ts +568 -0
- package/dist/utils/types.d.ts.map +1 -0
- package/dist/utils/types.js +37 -0
- package/dist/utils/types.js.map +1 -0
- package/package.json +12 -5
- package/src/agents/agent-manager.ts +432 -0
- package/src/cli/agents/index.ts +15 -1
- package/src/cli/command-registry.js +24 -0
- package/src/cli/commands/hive-mind/spawn.ts +18 -0
- package/src/cli/commands/maestro.ts +317 -0
- package/src/cli/commands/status.ts +1 -1
- package/src/cli/help-text.js +3 -3
- package/src/cli/index-remote.ts +1 -1
- package/src/cli/index.ts +1 -1
- package/src/cli/maestro-cli-bridge.ts +556 -0
- package/src/cli/node-compat.js +4 -23
- package/src/cli/runtime-detector.js +2 -2
- package/src/cli/simple-cli.js +1 -1
- package/src/cli/simple-cli.ts +1 -1
- package/src/cli/simple-commands/batch-manager.js +6 -5
- package/src/cli/simple-commands/github/github-api.js +159 -0
- package/src/cli/simple-commands/hive-mind/session-manager.js +38 -40
- package/src/cli/simple-commands/init/batch-init.js +13 -12
- package/src/cli/simple-commands/init/claude-commands/claude-flow-commands.js +4 -3
- package/src/cli/simple-commands/init/claude-commands/optimized-claude-flow-commands.js +4 -3
- package/src/cli/simple-commands/init/claude-commands/optimized-slash-commands.js +4 -4
- package/src/cli/simple-commands/init/index.js +72 -49
- package/src/cli/simple-commands/init/rollback/backup-manager.js +5 -4
- package/src/cli/simple-commands/init/rollback/rollback-executor.js +23 -22
- package/src/cli/simple-commands/init/rollback/state-tracker.js +3 -2
- package/src/cli/simple-commands/init/sparc-structure.js +9 -7
- package/src/cli/simple-commands/init/template-copier.js +1 -1
- package/src/cli/simple-commands/init/templates/CLAUDE.md +3 -3
- package/src/cli/simple-commands/init/templates/github-safe-enhanced.js +333 -0
- package/src/cli/simple-commands/init/validation/config-validator.js +8 -7
- package/src/cli/simple-commands/init/validation/health-checker.js +6 -5
- package/src/cli/simple-commands/init/validation/mode-validator.js +4 -3
- package/src/cli/simple-commands/init/validation/post-init-validator.js +15 -14
- package/src/cli/simple-commands/init/validation/test-runner.js +10 -10
- package/src/cli/simple-commands/memory.js +8 -7
- package/src/cli/simple-commands/process-ui-enhanced.js +2 -2
- package/src/cli/simple-commands/process-ui.js +2 -2
- package/src/cli/simple-commands/sparc-modes/index.js +1 -1
- package/src/cli/simple-commands/sparc.js +28 -26
- package/src/cli/simple-commands/start-wrapper.js +6 -5
- package/src/cli/simple-commands/status.js +4 -3
- package/src/cli/simple-commands/swarm-executor.js +8 -3
- package/src/cli/simple-commands/swarm.js +270 -24
- package/src/cli/simple-commands/webui-validator.js +4 -3
- package/src/cli/swarm-standalone.js +5 -5
- package/src/cli/utils.js +54 -66
- package/src/hive-mind/core/HiveMind.ts +16 -0
- package/src/hive-mind/types.ts +38 -5
- package/src/hooks/index.ts +192 -0
- package/src/maestro/maestro-swarm-coordinator.ts +602 -0
- package/src/maestro/maestro-types.ts +386 -0
- package/src/maestro/tests/native-hive-mind-integration.test.ts +480 -0
- package/src/memory/advanced-serializer.js +611 -0
- package/src/memory/enhanced-session-serializer.js +523 -0
- package/src/memory/in-memory-store.js +6 -4
- package/src/memory/sqlite-store.js +5 -4
- package/src/swarm/types.ts +10 -3
- package/src/utils/__tests__/github-cli-safety-wrapper.test.js +408 -0
- package/src/utils/github-cli-safe.js +37 -119
- package/src/utils/github-cli-safety-wrapper.js +587 -0
- package/src/utils/types.ts +60 -2
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// devops.js - DevOps mode orchestration template
|
|
2
|
+
export function getDevOpsOrchestration(taskDescription, memoryNamespace) {
|
|
3
|
+
return `
|
|
4
|
+
## Task Orchestration Steps
|
|
5
|
+
|
|
6
|
+
1. **Environment Analysis** (10 mins)
|
|
7
|
+
- Run system analysis: \`uname -a\`
|
|
8
|
+
- Understand deployment requirements: "${taskDescription}"
|
|
9
|
+
- Query architecture and configuration:
|
|
10
|
+
\`\`\`bash
|
|
11
|
+
npx claude-flow memory query ${memoryNamespace}_architecture
|
|
12
|
+
npx claude-flow memory query ${memoryNamespace}_deployment
|
|
13
|
+
npx claude-flow memory query ${memoryNamespace}_infrastructure
|
|
14
|
+
\`\`\`
|
|
15
|
+
- Identify target environments:
|
|
16
|
+
- Development, staging, production
|
|
17
|
+
- Cloud providers (AWS, GCP, Azure)
|
|
18
|
+
- Edge platforms (Vercel, Cloudflare)
|
|
19
|
+
- Container orchestration (K8s, ECS)
|
|
20
|
+
- Review current infrastructure state
|
|
21
|
+
- Store analysis: \`npx claude-flow memory store ${memoryNamespace}_devops_analysis "Task: ${taskDescription}. Target: AWS ECS + CloudFront. Current: Local dev only. Requirements: Auto-scaling, blue-green deployment, monitoring."\`
|
|
22
|
+
|
|
23
|
+
2. **Infrastructure Provisioning** (20 mins)
|
|
24
|
+
- Set up infrastructure as code:
|
|
25
|
+
- Create Terraform/CloudFormation templates
|
|
26
|
+
- Define resource configurations
|
|
27
|
+
- Set up networking (VPC, subnets, security groups)
|
|
28
|
+
- Provision compute resources:
|
|
29
|
+
- Cloud functions (Lambda, Cloud Functions)
|
|
30
|
+
- Container services (ECS, GKE)
|
|
31
|
+
- Edge runtimes (Workers, Functions)
|
|
32
|
+
- Configure managed services:
|
|
33
|
+
- Databases (RDS, DynamoDB, Firestore)
|
|
34
|
+
- Caching (ElastiCache, Memorystore)
|
|
35
|
+
- Message queues (SQS, Pub/Sub)
|
|
36
|
+
- Set up secrets management:
|
|
37
|
+
- AWS Secrets Manager / GCP Secret Manager
|
|
38
|
+
- Vault integration
|
|
39
|
+
- Environment injection layers
|
|
40
|
+
- NEVER hardcode credentials or tokens
|
|
41
|
+
- Store provisioning: \`npx claude-flow memory store ${memoryNamespace}_infrastructure "Provisioned: ECS cluster (2 AZs), RDS PostgreSQL, ElastiCache Redis, ALB. Secrets: AWS Secrets Manager configured. Terraform state: S3 backend."\`
|
|
42
|
+
|
|
43
|
+
3. **CI/CD Pipeline Setup** (15 mins)
|
|
44
|
+
- Create pipeline configuration:
|
|
45
|
+
- GitHub Actions / GitLab CI / Jenkins
|
|
46
|
+
- Multi-stage pipeline (build, test, deploy)
|
|
47
|
+
- Environment-specific deployments
|
|
48
|
+
- Implement build stages:
|
|
49
|
+
\`\`\`yaml
|
|
50
|
+
- Build: Compile, bundle, optimize
|
|
51
|
+
- Test: Unit, integration, e2e
|
|
52
|
+
- Security: SAST, dependency scanning
|
|
53
|
+
- Package: Docker images, artifacts
|
|
54
|
+
\`\`\`
|
|
55
|
+
- Configure deployment strategies:
|
|
56
|
+
- Blue-green deployments
|
|
57
|
+
- Canary releases
|
|
58
|
+
- Rollback procedures
|
|
59
|
+
- Set up quality gates:
|
|
60
|
+
- Code coverage thresholds
|
|
61
|
+
- Performance benchmarks
|
|
62
|
+
- Security scan results
|
|
63
|
+
- Store pipeline config: \`npx claude-flow memory store ${memoryNamespace}_cicd "Pipeline: GitHub Actions. Stages: build->test->security->deploy. Environments: dev (auto), staging (manual), prod (approved). Rollback: Automated on failure."\`
|
|
64
|
+
|
|
65
|
+
4. **Monitoring & Observability** (15 mins)
|
|
66
|
+
- Set up application monitoring:
|
|
67
|
+
- APM tools (DataDog, New Relic, AppDynamics)
|
|
68
|
+
- Custom metrics and dashboards
|
|
69
|
+
- Real-time alerting
|
|
70
|
+
- Configure infrastructure monitoring:
|
|
71
|
+
- CloudWatch / Stackdriver metrics
|
|
72
|
+
- Resource utilization alerts
|
|
73
|
+
- Cost optimization tracking
|
|
74
|
+
- Implement logging strategy:
|
|
75
|
+
- Centralized logging (ELK, CloudWatch Logs)
|
|
76
|
+
- Structured logging format
|
|
77
|
+
- Log retention policies
|
|
78
|
+
- Set up distributed tracing:
|
|
79
|
+
- Request flow tracking
|
|
80
|
+
- Performance bottleneck identification
|
|
81
|
+
- Error correlation
|
|
82
|
+
- Configure alerting rules:
|
|
83
|
+
- SLA/SLO monitoring
|
|
84
|
+
- Anomaly detection
|
|
85
|
+
- Escalation procedures
|
|
86
|
+
- Store monitoring setup: \`npx claude-flow memory store ${memoryNamespace}_monitoring "APM: DataDog configured. Logs: CloudWatch Logs with 30-day retention. Alerts: CPU >80%, Memory >85%, Error rate >1%. Dashboards: App performance, infra health, cost tracking."\`
|
|
87
|
+
|
|
88
|
+
5. **Security & Compliance** (10 mins)
|
|
89
|
+
- Implement security best practices:
|
|
90
|
+
- TLS/SSL certificates (Let's Encrypt, ACM)
|
|
91
|
+
- WAF rules and DDoS protection
|
|
92
|
+
- Network segmentation
|
|
93
|
+
- IAM roles and policies
|
|
94
|
+
- Configure compliance controls:
|
|
95
|
+
- Audit logging
|
|
96
|
+
- Data encryption at rest/transit
|
|
97
|
+
- Backup and disaster recovery
|
|
98
|
+
- Set up security scanning:
|
|
99
|
+
- Container image scanning
|
|
100
|
+
- Infrastructure vulnerability scanning
|
|
101
|
+
- Compliance policy validation
|
|
102
|
+
- Document security procedures
|
|
103
|
+
- Store security config: \`npx claude-flow memory store ${memoryNamespace}_devops_security "TLS: ACM certificates on ALB. WAF: OWASP rules enabled. IAM: Least privilege roles. Backups: Daily snapshots, 30-day retention. Compliance: SOC2 controls implemented."\`
|
|
104
|
+
|
|
105
|
+
## Deliverables
|
|
106
|
+
- infrastructure/
|
|
107
|
+
- terraform/ (IaC templates, < 500 lines per file)
|
|
108
|
+
- scripts/ (deployment scripts)
|
|
109
|
+
- configs/ (environment configurations)
|
|
110
|
+
- .github/workflows/ or .gitlab-ci.yml
|
|
111
|
+
- ci.yml (build and test pipeline)
|
|
112
|
+
- deploy.yml (deployment pipeline)
|
|
113
|
+
- monitoring/
|
|
114
|
+
- dashboards/ (monitoring dashboards)
|
|
115
|
+
- alerts/ (alerting rules)
|
|
116
|
+
- docs/
|
|
117
|
+
- DEPLOYMENT.md (deployment procedures)
|
|
118
|
+
- RUNBOOK.md (operational runbook)
|
|
119
|
+
- DISASTER_RECOVERY.md (DR procedures)
|
|
120
|
+
- ROLLBACK.md (rollback instructions)
|
|
121
|
+
|
|
122
|
+
## DevOps Best Practices
|
|
123
|
+
- Immutable infrastructure deployments
|
|
124
|
+
- Blue-green deployment strategy
|
|
125
|
+
- Automated rollback on failures
|
|
126
|
+
- Never hardcode credentials - use secrets managers
|
|
127
|
+
- Infrastructure as Code for everything
|
|
128
|
+
- Comprehensive monitoring and alerting
|
|
129
|
+
- Regular disaster recovery testing
|
|
130
|
+
- Cost optimization reviews
|
|
131
|
+
|
|
132
|
+
## Next Steps
|
|
133
|
+
After DevOps setup:
|
|
134
|
+
- \`npx claude-flow sparc run post-deployment-monitoring-mode "Verify production deployment health" --non-interactive\`
|
|
135
|
+
- \`npx claude-flow sparc run security-review "Audit infrastructure security" --non-interactive\`
|
|
136
|
+
- \`npx claude-flow sparc run refinement-optimization-mode "Optimize deployment performance" --non-interactive\``;
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=devops.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devops.js","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/devops.js"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,MAAM,UAAU,sBAAsB,CAAC,eAAe,EAAE,eAAe;IACrE,OAAO;;;;;4CAKmC,eAAe;;;oCAGvB,eAAe;oCACf,eAAe;oCACf,eAAe;;;;;;;;sDAQG,eAAe,2BAA2B,eAAe;;;;;;;;;;;;;;;;;;;;0DAoBrD,eAAe;;;;;;;;;;;;;;;;;;;;;;6DAsBZ,eAAe;;;;;;;;;;;;;;;;;;;;;;;8DAuBd,eAAe;;;;;;;;;;;;;;;;;6DAiBhB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iHAiCqC,CAAC;AAClH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs-writer.d.ts","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/docs-writer.js"],"names":[],"mappings":"AACA,+FAoCC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// docs-writer.js - Documentation Writer mode orchestration template
|
|
2
|
+
export function getDocsWriterOrchestration(taskDescription, memoryNamespace) {
|
|
3
|
+
return `
|
|
4
|
+
## Task Orchestration Steps
|
|
5
|
+
|
|
6
|
+
1. **Documentation Planning** (10 mins)
|
|
7
|
+
- Understand documentation needs: "${taskDescription}"
|
|
8
|
+
- Identify target audience
|
|
9
|
+
- Define documentation structure
|
|
10
|
+
- List required sections
|
|
11
|
+
- Store plan: \`npx claude-flow memory store ${memoryNamespace}_doc_plan "..."\`
|
|
12
|
+
|
|
13
|
+
2. **Content Creation** (25 mins)
|
|
14
|
+
- Write clear, concise documentation
|
|
15
|
+
- Include code examples
|
|
16
|
+
- Add diagrams where helpful
|
|
17
|
+
- Create API references
|
|
18
|
+
- Store progress: \`npx claude-flow memory store ${memoryNamespace}_doc_content "..."\`
|
|
19
|
+
|
|
20
|
+
3. **User Guides** (15 mins)
|
|
21
|
+
- Create quickstart guide
|
|
22
|
+
- Write installation instructions
|
|
23
|
+
- Document common use cases
|
|
24
|
+
- Add troubleshooting section
|
|
25
|
+
- Store guides: \`npx claude-flow memory store ${memoryNamespace}_user_guides "..."\`
|
|
26
|
+
|
|
27
|
+
4. **Review & Polish** (10 mins)
|
|
28
|
+
- Check for clarity and accuracy
|
|
29
|
+
- Verify code examples work
|
|
30
|
+
- Add cross-references
|
|
31
|
+
- Create table of contents
|
|
32
|
+
|
|
33
|
+
5. **Deliverables**
|
|
34
|
+
- README.md with overview
|
|
35
|
+
- docs/getting-started.md
|
|
36
|
+
- docs/api-reference.md
|
|
37
|
+
- docs/troubleshooting.md`;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=docs-writer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs-writer.js","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/docs-writer.js"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,MAAM,UAAU,0BAA0B,CAAC,eAAe,EAAE,eAAe;IACzE,OAAO;;;;wCAI+B,eAAe;;;;kDAIL,eAAe;;;;;;;sDAOX,eAAe;;;;;;;oDAOjB,eAAe;;;;;;;;;;;;6BAYtC,CAAC;AAC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generic.d.ts","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/generic.js"],"names":[],"mappings":"AACA,4FAgCC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// generic.js - Generic mode orchestration template
|
|
2
|
+
export function getGenericOrchestration(taskDescription, memoryNamespace) {
|
|
3
|
+
return `
|
|
4
|
+
## Task Orchestration Steps
|
|
5
|
+
|
|
6
|
+
1. **Analysis** (10 mins)
|
|
7
|
+
- Understand the task: "${taskDescription}"
|
|
8
|
+
- Break down requirements
|
|
9
|
+
- Identify deliverables
|
|
10
|
+
- Store analysis: \`npx claude-flow memory store ${memoryNamespace}_analysis "..."\`
|
|
11
|
+
|
|
12
|
+
2. **Planning** (10 mins)
|
|
13
|
+
- Create implementation plan
|
|
14
|
+
- Define milestones
|
|
15
|
+
- Set up project structure
|
|
16
|
+
- Store plan: \`npx claude-flow memory store ${memoryNamespace}_plan "..."\`
|
|
17
|
+
|
|
18
|
+
3. **Implementation** (30 mins)
|
|
19
|
+
- Execute the main task
|
|
20
|
+
- Follow best practices
|
|
21
|
+
- Keep code modular
|
|
22
|
+
- Store progress: \`npx claude-flow memory store ${memoryNamespace}_implementation "..."\`
|
|
23
|
+
|
|
24
|
+
4. **Validation** (10 mins)
|
|
25
|
+
- Test the solution
|
|
26
|
+
- Verify requirements met
|
|
27
|
+
- Document the work
|
|
28
|
+
- Store validation: \`npx claude-flow memory store ${memoryNamespace}_validation "..."\`
|
|
29
|
+
|
|
30
|
+
5. **Deliverables**
|
|
31
|
+
- Completed implementation
|
|
32
|
+
- Documentation
|
|
33
|
+
- Test results`;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=generic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generic.js","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/generic.js"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,MAAM,UAAU,uBAAuB,CAAC,eAAe,EAAE,eAAe;IACtE,OAAO;;;;6BAIoB,eAAe;;;sDAGU,eAAe;;;;;;kDAMnB,eAAe;;;;;;sDAMX,eAAe;;;;;;wDAMb,eAAe;;;;;kBAKrD,CAAC;AACnB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get orchestration template for a specific mode
|
|
3
|
+
* @param {string} modeSlug - The mode slug identifier
|
|
4
|
+
* @param {string} taskDescription - The task description
|
|
5
|
+
* @param {string} memoryNamespace - The memory namespace
|
|
6
|
+
* @returns {string} The orchestration template
|
|
7
|
+
*/
|
|
8
|
+
export function getModeOrchestration(modeSlug: string, taskDescription: string, memoryNamespace: string): string;
|
|
9
|
+
/**
|
|
10
|
+
* Get the base SPARC prompt template
|
|
11
|
+
* @param {Object} mode - The mode configuration
|
|
12
|
+
* @param {string} taskDescription - The task description
|
|
13
|
+
* @param {string} memoryNamespace - The memory namespace
|
|
14
|
+
* @returns {string} The complete SPARC prompt
|
|
15
|
+
*/
|
|
16
|
+
export function createSparcPrompt(mode: any, taskDescription: string, memoryNamespace: string): string;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/index.js"],"names":[],"mappings":"AAyCA;;;;;;GAMG;AACH,+CALW,MAAM,mBACN,MAAM,mBACN,MAAM,GACJ,MAAM,CAWlB;AAED;;;;;;GAMG;AACH,8DAJW,MAAM,mBACN,MAAM,GACJ,MAAM,CAwIlB"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
// index.js - SPARC mode orchestration loader
|
|
2
|
+
import { getArchitectOrchestration } from './architect.js';
|
|
3
|
+
import { getCodeOrchestration } from './code.js';
|
|
4
|
+
import { getTddOrchestration } from './tdd.js';
|
|
5
|
+
import { getDebugOrchestration } from './debug.js';
|
|
6
|
+
import { getSecurityReviewOrchestration } from './security-review.js';
|
|
7
|
+
import { getDocsWriterOrchestration } from './docs-writer.js';
|
|
8
|
+
import { getIntegrationOrchestration } from './integration.js';
|
|
9
|
+
import { getMonitoringOrchestration } from './monitoring.js';
|
|
10
|
+
import { getOptimizationOrchestration } from './optimization.js';
|
|
11
|
+
import { getSupabaseAdminOrchestration } from './supabase-admin.js';
|
|
12
|
+
import { getSpecPseudocodeOrchestration } from './spec-pseudocode.js';
|
|
13
|
+
import { getMcpOrchestration } from './mcp.js';
|
|
14
|
+
import { getDevOpsOrchestration } from './devops.js';
|
|
15
|
+
import { getAskOrchestration } from './ask.js';
|
|
16
|
+
import { getTutorialOrchestration } from './tutorial.js';
|
|
17
|
+
import { getSparcOrchestratorOrchestration } from './sparc-orchestrator.js';
|
|
18
|
+
import { getGenericOrchestration } from './generic.js';
|
|
19
|
+
import { getSwarmOrchestration } from './swarm.js';
|
|
20
|
+
// Mode orchestration mapping
|
|
21
|
+
const modeOrchestrations = {
|
|
22
|
+
architect: getArchitectOrchestration,
|
|
23
|
+
code: getCodeOrchestration,
|
|
24
|
+
tdd: getTddOrchestration,
|
|
25
|
+
debug: getDebugOrchestration,
|
|
26
|
+
'security-review': getSecurityReviewOrchestration,
|
|
27
|
+
'docs-writer': getDocsWriterOrchestration,
|
|
28
|
+
integration: getIntegrationOrchestration,
|
|
29
|
+
'post-deployment-monitoring-mode': getMonitoringOrchestration,
|
|
30
|
+
'refinement-optimization-mode': getOptimizationOrchestration,
|
|
31
|
+
'supabase-admin': getSupabaseAdminOrchestration,
|
|
32
|
+
'spec-pseudocode': getSpecPseudocodeOrchestration,
|
|
33
|
+
mcp: getMcpOrchestration,
|
|
34
|
+
devops: getDevOpsOrchestration,
|
|
35
|
+
ask: getAskOrchestration,
|
|
36
|
+
tutorial: getTutorialOrchestration,
|
|
37
|
+
sparc: getSparcOrchestratorOrchestration,
|
|
38
|
+
swarm: getSwarmOrchestration,
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Get orchestration template for a specific mode
|
|
42
|
+
* @param {string} modeSlug - The mode slug identifier
|
|
43
|
+
* @param {string} taskDescription - The task description
|
|
44
|
+
* @param {string} memoryNamespace - The memory namespace
|
|
45
|
+
* @returns {string} The orchestration template
|
|
46
|
+
*/
|
|
47
|
+
export function getModeOrchestration(modeSlug, taskDescription, memoryNamespace) {
|
|
48
|
+
const orchestrationFunction = modeOrchestrations[modeSlug];
|
|
49
|
+
if (orchestrationFunction) {
|
|
50
|
+
return orchestrationFunction(taskDescription, memoryNamespace);
|
|
51
|
+
}
|
|
52
|
+
// Return generic orchestration for unknown modes
|
|
53
|
+
return getGenericOrchestration(taskDescription, memoryNamespace);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Get the base SPARC prompt template
|
|
57
|
+
* @param {Object} mode - The mode configuration
|
|
58
|
+
* @param {string} taskDescription - The task description
|
|
59
|
+
* @param {string} memoryNamespace - The memory namespace
|
|
60
|
+
* @returns {string} The complete SPARC prompt
|
|
61
|
+
*/
|
|
62
|
+
export function createSparcPrompt(mode, taskDescription, memoryNamespace) {
|
|
63
|
+
const orchestration = getModeOrchestration(mode.slug, taskDescription, memoryNamespace);
|
|
64
|
+
// Get the actual working directory where the command was run from
|
|
65
|
+
const cwd = process.env.PWD || process.cwd();
|
|
66
|
+
return `# ${mode.name} - Task Execution
|
|
67
|
+
|
|
68
|
+
## 🎯 Your Mission
|
|
69
|
+
Build exactly what the user requested: "${taskDescription}"
|
|
70
|
+
|
|
71
|
+
## 📁 IMPORTANT: Project Directory
|
|
72
|
+
**Current Working Directory:** ${cwd}
|
|
73
|
+
|
|
74
|
+
⚠️ **CRITICAL INSTRUCTIONS:**
|
|
75
|
+
- Create ALL project files in the current working directory: ${cwd}
|
|
76
|
+
- NEVER create files in node_modules/ or any claude-flow directories
|
|
77
|
+
- If the task specifies a project name (e.g., "hello-world"), create it as a subdirectory in ${cwd}
|
|
78
|
+
- Use paths relative to ${cwd} for all file operations
|
|
79
|
+
- Example: If creating "hello-world" app, use ${cwd}/hello-world/
|
|
80
|
+
|
|
81
|
+
## 🚀 Your Role
|
|
82
|
+
${mode.roleDefinition}
|
|
83
|
+
|
|
84
|
+
${orchestration}
|
|
85
|
+
|
|
86
|
+
## 📋 Mode-Specific Guidelines
|
|
87
|
+
${mode.customInstructions}
|
|
88
|
+
|
|
89
|
+
## 🛠️ Claude-Flow Integration
|
|
90
|
+
|
|
91
|
+
### Memory Operations
|
|
92
|
+
Use the memory system to track your progress and share context:
|
|
93
|
+
|
|
94
|
+
\`\`\`bash
|
|
95
|
+
# Store your work
|
|
96
|
+
npx claude-flow memory store ${memoryNamespace}_<phase> "description of work completed"
|
|
97
|
+
|
|
98
|
+
# Query previous work
|
|
99
|
+
npx claude-flow memory query ${memoryNamespace}
|
|
100
|
+
|
|
101
|
+
# Examples for this task
|
|
102
|
+
npx claude-flow memory store ${memoryNamespace}_analysis "Analyzed ${taskDescription} - found X components needed"
|
|
103
|
+
npx claude-flow memory store ${memoryNamespace}_progress "Completed Y% of implementation"
|
|
104
|
+
npx claude-flow memory store ${memoryNamespace}_blockers "Issue with Z - need clarification"
|
|
105
|
+
\`\`\`
|
|
106
|
+
|
|
107
|
+
### Task Orchestration
|
|
108
|
+
For complex tasks, coordinate with other specialists:
|
|
109
|
+
|
|
110
|
+
\`\`\`bash
|
|
111
|
+
# Check system status
|
|
112
|
+
npx claude-flow status
|
|
113
|
+
|
|
114
|
+
# View active agents (if --parallel was used)
|
|
115
|
+
npx claude-flow agent list
|
|
116
|
+
|
|
117
|
+
# Monitor progress
|
|
118
|
+
npx claude-flow monitor
|
|
119
|
+
\`\`\`
|
|
120
|
+
|
|
121
|
+
### 🚀 Parallel Execution with BatchTool
|
|
122
|
+
Use BatchTool to orchestrate multiple SPARC modes concurrently in a boomerang pattern:
|
|
123
|
+
|
|
124
|
+
\`\`\`bash
|
|
125
|
+
# Example: Parallel development workflow
|
|
126
|
+
batchtool run --parallel \\
|
|
127
|
+
"npx claude-flow sparc run architect 'design user authentication system' --non-interactive" \\
|
|
128
|
+
"npx claude-flow sparc run security-review 'analyze authentication requirements' --non-interactive" \\
|
|
129
|
+
"npx claude-flow sparc run spec-pseudocode 'create auth flow pseudocode' --non-interactive"
|
|
130
|
+
|
|
131
|
+
# Boomerang Pattern: Research → Design → Implement → Test → Refine
|
|
132
|
+
batchtool orchestrate --boomerang \\
|
|
133
|
+
--phase1 "npx claude-flow sparc run ask 'research best auth practices' --non-interactive" \\
|
|
134
|
+
--phase2 "npx claude-flow sparc run architect 'design based on research' --non-interactive" \\
|
|
135
|
+
--phase3 "npx claude-flow sparc run code 'implement auth system' --non-interactive" \\
|
|
136
|
+
--phase4 "npx claude-flow sparc run tdd 'test auth implementation' --non-interactive" \\
|
|
137
|
+
--phase5 "npx claude-flow sparc run optimization 'refine auth performance' --non-interactive"
|
|
138
|
+
|
|
139
|
+
# Concurrent Feature Development
|
|
140
|
+
batchtool run --concurrent --max-parallel 3 \\
|
|
141
|
+
"npx claude-flow sparc run code 'implement login feature' --non-interactive" \\
|
|
142
|
+
"npx claude-flow sparc run code 'implement registration feature' --non-interactive" \\
|
|
143
|
+
"npx claude-flow sparc run code 'implement password reset' --non-interactive" \\
|
|
144
|
+
"npx claude-flow sparc run tdd 'create auth test suite' --non-interactive"
|
|
145
|
+
\`\`\`
|
|
146
|
+
|
|
147
|
+
#### Boomerang Orchestration Pattern
|
|
148
|
+
The boomerang pattern allows for iterative development where results from one phase inform the next:
|
|
149
|
+
1. **Research Phase**: Gather requirements and best practices
|
|
150
|
+
2. **Design Phase**: Create architecture based on research
|
|
151
|
+
3. **Implementation Phase**: Build according to design
|
|
152
|
+
4. **Testing Phase**: Validate implementation
|
|
153
|
+
5. **Refinement Phase**: Optimize based on test results
|
|
154
|
+
6. **Loop Back**: Results feed back to improve the cycle
|
|
155
|
+
|
|
156
|
+
Benefits of --non-interactive mode with BatchTool:
|
|
157
|
+
- No manual intervention required
|
|
158
|
+
- Parallel execution of independent tasks
|
|
159
|
+
- Automatic result collection and aggregation
|
|
160
|
+
- Progress tracking across all concurrent operations
|
|
161
|
+
- Efficient resource utilization
|
|
162
|
+
|
|
163
|
+
## ⚡ Execution Guidelines
|
|
164
|
+
|
|
165
|
+
1. **Focus on User's Project**
|
|
166
|
+
- Build what they asked for, not improvements to claude-flow
|
|
167
|
+
- Create files ONLY in the current working directory: ${cwd}
|
|
168
|
+
- NEVER create files in node_modules/ or system directories
|
|
169
|
+
- If creating a named project, make it a subdirectory of ${cwd}
|
|
170
|
+
- Use appropriate project structure relative to ${cwd}
|
|
171
|
+
|
|
172
|
+
2. **Directory Rules**
|
|
173
|
+
- Current directory: ${cwd}
|
|
174
|
+
- Create new projects as: ${cwd}/<project-name>/
|
|
175
|
+
- Use relative paths from ${cwd} for all operations
|
|
176
|
+
- Verify you're in the correct directory before creating files
|
|
177
|
+
|
|
178
|
+
3. **Quality Standards**
|
|
179
|
+
- Keep all files under 500 lines
|
|
180
|
+
- Never hardcode secrets or credentials
|
|
181
|
+
- Use environment variables and config files
|
|
182
|
+
- Write clean, maintainable code
|
|
183
|
+
|
|
184
|
+
4. **Communication**
|
|
185
|
+
- Store progress updates in memory
|
|
186
|
+
- Document key decisions
|
|
187
|
+
- Ask for clarification if needed
|
|
188
|
+
- Provide clear status updates
|
|
189
|
+
|
|
190
|
+
## 🏁 Start Execution
|
|
191
|
+
|
|
192
|
+
Begin with Step 1 of the orchestration plan above. Focus on delivering exactly what was requested: "${taskDescription}"
|
|
193
|
+
|
|
194
|
+
Remember: You're building the user's project, using claude-flow only for memory and orchestration support.`;
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/index.js"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,6BAA6B;AAC7B,MAAM,kBAAkB,GAAG;IACzB,SAAS,EAAE,yBAAyB;IACpC,IAAI,EAAE,oBAAoB;IAC1B,GAAG,EAAE,mBAAmB;IACxB,KAAK,EAAE,qBAAqB;IAC5B,iBAAiB,EAAE,8BAA8B;IACjD,aAAa,EAAE,0BAA0B;IACzC,WAAW,EAAE,2BAA2B;IACxC,iCAAiC,EAAE,0BAA0B;IAC7D,8BAA8B,EAAE,4BAA4B;IAC5D,gBAAgB,EAAE,6BAA6B;IAC/C,iBAAiB,EAAE,8BAA8B;IACjD,GAAG,EAAE,mBAAmB;IACxB,MAAM,EAAE,sBAAsB;IAC9B,GAAG,EAAE,mBAAmB;IACxB,QAAQ,EAAE,wBAAwB;IAClC,KAAK,EAAE,iCAAiC;IACxC,KAAK,EAAE,qBAAqB;CAC7B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,QAAQ,EAAE,eAAe,EAAE,eAAe;IAC7E,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAE3D,IAAI,qBAAqB,EAAE,CAAC;QAC1B,OAAO,qBAAqB,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;IACjE,CAAC;IAED,iDAAiD;IACjD,OAAO,uBAAuB,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;AACnE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAI,EAAE,eAAe,EAAE,eAAe;IACtE,MAAM,aAAa,GAAG,oBAAoB,CAAC,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,eAAe,CAAC,CAAC;IACxF,kEAAkE;IAClE,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;IAE7C,OAAO,KAAK,IAAI,CAAC,IAAI;;;0CAGmB,eAAe;;;iCAGxB,GAAG;;;+DAG2B,GAAG;;+FAE6B,GAAG;0BACxE,GAAG;gDACmB,GAAG;;;EAGjD,IAAI,CAAC,cAAc;;EAEnB,aAAa;;;EAGb,IAAI,CAAC,kBAAkB;;;;;;;;;+BASM,eAAe;;;+BAGf,eAAe;;;+BAGf,eAAe,uBAAuB,eAAe;+BACrD,eAAe;+BACf,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2DA+Da,GAAG;;8DAEA,GAAG;qDACZ,GAAG;;;0BAG9B,GAAG;+BACE,GAAG;+BACH,GAAG;;;;;;;;;;;;;;;;;sGAiBoE,eAAe;;2GAEV,CAAC;AAC5G,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/integration.js"],"names":[],"mappings":"AACA,gGAqDC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// integration.js - System Integrator mode orchestration template
|
|
2
|
+
export function getIntegrationOrchestration(taskDescription, memoryNamespace) {
|
|
3
|
+
return `
|
|
4
|
+
## Task Orchestration Steps
|
|
5
|
+
|
|
6
|
+
1. **Integration Analysis** (10 mins)
|
|
7
|
+
- Review integration requirements: "${taskDescription}"
|
|
8
|
+
- Identify components to connect
|
|
9
|
+
- Map data flows between systems
|
|
10
|
+
- Check compatibility requirements
|
|
11
|
+
- Store analysis: \`npx claude-flow memory store ${memoryNamespace}_integration_analysis "..."\`
|
|
12
|
+
|
|
13
|
+
2. **Interface Development** (20 mins)
|
|
14
|
+
- Create integration adapters
|
|
15
|
+
- Implement data transformers
|
|
16
|
+
- Build connection handlers
|
|
17
|
+
- Add retry mechanisms
|
|
18
|
+
- Store interfaces: \`npx claude-flow memory store ${memoryNamespace}_interfaces "..."\`
|
|
19
|
+
|
|
20
|
+
3. **System Connection** (20 mins)
|
|
21
|
+
- Wire up components
|
|
22
|
+
- Configure communication channels
|
|
23
|
+
- Implement error handling
|
|
24
|
+
- Add monitoring hooks
|
|
25
|
+
- Store configuration: \`npx claude-flow memory store ${memoryNamespace}_connections "..."\`
|
|
26
|
+
|
|
27
|
+
4. **End-to-End Testing** (15 mins)
|
|
28
|
+
- Test data flow scenarios
|
|
29
|
+
- Verify error handling
|
|
30
|
+
- Check performance metrics
|
|
31
|
+
- Validate data integrity
|
|
32
|
+
|
|
33
|
+
5. **Directory Safety**
|
|
34
|
+
- **IMPORTANT**: All integration files should be created in the current working directory
|
|
35
|
+
- **DO NOT** create files in system directories or node_modules
|
|
36
|
+
- For named projects, create a subdirectory: \`mkdir project-name && cd project-name\`
|
|
37
|
+
- Use relative paths from your working directory
|
|
38
|
+
- Suggested structure for integration code:
|
|
39
|
+
\`\`\`
|
|
40
|
+
./ (current directory)
|
|
41
|
+
├── integrations/
|
|
42
|
+
│ ├── adapters/
|
|
43
|
+
│ ├── transformers/
|
|
44
|
+
│ └── handlers/
|
|
45
|
+
├── config/
|
|
46
|
+
└── tests/
|
|
47
|
+
└── integration/
|
|
48
|
+
\`\`\`
|
|
49
|
+
|
|
50
|
+
6. **Deliverables**
|
|
51
|
+
- Integration layer code
|
|
52
|
+
- Configuration templates
|
|
53
|
+
- Integration test suite
|
|
54
|
+
- Deployment guide`;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=integration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/integration.js"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,UAAU,2BAA2B,CAAC,eAAe,EAAE,eAAe;IAC1E,OAAO;;;;yCAIgC,eAAe;;;;sDAIF,eAAe;;;;;;;wDAOb,eAAe;;;;;;;2DAOZ,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA6BpD,CAAC;AACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/mcp.js"],"names":[],"mappings":"AACA,wFAoCC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// mcp.js - MCP Integration mode orchestration template
|
|
2
|
+
export function getMcpOrchestration(taskDescription, memoryNamespace) {
|
|
3
|
+
return `
|
|
4
|
+
## Task Orchestration Steps
|
|
5
|
+
|
|
6
|
+
1. **Integration Planning** (10 mins)
|
|
7
|
+
- Understand integration needs: "${taskDescription}"
|
|
8
|
+
- Identify MCP endpoints
|
|
9
|
+
- Review API documentation
|
|
10
|
+
- Plan data mappings
|
|
11
|
+
- Store plan: \`npx claude-flow memory store ${memoryNamespace}_mcp_plan "..."\`
|
|
12
|
+
|
|
13
|
+
2. **Connection Setup** (15 mins)
|
|
14
|
+
- Configure MCP servers
|
|
15
|
+
- Set up authentication
|
|
16
|
+
- Test connectivity
|
|
17
|
+
- Implement error handling
|
|
18
|
+
- Store config: \`npx claude-flow memory store ${memoryNamespace}_mcp_config "..."\`
|
|
19
|
+
|
|
20
|
+
3. **Data Integration** (20 mins)
|
|
21
|
+
- Implement data transformers
|
|
22
|
+
- Create API wrappers
|
|
23
|
+
- Add validation layers
|
|
24
|
+
- Build retry mechanisms
|
|
25
|
+
- Store integration: \`npx claude-flow memory store ${memoryNamespace}_mcp_integration "..."\`
|
|
26
|
+
|
|
27
|
+
4. **Testing & Validation** (15 mins)
|
|
28
|
+
- Test all endpoints
|
|
29
|
+
- Verify data accuracy
|
|
30
|
+
- Check error scenarios
|
|
31
|
+
- Monitor performance
|
|
32
|
+
|
|
33
|
+
5. **Deliverables**
|
|
34
|
+
- MCP integration code
|
|
35
|
+
- Configuration files
|
|
36
|
+
- API documentation
|
|
37
|
+
- Integration tests`;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=mcp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/mcp.js"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,MAAM,UAAU,mBAAmB,CAAC,eAAe,EAAE,eAAe;IAClE,OAAO;;;;sCAI6B,eAAe;;;;kDAIH,eAAe;;;;;;;oDAOb,eAAe;;;;;;;yDAOV,eAAe;;;;;;;;;;;;uBAYjD,CAAC;AACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring.d.ts","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/monitoring.js"],"names":[],"mappings":"AACA,+FAoCC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// monitoring.js - Deployment Monitor mode orchestration template
|
|
2
|
+
export function getMonitoringOrchestration(taskDescription, memoryNamespace) {
|
|
3
|
+
return `
|
|
4
|
+
## Task Orchestration Steps
|
|
5
|
+
|
|
6
|
+
1. **Monitoring Setup** (15 mins)
|
|
7
|
+
- Define monitoring scope: "${taskDescription}"
|
|
8
|
+
- Identify key metrics
|
|
9
|
+
- Set up logging infrastructure
|
|
10
|
+
- Configure alerting rules
|
|
11
|
+
- Store setup: \`npx claude-flow memory store ${memoryNamespace}_monitoring_setup "..."\`
|
|
12
|
+
|
|
13
|
+
2. **Metric Collection** (20 mins)
|
|
14
|
+
- Implement performance metrics
|
|
15
|
+
- Add business metrics
|
|
16
|
+
- Set up error tracking
|
|
17
|
+
- Configure uptime monitoring
|
|
18
|
+
- Store metrics: \`npx claude-flow memory store ${memoryNamespace}_metrics "..."\`
|
|
19
|
+
|
|
20
|
+
3. **Dashboard Creation** (15 mins)
|
|
21
|
+
- Build monitoring dashboards
|
|
22
|
+
- Create alert configurations
|
|
23
|
+
- Set up automated reports
|
|
24
|
+
- Document metric meanings
|
|
25
|
+
- Store dashboards: \`npx claude-flow memory store ${memoryNamespace}_dashboards "..."\`
|
|
26
|
+
|
|
27
|
+
4. **Baseline Establishment** (10 mins)
|
|
28
|
+
- Collect initial metrics
|
|
29
|
+
- Define normal ranges
|
|
30
|
+
- Set alert thresholds
|
|
31
|
+
- Document SLIs/SLOs
|
|
32
|
+
|
|
33
|
+
5. **Deliverables**
|
|
34
|
+
- Monitoring configuration
|
|
35
|
+
- Dashboard definitions
|
|
36
|
+
- Alert rules
|
|
37
|
+
- Ops runbook`;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=monitoring.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitoring.js","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/monitoring.js"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,UAAU,0BAA0B,CAAC,eAAe,EAAE,eAAe;IACzE,OAAO;;;;iCAIwB,eAAe;;;;mDAIG,eAAe;;;;;;;qDAOb,eAAe;;;;;;;wDAOZ,eAAe;;;;;;;;;;;;iBAYtD,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optimization.d.ts","sourceRoot":"","sources":["../../../../src/cli/simple-commands/sparc-modes/optimization.js"],"names":[],"mappings":"AACA,iGAoCC"}
|