Repository navigation
chore(release): @claude-flow/swarm 3.0.0-alpha.9 (ESM-importable build, alpha.8 export parity, files allowlist) - #3452
Merged
Merged
Conversation
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 dacbe0e, 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). Co-Authored-By: claude-flow <ruv@ruv.net>
ruvnet
added a commit
that referenced
this pull request
Sep 27, 2026
…-run-gap notes Records the 2026-09-26 batch merge clearing #3330/#3350/#3352/#3357/#3385/#3395 (GitHub-verified via pull_request_read), #3378's landing via batch PR #3443 + npm publish #3452, and a new confirmed no-run gap on 2026-09-23/25/26. Appends tonight's row (#3475/#3476, ACCEPT-scoped). Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_017NSCBLZggg81jUaa8RvZV7
ruvnet
added a commit
that referenced
this pull request
Oct 9, 2026
…-run-gap notes Records the 2026-09-26 batch merge clearing #3330/#3350/#3352/#3357/#3385/#3395 (GitHub-verified via pull_request_read), #3378's landing via batch PR #3443 + npm publish #3452, and a new confirmed no-run gap on 2026-09-23/25/26. Appends tonight's row (#3475/#3476, ACCEPT-scoped). Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_017NSCBLZggg81jUaa8RvZV7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares
@claude-flow/swarm@3.0.0-alpha.9, which ships the swarm fixes merged since alpha.8: #3357 (hierarchical/centralized/hybrid leader edges), #3378 (event-drivenUnifiedSwarmCoordinatorwait, landed via #3443), #3123, #3086, #3243 and #3062.@claude-flow/clidoes not depend on@claude-flow/swarm, so these fixes reach users only through a standalone publish. No CLI re-release is needed. 3.46.0 is already live.Problems found while preparing the tarball
coordination/{agent-registry,task-orchestrator,swarm-hub}.tsused extensionless relative imports. A plaintscbuild of main throwsERR_MODULE_NOT_FOUNDonimport('@claude-flow/swarm'). This PR adds the.jssuffixes.gitHeadmain@f8ab5a325, but its tarball contains uncommitted work that was later committed as dacbe0e onfeat/hive-mind-federation-transportand never merged. That work re-exported the ADR-095 G2.2 transport API from the root entry (LocalTransport,LocalTransportRegistry,defaultLocalRegistry,FederationTransport,generateNodeKeyPair,signMessage,verifyMessage,canonicalizeForSigning,messageDigest, plus types). All of these already exist in main'sconsensus/index.ts. This PR restores the root re-export, so alpha.9's runtime export set is identical to alpha.8's.src/,__tests__/,tmp.json,tsconfig.tsbuildinfo, a 1.5 MBruvector.db, and.claude-flow/runtime state (smoke-test hive state, plus edit logs containing a contributor's local paths). None of it contained credentials. This PR addsfiles: [dist, README.md, MIGRATION.md], which takes the tarball from 209 files / 3.4 MB to 135 files / 1.1 MB.Verification (local)
rm -rf dist *.tsbuildinfo && tsc; note thatincremental+compositein the base config means a stale tsbuildinfo emits a partial dist).vitest run: 13 files, 237 tests pass.node plugins/ruflo-core/scripts/test-consensus-transport.mjs: all ADR-095 G2 checks pass.createUnifiedSwarmCoordinatorinit/shutdown works,generateNodeKeyPairworks, subpath imports resolve, and the export names diff against alpha.8 is empty.Publish plan: after merge, publish from the merge commit with dist-tags
latest/alpha/v3alpha, matching alpha.8.🤖 Generated with claude-flow