nexus-agents 8.122.1 → 8.122.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.
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // src/version.ts
6
6
  import semver from "semver";
7
- var VERSION = true ? "8.122.1" : "dev";
7
+ var VERSION = true ? "8.122.3" : "dev";
8
8
  var NODE_ENGINE_RANGE = ">=22.5.0";
9
9
  function isNodeVersionSupported(version) {
10
10
  return semver.satisfies(version, NODE_ENGINE_RANGE);
@@ -106,4 +106,4 @@ export {
106
106
  contextForLogging,
107
107
  measuredTrustTier
108
108
  };
109
- //# sourceMappingURL=chunk-KQZTTSNI.js.map
109
+ //# sourceMappingURL=chunk-4SZQYMMO.js.map
@@ -19,10 +19,10 @@ import {
19
19
  toolSuccessStructured,
20
20
  withProgressHeartbeat,
21
21
  wrapToolWithTimeout
22
- } from "./chunk-NRK7Q5UB.js";
22
+ } from "./chunk-LDKIDJQM.js";
23
23
  import {
24
24
  VERSION
25
- } from "./chunk-KQZTTSNI.js";
25
+ } from "./chunk-4SZQYMMO.js";
26
26
  import {
27
27
  allOf
28
28
  } from "./chunk-EZNIYU5T.js";
@@ -7678,6 +7678,9 @@ async function recordCompletedVote(proposal, result, logger12, declared = { opti
7678
7678
  if (result.decision === void 0) {
7679
7679
  throw new Error("Consensus vote completed without a resolved decision");
7680
7680
  }
7681
+ if (result.votes.length === 0) {
7682
+ throw new Error("Consensus vote completed with an empty panel (no votes received)");
7683
+ }
7681
7684
  const recorded = await recordVoteSideEffects(proposal, result, logger12, declared);
7682
7685
  recordVoteSuccess({
7683
7686
  decisionId: recorded.decisionId,
@@ -9343,4 +9346,4 @@ export {
9343
9346
  CONSENSUS_VOTE_TOOL_SCHEMA,
9344
9347
  registerConsensusVoteTool
9345
9348
  };
9346
- //# sourceMappingURL=chunk-CCFWTYGR.js.map
9349
+ //# sourceMappingURL=chunk-7IMCFFHH.js.map