nexus-agents 8.107.0 → 8.108.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 (133) hide show
  1. package/dist/{ast-rule-runner-PXPUTAD7.js → ast-rule-runner-WIBESKQO.js} +3 -3
  2. package/dist/{child-mcp-config-NMZBXRRH.js → child-mcp-config-ZOTCGRAQ.js} +2 -2
  3. package/dist/{chunk-EQRVKQX6.js → chunk-2OG73T33.js} +2 -2
  4. package/dist/{chunk-BLNYHCXM.js → chunk-2TQFIWN7.js} +2 -2
  5. package/dist/{chunk-IWOBVG4G.js → chunk-3EBM5OB6.js} +2 -2
  6. package/dist/{chunk-IB7KPWNJ.js → chunk-3Z6SRCH2.js} +2 -2
  7. package/dist/{chunk-GH34UXS4.js → chunk-4DZ6A4TM.js} +2 -2
  8. package/dist/{chunk-SYFH3NYH.js → chunk-6RA3DABZ.js} +2 -2
  9. package/dist/{chunk-FZPQTC7I.js → chunk-77YTEWNN.js} +8 -8
  10. package/dist/{chunk-NNTKWAEQ.js → chunk-AAJNWHM6.js} +41 -41
  11. package/dist/{chunk-REJ6H5DE.js → chunk-CNRZVAEY.js} +12 -12
  12. package/dist/{chunk-KEEBL2UH.js → chunk-D5OECZRI.js} +1444 -1343
  13. package/dist/chunk-D5OECZRI.js.map +1 -0
  14. package/dist/{chunk-MPMIQSAR.js → chunk-D6N7J2DN.js} +2 -2
  15. package/dist/{chunk-LPPRG6HI.js → chunk-D6PUITVB.js} +5 -5
  16. package/dist/{chunk-LOSHQDR5.js → chunk-DEKHDYNE.js} +3 -3
  17. package/dist/{chunk-VFXHJK46.js → chunk-EUH2TH7P.js} +4 -4
  18. package/dist/{chunk-LUHRNBAH.js → chunk-G4UBRKRI.js} +2 -2
  19. package/dist/{chunk-VLADJJWF.js → chunk-IKCORJQN.js} +5 -5
  20. package/dist/{chunk-4AVYG4NB.js → chunk-K2EBEYHK.js} +3 -3
  21. package/dist/{chunk-X2KQAEWB.js → chunk-KAIJZUXB.js} +5 -5
  22. package/dist/{chunk-AAXQHX6P.js → chunk-LNOSFWQT.js} +2 -2
  23. package/dist/{chunk-PO4YA4WF.js → chunk-M2KLJ46Q.js} +2 -2
  24. package/dist/{chunk-MENV3RNE.js → chunk-M4QLFF47.js} +2 -2
  25. package/dist/{chunk-ICJYPHKI.js → chunk-M6ZWPPCZ.js} +3 -3
  26. package/dist/{chunk-DWJ5WFH4.js → chunk-MHZNJ7QX.js} +4 -4
  27. package/dist/{chunk-5FEDDPEN.js → chunk-MZPPSWOY.js} +2 -2
  28. package/dist/{chunk-LB3HC45L.js → chunk-NV2XBKX2.js} +3 -2
  29. package/dist/{chunk-XIQSMZ2B.js → chunk-ODYHCSYQ.js} +2 -2
  30. package/dist/{chunk-5NVMQ2XV.js → chunk-OHGR6KNS.js} +8 -8
  31. package/dist/{chunk-BREYQTVV.js → chunk-P33OKVZZ.js} +2 -2
  32. package/dist/{chunk-QREAYGVQ.js → chunk-P4PR4OSB.js} +2 -2
  33. package/dist/{chunk-7SM3L43A.js → chunk-POHLLZGS.js} +3 -3
  34. package/dist/{chunk-CVPIBK53.js → chunk-QSDHJGD4.js} +4 -4
  35. package/dist/{chunk-A35D54GB.js → chunk-VPS3WVAI.js} +2 -2
  36. package/dist/{chunk-XQ7CKD4D.js → chunk-W5WRSF62.js} +2 -2
  37. package/dist/{chunk-NW2FXWFY.js → chunk-XOGDGX7O.js} +3 -3
  38. package/dist/{chunk-J5LSEI3D.js → chunk-YV47TC2N.js} +4 -4
  39. package/dist/{cli-circuit-breaker-QDJLE73G.js → cli-circuit-breaker-P2XZD3OU.js} +3 -3
  40. package/dist/cli.js +44 -44
  41. package/dist/{composite-router-4L4LEVTV.js → composite-router-ZCOPEQMV.js} +2 -2
  42. package/dist/{consensus-vote-V456J4GH.js → consensus-vote-IO7QBRHR.js} +17 -17
  43. package/dist/{context-retriever-MMEQM5OA.js → context-retriever-C6O2DPGJ.js} +8 -8
  44. package/dist/{doctor-deep-TZWCCPZ5.js → doctor-deep-HIT3TR53.js} +3 -3
  45. package/dist/{doctor-gateway-report-3BT74JPU.js → doctor-gateway-report-LQFQVNCH.js} +6 -6
  46. package/dist/{doctor-live-73HLLSTS.js → doctor-live-6CAAH3PK.js} +10 -10
  47. package/dist/{expert-bridge-DJ22MGQY.js → expert-bridge-PH46UOV7.js} +5 -5
  48. package/dist/{factory-IBBHPT3G.js → factory-C7OLQHIT.js} +5 -5
  49. package/dist/{factory-Y57G22HJ.js → factory-US2LZ2NM.js} +9 -9
  50. package/dist/{improvement-review-2TQ7VIKW.js → improvement-review-4KX3J557.js} +5 -5
  51. package/dist/index.d.ts +7 -2
  52. package/dist/index.js +32 -32
  53. package/dist/{init-opencode-JL2WP27P.js → init-opencode-AYOX5KWI.js} +5 -5
  54. package/dist/issue-triage-F64I7C4L.js +16 -0
  55. package/dist/{openai-compat-adapter-HBYIKTCC.js → openai-compat-adapter-XWDQ7524.js} +5 -5
  56. package/dist/{pr-reviewer-helpers-YHBTIYIT.js → pr-reviewer-helpers-IRPDJ3PH.js} +4 -4
  57. package/dist/{registry-command-MNHEKHOX.js → registry-command-GWQAETST.js} +2 -2
  58. package/dist/{repo-security-plan-INKLL5XK.js → repo-security-plan-VTMWUYPL.js} +3 -3
  59. package/dist/{research-helpers-synthesize-B537XJBQ.js → research-helpers-synthesize-GVMM4KYC.js} +4 -4
  60. package/dist/{routing-memory-HTGADKCH.js → routing-memory-5WU46PD7.js} +2 -2
  61. package/dist/{session-memory-S45F2TFW.js → session-memory-X7AMOTCP.js} +3 -3
  62. package/dist/{setup-config-HEMRQGW2.js → setup-config-2T3JMXCP.js} +3 -3
  63. package/dist/{setup-custom-api-E5CFOQKG.js → setup-custom-api-ILLYRYJD.js} +4 -4
  64. package/dist/setup-data-dir-JNTDHZY3.js +34 -0
  65. package/dist/{tool-memory-6Q64UFNL.js → tool-memory-C53EUKYL.js} +5 -5
  66. package/dist/{unified-registry-IAAU4HVA.js → unified-registry-5DXBS2DI.js} +11 -11
  67. package/dist/{weather-report-JFVK2U6U.js → weather-report-G275TUNL.js} +2 -2
  68. package/package.json +1 -1
  69. package/dist/chunk-KEEBL2UH.js.map +0 -1
  70. package/dist/issue-triage-AL5KNJHK.js +0 -16
  71. package/dist/setup-data-dir-AOJT6QBS.js +0 -34
  72. /package/dist/{ast-rule-runner-PXPUTAD7.js.map → ast-rule-runner-WIBESKQO.js.map} +0 -0
  73. /package/dist/{child-mcp-config-NMZBXRRH.js.map → child-mcp-config-ZOTCGRAQ.js.map} +0 -0
  74. /package/dist/{chunk-EQRVKQX6.js.map → chunk-2OG73T33.js.map} +0 -0
  75. /package/dist/{chunk-BLNYHCXM.js.map → chunk-2TQFIWN7.js.map} +0 -0
  76. /package/dist/{chunk-IWOBVG4G.js.map → chunk-3EBM5OB6.js.map} +0 -0
  77. /package/dist/{chunk-IB7KPWNJ.js.map → chunk-3Z6SRCH2.js.map} +0 -0
  78. /package/dist/{chunk-GH34UXS4.js.map → chunk-4DZ6A4TM.js.map} +0 -0
  79. /package/dist/{chunk-SYFH3NYH.js.map → chunk-6RA3DABZ.js.map} +0 -0
  80. /package/dist/{chunk-FZPQTC7I.js.map → chunk-77YTEWNN.js.map} +0 -0
  81. /package/dist/{chunk-NNTKWAEQ.js.map → chunk-AAJNWHM6.js.map} +0 -0
  82. /package/dist/{chunk-REJ6H5DE.js.map → chunk-CNRZVAEY.js.map} +0 -0
  83. /package/dist/{chunk-MPMIQSAR.js.map → chunk-D6N7J2DN.js.map} +0 -0
  84. /package/dist/{chunk-LPPRG6HI.js.map → chunk-D6PUITVB.js.map} +0 -0
  85. /package/dist/{chunk-LOSHQDR5.js.map → chunk-DEKHDYNE.js.map} +0 -0
  86. /package/dist/{chunk-VFXHJK46.js.map → chunk-EUH2TH7P.js.map} +0 -0
  87. /package/dist/{chunk-LUHRNBAH.js.map → chunk-G4UBRKRI.js.map} +0 -0
  88. /package/dist/{chunk-VLADJJWF.js.map → chunk-IKCORJQN.js.map} +0 -0
  89. /package/dist/{chunk-4AVYG4NB.js.map → chunk-K2EBEYHK.js.map} +0 -0
  90. /package/dist/{chunk-X2KQAEWB.js.map → chunk-KAIJZUXB.js.map} +0 -0
  91. /package/dist/{chunk-AAXQHX6P.js.map → chunk-LNOSFWQT.js.map} +0 -0
  92. /package/dist/{chunk-PO4YA4WF.js.map → chunk-M2KLJ46Q.js.map} +0 -0
  93. /package/dist/{chunk-MENV3RNE.js.map → chunk-M4QLFF47.js.map} +0 -0
  94. /package/dist/{chunk-ICJYPHKI.js.map → chunk-M6ZWPPCZ.js.map} +0 -0
  95. /package/dist/{chunk-DWJ5WFH4.js.map → chunk-MHZNJ7QX.js.map} +0 -0
  96. /package/dist/{chunk-5FEDDPEN.js.map → chunk-MZPPSWOY.js.map} +0 -0
  97. /package/dist/{chunk-LB3HC45L.js.map → chunk-NV2XBKX2.js.map} +0 -0
  98. /package/dist/{chunk-XIQSMZ2B.js.map → chunk-ODYHCSYQ.js.map} +0 -0
  99. /package/dist/{chunk-5NVMQ2XV.js.map → chunk-OHGR6KNS.js.map} +0 -0
  100. /package/dist/{chunk-BREYQTVV.js.map → chunk-P33OKVZZ.js.map} +0 -0
  101. /package/dist/{chunk-QREAYGVQ.js.map → chunk-P4PR4OSB.js.map} +0 -0
  102. /package/dist/{chunk-7SM3L43A.js.map → chunk-POHLLZGS.js.map} +0 -0
  103. /package/dist/{chunk-CVPIBK53.js.map → chunk-QSDHJGD4.js.map} +0 -0
  104. /package/dist/{chunk-A35D54GB.js.map → chunk-VPS3WVAI.js.map} +0 -0
  105. /package/dist/{chunk-XQ7CKD4D.js.map → chunk-W5WRSF62.js.map} +0 -0
  106. /package/dist/{chunk-NW2FXWFY.js.map → chunk-XOGDGX7O.js.map} +0 -0
  107. /package/dist/{chunk-J5LSEI3D.js.map → chunk-YV47TC2N.js.map} +0 -0
  108. /package/dist/{cli-circuit-breaker-QDJLE73G.js.map → cli-circuit-breaker-P2XZD3OU.js.map} +0 -0
  109. /package/dist/{composite-router-4L4LEVTV.js.map → composite-router-ZCOPEQMV.js.map} +0 -0
  110. /package/dist/{consensus-vote-V456J4GH.js.map → consensus-vote-IO7QBRHR.js.map} +0 -0
  111. /package/dist/{context-retriever-MMEQM5OA.js.map → context-retriever-C6O2DPGJ.js.map} +0 -0
  112. /package/dist/{doctor-deep-TZWCCPZ5.js.map → doctor-deep-HIT3TR53.js.map} +0 -0
  113. /package/dist/{doctor-gateway-report-3BT74JPU.js.map → doctor-gateway-report-LQFQVNCH.js.map} +0 -0
  114. /package/dist/{doctor-live-73HLLSTS.js.map → doctor-live-6CAAH3PK.js.map} +0 -0
  115. /package/dist/{expert-bridge-DJ22MGQY.js.map → expert-bridge-PH46UOV7.js.map} +0 -0
  116. /package/dist/{factory-IBBHPT3G.js.map → factory-C7OLQHIT.js.map} +0 -0
  117. /package/dist/{factory-Y57G22HJ.js.map → factory-US2LZ2NM.js.map} +0 -0
  118. /package/dist/{improvement-review-2TQ7VIKW.js.map → improvement-review-4KX3J557.js.map} +0 -0
  119. /package/dist/{init-opencode-JL2WP27P.js.map → init-opencode-AYOX5KWI.js.map} +0 -0
  120. /package/dist/{issue-triage-AL5KNJHK.js.map → issue-triage-F64I7C4L.js.map} +0 -0
  121. /package/dist/{openai-compat-adapter-HBYIKTCC.js.map → openai-compat-adapter-XWDQ7524.js.map} +0 -0
  122. /package/dist/{pr-reviewer-helpers-YHBTIYIT.js.map → pr-reviewer-helpers-IRPDJ3PH.js.map} +0 -0
  123. /package/dist/{registry-command-MNHEKHOX.js.map → registry-command-GWQAETST.js.map} +0 -0
  124. /package/dist/{repo-security-plan-INKLL5XK.js.map → repo-security-plan-VTMWUYPL.js.map} +0 -0
  125. /package/dist/{research-helpers-synthesize-B537XJBQ.js.map → research-helpers-synthesize-GVMM4KYC.js.map} +0 -0
  126. /package/dist/{routing-memory-HTGADKCH.js.map → routing-memory-5WU46PD7.js.map} +0 -0
  127. /package/dist/{session-memory-S45F2TFW.js.map → session-memory-X7AMOTCP.js.map} +0 -0
  128. /package/dist/{setup-config-HEMRQGW2.js.map → setup-config-2T3JMXCP.js.map} +0 -0
  129. /package/dist/{setup-custom-api-E5CFOQKG.js.map → setup-custom-api-ILLYRYJD.js.map} +0 -0
  130. /package/dist/{setup-data-dir-AOJT6QBS.js.map → setup-data-dir-JNTDHZY3.js.map} +0 -0
  131. /package/dist/{tool-memory-6Q64UFNL.js.map → tool-memory-C53EUKYL.js.map} +0 -0
  132. /package/dist/{unified-registry-IAAU4HVA.js.map → unified-registry-5DXBS2DI.js.map} +0 -0
  133. /package/dist/{weather-report-JFVK2U6U.js.map → weather-report-G275TUNL.js.map} +0 -0
@@ -9,9 +9,9 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-XQ7CKD4D.js";
12
+ } from "./chunk-W5WRSF62.js";
13
13
  import "./chunk-XEPZSDN5.js";
14
- import "./chunk-4AVYG4NB.js";
14
+ import "./chunk-K2EBEYHK.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-PXPUTAD7.js.map
30
+ //# sourceMappingURL=ast-rule-runner-WIBESKQO.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OITVVSWO.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-4AVYG4NB.js";
6
+ } from "./chunk-K2EBEYHK.js";
7
7
  import "./chunk-UE7A2XHM.js";
8
8
  import "./chunk-LWOX65CP.js";
9
9
  import "./chunk-PX6F3LHL.js";
@@ -56,4 +56,4 @@ async function generateMcpConfig(options) {
56
56
  export {
57
57
  generateMcpConfig
58
58
  };
59
- //# sourceMappingURL=child-mcp-config-NMZBXRRH.js.map
59
+ //# sourceMappingURL=child-mcp-config-ZOTCGRAQ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-4AVYG4NB.js";
7
+ } from "./chunk-K2EBEYHK.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -740,4 +740,4 @@ export {
740
740
  generateSecurityPlan,
741
741
  buildPlanFromAnalysis
742
742
  };
743
- //# sourceMappingURL=chunk-EQRVKQX6.js.map
743
+ //# sourceMappingURL=chunk-2OG73T33.js.map
@@ -7,7 +7,7 @@ import {
7
7
  createLogger,
8
8
  err,
9
9
  ok
10
- } from "./chunk-4AVYG4NB.js";
10
+ } from "./chunk-K2EBEYHK.js";
11
11
 
12
12
  // src/adapters/sdk/gateway-env.ts
13
13
  function readTrimmed(env, name) {
@@ -333,4 +333,4 @@ export {
333
333
  validateCustomApiBaseUrl,
334
334
  assertCustomApiHostResolvesPublic
335
335
  };
336
- //# sourceMappingURL=chunk-BLNYHCXM.js.map
336
+ //# sourceMappingURL=chunk-2TQFIWN7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-4AVYG4NB.js";
3
+ } from "./chunk-K2EBEYHK.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-IWOBVG4G.js.map
80
+ //# sourceMappingURL=chunk-3EBM5OB6.js.map
@@ -8,7 +8,7 @@ import {
8
8
  MCP_TIMEOUTS,
9
9
  TEST_TIMEOUTS,
10
10
  WORKFLOW_TIMEOUTS
11
- } from "./chunk-4AVYG4NB.js";
11
+ } from "./chunk-K2EBEYHK.js";
12
12
  import {
13
13
  createGetToolRateLimit
14
14
  } from "./chunk-LWOX65CP.js";
@@ -223,4 +223,4 @@ export {
223
223
  CUSTOM_API_DEFAULT_MODEL,
224
224
  DEFAULTS
225
225
  };
226
- //# sourceMappingURL=chunk-IB7KPWNJ.js.map
226
+ //# sourceMappingURL=chunk-3Z6SRCH2.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-4AVYG4NB.js";
7
+ } from "./chunk-K2EBEYHK.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "node:fs";
@@ -370,4 +370,4 @@ export {
370
370
  SessionMemory,
371
371
  createSessionMemory
372
372
  };
373
- //# sourceMappingURL=chunk-GH34UXS4.js.map
373
+ //# sourceMappingURL=chunk-4DZ6A4TM.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getErrorMessage,
3
3
  getTimeProvider
4
- } from "./chunk-4AVYG4NB.js";
4
+ } from "./chunk-K2EBEYHK.js";
5
5
 
6
6
  // src/adapters/gateway-rediscovery.ts
7
7
  var GATEWAY_REDISCOVERY_INTERVAL_MS = 6e4;
@@ -79,4 +79,4 @@ export {
79
79
  setGatewayRediscovery,
80
80
  ensureGatewayDiscovered
81
81
  };
82
- //# sourceMappingURL=chunk-SYFH3NYH.js.map
82
+ //# sourceMappingURL=chunk-6RA3DABZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CUSTOM_API_DEFAULT_MODEL
3
- } from "./chunk-IB7KPWNJ.js";
3
+ } from "./chunk-3Z6SRCH2.js";
4
4
  import {
5
5
  AdapterModelError,
6
6
  BaseAdapter,
@@ -10,7 +10,7 @@ import {
10
10
  readGatewayTransport,
11
11
  requireApiKey,
12
12
  validateApiKeyPresence
13
- } from "./chunk-PO4YA4WF.js";
13
+ } from "./chunk-M2KLJ46Q.js";
14
14
  import {
15
15
  assertCustomApiHostResolvesPublic,
16
16
  hostnameOf,
@@ -19,7 +19,7 @@ import {
19
19
  readGatewayEnv,
20
20
  redactApiKey,
21
21
  validateCustomApiBaseUrl
22
- } from "./chunk-BLNYHCXM.js";
22
+ } from "./chunk-2TQFIWN7.js";
23
23
  import {
24
24
  sanitizeOutput
25
25
  } from "./chunk-2NDA4DHW.js";
@@ -28,13 +28,13 @@ import {
28
28
  } from "./chunk-OITVVSWO.js";
29
29
  import {
30
30
  getAvailabilityCache
31
- } from "./chunk-MENV3RNE.js";
31
+ } from "./chunk-M4QLFF47.js";
32
32
  import {
33
33
  extractSystemPrompt
34
34
  } from "./chunk-QZUG667L.js";
35
35
  import {
36
36
  generateHyphenId
37
- } from "./chunk-LUHRNBAH.js";
37
+ } from "./chunk-G4UBRKRI.js";
38
38
  import {
39
39
  CliCircuitBreaker,
40
40
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
@@ -47,7 +47,7 @@ import {
47
47
  isCallerCancelled,
48
48
  isCallerInputCliError,
49
49
  isTimeoutText
50
- } from "./chunk-LB3HC45L.js";
50
+ } from "./chunk-NV2XBKX2.js";
51
51
  import {
52
52
  CLI_NAMES,
53
53
  CLI_SUBPROCESS_TIMEOUTS,
@@ -103,7 +103,7 @@ import {
103
103
  resolveRetryAfterMs,
104
104
  toModelTokenUsage,
105
105
  warnIfGatewayCostUndeclared
106
- } from "./chunk-4AVYG4NB.js";
106
+ } from "./chunk-K2EBEYHK.js";
107
107
  import {
108
108
  parseBoolValue
109
109
  } from "./chunk-LWOX65CP.js";
@@ -5192,4 +5192,4 @@ export {
5192
5192
  SdkAdapter,
5193
5193
  createAutoAdapter
5194
5194
  };
5195
- //# sourceMappingURL=chunk-FZPQTC7I.js.map
5195
+ //# sourceMappingURL=chunk-77YTEWNN.js.map
@@ -6,13 +6,13 @@ import {
6
6
  createGraphAuditBridge,
7
7
  emitPipelinePolicyEvent,
8
8
  readActionRefusal
9
- } from "./chunk-X2KQAEWB.js";
9
+ } from "./chunk-KAIJZUXB.js";
10
10
  import {
11
11
  withPrerequisite
12
- } from "./chunk-NW2FXWFY.js";
12
+ } from "./chunk-XOGDGX7O.js";
13
13
  import {
14
14
  generateSecurityPlan
15
- } from "./chunk-EQRVKQX6.js";
15
+ } from "./chunk-2OG73T33.js";
16
16
  import {
17
17
  analyzeGitHubRepo
18
18
  } from "./chunk-4GDMHCKX.js";
@@ -32,14 +32,14 @@ import {
32
32
  } from "./chunk-WDAND5YU.js";
33
33
  import {
34
34
  sanitizeInput
35
- } from "./chunk-AAXQHX6P.js";
35
+ } from "./chunk-LNOSFWQT.js";
36
36
  import {
37
37
  DEFAULT_TASK_TTL_MS,
38
38
  clampTaskTtl
39
- } from "./chunk-REJ6H5DE.js";
39
+ } from "./chunk-CNRZVAEY.js";
40
40
  import {
41
41
  executeExpert
42
- } from "./chunk-5NVMQ2XV.js";
42
+ } from "./chunk-OHGR6KNS.js";
43
43
  import {
44
44
  DEPRECATED_MODE_ALIAS_INPUT,
45
45
  JobStatusSchema,
@@ -89,7 +89,7 @@ import {
89
89
  withFileLock,
90
90
  withWarnings,
91
91
  writeJobCancelled
92
- } from "./chunk-KEEBL2UH.js";
92
+ } from "./chunk-D5OECZRI.js";
93
93
  import {
94
94
  NOOP_NOTIFIER,
95
95
  RateLimiter,
@@ -117,31 +117,31 @@ import {
117
117
  toolSuccessStructured,
118
118
  withProgressHeartbeat,
119
119
  wrapToolWithTimeout
120
- } from "./chunk-LOSHQDR5.js";
120
+ } from "./chunk-DEKHDYNE.js";
121
121
  import {
122
122
  VERSION
123
- } from "./chunk-A35D54GB.js";
123
+ } from "./chunk-VPS3WVAI.js";
124
124
  import {
125
125
  allOf,
126
126
  anyOf
127
127
  } from "./chunk-EZNIYU5T.js";
128
128
  import {
129
129
  isGatewayModelAdapter
130
- } from "./chunk-CVPIBK53.js";
130
+ } from "./chunk-QSDHJGD4.js";
131
131
  import {
132
132
  normalizeTopicToCanonical,
133
133
  synthesizeResearch
134
- } from "./chunk-7SM3L43A.js";
134
+ } from "./chunk-POHLLZGS.js";
135
135
  import {
136
136
  EventTopics,
137
137
  UNRESOLVED_MODEL_ID,
138
138
  createEvent,
139
139
  getGlobalEventBus,
140
140
  getGlobalRegistry
141
- } from "./chunk-LPPRG6HI.js";
141
+ } from "./chunk-D6PUITVB.js";
142
142
  import {
143
143
  ensureGatewayDiscovered
144
- } from "./chunk-SYFH3NYH.js";
144
+ } from "./chunk-6RA3DABZ.js";
145
145
  import {
146
146
  IDENTIFIER_RE,
147
147
  LANG_VALUES,
@@ -174,18 +174,18 @@ import {
174
174
  parseRegistry,
175
175
  sourceExistsInRegistry,
176
176
  summarizeContextForPrompt
177
- } from "./chunk-VLADJJWF.js";
177
+ } from "./chunk-IKCORJQN.js";
178
178
  import {
179
179
  getTokenEnvVars,
180
180
  resolveToken
181
- } from "./chunk-XIQSMZ2B.js";
181
+ } from "./chunk-ODYHCSYQ.js";
182
182
  import {
183
183
  REGISTRY_PATH,
184
184
  getProjectRoot,
185
185
  loadPapersRegistry,
186
186
  loadTechniquesRegistry,
187
187
  resolveRegistryRoot
188
- } from "./chunk-5FEDDPEN.js";
188
+ } from "./chunk-MZPPSWOY.js";
189
189
  import {
190
190
  resolveInsideRoot
191
191
  } from "./chunk-XEPZSDN5.js";
@@ -195,14 +195,14 @@ import {
195
195
  MemoryType,
196
196
  calculateTextJaccardSimilarity,
197
197
  getToolMemory
198
- } from "./chunk-J5LSEI3D.js";
198
+ } from "./chunk-YV47TC2N.js";
199
199
  import {
200
200
  STOPWORDS,
201
201
  truncateWithInfo
202
202
  } from "./chunk-SX5DB6UR.js";
203
203
  import {
204
204
  createSessionMemory
205
- } from "./chunk-GH34UXS4.js";
205
+ } from "./chunk-4DZ6A4TM.js";
206
206
  import {
207
207
  BUILT_IN_EXPERTS,
208
208
  BuiltInExpertTypeSchema,
@@ -220,10 +220,10 @@ import {
220
220
  getAvailableClis,
221
221
  sleep,
222
222
  withTimeout
223
- } from "./chunk-FZPQTC7I.js";
223
+ } from "./chunk-77YTEWNN.js";
224
224
  import {
225
225
  DEFAULTS
226
- } from "./chunk-IB7KPWNJ.js";
226
+ } from "./chunk-3Z6SRCH2.js";
227
227
  import {
228
228
  DEFAULT_EXECUTION_MODE,
229
229
  DEFAULT_TOOL_RATE_LIMITS,
@@ -235,10 +235,10 @@ import {
235
235
  parseGatewayExtraHeaders,
236
236
  requireApiKey,
237
237
  validateApiKeyPresence
238
- } from "./chunk-PO4YA4WF.js";
238
+ } from "./chunk-M2KLJ46Q.js";
239
239
  import {
240
240
  resolveGatewayEnv
241
- } from "./chunk-BLNYHCXM.js";
241
+ } from "./chunk-2TQFIWN7.js";
242
242
  import {
243
243
  sanitizeErrorDetails
244
244
  } from "./chunk-2NDA4DHW.js";
@@ -246,14 +246,14 @@ import {
246
246
  getAvailabilityCache,
247
247
  getCliForModelId,
248
248
  resolveFallback
249
- } from "./chunk-MENV3RNE.js";
249
+ } from "./chunk-M4QLFF47.js";
250
250
  import {
251
251
  generateHyphenId,
252
252
  generateUUID
253
- } from "./chunk-LUHRNBAH.js";
253
+ } from "./chunk-G4UBRKRI.js";
254
254
  import {
255
255
  raceAbort
256
- } from "./chunk-LB3HC45L.js";
256
+ } from "./chunk-NV2XBKX2.js";
257
257
  import {
258
258
  AGENT_ROUTER_TIMEOUTS,
259
259
  API_TIMEOUTS,
@@ -374,7 +374,7 @@ import {
374
374
  selectStrategyByManifest,
375
375
  toExpertTaskAnalysisResult,
376
376
  withStep
377
- } from "./chunk-4AVYG4NB.js";
377
+ } from "./chunk-K2EBEYHK.js";
378
378
  import {
379
379
  ensureLearningDir,
380
380
  getMetaOutcomesFile,
@@ -30375,7 +30375,7 @@ function execIdFields(executionId) {
30375
30375
  async function populateUnifiedContextOnState(state, options) {
30376
30376
  const taskCandidate = state["task"];
30377
30377
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30378
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-MMEQM5OA.js");
30378
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-C6O2DPGJ.js");
30379
30379
  const category = inferTaskCategory2(taskCandidate);
30380
30380
  const executionId = options?.executionId;
30381
30381
  const execFields = execIdFields(executionId);
@@ -46501,7 +46501,7 @@ async function tryIssueTriage(task) {
46501
46501
  try {
46502
46502
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
46503
46503
  if (issueMatch === null) return null;
46504
- const { createIssueTriage } = await import("./issue-triage-AL5KNJHK.js");
46504
+ const { createIssueTriage } = await import("./issue-triage-F64I7C4L.js");
46505
46505
  const triage = createIssueTriage();
46506
46506
  const owner = issueMatch[1] ?? "";
46507
46507
  const num2 = issueMatch[2] ?? "";
@@ -46529,7 +46529,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
46529
46529
  ]);
46530
46530
  async function classifyWithLLM(task) {
46531
46531
  try {
46532
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-DJ22MGQY.js");
46532
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-PH46UOV7.js");
46533
46533
  const prompt = [
46534
46534
  "Classify this task into exactly one pipeline template.",
46535
46535
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -46903,7 +46903,7 @@ function buildVotingInput(plan, config) {
46903
46903
  }
46904
46904
  async function executeSingleVote(plan, config, log) {
46905
46905
  try {
46906
- const { executeVoting } = await import("./consensus-vote-V456J4GH.js");
46906
+ const { executeVoting } = await import("./consensus-vote-IO7QBRHR.js");
46907
46907
  const input = buildVotingInput(plan, config);
46908
46908
  const result = await executeVoting(input, log);
46909
46909
  return parseVotingResult(result);
@@ -47677,7 +47677,7 @@ var memoryInitPromise = null;
47677
47677
  async function initPipelineMemory() {
47678
47678
  if (cachedMemory !== null) return cachedMemory;
47679
47679
  try {
47680
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-S45F2TFW.js");
47680
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-X7AMOTCP.js");
47681
47681
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
47682
47682
  const mem = createSessionMemory2(getLearningDir());
47683
47683
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47739,7 +47739,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47739
47739
  callRecord(routingMemoryCache);
47740
47740
  return;
47741
47741
  }
47742
- routingMemoryInitPromise ??= import("./routing-memory-HTGADKCH.js").then(({ createRoutingMemory }) => {
47742
+ routingMemoryInitPromise ??= import("./routing-memory-5WU46PD7.js").then(({ createRoutingMemory }) => {
47743
47743
  routingMemoryCache ??= createRoutingMemory();
47744
47744
  return routingMemoryCache;
47745
47745
  }).catch((error) => {
@@ -47926,7 +47926,7 @@ function createVoteStage({ config, startStage }) {
47926
47926
  const strategy = config.votingStrategy ?? "higher_order";
47927
47927
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47928
47928
  try {
47929
- const { executeVoting } = await import("./consensus-vote-V456J4GH.js");
47929
+ const { executeVoting } = await import("./consensus-vote-IO7QBRHR.js");
47930
47930
  const votingResult = await executeVoting(
47931
47931
  {
47932
47932
  proposal: buildVoteProposal(plan, research),
@@ -48688,7 +48688,7 @@ ${text}` : "";
48688
48688
  }
48689
48689
  async function getWeatherContext() {
48690
48690
  try {
48691
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-JFVK2U6U.js");
48691
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-G275TUNL.js");
48692
48692
  const report = generateWeatherReport2({ includeAdaptive: true });
48693
48693
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
48694
48694
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -48706,7 +48706,7 @@ ${lines}
48706
48706
  }
48707
48707
  async function getMemoryContext(task) {
48708
48708
  try {
48709
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-S45F2TFW.js");
48709
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-X7AMOTCP.js");
48710
48710
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
48711
48711
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
48712
48712
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -49276,7 +49276,7 @@ async function searchCodebaseForTask(task) {
49276
49276
  }
49277
49277
  async function queryResearchRegistry(task) {
49278
49278
  try {
49279
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-B537XJBQ.js");
49279
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-GVMM4KYC.js");
49280
49280
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
49281
49281
  if (topic === void 0) return null;
49282
49282
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -49347,7 +49347,7 @@ function createScanStageWrapper() {
49347
49347
  try {
49348
49348
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
49349
49349
  if (slug !== void 0) {
49350
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-INKLL5XK.js");
49350
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-VTMWUYPL.js");
49351
49351
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
49352
49352
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
49353
49353
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -52891,7 +52891,7 @@ var GitHubTaskTracker = class {
52891
52891
  cachedProvider = null;
52892
52892
  async getProvider() {
52893
52893
  if (this.cachedProvider !== null) return this.cachedProvider;
52894
- const { createScmProvider } = await import("./factory-IBBHPT3G.js");
52894
+ const { createScmProvider } = await import("./factory-C7OLQHIT.js");
52895
52895
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
52896
52896
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
52897
52897
  this.cachedProvider = result.value;
@@ -53955,7 +53955,7 @@ async function probeSource(source, includeModelIds) {
53955
53955
  var GATEWAY_TRANSPORT = "gateway";
53956
53956
  var GATEWAY_API_ARM = "api:custom-openai";
53957
53957
  async function gatewaySource(apiArm) {
53958
- const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-HBYIKTCC.js");
53958
+ const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-XWDQ7524.js");
53959
53959
  const config = readOpenAICompatEnv();
53960
53960
  if (config !== null) {
53961
53961
  return {
@@ -53974,7 +53974,7 @@ async function gatewaySource(apiArm) {
53974
53974
  }
53975
53975
  async function defaultSources(includeOpenRouter, adaptersFactory) {
53976
53976
  const adapters = new Map(
53977
- adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-Y57G22HJ.js")).createAllAdapters()
53977
+ adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-US2LZ2NM.js")).createAllAdapters()
53978
53978
  );
53979
53979
  const apiArm = adapters.get(GATEWAY_API_ARM);
53980
53980
  adapters.delete(GATEWAY_API_ARM);
@@ -57257,4 +57257,4 @@ export {
57257
57257
  startPipelineEventBridge,
57258
57258
  shutdownPipelineEventBridge
57259
57259
  };
57260
- //# sourceMappingURL=chunk-NNTKWAEQ.js.map
57260
+ //# sourceMappingURL=chunk-AAJNWHM6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SERVES_PROBE_PROMPT
3
- } from "./chunk-BREYQTVV.js";
3
+ } from "./chunk-P33OKVZZ.js";
4
4
  import {
5
5
  checkGatewayHealth,
6
6
  cliFailsVerdict,
@@ -8,22 +8,22 @@ import {
8
8
  gatewaySlotServing,
9
9
  gatewayVerdict,
10
10
  printVoterTransportCheck
11
- } from "./chunk-DWJ5WFH4.js";
11
+ } from "./chunk-MHZNJ7QX.js";
12
12
  import {
13
13
  NODE_ENGINE_RANGE,
14
14
  VERSION,
15
15
  isNodeVersionSupported
16
- } from "./chunk-A35D54GB.js";
16
+ } from "./chunk-VPS3WVAI.js";
17
17
  import {
18
18
  allOf
19
19
  } from "./chunk-EZNIYU5T.js";
20
20
  import {
21
21
  readOpenAICompatEndpoint,
22
22
  readOpenAICompatEnv
23
- } from "./chunk-CVPIBK53.js";
23
+ } from "./chunk-QSDHJGD4.js";
24
24
  import {
25
25
  claimGlobalRegistry
26
- } from "./chunk-LPPRG6HI.js";
26
+ } from "./chunk-D6PUITVB.js";
27
27
  import {
28
28
  capitalize
29
29
  } from "./chunk-SX5DB6UR.js";
@@ -35,10 +35,10 @@ import {
35
35
  createAllAdapters,
36
36
  isCliAdmitted,
37
37
  probeCli
38
- } from "./chunk-FZPQTC7I.js";
38
+ } from "./chunk-77YTEWNN.js";
39
39
  import {
40
40
  resolveGatewayEnv
41
- } from "./chunk-BLNYHCXM.js";
41
+ } from "./chunk-2TQFIWN7.js";
42
42
  import {
43
43
  getNexusTmpDir
44
44
  } from "./chunk-OITVVSWO.js";
@@ -63,7 +63,7 @@ import {
63
63
  resolveGatewayCostDeclaration,
64
64
  symbols,
65
65
  writeLine
66
- } from "./chunk-4AVYG4NB.js";
66
+ } from "./chunk-K2EBEYHK.js";
67
67
  import {
68
68
  getLearningDir,
69
69
  getOutcomesFile,
@@ -1385,7 +1385,7 @@ async function doctorCommand(options = {}) {
1385
1385
  const result = await runDoctor({ gatewayProbe: options.probe === true });
1386
1386
  printDoctorResults(result);
1387
1387
  if (options.gateway === true || options.probe === true) {
1388
- const { formatGatewayReport } = await import("./doctor-gateway-report-3BT74JPU.js");
1388
+ const { formatGatewayReport } = await import("./doctor-gateway-report-LQFQVNCH.js");
1389
1389
  for (const line of formatGatewayReport(result.gateway, result.clis)) {
1390
1390
  process.stdout.write(line + "\n");
1391
1391
  }
@@ -1404,13 +1404,13 @@ async function runDoctorFix(result) {
1404
1404
  writeLine2("\u2500".repeat(40));
1405
1405
  let fixCount = 0;
1406
1406
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1407
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-AOJT6QBS.js");
1407
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-JNTDHZY3.js");
1408
1408
  const outcome = describeDataDirFix2(initDataDirectories2());
1409
1409
  writeLine2(outcome.line);
1410
1410
  if (outcome.counted) fixCount++;
1411
1411
  }
1412
1412
  if (!result.configFile.found) {
1413
- const { runConfigInitSync } = await import("./setup-config-HEMRQGW2.js");
1413
+ const { runConfigInitSync } = await import("./setup-config-2T3JMXCP.js");
1414
1414
  const configResult = runConfigInitSync(process.cwd(), false, false);
1415
1415
  if (configResult.success && configResult.created) {
1416
1416
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -1506,4 +1506,4 @@ export {
1506
1506
  startStdioServer,
1507
1507
  closeServer
1508
1508
  };
1509
- //# sourceMappingURL=chunk-REJ6H5DE.js.map
1509
+ //# sourceMappingURL=chunk-CNRZVAEY.js.map