mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 14:36:35 +09:00
* fix(security): realpath containment in hooks_codemod; strict-majority Raft quorum hooks_codemod (#4346, CWE-59): the project-root check compared lexically resolved paths, so a symlink inside the project pointing outside it let the codemod read and rewrite files outside the root. Both the file/files[] and glob branches now also compare real paths (nearest existing ancestor for missing leaves) against realpath(projectRoot) using path.relative. RaftConsensus (#4458): quorum was floor(n * 0.66), i.e. 1 for 2- and 3-voter clusters, so the leader's self-vote accepted a proposal even after a peer rejected it. Quorum is now max(floor(n/2)+1, floor(n * threshold)). @claude-flow/swarm 3.0.2 -> 3.0.3. Fixes #4346 Fixes #4458 Co-Authored-By: RuFlo <ruv@ruv.net> * chore(swarm): 3.0.4 (3.0.3 was published without dist) Co-Authored-By: RuFlo <ruv@ruv.net> --------- Co-authored-by: r <r@x>
37 lines
686 B
JSON
37 lines
686 B
JSON
{
|
|
"name": "@claude-flow/swarm",
|
|
"version": "3.0.4",
|
|
"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"
|
|
}
|
|
}
|