nexus-agents 2.140.1 → 2.140.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.
@@ -42,7 +42,7 @@ import {
42
42
  } from "./chunk-DHVMSIT5.js";
43
43
 
44
44
  // src/version.ts
45
- var VERSION = true ? "2.140.1" : "dev";
45
+ var VERSION = true ? "2.140.2" : "dev";
46
46
 
47
47
  // src/config/schemas-core.ts
48
48
  import { z } from "zod";
@@ -2132,7 +2132,7 @@ async function runDoctorFix(result) {
2132
2132
  writeLine2("\u2500".repeat(40));
2133
2133
  let fixCount = 0;
2134
2134
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2135
- const { runSetup } = await import("./setup-command-UGNZID2H.js");
2135
+ const { runSetup } = await import("./setup-command-SR7SNTMD.js");
2136
2136
  const setupResult = runSetup({
2137
2137
  skipMcp: true,
2138
2138
  skipRules: true,
@@ -2245,4 +2245,4 @@ export {
2245
2245
  startStdioServer,
2246
2246
  closeServer
2247
2247
  };
2248
- //# sourceMappingURL=chunk-W2X4T4JX.js.map
2248
+ //# sourceMappingURL=chunk-FLDT5YWH.js.map
@@ -8,7 +8,7 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-W2X4T4JX.js";
11
+ } from "./chunk-FLDT5YWH.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-ZM4O442V.js";
@@ -2000,4 +2000,4 @@ export {
2000
2000
  setupCommand,
2001
2001
  setupCommandAsync
2002
2002
  };
2003
- //# sourceMappingURL=chunk-FDWCMNCA.js.map
2003
+ //# sourceMappingURL=chunk-JO2EX53W.js.map
package/dist/cli.js CHANGED
@@ -22,7 +22,7 @@ import "./chunk-JYH6CMLW.js";
22
22
  import {
23
23
  setupCommandAsync,
24
24
  verifyCommand
25
- } from "./chunk-FDWCMNCA.js";
25
+ } from "./chunk-JO2EX53W.js";
26
26
  import "./chunk-BU2PN7M2.js";
27
27
  import {
28
28
  AuthHandler,
@@ -142,7 +142,7 @@ import {
142
142
  validateCommand,
143
143
  validateWorkflow,
144
144
  wrapInMarkdownFence
145
- } from "./chunk-QLFU334E.js";
145
+ } from "./chunk-66LTZALB.js";
146
146
  import "./chunk-5RJHWUHT.js";
147
147
  import "./chunk-3B3ER6KT.js";
148
148
  import "./chunk-HFOQKCD2.js";
@@ -170,7 +170,7 @@ import {
170
170
  loadConfig,
171
171
  runDoctor,
172
172
  validateNexusEnv
173
- } from "./chunk-W2X4T4JX.js";
173
+ } from "./chunk-FLDT5YWH.js";
174
174
  import "./chunk-HO4C3E6W.js";
175
175
  import {
176
176
  shutdownExpertBridge
@@ -183,7 +183,7 @@ import {
183
183
  VoteThresholdSchema,
184
184
  executeVoting,
185
185
  registerConsensusVoteTool
186
- } from "./chunk-KUF5JK5A.js";
186
+ } from "./chunk-3Z4SZVBB.js";
187
187
  import {
188
188
  loadUsageEvents,
189
189
  rollupByModel
@@ -18193,6 +18193,15 @@ function registerPrReview(ctx) {
18193
18193
  ...ctx.gatewayAdapters !== void 0 && { gatewayAdapters: ctx.gatewayAdapters }
18194
18194
  });
18195
18195
  }
18196
+ function registerRun(ctx) {
18197
+ registerRunTool(ctx.server, {
18198
+ logger: ctx.logger,
18199
+ rateLimiter: ctx.rateLimiterFactory.getForTool("run"),
18200
+ ...ctx.securityConfig !== void 0 && { security: ctx.securityConfig },
18201
+ ...ctx.auditLogger !== void 0 && { auditLogger: ctx.auditLogger },
18202
+ ...ctx.gatewayAdapters !== void 0 && { gatewayAdapters: ctx.gatewayAdapters }
18203
+ });
18204
+ }
18196
18205
  function registerDelegate(ctx) {
18197
18206
  registerDelegateToModelTool(ctx.server, {
18198
18207
  logger: ctx.logger,
@@ -18385,7 +18394,9 @@ var HANDLER_TABLE = {
18385
18394
  registerSuggestResearchTasksTool
18386
18395
  ),
18387
18396
  list_available_models: standardHandler("list_available_models", registerListAvailableModelsTool),
18388
- run: standardHandler("run", registerRunTool),
18397
+ run: (ctx) => {
18398
+ registerRun(ctx);
18399
+ },
18389
18400
  verify_audit_chain: standardHandler("verify_audit_chain", registerVerifyAuditChainTool),
18390
18401
  extract_symbols: standardHandler("extract_symbols", registerExtractSymbolsTool),
18391
18402
  search_codebase: standardHandler("search_codebase", registerSearchCodebaseTool),