@introspection-ai/recipes 0.25.0 → 0.26.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 (101) hide show
  1. package/dist/mcp-chunks/{auth-command-4WFRNU2I.js → auth-command-JBYNHHMV.js} +23 -27
  2. package/dist/mcp-chunks/call-arguments-S4EGFKUQ.js +15 -0
  3. package/dist/mcp-chunks/{call-command-JBIKXOGC.js → call-command-467BVXTE.js} +32 -33
  4. package/dist/mcp-chunks/{chunk-IPNSPKQK.js → chunk-3Q2Q7SBU.js} +12 -14
  5. package/dist/mcp-chunks/chunk-66P5FXP3.js +31 -0
  6. package/dist/mcp-chunks/{chunk-TF2YTYE4.js → chunk-6DVS7RBO.js} +1 -1
  7. package/dist/mcp-chunks/{chunk-IME7DGLJ.js → chunk-AK5ZEDEF.js} +2 -2
  8. package/dist/mcp-chunks/{chunk-OP3IW2V6.js → chunk-AP5VHS73.js} +2 -2
  9. package/dist/mcp-chunks/{chunk-B2LNXGAP.js → chunk-AS27BTCS.js} +1 -1
  10. package/dist/mcp-chunks/{chunk-MOEZ43ZL.js → chunk-BC2HDCYV.js} +1 -1
  11. package/dist/mcp-chunks/{chunk-RSTKSBVF.js → chunk-BSCNF4NY.js} +2 -2
  12. package/dist/mcp-chunks/chunk-BTU34BUG.js +1182 -0
  13. package/dist/mcp-chunks/{chunk-HN7WPMCA.js → chunk-CN5YF3IQ.js} +21042 -3688
  14. package/dist/mcp-chunks/{chunk-G6OMDUNG.js → chunk-CZ43ZITK.js} +1 -1
  15. package/dist/mcp-chunks/{chunk-JG4TRUPF.js → chunk-D2P2IV4H.js} +1 -1
  16. package/dist/mcp-chunks/{chunk-3R2WK3NB.js → chunk-DMBE47LM.js} +6 -6
  17. package/dist/mcp-chunks/{chunk-WTMJMM3B.js → chunk-EP22XMWK.js} +3 -30
  18. package/dist/mcp-chunks/{chunk-ITCCROID.js → chunk-EUDC3ICZ.js} +5 -5
  19. package/dist/mcp-chunks/{chunk-FX5NYWBH.js → chunk-G4H535MI.js} +3 -21
  20. package/dist/mcp-chunks/{chunk-HCOKLSOB.js → chunk-GA4ZYSRX.js} +4 -4
  21. package/dist/mcp-chunks/{chunk-C2KNLFZR.js → chunk-GEVQ2GJW.js} +2 -2
  22. package/dist/mcp-chunks/{chunk-WYLHHXI6.js → chunk-GK4LA4E6.js} +26 -11
  23. package/dist/mcp-chunks/{chunk-QZUC2T72.js → chunk-GL4AA5QV.js} +2 -2
  24. package/dist/mcp-chunks/{chunk-KW3ANJ36.js → chunk-HBN3ESMH.js} +4 -4
  25. package/dist/mcp-chunks/{chunk-ELA77TDC.js → chunk-HKZZGSDV.js} +4 -4
  26. package/dist/mcp-chunks/{chunk-36VIJRYY.js → chunk-HTXQPQPB.js} +4 -4
  27. package/dist/mcp-chunks/{chunk-3JGS7LQB.js → chunk-I7JR2GIC.js} +2 -2
  28. package/dist/mcp-chunks/{chunk-AIKLVBYU.js → chunk-IO2IMWYS.js} +2 -2
  29. package/dist/mcp-chunks/{chunk-RD7NHCRK.js → chunk-J2WP6ERZ.js} +39 -42
  30. package/dist/mcp-chunks/{chunk-HLRCUHNO.js → chunk-KJNNO5Z6.js} +1 -1
  31. package/dist/mcp-chunks/{chunk-4ZNBWL65.js → chunk-L2LGMX5P.js} +2 -2
  32. package/dist/mcp-chunks/chunk-LG3GLOSA.js +513 -0
  33. package/dist/mcp-chunks/{chunk-CZKDJZER.js → chunk-LTR626QF.js} +1 -1
  34. package/dist/mcp-chunks/{chunk-FS5JIKT6.js → chunk-LYWEATXZ.js} +6 -6
  35. package/dist/mcp-chunks/{chunk-YIRGLKDA.js → chunk-M62ESEOY.js} +45 -14
  36. package/dist/mcp-chunks/{chunk-V5AYEKSL.js → chunk-MJHMXYMO.js} +52 -81
  37. package/dist/mcp-chunks/{chunk-7WOKCV6Q.js → chunk-N7ZWX3WW.js} +1 -1
  38. package/dist/mcp-chunks/chunk-NTABJCUL.js +123 -0
  39. package/dist/mcp-chunks/{chunk-EPT4MYOF.js → chunk-OABFKFSL.js} +11 -11
  40. package/dist/mcp-chunks/{chunk-SCOMDV54.js → chunk-OB256NMD.js} +1 -1
  41. package/dist/mcp-chunks/{chunk-IYWYVHHD.js → chunk-OZQTZWW4.js} +1 -1
  42. package/dist/mcp-chunks/{chunk-ITR7FQM3.js → chunk-QIBGY4IX.js} +2 -2
  43. package/dist/mcp-chunks/{chunk-ZOAQDFAO.js → chunk-REEFOL44.js} +1 -1
  44. package/dist/mcp-chunks/{chunk-ED2WN5BI.js → chunk-SUNOYTQJ.js} +3 -3
  45. package/dist/mcp-chunks/{chunk-Y3EDWN2P.js → chunk-TFU4NKFJ.js} +1 -1
  46. package/dist/mcp-chunks/{chunk-EMSNQHZZ.js → chunk-TGPIW6F6.js} +1 -1
  47. package/dist/mcp-chunks/{chunk-SNKXMWDB.js → chunk-UCJ7YDFN.js} +1 -1
  48. package/dist/mcp-chunks/{chunk-TPHPAEDH.js → chunk-WUEDIOR5.js} +1 -1
  49. package/dist/mcp-chunks/{chunk-FAJPJTOC.js → chunk-XCNWICLD.js} +1 -1
  50. package/dist/mcp-chunks/{chunk-6YZW3XAE.js → chunk-XFQSUC7T.js} +5 -5
  51. package/dist/mcp-chunks/{chunk-GQ6NSIDS.js → chunk-Y3L5LWBY.js} +3037 -747
  52. package/dist/mcp-chunks/{chunk-53NRFMB3.js → chunk-YI5SMRFH.js} +46 -25
  53. package/dist/mcp-chunks/{chunk-GUXMP7QB.js → chunk-YPTN46JQ.js} +2 -2
  54. package/dist/mcp-chunks/{chunk-I5GI2A2D.js → chunk-YVH36MGQ.js} +2 -2
  55. package/dist/mcp-chunks/{chunk-ASG4OY3M.js → chunk-Z6QEOUMK.js} +22 -23
  56. package/dist/mcp-chunks/{cli-XU26MUCN.js → cli-TN6JTLTS.js} +108 -77
  57. package/dist/mcp-chunks/client-G33HPQAC.js +29 -0
  58. package/dist/mcp-chunks/{config-command-UQMMIK2U.js → config-command-LICU56ZH.js} +27 -28
  59. package/dist/mcp-chunks/daemon-command-JLVHGWHB.js +29 -0
  60. package/dist/mcp-chunks/{dist-DM2RXZMU.js → dist-MFAWSKGH.js} +80 -46
  61. package/dist/mcp-chunks/{emit-ts-command-KAOL6DAN.js → emit-ts-command-FVX3JMSN.js} +18 -18
  62. package/dist/mcp-chunks/{generate-cli-runner-AK6XNRTK.js → generate-cli-runner-L2L7VMCA.js} +53 -51
  63. package/dist/mcp-chunks/generated-daemon-runtime-DC6IL7E7.js +29 -0
  64. package/dist/mcp-chunks/{inspect-cli-command-6FVJO7H2.js → inspect-cli-command-Y5D3GRE2.js} +9 -10
  65. package/dist/mcp-chunks/{launch-EIT73HX4.js → launch-ZFY6CM2A.js} +1 -1
  66. package/dist/mcp-chunks/{lifecycle-QH4TUI3K.js → lifecycle-H7DIW5DM.js} +1 -1
  67. package/dist/mcp-chunks/{list-command-UOB2XZK7.js → list-command-55LCLW4S.js} +34 -35
  68. package/dist/mcp-chunks/{output-utils-6YXH23T7.js → output-utils-YYHI637S.js} +3 -3
  69. package/dist/mcp-chunks/{prompt-CH6TK0bC-ZB6RFAXR.js → prompt-CH6TK0bC-DZLFAAPK.js} +1 -1
  70. package/dist/mcp-chunks/{record-command-FO5TTERC.js → record-command-PWIBYC5J.js} +5 -5
  71. package/dist/mcp-chunks/{replay-command-SCBPCGQ7.js → replay-command-QHZZZMXF.js} +6 -6
  72. package/dist/mcp-chunks/{resource-command-S2J7XEMV.js → resource-command-HMR2KXWK.js} +9 -10
  73. package/dist/mcp-chunks/{result-utils-OME6HGS6.js → result-utils-UGCQSRJ4.js} +3 -4
  74. package/dist/mcp-chunks/runtime-ZNFPZXKE.js +36 -0
  75. package/dist/mcp-chunks/runtime-wrapper-I4B3OROR.js +10 -0
  76. package/dist/mcp-chunks/{serve-command-DDBZZSG6.js → serve-command-NTDI3YPN.js} +29 -34
  77. package/dist/mcp-chunks/{timeouts-HNGNKDQN.js → timeouts-35UDWFA7.js} +3 -3
  78. package/dist/mcp-chunks/{vault-command-TJZYS3YI.js → vault-command-D5QZL4FI.js} +4 -6
  79. package/dist/mcp-daemon.js +26 -31
  80. package/dist/mcp-run-worker.js +26 -31
  81. package/dist/pi-extension.d.ts.map +1 -1
  82. package/dist/pi-extension.js +27 -0
  83. package/dist/pi-extension.js.map +1 -1
  84. package/docs/pi-extension.md +1 -1
  85. package/docs/recipe-format.md +7 -3
  86. package/docs/recipe-templates.md +46 -0
  87. package/package.json +14 -14
  88. package/dist/mcp-chunks/call-arguments-4DWPBLQP.js +0 -15
  89. package/dist/mcp-chunks/chunk-3Z7MFS6K.js +0 -86
  90. package/dist/mcp-chunks/chunk-AD3FQ73K.js +0 -39
  91. package/dist/mcp-chunks/chunk-BWW4XRUC.js +0 -1931
  92. package/dist/mcp-chunks/chunk-DTZHEVKC.js +0 -12
  93. package/dist/mcp-chunks/chunk-H3JCYHGS.js +0 -1018
  94. package/dist/mcp-chunks/chunk-IRTJXFWA.js +0 -28
  95. package/dist/mcp-chunks/chunk-NTHUNCXJ.js +0 -526
  96. package/dist/mcp-chunks/chunk-OD3MSMXY.js +0 -15
  97. package/dist/mcp-chunks/chunk-PZ323CXI.js +0 -17394
  98. package/dist/mcp-chunks/client-OT34CKRH.js +0 -21
  99. package/dist/mcp-chunks/daemon-command-YCIOZGPZ.js +0 -35
  100. package/dist/mcp-chunks/runtime-QIPMLIJI.js +0 -39
  101. package/dist/mcp-chunks/runtime-wrapper-X4YFKMJI.js +0 -16
@@ -1,24 +1,23 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  writeTextFileAtomic
4
- } from "./chunk-ITR7FQM3.js";
4
+ } from "./chunk-QIBGY4IX.js";
5
5
  import {
6
6
  homeConfigCandidates,
7
- listConfigLayerPaths,
8
7
  pathExists,
9
8
  pathExistsAsync,
10
9
  resolveConfigPath
11
- } from "./chunk-FX5NYWBH.js";
10
+ } from "./chunk-G4H535MI.js";
12
11
  import {
13
12
  expandHome,
14
13
  resolveEnvPlaceholders
15
- } from "./chunk-WTMJMM3B.js";
14
+ } from "./chunk-EP22XMWK.js";
16
15
  import {
17
16
  resolveLifecycle
18
- } from "./chunk-JG4TRUPF.js";
17
+ } from "./chunk-D2P2IV4H.js";
19
18
  import {
20
19
  external_exports
21
- } from "./chunk-HN7WPMCA.js";
20
+ } from "./chunk-CN5YF3IQ.js";
22
21
  import {
23
22
  __commonJS,
24
23
  __require,
@@ -2020,14 +2019,14 @@ var require_toml = __commonJS({
2020
2019
  }
2021
2020
  });
2022
2021
 
2023
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config.js
2022
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config.js
2024
2023
  import path6 from "node:path";
2025
2024
 
2026
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config/read-config.js
2025
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config/read-config.js
2027
2026
  import fs2 from "node:fs/promises";
2028
2027
  import path from "node:path";
2029
2028
 
2030
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config-schema.js
2029
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config-schema.js
2031
2030
  var ImportKindSchema = external_exports.enum(["cursor", "claude-code", "claude-desktop", "codex", "windsurf", "opencode", "vscode"]).describe("Supported editor/client configurations to import MCP servers from");
2032
2031
  var DEFAULT_IMPORTS = [
2033
2032
  "cursor",
@@ -2142,7 +2141,7 @@ var RawConfigSchema = external_exports.object({
2142
2141
  imports: external_exports.array(ImportKindSchema).optional().describe("Editor configurations to import servers from. Omit to use defaults, or set to [] to disable imports")
2143
2142
  }).describe("mcporter configuration file schema");
2144
2143
 
2145
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config/imports/shared.js
2144
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config/imports/shared.js
2146
2145
  import fs from "node:fs/promises";
2147
2146
 
2148
2147
  // node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/scanner.js
@@ -3120,7 +3119,7 @@ function printParseErrorCode(code) {
3120
3119
  return "<unknown ParseErrorCode>";
3121
3120
  }
3122
3121
 
3123
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config/imports/shared.js
3122
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config/imports/shared.js
3124
3123
  async function fileExists(filePath) {
3125
3124
  try {
3126
3125
  await fs.access(filePath);
@@ -3143,7 +3142,7 @@ function isRecord(value) {
3143
3142
  return Boolean(value && typeof value === "object" && !Array.isArray(value));
3144
3143
  }
3145
3144
 
3146
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config/read-config.js
3145
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config/read-config.js
3147
3146
  async function loadConfigLayers(options, rootDir) {
3148
3147
  const explicitPath = options.configPath ?? process.env.MCPORTER_CONFIG;
3149
3148
  if (explicitPath) {
@@ -3210,12 +3209,12 @@ function includesErrnoMessage(error, code) {
3210
3209
  return typeof message === "string" && message.includes(code);
3211
3210
  }
3212
3211
 
3213
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config/imports/external.js
3212
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config/imports/external.js
3214
3213
  var import_toml = __toESM(require_toml(), 1);
3215
3214
  import fs3 from "node:fs/promises";
3216
3215
  import path3 from "node:path";
3217
3216
 
3218
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config/imports/paths-utils.js
3217
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config/imports/paths-utils.js
3219
3218
  import os from "node:os";
3220
3219
  import path2 from "node:path";
3221
3220
  function normalizeProjectPath(input) {
@@ -3243,7 +3242,7 @@ function pathsEqual(a, b) {
3243
3242
  return a === b;
3244
3243
  }
3245
3244
 
3246
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config/imports/external.js
3245
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config/imports/external.js
3247
3246
  async function readExternalEntries(filePath, options = {}) {
3248
3247
  if (!await fileExists(filePath)) {
3249
3248
  return null;
@@ -3519,7 +3518,7 @@ function shouldIgnoreParseError(error) {
3519
3518
  return "fromTOML" in error;
3520
3519
  }
3521
3520
 
3522
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config/imports/paths.js
3521
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config/imports/paths.js
3523
3522
  import os2 from "node:os";
3524
3523
  import path4 from "node:path";
3525
3524
  function pathsForImport(kind, rootDir) {
@@ -3653,16 +3652,16 @@ function dedupePaths(paths) {
3653
3652
  return result;
3654
3653
  }
3655
3654
 
3656
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config-normalize.js
3655
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config-normalize.js
3657
3656
  import fs4 from "node:fs";
3658
3657
  import path5 from "node:path";
3659
- function normalizeServerEntry(name, raw, baseDir, source, sources) {
3660
- const resolvedRaw = resolveConfigEnvPlaceholders(name, raw);
3658
+ function normalizeServerEntry(name, raw, baseDir, source, sources, context = {}) {
3659
+ const resolvedRaw = resolveConfigEnvPlaceholders(name, raw, context.env);
3661
3660
  raw = resolvedRaw;
3662
3661
  const description = raw.description;
3663
3662
  const env = raw.env ? { ...raw.env } : void 0;
3664
3663
  const auth = normalizeAuth(raw.auth);
3665
- const tokenCacheDir = normalizePath(raw.tokenCacheDir ?? raw.token_cache_dir);
3664
+ const tokenCacheDir = normalizePath(raw.tokenCacheDir ?? raw.token_cache_dir, context.home);
3666
3665
  const clientName = raw.clientName ?? raw.client_name;
3667
3666
  const protocolVersion = raw.protocolVersion ?? raw.protocol_version;
3668
3667
  const chromeDevtoolsRelay = raw.chromeDevtoolsRelay ?? raw.chrome_devtools_relay;
@@ -3679,7 +3678,7 @@ function normalizeServerEntry(name, raw, baseDir, source, sources) {
3679
3678
  const oauthCommand = oauthCommandRaw ? { args: [...oauthCommandRaw.args] } : void 0;
3680
3679
  const headers = buildHeaders(raw);
3681
3680
  const httpUrl = getUrl(raw);
3682
- const stdio = getCommand(raw, baseDir);
3681
+ const stdio = getCommand(raw, baseDir, context.home);
3683
3682
  let command;
3684
3683
  if (httpUrl) {
3685
3684
  command = {
@@ -3692,7 +3691,7 @@ function normalizeServerEntry(name, raw, baseDir, source, sources) {
3692
3691
  kind: "stdio",
3693
3692
  command: stdio.command,
3694
3693
  args: stdio.args,
3695
- cwd: resolveCwd(raw.cwd, baseDir)
3694
+ cwd: resolveCwd(raw.cwd, baseDir, context.home)
3696
3695
  };
3697
3696
  } else {
3698
3697
  throw new Error(`Server '${name}' is missing a baseUrl/url or command definition in mcporter.json`);
@@ -3734,16 +3733,16 @@ var __configInternals = {
3734
3733
  ensureHttpAcceptHeader,
3735
3734
  resolveConfigEnvPlaceholders
3736
3735
  };
3737
- function resolveConfigEnvPlaceholders(name, raw) {
3738
- return resolveConfigEnvValue(name, raw, []);
3736
+ function resolveConfigEnvPlaceholders(name, raw, env = process.env) {
3737
+ return resolveConfigEnvValue(name, raw, [], env);
3739
3738
  }
3740
- function resolveConfigEnvValue(name, value, pathSegments) {
3739
+ function resolveConfigEnvValue(name, value, pathSegments, env) {
3741
3740
  if (typeof value === "string") {
3742
3741
  if (!value.includes("$") || shouldDeferEnvResolution(pathSegments)) {
3743
3742
  return value;
3744
3743
  }
3745
3744
  try {
3746
- return resolveEnvPlaceholders(value);
3745
+ return resolveEnvPlaceholders(value, env);
3747
3746
  } catch (error) {
3748
3747
  const message = error instanceof Error ? error.message : String(error);
3749
3748
  const field = pathSegments.join(".") || "<root>";
@@ -3751,12 +3750,12 @@ function resolveConfigEnvValue(name, value, pathSegments) {
3751
3750
  }
3752
3751
  }
3753
3752
  if (Array.isArray(value)) {
3754
- return value.map((entry, index) => resolveConfigEnvValue(name, entry, [...pathSegments, String(index)]));
3753
+ return value.map((entry, index) => resolveConfigEnvValue(name, entry, [...pathSegments, String(index)], env));
3755
3754
  }
3756
3755
  if (value && typeof value === "object") {
3757
3756
  const resolved = {};
3758
3757
  for (const [key, entry] of Object.entries(value)) {
3759
- resolved[key] = resolveConfigEnvValue(name, entry, [...pathSegments, key]);
3758
+ resolved[key] = resolveConfigEnvValue(name, entry, [...pathSegments, key], env);
3760
3759
  }
3761
3760
  return resolved;
3762
3761
  }
@@ -3796,22 +3795,22 @@ function normalizeRefresh(raw) {
3796
3795
  function normalizeHttpFetch(value) {
3797
3796
  return value;
3798
3797
  }
3799
- function normalizePath(input) {
3798
+ function normalizePath(input, home) {
3800
3799
  if (!input) {
3801
3800
  return void 0;
3802
3801
  }
3803
- return expandHome(input);
3802
+ return expandHome(input, home);
3804
3803
  }
3805
- function resolveCwd(input, baseDir) {
3804
+ function resolveCwd(input, baseDir, home) {
3806
3805
  if (!input) {
3807
3806
  return baseDir;
3808
3807
  }
3809
- return path5.resolve(baseDir, expandHome(input));
3808
+ return path5.resolve(baseDir, expandHome(input, home));
3810
3809
  }
3811
3810
  function getUrl(raw) {
3812
3811
  return raw.baseUrl ?? raw.base_url ?? raw.url ?? raw.serverUrl ?? raw.server_url ?? void 0;
3813
3812
  }
3814
- function getCommand(raw, baseDir) {
3813
+ function getCommand(raw, baseDir, home) {
3815
3814
  const commandValue = raw.command ?? raw.executable;
3816
3815
  if (Array.isArray(commandValue)) {
3817
3816
  if (commandValue.length === 0 || typeof commandValue[0] !== "string") {
@@ -3824,7 +3823,7 @@ function getCommand(raw, baseDir) {
3824
3823
  if (args.length > 0) {
3825
3824
  return { command: commandValue, args };
3826
3825
  }
3827
- if (isExistingCommandPath(commandValue, baseDir)) {
3826
+ if (isExistingCommandPath(commandValue, baseDir, home)) {
3828
3827
  return { command: commandValue, args: [] };
3829
3828
  }
3830
3829
  const tokens = parseCommandString(commandValue);
@@ -3839,7 +3838,7 @@ function getCommand(raw, baseDir) {
3839
3838
  }
3840
3839
  return void 0;
3841
3840
  }
3842
- function isExistingCommandPath(value, baseDir) {
3841
+ function isExistingCommandPath(value, baseDir, home) {
3843
3842
  const trimmed = value.trim();
3844
3843
  if (!trimmed.includes(" ")) {
3845
3844
  return false;
@@ -3847,7 +3846,7 @@ function isExistingCommandPath(value, baseDir) {
3847
3846
  if (!looksLikePath(trimmed)) {
3848
3847
  return false;
3849
3848
  }
3850
- const expanded = expandHome(trimmed);
3849
+ const expanded = expandHome(trimmed, home);
3851
3850
  const resolved = path5.isAbsolute(expanded) ? expanded : path5.resolve(baseDir, expanded);
3852
3851
  try {
3853
3852
  return fs4.statSync(resolved).isFile();
@@ -3939,7 +3938,7 @@ function normalizeLogging(raw) {
3939
3938
  return void 0;
3940
3939
  }
3941
3940
 
3942
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/config.js
3941
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/config.js
3943
3942
  async function buildServerDefinitions(layers, rootDir) {
3944
3943
  const merged = /* @__PURE__ */ new Map();
3945
3944
  for (const layer of layers) {
@@ -4029,9 +4028,6 @@ async function loadRawConfig(options = {}) {
4029
4028
  const config = await readConfigFile(resolved.path, resolved.explicit);
4030
4029
  return { config, ...resolved };
4031
4030
  }
4032
- async function listConfigLayerPaths2(options = {}, rootDir = process.cwd()) {
4033
- return await listConfigLayerPaths(options, rootDir);
4034
- }
4035
4031
  async function writeRawConfig(targetPath, config) {
4036
4032
  const serialized = `${JSON.stringify(config, null, 2)}
4037
4033
  `;
@@ -4042,14 +4038,15 @@ function resolveConfigPath2(configPath, rootDir) {
4042
4038
  }
4043
4039
 
4044
4040
  export {
4041
+ RawEntrySchema,
4045
4042
  parseTree2 as parseTree,
4043
+ readConfigFile,
4046
4044
  readExternalEntries,
4047
4045
  pathsForImport,
4046
+ normalizeServerEntry,
4048
4047
  __configInternals,
4049
- loadConfigSnapshot,
4050
4048
  loadServerDefinitions,
4051
4049
  loadRawConfig,
4052
- listConfigLayerPaths2 as listConfigLayerPaths,
4053
4050
  writeRawConfig,
4054
4051
  resolveConfigPath2 as resolveConfigPath
4055
4052
  };
@@ -1,6 +1,6 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
 
3
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/cli/identifier-helpers.js
3
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/identifier-helpers.js
4
4
  var AUTO_THRESHOLD_RATIO = 0.3;
5
5
  var AUTO_THRESHOLD_MIN = 2;
6
6
  function chooseClosestIdentifier(input, candidates) {
@@ -1,9 +1,9 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  analyzeConnectionError
4
- } from "./chunk-QZUC2T72.js";
4
+ } from "./chunk-GL4AA5QV.js";
5
5
 
6
- // node_modules/.pnpm/mcporter@0.13.8/node_modules/mcporter/dist/result-utils.js
6
+ // node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/result-utils.js
7
7
  function extractEnvelope(raw) {
8
8
  return collectEnvelopeFields(raw, { content: null, structuredContent: null }, 0);
9
9
  }