nexus-agents 3.6.0 → 3.6.2
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-LOS63AKL.js → chunk-BLTZBQDX.js} +4 -4
- package/dist/{chunk-Z4NDPKGT.js → chunk-NRRH254O.js} +14 -8
- package/dist/chunk-NRRH254O.js.map +1 -0
- package/dist/{chunk-4U2CQYZY.js → chunk-SSOKYTIS.js} +2 -2
- package/dist/{chunk-Y33P5D4B.js → chunk-TAIHTIMF.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +4 -4
- package/dist/{consensus-vote-FOXNWPYK.js → consensus-vote-TALT6GHT.js} +4 -2
- package/dist/{consensus-vote-types-jDyddCzg.d.ts → consensus-vote-types-BC2vWQKe.d.ts} +7 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/{setup-command-6C4RZ3ZI.js → setup-command-UQHQV3IK.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-Z4NDPKGT.js.map +0 -1
- /package/dist/{chunk-LOS63AKL.js.map → chunk-BLTZBQDX.js.map} +0 -0
- /package/dist/{chunk-4U2CQYZY.js.map → chunk-SSOKYTIS.js.map} +0 -0
- /package/dist/{chunk-Y33P5D4B.js.map → chunk-TAIHTIMF.js.map} +0 -0
- /package/dist/{consensus-vote-FOXNWPYK.js.map → consensus-vote-TALT6GHT.js.map} +0 -0
- /package/dist/{setup-command-6C4RZ3ZI.js.map → setup-command-UQHQV3IK.js.map} +0 -0
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
24
24
|
clampTaskTtl
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TAIHTIMF.js";
|
|
26
26
|
import {
|
|
27
27
|
executeExpert
|
|
28
28
|
} from "./chunk-56GTITUT.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
simulationDeniedResult,
|
|
47
47
|
toJobSummary,
|
|
48
48
|
writeJobCancelled
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-NRRH254O.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeTopicToCanonical,
|
|
52
52
|
synthesizeResearch
|
|
@@ -45878,7 +45878,7 @@ ${contextBlock}`;
|
|
|
45878
45878
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
45879
45879
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
45880
45880
|
try {
|
|
45881
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
45881
|
+
const { executeVoting } = await import("./consensus-vote-TALT6GHT.js");
|
|
45882
45882
|
const votingResult = await executeVoting(
|
|
45883
45883
|
{
|
|
45884
45884
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -54255,4 +54255,4 @@ export {
|
|
|
54255
54255
|
shutdownFeedbackSubscriber,
|
|
54256
54256
|
createEventBusBridge
|
|
54257
54257
|
};
|
|
54258
|
-
//# sourceMappingURL=chunk-
|
|
54258
|
+
//# sourceMappingURL=chunk-BLTZBQDX.js.map
|
|
@@ -4650,7 +4650,8 @@ function buildResponse(input, result, costSummary, voteRecord) {
|
|
|
4650
4650
|
approverCount: g.approverCount,
|
|
4651
4651
|
selectedCount: g.selectedCount,
|
|
4652
4652
|
unattributedApprovals: g.unattributedApprovals,
|
|
4653
|
-
thresholdMet: g.approved
|
|
4653
|
+
thresholdMet: g.approved,
|
|
4654
|
+
...g.reason !== void 0 ? { vetoReason: g.reason } : {}
|
|
4654
4655
|
};
|
|
4655
4656
|
}
|
|
4656
4657
|
applyOptionalResponseFields(response, input, result, errorCount, costSummary);
|
|
@@ -6274,12 +6275,12 @@ function applyOptionGate(input, result) {
|
|
|
6274
6275
|
optionThresholdFor(result.strategy, input.threshold),
|
|
6275
6276
|
result.result.outcome === "approved"
|
|
6276
6277
|
);
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
if (result.policyReason === void 0 && outcome.reason !== void 0) {
|
|
6281
|
-
result.policyReason = outcome.reason;
|
|
6278
|
+
if (!outcome.vetoed) {
|
|
6279
|
+
result.optionGate = outcome.verdict;
|
|
6280
|
+
return;
|
|
6282
6281
|
}
|
|
6282
|
+
result.result.outcome = "rejected";
|
|
6283
|
+
result.optionGate = outcome.reason !== void 0 ? { ...outcome.verdict, reason: outcome.reason } : outcome.verdict;
|
|
6283
6284
|
}
|
|
6284
6285
|
async function executeVotingInner(input, logger10, opts) {
|
|
6285
6286
|
const strategy = resolveStrategy(input);
|
|
@@ -6609,7 +6610,11 @@ var CONSENSUS_VOTE_OUTPUT_SCHEMA = {
|
|
|
6609
6610
|
approverCount: z10.number().int().nonnegative(),
|
|
6610
6611
|
selectedCount: z10.number().int().nonnegative(),
|
|
6611
6612
|
unattributedApprovals: z10.number().int().nonnegative(),
|
|
6612
|
-
thresholdMet: z10.boolean()
|
|
6613
|
+
thresholdMet: z10.boolean(),
|
|
6614
|
+
// #4529: present only on a veto. Declared here because a strict MCP
|
|
6615
|
+
// client rejects any property the advertised schema omits — the same
|
|
6616
|
+
// drift that made degraded-panel votes unusable before #4032.
|
|
6617
|
+
vetoReason: z10.string().max(400).optional()
|
|
6613
6618
|
}).optional()
|
|
6614
6619
|
};
|
|
6615
6620
|
var CONSENSUS_VOTE_TOOL_SCHEMA = {
|
|
@@ -6732,10 +6737,11 @@ export {
|
|
|
6732
6737
|
createPolicyFailedResult,
|
|
6733
6738
|
maybeEscalateContrarian,
|
|
6734
6739
|
executeVoting,
|
|
6740
|
+
applyOptionGate,
|
|
6735
6741
|
runConsensusForGoal,
|
|
6736
6742
|
unwrapVoteOrThrow,
|
|
6737
6743
|
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
6738
6744
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6739
6745
|
registerConsensusVoteTool
|
|
6740
6746
|
};
|
|
6741
|
-
//# sourceMappingURL=chunk-
|
|
6747
|
+
//# sourceMappingURL=chunk-NRRH254O.js.map
|