Files
ruflo/v3/@claude-flow/plugin-agent-federation
ruvnet d687753cc2 fix(federation): cap agentic-flow peer to <2.0.13 (#2364)
agentic-flow@2.0.13 dropped the ./transport/loader subpath from its
exports map. The federation plugin imports
'agentic-flow/transport/loader' for loadQuicTransport, AgentMessage,
QuicTransportConfig, and WebSocketFallbackTransport. With 2.0.13
resolved, that subpath throws ERR_PACKAGE_PATH_NOT_EXPORTED.

Runtime impact is bounded — midstream-aware-loader.ts wraps the dynamic
import in try/catch and returns null on failure, so the plugin falls
back to the midstream-native path rather than crashing. But the peer
range previously said ">=2.0.12-fix.8" which silently accepted 2.0.13;
tighten to ">=2.0.12-fix.8 <2.0.13" so npm install warns about the
incompatibility instead of letting it surface as a runtime fallback.

Type imports continue to work because the devDependency is still pinned
to 2.0.12-fix.8 for typecheck.

This is the in-repo half of the fix. Upstream agentic-flow needs to
either restore ./transport/loader to its exports map (Option A in the
issue body) or publish migration notes for callers (Option B). The
peer cap will widen again once upstream resolves either way.

Closes #2364.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-06-12 08:54:25 -04:00
..

@claude-flow/plugin-agent-federation

npm version npm downloads License: MIT

Cross-installation agent federation with zero-trust security, PII-gated data flow, and compliance-grade audit trails.

Install + run

npx -y -p @claude-flow/plugin-agent-federation@latest ruflo-federation --help

Subcommands

Command Description
ruflo-federation init Initialize federation on this node (generates keypair)
ruflo-federation join <peer-url> Join a federation by connecting to a peer
ruflo-federation leave Leave the current federation
ruflo-federation peers List known peers and their trust levels
ruflo-federation peers add <node-id> Add a peer to the federation
ruflo-federation peers remove <node-id> Remove a peer
ruflo-federation status Show federation health, sessions, trust levels
ruflo-federation audit Query compliance-grade audit logs
ruflo-federation trust Manage trust scores and tiers
ruflo-federation config Show/update federation config

Configuration via .env

FEDERATION_NODE_NAME=my-node           # default: hostname
FEDERATION_BIND_HOST=0.0.0.0           # default: 0.0.0.0
FEDERATION_BIND_PORT=8443              # default: 8443
FEDERATION_TRUST_LEVEL=untrusted       # default: untrusted

Tests

325 unit tests covering audit, routing, discovery, plugin lifecycle.

npm test

License

MIT — Claude Flow Team.