Files
ruflo/v3/@claude-flow/swarm/package.json
T
rUv 4f66bd930f chore(release): @claude-flow/swarm 3.0.0-alpha.9 (#3452)
Ships the swarm fixes merged since alpha.8 (#3357 hierarchical leader
edges, #3378 event-driven UnifiedSwarmCoordinator wait, #3123, #3086,
#3243, #3062). The CLI does not depend on @claude-flow/swarm, so they
reach users only through this standalone publish.

Publishability fixes found while preparing the tarball:
- coordination/{agent-registry,task-orchestrator,swarm-hub}.ts used
  extensionless relative imports, so a plain `tsc` build of main
  throws ERR_MODULE_NOT_FOUND on `import('@claude-flow/swarm')`.
  Add the `.js` suffixes (the package is "type": "module").
- Restore the ADR-095 G2.2 transport re-exports on the root entry.
  alpha.8 was published from main@f8ab5a325 plus uncommitted work
  (later dacbe0ec5, never merged) that exported LocalTransport,
  FederationTransport, signMessage, etc. from the root. Without this,
  alpha.9 would silently drop 9 runtime exports alpha.8 users have.
- Add a `files` allowlist (dist, README.md, MIGRATION.md). alpha.8
  shipped src/, __tests__/, tmp.json, tsconfig.tsbuildinfo, a 1.5 MB
  ruvector.db and .claude-flow/ runtime state from a contributor's
  machine.
- Record the repo version as alpha.9 (repo was stuck at alpha.7 while
  npm had alpha.8).
2026-09-26 18:22:58 -05:00

38 lines
716 B
JSON

{
"name": "@claude-flow/swarm",
"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"
},
"scripts": {
"test": "vitest run",
"build": "tsc"
},
"devDependencies": {
"vitest": "^4.1.0"
},
"keywords": [
"swarm",
"multi-agent",
"coordination",
"consensus",
"hive-mind",
"distributed",
"ai-agents"
],
"publishConfig": {
"access": "public",
"tag": "v3alpha"
}
}