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

rUv6c828115bd87
diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.json
index 61c85fb19f..af562e4ed9 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.21",
+ "version": "3.0.0-alpha.22",
"type": "module",
"description": "CLI module - command parsing, prompts, output formatting",
"main": "dist/src/index.js",
diff --git a/v3/@claude-flow/cli/src/commands/doctor.ts b/v3/@claude-flow/cli/src/commands/doctor.ts
index 38a785db66..e449e05ec2 100644
--- a/v3/@claude-flow/cli/src/commands/doctor.ts
+++ b/v3/@claude-flow/cli/src/commands/doctor.ts
@@ -9,7 +9,26 @@ import type { Command, CommandContext, CommandResult } from '../types.js';
import { output } from '../output.js';
import { existsSync, readFileSync } from 'fs';
import { join } from 'path';
-import { execSync } from 'child_process';
+import { execSync, exec } from 'child_process';
+import { promisify } from 'util';
+
+// Promisified exec with proper shell and env inheritance for cross-platform support
+const execAsync = promisify(exec);
+
+/**
+ * Execute command asynchronously with proper environment inheritance
+ * Critical for Windows where PATH may not be inherited properly
+ */
+async function runCommand(command: string, timeoutMs: number = 5000): Promise<string> {
+ const { stdout } = await execAsync(command, {
+ encoding: 'utf8',
+ timeout: timeoutMs,
+ shell: true, // Use shell for proper PATH resolution
+ env: { ...process.env }, // Explicitly inherit full environment
+ windowsHide: true, // Hide window on Windows
+ });
+ return stdout.trim();
+}
interface HealthCheck {
name: string;
diff --git a/v3/package-lock.json b/v3/package-lock.json
index 4d5e3ce961..614c47320b 100644
--- a/v3/package-lock.json
+++ b/v3/package-lock.json
@@ -121,7 +121,7 @@
}
},
"@claude-flow/cli": {
- "version": "3.0.0-alpha.21",
+ "version": "3.0.0-alpha.22",
"dependencies": {
"@claude-flow/shared": "^3.0.0-alpha.1"
},