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: File edits

rUv17e4047407af
diff --git a/v3/@claude-flow/cli/src/init/executor.ts b/v3/@claude-flow/cli/src/init/executor.ts
index 9ceac5809d..869766b3cd 100644
--- a/v3/@claude-flow/cli/src/init/executor.ts
+++ b/v3/@claude-flow/cli/src/init/executor.ts
@@ -461,8 +461,8 @@ function findSourceHelpersDir(sourceBaseDir?: string): string | null {
// IMPORTANT: Check the package's own .claude/helpers directory
// This is the primary path when running as an npm package
// __dirname is typically /path/to/node_modules/@claude-flow/cli/dist/src/init
- // We need to go up 4 levels to reach the package root
- const packageRoot = path.resolve(__dirname, '..', '..', '..', '..');
+ // We need to go up 3 levels to reach the package root (dist/src/init -> dist/src -> dist -> root)
+ const packageRoot = path.resolve(__dirname, '..', '..', '..');
const packageHelpers = path.join(packageRoot, '.claude', 'helpers');
if (fs.existsSync(packageHelpers)) {
possiblePaths.unshift(packageHelpers); // Add to beginning (highest priority)