nexus-agents 11.2.0 → 11.2.1

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
  toolSuccess,
22
22
  withProgressHeartbeat,
23
23
  wrapToolWithTimeout
24
- } from "./chunk-P7KV3MFN.js";
24
+ } from "./chunk-GTAQ744F.js";
25
25
  import {
26
26
  getToolMemory
27
27
  } from "./chunk-PPH3CAMR.js";
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-EZNIYU5T.js";
31
31
  import {
32
32
  VERSION
33
- } from "./chunk-ZPVSLMZS.js";
33
+ } from "./chunk-7INKG2ZO.js";
34
34
  import {
35
35
  ModelBoundAdapter,
36
36
  UNVERIFIABLE_STDERR_RE,
@@ -9915,4 +9915,4 @@ export {
9915
9915
  CONSENSUS_VOTE_TOOL_SCHEMA,
9916
9916
  registerConsensusVoteTool
9917
9917
  };
9918
- //# sourceMappingURL=chunk-CMZO6EJ2.js.map
9918
+ //# sourceMappingURL=chunk-6RYQMJYI.js.map
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // src/version.ts
6
6
  import semver from "semver";
7
- var VERSION = true ? "11.2.0" : "dev";
7
+ var VERSION = true ? "11.2.1" : "dev";
8
8
  var NODE_ENGINE_RANGE = ">=24";
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-ZPVSLMZS.js.map
109
+ //# sourceMappingURL=chunk-7INKG2ZO.js.map
@@ -7,7 +7,7 @@ import {
7
7
  VERSION,
8
8
  isNodeVersionSupported,
9
9
  recordServerTransport
10
- } from "./chunk-ZPVSLMZS.js";
10
+ } from "./chunk-7INKG2ZO.js";
11
11
  import {
12
12
  checkGatewayHealth,
13
13
  cliFailsVerdict,
@@ -2263,7 +2263,7 @@ async function runDoctorFix(result) {
2263
2263
  writeLine2("\u2500".repeat(40));
2264
2264
  let fixCount = 0;
2265
2265
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2266
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-PK64C6F5.js");
2266
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-TUUQXXMW.js");
2267
2267
  const outcome = describeDataDirFix2(initDataDirectories2());
2268
2268
  writeLine2(outcome.line);
2269
2269
  if (outcome.counted) fixCount++;
@@ -2383,4 +2383,4 @@ export {
2383
2383
  startStdioServer,
2384
2384
  closeServer
2385
2385
  };
2386
- //# sourceMappingURL=chunk-JAKNY347.js.map
2386
+ //# sourceMappingURL=chunk-FLD6KM6Q.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getCurrentRequestContext,
6
6
  runWithRequestContext,
7
7
  serverCallerInfo
8
- } from "./chunk-ZPVSLMZS.js";
8
+ } from "./chunk-7INKG2ZO.js";
9
9
  import {
10
10
  DEFAULT_EXECUTION_MODE
11
11
  } from "./chunk-TYLE7Z2S.js";
@@ -2345,4 +2345,4 @@ export {
2345
2345
  DEFAULT_CONSENSUS_CONFIG,
2346
2346
  ConsensusMetricsSchema
2347
2347
  };
2348
- //# sourceMappingURL=chunk-P7KV3MFN.js.map
2348
+ //# sourceMappingURL=chunk-GTAQ744F.js.map
@@ -58,7 +58,7 @@ import {
58
58
  updateStage,
59
59
  withFileLock,
60
60
  writeJobCancelled
61
- } from "./chunk-CMZO6EJ2.js";
61
+ } from "./chunk-6RYQMJYI.js";
62
62
  import {
63
63
  normalizeTopicToCanonical,
64
64
  synthesizeResearch
@@ -77,7 +77,7 @@ import {
77
77
  } from "./chunk-HQ2SMW4Y.js";
78
78
  import {
79
79
  withPrerequisite
80
- } from "./chunk-LWR2CTS3.js";
80
+ } from "./chunk-SZBLSAEU.js";
81
81
  import {
82
82
  NOOP_NOTIFIER,
83
83
  RateLimiter,
@@ -105,7 +105,7 @@ import {
105
105
  toolSuccess,
106
106
  withProgressHeartbeat,
107
107
  wrapToolWithTimeout
108
- } from "./chunk-P7KV3MFN.js";
108
+ } from "./chunk-GTAQ744F.js";
109
109
  import {
110
110
  generateSecurityPlan
111
111
  } from "./chunk-6ZTMMN2N.js";
@@ -187,7 +187,7 @@ import {
187
187
  import {
188
188
  DEFAULT_TASK_TTL_MS,
189
189
  clampTaskTtl
190
- } from "./chunk-JAKNY347.js";
190
+ } from "./chunk-FLD6KM6Q.js";
191
191
  import {
192
192
  allOf,
193
193
  anyOf
@@ -196,7 +196,7 @@ import {
196
196
  VERSION,
197
197
  createRequestContext,
198
198
  measuredTrustTier
199
- } from "./chunk-ZPVSLMZS.js";
199
+ } from "./chunk-7INKG2ZO.js";
200
200
  import {
201
201
  BWRAP_READ_ONLY_ARGS,
202
202
  CliDetectionCache,
@@ -46685,7 +46685,7 @@ function buildVotingInput(plan, config) {
46685
46685
  }
46686
46686
  async function executeSingleVote(plan, config, log) {
46687
46687
  try {
46688
- const { executeVoting } = await import("./consensus-vote-ELSFWGTG.js");
46688
+ const { executeVoting } = await import("./consensus-vote-LZUXE3VP.js");
46689
46689
  const input = buildVotingInput(plan, config);
46690
46690
  const result = await executeVoting(input, log);
46691
46691
  return parseVotingResult(result);
@@ -48115,13 +48115,14 @@ function buildNoQuorumPlanResult(plan, iterations, vote, retries) {
48115
48115
  planStatus: "no_quorum",
48116
48116
  planVoteDecision: "no_quorum",
48117
48117
  planVoteReason: vote.reason,
48118
- planVoteApprovalPercentage: vote.approvalPercentage,
48118
+ // A fail-closed crash has no record; its sentinel zero is unmeasured (#7250).
48119
+ ...vote.voteRecordId !== void 0 ? { planVoteApprovalPercentage: vote.approvalPercentage } : {},
48119
48120
  ...recordIdOf(vote)
48120
48121
  };
48121
48122
  }
48122
48123
  function buildUnapprovedPlanResult(plan, iterations, vote, sessionId) {
48123
48124
  const feedback = vote?.feedback ?? "No plan vote was run";
48124
- const approvalPercentage = vote?.approvalPercentage ?? 0;
48125
+ const approvalPercentage = vote?.approvalPercentage;
48125
48126
  logger43.warn("Max vote iterations reached without plan approval \u2014 stopping", {
48126
48127
  sessionId,
48127
48128
  iterations,
@@ -48134,7 +48135,7 @@ function buildUnapprovedPlanResult(plan, iterations, vote, sessionId) {
48134
48135
  planStatus: "unapproved",
48135
48136
  // No vote ran at all only when the iteration limit is zero; don't claim one.
48136
48137
  ...vote !== void 0 ? { planVoteDecision: "rejected" } : {},
48137
- planVoteApprovalPercentage: approvalPercentage,
48138
+ ...approvalPercentage !== void 0 ? { planVoteApprovalPercentage: approvalPercentage } : {},
48138
48139
  planVoteFeedback: feedback,
48139
48140
  ...recordIdOf(vote)
48140
48141
  };
@@ -48517,7 +48518,7 @@ function createVoteStage({ config, startStage }) {
48517
48518
  const strategy = config.votingStrategy ?? "higher_order";
48518
48519
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48519
48520
  try {
48520
- const { executeVoting } = await import("./consensus-vote-ELSFWGTG.js");
48521
+ const { executeVoting } = await import("./consensus-vote-LZUXE3VP.js");
48521
48522
  const proposal = buildVoteProposal(plan, research);
48522
48523
  const votingResult = await executeVoting(
48523
48524
  {
@@ -58534,4 +58535,4 @@ export {
58534
58535
  initializeSandbox,
58535
58536
  getSandboxMode
58536
58537
  };
58537
- //# sourceMappingURL=chunk-JVBESFZY.js.map
58538
+ //# sourceMappingURL=chunk-OO762OTH.js.map