@introspection-ai/recipes 0.61.0 → 0.62.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 (144) hide show
  1. package/dist/documents/module.d.ts.map +1 -1
  2. package/dist/documents/module.js +2 -3
  3. package/dist/documents/module.js.map +1 -1
  4. package/dist/issues/module.d.ts.map +1 -1
  5. package/dist/issues/module.js +2 -2
  6. package/dist/issues/module.js.map +1 -1
  7. package/dist/mcp-chunks/{auth-command-WE7QY6RH.js → auth-command-ENP2QQ5Z.js} +67 -27
  8. package/dist/mcp-chunks/call-arguments-Z5REZUAX.js +16 -0
  9. package/dist/mcp-chunks/{call-command-OOBUGVTM.js → call-command-LOWTMLJD.js} +59 -43
  10. package/dist/mcp-chunks/{chunk-32UZRZIL.js → chunk-27PQUO34.js} +1 -1
  11. package/dist/mcp-chunks/{chunk-NJR33E7V.js → chunk-2OSM5WUI.js} +4 -4
  12. package/dist/mcp-chunks/{chunk-BI6L3SYV.js → chunk-33P3PYCH.js} +28 -20
  13. package/dist/mcp-chunks/{chunk-2PTK6KBV.js → chunk-3MELXKB4.js} +12 -9
  14. package/dist/mcp-chunks/{chunk-Z5XOB522.js → chunk-3P3Z5PKQ.js} +1 -1
  15. package/dist/mcp-chunks/{chunk-ZEMVGFKG.js → chunk-3TZZPKQP.js} +2 -2
  16. package/dist/mcp-chunks/{chunk-73TMUGJL.js → chunk-3UONQ24E.js} +3 -3
  17. package/dist/mcp-chunks/{chunk-W47YAN6W.js → chunk-5AVROWKC.js} +3 -3
  18. package/dist/mcp-chunks/{chunk-SYBDN4SV.js → chunk-6HA2S26Q.js} +5 -5
  19. package/dist/mcp-chunks/{chunk-MG6EVYIM.js → chunk-6IKBK334.js} +13 -13
  20. package/dist/mcp-chunks/{chunk-7SQZWTDU.js → chunk-6VAFZAST.js} +1 -1
  21. package/dist/mcp-chunks/{chunk-2R7UGABC.js → chunk-6WTCG4OR.js} +113 -89
  22. package/dist/mcp-chunks/{chunk-ZJZ53NIB.js → chunk-7JRVQRQ4.js} +10 -7
  23. package/dist/mcp-chunks/{chunk-AIUZOMBB.js → chunk-7LKVFBEL.js} +12 -12
  24. package/dist/mcp-chunks/{chunk-44KI6DPL.js → chunk-ACSE24O5.js} +15 -18
  25. package/dist/mcp-chunks/{chunk-5ZQKSEUN.js → chunk-B6YFFSTP.js} +6 -3
  26. package/dist/mcp-chunks/{chunk-3KSDZBUJ.js → chunk-BA3QLN3P.js} +5 -5
  27. package/dist/mcp-chunks/{chunk-MSPGQEWX.js → chunk-BMOK7SQE.js} +12 -12
  28. package/dist/mcp-chunks/{chunk-H44A4G2O.js → chunk-CPAQ4API.js} +2 -2
  29. package/dist/mcp-chunks/{chunk-Y7JQJ352.js → chunk-CSUDITHP.js} +16 -16
  30. package/dist/mcp-chunks/{chunk-UY2QWZB3.js → chunk-DSBXRWGJ.js} +64 -65
  31. package/dist/mcp-chunks/{chunk-DEYGZRBD.js → chunk-EUT2CVFE.js} +8 -5
  32. package/dist/mcp-chunks/{chunk-HPFIAALB.js → chunk-F4UVQBNV.js} +16 -13
  33. package/dist/mcp-chunks/{chunk-VLJQSE6L.js → chunk-F5XGHRRC.js} +9 -9
  34. package/dist/mcp-chunks/{chunk-YFPPHEDE.js → chunk-FMLYITVD.js} +1 -1
  35. package/dist/mcp-chunks/{chunk-37VJZIFW.js → chunk-FYRRJZPO.js} +8 -8
  36. package/dist/mcp-chunks/{chunk-2R2HWX2E.js → chunk-GJKH5KNE.js} +1 -1
  37. package/dist/mcp-chunks/{chunk-HGEKP2E5.js → chunk-H4TU7J5F.js} +9 -6
  38. package/dist/mcp-chunks/{chunk-4ACA5GWL.js → chunk-IX6HNQSH.js} +1 -1
  39. package/dist/mcp-chunks/{chunk-FJNWUAGR.js → chunk-KKM3M3F7.js} +13 -10
  40. package/dist/mcp-chunks/{chunk-Z43KJRXY.js → chunk-KUP2GHFE.js} +1 -1
  41. package/dist/mcp-chunks/{chunk-CWM4RO33.js → chunk-L3BBHB3E.js} +1 -1
  42. package/dist/mcp-chunks/{chunk-XU4D5QN2.js → chunk-M4RI6BN4.js} +1 -1
  43. package/dist/mcp-chunks/{chunk-EUHXZKP2.js → chunk-N53HQB4G.js} +108 -108
  44. package/dist/mcp-chunks/{chunk-HKMH4N3Z.js → chunk-NAGTWK62.js} +1 -1
  45. package/dist/mcp-chunks/{chunk-ABPXAKP7.js → chunk-OH3HVZE7.js} +40 -32
  46. package/dist/mcp-chunks/{chunk-4SO2DY7F.js → chunk-OHAXEQ22.js} +2 -2
  47. package/dist/mcp-chunks/{chunk-OSK2JGFH.js → chunk-PBYZ5QZW.js} +1 -1
  48. package/dist/mcp-chunks/{chunk-QYR3UKJS.js → chunk-PJH2FNYO.js} +3 -3
  49. package/dist/mcp-chunks/{chunk-FDVES4CU.js → chunk-PJSLJ3YK.js} +2 -2
  50. package/dist/mcp-chunks/{chunk-MW3YO24Q.js → chunk-PPJWHK7M.js} +3 -3
  51. package/dist/mcp-chunks/{chunk-4NABHXDS.js → chunk-QA6AKKCT.js} +11 -8
  52. package/dist/mcp-chunks/{chunk-DL3GVI4M.js → chunk-QDLNI6YU.js} +2 -2
  53. package/dist/mcp-chunks/{chunk-TTVO6RCP.js → chunk-QRC4AH7I.js} +2 -2
  54. package/dist/mcp-chunks/{chunk-Y7UTXETL.js → chunk-QRD3PAVF.js} +1 -1
  55. package/dist/mcp-chunks/{chunk-G5DK4L6M.js → chunk-RAUI7O2B.js} +2 -2
  56. package/dist/mcp-chunks/{chunk-VJ45Y5IO.js → chunk-RF3HIBXO.js} +1 -1
  57. package/dist/mcp-chunks/{chunk-CIQX62WO.js → chunk-RFQCNCWI.js} +2 -2
  58. package/dist/mcp-chunks/{chunk-GQM53HF7.js → chunk-SL74CLNX.js} +1 -1
  59. package/dist/mcp-chunks/{chunk-EVEVCVYR.js → chunk-TAEXC3CS.js} +5 -5
  60. package/dist/mcp-chunks/{chunk-QHD5RXW4.js → chunk-U4NDKPOH.js} +24 -17
  61. package/dist/mcp-chunks/{chunk-CFRA424Y.js → chunk-UP3I6WR3.js} +4 -4
  62. package/dist/mcp-chunks/{chunk-VJ5VDK6D.js → chunk-UZ5WW52A.js} +1 -1
  63. package/dist/mcp-chunks/{chunk-TT3LOCMN.js → chunk-V65N6VX7.js} +2 -2
  64. package/dist/mcp-chunks/{chunk-7KOGD2JK.js → chunk-VKRJV2OQ.js} +2 -2
  65. package/dist/mcp-chunks/{chunk-YGT57XUN.js → chunk-VNQIAJ4I.js} +2 -2
  66. package/dist/mcp-chunks/{chunk-EV3SP7ME.js → chunk-W3HK334E.js} +1 -1
  67. package/dist/mcp-chunks/{chunk-KUJUYFDC.js → chunk-XCAIV2CS.js} +4 -4
  68. package/dist/mcp-chunks/{chunk-TQ5T5VO7.js → chunk-YINZMSAI.js} +2 -2
  69. package/dist/mcp-chunks/{cli-TJFAYJO4.js → cli-QNVUCDJE.js} +70 -70
  70. package/dist/mcp-chunks/client-VL2MU7HF.js +32 -0
  71. package/dist/mcp-chunks/{config-command-YGNK2VVL.js → config-command-NMIYA3HF.js} +31 -31
  72. package/dist/mcp-chunks/daemon-command-SLRKTEMY.js +36 -0
  73. package/dist/mcp-chunks/dist-GMDBFGJD.js +69 -0
  74. package/dist/mcp-chunks/{dist-IFOLXE2R.js → dist-P7P5T6YZ.js} +1362 -1231
  75. package/dist/mcp-chunks/{emit-ts-command-4EVF6CIG.js → emit-ts-command-CH34ZIJL.js} +18 -18
  76. package/dist/mcp-chunks/{generate-cli-runner-UFVSXJVK.js → generate-cli-runner-3X2GEPPY.js} +57 -55
  77. package/dist/mcp-chunks/generated-daemon-runtime-BL7IYY6T.js +32 -0
  78. package/dist/mcp-chunks/{inspect-cli-command-L3JGLLTG.js → inspect-cli-command-JCKHV5GL.js} +16 -13
  79. package/dist/mcp-chunks/{launch-LUKDWKH4.js → launch-YFY4X7YJ.js} +1 -1
  80. package/dist/mcp-chunks/{lifecycle-H57PYAZ5.js → lifecycle-UUTEE5WE.js} +1 -1
  81. package/dist/mcp-chunks/{list-command-QBO4LK5Q.js → list-command-VDZVNILR.js} +36 -36
  82. package/dist/mcp-chunks/{logger-LvdykevT-BQ5B4N5O.js → logger-CpvFcLaq-27JFRZ4G.js} +3 -3
  83. package/dist/mcp-chunks/{output-utils-MB3PEV2M.js → output-utils-SYVU3XAD.js} +3 -3
  84. package/dist/mcp-chunks/{pi-mcp-runtime-OIMIJV5A.js → pi-mcp-runtime-V2OMZAIR.js} +1 -1
  85. package/dist/mcp-chunks/{prompt-DkftHXS7-TE2LNPAM.js → prompt-DkftHXS7-6LABGWLG.js} +1 -1
  86. package/dist/mcp-chunks/{record-command-RYDP3Y2A.js → record-command-U7L3OGJZ.js} +6 -5
  87. package/dist/mcp-chunks/{replay-command-QDJCQ5JU.js → replay-command-4AZZBGXO.js} +7 -6
  88. package/dist/mcp-chunks/{resource-command-RKHHQBFP.js → resource-command-BZZBELBM.js} +14 -11
  89. package/dist/mcp-chunks/{result-utils-ZD5GFX7P.js → result-utils-XNXSDC6N.js} +3 -3
  90. package/dist/mcp-chunks/runtime-OVVVPYHO.js +39 -0
  91. package/dist/mcp-chunks/{runtime-wrapper-AV4JCNRF.js → runtime-wrapper-6BUJRMQL.js} +3 -3
  92. package/dist/mcp-chunks/{serve-command-MRPTK4XX.js → serve-command-ZY3PLYNM.js} +39 -36
  93. package/dist/mcp-chunks/server-6DQUPUFW.js +43 -0
  94. package/dist/mcp-chunks/{timeouts-2SQIDYBE.js → timeouts-EEXKP36K.js} +4 -4
  95. package/dist/mcp-chunks/{vault-command-6JVDCFWU.js → vault-command-PRTY3B4I.js} +5 -5
  96. package/dist/mcp-chunks/{webapi-CI4O7AUX.js → webapi-SSFFKLRR.js} +1 -1
  97. package/dist/mcp-daemon.js +35 -35
  98. package/dist/mcp-run-worker.js +34 -34
  99. package/dist/memory-context.d.ts +16 -0
  100. package/dist/memory-context.d.ts.map +1 -0
  101. package/dist/memory-context.js +100 -0
  102. package/dist/memory-context.js.map +1 -0
  103. package/dist/memory.d.ts +2 -0
  104. package/dist/memory.d.ts.map +1 -1
  105. package/dist/memory.js +13 -0
  106. package/dist/memory.js.map +1 -1
  107. package/dist/pi-extension.d.ts.map +1 -1
  108. package/dist/pi-extension.js +6 -0
  109. package/dist/pi-extension.js.map +1 -1
  110. package/dist/productivity/module.js +2 -2
  111. package/dist/productivity/module.js.map +1 -1
  112. package/dist/recipe/companions.d.ts +14 -0
  113. package/dist/recipe/companions.d.ts.map +1 -1
  114. package/dist/recipe/companions.js +23 -0
  115. package/dist/recipe/companions.js.map +1 -1
  116. package/dist/recipe/manifest.generated.d.ts +1 -1
  117. package/dist/recipe/manifest.generated.js +1 -1
  118. package/dist/recipe/python.d.ts.map +1 -1
  119. package/dist/recipe/python.js +2 -5
  120. package/dist/recipe/python.js.map +1 -1
  121. package/dist/recipe/resolve.d.ts +1 -0
  122. package/dist/recipe/resolve.d.ts.map +1 -1
  123. package/dist/recipe/resolve.js +1 -0
  124. package/dist/recipe/resolve.js.map +1 -1
  125. package/dist/search/tool.d.ts.map +1 -1
  126. package/dist/search/tool.js +2 -2
  127. package/dist/search/tool.js.map +1 -1
  128. package/dist/session.d.ts.map +1 -1
  129. package/dist/session.js +27 -9
  130. package/dist/session.js.map +1 -1
  131. package/dist/signature/module.d.ts.map +1 -1
  132. package/dist/signature/module.js +2 -2
  133. package/dist/signature/module.js.map +1 -1
  134. package/docs/host-api.md +18 -10
  135. package/docs/pi-extension.md +11 -0
  136. package/docs/recipe-format.md +6 -0
  137. package/package.json +8 -8
  138. package/dist/mcp-chunks/call-arguments-2ABANGLE.js +0 -16
  139. package/dist/mcp-chunks/client-LDKUW5K5.js +0 -32
  140. package/dist/mcp-chunks/daemon-command-UYAYRHVD.js +0 -36
  141. package/dist/mcp-chunks/dist-5JNZD3JV.js +0 -69
  142. package/dist/mcp-chunks/generated-daemon-runtime-LTH36X2R.js +0 -32
  143. package/dist/mcp-chunks/runtime-F7PP4V25.js +0 -39
  144. package/dist/mcp-chunks/server-2WSYXDII.js +0 -43
@@ -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.17.0/node_modules/mcporter/dist/cli/record-replay-env.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/record-replay-env.js
4
4
  var KEEP_ALIVE_DISABLED_FOR_MODE = "*";
5
5
  function buildRecordCommandEnv(sessionName, server) {
6
6
  return buildModeEnv({
@@ -16,53 +16,53 @@ import {
16
16
  resolveSystemPowerShellPath,
17
17
  secureDaemonDirectory,
18
18
  upgradeLegacyDaemonDirectory
19
- } from "./chunk-2R7UGABC.js";
19
+ } from "./chunk-6WTCG4OR.js";
20
20
  import {
21
21
  NON_INTERACTIVE_ELICITATION_HINT,
22
22
  createNonInteractiveElicitationResponder
23
- } from "./chunk-2R2HWX2E.js";
23
+ } from "./chunk-GJKH5KNE.js";
24
24
  import {
25
25
  MCPORTER_VERSION
26
- } from "./chunk-MSPGQEWX.js";
26
+ } from "./chunk-BMOK7SQE.js";
27
27
  import {
28
28
  getChromeDevtoolsRelayDecision,
29
29
  normalizeTimeout
30
- } from "./chunk-VLJQSE6L.js";
30
+ } from "./chunk-F5XGHRRC.js";
31
31
  import {
32
32
  isOAuthFlowError,
33
33
  resolveOAuthTimeoutFromEnv
34
- } from "./chunk-AIUZOMBB.js";
34
+ } from "./chunk-7LKVFBEL.js";
35
35
  import {
36
36
  withRuntimeEnvironment
37
- } from "./chunk-BI6L3SYV.js";
37
+ } from "./chunk-33P3PYCH.js";
38
38
  import {
39
39
  RawEntrySchema,
40
40
  VaultEncryptionPolicySchema,
41
41
  loadServerDefinitions
42
- } from "./chunk-Y7JQJ352.js";
42
+ } from "./chunk-CSUDITHP.js";
43
43
  import {
44
44
  isProcessRunning,
45
45
  withFileLock,
46
46
  writeJsonFile
47
- } from "./chunk-TTVO6RCP.js";
47
+ } from "./chunk-QRC4AH7I.js";
48
48
  import {
49
49
  mcporterDir
50
- } from "./chunk-G5DK4L6M.js";
50
+ } from "./chunk-RAUI7O2B.js";
51
51
  import {
52
52
  isKeepAliveServer
53
- } from "./chunk-CWM4RO33.js";
53
+ } from "./chunk-L3BBHB3E.js";
54
54
  import {
55
55
  SdkErrorCode,
56
56
  external_exports
57
- } from "./chunk-EUHXZKP2.js";
57
+ } from "./chunk-N53HQB4G.js";
58
58
 
59
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/socket-rpc.js
59
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/socket-rpc.js
60
60
  import { createHmac, randomBytes, timingSafeEqual } from "node:crypto";
61
61
  import fs from "node:fs/promises";
62
62
  import net from "node:net";
63
63
  import path from "node:path";
64
64
 
65
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/protocol.js
65
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/protocol.js
66
66
  var DAEMON_PROTOCOL_VERSION = 3;
67
67
  var MAX_DAEMON_PAYLOAD_BYTES = 4 * 1024 * 1024;
68
68
  var DAEMON_PROGRESS_INTERVAL_MS = 250;
@@ -87,7 +87,7 @@ function resolveProgressTiming(requestedIdleTimeoutMs) {
87
87
  };
88
88
  }
89
89
 
90
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/socket-rpc.js
90
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/socket-rpc.js
91
91
  async function daemonKey() {
92
92
  await secureDaemonDirectory();
93
93
  const file = path.join(daemonRunDir(), "user.key");
@@ -238,11 +238,11 @@ async function requestDaemon(socketPath, request, idleTimeoutMs) {
238
238
  }
239
239
  }
240
240
 
241
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/client.js
241
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/client.js
242
242
  import { randomUUID as randomUUID3 } from "node:crypto";
243
243
  import fs3 from "node:fs/promises";
244
244
 
245
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/process-retirement.js
245
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/process-retirement.js
246
246
  import { execFile } from "node:child_process";
247
247
  import { promisify } from "node:util";
248
248
  var exec = promisify(execFile);
@@ -385,7 +385,7 @@ async function processInventory(pids, tree = false) {
385
385
  });
386
386
  });
387
387
  }
388
- const { stdout } = await exec("ps", ["-axo", "pid=,ppid=,uid=,lstart="], {
388
+ const { stdout } = await exec("ps", ["-axo", "pid=", "-o", "ppid=", "-o", "uid=", "-o", "lstart="], {
389
389
  timeout: 5e3,
390
390
  maxBuffer: 4 * 1024 * 1024
391
391
  });
@@ -403,12 +403,17 @@ async function ownedProcessTree(pid) {
403
403
  if (!root || !root.born || root.owner !== inventory.owner)
404
404
  throw new Error("Legacy daemon process ownership could not be verified.");
405
405
  const result = [root];
406
- for (let i = 0; i < result.length; i++)
406
+ const visited = /* @__PURE__ */ new Set([pid]);
407
+ const frontier = [pid];
408
+ for (const parent of frontier)
407
409
  for (const p of inventory.processes)
408
- if (p.parent === result[i].pid && !result.some((item) => item.pid === p.pid)) {
409
- if (!p.born || p.owner !== inventory.owner)
410
+ if (p.parent === parent && !visited.has(p.pid)) {
411
+ if (!p.born || !p.owner)
410
412
  throw new Error("Legacy child ownership could not be verified.");
411
- result.push(p);
413
+ visited.add(p.pid);
414
+ frontier.push(p.pid);
415
+ if (p.owner === inventory.owner)
416
+ result.push(p);
412
417
  }
413
418
  return result;
414
419
  }
@@ -441,24 +446,24 @@ async function awaitRetirement(identities) {
441
446
  throw new Error("Verified legacy processes have not retired; cutover remains blocked. No process was signalled.");
442
447
  }
443
448
 
444
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/migration.js
449
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/migration.js
445
450
  import fs2 from "node:fs/promises";
446
451
  import net2 from "node:net";
447
452
  import path2 from "node:path";
448
453
  import { randomUUID as randomUUID2 } from "node:crypto";
449
454
 
450
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/idle-timer.js
455
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/idle-timer.js
451
456
  var MAX_NATIVE_TIMER_MS = 2147483647;
452
457
  function idleTimerDelay(timeoutMs, lastActivity) {
453
458
  const remaining = timeoutMs - (Date.now() - lastActivity);
454
459
  return Math.min(MAX_NATIVE_TIMER_MS, Math.max(1, remaining > 0 ? remaining : timeoutMs));
455
460
  }
456
461
 
457
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/broker.js
462
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/broker.js
458
463
  import { AsyncLocalStorage } from "node:async_hooks";
459
464
  import { randomUUID } from "node:crypto";
460
465
 
461
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/view-codec.js
466
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/view-codec.js
462
467
  var command = external_exports.discriminatedUnion("kind", [
463
468
  external_exports.object({
464
469
  kind: external_exports.literal("stdio"),
@@ -500,7 +505,7 @@ function decodeView(value) {
500
505
  return { definitions, clientInfo: parsed.clientInfo };
501
506
  }
502
507
 
503
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/broker.js
508
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/broker.js
504
509
  var notices = new AsyncLocalStorage();
505
510
  var MAX_TRANSPORTS = 256;
506
511
  var unconnected = (entry) => entry.state === "idle" || entry.state === "pending" && !entry.connection;
@@ -777,14 +782,17 @@ var DaemonBroker = class {
777
782
  };
778
783
  }
779
784
  async close() {
780
- this.draining = true;
781
785
  if (this.activeRequests > 0)
782
786
  throw new BrokerError("active_calls", "Active calls are still running; wait for completion before stopping.");
787
+ const unverified = () => new BrokerError("transport_retirement_failed", "Retirement is unverified; inspect the previous transport before stopping this owner.");
788
+ if ([...this.entries.values()].some((entry) => entry.state === "retirement-failed" && !entry.processes))
789
+ throw unverified();
790
+ this.draining = true;
783
791
  for (const entry of this.entries.values()) {
784
792
  clearTimeout(entry.idleTimer);
785
793
  await entry.serial;
786
794
  if (entry.state === "retirement-failed" && !entry.processes)
787
- throw new BrokerError("transport_retirement_failed", "Retirement is unverified; inspect the previous transport before stopping this owner.");
795
+ throw unverified();
788
796
  if (entry.state !== "idle")
789
797
  await this.retire(entry);
790
798
  }
@@ -878,7 +886,7 @@ var DaemonBroker = class {
878
886
  }
879
887
  };
880
888
 
881
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/migration.js
889
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/migration.js
882
890
  async function probeDaemon(socketPath, method = "status") {
883
891
  return new Promise((resolve) => {
884
892
  const socket = net2.createConnection(socketPath);
@@ -984,7 +992,7 @@ async function stopVerifiedLegacyDaemons() {
984
992
  }
985
993
  }
986
994
 
987
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/startup-readiness.js
995
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/startup-readiness.js
988
996
  var DAEMON_STARTUP_TIMEOUT_MS = 45e3;
989
997
  var DAEMON_STARTUP_SLOW_NOTICE_MS = 5e3;
990
998
  var DAEMON_STARTUP_POLL_INTERVAL_MS = 100;
@@ -1031,7 +1039,7 @@ function delay(ms) {
1031
1039
  });
1032
1040
  }
1033
1041
 
1034
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/client.js
1042
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/client.js
1035
1043
  var DEFAULT_DAEMON_TIMEOUT_MS = 3e4;
1036
1044
  function resolveDaemonPaths(configPath) {
1037
1045
  const key = "user";
@@ -1199,7 +1207,7 @@ var DaemonClient = class {
1199
1207
  if (previous && !isProcessRunning(previous.pid))
1200
1208
  throw new Error("Previous daemon exited unexpectedly; verify retirement of its transports before deliberate recovery. No replacement was launched.");
1201
1209
  this.startingPromise ??= (async () => {
1202
- const { launchDaemonDetached } = await import("./launch-LUKDWKH4.js");
1210
+ const { launchDaemonDetached } = await import("./launch-YFY4X7YJ.js");
1203
1211
  await launchDaemonDetached({
1204
1212
  configPath: this.options.configPath,
1205
1213
  metadataPath: this.metadataPath,
@@ -9,10 +9,10 @@ import {
9
9
  mcpDaemonRequestContext,
10
10
  runWithMcpCommandEnv,
11
11
  serializeMcpDaemonEnvelope
12
- } from "./chunk-73TMUGJL.js";
12
+ } from "./chunk-3UONQ24E.js";
13
13
  import {
14
14
  createMcpRuntime
15
- } from "./chunk-TT3LOCMN.js";
15
+ } from "./chunk-V65N6VX7.js";
16
16
 
17
17
  // src/mcp/daemon/server.ts
18
18
  import { existsSync } from "node:fs";
@@ -4,7 +4,7 @@ import {
4
4
  printParseErrorCode
5
5
  } from "./chunk-T4MQCFIK.js";
6
6
 
7
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/imports/shared.js
7
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/config/imports/shared.js
8
8
  function parseJsonBuffer(buffer) {
9
9
  const errors = [];
10
10
  const parsed = parse(buffer.replace(/^\uFEFF/, ""), errors, { allowTrailingComma: true });
@@ -1,16 +1,16 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  CliUsageError
4
- } from "./chunk-EV3SP7ME.js";
4
+ } from "./chunk-W3HK334E.js";
5
5
  import {
6
6
  raceWithTimeout,
7
7
  resolveChromeDevtoolsAutoConnectCommand,
8
8
  resolveChromeDevtoolsRelayEnvironment,
9
9
  resolveCommandArgument,
10
10
  resolveCommandArguments
11
- } from "./chunk-VLJQSE6L.js";
11
+ } from "./chunk-F5XGHRRC.js";
12
12
 
13
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/timeouts.js
13
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/timeouts.js
14
14
  var DEFAULT_LIST_TIMEOUT_MS = 3e4;
15
15
  var DEFAULT_CALL_TIMEOUT_MS = 6e4;
16
16
  var DEFAULT_CHROME_TIMEOUT_MS = 3e5;
@@ -1,9 +1,9 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  logWarn
4
- } from "./chunk-CIQX62WO.js";
4
+ } from "./chunk-RFQCNCWI.js";
5
5
 
6
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/output-utils.js
6
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/output-utils.js
7
7
  import fs from "node:fs";
8
8
  import path from "node:path";
9
9
  import { inspect } from "node:util";
@@ -1,12 +1,12 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  mcporterConfigCandidates
4
- } from "./chunk-G5DK4L6M.js";
4
+ } from "./chunk-RAUI7O2B.js";
5
5
  import {
6
6
  expandHome
7
- } from "./chunk-4ACA5GWL.js";
7
+ } from "./chunk-IX6HNQSH.js";
8
8
 
9
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/path-discovery.js
9
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/config/path-discovery.js
10
10
  import fsSync from "node:fs";
11
11
  import fs from "node:fs/promises";
12
12
  import path from "node:path";
@@ -1,9 +1,12 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  pickSharedDefinitionFields
4
- } from "./chunk-Z43KJRXY.js";
4
+ } from "./chunk-KUP2GHFE.js";
5
+ import {
6
+ CliUsageError
7
+ } from "./chunk-W3HK334E.js";
5
8
 
6
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli-metadata.js
9
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli-metadata.js
7
10
  import { spawn } from "node:child_process";
8
11
  import fs from "node:fs/promises";
9
12
  function metadataPathForArtifact(artifactPath) {
@@ -108,20 +111,20 @@ function serializeDefinition(definition) {
108
111
  };
109
112
  }
110
113
 
111
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/generate/tool-selection.js
114
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/tool-selection.js
112
115
  function validateToolSelection(includeTools, excludeTools, context) {
113
116
  if (includeTools && excludeTools) {
114
- throw new Error(context.mutuallyExclusiveMessage);
117
+ throw new CliUsageError(context.mutuallyExclusiveMessage);
115
118
  }
116
119
  if (includeTools && includeTools.length === 0) {
117
- throw new Error("--include-tools requires at least one tool name.");
120
+ throw new CliUsageError("--include-tools requires at least one tool name.");
118
121
  }
119
122
  if (excludeTools && excludeTools.length === 0) {
120
- throw new Error("--exclude-tools requires at least one tool name.");
123
+ throw new CliUsageError("--exclude-tools requires at least one tool name.");
121
124
  }
122
125
  }
123
126
 
124
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/generate/template-data.js
127
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/template-data.js
125
128
  function buildGenerateCliCommand(invocation, definition, globalFlags = {}) {
126
129
  const tokens = ["mcporter"];
127
130
  const configPath = invocation.configPath ?? globalFlags["--config"];
@@ -170,7 +173,7 @@ function buildGenerateCliCommand(invocation, definition, globalFlags = {}) {
170
173
  }
171
174
  function resolveGenerateRequestFromArtifact(parsed, metadata, globalFlags) {
172
175
  if (!parsed.from) {
173
- throw new Error("Missing --from artifact path.");
176
+ throw new CliUsageError("Missing --from artifact path.");
174
177
  }
175
178
  const invocation = { ...metadata.invocation };
176
179
  const serverRef = parsed.server ?? invocation.serverRef ?? metadata.server.name ?? JSON.stringify(metadata.server.definition);
@@ -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-7KOGD2JK.js";
4
+ } from "./chunk-VKRJV2OQ.js";
5
5
 
6
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/result-utils.js
6
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/result-utils.js
7
7
  function extractEnvelope(raw) {
8
8
  return collectEnvelopeFields(raw, { content: null, structuredContent: null }, 0);
9
9
  }
@@ -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.17.0/node_modules/mcporter/dist/process-utils.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/process-utils.js
4
4
  function isProcessRunning(pid) {
5
5
  if (!Number.isInteger(pid) || pid <= 0) {
6
6
  return false;
@@ -13,7 +13,7 @@ function isProcessRunning(pid) {
13
13
  }
14
14
  }
15
15
 
16
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/fs-json.js
16
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/fs-json.js
17
17
  import crypto from "node:crypto";
18
18
  import { constants } from "node:fs";
19
19
  import fs from "node:fs/promises";
@@ -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.17.0/node_modules/mcporter/dist/cli/json-output.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/json-output.js
4
4
  function buildConnectionIssueEnvelope(params) {
5
5
  return {
6
6
  server: params.server,
@@ -1,9 +1,9 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  expandHome
4
- } from "./chunk-4ACA5GWL.js";
4
+ } from "./chunk-IX6HNQSH.js";
5
5
 
6
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/paths.js
6
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/paths.js
7
7
  import os from "node:os";
8
8
  import path from "node:path";
9
9
  var XDG_HOME_ENV = {
@@ -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.17.0/node_modules/mcporter/dist/daemon/launch.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/launch.js
4
4
  import { spawn } from "node:child_process";
5
5
  import path from "node:path";
6
6
  import { existsSync } from "node:fs";
@@ -2,9 +2,9 @@ import { createRequire as __createRequire } from "node:module"; const require =
2
2
  import {
3
3
  createPrefixedConsoleLogger,
4
4
  resolveLogLevelFromEnv
5
- } from "./chunk-YFPPHEDE.js";
5
+ } from "./chunk-FMLYITVD.js";
6
6
 
7
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/logger-context.js
7
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/logger-context.js
8
8
  var activeLogLevel = resolveLogLevelFromEnv();
9
9
  var activeLogger = createPrefixedConsoleLogger("mcporter", activeLogLevel);
10
10
  function getActiveLogLevel() {
@@ -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.17.0/node_modules/mcporter/dist/sdk-stdio-logging.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/sdk-stdio-logging.js
4
4
  var STDIO_LOGS_FORCED = process.env.MCPORTER_STDIO_LOGS === "1";
5
5
  var STDIO_TRACE_ENABLED = process.env.MCPORTER_STDIO_TRACE === "1";
6
6
  var stdioLogMode = STDIO_LOGS_FORCED ? "always" : "auto";
@@ -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/rolldown@1.2.16/node_modules/rolldown/dist/shared/rolldown-runtime-DYf_mQCB.mjs
3
+ // node_modules/.pnpm/rolldown@1.3.2/node_modules/rolldown/dist/shared/rolldown-runtime-BVN1G_yT.mjs
4
4
  import { createRequire } from "node:module";
5
5
  var __create = Object.create;
6
6
  var __defProp = Object.defineProperty;
@@ -9,14 +9,14 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
9
9
  var __getProtoOf = Object.getPrototypeOf;
10
10
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
11
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
12
- var __exportAll = (all, no_symbols) => {
13
- let target = {};
12
+ var __exportAll = (all, flags) => {
13
+ let target = Object.setPrototypeOf({}, null);
14
14
  for (var name in all) __defProp(target, name, {
15
15
  get: all[name],
16
16
  enumerable: true
17
17
  });
18
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
19
- return target;
18
+ if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
19
+ return flags & 2 ? target : Object.preventExtensions(target);
20
20
  };
21
21
  var __copyProps = (to, from, except, desc) => {
22
22
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
@@ -1,23 +1,26 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
+ import {
3
+ CliUsageError
4
+ } from "./chunk-W3HK334E.js";
2
5
  import {
3
6
  __configInternals
4
- } from "./chunk-Y7JQJ352.js";
7
+ } from "./chunk-CSUDITHP.js";
5
8
  import {
6
9
  isRecord
7
- } from "./chunk-OSK2JGFH.js";
10
+ } from "./chunk-PBYZ5QZW.js";
8
11
  import {
9
12
  withFileLock,
10
13
  writeTextFileAtomic
11
- } from "./chunk-TTVO6RCP.js";
14
+ } from "./chunk-QRC4AH7I.js";
12
15
  import {
13
16
  expandHome
14
- } from "./chunk-4ACA5GWL.js";
17
+ } from "./chunk-IX6HNQSH.js";
15
18
  import {
16
19
  canonicalKeepAliveName,
17
20
  resolveLifecycle
18
- } from "./chunk-CWM4RO33.js";
21
+ } from "./chunk-L3BBHB3E.js";
19
22
 
20
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/ascii-slug.js
23
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/ascii-slug.js
21
24
  function toAsciiSlug(value) {
22
25
  let slug = "";
23
26
  let pendingSeparator = false;
@@ -38,24 +41,24 @@ function toAsciiSlug(value) {
38
41
  return slug;
39
42
  }
40
43
 
41
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/adhoc-server.js
44
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/adhoc-server.js
42
45
  import fs from "node:fs/promises";
43
46
  import path from "node:path";
44
47
  var TEMP_SOURCE = { kind: "local", path: "<adhoc>" };
45
48
  function resolveEphemeralServer(spec) {
46
49
  if (!spec.httpUrl && !spec.stdioCommand) {
47
- throw new Error("Ad-hoc servers require either --http-url or --stdio.");
50
+ throw new CliUsageError("Ad-hoc servers require either --http-url or --stdio.");
48
51
  }
49
52
  if (spec.httpUrl && spec.stdioCommand) {
50
- throw new Error("Cannot combine --http-url and --stdio in the same ad-hoc server.");
53
+ throw new CliUsageError("Cannot combine --http-url and --stdio in the same ad-hoc server.");
51
54
  }
52
55
  if (spec.httpUrl) {
53
56
  const url = new URL(spec.httpUrl);
54
57
  if (url.protocol !== "https:" && url.protocol !== "http:") {
55
- throw new Error(`Unsupported protocol '${url.protocol}' for --http-url.`);
58
+ throw new CliUsageError(`Unsupported protocol '${url.protocol}' for --http-url.`);
56
59
  }
57
60
  if (url.protocol === "http:" && !spec.allowInsecureHttp) {
58
- throw new Error("HTTP endpoints require --allow-http to confirm insecure usage.");
61
+ throw new CliUsageError("HTTP endpoints require --allow-http to confirm insecure usage.");
59
62
  }
60
63
  const command2 = {
61
64
  kind: "http",
@@ -84,8 +87,8 @@ function resolveEphemeralServer(spec) {
84
87
  }
85
88
  const stdioCommand = spec.stdioCommand;
86
89
  const parts = splitCommandLine(stdioCommand);
87
- if (parts.length === 0) {
88
- throw new Error("--stdio requires a non-empty command.");
90
+ if (parts.length === 0 || parts[0] === "") {
91
+ throw new CliUsageError("--stdio requires a non-empty command.");
89
92
  }
90
93
  const [commandBinary, ...commandRest] = parts;
91
94
  const commandArgs = commandRest.concat(spec.stdioArgs ?? []);
@@ -209,7 +212,7 @@ function stripPackageVersion(token) {
209
212
  function normalizeEphemeralName(value) {
210
213
  const name = toAsciiSlug(value);
211
214
  if (!name) {
212
- throw new Error("Ad-hoc server name must contain at least one letter or digit.");
215
+ throw new CliUsageError("Ad-hoc server name must contain at least one letter or digit.");
213
216
  }
214
217
  return name;
215
218
  }
@@ -218,20 +221,24 @@ function splitCommandLine(input) {
218
221
  let current = "";
219
222
  let inSingle = false;
220
223
  let inDouble = false;
224
+ let hasQuotedSegment = false;
221
225
  for (let i = 0; i < input.length; i += 1) {
222
226
  const char = input.charAt(i);
223
227
  if (char === "'" && !inDouble) {
228
+ hasQuotedSegment = true;
224
229
  inSingle = !inSingle;
225
230
  continue;
226
231
  }
227
232
  if (char === '"' && !inSingle) {
233
+ hasQuotedSegment = true;
228
234
  inDouble = !inDouble;
229
235
  continue;
230
236
  }
231
237
  if (!inSingle && !inDouble && /\s/.test(char)) {
232
- if (current !== "") {
238
+ if (current !== "" || hasQuotedSegment) {
233
239
  result.push(current);
234
240
  current = "";
241
+ hasQuotedSegment = false;
235
242
  }
236
243
  continue;
237
244
  }
@@ -248,9 +255,9 @@ function splitCommandLine(input) {
248
255
  current += char;
249
256
  }
250
257
  if (inSingle || inDouble) {
251
- throw new Error("Unterminated quote in --stdio command.");
258
+ throw new CliUsageError("Unterminated quote in --stdio command.");
252
259
  }
253
- if (current !== "") {
260
+ if (current !== "" || hasQuotedSegment) {
254
261
  result.push(current);
255
262
  }
256
263
  return result;
@@ -1,15 +1,15 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  createKeepAliveRuntime
4
- } from "./chunk-W47YAN6W.js";
4
+ } from "./chunk-5AVROWKC.js";
5
5
  import {
6
6
  DaemonClient
7
- } from "./chunk-ABPXAKP7.js";
7
+ } from "./chunk-OH3HVZE7.js";
8
8
  import {
9
9
  isKeepAliveServer
10
- } from "./chunk-CWM4RO33.js";
10
+ } from "./chunk-L3BBHB3E.js";
11
11
 
12
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/generated-daemon-runtime.js
12
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/generated-daemon-runtime.js
13
13
  async function createGeneratedKeepAliveRuntime(base, server) {
14
14
  if (!isKeepAliveServer(server)) {
15
15
  return {
@@ -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.17.0/node_modules/mcporter/dist/cli/terminal.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/terminal.js
4
4
  var forceColorRaw = process.env.FORCE_COLOR?.toLowerCase();
5
5
  var forceDisableColor = forceColorRaw === "0" || forceColorRaw === "false";
6
6
  var forceEnableColor = forceColorRaw === "1" || forceColorRaw === "true" || forceColorRaw === "2" || forceColorRaw === "3";
@@ -18,11 +18,11 @@ function mcpRuntimeKind(configPath = process.env.MCPORTER_CONFIG, env = process.
18
18
  }
19
19
  async function createMcpRuntime(configPath = process.env.MCPORTER_CONFIG, env = process.env) {
20
20
  if (mcpRuntimeKind(configPath, env) === "pi-mcp")
21
- return (await import("./pi-mcp-runtime-OIMIJV5A.js")).PiMcpRuntime.fromConfigFile(
21
+ return (await import("./pi-mcp-runtime-V2OMZAIR.js")).PiMcpRuntime.fromConfigFile(
22
22
  configPath,
23
23
  env
24
24
  );
25
- const { createRuntime } = await import("./dist-5JNZD3JV.js");
25
+ const { createRuntime } = await import("./dist-GMDBFGJD.js");
26
26
  return await createRuntime(configPath ? { configPath } : {});
27
27
  }
28
28
 
@@ -3,9 +3,9 @@ import {
3
3
  SdkHttpError,
4
4
  SseError,
5
5
  UnauthorizedError
6
- } from "./chunk-EUHXZKP2.js";
6
+ } from "./chunk-N53HQB4G.js";
7
7
 
8
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/error-classifier.js
8
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/error-classifier.js
9
9
  var AUTH_STATUSES = /* @__PURE__ */ new Set([401, 403]);
10
10
  var KEYWORD_AUTH_PATTERNS = [/unauthorized/, /invalid_token/, /forbidden/];
11
11
  var NUMERIC_AUTH_PATTERNS = [/(?<![0-9a-z_])401(?![0-9a-z_])/i];