nexus-agents 8.58.0 → 8.58.2

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.
@@ -11,7 +11,7 @@ import {
11
11
  NODE_ENGINE_RANGE,
12
12
  VERSION,
13
13
  isNodeVersionSupported
14
- } from "./chunk-PU2UWCEK.js";
14
+ } from "./chunk-CZN5JK7D.js";
15
15
  import {
16
16
  claimGlobalRegistry
17
17
  } from "./chunk-BXP5K5TU.js";
@@ -1314,7 +1314,7 @@ async function runDoctorFix(result) {
1314
1314
  writeLine2("\u2500".repeat(40));
1315
1315
  let fixCount = 0;
1316
1316
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1317
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-VGIART6F.js");
1317
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-AHUNLSRM.js");
1318
1318
  const outcome = describeDataDirFix2(initDataDirectories2());
1319
1319
  writeLine2(outcome.line);
1320
1320
  if (outcome.counted) fixCount++;
@@ -1416,4 +1416,4 @@ export {
1416
1416
  startStdioServer,
1417
1417
  closeServer
1418
1418
  };
1419
- //# sourceMappingURL=chunk-E5B3PEN2.js.map
1419
+ //# sourceMappingURL=chunk-CSYESWQ2.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.58.0" : "dev";
3
+ var VERSION = true ? "8.58.2" : "dev";
4
4
  var NODE_ENGINE_RANGE = ">=22.5.0";
5
5
  function isNodeVersionSupported(version) {
6
6
  return semver.satisfies(version, NODE_ENGINE_RANGE);
@@ -11,4 +11,4 @@ export {
11
11
  NODE_ENGINE_RANGE,
12
12
  isNodeVersionSupported
13
13
  };
14
- //# sourceMappingURL=chunk-PU2UWCEK.js.map
14
+ //# sourceMappingURL=chunk-CZN5JK7D.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-E5B3PEN2.js";
24
+ } from "./chunk-CSYESWQ2.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-QMGMD6JB.js";
@@ -71,7 +71,7 @@ import {
71
71
  updateStage,
72
72
  withWarnings,
73
73
  writeJobCancelled
74
- } from "./chunk-C4DQ6FON.js";
74
+ } from "./chunk-YF3YIHPZ.js";
75
75
  import {
76
76
  allOf,
77
77
  anyOf
@@ -91,7 +91,7 @@ import {
91
91
  } from "./chunk-RNWUIQTZ.js";
92
92
  import {
93
93
  withPrerequisite
94
- } from "./chunk-JEYC4YVR.js";
94
+ } from "./chunk-Y6MYVL5H.js";
95
95
  import {
96
96
  NOOP_NOTIFIER,
97
97
  RateLimiter,
@@ -116,7 +116,7 @@ import {
116
116
  withAuditTrail,
117
117
  withProgressHeartbeat,
118
118
  wrapToolWithTimeout
119
- } from "./chunk-KQNVDSMX.js";
119
+ } from "./chunk-JE2TRDX7.js";
120
120
  import {
121
121
  createAuditTrail,
122
122
  createGraphAuditBridge,
@@ -46203,7 +46203,7 @@ function buildVotingInput(plan, config) {
46203
46203
  }
46204
46204
  async function executeSingleVote(plan, config, log) {
46205
46205
  try {
46206
- const { executeVoting } = await import("./consensus-vote-2MWTFKEN.js");
46206
+ const { executeVoting } = await import("./consensus-vote-PLLP7IJE.js");
46207
46207
  const input = buildVotingInput(plan, config);
46208
46208
  const result = await executeVoting(input, log);
46209
46209
  return parseVotingResult(result);
@@ -48001,7 +48001,7 @@ ${contextBlock}`;
48001
48001
  const strategy = config.votingStrategy ?? "higher_order";
48002
48002
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48003
48003
  try {
48004
- const { executeVoting } = await import("./consensus-vote-2MWTFKEN.js");
48004
+ const { executeVoting } = await import("./consensus-vote-PLLP7IJE.js");
48005
48005
  const votingResult = await executeVoting(
48006
48006
  {
48007
48007
  proposal: buildVoteProposal(plan, research),
@@ -57195,4 +57195,4 @@ export {
57195
57195
  startPipelineEventBridge,
57196
57196
  shutdownPipelineEventBridge
57197
57197
  };
57198
- //# sourceMappingURL=chunk-WHA6AJVN.js.map
57198
+ //# sourceMappingURL=chunk-IIZKJP44.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-PU2UWCEK.js";
3
+ } from "./chunk-CZN5JK7D.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-VZSMNIRN.js";
@@ -2378,4 +2378,4 @@ export {
2378
2378
  DEFAULT_CONSENSUS_CONFIG,
2379
2379
  ConsensusMetricsSchema
2380
2380
  };
2381
- //# sourceMappingURL=chunk-KQNVDSMX.js.map
2381
+ //# sourceMappingURL=chunk-JE2TRDX7.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-KQNVDSMX.js";
10
+ } from "./chunk-JE2TRDX7.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2278,4 +2278,4 @@ export {
2278
2278
  runImprovementReview,
2279
2279
  registerImprovementReviewTool
2280
2280
  };
2281
- //# sourceMappingURL=chunk-JEYC4YVR.js.map
2281
+ //# sourceMappingURL=chunk-Y6MYVL5H.js.map
@@ -25,10 +25,10 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-KQNVDSMX.js";
28
+ } from "./chunk-JE2TRDX7.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-PU2UWCEK.js";
31
+ } from "./chunk-CZN5JK7D.js";
32
32
  import {
33
33
  UNRESOLVED_MODEL_ID,
34
34
  assessPanelIndependence,
@@ -8827,4 +8827,4 @@ export {
8827
8827
  CONSENSUS_VOTE_TOOL_SCHEMA,
8828
8828
  registerConsensusVoteTool
8829
8829
  };
8830
- //# sourceMappingURL=chunk-C4DQ6FON.js.map
8830
+ //# sourceMappingURL=chunk-YF3YIHPZ.js.map
package/dist/cli.js CHANGED
@@ -157,7 +157,7 @@ import {
157
157
  validateNexusEnv,
158
158
  validateWorkflow,
159
159
  wrapInMarkdownFence
160
- } from "./chunk-WHA6AJVN.js";
160
+ } from "./chunk-IIZKJP44.js";
161
161
  import "./chunk-MHXSHTHG.js";
162
162
  import "./chunk-4GDMHCKX.js";
163
163
  import "./chunk-M7DUOIAK.js";
@@ -177,7 +177,7 @@ import {
177
177
  doctorCommand,
178
178
  initDataDirectories,
179
179
  runDoctor
180
- } from "./chunk-E5B3PEN2.js";
180
+ } from "./chunk-CSYESWQ2.js";
181
181
  import "./chunk-PMWQSCYE.js";
182
182
  import {
183
183
  buildOpenAICompatAdapters,
@@ -203,7 +203,7 @@ import {
203
203
  registerConsensusVoteTool,
204
204
  seatFallbacks,
205
205
  toRecordDecision
206
- } from "./chunk-C4DQ6FON.js";
206
+ } from "./chunk-YF3YIHPZ.js";
207
207
  import {
208
208
  loadUsageEvents,
209
209
  rollupByModel
@@ -243,18 +243,18 @@ import {
243
243
  registerImprovementReviewTool,
244
244
  runImprovementReview,
245
245
  scanForSecrets
246
- } from "./chunk-JEYC4YVR.js";
246
+ } from "./chunk-Y6MYVL5H.js";
247
247
  import {
248
248
  createDefaultPolicyFirewall,
249
249
  setGlobalPolicyFirewall,
250
250
  setSecureHandlerAuditLogger,
251
251
  stagePolicyFirewallForRollout
252
- } from "./chunk-KQNVDSMX.js";
252
+ } from "./chunk-JE2TRDX7.js";
253
253
  import {
254
254
  NODE_ENGINE_RANGE,
255
255
  VERSION,
256
256
  isNodeVersionSupported
257
- } from "./chunk-PU2UWCEK.js";
257
+ } from "./chunk-CZN5JK7D.js";
258
258
  import "./chunk-VZSMNIRN.js";
259
259
  import {
260
260
  claimGlobalRegistry,
@@ -355,6 +355,7 @@ import {
355
355
  TASK_CATEGORIES,
356
356
  TOOL_CAPABILITIES,
357
357
  TopsisRouter,
358
+ VOTE_TIMEOUTS,
358
359
  ValidationError,
359
360
  bootstrapStepNotifications,
360
361
  calculateCost,
@@ -3927,9 +3928,12 @@ var PARSE_ARGS_CONFIG = {
3927
3928
  short: "q",
3928
3929
  default: false
3929
3930
  },
3931
+ // #6236 — seconds, read from the same constant `vote --help` renders and
3932
+ // `runVote` falls back to. A hard-coded '90' here ran every seat at less
3933
+ // than a third of the #1640 budget while the help said 300.
3930
3934
  timeout: {
3931
3935
  type: "string",
3932
- default: "90"
3936
+ default: String(VOTE_TIMEOUTS.defaultMs / 1e3)
3933
3937
  },
3934
3938
  // #2630 — error policy for the vote command.
3935
3939
  "error-policy": {
@@ -7703,8 +7707,10 @@ async function runVote(options) {
7703
7707
  const { value: timeoutMs, clamped } = validateTimeout(requestedTimeoutMs);
7704
7708
  const timeoutSec = timeoutMs / 1e3;
7705
7709
  if (clamped) {
7710
+ const minSec = VOTE_TIMEOUTS.minMs / 1e3;
7711
+ const maxSec = VOTE_TIMEOUTS.maxMs / 1e3;
7706
7712
  writeLine(
7707
- `${colors.yellow}Timeout adjusted to ${String(timeoutSec)}s (min: 30s, max: 300s)${colors.reset}
7713
+ `${colors.yellow}Timeout adjusted to ${String(timeoutSec)}s (min: ${String(minSec)}s, max: ${String(maxSec)}s)${colors.reset}
7708
7714
  `
7709
7715
  );
7710
7716
  }
@@ -19547,7 +19553,7 @@ function startImprovementReviewScheduler(options) {
19547
19553
  let running = false;
19548
19554
  const runOnce = async () => {
19549
19555
  try {
19550
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-GD3M7E24.js");
19556
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-NAITF6LS.js");
19551
19557
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19552
19558
  const result = await runImprovementReview2(input, { logger: logger22 });
19553
19559
  logger22.info("Scheduled improvement_review complete", {
@@ -22275,9 +22281,11 @@ var VOTE_HELP = {
22275
22281
  {
22276
22282
  flag: "--timeout=<seconds>",
22277
22283
  description: "Timeout per vote in seconds",
22278
- // VOTE_TIMEOUTS.defaultMs, raised to 300s by #1640 after architecture and
22279
- // security voters were observed averaging 315s. The help said 90 (#4965).
22280
- defaultValue: "300"
22284
+ // Rendered from VOTE_TIMEOUTS.defaultMs (300s since #1640, after
22285
+ // architecture and security voters were observed averaging 315s). The
22286
+ // help said 90 (#4965); then the parseArgs default said 90 while the
22287
+ // help said 300 (#6236). Both now read the constant.
22288
+ defaultValue: String(VOTE_TIMEOUTS.defaultMs / 1e3)
22281
22289
  },
22282
22290
  {
22283
22291
  flag: "--error-policy <p>",