nexus-agents 8.52.1 → 8.52.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.
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-KRRU2RP5.js";
10
+ } from "./chunk-NFKNTZYT.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2275,4 +2275,4 @@ export {
2275
2275
  runImprovementReview,
2276
2276
  registerImprovementReviewTool
2277
2277
  };
2278
- //# sourceMappingURL=chunk-Y54TRQAI.js.map
2278
+ //# sourceMappingURL=chunk-6WLN4WLY.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-KRRU2RP5.js";
26
+ } from "./chunk-NFKNTZYT.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-UROQ3RKV.js";
29
+ } from "./chunk-THEK5N2A.js";
30
30
  import {
31
31
  UNRESOLVED_MODEL_ID,
32
32
  assessPanelIndependence,
@@ -8310,4 +8310,4 @@ export {
8310
8310
  CONSENSUS_VOTE_TOOL_SCHEMA,
8311
8311
  registerConsensusVoteTool
8312
8312
  };
8313
- //# sourceMappingURL=chunk-OH7I4WD6.js.map
8313
+ //# sourceMappingURL=chunk-LJMPYBT5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-UROQ3RKV.js";
3
+ } from "./chunk-THEK5N2A.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-SKUIP3ER.js";
@@ -2360,4 +2360,4 @@ export {
2360
2360
  VOTING_THRESHOLDS,
2361
2361
  ConsensusMetricsSchema
2362
2362
  };
2363
- //# sourceMappingURL=chunk-KRRU2RP5.js.map
2363
+ //# sourceMappingURL=chunk-NFKNTZYT.js.map
@@ -11,7 +11,7 @@ import {
11
11
  NODE_ENGINE_RANGE,
12
12
  VERSION,
13
13
  isNodeVersionSupported
14
- } from "./chunk-UROQ3RKV.js";
14
+ } from "./chunk-THEK5N2A.js";
15
15
  import {
16
16
  claimGlobalRegistry
17
17
  } from "./chunk-3JFRPAYE.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-ZPZRG7MH.js");
1317
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-4APUYXVF.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-GT4BX4G4.js.map
1419
+ //# sourceMappingURL=chunk-QU37LE3Y.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-GT4BX4G4.js";
24
+ } from "./chunk-QU37LE3Y.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-WAVAOSH5.js";
@@ -58,7 +58,7 @@ import {
58
58
  toJobSummary,
59
59
  updateStage,
60
60
  writeJobCancelled
61
- } from "./chunk-OH7I4WD6.js";
61
+ } from "./chunk-LJMPYBT5.js";
62
62
  import {
63
63
  allOf,
64
64
  anyOf
@@ -78,7 +78,7 @@ import {
78
78
  } from "./chunk-XYK2GPUF.js";
79
79
  import {
80
80
  withPrerequisite
81
- } from "./chunk-Y54TRQAI.js";
81
+ } from "./chunk-6WLN4WLY.js";
82
82
  import {
83
83
  NOOP_NOTIFIER,
84
84
  RateLimiter,
@@ -103,7 +103,7 @@ import {
103
103
  withAuditTrail,
104
104
  withProgressHeartbeat,
105
105
  wrapToolWithTimeout
106
- } from "./chunk-KRRU2RP5.js";
106
+ } from "./chunk-NFKNTZYT.js";
107
107
  import {
108
108
  createAuditTrail,
109
109
  createGraphAuditBridge,
@@ -46165,7 +46165,7 @@ function buildVotingInput(plan, config) {
46165
46165
  }
46166
46166
  async function executeSingleVote(plan, config, log) {
46167
46167
  try {
46168
- const { executeVoting } = await import("./consensus-vote-UEBCBGYE.js");
46168
+ const { executeVoting } = await import("./consensus-vote-G2EQDVSI.js");
46169
46169
  const input = buildVotingInput(plan, config);
46170
46170
  const result = await executeVoting(input, log);
46171
46171
  return parseVotingResult(result);
@@ -47960,7 +47960,7 @@ ${contextBlock}`;
47960
47960
  const strategy = config.votingStrategy ?? "higher_order";
47961
47961
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47962
47962
  try {
47963
- const { executeVoting } = await import("./consensus-vote-UEBCBGYE.js");
47963
+ const { executeVoting } = await import("./consensus-vote-G2EQDVSI.js");
47964
47964
  const votingResult = await executeVoting(
47965
47965
  {
47966
47966
  proposal: buildVoteProposal(plan, research),
@@ -56870,4 +56870,4 @@ export {
56870
56870
  startPipelineEventBridge,
56871
56871
  shutdownPipelineEventBridge
56872
56872
  };
56873
- //# sourceMappingURL=chunk-AWLZY4MB.js.map
56873
+ //# sourceMappingURL=chunk-RWK5XSUL.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.52.1" : "dev";
3
+ var VERSION = true ? "8.52.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-UROQ3RKV.js.map
14
+ //# sourceMappingURL=chunk-THEK5N2A.js.map
package/dist/cli.js CHANGED
@@ -157,7 +157,7 @@ import {
157
157
  validateNexusEnv,
158
158
  validateWorkflow,
159
159
  wrapInMarkdownFence
160
- } from "./chunk-AWLZY4MB.js";
160
+ } from "./chunk-RWK5XSUL.js";
161
161
  import "./chunk-XM5MYAMC.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-GT4BX4G4.js";
180
+ } from "./chunk-QU37LE3Y.js";
181
181
  import "./chunk-XBSPEJ23.js";
182
182
  import {
183
183
  buildOpenAICompatAdapters,
@@ -197,7 +197,7 @@ import {
197
197
  recordAuthenticVote,
198
198
  registerConsensusVoteTool,
199
199
  toRecordDecision
200
- } from "./chunk-OH7I4WD6.js";
200
+ } from "./chunk-LJMPYBT5.js";
201
201
  import {
202
202
  loadUsageEvents,
203
203
  rollupByModel
@@ -237,18 +237,18 @@ import {
237
237
  registerImprovementReviewTool,
238
238
  runImprovementReview,
239
239
  scanForSecrets
240
- } from "./chunk-Y54TRQAI.js";
240
+ } from "./chunk-6WLN4WLY.js";
241
241
  import {
242
242
  createDefaultPolicyFirewall,
243
243
  setGlobalPolicyFirewall,
244
244
  setSecureHandlerAuditLogger,
245
245
  stagePolicyFirewallForRollout
246
- } from "./chunk-KRRU2RP5.js";
246
+ } from "./chunk-NFKNTZYT.js";
247
247
  import {
248
248
  NODE_ENGINE_RANGE,
249
249
  VERSION,
250
250
  isNodeVersionSupported
251
- } from "./chunk-UROQ3RKV.js";
251
+ } from "./chunk-THEK5N2A.js";
252
252
  import "./chunk-SKUIP3ER.js";
253
253
  import {
254
254
  claimGlobalRegistry,
@@ -20001,7 +20001,7 @@ function startImprovementReviewScheduler(options) {
20001
20001
  let running = false;
20002
20002
  const runOnce = async () => {
20003
20003
  try {
20004
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-BASTCRWT.js");
20004
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-JXP4EZ5W.js");
20005
20005
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
20006
20006
  const result = await runImprovementReview2(input, { logger: logger22 });
20007
20007
  logger22.info("Scheduled improvement_review complete", {
@@ -28085,6 +28085,13 @@ async function dispatchCommand(args) {
28085
28085
  }
28086
28086
  }
28087
28087
 
28088
+ // src/cli-direct-run.ts
28089
+ var DIRECT_RUN_SUFFIXES = ["cli.js", "cli.ts", "src/cli", "nexus-agents"];
28090
+ function isDirectRun(argv1) {
28091
+ if (argv1 === void 0) return false;
28092
+ return DIRECT_RUN_SUFFIXES.some((suffix) => argv1.endsWith(suffix));
28093
+ }
28094
+
28088
28095
  // src/cli.ts
28089
28096
  function determineCommand(options, positionals) {
28090
28097
  const firstArg = positionals[0];
@@ -28324,16 +28331,7 @@ async function main() {
28324
28331
  }
28325
28332
  await dispatchCommand(parsedArgs);
28326
28333
  }
28327
- var isDirectRun = () => {
28328
- try {
28329
- const execPath = process.argv[1];
28330
- if (execPath === void 0) return false;
28331
- return execPath.endsWith("cli.js") || execPath.endsWith("nexus-agents") || execPath.endsWith(".bin/nexus-agents");
28332
- } catch {
28333
- return false;
28334
- }
28335
- };
28336
- if (isDirectRun()) {
28334
+ if (isDirectRun(process.argv[1])) {
28337
28335
  main().catch((error) => {
28338
28336
  const logger22 = createLogger({ component: "cli" });
28339
28337
  logger22.error(
@@ -28342,6 +28340,10 @@ if (isDirectRun()) {
28342
28340
  );
28343
28341
  process.exit(EXIT_CODES.SERVER_START_FAILED);
28344
28342
  });
28343
+ } else {
28344
+ createLogger({ component: "cli" }).debug("Not the direct CLI entry; main() not run", {
28345
+ argv1: process.argv[1] ?? "<undefined>"
28346
+ });
28345
28347
  }
28346
28348
  export {
28347
28349
  EXIT_CODES,