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

rUvdb5426c176dc
diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.json
index 68276818bc..bdbca86f22 100644
--- a/v3/@claude-flow/cli/package.json
+++ b/v3/@claude-flow/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@claude-flow/cli",
- "version": "3.0.0-alpha.77",
+ "version": "3.0.0-alpha.78",
"type": "module",
"description": "CLI module - command parsing, prompts, output formatting",
"main": "dist/src/index.js",
diff --git a/v3/@claude-flow/cli/src/mcp-tools/progress-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/progress-tools.ts
index f7fdeea638..2871f05109 100644
--- a/v3/@claude-flow/cli/src/mcp-tools/progress-tools.ts
+++ b/v3/@claude-flow/cli/src/mcp-tools/progress-tools.ts
@@ -11,11 +11,13 @@ import { existsSync, readdirSync, readFileSync, writeFileSync, mkdirSync, statSy
import { join, basename, dirname } from 'path';
import { fileURLToPath } from 'url';
-// Get project root
+// Get project root - handles both src and dist paths
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
-const PROJECT_ROOT = join(__dirname, '../../../../..');
-const V3_DIR = join(PROJECT_ROOT, 'v3');
+// From dist/src/mcp-tools or src/mcp-tools, go up to @claude-flow/cli, then to @claude-flow, then to v3
+const CLI_ROOT = join(__dirname, '../../..');
+const V3_DIR = existsSync(join(CLI_ROOT, '..', 'memory')) ? join(CLI_ROOT, '..') : join(CLI_ROOT, '../..');
+const PROJECT_ROOT = join(V3_DIR, '..');
// Utility/service packages follow DDD differently - their services ARE the application layer
const UTILITY_PACKAGES = new Set([
diff --git a/v3/package-lock.json b/v3/package-lock.json
index 053835ee84..c5fb33878f 100644
--- a/v3/package-lock.json
+++ b/v3/package-lock.json
@@ -925,7 +925,7 @@
}
},
"@claude-flow/cli": {
- "version": "3.0.0-alpha.77",
+ "version": "3.0.0-alpha.78",
"dependencies": {
"@claude-flow/aidefence": "^3.0.2",
"@claude-flow/embeddings": "^3.0.0-alpha.12",