nexus-agents 3.6.1 → 3.6.3

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.
@@ -22,7 +22,7 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-354VR76H.js";
25
+ } from "./chunk-BO65VUSI.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-Z4NDPKGT.js";
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-FOXNWPYK.js");
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-LSNFK5FG.js.map
54258
+ //# sourceMappingURL=chunk-25W3CVW5.js.map
@@ -49,7 +49,7 @@ import {
49
49
  } from "./chunk-OQLFRJCW.js";
50
50
 
51
51
  // src/version.ts
52
- var VERSION = true ? "3.6.1" : "dev";
52
+ var VERSION = true ? "3.6.3" : "dev";
53
53
 
54
54
  // src/config/schemas-core.ts
55
55
  import { z } from "zod";
@@ -2303,7 +2303,7 @@ async function runDoctorFix(result) {
2303
2303
  writeLine2("\u2500".repeat(40));
2304
2304
  let fixCount = 0;
2305
2305
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2306
- const { runSetup } = await import("./setup-command-NCVUFKTQ.js");
2306
+ const { runSetup } = await import("./setup-command-FPNL5NXQ.js");
2307
2307
  const setupResult = runSetup({
2308
2308
  skipMcp: true,
2309
2309
  skipRules: true,
@@ -2416,4 +2416,4 @@ export {
2416
2416
  startStdioServer,
2417
2417
  closeServer
2418
2418
  };
2419
- //# sourceMappingURL=chunk-354VR76H.js.map
2419
+ //# sourceMappingURL=chunk-BO65VUSI.js.map
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-354VR76H.js";
11
+ } from "./chunk-BO65VUSI.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-2IQVWCGT.js.map
2004
+ //# sourceMappingURL=chunk-EGLNEVBG.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
- result.optionGate = outcome.verdict;
6278
- if (!outcome.vetoed) return;
6279
- result.result.outcome = "rejected";
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-Z4NDPKGT.js.map
6747
+ //# sourceMappingURL=chunk-NRRH254O.js.map