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

fix: Remove HTTPS imports from swarm-executor to fix npm compatibility

rUv4904cd3dda1f
diff --git a/package.json b/package.json
index 6fbc23946c..a80d5646a0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "claude-flow",
- "version": "1.0.54",
+ "version": "1.0.55",
"description": "Advanced AI agent orchestration system for Claude Code",
"main": "src/cli/main.ts",
"bin": {
diff --git a/src/cli/simple-cli.js b/src/cli/simple-cli.js
index c93ad2cfbd..ad52f39dd5 100644
--- a/src/cli/simple-cli.js
+++ b/src/cli/simple-cli.js
@@ -13,7 +13,7 @@ import {
} from './command-registry.js';
import { parseFlags } from './utils.js';
-const VERSION = '1.0.54';
+const VERSION = '1.0.55';
function printHelp() {
console.log(`
diff --git a/src/cli/simple-commands/swarm-executor.js b/src/cli/simple-commands/swarm-executor.js
index 796f544a14..e00d3e5ded 100644
--- a/src/cli/simple-commands/swarm-executor.js
+++ b/src/cli/simple-commands/swarm-executor.js
@@ -3,8 +3,20 @@
* Actual swarm executor that creates files
*/
-import { ensureDir } from "https://deno.land/[email protected]/fs/mod.ts";
-import { join } from "https://deno.land/[email protected]/path/mod.ts";
+// Node.js compatible imports
+import fs from 'fs';
+import path from 'path';
+
+// Polyfill for Deno's ensureDir using Node.js fs
+async function ensureDir(dirPath) {
+ try {
+ await fs.promises.mkdir(dirPath, { recursive: true });
+ } catch (error) {
+ if (error.code !== 'EEXIST') throw error;
+ }
+}
+
+const join = path.join;
export async function executeSwarm(objective, options = {}) {
const swarmId = `swarm_${Math.random().toString(36).substring(2, 11)}_${Math.random().toString(36).substring(2, 11)}`;