Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/init/index.js

rUvdaf07129e460
diff --git a/src/cli/simple-commands/init/index.js b/src/cli/simple-commands/init/index.js
index 73752e6b77..e1c85f877b 100644
--- a/src/cli/simple-commands/init/index.js
+++ b/src/cli/simple-commands/init/index.js
@@ -1583,7 +1583,11 @@ async function flowNexusMinimalInit(flags, subArgs) {
await fs.mkdir('.claude/commands/flow-nexus', { recursive: true });
// Copy Flow Nexus command files
- const sourceCommandsDir = '/workspaces/claude-code-flow/.claude/commands/flow-nexus';
+ const { fileURLToPath } = await import('url');
+ const { dirname, join } = await import('path');
+ const __filename = fileURLToPath(import.meta.url);
+ const __dirname = dirname(__filename);
+ const sourceCommandsDir = join(__dirname, '../../../../.claude/commands/flow-nexus');
try {
const commandFiles = await fs.readdir(sourceCommandsDir);
let copiedCommands = 0;
diff --git a/test-flow-nexus-flag/.claude/checkpoints/task-1757197501.json b/test-flow-nexus-flag/.claude/checkpoints/task-1757197501.json
new file mode 100644
index 0000000000..819ae02442
--- /dev/null
+++ b/test-flow-nexus-flag/.claude/checkpoints/task-1757197501.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250906-222500", "task": "@ruvnet ➜ /workspaces/flow-cloud (v0.1.109) $ npx claude-flow@alpha init --flow-nexus --force Need", "timestamp": "2025-09-06T22:25:01Z", "commit": "d2b435fd1c97c7aae759b880b1baa9d926b9ef6d", "github_release": "true"}