nexus-agents 11.0.0 → 11.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/{ast-rule-runner-3QRCP53C.js → ast-rule-runner-RL6XHXJB.js} +3 -3
  2. package/dist/{child-mcp-config-NWPUDUVE.js → child-mcp-config-ADRNVJJB.js} +2 -2
  3. package/dist/{chunk-6LWUJOAS.js → chunk-3LE73MVE.js} +2 -2
  4. package/dist/{chunk-R75NZRON.js → chunk-63YC42C2.js} +3 -3
  5. package/dist/{chunk-DCPCO2XG.js → chunk-6JMULY2R.js} +2 -2
  6. package/dist/{chunk-PZMODRBC.js → chunk-A7XALVN3.js} +2 -2
  7. package/dist/{chunk-7HHXY7LM.js → chunk-AX5DBV3M.js} +2 -2
  8. package/dist/{chunk-53XY7YJD.js → chunk-BHH3PKI6.js} +5 -5
  9. package/dist/{chunk-EFZRQ67X.js → chunk-DYV7XS26.js} +5 -5
  10. package/dist/{chunk-GPRYEKAA.js → chunk-EBOAFTOG.js} +31 -17
  11. package/dist/chunk-EBOAFTOG.js.map +1 -0
  12. package/dist/{chunk-5CUI42NO.js → chunk-FMIALWCD.js} +7 -7
  13. package/dist/{chunk-2BZXKNLN.js → chunk-G2OI3KA4.js} +2 -2
  14. package/dist/{chunk-SFWQ72ZS.js → chunk-G667EEZ7.js} +4 -4
  15. package/dist/{chunk-2HYJTIDY.js → chunk-GU2HV6KI.js} +3 -3
  16. package/dist/{chunk-PY6HJQYC.js → chunk-HL3EHBKJ.js} +8 -8
  17. package/dist/{chunk-3UWT434E.js → chunk-I2THTVA4.js} +17 -10
  18. package/dist/chunk-I2THTVA4.js.map +1 -0
  19. package/dist/{chunk-VVMSE5LF.js → chunk-KSSPY5KX.js} +4 -4
  20. package/dist/{chunk-66BE4KF4.js → chunk-LAUBKK25.js} +5 -5
  21. package/dist/{chunk-OJ3PXTN3.js → chunk-LSQ2IFMP.js} +52 -15
  22. package/dist/{chunk-OJ3PXTN3.js.map → chunk-LSQ2IFMP.js.map} +1 -1
  23. package/dist/{chunk-HUYVIUF3.js → chunk-MTB5BXYJ.js} +2 -2
  24. package/dist/{chunk-WFMMJWMO.js → chunk-NVE262E3.js} +2 -2
  25. package/dist/{chunk-I7VX7JWV.js → chunk-NY7IMAG5.js} +2 -2
  26. package/dist/{chunk-SKM75Y7E.js → chunk-NZA7EIZO.js} +4 -4
  27. package/dist/{chunk-D33IH5VS.js → chunk-OYAHRYFI.js} +2 -2
  28. package/dist/{chunk-QARJHIQM.js → chunk-PYAR3CVN.js} +7 -7
  29. package/dist/{chunk-QTRPH2ZF.js → chunk-QKWZZM2D.js} +2 -2
  30. package/dist/{chunk-YOT3XEZM.js → chunk-RR2Y2HVZ.js} +4 -4
  31. package/dist/{chunk-T4WTZTZY.js → chunk-S4QYN2AV.js} +4 -4
  32. package/dist/{chunk-7H3SOL4O.js → chunk-TGUUUWJO.js} +48 -42
  33. package/dist/{chunk-7H3SOL4O.js.map → chunk-TGUUUWJO.js.map} +1 -1
  34. package/dist/{chunk-VZ7YZ2EF.js → chunk-TWQEUAUG.js} +2 -2
  35. package/dist/{chunk-YRZV6KXZ.js → chunk-WAPGSEIM.js} +4 -4
  36. package/dist/{chunk-IGYZQEKM.js → chunk-WILZPMEM.js} +3 -3
  37. package/dist/{chunk-S6XQFO4A.js → chunk-WTMLF7QR.js} +2 -2
  38. package/dist/{chunk-B3RAA47W.js → chunk-Y34BCT36.js} +3 -3
  39. package/dist/{chunk-V6AJCRAU.js → chunk-YIZ25Y4C.js} +2 -2
  40. package/dist/{chunk-AFJE7K6Q.js → chunk-YUA3UBXT.js} +3 -3
  41. package/dist/{chunk-377L2ZEK.js → chunk-ZBWKLJNT.js} +11 -11
  42. package/dist/{cli-circuit-breaker-VWARWNGU.js → cli-circuit-breaker-CDJKHR7R.js} +3 -3
  43. package/dist/{cli-readiness-S23DWZCS.js → cli-readiness-7I5BYWLA.js} +7 -7
  44. package/dist/{cli-server-gateway-DJXSHHXA.js → cli-server-gateway-626TKNQJ.js} +11 -11
  45. package/dist/cli.d.ts +1 -1
  46. package/dist/cli.js +50 -46
  47. package/dist/cli.js.map +1 -1
  48. package/dist/{codebase-search-VMKI7FW4.js → codebase-search-YVO7BC33.js} +2 -2
  49. package/dist/{composite-router-3CBLBUGZ.js → composite-router-YWSL4Y62.js} +2 -2
  50. package/dist/{consensus-vote-JMWTJO4M.js → consensus-vote-O7WRAIMH.js} +15 -15
  51. package/dist/{consensus-vote-types-Ca0BY3kZ.d.ts → consensus-vote-types-C8RWaoxp.d.ts} +4 -3
  52. package/dist/{context-retriever-P6ZE6UXS.js → context-retriever-CBOMGQAP.js} +8 -8
  53. package/dist/{doctor-deep-HBIDPGWI.js → doctor-deep-2N3BHH6I.js} +3 -3
  54. package/dist/{doctor-gateway-report-FWV7UN2Q.js → doctor-gateway-report-MRPZ7S34.js} +6 -6
  55. package/dist/{doctor-live-676TWMP6.js → doctor-live-JBXIFI7A.js} +11 -11
  56. package/dist/{expert-bridge-3VWOHLC7.js → expert-bridge-TOMOJTMC.js} +4 -4
  57. package/dist/{factory-A44THDRG.js → factory-H6IIGGFG.js} +10 -10
  58. package/dist/{factory-YPJXDMN4.js → factory-OLT24RLU.js} +5 -5
  59. package/dist/{improvement-review-FIKPTCPE.js → improvement-review-UQUJ4ZR5.js} +6 -6
  60. package/dist/index.d.ts +2 -2
  61. package/dist/index.js +31 -31
  62. package/dist/{init-opencode-YRHLGHIE.js → init-opencode-HXXKEIQF.js} +5 -5
  63. package/dist/{issue-triage-BLZHWC6U.js → issue-triage-ENNKQYKQ.js} +6 -6
  64. package/dist/{model-config-helpers-OQEZU2ZG.js → model-config-helpers-QFWX2QAO.js} +2 -2
  65. package/dist/{openai-compat-adapter-GRJA6RPZ.js → openai-compat-adapter-N5WWPBGN.js} +5 -5
  66. package/dist/{outcome-store-adapter-7CKYWUZV.js → outcome-store-adapter-Y6MS4JJK.js} +2 -2
  67. package/dist/{pr-reviewer-helpers-LKHPRW3X.js → pr-reviewer-helpers-I6XFNU74.js} +4 -4
  68. package/dist/{registry-command-4LP4OSND.js → registry-command-W7UHEQ6D.js} +2 -2
  69. package/dist/{repo-security-plan-SOFUCHO4.js → repo-security-plan-MENT6MS6.js} +3 -3
  70. package/dist/{research-helpers-synthesize-SXNAJWHX.js → research-helpers-synthesize-BX4W3OA7.js} +4 -4
  71. package/dist/{routing-memory-TWCXFPAD.js → routing-memory-7VHOAFNA.js} +2 -2
  72. package/dist/{session-memory-YVT5M4AN.js → session-memory-3EYP3GNQ.js} +3 -3
  73. package/dist/{setup-config-JGHFR4P3.js → setup-config-VN2IOJ7S.js} +3 -3
  74. package/dist/{setup-custom-api-EFAWNJ2D.js → setup-custom-api-U3IGIJI7.js} +3 -3
  75. package/dist/{setup-data-dir-Z4IQNMRC.js → setup-data-dir-5YHUK3MZ.js} +14 -14
  76. package/dist/{tool-memory-5Y3HKHCB.js → tool-memory-YYFE4EXT.js} +5 -5
  77. package/dist/{unified-registry-IDUII5J7.js → unified-registry-IEPJHJHO.js} +10 -10
  78. package/dist/{weather-report-KA5RT57Q.js → weather-report-PJZFHSB7.js} +2 -2
  79. package/node_modules/express-rate-limit/dist/index.cjs +9 -7
  80. package/node_modules/express-rate-limit/dist/index.mjs +9 -7
  81. package/node_modules/express-rate-limit/package.json +9 -9
  82. package/package.json +1 -1
  83. package/dist/chunk-3UWT434E.js.map +0 -1
  84. package/dist/chunk-GPRYEKAA.js.map +0 -1
  85. /package/dist/{ast-rule-runner-3QRCP53C.js.map → ast-rule-runner-RL6XHXJB.js.map} +0 -0
  86. /package/dist/{child-mcp-config-NWPUDUVE.js.map → child-mcp-config-ADRNVJJB.js.map} +0 -0
  87. /package/dist/{chunk-6LWUJOAS.js.map → chunk-3LE73MVE.js.map} +0 -0
  88. /package/dist/{chunk-R75NZRON.js.map → chunk-63YC42C2.js.map} +0 -0
  89. /package/dist/{chunk-DCPCO2XG.js.map → chunk-6JMULY2R.js.map} +0 -0
  90. /package/dist/{chunk-PZMODRBC.js.map → chunk-A7XALVN3.js.map} +0 -0
  91. /package/dist/{chunk-7HHXY7LM.js.map → chunk-AX5DBV3M.js.map} +0 -0
  92. /package/dist/{chunk-53XY7YJD.js.map → chunk-BHH3PKI6.js.map} +0 -0
  93. /package/dist/{chunk-EFZRQ67X.js.map → chunk-DYV7XS26.js.map} +0 -0
  94. /package/dist/{chunk-5CUI42NO.js.map → chunk-FMIALWCD.js.map} +0 -0
  95. /package/dist/{chunk-2BZXKNLN.js.map → chunk-G2OI3KA4.js.map} +0 -0
  96. /package/dist/{chunk-SFWQ72ZS.js.map → chunk-G667EEZ7.js.map} +0 -0
  97. /package/dist/{chunk-2HYJTIDY.js.map → chunk-GU2HV6KI.js.map} +0 -0
  98. /package/dist/{chunk-PY6HJQYC.js.map → chunk-HL3EHBKJ.js.map} +0 -0
  99. /package/dist/{chunk-VVMSE5LF.js.map → chunk-KSSPY5KX.js.map} +0 -0
  100. /package/dist/{chunk-66BE4KF4.js.map → chunk-LAUBKK25.js.map} +0 -0
  101. /package/dist/{chunk-HUYVIUF3.js.map → chunk-MTB5BXYJ.js.map} +0 -0
  102. /package/dist/{chunk-WFMMJWMO.js.map → chunk-NVE262E3.js.map} +0 -0
  103. /package/dist/{chunk-I7VX7JWV.js.map → chunk-NY7IMAG5.js.map} +0 -0
  104. /package/dist/{chunk-SKM75Y7E.js.map → chunk-NZA7EIZO.js.map} +0 -0
  105. /package/dist/{chunk-D33IH5VS.js.map → chunk-OYAHRYFI.js.map} +0 -0
  106. /package/dist/{chunk-QARJHIQM.js.map → chunk-PYAR3CVN.js.map} +0 -0
  107. /package/dist/{chunk-QTRPH2ZF.js.map → chunk-QKWZZM2D.js.map} +0 -0
  108. /package/dist/{chunk-YOT3XEZM.js.map → chunk-RR2Y2HVZ.js.map} +0 -0
  109. /package/dist/{chunk-T4WTZTZY.js.map → chunk-S4QYN2AV.js.map} +0 -0
  110. /package/dist/{chunk-VZ7YZ2EF.js.map → chunk-TWQEUAUG.js.map} +0 -0
  111. /package/dist/{chunk-YRZV6KXZ.js.map → chunk-WAPGSEIM.js.map} +0 -0
  112. /package/dist/{chunk-IGYZQEKM.js.map → chunk-WILZPMEM.js.map} +0 -0
  113. /package/dist/{chunk-S6XQFO4A.js.map → chunk-WTMLF7QR.js.map} +0 -0
  114. /package/dist/{chunk-B3RAA47W.js.map → chunk-Y34BCT36.js.map} +0 -0
  115. /package/dist/{chunk-V6AJCRAU.js.map → chunk-YIZ25Y4C.js.map} +0 -0
  116. /package/dist/{chunk-AFJE7K6Q.js.map → chunk-YUA3UBXT.js.map} +0 -0
  117. /package/dist/{chunk-377L2ZEK.js.map → chunk-ZBWKLJNT.js.map} +0 -0
  118. /package/dist/{cli-circuit-breaker-VWARWNGU.js.map → cli-circuit-breaker-CDJKHR7R.js.map} +0 -0
  119. /package/dist/{cli-readiness-S23DWZCS.js.map → cli-readiness-7I5BYWLA.js.map} +0 -0
  120. /package/dist/{cli-server-gateway-DJXSHHXA.js.map → cli-server-gateway-626TKNQJ.js.map} +0 -0
  121. /package/dist/{codebase-search-VMKI7FW4.js.map → codebase-search-YVO7BC33.js.map} +0 -0
  122. /package/dist/{composite-router-3CBLBUGZ.js.map → composite-router-YWSL4Y62.js.map} +0 -0
  123. /package/dist/{consensus-vote-JMWTJO4M.js.map → consensus-vote-O7WRAIMH.js.map} +0 -0
  124. /package/dist/{context-retriever-P6ZE6UXS.js.map → context-retriever-CBOMGQAP.js.map} +0 -0
  125. /package/dist/{doctor-deep-HBIDPGWI.js.map → doctor-deep-2N3BHH6I.js.map} +0 -0
  126. /package/dist/{doctor-gateway-report-FWV7UN2Q.js.map → doctor-gateway-report-MRPZ7S34.js.map} +0 -0
  127. /package/dist/{doctor-live-676TWMP6.js.map → doctor-live-JBXIFI7A.js.map} +0 -0
  128. /package/dist/{expert-bridge-3VWOHLC7.js.map → expert-bridge-TOMOJTMC.js.map} +0 -0
  129. /package/dist/{factory-A44THDRG.js.map → factory-H6IIGGFG.js.map} +0 -0
  130. /package/dist/{factory-YPJXDMN4.js.map → factory-OLT24RLU.js.map} +0 -0
  131. /package/dist/{improvement-review-FIKPTCPE.js.map → improvement-review-UQUJ4ZR5.js.map} +0 -0
  132. /package/dist/{init-opencode-YRHLGHIE.js.map → init-opencode-HXXKEIQF.js.map} +0 -0
  133. /package/dist/{issue-triage-BLZHWC6U.js.map → issue-triage-ENNKQYKQ.js.map} +0 -0
  134. /package/dist/{model-config-helpers-OQEZU2ZG.js.map → model-config-helpers-QFWX2QAO.js.map} +0 -0
  135. /package/dist/{openai-compat-adapter-GRJA6RPZ.js.map → openai-compat-adapter-N5WWPBGN.js.map} +0 -0
  136. /package/dist/{outcome-store-adapter-7CKYWUZV.js.map → outcome-store-adapter-Y6MS4JJK.js.map} +0 -0
  137. /package/dist/{pr-reviewer-helpers-LKHPRW3X.js.map → pr-reviewer-helpers-I6XFNU74.js.map} +0 -0
  138. /package/dist/{registry-command-4LP4OSND.js.map → registry-command-W7UHEQ6D.js.map} +0 -0
  139. /package/dist/{repo-security-plan-SOFUCHO4.js.map → repo-security-plan-MENT6MS6.js.map} +0 -0
  140. /package/dist/{research-helpers-synthesize-SXNAJWHX.js.map → research-helpers-synthesize-BX4W3OA7.js.map} +0 -0
  141. /package/dist/{routing-memory-TWCXFPAD.js.map → routing-memory-7VHOAFNA.js.map} +0 -0
  142. /package/dist/{session-memory-YVT5M4AN.js.map → session-memory-3EYP3GNQ.js.map} +0 -0
  143. /package/dist/{setup-config-JGHFR4P3.js.map → setup-config-VN2IOJ7S.js.map} +0 -0
  144. /package/dist/{setup-custom-api-EFAWNJ2D.js.map → setup-custom-api-U3IGIJI7.js.map} +0 -0
  145. /package/dist/{setup-data-dir-Z4IQNMRC.js.map → setup-data-dir-5YHUK3MZ.js.map} +0 -0
  146. /package/dist/{tool-memory-5Y3HKHCB.js.map → tool-memory-YYFE4EXT.js.map} +0 -0
  147. /package/dist/{unified-registry-IDUII5J7.js.map → unified-registry-IEPJHJHO.js.map} +0 -0
  148. /package/dist/{weather-report-KA5RT57Q.js.map → weather-report-PJZFHSB7.js.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-GPRYEKAA.js";
5
+ } from "./chunk-EBOAFTOG.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "node:child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-HUYVIUF3.js.map
90
+ //# sourceMappingURL=chunk-MTB5BXYJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-GPRYEKAA.js";
3
+ } from "./chunk-EBOAFTOG.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-WFMMJWMO.js.map
80
+ //# sourceMappingURL=chunk-NVE262E3.js.map
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  createLogger,
8
8
  getTimeProvider
9
- } from "./chunk-GPRYEKAA.js";
9
+ } from "./chunk-EBOAFTOG.js";
10
10
  import {
11
11
  CACHE_TIMEOUTS
12
12
  } from "./chunk-4PN3UVZV.js";
@@ -511,4 +511,4 @@ export {
511
511
  resolveReputationGatingMode,
512
512
  gateWithReputation
513
513
  };
514
- //# sourceMappingURL=chunk-I7VX7JWV.js.map
514
+ //# sourceMappingURL=chunk-NY7IMAG5.js.map
@@ -3,11 +3,11 @@ import {
3
3
  hostnameOf,
4
4
  redactGatewaySecrets,
5
5
  validateCustomApiBaseUrl
6
- } from "./chunk-D33IH5VS.js";
6
+ } from "./chunk-OYAHRYFI.js";
7
7
  import {
8
8
  REDACTED_KEY_PLACEHOLDER,
9
9
  sanitizeErrorDetails
10
- } from "./chunk-PZMODRBC.js";
10
+ } from "./chunk-A7XALVN3.js";
11
11
  import {
12
12
  CUSTOM_API_ALLOW_PRIVATE_ENV,
13
13
  ConfigError,
@@ -38,7 +38,7 @@ import {
38
38
  recordUsageEvent,
39
39
  refineGatewayCatalog,
40
40
  resolveRetryAfterMs
41
- } from "./chunk-GPRYEKAA.js";
41
+ } from "./chunk-EBOAFTOG.js";
42
42
 
43
43
  // src/adapters/openai-compat-adapter.ts
44
44
  import OpenAI2 from "openai";
@@ -2394,4 +2394,4 @@ export {
2394
2394
  createOpenAICompatClient,
2395
2395
  buildOpenAICompatAdapters
2396
2396
  };
2397
- //# sourceMappingURL=chunk-SKM75Y7E.js.map
2397
+ //# sourceMappingURL=chunk-NZA7EIZO.js.map
@@ -6,7 +6,7 @@ import {
6
6
  createLogger,
7
7
  err,
8
8
  ok
9
- } from "./chunk-GPRYEKAA.js";
9
+ } from "./chunk-EBOAFTOG.js";
10
10
 
11
11
  // src/adapters/sdk/custom-api-validation.ts
12
12
  import { isIPv4, isIPv6 } from "node:net";
@@ -305,4 +305,4 @@ export {
305
305
  hostnameOf,
306
306
  redactApiKey
307
307
  };
308
- //# sourceMappingURL=chunk-D33IH5VS.js.map
308
+ //# sourceMappingURL=chunk-OYAHRYFI.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureGatewayDiscovered,
3
3
  gatewayDiscoveryGeneration
4
- } from "./chunk-IGYZQEKM.js";
4
+ } from "./chunk-WILZPMEM.js";
5
5
  import {
6
6
  createLogger,
7
7
  getTimeProvider,
8
8
  isRateLimitText,
9
9
  resolveCliSlot
10
- } from "./chunk-GPRYEKAA.js";
10
+ } from "./chunk-EBOAFTOG.js";
11
11
 
12
12
  // src/pipeline/expert-access-mode.ts
13
13
  var logger = createLogger({ component: "expert-bridge" });
@@ -78,7 +78,7 @@ async function dispatchWithMcpConfig(router, content, expertType, start, options
78
78
  let config;
79
79
  if (requestedAccessModeOf(options) === "default") {
80
80
  try {
81
- const { generateMcpConfig } = await import("./child-mcp-config-NWPUDUVE.js");
81
+ const { generateMcpConfig } = await import("./child-mcp-config-ADRNVJJB.js");
82
82
  config = await generateMcpConfig();
83
83
  activeMcpConfigs.add(config);
84
84
  } catch (error) {
@@ -167,8 +167,8 @@ async function getRouter() {
167
167
  }
168
168
  if (cachedRouter !== null) return cachedRouter;
169
169
  routerInitPromise ??= (async () => {
170
- const { createAllAdapters } = await import("./factory-A44THDRG.js");
171
- const { createCompositeRouter } = await import("./composite-router-3CBLBUGZ.js");
170
+ const { createAllAdapters } = await import("./factory-H6IIGGFG.js");
171
+ const { createCompositeRouter } = await import("./composite-router-YWSL4Y62.js");
172
172
  const adapters = createAllAdapters();
173
173
  const superseded = generation !== routerGeneration;
174
174
  if (adapters.size === 0) {
@@ -179,7 +179,7 @@ async function getRouter() {
179
179
  if (superseded) return router;
180
180
  cachedRouter = router;
181
181
  try {
182
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-VWARWNGU.js");
182
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-CDJKHR7R.js");
183
183
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
184
184
  } catch (error) {
185
185
  const msg = error instanceof Error ? error.message : String(error);
@@ -320,4 +320,4 @@ export {
320
320
  tokenSplitFromUsage,
321
321
  executeExpert
322
322
  };
323
- //# sourceMappingURL=chunk-QARJHIQM.js.map
323
+ //# sourceMappingURL=chunk-PYAR3CVN.js.map
@@ -4,7 +4,7 @@ import {
4
4
  createLogger,
5
5
  formatZodError,
6
6
  resolveInsideRoot
7
- } from "./chunk-GPRYEKAA.js";
7
+ } from "./chunk-EBOAFTOG.js";
8
8
 
9
9
  // src/security/ast-rule-runner.ts
10
10
  import { existsSync } from "node:fs";
@@ -241,4 +241,4 @@ export {
241
241
  collectAstQaFindings,
242
242
  runAstQaRules
243
243
  };
244
- //# sourceMappingURL=chunk-QTRPH2ZF.js.map
244
+ //# sourceMappingURL=chunk-QKWZZM2D.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZO6ZKR7L.js";
4
4
  import {
5
5
  SessionMemory
6
- } from "./chunk-VZ7YZ2EF.js";
6
+ } from "./chunk-TWQEUAUG.js";
7
7
  import {
8
8
  TRUST_TIER_NUMERIC,
9
9
  TrustTierSchema
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ROYGBFVE.js";
18
18
  import {
19
19
  generateId
20
- } from "./chunk-2BZXKNLN.js";
20
+ } from "./chunk-G2OI3KA4.js";
21
21
  import {
22
22
  ErrorCode,
23
23
  NexusError,
@@ -34,7 +34,7 @@ import {
34
34
  stringifyValue,
35
35
  tokenize,
36
36
  tokenizeFiltered
37
- } from "./chunk-GPRYEKAA.js";
37
+ } from "./chunk-EBOAFTOG.js";
38
38
  import {
39
39
  nexusDataPath
40
40
  } from "./chunk-CH6IBWXH.js";
@@ -5841,4 +5841,4 @@ export {
5841
5841
  shutdownToolMemory,
5842
5842
  ToolMemoryManager
5843
5843
  };
5844
- //# sourceMappingURL=chunk-YOT3XEZM.js.map
5844
+ //# sourceMappingURL=chunk-RR2Y2HVZ.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-DCPCO2XG.js";
4
+ } from "./chunk-6JMULY2R.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-HUYVIUF3.js";
7
+ } from "./chunk-MTB5BXYJ.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-GPRYEKAA.js";
11
+ } from "./chunk-EBOAFTOG.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-T4WTZTZY.js.map
44
+ //# sourceMappingURL=chunk-S4QYN2AV.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-WDAND5YU.js";
6
6
  import {
7
7
  executeExpert
8
- } from "./chunk-QARJHIQM.js";
8
+ } from "./chunk-PYAR3CVN.js";
9
9
  import {
10
10
  JobStatusSchema,
11
11
  RawFindingSchema,
@@ -58,11 +58,11 @@ import {
58
58
  updateStage,
59
59
  withFileLock,
60
60
  writeJobCancelled
61
- } from "./chunk-OJ3PXTN3.js";
61
+ } from "./chunk-LSQ2IFMP.js";
62
62
  import {
63
63
  normalizeTopicToCanonical,
64
64
  synthesizeResearch
65
- } from "./chunk-R75NZRON.js";
65
+ } from "./chunk-63YC42C2.js";
66
66
  import {
67
67
  IssueTriage,
68
68
  createAuditTrail,
@@ -71,13 +71,13 @@ import {
71
71
  createGraphAuditBridge,
72
72
  emitPipelinePolicyEvent,
73
73
  readActionRefusal
74
- } from "./chunk-EFZRQ67X.js";
74
+ } from "./chunk-DYV7XS26.js";
75
75
  import {
76
76
  sanitizeInput
77
- } from "./chunk-I7VX7JWV.js";
77
+ } from "./chunk-NY7IMAG5.js";
78
78
  import {
79
79
  withPrerequisite
80
- } from "./chunk-AFJE7K6Q.js";
80
+ } from "./chunk-YUA3UBXT.js";
81
81
  import {
82
82
  NOOP_NOTIFIER,
83
83
  RateLimiter,
@@ -105,10 +105,10 @@ import {
105
105
  toolSuccess,
106
106
  withProgressHeartbeat,
107
107
  wrapToolWithTimeout
108
- } from "./chunk-SFWQ72ZS.js";
108
+ } from "./chunk-G667EEZ7.js";
109
109
  import {
110
110
  generateSecurityPlan
111
- } from "./chunk-7HHXY7LM.js";
111
+ } from "./chunk-AX5DBV3M.js";
112
112
  import {
113
113
  analyzeGitHubRepo
114
114
  } from "./chunk-4GDMHCKX.js";
@@ -119,7 +119,7 @@ import {
119
119
  extractSymbolIndexResult,
120
120
  extractSymbols,
121
121
  findSourceFiles
122
- } from "./chunk-3UWT434E.js";
122
+ } from "./chunk-I2THTVA4.js";
123
123
  import {
124
124
  IDENTIFIER_RE,
125
125
  LANG_VALUES,
@@ -152,18 +152,18 @@ import {
152
152
  parseRegistry,
153
153
  sourceExistsInRegistry,
154
154
  summarizeContextForPrompt
155
- } from "./chunk-53XY7YJD.js";
155
+ } from "./chunk-BHH3PKI6.js";
156
156
  import {
157
157
  REGISTRY_PATH,
158
158
  getProjectRoot,
159
159
  loadPapersRegistry,
160
160
  loadTechniquesRegistry,
161
161
  resolveRegistryRoot
162
- } from "./chunk-S6XQFO4A.js";
162
+ } from "./chunk-WTMLF7QR.js";
163
163
  import {
164
164
  getTokenEnvVars,
165
165
  resolveToken
166
- } from "./chunk-HUYVIUF3.js";
166
+ } from "./chunk-MTB5BXYJ.js";
167
167
  import {
168
168
  DEFAULT_RELEVANCE_CONFIG,
169
169
  MemoryImportance,
@@ -171,7 +171,7 @@ import {
171
171
  calculateTextJaccardSimilarity,
172
172
  getToolMemory,
173
173
  memoryTrustTierTag
174
- } from "./chunk-YOT3XEZM.js";
174
+ } from "./chunk-RR2Y2HVZ.js";
175
175
  import {
176
176
  EXTERNAL_CONTENT_TRUST_TIER,
177
177
  resolveContentTrustProvenance,
@@ -187,7 +187,7 @@ import {
187
187
  import {
188
188
  DEFAULT_TASK_TTL_MS,
189
189
  clampTaskTtl
190
- } from "./chunk-377L2ZEK.js";
190
+ } from "./chunk-ZBWKLJNT.js";
191
191
  import {
192
192
  allOf,
193
193
  anyOf
@@ -196,7 +196,7 @@ import {
196
196
  VERSION,
197
197
  createRequestContext,
198
198
  measuredTrustTier
199
- } from "./chunk-B3RAA47W.js";
199
+ } from "./chunk-Y34BCT36.js";
200
200
  import {
201
201
  BWRAP_READ_ONLY_ARGS,
202
202
  CliDetectionCache,
@@ -208,13 +208,13 @@ import {
208
208
  getGlobalEventBus,
209
209
  getGlobalRegistry,
210
210
  isAbsentSeat
211
- } from "./chunk-PY6HJQYC.js";
211
+ } from "./chunk-HL3EHBKJ.js";
212
212
  import {
213
213
  ensureGatewayDiscovered,
214
214
  getAvailabilityCache,
215
215
  getCliForModelId,
216
216
  resolveFallback
217
- } from "./chunk-IGYZQEKM.js";
217
+ } from "./chunk-WILZPMEM.js";
218
218
  import {
219
219
  DEFAULTS
220
220
  } from "./chunk-NLFCAEEK.js";
@@ -232,10 +232,10 @@ import {
232
232
  parseGatewayExtraHeaders,
233
233
  requireApiKey,
234
234
  validateApiKeyPresence
235
- } from "./chunk-SKM75Y7E.js";
235
+ } from "./chunk-NZA7EIZO.js";
236
236
  import {
237
237
  createSessionMemory
238
- } from "./chunk-VZ7YZ2EF.js";
238
+ } from "./chunk-TWQEUAUG.js";
239
239
  import {
240
240
  TrustTierSchema
241
241
  } from "./chunk-CJKHQ6MV.js";
@@ -249,17 +249,17 @@ import {
249
249
  terminateProcessTree,
250
250
  trackProcessTree,
251
251
  withTimeout
252
- } from "./chunk-66BE4KF4.js";
252
+ } from "./chunk-LAUBKK25.js";
253
253
  import {
254
254
  generateHyphenId,
255
255
  generateUUID
256
- } from "./chunk-2BZXKNLN.js";
256
+ } from "./chunk-G2OI3KA4.js";
257
257
  import {
258
258
  getDefaultCliCircuitBreakerRegistry
259
- } from "./chunk-V6AJCRAU.js";
259
+ } from "./chunk-YIZ25Y4C.js";
260
260
  import {
261
261
  sanitizeErrorDetails
262
- } from "./chunk-PZMODRBC.js";
262
+ } from "./chunk-A7XALVN3.js";
263
263
  import {
264
264
  ARCHITECTURE_KEYWORDS,
265
265
  AUTHORITY_TIERS,
@@ -379,7 +379,7 @@ import {
379
379
  toExpertTaskAnalysisResult,
380
380
  truncateWithInfo,
381
381
  withStep
382
- } from "./chunk-GPRYEKAA.js";
382
+ } from "./chunk-EBOAFTOG.js";
383
383
  import {
384
384
  SUPPORTED_EXTENSIONS
385
385
  } from "./chunk-XBEKMUTO.js";
@@ -29751,7 +29751,7 @@ function execIdFields(executionId) {
29751
29751
  async function populateUnifiedContextOnState(state, options) {
29752
29752
  const taskCandidate = state["task"];
29753
29753
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29754
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-P6ZE6UXS.js");
29754
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-CBOMGQAP.js");
29755
29755
  const category = inferTaskCategory2(taskCandidate);
29756
29756
  const executionId = options?.executionId;
29757
29757
  const execFields = execIdFields(executionId);
@@ -46260,7 +46260,7 @@ async function tryIssueTriage(task) {
46260
46260
  try {
46261
46261
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
46262
46262
  if (issueMatch === null) return null;
46263
- const { createIssueTriage } = await import("./issue-triage-BLZHWC6U.js");
46263
+ const { createIssueTriage } = await import("./issue-triage-ENNKQYKQ.js");
46264
46264
  const triage = createIssueTriage();
46265
46265
  const owner = issueMatch[1] ?? "";
46266
46266
  const num2 = issueMatch[2] ?? "";
@@ -46288,7 +46288,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
46288
46288
  ]);
46289
46289
  async function classifyWithLLM(task) {
46290
46290
  try {
46291
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-3VWOHLC7.js");
46291
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-TOMOJTMC.js");
46292
46292
  const prompt = [
46293
46293
  "Classify this task into exactly one pipeline template.",
46294
46294
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -46657,7 +46657,7 @@ function buildVotingInput(plan, config) {
46657
46657
  }
46658
46658
  async function executeSingleVote(plan, config, log) {
46659
46659
  try {
46660
- const { executeVoting } = await import("./consensus-vote-JMWTJO4M.js");
46660
+ const { executeVoting } = await import("./consensus-vote-O7WRAIMH.js");
46661
46661
  const input = buildVotingInput(plan, config);
46662
46662
  const result = await executeVoting(input, log);
46663
46663
  return parseVotingResult(result);
@@ -47307,10 +47307,16 @@ function gitPath(scratch, flag) {
47307
47307
  }).trim()
47308
47308
  );
47309
47309
  }
47310
+ function launchedByPackageManagerScript(env) {
47311
+ return env["npm_lifecycle_event"] !== void 0 || env["npm_execpath"] !== void 0;
47312
+ }
47313
+ var PACKAGE_MANAGER_SCRIPT_ENV = /^(?:npm_|pnpm_|PNPM_SCRIPT_SRC_DIR$|NODE_PATH$)/i;
47310
47314
  function dependencyInstallEnv(scratchPath) {
47315
+ const inherited = hermeticGitEnv();
47316
+ const fromLauncher = launchedByPackageManagerScript(inherited);
47311
47317
  const env = Object.fromEntries(
47312
- Object.entries(hermeticGitEnv()).filter(
47313
- ([name]) => !/^npm_config_(?:virtual_store_dir|modules_dir|lockfile_dir|dir|global_dir|prefix)$/i.test(
47318
+ Object.entries(inherited).filter(
47319
+ ([name]) => !(fromLauncher && PACKAGE_MANAGER_SCRIPT_ENV.test(name)) && !/^npm_config_(?:virtual_store_dir|modules_dir|lockfile_dir|dir|global_dir|prefix)$/i.test(
47314
47320
  name
47315
47321
  )
47316
47322
  )
@@ -48176,7 +48182,7 @@ var memoryInitPromise = null;
48176
48182
  async function initPipelineMemory() {
48177
48183
  if (cachedMemory !== null) return cachedMemory;
48178
48184
  try {
48179
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-YVT5M4AN.js");
48185
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-3EYP3GNQ.js");
48180
48186
  const { getLearningDir } = await import("./learning-persistence-X24OOBYY.js");
48181
48187
  const mem = createSessionMemory2(getLearningDir());
48182
48188
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -48238,7 +48244,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
48238
48244
  callRecord(routingMemoryCache);
48239
48245
  return;
48240
48246
  }
48241
- routingMemoryInitPromise ??= import("./routing-memory-TWCXFPAD.js").then(({ createRoutingMemory }) => {
48247
+ routingMemoryInitPromise ??= import("./routing-memory-7VHOAFNA.js").then(({ createRoutingMemory }) => {
48242
48248
  routingMemoryCache ??= createRoutingMemory();
48243
48249
  return routingMemoryCache;
48244
48250
  }).catch((error) => {
@@ -48457,7 +48463,7 @@ function createVoteStage({ config, startStage }) {
48457
48463
  const strategy = config.votingStrategy ?? "higher_order";
48458
48464
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
48459
48465
  try {
48460
- const { executeVoting } = await import("./consensus-vote-JMWTJO4M.js");
48466
+ const { executeVoting } = await import("./consensus-vote-O7WRAIMH.js");
48461
48467
  const proposal = buildVoteProposal(plan, research);
48462
48468
  const votingResult = await executeVoting(
48463
48469
  {
@@ -49264,7 +49270,7 @@ ${text}` : "";
49264
49270
  }
49265
49271
  async function getWeatherContext() {
49266
49272
  try {
49267
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-KA5RT57Q.js");
49273
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-PJZFHSB7.js");
49268
49274
  const report = generateWeatherReport2({ includeAdaptive: true });
49269
49275
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
49270
49276
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -49282,7 +49288,7 @@ ${lines}
49282
49288
  }
49283
49289
  async function getMemoryContext(task) {
49284
49290
  try {
49285
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-YVT5M4AN.js");
49291
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-3EYP3GNQ.js");
49286
49292
  const { getLearningDir } = await import("./learning-persistence-X24OOBYY.js");
49287
49293
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
49288
49294
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -49984,7 +49990,7 @@ function createScaffoldStageWrapper() {
49984
49990
  }
49985
49991
  async function searchCodebaseForTask(task) {
49986
49992
  try {
49987
- const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-VMKI7FW4.js");
49993
+ const { CodebaseIndex: CodebaseIndex2 } = await import("./codebase-search-YVO7BC33.js");
49988
49994
  const index = new CodebaseIndex2(process.cwd());
49989
49995
  const terms = task.toLowerCase().split(/\s+/).filter((w) => w.length > 4).slice(0, 3);
49990
49996
  if (terms.length === 0) return null;
@@ -49999,7 +50005,7 @@ async function searchCodebaseForTask(task) {
49999
50005
  }
50000
50006
  async function queryResearchRegistry(task) {
50001
50007
  try {
50002
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-SXNAJWHX.js");
50008
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-BX4W3OA7.js");
50003
50009
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
50004
50010
  if (topic === void 0) return null;
50005
50011
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -50070,7 +50076,7 @@ function createScanStageWrapper() {
50070
50076
  try {
50071
50077
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
50072
50078
  if (slug !== void 0) {
50073
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-SOFUCHO4.js");
50079
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-MENT6MS6.js");
50074
50080
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
50075
50081
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
50076
50082
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -53996,7 +54002,7 @@ var GitHubTaskTracker = class {
53996
54002
  cachedProvider = null;
53997
54003
  async getProvider() {
53998
54004
  if (this.cachedProvider !== null) return this.cachedProvider;
53999
- const { createScmProvider } = await import("./factory-YPJXDMN4.js");
54005
+ const { createScmProvider } = await import("./factory-OLT24RLU.js");
54000
54006
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
54001
54007
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
54002
54008
  this.cachedProvider = result.value;
@@ -55043,7 +55049,7 @@ function withCatalogueCaveat(report) {
55043
55049
  var GATEWAY_TRANSPORT = "gateway";
55044
55050
  var GATEWAY_API_ARM = "api:custom-openai";
55045
55051
  async function gatewaySource(apiArm) {
55046
- const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-GRJA6RPZ.js");
55052
+ const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-N5WWPBGN.js");
55047
55053
  const config = readOpenAICompatEnv();
55048
55054
  if (config !== null) {
55049
55055
  return {
@@ -55062,7 +55068,7 @@ async function gatewaySource(apiArm) {
55062
55068
  }
55063
55069
  async function defaultSources(includeOpenRouter, adaptersFactory) {
55064
55070
  const adapters = new Map(
55065
- adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-A44THDRG.js")).createAllAdapters()
55071
+ adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-H6IIGGFG.js")).createAllAdapters()
55066
55072
  );
55067
55073
  const apiArm = adapters.get(GATEWAY_API_ARM);
55068
55074
  adapters.delete(GATEWAY_API_ARM);
@@ -58419,4 +58425,4 @@ export {
58419
58425
  initializeSandbox,
58420
58426
  getSandboxMode
58421
58427
  };
58422
- //# sourceMappingURL=chunk-7H3SOL4O.js.map
58428
+ //# sourceMappingURL=chunk-TGUUUWJO.js.map