nexus-agents 8.110.0 → 8.110.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.
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-GCQLEDCY.js";
10
10
  import {
11
11
  withPrerequisite
12
- } from "./chunk-AG2XK7CQ.js";
12
+ } from "./chunk-SSIS5P24.js";
13
13
  import {
14
14
  generateSecurityPlan
15
15
  } from "./chunk-U5TT4C5O.js";
@@ -36,7 +36,7 @@ import {
36
36
  import {
37
37
  DEFAULT_TASK_TTL_MS,
38
38
  clampTaskTtl
39
- } from "./chunk-OTIVROWE.js";
39
+ } from "./chunk-LNPSEZUE.js";
40
40
  import {
41
41
  executeExpert
42
42
  } from "./chunk-CX3YZ4S6.js";
@@ -92,7 +92,7 @@ import {
92
92
  withFileLock,
93
93
  withWarnings,
94
94
  writeJobCancelled
95
- } from "./chunk-FOBWXDHO.js";
95
+ } from "./chunk-TAGJV5NH.js";
96
96
  import {
97
97
  NOOP_NOTIFIER,
98
98
  RateLimiter,
@@ -120,10 +120,10 @@ import {
120
120
  toolSuccessStructured,
121
121
  withProgressHeartbeat,
122
122
  wrapToolWithTimeout
123
- } from "./chunk-SWHKENEB.js";
123
+ } from "./chunk-WKKSNJV3.js";
124
124
  import {
125
125
  VERSION
126
- } from "./chunk-PLNSFL2K.js";
126
+ } from "./chunk-W3EXUWFG.js";
127
127
  import {
128
128
  allOf,
129
129
  anyOf
@@ -46963,7 +46963,7 @@ function buildVotingInput(plan, config) {
46963
46963
  }
46964
46964
  async function executeSingleVote(plan, config, log) {
46965
46965
  try {
46966
- const { executeVoting } = await import("./consensus-vote-OIQKDL5M.js");
46966
+ const { executeVoting } = await import("./consensus-vote-54G3SYCP.js");
46967
46967
  const input = buildVotingInput(plan, config);
46968
46968
  const result = await executeVoting(input, log);
46969
46969
  return parseVotingResult(result);
@@ -48010,7 +48010,7 @@ function createVoteStage({ config, startStage }) {
48010
48010
  const strategy = config.votingStrategy ?? "higher_order";
48011
48011
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48012
48012
  try {
48013
- const { executeVoting } = await import("./consensus-vote-OIQKDL5M.js");
48013
+ const { executeVoting } = await import("./consensus-vote-54G3SYCP.js");
48014
48014
  const votingResult = await executeVoting(
48015
48015
  {
48016
48016
  proposal: buildVoteProposal(plan, research),
@@ -57434,4 +57434,4 @@ export {
57434
57434
  startPipelineEventBridge,
57435
57435
  shutdownPipelineEventBridge
57436
57436
  };
57437
- //# sourceMappingURL=chunk-33OFW2GU.js.map
57437
+ //# sourceMappingURL=chunk-D4JC6AOD.js.map
@@ -13,7 +13,7 @@ import {
13
13
  NODE_ENGINE_RANGE,
14
14
  VERSION,
15
15
  isNodeVersionSupported
16
- } from "./chunk-PLNSFL2K.js";
16
+ } from "./chunk-W3EXUWFG.js";
17
17
  import {
18
18
  allOf
19
19
  } from "./chunk-EZNIYU5T.js";
@@ -1404,7 +1404,7 @@ async function runDoctorFix(result) {
1404
1404
  writeLine2("\u2500".repeat(40));
1405
1405
  let fixCount = 0;
1406
1406
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1407
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-TPK53BTA.js");
1407
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-62R3ZQI4.js");
1408
1408
  const outcome = describeDataDirFix2(initDataDirectories2());
1409
1409
  writeLine2(outcome.line);
1410
1410
  if (outcome.counted) fixCount++;
@@ -1506,4 +1506,4 @@ export {
1506
1506
  startStdioServer,
1507
1507
  closeServer
1508
1508
  };
1509
- //# sourceMappingURL=chunk-OTIVROWE.js.map
1509
+ //# sourceMappingURL=chunk-LNPSEZUE.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-SWHKENEB.js";
10
+ } from "./chunk-WKKSNJV3.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2293,4 +2293,4 @@ export {
2293
2293
  runImprovementReview,
2294
2294
  registerImprovementReviewTool
2295
2295
  };
2296
- //# sourceMappingURL=chunk-AG2XK7CQ.js.map
2296
+ //# sourceMappingURL=chunk-SSIS5P24.js.map
@@ -19,10 +19,10 @@ import {
19
19
  toolSuccessStructured,
20
20
  withProgressHeartbeat,
21
21
  wrapToolWithTimeout
22
- } from "./chunk-SWHKENEB.js";
22
+ } from "./chunk-WKKSNJV3.js";
23
23
  import {
24
24
  VERSION
25
- } from "./chunk-PLNSFL2K.js";
25
+ } from "./chunk-W3EXUWFG.js";
26
26
  import {
27
27
  allOf
28
28
  } from "./chunk-EZNIYU5T.js";
@@ -10061,4 +10061,4 @@ export {
10061
10061
  CONSENSUS_VOTE_TOOL_SCHEMA,
10062
10062
  registerConsensusVoteTool
10063
10063
  };
10064
- //# sourceMappingURL=chunk-FOBWXDHO.js.map
10064
+ //# sourceMappingURL=chunk-TAGJV5NH.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.110.0" : "dev";
3
+ var VERSION = true ? "8.110.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-PLNSFL2K.js.map
14
+ //# sourceMappingURL=chunk-W3EXUWFG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-PLNSFL2K.js";
3
+ } from "./chunk-W3EXUWFG.js";
4
4
  import {
5
5
  resolveInsideRoot
6
6
  } from "./chunk-XEPZSDN5.js";
@@ -2329,4 +2329,4 @@ export {
2329
2329
  DEFAULT_CONSENSUS_CONFIG,
2330
2330
  ConsensusMetricsSchema
2331
2331
  };
2332
- //# sourceMappingURL=chunk-SWHKENEB.js.map
2332
+ //# sourceMappingURL=chunk-WKKSNJV3.js.map
package/dist/cli.js CHANGED
@@ -164,7 +164,7 @@ import {
164
164
  validateNexusEnv,
165
165
  validateWorkflow,
166
166
  wrapInMarkdownFence
167
- } from "./chunk-33OFW2GU.js";
167
+ } from "./chunk-D4JC6AOD.js";
168
168
  import {
169
169
  DRAFT_REPLY_BODY_MAX_LENGTH,
170
170
  configureUntrustedInputFirewall,
@@ -189,7 +189,7 @@ import {
189
189
  registerImprovementReviewTool,
190
190
  runImprovementReview,
191
191
  scanForSecrets
192
- } from "./chunk-AG2XK7CQ.js";
192
+ } from "./chunk-SSIS5P24.js";
193
193
  import "./chunk-U5TT4C5O.js";
194
194
  import "./chunk-4GDMHCKX.js";
195
195
  import "./chunk-7ETWTSTB.js";
@@ -211,7 +211,7 @@ import {
211
211
  doctorCommand,
212
212
  initDataDirectories,
213
213
  runDoctor
214
- } from "./chunk-OTIVROWE.js";
214
+ } from "./chunk-LNPSEZUE.js";
215
215
  import "./chunk-G4UBTYE3.js";
216
216
  import "./chunk-C4OZ4F67.js";
217
217
  import {
@@ -234,19 +234,19 @@ import {
234
234
  registerConsensusVoteTool,
235
235
  seatFallbacks,
236
236
  toRecordDecision
237
- } from "./chunk-FOBWXDHO.js";
237
+ } from "./chunk-TAGJV5NH.js";
238
238
  import {
239
239
  getGlobalExecutionMode,
240
240
  setGlobalExecutionMode,
241
241
  setGlobalPolicyFirewall,
242
242
  setSecureHandlerAuditLogger,
243
243
  stagePolicyFirewallForRollout
244
- } from "./chunk-SWHKENEB.js";
244
+ } from "./chunk-WKKSNJV3.js";
245
245
  import {
246
246
  NODE_ENGINE_RANGE,
247
247
  VERSION,
248
248
  isNodeVersionSupported
249
- } from "./chunk-PLNSFL2K.js";
249
+ } from "./chunk-W3EXUWFG.js";
250
250
  import {
251
251
  allOf,
252
252
  anyOf
@@ -14632,6 +14632,12 @@ async function runPostSetupHealthGate(dryRun) {
14632
14632
  }
14633
14633
  return result.noHardFailures;
14634
14634
  }
14635
+ function refuseWithoutNonInteractiveFlag(nonInteractive) {
14636
+ if (isInteractive() || nonInteractive) return false;
14637
+ writeLine4("Non-interactive environment detected (stdout is not a TTY, or a CI variable is set).");
14638
+ writeLine4("Re-run with --non-interactive to apply every setup step without prompts.");
14639
+ return true;
14640
+ }
14635
14641
  async function runInteractiveSetup(options) {
14636
14642
  const wizardOptions = await runWizard();
14637
14643
  if (wizardOptions === void 0) return 1;
@@ -14660,9 +14666,7 @@ async function setupCommandAsync(options = {}) {
14660
14666
  }
14661
14667
  function runSetupAndPrint(options) {
14662
14668
  const parsedOptions = SetupOptionsSchema.parse(options);
14663
- if (!isInteractive() && !parsedOptions.nonInteractive) {
14664
- writeLine4("Non-interactive environment detected.");
14665
- writeLine4("Run with --non-interactive or set CI=true.");
14669
+ if (refuseWithoutNonInteractiveFlag(parsedOptions.nonInteractive)) {
14666
14670
  return { exitCode: 1, mcpConfigured: false };
14667
14671
  }
14668
14672
  const result = runSetup(options);
@@ -20064,7 +20068,7 @@ function startImprovementReviewScheduler(options) {
20064
20068
  let running = false;
20065
20069
  const runOnce = async () => {
20066
20070
  try {
20067
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-SIVH45QT.js");
20071
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-BHKZ5JUF.js");
20068
20072
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
20069
20073
  const result = await runImprovementReview2(input, { logger: logger23 });
20070
20074
  logger23.info("Scheduled improvement_review complete", {