nexus-agents 8.126.9 → 8.126.10

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.
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-UVQIYBDK.js";
10
10
  import {
11
11
  withPrerequisite
12
- } from "./chunk-VVGM24B2.js";
12
+ } from "./chunk-EBUEO6CF.js";
13
13
  import {
14
14
  generateSecurityPlan
15
15
  } from "./chunk-MBQ7YDWZ.js";
@@ -41,7 +41,7 @@ import {
41
41
  import {
42
42
  DEFAULT_TASK_TTL_MS,
43
43
  clampTaskTtl
44
- } from "./chunk-RDOZK54J.js";
44
+ } from "./chunk-DD2AJPXY.js";
45
45
  import {
46
46
  executeExpert
47
47
  } from "./chunk-SRLSTOJL.js";
@@ -96,7 +96,7 @@ import {
96
96
  withFileLock,
97
97
  withWarnings,
98
98
  writeJobCancelled
99
- } from "./chunk-I3XUIBUI.js";
99
+ } from "./chunk-PM2WWLGD.js";
100
100
  import {
101
101
  NOOP_NOTIFIER,
102
102
  RateLimiter,
@@ -122,12 +122,12 @@ import {
122
122
  toolSuccessStructured,
123
123
  withProgressHeartbeat,
124
124
  wrapToolWithTimeout
125
- } from "./chunk-6JXE4CXO.js";
125
+ } from "./chunk-F6SWQGX3.js";
126
126
  import {
127
127
  VERSION,
128
128
  createRequestContext,
129
129
  measuredTrustTier
130
- } from "./chunk-T2DGOM7R.js";
130
+ } from "./chunk-N46NDISC.js";
131
131
  import {
132
132
  allOf,
133
133
  anyOf
@@ -47060,7 +47060,7 @@ function buildVotingInput(plan, config) {
47060
47060
  }
47061
47061
  async function executeSingleVote(plan, config, log) {
47062
47062
  try {
47063
- const { executeVoting } = await import("./consensus-vote-JBJDDO4W.js");
47063
+ const { executeVoting } = await import("./consensus-vote-PWTEON3H.js");
47064
47064
  const input = buildVotingInput(plan, config);
47065
47065
  const result = await executeVoting(input, log);
47066
47066
  return parseVotingResult(result);
@@ -48207,7 +48207,7 @@ function createVoteStage({ config, startStage }) {
48207
48207
  const strategy = config.votingStrategy ?? "higher_order";
48208
48208
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48209
48209
  try {
48210
- const { executeVoting } = await import("./consensus-vote-JBJDDO4W.js");
48210
+ const { executeVoting } = await import("./consensus-vote-PWTEON3H.js");
48211
48211
  const proposal = buildVoteProposal(plan, research);
48212
48212
  const votingResult = await executeVoting(
48213
48213
  {
@@ -49904,11 +49904,17 @@ function isFindingVerified(gate) {
49904
49904
  if (/^(passed|ok|yes|done|verified)$/i.test(gate.named_assertion.trim())) return false;
49905
49905
  return true;
49906
49906
  }
49907
- var FINDINGS_BLOCK_RE = /```yaml findings\n([\s\S]*?)\n```/;
49907
+ var FINDINGS_OPEN = "```yaml findings\n";
49908
+ var FINDINGS_CLOSE = "\n```";
49909
+ function extractFindingsBlock(reasoning) {
49910
+ const open2 = reasoning.indexOf(FINDINGS_OPEN);
49911
+ if (open2 === -1) return void 0;
49912
+ const start = open2 + FINDINGS_OPEN.length;
49913
+ const close = reasoning.indexOf(FINDINGS_CLOSE, start);
49914
+ return close === -1 ? void 0 : reasoning.slice(start, close);
49915
+ }
49908
49916
  function parseFindings(reasoning) {
49909
- const match = FINDINGS_BLOCK_RE.exec(reasoning);
49910
- if (match === null) return [];
49911
- const yamlBody = match[1];
49917
+ const yamlBody = extractFindingsBlock(reasoning);
49912
49918
  if (yamlBody === void 0 || yamlBody.trim() === "") return [];
49913
49919
  let parsed;
49914
49920
  try {
@@ -57845,4 +57851,4 @@ export {
57845
57851
  initializeSandbox,
57846
57852
  getSandboxMode
57847
57853
  };
57848
- //# sourceMappingURL=chunk-KCB2YLPC.js.map
57854
+ //# sourceMappingURL=chunk-3ZGJNWDR.js.map