nexus-agents 6.3.12 → 6.3.14

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 (125) hide show
  1. package/dist/{child-mcp-config-WW467CLM.js → child-mcp-config-IPWKOUSE.js} +2 -2
  2. package/dist/{chunk-NTG337S6.js → chunk-5EEEPQZY.js} +3 -3
  3. package/dist/{chunk-JA4DHEZA.js → chunk-5NWH7OSN.js} +7 -7
  4. package/dist/{chunk-WTA7B64W.js → chunk-6ZYJ46HN.js} +2 -2
  5. package/dist/{chunk-RMKVXSO3.js → chunk-BGU4D2V3.js} +7 -7
  6. package/dist/{chunk-XV7EVAMN.js → chunk-CF5CXFYJ.js} +5 -5
  7. package/dist/{chunk-DUSWBAR3.js → chunk-DR7DYEFQ.js} +2 -2
  8. package/dist/{chunk-TAZO6OGY.js → chunk-DXIZQRP5.js} +4 -4
  9. package/dist/{chunk-REAKTKMH.js → chunk-E62DHXET.js} +8 -8
  10. package/dist/{chunk-PHVSGHJP.js → chunk-EKHAM2V4.js} +49 -40
  11. package/dist/{chunk-PHVSGHJP.js.map → chunk-EKHAM2V4.js.map} +1 -1
  12. package/dist/{chunk-63MU4GPH.js → chunk-HGL7B6WB.js} +2 -2
  13. package/dist/{chunk-QLY24IMC.js → chunk-JC4WREXA.js} +2 -2
  14. package/dist/{chunk-K57G35GD.js → chunk-KLQ352NK.js} +2 -2
  15. package/dist/{chunk-6RLHAZ2Z.js → chunk-KXQNETUB.js} +4 -4
  16. package/dist/{chunk-MCGNISFP.js → chunk-KYCJ47JZ.js} +8 -8
  17. package/dist/{chunk-U2LGNV3Y.js → chunk-L3ZVRVHA.js} +2 -2
  18. package/dist/{chunk-WZOLLGZ7.js → chunk-LUPEM2NF.js} +3 -3
  19. package/dist/{chunk-LBSGUT2I.js → chunk-MB2YIETU.js} +2 -2
  20. package/dist/{chunk-5DABNRM3.js → chunk-NVFYMGCC.js} +2 -2
  21. package/dist/{chunk-GJZRAD7V.js → chunk-OP6PH7GC.js} +2 -2
  22. package/dist/{chunk-W3G2HB45.js → chunk-OS5S4ZQR.js} +4 -4
  23. package/dist/{chunk-DQSUEJUS.js → chunk-P6I2FUZB.js} +3 -3
  24. package/dist/{chunk-KK4RYSKM.js → chunk-PCZJMNPT.js} +2 -2
  25. package/dist/{chunk-WCVQHC7E.js → chunk-QUMUVNL6.js} +2 -2
  26. package/dist/{chunk-M3OBVLTW.js → chunk-RSSLLOU6.js} +5 -5
  27. package/dist/chunk-SKSE73HA.js +7 -0
  28. package/dist/{chunk-TZKKIKCO.js → chunk-SZZRE2VU.js} +2 -2
  29. package/dist/{chunk-GFYZ4CCY.js → chunk-T47DKINM.js} +6 -6
  30. package/dist/{chunk-X2RJGZJ7.js → chunk-UAKFLKW3.js} +2 -2
  31. package/dist/{chunk-CS3CTH6Z.js → chunk-UOHOHH72.js} +18 -7
  32. package/dist/{chunk-CS3CTH6Z.js.map → chunk-UOHOHH72.js.map} +1 -1
  33. package/dist/{chunk-ASDCSVIG.js → chunk-VNULIWRK.js} +2 -2
  34. package/dist/{chunk-JJAWYGXE.js → chunk-XOCNOKIV.js} +2 -2
  35. package/dist/{chunk-5YOEQ6IX.js → chunk-XOLGF5MK.js} +2 -2
  36. package/dist/{chunk-4WW4VK2S.js → chunk-ZICPESTJ.js} +4 -4
  37. package/dist/{cli-circuit-breaker-KEOY72R6.js → cli-circuit-breaker-TEW4RTM2.js} +3 -3
  38. package/dist/cli.js +46 -63
  39. package/dist/cli.js.map +1 -1
  40. package/dist/{composite-router-WRPUSJIL.js → composite-router-GEQSU4S3.js} +2 -2
  41. package/dist/{consensus-vote-FJUHC5JG.js → consensus-vote-Y6GUOL7B.js} +17 -17
  42. package/dist/{context-retriever-VYXMBBYJ.js → context-retriever-ECGC4EFR.js} +8 -8
  43. package/dist/{doctor-deep-IGXWR5ED.js → doctor-deep-6WLU2HV7.js} +3 -3
  44. package/dist/{doctor-live-MRBJ2R3U.js → doctor-live-OLSOA44K.js} +9 -9
  45. package/dist/{expert-bridge-5FURMSX4.js → expert-bridge-5IMXL2IE.js} +4 -4
  46. package/dist/{factory-YEI7VFFB.js → factory-OTIHI4GK.js} +5 -5
  47. package/dist/{factory-PDVZUWO2.js → factory-Q7D2MNS2.js} +9 -9
  48. package/dist/{improvement-review-GNL34DDM.js → improvement-review-FFLHSZSW.js} +6 -6
  49. package/dist/index.d.ts +11 -0
  50. package/dist/index.js +31 -31
  51. package/dist/{init-opencode-MQ7JWJSR.js → init-opencode-MCS4F4MP.js} +6 -6
  52. package/dist/issue-triage-A7JXRGSV.js +17 -0
  53. package/dist/models-dev-snapshot.json +77 -53
  54. package/dist/{pr-reviewer-helpers-R4OAIAIT.js → pr-reviewer-helpers-7OKVLICU.js} +4 -4
  55. package/dist/{registry-command-LK4X5BE4.js → registry-command-WRWJWKJV.js} +2 -2
  56. package/dist/{repo-security-plan-3TXL46ND.js → repo-security-plan-TW3D5JPQ.js} +3 -3
  57. package/dist/{research-helpers-synthesize-2ACEYSZ5.js → research-helpers-synthesize-3YBPFYMX.js} +4 -4
  58. package/dist/{routing-memory-QNFWRBSH.js → routing-memory-5CLHRWID.js} +2 -2
  59. package/dist/{session-memory-A6SCTXHY.js → session-memory-M2LUBDCR.js} +3 -3
  60. package/dist/{setup-config-UCCIFQWM.js → setup-config-OMH2SQLH.js} +3 -3
  61. package/dist/{setup-custom-api-H4I2E3BD.js → setup-custom-api-WHU4TJKG.js} +4 -4
  62. package/dist/setup-data-dir-DRAUAWKV.js +29 -0
  63. package/dist/{tool-memory-2CVBZ5OQ.js → tool-memory-K3LY6VBF.js} +5 -5
  64. package/dist/{unified-registry-AMVPO6RR.js → unified-registry-DC7GEQKG.js} +10 -10
  65. package/dist/{weather-report-D25OVFUE.js → weather-report-XMWNDDHY.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-PBHIOUQU.js +0 -7
  68. package/dist/issue-triage-EG7CJFLL.js +0 -17
  69. package/dist/setup-data-dir-MJSPMMFA.js +0 -29
  70. /package/dist/{child-mcp-config-WW467CLM.js.map → child-mcp-config-IPWKOUSE.js.map} +0 -0
  71. /package/dist/{chunk-NTG337S6.js.map → chunk-5EEEPQZY.js.map} +0 -0
  72. /package/dist/{chunk-JA4DHEZA.js.map → chunk-5NWH7OSN.js.map} +0 -0
  73. /package/dist/{chunk-WTA7B64W.js.map → chunk-6ZYJ46HN.js.map} +0 -0
  74. /package/dist/{chunk-RMKVXSO3.js.map → chunk-BGU4D2V3.js.map} +0 -0
  75. /package/dist/{chunk-XV7EVAMN.js.map → chunk-CF5CXFYJ.js.map} +0 -0
  76. /package/dist/{chunk-DUSWBAR3.js.map → chunk-DR7DYEFQ.js.map} +0 -0
  77. /package/dist/{chunk-TAZO6OGY.js.map → chunk-DXIZQRP5.js.map} +0 -0
  78. /package/dist/{chunk-REAKTKMH.js.map → chunk-E62DHXET.js.map} +0 -0
  79. /package/dist/{chunk-63MU4GPH.js.map → chunk-HGL7B6WB.js.map} +0 -0
  80. /package/dist/{chunk-QLY24IMC.js.map → chunk-JC4WREXA.js.map} +0 -0
  81. /package/dist/{chunk-K57G35GD.js.map → chunk-KLQ352NK.js.map} +0 -0
  82. /package/dist/{chunk-6RLHAZ2Z.js.map → chunk-KXQNETUB.js.map} +0 -0
  83. /package/dist/{chunk-MCGNISFP.js.map → chunk-KYCJ47JZ.js.map} +0 -0
  84. /package/dist/{chunk-U2LGNV3Y.js.map → chunk-L3ZVRVHA.js.map} +0 -0
  85. /package/dist/{chunk-WZOLLGZ7.js.map → chunk-LUPEM2NF.js.map} +0 -0
  86. /package/dist/{chunk-LBSGUT2I.js.map → chunk-MB2YIETU.js.map} +0 -0
  87. /package/dist/{chunk-5DABNRM3.js.map → chunk-NVFYMGCC.js.map} +0 -0
  88. /package/dist/{chunk-GJZRAD7V.js.map → chunk-OP6PH7GC.js.map} +0 -0
  89. /package/dist/{chunk-W3G2HB45.js.map → chunk-OS5S4ZQR.js.map} +0 -0
  90. /package/dist/{chunk-DQSUEJUS.js.map → chunk-P6I2FUZB.js.map} +0 -0
  91. /package/dist/{chunk-KK4RYSKM.js.map → chunk-PCZJMNPT.js.map} +0 -0
  92. /package/dist/{chunk-WCVQHC7E.js.map → chunk-QUMUVNL6.js.map} +0 -0
  93. /package/dist/{chunk-M3OBVLTW.js.map → chunk-RSSLLOU6.js.map} +0 -0
  94. /package/dist/{chunk-PBHIOUQU.js.map → chunk-SKSE73HA.js.map} +0 -0
  95. /package/dist/{chunk-TZKKIKCO.js.map → chunk-SZZRE2VU.js.map} +0 -0
  96. /package/dist/{chunk-GFYZ4CCY.js.map → chunk-T47DKINM.js.map} +0 -0
  97. /package/dist/{chunk-X2RJGZJ7.js.map → chunk-UAKFLKW3.js.map} +0 -0
  98. /package/dist/{chunk-ASDCSVIG.js.map → chunk-VNULIWRK.js.map} +0 -0
  99. /package/dist/{chunk-JJAWYGXE.js.map → chunk-XOCNOKIV.js.map} +0 -0
  100. /package/dist/{chunk-5YOEQ6IX.js.map → chunk-XOLGF5MK.js.map} +0 -0
  101. /package/dist/{chunk-4WW4VK2S.js.map → chunk-ZICPESTJ.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-KEOY72R6.js.map → cli-circuit-breaker-TEW4RTM2.js.map} +0 -0
  103. /package/dist/{composite-router-WRPUSJIL.js.map → composite-router-GEQSU4S3.js.map} +0 -0
  104. /package/dist/{consensus-vote-FJUHC5JG.js.map → consensus-vote-Y6GUOL7B.js.map} +0 -0
  105. /package/dist/{context-retriever-VYXMBBYJ.js.map → context-retriever-ECGC4EFR.js.map} +0 -0
  106. /package/dist/{doctor-deep-IGXWR5ED.js.map → doctor-deep-6WLU2HV7.js.map} +0 -0
  107. /package/dist/{doctor-live-MRBJ2R3U.js.map → doctor-live-OLSOA44K.js.map} +0 -0
  108. /package/dist/{expert-bridge-5FURMSX4.js.map → expert-bridge-5IMXL2IE.js.map} +0 -0
  109. /package/dist/{factory-PDVZUWO2.js.map → factory-OTIHI4GK.js.map} +0 -0
  110. /package/dist/{factory-YEI7VFFB.js.map → factory-Q7D2MNS2.js.map} +0 -0
  111. /package/dist/{improvement-review-GNL34DDM.js.map → improvement-review-FFLHSZSW.js.map} +0 -0
  112. /package/dist/{init-opencode-MQ7JWJSR.js.map → init-opencode-MCS4F4MP.js.map} +0 -0
  113. /package/dist/{issue-triage-EG7CJFLL.js.map → issue-triage-A7JXRGSV.js.map} +0 -0
  114. /package/dist/{pr-reviewer-helpers-R4OAIAIT.js.map → pr-reviewer-helpers-7OKVLICU.js.map} +0 -0
  115. /package/dist/{registry-command-LK4X5BE4.js.map → registry-command-WRWJWKJV.js.map} +0 -0
  116. /package/dist/{repo-security-plan-3TXL46ND.js.map → repo-security-plan-TW3D5JPQ.js.map} +0 -0
  117. /package/dist/{research-helpers-synthesize-2ACEYSZ5.js.map → research-helpers-synthesize-3YBPFYMX.js.map} +0 -0
  118. /package/dist/{routing-memory-QNFWRBSH.js.map → routing-memory-5CLHRWID.js.map} +0 -0
  119. /package/dist/{session-memory-A6SCTXHY.js.map → session-memory-M2LUBDCR.js.map} +0 -0
  120. /package/dist/{setup-config-UCCIFQWM.js.map → setup-config-OMH2SQLH.js.map} +0 -0
  121. /package/dist/{setup-custom-api-H4I2E3BD.js.map → setup-custom-api-WHU4TJKG.js.map} +0 -0
  122. /package/dist/{setup-data-dir-MJSPMMFA.js.map → setup-data-dir-DRAUAWKV.js.map} +0 -0
  123. /package/dist/{tool-memory-2CVBZ5OQ.js.map → tool-memory-K3LY6VBF.js.map} +0 -0
  124. /package/dist/{unified-registry-AMVPO6RR.js.map → unified-registry-DC7GEQKG.js.map} +0 -0
  125. /package/dist/{weather-report-D25OVFUE.js.map → weather-report-XMWNDDHY.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  ok,
7
7
  parseBoolEnv
8
- } from "./chunk-CS3CTH6Z.js";
8
+ } from "./chunk-UOHOHH72.js";
9
9
 
10
10
  // src/cli/research-helpers-io.ts
11
11
  import * as fs2 from "fs/promises";
@@ -156,4 +156,4 @@ export {
156
156
  loadPapersRegistry,
157
157
  savePapersRegistry
158
158
  };
159
- //# sourceMappingURL=chunk-ASDCSVIG.js.map
159
+ //# sourceMappingURL=chunk-VNULIWRK.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-CS3CTH6Z.js";
4
+ } from "./chunk-UOHOHH72.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-JJAWYGXE.js.map
27
+ //# sourceMappingURL=chunk-XOCNOKIV.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-CS3CTH6Z.js";
6
+ } from "./chunk-UOHOHH72.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -260,4 +260,4 @@ export {
260
260
  validateCustomApiBaseUrl,
261
261
  assertCustomApiHostResolvesPublic
262
262
  };
263
- //# sourceMappingURL=chunk-5YOEQ6IX.js.map
263
+ //# sourceMappingURL=chunk-XOLGF5MK.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-LBSGUT2I.js";
4
+ } from "./chunk-MB2YIETU.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-TZKKIKCO.js";
7
+ } from "./chunk-SZZRE2VU.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-CS3CTH6Z.js";
11
+ } from "./chunk-UOHOHH72.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-4WW4VK2S.js.map
44
+ //# sourceMappingURL=chunk-ZICPESTJ.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-63MU4GPH.js";
7
- import "./chunk-CS3CTH6Z.js";
6
+ } from "./chunk-HGL7B6WB.js";
7
+ import "./chunk-UOHOHH72.js";
8
8
  import "./chunk-GBHJ37V3.js";
9
9
  import "./chunk-OGHEKPLD.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -14,4 +14,4 @@ export {
14
14
  getCliCircuitBreakerSnapshot,
15
15
  getDefaultCliCircuitBreakerRegistry
16
16
  };
17
- //# sourceMappingURL=cli-circuit-breaker-KEOY72R6.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-TEW4RTM2.js.map
package/dist/cli.js CHANGED
@@ -19,11 +19,11 @@ import {
19
19
  parseFindings,
20
20
  reviewPostingBlock,
21
21
  sumFindings
22
- } from "./chunk-NTG337S6.js";
23
- import "./chunk-WCVQHC7E.js";
22
+ } from "./chunk-5EEEPQZY.js";
23
+ import "./chunk-QUMUVNL6.js";
24
24
  import {
25
25
  runConfigInitSync
26
- } from "./chunk-GJZRAD7V.js";
26
+ } from "./chunk-OP6PH7GC.js";
27
27
  import {
28
28
  AuthHandler,
29
29
  CustomExpertDefinitionSchema,
@@ -153,8 +153,8 @@ import {
153
153
  validateNexusEnv,
154
154
  validateWorkflow,
155
155
  wrapInMarkdownFence
156
- } from "./chunk-PHVSGHJP.js";
157
- import "./chunk-U2LGNV3Y.js";
156
+ } from "./chunk-EKHAM2V4.js";
157
+ import "./chunk-L3ZVRVHA.js";
158
158
  import "./chunk-HFOQKCD2.js";
159
159
  import "./chunk-RSMG2DPB.js";
160
160
  import {
@@ -172,14 +172,14 @@ import {
172
172
  doctorCommand,
173
173
  initDataDirectories,
174
174
  runDoctor
175
- } from "./chunk-RMKVXSO3.js";
175
+ } from "./chunk-BGU4D2V3.js";
176
176
  import {
177
177
  buildOpenAICompatAdapters,
178
178
  readOpenAICompatEnv
179
- } from "./chunk-XV7EVAMN.js";
179
+ } from "./chunk-CF5CXFYJ.js";
180
180
  import {
181
181
  shutdownExpertBridge
182
- } from "./chunk-JA4DHEZA.js";
182
+ } from "./chunk-5NWH7OSN.js";
183
183
  import {
184
184
  ConsensusVoteInputSchema,
185
185
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -191,29 +191,29 @@ import {
191
191
  recordAuthenticVote,
192
192
  registerConsensusVoteTool,
193
193
  toRecordDecision
194
- } from "./chunk-REAKTKMH.js";
194
+ } from "./chunk-E62DHXET.js";
195
195
  import {
196
196
  loadUsageEvents,
197
197
  rollupByModel
198
- } from "./chunk-QLY24IMC.js";
198
+ } from "./chunk-JC4WREXA.js";
199
199
  import {
200
200
  allOf,
201
201
  anyOf
202
202
  } from "./chunk-OQB3XC5O.js";
203
203
  import {
204
204
  synthesizeResearch
205
- } from "./chunk-WZOLLGZ7.js";
205
+ } from "./chunk-LUPEM2NF.js";
206
206
  import {
207
207
  classifyTrust,
208
208
  createFullGitHubProvider,
209
209
  evaluatePolicy,
210
210
  parsePRUrl
211
- } from "./chunk-GFYZ4CCY.js";
212
- import "./chunk-LBSGUT2I.js";
211
+ } from "./chunk-T47DKINM.js";
212
+ import "./chunk-MB2YIETU.js";
213
213
  import {
214
214
  ReputationCache,
215
215
  sanitizeInput
216
- } from "./chunk-5DABNRM3.js";
216
+ } from "./chunk-NVFYMGCC.js";
217
217
  import {
218
218
  ImprovementReviewInputSchema,
219
219
  calculateFitnessScore,
@@ -227,20 +227,20 @@ import {
227
227
  registerImprovementReviewTool,
228
228
  runImprovementReview,
229
229
  scanForSecrets
230
- } from "./chunk-DQSUEJUS.js";
230
+ } from "./chunk-P6I2FUZB.js";
231
231
  import {
232
232
  createDefaultPolicyFirewall,
233
233
  setGlobalPolicyFirewall,
234
234
  stagePolicyFirewallForRollout
235
- } from "./chunk-W3G2HB45.js";
235
+ } from "./chunk-OS5S4ZQR.js";
236
236
  import {
237
237
  VERSION
238
- } from "./chunk-PBHIOUQU.js";
239
- import "./chunk-DUSWBAR3.js";
238
+ } from "./chunk-SKSE73HA.js";
239
+ import "./chunk-DR7DYEFQ.js";
240
240
  import {
241
241
  createUnifiedRegistry,
242
242
  getGlobalRegistry
243
- } from "./chunk-6RLHAZ2Z.js";
243
+ } from "./chunk-KXQNETUB.js";
244
244
  import {
245
245
  CodebaseIndexSchema,
246
246
  PaperStatusSchema,
@@ -266,24 +266,24 @@ import {
266
266
  loadSourcesRegistry,
267
267
  rankDiscoveredItems,
268
268
  saveSourcesRegistry
269
- } from "./chunk-M3OBVLTW.js";
269
+ } from "./chunk-RSSLLOU6.js";
270
270
  import {
271
271
  loadPapersRegistry,
272
272
  loadTechniquesRegistry,
273
273
  savePapersRegistry
274
- } from "./chunk-ASDCSVIG.js";
274
+ } from "./chunk-VNULIWRK.js";
275
275
  import {
276
276
  resolveToken
277
- } from "./chunk-TZKKIKCO.js";
277
+ } from "./chunk-SZZRE2VU.js";
278
278
  import {
279
279
  MemoryError,
280
280
  shutdownToolMemory
281
- } from "./chunk-TAZO6OGY.js";
281
+ } from "./chunk-DXIZQRP5.js";
282
282
  import {
283
283
  capitalize,
284
284
  capitalizeKebab
285
285
  } from "./chunk-6T3EPABN.js";
286
- import "./chunk-WTA7B64W.js";
286
+ import "./chunk-6ZYJ46HN.js";
287
287
  import {
288
288
  BUILT_IN_EXPERTS
289
289
  } from "./chunk-YPNQPT2F.js";
@@ -296,19 +296,19 @@ import {
296
296
  isRecord,
297
297
  probeAllClis,
298
298
  readSubprocessDepth
299
- } from "./chunk-MCGNISFP.js";
300
- import "./chunk-X2RJGZJ7.js";
299
+ } from "./chunk-KYCJ47JZ.js";
300
+ import "./chunk-UAKFLKW3.js";
301
301
  import {
302
302
  DEFAULTS
303
- } from "./chunk-K57G35GD.js";
304
- import "./chunk-5YOEQ6IX.js";
303
+ } from "./chunk-KLQ352NK.js";
304
+ import "./chunk-XOLGF5MK.js";
305
305
  import {
306
306
  nexusMkdtempSync
307
307
  } from "./chunk-4OW67KT2.js";
308
- import "./chunk-KK4RYSKM.js";
308
+ import "./chunk-PCZJMNPT.js";
309
309
  import "./chunk-QZUG667L.js";
310
- import "./chunk-JJAWYGXE.js";
311
- import "./chunk-63MU4GPH.js";
310
+ import "./chunk-XOCNOKIV.js";
311
+ import "./chunk-HGL7B6WB.js";
312
312
  import {
313
313
  API_TIMEOUTS,
314
314
  AgentCapability,
@@ -385,7 +385,7 @@ import {
385
385
  validateTimeout,
386
386
  writeEmptyLine,
387
387
  writeLine
388
- } from "./chunk-CS3CTH6Z.js";
388
+ } from "./chunk-UOHOHH72.js";
389
389
  import "./chunk-GBHJ37V3.js";
390
390
  import {
391
391
  applyPortableMode,
@@ -4438,7 +4438,7 @@ ${file.patch}
4438
4438
  violations: policyResult.violations
4439
4439
  });
4440
4440
  }
4441
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-R4OAIAIT.js");
4441
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-7OKVLICU.js");
4442
4442
  const body = formatReviewComment2(result);
4443
4443
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4444
4444
  if (!postResult.ok) {
@@ -12077,14 +12077,6 @@ async function verifyCommand(options) {
12077
12077
  import { writeFileSync as writeFileSync5 } from "fs";
12078
12078
 
12079
12079
  // src/cli/learning-metrics-logic.ts
12080
- var FEATURE_NAMES = [
12081
- "taskComplexity",
12082
- "contextLength",
12083
- "isCodeTask",
12084
- "isReasoningTask",
12085
- "budgetUtilization",
12086
- "timePressure"
12087
- ];
12088
12080
  function gatherLearningMetrics(bandit, metricsCollector, feedbackIntegration, options) {
12089
12081
  const timestamp = getTimeProvider().nowIso();
12090
12082
  const periodHours = options.period;
@@ -12156,20 +12148,11 @@ function aggregateFeatureImportance(banditStats) {
12156
12148
  featureMap.set(fi.feature, { sum: existing.sum + fi.importance, count: existing.count + 1 });
12157
12149
  }
12158
12150
  }
12159
- const topFeatures = Array.from(featureMap.entries()).map(
12160
- ([feature, { sum, count }]) => ({
12161
- feature,
12162
- importance: sum / count,
12163
- direction: sum >= 0 ? "positive" : "negative"
12164
- })
12165
- ).sort((a, b) => Math.abs(b.importance) - Math.abs(a.importance)).slice(0, 5);
12166
- if (topFeatures.length === 0) {
12167
- return FEATURE_NAMES.slice(0, 5).map((feature) => ({
12168
- feature,
12169
- importance: 0,
12170
- direction: "positive"
12171
- }));
12172
- }
12151
+ const topFeatures = Array.from(featureMap.entries()).map(([feature, { sum, count }]) => ({
12152
+ feature,
12153
+ importance: sum / count,
12154
+ direction: sum >= 0 ? "positive" : "negative"
12155
+ })).sort((a, b) => Math.abs(b.importance) - Math.abs(a.importance)).slice(0, 5);
12173
12156
  return topFeatures;
12174
12157
  }
12175
12158
  function computeBanditProgress(banditStats, explorationStats) {
@@ -19603,7 +19586,7 @@ function startImprovementReviewScheduler(options) {
19603
19586
  let running = false;
19604
19587
  const runOnce = async () => {
19605
19588
  try {
19606
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-GNL34DDM.js");
19589
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-FFLHSZSW.js");
19607
19590
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
19608
19591
  const result = await runImprovementReview2(input, { logger: logger22 });
19609
19592
  logger22.info("Scheduled improvement_review complete", {
@@ -21688,7 +21671,7 @@ function adaptConfigToLibrary(config) {
21688
21671
  }
21689
21672
  function createBeliefPromoter() {
21690
21673
  return async (event) => {
21691
- const { getToolMemory } = await import("./tool-memory-2CVBZ5OQ.js");
21674
+ const { getToolMemory } = await import("./tool-memory-K3LY6VBF.js");
21692
21675
  const tm = getToolMemory();
21693
21676
  await tm.recordBelief(
21694
21677
  `skill:${event.name}`,
@@ -22909,7 +22892,7 @@ async function handleResearchCommand(args) {
22909
22892
  }
22910
22893
  }
22911
22894
  async function handleRegistryCommand(args) {
22912
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-LK4X5BE4.js");
22895
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-WRWJWKJV.js");
22913
22896
  const subcommand = args.subcommand;
22914
22897
  if (!isValidRegistrySubcommand(subcommand)) {
22915
22898
  process.stdout.write(`${formatRegistryUsage()}
@@ -22957,12 +22940,12 @@ async function handleVerifyCommand(args) {
22957
22940
  async function handleDoctorCommand(args) {
22958
22941
  const exitCode = await doctorCommand({ fix: args.options.fix });
22959
22942
  if (args.options.deep) {
22960
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-IGXWR5ED.js");
22943
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-6WLU2HV7.js");
22961
22944
  const diag = runDeepDiagnostics2();
22962
22945
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
22963
22946
  }
22964
22947
  if (args.options.live) {
22965
- const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-MRBJ2R3U.js");
22948
+ const { runLiveReadiness, formatLiveReadiness } = await import("./doctor-live-OLSOA44K.js");
22966
22949
  const report = await runLiveReadiness();
22967
22950
  process.stdout.write(formatLiveReadiness(report) + "\n");
22968
22951
  if (report.some((r) => r.levels.serves.status === "failed")) {
@@ -23015,7 +22998,7 @@ async function runInitPortableFlow(args) {
23015
22998
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
23016
22999
  }
23017
23000
  async function runInitOpencodeFlow(args) {
23018
- const { runInitOpencode } = await import("./init-opencode-MQ7JWJSR.js");
23001
+ const { runInitOpencode } = await import("./init-opencode-MCS4F4MP.js");
23019
23002
  const opencodePath = args.options.opencode;
23020
23003
  if (opencodePath === void 0 || opencodePath === "") {
23021
23004
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -23041,7 +23024,7 @@ async function runInitOpencodeFlow(args) {
23041
23024
  return cliExit(EXIT_CODES.SUCCESS);
23042
23025
  }
23043
23026
  async function renderOpencodeValidate(opencodePath) {
23044
- const { runOpencodeValidate } = await import("./init-opencode-MQ7JWJSR.js");
23027
+ const { runOpencodeValidate } = await import("./init-opencode-MCS4F4MP.js");
23045
23028
  const result = await runOpencodeValidate(opencodePath);
23046
23029
  if (!result.ok) {
23047
23030
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -23080,7 +23063,7 @@ async function handleSetupCommandAsync(args) {
23080
23063
  return cliExitFromStatus(exitCode);
23081
23064
  }
23082
23065
  async function runCustomApiSetup(args) {
23083
- const { configureCustomApi } = await import("./setup-custom-api-H4I2E3BD.js");
23066
+ const { configureCustomApi } = await import("./setup-custom-api-WHU4TJKG.js");
23084
23067
  const baseUrl = args.options.customApi;
23085
23068
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
23086
23069
  const input = {