@introspection-ai/recipes 0.27.4 → 0.29.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 (119) hide show
  1. package/dist/agents.d.ts +34 -0
  2. package/dist/agents.d.ts.map +1 -1
  3. package/dist/agents.js +87 -0
  4. package/dist/agents.js.map +1 -1
  5. package/dist/child/agent.d.ts +5 -0
  6. package/dist/child/agent.d.ts.map +1 -1
  7. package/dist/child/agent.js +19 -8
  8. package/dist/child/agent.js.map +1 -1
  9. package/dist/child/session.d.ts +31 -4
  10. package/dist/child/session.d.ts.map +1 -1
  11. package/dist/child/session.js +65 -3
  12. package/dist/child/session.js.map +1 -1
  13. package/dist/mcp-chunks/{auth-command-GQFV6QYP.js → auth-command-SDTBVC2R.js} +22 -21
  14. package/dist/mcp-chunks/call-arguments-ER7NWEPS.js +16 -0
  15. package/dist/mcp-chunks/{call-command-LMAREWKD.js → call-command-WOZT2DLX.js} +33 -32
  16. package/dist/mcp-chunks/{chunk-5B7GRMUK.js → chunk-27XDYSXJ.js} +1 -1
  17. package/dist/mcp-chunks/{chunk-FONFU4G5.js → chunk-2IO3FXZJ.js} +1 -1
  18. package/dist/mcp-chunks/{chunk-O4JIUOWF.js → chunk-35JUFDQI.js} +2 -2
  19. package/dist/mcp-chunks/{chunk-UYJZJXC2.js → chunk-43QNQO5C.js} +3 -3
  20. package/dist/mcp-chunks/{chunk-LIEFPSSB.js → chunk-4IXQQER3.js} +5 -5
  21. package/dist/mcp-chunks/{chunk-O2VOMKAS.js → chunk-6XBQDCGX.js} +10 -10
  22. package/dist/mcp-chunks/{chunk-S2YF442K.js → chunk-7CI6DKEP.js} +2 -2
  23. package/dist/mcp-chunks/{chunk-H7ARMBV7.js → chunk-7OQUF6V6.js} +26 -10
  24. package/dist/mcp-chunks/{chunk-S6GJ42I2.js → chunk-7X3JHUMH.js} +1 -1
  25. package/dist/mcp-chunks/{chunk-D6B2M5V7.js → chunk-7ZZZ7MR2.js} +1 -1
  26. package/dist/mcp-chunks/{chunk-WHJUDBPR.js → chunk-AHDUZPNI.js} +2 -1
  27. package/dist/mcp-chunks/{chunk-QALB3DRW.js → chunk-ALLS7CUV.js} +1 -1
  28. package/dist/mcp-chunks/{chunk-6RG6AD5X.js → chunk-ASFI5AJK.js} +17 -11
  29. package/dist/mcp-chunks/{chunk-LQIE4PKL.js → chunk-CMDB57MS.js} +2 -2
  30. package/dist/mcp-chunks/{chunk-HZ2SX5U6.js → chunk-CO4CYU5W.js} +11 -11
  31. package/dist/mcp-chunks/{chunk-TUQGOYK6.js → chunk-CRX2G22W.js} +1 -1
  32. package/dist/mcp-chunks/{chunk-UKM35J67.js → chunk-DUJ5WAHC.js} +2 -2
  33. package/dist/mcp-chunks/{chunk-RIHPVCGI.js → chunk-EIF7GALA.js} +1 -1
  34. package/dist/mcp-chunks/{chunk-QJNF3A3F.js → chunk-EIXFNLU6.js} +1 -1
  35. package/dist/mcp-chunks/{chunk-77BZYP72.js → chunk-FMYP6JXX.js} +1 -1
  36. package/dist/mcp-chunks/{chunk-LXHPDKEF.js → chunk-FQAJT6U2.js} +1 -1
  37. package/dist/mcp-chunks/{chunk-7WL4TMON.js → chunk-FUKRLUU7.js} +4 -4
  38. package/dist/mcp-chunks/{chunk-L6OOGZVA.js → chunk-FVZKQMZS.js} +21 -7
  39. package/dist/mcp-chunks/{chunk-RZIJUJGL.js → chunk-FWWPRZ37.js} +31 -40
  40. package/dist/mcp-chunks/{chunk-KQCLM7R7.js → chunk-GJ7DWMRT.js} +1 -1
  41. package/dist/mcp-chunks/{chunk-LCBDVFVA.js → chunk-HM26TIPK.js} +1 -1
  42. package/dist/mcp-chunks/{chunk-JVYCENPP.js → chunk-IJTZ2ZRM.js} +4 -4
  43. package/dist/mcp-chunks/{chunk-S5F3HEZZ.js → chunk-IR5SMKTP.js} +425 -445
  44. package/dist/mcp-chunks/{chunk-7PFJCLXL.js → chunk-IWXEOLJL.js} +20 -16
  45. package/dist/mcp-chunks/{chunk-D6SVCPN6.js → chunk-JQCSGX6E.js} +1 -1
  46. package/dist/mcp-chunks/{chunk-P463YBJM.js → chunk-JRU5LZJQ.js} +1 -1
  47. package/dist/mcp-chunks/{chunk-XNHGMWN2.js → chunk-M7VINGHY.js} +9 -7
  48. package/dist/mcp-chunks/{chunk-IF6LRV3J.js → chunk-OURSGEZX.js} +8 -8
  49. package/dist/mcp-chunks/{chunk-H4KL74PV.js → chunk-P3S4OJPI.js} +9 -9
  50. package/dist/mcp-chunks/{chunk-P3UVILEW.js → chunk-POYT6GCW.js} +29 -5
  51. package/dist/mcp-chunks/{chunk-5BMCVE2J.js → chunk-R636HUNL.js} +17 -13
  52. package/dist/mcp-chunks/{chunk-TYYSBILI.js → chunk-SONMFI3S.js} +70 -28
  53. package/dist/mcp-chunks/{chunk-I6UMKX5E.js → chunk-SVCKS5MW.js} +4 -4
  54. package/dist/mcp-chunks/{chunk-NQW3ES2G.js → chunk-TDBM2UIR.js} +1 -1
  55. package/dist/mcp-chunks/{chunk-VJIAHZZG.js → chunk-TKZA4MPW.js} +4 -4
  56. package/dist/mcp-chunks/{chunk-2P2HVZ3G.js → chunk-UHXTAPEC.js} +1 -1
  57. package/dist/mcp-chunks/{chunk-CLR6DJV3.js → chunk-UXI26V4F.js} +1 -1
  58. package/dist/mcp-chunks/{chunk-UIPG6W7N.js → chunk-UYG7PAN2.js} +2 -2
  59. package/dist/mcp-chunks/{chunk-2HOMVWSA.js → chunk-VCPUZFU7.js} +2 -2
  60. package/dist/mcp-chunks/{chunk-FBVRU4Y3.js → chunk-VRTH73R5.js} +40 -33
  61. package/dist/mcp-chunks/{chunk-KOWNVUL2.js → chunk-VWNF5PIF.js} +2 -2
  62. package/dist/mcp-chunks/{chunk-MJFZM5EV.js → chunk-WQBESOWG.js} +22 -5
  63. package/dist/mcp-chunks/chunk-XDARNDP3.js +25 -0
  64. package/dist/mcp-chunks/{chunk-OSYB5GNF.js → chunk-XUJQ6U6M.js} +3 -3
  65. package/dist/mcp-chunks/{chunk-PJCMJ65D.js → chunk-YGRORKGT.js} +226 -101
  66. package/dist/mcp-chunks/{chunk-C2VLY7ED.js → chunk-YM7ZVYI2.js} +4 -4
  67. package/dist/mcp-chunks/{chunk-6QZQZXDJ.js → chunk-YTO7DITJ.js} +3 -3
  68. package/dist/mcp-chunks/{chunk-UHO6KIUJ.js → chunk-ZLV5S5UP.js} +2 -2
  69. package/dist/mcp-chunks/{cli-JI7MEAAX.js → cli-67GWFF4R.js} +69 -68
  70. package/dist/mcp-chunks/client-MQMNAYYW.js +31 -0
  71. package/dist/mcp-chunks/{config-command-GRZLKD3R.js → config-command-3IKIRWMW.js} +41 -27
  72. package/dist/mcp-chunks/daemon-command-OMOZ5MP7.js +31 -0
  73. package/dist/mcp-chunks/{dist-USMCQ22V.js → dist-YL3LFKVP.js} +219 -202
  74. package/dist/mcp-chunks/{emit-ts-command-7VLESP7H.js → emit-ts-command-YWKROLL2.js} +84 -70
  75. package/dist/mcp-chunks/{generate-cli-runner-SSW2B72K.js → generate-cli-runner-CZEVY2Y7.js} +51 -48
  76. package/dist/mcp-chunks/generated-daemon-runtime-SRFULTIT.js +31 -0
  77. package/dist/mcp-chunks/{inspect-cli-command-NCGCMOIS.js → inspect-cli-command-5Y2LORK5.js} +9 -9
  78. package/dist/mcp-chunks/{launch-NBONSPNK.js → launch-43TA3HYF.js} +1 -1
  79. package/dist/mcp-chunks/{lifecycle-CXAKUCN4.js → lifecycle-BY2ILXTB.js} +1 -1
  80. package/dist/mcp-chunks/{list-command-5T4UF4PF.js → list-command-7RU7NNAV.js} +56 -43
  81. package/dist/mcp-chunks/{output-utils-YFTWQZ5V.js → output-utils-2R3SA6KR.js} +3 -3
  82. package/dist/mcp-chunks/{prompt-CH6TK0bC-6DI4RA4E.js → prompt-CH6TK0bC-GKQOEUY4.js} +1 -1
  83. package/dist/mcp-chunks/{record-command-TE5O7WBL.js → record-command-ROIRRNFS.js} +5 -5
  84. package/dist/mcp-chunks/{replay-command-QCUL5ASR.js → replay-command-Y2MYVQTL.js} +6 -6
  85. package/dist/mcp-chunks/{resource-command-XMGF7EAK.js → resource-command-VUV7AYYQ.js} +9 -9
  86. package/dist/mcp-chunks/{result-utils-HKB42M7Y.js → result-utils-5U7NVXDZ.js} +3 -3
  87. package/dist/mcp-chunks/runtime-Q4SCCOQE.js +38 -0
  88. package/dist/mcp-chunks/{runtime-wrapper-MI3HF45J.js → runtime-wrapper-3BVFTSWJ.js} +3 -3
  89. package/dist/mcp-chunks/{serve-command-5HV3ZE25.js → serve-command-BXLQWHFW.js} +8969 -1147
  90. package/dist/mcp-chunks/{timeouts-YBFBTLV2.js → timeouts-6GL2F44N.js} +3 -3
  91. package/dist/mcp-chunks/{vault-command-FC2PD5U6.js → vault-command-JCMW3DQA.js} +4 -4
  92. package/dist/mcp-chunks/{webapi-IFUPO72B.js → webapi-UMWFGMQV.js} +46 -46
  93. package/dist/mcp-daemon.js +27 -26
  94. package/dist/mcp-run-worker.js +27 -26
  95. package/dist/pi-extension.d.ts.map +1 -1
  96. package/dist/pi-extension.js +22 -19
  97. package/dist/pi-extension.js.map +1 -1
  98. package/dist/recipe/model.d.ts.map +1 -1
  99. package/dist/recipe/model.js +25 -1
  100. package/dist/recipe/model.js.map +1 -1
  101. package/dist/run-controller.d.ts +10 -3
  102. package/dist/run-controller.d.ts.map +1 -1
  103. package/dist/run-controller.js +23 -11
  104. package/dist/run-controller.js.map +1 -1
  105. package/dist/session.d.ts +13 -0
  106. package/dist/session.d.ts.map +1 -1
  107. package/dist/session.js +15 -9
  108. package/dist/session.js.map +1 -1
  109. package/docs/agent-composition.md +27 -6
  110. package/docs/host-api.md +32 -4
  111. package/docs/mcp-configuration.md +12 -3
  112. package/docs/pi-extension.md +7 -4
  113. package/docs/recipe-format.md +14 -5
  114. package/package.json +11 -11
  115. package/dist/mcp-chunks/call-arguments-VT7JLNJY.js +0 -16
  116. package/dist/mcp-chunks/client-QU7ABSNB.js +0 -30
  117. package/dist/mcp-chunks/daemon-command-3266CYHO.js +0 -30
  118. package/dist/mcp-chunks/generated-daemon-runtime-7CFVWLC7.js +0 -30
  119. package/dist/mcp-chunks/runtime-3X2XVS6X.js +0 -37
@@ -1,9 +1,9 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  pickSharedDefinitionFields
4
- } from "./chunk-WHJUDBPR.js";
4
+ } from "./chunk-AHDUZPNI.js";
5
5
 
6
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli-metadata.js
6
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/cli-metadata.js
7
7
  import { spawn } from "node:child_process";
8
8
  import fs from "node:fs/promises";
9
9
  function metadataPathForArtifact(artifactPath) {
@@ -92,7 +92,7 @@ function serializeDefinition(definition) {
92
92
  };
93
93
  }
94
94
 
95
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/tool-selection.js
95
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/cli/generate/tool-selection.js
96
96
  function validateToolSelection(includeTools, excludeTools, context) {
97
97
  if (includeTools && excludeTools) {
98
98
  throw new Error(context.mutuallyExclusiveMessage);
@@ -105,7 +105,7 @@ function validateToolSelection(includeTools, excludeTools, context) {
105
105
  }
106
106
  }
107
107
 
108
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/template-data.js
108
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/cli/generate/template-data.js
109
109
  function buildGenerateCliCommand(invocation, definition, globalFlags = {}) {
110
110
  const tokens = ["mcporter"];
111
111
  const configPath = invocation.configPath ?? globalFlags["--config"];
@@ -1,12 +1,12 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  MCPORTER_VERSION
4
- } from "./chunk-7PFJCLXL.js";
4
+ } from "./chunk-IWXEOLJL.js";
5
5
  import {
6
6
  isKeepAliveServer
7
- } from "./chunk-QJNF3A3F.js";
7
+ } from "./chunk-EIXFNLU6.js";
8
8
 
9
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/runtime-wrapper.js
9
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/daemon/runtime-wrapper.js
10
10
  function createKeepAliveRuntime(base, options) {
11
11
  if (!options.daemonClient || options.keepAliveServers.size === 0) {
12
12
  return base;
@@ -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-D6SVCPN6.js";
4
+ } from "./chunk-JQCSGX6E.js";
5
5
 
6
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/paths.js
6
+ // node_modules/.pnpm/mcporter@0.14.2/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 = {
@@ -4,72 +4,72 @@ import {
4
4
  DEBUG_HANG,
5
5
  dumpActiveHandles,
6
6
  terminateChildProcesses
7
- } from "./chunk-2HOMVWSA.js";
7
+ } from "./chunk-VCPUZFU7.js";
8
8
  import {
9
9
  consumeMatchingTokens,
10
10
  extractFlags
11
- } from "./chunk-S6GJ42I2.js";
11
+ } from "./chunk-7X3JHUMH.js";
12
12
  import {
13
13
  isRecordReplayModeActive,
14
14
  isReplayModeActive
15
- } from "./chunk-CLR6DJV3.js";
15
+ } from "./chunk-UXI26V4F.js";
16
16
  import {
17
17
  parseCallArguments
18
- } from "./chunk-HZ2SX5U6.js";
18
+ } from "./chunk-CO4CYU5W.js";
19
19
  import {
20
20
  CliUsageError
21
- } from "./chunk-QALB3DRW.js";
21
+ } from "./chunk-ALLS7CUV.js";
22
22
  import {
23
23
  getActiveLogLevel,
24
24
  getActiveLogger,
25
25
  logError,
26
26
  logInfo,
27
27
  setLogLevel
28
- } from "./chunk-LQIE4PKL.js";
28
+ } from "./chunk-CMDB57MS.js";
29
29
  import {
30
30
  extractListFlags
31
- } from "./chunk-I6UMKX5E.js";
31
+ } from "./chunk-SVCKS5MW.js";
32
32
  import {
33
33
  chooseClosestIdentifier,
34
34
  renderIdentifierResolutionMessages
35
- } from "./chunk-RIHPVCGI.js";
35
+ } from "./chunk-EIF7GALA.js";
36
36
  import {
37
37
  boldText,
38
38
  dimText,
39
39
  extraDimText,
40
40
  supportsAnsiColor,
41
41
  yellowText
42
- } from "./chunk-TUQGOYK6.js";
42
+ } from "./chunk-CRX2G22W.js";
43
43
  import {
44
44
  STDOUT_FLUSH_TIMEOUT_MS,
45
45
  parsePositiveInteger,
46
46
  resolveCallTimeout
47
- } from "./chunk-KOWNVUL2.js";
48
- import "./chunk-LCBDVFVA.js";
47
+ } from "./chunk-VWNF5PIF.js";
48
+ import "./chunk-HM26TIPK.js";
49
49
  import {
50
50
  looksLikeHttpUrl,
51
51
  splitHttpToolSelector
52
- } from "./chunk-2P2HVZ3G.js";
53
- import "./chunk-5B7GRMUK.js";
52
+ } from "./chunk-UHXTAPEC.js";
53
+ import "./chunk-27XDYSXJ.js";
54
54
  import {
55
55
  createInteractiveElicitationResponder
56
- } from "./chunk-D6B2M5V7.js";
56
+ } from "./chunk-7ZZZ7MR2.js";
57
57
  import {
58
58
  parseLogLevel
59
- } from "./chunk-P463YBJM.js";
59
+ } from "./chunk-JRU5LZJQ.js";
60
60
  import {
61
61
  MCPORTER_VERSION
62
- } from "./chunk-7PFJCLXL.js";
63
- import "./chunk-H4KL74PV.js";
62
+ } from "./chunk-IWXEOLJL.js";
63
+ import "./chunk-P3S4OJPI.js";
64
64
  import {
65
65
  resolveConfigPath
66
- } from "./chunk-UYJZJXC2.js";
67
- import "./chunk-UHO6KIUJ.js";
66
+ } from "./chunk-43QNQO5C.js";
67
+ import "./chunk-ZLV5S5UP.js";
68
68
  import "./chunk-T4MQCFIK.js";
69
- import "./chunk-D6SVCPN6.js";
69
+ import "./chunk-JQCSGX6E.js";
70
70
  import "./chunk-LRKZP7DJ.js";
71
71
 
72
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/cli-factory.js
72
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/cli/cli-factory.js
73
73
  function buildGlobalContext(argv) {
74
74
  const globalFlags = extractFlags(argv, ["--config", "--root", "--log-level", "--oauth-timeout"]);
75
75
  if (globalFlags["--log-level"]) {
@@ -102,7 +102,7 @@ function buildGlobalContext(argv) {
102
102
  return { globalFlags, oauthTimeoutOverride, runtimeOptions };
103
103
  }
104
104
 
105
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/command-inference.js
105
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/cli/command-inference.js
106
106
  var CALL_TOKEN_PATTERN = /[.(]/;
107
107
  function inferCommandRouting(token, args, definitions) {
108
108
  if (!token) {
@@ -174,7 +174,7 @@ function isHttpToolToken(token) {
174
174
  return splitHttpToolSelector(token) !== null;
175
175
  }
176
176
 
177
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/help-output.js
177
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/cli/help-output.js
178
178
  import fsPromises from "node:fs/promises";
179
179
  function printHelp(message) {
180
180
  if (message) {
@@ -325,7 +325,8 @@ function formatGlobalFlags(colorize) {
325
325
  summary: "Time to wait for browser-based OAuth before giving up (default 300000)"
326
326
  }
327
327
  ];
328
- const formatted = entries.map((entry) => ` ${entry.flag.padEnd(34)}${entry.summary}`);
328
+ const flagWidth = Math.max(...entries.map((entry) => entry.flag.length));
329
+ const formatted = entries.map((entry) => ` ${entry.flag.padEnd(flagWidth)} ${entry.summary}`);
329
330
  return [title, ...formatted].join("\n");
330
331
  }
331
332
  function formatQuickStart(colorize) {
@@ -376,7 +377,7 @@ async function resolveCliVersion() {
376
377
  }
377
378
  }
378
379
 
379
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/network-family-autoselection.js
380
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/network-family-autoselection.js
380
381
  import net from "node:net";
381
382
  var NODE_DEFAULT_ATTEMPT_TIMEOUT_MS = 250;
382
383
  var MCPORTER_ATTEMPT_TIMEOUT_MS = 1500;
@@ -410,7 +411,7 @@ function isNodeOptionBoundary(character) {
410
411
  return character === void 0 || character === "'" || character === '"' || /\s/u.test(character);
411
412
  }
412
413
 
413
- // node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli.js
414
+ // node_modules/.pnpm/mcporter@0.14.2/node_modules/mcporter/dist/cli.js
414
415
  configureAutoSelectFamilyAttemptTimeout();
415
416
  var FORCE_EXIT_GRACE_MS = 50;
416
417
  var DAEMON_FAST_PATH_SERVERS = /* @__PURE__ */ new Set(["chrome-devtools", "mobile-mcp", "playwright"]);
@@ -452,31 +453,31 @@ function flushStdioThenForceExit() {
452
453
  });
453
454
  }
454
455
  async function handleAuth(...args) {
455
- const { handleAuth: imported } = await import("./auth-command-GQFV6QYP.js");
456
+ const { handleAuth: imported } = await import("./auth-command-SDTBVC2R.js");
456
457
  return imported(...args);
457
458
  }
458
459
  async function printAuthHelp() {
459
- const { printAuthHelp: imported } = await import("./auth-command-GQFV6QYP.js");
460
+ const { printAuthHelp: imported } = await import("./auth-command-SDTBVC2R.js");
460
461
  imported();
461
462
  }
462
463
  async function handleCall(...args) {
463
- const { handleCall: imported } = await import("./call-command-LMAREWKD.js");
464
+ const { handleCall: imported } = await import("./call-command-WOZT2DLX.js");
464
465
  return imported(...args);
465
466
  }
466
467
  async function handleGenerateCli(...args) {
467
- const { handleGenerateCli: imported } = await import("./generate-cli-runner-SSW2B72K.js");
468
+ const { handleGenerateCli: imported } = await import("./generate-cli-runner-CZEVY2Y7.js");
468
469
  return imported(...args);
469
470
  }
470
471
  async function handleInspectCli(...args) {
471
- const { handleInspectCli: imported } = await import("./inspect-cli-command-NCGCMOIS.js");
472
+ const { handleInspectCli: imported } = await import("./inspect-cli-command-5Y2LORK5.js");
472
473
  return imported(...args);
473
474
  }
474
475
  async function handleList(...args) {
475
- const { handleList: imported } = await import("./list-command-5T4UF4PF.js");
476
+ const { handleList: imported } = await import("./list-command-7RU7NNAV.js");
476
477
  return imported(...args);
477
478
  }
478
479
  async function handleResource(...args) {
479
- const { handleResource: imported } = await import("./resource-command-XMGF7EAK.js");
480
+ const { handleResource: imported } = await import("./resource-command-VUV7AYYQ.js");
480
481
  return imported(...args);
481
482
  }
482
483
  async function runCli(argv) {
@@ -509,23 +510,23 @@ async function runCli(argv) {
509
510
  }
510
511
  if (command === "generate-cli") {
511
512
  if (consumeHelpTokens(args)) {
512
- const { printGenerateCliHelp } = await import("./generate-cli-runner-SSW2B72K.js");
513
+ const { printGenerateCliHelp } = await import("./generate-cli-runner-CZEVY2Y7.js");
513
514
  printGenerateCliHelp();
514
515
  process.exitCode = 0;
515
516
  return;
516
517
  }
517
- const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-SSW2B72K.js");
518
+ const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-CZEVY2Y7.js");
518
519
  await importedHandleGenerateCli(args, globalFlags);
519
520
  return;
520
521
  }
521
522
  if (command === "inspect-cli") {
522
523
  if (consumeHelpTokens(args)) {
523
- const { printInspectCliHelp } = await import("./inspect-cli-command-NCGCMOIS.js");
524
+ const { printInspectCliHelp } = await import("./inspect-cli-command-5Y2LORK5.js");
524
525
  printInspectCliHelp();
525
526
  process.exitCode = 0;
526
527
  return;
527
528
  }
528
- const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-NCGCMOIS.js");
529
+ const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-5Y2LORK5.js");
529
530
  await importedHandleInspectCli(args);
530
531
  return;
531
532
  }
@@ -540,7 +541,7 @@ async function runCli(argv) {
540
541
  ...interactiveElicitation ? { elicitationHandler: interactiveElicitation.handler } : {}
541
542
  };
542
543
  if (command === "daemon") {
543
- const { handleDaemonCli } = await import("./daemon-command-3266CYHO.js");
544
+ const { handleDaemonCli } = await import("./daemon-command-OMOZ5MP7.js");
544
545
  await handleDaemonCli(args, {
545
546
  configPath: configPathResolved,
546
547
  configExplicit: configResolution.explicit,
@@ -549,7 +550,7 @@ async function runCli(argv) {
549
550
  return;
550
551
  }
551
552
  if (command === "serve") {
552
- const { handleServeCli, printServeHelp } = await import("./serve-command-5HV3ZE25.js");
553
+ const { handleServeCli, printServeHelp } = await import("./serve-command-BXLQWHFW.js");
553
554
  if (consumeHelpTokens(args)) {
554
555
  printServeHelp();
555
556
  process.exitCode = 0;
@@ -563,7 +564,7 @@ async function runCli(argv) {
563
564
  return;
564
565
  }
565
566
  if (command === "record") {
566
- const { handleRecordCli, printRecordHelp } = await import("./record-command-TE5O7WBL.js");
567
+ const { handleRecordCli, printRecordHelp } = await import("./record-command-ROIRRNFS.js");
567
568
  if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
568
569
  printRecordHelp();
569
570
  process.exitCode = 0;
@@ -573,7 +574,7 @@ async function runCli(argv) {
573
574
  return;
574
575
  }
575
576
  if (command === "replay") {
576
- const { handleReplayCli, printReplayHelp } = await import("./replay-command-QCUL5ASR.js");
577
+ const { handleReplayCli, printReplayHelp } = await import("./replay-command-Y2MYVQTL.js");
577
578
  if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
578
579
  printReplayHelp();
579
580
  process.exitCode = 0;
@@ -583,7 +584,7 @@ async function runCli(argv) {
583
584
  return;
584
585
  }
585
586
  if (command === "config") {
586
- const { handleConfigCli } = await import("./config-command-GRZLKD3R.js");
587
+ const { handleConfigCli } = await import("./config-command-3IKIRWMW.js");
587
588
  await handleConfigCli({
588
589
  loadOptions: { configPath, rootDir: rootOverride },
589
590
  invokeAuth: (authArgs) => invokeAuthCommand(runtimeOptionsWithPath, authArgs)
@@ -592,14 +593,14 @@ async function runCli(argv) {
592
593
  }
593
594
  if (command === "emit-ts") {
594
595
  if (consumeHelpTokens(args)) {
595
- const { printEmitTsHelp } = await import("./emit-ts-command-7VLESP7H.js");
596
+ const { printEmitTsHelp } = await import("./emit-ts-command-YWKROLL2.js");
596
597
  printEmitTsHelp();
597
598
  process.exitCode = 0;
598
599
  return;
599
600
  }
600
601
  const [{ createRuntime: createRuntime2 }, { handleEmitTs }] = await Promise.all([
601
- import("./runtime-3X2XVS6X.js"),
602
- import("./emit-ts-command-7VLESP7H.js")
602
+ import("./runtime-Q4SCCOQE.js"),
603
+ import("./emit-ts-command-YWKROLL2.js")
603
604
  ]);
604
605
  const runtime2 = await createRuntime2(runtimeOptionsWithPath);
605
606
  try {
@@ -614,10 +615,10 @@ async function runCli(argv) {
614
615
  return;
615
616
  }
616
617
  const [{ createRuntime }, { DaemonClient }, { createKeepAliveRuntime }, { isKeepAliveServer }] = await Promise.all([
617
- import("./runtime-3X2XVS6X.js"),
618
- import("./client-QU7ABSNB.js"),
619
- import("./runtime-wrapper-MI3HF45J.js"),
620
- import("./lifecycle-CXAKUCN4.js")
618
+ import("./runtime-Q4SCCOQE.js"),
619
+ import("./client-MQMNAYYW.js"),
620
+ import("./runtime-wrapper-3BVFTSWJ.js"),
621
+ import("./lifecycle-BY2ILXTB.js")
621
622
  ]);
622
623
  const baseRuntime = await createRuntime(runtimeOptionsWithPath);
623
624
  const recordReplayModeActive = isRecordReplayModeActive();
@@ -639,56 +640,56 @@ async function runCli(argv) {
639
640
  const resolvedArgs = inference.args;
640
641
  if (resolvedCommand === "list") {
641
642
  if (consumeHelpTokens(resolvedArgs)) {
642
- const { printListHelp } = await import("./list-command-5T4UF4PF.js");
643
+ const { printListHelp } = await import("./list-command-7RU7NNAV.js");
643
644
  printListHelp();
644
645
  process.exitCode = 0;
645
646
  return;
646
647
  }
647
- const { handleList: importedHandleList } = await import("./list-command-5T4UF4PF.js");
648
+ const { handleList: importedHandleList } = await import("./list-command-7RU7NNAV.js");
648
649
  await importedHandleList(runtime, resolvedArgs);
649
650
  return;
650
651
  }
651
652
  if (resolvedCommand === "call") {
652
653
  if (consumeHelpTokens(resolvedArgs)) {
653
- const { printCallHelp } = await import("./call-command-LMAREWKD.js");
654
+ const { printCallHelp } = await import("./call-command-WOZT2DLX.js");
654
655
  printCallHelp();
655
656
  process.exitCode = 0;
656
657
  return;
657
658
  }
658
- const { handleCall: runHandleCall } = await import("./call-command-LMAREWKD.js");
659
+ const { handleCall: runHandleCall } = await import("./call-command-WOZT2DLX.js");
659
660
  await runHandleCall(runtime, resolvedArgs);
660
661
  return;
661
662
  }
662
663
  if (resolvedCommand === "auth") {
663
664
  if (consumeHelpTokens(resolvedArgs)) {
664
- const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-GQFV6QYP.js");
665
+ const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-SDTBVC2R.js");
665
666
  importedPrintAuthHelp();
666
667
  process.exitCode = 0;
667
668
  return;
668
669
  }
669
- const { handleAuth: importedHandleAuth } = await import("./auth-command-GQFV6QYP.js");
670
+ const { handleAuth: importedHandleAuth } = await import("./auth-command-SDTBVC2R.js");
670
671
  await importedHandleAuth(runtime, resolvedArgs, { oauthTimeoutMs: runtimeOptionsWithPath.oauthTimeoutMs });
671
672
  return;
672
673
  }
673
674
  if (resolvedCommand === "vault") {
674
675
  if (consumeHelpTokens(resolvedArgs)) {
675
- const { printVaultHelp } = await import("./vault-command-FC2PD5U6.js");
676
+ const { printVaultHelp } = await import("./vault-command-JCMW3DQA.js");
676
677
  printVaultHelp();
677
678
  process.exitCode = 0;
678
679
  return;
679
680
  }
680
- const { handleVault } = await import("./vault-command-FC2PD5U6.js");
681
+ const { handleVault } = await import("./vault-command-JCMW3DQA.js");
681
682
  await handleVault(runtime, resolvedArgs);
682
683
  return;
683
684
  }
684
685
  if (resolvedCommand === "resource" || resolvedCommand === "resources") {
685
686
  if (consumeHelpTokens(resolvedArgs)) {
686
- const { printResourceHelp } = await import("./resource-command-XMGF7EAK.js");
687
+ const { printResourceHelp } = await import("./resource-command-VUV7AYYQ.js");
687
688
  printResourceHelp();
688
689
  process.exitCode = 0;
689
690
  return;
690
691
  }
691
- const { handleResource: importedHandleResource } = await import("./resource-command-XMGF7EAK.js");
692
+ const { handleResource: importedHandleResource } = await import("./resource-command-VUV7AYYQ.js");
692
693
  await importedHandleResource(runtime, resolvedArgs);
693
694
  return;
694
695
  }
@@ -771,8 +772,8 @@ if (process.env.MCPORTER_DISABLE_AUTORUN !== "1") {
771
772
  }
772
773
  async function invokeAuthCommand(runtimeOptions, args) {
773
774
  const [{ createRuntime }, { handleAuth: importedHandleAuth }] = await Promise.all([
774
- import("./runtime-3X2XVS6X.js"),
775
- import("./auth-command-GQFV6QYP.js")
775
+ import("./runtime-Q4SCCOQE.js"),
776
+ import("./auth-command-SDTBVC2R.js")
776
777
  ]);
777
778
  const runtime = await createRuntime(runtimeOptions);
778
779
  try {
@@ -798,8 +799,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
798
799
  return true;
799
800
  }
800
801
  const [{ DaemonClient }, { handleCall: importedHandleCall }] = await Promise.all([
801
- import("./client-QU7ABSNB.js"),
802
- import("./call-command-LMAREWKD.js")
802
+ import("./client-MQMNAYYW.js"),
803
+ import("./call-command-WOZT2DLX.js")
803
804
  ]);
804
805
  const daemonClient = new DaemonClient({
805
806
  configPath: configResolution.path,
@@ -811,8 +812,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
811
812
  }
812
813
  async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootDir) {
813
814
  const [{ parseCallArguments: parseCallArguments2 }, { resolveServerCallTimeout }] = await Promise.all([
814
- import("./call-arguments-VT7JLNJY.js"),
815
- import("./timeouts-YBFBTLV2.js")
815
+ import("./call-arguments-ER7NWEPS.js"),
816
+ import("./timeouts-6GL2F44N.js")
816
817
  ]);
817
818
  let parsed;
818
819
  try {
@@ -824,9 +825,9 @@ async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootD
824
825
  return false;
825
826
  }
826
827
  const [{ DaemonClient }, { wrapCallResult }, { printCallOutput }] = await Promise.all([
827
- import("./client-QU7ABSNB.js"),
828
- import("./result-utils-HKB42M7Y.js"),
829
- import("./output-utils-YFTWQZ5V.js")
828
+ import("./client-MQMNAYYW.js"),
829
+ import("./result-utils-5U7NVXDZ.js"),
830
+ import("./output-utils-2R3SA6KR.js")
830
831
  ]);
831
832
  const daemonClient = new DaemonClient({
832
833
  configPath: configResolution.path,
@@ -0,0 +1,31 @@
1
+ import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
+ import {
3
+ DaemonClient,
4
+ resolveDaemonPaths
5
+ } from "./chunk-VRTH73R5.js";
6
+ import "./chunk-YGRORKGT.js";
7
+ import "./chunk-GJ7DWMRT.js";
8
+ import "./chunk-7ZZZ7MR2.js";
9
+ import "./chunk-FVZKQMZS.js";
10
+ import "./chunk-SONMFI3S.js";
11
+ import "./chunk-OURSGEZX.js";
12
+ import "./chunk-M7VINGHY.js";
13
+ import "./chunk-JRU5LZJQ.js";
14
+ import "./chunk-2IO3FXZJ.js";
15
+ import "./chunk-IWXEOLJL.js";
16
+ import "./chunk-P3S4OJPI.js";
17
+ import "./chunk-FWWPRZ37.js";
18
+ import "./chunk-XDARNDP3.js";
19
+ import "./chunk-7OQUF6V6.js";
20
+ import "./chunk-43QNQO5C.js";
21
+ import "./chunk-ZLV5S5UP.js";
22
+ import "./chunk-T4MQCFIK.js";
23
+ import "./chunk-JQCSGX6E.js";
24
+ import "./chunk-EIXFNLU6.js";
25
+ import "./chunk-35JUFDQI.js";
26
+ import "./chunk-IR5SMKTP.js";
27
+ import "./chunk-LRKZP7DJ.js";
28
+ export {
29
+ DaemonClient,
30
+ resolveDaemonPaths
31
+ };