nexus-agents 10.1.0 → 10.2.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 (145) hide show
  1. package/dist/{ast-rule-runner-AAOBENF2.js → ast-rule-runner-RI7ZJ4ZI.js} +3 -3
  2. package/dist/{child-mcp-config-FRWGQIHP.js → child-mcp-config-73BX4OTR.js} +2 -2
  3. package/dist/{chunk-NUXSGWDS.js → chunk-23QA6GQD.js} +5 -5
  4. package/dist/{chunk-EGUISJBB.js → chunk-2DYCHHWW.js} +4 -4
  5. package/dist/{chunk-TLITBKMZ.js → chunk-2TA6KTRF.js} +15 -15
  6. package/dist/{chunk-YHY7GMAL.js → chunk-4JJI34RV.js} +2 -2
  7. package/dist/{chunk-KPGWNBDA.js → chunk-7EV3QAKO.js} +2 -2
  8. package/dist/{chunk-SCQ5YAYO.js → chunk-D6E3LJGP.js} +4 -4
  9. package/dist/{chunk-XYYXVJSO.js → chunk-EJ5EBTAV.js} +2 -2
  10. package/dist/{chunk-BJLP4E6Q.js → chunk-FNHVTDHZ.js} +3 -3
  11. package/dist/{chunk-VGCRYAEH.js → chunk-FWQSOPBA.js} +4 -4
  12. package/dist/{chunk-RBFHY2LF.js → chunk-GAX75XCV.js} +2 -2
  13. package/dist/{chunk-O46IOND3.js → chunk-GX5ZHZR2.js} +7 -7
  14. package/dist/{chunk-33C22IY4.js → chunk-J44RKRGQ.js} +3 -3
  15. package/dist/{chunk-L4P4A7Z2.js → chunk-JGY5HMWI.js} +2 -2
  16. package/dist/{chunk-WCHN7B2Q.js → chunk-JUUGLXSN.js} +8 -10
  17. package/dist/{chunk-WCHN7B2Q.js.map → chunk-JUUGLXSN.js.map} +1 -1
  18. package/dist/{chunk-BK6Q3VQK.js → chunk-KASBBKAQ.js} +2 -2
  19. package/dist/chunk-KASBBKAQ.js.map +1 -0
  20. package/dist/chunk-KLSNDPU6.js +2412 -0
  21. package/dist/chunk-KLSNDPU6.js.map +1 -0
  22. package/dist/{chunk-HQWQ7MR5.js → chunk-LP5ISXKM.js} +4 -4
  23. package/dist/{chunk-QPU7QKPT.js → chunk-LXYT2P2Y.js} +3 -3
  24. package/dist/{chunk-C6MM6Z65.js → chunk-OMSKBBL7.js} +45 -27
  25. package/dist/chunk-OMSKBBL7.js.map +1 -0
  26. package/dist/{chunk-M4IJ3H6M.js → chunk-PXYSAG5B.js} +2 -2
  27. package/dist/{chunk-52Q72CPP.js → chunk-QG3VDSWD.js} +3 -3
  28. package/dist/{chunk-IRFKJ2KR.js → chunk-QM5W3T3O.js} +2 -2
  29. package/dist/{chunk-O3VPGING.js → chunk-QRC3QLUQ.js} +92 -95
  30. package/dist/chunk-QRC3QLUQ.js.map +1 -0
  31. package/dist/{chunk-MCWIMVG2.js → chunk-QS5HGPCN.js} +2 -2
  32. package/dist/{chunk-O5OUJ3PX.js → chunk-SS53PZO6.js} +5 -5
  33. package/dist/{chunk-VHOOJ4FG.js → chunk-SX2XWCGA.js} +2 -2
  34. package/dist/{chunk-2VD5OQQR.js → chunk-TDUXUVUU.js} +2 -2
  35. package/dist/{chunk-XFTTKOHK.js → chunk-U37AITDA.js} +2 -2
  36. package/dist/{chunk-V5FGXVSX.js → chunk-UZJ6IPJR.js} +5 -5
  37. package/dist/{chunk-MYM2TPNL.js → chunk-V26YQQK4.js} +2 -2
  38. package/dist/{chunk-HVZVVDFN.js → chunk-VLOPXV47.js} +5 -5
  39. package/dist/{chunk-AMK4BTAV.js → chunk-WD4DENPC.js} +3 -3
  40. package/dist/{chunk-WI73OZAU.js → chunk-WKFPKPEM.js} +13 -13
  41. package/dist/chunk-WKFPKPEM.js.map +1 -0
  42. package/dist/{chunk-IYEZVAJT.js → chunk-XDUTAUK3.js} +40 -42
  43. package/dist/{chunk-IYEZVAJT.js.map → chunk-XDUTAUK3.js.map} +1 -1
  44. package/dist/{cli-circuit-breaker-AM425BRL.js → cli-circuit-breaker-62YOQQT3.js} +3 -3
  45. package/dist/{cli-readiness-LWOMHZ34.js → cli-readiness-O6EOQV4L.js} +7 -7
  46. package/dist/cli.js +61 -56
  47. package/dist/cli.js.map +1 -1
  48. package/dist/{composite-router-VXQFXNET.js → composite-router-YPZ3D5Y6.js} +2 -2
  49. package/dist/{consensus-vote-V2JQHILD.js → consensus-vote-RNQQUBXO.js} +16 -17
  50. package/dist/{context-retriever-GEQIPCVL.js → context-retriever-HVPLM6DH.js} +8 -8
  51. package/dist/{doctor-deep-DSOZGB5J.js → doctor-deep-UZQTD65D.js} +3 -3
  52. package/dist/{doctor-gateway-report-RJOSOHGA.js → doctor-gateway-report-LRBPPJD4.js} +6 -7
  53. package/dist/{doctor-live-7LVRGOS5.js → doctor-live-QFLT5SDB.js} +11 -11
  54. package/dist/{expert-bridge-5A4ADUBO.js → expert-bridge-O3UZXLGB.js} +4 -4
  55. package/dist/{factory-UBAUIA2M.js → factory-KCKQQAEH.js} +10 -10
  56. package/dist/{factory-4RZLP7QV.js → factory-LUKUIB6C.js} +5 -5
  57. package/dist/{improvement-review-UIYSAI36.js → improvement-review-7IABFAU3.js} +6 -6
  58. package/dist/index.d.ts +20 -22
  59. package/dist/index.js +35 -37
  60. package/dist/index.js.map +1 -1
  61. package/dist/{init-opencode-WUN3CTBM.js → init-opencode-RYPBCM4P.js} +5 -6
  62. package/dist/{init-opencode-WUN3CTBM.js.map → init-opencode-RYPBCM4P.js.map} +1 -1
  63. package/dist/{issue-triage-VKEHVHO4.js → issue-triage-YBVJVAUU.js} +6 -6
  64. package/dist/{model-config-helpers-GYPIIXOP.js → model-config-helpers-QNV3KD2W.js} +2 -2
  65. package/dist/{openai-compat-adapter-GSDOJ7TQ.js → openai-compat-adapter-GPZDIR3D.js} +11 -8
  66. package/dist/{outcome-store-adapter-PXT7AL6T.js → outcome-store-adapter-WRONSTUD.js} +2 -2
  67. package/dist/{pr-reviewer-helpers-GUUT7G43.js → pr-reviewer-helpers-7SMNNDFJ.js} +4 -4
  68. package/dist/{registry-command-4G3WGKS5.js → registry-command-U7K6HIBK.js} +2 -2
  69. package/dist/{repo-security-plan-QO6ACTPZ.js → repo-security-plan-LFWLVEL2.js} +3 -3
  70. package/dist/{research-helpers-synthesize-MPEJHPYR.js → research-helpers-synthesize-X6MVAAKT.js} +4 -4
  71. package/dist/{routing-memory-VHQDJ6XZ.js → routing-memory-OCIVXKOU.js} +2 -2
  72. package/dist/{session-memory-M3CQFFL6.js → session-memory-4LMEWO3X.js} +3 -3
  73. package/dist/{setup-config-VGEBCEKX.js → setup-config-YNNNR4AE.js} +3 -3
  74. package/dist/{setup-custom-api-DX7CNYKT.js → setup-custom-api-QEPUCHOX.js} +3 -3
  75. package/dist/setup-data-dir-XM5DWH7R.js +35 -0
  76. package/dist/{tool-memory-7QUPGCWV.js → tool-memory-EFGFXF65.js} +5 -5
  77. package/dist/{unified-registry-CLZK3H64.js → unified-registry-KLNC24HA.js} +11 -11
  78. package/dist/{weather-report-OKMXF73V.js → weather-report-PMYQ3WBW.js} +2 -2
  79. package/package.json +1 -1
  80. package/dist/chunk-BK6Q3VQK.js.map +0 -1
  81. package/dist/chunk-C6MM6Z65.js.map +0 -1
  82. package/dist/chunk-K6M2ZWX5.js +0 -1116
  83. package/dist/chunk-K6M2ZWX5.js.map +0 -1
  84. package/dist/chunk-O3VPGING.js.map +0 -1
  85. package/dist/chunk-WI73OZAU.js.map +0 -1
  86. package/dist/chunk-XQMQGUJT.js +0 -995
  87. package/dist/chunk-XQMQGUJT.js.map +0 -1
  88. package/dist/setup-data-dir-75Z5PSSB.js +0 -36
  89. /package/dist/{ast-rule-runner-AAOBENF2.js.map → ast-rule-runner-RI7ZJ4ZI.js.map} +0 -0
  90. /package/dist/{child-mcp-config-FRWGQIHP.js.map → child-mcp-config-73BX4OTR.js.map} +0 -0
  91. /package/dist/{chunk-NUXSGWDS.js.map → chunk-23QA6GQD.js.map} +0 -0
  92. /package/dist/{chunk-EGUISJBB.js.map → chunk-2DYCHHWW.js.map} +0 -0
  93. /package/dist/{chunk-TLITBKMZ.js.map → chunk-2TA6KTRF.js.map} +0 -0
  94. /package/dist/{chunk-YHY7GMAL.js.map → chunk-4JJI34RV.js.map} +0 -0
  95. /package/dist/{chunk-KPGWNBDA.js.map → chunk-7EV3QAKO.js.map} +0 -0
  96. /package/dist/{chunk-SCQ5YAYO.js.map → chunk-D6E3LJGP.js.map} +0 -0
  97. /package/dist/{chunk-XYYXVJSO.js.map → chunk-EJ5EBTAV.js.map} +0 -0
  98. /package/dist/{chunk-BJLP4E6Q.js.map → chunk-FNHVTDHZ.js.map} +0 -0
  99. /package/dist/{chunk-VGCRYAEH.js.map → chunk-FWQSOPBA.js.map} +0 -0
  100. /package/dist/{chunk-RBFHY2LF.js.map → chunk-GAX75XCV.js.map} +0 -0
  101. /package/dist/{chunk-O46IOND3.js.map → chunk-GX5ZHZR2.js.map} +0 -0
  102. /package/dist/{chunk-33C22IY4.js.map → chunk-J44RKRGQ.js.map} +0 -0
  103. /package/dist/{chunk-L4P4A7Z2.js.map → chunk-JGY5HMWI.js.map} +0 -0
  104. /package/dist/{chunk-HQWQ7MR5.js.map → chunk-LP5ISXKM.js.map} +0 -0
  105. /package/dist/{chunk-QPU7QKPT.js.map → chunk-LXYT2P2Y.js.map} +0 -0
  106. /package/dist/{chunk-M4IJ3H6M.js.map → chunk-PXYSAG5B.js.map} +0 -0
  107. /package/dist/{chunk-52Q72CPP.js.map → chunk-QG3VDSWD.js.map} +0 -0
  108. /package/dist/{chunk-IRFKJ2KR.js.map → chunk-QM5W3T3O.js.map} +0 -0
  109. /package/dist/{chunk-MCWIMVG2.js.map → chunk-QS5HGPCN.js.map} +0 -0
  110. /package/dist/{chunk-O5OUJ3PX.js.map → chunk-SS53PZO6.js.map} +0 -0
  111. /package/dist/{chunk-VHOOJ4FG.js.map → chunk-SX2XWCGA.js.map} +0 -0
  112. /package/dist/{chunk-2VD5OQQR.js.map → chunk-TDUXUVUU.js.map} +0 -0
  113. /package/dist/{chunk-XFTTKOHK.js.map → chunk-U37AITDA.js.map} +0 -0
  114. /package/dist/{chunk-V5FGXVSX.js.map → chunk-UZJ6IPJR.js.map} +0 -0
  115. /package/dist/{chunk-MYM2TPNL.js.map → chunk-V26YQQK4.js.map} +0 -0
  116. /package/dist/{chunk-HVZVVDFN.js.map → chunk-VLOPXV47.js.map} +0 -0
  117. /package/dist/{chunk-AMK4BTAV.js.map → chunk-WD4DENPC.js.map} +0 -0
  118. /package/dist/{cli-circuit-breaker-AM425BRL.js.map → cli-circuit-breaker-62YOQQT3.js.map} +0 -0
  119. /package/dist/{cli-readiness-LWOMHZ34.js.map → cli-readiness-O6EOQV4L.js.map} +0 -0
  120. /package/dist/{composite-router-VXQFXNET.js.map → composite-router-YPZ3D5Y6.js.map} +0 -0
  121. /package/dist/{consensus-vote-V2JQHILD.js.map → consensus-vote-RNQQUBXO.js.map} +0 -0
  122. /package/dist/{context-retriever-GEQIPCVL.js.map → context-retriever-HVPLM6DH.js.map} +0 -0
  123. /package/dist/{doctor-deep-DSOZGB5J.js.map → doctor-deep-UZQTD65D.js.map} +0 -0
  124. /package/dist/{doctor-gateway-report-RJOSOHGA.js.map → doctor-gateway-report-LRBPPJD4.js.map} +0 -0
  125. /package/dist/{doctor-live-7LVRGOS5.js.map → doctor-live-QFLT5SDB.js.map} +0 -0
  126. /package/dist/{expert-bridge-5A4ADUBO.js.map → expert-bridge-O3UZXLGB.js.map} +0 -0
  127. /package/dist/{factory-4RZLP7QV.js.map → factory-KCKQQAEH.js.map} +0 -0
  128. /package/dist/{factory-UBAUIA2M.js.map → factory-LUKUIB6C.js.map} +0 -0
  129. /package/dist/{improvement-review-UIYSAI36.js.map → improvement-review-7IABFAU3.js.map} +0 -0
  130. /package/dist/{issue-triage-VKEHVHO4.js.map → issue-triage-YBVJVAUU.js.map} +0 -0
  131. /package/dist/{model-config-helpers-GYPIIXOP.js.map → model-config-helpers-QNV3KD2W.js.map} +0 -0
  132. /package/dist/{openai-compat-adapter-GSDOJ7TQ.js.map → openai-compat-adapter-GPZDIR3D.js.map} +0 -0
  133. /package/dist/{outcome-store-adapter-PXT7AL6T.js.map → outcome-store-adapter-WRONSTUD.js.map} +0 -0
  134. /package/dist/{pr-reviewer-helpers-GUUT7G43.js.map → pr-reviewer-helpers-7SMNNDFJ.js.map} +0 -0
  135. /package/dist/{registry-command-4G3WGKS5.js.map → registry-command-U7K6HIBK.js.map} +0 -0
  136. /package/dist/{repo-security-plan-QO6ACTPZ.js.map → repo-security-plan-LFWLVEL2.js.map} +0 -0
  137. /package/dist/{research-helpers-synthesize-MPEJHPYR.js.map → research-helpers-synthesize-X6MVAAKT.js.map} +0 -0
  138. /package/dist/{routing-memory-VHQDJ6XZ.js.map → routing-memory-OCIVXKOU.js.map} +0 -0
  139. /package/dist/{session-memory-M3CQFFL6.js.map → session-memory-4LMEWO3X.js.map} +0 -0
  140. /package/dist/{setup-config-VGEBCEKX.js.map → setup-config-YNNNR4AE.js.map} +0 -0
  141. /package/dist/{setup-custom-api-DX7CNYKT.js.map → setup-custom-api-QEPUCHOX.js.map} +0 -0
  142. /package/dist/{setup-data-dir-75Z5PSSB.js.map → setup-data-dir-XM5DWH7R.js.map} +0 -0
  143. /package/dist/{tool-memory-7QUPGCWV.js.map → tool-memory-EFGFXF65.js.map} +0 -0
  144. /package/dist/{unified-registry-CLZK3H64.js.map → unified-registry-KLNC24HA.js.map} +0 -0
  145. /package/dist/{weather-report-OKMXF73V.js.map → weather-report-PMYQ3WBW.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  VERSION,
8
8
  isNodeVersionSupported,
9
9
  recordServerTransport
10
- } from "./chunk-AMK4BTAV.js";
10
+ } from "./chunk-WD4DENPC.js";
11
11
  import {
12
12
  checkGatewayHealth,
13
13
  cliFailsVerdict,
@@ -17,14 +17,10 @@ import {
17
17
  gatewaySlotServing,
18
18
  gatewayVerdict,
19
19
  printVoterTransportCheck
20
- } from "./chunk-WCHN7B2Q.js";
21
- import {
22
- readOpenAICompatEndpoint,
23
- readOpenAICompatEnv
24
- } from "./chunk-XQMQGUJT.js";
20
+ } from "./chunk-JUUGLXSN.js";
25
21
  import {
26
22
  claimGlobalRegistry
27
- } from "./chunk-V5FGXVSX.js";
23
+ } from "./chunk-UZJ6IPJR.js";
28
24
  import {
29
25
  CODEX_LEGACY_LANDLOCK_CONFIG,
30
26
  CODEX_MCP_SERVER_UNAVAILABLE_REASON,
@@ -32,7 +28,7 @@ import {
32
28
  codexSandboxPreflight,
33
29
  createAllAdapters,
34
30
  createCliAdapter
35
- } from "./chunk-O3VPGING.js";
31
+ } from "./chunk-QRC3QLUQ.js";
36
32
  import {
37
33
  DEFAULT_EXECUTION_MODE,
38
34
  SecurityConfigSchema
@@ -40,16 +36,20 @@ import {
40
36
  import {
41
37
  getNexusTmpDir
42
38
  } from "./chunk-JPFRRNRR.js";
39
+ import {
40
+ readOpenAICompatEndpoint,
41
+ readOpenAICompatEnv
42
+ } from "./chunk-KLSNDPU6.js";
43
43
  import {
44
44
  probeCli
45
45
  } from "./chunk-TW6PJYTP.js";
46
46
  import {
47
47
  SERVES_PROBE_PROMPT
48
- } from "./chunk-EGUISJBB.js";
48
+ } from "./chunk-2DYCHHWW.js";
49
49
  import {
50
50
  ClaudeCliAdapter,
51
51
  IN_FAMILY_FALLBACK_OPTION
52
- } from "./chunk-NUXSGWDS.js";
52
+ } from "./chunk-23QA6GQD.js";
53
53
  import {
54
54
  DEFAULT_CAPABILITIES,
55
55
  capitalize,
@@ -76,7 +76,7 @@ import {
76
76
  resolveInsideRoot,
77
77
  symbols,
78
78
  writeLine
79
- } from "./chunk-WI73OZAU.js";
79
+ } from "./chunk-WKFPKPEM.js";
80
80
  import {
81
81
  getLearningDir,
82
82
  getOutcomesFile,
@@ -1185,6 +1185,7 @@ function formatMcpClientLine(result) {
1185
1185
  }
1186
1186
 
1187
1187
  // src/cli/doctor-install-freshness.ts
1188
+ import { posix, win32 } from "node:path";
1188
1189
  import semver from "semver";
1189
1190
  var UNVERSIONED_BUILD = "dev";
1190
1191
  var INSTALL_FRESHNESS_REMEDY = "npm install -g nexus-agents@latest \u2014 then RESTART any running MCP server. An already-spawned server keeps the old code until it is restarted, so updating alone leaves the session on the stale build.";
@@ -1210,15 +1211,16 @@ function assessInstallFreshness(globalVersion, expected, unavailableReason = "no
1210
1211
  return { state: "behind", global: globalVersion, expected };
1211
1212
  }
1212
1213
  function describeInstallFreshness(result) {
1214
+ const scope = result.prefix === void 0 ? "" : ` (prefix: ${result.prefix})`;
1213
1215
  switch (result.state) {
1214
1216
  case "aligned":
1215
- return `\u2713 Global install matches this build (${result.version})`;
1217
+ return `\u2713 Global install matches this build (${result.version})${scope}`;
1216
1218
  case "behind":
1217
- return `\u2717 Global install is ${result.global}, this build is ${result.expected} \u2014 the MCP server runs the global one. ${INSTALL_FRESHNESS_REMEDY}`;
1219
+ return `\u2717 Global install is ${result.global}, this build is ${result.expected}${scope} \u2014 the MCP server runs the global one. ${INSTALL_FRESHNESS_REMEDY}`;
1218
1220
  case "ahead":
1219
- return `\u26A0 Global install is ${result.global}, newer than this build (${result.expected}) \u2014 the MCP server runs the global one, not this build`;
1221
+ return `\u26A0 Global install is ${result.global}, newer than this build (${result.expected})${scope} \u2014 the MCP server runs the global one, not this build`;
1220
1222
  case "unknown":
1221
- return `\u26A0 Global install version not determined (${result.reason}) \u2014 cannot confirm the MCP server runs this build`;
1223
+ return `\u26A0 Global install version not determined (${result.reason})${scope} \u2014 cannot confirm the MCP server runs this build`;
1222
1224
  }
1223
1225
  }
1224
1226
  function installFreshnessFailsVerdict(result) {
@@ -1239,19 +1241,35 @@ function describeInstallFreshnessSummary(result) {
1239
1241
  if (result.state === "ahead") return " \u2014 global install newer than this build";
1240
1242
  return "";
1241
1243
  }
1242
- function readGlobalVersion(exec) {
1243
- const raw = exec("npm", ["ls", "-g", "nexus-agents", "--depth=0", "--json"]);
1244
- if (raw === null) return { version: null, reason: "npm ls -g failed" };
1244
+ function resolveInterpreterInstall(execPath, platform) {
1245
+ const path = platform === "win32" ? win32 : posix;
1246
+ const binDir = path.dirname(execPath);
1247
+ const prefix = platform === "win32" ? binDir : path.dirname(binDir);
1248
+ const modules = platform === "win32" ? path.join(prefix, "node_modules") : path.join(prefix, "lib", "node_modules");
1249
+ return { prefix, npmCli: path.join(modules, "npm", "bin", "npm-cli.js") };
1250
+ }
1251
+ function readGlobalVersion(exec, execPath = process.execPath, platform = process.platform) {
1252
+ const { prefix, npmCli } = resolveInterpreterInstall(execPath, platform);
1253
+ const raw = exec(execPath, [
1254
+ npmCli,
1255
+ "ls",
1256
+ "-g",
1257
+ "nexus-agents",
1258
+ "--depth=0",
1259
+ "--json",
1260
+ `--prefix=${prefix}`
1261
+ ]);
1262
+ if (raw === null) return { version: null, reason: "npm ls -g failed", prefix };
1245
1263
  try {
1246
1264
  const parsed = JSON.parse(raw);
1247
1265
  const deps = parsed.dependencies;
1248
1266
  const version = deps?.["nexus-agents"]?.version;
1249
1267
  if (typeof version !== "string" || version === "") {
1250
- return { version: null, reason: "no global nexus-agents install found" };
1268
+ return { version: null, reason: "no global nexus-agents install found", prefix };
1251
1269
  }
1252
- return { version, reason: "" };
1270
+ return { version, reason: "", prefix };
1253
1271
  } catch {
1254
- return { version: null, reason: "npm ls -g returned unparseable JSON" };
1272
+ return { version: null, reason: "npm ls -g returned unparseable JSON", prefix };
1255
1273
  }
1256
1274
  }
1257
1275
 
@@ -2087,7 +2105,7 @@ function checkSandbox() {
2087
2105
  };
2088
2106
  }
2089
2107
  function checkInstallFreshness() {
2090
- const { version, reason } = readGlobalVersion((cmd, args) => {
2108
+ const { version, reason, prefix } = readGlobalVersion((cmd, args) => {
2091
2109
  try {
2092
2110
  return execFileSync(cmd, [...args], {
2093
2111
  encoding: "utf8",
@@ -2097,7 +2115,7 @@ function checkInstallFreshness() {
2097
2115
  return null;
2098
2116
  }
2099
2117
  });
2100
- return assessInstallFreshness(version, VERSION, reason);
2118
+ return { ...assessInstallFreshness(version, VERSION, reason), prefix };
2101
2119
  }
2102
2120
  function collectEnvironmentChecks() {
2103
2121
  return {
@@ -2215,7 +2233,7 @@ async function doctorCommand(options = {}) {
2215
2233
  options.onResult?.(result);
2216
2234
  printDoctorResults(result, void 0, options.deferSummary === true);
2217
2235
  if (options.gateway === true || options.probe === true) {
2218
- const { formatGatewayReport } = await import("./doctor-gateway-report-RJOSOHGA.js");
2236
+ const { formatGatewayReport } = await import("./doctor-gateway-report-LRBPPJD4.js");
2219
2237
  for (const line of formatGatewayReport(result.gateway, result.clis)) {
2220
2238
  process.stdout.write(line + "\n");
2221
2239
  }
@@ -2234,13 +2252,13 @@ async function runDoctorFix(result) {
2234
2252
  writeLine2("\u2500".repeat(40));
2235
2253
  let fixCount = 0;
2236
2254
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2237
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-75Z5PSSB.js");
2255
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-XM5DWH7R.js");
2238
2256
  const outcome = describeDataDirFix2(initDataDirectories2());
2239
2257
  writeLine2(outcome.line);
2240
2258
  if (outcome.counted) fixCount++;
2241
2259
  }
2242
2260
  if (!result.configFile.found) {
2243
- const { runConfigInitSync } = await import("./setup-config-VGEBCEKX.js");
2261
+ const { runConfigInitSync } = await import("./setup-config-YNNNR4AE.js");
2244
2262
  const configResult = runConfigInitSync(process.cwd(), false, false);
2245
2263
  if (configResult.success && configResult.created) {
2246
2264
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -2354,4 +2372,4 @@ export {
2354
2372
  startStdioServer,
2355
2373
  closeServer
2356
2374
  };
2357
- //# sourceMappingURL=chunk-C6MM6Z65.js.map
2375
+ //# sourceMappingURL=chunk-OMSKBBL7.js.map