🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Fix ruflo Windows crash: use pathToFileURL for ESM imports (#1165)
rUv7a05f5b159ee
diff --git a/package.json b/package.jsonindex 358c06de05..6366b50ede 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "claude-flow",- "version": "3.1.0-alpha.43",+ "version": "3.1.0-alpha.44","description": "Enterprise AI agent orchestration for Claude Code - Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration","main": "dist/index.js","type": "module",diff --git a/ruflo/bin/ruflo.js b/ruflo/bin/ruflo.jsindex e6748f6fe2..4d0e7e3689 100755--- a/ruflo/bin/ruflo.js+++ b/ruflo/bin/ruflo.js@@ -1,6 +1,6 @@#!/usr/bin/env node// Ruflo CLI - thin wrapper around @claude-flow/cli with ruflo branding-import { fileURLToPath } from 'node:url';+import { fileURLToPath, pathToFileURL } from 'node:url';import { dirname, resolve, join } from 'node:path';import { existsSync } from 'node:fs';@@ -19,6 +19,11 @@ function findCliPath() {return null;}+// Convert path to file:// URL for cross-platform ESM import (Windows requires this)+function toImportURL(filePath) {+ return pathToFileURL(filePath).href;+}+const pkgDir = findCliPath();const cliBase = pkgDir? join(pkgDir, 'node_modules', '@claude-flow', 'cli')@@ -30,10 +35,10 @@ const isExplicitMCP = cliArgs.length >= 1 && cliArgs[0] === 'mcp' && (cliArgs.leconst isMCPMode = !process.stdin.isTTY && (process.argv.length === 2 || isExplicitMCP);if (isMCPMode) {- await import(join(cliBase, 'bin', 'cli.js'));+ await import(toImportURL(join(cliBase, 'bin', 'cli.js')));} else {// CLI mode: use ruflo branding- const { CLI } = await import(join(cliBase, 'dist', 'src', 'index.js'));+ const { CLI } = await import(toImportURL(join(cliBase, 'dist', 'src', 'index.js')));const cli = new CLI({name: 'ruflo',description: 'Ruflo - AI Agent Orchestration Platform',diff --git a/ruflo/package.json b/ruflo/package.jsonindex cb143a9372..631c600fcd 100644--- a/ruflo/package.json+++ b/ruflo/package.json@@ -1,6 +1,6 @@{"name": "ruflo",- "version": "3.1.0-alpha.43",+ "version": "3.1.0-alpha.44","description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration","main": "bin/ruflo.js","type": "module",diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.jsonindex ab81747d9a..5fdfaa277d 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.1.0-alpha.43",+ "version": "3.1.0-alpha.44","type": "module","description": "Claude Flow CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code","main": "dist/src/index.js",