nexus-agents 8.85.0 → 8.85.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.
@@ -12,7 +12,7 @@ import {
12
12
  NODE_ENGINE_RANGE,
13
13
  VERSION,
14
14
  isNodeVersionSupported
15
- } from "./chunk-UQR4SSUJ.js";
15
+ } from "./chunk-BW2MNDA3.js";
16
16
  import {
17
17
  claimGlobalRegistry
18
18
  } from "./chunk-UA6FZ2WV.js";
@@ -1372,7 +1372,7 @@ async function runDoctorFix(result) {
1372
1372
  writeLine2("\u2500".repeat(40));
1373
1373
  let fixCount = 0;
1374
1374
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1375
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-BVALVICE.js");
1375
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-CHOFWU5Y.js");
1376
1376
  const outcome = describeDataDirFix2(initDataDirectories2());
1377
1377
  writeLine2(outcome.line);
1378
1378
  if (outcome.counted) fixCount++;
@@ -1474,4 +1474,4 @@ export {
1474
1474
  startStdioServer,
1475
1475
  closeServer
1476
1476
  };
1477
- //# sourceMappingURL=chunk-DWZXQYUL.js.map
1477
+ //# sourceMappingURL=chunk-622UBOMB.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.85.0" : "dev";
3
+ var VERSION = true ? "8.85.1" : "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-UQR4SSUJ.js.map
14
+ //# sourceMappingURL=chunk-BW2MNDA3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-UQR4SSUJ.js";
3
+ } from "./chunk-BW2MNDA3.js";
4
4
  import {
5
5
  sanitizeErrorDetails
6
6
  } from "./chunk-2NDA4DHW.js";
@@ -2342,4 +2342,4 @@ export {
2342
2342
  DEFAULT_CONSENSUS_CONFIG,
2343
2343
  ConsensusMetricsSchema
2344
2344
  };
2345
- //# sourceMappingURL=chunk-BKRAZWLA.js.map
2345
+ //# sourceMappingURL=chunk-KYUMXC7W.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-DWZXQYUL.js";
24
+ } from "./chunk-622UBOMB.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-BHLPPZZ6.js";
@@ -72,7 +72,7 @@ import {
72
72
  updateStage,
73
73
  withWarnings,
74
74
  writeJobCancelled
75
- } from "./chunk-OSEM44EE.js";
75
+ } from "./chunk-RAY3WA5Q.js";
76
76
  import {
77
77
  allOf,
78
78
  anyOf
@@ -95,7 +95,7 @@ import {
95
95
  } from "./chunk-ZA627SSQ.js";
96
96
  import {
97
97
  withPrerequisite
98
- } from "./chunk-LNX6D7GM.js";
98
+ } from "./chunk-WRGNPNSZ.js";
99
99
  import {
100
100
  NOOP_NOTIFIER,
101
101
  RateLimiter,
@@ -120,7 +120,7 @@ import {
120
120
  toolSuccessStructured,
121
121
  withProgressHeartbeat,
122
122
  wrapToolWithTimeout
123
- } from "./chunk-BKRAZWLA.js";
123
+ } from "./chunk-KYUMXC7W.js";
124
124
  import {
125
125
  EventTopics,
126
126
  UNRESOLVED_MODEL_ID,
@@ -46126,7 +46126,7 @@ function buildVotingInput(plan, config) {
46126
46126
  }
46127
46127
  async function executeSingleVote(plan, config, log) {
46128
46128
  try {
46129
- const { executeVoting } = await import("./consensus-vote-H363QXSE.js");
46129
+ const { executeVoting } = await import("./consensus-vote-EZ4SEHUH.js");
46130
46130
  const input = buildVotingInput(plan, config);
46131
46131
  const result = await executeVoting(input, log);
46132
46132
  return parseVotingResult(result);
@@ -47049,7 +47049,7 @@ function createVoteStage({ config, startStage }) {
47049
47049
  const strategy = config.votingStrategy ?? "higher_order";
47050
47050
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47051
47051
  try {
47052
- const { executeVoting } = await import("./consensus-vote-H363QXSE.js");
47052
+ const { executeVoting } = await import("./consensus-vote-EZ4SEHUH.js");
47053
47053
  const votingResult = await executeVoting(
47054
47054
  {
47055
47055
  proposal: buildVoteProposal(plan, research),
@@ -56498,4 +56498,4 @@ export {
56498
56498
  startPipelineEventBridge,
56499
56499
  shutdownPipelineEventBridge
56500
56500
  };
56501
- //# sourceMappingURL=chunk-FJVOWWD5.js.map
56501
+ //# sourceMappingURL=chunk-MYI5QMFW.js.map
@@ -25,10 +25,10 @@ import {
25
25
  toolSuccessStructured,
26
26
  withProgressHeartbeat,
27
27
  wrapToolWithTimeout
28
- } from "./chunk-BKRAZWLA.js";
28
+ } from "./chunk-KYUMXC7W.js";
29
29
  import {
30
30
  VERSION
31
- } from "./chunk-UQR4SSUJ.js";
31
+ } from "./chunk-BW2MNDA3.js";
32
32
  import {
33
33
  UNRESOLVED_MODEL_ID,
34
34
  assessPanelIndependence,
@@ -9543,4 +9543,4 @@ export {
9543
9543
  CONSENSUS_VOTE_TOOL_SCHEMA,
9544
9544
  registerConsensusVoteTool
9545
9545
  };
9546
- //# sourceMappingURL=chunk-OSEM44EE.js.map
9546
+ //# sourceMappingURL=chunk-RAY3WA5Q.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-BKRAZWLA.js";
10
+ } from "./chunk-KYUMXC7W.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2282,4 +2282,4 @@ export {
2282
2282
  runImprovementReview,
2283
2283
  registerImprovementReviewTool
2284
2284
  };
2285
- //# sourceMappingURL=chunk-LNX6D7GM.js.map
2285
+ //# sourceMappingURL=chunk-WRGNPNSZ.js.map
package/dist/cli.js CHANGED
@@ -155,7 +155,7 @@ import {
155
155
  validateNexusEnv,
156
156
  validateWorkflow,
157
157
  wrapInMarkdownFence
158
- } from "./chunk-FJVOWWD5.js";
158
+ } from "./chunk-MYI5QMFW.js";
159
159
  import "./chunk-6Q7EYNH2.js";
160
160
  import "./chunk-4GDMHCKX.js";
161
161
  import "./chunk-7ETWTSTB.js";
@@ -175,7 +175,7 @@ import {
175
175
  doctorCommand,
176
176
  initDataDirectories,
177
177
  runDoctor
178
- } from "./chunk-DWZXQYUL.js";
178
+ } from "./chunk-622UBOMB.js";
179
179
  import "./chunk-BXOXALDW.js";
180
180
  import {
181
181
  shutdownExpertBridge
@@ -197,7 +197,7 @@ import {
197
197
  registerConsensusVoteTool,
198
198
  seatFallbacks,
199
199
  toRecordDecision
200
- } from "./chunk-OSEM44EE.js";
200
+ } from "./chunk-RAY3WA5Q.js";
201
201
  import {
202
202
  buildOpenAICompatAdapters,
203
203
  readOpenAICompatEndpoint,
@@ -239,7 +239,7 @@ import {
239
239
  registerImprovementReviewTool,
240
240
  runImprovementReview,
241
241
  scanForSecrets
242
- } from "./chunk-LNX6D7GM.js";
242
+ } from "./chunk-WRGNPNSZ.js";
243
243
  import {
244
244
  createDefaultPolicyFirewall,
245
245
  formatPolicyRolloutMode,
@@ -249,12 +249,12 @@ import {
249
249
  setGlobalPolicyFirewall,
250
250
  setSecureHandlerAuditLogger,
251
251
  stagePolicyFirewallForRollout
252
- } from "./chunk-BKRAZWLA.js";
252
+ } from "./chunk-KYUMXC7W.js";
253
253
  import {
254
254
  NODE_ENGINE_RANGE,
255
255
  VERSION,
256
256
  isNodeVersionSupported
257
- } from "./chunk-UQR4SSUJ.js";
257
+ } from "./chunk-BW2MNDA3.js";
258
258
  import {
259
259
  claimGlobalRegistry,
260
260
  createUnifiedRegistry,
@@ -19675,7 +19675,7 @@ function startImprovementReviewScheduler(options) {
19675
19675
  let running = false;
19676
19676
  const runOnce = async () => {
19677
19677
  try {
19678
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-TSSTONUQ.js");
19678
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-IR7PWFHW.js");
19679
19679
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19680
19680
  const result = await runImprovementReview2(input, { logger: logger22 });
19681
19681
  logger22.info("Scheduled improvement_review complete", {
@@ -22090,7 +22090,7 @@ function initializeAuditLogger(securityConfig, logger22) {
22090
22090
  void 0,
22091
22091
  logger22
22092
22092
  );
22093
- auditLogger.logSystemStartupBegin({ auditLogDir: logDir });
22093
+ auditLogger.logSystemStartupBegin({ auditLogDir: logDir, packageVersion: VERSION });
22094
22094
  logger22.info("Audit logging enabled", { logDir });
22095
22095
  return auditLogger;
22096
22096
  }
@@ -22108,14 +22108,18 @@ async function shutdownAuditLogger(auditLogger, logger22) {
22108
22108
  }
22109
22109
  }
22110
22110
  function recordStartupComplete(auditLogger, mode) {
22111
- auditLogger?.logSystemStartup({ mode });
22111
+ auditLogger?.logSystemStartup({ mode, packageVersion: VERSION });
22112
22112
  }
22113
22113
  async function recordStartupFailure(auditLogger, step, run) {
22114
22114
  try {
22115
22115
  return await run();
22116
22116
  } catch (error) {
22117
22117
  auditLogger?.logSystemStartup(
22118
- { failedAt: step, error: error instanceof Error ? error.message : String(error) },
22118
+ {
22119
+ failedAt: step,
22120
+ error: error instanceof Error ? error.message : String(error),
22121
+ packageVersion: VERSION
22122
+ },
22119
22123
  "failure"
22120
22124
  );
22121
22125
  throw error;