nexus-agents 8.15.0 → 8.15.1
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-VA3SFFJJ.js → chunk-3RZE42WN.js} +7 -4
- package/dist/chunk-3RZE42WN.js.map +1 -0
- package/dist/{chunk-MWTWTKZI.js → chunk-GJDFL7LP.js} +6 -6
- package/dist/{chunk-XC2J6JRK.js → chunk-MTJ7LRGT.js} +2 -2
- package/dist/{chunk-ZK3MZC3S.js → chunk-NCQRTPC7.js} +2 -2
- package/dist/chunk-PQ3W4EXO.js +7 -0
- package/dist/{chunk-YIEYSK7C.js → chunk-UM7R2FOU.js} +3 -3
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-VLC2HYHE.js → consensus-vote-JQNE5WGG.js} +4 -4
- package/dist/{improvement-review-6EHC277W.js → improvement-review-ZSY5YHCV.js} +4 -4
- package/dist/index.js +7 -7
- package/dist/{setup-data-dir-TKHEMIER.js → setup-data-dir-HV3W2TCE.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-DPPOV7OE.js +0 -7
- package/dist/chunk-VA3SFFJJ.js.map +0 -1
- /package/dist/{chunk-MWTWTKZI.js.map → chunk-GJDFL7LP.js.map} +0 -0
- /package/dist/{chunk-XC2J6JRK.js.map → chunk-MTJ7LRGT.js.map} +0 -0
- /package/dist/{chunk-ZK3MZC3S.js.map → chunk-NCQRTPC7.js.map} +0 -0
- /package/dist/{chunk-DPPOV7OE.js.map → chunk-PQ3W4EXO.js.map} +0 -0
- /package/dist/{chunk-YIEYSK7C.js.map → chunk-UM7R2FOU.js.map} +0 -0
- /package/dist/{consensus-vote-VLC2HYHE.js.map → consensus-vote-JQNE5WGG.js.map} +0 -0
- /package/dist/{improvement-review-6EHC277W.js.map → improvement-review-ZSY5YHCV.js.map} +0 -0
- /package/dist/{setup-data-dir-TKHEMIER.js.map → setup-data-dir-HV3W2TCE.js.map} +0 -0
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MTJ7LRGT.js";
|
|
27
27
|
import {
|
|
28
28
|
VERSION
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PQ3W4EXO.js";
|
|
30
30
|
import {
|
|
31
31
|
assessPanelIndependence,
|
|
32
32
|
countDistinctModels,
|
|
@@ -6464,9 +6464,13 @@ async function maybeEscalateContrarian(input, outcome, ctx, logger10, opts) {
|
|
|
6464
6464
|
}
|
|
6465
6465
|
async function executeVoting(input, logger10, opts) {
|
|
6466
6466
|
const result = await executeVotingInner(input, logger10, opts ?? {});
|
|
6467
|
+
const correlationAlreadyRecorded = result.decision !== void 0;
|
|
6467
6468
|
const errorCount = result.votes.filter((v) => v.source === "error").length;
|
|
6468
6469
|
applyOptionGate(input, result);
|
|
6469
6470
|
result.decision = resolveVoteDecision(input, result, errorCount).decision;
|
|
6471
|
+
if (!correlationAlreadyRecorded && (result.decision === "approved" || result.decision === "rejected")) {
|
|
6472
|
+
recordVotesToTracker(result.votes, result.decision, logger10);
|
|
6473
|
+
}
|
|
6470
6474
|
return result;
|
|
6471
6475
|
}
|
|
6472
6476
|
function applyOptionGate(input, result) {
|
|
@@ -6530,7 +6534,6 @@ async function executeVotingInner(input, logger10, opts) {
|
|
|
6530
6534
|
log: logger10
|
|
6531
6535
|
}
|
|
6532
6536
|
);
|
|
6533
|
-
recordVotesToTracker(votes, outcome, logger10);
|
|
6534
6537
|
const escalation = await maybeEscalateContrarian(
|
|
6535
6538
|
input,
|
|
6536
6539
|
outcome,
|
|
@@ -6974,4 +6977,4 @@ export {
|
|
|
6974
6977
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6975
6978
|
registerConsensusVoteTool
|
|
6976
6979
|
};
|
|
6977
|
-
//# sourceMappingURL=chunk-
|
|
6980
|
+
//# sourceMappingURL=chunk-3RZE42WN.js.map
|