nexus-agents 8.15.2 → 8.16.0

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 (130) hide show
  1. package/dist/{ast-rule-runner-T3REZDT7.js → ast-rule-runner-AJAWZQNS.js} +3 -3
  2. package/dist/{child-mcp-config-CLACXGLL.js → child-mcp-config-JQCVNB3Y.js} +2 -2
  3. package/dist/{chunk-EVBYS5PY.js → chunk-2LQAHGNZ.js} +7 -7
  4. package/dist/{chunk-JMKRLWED.js → chunk-46V3G76B.js} +4 -4
  5. package/dist/{chunk-DG2AWTET.js → chunk-5OTOOVOF.js} +4 -4
  6. package/dist/{chunk-CYRPFUM5.js → chunk-6ZU3FUAX.js} +2 -2
  7. package/dist/{chunk-7NE6ERWJ.js → chunk-7JPBVZXW.js} +3 -3
  8. package/dist/{chunk-EH7BVUH5.js → chunk-A62DB47B.js} +8 -8
  9. package/dist/{chunk-P7E5EBZC.js → chunk-BYKZ4FMO.js} +7 -7
  10. package/dist/{chunk-YJQMBTRO.js → chunk-CQK5SIEX.js} +3 -3
  11. package/dist/{chunk-LZ65QEVJ.js → chunk-CV4BKEFW.js} +4 -4
  12. package/dist/{chunk-Y47JLN3E.js → chunk-D7WQNTAK.js} +2 -2
  13. package/dist/{chunk-TDYSYKVH.js → chunk-DBGIP6GK.js} +2 -2
  14. package/dist/{chunk-4AAIUCZF.js → chunk-ETMIOP3R.js} +2 -2
  15. package/dist/{chunk-PYIVLWVO.js → chunk-F5L6XR7O.js} +28 -11
  16. package/dist/chunk-F5L6XR7O.js.map +1 -0
  17. package/dist/{chunk-B7OYAWOE.js → chunk-FZFSJPGP.js} +87 -48
  18. package/dist/chunk-FZFSJPGP.js.map +1 -0
  19. package/dist/{chunk-JJEMPUTM.js → chunk-GWQE5MBQ.js} +2 -2
  20. package/dist/{chunk-UJBQAWAN.js → chunk-HUKQIOQJ.js} +3 -3
  21. package/dist/{chunk-UZPSVN36.js → chunk-IJH2U2QL.js} +2 -2
  22. package/dist/{chunk-5X67Q3D2.js → chunk-IVGQWADP.js} +2 -2
  23. package/dist/{chunk-YIKZVQ2G.js → chunk-JEOQY42Z.js} +5 -5
  24. package/dist/{chunk-2E36UWL7.js → chunk-JYMFL4M6.js} +2 -2
  25. package/dist/{chunk-MBXLGNKF.js → chunk-KJFX7JUP.js} +33 -12
  26. package/dist/chunk-KJFX7JUP.js.map +1 -0
  27. package/dist/{chunk-ZZ57L2XX.js → chunk-KQRF4ZHX.js} +2 -2
  28. package/dist/{chunk-4X6OQY7X.js → chunk-KUKQ7UHD.js} +4 -4
  29. package/dist/{chunk-BOKIPN5F.js → chunk-LMJ7BKIL.js} +2 -2
  30. package/dist/{chunk-LAQI75I6.js → chunk-NBXYA5O6.js} +3 -3
  31. package/dist/{chunk-LAQI75I6.js.map → chunk-NBXYA5O6.js.map} +1 -1
  32. package/dist/{chunk-SPWGAWE7.js → chunk-PBVNGI67.js} +2 -2
  33. package/dist/{chunk-LG6226RT.js → chunk-QBU2RG7U.js} +2 -2
  34. package/dist/{chunk-FIRMC57S.js → chunk-R2VSXNGB.js} +6 -6
  35. package/dist/{chunk-PBVKU72T.js → chunk-R3QNEXOU.js} +2 -2
  36. package/dist/{chunk-MM6NZTDW.js → chunk-R7V4C5UL.js} +2 -2
  37. package/dist/{chunk-M4PYLLYN.js → chunk-RJO6I6JV.js} +2 -2
  38. package/dist/chunk-W3TYQ4CB.js +7 -0
  39. package/dist/{chunk-55WGNJRG.js → chunk-ZB7XPHFZ.js} +2 -2
  40. package/dist/{chunk-5QOJAEGM.js → chunk-ZXLF3NDV.js} +2 -2
  41. package/dist/{cli-circuit-breaker-PLGPPDBH.js → cli-circuit-breaker-2LQZLFVP.js} +3 -3
  42. package/dist/cli.js +43 -43
  43. package/dist/{composite-router-HLAZHG3C.js → composite-router-XNVULYDV.js} +2 -2
  44. package/dist/{consensus-vote-ZPD6EGE7.js → consensus-vote-HIWPU4AA.js} +17 -17
  45. package/dist/{context-retriever-WR3WXM53.js → context-retriever-GWAJG6XT.js} +8 -8
  46. package/dist/{doctor-deep-VN6F7IRM.js → doctor-deep-ZATGXGNC.js} +3 -3
  47. package/dist/{doctor-live-76EBRB57.js → doctor-live-L264NFJO.js} +9 -9
  48. package/dist/{expert-bridge-Z5AB5X5H.js → expert-bridge-KCQ457YZ.js} +4 -4
  49. package/dist/{factory-4GAB7J3C.js → factory-FFKHIV6Q.js} +5 -5
  50. package/dist/{factory-7DHP2SB5.js → factory-S2SVFA6W.js} +9 -9
  51. package/dist/{improvement-review-XWZY5HJM.js → improvement-review-TYR5BN75.js} +6 -6
  52. package/dist/index.d.ts +13 -0
  53. package/dist/index.js +32 -32
  54. package/dist/{init-opencode-EZIST672.js → init-opencode-CDW4DAWF.js} +6 -6
  55. package/dist/issue-triage-MGKLKK43.js +17 -0
  56. package/dist/{pr-reviewer-helpers-3NMGM46D.js → pr-reviewer-helpers-6TRRYFHP.js} +4 -4
  57. package/dist/{registry-command-ZPQX324A.js → registry-command-4Y7RJH47.js} +2 -2
  58. package/dist/{repo-security-plan-JYXBWJ5K.js → repo-security-plan-XZ6YBLUE.js} +3 -3
  59. package/dist/{research-helpers-synthesize-EZPG6ZGS.js → research-helpers-synthesize-OKCOMCE2.js} +4 -4
  60. package/dist/{routing-memory-S537TMB4.js → routing-memory-QUA5ORUA.js} +2 -2
  61. package/dist/{session-memory-UBBYMYO4.js → session-memory-XKHKWRP3.js} +3 -3
  62. package/dist/{setup-config-LFHGW5O7.js → setup-config-NMVR2OBN.js} +3 -3
  63. package/dist/{setup-custom-api-KS3WSTFD.js → setup-custom-api-VV3FT66F.js} +4 -4
  64. package/dist/setup-data-dir-MCRACRZA.js +29 -0
  65. package/dist/{tool-memory-LSIG7GD4.js → tool-memory-MCIIYDQR.js} +5 -5
  66. package/dist/{unified-registry-63264J7Q.js → unified-registry-LPSJ2KMV.js} +10 -10
  67. package/dist/{weather-report-3B7CQC3N.js → weather-report-KHFJ756C.js} +2 -2
  68. package/package.json +1 -1
  69. package/dist/chunk-B7OYAWOE.js.map +0 -1
  70. package/dist/chunk-BSMWRMH2.js +0 -7
  71. package/dist/chunk-MBXLGNKF.js.map +0 -1
  72. package/dist/chunk-PYIVLWVO.js.map +0 -1
  73. package/dist/issue-triage-HDNDWDPO.js +0 -17
  74. package/dist/setup-data-dir-BUW4LREF.js +0 -29
  75. /package/dist/{ast-rule-runner-T3REZDT7.js.map → ast-rule-runner-AJAWZQNS.js.map} +0 -0
  76. /package/dist/{child-mcp-config-CLACXGLL.js.map → child-mcp-config-JQCVNB3Y.js.map} +0 -0
  77. /package/dist/{chunk-EVBYS5PY.js.map → chunk-2LQAHGNZ.js.map} +0 -0
  78. /package/dist/{chunk-JMKRLWED.js.map → chunk-46V3G76B.js.map} +0 -0
  79. /package/dist/{chunk-DG2AWTET.js.map → chunk-5OTOOVOF.js.map} +0 -0
  80. /package/dist/{chunk-CYRPFUM5.js.map → chunk-6ZU3FUAX.js.map} +0 -0
  81. /package/dist/{chunk-7NE6ERWJ.js.map → chunk-7JPBVZXW.js.map} +0 -0
  82. /package/dist/{chunk-EH7BVUH5.js.map → chunk-A62DB47B.js.map} +0 -0
  83. /package/dist/{chunk-P7E5EBZC.js.map → chunk-BYKZ4FMO.js.map} +0 -0
  84. /package/dist/{chunk-YJQMBTRO.js.map → chunk-CQK5SIEX.js.map} +0 -0
  85. /package/dist/{chunk-LZ65QEVJ.js.map → chunk-CV4BKEFW.js.map} +0 -0
  86. /package/dist/{chunk-Y47JLN3E.js.map → chunk-D7WQNTAK.js.map} +0 -0
  87. /package/dist/{chunk-TDYSYKVH.js.map → chunk-DBGIP6GK.js.map} +0 -0
  88. /package/dist/{chunk-4AAIUCZF.js.map → chunk-ETMIOP3R.js.map} +0 -0
  89. /package/dist/{chunk-JJEMPUTM.js.map → chunk-GWQE5MBQ.js.map} +0 -0
  90. /package/dist/{chunk-UJBQAWAN.js.map → chunk-HUKQIOQJ.js.map} +0 -0
  91. /package/dist/{chunk-UZPSVN36.js.map → chunk-IJH2U2QL.js.map} +0 -0
  92. /package/dist/{chunk-5X67Q3D2.js.map → chunk-IVGQWADP.js.map} +0 -0
  93. /package/dist/{chunk-YIKZVQ2G.js.map → chunk-JEOQY42Z.js.map} +0 -0
  94. /package/dist/{chunk-2E36UWL7.js.map → chunk-JYMFL4M6.js.map} +0 -0
  95. /package/dist/{chunk-ZZ57L2XX.js.map → chunk-KQRF4ZHX.js.map} +0 -0
  96. /package/dist/{chunk-4X6OQY7X.js.map → chunk-KUKQ7UHD.js.map} +0 -0
  97. /package/dist/{chunk-BOKIPN5F.js.map → chunk-LMJ7BKIL.js.map} +0 -0
  98. /package/dist/{chunk-SPWGAWE7.js.map → chunk-PBVNGI67.js.map} +0 -0
  99. /package/dist/{chunk-LG6226RT.js.map → chunk-QBU2RG7U.js.map} +0 -0
  100. /package/dist/{chunk-FIRMC57S.js.map → chunk-R2VSXNGB.js.map} +0 -0
  101. /package/dist/{chunk-PBVKU72T.js.map → chunk-R3QNEXOU.js.map} +0 -0
  102. /package/dist/{chunk-MM6NZTDW.js.map → chunk-R7V4C5UL.js.map} +0 -0
  103. /package/dist/{chunk-M4PYLLYN.js.map → chunk-RJO6I6JV.js.map} +0 -0
  104. /package/dist/{chunk-BSMWRMH2.js.map → chunk-W3TYQ4CB.js.map} +0 -0
  105. /package/dist/{chunk-55WGNJRG.js.map → chunk-ZB7XPHFZ.js.map} +0 -0
  106. /package/dist/{chunk-5QOJAEGM.js.map → chunk-ZXLF3NDV.js.map} +0 -0
  107. /package/dist/{cli-circuit-breaker-PLGPPDBH.js.map → cli-circuit-breaker-2LQZLFVP.js.map} +0 -0
  108. /package/dist/{composite-router-HLAZHG3C.js.map → composite-router-XNVULYDV.js.map} +0 -0
  109. /package/dist/{consensus-vote-ZPD6EGE7.js.map → consensus-vote-HIWPU4AA.js.map} +0 -0
  110. /package/dist/{context-retriever-WR3WXM53.js.map → context-retriever-GWAJG6XT.js.map} +0 -0
  111. /package/dist/{doctor-deep-VN6F7IRM.js.map → doctor-deep-ZATGXGNC.js.map} +0 -0
  112. /package/dist/{doctor-live-76EBRB57.js.map → doctor-live-L264NFJO.js.map} +0 -0
  113. /package/dist/{expert-bridge-Z5AB5X5H.js.map → expert-bridge-KCQ457YZ.js.map} +0 -0
  114. /package/dist/{factory-4GAB7J3C.js.map → factory-FFKHIV6Q.js.map} +0 -0
  115. /package/dist/{factory-7DHP2SB5.js.map → factory-S2SVFA6W.js.map} +0 -0
  116. /package/dist/{improvement-review-XWZY5HJM.js.map → improvement-review-TYR5BN75.js.map} +0 -0
  117. /package/dist/{init-opencode-EZIST672.js.map → init-opencode-CDW4DAWF.js.map} +0 -0
  118. /package/dist/{issue-triage-HDNDWDPO.js.map → issue-triage-MGKLKK43.js.map} +0 -0
  119. /package/dist/{pr-reviewer-helpers-3NMGM46D.js.map → pr-reviewer-helpers-6TRRYFHP.js.map} +0 -0
  120. /package/dist/{registry-command-ZPQX324A.js.map → registry-command-4Y7RJH47.js.map} +0 -0
  121. /package/dist/{repo-security-plan-JYXBWJ5K.js.map → repo-security-plan-XZ6YBLUE.js.map} +0 -0
  122. /package/dist/{research-helpers-synthesize-EZPG6ZGS.js.map → research-helpers-synthesize-OKCOMCE2.js.map} +0 -0
  123. /package/dist/{routing-memory-S537TMB4.js.map → routing-memory-QUA5ORUA.js.map} +0 -0
  124. /package/dist/{session-memory-UBBYMYO4.js.map → session-memory-XKHKWRP3.js.map} +0 -0
  125. /package/dist/{setup-config-LFHGW5O7.js.map → setup-config-NMVR2OBN.js.map} +0 -0
  126. /package/dist/{setup-custom-api-KS3WSTFD.js.map → setup-custom-api-VV3FT66F.js.map} +0 -0
  127. /package/dist/{setup-data-dir-BUW4LREF.js.map → setup-data-dir-MCRACRZA.js.map} +0 -0
  128. /package/dist/{tool-memory-LSIG7GD4.js.map → tool-memory-MCIIYDQR.js.map} +0 -0
  129. /package/dist/{unified-registry-63264J7Q.js.map → unified-registry-LPSJ2KMV.js.map} +0 -0
  130. /package/dist/{weather-report-3B7CQC3N.js.map → weather-report-KHFJ756C.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-5QOJAEGM.js";
13
- import "./chunk-LAQI75I6.js";
12
+ } from "./chunk-ZXLF3NDV.js";
13
+ import "./chunk-NBXYA5O6.js";
14
14
  import "./chunk-7WJGV5DN.js";
15
15
  import "./chunk-J7QCZRVK.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-T3REZDT7.js.map
29
+ //# sourceMappingURL=ast-rule-runner-AJAWZQNS.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DKHBIJO4.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-LAQI75I6.js";
6
+ } from "./chunk-NBXYA5O6.js";
7
7
  import "./chunk-7WJGV5DN.js";
8
8
  import "./chunk-J7QCZRVK.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-CLACXGLL.js.map
65
+ //# sourceMappingURL=child-mcp-config-JQCVNB3Y.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-UZPSVN36.js";
3
+ } from "./chunk-IJH2U2QL.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-LAQI75I6.js";
8
+ } from "./chunk-NBXYA5O6.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-CLACXGLL.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-JQCVNB3Y.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-7DHP2SB5.js");
97
- const { createCompositeRouter } = await import("./composite-router-HLAZHG3C.js");
96
+ const { createAllAdapters } = await import("./factory-S2SVFA6W.js");
97
+ const { createCompositeRouter } = await import("./composite-router-XNVULYDV.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-PLGPPDBH.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-2LQZLFVP.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-EVBYS5PY.js.map
216
+ //# sourceMappingURL=chunk-2LQAHGNZ.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-EH7BVUH5.js";
3
+ } from "./chunk-A62DB47B.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-CYRPFUM5.js";
7
+ } from "./chunk-6ZU3FUAX.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-LAQI75I6.js";
27
+ } from "./chunk-NBXYA5O6.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-JMKRLWED.js.map
907
+ //# sourceMappingURL=chunk-46V3G76B.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  SessionMemory
8
- } from "./chunk-BOKIPN5F.js";
8
+ } from "./chunk-LMJ7BKIL.js";
9
9
  import {
10
10
  StatsOnlyAdapter,
11
11
  ensureSharedMemoryRegistry
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-YYJFZ7TO.js";
16
16
  import {
17
17
  generateId
18
- } from "./chunk-ZZ57L2XX.js";
18
+ } from "./chunk-KQRF4ZHX.js";
19
19
  import {
20
20
  ErrorCode,
21
21
  NexusError,
@@ -29,7 +29,7 @@ import {
29
29
  ok,
30
30
  openSqliteDatabase,
31
31
  setSharedMobiMemDbPathResolver
32
- } from "./chunk-LAQI75I6.js";
32
+ } from "./chunk-NBXYA5O6.js";
33
33
  import {
34
34
  nexusDataPath
35
35
  } from "./chunk-J7QCZRVK.js";
@@ -5661,4 +5661,4 @@ export {
5661
5661
  reinitializeMemoryBackends,
5662
5662
  ToolMemoryManager
5663
5663
  };
5664
- //# sourceMappingURL=chunk-DG2AWTET.js.map
5664
+ //# sourceMappingURL=chunk-5OTOOVOF.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-LAQI75I6.js";
11
+ } from "./chunk-NBXYA5O6.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -541,4 +541,4 @@ export {
541
541
  CliCircuitBreakerIntegration,
542
542
  createCliCircuitBreakerIntegration
543
543
  };
544
- //# sourceMappingURL=chunk-CYRPFUM5.js.map
544
+ //# sourceMappingURL=chunk-6ZU3FUAX.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-LZ65QEVJ.js";
10
+ } from "./chunk-CV4BKEFW.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -20,7 +20,7 @@ import {
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate,
22
22
  isRegisteredToolName
23
- } from "./chunk-LAQI75I6.js";
23
+ } from "./chunk-NBXYA5O6.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2159,4 +2159,4 @@ export {
2159
2159
  runImprovementReview,
2160
2160
  registerImprovementReviewTool
2161
2161
  };
2162
- //# sourceMappingURL=chunk-7NE6ERWJ.js.map
2162
+ //# sourceMappingURL=chunk-7JPBVZXW.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-MM6NZTDW.js";
8
+ } from "./chunk-R7V4C5UL.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-PBVKU72T.js";
11
+ } from "./chunk-R3QNEXOU.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-SPWGAWE7.js";
17
+ } from "./chunk-PBVNGI67.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-DKHBIJO4.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-UZPSVN36.js";
23
+ } from "./chunk-IJH2U2QL.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-ZZ57L2XX.js";
29
+ } from "./chunk-KQRF4ZHX.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-CYRPFUM5.js";
35
+ } from "./chunk-6ZU3FUAX.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -72,7 +72,7 @@ import {
72
72
  resolveCliAlias,
73
73
  resolveRetryAfterMs,
74
74
  retryAfterMsFromContext
75
- } from "./chunk-LAQI75I6.js";
75
+ } from "./chunk-NBXYA5O6.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -4946,4 +4946,4 @@ export {
4946
4946
  SdkAdapter,
4947
4947
  createAutoAdapter
4948
4948
  };
4949
- //# sourceMappingURL=chunk-EH7BVUH5.js.map
4949
+ //# sourceMappingURL=chunk-A62DB47B.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  readOpenAICompatEnv
3
- } from "./chunk-YIKZVQ2G.js";
3
+ } from "./chunk-JEOQY42Z.js";
4
4
  import {
5
5
  allOf
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-BSMWRMH2.js";
9
+ } from "./chunk-W3TYQ4CB.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-6T3EPABN.js";
13
13
  import {
14
14
  createAllAdapters,
15
15
  probeCli
16
- } from "./chunk-EH7BVUH5.js";
16
+ } from "./chunk-A62DB47B.js";
17
17
  import {
18
18
  getNexusTmpDir
19
19
  } from "./chunk-DKHBIJO4.js";
@@ -28,7 +28,7 @@ import {
28
28
  ok,
29
29
  symbols,
30
30
  writeLine
31
- } from "./chunk-LAQI75I6.js";
31
+ } from "./chunk-NBXYA5O6.js";
32
32
  import {
33
33
  getLearningDir,
34
34
  getOutcomesFile,
@@ -1220,13 +1220,13 @@ async function runDoctorFix(result) {
1220
1220
  writeLine2("\u2500".repeat(40));
1221
1221
  let fixCount = 0;
1222
1222
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1223
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-BUW4LREF.js");
1223
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-MCRACRZA.js");
1224
1224
  const outcome = describeDataDirFix2(initDataDirectories2());
1225
1225
  writeLine2(outcome.line);
1226
1226
  if (outcome.counted) fixCount++;
1227
1227
  }
1228
1228
  if (!result.configFile.found) {
1229
- const { runConfigInitSync } = await import("./setup-config-LFHGW5O7.js");
1229
+ const { runConfigInitSync } = await import("./setup-config-NMVR2OBN.js");
1230
1230
  const configResult = runConfigInitSync(process.cwd(), false, false);
1231
1231
  if (configResult.success && configResult.created) {
1232
1232
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -1322,4 +1322,4 @@ export {
1322
1322
  startStdioServer,
1323
1323
  closeServer
1324
1324
  };
1325
- //# sourceMappingURL=chunk-P7E5EBZC.js.map
1325
+ //# sourceMappingURL=chunk-BYKZ4FMO.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-JJEMPUTM.js";
3
+ } from "./chunk-GWQE5MBQ.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-LAQI75I6.js";
6
+ } from "./chunk-NBXYA5O6.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-YJQMBTRO.js.map
889
+ //# sourceMappingURL=chunk-CQK5SIEX.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-BSMWRMH2.js";
3
+ } from "./chunk-W3TYQ4CB.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-5X67Q3D2.js";
6
+ } from "./chunk-IVGQWADP.js";
7
7
  import {
8
8
  CACHE_TIMEOUTS,
9
9
  MCP_TIMEOUTS,
@@ -19,7 +19,7 @@ import {
19
19
  getTimeProvider,
20
20
  ok,
21
21
  resolveToolClassGuardMs
22
- } from "./chunk-LAQI75I6.js";
22
+ } from "./chunk-NBXYA5O6.js";
23
23
  import {
24
24
  getNexusDataDir
25
25
  } from "./chunk-J7QCZRVK.js";
@@ -2246,4 +2246,4 @@ export {
2246
2246
  VOTING_THRESHOLDS,
2247
2247
  ConsensusMetricsSchema
2248
2248
  };
2249
- //# sourceMappingURL=chunk-LZ65QEVJ.js.map
2249
+ //# sourceMappingURL=chunk-CV4BKEFW.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  getDefaultRegistry,
5
5
  roundToMicroUsd
6
- } from "./chunk-LAQI75I6.js";
6
+ } from "./chunk-NBXYA5O6.js";
7
7
  import {
8
8
  getNexusDataDir
9
9
  } from "./chunk-J7QCZRVK.js";
@@ -196,4 +196,4 @@ export {
196
196
  loadUsageEvents,
197
197
  rollupByModel
198
198
  };
199
- //# sourceMappingURL=chunk-Y47JLN3E.js.map
199
+ //# sourceMappingURL=chunk-D7WQNTAK.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-LAQI75I6.js";
7
+ } from "./chunk-NBXYA5O6.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -721,4 +721,4 @@ export {
721
721
  generateSecurityPlan,
722
722
  buildPlanFromAnalysis
723
723
  };
724
- //# sourceMappingURL=chunk-TDYSYKVH.js.map
724
+ //# sourceMappingURL=chunk-DBGIP6GK.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-LAQI75I6.js";
7
+ } from "./chunk-NBXYA5O6.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -263,4 +263,4 @@ export {
263
263
  ScmError,
264
264
  GitHubProvider
265
265
  };
266
- //# sourceMappingURL=chunk-4AAIUCZF.js.map
266
+ //# sourceMappingURL=chunk-ETMIOP3R.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-Y47JLN3E.js";
4
+ } from "./chunk-D7WQNTAK.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,25 +23,25 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-LZ65QEVJ.js";
26
+ } from "./chunk-CV4BKEFW.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-BSMWRMH2.js";
29
+ } from "./chunk-W3TYQ4CB.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
33
33
  createEvent,
34
34
  getGlobalRegistry
35
- } from "./chunk-JMKRLWED.js";
35
+ } from "./chunk-46V3G76B.js";
36
36
  import {
37
37
  getToolMemory
38
- } from "./chunk-DG2AWTET.js";
38
+ } from "./chunk-5OTOOVOF.js";
39
39
  import {
40
40
  authRemediation,
41
41
  delay,
42
42
  getAvailableClis,
43
43
  withTimeout
44
- } from "./chunk-EH7BVUH5.js";
44
+ } from "./chunk-A62DB47B.js";
45
45
  import {
46
46
  AgentError,
47
47
  CLI_NAMES,
@@ -69,7 +69,7 @@ import {
69
69
  registerPersistentOutcomeStoreFactory,
70
70
  resolveClassGuardMs,
71
71
  resolveVoteTimeout
72
- } from "./chunk-LAQI75I6.js";
72
+ } from "./chunk-NBXYA5O6.js";
73
73
  import {
74
74
  ensureLearningDir,
75
75
  getOutcomesFile
@@ -147,8 +147,25 @@ function checkCodexConcurrency(codexBoundConcurrency) {
147
147
 
148
148
  // src/cli/panel-independence.ts
149
149
  function reportPanelIndependence(adapters, roleCount, phase, logger10) {
150
+ reportPanelModelIndependence(
151
+ adapters.map((adapter) => adapter.modelId),
152
+ roleCount,
153
+ phase,
154
+ logger10
155
+ );
156
+ }
157
+ function reportVoteIndependence(results, logger10) {
158
+ const successful = results.filter((result) => result.source === "llm");
159
+ reportPanelModelIndependence(
160
+ successful.map((result) => result.model),
161
+ successful.length,
162
+ "post-vote",
163
+ logger10
164
+ );
165
+ }
166
+ function reportPanelModelIndependence(modelIds, roleCount, phase, logger10) {
150
167
  if (roleCount <= 1) return;
151
- const verdict = assessPanelIndependence(adapters.map((a) => a.modelId));
168
+ const verdict = assessPanelIndependence(modelIds);
152
169
  if (verdict.kind === "collapsed") {
153
170
  logger10.warn("Consensus panel ran on ONE model \u2014 votes may correlate", {
154
171
  model: verdict.model,
@@ -1359,7 +1376,7 @@ async function collectRealVotes(options) {
1359
1376
  interDelay,
1360
1377
  signal: options.signal
1361
1378
  });
1362
- reportPanelIndependence([...roleAdapters.values()], roles.length, "post-vote", logger10);
1379
+ reportVoteIndependence(results, logger10);
1363
1380
  return results;
1364
1381
  }
1365
1382
 
@@ -6398,7 +6415,7 @@ function logPartialProposal(bounded, log) {
6398
6415
  }
6399
6416
  async function runContrarianCheck(proposal, log) {
6400
6417
  try {
6401
- const { executeExpert } = await import("./expert-bridge-Z5AB5X5H.js");
6418
+ const { executeExpert } = await import("./expert-bridge-KCQ457YZ.js");
6402
6419
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6403
6420
  logPartialProposal(bounded, log);
6404
6421
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
@@ -6988,4 +7005,4 @@ export {
6988
7005
  CONSENSUS_VOTE_TOOL_SCHEMA,
6989
7006
  registerConsensusVoteTool
6990
7007
  };
6991
- //# sourceMappingURL=chunk-PYIVLWVO.js.map
7008
+ //# sourceMappingURL=chunk-F5L6XR7O.js.map