nexus-agents 8.55.4 → 8.55.5

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.
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-TR2BAA5U.js";
24
+ } from "./chunk-HPV5MGA3.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-QMGMD6JB.js";
@@ -62,7 +62,7 @@ import {
62
62
  toJobSummary,
63
63
  updateStage,
64
64
  writeJobCancelled
65
- } from "./chunk-Q5WEGTPU.js";
65
+ } from "./chunk-ASND2ASY.js";
66
66
  import {
67
67
  allOf,
68
68
  anyOf
@@ -82,7 +82,7 @@ import {
82
82
  } from "./chunk-RNWUIQTZ.js";
83
83
  import {
84
84
  withPrerequisite
85
- } from "./chunk-Q4VJJVD3.js";
85
+ } from "./chunk-WH4Y7MQR.js";
86
86
  import {
87
87
  NOOP_NOTIFIER,
88
88
  RateLimiter,
@@ -107,7 +107,7 @@ import {
107
107
  withAuditTrail,
108
108
  withProgressHeartbeat,
109
109
  wrapToolWithTimeout
110
- } from "./chunk-ITQAJLIS.js";
110
+ } from "./chunk-XJKFLVOU.js";
111
111
  import {
112
112
  createAuditTrail,
113
113
  createGraphAuditBridge,
@@ -46182,7 +46182,7 @@ function buildVotingInput(plan, config) {
46182
46182
  }
46183
46183
  async function executeSingleVote(plan, config, log) {
46184
46184
  try {
46185
- const { executeVoting } = await import("./consensus-vote-YIDFFYL6.js");
46185
+ const { executeVoting } = await import("./consensus-vote-PGLDNCK6.js");
46186
46186
  const input = buildVotingInput(plan, config);
46187
46187
  const result = await executeVoting(input, log);
46188
46188
  return parseVotingResult(result);
@@ -47980,7 +47980,7 @@ ${contextBlock}`;
47980
47980
  const strategy = config.votingStrategy ?? "higher_order";
47981
47981
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47982
47982
  try {
47983
- const { executeVoting } = await import("./consensus-vote-YIDFFYL6.js");
47983
+ const { executeVoting } = await import("./consensus-vote-PGLDNCK6.js");
47984
47984
  const votingResult = await executeVoting(
47985
47985
  {
47986
47986
  proposal: buildVoteProposal(plan, research),
@@ -57042,4 +57042,4 @@ export {
57042
57042
  startPipelineEventBridge,
57043
57043
  shutdownPipelineEventBridge
57044
57044
  };
57045
- //# sourceMappingURL=chunk-WX5Y5DVX.js.map
57045
+ //# sourceMappingURL=chunk-4E2X3YQT.js.map
@@ -25,10 +25,10 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-ITQAJLIS.js";
28
+ } from "./chunk-XJKFLVOU.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-2GRXQWHL.js";
31
+ } from "./chunk-DZJUJE2S.js";
32
32
  import {
33
33
  UNRESOLVED_MODEL_ID,
34
34
  assessPanelIndependence,
@@ -6165,9 +6165,9 @@ function recordVersion(optionTally, optionCoverage, panelCoverage, voters, ratif
6165
6165
  if (optionCoverage !== void 0) return "1.4";
6166
6166
  return optionTally !== void 0 ? "1.3" : "1.2";
6167
6167
  }
6168
- function panelCoverageOf(votes) {
6168
+ function panelCoverageOf(votes, always) {
6169
6169
  const erroredRoles = votes.filter((v) => v.source === "error").map((v) => v.role);
6170
- if (erroredRoles.length === 0) return void 0;
6170
+ if (erroredRoles.length === 0 && !always) return void 0;
6171
6171
  return {
6172
6172
  requested: votes.length,
6173
6173
  responded: votes.length - erroredRoles.length,
@@ -6203,7 +6203,7 @@ function ratificationBindings(input) {
6203
6203
  function buildVoteRecord(input) {
6204
6204
  const proposalTruncated = input.proposal.length > MAX_PROPOSAL_RECORD_CHARS ? input.proposal.slice(0, MAX_PROPOSAL_RECORD_CHARS) + "..." : input.proposal;
6205
6205
  const { optionTally, optionCoverage } = deriveOptionFields(input.votes, input.declaredOptions);
6206
- const panelCoverage = panelCoverageOf(input.votes);
6206
+ const panelCoverage = panelCoverageOf(input.votes, input.ratifiesPr !== void 0);
6207
6207
  const voters = toVoterSummaries(input.votes);
6208
6208
  const payload = {
6209
6209
  version: recordVersion(optionTally, optionCoverage, panelCoverage, voters, input.ratifiesPr),
@@ -8578,4 +8578,4 @@ export {
8578
8578
  CONSENSUS_VOTE_TOOL_SCHEMA,
8579
8579
  registerConsensusVoteTool
8580
8580
  };
8581
- //# sourceMappingURL=chunk-Q5WEGTPU.js.map
8581
+ //# sourceMappingURL=chunk-ASND2ASY.js.map