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

rUv1efed7155b56
diff --git a/v3/@claude-flow/cli/src/services/container-worker-pool.ts b/v3/@claude-flow/cli/src/services/container-worker-pool.ts
index 91fad5f383..89d2948b79 100644
--- a/v3/@claude-flow/cli/src/services/container-worker-pool.ts
+++ b/v3/@claude-flow/cli/src/services/container-worker-pool.ts
@@ -356,16 +356,16 @@ export class ContainerWorkerPool extends EventEmitter {
}
/**
- * Ensure the container image exists
+ * Ensure the container image exists (async)
*/
private async ensureImage(): Promise<void> {
try {
- execSync(`docker image inspect ${this.config.image}`, { stdio: 'pipe' });
+ await execAsync(`docker image inspect ${this.config.image}`, { timeout: 10000 });
} catch {
// Image not found, try to pull
this.emit('imagePull', { image: this.config.image });
try {
- execSync(`docker pull ${this.config.image}`, { stdio: 'pipe', timeout: 300000 });
+ await execAsync(`docker pull ${this.config.image}`, { timeout: 300000 });
} catch (error) {
this.emit('warning', { message: `Failed to pull image: ${error}` });
// Continue anyway - might work with local image