nexus-agents 2.102.6 → 2.102.7

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.
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-CH7QIDHQ.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.102.6" : "dev";
43
+ var VERSION = true ? "2.102.7" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2096,7 +2096,7 @@ async function runDoctorFix(result) {
2096
2096
  writeLine2("\u2500".repeat(40));
2097
2097
  let fixCount = 0;
2098
2098
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2099
- const { runSetup } = await import("./setup-command-E2WOYCXO.js");
2099
+ const { runSetup } = await import("./setup-command-G3Q3UKI5.js");
2100
2100
  const setupResult = runSetup({
2101
2101
  skipMcp: true,
2102
2102
  skipRules: true,
@@ -2208,4 +2208,4 @@ export {
2208
2208
  startStdioServer,
2209
2209
  closeServer
2210
2210
  };
2211
- //# sourceMappingURL=chunk-W7JCGUTA.js.map
2211
+ //# sourceMappingURL=chunk-6CIEBFDV.js.map
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-W7JCGUTA.js";
11
+ } from "./chunk-6CIEBFDV.js";
12
12
  import {
13
13
  probeAllClis
14
14
  } from "./chunk-3GF52QPA.js";
@@ -1987,4 +1987,4 @@ export {
1987
1987
  setupCommand,
1988
1988
  setupCommandAsync
1989
1989
  };
1990
- //# sourceMappingURL=chunk-QM3WIUXB.js.map
1990
+ //# sourceMappingURL=chunk-ECZLYZCI.js.map
@@ -93,7 +93,7 @@ import {
93
93
  DEFAULT_TASK_TTL_MS,
94
94
  DEFAULT_TOOL_RATE_LIMITS,
95
95
  clampTaskTtl
96
- } from "./chunk-W7JCGUTA.js";
96
+ } from "./chunk-6CIEBFDV.js";
97
97
  import {
98
98
  getAvailabilityCache,
99
99
  getCliForModelId,
@@ -50735,4 +50735,4 @@ export {
50735
50735
  detectBackend,
50736
50736
  createTaskTracker
50737
50737
  };
50738
- //# sourceMappingURL=chunk-5VMCBHRX.js.map
50738
+ //# sourceMappingURL=chunk-FRAMV5DJ.js.map
package/dist/cli.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  setupCommandAsync,
26
26
  verifyCommand
27
- } from "./chunk-QM3WIUXB.js";
27
+ } from "./chunk-ECZLYZCI.js";
28
28
  import "./chunk-4L7FH53H.js";
29
29
  import {
30
30
  AuthHandler,
@@ -165,7 +165,7 @@ import {
165
165
  validateCommand,
166
166
  validateWorkflow,
167
167
  wrapInMarkdownFence
168
- } from "./chunk-5VMCBHRX.js";
168
+ } from "./chunk-FRAMV5DJ.js";
169
169
  import "./chunk-3ACDP4E6.js";
170
170
  import {
171
171
  resolveToken
@@ -250,7 +250,7 @@ import {
250
250
  loadConfig,
251
251
  runDoctor,
252
252
  validateNexusEnv
253
- } from "./chunk-W7JCGUTA.js";
253
+ } from "./chunk-6CIEBFDV.js";
254
254
  import "./chunk-FLUC27DF.js";
255
255
  import "./chunk-L2NPJRZZ.js";
256
256
  import {
@@ -17206,6 +17206,10 @@ var DevPipelineInputSchema = z8.object({
17206
17206
  /** Local pre-ship quality gate (typecheck/lint/tests) mode (#3356). */
17207
17207
  qualityGate: z8.enum(["off", "advisory", "blocking"]).default("off").describe(
17208
17208
  "Pre-ship local quality gate. 'off' (default): skip. 'advisory': run + record feedback, never fail. 'blocking': a red gate fails the pipeline."
17209
+ ),
17210
+ /** Opt-in per-run token budget — a safety cap for unattended runs (#3395). */
17211
+ maxBudgetTokens: z8.number().int().positive().optional().describe(
17212
+ "Per-run token ceiling (#3395). When set, expert calls stop (returning failures) once cumulative usage crosses it \u2014 a hard-stop safety cap for unattended/multi-day runs. Omit to disable (default)."
17209
17213
  )
17210
17214
  });
17211
17215
  async function resolveTaskInput(input) {
@@ -17240,7 +17244,11 @@ async function createStages(input) {
17240
17244
  quickMode: input.quickMode,
17241
17245
  issueNumber: input.issueNumber,
17242
17246
  repo: input.repo,
17243
- tracker
17247
+ tracker,
17248
+ // #3395: thread the opt-in per-run token ceiling through to the budget guard.
17249
+ ...input.maxBudgetTokens !== void 0 && {
17250
+ budget: { maxTokens: input.maxBudgetTokens }
17251
+ }
17244
17252
  });
17245
17253
  }
17246
17254
  function buildStructuredOutput(result) {