odd-flow 1.0.0 → 1.2.0
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/README.md +126 -7475
- package/bin/cli.js +2 -2
- package/package.json +12 -12
- package/v3/{@claude-flow → @odd-flow}/cli/README.md +118 -4
- package/v3/{@claude-flow → @odd-flow}/cli/bin/cli.js +4 -4
- package/v3/{@claude-flow → @odd-flow}/cli/bin/mcp-server.js +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/gguf-engine.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/gguf-engine.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/ruvllm-bridge.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/ruvllm-bridge.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-runner.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-runner.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-signing.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-signing.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/autopilot-state.d.ts +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/autopilot-state.js +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/agent-wasm.js +7 -7
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/agent.js +15 -15
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/analyze.js +52 -52
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/appliance.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/autopilot.js +4 -4
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/benchmark.js +16 -16
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/claims.js +21 -21
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/cleanup.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/cleanup.js +9 -9
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/completions.js +41 -41
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/config.js +9 -9
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/daemon.js +27 -27
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/deployment.js +20 -20
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/doctor.js +24 -24
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/embeddings.js +58 -58
- package/v3/@odd-flow/cli/dist/src/commands/escalation.d.ts +7 -0
- package/v3/@odd-flow/cli/dist/src/commands/escalation.js +115 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/guidance.js +30 -30
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/hive-mind.js +20 -20
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/hooks.js +103 -103
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/index.d.ts +3 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/index.js +20 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/init.js +49 -48
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/issues.js +6 -6
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/mcp.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/mcp.js +14 -14
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/memory.js +33 -33
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/migrate.js +28 -28
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/neural.js +35 -35
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/performance.js +13 -13
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/plugins.js +33 -33
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/process.js +36 -36
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/progress.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/progress.js +7 -7
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/providers.js +13 -13
- package/v3/@odd-flow/cli/dist/src/commands/refinery.d.ts +7 -0
- package/v3/@odd-flow/cli/dist/src/commands/refinery.js +64 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/route.js +26 -26
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/backup.js +9 -9
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/benchmark.js +4 -4
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/import.d.ts +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/import.js +11 -11
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/index.js +9 -9
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/init.js +7 -7
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/migrate.js +5 -5
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/optimize.js +7 -7
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/setup.d.ts +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/setup.js +14 -14
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/status.js +4 -4
- package/v3/@odd-flow/cli/dist/src/commands/scheduler.d.ts +7 -0
- package/v3/@odd-flow/cli/dist/src/commands/scheduler.js +86 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/security.js +22 -22
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/session.js +13 -13
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/start.js +16 -16
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/status.js +9 -9
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/swarm.js +10 -10
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/task.js +9 -9
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/transfer-store.js +17 -17
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/update.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/update.js +8 -8
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/workflow.js +13 -13
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/config-adapter.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/config-adapter.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/index.js +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/infrastructure/in-memory-repositories.d.ts +4 -4
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/claudemd-generator.js +31 -31
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/executor.js +63 -63
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/helpers-generator.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/helpers-generator.js +19 -19
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/mcp-generator.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/settings-generator.js +6 -6
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/statusline-generator.js +16 -16
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/types.d.ts +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-server.d.ts +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-server.js +15 -15
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/agent-tools.js +36 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/agentdb-tools.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/claims-tools.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/claims-tools.js +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/config-tools.js +12 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/coordination-tools.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/embeddings-tools.js +1 -1
- package/v3/@odd-flow/cli/dist/src/mcp-tools/escalation-tools.d.ts +15 -0
- package/v3/@odd-flow/cli/dist/src/mcp-tools/escalation-tools.js +153 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/hive-mind-tools.js +4 -4
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/hooks-tools.js +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/index.d.ts +3 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/index.js +4 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/memory-tools.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/neural-tools.d.ts +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/neural-tools.js +8 -8
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/performance-tools.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/progress-tools.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/progress-tools.js +8 -8
- package/v3/@odd-flow/cli/dist/src/mcp-tools/refinery-tools.d.ts +16 -0
- package/v3/@odd-flow/cli/dist/src/mcp-tools/refinery-tools.js +223 -0
- package/v3/@odd-flow/cli/dist/src/mcp-tools/scheduler-tools.d.ts +16 -0
- package/v3/@odd-flow/cli/dist/src/mcp-tools/scheduler-tools.js +72 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/security-tools.js +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/session-tools.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/swarm-tools.js +123 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/system-tools.js +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/task-tools.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/workflow-tools.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/intelligence.js +5 -5
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/memory-bridge.js +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/memory-initializer.js +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/manager.js +10 -10
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/store/discovery.js +99 -99
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/tests/demo-plugin-store.js +6 -6
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/tests/standalone-test.js +6 -6
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/tests/test-plugin-store.js +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/circuit-breaker.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/circuit-breaker.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/error-handler.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/error-handler.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/index.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/index.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/monitoring.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/monitoring.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/rate-limiter.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/rate-limiter.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/retry.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/production/retry.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/runtime/headless.d.ts +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/runtime/headless.js +3 -3
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/agent-wasm.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/agent-wasm.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/graph-analyzer.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/graph-analyzer.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/index.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/index.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/ruvllm-wasm.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/ruvllm-wasm.js +1 -1
- package/v3/@odd-flow/cli/dist/src/services/checkpoint-manager.d.ts +46 -0
- package/v3/@odd-flow/cli/dist/src/services/checkpoint-manager.js +114 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/claim-service.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/config-file-manager.js +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/container-worker-pool.js +6 -6
- package/v3/@odd-flow/cli/dist/src/services/escalation-router.d.ts +46 -0
- package/v3/@odd-flow/cli/dist/src/services/escalation-router.js +138 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/headless-worker-executor.js +2 -2
- package/v3/@odd-flow/cli/dist/src/services/refinery.d.ts +66 -0
- package/v3/@odd-flow/cli/dist/src/services/refinery.js +165 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/registry-api.js +1 -1
- package/v3/@odd-flow/cli/dist/src/services/scheduler.d.ts +66 -0
- package/v3/@odd-flow/cli/dist/src/services/scheduler.js +228 -0
- package/v3/@odd-flow/cli/dist/src/services/watchdog-deacon.d.ts +20 -0
- package/v3/@odd-flow/cli/dist/src/services/watchdog-deacon.js +52 -0
- package/v3/@odd-flow/cli/dist/src/services/watchdog-dogs.d.ts +42 -0
- package/v3/@odd-flow/cli/dist/src/services/watchdog-dogs.js +81 -0
- package/v3/@odd-flow/cli/dist/src/services/watchdog-witness.d.ts +38 -0
- package/v3/@odd-flow/cli/dist/src/services/watchdog-witness.js +57 -0
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/worker-daemon.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/worker-daemon.js +18 -18
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/worker-queue.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/suggest.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/ipfs/upload.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/ipfs/upload.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/models/seraphine.js +2 -2
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/serialization/cfp.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/storage/gcs.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/storage/gcs.js +4 -4
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/discovery.js +7 -7
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/registry.js +4 -4
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/tests/standalone-test.js +4 -4
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/test-seraphine.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/checker.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/checker.js +11 -11
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/executor.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/index.d.ts +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/index.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/rate-limiter.js +1 -1
- package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/validator.js +11 -11
- package/v3/{@claude-flow → @odd-flow}/cli/package.json +5 -5
- package/v3/{@claude-flow → @odd-flow}/shared/README.md +35 -35
- package/v3/{@claude-flow → @odd-flow}/shared/package.json +1 -1
- package/v3/README.md +55 -55
- /package/v3/{@claude-flow → @odd-flow}/cli/bin/preinstall.cjs +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-builder.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-builder.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-distribution.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-distribution.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-format.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/appliance/rvfa-format.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/benchmarks/pretrain/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/benchmarks/pretrain/index.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/agent-wasm.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/agent.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/analyze.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/appliance-advanced.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/appliance-advanced.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/appliance.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/autopilot.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/benchmark.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/claims.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/completions.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/config.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/daemon.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/deployment.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/doctor.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/embeddings.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/guidance.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/hive-mind.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/hooks.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/init.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/issues.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/memory.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/migrate.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/neural.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/performance.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/plugins.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/process.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/providers.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/route.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/backup.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/benchmark.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/init.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/migrate.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/optimize.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/ruvector/status.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/security.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/session.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/start.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/status.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/swarm.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/task.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/transfer-store.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/commands/workflow.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/infrastructure/in-memory-repositories.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/claudemd-generator.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/executor.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/index.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/mcp-generator.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/settings-generator.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/statusline-generator.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/init/types.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-client.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-client.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/agent-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/agentdb-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/analyze-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/analyze-tools.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/config-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/coordination-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/embeddings-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/hive-mind-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/hooks-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/memory-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/performance-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/security-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/session-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/swarm-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/system-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/task-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/types.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/types.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/mcp-tools/workflow-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/ewc-consolidation.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/ewc-consolidation.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/intelligence.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/memory-bridge.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/memory-initializer.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/sona-optimizer.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/memory/sona-optimizer.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/output.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/output.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/parser.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/parser.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/manager.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/store/discovery.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/store/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/store/index.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/store/search.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/store/search.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/store/types.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/store/types.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/tests/demo-plugin-store.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/tests/standalone-test.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/plugins/tests/test-plugin-store.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/prompt.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/prompt.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/ast-analyzer.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/ast-analyzer.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/coverage-router.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/coverage-router.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/coverage-tools.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/coverage-tools.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/diff-classifier.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/diff-classifier.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/enhanced-model-router.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/enhanced-model-router.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/flash-attention.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/flash-attention.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/lora-adapter.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/lora-adapter.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/model-router.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/model-router.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/moe-router.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/moe-router.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/q-learning-router.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/q-learning-router.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/semantic-router.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/semantic-router.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/vector-db.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/ruvector/vector-db.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/agentic-flow-bridge.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/agentic-flow-bridge.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/claim-service.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/config-file-manager.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/container-worker-pool.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/headless-worker-executor.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/index.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/registry-api.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/ruvector-training.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/ruvector-training.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/services/worker-queue.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/suggest.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/anonymization/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/anonymization/index.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/deploy-seraphine.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/deploy-seraphine.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/export.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/export.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/index.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/ipfs/client.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/ipfs/client.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/models/seraphine.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/serialization/cfp.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/storage/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/storage/index.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/discovery.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/download.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/download.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/index.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/index.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/publish.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/publish.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/registry.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/search.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/search.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/tests/standalone-test.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/types.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/store/types.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/test-seraphine.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/tests/test-store.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/tests/test-store.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/types.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/transfer/types.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/types.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/types.js +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/executor.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/rate-limiter.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/update/validator.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/utils/path-validation.d.ts +0 -0
- /package/v3/{@claude-flow → @odd-flow}/cli/dist/src/utils/path-validation.js +0 -0
|
@@ -20,15 +20,15 @@ async function initCodexAction(ctx, options) {
|
|
|
20
20
|
try {
|
|
21
21
|
// Dynamic import of the Codex initializer with lazy loading fallback
|
|
22
22
|
let CodexInitializer;
|
|
23
|
-
// Try multiple resolution strategies for the @
|
|
23
|
+
// Try multiple resolution strategies for the @odd-flow/codex package
|
|
24
24
|
// Use a variable to prevent TypeScript from statically resolving the optional module
|
|
25
|
-
const codexModuleId = '@
|
|
25
|
+
const codexModuleId = '@odd-flow/codex';
|
|
26
26
|
const resolutionStrategies = [
|
|
27
27
|
// Strategy 1: Direct import (works if installed as CLI dependency)
|
|
28
28
|
async () => (await import(codexModuleId)).CodexInitializer,
|
|
29
29
|
// Strategy 2: Project node_modules (works if installed in user's project)
|
|
30
30
|
async () => {
|
|
31
|
-
const projectPath = path.join(ctx.cwd, 'node_modules', '@
|
|
31
|
+
const projectPath = path.join(ctx.cwd, 'node_modules', '@odd-flow', 'codex', 'dist', 'index.js');
|
|
32
32
|
if (fs.existsSync(projectPath)) {
|
|
33
33
|
const mod = await import(`file://${projectPath}`);
|
|
34
34
|
return mod.CodexInitializer;
|
|
@@ -39,7 +39,7 @@ async function initCodexAction(ctx, options) {
|
|
|
39
39
|
async () => {
|
|
40
40
|
const { execSync } = await import('child_process');
|
|
41
41
|
const globalPath = execSync('npm root -g', { encoding: 'utf-8' }).trim();
|
|
42
|
-
const codexPath = path.join(globalPath, '@
|
|
42
|
+
const codexPath = path.join(globalPath, '@odd-flow', 'codex', 'dist', 'index.js');
|
|
43
43
|
if (fs.existsSync(codexPath)) {
|
|
44
44
|
const mod = await import(`file://${codexPath}`);
|
|
45
45
|
return mod.CodexInitializer;
|
|
@@ -58,7 +58,7 @@ async function initCodexAction(ctx, options) {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
if (!CodexInitializer) {
|
|
61
|
-
throw new Error('Cannot find module @
|
|
61
|
+
throw new Error('Cannot find module @odd-flow/codex');
|
|
62
62
|
}
|
|
63
63
|
const initializer = new CodexInitializer();
|
|
64
64
|
const result = await initializer.initialize({
|
|
@@ -118,9 +118,9 @@ async function initCodexAction(ctx, options) {
|
|
|
118
118
|
spinner.fail('Codex initialization failed');
|
|
119
119
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
120
120
|
// Handle module not found error gracefully
|
|
121
|
-
if (errorMessage.includes('Cannot find module') || errorMessage.includes('@
|
|
122
|
-
output.printError('The @
|
|
123
|
-
output.printInfo('Install it with: npm install @
|
|
121
|
+
if (errorMessage.includes('Cannot find module') || errorMessage.includes('@odd-flow/codex')) {
|
|
122
|
+
output.printError('The @odd-flow/codex package is not installed.');
|
|
123
|
+
output.printInfo('Install it with: npm install @odd-flow/codex');
|
|
124
124
|
output.writeln();
|
|
125
125
|
output.printInfo('Alternatively, copy skills manually from .claude/skills/ to .agents/skills/');
|
|
126
126
|
}
|
|
@@ -133,7 +133,7 @@ async function initCodexAction(ctx, options) {
|
|
|
133
133
|
// Check if project is already initialized
|
|
134
134
|
function isInitialized(cwd) {
|
|
135
135
|
const claudePath = path.join(cwd, '.claude', 'settings.json');
|
|
136
|
-
const claudeFlowPath = path.join(cwd, '.
|
|
136
|
+
const claudeFlowPath = path.join(cwd, '.odd-flow', 'config.yaml');
|
|
137
137
|
return {
|
|
138
138
|
claude: fs.existsSync(claudePath),
|
|
139
139
|
claudeFlow: fs.existsSync(claudeFlowPath),
|
|
@@ -161,7 +161,7 @@ const initAction = async (ctx) => {
|
|
|
161
161
|
if (initialized.claude)
|
|
162
162
|
output.printInfo(' Found: .claude/settings.json');
|
|
163
163
|
if (initialized.claudeFlow)
|
|
164
|
-
output.printInfo(' Found: .
|
|
164
|
+
output.printInfo(' Found: .odd-flow/config.yaml');
|
|
165
165
|
output.printInfo('Use --force to reinitialize');
|
|
166
166
|
if (ctx.interactive) {
|
|
167
167
|
const proceed = await confirm({
|
|
@@ -247,10 +247,10 @@ const initAction = async (ctx) => {
|
|
|
247
247
|
}
|
|
248
248
|
if (options.components.runtime) {
|
|
249
249
|
output.printBox([
|
|
250
|
-
`Config: .
|
|
251
|
-
`Data: .
|
|
252
|
-
`Logs: .
|
|
253
|
-
`Sessions: .
|
|
250
|
+
`Config: .odd-flow/config.yaml`,
|
|
251
|
+
`Data: .odd-flow/data/`,
|
|
252
|
+
`Logs: .odd-flow/logs/`,
|
|
253
|
+
`Sessions: .odd-flow/sessions/`,
|
|
254
254
|
].join('\n'), 'V3 Runtime');
|
|
255
255
|
output.writeln();
|
|
256
256
|
}
|
|
@@ -270,7 +270,7 @@ const initAction = async (ctx) => {
|
|
|
270
270
|
if (startAll) {
|
|
271
271
|
try {
|
|
272
272
|
output.writeln(output.dim(' Initializing memory database...'));
|
|
273
|
-
execSync('npx
|
|
273
|
+
execSync('npx odd-flow memory init 2>/dev/null', {
|
|
274
274
|
stdio: 'pipe',
|
|
275
275
|
cwd: ctx.cwd,
|
|
276
276
|
timeout: 30000
|
|
@@ -285,7 +285,7 @@ const initAction = async (ctx) => {
|
|
|
285
285
|
if (startDaemon) {
|
|
286
286
|
try {
|
|
287
287
|
output.writeln(output.dim(' Starting daemon...'));
|
|
288
|
-
execSync('npx
|
|
288
|
+
execSync('npx odd-flow daemon start 2>/dev/null &', {
|
|
289
289
|
stdio: 'pipe',
|
|
290
290
|
cwd: ctx.cwd,
|
|
291
291
|
timeout: 10000
|
|
@@ -300,7 +300,7 @@ const initAction = async (ctx) => {
|
|
|
300
300
|
if (startAll) {
|
|
301
301
|
try {
|
|
302
302
|
output.writeln(output.dim(' Initializing swarm...'));
|
|
303
|
-
execSync('npx
|
|
303
|
+
execSync('npx odd-flow swarm init --topology hierarchical 2>/dev/null', {
|
|
304
304
|
stdio: 'pipe',
|
|
305
305
|
cwd: ctx.cwd,
|
|
306
306
|
timeout: 30000
|
|
@@ -320,11 +320,12 @@ const initAction = async (ctx) => {
|
|
|
320
320
|
if (withEmbeddings) {
|
|
321
321
|
output.writeln();
|
|
322
322
|
output.printInfo('Initializing ONNX embedding subsystem...');
|
|
323
|
-
const {
|
|
323
|
+
const { execFileSync } = await import('child_process');
|
|
324
324
|
try {
|
|
325
|
-
|
|
325
|
+
const safeModel = String(embeddingModel).replace(/[^a-zA-Z0-9._\-\/]/g, '');
|
|
326
|
+
output.writeln(output.dim(` Model: ${safeModel}`));
|
|
326
327
|
output.writeln(output.dim(' Hyperbolic: Enabled (Poincaré ball)'));
|
|
327
|
-
|
|
328
|
+
execFileSync('npx', ['odd-flow', 'embeddings', 'init', '--model', safeModel, '--no-download', '--force'], {
|
|
328
329
|
stdio: 'pipe',
|
|
329
330
|
cwd: ctx.cwd,
|
|
330
331
|
timeout: 30000
|
|
@@ -340,10 +341,10 @@ const initAction = async (ctx) => {
|
|
|
340
341
|
// Next steps (only if not auto-starting)
|
|
341
342
|
output.writeln(output.bold('Next steps:'));
|
|
342
343
|
output.printList([
|
|
343
|
-
`Run ${output.highlight('
|
|
344
|
-
`Run ${output.highlight('
|
|
345
|
-
`Run ${output.highlight('
|
|
346
|
-
`Or use ${output.highlight('
|
|
344
|
+
`Run ${output.highlight('odd-flow daemon start')} to start background workers`,
|
|
345
|
+
`Run ${output.highlight('odd-flow memory init')} to initialize memory database`,
|
|
346
|
+
`Run ${output.highlight('odd-flow swarm init')} to initialize a swarm`,
|
|
347
|
+
`Or use ${output.highlight('odd-flow init --start-all')} to do all of the above`,
|
|
347
348
|
options.components.settings ? `Review ${output.highlight('.claude/settings.json')} for hook configurations` : '',
|
|
348
349
|
].filter(Boolean));
|
|
349
350
|
}
|
|
@@ -401,7 +402,7 @@ const wizardCommand = {
|
|
|
401
402
|
{ value: 'helpers', label: 'Helpers', hint: 'Utility scripts in .claude/helpers/', selected: true },
|
|
402
403
|
{ value: 'statusline', label: 'Statusline', hint: 'Shell statusline integration', selected: false },
|
|
403
404
|
{ value: 'mcp', label: 'MCP', hint: '.mcp.json for MCP server configuration', selected: true },
|
|
404
|
-
{ value: 'runtime', label: 'Runtime', hint: '.
|
|
405
|
+
{ value: 'runtime', label: 'Runtime', hint: '.odd-flow/ directory for V3 runtime', selected: true },
|
|
405
406
|
],
|
|
406
407
|
});
|
|
407
408
|
options.components.claudeMd = components.includes('claudeMd');
|
|
@@ -442,7 +443,7 @@ const wizardCommand = {
|
|
|
442
443
|
{ value: 'sessionStart', label: 'SessionStart', hint: 'Session initialization', selected: true },
|
|
443
444
|
{ value: 'stop', label: 'Stop', hint: 'Task completion evaluation', selected: true },
|
|
444
445
|
{ value: 'notification', label: 'Notification', hint: 'Swarm notifications', selected: true },
|
|
445
|
-
{ value: 'permissionRequest', label: 'PermissionRequest', hint: 'Auto-allow
|
|
446
|
+
{ value: 'permissionRequest', label: 'PermissionRequest', hint: 'Auto-allow odd-flow tools', selected: true },
|
|
446
447
|
],
|
|
447
448
|
});
|
|
448
449
|
options.hooks.preToolUse = hooks.includes('preToolUse');
|
|
@@ -549,7 +550,7 @@ const wizardCommand = {
|
|
|
549
550
|
output.printInfo('Initializing ONNX embedding subsystem...');
|
|
550
551
|
const { execSync } = await import('child_process');
|
|
551
552
|
try {
|
|
552
|
-
execSync(`npx
|
|
553
|
+
execSync(`npx odd-flow embeddings init --model ${embeddingModel} --no-download --force 2>/dev/null`, {
|
|
553
554
|
stdio: 'pipe',
|
|
554
555
|
cwd: ctx.cwd,
|
|
555
556
|
timeout: 30000
|
|
@@ -606,7 +607,7 @@ const checkCommand = {
|
|
|
606
607
|
claudeFlow: initialized.claudeFlow,
|
|
607
608
|
paths: {
|
|
608
609
|
claudeSettings: initialized.claude ? path.join(ctx.cwd, '.claude', 'settings.json') : null,
|
|
609
|
-
claudeFlowConfig: initialized.claudeFlow ? path.join(ctx.cwd, '.
|
|
610
|
+
claudeFlowConfig: initialized.claudeFlow ? path.join(ctx.cwd, '.odd-flow', 'config.yaml') : null,
|
|
610
611
|
},
|
|
611
612
|
};
|
|
612
613
|
if (ctx.flags.format === 'json') {
|
|
@@ -619,7 +620,7 @@ const checkCommand = {
|
|
|
619
620
|
output.printInfo(` Claude Code: .claude/settings.json`);
|
|
620
621
|
}
|
|
621
622
|
if (initialized.claudeFlow) {
|
|
622
|
-
output.printInfo(` V3 Runtime: .
|
|
623
|
+
output.printInfo(` V3 Runtime: .odd-flow/config.yaml`);
|
|
623
624
|
}
|
|
624
625
|
}
|
|
625
626
|
else {
|
|
@@ -943,25 +944,25 @@ export const initCommand = {
|
|
|
943
944
|
},
|
|
944
945
|
],
|
|
945
946
|
examples: [
|
|
946
|
-
{ command: '
|
|
947
|
-
{ command: '
|
|
948
|
-
{ command: '
|
|
949
|
-
{ command: '
|
|
950
|
-
{ command: '
|
|
951
|
-
{ command: '
|
|
952
|
-
{ command: '
|
|
953
|
-
{ command: '
|
|
954
|
-
{ command: '
|
|
955
|
-
{ command: '
|
|
956
|
-
{ command: '
|
|
957
|
-
{ command: '
|
|
958
|
-
{ command: '
|
|
959
|
-
{ command: '
|
|
960
|
-
{ command: '
|
|
961
|
-
{ command: '
|
|
962
|
-
{ command: '
|
|
963
|
-
{ command: '
|
|
964
|
-
{ command: '
|
|
947
|
+
{ command: 'odd-flow init', description: 'Initialize with default configuration' },
|
|
948
|
+
{ command: 'odd-flow init --start-all', description: 'Initialize and start daemon, memory, swarm' },
|
|
949
|
+
{ command: 'odd-flow init --start-daemon', description: 'Initialize and start daemon only' },
|
|
950
|
+
{ command: 'odd-flow init --minimal', description: 'Initialize with minimal configuration' },
|
|
951
|
+
{ command: 'odd-flow init --full', description: 'Initialize with all components' },
|
|
952
|
+
{ command: 'odd-flow init --force', description: 'Reinitialize and overwrite existing config' },
|
|
953
|
+
{ command: 'odd-flow init --only-claude', description: 'Only create Claude Code integration' },
|
|
954
|
+
{ command: 'odd-flow init --skip-claude', description: 'Only create V3 runtime' },
|
|
955
|
+
{ command: 'odd-flow init wizard', description: 'Interactive setup wizard' },
|
|
956
|
+
{ command: 'odd-flow init --with-embeddings', description: 'Initialize with ONNX embeddings' },
|
|
957
|
+
{ command: 'odd-flow init --with-embeddings --embedding-model all-mpnet-base-v2', description: 'Use larger embedding model' },
|
|
958
|
+
{ command: 'odd-flow init skills --all', description: 'Install all available skills' },
|
|
959
|
+
{ command: 'odd-flow init hooks --minimal', description: 'Create minimal hooks configuration' },
|
|
960
|
+
{ command: 'odd-flow init upgrade', description: 'Update helpers while preserving data' },
|
|
961
|
+
{ command: 'odd-flow init upgrade --settings', description: 'Update helpers and merge new settings (Agent Teams)' },
|
|
962
|
+
{ command: 'odd-flow init upgrade --verbose', description: 'Show detailed upgrade info' },
|
|
963
|
+
{ command: 'odd-flow init --codex', description: 'Initialize for OpenAI Codex (AGENTS.md)' },
|
|
964
|
+
{ command: 'odd-flow init --codex --full', description: 'Codex init with all 137+ skills' },
|
|
965
|
+
{ command: 'odd-flow init --dual', description: 'Initialize for both Claude Code and Codex' },
|
|
965
966
|
],
|
|
966
967
|
action: initAction,
|
|
967
968
|
};
|
|
@@ -498,12 +498,12 @@ export const issuesCommand = {
|
|
|
498
498
|
boardCommand,
|
|
499
499
|
],
|
|
500
500
|
examples: [
|
|
501
|
-
{ command: '
|
|
502
|
-
{ command: '
|
|
503
|
-
{ command: '
|
|
504
|
-
{ command: '
|
|
505
|
-
{ command: '
|
|
506
|
-
{ command: '
|
|
501
|
+
{ command: 'odd-flow issues list', description: 'List all claims' },
|
|
502
|
+
{ command: 'odd-flow issues claim 123 --agent coder:coder-1', description: 'Claim as agent' },
|
|
503
|
+
{ command: 'odd-flow issues handoff 123 --to agent:tester:tester-1', description: 'Handoff to tester' },
|
|
504
|
+
{ command: 'odd-flow issues stealable', description: 'List stealable' },
|
|
505
|
+
{ command: 'odd-flow issues steal 123 --agent coder:coder-2', description: 'Steal issue' },
|
|
506
|
+
{ command: 'odd-flow issues board', description: 'Visual board' },
|
|
507
507
|
],
|
|
508
508
|
action: async () => {
|
|
509
509
|
output.writeln();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* V3 CLI MCP Command
|
|
3
3
|
* MCP server control and management with real server integration
|
|
4
4
|
*
|
|
5
|
-
* @module @
|
|
5
|
+
* @module @odd-flow/cli/commands/mcp
|
|
6
6
|
* @version 3.0.0
|
|
7
7
|
*/
|
|
8
8
|
import { output } from '../output.js';
|
|
@@ -82,10 +82,10 @@ const startCommand = {
|
|
|
82
82
|
}
|
|
83
83
|
],
|
|
84
84
|
examples: [
|
|
85
|
-
{ command: '
|
|
86
|
-
{ command: '
|
|
87
|
-
{ command: '
|
|
88
|
-
{ command: '
|
|
85
|
+
{ command: 'odd-flow mcp start', description: 'Start with defaults (stdio)' },
|
|
86
|
+
{ command: 'odd-flow mcp start -p 8080 -t http', description: 'Start HTTP server' },
|
|
87
|
+
{ command: 'odd-flow mcp start -d', description: 'Start as daemon' },
|
|
88
|
+
{ command: 'odd-flow mcp start -f', description: 'Force restart (kill existing)' }
|
|
89
89
|
],
|
|
90
90
|
action: async (ctx) => {
|
|
91
91
|
const port = ctx.flags.port ?? 3000;
|
|
@@ -112,7 +112,7 @@ const startCommand = {
|
|
|
112
112
|
const health = await manager.checkHealth();
|
|
113
113
|
if (health.healthy) {
|
|
114
114
|
output.printWarning(`MCP Server already running (PID: ${existingStatus.pid})`);
|
|
115
|
-
output.writeln(output.dim('Use "
|
|
115
|
+
output.writeln(output.dim('Use "odd-flow mcp stop" to stop the server first, or use --force'));
|
|
116
116
|
return { success: false, exitCode: 1 };
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -281,7 +281,7 @@ const statusCommand = {
|
|
|
281
281
|
]
|
|
282
282
|
});
|
|
283
283
|
output.writeln();
|
|
284
|
-
output.writeln(output.dim('Run "
|
|
284
|
+
output.writeln(output.dim('Run "odd-flow mcp start" to start the server'));
|
|
285
285
|
return { success: true, data: status };
|
|
286
286
|
}
|
|
287
287
|
const displayData = [
|
|
@@ -489,7 +489,7 @@ const execCommand = {
|
|
|
489
489
|
}
|
|
490
490
|
],
|
|
491
491
|
examples: [
|
|
492
|
-
{ command: '
|
|
492
|
+
{ command: 'odd-flow mcp exec -t swarm_init -p \'{"topology":"mesh"}\'', description: 'Execute tool' }
|
|
493
493
|
],
|
|
494
494
|
action: async (ctx) => {
|
|
495
495
|
const tool = ctx.flags.tool || ctx.args[0];
|
|
@@ -687,17 +687,17 @@ export const mcpCommand = {
|
|
|
687
687
|
],
|
|
688
688
|
options: [],
|
|
689
689
|
examples: [
|
|
690
|
-
{ command: '
|
|
691
|
-
{ command: '
|
|
692
|
-
{ command: '
|
|
693
|
-
{ command: '
|
|
694
|
-
{ command: '
|
|
690
|
+
{ command: 'odd-flow mcp start', description: 'Start MCP server' },
|
|
691
|
+
{ command: 'odd-flow mcp start -t http -p 8080', description: 'Start HTTP server on port 8080' },
|
|
692
|
+
{ command: 'odd-flow mcp status', description: 'Show server status' },
|
|
693
|
+
{ command: 'odd-flow mcp tools', description: 'List tools' },
|
|
694
|
+
{ command: 'odd-flow mcp stop', description: 'Stop the server' }
|
|
695
695
|
],
|
|
696
696
|
action: async (ctx) => {
|
|
697
697
|
output.writeln();
|
|
698
698
|
output.writeln(output.bold('MCP Server Management'));
|
|
699
699
|
output.writeln();
|
|
700
|
-
output.writeln('Usage:
|
|
700
|
+
output.writeln('Usage: odd-flow mcp <subcommand> [options]');
|
|
701
701
|
output.writeln();
|
|
702
702
|
output.writeln('Subcommands:');
|
|
703
703
|
output.printList([
|
|
@@ -62,9 +62,9 @@ const storeCommand = {
|
|
|
62
62
|
}
|
|
63
63
|
],
|
|
64
64
|
examples: [
|
|
65
|
-
{ command: '
|
|
66
|
-
{ command: '
|
|
67
|
-
{ command: '
|
|
65
|
+
{ command: 'odd-flow memory store -k "api/auth" -v "JWT implementation"', description: 'Store text' },
|
|
66
|
+
{ command: 'odd-flow memory store -k "pattern/singleton" --vector', description: 'Store vector' },
|
|
67
|
+
{ command: 'odd-flow memory store -k "pattern" -v "updated" --upsert', description: 'Update existing' }
|
|
68
68
|
],
|
|
69
69
|
action: async (ctx) => {
|
|
70
70
|
const key = ctx.flags.key;
|
|
@@ -255,9 +255,9 @@ const searchCommand = {
|
|
|
255
255
|
}
|
|
256
256
|
],
|
|
257
257
|
examples: [
|
|
258
|
-
{ command: '
|
|
259
|
-
{ command: '
|
|
260
|
-
{ command: '
|
|
258
|
+
{ command: 'odd-flow memory search -q "authentication patterns"', description: 'Semantic search' },
|
|
259
|
+
{ command: 'odd-flow memory search -q "JWT" -t keyword', description: 'Keyword search' },
|
|
260
|
+
{ command: 'odd-flow memory search -q "test" --build-hnsw', description: 'Build HNSW index and search' }
|
|
261
261
|
],
|
|
262
262
|
action: async (ctx) => {
|
|
263
263
|
const query = ctx.flags.query || ctx.args[0];
|
|
@@ -325,7 +325,7 @@ const searchCommand = {
|
|
|
325
325
|
output.writeln();
|
|
326
326
|
if (results.length === 0) {
|
|
327
327
|
output.printWarning('No results found');
|
|
328
|
-
output.writeln(output.dim('Try:
|
|
328
|
+
output.writeln(output.dim('Try: odd-flow memory store -k "key" --value "data"'));
|
|
329
329
|
return { success: true, data: [] };
|
|
330
330
|
}
|
|
331
331
|
output.printTable({
|
|
@@ -402,7 +402,7 @@ const listCommand = {
|
|
|
402
402
|
output.writeln();
|
|
403
403
|
if (entries.length === 0) {
|
|
404
404
|
output.printWarning('No entries found');
|
|
405
|
-
output.printInfo('Store data:
|
|
405
|
+
output.printInfo('Store data: odd-flow memory store -k "key" --value "data"');
|
|
406
406
|
return { success: true, data: [] };
|
|
407
407
|
}
|
|
408
408
|
output.printTable({
|
|
@@ -471,9 +471,9 @@ const deleteCommand = {
|
|
|
471
471
|
}
|
|
472
472
|
],
|
|
473
473
|
examples: [
|
|
474
|
-
{ command: '
|
|
475
|
-
{ command: '
|
|
476
|
-
{ command: '
|
|
474
|
+
{ command: 'odd-flow memory delete -k "mykey"', description: 'Delete entry with default namespace' },
|
|
475
|
+
{ command: 'odd-flow memory delete -k "lesson" -n "lessons"', description: 'Delete entry from specific namespace' },
|
|
476
|
+
{ command: 'odd-flow memory delete mykey -f', description: 'Delete without confirmation' }
|
|
477
477
|
],
|
|
478
478
|
action: async (ctx) => {
|
|
479
479
|
// Support both --key flag and positional argument
|
|
@@ -704,9 +704,9 @@ const cleanupCommand = {
|
|
|
704
704
|
}
|
|
705
705
|
],
|
|
706
706
|
examples: [
|
|
707
|
-
{ command: '
|
|
708
|
-
{ command: '
|
|
709
|
-
{ command: '
|
|
707
|
+
{ command: 'odd-flow memory cleanup --dry-run', description: 'Preview cleanup' },
|
|
708
|
+
{ command: 'odd-flow memory cleanup --older-than 30d', description: 'Delete entries older than 30 days' },
|
|
709
|
+
{ command: 'odd-flow memory cleanup --expired-only', description: 'Clean expired entries' }
|
|
710
710
|
],
|
|
711
711
|
action: async (ctx) => {
|
|
712
712
|
const dryRun = ctx.flags.dryRun;
|
|
@@ -817,9 +817,9 @@ const compressCommand = {
|
|
|
817
817
|
}
|
|
818
818
|
],
|
|
819
819
|
examples: [
|
|
820
|
-
{ command: '
|
|
821
|
-
{ command: '
|
|
822
|
-
{ command: '
|
|
820
|
+
{ command: 'odd-flow memory compress', description: 'Balanced compression' },
|
|
821
|
+
{ command: 'odd-flow memory compress --quantize --bits 4', description: '4-bit quantization (32x reduction)' },
|
|
822
|
+
{ command: 'odd-flow memory compress -l max -t vectors', description: 'Max compression on vectors' }
|
|
823
823
|
],
|
|
824
824
|
action: async (ctx) => {
|
|
825
825
|
const level = ctx.flags.level || 'balanced';
|
|
@@ -927,8 +927,8 @@ const exportCommand = {
|
|
|
927
927
|
}
|
|
928
928
|
],
|
|
929
929
|
examples: [
|
|
930
|
-
{ command: '
|
|
931
|
-
{ command: '
|
|
930
|
+
{ command: 'odd-flow memory export -o ./backup.json', description: 'Export all to JSON' },
|
|
931
|
+
{ command: 'odd-flow memory export -o ./data.csv -f csv', description: 'Export to CSV' }
|
|
932
932
|
],
|
|
933
933
|
action: async (ctx) => {
|
|
934
934
|
const outputPath = ctx.flags.output;
|
|
@@ -992,8 +992,8 @@ const importCommand = {
|
|
|
992
992
|
}
|
|
993
993
|
],
|
|
994
994
|
examples: [
|
|
995
|
-
{ command: '
|
|
996
|
-
{ command: '
|
|
995
|
+
{ command: 'odd-flow memory import -i ./backup.json', description: 'Import from file' },
|
|
996
|
+
{ command: 'odd-flow memory import -i ./data.json -n archive', description: 'Import to namespace' }
|
|
997
997
|
],
|
|
998
998
|
action: async (ctx) => {
|
|
999
999
|
const inputPath = ctx.flags.input || ctx.args[0];
|
|
@@ -1074,10 +1074,10 @@ const initMemoryCommand = {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
],
|
|
1076
1076
|
examples: [
|
|
1077
|
-
{ command: '
|
|
1078
|
-
{ command: '
|
|
1079
|
-
{ command: '
|
|
1080
|
-
{ command: '
|
|
1077
|
+
{ command: 'odd-flow memory init', description: 'Initialize hybrid backend with all features' },
|
|
1078
|
+
{ command: 'odd-flow memory init -b agentdb', description: 'Initialize AgentDB backend' },
|
|
1079
|
+
{ command: 'odd-flow memory init -p ./data/memory.db --force', description: 'Reinitialize at custom path' },
|
|
1080
|
+
{ command: 'odd-flow memory init --verbose --verify', description: 'Initialize with full verification' }
|
|
1081
1081
|
],
|
|
1082
1082
|
action: async (ctx) => {
|
|
1083
1083
|
const backend = ctx.flags.backend || 'hybrid';
|
|
@@ -1223,10 +1223,10 @@ const initMemoryCommand = {
|
|
|
1223
1223
|
// Show next steps
|
|
1224
1224
|
output.writeln(output.bold('Next Steps:'));
|
|
1225
1225
|
output.printList([
|
|
1226
|
-
`Store data: ${output.highlight('
|
|
1227
|
-
`Search: ${output.highlight('
|
|
1228
|
-
`Train patterns: ${output.highlight('
|
|
1229
|
-
`View stats: ${output.highlight('
|
|
1226
|
+
`Store data: ${output.highlight('odd-flow memory store -k "key" --value "data"')}`,
|
|
1227
|
+
`Search: ${output.highlight('odd-flow memory search -q "query"')}`,
|
|
1228
|
+
`Train patterns: ${output.highlight('odd-flow neural train -p coordination')}`,
|
|
1229
|
+
`View stats: ${output.highlight('odd-flow memory stats')}`
|
|
1230
1230
|
]);
|
|
1231
1231
|
// Also sync to .claude directory
|
|
1232
1232
|
const fs = await import('fs');
|
|
@@ -1267,15 +1267,15 @@ export const memoryCommand = {
|
|
|
1267
1267
|
subcommands: [initMemoryCommand, storeCommand, retrieveCommand, searchCommand, listCommand, deleteCommand, statsCommand, configureCommand, cleanupCommand, compressCommand, exportCommand, importCommand],
|
|
1268
1268
|
options: [],
|
|
1269
1269
|
examples: [
|
|
1270
|
-
{ command: '
|
|
1271
|
-
{ command: '
|
|
1272
|
-
{ command: '
|
|
1270
|
+
{ command: 'odd-flow memory store -k "key" -v "value"', description: 'Store data' },
|
|
1271
|
+
{ command: 'odd-flow memory search -q "auth patterns"', description: 'Search memory' },
|
|
1272
|
+
{ command: 'odd-flow memory stats', description: 'Show statistics' }
|
|
1273
1273
|
],
|
|
1274
1274
|
action: async (ctx) => {
|
|
1275
1275
|
output.writeln();
|
|
1276
1276
|
output.writeln(output.bold('Memory Management Commands'));
|
|
1277
1277
|
output.writeln();
|
|
1278
|
-
output.writeln('Usage:
|
|
1278
|
+
output.writeln('Usage: odd-flow memory <subcommand> [options]');
|
|
1279
1279
|
output.writeln();
|
|
1280
1280
|
output.writeln('Subcommands:');
|
|
1281
1281
|
output.printList([
|