nexus-agents 3.6.13 → 3.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-G45DZK5W.js → chunk-4DU2MJLV.js} +8 -11
- package/dist/chunk-4DU2MJLV.js.map +1 -0
- package/dist/{chunk-EOIQRW7A.js → chunk-G3D7AJ3C.js} +9 -2
- package/dist/chunk-G3D7AJ3C.js.map +1 -0
- package/dist/{chunk-MNQYHPWP.js → chunk-JNHHJZT3.js} +5 -2
- package/dist/chunk-JNHHJZT3.js.map +1 -0
- package/dist/chunk-KYVWCL7O.js +10 -0
- package/dist/chunk-KYVWCL7O.js.map +1 -0
- package/dist/{chunk-SQOTLTGX.js → chunk-KZJXRKAE.js} +3 -3
- package/dist/{chunk-SYR23V25.js → chunk-YSYSJICI.js} +2 -2
- package/dist/cli.js +21 -11
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-2HY2OC6W.js → consensus-vote-JGES3MKP.js} +3 -2
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/dist/{pr-reviewer-helpers-L3JGYIAM.js → pr-reviewer-helpers-SBWJ4WP6.js} +3 -2
- package/dist/{setup-command-4JDXXE7X.js → setup-command-LRV5CMBR.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-EOIQRW7A.js.map +0 -1
- package/dist/chunk-G45DZK5W.js.map +0 -1
- package/dist/chunk-MNQYHPWP.js.map +0 -1
- /package/dist/{chunk-SQOTLTGX.js.map → chunk-KZJXRKAE.js.map} +0 -0
- /package/dist/{chunk-SYR23V25.js.map → chunk-YSYSJICI.js.map} +0 -0
- /package/dist/{consensus-vote-2HY2OC6W.js.map → consensus-vote-JGES3MKP.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-L3JGYIAM.js.map → pr-reviewer-helpers-SBWJ4WP6.js.map} +0 -0
- /package/dist/{setup-command-4JDXXE7X.js.map → setup-command-LRV5CMBR.js.map} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
allOf
|
|
3
|
+
} from "./chunk-KYVWCL7O.js";
|
|
1
4
|
import {
|
|
2
5
|
computeCostDetail
|
|
3
6
|
} from "./chunk-6WRQIEKK.js";
|
|
@@ -3339,7 +3342,11 @@ var VotingProtocol = class {
|
|
|
3339
3342
|
if (session.currentRound < 3) return Promise.resolve(null);
|
|
3340
3343
|
const consensusRound = session.rounds[2];
|
|
3341
3344
|
if (!consensusRound) return Promise.resolve(null);
|
|
3342
|
-
const allVoted =
|
|
3345
|
+
const allVoted = allOf(
|
|
3346
|
+
session.committee,
|
|
3347
|
+
(agentId) => consensusRound.finalVotes.has(agentId),
|
|
3348
|
+
false
|
|
3349
|
+
);
|
|
3343
3350
|
if (!allVoted) return Promise.resolve(null);
|
|
3344
3351
|
const result = this.buildFinalResult(session);
|
|
3345
3352
|
session.finalResult = result;
|
|
@@ -6744,4 +6751,4 @@ export {
|
|
|
6744
6751
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6745
6752
|
registerConsensusVoteTool
|
|
6746
6753
|
};
|
|
6747
|
-
//# sourceMappingURL=chunk-
|
|
6754
|
+
//# sourceMappingURL=chunk-G3D7AJ3C.js.map
|