nexus-agents 8.32.0 → 8.33.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.
Files changed (128) hide show
  1. package/dist/{ast-rule-runner-HTI4MOOL.js → ast-rule-runner-G2JGX2Y6.js} +3 -3
  2. package/dist/{child-mcp-config-WY6OA55Q.js → child-mcp-config-67WUZXUY.js} +2 -2
  3. package/dist/{chunk-RPYXZONL.js → chunk-26XK77HW.js} +2 -2
  4. package/dist/{chunk-G5A6FOFH.js → chunk-2FKD6XDX.js} +3 -3
  5. package/dist/{chunk-3WMRUBWA.js → chunk-2QPIZDKD.js} +2 -2
  6. package/dist/{chunk-HJ5B2Z62.js → chunk-2S5Q42VC.js} +2 -2
  7. package/dist/{chunk-6Q2WMMQJ.js → chunk-6TDBRWBP.js} +2 -2
  8. package/dist/{chunk-KS6PQFSD.js → chunk-7PMOK2TP.js} +2 -2
  9. package/dist/{chunk-7ILTIJY7.js → chunk-AR5DUSJR.js} +7 -7
  10. package/dist/{chunk-XRYT4IBA.js → chunk-B4ZUXJS5.js} +2 -2
  11. package/dist/{chunk-V56A6KDM.js → chunk-BKCYVB5L.js} +5 -5
  12. package/dist/{chunk-D7JRDB2N.js → chunk-BWYCK74C.js} +9 -9
  13. package/dist/{chunk-UTPNVVIG.js → chunk-EK4KU632.js} +6 -6
  14. package/dist/{chunk-DQMUMYRB.js → chunk-F456ANG3.js} +2 -2
  15. package/dist/{chunk-FRSACWZT.js → chunk-FBDMXWOH.js} +2 -2
  16. package/dist/{chunk-UWWB7MIY.js → chunk-FOTNVPFW.js} +3 -3
  17. package/dist/{chunk-WGBQSUTR.js → chunk-HMQO7NAF.js} +2 -2
  18. package/dist/{chunk-4PUYOJ3Q.js → chunk-JEHXN5OP.js} +4 -4
  19. package/dist/{chunk-E2YSUFTQ.js → chunk-JFDD26YE.js} +5 -5
  20. package/dist/{chunk-S2SWQSD5.js → chunk-JIDYNUWN.js} +8 -8
  21. package/dist/{chunk-B6MP4U5E.js → chunk-JUABI24Q.js} +4 -4
  22. package/dist/{chunk-CM2YUTSP.js → chunk-KGSETTH5.js} +22 -6
  23. package/dist/{chunk-CM2YUTSP.js.map → chunk-KGSETTH5.js.map} +1 -1
  24. package/dist/{chunk-QFFIGF3D.js → chunk-KIDVXKGL.js} +67 -22
  25. package/dist/chunk-KIDVXKGL.js.map +1 -0
  26. package/dist/{chunk-J7FPCOPJ.js → chunk-L4ZODI4L.js} +2 -2
  27. package/dist/{chunk-44V524M2.js → chunk-MGRYGRUN.js} +7 -7
  28. package/dist/{chunk-W77OLNGW.js → chunk-N7KTMYU7.js} +2 -2
  29. package/dist/{chunk-57MMCJKK.js → chunk-OAXCXKCX.js} +3 -3
  30. package/dist/{chunk-G4IEDTP4.js → chunk-OZ6BSEWG.js} +4 -4
  31. package/dist/{chunk-T2R3RUYE.js → chunk-PSICREXH.js} +2 -2
  32. package/dist/{chunk-SJR5BXQI.js → chunk-PZ6JLXJY.js} +2 -2
  33. package/dist/{chunk-SXLU7QLW.js → chunk-UFLS3T5O.js} +2 -2
  34. package/dist/{chunk-DVHQ2EPD.js → chunk-UQUWPADT.js} +2 -2
  35. package/dist/{chunk-BQGUZW4E.js → chunk-V33LDLLE.js} +74 -37
  36. package/dist/chunk-V33LDLLE.js.map +1 -0
  37. package/dist/{chunk-NQGDSKBG.js → chunk-W2VXZSYG.js} +2 -2
  38. package/dist/{chunk-SPN7FNBB.js → chunk-W5UCRZN4.js} +2 -2
  39. package/dist/{chunk-CZSAABT5.js → chunk-W6ERGRHU.js} +2 -2
  40. package/dist/{cli-circuit-breaker-V4B2BCFK.js → cli-circuit-breaker-SB5C4IET.js} +3 -3
  41. package/dist/cli.js +43 -43
  42. package/dist/{composite-router-2QDMUPKZ.js → composite-router-JSHBVU4P.js} +2 -2
  43. package/dist/{consensus-vote-PQCSWHNE.js → consensus-vote-GS5VAMLC.js} +17 -17
  44. package/dist/{context-retriever-RDULY5VX.js → context-retriever-DPMNUHY6.js} +8 -8
  45. package/dist/{doctor-deep-FVZ75TLM.js → doctor-deep-3KEJPUDT.js} +3 -3
  46. package/dist/{doctor-live-5C65P4XA.js → doctor-live-WNHELHML.js} +9 -9
  47. package/dist/{expert-bridge-NV2DJLI4.js → expert-bridge-3QCSME4G.js} +4 -4
  48. package/dist/{factory-DQEMZMWL.js → factory-UCZLL3PX.js} +5 -5
  49. package/dist/{factory-PK7FEPFH.js → factory-ZWY3DVB7.js} +9 -9
  50. package/dist/{improvement-review-SW6IWW2M.js → improvement-review-JTF5W53V.js} +6 -6
  51. package/dist/index.d.ts +56 -0
  52. package/dist/index.js +31 -31
  53. package/dist/{init-opencode-O26PWDLR.js → init-opencode-7SRCZIZO.js} +6 -6
  54. package/dist/issue-triage-EVO6AVIL.js +17 -0
  55. package/dist/{pr-reviewer-helpers-XE66SGCA.js → pr-reviewer-helpers-TKAUWB4A.js} +4 -4
  56. package/dist/{registry-command-AMK6DK45.js → registry-command-AMETMJOH.js} +2 -2
  57. package/dist/{repo-security-plan-3DCIIY42.js → repo-security-plan-FJGRRUBP.js} +3 -3
  58. package/dist/{research-helpers-synthesize-NQXPB4C6.js → research-helpers-synthesize-ICFOUQKO.js} +4 -4
  59. package/dist/{routing-memory-JXRM6VJH.js → routing-memory-IS54K2IN.js} +2 -2
  60. package/dist/{session-memory-JMRDHQMW.js → session-memory-ALSJWKJB.js} +3 -3
  61. package/dist/{setup-config-7KZ2NTZO.js → setup-config-AKCUOUXB.js} +3 -3
  62. package/dist/{setup-custom-api-426HNTF6.js → setup-custom-api-K3MJ75JT.js} +4 -4
  63. package/dist/setup-data-dir-OM4CRLIJ.js +29 -0
  64. package/dist/{tool-memory-CMQX5AGW.js → tool-memory-PECYC5VM.js} +5 -5
  65. package/dist/{unified-registry-CCGJG7PQ.js → unified-registry-UDO6YR3I.js} +10 -10
  66. package/dist/{weather-report-F637CDJV.js → weather-report-TTRRDJNT.js} +2 -2
  67. package/package.json +1 -1
  68. package/dist/chunk-BQGUZW4E.js.map +0 -1
  69. package/dist/chunk-QFFIGF3D.js.map +0 -1
  70. package/dist/issue-triage-7TE4R3LI.js +0 -17
  71. package/dist/setup-data-dir-2IQC7FR2.js +0 -29
  72. /package/dist/{ast-rule-runner-HTI4MOOL.js.map → ast-rule-runner-G2JGX2Y6.js.map} +0 -0
  73. /package/dist/{child-mcp-config-WY6OA55Q.js.map → child-mcp-config-67WUZXUY.js.map} +0 -0
  74. /package/dist/{chunk-RPYXZONL.js.map → chunk-26XK77HW.js.map} +0 -0
  75. /package/dist/{chunk-G5A6FOFH.js.map → chunk-2FKD6XDX.js.map} +0 -0
  76. /package/dist/{chunk-3WMRUBWA.js.map → chunk-2QPIZDKD.js.map} +0 -0
  77. /package/dist/{chunk-HJ5B2Z62.js.map → chunk-2S5Q42VC.js.map} +0 -0
  78. /package/dist/{chunk-6Q2WMMQJ.js.map → chunk-6TDBRWBP.js.map} +0 -0
  79. /package/dist/{chunk-KS6PQFSD.js.map → chunk-7PMOK2TP.js.map} +0 -0
  80. /package/dist/{chunk-7ILTIJY7.js.map → chunk-AR5DUSJR.js.map} +0 -0
  81. /package/dist/{chunk-XRYT4IBA.js.map → chunk-B4ZUXJS5.js.map} +0 -0
  82. /package/dist/{chunk-V56A6KDM.js.map → chunk-BKCYVB5L.js.map} +0 -0
  83. /package/dist/{chunk-D7JRDB2N.js.map → chunk-BWYCK74C.js.map} +0 -0
  84. /package/dist/{chunk-UTPNVVIG.js.map → chunk-EK4KU632.js.map} +0 -0
  85. /package/dist/{chunk-DQMUMYRB.js.map → chunk-F456ANG3.js.map} +0 -0
  86. /package/dist/{chunk-FRSACWZT.js.map → chunk-FBDMXWOH.js.map} +0 -0
  87. /package/dist/{chunk-UWWB7MIY.js.map → chunk-FOTNVPFW.js.map} +0 -0
  88. /package/dist/{chunk-WGBQSUTR.js.map → chunk-HMQO7NAF.js.map} +0 -0
  89. /package/dist/{chunk-4PUYOJ3Q.js.map → chunk-JEHXN5OP.js.map} +0 -0
  90. /package/dist/{chunk-E2YSUFTQ.js.map → chunk-JFDD26YE.js.map} +0 -0
  91. /package/dist/{chunk-S2SWQSD5.js.map → chunk-JIDYNUWN.js.map} +0 -0
  92. /package/dist/{chunk-B6MP4U5E.js.map → chunk-JUABI24Q.js.map} +0 -0
  93. /package/dist/{chunk-J7FPCOPJ.js.map → chunk-L4ZODI4L.js.map} +0 -0
  94. /package/dist/{chunk-44V524M2.js.map → chunk-MGRYGRUN.js.map} +0 -0
  95. /package/dist/{chunk-W77OLNGW.js.map → chunk-N7KTMYU7.js.map} +0 -0
  96. /package/dist/{chunk-57MMCJKK.js.map → chunk-OAXCXKCX.js.map} +0 -0
  97. /package/dist/{chunk-G4IEDTP4.js.map → chunk-OZ6BSEWG.js.map} +0 -0
  98. /package/dist/{chunk-T2R3RUYE.js.map → chunk-PSICREXH.js.map} +0 -0
  99. /package/dist/{chunk-SJR5BXQI.js.map → chunk-PZ6JLXJY.js.map} +0 -0
  100. /package/dist/{chunk-SXLU7QLW.js.map → chunk-UFLS3T5O.js.map} +0 -0
  101. /package/dist/{chunk-DVHQ2EPD.js.map → chunk-UQUWPADT.js.map} +0 -0
  102. /package/dist/{chunk-NQGDSKBG.js.map → chunk-W2VXZSYG.js.map} +0 -0
  103. /package/dist/{chunk-SPN7FNBB.js.map → chunk-W5UCRZN4.js.map} +0 -0
  104. /package/dist/{chunk-CZSAABT5.js.map → chunk-W6ERGRHU.js.map} +0 -0
  105. /package/dist/{cli-circuit-breaker-V4B2BCFK.js.map → cli-circuit-breaker-SB5C4IET.js.map} +0 -0
  106. /package/dist/{composite-router-2QDMUPKZ.js.map → composite-router-JSHBVU4P.js.map} +0 -0
  107. /package/dist/{consensus-vote-PQCSWHNE.js.map → consensus-vote-GS5VAMLC.js.map} +0 -0
  108. /package/dist/{context-retriever-RDULY5VX.js.map → context-retriever-DPMNUHY6.js.map} +0 -0
  109. /package/dist/{doctor-deep-FVZ75TLM.js.map → doctor-deep-3KEJPUDT.js.map} +0 -0
  110. /package/dist/{doctor-live-5C65P4XA.js.map → doctor-live-WNHELHML.js.map} +0 -0
  111. /package/dist/{expert-bridge-NV2DJLI4.js.map → expert-bridge-3QCSME4G.js.map} +0 -0
  112. /package/dist/{factory-DQEMZMWL.js.map → factory-UCZLL3PX.js.map} +0 -0
  113. /package/dist/{factory-PK7FEPFH.js.map → factory-ZWY3DVB7.js.map} +0 -0
  114. /package/dist/{improvement-review-SW6IWW2M.js.map → improvement-review-JTF5W53V.js.map} +0 -0
  115. /package/dist/{init-opencode-O26PWDLR.js.map → init-opencode-7SRCZIZO.js.map} +0 -0
  116. /package/dist/{issue-triage-7TE4R3LI.js.map → issue-triage-EVO6AVIL.js.map} +0 -0
  117. /package/dist/{pr-reviewer-helpers-XE66SGCA.js.map → pr-reviewer-helpers-TKAUWB4A.js.map} +0 -0
  118. /package/dist/{registry-command-AMK6DK45.js.map → registry-command-AMETMJOH.js.map} +0 -0
  119. /package/dist/{repo-security-plan-3DCIIY42.js.map → repo-security-plan-FJGRRUBP.js.map} +0 -0
  120. /package/dist/{research-helpers-synthesize-NQXPB4C6.js.map → research-helpers-synthesize-ICFOUQKO.js.map} +0 -0
  121. /package/dist/{routing-memory-JXRM6VJH.js.map → routing-memory-IS54K2IN.js.map} +0 -0
  122. /package/dist/{session-memory-JMRDHQMW.js.map → session-memory-ALSJWKJB.js.map} +0 -0
  123. /package/dist/{setup-config-7KZ2NTZO.js.map → setup-config-AKCUOUXB.js.map} +0 -0
  124. /package/dist/{setup-custom-api-426HNTF6.js.map → setup-custom-api-K3MJ75JT.js.map} +0 -0
  125. /package/dist/{setup-data-dir-2IQC7FR2.js.map → setup-data-dir-OM4CRLIJ.js.map} +0 -0
  126. /package/dist/{tool-memory-CMQX5AGW.js.map → tool-memory-PECYC5VM.js.map} +0 -0
  127. /package/dist/{unified-registry-CCGJG7PQ.js.map → unified-registry-UDO6YR3I.js.map} +0 -0
  128. /package/dist/{weather-report-F637CDJV.js.map → weather-report-TTRRDJNT.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-T2R3RUYE.js";
13
- import "./chunk-CM2YUTSP.js";
12
+ } from "./chunk-PSICREXH.js";
13
+ import "./chunk-KGSETTH5.js";
14
14
  import "./chunk-3HELETAQ.js";
15
15
  import "./chunk-JVNJJ2VL.js";
16
16
  import "./chunk-ZPWHCABL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-HTI4MOOL.js.map
29
+ //# sourceMappingURL=ast-rule-runner-G2JGX2Y6.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-T5GVEXSA.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-CM2YUTSP.js";
6
+ } from "./chunk-KGSETTH5.js";
7
7
  import "./chunk-3HELETAQ.js";
8
8
  import "./chunk-JVNJJ2VL.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-WY6OA55Q.js.map
65
+ //# sourceMappingURL=child-mcp-config-67WUZXUY.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  getDefaultRegistry,
5
5
  roundToMicroUsd
6
- } from "./chunk-CM2YUTSP.js";
6
+ } from "./chunk-KGSETTH5.js";
7
7
  import {
8
8
  getNexusDataDir
9
9
  } from "./chunk-JVNJJ2VL.js";
@@ -196,4 +196,4 @@ export {
196
196
  loadUsageEvents,
197
197
  rollupByModel
198
198
  };
199
- //# sourceMappingURL=chunk-RPYXZONL.js.map
199
+ //# sourceMappingURL=chunk-26XK77HW.js.map
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  assessReputation,
12
12
  sanitizeInput
13
- } from "./chunk-DQMUMYRB.js";
13
+ } from "./chunk-F456ANG3.js";
14
14
  import {
15
15
  createLogger,
16
16
  err,
17
17
  getTimeProvider,
18
18
  ok
19
- } from "./chunk-CM2YUTSP.js";
19
+ } from "./chunk-KGSETTH5.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "node:crypto";
@@ -416,4 +416,4 @@ export {
416
416
  createFailedReview,
417
417
  reviewPostingBlock
418
418
  };
419
- //# sourceMappingURL=chunk-G5A6FOFH.js.map
419
+ //# sourceMappingURL=chunk-2FKD6XDX.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-CM2YUTSP.js";
3
+ } from "./chunk-KGSETTH5.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-3WMRUBWA.js.map
80
+ //# sourceMappingURL=chunk-2QPIZDKD.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-CM2YUTSP.js";
7
+ } from "./chunk-KGSETTH5.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -270,4 +270,4 @@ export {
270
270
  ScmError,
271
271
  GitHubProvider
272
272
  };
273
- //# sourceMappingURL=chunk-HJ5B2Z62.js.map
273
+ //# sourceMappingURL=chunk-2S5Q42VC.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-CM2YUTSP.js";
16
+ } from "./chunk-KGSETTH5.js";
17
17
 
18
18
  // src/config/model-parameter-support.ts
19
19
  function parseClaudeMajorMinor(bareId) {
@@ -834,4 +834,4 @@ export {
834
834
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
835
835
  collectStream
836
836
  };
837
- //# sourceMappingURL=chunk-6Q2WMMQJ.js.map
837
+ //# sourceMappingURL=chunk-6TDBRWBP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-CM2YUTSP.js";
7
+ } from "./chunk-KGSETTH5.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "node:fs";
@@ -370,4 +370,4 @@ export {
370
370
  SessionMemory,
371
371
  createSessionMemory
372
372
  };
373
- //# sourceMappingURL=chunk-KS6PQFSD.js.map
373
+ //# sourceMappingURL=chunk-7PMOK2TP.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-J7FPCOPJ.js";
3
+ } from "./chunk-L4ZODI4L.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-CM2YUTSP.js";
8
+ } from "./chunk-KGSETTH5.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-WY6OA55Q.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-67WUZXUY.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-PK7FEPFH.js");
97
- const { createCompositeRouter } = await import("./composite-router-2QDMUPKZ.js");
96
+ const { createAllAdapters } = await import("./factory-ZWY3DVB7.js");
97
+ const { createCompositeRouter } = await import("./composite-router-JSHBVU4P.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-V4B2BCFK.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-SB5C4IET.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-7ILTIJY7.js.map
216
+ //# sourceMappingURL=chunk-AR5DUSJR.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-CM2YUTSP.js";
4
+ } from "./chunk-KGSETTH5.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "node:crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-XRYT4IBA.js.map
27
+ //# sourceMappingURL=chunk-B4ZUXJS5.js.map
@@ -5,13 +5,13 @@ import {
5
5
  loadTechniquesRegistry,
6
6
  resolveInsideRoot,
7
7
  savePapersRegistry
8
- } from "./chunk-CZSAABT5.js";
8
+ } from "./chunk-W6ERGRHU.js";
9
9
  import {
10
10
  resolveToken
11
- } from "./chunk-W77OLNGW.js";
11
+ } from "./chunk-N7KTMYU7.js";
12
12
  import {
13
13
  getToolMemory
14
- } from "./chunk-G4IEDTP4.js";
14
+ } from "./chunk-OZ6BSEWG.js";
15
15
  import {
16
16
  capitalizeWords,
17
17
  tokenizeFiltered,
@@ -40,7 +40,7 @@ import {
40
40
  ok,
41
41
  registerPersistentDistillerFactory,
42
42
  sigmoidConfidence
43
- } from "./chunk-CM2YUTSP.js";
43
+ } from "./chunk-KGSETTH5.js";
44
44
  import {
45
45
  ensureLearningDir,
46
46
  getRulesFile
@@ -4216,4 +4216,4 @@ export {
4216
4216
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4217
4217
  getContextPromptPrefix
4218
4218
  };
4219
- //# sourceMappingURL=chunk-V56A6KDM.js.map
4219
+ //# sourceMappingURL=chunk-BKCYVB5L.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-RPYXZONL.js";
4
+ } from "./chunk-26XK77HW.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,26 +23,26 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-QFFIGF3D.js";
26
+ } from "./chunk-KIDVXKGL.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-WGBQSUTR.js";
29
+ } from "./chunk-HMQO7NAF.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
33
33
  createEvent,
34
34
  getGlobalRegistry
35
- } from "./chunk-B6MP4U5E.js";
35
+ } from "./chunk-JUABI24Q.js";
36
36
  import {
37
37
  getToolMemory
38
- } from "./chunk-G4IEDTP4.js";
38
+ } from "./chunk-OZ6BSEWG.js";
39
39
  import {
40
40
  authRemediation,
41
41
  delay,
42
42
  getAvailableClis,
43
43
  sleep,
44
44
  withTimeout
45
- } from "./chunk-S2SWQSD5.js";
45
+ } from "./chunk-JIDYNUWN.js";
46
46
  import {
47
47
  AgentError,
48
48
  CLI_NAMES,
@@ -70,7 +70,7 @@ import {
70
70
  registerPersistentOutcomeStoreFactory,
71
71
  resolveClassGuardMs,
72
72
  resolveVoteTimeout
73
- } from "./chunk-CM2YUTSP.js";
73
+ } from "./chunk-KGSETTH5.js";
74
74
  import {
75
75
  ensureLearningDir,
76
76
  getOutcomesFile
@@ -7209,7 +7209,7 @@ function logPartialProposal(bounded, log) {
7209
7209
  }
7210
7210
  async function runContrarianCheck(proposal, log) {
7211
7211
  try {
7212
- const { executeExpert } = await import("./expert-bridge-NV2DJLI4.js");
7212
+ const { executeExpert } = await import("./expert-bridge-3QCSME4G.js");
7213
7213
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
7214
7214
  logPartialProposal(bounded, log);
7215
7215
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
@@ -7806,4 +7806,4 @@ export {
7806
7806
  CONSENSUS_VOTE_TOOL_SCHEMA,
7807
7807
  registerConsensusVoteTool
7808
7808
  };
7809
- //# sourceMappingURL=chunk-D7JRDB2N.js.map
7809
+ //# sourceMappingURL=chunk-BWYCK74C.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-HJ5B2Z62.js";
4
+ } from "./chunk-2S5Q42VC.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -12,7 +12,7 @@ import {
12
12
  resolveEnvMode,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-DQMUMYRB.js";
15
+ } from "./chunk-F456ANG3.js";
16
16
  import {
17
17
  MAX_STRIPPED_ELEMENTS_PER_EVENT,
18
18
  createAuditTrail,
@@ -20,10 +20,10 @@ import {
20
20
  emitReputationEvent,
21
21
  emitSanitizationEvent,
22
22
  emitTrustEvent
23
- } from "./chunk-SPN7FNBB.js";
23
+ } from "./chunk-W5UCRZN4.js";
24
24
  import {
25
25
  hasToken
26
- } from "./chunk-W77OLNGW.js";
26
+ } from "./chunk-N7KTMYU7.js";
27
27
  import {
28
28
  CLI_SUBPROCESS_TIMEOUTS,
29
29
  createLogger,
@@ -31,7 +31,7 @@ import {
31
31
  getErrorMessage,
32
32
  getTimeProvider,
33
33
  ok
34
- } from "./chunk-CM2YUTSP.js";
34
+ } from "./chunk-KGSETTH5.js";
35
35
 
36
36
  // src/security/firewall/firewall-policy-mode.ts
37
37
  import { z } from "zod";
@@ -2117,4 +2117,4 @@ export {
2117
2117
  IssueTriage,
2118
2118
  createIssueTriage
2119
2119
  };
2120
- //# sourceMappingURL=chunk-UTPNVVIG.js.map
2120
+ //# sourceMappingURL=chunk-EK4KU632.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-CM2YUTSP.js";
5
+ } from "./chunk-KGSETTH5.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -590,4 +590,4 @@ export {
590
590
  resolveReputationGatingMode,
591
591
  gateWithReputation
592
592
  };
593
- //# sourceMappingURL=chunk-DQMUMYRB.js.map
593
+ //# sourceMappingURL=chunk-F456ANG3.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-CM2YUTSP.js";
5
+ } from "./chunk-KGSETTH5.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-FRSACWZT.js.map
109
+ //# sourceMappingURL=chunk-FBDMXWOH.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-CZSAABT5.js";
3
+ } from "./chunk-W6ERGRHU.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-CM2YUTSP.js";
6
+ } from "./chunk-KGSETTH5.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -886,4 +886,4 @@ export {
886
886
  AttributedInsightSchema,
887
887
  synthesizeResearch
888
888
  };
889
- //# sourceMappingURL=chunk-UWWB7MIY.js.map
889
+ //# sourceMappingURL=chunk-FOTNVPFW.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.32.0" : "dev";
3
+ var VERSION = true ? "8.33.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-WGBQSUTR.js.map
14
+ //# sourceMappingURL=chunk-HMQO7NAF.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-HJ5B2Z62.js";
4
+ } from "./chunk-2S5Q42VC.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-W77OLNGW.js";
7
+ } from "./chunk-N7KTMYU7.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-CM2YUTSP.js";
11
+ } from "./chunk-KGSETTH5.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-4PUYOJ3Q.js.map
44
+ //# sourceMappingURL=chunk-JEHXN5OP.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-RPYXZONL.js";
4
+ } from "./chunk-26XK77HW.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-6Q2WMMQJ.js";
11
+ } from "./chunk-6TDBRWBP.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-SJR5BXQI.js";
14
+ } from "./chunk-PZ6JLXJY.js";
15
15
  import {
16
16
  ConfigError,
17
17
  ModelCapability,
@@ -22,7 +22,7 @@ import {
22
22
  getTimeProvider,
23
23
  getTokenEstimator,
24
24
  ok
25
- } from "./chunk-CM2YUTSP.js";
25
+ } from "./chunk-KGSETTH5.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -838,4 +838,4 @@ export {
838
838
  discoverModels,
839
839
  buildOpenAICompatAdapters
840
840
  };
841
- //# sourceMappingURL=chunk-E2YSUFTQ.js.map
841
+ //# sourceMappingURL=chunk-JFDD26YE.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-6Q2WMMQJ.js";
8
+ } from "./chunk-6TDBRWBP.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-DVHQ2EPD.js";
11
+ } from "./chunk-UQUWPADT.js";
12
12
  import {
13
13
  CUSTOM_API_BASE_URL_ENV,
14
14
  PROVIDER_ENV_KEYS,
15
15
  assertCustomApiHostResolvesPublic,
16
16
  validateCustomApiBaseUrl
17
- } from "./chunk-SJR5BXQI.js";
17
+ } from "./chunk-PZ6JLXJY.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-T5GVEXSA.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-J7FPCOPJ.js";
23
+ } from "./chunk-L4ZODI4L.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-XRYT4IBA.js";
29
+ } from "./chunk-B4ZUXJS5.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-NQGDSKBG.js";
35
+ } from "./chunk-W2VXZSYG.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -73,7 +73,7 @@ import {
73
73
  resolveCliModelName,
74
74
  resolveRetryAfterMs,
75
75
  retryAfterMsFromContext
76
- } from "./chunk-CM2YUTSP.js";
76
+ } from "./chunk-KGSETTH5.js";
77
77
  import {
78
78
  parseBoolValue
79
79
  } from "./chunk-JVNJJ2VL.js";
@@ -4970,4 +4970,4 @@ export {
4970
4970
  SdkAdapter,
4971
4971
  createAutoAdapter
4972
4972
  };
4973
- //# sourceMappingURL=chunk-S2SWQSD5.js.map
4973
+ //# sourceMappingURL=chunk-JIDYNUWN.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-S2SWQSD5.js";
3
+ } from "./chunk-JIDYNUWN.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-NQGDSKBG.js";
7
+ } from "./chunk-W2VXZSYG.js";
8
8
  import {
9
9
  CLI_NAMES,
10
10
  CircularBuffer,
@@ -24,7 +24,7 @@ import {
24
24
  recordRateLimitEvent,
25
25
  resolveModelIdentitySync,
26
26
  toRateLimitError
27
- } from "./chunk-CM2YUTSP.js";
27
+ } from "./chunk-KGSETTH5.js";
28
28
 
29
29
  // src/config/model-equivalence.ts
30
30
  function canonicalModelKey(modelId) {
@@ -904,4 +904,4 @@ export {
904
904
  getGlobalRegistry,
905
905
  resetGlobalRegistry
906
906
  };
907
- //# sourceMappingURL=chunk-B6MP4U5E.js.map
907
+ //# sourceMappingURL=chunk-JUABI24Q.js.map
@@ -2678,7 +2678,7 @@ function setDefaultRegistry(registry) {
2678
2678
  }
2679
2679
  async function reloadDefaultRegistry() {
2680
2680
  globalRegistry = buildDefaultRegistry();
2681
- const { resetGlobalRegistry } = await import("./unified-registry-CCGJG7PQ.js");
2681
+ const { resetGlobalRegistry } = await import("./unified-registry-UDO6YR3I.js");
2682
2682
  resetGlobalRegistry();
2683
2683
  return globalRegistry;
2684
2684
  }
@@ -15089,6 +15089,7 @@ var CompositeRouter = class _CompositeRouter {
15089
15089
  const {
15090
15090
  preferenceRouterConfig,
15091
15091
  zeroRouterConfig,
15092
+ topsisConfig,
15092
15093
  latencyTrackerConfig,
15093
15094
  routingMemoryConfig,
15094
15095
  confidenceCascadeConfig,
@@ -15115,7 +15116,8 @@ var CompositeRouter = class _CompositeRouter {
15115
15116
  adapters,
15116
15117
  preferenceRouterConfig,
15117
15118
  zeroRouterConfig,
15118
- latencyTrackerConfig
15119
+ latencyTrackerConfig,
15120
+ topsisConfig
15119
15121
  );
15120
15122
  this.initializeMemoryAndStages(routingMemoryConfig, {
15121
15123
  confidenceCascade: confidenceCascadeConfig,
@@ -15141,14 +15143,14 @@ var CompositeRouter = class _CompositeRouter {
15141
15143
  this.logger.debug("OrchestrationObserver wired to CompositeRouter");
15142
15144
  }
15143
15145
  }
15144
- initializeCoreRouters(adapters, preferenceConfig, zeroConfig, latencyConfig) {
15146
+ initializeCoreRouters(adapters, preferenceConfig, zeroConfig, latencyConfig, topsisConfig) {
15145
15147
  if (this.config.enableBudgetFilter && adapters.size > 0) {
15146
15148
  this.budgetRouter = this.buildBudgetRouter(adapters);
15147
15149
  }
15148
15150
  if (this.config.enableZeroRouter) this.zeroRouter = new ZeroRouter(zeroConfig, this.logger);
15149
15151
  if (this.config.enablePreferenceRouting)
15150
15152
  this.preferenceRouter = new PreferenceRouter(preferenceConfig);
15151
- if (this.config.enableTopsisRanking) this.topsisRouter = new TopsisRouter();
15153
+ if (this.config.enableTopsisRanking) this.topsisRouter = new TopsisRouter(topsisConfig);
15152
15154
  if (this.config.enableLinUCBSelection && this.cliNames.length > 0) {
15153
15155
  this.linucbBandit = new LinUCBBandit(this.cliNames, { alpha: this.config.linucbAlpha });
15154
15156
  this.warmStartBandit();
@@ -15286,7 +15288,7 @@ var CompositeRouter = class _CompositeRouter {
15286
15288
  */
15287
15289
  async consultUnifiedContext(task) {
15288
15290
  try {
15289
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-RDULY5VX.js");
15291
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-DPMNUHY6.js");
15290
15292
  const ctx = await getContextForTask({
15291
15293
  task: task.content,
15292
15294
  category: inferTaskCategory(task.content),
@@ -15471,6 +15473,18 @@ var CompositeRouter = class _CompositeRouter {
15471
15473
  getAvailableModelsCache() {
15472
15474
  return this.availableModelsCache;
15473
15475
  }
15476
+ /**
15477
+ * The TOPSIS config the ranking stage was actually built with, or undefined
15478
+ * when ranking is disabled (#5785).
15479
+ *
15480
+ * Mirrors `getAvailableModelsCache` above: a narrow accessor so the WIRING is
15481
+ * verifiable, not just the adapter's output. The adapter used to return a
15482
+ * `topsisConfig` that this class never read, and a test asserting only the
15483
+ * adapter would have passed against that.
15484
+ */
15485
+ getTopsisConfig() {
15486
+ return this.topsisRouter?.getConfig();
15487
+ }
15474
15488
  getStageDependencies() {
15475
15489
  return {
15476
15490
  config: this.config,
@@ -16888,6 +16902,8 @@ export {
16888
16902
  toExpertTaskAnalysisResult,
16889
16903
  getRandomProvider,
16890
16904
  NEUTRAL_BANDIT_FEATURE,
16905
+ DEFAULT_TOPSIS_CRITERIA,
16906
+ DEFAULT_TOPSIS_CONFIG,
16891
16907
  DEFAULT_MODEL_PROFILES,
16892
16908
  TopsisRouter,
16893
16909
  LinUCBBandit,
@@ -16961,4 +16977,4 @@ export {
16961
16977
  AgentCapability,
16962
16978
  OrchestratorError
16963
16979
  };
16964
- //# sourceMappingURL=chunk-CM2YUTSP.js.map
16980
+ //# sourceMappingURL=chunk-KGSETTH5.js.map