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

chore(release): @claude-flow/swarm 3.0.0-alpha.9 (#3452)

rUv4f66bd930f7f
diff --git a/v3/@claude-flow/swarm/package.json b/v3/@claude-flow/swarm/package.json
index a564ed7a86..df27e8bc13 100644
--- a/v3/@claude-flow/swarm/package.json
+++ b/v3/@claude-flow/swarm/package.json
@@ -1,10 +1,15 @@
{
"name": "@claude-flow/swarm",
- "version": "3.0.0-alpha.7",
+ "version": "3.0.0-alpha.9",
"type": "module",
"description": "Standalone swarm coordination - up to 100+ agents, 4 topologies, hive-mind, consensus",
"main": "dist/index.js",
"types": "dist/index.d.ts",
+ "files": [
+ "dist",
+ "README.md",
+ "MIGRATION.md"
+ ],
"exports": {
".": "./dist/index.js",
"./*": "./dist/*.js"
diff --git a/v3/@claude-flow/swarm/src/coordination/agent-registry.ts b/v3/@claude-flow/swarm/src/coordination/agent-registry.ts
index b7e5899feb..609b3477e3 100644
--- a/v3/@claude-flow/swarm/src/coordination/agent-registry.ts
+++ b/v3/@claude-flow/swarm/src/coordination/agent-registry.ts
@@ -18,13 +18,13 @@ import {
TaskId,
SwarmEvent,
EventHandler
-} from '../shared/types';
+} from '../shared/types.js';
import {
IEventBus,
agentSpawnedEvent,
agentStatusChangedEvent,
agentErrorEvent
-} from '../shared/events';
+} from '../shared/events.js';
// =============================================================================
// Agent Registry Interface
diff --git a/v3/@claude-flow/swarm/src/coordination/swarm-hub.ts b/v3/@claude-flow/swarm/src/coordination/swarm-hub.ts
index 4a7658acba..9e0cbbb21c 100644
--- a/v3/@claude-flow/swarm/src/coordination/swarm-hub.ts
+++ b/v3/@claude-flow/swarm/src/coordination/swarm-hub.ts
@@ -41,7 +41,7 @@ import {
MessageHandler,
EventHandler,
V3_PERFORMANCE_TARGETS
-} from '../shared/types';
+} from '../shared/types.js';
import {
IEventBus,
EventBus,
@@ -49,10 +49,10 @@ import {
swarmPhaseChangedEvent,
swarmMilestoneReachedEvent,
swarmErrorEvent
-} from '../shared/events';
-import { IAgentRegistry, AgentRegistry, createAgentRegistry } from './agent-registry';
-import { ITaskOrchestrator, TaskOrchestrator, TaskSpec, createTaskOrchestrator } from './task-orchestrator';
-import { UnifiedSwarmCoordinator, createUnifiedSwarmCoordinator } from '../unified-coordinator';
+} from '../shared/events.js';
+import { IAgentRegistry, AgentRegistry, createAgentRegistry } from './agent-registry.js';
+import { ITaskOrchestrator, TaskOrchestrator, TaskSpec, createTaskOrchestrator } from './task-orchestrator.js';
+import { UnifiedSwarmCoordinator, createUnifiedSwarmCoordinator } from '../unified-coordinator.js';
// =============================================================================
// Swarm Hub Interface
diff --git a/v3/@claude-flow/swarm/src/coordination/task-orchestrator.ts b/v3/@claude-flow/swarm/src/coordination/task-orchestrator.ts
index 5b7a1a61e1..b5d0415f76 100644
--- a/v3/@claude-flow/swarm/src/coordination/task-orchestrator.ts
+++ b/v3/@claude-flow/swarm/src/coordination/task-orchestrator.ts
@@ -18,7 +18,7 @@ import {
AgentDomain,
PhaseId,
SwarmEvent
-} from '../shared/types';
+} from '../shared/types.js';
import {
IEventBus,
taskCreatedEvent,
@@ -28,8 +28,8 @@ import {
taskCompletedEvent,
taskFailedEvent,
taskBlockedEvent
-} from '../shared/events';
-import { IAgentRegistry } from './agent-registry';
+} from '../shared/events.js';
+import { IAgentRegistry } from './agent-registry.js';
// =============================================================================
// Task Orchestrator Interface
diff --git a/v3/@claude-flow/swarm/src/index.ts b/v3/@claude-flow/swarm/src/index.ts
index 304b01103c..f2fbab3179 100644
--- a/v3/@claude-flow/swarm/src/index.ts
+++ b/v3/@claude-flow/swarm/src/index.ts
@@ -198,6 +198,32 @@ export type {
GossipConfig,
} from './consensus/index.js';
+// ADR-095 G2.2 — pluggable consensus transport. Re-export so consumers
+// don't have to deep-import from ./consensus/*. These were on the root
+// entry in the published 3.0.0-alpha.8 tarball; keep them there.
+export {
+ LocalTransport,
+ LocalTransportRegistry,
+ defaultLocalRegistry,
+ FederationTransport,
+ generateNodeKeyPair,
+ signMessage,
+ verifyMessage,
+ canonicalizeForSigning,
+ messageDigest,
+} from './consensus/index.js';
+
+export type {
+ ConsensusTransport,
+ ConsensusMessage,
+ ConsensusReply,
+ ConsensusMessageHandler,
+ NodeKeyPair,
+ LocalTransportOptions,
+ AgenticFlowTransportLike,
+ FederationTransportOptions,
+} from './consensus/index.js';
+
// =============================================================================
// Coordination Components
// =============================================================================
diff --git a/v3/package-lock.json b/v3/package-lock.json
index 4a60852204..78afb6613f 100644
--- a/v3/package-lock.json
+++ b/v3/package-lock.json
@@ -9380,7 +9380,7 @@
}
},
"@claude-flow/swarm": {
- "version": "3.0.0-alpha.7",
+ "version": "3.0.0-alpha.9",
"devDependencies": {
"vitest": "^4.1.0"
}