nexus-agents 8.121.0 → 8.122.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 (219) hide show
  1. package/dist/{ast-rule-runner-SDHMWTXU.js → ast-rule-runner-D63SEZBA.js} +3 -3
  2. package/dist/{child-mcp-config-NPZCRCIF.js → child-mcp-config-SYKZPE4K.js} +2 -2
  3. package/dist/{chunk-IEEMHPCM.js → chunk-2FCB5UBG.js} +2 -2
  4. package/dist/{chunk-LHW5WPNB.js → chunk-3NQVZQCT.js} +2 -2
  5. package/dist/{chunk-RYR4HAE6.js → chunk-3XW3QNOW.js} +10 -10
  6. package/dist/{chunk-IGXQ7FFW.js → chunk-5UD62EYQ.js} +4 -4
  7. package/dist/{chunk-AVJ6AMGT.js → chunk-62T7LI7Y.js} +2 -2
  8. package/dist/{chunk-IJEWUAYY.js → chunk-7IXILU76.js} +2 -2
  9. package/dist/{chunk-P5H2WLPA.js → chunk-BJUIPCJ5.js} +2 -2
  10. package/dist/{chunk-TP5G2REY.js → chunk-CCFWTYGR.js} +143 -17
  11. package/dist/chunk-CCFWTYGR.js.map +1 -0
  12. package/dist/{chunk-Q3XDDRZ5.js → chunk-CTE55G3Y.js} +3 -3
  13. package/dist/{chunk-GBLWLDLH.js → chunk-DKJITSJK.js} +5 -5
  14. package/dist/{chunk-P7GJRX2R.js → chunk-DRNW3QRY.js} +2 -2
  15. package/dist/{chunk-P7GJRX2R.js.map → chunk-DRNW3QRY.js.map} +1 -1
  16. package/dist/{chunk-2R4VI2T3.js → chunk-EEXUKXZQ.js} +2 -2
  17. package/dist/{chunk-QSNMA5UG.js → chunk-ELTV6L22.js} +2 -2
  18. package/dist/{chunk-VJUP6ANF.js → chunk-FYOVCYC2.js} +44 -45
  19. package/dist/{chunk-VJUP6ANF.js.map → chunk-FYOVCYC2.js.map} +1 -1
  20. package/dist/{chunk-JOPVATLZ.js → chunk-G6C4CB2P.js} +2 -2
  21. package/dist/{chunk-NN2QGK4F.js → chunk-GLA7UNUU.js} +12 -12
  22. package/dist/{chunk-V7LZT5KN.js → chunk-IL3ES3J6.js} +2 -2
  23. package/dist/{chunk-BGLJOUVX.js → chunk-KMPEC7MU.js} +5 -27
  24. package/dist/chunk-KMPEC7MU.js.map +1 -0
  25. package/dist/{chunk-ASFX3JAO.js → chunk-KQZTTSNI.js} +3 -3
  26. package/dist/{chunk-CW5UVJGN.js → chunk-LTYFP4MJ.js} +30 -12
  27. package/dist/chunk-LTYFP4MJ.js.map +1 -0
  28. package/dist/{chunk-6K5OU3EA.js → chunk-MVFKTFMM.js} +2 -2
  29. package/dist/{chunk-L62HZGHO.js → chunk-NRK7Q5UB.js} +4 -4
  30. package/dist/{chunk-DIEZXS7C.js → chunk-PM2ECWCL.js} +170 -29
  31. package/dist/chunk-PM2ECWCL.js.map +1 -0
  32. package/dist/{chunk-RQHOB4FJ.js → chunk-SAFMMDQJ.js} +2 -2
  33. package/dist/{chunk-BBPMYYAT.js → chunk-TXXXWVPX.js} +6 -6
  34. package/dist/{chunk-5KGJP263.js → chunk-UCSIPEJK.js} +3 -3
  35. package/dist/{chunk-RFR3EIDL.js → chunk-V4GLPTHB.js} +5 -5
  36. package/dist/{chunk-7LAGIDPY.js → chunk-W4VWFQRC.js} +2 -2
  37. package/dist/{chunk-E6Y4GTFQ.js → chunk-WBIO7WHW.js} +2 -2
  38. package/dist/{chunk-TKV6IYJ4.js → chunk-WW2MBD5I.js} +2 -2
  39. package/dist/{chunk-Q4F4BEZ2.js → chunk-XJGVR65R.js} +5 -5
  40. package/dist/{chunk-KN3C2YSG.js → chunk-XO7OU6FK.js} +2 -2
  41. package/dist/{chunk-B3GWSR2R.js → chunk-XXOLRZRQ.js} +5 -5
  42. package/dist/{chunk-L7WTUJKJ.js → chunk-Y577A64L.js} +3 -3
  43. package/dist/{chunk-74NOCE4H.js → chunk-YCTJNJKU.js} +4 -4
  44. package/dist/{cli-circuit-breaker-UQCA23HV.js → cli-circuit-breaker-2NCL4BJG.js} +3 -3
  45. package/dist/cli.d.ts +1 -1
  46. package/dist/cli.js +46 -46
  47. package/dist/cli.js.map +1 -1
  48. package/dist/{composite-router-VZSC3YPJ.js → composite-router-FMSFSUY4.js} +2 -2
  49. package/dist/{consensus-vote-P5GGH75Q.js → consensus-vote-UBZPRRJA.js} +17 -17
  50. package/dist/{consensus-vote-types-B8eZ9_Jb.d.ts → consensus-vote-types-DEm21BmR.d.ts} +1 -1
  51. package/dist/{context-retriever-3VZU2JKX.js → context-retriever-JQVOCYWB.js} +8 -8
  52. package/dist/{doctor-deep-ZMEHZ22N.js → doctor-deep-TI74R6WM.js} +3 -3
  53. package/dist/doctor-gateway-report-QQVWP3P5.js +19 -0
  54. package/dist/{doctor-live-75S6X63S.js → doctor-live-ESPDY2UT.js} +11 -11
  55. package/dist/{expert-bridge-X6XYUYC6.js → expert-bridge-SLDH3I4Q.js} +4 -4
  56. package/dist/{factory-WAWARUUU.js → factory-T5Z4H7I4.js} +10 -10
  57. package/dist/{factory-GUCG7D3U.js → factory-UO4YVMT4.js} +5 -5
  58. package/dist/{improvement-review-TJPNSEGI.js → improvement-review-EUEAZ4OI.js} +6 -6
  59. package/dist/index.d.ts +13 -3
  60. package/dist/index.js +34 -34
  61. package/dist/index.js.map +1 -1
  62. package/dist/{init-opencode-7K6SSBIP.js → init-opencode-4FK75Q4I.js} +6 -6
  63. package/dist/{issue-triage-ASH3KV4J.js → issue-triage-UM2N433F.js} +6 -6
  64. package/dist/{openai-compat-adapter-OLYLE4LK.js → openai-compat-adapter-EHKDFXNR.js} +6 -6
  65. package/dist/{pr-reviewer-helpers-PKM3ZVEQ.js → pr-reviewer-helpers-TOSTLTWB.js} +4 -4
  66. package/dist/{registry-command-TTBLNE3U.js → registry-command-YZSKM2GA.js} +2 -2
  67. package/dist/{repo-security-plan-QY2VH6WZ.js → repo-security-plan-C66VWEOJ.js} +3 -3
  68. package/dist/{research-helpers-synthesize-7M6H3TL2.js → research-helpers-synthesize-CWN7TZPP.js} +4 -4
  69. package/dist/{routing-memory-TXGG7UR4.js → routing-memory-IYLRTH55.js} +2 -2
  70. package/dist/{session-memory-UK6IZEZK.js → session-memory-LC2KINJU.js} +3 -3
  71. package/dist/{setup-config-SF6KY6KS.js → setup-config-TLKV6TBJ.js} +3 -3
  72. package/dist/{setup-custom-api-V3KZWC52.js → setup-custom-api-CPJ6OX4O.js} +4 -4
  73. package/dist/setup-data-dir-PYPXAAGX.js +33 -0
  74. package/dist/{tool-memory-774G3LQK.js → tool-memory-OQMZREAX.js} +5 -5
  75. package/dist/{unified-registry-DTENT7NN.js → unified-registry-QA2DYYO6.js} +11 -11
  76. package/dist/{weather-report-6P3YYPQT.js → weather-report-C4TRZMJZ.js} +2 -2
  77. package/node_modules/hono/dist/cjs/jsx/utils.js +1 -1
  78. package/node_modules/hono/dist/cjs/middleware/combine/index.js +3 -1
  79. package/node_modules/hono/dist/cjs/middleware/etag/index.js +2 -2
  80. package/node_modules/hono/dist/jsx/utils.js +1 -1
  81. package/node_modules/hono/dist/middleware/combine/index.js +3 -1
  82. package/node_modules/hono/dist/middleware/etag/index.js +2 -2
  83. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  84. package/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +2 -1
  85. package/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +2 -1
  86. package/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +2 -1
  87. package/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +2 -1
  88. package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +2 -1
  89. package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +2 -1
  90. package/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +2 -1
  91. package/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +2 -1
  92. package/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +2 -1
  93. package/node_modules/hono/dist/types/client/types.d.ts +2 -1
  94. package/node_modules/hono/dist/types/context.d.ts +2 -1
  95. package/node_modules/hono/dist/types/helper/cookie/index.d.ts +2 -1
  96. package/node_modules/hono/dist/types/helper/css/common.d.ts +2 -1
  97. package/node_modules/hono/dist/types/helper/css/index.d.ts +2 -1
  98. package/node_modules/hono/dist/types/helper/dev/index.d.ts +2 -1
  99. package/node_modules/hono/dist/types/helper/factory/index.d.ts +2 -1
  100. package/node_modules/hono/dist/types/helper/proxy/index.d.ts +2 -1
  101. package/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +2 -1
  102. package/node_modules/hono/dist/types/helper/ssg/utils.d.ts +2 -1
  103. package/node_modules/hono/dist/types/helper/testing/index.d.ts +2 -1
  104. package/node_modules/hono/dist/types/hono-base.d.ts +2 -1
  105. package/node_modules/hono/dist/types/http-exception.d.ts +2 -1
  106. package/node_modules/hono/dist/types/jsx/base.d.ts +4 -3
  107. package/node_modules/hono/dist/types/jsx/context.d.ts +2 -1
  108. package/node_modules/hono/dist/types/jsx/dom/client.d.ts +2 -1
  109. package/node_modules/hono/dist/types/jsx/dom/css.d.ts +2 -1
  110. package/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +2 -1
  111. package/node_modules/hono/dist/types/jsx/dom/index.d.ts +2 -1
  112. package/node_modules/hono/dist/types/jsx/dom/render.d.ts +2 -1
  113. package/node_modules/hono/dist/types/jsx/dom/server.d.ts +2 -1
  114. package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +2 -1
  115. package/node_modules/hono/dist/types/jsx/index.d.ts +2 -1
  116. package/node_modules/hono/dist/types/jsx/types.d.ts +2 -1
  117. package/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +2 -1
  118. package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +2 -1
  119. package/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +2 -1
  120. package/node_modules/hono/dist/types/middleware/combine/index.d.ts +2 -1
  121. package/node_modules/hono/dist/types/middleware/compress/index.d.ts +2 -1
  122. package/node_modules/hono/dist/types/middleware/cors/index.d.ts +2 -1
  123. package/node_modules/hono/dist/types/middleware/csrf/index.d.ts +2 -1
  124. package/node_modules/hono/dist/types/middleware/etag/index.d.ts +2 -1
  125. package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +2 -1
  126. package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +2 -1
  127. package/node_modules/hono/dist/types/middleware/jwt/index.d.ts +2 -1
  128. package/node_modules/hono/dist/types/middleware/language/index.d.ts +2 -1
  129. package/node_modules/hono/dist/types/middleware/logger/index.d.ts +2 -1
  130. package/node_modules/hono/dist/types/middleware/method-not-allowed/index.d.ts +2 -1
  131. package/node_modules/hono/dist/types/middleware/method-override/index.d.ts +2 -1
  132. package/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +2 -1
  133. package/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +2 -1
  134. package/node_modules/hono/dist/types/middleware/request-id/index.d.ts +2 -1
  135. package/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +2 -1
  136. package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +2 -1
  137. package/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +2 -1
  138. package/node_modules/hono/dist/types/middleware/timing/index.d.ts +2 -1
  139. package/node_modules/hono/dist/types/middleware/timing/timing.d.ts +2 -1
  140. package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +2 -1
  141. package/node_modules/hono/dist/types/request.d.ts +2 -1
  142. package/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +2 -1
  143. package/node_modules/hono/dist/types/types.d.ts +2 -1
  144. package/node_modules/hono/dist/types/utils/body.d.ts +2 -1
  145. package/node_modules/hono/dist/types/utils/buffer.d.ts +2 -1
  146. package/node_modules/hono/dist/types/utils/cookie.d.ts +2 -1
  147. package/node_modules/hono/dist/types/utils/crypto.d.ts +2 -1
  148. package/node_modules/hono/dist/types/utils/filepath.d.ts +2 -1
  149. package/node_modules/hono/dist/types/utils/html.d.ts +2 -1
  150. package/node_modules/hono/dist/types/utils/mime.d.ts +2 -1
  151. package/node_modules/hono/dist/types/utils/types.d.ts +2 -1
  152. package/node_modules/hono/dist/types/utils/url.d.ts +2 -1
  153. package/node_modules/hono/dist/types/validator/utils.d.ts +2 -1
  154. package/node_modules/hono/dist/types/validator/validator.d.ts +2 -1
  155. package/node_modules/hono/package.json +2 -2
  156. package/package.json +1 -1
  157. package/dist/chunk-BGLJOUVX.js.map +0 -1
  158. package/dist/chunk-CW5UVJGN.js.map +0 -1
  159. package/dist/chunk-DIEZXS7C.js.map +0 -1
  160. package/dist/chunk-TP5G2REY.js.map +0 -1
  161. package/dist/doctor-gateway-report-VICDW4L4.js +0 -19
  162. package/dist/setup-data-dir-T7UGGB54.js +0 -33
  163. /package/dist/{ast-rule-runner-SDHMWTXU.js.map → ast-rule-runner-D63SEZBA.js.map} +0 -0
  164. /package/dist/{child-mcp-config-NPZCRCIF.js.map → child-mcp-config-SYKZPE4K.js.map} +0 -0
  165. /package/dist/{chunk-IEEMHPCM.js.map → chunk-2FCB5UBG.js.map} +0 -0
  166. /package/dist/{chunk-LHW5WPNB.js.map → chunk-3NQVZQCT.js.map} +0 -0
  167. /package/dist/{chunk-RYR4HAE6.js.map → chunk-3XW3QNOW.js.map} +0 -0
  168. /package/dist/{chunk-IGXQ7FFW.js.map → chunk-5UD62EYQ.js.map} +0 -0
  169. /package/dist/{chunk-AVJ6AMGT.js.map → chunk-62T7LI7Y.js.map} +0 -0
  170. /package/dist/{chunk-IJEWUAYY.js.map → chunk-7IXILU76.js.map} +0 -0
  171. /package/dist/{chunk-P5H2WLPA.js.map → chunk-BJUIPCJ5.js.map} +0 -0
  172. /package/dist/{chunk-Q3XDDRZ5.js.map → chunk-CTE55G3Y.js.map} +0 -0
  173. /package/dist/{chunk-GBLWLDLH.js.map → chunk-DKJITSJK.js.map} +0 -0
  174. /package/dist/{chunk-2R4VI2T3.js.map → chunk-EEXUKXZQ.js.map} +0 -0
  175. /package/dist/{chunk-QSNMA5UG.js.map → chunk-ELTV6L22.js.map} +0 -0
  176. /package/dist/{chunk-JOPVATLZ.js.map → chunk-G6C4CB2P.js.map} +0 -0
  177. /package/dist/{chunk-NN2QGK4F.js.map → chunk-GLA7UNUU.js.map} +0 -0
  178. /package/dist/{chunk-V7LZT5KN.js.map → chunk-IL3ES3J6.js.map} +0 -0
  179. /package/dist/{chunk-ASFX3JAO.js.map → chunk-KQZTTSNI.js.map} +0 -0
  180. /package/dist/{chunk-6K5OU3EA.js.map → chunk-MVFKTFMM.js.map} +0 -0
  181. /package/dist/{chunk-L62HZGHO.js.map → chunk-NRK7Q5UB.js.map} +0 -0
  182. /package/dist/{chunk-RQHOB4FJ.js.map → chunk-SAFMMDQJ.js.map} +0 -0
  183. /package/dist/{chunk-BBPMYYAT.js.map → chunk-TXXXWVPX.js.map} +0 -0
  184. /package/dist/{chunk-5KGJP263.js.map → chunk-UCSIPEJK.js.map} +0 -0
  185. /package/dist/{chunk-RFR3EIDL.js.map → chunk-V4GLPTHB.js.map} +0 -0
  186. /package/dist/{chunk-7LAGIDPY.js.map → chunk-W4VWFQRC.js.map} +0 -0
  187. /package/dist/{chunk-E6Y4GTFQ.js.map → chunk-WBIO7WHW.js.map} +0 -0
  188. /package/dist/{chunk-TKV6IYJ4.js.map → chunk-WW2MBD5I.js.map} +0 -0
  189. /package/dist/{chunk-Q4F4BEZ2.js.map → chunk-XJGVR65R.js.map} +0 -0
  190. /package/dist/{chunk-KN3C2YSG.js.map → chunk-XO7OU6FK.js.map} +0 -0
  191. /package/dist/{chunk-B3GWSR2R.js.map → chunk-XXOLRZRQ.js.map} +0 -0
  192. /package/dist/{chunk-L7WTUJKJ.js.map → chunk-Y577A64L.js.map} +0 -0
  193. /package/dist/{chunk-74NOCE4H.js.map → chunk-YCTJNJKU.js.map} +0 -0
  194. /package/dist/{cli-circuit-breaker-UQCA23HV.js.map → cli-circuit-breaker-2NCL4BJG.js.map} +0 -0
  195. /package/dist/{composite-router-VZSC3YPJ.js.map → composite-router-FMSFSUY4.js.map} +0 -0
  196. /package/dist/{consensus-vote-P5GGH75Q.js.map → consensus-vote-UBZPRRJA.js.map} +0 -0
  197. /package/dist/{context-retriever-3VZU2JKX.js.map → context-retriever-JQVOCYWB.js.map} +0 -0
  198. /package/dist/{doctor-deep-ZMEHZ22N.js.map → doctor-deep-TI74R6WM.js.map} +0 -0
  199. /package/dist/{doctor-gateway-report-VICDW4L4.js.map → doctor-gateway-report-QQVWP3P5.js.map} +0 -0
  200. /package/dist/{doctor-live-75S6X63S.js.map → doctor-live-ESPDY2UT.js.map} +0 -0
  201. /package/dist/{expert-bridge-X6XYUYC6.js.map → expert-bridge-SLDH3I4Q.js.map} +0 -0
  202. /package/dist/{factory-GUCG7D3U.js.map → factory-T5Z4H7I4.js.map} +0 -0
  203. /package/dist/{factory-WAWARUUU.js.map → factory-UO4YVMT4.js.map} +0 -0
  204. /package/dist/{improvement-review-TJPNSEGI.js.map → improvement-review-EUEAZ4OI.js.map} +0 -0
  205. /package/dist/{init-opencode-7K6SSBIP.js.map → init-opencode-4FK75Q4I.js.map} +0 -0
  206. /package/dist/{issue-triage-ASH3KV4J.js.map → issue-triage-UM2N433F.js.map} +0 -0
  207. /package/dist/{openai-compat-adapter-OLYLE4LK.js.map → openai-compat-adapter-EHKDFXNR.js.map} +0 -0
  208. /package/dist/{pr-reviewer-helpers-PKM3ZVEQ.js.map → pr-reviewer-helpers-TOSTLTWB.js.map} +0 -0
  209. /package/dist/{registry-command-TTBLNE3U.js.map → registry-command-YZSKM2GA.js.map} +0 -0
  210. /package/dist/{repo-security-plan-QY2VH6WZ.js.map → repo-security-plan-C66VWEOJ.js.map} +0 -0
  211. /package/dist/{research-helpers-synthesize-7M6H3TL2.js.map → research-helpers-synthesize-CWN7TZPP.js.map} +0 -0
  212. /package/dist/{routing-memory-TXGG7UR4.js.map → routing-memory-IYLRTH55.js.map} +0 -0
  213. /package/dist/{session-memory-UK6IZEZK.js.map → session-memory-LC2KINJU.js.map} +0 -0
  214. /package/dist/{setup-config-SF6KY6KS.js.map → setup-config-TLKV6TBJ.js.map} +0 -0
  215. /package/dist/{setup-custom-api-V3KZWC52.js.map → setup-custom-api-CPJ6OX4O.js.map} +0 -0
  216. /package/dist/{setup-data-dir-T7UGGB54.js.map → setup-data-dir-PYPXAAGX.js.map} +0 -0
  217. /package/dist/{tool-memory-774G3LQK.js.map → tool-memory-OQMZREAX.js.map} +0 -0
  218. /package/dist/{unified-registry-DTENT7NN.js.map → unified-registry-QA2DYYO6.js.map} +0 -0
  219. /package/dist/{weather-report-6P3YYPQT.js.map → weather-report-C4TRZMJZ.js.map} +0 -0
@@ -9,9 +9,9 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-QSNMA5UG.js";
12
+ } from "./chunk-ELTV6L22.js";
13
13
  import "./chunk-XEPZSDN5.js";
14
- import "./chunk-DIEZXS7C.js";
14
+ import "./chunk-PM2ECWCL.js";
15
15
  import "./chunk-UE7A2XHM.js";
16
16
  import "./chunk-LWOX65CP.js";
17
17
  import "./chunk-PX6F3LHL.js";
@@ -27,4 +27,4 @@ export {
27
27
  loadRules,
28
28
  runAstQaRules
29
29
  };
30
- //# sourceMappingURL=ast-rule-runner-SDHMWTXU.js.map
30
+ //# sourceMappingURL=ast-rule-runner-D63SEZBA.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OITVVSWO.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-DIEZXS7C.js";
6
+ } from "./chunk-PM2ECWCL.js";
7
7
  import "./chunk-UE7A2XHM.js";
8
8
  import "./chunk-LWOX65CP.js";
9
9
  import "./chunk-PX6F3LHL.js";
@@ -49,4 +49,4 @@ async function generateMcpConfig(options) {
49
49
  export {
50
50
  generateMcpConfig
51
51
  };
52
- //# sourceMappingURL=child-mcp-config-NPZCRCIF.js.map
52
+ //# sourceMappingURL=child-mcp-config-SYKZPE4K.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getAdaptiveBonus,
9
9
  getOutcomeStore,
10
10
  hasMeasuredCategory
11
- } from "./chunk-DIEZXS7C.js";
11
+ } from "./chunk-PM2ECWCL.js";
12
12
 
13
13
  // src/cli/doctor-deep.ts
14
14
  var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
@@ -148,4 +148,4 @@ export {
148
148
  runDeepDiagnostics,
149
149
  formatDeepDiagnostics
150
150
  };
151
- //# sourceMappingURL=chunk-IEEMHPCM.js.map
151
+ //# sourceMappingURL=chunk-2FCB5UBG.js.map
@@ -8,7 +8,7 @@ import {
8
8
  err,
9
9
  getErrorMessage,
10
10
  ok
11
- } from "./chunk-DIEZXS7C.js";
11
+ } from "./chunk-PM2ECWCL.js";
12
12
  import {
13
13
  findRepoRoot,
14
14
  getActiveWorkspaceRoot,
@@ -213,4 +213,4 @@ export {
213
213
  loadPapersRegistry,
214
214
  savePapersRegistry
215
215
  };
216
- //# sourceMappingURL=chunk-LHW5WPNB.js.map
216
+ //# sourceMappingURL=chunk-3NQVZQCT.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureGatewayDiscovered,
3
- gatewayDiscoveryGeneration,
4
- resolveCliSlot
5
- } from "./chunk-BGLJOUVX.js";
3
+ gatewayDiscoveryGeneration
4
+ } from "./chunk-KMPEC7MU.js";
6
5
  import {
7
6
  createLogger,
8
7
  getTimeProvider,
9
- isRateLimitText
10
- } from "./chunk-DIEZXS7C.js";
8
+ isRateLimitText,
9
+ resolveCliSlot
10
+ } from "./chunk-PM2ECWCL.js";
11
11
 
12
12
  // src/pipeline/expert-access-mode.ts
13
13
  var logger = createLogger({ component: "expert-bridge" });
@@ -69,7 +69,7 @@ async function getMcpConfigPath() {
69
69
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
70
70
  mcpConfigInitPromise ??= (async () => {
71
71
  try {
72
- const { generateMcpConfig } = await import("./child-mcp-config-NPZCRCIF.js");
72
+ const { generateMcpConfig } = await import("./child-mcp-config-SYKZPE4K.js");
73
73
  const config = await generateMcpConfig();
74
74
  cachedMcpConfigPath = config.configPath;
75
75
  cachedMcpConfigCleanup = config.cleanup;
@@ -163,8 +163,8 @@ async function getRouter() {
163
163
  }
164
164
  if (cachedRouter !== null) return cachedRouter;
165
165
  routerInitPromise ??= (async () => {
166
- const { createAllAdapters } = await import("./factory-WAWARUUU.js");
167
- const { createCompositeRouter } = await import("./composite-router-VZSC3YPJ.js");
166
+ const { createAllAdapters } = await import("./factory-T5Z4H7I4.js");
167
+ const { createCompositeRouter } = await import("./composite-router-FMSFSUY4.js");
168
168
  const adapters = createAllAdapters();
169
169
  const superseded = generation !== routerGeneration;
170
170
  if (adapters.size === 0) {
@@ -175,7 +175,7 @@ async function getRouter() {
175
175
  if (superseded) return router;
176
176
  cachedRouter = router;
177
177
  try {
178
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-UQCA23HV.js");
178
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-2NCL4BJG.js");
179
179
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
180
180
  } catch (error) {
181
181
  const msg = error instanceof Error ? error.message : String(error);
@@ -323,4 +323,4 @@ export {
323
323
  tokenSplitFromUsage,
324
324
  executeExpert
325
325
  };
326
- //# sourceMappingURL=chunk-RYR4HAE6.js.map
326
+ //# sourceMappingURL=chunk-3XW3QNOW.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-V7LZT5KN.js";
4
+ } from "./chunk-IL3ES3J6.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-7LAGIDPY.js";
7
+ } from "./chunk-W4VWFQRC.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-DIEZXS7C.js";
11
+ } from "./chunk-PM2ECWCL.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-IGXQ7FFW.js.map
44
+ //# sourceMappingURL=chunk-5UD62EYQ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  CACHE_TIMEOUTS,
8
8
  createLogger,
9
9
  getTimeProvider
10
- } from "./chunk-DIEZXS7C.js";
10
+ } from "./chunk-PM2ECWCL.js";
11
11
 
12
12
  // src/security/input-sanitizer.ts
13
13
  var DANGEROUS_HTML_PATTERN = /<(picture|source|img)\b[^>]*>[\s\S]*?<\/\1>|<(picture|source|img)\b[^>]*\/?>/gi;
@@ -509,4 +509,4 @@ export {
509
509
  resolveReputationGatingMode,
510
510
  gateWithReputation
511
511
  };
512
- //# sourceMappingURL=chunk-AVJ6AMGT.js.map
512
+ //# sourceMappingURL=chunk-62T7LI7Y.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-DIEZXS7C.js";
3
+ } from "./chunk-PM2ECWCL.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-IJEWUAYY.js.map
80
+ //# sourceMappingURL=chunk-7IXILU76.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactCredentialShapes
3
- } from "./chunk-DIEZXS7C.js";
3
+ } from "./chunk-PM2ECWCL.js";
4
4
 
5
5
  // src/security/output-sanitizer.ts
6
6
  var REDACTED_KEY_PLACEHOLDER = "[REDACTED_KEY]";
@@ -54,4 +54,4 @@ export {
54
54
  sanitizeErrorDetails,
55
55
  sanitizeStringLeaves
56
56
  };
57
- //# sourceMappingURL=chunk-P5H2WLPA.js.map
57
+ //# sourceMappingURL=chunk-BJUIPCJ5.js.map
@@ -19,41 +19,42 @@ import {
19
19
  toolSuccessStructured,
20
20
  withProgressHeartbeat,
21
21
  wrapToolWithTimeout
22
- } from "./chunk-L62HZGHO.js";
22
+ } from "./chunk-NRK7Q5UB.js";
23
23
  import {
24
24
  VERSION
25
- } from "./chunk-ASFX3JAO.js";
25
+ } from "./chunk-KQZTTSNI.js";
26
26
  import {
27
27
  allOf
28
28
  } from "./chunk-EZNIYU5T.js";
29
29
  import {
30
30
  isGatewayModelAdapter
31
- } from "./chunk-RFR3EIDL.js";
31
+ } from "./chunk-V4GLPTHB.js";
32
32
  import {
33
33
  createEvent,
34
34
  getGlobalRegistry
35
- } from "./chunk-GBLWLDLH.js";
35
+ } from "./chunk-DKJITSJK.js";
36
36
  import {
37
37
  getToolMemory
38
- } from "./chunk-74NOCE4H.js";
38
+ } from "./chunk-YCTJNJKU.js";
39
39
  import {
40
40
  UNVERIFIABLE_STDERR_RE,
41
41
  classifyUnverifiable,
42
42
  delay,
43
+ getAbortObservation,
43
44
  getAvailableClis,
44
45
  isAbsentSeat,
45
46
  markUnverifiable,
46
47
  sleep,
47
48
  withTimeout
48
- } from "./chunk-CW5UVJGN.js";
49
+ } from "./chunk-LTYFP4MJ.js";
49
50
  import {
50
51
  ensureGatewayDiscovered
51
- } from "./chunk-BGLJOUVX.js";
52
+ } from "./chunk-KMPEC7MU.js";
52
53
  import {
53
54
  sanitizeErrorDetails,
54
55
  sanitizeOutput,
55
56
  sanitizeStringLeaves
56
- } from "./chunk-P5H2WLPA.js";
57
+ } from "./chunk-BJUIPCJ5.js";
57
58
  import {
58
59
  AgentError,
59
60
  CLI_NAMES,
@@ -89,6 +90,7 @@ import {
89
90
  getRandomProvider,
90
91
  getTimeProvider,
91
92
  isAuthFailureText,
93
+ isCallerAbortError,
92
94
  isDurableCapacityText,
93
95
  isRateLimitLikeError,
94
96
  isRateLimitText,
@@ -101,6 +103,7 @@ import {
101
103
  raceAbort,
102
104
  rankFamilyModels,
103
105
  readVoteRecords,
106
+ recordUsageEvent,
104
107
  registerPersistentOutcomeStoreFactory,
105
108
  resolveClassGuardMs,
106
109
  resolveModelIdentitySync,
@@ -109,7 +112,7 @@ import {
109
112
  servedCostDetail,
110
113
  stepBus,
111
114
  voteRecordWriteFailedMessage
112
- } from "./chunk-DIEZXS7C.js";
115
+ } from "./chunk-PM2ECWCL.js";
113
116
  import {
114
117
  ensureLearningDir,
115
118
  getOutcomesFile
@@ -438,6 +441,101 @@ function cancelledSeat(lastError) {
438
441
  const error = lastError !== "" ? `${SEAT_CANCELLED_MESSAGE}: ${lastError}` : SEAT_CANCELLED_MESSAGE;
439
442
  return { ok: false, error };
440
443
  }
444
+ function isCancelledSeatError(error) {
445
+ return error?.startsWith(SEAT_CANCELLED_MESSAGE) === true;
446
+ }
447
+
448
+ // src/cli/voter-late-settlement.ts
449
+ function usageOf(value) {
450
+ const usage = {};
451
+ const fields = [
452
+ "inputTokens",
453
+ "outputTokens",
454
+ "totalTokens",
455
+ "cachedInputTokens",
456
+ "cacheCreationInputTokens"
457
+ ];
458
+ for (const field of fields) {
459
+ const count = value === void 0 ? void 0 : Reflect.get(value, field);
460
+ if (typeof count === "number" && Number.isFinite(count) && count >= 0) usage[field] = count;
461
+ }
462
+ return Object.keys(usage).length === 0 ? void 0 : usage;
463
+ }
464
+ function settlementFields(result) {
465
+ if (result === void 0) return { settled: "error", settledBy: "adapter" };
466
+ if ("ok" in result) {
467
+ return result.ok ? {
468
+ settled: "ok",
469
+ settledBy: "adapter",
470
+ model: result.value.model,
471
+ usage: usageOf(result.value.usage)
472
+ } : { settled: "error", settledBy: isCallerAbortError(result.error) ? "abort" : "adapter" };
473
+ }
474
+ return {
475
+ settled: result.source === "error" ? "error" : "ok",
476
+ settledBy: result.source === "error" && isCancelledSeatError(result.error) ? "abort" : "adapter",
477
+ model: result.model,
478
+ usage: usageOf(result)
479
+ };
480
+ }
481
+ var calls = /* @__PURE__ */ new WeakMap();
482
+ function trackVoterCompletion(call, signal) {
483
+ const state = signal === void 0 ? void 0 : calls.get(signal);
484
+ if (state === void 0) return call;
485
+ state.tracked = true;
486
+ state.promise = call;
487
+ const clear = () => {
488
+ if (state.promise === call) state.promise = void 0;
489
+ };
490
+ void call.then(clear, clear);
491
+ return call;
492
+ }
493
+ function adapterName(adapter) {
494
+ const name = Reflect.get(adapter, "name");
495
+ return typeof name === "string" && name !== "" ? name : void 0;
496
+ }
497
+ function writeMeasurement(adapter, role, reason, deadlineAt, result) {
498
+ const fields = settlementFields(result);
499
+ const model = fields.model ?? adapter.modelId;
500
+ recordUsageEvent({
501
+ kind: "measurement",
502
+ event: "voter_late_settlement",
503
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
504
+ role,
505
+ cli: adapterName(adapter) ?? adapter.providerId,
506
+ ...model !== "" && model !== "pending-detection" ? { model } : {},
507
+ msAfterDeadline: Math.max(0, Date.now() - deadlineAt),
508
+ settled: fields.settled,
509
+ settledBy: fields.settledBy,
510
+ ...fields.usage !== void 0 ? { usage: fields.usage } : {},
511
+ ...getAbortObservation(reason)
512
+ });
513
+ }
514
+ function observeLateVoter(adapter, role, logger12) {
515
+ const state = { promise: void 0, tracked: false };
516
+ return {
517
+ register(signal) {
518
+ calls.set(signal, state);
519
+ },
520
+ afterDeadline(vote, reason, deadlineAt) {
521
+ if (state.tracked && state.promise === void 0) return;
522
+ const write = (result) => {
523
+ writeMeasurement(adapter, role, reason, deadlineAt, result);
524
+ };
525
+ void (state.promise ?? vote).then(write, () => {
526
+ write(void 0);
527
+ }).catch((error) => {
528
+ try {
529
+ logger12.warn("Failed to persist late voter settlement measurement", {
530
+ role,
531
+ error: getErrorMessage(error)
532
+ });
533
+ } catch {
534
+ }
535
+ });
536
+ }
537
+ };
538
+ }
441
539
 
442
540
  // src/cli/voter-prompts.ts
443
541
  var DEFAULT_VOTER_PROJECT = "nexus-agents";
@@ -1271,7 +1369,10 @@ function readTokenCount(value) {
1271
1369
  }
1272
1370
  async function runVoteCompletion(args) {
1273
1371
  const timeoutResult = await withTimeout(
1274
- unlessCancelled(args.adapter.complete(buildVoteRequest(args)), args.signal),
1372
+ unlessCancelled(
1373
+ trackVoterCompletion(args.adapter.complete(buildVoteRequest(args)), args.signal),
1374
+ args.signal
1375
+ ),
1275
1376
  args.timeoutMs,
1276
1377
  `Vote timeout after ${String(args.timeoutMs)}ms for role: ${args.role}`
1277
1378
  );
@@ -1534,14 +1635,17 @@ function createKeyedSerializer() {
1534
1635
  }
1535
1636
  };
1536
1637
  }
1537
- function raceWithDeadline(run, role, deadlineMs, cancel) {
1638
+ function raceWithDeadline(run, role, deadlineMs, cancel, afterDeadline) {
1538
1639
  const deadlineController = new AbortController();
1539
1640
  const signal = cancel === void 0 ? deadlineController.signal : AbortSignal.any([deadlineController.signal, cancel]);
1540
1641
  let timer;
1541
1642
  const timeoutP = new Promise((resolve3) => {
1542
1643
  timer = setTimeout(() => {
1543
1644
  resolve3(createErrorVoteResult(role, DEADLINE_MESSAGE, deadlineMs));
1544
- deadlineController.abort(new DOMException(DEADLINE_MESSAGE, "TimeoutError"));
1645
+ const reason = new DOMException(DEADLINE_MESSAGE, "TimeoutError");
1646
+ const deadlineAt = Date.now();
1647
+ deadlineController.abort(reason);
1648
+ afterDeadline(voteP, reason, deadlineAt);
1545
1649
  }, deadlineMs);
1546
1650
  });
1547
1651
  const voteP = Promise.resolve().then(() => run(signal));
@@ -1565,11 +1669,28 @@ function voteBeforeDeadline(input, role, adapter, remaining) {
1565
1669
  if (remaining <= 0) {
1566
1670
  return Promise.resolve(createErrorVoteResult(role, DEADLINE_MESSAGE, input.overallDeadlineMs));
1567
1671
  }
1672
+ const observer = observeLateVoter(adapter, role, input.logger);
1568
1673
  return raceWithDeadline(
1569
- (signal) => input.voteFn(role, input.proposal, adapter, input.logger, { ...input.voteOptions, signal }),
1674
+ (signal) => {
1675
+ observer.register(signal);
1676
+ return input.voteFn(role, input.proposal, adapter, input.logger, {
1677
+ ...input.voteOptions,
1678
+ signal
1679
+ });
1680
+ },
1570
1681
  role,
1571
1682
  remaining,
1572
- input.signal
1683
+ input.signal,
1684
+ (vote, reason, deadlineAt) => {
1685
+ try {
1686
+ observer.afterDeadline(vote, reason, deadlineAt);
1687
+ } catch (error) {
1688
+ input.logger.warn("Late-settlement observer failed; deadline unaffected", {
1689
+ role,
1690
+ error: error instanceof Error ? error.message : String(error)
1691
+ });
1692
+ }
1693
+ }
1573
1694
  );
1574
1695
  }
1575
1696
  async function launchRoleVote(role, index, input, voteOnAdapter, deadlineAtMs) {
@@ -6085,7 +6206,7 @@ function logPartialProposal(bounded, log) {
6085
6206
  }
6086
6207
  async function runContrarianCheck(proposal, log, opts) {
6087
6208
  try {
6088
- const { executeExpert } = await import("./expert-bridge-X6XYUYC6.js");
6209
+ const { executeExpert } = await import("./expert-bridge-SLDH3I4Q.js");
6089
6210
  const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
6090
6211
  logPartialProposal(bounded, log);
6091
6212
  const result = await executeExpert("architecture", buildContrarianPrompt(bounded, opts), {
@@ -7242,7 +7363,12 @@ function toRecordStrategy(strategy) {
7242
7363
  return VOTE_RECORD_STRATEGIES.has(strategy) ? strategy : "simple_majority";
7243
7364
  }
7244
7365
  async function recordAuthenticVote(args) {
7245
- const allSimulated = args.votes.length > 0 && args.votes.every((v) => v.source === "simulation");
7366
+ if (args.votes.length === 0) {
7367
+ const detail = "Authentic vote record NOT persisted: empty panel has no voter attribution.";
7368
+ logger9.warn(detail);
7369
+ return { persisted: false, reason: "empty-panel", detail };
7370
+ }
7371
+ const allSimulated = args.votes.every((v) => v.source === "simulation");
7246
7372
  if (allSimulated) {
7247
7373
  logger9.debug("Skipping authentic vote record \u2014 all votes simulated");
7248
7374
  return {
@@ -9217,4 +9343,4 @@ export {
9217
9343
  CONSENSUS_VOTE_TOOL_SCHEMA,
9218
9344
  registerConsensusVoteTool
9219
9345
  };
9220
- //# sourceMappingURL=chunk-TP5G2REY.js.map
9346
+ //# sourceMappingURL=chunk-CCFWTYGR.js.map