claude-flow 2.0.0-alpha.48 → 2.0.0-alpha.49
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/bin/claude-flow +1 -1
- package/package.json +1 -1
- package/src/cli/help-text.js +1 -1
- package/src/cli/index.ts +1 -1
- package/src/cli/node-repl.ts +2 -2
- package/src/cli/simple-cli.js +1 -1
- package/src/cli/simple-commands/init/index.js +14 -7
- package/src/mcp/mcp-server.js +1 -1
- package/src/memory/enhanced-memory-v2.js +320 -0
- package/src/memory/enhanced-memory.js +236 -264
- package/src/memory/enhanced-memory.js.bak +348 -0
- package/src/memory/fallback-store.js +93 -0
- package/src/memory/in-memory-store.js +210 -0
- package/dist/__tests__/features/mocks/MockFeatureManager.d.ts +0 -26
- package/dist/__tests__/features/mocks/MockFeatureManager.d.ts.map +0 -1
- package/dist/__tests__/features/mocks/MockFeatureManager.js +0 -200
- package/dist/__tests__/features/mocks/MockFeatureManager.js.map +0 -1
- package/dist/__tests__/features/setup.d.ts +0 -24
- package/dist/__tests__/features/setup.d.ts.map +0 -1
- package/dist/__tests__/features/setup.js +0 -42
- package/dist/__tests__/features/setup.js.map +0 -1
- package/dist/__tests__/features/utils/test-helpers.d.ts +0 -96
- package/dist/__tests__/features/utils/test-helpers.d.ts.map +0 -1
- package/dist/__tests__/features/utils/test-helpers.js +0 -281
- package/dist/__tests__/features/utils/test-helpers.js.map +0 -1
- package/dist/adapters/cliffy-node.d.ts +0 -45
- package/dist/adapters/cliffy-node.d.ts.map +0 -1
- package/dist/adapters/cliffy-node.js +0 -61
- package/dist/adapters/cliffy-node.js.map +0 -1
- package/dist/agents/agent-manager.d.ts +0 -191
- package/dist/agents/agent-manager.d.ts.map +0 -1
- package/dist/agents/agent-manager.js +0 -969
- package/dist/agents/agent-manager.js.map +0 -1
- package/dist/agents/agent-registry.d.ts +0 -112
- package/dist/agents/agent-registry.d.ts.map +0 -1
- package/dist/agents/agent-registry.js +0 -341
- package/dist/agents/agent-registry.js.map +0 -1
- package/dist/cli/agents/analyst.d.ts +0 -28
- package/dist/cli/agents/analyst.d.ts.map +0 -1
- package/dist/cli/agents/analyst.js +0 -718
- package/dist/cli/agents/analyst.js.map +0 -1
- package/dist/cli/agents/architect.d.ts +0 -27
- package/dist/cli/agents/architect.d.ts.map +0 -1
- package/dist/cli/agents/architect.js +0 -729
- package/dist/cli/agents/architect.js.map +0 -1
- package/dist/cli/agents/base-agent.d.ts +0 -80
- package/dist/cli/agents/base-agent.d.ts.map +0 -1
- package/dist/cli/agents/base-agent.js +0 -385
- package/dist/cli/agents/base-agent.js.map +0 -1
- package/dist/cli/agents/capabilities.d.ts +0 -106
- package/dist/cli/agents/capabilities.d.ts.map +0 -1
- package/dist/cli/agents/capabilities.js +0 -556
- package/dist/cli/agents/capabilities.js.map +0 -1
- package/dist/cli/agents/coder.d.ts +0 -34
- package/dist/cli/agents/coder.d.ts.map +0 -1
- package/dist/cli/agents/coder.js +0 -806
- package/dist/cli/agents/coder.js.map +0 -1
- package/dist/cli/agents/coordinator.d.ts +0 -25
- package/dist/cli/agents/coordinator.d.ts.map +0 -1
- package/dist/cli/agents/coordinator.js +0 -454
- package/dist/cli/agents/coordinator.js.map +0 -1
- package/dist/cli/agents/hive-agents.d.ts +0 -85
- package/dist/cli/agents/hive-agents.d.ts.map +0 -1
- package/dist/cli/agents/hive-agents.js +0 -549
- package/dist/cli/agents/hive-agents.js.map +0 -1
- package/dist/cli/agents/index.d.ts +0 -111
- package/dist/cli/agents/index.d.ts.map +0 -1
- package/dist/cli/agents/index.js +0 -276
- package/dist/cli/agents/index.js.map +0 -1
- package/dist/cli/agents/researcher.d.ts +0 -24
- package/dist/cli/agents/researcher.d.ts.map +0 -1
- package/dist/cli/agents/researcher.js +0 -356
- package/dist/cli/agents/researcher.js.map +0 -1
- package/dist/cli/agents/tester.d.ts +0 -27
- package/dist/cli/agents/tester.d.ts.map +0 -1
- package/dist/cli/agents/tester.js +0 -594
- package/dist/cli/agents/tester.js.map +0 -1
- package/dist/cli/cli-core.d.ts +0 -49
- package/dist/cli/cli-core.d.ts.map +0 -1
- package/dist/cli/cli-core.js +0 -263
- package/dist/cli/cli-core.js.map +0 -1
- package/dist/cli/command-registry.d.ts +0 -10
- package/dist/cli/command-registry.d.ts.map +0 -1
- package/dist/cli/command-registry.js +0 -703
- package/dist/cli/command-registry.js.map +0 -1
- package/dist/cli/commands/advanced-memory-commands.d.ts +0 -2
- package/dist/cli/commands/advanced-memory-commands.d.ts.map +0 -1
- package/dist/cli/commands/advanced-memory-commands.js +0 -849
- package/dist/cli/commands/advanced-memory-commands.js.map +0 -1
- package/dist/cli/commands/agent-simple.d.ts +0 -12
- package/dist/cli/commands/agent-simple.d.ts.map +0 -1
- package/dist/cli/commands/agent-simple.js +0 -353
- package/dist/cli/commands/agent-simple.js.map +0 -1
- package/dist/cli/commands/agent.d.ts +0 -7
- package/dist/cli/commands/agent.d.ts.map +0 -1
- package/dist/cli/commands/agent.js +0 -369
- package/dist/cli/commands/agent.js.map +0 -1
- package/dist/cli/commands/claude.d.ts +0 -3
- package/dist/cli/commands/claude.d.ts.map +0 -1
- package/dist/cli/commands/claude.js +0 -154
- package/dist/cli/commands/claude.js.map +0 -1
- package/dist/cli/commands/config-integration.d.ts +0 -10
- package/dist/cli/commands/config-integration.d.ts.map +0 -1
- package/dist/cli/commands/config-integration.js +0 -416
- package/dist/cli/commands/config-integration.js.map +0 -1
- package/dist/cli/commands/config.d.ts +0 -5
- package/dist/cli/commands/config.d.ts.map +0 -1
- package/dist/cli/commands/config.js +0 -89
- package/dist/cli/commands/config.js.map +0 -1
- package/dist/cli/commands/enterprise.d.ts +0 -3
- package/dist/cli/commands/enterprise.d.ts.map +0 -1
- package/dist/cli/commands/enterprise.js +0 -1486
- package/dist/cli/commands/enterprise.js.map +0 -1
- package/dist/cli/commands/features.d.ts +0 -3
- package/dist/cli/commands/features.d.ts.map +0 -1
- package/dist/cli/commands/features.js +0 -77
- package/dist/cli/commands/features.js.map +0 -1
- package/dist/cli/commands/help.d.ts +0 -6
- package/dist/cli/commands/help.d.ts.map +0 -1
- package/dist/cli/commands/help.js +0 -786
- package/dist/cli/commands/help.js.map +0 -1
- package/dist/cli/commands/hive-mind/index.d.ts +0 -15
- package/dist/cli/commands/hive-mind/index.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/index.js +0 -22
- package/dist/cli/commands/hive-mind/index.js.map +0 -1
- package/dist/cli/commands/hive-mind/init.d.ts +0 -10
- package/dist/cli/commands/hive-mind/init.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/init.js +0 -68
- package/dist/cli/commands/hive-mind/init.js.map +0 -1
- package/dist/cli/commands/hive-mind/optimize-memory.d.ts +0 -8
- package/dist/cli/commands/hive-mind/optimize-memory.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/optimize-memory.js +0 -391
- package/dist/cli/commands/hive-mind/optimize-memory.js.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.d.ts +0 -10
- package/dist/cli/commands/hive-mind/spawn.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/spawn.js +0 -147
- package/dist/cli/commands/hive-mind/spawn.js.map +0 -1
- package/dist/cli/commands/hive-mind/status.d.ts +0 -10
- package/dist/cli/commands/hive-mind/status.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/status.js +0 -209
- package/dist/cli/commands/hive-mind/status.js.map +0 -1
- package/dist/cli/commands/hive-mind/task.d.ts +0 -10
- package/dist/cli/commands/hive-mind/task.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/task.js +0 -288
- package/dist/cli/commands/hive-mind/task.js.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.d.ts +0 -10
- package/dist/cli/commands/hive-mind/wizard.d.ts.map +0 -1
- package/dist/cli/commands/hive-mind/wizard.js +0 -513
- package/dist/cli/commands/hive-mind/wizard.js.map +0 -1
- package/dist/cli/commands/hive.d.ts +0 -6
- package/dist/cli/commands/hive.d.ts.map +0 -1
- package/dist/cli/commands/hive.js +0 -374
- package/dist/cli/commands/hive.js.map +0 -1
- package/dist/cli/commands/hook-types.d.ts +0 -95
- package/dist/cli/commands/hook-types.d.ts.map +0 -1
- package/dist/cli/commands/hook-types.js +0 -5
- package/dist/cli/commands/hook-types.js.map +0 -1
- package/dist/cli/commands/hook-validator.d.ts +0 -18
- package/dist/cli/commands/hook-validator.d.ts.map +0 -1
- package/dist/cli/commands/hook-validator.js +0 -165
- package/dist/cli/commands/hook-validator.js.map +0 -1
- package/dist/cli/commands/hook.d.ts +0 -8
- package/dist/cli/commands/hook.d.ts.map +0 -1
- package/dist/cli/commands/hook.js +0 -299
- package/dist/cli/commands/hook.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 -2450
- package/dist/cli/commands/index.js.map +0 -1
- package/dist/cli/commands/mcp.d.ts +0 -6
- package/dist/cli/commands/mcp.d.ts.map +0 -1
- package/dist/cli/commands/mcp.js +0 -177
- package/dist/cli/commands/mcp.js.map +0 -1
- package/dist/cli/commands/memory.d.ts +0 -30
- package/dist/cli/commands/memory.d.ts.map +0 -1
- package/dist/cli/commands/memory.js +0 -225
- package/dist/cli/commands/memory.js.map +0 -1
- package/dist/cli/commands/migrate.d.ts +0 -6
- package/dist/cli/commands/migrate.d.ts.map +0 -1
- package/dist/cli/commands/migrate.js +0 -139
- package/dist/cli/commands/migrate.js.map +0 -1
- package/dist/cli/commands/monitor.d.ts +0 -6
- package/dist/cli/commands/monitor.d.ts.map +0 -1
- package/dist/cli/commands/monitor.js +0 -477
- package/dist/cli/commands/monitor.js.map +0 -1
- package/dist/cli/commands/ruv-swarm.d.ts +0 -10
- package/dist/cli/commands/ruv-swarm.d.ts.map +0 -1
- package/dist/cli/commands/ruv-swarm.js +0 -563
- package/dist/cli/commands/ruv-swarm.js.map +0 -1
- package/dist/cli/commands/session.d.ts +0 -6
- package/dist/cli/commands/session.d.ts.map +0 -1
- package/dist/cli/commands/session.js +0 -543
- package/dist/cli/commands/session.js.map +0 -1
- package/dist/cli/commands/sparc.d.ts +0 -3
- package/dist/cli/commands/sparc.d.ts.map +0 -1
- package/dist/cli/commands/sparc.js +0 -452
- package/dist/cli/commands/sparc.js.map +0 -1
- package/dist/cli/commands/start/event-emitter.d.ts +0 -13
- package/dist/cli/commands/start/event-emitter.d.ts.map +0 -1
- package/dist/cli/commands/start/event-emitter.js +0 -35
- package/dist/cli/commands/start/event-emitter.js.map +0 -1
- package/dist/cli/commands/start/index.d.ts +0 -10
- package/dist/cli/commands/start/index.d.ts.map +0 -1
- package/dist/cli/commands/start/index.js +0 -9
- package/dist/cli/commands/start/index.js.map +0 -1
- package/dist/cli/commands/start/process-manager.d.ts +0 -31
- package/dist/cli/commands/start/process-manager.d.ts.map +0 -1
- package/dist/cli/commands/start/process-manager.js +0 -281
- package/dist/cli/commands/start/process-manager.js.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.d.ts +0 -25
- package/dist/cli/commands/start/process-ui-simple.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui-simple.js +0 -334
- package/dist/cli/commands/start/process-ui-simple.js.map +0 -1
- package/dist/cli/commands/start/process-ui.d.ts +0 -5
- package/dist/cli/commands/start/process-ui.d.ts.map +0 -1
- package/dist/cli/commands/start/process-ui.js +0 -5
- package/dist/cli/commands/start/process-ui.js.map +0 -1
- package/dist/cli/commands/start/start-command.d.ts +0 -6
- package/dist/cli/commands/start/start-command.d.ts.map +0 -1
- package/dist/cli/commands/start/start-command.js +0 -450
- package/dist/cli/commands/start/start-command.js.map +0 -1
- package/dist/cli/commands/start/system-monitor.d.ts +0 -22
- package/dist/cli/commands/start/system-monitor.d.ts.map +0 -1
- package/dist/cli/commands/start/system-monitor.js +0 -267
- package/dist/cli/commands/start/system-monitor.js.map +0 -1
- package/dist/cli/commands/start/types.d.ts +0 -64
- package/dist/cli/commands/start/types.d.ts.map +0 -1
- package/dist/cli/commands/start/types.js +0 -22
- package/dist/cli/commands/start/types.js.map +0 -1
- package/dist/cli/commands/start.d.ts +0 -6
- package/dist/cli/commands/start.d.ts.map +0 -1
- package/dist/cli/commands/start.js +0 -6
- package/dist/cli/commands/start.js.map +0 -1
- package/dist/cli/commands/status.d.ts +0 -6
- package/dist/cli/commands/status.d.ts.map +0 -1
- package/dist/cli/commands/status.js +0 -312
- package/dist/cli/commands/status.js.map +0 -1
- package/dist/cli/commands/swarm-new.d.ts +0 -3
- package/dist/cli/commands/swarm-new.d.ts.map +0 -1
- package/dist/cli/commands/swarm-new.js +0 -1399
- package/dist/cli/commands/swarm-new.js.map +0 -1
- package/dist/cli/commands/swarm-spawn.d.ts +0 -24
- package/dist/cli/commands/swarm-spawn.d.ts.map +0 -1
- package/dist/cli/commands/swarm-spawn.js +0 -56
- package/dist/cli/commands/swarm-spawn.js.map +0 -1
- package/dist/cli/commands/swarm.d.ts +0 -3
- package/dist/cli/commands/swarm.d.ts.map +0 -1
- package/dist/cli/commands/swarm.js +0 -460
- package/dist/cli/commands/swarm.js.map +0 -1
- package/dist/cli/commands/task.d.ts +0 -6
- package/dist/cli/commands/task.d.ts.map +0 -1
- package/dist/cli/commands/task.js +0 -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 -620
- package/dist/cli/commands/workflow.js.map +0 -1
- package/dist/cli/completion.d.ts +0 -16
- package/dist/cli/completion.d.ts.map +0 -1
- package/dist/cli/completion.js +0 -535
- package/dist/cli/completion.js.map +0 -1
- package/dist/cli/formatter.d.ts +0 -66
- package/dist/cli/formatter.d.ts.map +0 -1
- package/dist/cli/formatter.js +0 -277
- package/dist/cli/formatter.js.map +0 -1
- package/dist/cli/index-remote.d.ts +0 -3
- package/dist/cli/index-remote.d.ts.map +0 -1
- package/dist/cli/index-remote.js +0 -126
- package/dist/cli/index-remote.js.map +0 -1
- package/dist/cli/index.d.ts +0 -7
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -197
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/init/batch-tools.d.ts +0 -2
- package/dist/cli/init/batch-tools.d.ts.map +0 -1
- package/dist/cli/init/batch-tools.js +0 -387
- package/dist/cli/init/batch-tools.js.map +0 -1
- package/dist/cli/init/claude-config.d.ts +0 -3
- package/dist/cli/init/claude-config.d.ts.map +0 -1
- package/dist/cli/init/claude-config.js +0 -289
- package/dist/cli/init/claude-config.js.map +0 -1
- package/dist/cli/init/directory-structure.d.ts +0 -2
- package/dist/cli/init/directory-structure.d.ts.map +0 -1
- package/dist/cli/init/directory-structure.js +0 -144
- package/dist/cli/init/directory-structure.js.map +0 -1
- package/dist/cli/init/index.d.ts +0 -6
- package/dist/cli/init/index.d.ts.map +0 -1
- package/dist/cli/init/index.js +0 -52
- package/dist/cli/init/index.js.map +0 -1
- package/dist/cli/init/sparc-environment.d.ts +0 -2
- package/dist/cli/init/sparc-environment.d.ts.map +0 -1
- package/dist/cli/init/sparc-environment.js +0 -426
- package/dist/cli/init/sparc-environment.js.map +0 -1
- package/dist/cli/init/swarm-commands.d.ts +0 -2
- package/dist/cli/init/swarm-commands.d.ts.map +0 -1
- package/dist/cli/init/swarm-commands.js +0 -795
- package/dist/cli/init/swarm-commands.js.map +0 -1
- package/dist/cli/init/utils.d.ts +0 -5
- package/dist/cli/init/utils.d.ts.map +0 -1
- package/dist/cli/init/utils.js +0 -14
- package/dist/cli/init/utils.js.map +0 -1
- package/dist/cli/main.d.ts +0 -3
- package/dist/cli/main.d.ts.map +0 -1
- package/dist/cli/main.js +0 -26
- package/dist/cli/main.js.map +0 -1
- package/dist/cli/node-compat.d.ts +0 -66
- package/dist/cli/node-compat.d.ts.map +0 -1
- package/dist/cli/node-compat.js +0 -130
- package/dist/cli/node-compat.js.map +0 -1
- package/dist/cli/node-repl.d.ts +0 -5
- package/dist/cli/node-repl.d.ts.map +0 -1
- package/dist/cli/node-repl.js +0 -677
- package/dist/cli/node-repl.js.map +0 -1
- package/dist/cli/repl.d.ts +0 -5
- package/dist/cli/repl.d.ts.map +0 -1
- package/dist/cli/repl.js +0 -909
- package/dist/cli/repl.js.map +0 -1
- package/dist/cli/runtime-detector.d.ts +0 -128
- package/dist/cli/runtime-detector.d.ts.map +0 -1
- package/dist/cli/runtime-detector.js +0 -263
- package/dist/cli/runtime-detector.js.map +0 -1
- package/dist/cli/simple-cli.d.ts +0 -3
- package/dist/cli/simple-cli.d.ts.map +0 -1
- package/dist/cli/simple-cli.js +0 -3059
- package/dist/cli/simple-cli.js.map +0 -1
- package/dist/cli/simple-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 -200
- 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 -231
- 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 -284
- 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 -277
- 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 -229
- package/dist/cli/simple-commands/coordination.js.map +0 -1
- package/dist/cli/simple-commands/features.d.ts +0 -2
- package/dist/cli/simple-commands/features.d.ts.map +0 -1
- package/dist/cli/simple-commands/features.js +0 -92
- package/dist/cli/simple-commands/features.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 -289
- package/dist/cli/simple-commands/github.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 -614
- 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 -832
- 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 -647
- 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 -204
- 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 -857
- 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 -1038
- 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 -518
- package/dist/cli/simple-commands/hive-mind/performance-optimizer.js.map +0 -1
- package/dist/cli/simple-commands/hive-mind/queen.d.ts +0 -294
- package/dist/cli/simple-commands/hive-mind/queen.d.ts.map +0 -1
- package/dist/cli/simple-commands/hive-mind/queen.js +0 -684
- package/dist/cli/simple-commands/hive-mind/queen.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 -1847
- 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 -586
- package/dist/cli/simple-commands/hooks.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 -550
- 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 -432
- 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 -870
- 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 -309
- 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 -480
- 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 -29
- 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 -205
- package/dist/cli/simple-commands/init/claude-commands/sparc-commands.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 -113
- package/dist/cli/simple-commands/init/executable-wrapper.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 -92
- 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 -1042
- 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 -278
- 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 -491
- 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 -350
- 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 -705
- 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 -487
- 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 -431
- 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 -61
- package/dist/cli/simple-commands/init/sparc-structure.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 -464
- 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 -1315
- 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 -764
- 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 -311
- 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 -540
- 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 -342
- 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 -348
- 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 -265
- 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 -358
- 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 -277
- package/dist/cli/simple-commands/memory.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 -157
- 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 -666
- 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 -468
- 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 -133
- 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 -263
- 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 -273
- 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 -212
- 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 -285
- 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 -253
- 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 -1675
- 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 -145
- 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 -814
- package/dist/cli/simple-commands/web-server.js.map +0 -1
- package/dist/cli/simple-mcp.d.ts +0 -6
- package/dist/cli/simple-mcp.d.ts.map +0 -1
- package/dist/cli/simple-mcp.js +0 -107
- package/dist/cli/simple-mcp.js.map +0 -1
- package/dist/cli/simple-orchestrator.d.ts +0 -16
- package/dist/cli/simple-orchestrator.d.ts.map +0 -1
- package/dist/cli/simple-orchestrator.js +0 -833
- package/dist/cli/simple-orchestrator.js.map +0 -1
- package/dist/cli/ui/compatible-ui.d.ts +0 -45
- package/dist/cli/ui/compatible-ui.d.ts.map +0 -1
- package/dist/cli/ui/compatible-ui.js +0 -318
- package/dist/cli/ui/compatible-ui.js.map +0 -1
- package/dist/cli/ui/fallback-handler.d.ts +0 -26
- package/dist/cli/ui/fallback-handler.d.ts.map +0 -1
- package/dist/cli/ui/fallback-handler.js +0 -166
- package/dist/cli/ui/fallback-handler.js.map +0 -1
- package/dist/cli/ui/index.d.ts +0 -11
- package/dist/cli/ui/index.d.ts.map +0 -1
- package/dist/cli/ui/index.js +0 -33
- package/dist/cli/ui/index.js.map +0 -1
- package/dist/cli/utils/environment-detector.d.ts +0 -54
- package/dist/cli/utils/environment-detector.d.ts.map +0 -1
- package/dist/cli/utils/environment-detector.js +0 -265
- package/dist/cli/utils/environment-detector.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/prompt-defaults.d.ts +0 -82
- package/dist/cli/utils/prompt-defaults.d.ts.map +0 -1
- package/dist/cli/utils/prompt-defaults.js +0 -253
- package/dist/cli/utils/prompt-defaults.js.map +0 -1
- package/dist/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 -133
- package/dist/cli/utils/safe-interactive.js.map +0 -1
- package/dist/cli/utils.d.ts +0 -74
- package/dist/cli/utils.d.ts.map +0 -1
- package/dist/cli/utils.js +0 -570
- package/dist/cli/utils.js.map +0 -1
- package/dist/communication/message-bus.d.ts +0 -283
- package/dist/communication/message-bus.d.ts.map +0 -1
- package/dist/communication/message-bus.js +0 -959
- package/dist/communication/message-bus.js.map +0 -1
- package/dist/config/config-manager.d.ts +0 -174
- package/dist/config/config-manager.d.ts.map +0 -1
- package/dist/config/config-manager.js +0 -443
- package/dist/config/config-manager.js.map +0 -1
- package/dist/config/ruv-swarm-config.d.ts +0 -167
- package/dist/config/ruv-swarm-config.d.ts.map +0 -1
- package/dist/config/ruv-swarm-config.js +0 -274
- package/dist/config/ruv-swarm-config.js.map +0 -1
- package/dist/config/ruv-swarm-integration.d.ts +0 -93
- package/dist/config/ruv-swarm-integration.d.ts.map +0 -1
- package/dist/config/ruv-swarm-integration.js +0 -292
- package/dist/config/ruv-swarm-integration.js.map +0 -1
- package/dist/constants/agent-types.d.ts +0 -46
- package/dist/constants/agent-types.d.ts.map +0 -1
- package/dist/constants/agent-types.js +0 -50
- package/dist/constants/agent-types.js.map +0 -1
- package/dist/coordination/advanced-scheduler.d.ts +0 -121
- package/dist/coordination/advanced-scheduler.d.ts.map +0 -1
- package/dist/coordination/advanced-scheduler.js +0 -386
- package/dist/coordination/advanced-scheduler.js.map +0 -1
- package/dist/coordination/advanced-task-executor.d.ts +0 -100
- package/dist/coordination/advanced-task-executor.d.ts.map +0 -1
- package/dist/coordination/advanced-task-executor.js +0 -463
- package/dist/coordination/advanced-task-executor.js.map +0 -1
- package/dist/coordination/background-executor.d.ts +0 -69
- package/dist/coordination/background-executor.d.ts.map +0 -1
- package/dist/coordination/background-executor.js +0 -362
- package/dist/coordination/background-executor.js.map +0 -1
- package/dist/coordination/circuit-breaker.d.ts +0 -124
- package/dist/coordination/circuit-breaker.d.ts.map +0 -1
- package/dist/coordination/circuit-breaker.js +0 -298
- package/dist/coordination/circuit-breaker.js.map +0 -1
- package/dist/coordination/conflict-resolution.d.ts +0 -133
- package/dist/coordination/conflict-resolution.d.ts.map +0 -1
- package/dist/coordination/conflict-resolution.js +0 -358
- package/dist/coordination/conflict-resolution.js.map +0 -1
- package/dist/coordination/dependency-graph.d.ts +0 -78
- package/dist/coordination/dependency-graph.d.ts.map +0 -1
- package/dist/coordination/dependency-graph.js +0 -386
- package/dist/coordination/dependency-graph.js.map +0 -1
- package/dist/coordination/hive-orchestrator.d.ts +0 -118
- package/dist/coordination/hive-orchestrator.d.ts.map +0 -1
- package/dist/coordination/hive-orchestrator.js +0 -321
- package/dist/coordination/hive-orchestrator.js.map +0 -1
- package/dist/coordination/hive-protocol.d.ts +0 -117
- package/dist/coordination/hive-protocol.d.ts.map +0 -1
- package/dist/coordination/hive-protocol.js +0 -373
- package/dist/coordination/hive-protocol.js.map +0 -1
- package/dist/coordination/index.d.ts +0 -14
- package/dist/coordination/index.d.ts.map +0 -1
- package/dist/coordination/index.js +0 -21
- package/dist/coordination/index.js.map +0 -1
- package/dist/coordination/load-balancer.d.ts +0 -139
- package/dist/coordination/load-balancer.d.ts.map +0 -1
- package/dist/coordination/load-balancer.js +0 -700
- package/dist/coordination/load-balancer.js.map +0 -1
- package/dist/coordination/manager.d.ts +0 -66
- package/dist/coordination/manager.d.ts.map +0 -1
- package/dist/coordination/manager.js +0 -360
- package/dist/coordination/manager.js.map +0 -1
- package/dist/coordination/messaging.d.ts +0 -37
- package/dist/coordination/messaging.d.ts.map +0 -1
- package/dist/coordination/messaging.js +0 -219
- package/dist/coordination/messaging.js.map +0 -1
- package/dist/coordination/metrics.d.ts +0 -153
- package/dist/coordination/metrics.d.ts.map +0 -1
- package/dist/coordination/metrics.js +0 -434
- package/dist/coordination/metrics.js.map +0 -1
- package/dist/coordination/resources.d.ts +0 -36
- package/dist/coordination/resources.d.ts.map +0 -1
- package/dist/coordination/resources.js +0 -250
- package/dist/coordination/resources.js.map +0 -1
- package/dist/coordination/scheduler.d.ts +0 -48
- package/dist/coordination/scheduler.d.ts.map +0 -1
- package/dist/coordination/scheduler.js +0 -308
- package/dist/coordination/scheduler.js.map +0 -1
- package/dist/coordination/swarm-coordinator.d.ts +0 -116
- package/dist/coordination/swarm-coordinator.d.ts.map +0 -1
- package/dist/coordination/swarm-coordinator.js +0 -565
- package/dist/coordination/swarm-coordinator.js.map +0 -1
- package/dist/coordination/swarm-monitor.d.ts +0 -101
- package/dist/coordination/swarm-monitor.d.ts.map +0 -1
- package/dist/coordination/swarm-monitor.js +0 -340
- package/dist/coordination/swarm-monitor.js.map +0 -1
- package/dist/coordination/work-stealing.d.ts +0 -44
- package/dist/coordination/work-stealing.d.ts.map +0 -1
- package/dist/coordination/work-stealing.js +0 -155
- package/dist/coordination/work-stealing.js.map +0 -1
- package/dist/core/config.d.ts +0 -239
- package/dist/core/config.d.ts.map +0 -1
- package/dist/core/config.js +0 -1128
- package/dist/core/config.js.map +0 -1
- package/dist/core/event-bus.d.ts +0 -60
- package/dist/core/event-bus.d.ts.map +0 -1
- package/dist/core/event-bus.js +0 -153
- package/dist/core/event-bus.js.map +0 -1
- package/dist/core/json-persistence.d.ts +0 -52
- package/dist/core/json-persistence.d.ts.map +0 -1
- package/dist/core/json-persistence.js +0 -115
- package/dist/core/json-persistence.js.map +0 -1
- package/dist/core/logger.d.ts +0 -57
- package/dist/core/logger.d.ts.map +0 -1
- package/dist/core/logger.js +0 -253
- package/dist/core/logger.js.map +0 -1
- package/dist/core/orchestrator-fixed.d.ts +0 -81
- package/dist/core/orchestrator-fixed.d.ts.map +0 -1
- package/dist/core/orchestrator-fixed.js +0 -210
- package/dist/core/orchestrator-fixed.js.map +0 -1
- package/dist/core/orchestrator.d.ts +0 -103
- package/dist/core/orchestrator.d.ts.map +0 -1
- package/dist/core/orchestrator.js +0 -965
- package/dist/core/orchestrator.js.map +0 -1
- package/dist/core/persistence.d.ts +0 -50
- package/dist/core/persistence.d.ts.map +0 -1
- package/dist/core/persistence.js +0 -186
- package/dist/core/persistence.js.map +0 -1
- package/dist/enterprise/analytics-manager.d.ts +0 -489
- package/dist/enterprise/analytics-manager.d.ts.map +0 -1
- package/dist/enterprise/analytics-manager.js +0 -949
- package/dist/enterprise/analytics-manager.js.map +0 -1
- package/dist/enterprise/audit-manager.d.ts +0 -459
- package/dist/enterprise/audit-manager.d.ts.map +0 -1
- package/dist/enterprise/audit-manager.js +0 -992
- package/dist/enterprise/audit-manager.js.map +0 -1
- package/dist/enterprise/cloud-manager.d.ts +0 -435
- package/dist/enterprise/cloud-manager.d.ts.map +0 -1
- package/dist/enterprise/cloud-manager.js +0 -784
- package/dist/enterprise/cloud-manager.js.map +0 -1
- package/dist/enterprise/deployment-manager.d.ts +0 -328
- package/dist/enterprise/deployment-manager.d.ts.map +0 -1
- package/dist/enterprise/deployment-manager.js +0 -823
- package/dist/enterprise/deployment-manager.js.map +0 -1
- package/dist/enterprise/index.d.ts +0 -13
- package/dist/enterprise/index.d.ts.map +0 -1
- package/dist/enterprise/index.js +0 -7
- package/dist/enterprise/index.js.map +0 -1
- package/dist/enterprise/project-manager.d.ts +0 -228
- package/dist/enterprise/project-manager.d.ts.map +0 -1
- package/dist/enterprise/project-manager.js +0 -529
- package/dist/enterprise/project-manager.js.map +0 -1
- package/dist/enterprise/security-manager.d.ts +0 -422
- package/dist/enterprise/security-manager.d.ts.map +0 -1
- package/dist/enterprise/security-manager.js +0 -902
- package/dist/enterprise/security-manager.js.map +0 -1
- package/dist/features/adapters/CliFeatureAdapter.d.ts +0 -36
- package/dist/features/adapters/CliFeatureAdapter.d.ts.map +0 -1
- package/dist/features/adapters/CliFeatureAdapter.js +0 -311
- package/dist/features/adapters/CliFeatureAdapter.js.map +0 -1
- package/dist/features/adapters/McpFeatureAdapter.d.ts +0 -61
- package/dist/features/adapters/McpFeatureAdapter.d.ts.map +0 -1
- package/dist/features/adapters/McpFeatureAdapter.js +0 -487
- package/dist/features/adapters/McpFeatureAdapter.js.map +0 -1
- package/dist/features/adapters/index.d.ts +0 -7
- package/dist/features/adapters/index.d.ts.map +0 -1
- package/dist/features/adapters/index.js +0 -7
- package/dist/features/adapters/index.js.map +0 -1
- package/dist/features/built-in/index.d.ts +0 -53
- package/dist/features/built-in/index.d.ts.map +0 -1
- package/dist/features/built-in/index.js +0 -286
- package/dist/features/built-in/index.js.map +0 -1
- package/dist/features/core/FeatureManager.d.ts +0 -37
- package/dist/features/core/FeatureManager.d.ts.map +0 -1
- package/dist/features/core/FeatureManager.js +0 -291
- package/dist/features/core/FeatureManager.js.map +0 -1
- package/dist/features/core/FeatureRegistry.d.ts +0 -24
- package/dist/features/core/FeatureRegistry.d.ts.map +0 -1
- package/dist/features/core/FeatureRegistry.js +0 -75
- package/dist/features/core/FeatureRegistry.js.map +0 -1
- package/dist/features/core/configuration-manager.d.ts +0 -16
- package/dist/features/core/configuration-manager.d.ts.map +0 -1
- package/dist/features/core/configuration-manager.js +0 -94
- package/dist/features/core/configuration-manager.js.map +0 -1
- package/dist/features/core/feature-manager.d.ts +0 -23
- package/dist/features/core/feature-manager.d.ts.map +0 -1
- package/dist/features/core/feature-manager.js +0 -163
- package/dist/features/core/feature-manager.js.map +0 -1
- package/dist/features/core/feature-registry.d.ts +0 -16
- package/dist/features/core/feature-registry.d.ts.map +0 -1
- package/dist/features/core/feature-registry.js +0 -175
- package/dist/features/core/feature-registry.js.map +0 -1
- package/dist/features/core/feature.d.ts +0 -25
- package/dist/features/core/feature.d.ts.map +0 -1
- package/dist/features/core/feature.js +0 -113
- package/dist/features/core/feature.js.map +0 -1
- package/dist/features/core/index.d.ts +0 -10
- package/dist/features/core/index.d.ts.map +0 -1
- package/dist/features/core/index.js +0 -11
- package/dist/features/core/index.js.map +0 -1
- package/dist/features/core/transparency-layer.d.ts +0 -16
- package/dist/features/core/transparency-layer.d.ts.map +0 -1
- package/dist/features/core/transparency-layer.js +0 -61
- package/dist/features/core/transparency-layer.js.map +0 -1
- package/dist/features/hooks/command-hooks.d.ts +0 -40
- package/dist/features/hooks/command-hooks.d.ts.map +0 -1
- package/dist/features/hooks/command-hooks.js +0 -159
- package/dist/features/hooks/command-hooks.js.map +0 -1
- package/dist/features/index.d.ts +0 -6
- package/dist/features/index.d.ts.map +0 -1
- package/dist/features/index.js +0 -8
- package/dist/features/index.js.map +0 -1
- package/dist/features/initializer.d.ts +0 -17
- package/dist/features/initializer.d.ts.map +0 -1
- package/dist/features/initializer.js +0 -41
- package/dist/features/initializer.js.map +0 -1
- package/dist/features/tests/manual-test.d.ts +0 -6
- package/dist/features/tests/manual-test.d.ts.map +0 -1
- package/dist/features/tests/manual-test.js +0 -130
- package/dist/features/tests/manual-test.js.map +0 -1
- package/dist/features/types/IFeature.d.ts +0 -148
- package/dist/features/types/IFeature.d.ts.map +0 -1
- package/dist/features/types/IFeature.js +0 -43
- package/dist/features/types/IFeature.js.map +0 -1
- package/dist/features/types/IFeatureAdapter.d.ts +0 -298
- package/dist/features/types/IFeatureAdapter.d.ts.map +0 -1
- package/dist/features/types/IFeatureAdapter.js +0 -2
- package/dist/features/types/IFeatureAdapter.js.map +0 -1
- package/dist/features/types/IFeatureConfiguration.d.ts +0 -380
- package/dist/features/types/IFeatureConfiguration.d.ts.map +0 -1
- package/dist/features/types/IFeatureConfiguration.js +0 -2
- package/dist/features/types/IFeatureConfiguration.js.map +0 -1
- package/dist/features/types/IFeatureManager.d.ts +0 -216
- package/dist/features/types/IFeatureManager.d.ts.map +0 -1
- package/dist/features/types/IFeatureManager.js +0 -2
- package/dist/features/types/IFeatureManager.js.map +0 -1
- package/dist/features/types/IFeatureMetrics.d.ts +0 -543
- package/dist/features/types/IFeatureMetrics.d.ts.map +0 -1
- package/dist/features/types/IFeatureMetrics.js +0 -25
- package/dist/features/types/IFeatureMetrics.js.map +0 -1
- package/dist/features/types/ITransparencyLayer.d.ts +0 -552
- package/dist/features/types/ITransparencyLayer.d.ts.map +0 -1
- package/dist/features/types/ITransparencyLayer.js +0 -60
- package/dist/features/types/ITransparencyLayer.js.map +0 -1
- package/dist/features/types/feature-types.d.ts +0 -153
- package/dist/features/types/feature-types.d.ts.map +0 -1
- package/dist/features/types/feature-types.js +0 -40
- package/dist/features/types/feature-types.js.map +0 -1
- package/dist/features/types/index.d.ts +0 -13
- package/dist/features/types/index.d.ts.map +0 -1
- package/dist/features/types/index.js +0 -16
- package/dist/features/types/index.js.map +0 -1
- package/dist/features/types/type-guards.d.ts +0 -100
- package/dist/features/types/type-guards.d.ts.map +0 -1
- package/dist/features/types/type-guards.js +0 -212
- package/dist/features/types/type-guards.js.map +0 -1
- package/dist/features/types/utility-types.d.ts +0 -440
- package/dist/features/types/utility-types.d.ts.map +0 -1
- package/dist/features/types/utility-types.js +0 -2
- package/dist/features/types/utility-types.js.map +0 -1
- package/dist/hive-mind/core/Agent.d.ts +0 -137
- package/dist/hive-mind/core/Agent.d.ts.map +0 -1
- package/dist/hive-mind/core/Agent.js +0 -567
- package/dist/hive-mind/core/Agent.js.map +0 -1
- package/dist/hive-mind/core/Communication.d.ts +0 -116
- package/dist/hive-mind/core/Communication.d.ts.map +0 -1
- package/dist/hive-mind/core/Communication.js +0 -407
- package/dist/hive-mind/core/Communication.js.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.d.ts +0 -93
- package/dist/hive-mind/core/DatabaseManager.d.ts.map +0 -1
- package/dist/hive-mind/core/DatabaseManager.js +0 -551
- package/dist/hive-mind/core/DatabaseManager.js.map +0 -1
- package/dist/hive-mind/core/HiveMind.d.ts +0 -90
- package/dist/hive-mind/core/HiveMind.d.ts.map +0 -1
- package/dist/hive-mind/core/HiveMind.js +0 -439
- package/dist/hive-mind/core/HiveMind.js.map +0 -1
- package/dist/hive-mind/core/Memory.d.ts +0 -235
- package/dist/hive-mind/core/Memory.d.ts.map +0 -1
- package/dist/hive-mind/core/Memory.js +0 -1185
- package/dist/hive-mind/core/Memory.js.map +0 -1
- package/dist/hive-mind/core/MemoryMonitor.d.ts +0 -183
- package/dist/hive-mind/core/MemoryMonitor.d.ts.map +0 -1
- package/dist/hive-mind/core/MemoryMonitor.js +0 -547
- package/dist/hive-mind/core/MemoryMonitor.js.map +0 -1
- package/dist/hive-mind/core/Queen.d.ts +0 -115
- package/dist/hive-mind/core/Queen.d.ts.map +0 -1
- package/dist/hive-mind/core/Queen.js +0 -586
- package/dist/hive-mind/core/Queen.js.map +0 -1
- package/dist/hive-mind/index.d.ts +0 -17
- package/dist/hive-mind/index.d.ts.map +0 -1
- package/dist/hive-mind/index.js +0 -21
- package/dist/hive-mind/index.js.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.d.ts +0 -117
- package/dist/hive-mind/integration/ConsensusEngine.d.ts.map +0 -1
- package/dist/hive-mind/integration/ConsensusEngine.js +0 -476
- package/dist/hive-mind/integration/ConsensusEngine.js.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts +0 -172
- package/dist/hive-mind/integration/MCPToolWrapper.d.ts.map +0 -1
- package/dist/hive-mind/integration/MCPToolWrapper.js +0 -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 -746
- package/dist/hive-mind/integration/SwarmOrchestrator.js.map +0 -1
- package/dist/hive-mind/types.d.ts +0 -298
- package/dist/hive-mind/types.d.ts.map +0 -1
- package/dist/hive-mind/types.js +0 -7
- package/dist/hive-mind/types.js.map +0 -1
- package/dist/integration/mock-components.d.ts +0 -107
- package/dist/integration/mock-components.d.ts.map +0 -1
- package/dist/integration/mock-components.js +0 -357
- package/dist/integration/mock-components.js.map +0 -1
- package/dist/integration/system-integration.d.ts +0 -84
- package/dist/integration/system-integration.d.ts.map +0 -1
- package/dist/integration/system-integration.js +0 -429
- package/dist/integration/system-integration.js.map +0 -1
- package/dist/integration/types.d.ts +0 -119
- package/dist/integration/types.d.ts.map +0 -1
- package/dist/integration/types.js +0 -5
- package/dist/integration/types.js.map +0 -1
- package/dist/mcp/auth.d.ts +0 -80
- package/dist/mcp/auth.d.ts.map +0 -1
- package/dist/mcp/auth.js +0 -343
- package/dist/mcp/auth.js.map +0 -1
- package/dist/mcp/claude-code-wrapper.d.ts +0 -26
- package/dist/mcp/claude-code-wrapper.d.ts.map +0 -1
- package/dist/mcp/claude-code-wrapper.js +0 -598
- package/dist/mcp/claude-code-wrapper.js.map +0 -1
- package/dist/mcp/claude-flow-tools.d.ts +0 -13
- package/dist/mcp/claude-flow-tools.d.ts.map +0 -1
- package/dist/mcp/claude-flow-tools.js +0 -1142
- package/dist/mcp/claude-flow-tools.js.map +0 -1
- package/dist/mcp/client.d.ts +0 -41
- package/dist/mcp/client.d.ts.map +0 -1
- package/dist/mcp/client.js +0 -194
- package/dist/mcp/client.js.map +0 -1
- package/dist/mcp/feature-tools.d.ts +0 -24
- package/dist/mcp/feature-tools.d.ts.map +0 -1
- package/dist/mcp/feature-tools.js +0 -65
- package/dist/mcp/feature-tools.js.map +0 -1
- package/dist/mcp/index.d.ts +0 -134
- package/dist/mcp/index.d.ts.map +0 -1
- package/dist/mcp/index.js +0 -212
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/integrate-wrapper.d.ts +0 -16
- package/dist/mcp/integrate-wrapper.d.ts.map +0 -1
- package/dist/mcp/integrate-wrapper.js +0 -77
- package/dist/mcp/integrate-wrapper.js.map +0 -1
- package/dist/mcp/lifecycle-manager.d.ts +0 -121
- package/dist/mcp/lifecycle-manager.d.ts.map +0 -1
- package/dist/mcp/lifecycle-manager.js +0 -365
- package/dist/mcp/lifecycle-manager.js.map +0 -1
- package/dist/mcp/load-balancer.d.ts +0 -88
- package/dist/mcp/load-balancer.d.ts.map +0 -1
- package/dist/mcp/load-balancer.js +0 -389
- package/dist/mcp/load-balancer.js.map +0 -1
- package/dist/mcp/orchestration-integration.d.ts +0 -135
- package/dist/mcp/orchestration-integration.d.ts.map +0 -1
- package/dist/mcp/orchestration-integration.js +0 -722
- package/dist/mcp/orchestration-integration.js.map +0 -1
- package/dist/mcp/performance-monitor.d.ts +0 -164
- package/dist/mcp/performance-monitor.d.ts.map +0 -1
- package/dist/mcp/performance-monitor.js +0 -478
- package/dist/mcp/performance-monitor.js.map +0 -1
- package/dist/mcp/protocol-manager.d.ts +0 -88
- package/dist/mcp/protocol-manager.d.ts.map +0 -1
- package/dist/mcp/protocol-manager.js +0 -358
- package/dist/mcp/protocol-manager.js.map +0 -1
- package/dist/mcp/recovery/connection-health-monitor.d.ts +0 -69
- package/dist/mcp/recovery/connection-health-monitor.d.ts.map +0 -1
- package/dist/mcp/recovery/connection-health-monitor.js +0 -241
- package/dist/mcp/recovery/connection-health-monitor.js.map +0 -1
- package/dist/mcp/recovery/connection-state-manager.d.ts +0 -102
- package/dist/mcp/recovery/connection-state-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/connection-state-manager.js +0 -318
- package/dist/mcp/recovery/connection-state-manager.js.map +0 -1
- package/dist/mcp/recovery/fallback-coordinator.d.ts +0 -79
- package/dist/mcp/recovery/fallback-coordinator.d.ts.map +0 -1
- package/dist/mcp/recovery/fallback-coordinator.js +0 -278
- package/dist/mcp/recovery/fallback-coordinator.js.map +0 -1
- package/dist/mcp/recovery/index.d.ts +0 -10
- package/dist/mcp/recovery/index.d.ts.map +0 -1
- package/dist/mcp/recovery/index.js +0 -10
- package/dist/mcp/recovery/index.js.map +0 -1
- package/dist/mcp/recovery/reconnection-manager.d.ts +0 -69
- package/dist/mcp/recovery/reconnection-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/reconnection-manager.js +0 -226
- package/dist/mcp/recovery/reconnection-manager.js.map +0 -1
- package/dist/mcp/recovery/recovery-manager.d.ts +0 -93
- package/dist/mcp/recovery/recovery-manager.d.ts.map +0 -1
- package/dist/mcp/recovery/recovery-manager.js +0 -250
- package/dist/mcp/recovery/recovery-manager.js.map +0 -1
- package/dist/mcp/router.d.ts +0 -54
- package/dist/mcp/router.d.ts.map +0 -1
- package/dist/mcp/router.js +0 -201
- package/dist/mcp/router.js.map +0 -1
- package/dist/mcp/ruv-swarm-tools.d.ts +0 -58
- package/dist/mcp/ruv-swarm-tools.d.ts.map +0 -1
- package/dist/mcp/ruv-swarm-tools.js +0 -518
- package/dist/mcp/ruv-swarm-tools.js.map +0 -1
- package/dist/mcp/server-with-wrapper.d.ts +0 -3
- package/dist/mcp/server-with-wrapper.d.ts.map +0 -1
- package/dist/mcp/server-with-wrapper.js +0 -36
- package/dist/mcp/server-with-wrapper.js.map +0 -1
- package/dist/mcp/server-wrapper-mode.d.ts +0 -3
- package/dist/mcp/server-wrapper-mode.d.ts.map +0 -1
- package/dist/mcp/server-wrapper-mode.js +0 -28
- package/dist/mcp/server-wrapper-mode.js.map +0 -1
- package/dist/mcp/server.d.ts +0 -75
- package/dist/mcp/server.d.ts.map +0 -1
- package/dist/mcp/server.js +0 -533
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/session-manager.d.ts +0 -60
- package/dist/mcp/session-manager.d.ts.map +0 -1
- package/dist/mcp/session-manager.js +0 -322
- package/dist/mcp/session-manager.js.map +0 -1
- package/dist/mcp/sparc-modes.d.ts +0 -12
- package/dist/mcp/sparc-modes.d.ts.map +0 -1
- package/dist/mcp/sparc-modes.js +0 -370
- package/dist/mcp/sparc-modes.js.map +0 -1
- package/dist/mcp/swarm-tools.d.ts +0 -87
- package/dist/mcp/swarm-tools.d.ts.map +0 -1
- package/dist/mcp/swarm-tools.js +0 -711
- package/dist/mcp/swarm-tools.js.map +0 -1
- package/dist/mcp/tools.d.ts +0 -145
- package/dist/mcp/tools.d.ts.map +0 -1
- package/dist/mcp/tools.js +0 -418
- package/dist/mcp/tools.js.map +0 -1
- package/dist/mcp/transports/base.d.ts +0 -22
- package/dist/mcp/transports/base.d.ts.map +0 -1
- package/dist/mcp/transports/base.js +0 -2
- package/dist/mcp/transports/base.js.map +0 -1
- package/dist/mcp/transports/http.d.ts +0 -45
- package/dist/mcp/transports/http.d.ts.map +0 -1
- package/dist/mcp/transports/http.js +0 -400
- package/dist/mcp/transports/http.js.map +0 -1
- package/dist/mcp/transports/stdio.d.ts +0 -34
- package/dist/mcp/transports/stdio.d.ts.map +0 -1
- package/dist/mcp/transports/stdio.js +0 -203
- package/dist/mcp/transports/stdio.js.map +0 -1
- package/dist/memory/advanced-memory-manager.d.ts +0 -303
- package/dist/memory/advanced-memory-manager.d.ts.map +0 -1
- package/dist/memory/advanced-memory-manager.js +0 -1458
- package/dist/memory/advanced-memory-manager.js.map +0 -1
- package/dist/memory/backends/base.d.ts +0 -21
- package/dist/memory/backends/base.d.ts.map +0 -1
- package/dist/memory/backends/base.js +0 -2
- package/dist/memory/backends/base.js.map +0 -1
- package/dist/memory/backends/markdown.d.ts +0 -32
- package/dist/memory/backends/markdown.d.ts.map +0 -1
- package/dist/memory/backends/markdown.js +0 -223
- package/dist/memory/backends/markdown.js.map +0 -1
- package/dist/memory/backends/sqlite.d.ts +0 -29
- package/dist/memory/backends/sqlite.d.ts.map +0 -1
- package/dist/memory/backends/sqlite.js +0 -272
- package/dist/memory/backends/sqlite.js.map +0 -1
- package/dist/memory/cache.d.ts +0 -65
- package/dist/memory/cache.d.ts.map +0 -1
- package/dist/memory/cache.js +0 -186
- package/dist/memory/cache.js.map +0 -1
- package/dist/memory/distributed-memory.d.ts +0 -188
- package/dist/memory/distributed-memory.d.ts.map +0 -1
- package/dist/memory/distributed-memory.js +0 -711
- package/dist/memory/distributed-memory.js.map +0 -1
- package/dist/memory/indexer.d.ts +0 -52
- package/dist/memory/indexer.d.ts.map +0 -1
- package/dist/memory/indexer.js +0 -188
- package/dist/memory/indexer.js.map +0 -1
- package/dist/memory/manager.d.ts +0 -58
- package/dist/memory/manager.d.ts.map +0 -1
- package/dist/memory/manager.js +0 -426
- package/dist/memory/manager.js.map +0 -1
- package/dist/memory/shared-memory.js +0 -656
- package/dist/memory/shared-memory.js.map +0 -1
- package/dist/memory/sqlite-store.js +0 -263
- package/dist/memory/sqlite-store.js.map +0 -1
- package/dist/memory/swarm-memory.d.ts +0 -91
- package/dist/memory/swarm-memory.d.ts.map +0 -1
- package/dist/memory/swarm-memory.js +0 -461
- package/dist/memory/swarm-memory.js.map +0 -1
- package/dist/migration/index.d.ts +0 -3
- package/dist/migration/index.d.ts.map +0 -1
- package/dist/migration/index.js +0 -166
- package/dist/migration/index.js.map +0 -1
- package/dist/migration/logger.d.ts +0 -26
- package/dist/migration/logger.d.ts.map +0 -1
- package/dist/migration/logger.js +0 -145
- package/dist/migration/logger.js.map +0 -1
- package/dist/migration/migration-analyzer.d.ts +0 -15
- package/dist/migration/migration-analyzer.d.ts.map +0 -1
- package/dist/migration/migration-analyzer.js +0 -279
- package/dist/migration/migration-analyzer.js.map +0 -1
- package/dist/migration/migration-runner.d.ts +0 -26
- package/dist/migration/migration-runner.d.ts.map +0 -1
- package/dist/migration/migration-runner.js +0 -499
- package/dist/migration/migration-runner.js.map +0 -1
- package/dist/migration/migration-validator.d.ts +0 -14
- package/dist/migration/migration-validator.d.ts.map +0 -1
- package/dist/migration/migration-validator.js +0 -313
- package/dist/migration/migration-validator.js.map +0 -1
- package/dist/migration/progress-reporter.d.ts +0 -25
- package/dist/migration/progress-reporter.d.ts.map +0 -1
- package/dist/migration/progress-reporter.js +0 -163
- package/dist/migration/progress-reporter.js.map +0 -1
- package/dist/migration/rollback-manager.d.ts +0 -21
- package/dist/migration/rollback-manager.d.ts.map +0 -1
- package/dist/migration/rollback-manager.js +0 -348
- package/dist/migration/rollback-manager.js.map +0 -1
- package/dist/migration/types.d.ts +0 -103
- package/dist/migration/types.d.ts.map +0 -1
- package/dist/migration/types.js +0 -6
- package/dist/migration/types.js.map +0 -1
- package/dist/monitoring/diagnostics.d.ts +0 -109
- package/dist/monitoring/diagnostics.d.ts.map +0 -1
- package/dist/monitoring/diagnostics.js +0 -545
- package/dist/monitoring/diagnostics.js.map +0 -1
- package/dist/monitoring/health-check.d.ts +0 -91
- package/dist/monitoring/health-check.d.ts.map +0 -1
- package/dist/monitoring/health-check.js +0 -371
- package/dist/monitoring/health-check.js.map +0 -1
- package/dist/monitoring/real-time-monitor.d.ts +0 -230
- package/dist/monitoring/real-time-monitor.d.ts.map +0 -1
- package/dist/monitoring/real-time-monitor.js +0 -839
- package/dist/monitoring/real-time-monitor.js.map +0 -1
- package/dist/resources/resource-manager.d.ts +0 -390
- package/dist/resources/resource-manager.d.ts.map +0 -1
- package/dist/resources/resource-manager.js +0 -1220
- package/dist/resources/resource-manager.js.map +0 -1
- package/dist/swarm/claude-flow-executor.d.ts +0 -28
- package/dist/swarm/claude-flow-executor.d.ts.map +0 -1
- package/dist/swarm/claude-flow-executor.js +0 -210
- package/dist/swarm/claude-flow-executor.js.map +0 -1
- package/dist/swarm/coordinator.d.ts +0 -134
- package/dist/swarm/coordinator.d.ts.map +0 -1
- package/dist/swarm/coordinator.js +0 -2607
- package/dist/swarm/coordinator.js.map +0 -1
- package/dist/swarm/direct-executor.d.ts +0 -48
- package/dist/swarm/direct-executor.d.ts.map +0 -1
- package/dist/swarm/direct-executor.js +0 -1113
- package/dist/swarm/direct-executor.js.map +0 -1
- package/dist/swarm/executor-v2.d.ts +0 -23
- package/dist/swarm/executor-v2.d.ts.map +0 -1
- package/dist/swarm/executor-v2.js +0 -320
- package/dist/swarm/executor-v2.js.map +0 -1
- package/dist/swarm/executor.d.ts +0 -117
- package/dist/swarm/executor.d.ts.map +0 -1
- package/dist/swarm/executor.js +0 -791
- package/dist/swarm/executor.js.map +0 -1
- package/dist/swarm/index.d.ts +0 -31
- package/dist/swarm/index.d.ts.map +0 -1
- package/dist/swarm/index.js +0 -42
- package/dist/swarm/index.js.map +0 -1
- package/dist/swarm/memory.d.ts +0 -176
- package/dist/swarm/memory.d.ts.map +0 -1
- package/dist/swarm/memory.js +0 -1068
- package/dist/swarm/memory.js.map +0 -1
- package/dist/swarm/optimizations/async-file-manager.d.ts +0 -49
- package/dist/swarm/optimizations/async-file-manager.d.ts.map +0 -1
- package/dist/swarm/optimizations/async-file-manager.js +0 -248
- package/dist/swarm/optimizations/async-file-manager.js.map +0 -1
- package/dist/swarm/optimizations/circular-buffer.d.ts +0 -46
- package/dist/swarm/optimizations/circular-buffer.d.ts.map +0 -1
- package/dist/swarm/optimizations/circular-buffer.js +0 -159
- package/dist/swarm/optimizations/circular-buffer.js.map +0 -1
- package/dist/swarm/optimizations/connection-pool.d.ts +0 -54
- package/dist/swarm/optimizations/connection-pool.d.ts.map +0 -1
- package/dist/swarm/optimizations/connection-pool.js +0 -227
- package/dist/swarm/optimizations/connection-pool.js.map +0 -1
- package/dist/swarm/optimizations/index.d.ts +0 -24
- package/dist/swarm/optimizations/index.d.ts.map +0 -1
- package/dist/swarm/optimizations/index.js +0 -30
- package/dist/swarm/optimizations/index.js.map +0 -1
- package/dist/swarm/optimizations/optimized-executor.d.ts +0 -109
- package/dist/swarm/optimizations/optimized-executor.d.ts.map +0 -1
- package/dist/swarm/optimizations/optimized-executor.js +0 -321
- package/dist/swarm/optimizations/optimized-executor.js.map +0 -1
- package/dist/swarm/optimizations/ttl-map.d.ts +0 -78
- package/dist/swarm/optimizations/ttl-map.d.ts.map +0 -1
- package/dist/swarm/optimizations/ttl-map.js +0 -229
- package/dist/swarm/optimizations/ttl-map.js.map +0 -1
- package/dist/swarm/prompt-cli.d.ts +0 -5
- package/dist/swarm/prompt-cli.d.ts.map +0 -1
- package/dist/swarm/prompt-cli.js +0 -256
- package/dist/swarm/prompt-cli.js.map +0 -1
- package/dist/swarm/prompt-copier-enhanced.d.ts +0 -17
- package/dist/swarm/prompt-copier-enhanced.d.ts.map +0 -1
- package/dist/swarm/prompt-copier-enhanced.js +0 -190
- package/dist/swarm/prompt-copier-enhanced.js.map +0 -1
- package/dist/swarm/prompt-copier.d.ts +0 -76
- package/dist/swarm/prompt-copier.d.ts.map +0 -1
- package/dist/swarm/prompt-copier.js +0 -380
- package/dist/swarm/prompt-copier.js.map +0 -1
- package/dist/swarm/prompt-manager.d.ts +0 -72
- package/dist/swarm/prompt-manager.d.ts.map +0 -1
- package/dist/swarm/prompt-manager.js +0 -270
- package/dist/swarm/prompt-manager.js.map +0 -1
- package/dist/swarm/prompt-utils.d.ts +0 -52
- package/dist/swarm/prompt-utils.d.ts.map +0 -1
- package/dist/swarm/prompt-utils.js +0 -265
- package/dist/swarm/prompt-utils.js.map +0 -1
- package/dist/swarm/sparc-executor.d.ts +0 -105
- package/dist/swarm/sparc-executor.d.ts.map +0 -1
- package/dist/swarm/sparc-executor.js +0 -1364
- package/dist/swarm/sparc-executor.js.map +0 -1
- package/dist/swarm/strategies/auto.d.ts +0 -57
- package/dist/swarm/strategies/auto.d.ts.map +0 -1
- package/dist/swarm/strategies/auto.js +0 -623
- package/dist/swarm/strategies/auto.js.map +0 -1
- package/dist/swarm/strategies/base.d.ts +0 -78
- package/dist/swarm/strategies/base.d.ts.map +0 -1
- package/dist/swarm/strategies/base.js +0 -108
- package/dist/swarm/strategies/base.js.map +0 -1
- package/dist/swarm/strategies/research.d.ts +0 -75
- package/dist/swarm/strategies/research.d.ts.map +0 -1
- package/dist/swarm/strategies/research.js +0 -841
- package/dist/swarm/strategies/research.js.map +0 -1
- package/dist/swarm/strategies/strategy-metrics-patch.d.ts +0 -11
- package/dist/swarm/strategies/strategy-metrics-patch.d.ts.map +0 -1
- package/dist/swarm/strategies/strategy-metrics-patch.js +0 -2
- package/dist/swarm/strategies/strategy-metrics-patch.js.map +0 -1
- package/dist/swarm/types.d.ts +0 -578
- package/dist/swarm/types.d.ts.map +0 -1
- package/dist/swarm/types.js +0 -51
- package/dist/swarm/types.js.map +0 -1
- package/dist/swarm/workers/copy-worker.d.ts +0 -2
- package/dist/swarm/workers/copy-worker.d.ts.map +0 -1
- package/dist/swarm/workers/copy-worker.js +0 -56
- package/dist/swarm/workers/copy-worker.js.map +0 -1
- package/dist/task/commands.d.ts +0 -60
- package/dist/task/commands.d.ts.map +0 -1
- package/dist/task/commands.js +0 -107
- package/dist/task/commands.js.map +0 -1
- package/dist/task/coordination.d.ts +0 -109
- package/dist/task/coordination.d.ts.map +0 -1
- package/dist/task/coordination.js +0 -629
- package/dist/task/coordination.js.map +0 -1
- package/dist/task/engine.d.ts +0 -198
- package/dist/task/engine.d.ts.map +0 -1
- package/dist/task/engine.js +0 -498
- package/dist/task/engine.js.map +0 -1
- package/dist/task/index.d.ts +0 -103
- package/dist/task/index.d.ts.map +0 -1
- package/dist/task/index.js +0 -276
- package/dist/task/index.js.map +0 -1
- package/dist/task/types.d.ts +0 -56
- package/dist/task/types.d.ts.map +0 -1
- package/dist/task/types.js +0 -2
- package/dist/task/types.js.map +0 -1
- package/dist/terminal/adapters/base.d.ts +0 -40
- package/dist/terminal/adapters/base.d.ts.map +0 -1
- package/dist/terminal/adapters/base.js +0 -5
- package/dist/terminal/adapters/base.js.map +0 -1
- package/dist/terminal/adapters/native.d.ts +0 -19
- package/dist/terminal/adapters/native.d.ts.map +0 -1
- package/dist/terminal/adapters/native.js +0 -414
- package/dist/terminal/adapters/native.js.map +0 -1
- package/dist/terminal/adapters/vscode.d.ts +0 -20
- package/dist/terminal/adapters/vscode.d.ts.map +0 -1
- package/dist/terminal/adapters/vscode.js +0 -265
- package/dist/terminal/adapters/vscode.js.map +0 -1
- package/dist/terminal/manager.d.ts +0 -59
- package/dist/terminal/manager.d.ts.map +0 -1
- package/dist/terminal/manager.js +0 -237
- package/dist/terminal/manager.js.map +0 -1
- package/dist/terminal/pool.d.ts +0 -32
- package/dist/terminal/pool.d.ts.map +0 -1
- package/dist/terminal/pool.js +0 -205
- package/dist/terminal/pool.js.map +0 -1
- package/dist/terminal/session.d.ts +0 -41
- package/dist/terminal/session.d.ts.map +0 -1
- package/dist/terminal/session.js +0 -206
- package/dist/terminal/session.js.map +0 -1
- package/dist/types/index.d.ts +0 -28
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -15
- package/dist/types/index.js.map +0 -1
- package/dist/ui/hive-dashboard.d.ts +0 -140
- package/dist/ui/hive-dashboard.d.ts.map +0 -1
- package/dist/ui/hive-dashboard.js +0 -281
- package/dist/ui/hive-dashboard.js.map +0 -1
- package/dist/utils/error-handler.d.ts +0 -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 -131
- package/dist/utils/helpers.d.ts.map +0 -1
- package/dist/utils/helpers.js +0 -447
- package/dist/utils/helpers.js.map +0 -1
- package/dist/utils/paths.d.ts +0 -4
- package/dist/utils/paths.d.ts.map +0 -1
- package/dist/utils/paths.js +0 -39
- package/dist/utils/paths.js.map +0 -1
- package/dist/utils/type-guards.d.ts +0 -117
- package/dist/utils/type-guards.d.ts.map +0 -1
- package/dist/utils/type-guards.js +0 -165
- package/dist/utils/type-guards.js.map +0 -1
- package/dist/utils/types.d.ts +0 -512
- package/dist/utils/types.d.ts.map +0 -1
- package/dist/utils/types.js +0 -37
- package/dist/utils/types.js.map +0 -1
|
@@ -1,705 +0,0 @@
|
|
|
1
|
-
// recovery-manager.js - Automated recovery procedures for common failures
|
|
2
|
-
export class RecoveryManager {
|
|
3
|
-
constructor(workingDir) {
|
|
4
|
-
this.workingDir = workingDir;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Perform automated recovery based on failure type
|
|
8
|
-
*/
|
|
9
|
-
async performRecovery(failureType, context = {}) {
|
|
10
|
-
const result = {
|
|
11
|
-
success: true,
|
|
12
|
-
errors: [],
|
|
13
|
-
warnings: [],
|
|
14
|
-
actions: []
|
|
15
|
-
};
|
|
16
|
-
try {
|
|
17
|
-
console.log(`🔧 Attempting recovery for: ${failureType}`);
|
|
18
|
-
let recoveryResult;
|
|
19
|
-
switch (failureType) {
|
|
20
|
-
case 'permission-denied':
|
|
21
|
-
recoveryResult = await this.recoverFromPermissionDenied(context);
|
|
22
|
-
break;
|
|
23
|
-
case 'disk-space':
|
|
24
|
-
recoveryResult = await this.recoverFromDiskSpace(context);
|
|
25
|
-
break;
|
|
26
|
-
case 'missing-dependencies':
|
|
27
|
-
recoveryResult = await this.recoverFromMissingDependencies(context);
|
|
28
|
-
break;
|
|
29
|
-
case 'corrupted-config':
|
|
30
|
-
recoveryResult = await this.recoverFromCorruptedConfig(context);
|
|
31
|
-
break;
|
|
32
|
-
case 'partial-initialization':
|
|
33
|
-
recoveryResult = await this.recoverFromPartialInitialization(context);
|
|
34
|
-
break;
|
|
35
|
-
case 'sparc-failure':
|
|
36
|
-
recoveryResult = await this.recoverFromSparcFailure(context);
|
|
37
|
-
break;
|
|
38
|
-
case 'executable-creation-failure':
|
|
39
|
-
recoveryResult = await this.recoverFromExecutableFailure(context);
|
|
40
|
-
break;
|
|
41
|
-
case 'memory-setup-failure':
|
|
42
|
-
recoveryResult = await this.recoverFromMemorySetupFailure(context);
|
|
43
|
-
break;
|
|
44
|
-
default:
|
|
45
|
-
recoveryResult = await this.performGenericRecovery(failureType, context);
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
result.success = recoveryResult.success;
|
|
49
|
-
result.errors.push(...recoveryResult.errors);
|
|
50
|
-
result.warnings.push(...recoveryResult.warnings);
|
|
51
|
-
result.actions.push(...recoveryResult.actions);
|
|
52
|
-
}
|
|
53
|
-
catch (error) {
|
|
54
|
-
result.success = false;
|
|
55
|
-
result.errors.push(`Recovery failed: ${error.message}`);
|
|
56
|
-
}
|
|
57
|
-
return result;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Recover from permission denied errors
|
|
61
|
-
*/
|
|
62
|
-
async recoverFromPermissionDenied(context) {
|
|
63
|
-
const result = {
|
|
64
|
-
success: true,
|
|
65
|
-
errors: [],
|
|
66
|
-
warnings: [],
|
|
67
|
-
actions: []
|
|
68
|
-
};
|
|
69
|
-
try {
|
|
70
|
-
// Try to fix permissions on the working directory
|
|
71
|
-
if (Deno.build.os !== 'windows') {
|
|
72
|
-
try {
|
|
73
|
-
const command = new Deno.Command('chmod', {
|
|
74
|
-
args: ['-R', '755', this.workingDir],
|
|
75
|
-
stdout: 'piped',
|
|
76
|
-
stderr: 'piped'
|
|
77
|
-
});
|
|
78
|
-
const { success } = await command.output();
|
|
79
|
-
if (success) {
|
|
80
|
-
result.actions.push('Fixed directory permissions');
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
result.warnings.push('Could not fix permissions automatically');
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
catch {
|
|
87
|
-
result.warnings.push('Permission fix command not available');
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
// Try to create a test file to verify permissions
|
|
91
|
-
try {
|
|
92
|
-
const testFile = `${this.workingDir}/.permission-test`;
|
|
93
|
-
await Deno.writeTextFile(testFile, 'test');
|
|
94
|
-
await Deno.remove(testFile);
|
|
95
|
-
result.actions.push('Verified write permissions restored');
|
|
96
|
-
}
|
|
97
|
-
catch {
|
|
98
|
-
result.success = false;
|
|
99
|
-
result.errors.push('Write permissions still denied');
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
catch (error) {
|
|
103
|
-
result.success = false;
|
|
104
|
-
result.errors.push(`Permission recovery failed: ${error.message}`);
|
|
105
|
-
}
|
|
106
|
-
return result;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Recover from disk space issues
|
|
110
|
-
*/
|
|
111
|
-
async recoverFromDiskSpace(context) {
|
|
112
|
-
const result = {
|
|
113
|
-
success: true,
|
|
114
|
-
errors: [],
|
|
115
|
-
warnings: [],
|
|
116
|
-
actions: []
|
|
117
|
-
};
|
|
118
|
-
try {
|
|
119
|
-
// Clean up temporary files
|
|
120
|
-
const tempCleanup = await this.cleanupTemporaryFiles();
|
|
121
|
-
result.actions.push(...tempCleanup.actions);
|
|
122
|
-
// Clean up old backups
|
|
123
|
-
const backupCleanup = await this.cleanupOldBackups();
|
|
124
|
-
result.actions.push(...backupCleanup.actions);
|
|
125
|
-
// Check available space after cleanup
|
|
126
|
-
const spaceCheck = await this.checkAvailableSpace();
|
|
127
|
-
if (spaceCheck.available > 100) { // MB
|
|
128
|
-
result.actions.push(`Freed space: ${spaceCheck.available}MB available`);
|
|
129
|
-
}
|
|
130
|
-
else {
|
|
131
|
-
result.success = false;
|
|
132
|
-
result.errors.push('Insufficient disk space even after cleanup');
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
catch (error) {
|
|
136
|
-
result.success = false;
|
|
137
|
-
result.errors.push(`Disk space recovery failed: ${error.message}`);
|
|
138
|
-
}
|
|
139
|
-
return result;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Recover from missing dependencies
|
|
143
|
-
*/
|
|
144
|
-
async recoverFromMissingDependencies(context) {
|
|
145
|
-
const result = {
|
|
146
|
-
success: true,
|
|
147
|
-
errors: [],
|
|
148
|
-
warnings: [],
|
|
149
|
-
actions: []
|
|
150
|
-
};
|
|
151
|
-
try {
|
|
152
|
-
const missingDeps = context.missingDependencies || ['node', 'npm'];
|
|
153
|
-
for (const dep of missingDeps) {
|
|
154
|
-
const installResult = await this.attemptDependencyInstallation(dep);
|
|
155
|
-
if (installResult.success) {
|
|
156
|
-
result.actions.push(`Installed/configured: ${dep}`);
|
|
157
|
-
}
|
|
158
|
-
else {
|
|
159
|
-
result.warnings.push(`Could not install ${dep}: ${installResult.error}`);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
// Verify dependencies are now available
|
|
163
|
-
const verifyResult = await this.verifyDependencies(missingDeps);
|
|
164
|
-
if (!verifyResult.allAvailable) {
|
|
165
|
-
result.success = false;
|
|
166
|
-
result.errors.push('Some dependencies still unavailable after recovery');
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
catch (error) {
|
|
170
|
-
result.success = false;
|
|
171
|
-
result.errors.push(`Dependency recovery failed: ${error.message}`);
|
|
172
|
-
}
|
|
173
|
-
return result;
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Recover from corrupted configuration
|
|
177
|
-
*/
|
|
178
|
-
async recoverFromCorruptedConfig(context) {
|
|
179
|
-
const result = {
|
|
180
|
-
success: true,
|
|
181
|
-
errors: [],
|
|
182
|
-
warnings: [],
|
|
183
|
-
actions: []
|
|
184
|
-
};
|
|
185
|
-
try {
|
|
186
|
-
const corruptedFiles = context.corruptedFiles || ['.roomodes'];
|
|
187
|
-
for (const file of corruptedFiles) {
|
|
188
|
-
const recoveryResult = await this.recoverConfigFile(file);
|
|
189
|
-
if (recoveryResult.success) {
|
|
190
|
-
result.actions.push(`Recovered config file: ${file}`);
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
result.warnings.push(`Could not recover: ${file}`);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
// Validate recovered configuration
|
|
197
|
-
const validationResult = await this.validateRecoveredConfigs(corruptedFiles);
|
|
198
|
-
if (!validationResult.valid) {
|
|
199
|
-
result.warnings.push('Some recovered configs may have issues');
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
catch (error) {
|
|
203
|
-
result.success = false;
|
|
204
|
-
result.errors.push(`Config recovery failed: ${error.message}`);
|
|
205
|
-
}
|
|
206
|
-
return result;
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Recover from partial initialization
|
|
210
|
-
*/
|
|
211
|
-
async recoverFromPartialInitialization(context) {
|
|
212
|
-
const result = {
|
|
213
|
-
success: true,
|
|
214
|
-
errors: [],
|
|
215
|
-
warnings: [],
|
|
216
|
-
actions: []
|
|
217
|
-
};
|
|
218
|
-
try {
|
|
219
|
-
// Identify what was partially completed
|
|
220
|
-
const completedItems = await this.identifyCompletedItems();
|
|
221
|
-
const missingItems = await this.identifyMissingItems();
|
|
222
|
-
result.actions.push(`Found ${completedItems.length} completed items`);
|
|
223
|
-
result.actions.push(`Found ${missingItems.length} missing items`);
|
|
224
|
-
// Complete missing items
|
|
225
|
-
for (const item of missingItems) {
|
|
226
|
-
const completionResult = await this.completeItem(item);
|
|
227
|
-
if (completionResult.success) {
|
|
228
|
-
result.actions.push(`Completed: ${item.name}`);
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
result.warnings.push(`Could not complete: ${item.name}`);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
// Verify initialization is now complete
|
|
235
|
-
const verificationResult = await this.verifyInitializationComplete();
|
|
236
|
-
if (!verificationResult.complete) {
|
|
237
|
-
result.success = false;
|
|
238
|
-
result.errors.push('Initialization still incomplete after recovery');
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
catch (error) {
|
|
242
|
-
result.success = false;
|
|
243
|
-
result.errors.push(`Partial initialization recovery failed: ${error.message}`);
|
|
244
|
-
}
|
|
245
|
-
return result;
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Recover from SPARC initialization failure
|
|
249
|
-
*/
|
|
250
|
-
async recoverFromSparcFailure(context) {
|
|
251
|
-
const result = {
|
|
252
|
-
success: true,
|
|
253
|
-
errors: [],
|
|
254
|
-
warnings: [],
|
|
255
|
-
actions: []
|
|
256
|
-
};
|
|
257
|
-
try {
|
|
258
|
-
// Try to recover .roomodes file
|
|
259
|
-
const roomodesRecovery = await this.recoverRoomodesFile();
|
|
260
|
-
if (roomodesRecovery.success) {
|
|
261
|
-
result.actions.push('Recovered .roomodes configuration');
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
result.warnings.push('Could not recover .roomodes');
|
|
265
|
-
}
|
|
266
|
-
// Try to recover .roo directory structure
|
|
267
|
-
const rooRecovery = await this.recoverRooDirectory();
|
|
268
|
-
if (rooRecovery.success) {
|
|
269
|
-
result.actions.push('Recovered .roo directory structure');
|
|
270
|
-
}
|
|
271
|
-
else {
|
|
272
|
-
result.warnings.push('Could not recover .roo directory');
|
|
273
|
-
}
|
|
274
|
-
// Try to recover SPARC commands
|
|
275
|
-
const commandsRecovery = await this.recoverSparcCommands();
|
|
276
|
-
if (commandsRecovery.success) {
|
|
277
|
-
result.actions.push('Recovered SPARC commands');
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
result.warnings.push('Could not recover SPARC commands');
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
catch (error) {
|
|
284
|
-
result.success = false;
|
|
285
|
-
result.errors.push(`SPARC recovery failed: ${error.message}`);
|
|
286
|
-
}
|
|
287
|
-
return result;
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* Recover from executable creation failure
|
|
291
|
-
*/
|
|
292
|
-
async recoverFromExecutableFailure(context) {
|
|
293
|
-
const result = {
|
|
294
|
-
success: true,
|
|
295
|
-
errors: [],
|
|
296
|
-
warnings: [],
|
|
297
|
-
actions: []
|
|
298
|
-
};
|
|
299
|
-
try {
|
|
300
|
-
// Try to recreate the executable
|
|
301
|
-
const executablePath = `${this.workingDir}/claude-flow`;
|
|
302
|
-
// Remove corrupted executable if it exists
|
|
303
|
-
try {
|
|
304
|
-
await Deno.remove(executablePath);
|
|
305
|
-
result.actions.push('Removed corrupted executable');
|
|
306
|
-
}
|
|
307
|
-
catch {
|
|
308
|
-
// File doesn't exist
|
|
309
|
-
}
|
|
310
|
-
// Recreate executable
|
|
311
|
-
const createResult = await this.createExecutableWrapper();
|
|
312
|
-
if (createResult.success) {
|
|
313
|
-
result.actions.push('Recreated claude-flow executable');
|
|
314
|
-
// Set permissions
|
|
315
|
-
if (Deno.build.os !== 'windows') {
|
|
316
|
-
try {
|
|
317
|
-
const command = new Deno.Command('chmod', {
|
|
318
|
-
args: ['+x', executablePath]
|
|
319
|
-
});
|
|
320
|
-
await command.output();
|
|
321
|
-
result.actions.push('Set executable permissions');
|
|
322
|
-
}
|
|
323
|
-
catch {
|
|
324
|
-
result.warnings.push('Could not set executable permissions');
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
else {
|
|
329
|
-
result.success = false;
|
|
330
|
-
result.errors.push('Could not recreate executable');
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
catch (error) {
|
|
334
|
-
result.success = false;
|
|
335
|
-
result.errors.push(`Executable recovery failed: ${error.message}`);
|
|
336
|
-
}
|
|
337
|
-
return result;
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* Recover from memory setup failure
|
|
341
|
-
*/
|
|
342
|
-
async recoverFromMemorySetupFailure(context) {
|
|
343
|
-
const result = {
|
|
344
|
-
success: true,
|
|
345
|
-
errors: [],
|
|
346
|
-
warnings: [],
|
|
347
|
-
actions: []
|
|
348
|
-
};
|
|
349
|
-
try {
|
|
350
|
-
// Recreate memory directory structure
|
|
351
|
-
const memoryDirs = [
|
|
352
|
-
'memory',
|
|
353
|
-
'memory/agents',
|
|
354
|
-
'memory/sessions'
|
|
355
|
-
];
|
|
356
|
-
for (const dir of memoryDirs) {
|
|
357
|
-
try {
|
|
358
|
-
await Deno.mkdir(`${this.workingDir}/${dir}`, { recursive: true });
|
|
359
|
-
result.actions.push(`Created directory: ${dir}`);
|
|
360
|
-
}
|
|
361
|
-
catch {
|
|
362
|
-
result.warnings.push(`Could not create directory: ${dir}`);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
// Recreate memory data file
|
|
366
|
-
const memoryDataPath = `${this.workingDir}/memory/claude-flow-data.json`;
|
|
367
|
-
const initialData = {
|
|
368
|
-
agents: [],
|
|
369
|
-
tasks: [],
|
|
370
|
-
lastUpdated: Date.now()
|
|
371
|
-
};
|
|
372
|
-
try {
|
|
373
|
-
await Deno.writeTextFile(memoryDataPath, JSON.stringify(initialData, null, 2));
|
|
374
|
-
result.actions.push('Recreated memory data file');
|
|
375
|
-
}
|
|
376
|
-
catch {
|
|
377
|
-
result.warnings.push('Could not recreate memory data file');
|
|
378
|
-
}
|
|
379
|
-
// Recreate README files
|
|
380
|
-
const readmeFiles = [
|
|
381
|
-
{ path: 'memory/agents/README.md', content: '# Agent Memory\n\nThis directory stores agent-specific memory data.' },
|
|
382
|
-
{ path: 'memory/sessions/README.md', content: '# Session Memory\n\nThis directory stores session-specific memory data.' }
|
|
383
|
-
];
|
|
384
|
-
for (const readme of readmeFiles) {
|
|
385
|
-
try {
|
|
386
|
-
await Deno.writeTextFile(`${this.workingDir}/${readme.path}`, readme.content);
|
|
387
|
-
result.actions.push(`Created ${readme.path}`);
|
|
388
|
-
}
|
|
389
|
-
catch {
|
|
390
|
-
result.warnings.push(`Could not create ${readme.path}`);
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
catch (error) {
|
|
395
|
-
result.success = false;
|
|
396
|
-
result.errors.push(`Memory setup recovery failed: ${error.message}`);
|
|
397
|
-
}
|
|
398
|
-
return result;
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* Generic recovery for unknown failure types
|
|
402
|
-
*/
|
|
403
|
-
async performGenericRecovery(failureType, context) {
|
|
404
|
-
const result = {
|
|
405
|
-
success: true,
|
|
406
|
-
errors: [],
|
|
407
|
-
warnings: [],
|
|
408
|
-
actions: []
|
|
409
|
-
};
|
|
410
|
-
try {
|
|
411
|
-
// Attempt common recovery procedures
|
|
412
|
-
// 1. Clean up temporary files
|
|
413
|
-
const tempCleanup = await this.cleanupTemporaryFiles();
|
|
414
|
-
result.actions.push(...tempCleanup.actions);
|
|
415
|
-
// 2. Verify basic file permissions
|
|
416
|
-
const permCheck = await this.verifyBasicPermissions();
|
|
417
|
-
if (!permCheck.adequate) {
|
|
418
|
-
result.warnings.push('Permission issues detected');
|
|
419
|
-
}
|
|
420
|
-
// 3. Check for common file conflicts
|
|
421
|
-
const conflictCheck = await this.checkForConflicts();
|
|
422
|
-
if (conflictCheck.conflicts.length > 0) {
|
|
423
|
-
result.warnings.push(`Found ${conflictCheck.conflicts.length} potential conflicts`);
|
|
424
|
-
}
|
|
425
|
-
result.actions.push(`Performed generic recovery for: ${failureType}`);
|
|
426
|
-
result.warnings.push('Generic recovery may not fully resolve the issue');
|
|
427
|
-
}
|
|
428
|
-
catch (error) {
|
|
429
|
-
result.success = false;
|
|
430
|
-
result.errors.push(`Generic recovery failed: ${error.message}`);
|
|
431
|
-
}
|
|
432
|
-
return result;
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
* Validate recovery system
|
|
436
|
-
*/
|
|
437
|
-
async validateRecoverySystem() {
|
|
438
|
-
const result = {
|
|
439
|
-
success: true,
|
|
440
|
-
errors: [],
|
|
441
|
-
warnings: []
|
|
442
|
-
};
|
|
443
|
-
try {
|
|
444
|
-
// Test recovery procedures
|
|
445
|
-
const recoveryTests = [
|
|
446
|
-
'permission-denied',
|
|
447
|
-
'disk-space',
|
|
448
|
-
'corrupted-config'
|
|
449
|
-
];
|
|
450
|
-
for (const test of recoveryTests) {
|
|
451
|
-
const testResult = await this.testRecoveryProcedure(test);
|
|
452
|
-
if (!testResult.success) {
|
|
453
|
-
result.warnings.push(`Recovery test failed: ${test}`);
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
catch (error) {
|
|
458
|
-
result.success = false;
|
|
459
|
-
result.errors.push(`Recovery system validation failed: ${error.message}`);
|
|
460
|
-
}
|
|
461
|
-
return result;
|
|
462
|
-
}
|
|
463
|
-
// Helper methods
|
|
464
|
-
async cleanupTemporaryFiles() {
|
|
465
|
-
const result = { actions: [] };
|
|
466
|
-
const tempPatterns = [
|
|
467
|
-
'*.tmp',
|
|
468
|
-
'*.temp',
|
|
469
|
-
'.claude-flow-*-test*'
|
|
470
|
-
];
|
|
471
|
-
for (const pattern of tempPatterns) {
|
|
472
|
-
try {
|
|
473
|
-
// Simple cleanup - in a real implementation, use glob matching
|
|
474
|
-
result.actions.push(`Cleaned temporary files: ${pattern}`);
|
|
475
|
-
}
|
|
476
|
-
catch {
|
|
477
|
-
// Continue with other patterns
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
return result;
|
|
481
|
-
}
|
|
482
|
-
async cleanupOldBackups() {
|
|
483
|
-
const result = { actions: [] };
|
|
484
|
-
try {
|
|
485
|
-
const backupDir = `${this.workingDir}/.claude-flow-backups`;
|
|
486
|
-
// This would normally integrate with BackupManager
|
|
487
|
-
result.actions.push('Cleaned old backups');
|
|
488
|
-
}
|
|
489
|
-
catch {
|
|
490
|
-
// Backup cleanup not critical
|
|
491
|
-
}
|
|
492
|
-
return result;
|
|
493
|
-
}
|
|
494
|
-
async checkAvailableSpace() {
|
|
495
|
-
try {
|
|
496
|
-
const command = new Deno.Command('df', {
|
|
497
|
-
args: ['-m', this.workingDir],
|
|
498
|
-
stdout: 'piped'
|
|
499
|
-
});
|
|
500
|
-
const { stdout, success } = await command.output();
|
|
501
|
-
if (success) {
|
|
502
|
-
const output = new TextDecoder().decode(stdout);
|
|
503
|
-
const lines = output.trim().split('\n');
|
|
504
|
-
if (lines.length >= 2) {
|
|
505
|
-
const parts = lines[1].split(/\s+/);
|
|
506
|
-
if (parts.length >= 4) {
|
|
507
|
-
return { available: parseInt(parts[3]) };
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
catch {
|
|
513
|
-
// Can't check space
|
|
514
|
-
}
|
|
515
|
-
return { available: 1000 }; // Assume adequate
|
|
516
|
-
}
|
|
517
|
-
async attemptDependencyInstallation(dependency) {
|
|
518
|
-
const result = {
|
|
519
|
-
success: false,
|
|
520
|
-
error: null
|
|
521
|
-
};
|
|
522
|
-
// This would contain actual dependency installation logic
|
|
523
|
-
// For now, just simulate
|
|
524
|
-
result.success = true;
|
|
525
|
-
return result;
|
|
526
|
-
}
|
|
527
|
-
async verifyDependencies(dependencies) {
|
|
528
|
-
const result = {
|
|
529
|
-
allAvailable: true,
|
|
530
|
-
missing: []
|
|
531
|
-
};
|
|
532
|
-
for (const dep of dependencies) {
|
|
533
|
-
try {
|
|
534
|
-
const command = new Deno.Command(dep, {
|
|
535
|
-
args: ['--version'],
|
|
536
|
-
stdout: 'piped',
|
|
537
|
-
stderr: 'piped'
|
|
538
|
-
});
|
|
539
|
-
const { success } = await command.output();
|
|
540
|
-
if (!success) {
|
|
541
|
-
result.allAvailable = false;
|
|
542
|
-
result.missing.push(dep);
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
catch {
|
|
546
|
-
result.allAvailable = false;
|
|
547
|
-
result.missing.push(dep);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
return result;
|
|
551
|
-
}
|
|
552
|
-
async recoverConfigFile(filename) {
|
|
553
|
-
const result = {
|
|
554
|
-
success: true
|
|
555
|
-
};
|
|
556
|
-
// This would contain config file recovery logic
|
|
557
|
-
// Generate default config based on filename
|
|
558
|
-
return result;
|
|
559
|
-
}
|
|
560
|
-
async validateRecoveredConfigs(filenames) {
|
|
561
|
-
return { valid: true };
|
|
562
|
-
}
|
|
563
|
-
async identifyCompletedItems() {
|
|
564
|
-
const items = [];
|
|
565
|
-
const checkFiles = [
|
|
566
|
-
'CLAUDE.md',
|
|
567
|
-
'memory-bank.md',
|
|
568
|
-
'coordination.md'
|
|
569
|
-
];
|
|
570
|
-
for (const file of checkFiles) {
|
|
571
|
-
try {
|
|
572
|
-
await Deno.stat(`${this.workingDir}/${file}`);
|
|
573
|
-
items.push({ name: file, type: 'file' });
|
|
574
|
-
}
|
|
575
|
-
catch {
|
|
576
|
-
// File doesn't exist
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
return items;
|
|
580
|
-
}
|
|
581
|
-
async identifyMissingItems() {
|
|
582
|
-
const missing = [];
|
|
583
|
-
const requiredFiles = [
|
|
584
|
-
'CLAUDE.md',
|
|
585
|
-
'memory-bank.md',
|
|
586
|
-
'coordination.md',
|
|
587
|
-
'claude-flow'
|
|
588
|
-
];
|
|
589
|
-
for (const file of requiredFiles) {
|
|
590
|
-
try {
|
|
591
|
-
await Deno.stat(`${this.workingDir}/${file}`);
|
|
592
|
-
}
|
|
593
|
-
catch {
|
|
594
|
-
missing.push({ name: file, type: 'file' });
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
return missing;
|
|
598
|
-
}
|
|
599
|
-
async completeItem(item) {
|
|
600
|
-
const result = {
|
|
601
|
-
success: true
|
|
602
|
-
};
|
|
603
|
-
// This would contain item completion logic based on item type
|
|
604
|
-
return result;
|
|
605
|
-
}
|
|
606
|
-
async verifyInitializationComplete() {
|
|
607
|
-
return { complete: true };
|
|
608
|
-
}
|
|
609
|
-
async recoverRoomodesFile() {
|
|
610
|
-
const result = {
|
|
611
|
-
success: true
|
|
612
|
-
};
|
|
613
|
-
// Generate basic .roomodes content
|
|
614
|
-
const basicRoomodes = {
|
|
615
|
-
version: "1.0",
|
|
616
|
-
modes: {
|
|
617
|
-
architect: {
|
|
618
|
-
description: "System design and architecture planning"
|
|
619
|
-
},
|
|
620
|
-
code: {
|
|
621
|
-
description: "Clean, modular code implementation"
|
|
622
|
-
},
|
|
623
|
-
tdd: {
|
|
624
|
-
description: "Test-driven development and testing"
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
};
|
|
628
|
-
try {
|
|
629
|
-
await Deno.writeTextFile(`${this.workingDir}/.roomodes`, JSON.stringify(basicRoomodes, null, 2));
|
|
630
|
-
}
|
|
631
|
-
catch {
|
|
632
|
-
result.success = false;
|
|
633
|
-
}
|
|
634
|
-
return result;
|
|
635
|
-
}
|
|
636
|
-
async recoverRooDirectory() {
|
|
637
|
-
const result = {
|
|
638
|
-
success: true
|
|
639
|
-
};
|
|
640
|
-
try {
|
|
641
|
-
const rooDirs = [
|
|
642
|
-
'.roo',
|
|
643
|
-
'.roo/templates',
|
|
644
|
-
'.roo/workflows',
|
|
645
|
-
'.roo/modes'
|
|
646
|
-
];
|
|
647
|
-
for (const dir of rooDirs) {
|
|
648
|
-
await Deno.mkdir(`${this.workingDir}/${dir}`, { recursive: true });
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
catch {
|
|
652
|
-
result.success = false;
|
|
653
|
-
}
|
|
654
|
-
return result;
|
|
655
|
-
}
|
|
656
|
-
async recoverSparcCommands() {
|
|
657
|
-
const result = {
|
|
658
|
-
success: true
|
|
659
|
-
};
|
|
660
|
-
// This would recreate SPARC command files
|
|
661
|
-
return result;
|
|
662
|
-
}
|
|
663
|
-
async createExecutableWrapper() {
|
|
664
|
-
const result = {
|
|
665
|
-
success: true
|
|
666
|
-
};
|
|
667
|
-
const executableContent = `#!/usr/bin/env bash
|
|
668
|
-
# Claude Flow Local Executable Wrapper
|
|
669
|
-
exec deno run --allow-all --unstable-kv --unstable-cron \\
|
|
670
|
-
"${import.meta.url.replace('file://', '').replace(/[^/]*$/, '../../../main.js')}" "$@"
|
|
671
|
-
`;
|
|
672
|
-
try {
|
|
673
|
-
await Deno.writeTextFile(`${this.workingDir}/claude-flow`, executableContent);
|
|
674
|
-
}
|
|
675
|
-
catch {
|
|
676
|
-
result.success = false;
|
|
677
|
-
}
|
|
678
|
-
return result;
|
|
679
|
-
}
|
|
680
|
-
async verifyBasicPermissions() {
|
|
681
|
-
const result = {
|
|
682
|
-
adequate: true
|
|
683
|
-
};
|
|
684
|
-
try {
|
|
685
|
-
const testFile = `${this.workingDir}/.permission-test`;
|
|
686
|
-
await Deno.writeTextFile(testFile, 'test');
|
|
687
|
-
await Deno.remove(testFile);
|
|
688
|
-
}
|
|
689
|
-
catch {
|
|
690
|
-
result.adequate = false;
|
|
691
|
-
}
|
|
692
|
-
return result;
|
|
693
|
-
}
|
|
694
|
-
async checkForConflicts() {
|
|
695
|
-
return {
|
|
696
|
-
conflicts: []
|
|
697
|
-
};
|
|
698
|
-
}
|
|
699
|
-
async testRecoveryProcedure(procedureName) {
|
|
700
|
-
return {
|
|
701
|
-
success: true
|
|
702
|
-
};
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
//# sourceMappingURL=recovery-manager.js.map
|