nexus-agents 3.5.3 → 3.5.5

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.
Files changed (119) hide show
  1. package/dist/{child-mcp-config-VVTPONKP.js → child-mcp-config-SVGK6QFI.js} +2 -2
  2. package/dist/{chunk-GWLBIDS6.js → chunk-3XYA4XDX.js} +3 -3
  3. package/dist/{chunk-UFJDYK22.js → chunk-4Q6SSODG.js} +4 -4
  4. package/dist/{chunk-D3KHLA3D.js → chunk-542D7RE3.js} +2 -2
  5. package/dist/{chunk-GVLDWGSK.js → chunk-56GTITUT.js} +7 -7
  6. package/dist/{chunk-HPAYIX7E.js → chunk-6LZNWY4D.js} +2 -2
  7. package/dist/{chunk-UOA23X5A.js → chunk-77RSSNU6.js} +2 -2
  8. package/dist/{chunk-C25JA3SI.js → chunk-ABNK3EFM.js} +4 -4
  9. package/dist/{chunk-KBVU2GGV.js → chunk-ALDOPPP4.js} +2 -2
  10. package/dist/{chunk-4ZVNCOZH.js → chunk-CFJV3CEA.js} +2 -2
  11. package/dist/{chunk-QDH2SQKE.js → chunk-CWOXQK7J.js} +2 -2
  12. package/dist/{chunk-ROIGF7ZF.js → chunk-DJ7YCUOL.js} +4 -4
  13. package/dist/{chunk-XKGEKKKQ.js → chunk-EJQRYAKB.js} +3 -3
  14. package/dist/{chunk-LMGXSMC6.js → chunk-EOVXDAYT.js} +2 -2
  15. package/dist/{chunk-L4J7AXP3.js → chunk-J5TKJM7U.js} +2 -2
  16. package/dist/{chunk-UKIFG26L.js → chunk-JOWSYOT4.js} +3 -3
  17. package/dist/{chunk-QDUZSOOU.js → chunk-KJY3WZJY.js} +2 -2
  18. package/dist/{chunk-Z5HKO4TN.js → chunk-LFIDNLBP.js} +2 -2
  19. package/dist/{chunk-YFY64CCU.js → chunk-OO7JQJTG.js} +61 -27
  20. package/dist/chunk-OO7JQJTG.js.map +1 -0
  21. package/dist/{chunk-7GFMCMLF.js → chunk-OVYEVJIS.js} +2 -2
  22. package/dist/{chunk-XOWOOBY7.js → chunk-PGNOJRUL.js} +5 -5
  23. package/dist/{chunk-TPKK4ANS.js → chunk-R4W2GOYG.js} +2 -2
  24. package/dist/{chunk-IK45M7J3.js → chunk-RNERS4BC.js} +5 -5
  25. package/dist/{chunk-454KEMNV.js → chunk-SRCFMAN5.js} +8 -8
  26. package/dist/{chunk-45IB3F6G.js → chunk-TXQUWORP.js} +9 -8
  27. package/dist/chunk-TXQUWORP.js.map +1 -0
  28. package/dist/{chunk-HKX7HKDV.js → chunk-UAXEANMF.js} +3 -3
  29. package/dist/{chunk-C4GSCDCI.js → chunk-URTX43PS.js} +5 -5
  30. package/dist/{chunk-U76AVHIW.js → chunk-VIVICQZY.js} +2 -2
  31. package/dist/{chunk-VJU2NER7.js → chunk-W6BGGXFL.js} +39 -38
  32. package/dist/{chunk-VJU2NER7.js.map → chunk-W6BGGXFL.js.map} +1 -1
  33. package/dist/{chunk-XKAUANYB.js → chunk-WSFTWS2A.js} +2 -2
  34. package/dist/{chunk-3FSBTAEC.js → chunk-XLACRVKG.js} +2 -2
  35. package/dist/{chunk-EKASN4MV.js → chunk-XZ7XRJY5.js} +5 -5
  36. package/dist/{chunk-5MRYWJVK.js → chunk-XZYPUK4O.js} +2 -2
  37. package/dist/{chunk-6DIGIJIY.js → chunk-Z4NDPKGT.js} +8 -8
  38. package/dist/{cli-circuit-breaker-BKCDXF7A.js → cli-circuit-breaker-WWXIVSRL.js} +3 -3
  39. package/dist/cli.js +40 -40
  40. package/dist/{composite-router-7ZQW5X6M.js → composite-router-DHNRWBLP.js} +2 -2
  41. package/dist/{consensus-vote-JAQXK6NR.js → consensus-vote-FOXNWPYK.js} +16 -16
  42. package/dist/{context-retriever-4BWVW6Z3.js → context-retriever-SHMAFK3K.js} +8 -8
  43. package/dist/{doctor-deep-XEIFQH2B.js → doctor-deep-R2DKQMK4.js} +3 -3
  44. package/dist/{expert-bridge-KXXOPEZF.js → expert-bridge-WJ54PXNM.js} +4 -4
  45. package/dist/{factory-DFOM4HM5.js → factory-JWGO2QJJ.js} +5 -5
  46. package/dist/{factory-L74ZN3ZO.js → factory-WFICVFVH.js} +9 -9
  47. package/dist/{improvement-review-P5OTBXCR.js → improvement-review-N5IGPQOL.js} +5 -5
  48. package/dist/index.js +30 -30
  49. package/dist/{init-opencode-ZYRLCXUF.js → init-opencode-YSZRAYEA.js} +6 -6
  50. package/dist/{issue-triage-R543HBHK.js → issue-triage-EMQSTTXS.js} +6 -6
  51. package/dist/{pr-reviewer-helpers-T33G7ACC.js → pr-reviewer-helpers-ZP6PBKBX.js} +4 -4
  52. package/dist/{registry-command-PW7PXQDH.js → registry-command-KEAFJLHC.js} +2 -2
  53. package/dist/{repo-security-plan-RVKAJD7N.js → repo-security-plan-PYRBPSWW.js} +3 -3
  54. package/dist/{research-helpers-synthesize-FPBPUTJJ.js → research-helpers-synthesize-PNNPNBWS.js} +4 -4
  55. package/dist/{routing-memory-X5KJULU7.js → routing-memory-RZ5RV35U.js} +2 -2
  56. package/dist/{session-memory-UX5SU2ZG.js → session-memory-LXWIFK34.js} +3 -3
  57. package/dist/{setup-command-5YJMFY3W.js → setup-command-XGW7X7RX.js} +14 -14
  58. package/dist/{setup-config-IEH3CVR5.js → setup-config-QR3QG2PF.js} +3 -3
  59. package/dist/{setup-custom-api-V4K6SQQN.js → setup-custom-api-H6C36KPK.js} +4 -4
  60. package/dist/{tool-memory-IALII4YE.js → tool-memory-XJKSCMZT.js} +5 -5
  61. package/dist/{unified-registry-RUA3EHP4.js → unified-registry-X6V64OYT.js} +10 -10
  62. package/dist/{weather-report-PBVXX2HU.js → weather-report-BDYHHFYX.js} +2 -2
  63. package/package.json +1 -1
  64. package/dist/chunk-45IB3F6G.js.map +0 -1
  65. package/dist/chunk-YFY64CCU.js.map +0 -1
  66. /package/dist/{child-mcp-config-VVTPONKP.js.map → child-mcp-config-SVGK6QFI.js.map} +0 -0
  67. /package/dist/{chunk-GWLBIDS6.js.map → chunk-3XYA4XDX.js.map} +0 -0
  68. /package/dist/{chunk-UFJDYK22.js.map → chunk-4Q6SSODG.js.map} +0 -0
  69. /package/dist/{chunk-D3KHLA3D.js.map → chunk-542D7RE3.js.map} +0 -0
  70. /package/dist/{chunk-GVLDWGSK.js.map → chunk-56GTITUT.js.map} +0 -0
  71. /package/dist/{chunk-HPAYIX7E.js.map → chunk-6LZNWY4D.js.map} +0 -0
  72. /package/dist/{chunk-UOA23X5A.js.map → chunk-77RSSNU6.js.map} +0 -0
  73. /package/dist/{chunk-C25JA3SI.js.map → chunk-ABNK3EFM.js.map} +0 -0
  74. /package/dist/{chunk-KBVU2GGV.js.map → chunk-ALDOPPP4.js.map} +0 -0
  75. /package/dist/{chunk-4ZVNCOZH.js.map → chunk-CFJV3CEA.js.map} +0 -0
  76. /package/dist/{chunk-QDH2SQKE.js.map → chunk-CWOXQK7J.js.map} +0 -0
  77. /package/dist/{chunk-ROIGF7ZF.js.map → chunk-DJ7YCUOL.js.map} +0 -0
  78. /package/dist/{chunk-XKGEKKKQ.js.map → chunk-EJQRYAKB.js.map} +0 -0
  79. /package/dist/{chunk-LMGXSMC6.js.map → chunk-EOVXDAYT.js.map} +0 -0
  80. /package/dist/{chunk-L4J7AXP3.js.map → chunk-J5TKJM7U.js.map} +0 -0
  81. /package/dist/{chunk-UKIFG26L.js.map → chunk-JOWSYOT4.js.map} +0 -0
  82. /package/dist/{chunk-QDUZSOOU.js.map → chunk-KJY3WZJY.js.map} +0 -0
  83. /package/dist/{chunk-Z5HKO4TN.js.map → chunk-LFIDNLBP.js.map} +0 -0
  84. /package/dist/{chunk-7GFMCMLF.js.map → chunk-OVYEVJIS.js.map} +0 -0
  85. /package/dist/{chunk-XOWOOBY7.js.map → chunk-PGNOJRUL.js.map} +0 -0
  86. /package/dist/{chunk-TPKK4ANS.js.map → chunk-R4W2GOYG.js.map} +0 -0
  87. /package/dist/{chunk-IK45M7J3.js.map → chunk-RNERS4BC.js.map} +0 -0
  88. /package/dist/{chunk-454KEMNV.js.map → chunk-SRCFMAN5.js.map} +0 -0
  89. /package/dist/{chunk-HKX7HKDV.js.map → chunk-UAXEANMF.js.map} +0 -0
  90. /package/dist/{chunk-C4GSCDCI.js.map → chunk-URTX43PS.js.map} +0 -0
  91. /package/dist/{chunk-U76AVHIW.js.map → chunk-VIVICQZY.js.map} +0 -0
  92. /package/dist/{chunk-XKAUANYB.js.map → chunk-WSFTWS2A.js.map} +0 -0
  93. /package/dist/{chunk-3FSBTAEC.js.map → chunk-XLACRVKG.js.map} +0 -0
  94. /package/dist/{chunk-EKASN4MV.js.map → chunk-XZ7XRJY5.js.map} +0 -0
  95. /package/dist/{chunk-5MRYWJVK.js.map → chunk-XZYPUK4O.js.map} +0 -0
  96. /package/dist/{chunk-6DIGIJIY.js.map → chunk-Z4NDPKGT.js.map} +0 -0
  97. /package/dist/{cli-circuit-breaker-BKCDXF7A.js.map → cli-circuit-breaker-WWXIVSRL.js.map} +0 -0
  98. /package/dist/{composite-router-7ZQW5X6M.js.map → composite-router-DHNRWBLP.js.map} +0 -0
  99. /package/dist/{consensus-vote-JAQXK6NR.js.map → consensus-vote-FOXNWPYK.js.map} +0 -0
  100. /package/dist/{context-retriever-4BWVW6Z3.js.map → context-retriever-SHMAFK3K.js.map} +0 -0
  101. /package/dist/{doctor-deep-XEIFQH2B.js.map → doctor-deep-R2DKQMK4.js.map} +0 -0
  102. /package/dist/{expert-bridge-KXXOPEZF.js.map → expert-bridge-WJ54PXNM.js.map} +0 -0
  103. /package/dist/{factory-DFOM4HM5.js.map → factory-JWGO2QJJ.js.map} +0 -0
  104. /package/dist/{factory-L74ZN3ZO.js.map → factory-WFICVFVH.js.map} +0 -0
  105. /package/dist/{improvement-review-P5OTBXCR.js.map → improvement-review-N5IGPQOL.js.map} +0 -0
  106. /package/dist/{init-opencode-ZYRLCXUF.js.map → init-opencode-YSZRAYEA.js.map} +0 -0
  107. /package/dist/{issue-triage-R543HBHK.js.map → issue-triage-EMQSTTXS.js.map} +0 -0
  108. /package/dist/{pr-reviewer-helpers-T33G7ACC.js.map → pr-reviewer-helpers-ZP6PBKBX.js.map} +0 -0
  109. /package/dist/{registry-command-PW7PXQDH.js.map → registry-command-KEAFJLHC.js.map} +0 -0
  110. /package/dist/{repo-security-plan-RVKAJD7N.js.map → repo-security-plan-PYRBPSWW.js.map} +0 -0
  111. /package/dist/{research-helpers-synthesize-FPBPUTJJ.js.map → research-helpers-synthesize-PNNPNBWS.js.map} +0 -0
  112. /package/dist/{routing-memory-X5KJULU7.js.map → routing-memory-RZ5RV35U.js.map} +0 -0
  113. /package/dist/{session-memory-UX5SU2ZG.js.map → session-memory-LXWIFK34.js.map} +0 -0
  114. /package/dist/{setup-command-5YJMFY3W.js.map → setup-command-XGW7X7RX.js.map} +0 -0
  115. /package/dist/{setup-config-IEH3CVR5.js.map → setup-config-QR3QG2PF.js.map} +0 -0
  116. /package/dist/{setup-custom-api-V4K6SQQN.js.map → setup-custom-api-H6C36KPK.js.map} +0 -0
  117. /package/dist/{tool-memory-IALII4YE.js.map → tool-memory-XJKSCMZT.js.map} +0 -0
  118. /package/dist/{unified-registry-RUA3EHP4.js.map → unified-registry-X6V64OYT.js.map} +0 -0
  119. /package/dist/{weather-report-PBVXX2HU.js.map → weather-report-BDYHHFYX.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SNJNRDKZ.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-YFY64CCU.js";
6
+ } from "./chunk-OO7JQJTG.js";
7
7
  import "./chunk-2HUC6NZN.js";
8
8
  import "./chunk-OQLFRJCW.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -62,4 +62,4 @@ export {
62
62
  generateMcpConfig,
63
63
  getDefaultAllowedTools
64
64
  };
65
- //# sourceMappingURL=child-mcp-config-VVTPONKP.js.map
65
+ //# sourceMappingURL=child-mcp-config-SVGK6QFI.js.map
@@ -9,11 +9,11 @@ import {
9
9
  gateWithReputation,
10
10
  resolveReputationGatingMode,
11
11
  sanitizeInput
12
- } from "./chunk-KBVU2GGV.js";
12
+ } from "./chunk-ALDOPPP4.js";
13
13
  import {
14
14
  createLogger,
15
15
  getTimeProvider
16
- } from "./chunk-YFY64CCU.js";
16
+ } from "./chunk-OO7JQJTG.js";
17
17
 
18
18
  // src/dogfooding/pr-reviewer-helpers.ts
19
19
  import { randomUUID } from "crypto";
@@ -288,4 +288,4 @@ export {
288
288
  formatReviewComment,
289
289
  createFailedReview
290
290
  };
291
- //# sourceMappingURL=chunk-GWLBIDS6.js.map
291
+ //# sourceMappingURL=chunk-3XYA4XDX.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-45IB3F6G.js";
3
+ } from "./chunk-TXQUWORP.js";
4
4
  import {
5
5
  mapModelErrorToCategory
6
- } from "./chunk-D3KHLA3D.js";
6
+ } from "./chunk-542D7RE3.js";
7
7
  import {
8
8
  CLI_NAMES,
9
9
  CircularBuffer,
@@ -21,7 +21,7 @@ import {
21
21
  ok,
22
22
  recordRateLimitEvent,
23
23
  toRateLimitError
24
- } from "./chunk-YFY64CCU.js";
24
+ } from "./chunk-OO7JQJTG.js";
25
25
 
26
26
  // src/agents/collaboration/event-bus-helpers.ts
27
27
  import { randomUUID } from "crypto";
@@ -833,4 +833,4 @@ export {
833
833
  getGlobalRegistry,
834
834
  resetGlobalRegistry
835
835
  };
836
- //# sourceMappingURL=chunk-UFJDYK22.js.map
836
+ //# sourceMappingURL=chunk-4Q6SSODG.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-YFY64CCU.js";
11
+ } from "./chunk-OO7JQJTG.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -540,4 +540,4 @@ export {
540
540
  CliCircuitBreakerIntegration,
541
541
  createCliCircuitBreakerIntegration
542
542
  };
543
- //# sourceMappingURL=chunk-D3KHLA3D.js.map
543
+ //# sourceMappingURL=chunk-542D7RE3.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-LMGXSMC6.js";
3
+ } from "./chunk-EOVXDAYT.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-YFY64CCU.js";
8
+ } from "./chunk-OO7JQJTG.js";
9
9
 
10
10
  // src/pipeline/expert-bridge.ts
11
11
  function resolveCliFromModelString(model) {
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
21
21
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
22
22
  mcpConfigInitPromise ??= (async () => {
23
23
  try {
24
- const { generateMcpConfig } = await import("./child-mcp-config-VVTPONKP.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-SVGK6QFI.js");
25
25
  const config = await generateMcpConfig();
26
26
  cachedMcpConfigPath = config.configPath;
27
27
  cachedMcpConfigCleanup = config.cleanup;
@@ -93,8 +93,8 @@ var routerInitPromise = null;
93
93
  async function getRouter() {
94
94
  if (cachedRouter !== null) return cachedRouter;
95
95
  routerInitPromise ??= (async () => {
96
- const { createAllAdapters } = await import("./factory-L74ZN3ZO.js");
97
- const { createCompositeRouter } = await import("./composite-router-7ZQW5X6M.js");
96
+ const { createAllAdapters } = await import("./factory-WFICVFVH.js");
97
+ const { createCompositeRouter } = await import("./composite-router-DHNRWBLP.js");
98
98
  const adapters = createAllAdapters();
99
99
  if (adapters.size === 0) {
100
100
  routerInitPromise = null;
@@ -102,7 +102,7 @@ async function getRouter() {
102
102
  }
103
103
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
104
104
  try {
105
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-BKCDXF7A.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-WWXIVSRL.js");
106
106
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
107
107
  } catch (error) {
108
108
  const msg = error instanceof Error ? error.message : String(error);
@@ -213,4 +213,4 @@ export {
213
213
  tokenSplitFromUsage,
214
214
  executeExpert
215
215
  };
216
- //# sourceMappingURL=chunk-GVLDWGSK.js.map
216
+ //# sourceMappingURL=chunk-56GTITUT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-YFY64CCU.js";
3
+ } from "./chunk-OO7JQJTG.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-OQLFRJCW.js";
@@ -124,4 +124,4 @@ export {
124
124
  loadUsageEvents,
125
125
  rollupByModel
126
126
  };
127
- //# sourceMappingURL=chunk-HPAYIX7E.js.map
127
+ //# sourceMappingURL=chunk-6LZNWY4D.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-YFY64CCU.js";
6
+ } from "./chunk-OO7JQJTG.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -169,4 +169,4 @@ export {
169
169
  validateCustomApiBaseUrl,
170
170
  assertCustomApiHostResolvesPublic
171
171
  };
172
- //# sourceMappingURL=chunk-UOA23X5A.js.map
172
+ //# sourceMappingURL=chunk-77RSSNU6.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-U76AVHIW.js";
4
+ } from "./chunk-VIVICQZY.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-TPKK4ANS.js";
7
+ } from "./chunk-R4W2GOYG.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-YFY64CCU.js";
11
+ } from "./chunk-OO7JQJTG.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-C25JA3SI.js.map
44
+ //# sourceMappingURL=chunk-ABNK3EFM.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-YFY64CCU.js";
5
+ } from "./chunk-OO7JQJTG.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -560,4 +560,4 @@ export {
560
560
  resolveReputationGatingMode,
561
561
  gateWithReputation
562
562
  };
563
- //# sourceMappingURL=chunk-KBVU2GGV.js.map
563
+ //# sourceMappingURL=chunk-ALDOPPP4.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-YFY64CCU.js";
5
+ } from "./chunk-OO7JQJTG.js";
6
6
 
7
7
  // src/cli/doctor-deep.ts
8
8
  var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
@@ -106,4 +106,4 @@ export {
106
106
  runDeepDiagnostics,
107
107
  formatDeepDiagnostics
108
108
  };
109
- //# sourceMappingURL=chunk-4ZVNCOZH.js.map
109
+ //# sourceMappingURL=chunk-CFJV3CEA.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-YFY64CCU.js";
11
+ } from "./chunk-OO7JQJTG.js";
12
12
 
13
13
  // src/cli/research-helpers-io.ts
14
14
  import * as fs2 from "fs/promises";
@@ -146,4 +146,4 @@ export {
146
146
  loadPapersRegistry,
147
147
  savePapersRegistry
148
148
  };
149
- //# sourceMappingURL=chunk-QDH2SQKE.js.map
149
+ //# sourceMappingURL=chunk-CWOXQK7J.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-Z5HKO4TN.js";
8
+ } from "./chunk-LFIDNLBP.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-KSQSWEFH.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-5MRYWJVK.js";
18
+ } from "./chunk-XZYPUK4O.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -28,7 +28,7 @@ import {
28
28
  getTimeProvider,
29
29
  ok,
30
30
  setSharedMobiMemDbPathResolver
31
- } from "./chunk-YFY64CCU.js";
31
+ } from "./chunk-OO7JQJTG.js";
32
32
  import {
33
33
  nexusDataPath
34
34
  } from "./chunk-OQLFRJCW.js";
@@ -5552,4 +5552,4 @@ export {
5552
5552
  reinitializeMemoryBackends,
5553
5553
  ToolMemoryManager
5554
5554
  };
5555
- //# sourceMappingURL=chunk-ROIGF7ZF.js.map
5555
+ //# sourceMappingURL=chunk-DJ7YCUOL.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-QDH2SQKE.js";
3
+ } from "./chunk-CWOXQK7J.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-YFY64CCU.js";
6
+ } from "./chunk-OO7JQJTG.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -876,4 +876,4 @@ export {
876
876
  AttributedInsightSchema,
877
877
  synthesizeResearch
878
878
  };
879
- //# sourceMappingURL=chunk-XKGEKKKQ.js.map
879
+ //# sourceMappingURL=chunk-EJQRYAKB.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-YFY64CCU.js";
6
+ } from "./chunk-OO7JQJTG.js";
7
7
 
8
8
  // src/config/model-availability.ts
9
9
  var DEFAULT_TTL_MS = 6e4;
@@ -150,4 +150,4 @@ export {
150
150
  resetAvailabilityCache,
151
151
  filterAvailableModels
152
152
  };
153
- //# sourceMappingURL=chunk-LMGXSMC6.js.map
153
+ //# sourceMappingURL=chunk-EOVXDAYT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-YFY64CCU.js";
3
+ } from "./chunk-OO7JQJTG.js";
4
4
 
5
5
  // src/security/audit-trail.ts
6
6
  var MAX_EVENTS = 1e4;
@@ -205,4 +205,4 @@ export {
205
205
  createGraphAuditBridge,
206
206
  createAuditTrail
207
207
  };
208
- //# sourceMappingURL=chunk-L4J7AXP3.js.map
208
+ //# sourceMappingURL=chunk-J5TKJM7U.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-HKX7HKDV.js";
10
+ } from "./chunk-UAXEANMF.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -19,7 +19,7 @@ import {
19
19
  getPipelineEventBus,
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate
22
- } from "./chunk-YFY64CCU.js";
22
+ } from "./chunk-OO7JQJTG.js";
23
23
  import {
24
24
  getNexusDataDir,
25
25
  nexusDataPath
@@ -2132,4 +2132,4 @@ export {
2132
2132
  runImprovementReview,
2133
2133
  registerImprovementReviewTool
2134
2134
  };
2135
- //# sourceMappingURL=chunk-UKIFG26L.js.map
2135
+ //# sourceMappingURL=chunk-JOWSYOT4.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-YFY64CCU.js";
3
+ } from "./chunk-OO7JQJTG.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-QDUZSOOU.js.map
80
+ //# sourceMappingURL=chunk-KJY3WZJY.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-YFY64CCU.js";
7
+ } from "./chunk-OO7JQJTG.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -352,4 +352,4 @@ export {
352
352
  SessionMemory,
353
353
  createSessionMemory
354
354
  };
355
- //# sourceMappingURL=chunk-Z5HKO4TN.js.map
355
+ //# sourceMappingURL=chunk-LFIDNLBP.js.map
@@ -2623,7 +2623,7 @@ function setDefaultRegistry(registry) {
2623
2623
  }
2624
2624
  async function reloadDefaultRegistry() {
2625
2625
  globalRegistry = buildDefaultRegistry();
2626
- const { resetGlobalRegistry } = await import("./unified-registry-RUA3EHP4.js");
2626
+ const { resetGlobalRegistry } = await import("./unified-registry-X6V64OYT.js");
2627
2627
  resetGlobalRegistry();
2628
2628
  return globalRegistry;
2629
2629
  }
@@ -9146,6 +9146,8 @@ var CapacityFilterStage = class {
9146
9146
  logger;
9147
9147
  excludedCount = 0;
9148
9148
  unmeasuredCount = 0;
9149
+ /** Candidates whose own rolling window was full (#4456). Never excluded. */
9150
+ throttledCount = 0;
9149
9151
  constructor(adapters, config = {}, logger15) {
9150
9152
  this.adapters = adapters;
9151
9153
  this.config = { ...DEFAULT_CONFIG7, ...config };
@@ -9159,28 +9161,12 @@ var CapacityFilterStage = class {
9159
9161
  const startTime = time.now();
9160
9162
  const remaining = getRemainingCandidates(ctx);
9161
9163
  const assessments = await this.assessAll(remaining);
9162
- let updatedCtx = ctx;
9163
- let exhausted = 0;
9164
- let unmeasured = 0;
9165
- for (const cli of remaining) {
9166
- const assessment = assessments.get(cli) ?? "unmeasured";
9167
- if (assessment === "unmeasured") {
9168
- unmeasured++;
9169
- continue;
9170
- }
9171
- if (assessment !== "exhausted") continue;
9172
- exhausted++;
9173
- if (this.config.enforceHardLimits) {
9174
- updatedCtx = filterCandidate(
9175
- updatedCtx,
9176
- cli,
9177
- `${CAPACITY_EXHAUSTED}: no capacity remaining`
9178
- );
9179
- this.excludedCount++;
9180
- }
9181
- }
9182
- this.unmeasuredCount += unmeasured;
9183
- const signals = this.buildSignals(ctx.signals, exhausted, unmeasured);
9164
+ const { updatedCtx, exhausted, unmeasured, throttled } = this.classifyAndFilter(
9165
+ ctx,
9166
+ remaining,
9167
+ assessments
9168
+ );
9169
+ const signals = this.buildSignals(ctx.signals, exhausted, unmeasured, throttled);
9184
9170
  const eligible = getRemainingCandidates(updatedCtx);
9185
9171
  const durationMs2 = time.now() - startTime;
9186
9172
  const finalCtx = addTrace(
@@ -9202,7 +9188,11 @@ var CapacityFilterStage = class {
9202
9188
  });
9203
9189
  }
9204
9190
  getStats() {
9205
- return { excludedCount: this.excludedCount, unmeasuredCount: this.unmeasuredCount };
9191
+ return {
9192
+ excludedCount: this.excludedCount,
9193
+ unmeasuredCount: this.unmeasuredCount,
9194
+ throttledCount: this.throttledCount
9195
+ };
9206
9196
  }
9207
9197
  /**
9208
9198
  * Races a capacity probe against `probeTimeoutMs`.
@@ -9279,6 +9269,7 @@ var CapacityFilterStage = class {
9279
9269
  for (const arm of arms) {
9280
9270
  const assessment = assessments.get(arm) ?? "unmeasured";
9281
9271
  if (assessment === "unmeasured") unmeasured++;
9272
+ if (assessment === "throttled") this.throttledCount++;
9282
9273
  if (assessment === "exhausted" && this.config.enforceHardLimits) {
9283
9274
  excluded.set(arm, `${CAPACITY_EXHAUSTED}: no capacity remaining`);
9284
9275
  this.excludedCount++;
@@ -9309,6 +9300,46 @@ var CapacityFilterStage = class {
9309
9300
  }
9310
9301
  return result;
9311
9302
  }
9303
+ /**
9304
+ * Tally each candidate's grade, excluding only the exhausted ones.
9305
+ *
9306
+ * Iterates the slot list rather than the assessment map: `route()` operates
9307
+ * on the slot-granular RoutingContext, so `filterCandidate` needs a
9308
+ * CliName. Arm-granular callers use `assessArms` instead (#4455).
9309
+ *
9310
+ * Extracted from `route()` to keep it inside its line budget once
9311
+ * `throttled` gained a counter (#4456 follow-up).
9312
+ */
9313
+ classifyAndFilter(ctx, remaining, assessments) {
9314
+ let updatedCtx = ctx;
9315
+ let exhausted = 0;
9316
+ let unmeasured = 0;
9317
+ let throttled = 0;
9318
+ for (const cli of remaining) {
9319
+ const assessment = assessments.get(cli) ?? "unmeasured";
9320
+ if (assessment === "unmeasured") {
9321
+ unmeasured++;
9322
+ continue;
9323
+ }
9324
+ if (assessment === "throttled") {
9325
+ throttled++;
9326
+ continue;
9327
+ }
9328
+ if (assessment !== "exhausted") continue;
9329
+ exhausted++;
9330
+ if (this.config.enforceHardLimits) {
9331
+ updatedCtx = filterCandidate(
9332
+ updatedCtx,
9333
+ cli,
9334
+ `${CAPACITY_EXHAUSTED}: no capacity remaining`
9335
+ );
9336
+ this.excludedCount++;
9337
+ }
9338
+ }
9339
+ this.unmeasuredCount += unmeasured;
9340
+ this.throttledCount += throttled;
9341
+ return { updatedCtx, exhausted, unmeasured, throttled };
9342
+ }
9312
9343
  /**
9313
9344
  * Emits counts for both exhausted and unmeasured candidates.
9314
9345
  *
@@ -9318,7 +9349,7 @@ var CapacityFilterStage = class {
9318
9349
  * is the distinction that matters. (An earlier version of this comment claimed
9319
9350
  * the signal was emitted at zero too; it never was.)
9320
9351
  */
9321
- buildSignals(existing, exhausted, unmeasured) {
9352
+ buildSignals(existing, exhausted, unmeasured, throttled) {
9322
9353
  const signals = [...existing];
9323
9354
  if (exhausted > 0) {
9324
9355
  signals.push(`${CAPACITY_EXHAUSTED}:${String(exhausted)}`);
@@ -9326,6 +9357,9 @@ var CapacityFilterStage = class {
9326
9357
  if (unmeasured > 0) {
9327
9358
  signals.push(`capacity:unmeasured-${String(unmeasured)}`);
9328
9359
  }
9360
+ if (throttled > 0) {
9361
+ signals.push(`capacity:throttled-${String(throttled)}`);
9362
+ }
9329
9363
  return signals;
9330
9364
  }
9331
9365
  };
@@ -14693,7 +14727,7 @@ var CompositeRouter = class _CompositeRouter {
14693
14727
  */
14694
14728
  async consultUnifiedContext(task) {
14695
14729
  try {
14696
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-4BWVW6Z3.js");
14730
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-SHMAFK3K.js");
14697
14731
  const ctx = await getContextForTask({
14698
14732
  task: task.content,
14699
14733
  category: inferTaskCategory(task.content),
@@ -16279,4 +16313,4 @@ export {
16279
16313
  AgentCapability,
16280
16314
  OrchestratorError
16281
16315
  };
16282
- //# sourceMappingURL=chunk-YFY64CCU.js.map
16316
+ //# sourceMappingURL=chunk-OO7JQJTG.js.map