nexus-agents 2.109.4 → 2.110.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/{child-mcp-config-VF736CNG.js → child-mcp-config-UMNWY25S.js} +2 -2
  2. package/dist/{chunk-YDPEK6NQ.js → chunk-2JIV7Q6A.js} +3 -3
  3. package/dist/{chunk-TJUGEDQI.js → chunk-2QBR4RVO.js} +2 -2
  4. package/dist/{chunk-LQLFZEOP.js → chunk-3DB4DEFY.js} +2 -2
  5. package/dist/{chunk-4C6M5YOH.js → chunk-3XGPHTO6.js} +2 -2
  6. package/dist/{chunk-K3UILZ5X.js → chunk-5EH7WMME.js} +2 -2
  7. package/dist/{chunk-H6Q3EPQG.js → chunk-5OOFU3EY.js} +2 -2
  8. package/dist/{chunk-4QH4IHCY.js → chunk-5P5KCVTX.js} +2 -2
  9. package/dist/{chunk-DLWY7U6K.js → chunk-AWXWDGG5.js} +2 -2
  10. package/dist/{chunk-DMUUE2S5.js → chunk-F2ULTSZ6.js} +7 -7
  11. package/dist/{chunk-LLM3HY54.js → chunk-FSODHLOV.js} +3 -3
  12. package/dist/{chunk-OLCFAA7D.js → chunk-GJ47JWNS.js} +7 -7
  13. package/dist/{chunk-VO7FEIXD.js → chunk-JRBUSUYD.js} +59 -4
  14. package/dist/chunk-JRBUSUYD.js.map +1 -0
  15. package/dist/{chunk-EAQLDAKX.js → chunk-KWHJL7HX.js} +3 -3
  16. package/dist/{chunk-SXI5ZFBR.js → chunk-LMMMFZ64.js} +2 -2
  17. package/dist/{chunk-IJZGHD7O.js → chunk-LUCPCWIZ.js} +2 -2
  18. package/dist/{chunk-3NON6THG.js → chunk-N2HYXBQ6.js} +2 -2
  19. package/dist/{chunk-5R5SYTLS.js → chunk-NCWD4UOI.js} +7 -7
  20. package/dist/{chunk-5H3YYSMY.js → chunk-P2K5GCLL.js} +4 -4
  21. package/dist/{chunk-C5OTCDF6.js → chunk-RPWYEJ66.js} +4 -4
  22. package/dist/{chunk-H47QJVMR.js → chunk-SXG2NPZP.js} +3 -3
  23. package/dist/{chunk-YKJVX56L.js → chunk-TFVXVZJT.js} +7 -7
  24. package/dist/{chunk-AESMMLSZ.js → chunk-TI2BJ2OB.js} +4 -4
  25. package/dist/{chunk-RMTFEDQV.js → chunk-TIOXPJIO.js} +2 -2
  26. package/dist/{chunk-SL23XVXX.js → chunk-U5OIIEHP.js} +5 -5
  27. package/dist/{chunk-V5UOHHOD.js → chunk-VQVKI4XO.js} +2 -2
  28. package/dist/{chunk-7PW7DTAV.js → chunk-VV47MWHN.js} +3 -3
  29. package/dist/{chunk-PFZNK25E.js → chunk-WDOJESN6.js} +2 -2
  30. package/dist/{chunk-XTJ4FU2W.js → chunk-WK4CUEF4.js} +31 -31
  31. package/dist/{chunk-RROQMZW2.js → chunk-XOKGSQIB.js} +3 -3
  32. package/dist/{chunk-UIFDDBIG.js → chunk-ZSJG7EB2.js} +2 -2
  33. package/dist/{cli-circuit-breaker-X4DTCCLH.js → cli-circuit-breaker-XB5FPZJ5.js} +4 -4
  34. package/dist/cli.js +74 -38
  35. package/dist/cli.js.map +1 -1
  36. package/dist/{composite-router-QJRU2JU5.js → composite-router-VWQ65U6B.js} +2 -2
  37. package/dist/{consensus-vote-U6JAB527.js → consensus-vote-SB2G2W6G.js} +12 -12
  38. package/dist/{context-retriever-3N7NVP57.js → context-retriever-5VFAIPHM.js} +6 -6
  39. package/dist/{doctor-deep-6DKSM74K.js → doctor-deep-RFHTNO2P.js} +3 -3
  40. package/dist/{expert-bridge-GIUSXOTJ.js → expert-bridge-LDWFPVHK.js} +4 -4
  41. package/dist/factory-AIERXI3O.js +21 -0
  42. package/dist/{factory-U23DIWPS.js → factory-IYL24RFV.js} +5 -5
  43. package/dist/{improvement-review-5DRHKSXV.js → improvement-review-GFCDFNYV.js} +4 -4
  44. package/dist/index.js +26 -26
  45. package/dist/{init-opencode-YAYDQ36A.js → init-opencode-26HTJ5QO.js} +5 -5
  46. package/dist/{issue-triage-L3MTN6RS.js → issue-triage-MVLE3SRA.js} +5 -5
  47. package/dist/{pr-reviewer-helpers-H4R57FMV.js → pr-reviewer-helpers-HXEJ437Q.js} +4 -4
  48. package/dist/{registry-command-7TVGPC43.js → registry-command-RQH4YGK5.js} +2 -2
  49. package/dist/{repo-security-plan-543K7VCE.js → repo-security-plan-SIOA64KN.js} +3 -3
  50. package/dist/{research-helpers-synthesize-4BQHGJ3O.js → research-helpers-synthesize-K43DWQVG.js} +3 -3
  51. package/dist/{routing-memory-QN3PS4SS.js → routing-memory-AEYB4NPO.js} +2 -2
  52. package/dist/{session-memory-Q3MMU45M.js → session-memory-GZOSVFDD.js} +3 -3
  53. package/dist/{setup-command-Y5IYAREF.js → setup-command-54J2SNMM.js} +11 -11
  54. package/dist/{setup-config-D6WCNU6M.js → setup-config-R7GWRUW2.js} +3 -3
  55. package/dist/{setup-custom-api-UTROX3FM.js → setup-custom-api-DXS3Y4XW.js} +3 -3
  56. package/dist/{tool-memory-H6W6KNR3.js → tool-memory-CXHXCI6Q.js} +5 -5
  57. package/dist/{weather-report-R3KUDV4W.js → weather-report-PYDBRULK.js} +2 -2
  58. package/package.json +1 -1
  59. package/dist/chunk-VO7FEIXD.js.map +0 -1
  60. package/dist/factory-U2RYH6FT.js +0 -21
  61. /package/dist/{child-mcp-config-VF736CNG.js.map → child-mcp-config-UMNWY25S.js.map} +0 -0
  62. /package/dist/{chunk-YDPEK6NQ.js.map → chunk-2JIV7Q6A.js.map} +0 -0
  63. /package/dist/{chunk-TJUGEDQI.js.map → chunk-2QBR4RVO.js.map} +0 -0
  64. /package/dist/{chunk-LQLFZEOP.js.map → chunk-3DB4DEFY.js.map} +0 -0
  65. /package/dist/{chunk-4C6M5YOH.js.map → chunk-3XGPHTO6.js.map} +0 -0
  66. /package/dist/{chunk-K3UILZ5X.js.map → chunk-5EH7WMME.js.map} +0 -0
  67. /package/dist/{chunk-H6Q3EPQG.js.map → chunk-5OOFU3EY.js.map} +0 -0
  68. /package/dist/{chunk-4QH4IHCY.js.map → chunk-5P5KCVTX.js.map} +0 -0
  69. /package/dist/{chunk-DLWY7U6K.js.map → chunk-AWXWDGG5.js.map} +0 -0
  70. /package/dist/{chunk-DMUUE2S5.js.map → chunk-F2ULTSZ6.js.map} +0 -0
  71. /package/dist/{chunk-LLM3HY54.js.map → chunk-FSODHLOV.js.map} +0 -0
  72. /package/dist/{chunk-OLCFAA7D.js.map → chunk-GJ47JWNS.js.map} +0 -0
  73. /package/dist/{chunk-EAQLDAKX.js.map → chunk-KWHJL7HX.js.map} +0 -0
  74. /package/dist/{chunk-SXI5ZFBR.js.map → chunk-LMMMFZ64.js.map} +0 -0
  75. /package/dist/{chunk-IJZGHD7O.js.map → chunk-LUCPCWIZ.js.map} +0 -0
  76. /package/dist/{chunk-3NON6THG.js.map → chunk-N2HYXBQ6.js.map} +0 -0
  77. /package/dist/{chunk-5R5SYTLS.js.map → chunk-NCWD4UOI.js.map} +0 -0
  78. /package/dist/{chunk-5H3YYSMY.js.map → chunk-P2K5GCLL.js.map} +0 -0
  79. /package/dist/{chunk-C5OTCDF6.js.map → chunk-RPWYEJ66.js.map} +0 -0
  80. /package/dist/{chunk-H47QJVMR.js.map → chunk-SXG2NPZP.js.map} +0 -0
  81. /package/dist/{chunk-YKJVX56L.js.map → chunk-TFVXVZJT.js.map} +0 -0
  82. /package/dist/{chunk-AESMMLSZ.js.map → chunk-TI2BJ2OB.js.map} +0 -0
  83. /package/dist/{chunk-RMTFEDQV.js.map → chunk-TIOXPJIO.js.map} +0 -0
  84. /package/dist/{chunk-SL23XVXX.js.map → chunk-U5OIIEHP.js.map} +0 -0
  85. /package/dist/{chunk-V5UOHHOD.js.map → chunk-VQVKI4XO.js.map} +0 -0
  86. /package/dist/{chunk-7PW7DTAV.js.map → chunk-VV47MWHN.js.map} +0 -0
  87. /package/dist/{chunk-PFZNK25E.js.map → chunk-WDOJESN6.js.map} +0 -0
  88. /package/dist/{chunk-XTJ4FU2W.js.map → chunk-WK4CUEF4.js.map} +0 -0
  89. /package/dist/{chunk-RROQMZW2.js.map → chunk-XOKGSQIB.js.map} +0 -0
  90. /package/dist/{chunk-UIFDDBIG.js.map → chunk-ZSJG7EB2.js.map} +0 -0
  91. /package/dist/{cli-circuit-breaker-X4DTCCLH.js.map → cli-circuit-breaker-XB5FPZJ5.js.map} +0 -0
  92. /package/dist/{composite-router-QJRU2JU5.js.map → composite-router-VWQ65U6B.js.map} +0 -0
  93. /package/dist/{consensus-vote-U6JAB527.js.map → consensus-vote-SB2G2W6G.js.map} +0 -0
  94. /package/dist/{context-retriever-3N7NVP57.js.map → context-retriever-5VFAIPHM.js.map} +0 -0
  95. /package/dist/{doctor-deep-6DKSM74K.js.map → doctor-deep-RFHTNO2P.js.map} +0 -0
  96. /package/dist/{expert-bridge-GIUSXOTJ.js.map → expert-bridge-LDWFPVHK.js.map} +0 -0
  97. /package/dist/{factory-U23DIWPS.js.map → factory-AIERXI3O.js.map} +0 -0
  98. /package/dist/{factory-U2RYH6FT.js.map → factory-IYL24RFV.js.map} +0 -0
  99. /package/dist/{improvement-review-5DRHKSXV.js.map → improvement-review-GFCDFNYV.js.map} +0 -0
  100. /package/dist/{init-opencode-YAYDQ36A.js.map → init-opencode-26HTJ5QO.js.map} +0 -0
  101. /package/dist/{issue-triage-L3MTN6RS.js.map → issue-triage-MVLE3SRA.js.map} +0 -0
  102. /package/dist/{pr-reviewer-helpers-H4R57FMV.js.map → pr-reviewer-helpers-HXEJ437Q.js.map} +0 -0
  103. /package/dist/{registry-command-7TVGPC43.js.map → registry-command-RQH4YGK5.js.map} +0 -0
  104. /package/dist/{repo-security-plan-543K7VCE.js.map → repo-security-plan-SIOA64KN.js.map} +0 -0
  105. /package/dist/{research-helpers-synthesize-4BQHGJ3O.js.map → research-helpers-synthesize-K43DWQVG.js.map} +0 -0
  106. /package/dist/{routing-memory-QN3PS4SS.js.map → routing-memory-AEYB4NPO.js.map} +0 -0
  107. /package/dist/{session-memory-Q3MMU45M.js.map → session-memory-GZOSVFDD.js.map} +0 -0
  108. /package/dist/{setup-command-Y5IYAREF.js.map → setup-command-54J2SNMM.js.map} +0 -0
  109. /package/dist/{setup-config-D6WCNU6M.js.map → setup-config-R7GWRUW2.js.map} +0 -0
  110. /package/dist/{setup-custom-api-UTROX3FM.js.map → setup-custom-api-DXS3Y4XW.js.map} +0 -0
  111. /package/dist/{tool-memory-H6W6KNR3.js.map → tool-memory-CXHXCI6Q.js.map} +0 -0
  112. /package/dist/{weather-report-R3KUDV4W.js.map → weather-report-PYDBRULK.js.map} +0 -0
package/dist/cli.js CHANGED
@@ -13,19 +13,19 @@ import {
13
13
  generateSummary,
14
14
  parseFindings,
15
15
  sumFindings
16
- } from "./chunk-7PW7DTAV.js";
17
- import "./chunk-PFZNK25E.js";
16
+ } from "./chunk-VV47MWHN.js";
17
+ import "./chunk-WDOJESN6.js";
18
18
  import {
19
19
  buildOpenAICompatAdapters,
20
20
  loadUsageEvents,
21
21
  readOpenAICompatEnv,
22
22
  rollupByModel
23
- } from "./chunk-YDPEK6NQ.js";
23
+ } from "./chunk-2JIV7Q6A.js";
24
24
  import {
25
25
  setupCommandAsync,
26
26
  verifyCommand
27
- } from "./chunk-SL23XVXX.js";
28
- import "./chunk-V5UOHHOD.js";
27
+ } from "./chunk-U5OIIEHP.js";
28
+ import "./chunk-VQVKI4XO.js";
29
29
  import {
30
30
  AuthHandler,
31
31
  DEFAULT_EXPERTS,
@@ -166,20 +166,20 @@ import {
166
166
  validateCommand,
167
167
  validateWorkflow,
168
168
  wrapInMarkdownFence
169
- } from "./chunk-XTJ4FU2W.js";
169
+ } from "./chunk-WK4CUEF4.js";
170
170
  import "./chunk-3ACDP4E6.js";
171
171
  import {
172
172
  resolveToken
173
- } from "./chunk-TJUGEDQI.js";
173
+ } from "./chunk-2QBR4RVO.js";
174
174
  import {
175
175
  CATEGORY_DISPLAY_NAMES,
176
176
  DEFAULT_PR_REVIEW_CONFIG
177
177
  } from "./chunk-OK6U5N5Y.js";
178
- import "./chunk-LLM3HY54.js";
179
- import "./chunk-H47QJVMR.js";
178
+ import "./chunk-FSODHLOV.js";
179
+ import "./chunk-SXG2NPZP.js";
180
180
  import {
181
181
  shutdownExpertBridge
182
- } from "./chunk-5R5SYTLS.js";
182
+ } from "./chunk-NCWD4UOI.js";
183
183
  import {
184
184
  DEFAULT_VOTE_TIMEOUT_MS,
185
185
  ErrorPolicySchema,
@@ -189,31 +189,31 @@ import {
189
189
  executeVoting,
190
190
  registerConsensusVoteTool,
191
191
  warnIfSimulatedOutsideTests
192
- } from "./chunk-OLCFAA7D.js";
192
+ } from "./chunk-GJ47JWNS.js";
193
193
  import {
194
194
  loadPapersRegistry,
195
195
  loadTechniquesRegistry,
196
196
  savePapersRegistry,
197
197
  synthesizeResearch
198
- } from "./chunk-UIFDDBIG.js";
198
+ } from "./chunk-ZSJG7EB2.js";
199
199
  import {
200
200
  classifyTrust,
201
201
  createFullGitHubProvider,
202
202
  evaluatePolicy,
203
203
  parsePRUrl
204
- } from "./chunk-C5OTCDF6.js";
205
- import "./chunk-LQLFZEOP.js";
204
+ } from "./chunk-RPWYEJ66.js";
205
+ import "./chunk-3DB4DEFY.js";
206
206
  import {
207
207
  ReputationCache,
208
208
  sanitizeInput
209
- } from "./chunk-DLWY7U6K.js";
209
+ } from "./chunk-AWXWDGG5.js";
210
210
  import {
211
211
  ImprovementReviewInputSchema,
212
212
  calculateFitnessScore,
213
213
  createFitnessScoreCalculator,
214
214
  registerImprovementReviewTool,
215
215
  runImprovementReview
216
- } from "./chunk-RROQMZW2.js";
216
+ } from "./chunk-XOKGSQIB.js";
217
217
  import {
218
218
  createDefaultPolicyFirewall,
219
219
  createSecureHandler,
@@ -223,14 +223,14 @@ import {
223
223
  toolStructuredError,
224
224
  toolSuccessStructured,
225
225
  wrapToolWithTimeout
226
- } from "./chunk-4QH4IHCY.js";
227
- import "./chunk-SXI5ZFBR.js";
226
+ } from "./chunk-5P5KCVTX.js";
227
+ import "./chunk-LMMMFZ64.js";
228
228
  import "./chunk-HFOQKCD2.js";
229
- import "./chunk-EAQLDAKX.js";
229
+ import "./chunk-KWHJL7HX.js";
230
230
  import {
231
231
  MemoryError,
232
232
  shutdownToolMemory
233
- } from "./chunk-5H3YYSMY.js";
233
+ } from "./chunk-P2K5GCLL.js";
234
234
  import {
235
235
  CustomExpertDefinitionSchema,
236
236
  DATA_SUBDIRECTORIES,
@@ -249,7 +249,7 @@ import {
249
249
  loadConfig,
250
250
  runDoctor,
251
251
  validateNexusEnv
252
- } from "./chunk-YKJVX56L.js";
252
+ } from "./chunk-TFVXVZJT.js";
253
253
  import "./chunk-NUBSJGQZ.js";
254
254
  import {
255
255
  capitalize,
@@ -261,17 +261,17 @@ import {
261
261
  getAvailableClis,
262
262
  isRecord,
263
263
  probeAllClis
264
- } from "./chunk-DMUUE2S5.js";
265
- import "./chunk-H6Q3EPQG.js";
264
+ } from "./chunk-F2ULTSZ6.js";
265
+ import "./chunk-5OOFU3EY.js";
266
266
  import {
267
267
  DEFAULTS
268
- } from "./chunk-4C6M5YOH.js";
269
- import "./chunk-K3UILZ5X.js";
270
- import "./chunk-RMTFEDQV.js";
271
- import "./chunk-IJZGHD7O.js";
268
+ } from "./chunk-3XGPHTO6.js";
269
+ import "./chunk-5EH7WMME.js";
270
+ import "./chunk-TIOXPJIO.js";
271
+ import "./chunk-LUCPCWIZ.js";
272
272
  import "./chunk-ZM4O442V.js";
273
273
  import "./chunk-PQHVC4BD.js";
274
- import "./chunk-3NON6THG.js";
274
+ import "./chunk-N2HYXBQ6.js";
275
275
  import {
276
276
  API_TIMEOUTS,
277
277
  AgentCapability,
@@ -343,7 +343,7 @@ import {
343
343
  validateTimeout,
344
344
  writeEmptyLine,
345
345
  writeLine
346
- } from "./chunk-VO7FEIXD.js";
346
+ } from "./chunk-JRBUSUYD.js";
347
347
  import {
348
348
  applyPortableMode,
349
349
  detectSandbox,
@@ -3171,7 +3171,7 @@ ${file.patch}
3171
3171
  violations: policyResult.violations
3172
3172
  });
3173
3173
  }
3174
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-H4R57FMV.js");
3174
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-HXEJ437Q.js");
3175
3175
  const body = formatReviewComment2(result);
3176
3176
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
3177
3177
  if (!postResult.ok) {
@@ -17561,6 +17561,31 @@ function auditDemotion(auditLogger, agentId, adjustment, log) {
17561
17561
  });
17562
17562
  }
17563
17563
  }
17564
+ function auditReversal(auditLogger, reversal, log) {
17565
+ const reason = reversal.reason.length > AUDIT_REASON_MAX ? reversal.reason.slice(0, AUDIT_REASON_MAX) : reversal.reason;
17566
+ try {
17567
+ auditLogger.log({
17568
+ category: "configuration",
17569
+ severity: "info",
17570
+ outcome: "success",
17571
+ action: "tune.reversal",
17572
+ actor: { type: "system", id: "tune-stage" },
17573
+ description: `Routing demotion reversed for ${reversal.cli} (${reversal.cause}); restored multiplier ${String(reversal.restoredMultiplier)}`,
17574
+ metadata: {
17575
+ cli: reversal.cli,
17576
+ cause: reversal.cause,
17577
+ previousMultiplier: reversal.previousMultiplier,
17578
+ restoredMultiplier: reversal.restoredMultiplier,
17579
+ reason,
17580
+ reversedAt: reversal.reversedAt
17581
+ }
17582
+ });
17583
+ } catch (auditError) {
17584
+ log.warn("TuneStage \u2014 reversal audit log failed (reversal still applied)", {
17585
+ error: getErrorMessage(auditError)
17586
+ });
17587
+ }
17588
+ }
17564
17589
  function enforceSwarmDemotion(event, action, auditLogger, log) {
17565
17590
  const adjustment = getTuneAdjustmentStore().demote(
17566
17591
  event.agentId,
@@ -17580,7 +17605,12 @@ function createTuneStage(bus, options = {}) {
17580
17605
  const enabled = options.enabled ?? false;
17581
17606
  const log = options.logger ?? defaultLogger;
17582
17607
  const auditLogger = options.auditLogger;
17583
- return bus.subscribe({ type: [...TUNE_SIGNAL_TYPES] }, (event) => {
17608
+ if (enabled && auditLogger !== void 0) {
17609
+ getTuneAdjustmentStore().onReversal((reversal) => {
17610
+ auditReversal(auditLogger, reversal, log);
17611
+ });
17612
+ }
17613
+ const unsubscribe = bus.subscribe({ type: [...TUNE_SIGNAL_TYPES] }, (event) => {
17584
17614
  try {
17585
17615
  const action = intendedActionFor(event);
17586
17616
  if (action === void 0) return;
@@ -17608,6 +17638,12 @@ function createTuneStage(bus, options = {}) {
17608
17638
  log.warn("TuneStage handler error", { error: getErrorMessage(e) });
17609
17639
  }
17610
17640
  });
17641
+ return () => {
17642
+ unsubscribe();
17643
+ if (enabled && auditLogger !== void 0) {
17644
+ getTuneAdjustmentStore().onReversal(void 0);
17645
+ }
17646
+ };
17611
17647
  }
17612
17648
  var cachedTuneUnsubscribe = null;
17613
17649
  function startTuneStage(bus, options) {
@@ -17636,7 +17672,7 @@ function startImprovementReviewScheduler(options) {
17636
17672
  let running = false;
17637
17673
  const runOnce = async () => {
17638
17674
  try {
17639
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-5DRHKSXV.js");
17675
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-GFCDFNYV.js");
17640
17676
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
17641
17677
  const result = await runImprovementReview2(input, { logger: logger18 });
17642
17678
  logger18.info("Scheduled improvement_review complete", {
@@ -19568,7 +19604,7 @@ function adaptConfigToLibrary(config) {
19568
19604
  }
19569
19605
  function createBeliefPromoter() {
19570
19606
  return async (event) => {
19571
- const { getToolMemory } = await import("./tool-memory-H6W6KNR3.js");
19607
+ const { getToolMemory } = await import("./tool-memory-CXHXCI6Q.js");
19572
19608
  const tm = getToolMemory();
19573
19609
  await tm.recordBelief(
19574
19610
  `skill:${event.name}`,
@@ -20435,7 +20471,7 @@ async function handleResearchCommand(args) {
20435
20471
  }
20436
20472
  }
20437
20473
  async function handleRegistryCommand(args) {
20438
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-7TVGPC43.js");
20474
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-RQH4YGK5.js");
20439
20475
  const subcommand = args.subcommand;
20440
20476
  if (!isValidRegistrySubcommand(subcommand)) {
20441
20477
  process.stdout.write(`${formatRegistryUsage()}
@@ -20483,7 +20519,7 @@ async function handleVerifyCommand(args) {
20483
20519
  async function handleDoctorCommand(args) {
20484
20520
  const exitCode = await doctorCommand({ fix: args.options.fix });
20485
20521
  if (args.options.deep) {
20486
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-6DKSM74K.js");
20522
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-RFHTNO2P.js");
20487
20523
  const diag = runDeepDiagnostics2();
20488
20524
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
20489
20525
  }
@@ -20527,7 +20563,7 @@ async function handleInitCommand(args) {
20527
20563
  process.exit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
20528
20564
  }
20529
20565
  async function runInitOpencodeFlow(args) {
20530
- const { runInitOpencode } = await import("./init-opencode-YAYDQ36A.js");
20566
+ const { runInitOpencode } = await import("./init-opencode-26HTJ5QO.js");
20531
20567
  const opencodePath = args.options.opencode;
20532
20568
  if (opencodePath === void 0 || opencodePath === "") {
20533
20569
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -20554,7 +20590,7 @@ async function runInitOpencodeFlow(args) {
20554
20590
  process.exit(EXIT_CODES.SUCCESS);
20555
20591
  }
20556
20592
  async function renderOpencodeValidate(opencodePath) {
20557
- const { runOpencodeValidate } = await import("./init-opencode-YAYDQ36A.js");
20593
+ const { runOpencodeValidate } = await import("./init-opencode-26HTJ5QO.js");
20558
20594
  const result = await runOpencodeValidate(opencodePath);
20559
20595
  if (!result.ok) {
20560
20596
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -20594,7 +20630,7 @@ async function handleSetupCommandAsync(args) {
20594
20630
  process.exit(exitCode === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
20595
20631
  }
20596
20632
  async function runCustomApiSetup(args) {
20597
- const { configureCustomApi } = await import("./setup-custom-api-UTROX3FM.js");
20633
+ const { configureCustomApi } = await import("./setup-custom-api-DXS3Y4XW.js");
20598
20634
  const baseUrl = args.options.customApi;
20599
20635
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
20600
20636
  const input = {