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

rUvf445da7eb09a
diff --git a/v3/@claude-flow/cli/src/mcp-server.ts b/v3/@claude-flow/cli/src/mcp-server.ts
index 5b1d30bf09..63b29e6d9f 100644
--- a/v3/@claude-flow/cli/src/mcp-server.ts
+++ b/v3/@claude-flow/cli/src/mcp-server.ts
@@ -530,6 +530,11 @@ export class MCPServerManager extends EventEmitter {
* Wait for server to be ready
*/
private async waitForReady(timeout = 10000): Promise<void> {
+ // For stdio transport, we're ready immediately (in-process)
+ if (this.options.transport === 'stdio') {
+ return;
+ }
+
const startTime = Date.now();
while (Date.now() - startTime < timeout) {
@@ -540,11 +545,6 @@ export class MCPServerManager extends EventEmitter {
await this.sleep(100);
}
- // For stdio, just check if process is running
- if (this.options.transport === 'stdio' && this.process && !this.process.killed) {
- return;
- }
-
throw new Error('Server failed to start within timeout');
}