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

rUv5a3f7040cd57
diff --git a/v3/@claude-flow/cli/src/commands/doctor.ts b/v3/@claude-flow/cli/src/commands/doctor.ts
index fac998e3ef..537de486fd 100644
--- a/v3/@claude-flow/cli/src/commands/doctor.ts
+++ b/v3/@claude-flow/cli/src/commands/doctor.ts
@@ -21,13 +21,13 @@ const execAsync = promisify(exec);
*/
async function runCommand(command: string, timeoutMs: number = 5000): Promise<string> {
const { stdout } = await execAsync(command, {
- encoding: 'utf8',
+ encoding: 'utf8' as BufferEncoding,
timeout: timeoutMs,
- shell: true, // Use shell for proper PATH resolution
+ shell: process.platform === 'win32' ? 'cmd.exe' : '/bin/sh', // Use proper shell per platform
env: { ...process.env }, // Explicitly inherit full environment
windowsHide: true, // Hide window on Windows
});
- return stdout.trim();
+ return (stdout as string).trim();
}
interface HealthCheck {