nexus-agents 8.23.1 → 8.23.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-B2EOHLII.js";
10
+ } from "./chunk-ZFZJ6LTJ.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2159,4 +2159,4 @@ export {
2159
2159
  runImprovementReview,
2160
2160
  registerImprovementReviewTool
2161
2161
  };
2162
- //# sourceMappingURL=chunk-VAURFBZ3.js.map
2162
+ //# sourceMappingURL=chunk-3CHPU46R.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-B2EOHLII.js";
26
+ } from "./chunk-ZFZJ6LTJ.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-5HR5VEYY.js";
29
+ } from "./chunk-OXUJBY4W.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
@@ -7205,4 +7205,4 @@ export {
7205
7205
  CONSENSUS_VOTE_TOOL_SCHEMA,
7206
7206
  registerConsensusVoteTool
7207
7207
  };
7208
- //# sourceMappingURL=chunk-ZANEOBWW.js.map
7208
+ //# sourceMappingURL=chunk-M7TUO6O7.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.23.1" : "dev";
3
+ var VERSION = true ? "8.23.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-5HR5VEYY.js.map
14
+ //# sourceMappingURL=chunk-OXUJBY4W.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-T6HYZUV7.js";
24
+ } from "./chunk-TCUEFOPW.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-CN3VAMQD.js";
@@ -48,7 +48,7 @@ import {
48
48
  simulationDeniedResult,
49
49
  toJobSummary,
50
50
  writeJobCancelled
51
- } from "./chunk-ZANEOBWW.js";
51
+ } from "./chunk-M7TUO6O7.js";
52
52
  import {
53
53
  allOf
54
54
  } from "./chunk-OQB3XC5O.js";
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk-OYTRYITB.js";
68
68
  import {
69
69
  withPrerequisite
70
- } from "./chunk-VAURFBZ3.js";
70
+ } from "./chunk-3CHPU46R.js";
71
71
  import {
72
72
  NOOP_NOTIFIER,
73
73
  RateLimiter,
@@ -92,7 +92,7 @@ import {
92
92
  withAuditTrail,
93
93
  withProgressHeartbeat,
94
94
  wrapToolWithTimeout
95
- } from "./chunk-B2EOHLII.js";
95
+ } from "./chunk-ZFZJ6LTJ.js";
96
96
  import {
97
97
  createAuditTrail,
98
98
  createGraphAuditBridge,
@@ -25483,6 +25483,27 @@ async function withDepthGuard(label, fn) {
25483
25483
  }
25484
25484
 
25485
25485
  // src/mcp/middleware/tool-rate-limiter.ts
25486
+ var UNLIMITED_CAPACITY = Number.POSITIVE_INFINITY;
25487
+ var UnlimitedRateLimiter = class extends RateLimiter {
25488
+ constructor(name, logger57) {
25489
+ super({
25490
+ capacity: UNLIMITED_CAPACITY,
25491
+ refillRate: UNLIMITED_CAPACITY,
25492
+ name,
25493
+ logger: logger57
25494
+ });
25495
+ }
25496
+ tryAcquire() {
25497
+ return true;
25498
+ }
25499
+ getState() {
25500
+ return {
25501
+ tokens: UNLIMITED_CAPACITY,
25502
+ capacity: UNLIMITED_CAPACITY,
25503
+ nextTokenMs: 0
25504
+ };
25505
+ }
25506
+ };
25486
25507
  var TOOL_CATEGORY_MAP = {
25487
25508
  // Orchestration tools
25488
25509
  orchestrate: "orchestrate",
@@ -25566,6 +25587,14 @@ var ToolRateLimiterFactory = class {
25566
25587
  if (existing !== void 0) {
25567
25588
  return existing;
25568
25589
  }
25590
+ if (!this.enabled) {
25591
+ const limiter2 = new UnlimitedRateLimiter(
25592
+ `rate-limit-${toolName}`,
25593
+ this.logger.child({ tool: toolName })
25594
+ );
25595
+ this.limiters.set(toolName, limiter2);
25596
+ return limiter2;
25597
+ }
25569
25598
  const limitConfig = this.getLimitConfig(toolName);
25570
25599
  const rateLimiterConfig = {
25571
25600
  capacity: limitConfig.capacity,
@@ -46018,7 +46047,7 @@ function buildVotingInput(plan, config) {
46018
46047
  }
46019
46048
  async function executeSingleVote(plan, config, log) {
46020
46049
  try {
46021
- const { executeVoting } = await import("./consensus-vote-BMTVB5TQ.js");
46050
+ const { executeVoting } = await import("./consensus-vote-NQPSFVEF.js");
46022
46051
  const input = buildVotingInput(plan, config);
46023
46052
  const result = await executeVoting(input, log);
46024
46053
  return parseVotingResult(result);
@@ -47790,7 +47819,7 @@ ${contextBlock}`;
47790
47819
  const strategy = config.votingStrategy ?? "higher_order";
47791
47820
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47792
47821
  try {
47793
- const { executeVoting } = await import("./consensus-vote-BMTVB5TQ.js");
47822
+ const { executeVoting } = await import("./consensus-vote-NQPSFVEF.js");
47794
47823
  const votingResult = await executeVoting(
47795
47824
  {
47796
47825
  proposal: buildVoteProposal(plan, research),
@@ -56475,4 +56504,4 @@ export {
56475
56504
  shutdownFeedbackSubscriber,
56476
56505
  createEventBusBridge
56477
56506
  };
56478
- //# sourceMappingURL=chunk-UJQJMC6C.js.map
56507
+ //# sourceMappingURL=chunk-TBOM7PJ7.js.map