nexus-agents 8.102.0 → 8.102.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 (139) hide show
  1. package/dist/{ast-rule-runner-AWL7WA6O.js → ast-rule-runner-WWUOS722.js} +3 -3
  2. package/dist/{child-mcp-config-JQLYDUUY.js → child-mcp-config-U3I7K7BT.js} +2 -2
  3. package/dist/{chunk-FXQJLU3O.js → chunk-2I2I3DRA.js} +5 -5
  4. package/dist/{chunk-BYVA3QIU.js → chunk-2ON7ZOBD.js} +46 -39
  5. package/dist/chunk-2ON7ZOBD.js.map +1 -0
  6. package/dist/{chunk-TFZVQBPC.js → chunk-5ML3THNH.js} +7 -7
  7. package/dist/{chunk-RWH4GY4O.js → chunk-6NYFFN42.js} +4 -4
  8. package/dist/{chunk-S4FLNZHK.js → chunk-7YPSWDOV.js} +2 -2
  9. package/dist/{chunk-H3UYZK5S.js → chunk-AWUTGAQN.js} +2 -2
  10. package/dist/{chunk-45JNFWOK.js → chunk-BY5SXMN5.js} +2 -2
  11. package/dist/{chunk-HRWT6UU6.js → chunk-BYRIEU5S.js} +2 -2
  12. package/dist/{chunk-DXWTSSZ5.js → chunk-C4T7UI2R.js} +22 -9
  13. package/dist/chunk-C4T7UI2R.js.map +1 -0
  14. package/dist/{chunk-C5RANIUS.js → chunk-CDCEDAEO.js} +2 -2
  15. package/dist/{chunk-7IP3RMJY.js → chunk-D5EDP3EQ.js} +2 -2
  16. package/dist/{chunk-I2CI4EFZ.js → chunk-GVSSUYBR.js} +5 -5
  17. package/dist/{chunk-WPGNM4VM.js → chunk-HVJIQLBC.js} +2 -2
  18. package/dist/{chunk-N7SQKRKG.js → chunk-JASILDK4.js} +3 -3
  19. package/dist/{chunk-MQ7RCD65.js → chunk-KMY3NA44.js} +2 -2
  20. package/dist/chunk-L265O6SP.js +322 -0
  21. package/dist/chunk-L265O6SP.js.map +1 -0
  22. package/dist/{chunk-2JLWILT3.js → chunk-LKMB7ZPK.js} +3 -3
  23. package/dist/{chunk-XEXEZF2L.js → chunk-MYLHKD32.js} +2 -2
  24. package/dist/{chunk-EQHSJEX3.js → chunk-NACTU45C.js} +2 -2
  25. package/dist/{chunk-JAYHSYQ5.js → chunk-NCQGSHEH.js} +2 -2
  26. package/dist/{chunk-FEMR5VNG.js → chunk-OCXGPXG2.js} +2 -2
  27. package/dist/{chunk-G3PASAET.js → chunk-ODLIA33L.js} +2 -2
  28. package/dist/{chunk-YD5RDIKE.js → chunk-PAICM2DX.js} +4 -4
  29. package/dist/{chunk-EZSDF2RN.js → chunk-QHMUW6G7.js} +4 -4
  30. package/dist/{chunk-5ZQYRVZ6.js → chunk-RGW4TLFO.js} +3 -3
  31. package/dist/{chunk-22ORYF2M.js → chunk-TBTXBJ7T.js} +3 -3
  32. package/dist/{chunk-FLSZ7MC4.js → chunk-UA3TQ773.js} +2 -2
  33. package/dist/{chunk-H7Z53A5H.js → chunk-V3YMUA74.js} +4 -4
  34. package/dist/{chunk-TDJ2FZF3.js → chunk-XROOAW6C.js} +2 -2
  35. package/dist/{chunk-3JPTRESH.js → chunk-XWMT6ZSS.js} +21 -140
  36. package/dist/chunk-XWMT6ZSS.js.map +1 -0
  37. package/dist/{chunk-FHJ6MTK3.js → chunk-YBV7HIRX.js} +10 -10
  38. package/dist/{chunk-NEZQ3YTI.js → chunk-YKC7ICXJ.js} +12 -2
  39. package/dist/chunk-YKC7ICXJ.js.map +1 -0
  40. package/dist/{chunk-6I2O2TTX.js → chunk-YSLHLLRK.js} +2 -2
  41. package/dist/{chunk-NPLCVC3G.js → chunk-ZR5JWLC5.js} +3 -3
  42. package/dist/{cli-circuit-breaker-TEP2DWWH.js → cli-circuit-breaker-V2BTK5ZW.js} +3 -3
  43. package/dist/cli.js +48 -44
  44. package/dist/cli.js.map +1 -1
  45. package/dist/{composite-router-GLNDX2GV.js → composite-router-RX3JZYIE.js} +2 -2
  46. package/dist/{consensus-vote-WIAUGC5V.js → consensus-vote-4ET2GP6B.js} +16 -16
  47. package/dist/{context-retriever-AUID4ELJ.js → context-retriever-IK253TWS.js} +8 -8
  48. package/dist/{doctor-deep-4K23X2QK.js → doctor-deep-5K4BPYSH.js} +3 -3
  49. package/dist/doctor-gateway-report-MRSOR4TR.js +17 -0
  50. package/dist/{doctor-live-CU6O4MNI.js → doctor-live-QW4XTIZW.js} +10 -10
  51. package/dist/{expert-bridge-YWCGQKN2.js → expert-bridge-IWTCC652.js} +4 -4
  52. package/dist/{factory-NOC7DSJG.js → factory-IQRYHF2K.js} +5 -5
  53. package/dist/{factory-J42N5QU6.js → factory-ZPHF32DK.js} +9 -9
  54. package/dist/{improvement-review-53QJQMBZ.js → improvement-review-WQYWT3GP.js} +5 -5
  55. package/dist/index.d.ts +2 -0
  56. package/dist/index.js +31 -31
  57. package/dist/{init-opencode-KHWB4OQY.js → init-opencode-6VPDLKMF.js} +5 -5
  58. package/dist/issue-triage-TD4LKVPI.js +16 -0
  59. package/dist/{openai-compat-adapter-5BCCGH32.js → openai-compat-adapter-5WAMUIQA.js} +5 -5
  60. package/dist/{pr-reviewer-helpers-EHAG74L5.js → pr-reviewer-helpers-SNUDE5TO.js} +4 -4
  61. package/dist/{registry-command-CS42ODV3.js → registry-command-APTVRLDC.js} +2 -2
  62. package/dist/{repo-security-plan-ENHKDRM3.js → repo-security-plan-4JQGVAZZ.js} +3 -3
  63. package/dist/{research-helpers-synthesize-XYMCJHFU.js → research-helpers-synthesize-65NCBD5R.js} +4 -4
  64. package/dist/{routing-memory-KLIKEK6N.js → routing-memory-FH63BFPW.js} +2 -2
  65. package/dist/{session-memory-LHZYRRFM.js → session-memory-VGDP7YE3.js} +3 -3
  66. package/dist/{setup-config-YZ6E7RSF.js → setup-config-EZ5SSK6U.js} +3 -3
  67. package/dist/{setup-custom-api-AITNIHMR.js → setup-custom-api-3HDBQLOX.js} +4 -4
  68. package/dist/setup-data-dir-2EVIVSKU.js +33 -0
  69. package/dist/{tool-memory-YEHRAJXA.js → tool-memory-P3ANNLKT.js} +5 -5
  70. package/dist/{unified-registry-7LJW5VLX.js → unified-registry-UBGBRRBV.js} +10 -10
  71. package/dist/{weather-report-P3NJN6LU.js → weather-report-PBMB3PYV.js} +2 -2
  72. package/dist/weather-report-PBMB3PYV.js.map +1 -0
  73. package/package.json +1 -1
  74. package/dist/chunk-3JPTRESH.js.map +0 -1
  75. package/dist/chunk-BYVA3QIU.js.map +0 -1
  76. package/dist/chunk-C2MLEXZC.js +0 -81
  77. package/dist/chunk-C2MLEXZC.js.map +0 -1
  78. package/dist/chunk-DXWTSSZ5.js.map +0 -1
  79. package/dist/chunk-NEZQ3YTI.js.map +0 -1
  80. package/dist/doctor-gateway-report-Q5RXOEMR.js +0 -77
  81. package/dist/doctor-gateway-report-Q5RXOEMR.js.map +0 -1
  82. package/dist/issue-triage-E55KBDOD.js +0 -16
  83. package/dist/setup-data-dir-7Y7A3RUJ.js +0 -33
  84. /package/dist/{ast-rule-runner-AWL7WA6O.js.map → ast-rule-runner-WWUOS722.js.map} +0 -0
  85. /package/dist/{child-mcp-config-JQLYDUUY.js.map → child-mcp-config-U3I7K7BT.js.map} +0 -0
  86. /package/dist/{chunk-FXQJLU3O.js.map → chunk-2I2I3DRA.js.map} +0 -0
  87. /package/dist/{chunk-TFZVQBPC.js.map → chunk-5ML3THNH.js.map} +0 -0
  88. /package/dist/{chunk-RWH4GY4O.js.map → chunk-6NYFFN42.js.map} +0 -0
  89. /package/dist/{chunk-S4FLNZHK.js.map → chunk-7YPSWDOV.js.map} +0 -0
  90. /package/dist/{chunk-H3UYZK5S.js.map → chunk-AWUTGAQN.js.map} +0 -0
  91. /package/dist/{chunk-45JNFWOK.js.map → chunk-BY5SXMN5.js.map} +0 -0
  92. /package/dist/{chunk-HRWT6UU6.js.map → chunk-BYRIEU5S.js.map} +0 -0
  93. /package/dist/{chunk-C5RANIUS.js.map → chunk-CDCEDAEO.js.map} +0 -0
  94. /package/dist/{chunk-7IP3RMJY.js.map → chunk-D5EDP3EQ.js.map} +0 -0
  95. /package/dist/{chunk-I2CI4EFZ.js.map → chunk-GVSSUYBR.js.map} +0 -0
  96. /package/dist/{chunk-WPGNM4VM.js.map → chunk-HVJIQLBC.js.map} +0 -0
  97. /package/dist/{chunk-N7SQKRKG.js.map → chunk-JASILDK4.js.map} +0 -0
  98. /package/dist/{chunk-MQ7RCD65.js.map → chunk-KMY3NA44.js.map} +0 -0
  99. /package/dist/{chunk-2JLWILT3.js.map → chunk-LKMB7ZPK.js.map} +0 -0
  100. /package/dist/{chunk-XEXEZF2L.js.map → chunk-MYLHKD32.js.map} +0 -0
  101. /package/dist/{chunk-EQHSJEX3.js.map → chunk-NACTU45C.js.map} +0 -0
  102. /package/dist/{chunk-JAYHSYQ5.js.map → chunk-NCQGSHEH.js.map} +0 -0
  103. /package/dist/{chunk-FEMR5VNG.js.map → chunk-OCXGPXG2.js.map} +0 -0
  104. /package/dist/{chunk-G3PASAET.js.map → chunk-ODLIA33L.js.map} +0 -0
  105. /package/dist/{chunk-YD5RDIKE.js.map → chunk-PAICM2DX.js.map} +0 -0
  106. /package/dist/{chunk-EZSDF2RN.js.map → chunk-QHMUW6G7.js.map} +0 -0
  107. /package/dist/{chunk-5ZQYRVZ6.js.map → chunk-RGW4TLFO.js.map} +0 -0
  108. /package/dist/{chunk-22ORYF2M.js.map → chunk-TBTXBJ7T.js.map} +0 -0
  109. /package/dist/{chunk-FLSZ7MC4.js.map → chunk-UA3TQ773.js.map} +0 -0
  110. /package/dist/{chunk-H7Z53A5H.js.map → chunk-V3YMUA74.js.map} +0 -0
  111. /package/dist/{chunk-TDJ2FZF3.js.map → chunk-XROOAW6C.js.map} +0 -0
  112. /package/dist/{chunk-FHJ6MTK3.js.map → chunk-YBV7HIRX.js.map} +0 -0
  113. /package/dist/{chunk-6I2O2TTX.js.map → chunk-YSLHLLRK.js.map} +0 -0
  114. /package/dist/{chunk-NPLCVC3G.js.map → chunk-ZR5JWLC5.js.map} +0 -0
  115. /package/dist/{cli-circuit-breaker-TEP2DWWH.js.map → cli-circuit-breaker-V2BTK5ZW.js.map} +0 -0
  116. /package/dist/{composite-router-GLNDX2GV.js.map → composite-router-RX3JZYIE.js.map} +0 -0
  117. /package/dist/{consensus-vote-WIAUGC5V.js.map → consensus-vote-4ET2GP6B.js.map} +0 -0
  118. /package/dist/{context-retriever-AUID4ELJ.js.map → context-retriever-IK253TWS.js.map} +0 -0
  119. /package/dist/{doctor-deep-4K23X2QK.js.map → doctor-deep-5K4BPYSH.js.map} +0 -0
  120. /package/dist/{expert-bridge-YWCGQKN2.js.map → doctor-gateway-report-MRSOR4TR.js.map} +0 -0
  121. /package/dist/{doctor-live-CU6O4MNI.js.map → doctor-live-QW4XTIZW.js.map} +0 -0
  122. /package/dist/{factory-J42N5QU6.js.map → expert-bridge-IWTCC652.js.map} +0 -0
  123. /package/dist/{factory-NOC7DSJG.js.map → factory-IQRYHF2K.js.map} +0 -0
  124. /package/dist/{improvement-review-53QJQMBZ.js.map → factory-ZPHF32DK.js.map} +0 -0
  125. /package/dist/{issue-triage-E55KBDOD.js.map → improvement-review-WQYWT3GP.js.map} +0 -0
  126. /package/dist/{init-opencode-KHWB4OQY.js.map → init-opencode-6VPDLKMF.js.map} +0 -0
  127. /package/dist/{openai-compat-adapter-5BCCGH32.js.map → issue-triage-TD4LKVPI.js.map} +0 -0
  128. /package/dist/{pr-reviewer-helpers-EHAG74L5.js.map → openai-compat-adapter-5WAMUIQA.js.map} +0 -0
  129. /package/dist/{repo-security-plan-ENHKDRM3.js.map → pr-reviewer-helpers-SNUDE5TO.js.map} +0 -0
  130. /package/dist/{registry-command-CS42ODV3.js.map → registry-command-APTVRLDC.js.map} +0 -0
  131. /package/dist/{research-helpers-synthesize-XYMCJHFU.js.map → repo-security-plan-4JQGVAZZ.js.map} +0 -0
  132. /package/dist/{routing-memory-KLIKEK6N.js.map → research-helpers-synthesize-65NCBD5R.js.map} +0 -0
  133. /package/dist/{session-memory-LHZYRRFM.js.map → routing-memory-FH63BFPW.js.map} +0 -0
  134. /package/dist/{setup-config-YZ6E7RSF.js.map → session-memory-VGDP7YE3.js.map} +0 -0
  135. /package/dist/{setup-data-dir-7Y7A3RUJ.js.map → setup-config-EZ5SSK6U.js.map} +0 -0
  136. /package/dist/{setup-custom-api-AITNIHMR.js.map → setup-custom-api-3HDBQLOX.js.map} +0 -0
  137. /package/dist/{tool-memory-YEHRAJXA.js.map → setup-data-dir-2EVIVSKU.js.map} +0 -0
  138. /package/dist/{unified-registry-7LJW5VLX.js.map → tool-memory-P3ANNLKT.js.map} +0 -0
  139. /package/dist/{weather-report-P3NJN6LU.js.map → unified-registry-UBGBRRBV.js.map} +0 -0
@@ -9,8 +9,8 @@ import {
9
9
  getBuiltInAstRulesPath,
10
10
  loadRules,
11
11
  runAstQaRules
12
- } from "./chunk-TDJ2FZF3.js";
13
- import "./chunk-NPLCVC3G.js";
12
+ } from "./chunk-XROOAW6C.js";
13
+ import "./chunk-ZR5JWLC5.js";
14
14
  import "./chunk-UE7A2XHM.js";
15
15
  import "./chunk-LWOX65CP.js";
16
16
  import "./chunk-PX6F3LHL.js";
@@ -26,4 +26,4 @@ export {
26
26
  loadRules,
27
27
  runAstQaRules
28
28
  };
29
- //# sourceMappingURL=ast-rule-runner-AWL7WA6O.js.map
29
+ //# sourceMappingURL=ast-rule-runner-WWUOS722.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-OITVVSWO.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-NPLCVC3G.js";
6
+ } from "./chunk-ZR5JWLC5.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-JQLYDUUY.js.map
59
+ //# sourceMappingURL=child-mcp-config-U3I7K7BT.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-W654ME6B.js";
4
4
  import {
5
5
  resolveToken
6
- } from "./chunk-MQ7RCD65.js";
6
+ } from "./chunk-KMY3NA44.js";
7
7
  import {
8
8
  REGISTRY_PATH,
9
9
  getProjectRoot,
@@ -11,10 +11,10 @@ import {
11
11
  loadTechniquesRegistry,
12
12
  resolveInsideRoot,
13
13
  savePapersRegistry
14
- } from "./chunk-EQHSJEX3.js";
14
+ } from "./chunk-NACTU45C.js";
15
15
  import {
16
16
  getToolMemory
17
- } from "./chunk-YD5RDIKE.js";
17
+ } from "./chunk-PAICM2DX.js";
18
18
  import {
19
19
  capitalizeWords,
20
20
  tokenizeFiltered,
@@ -43,7 +43,7 @@ import {
43
43
  ok,
44
44
  registerPersistentDistillerFactory,
45
45
  sigmoidConfidence
46
- } from "./chunk-NPLCVC3G.js";
46
+ } from "./chunk-ZR5JWLC5.js";
47
47
  import {
48
48
  ensureLearningDir,
49
49
  getRulesFile
@@ -4275,4 +4275,4 @@ export {
4275
4275
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4276
4276
  getContextPromptPrefix
4277
4277
  };
4278
- //# sourceMappingURL=chunk-FXQJLU3O.js.map
4278
+ //# sourceMappingURL=chunk-2I2I3DRA.js.map
@@ -6,13 +6,13 @@ import {
6
6
  createGraphAuditBridge,
7
7
  emitPipelinePolicyEvent,
8
8
  readActionRefusal
9
- } from "./chunk-I2CI4EFZ.js";
9
+ } from "./chunk-GVSSUYBR.js";
10
10
  import {
11
11
  withPrerequisite
12
- } from "./chunk-N7SQKRKG.js";
12
+ } from "./chunk-JASILDK4.js";
13
13
  import {
14
14
  generateSecurityPlan
15
- } from "./chunk-XEXEZF2L.js";
15
+ } from "./chunk-MYLHKD32.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-45JNFWOK.js";
35
+ } from "./chunk-BY5SXMN5.js";
36
36
  import {
37
37
  DEFAULT_TASK_TTL_MS,
38
38
  clampTaskTtl
39
- } from "./chunk-3JPTRESH.js";
39
+ } from "./chunk-XWMT6ZSS.js";
40
40
  import {
41
41
  executeExpert
42
- } from "./chunk-TFZVQBPC.js";
42
+ } from "./chunk-5ML3THNH.js";
43
43
  import {
44
44
  DEPRECATED_MODE_ALIAS_INPUT,
45
45
  JobStatusSchema,
@@ -90,7 +90,7 @@ import {
90
90
  withFileLock,
91
91
  withWarnings,
92
92
  writeJobCancelled
93
- } from "./chunk-FHJ6MTK3.js";
93
+ } from "./chunk-YBV7HIRX.js";
94
94
  import {
95
95
  NOOP_NOTIFIER,
96
96
  RateLimiter,
@@ -118,28 +118,28 @@ import {
118
118
  toolSuccessStructured,
119
119
  withProgressHeartbeat,
120
120
  wrapToolWithTimeout
121
- } from "./chunk-22ORYF2M.js";
121
+ } from "./chunk-TBTXBJ7T.js";
122
122
  import {
123
123
  VERSION
124
- } from "./chunk-6I2O2TTX.js";
124
+ } from "./chunk-YSLHLLRK.js";
125
125
  import {
126
126
  allOf,
127
127
  anyOf
128
128
  } from "./chunk-EZNIYU5T.js";
129
129
  import {
130
130
  isGatewayModelAdapter
131
- } from "./chunk-EZSDF2RN.js";
131
+ } from "./chunk-QHMUW6G7.js";
132
132
  import {
133
133
  normalizeTopicToCanonical,
134
134
  synthesizeResearch
135
- } from "./chunk-2JLWILT3.js";
135
+ } from "./chunk-LKMB7ZPK.js";
136
136
  import {
137
137
  EventTopics,
138
138
  UNRESOLVED_MODEL_ID,
139
139
  createEvent,
140
140
  getGlobalEventBus,
141
141
  getGlobalRegistry
142
- } from "./chunk-RWH4GY4O.js";
142
+ } from "./chunk-6NYFFN42.js";
143
143
  import {
144
144
  IDENTIFIER_RE,
145
145
  LANG_VALUES,
@@ -172,11 +172,11 @@ import {
172
172
  parseRegistry,
173
173
  sourceExistsInRegistry,
174
174
  summarizeContextForPrompt
175
- } from "./chunk-FXQJLU3O.js";
175
+ } from "./chunk-2I2I3DRA.js";
176
176
  import {
177
177
  getTokenEnvVars,
178
178
  resolveToken
179
- } from "./chunk-MQ7RCD65.js";
179
+ } from "./chunk-KMY3NA44.js";
180
180
  import {
181
181
  REGISTRY_PATH,
182
182
  getProjectRoot,
@@ -184,21 +184,21 @@ import {
184
184
  loadTechniquesRegistry,
185
185
  resolveInsideRoot,
186
186
  resolveRegistryRoot
187
- } from "./chunk-EQHSJEX3.js";
187
+ } from "./chunk-NACTU45C.js";
188
188
  import {
189
189
  DEFAULT_RELEVANCE_CONFIG,
190
190
  MemoryImportance,
191
191
  MemoryType,
192
192
  calculateTextJaccardSimilarity,
193
193
  getToolMemory
194
- } from "./chunk-YD5RDIKE.js";
194
+ } from "./chunk-PAICM2DX.js";
195
195
  import {
196
196
  STOPWORDS,
197
197
  truncateWithInfo
198
198
  } from "./chunk-7LP6VJRP.js";
199
199
  import {
200
200
  createSessionMemory
201
- } from "./chunk-JAYHSYQ5.js";
201
+ } from "./chunk-NCQGSHEH.js";
202
202
  import {
203
203
  BUILT_IN_EXPERTS,
204
204
  BuiltInExpertTypeSchema,
@@ -217,10 +217,10 @@ import {
217
217
  isCliDisabled,
218
218
  sleep,
219
219
  withTimeout
220
- } from "./chunk-DXWTSSZ5.js";
220
+ } from "./chunk-C4T7UI2R.js";
221
221
  import {
222
222
  DEFAULTS
223
- } from "./chunk-FEMR5VNG.js";
223
+ } from "./chunk-OCXGPXG2.js";
224
224
  import {
225
225
  DEFAULT_EXECUTION_MODE,
226
226
  DEFAULT_TOOL_RATE_LIMITS,
@@ -232,10 +232,10 @@ import {
232
232
  parseGatewayExtraHeaders,
233
233
  requireApiKey,
234
234
  validateApiKeyPresence
235
- } from "./chunk-7IP3RMJY.js";
235
+ } from "./chunk-D5EDP3EQ.js";
236
236
  import {
237
237
  resolveGatewayEnv
238
- } from "./chunk-NEZQ3YTI.js";
238
+ } from "./chunk-YKC7ICXJ.js";
239
239
  import {
240
240
  sanitizeErrorDetails
241
241
  } from "./chunk-2NDA4DHW.js";
@@ -243,11 +243,11 @@ import {
243
243
  getAvailabilityCache,
244
244
  getCliForModelId,
245
245
  resolveFallback
246
- } from "./chunk-FLSZ7MC4.js";
246
+ } from "./chunk-UA3TQ773.js";
247
247
  import {
248
248
  generateHyphenId,
249
249
  generateUUID
250
- } from "./chunk-S4FLNZHK.js";
250
+ } from "./chunk-7YPSWDOV.js";
251
251
  import {
252
252
  AGENT_ROUTER_TIMEOUTS,
253
253
  API_TIMEOUTS,
@@ -366,7 +366,7 @@ import {
366
366
  selectStrategyByManifest,
367
367
  toExpertTaskAnalysisResult,
368
368
  withStep
369
- } from "./chunk-NPLCVC3G.js";
369
+ } from "./chunk-ZR5JWLC5.js";
370
370
  import {
371
371
  ensureLearningDir,
372
372
  getMetaOutcomesFile,
@@ -1052,6 +1052,13 @@ var NexusEnvSchema = z10.object({
1052
1052
  NEXUS_CUSTOM_API_BASE_URL: z10.string().optional(),
1053
1053
  NEXUS_CUSTOM_API_KEY: z10.string().optional(),
1054
1054
  NEXUS_CUSTOM_MODEL: z10.string().optional(),
1055
+ // #6645: the OpenAI API surface the single-model custom-openai adapter calls.
1056
+ // Default `chat` (/chat/completions); `responses` opts into /responses. The
1057
+ // reader (adapters/sdk/gateway-env.ts) trims and lower-cases, then refuses
1058
+ // anything else at construction.
1059
+ NEXUS_CUSTOM_API_SURFACE: z10.string().refine((v) => ["", "chat", "responses"].includes(v.trim().toLowerCase()), {
1060
+ message: "Must be one of: responses, chat"
1061
+ }).optional(),
1055
1062
  // #6604: pin the gateway model a family slot (claude/codex/gemini) uses.
1056
1063
  // Any model id is legal here; the one reader (adapters/gateway-family-slots.ts)
1057
1064
  // validates it against the discovered catalogue and warns on a miss.
@@ -30386,7 +30393,7 @@ function execIdFields(executionId) {
30386
30393
  async function populateUnifiedContextOnState(state, options) {
30387
30394
  const taskCandidate = state["task"];
30388
30395
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
30389
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-AUID4ELJ.js");
30396
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-IK253TWS.js");
30390
30397
  const category = inferTaskCategory2(taskCandidate);
30391
30398
  const executionId = options?.executionId;
30392
30399
  const execFields = execIdFields(executionId);
@@ -46410,7 +46417,7 @@ async function tryIssueTriage(task) {
46410
46417
  try {
46411
46418
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
46412
46419
  if (issueMatch === null) return null;
46413
- const { createIssueTriage } = await import("./issue-triage-E55KBDOD.js");
46420
+ const { createIssueTriage } = await import("./issue-triage-TD4LKVPI.js");
46414
46421
  const triage = createIssueTriage();
46415
46422
  const owner = issueMatch[1] ?? "";
46416
46423
  const num2 = issueMatch[2] ?? "";
@@ -46438,7 +46445,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
46438
46445
  ]);
46439
46446
  async function classifyWithLLM(task) {
46440
46447
  try {
46441
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-YWCGQKN2.js");
46448
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-IWTCC652.js");
46442
46449
  const prompt = [
46443
46450
  "Classify this task into exactly one pipeline template.",
46444
46451
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -46812,7 +46819,7 @@ function buildVotingInput(plan, config) {
46812
46819
  }
46813
46820
  async function executeSingleVote(plan, config, log) {
46814
46821
  try {
46815
- const { executeVoting } = await import("./consensus-vote-WIAUGC5V.js");
46822
+ const { executeVoting } = await import("./consensus-vote-4ET2GP6B.js");
46816
46823
  const input = buildVotingInput(plan, config);
46817
46824
  const result = await executeVoting(input, log);
46818
46825
  return parseVotingResult(result);
@@ -47545,7 +47552,7 @@ var memoryInitPromise = null;
47545
47552
  async function initPipelineMemory() {
47546
47553
  if (cachedMemory !== null) return cachedMemory;
47547
47554
  try {
47548
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LHZYRRFM.js");
47555
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VGDP7YE3.js");
47549
47556
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
47550
47557
  const mem = createSessionMemory2(getLearningDir());
47551
47558
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47607,7 +47614,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47607
47614
  callRecord(routingMemoryCache);
47608
47615
  return;
47609
47616
  }
47610
- routingMemoryInitPromise ??= import("./routing-memory-KLIKEK6N.js").then(({ createRoutingMemory }) => {
47617
+ routingMemoryInitPromise ??= import("./routing-memory-FH63BFPW.js").then(({ createRoutingMemory }) => {
47611
47618
  routingMemoryCache ??= createRoutingMemory();
47612
47619
  return routingMemoryCache;
47613
47620
  }).catch((error) => {
@@ -47787,7 +47794,7 @@ function createVoteStage({ config, startStage }) {
47787
47794
  const strategy = config.votingStrategy ?? "higher_order";
47788
47795
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47789
47796
  try {
47790
- const { executeVoting } = await import("./consensus-vote-WIAUGC5V.js");
47797
+ const { executeVoting } = await import("./consensus-vote-4ET2GP6B.js");
47791
47798
  const votingResult = await executeVoting(
47792
47799
  {
47793
47800
  proposal: buildVoteProposal(plan, research),
@@ -48548,7 +48555,7 @@ ${text}` : "";
48548
48555
  }
48549
48556
  async function getWeatherContext() {
48550
48557
  try {
48551
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-P3NJN6LU.js");
48558
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-PBMB3PYV.js");
48552
48559
  const report = generateWeatherReport2({ includeAdaptive: true });
48553
48560
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
48554
48561
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -48566,7 +48573,7 @@ ${lines}
48566
48573
  }
48567
48574
  async function getMemoryContext(task) {
48568
48575
  try {
48569
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LHZYRRFM.js");
48576
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-VGDP7YE3.js");
48570
48577
  const { getLearningDir } = await import("./learning-persistence-FB4U5AX2.js");
48571
48578
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
48572
48579
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -49134,7 +49141,7 @@ async function searchCodebaseForTask(task) {
49134
49141
  }
49135
49142
  async function queryResearchRegistry(task) {
49136
49143
  try {
49137
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-XYMCJHFU.js");
49144
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-65NCBD5R.js");
49138
49145
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
49139
49146
  if (topic === void 0) return null;
49140
49147
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -49205,7 +49212,7 @@ function createScanStageWrapper() {
49205
49212
  try {
49206
49213
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
49207
49214
  if (slug !== void 0) {
49208
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-ENHKDRM3.js");
49215
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-4JQGVAZZ.js");
49209
49216
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
49210
49217
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
49211
49218
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -52721,7 +52728,7 @@ var GitHubTaskTracker = class {
52721
52728
  cachedProvider = null;
52722
52729
  async getProvider() {
52723
52730
  if (this.cachedProvider !== null) return this.cachedProvider;
52724
- const { createScmProvider } = await import("./factory-NOC7DSJG.js");
52731
+ const { createScmProvider } = await import("./factory-IQRYHF2K.js");
52725
52732
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
52726
52733
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
52727
52734
  this.cachedProvider = result.value;
@@ -53695,7 +53702,7 @@ async function probeSource(source, includeModelIds) {
53695
53702
  var GATEWAY_TRANSPORT = "gateway";
53696
53703
  var GATEWAY_API_ARM = "api:custom-openai";
53697
53704
  async function gatewaySource(apiArm) {
53698
- const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-5BCCGH32.js");
53705
+ const { discoverModels, readOpenAICompatEnv } = await import("./openai-compat-adapter-5WAMUIQA.js");
53699
53706
  const config = readOpenAICompatEnv();
53700
53707
  if (config !== null) {
53701
53708
  return {
@@ -53714,7 +53721,7 @@ async function gatewaySource(apiArm) {
53714
53721
  }
53715
53722
  async function defaultSources(includeOpenRouter, adaptersFactory) {
53716
53723
  const adapters = new Map(
53717
- adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-J42N5QU6.js")).createAllAdapters()
53724
+ adaptersFactory !== void 0 ? adaptersFactory() : (await import("./factory-ZPHF32DK.js")).createAllAdapters()
53718
53725
  );
53719
53726
  const apiArm = adapters.get(GATEWAY_API_ARM);
53720
53727
  adapters.delete(GATEWAY_API_ARM);
@@ -57050,4 +57057,4 @@ export {
57050
57057
  startPipelineEventBridge,
57051
57058
  shutdownPipelineEventBridge
57052
57059
  };
57053
- //# sourceMappingURL=chunk-BYVA3QIU.js.map
57060
+ //# sourceMappingURL=chunk-2ON7ZOBD.js.map