Files
ruflo/v3/@claude-flow/plugin-agent-federation/package.json
T
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

57 lines
1.2 KiB
JSON

{
"name": "@claude-flow/plugin-agent-federation",
"version": "1.0.0-alpha.16",
"description": "Cross-installation agent federation with zero-trust security, PII-gated data flow, and compliance-grade audit trails.",
"homepage": "https://github.com/ruvnet/ruflo",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"ruflo-federation": "dist/bin.js"
},
"files": [
"dist/**",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"clean": "rm -rf dist"
},
"dependencies": {
"@noble/ed25519": "^2.0.0"
},
"peerDependencies": {
"agentic-flow": ">=2.0.12-fix.8 <2.0.13",
"midstreamer": ">=0.3.1"
},
"peerDependenciesMeta": {
"agentic-flow": {
"optional": true
},
"midstreamer": {
"optional": true
}
},
"devDependencies": {
"@claude-flow/shared": "workspace:*",
"@claude-flow/security": "workspace:*",
"agentic-flow": "2.0.12-fix.8",
"typescript": "^5.4.0",
"vitest": "^4.0.16"
},
"keywords": [
"federation",
"multi-agent",
"trust",
"pii",
"security",
"audit",
"compliance"
],
"author": "Claude Flow Team",
"license": "MIT"
}