@introspection-ai/recipes 0.61.1 → 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 (118) hide show
  1. package/dist/mcp-chunks/{auth-command-WE7QY6RH.js → auth-command-ENP2QQ5Z.js} +67 -27
  2. package/dist/mcp-chunks/call-arguments-Z5REZUAX.js +16 -0
  3. package/dist/mcp-chunks/{call-command-OOBUGVTM.js → call-command-LOWTMLJD.js} +59 -43
  4. package/dist/mcp-chunks/{chunk-32UZRZIL.js → chunk-27PQUO34.js} +1 -1
  5. package/dist/mcp-chunks/{chunk-NJR33E7V.js → chunk-2OSM5WUI.js} +4 -4
  6. package/dist/mcp-chunks/{chunk-BI6L3SYV.js → chunk-33P3PYCH.js} +28 -20
  7. package/dist/mcp-chunks/{chunk-2PTK6KBV.js → chunk-3MELXKB4.js} +12 -9
  8. package/dist/mcp-chunks/{chunk-Z5XOB522.js → chunk-3P3Z5PKQ.js} +1 -1
  9. package/dist/mcp-chunks/{chunk-ZEMVGFKG.js → chunk-3TZZPKQP.js} +2 -2
  10. package/dist/mcp-chunks/{chunk-73TMUGJL.js → chunk-3UONQ24E.js} +3 -3
  11. package/dist/mcp-chunks/{chunk-W47YAN6W.js → chunk-5AVROWKC.js} +3 -3
  12. package/dist/mcp-chunks/{chunk-SYBDN4SV.js → chunk-6HA2S26Q.js} +5 -5
  13. package/dist/mcp-chunks/{chunk-MG6EVYIM.js → chunk-6IKBK334.js} +13 -13
  14. package/dist/mcp-chunks/{chunk-7SQZWTDU.js → chunk-6VAFZAST.js} +1 -1
  15. package/dist/mcp-chunks/{chunk-2R7UGABC.js → chunk-6WTCG4OR.js} +113 -89
  16. package/dist/mcp-chunks/{chunk-ZJZ53NIB.js → chunk-7JRVQRQ4.js} +10 -7
  17. package/dist/mcp-chunks/{chunk-AIUZOMBB.js → chunk-7LKVFBEL.js} +12 -12
  18. package/dist/mcp-chunks/{chunk-44KI6DPL.js → chunk-ACSE24O5.js} +15 -18
  19. package/dist/mcp-chunks/{chunk-5ZQKSEUN.js → chunk-B6YFFSTP.js} +6 -3
  20. package/dist/mcp-chunks/{chunk-3KSDZBUJ.js → chunk-BA3QLN3P.js} +5 -5
  21. package/dist/mcp-chunks/{chunk-MSPGQEWX.js → chunk-BMOK7SQE.js} +12 -12
  22. package/dist/mcp-chunks/{chunk-H44A4G2O.js → chunk-CPAQ4API.js} +2 -2
  23. package/dist/mcp-chunks/{chunk-Y7JQJ352.js → chunk-CSUDITHP.js} +16 -16
  24. package/dist/mcp-chunks/{chunk-UY2QWZB3.js → chunk-DSBXRWGJ.js} +64 -65
  25. package/dist/mcp-chunks/{chunk-DEYGZRBD.js → chunk-EUT2CVFE.js} +8 -5
  26. package/dist/mcp-chunks/{chunk-HPFIAALB.js → chunk-F4UVQBNV.js} +16 -13
  27. package/dist/mcp-chunks/{chunk-VLJQSE6L.js → chunk-F5XGHRRC.js} +9 -9
  28. package/dist/mcp-chunks/{chunk-YFPPHEDE.js → chunk-FMLYITVD.js} +1 -1
  29. package/dist/mcp-chunks/{chunk-37VJZIFW.js → chunk-FYRRJZPO.js} +8 -8
  30. package/dist/mcp-chunks/{chunk-2R2HWX2E.js → chunk-GJKH5KNE.js} +1 -1
  31. package/dist/mcp-chunks/{chunk-HGEKP2E5.js → chunk-H4TU7J5F.js} +9 -6
  32. package/dist/mcp-chunks/{chunk-4ACA5GWL.js → chunk-IX6HNQSH.js} +1 -1
  33. package/dist/mcp-chunks/{chunk-FJNWUAGR.js → chunk-KKM3M3F7.js} +13 -10
  34. package/dist/mcp-chunks/{chunk-Z43KJRXY.js → chunk-KUP2GHFE.js} +1 -1
  35. package/dist/mcp-chunks/{chunk-CWM4RO33.js → chunk-L3BBHB3E.js} +1 -1
  36. package/dist/mcp-chunks/{chunk-XU4D5QN2.js → chunk-M4RI6BN4.js} +1 -1
  37. package/dist/mcp-chunks/{chunk-EUHXZKP2.js → chunk-N53HQB4G.js} +108 -108
  38. package/dist/mcp-chunks/{chunk-HKMH4N3Z.js → chunk-NAGTWK62.js} +1 -1
  39. package/dist/mcp-chunks/{chunk-ABPXAKP7.js → chunk-OH3HVZE7.js} +40 -32
  40. package/dist/mcp-chunks/{chunk-4SO2DY7F.js → chunk-OHAXEQ22.js} +2 -2
  41. package/dist/mcp-chunks/{chunk-OSK2JGFH.js → chunk-PBYZ5QZW.js} +1 -1
  42. package/dist/mcp-chunks/{chunk-QYR3UKJS.js → chunk-PJH2FNYO.js} +3 -3
  43. package/dist/mcp-chunks/{chunk-FDVES4CU.js → chunk-PJSLJ3YK.js} +2 -2
  44. package/dist/mcp-chunks/{chunk-MW3YO24Q.js → chunk-PPJWHK7M.js} +3 -3
  45. package/dist/mcp-chunks/{chunk-4NABHXDS.js → chunk-QA6AKKCT.js} +11 -8
  46. package/dist/mcp-chunks/{chunk-DL3GVI4M.js → chunk-QDLNI6YU.js} +2 -2
  47. package/dist/mcp-chunks/{chunk-TTVO6RCP.js → chunk-QRC4AH7I.js} +2 -2
  48. package/dist/mcp-chunks/{chunk-Y7UTXETL.js → chunk-QRD3PAVF.js} +1 -1
  49. package/dist/mcp-chunks/{chunk-G5DK4L6M.js → chunk-RAUI7O2B.js} +2 -2
  50. package/dist/mcp-chunks/{chunk-VJ45Y5IO.js → chunk-RF3HIBXO.js} +1 -1
  51. package/dist/mcp-chunks/{chunk-CIQX62WO.js → chunk-RFQCNCWI.js} +2 -2
  52. package/dist/mcp-chunks/{chunk-GQM53HF7.js → chunk-SL74CLNX.js} +1 -1
  53. package/dist/mcp-chunks/{chunk-EVEVCVYR.js → chunk-TAEXC3CS.js} +5 -5
  54. package/dist/mcp-chunks/{chunk-QHD5RXW4.js → chunk-U4NDKPOH.js} +24 -17
  55. package/dist/mcp-chunks/{chunk-CFRA424Y.js → chunk-UP3I6WR3.js} +4 -4
  56. package/dist/mcp-chunks/{chunk-VJ5VDK6D.js → chunk-UZ5WW52A.js} +1 -1
  57. package/dist/mcp-chunks/{chunk-TT3LOCMN.js → chunk-V65N6VX7.js} +2 -2
  58. package/dist/mcp-chunks/{chunk-7KOGD2JK.js → chunk-VKRJV2OQ.js} +2 -2
  59. package/dist/mcp-chunks/{chunk-YGT57XUN.js → chunk-VNQIAJ4I.js} +2 -2
  60. package/dist/mcp-chunks/{chunk-EV3SP7ME.js → chunk-W3HK334E.js} +1 -1
  61. package/dist/mcp-chunks/{chunk-KUJUYFDC.js → chunk-XCAIV2CS.js} +4 -4
  62. package/dist/mcp-chunks/{chunk-TQ5T5VO7.js → chunk-YINZMSAI.js} +2 -2
  63. package/dist/mcp-chunks/{cli-TJFAYJO4.js → cli-QNVUCDJE.js} +70 -70
  64. package/dist/mcp-chunks/client-VL2MU7HF.js +32 -0
  65. package/dist/mcp-chunks/{config-command-YGNK2VVL.js → config-command-NMIYA3HF.js} +31 -31
  66. package/dist/mcp-chunks/daemon-command-SLRKTEMY.js +36 -0
  67. package/dist/mcp-chunks/dist-GMDBFGJD.js +69 -0
  68. package/dist/mcp-chunks/{dist-IFOLXE2R.js → dist-P7P5T6YZ.js} +1362 -1231
  69. package/dist/mcp-chunks/{emit-ts-command-4EVF6CIG.js → emit-ts-command-CH34ZIJL.js} +18 -18
  70. package/dist/mcp-chunks/{generate-cli-runner-UFVSXJVK.js → generate-cli-runner-3X2GEPPY.js} +57 -55
  71. package/dist/mcp-chunks/generated-daemon-runtime-BL7IYY6T.js +32 -0
  72. package/dist/mcp-chunks/{inspect-cli-command-L3JGLLTG.js → inspect-cli-command-JCKHV5GL.js} +16 -13
  73. package/dist/mcp-chunks/{launch-LUKDWKH4.js → launch-YFY4X7YJ.js} +1 -1
  74. package/dist/mcp-chunks/{lifecycle-H57PYAZ5.js → lifecycle-UUTEE5WE.js} +1 -1
  75. package/dist/mcp-chunks/{list-command-QBO4LK5Q.js → list-command-VDZVNILR.js} +36 -36
  76. package/dist/mcp-chunks/{logger-LvdykevT-BQ5B4N5O.js → logger-CpvFcLaq-27JFRZ4G.js} +3 -3
  77. package/dist/mcp-chunks/{output-utils-MB3PEV2M.js → output-utils-SYVU3XAD.js} +3 -3
  78. package/dist/mcp-chunks/{pi-mcp-runtime-OIMIJV5A.js → pi-mcp-runtime-V2OMZAIR.js} +1 -1
  79. package/dist/mcp-chunks/{prompt-DkftHXS7-TE2LNPAM.js → prompt-DkftHXS7-6LABGWLG.js} +1 -1
  80. package/dist/mcp-chunks/{record-command-RYDP3Y2A.js → record-command-U7L3OGJZ.js} +6 -5
  81. package/dist/mcp-chunks/{replay-command-QDJCQ5JU.js → replay-command-4AZZBGXO.js} +7 -6
  82. package/dist/mcp-chunks/{resource-command-RKHHQBFP.js → resource-command-BZZBELBM.js} +14 -11
  83. package/dist/mcp-chunks/{result-utils-ZD5GFX7P.js → result-utils-XNXSDC6N.js} +3 -3
  84. package/dist/mcp-chunks/runtime-OVVVPYHO.js +39 -0
  85. package/dist/mcp-chunks/{runtime-wrapper-AV4JCNRF.js → runtime-wrapper-6BUJRMQL.js} +3 -3
  86. package/dist/mcp-chunks/{serve-command-MRPTK4XX.js → serve-command-ZY3PLYNM.js} +39 -36
  87. package/dist/mcp-chunks/server-6DQUPUFW.js +43 -0
  88. package/dist/mcp-chunks/{timeouts-2SQIDYBE.js → timeouts-EEXKP36K.js} +4 -4
  89. package/dist/mcp-chunks/{vault-command-6JVDCFWU.js → vault-command-PRTY3B4I.js} +5 -5
  90. package/dist/mcp-chunks/{webapi-CI4O7AUX.js → webapi-SSFFKLRR.js} +1 -1
  91. package/dist/mcp-daemon.js +35 -35
  92. package/dist/mcp-run-worker.js +34 -34
  93. package/dist/memory-context.d.ts +16 -0
  94. package/dist/memory-context.d.ts.map +1 -0
  95. package/dist/memory-context.js +100 -0
  96. package/dist/memory-context.js.map +1 -0
  97. package/dist/memory.d.ts +2 -0
  98. package/dist/memory.d.ts.map +1 -1
  99. package/dist/memory.js +13 -0
  100. package/dist/memory.js.map +1 -1
  101. package/dist/pi-extension.d.ts.map +1 -1
  102. package/dist/pi-extension.js +6 -0
  103. package/dist/pi-extension.js.map +1 -1
  104. package/dist/recipe/manifest.generated.d.ts +1 -1
  105. package/dist/recipe/manifest.generated.js +1 -1
  106. package/dist/session.d.ts.map +1 -1
  107. package/dist/session.js +27 -9
  108. package/dist/session.js.map +1 -1
  109. package/docs/host-api.md +18 -10
  110. package/docs/pi-extension.md +11 -0
  111. package/package.json +8 -8
  112. package/dist/mcp-chunks/call-arguments-2ABANGLE.js +0 -16
  113. package/dist/mcp-chunks/client-LDKUW5K5.js +0 -32
  114. package/dist/mcp-chunks/daemon-command-UYAYRHVD.js +0 -36
  115. package/dist/mcp-chunks/dist-5JNZD3JV.js +0 -69
  116. package/dist/mcp-chunks/generated-daemon-runtime-LTH36X2R.js +0 -32
  117. package/dist/mcp-chunks/runtime-F7PP4V25.js +0 -39
  118. package/dist/mcp-chunks/server-2WSYXDII.js +0 -43
@@ -5,9 +5,9 @@ import {
5
5
  import {
6
6
  resolveEnvPlaceholders,
7
7
  resolveEnvValue
8
- } from "./chunk-4ACA5GWL.js";
8
+ } from "./chunk-IX6HNQSH.js";
9
9
 
10
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-command.js
10
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-command.js
11
11
  var AUTO_CONNECT_FLAGS = /* @__PURE__ */ new Set(["--autoConnect", "--auto-connect"]);
12
12
  var NEGATED_AUTO_CONNECT_FLAGS = /* @__PURE__ */ new Set(["--no-autoConnect", "--no-auto-connect"]);
13
13
  var CONNECTION_VALUE_FLAGS = /* @__PURE__ */ new Set([
@@ -277,7 +277,7 @@ function booleanLiteral(value) {
277
277
  return void 0;
278
278
  }
279
279
 
280
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/utils.js
280
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/utils.js
281
281
  var ENV_PLACEHOLDER_PATTERN = /\$\{(?:env:[^}]*|[A-Za-z_][A-Za-z0-9_]*(?::-[^}]*)?)\}/;
282
282
  var MAX_TIMER_DELAY_MS = 2147483647;
283
283
  function resolveCommandArgument(value, env = process.env) {
@@ -358,13 +358,13 @@ function scheduleDeadline(callback, delayMs) {
358
358
  };
359
359
  }
360
360
 
361
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay.js
361
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-relay.js
362
362
  import { createHash as createHash3 } from "node:crypto";
363
363
  import fs from "node:fs";
364
364
  import os from "node:os";
365
365
  import path2 from "node:path";
366
366
 
367
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay-proxy.js
367
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-relay-proxy.js
368
368
  import { createHash, randomBytes, timingSafeEqual } from "node:crypto";
369
369
  import http, {} from "node:http";
370
370
  var WEBSOCKET_GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
@@ -520,7 +520,7 @@ async function closeServer(server, sockets) {
520
520
  await new Promise((resolve) => server.close(() => resolve()));
521
521
  }
522
522
 
523
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/browser-relay-auth-v2.js
523
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/browser-relay-auth-v2.js
524
524
  import { createHmac, hash, timingSafeEqual as timingSafeEqual2 } from "node:crypto";
525
525
  var BROWSER_RELAY_AUTH_LABEL = "openclaw.browser-relay.auth";
526
526
  var BROWSER_RELAY_AUTH_VERSION = 2;
@@ -589,7 +589,7 @@ function isCanonicalBase64Url(value, bytes) {
589
589
  return decoded.byteLength === bytes && decoded.toString("base64url") === value;
590
590
  }
591
591
 
592
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay-client.js
592
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-relay-client.js
593
593
  import { createHash as createHash2, randomBytes as randomBytes2 } from "node:crypto";
594
594
  import { lookup } from "node:dns/promises";
595
595
  import net from "node:net";
@@ -1100,7 +1100,7 @@ function isTimeoutError(error) {
1100
1100
  return Boolean(error && typeof error === "object" && error.reason === "timeout");
1101
1101
  }
1102
1102
 
1103
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay-discovery.js
1103
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-relay-discovery.js
1104
1104
  import { spawn } from "node:child_process";
1105
1105
  import { statSync } from "node:fs";
1106
1106
  import net2 from "node:net";
@@ -1554,7 +1554,7 @@ function openClawDiscoveryEnvironment(env) {
1554
1554
  return filtered;
1555
1555
  }
1556
1556
 
1557
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay.js
1557
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-relay.js
1558
1558
  var DEFAULT_RELAY_PROBE_TIMEOUT_MS = 2e4;
1559
1559
  var MIN_RELAY_PROBE_TIMEOUT_MS = 100;
1560
1560
  var MAX_RELAY_PROBE_TIMEOUT_MS = 3e4;
@@ -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/logging.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/logging.js
4
4
  var LOG_LEVEL_ORDER = {
5
5
  debug: 10,
6
6
  info: 20,
@@ -7,23 +7,23 @@ import {
7
7
  runtimeStateDir,
8
8
  sameOAuthTokenGeneration,
9
9
  vaultCredentialKeys
10
- } from "./chunk-BI6L3SYV.js";
10
+ } from "./chunk-33P3PYCH.js";
11
11
  import {
12
12
  canonicalizeFilePath,
13
13
  isFileLockTimeoutError,
14
14
  withFileLock
15
- } from "./chunk-TTVO6RCP.js";
15
+ } from "./chunk-QRC4AH7I.js";
16
16
  import {
17
17
  checkResourceAllowed,
18
18
  discoverOAuthServerInfo,
19
19
  refreshAuthorization,
20
20
  resourceUrlFromServerUrl
21
- } from "./chunk-EUHXZKP2.js";
21
+ } from "./chunk-N53HQB4G.js";
22
22
 
23
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth-token-refresh.js
23
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth-token-refresh.js
24
24
  import { Buffer } from "node:buffer";
25
25
 
26
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth-client-info.js
26
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth-client-info.js
27
27
  function buildStaticClientInformation(definition, options = {}) {
28
28
  if (!definition.oauthClientId) {
29
29
  return void 0;
@@ -49,7 +49,7 @@ function resolveOAuthClientSecret(definition, options = {}) {
49
49
  return definition.oauthClientSecret;
50
50
  }
51
51
 
52
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth-refresh-lock.js
52
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth-refresh-lock.js
53
53
  import { AsyncLocalStorage } from "node:async_hooks";
54
54
  import crypto from "node:crypto";
55
55
  import path from "node:path";
@@ -112,7 +112,7 @@ function filenameSafeLabel(value) {
112
112
  return value.replace(/[^A-Za-z0-9._-]+/g, "_").replace(/^[._-]+/, "").slice(0, LOCK_LABEL_MAX);
113
113
  }
114
114
 
115
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth-token-refresh.js
115
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth-token-refresh.js
116
116
  var TOKEN_EXPIRY_SKEW_SECONDS = 60;
117
117
  var TOKEN_REQUEST_TIMEOUT_MS = 1e4;
118
118
  var OAuthIssuerMismatchError = class extends Error {
@@ -531,7 +531,7 @@ function readClientSecret(definition, refreshClientSecretEnv) {
531
531
  return resolveOAuthClientSecret(definition, { rejectBlank: true });
532
532
  }
533
533
 
534
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth-persistence.js
534
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth-persistence.js
535
535
  async function buildOAuthPersistence(definition, logger) {
536
536
  return await createOAuthPersistenceStores(definition, logger);
537
537
  }
@@ -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/runtime/elicitation.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/elicitation.js
4
4
  import readline from "node:readline";
5
5
  var NON_INTERACTIVE_ELICITATION_HINT = "Server requested interactive input; run mcporter in a terminal.";
6
6
  function createInteractiveElicitationResponder(options = {}) {
@@ -1,15 +1,18 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  consumeTimeoutFlag
4
- } from "./chunk-QYR3UKJS.js";
4
+ } from "./chunk-PJH2FNYO.js";
5
5
  import {
6
6
  extractEphemeralServerFlags
7
- } from "./chunk-FJNWUAGR.js";
7
+ } from "./chunk-KKM3M3F7.js";
8
8
  import {
9
9
  consumeOutputFormat
10
- } from "./chunk-ZJZ53NIB.js";
10
+ } from "./chunk-7JRVQRQ4.js";
11
+ import {
12
+ CliUsageError
13
+ } from "./chunk-W3HK334E.js";
11
14
 
12
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/list-flags.js
15
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/list-flags.js
13
16
  function extractListFlags(args) {
14
17
  let schema = false;
15
18
  let timeoutMs;
@@ -102,7 +105,7 @@ function extractListFlags(args) {
102
105
  conflicts.push("--all-parameters");
103
106
  }
104
107
  if (conflicts.length > 0) {
105
- throw new Error(`--brief cannot be used with ${conflicts.join(", ")}`);
108
+ throw new CliUsageError(`--brief cannot be used with ${conflicts.join(", ")}`);
106
109
  }
107
110
  }
108
111
  if (statusOnly) {
@@ -117,7 +120,7 @@ function extractListFlags(args) {
117
120
  conflicts.push("--all-parameters");
118
121
  }
119
122
  if (conflicts.length > 0) {
120
- throw new Error(`--status cannot be used with ${conflicts.join(", ")}`);
123
+ throw new CliUsageError(`--status cannot be used with ${conflicts.join(", ")}`);
121
124
  }
122
125
  }
123
126
  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/env.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/env.js
4
4
  import os from "node:os";
5
5
  import path from "node:path";
6
6
  var ENV_DEFAULT_PATTERN = /^\$\{([A-Za-z_][A-Za-z0-9_]*)(?::-|:|-)?([^}]*)\}$/;
@@ -1,6 +1,9 @@
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
 
3
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/ephemeral-flags.js
6
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/ephemeral-flags.js
4
7
  var VALUE_FLAGS = /* @__PURE__ */ new Set([
5
8
  "--http-url",
6
9
  "--sse",
@@ -40,7 +43,7 @@ function extractEphemeralServerFlags(args, options = {}) {
40
43
  if (token === "--http-url" || token === "--sse") {
41
44
  const value = readValue();
42
45
  if (!value) {
43
- throw new Error(`Flag '${token}' requires a value.`);
46
+ throw new CliUsageError(`Flag '${token}' requires a value.`);
44
47
  }
45
48
  ensureSpec().httpUrl = value;
46
49
  args.splice(index, width);
@@ -54,7 +57,7 @@ function extractEphemeralServerFlags(args, options = {}) {
54
57
  if (token === "--stdio") {
55
58
  const value = readValue();
56
59
  if (!value) {
57
- throw new Error("Flag '--stdio' requires a value.");
60
+ throw new CliUsageError("Flag '--stdio' requires a value.");
58
61
  }
59
62
  ensureSpec().stdioCommand = value;
60
63
  args.splice(index, width);
@@ -63,7 +66,7 @@ function extractEphemeralServerFlags(args, options = {}) {
63
66
  if (token === "--stdio-arg") {
64
67
  const value = readValue();
65
68
  if (!value) {
66
- throw new Error("Flag '--stdio-arg' requires a value.");
69
+ throw new CliUsageError("Flag '--stdio-arg' requires a value.");
67
70
  }
68
71
  const current = ensureSpec();
69
72
  current.stdioArgs = [...current.stdioArgs ?? [], value];
@@ -91,7 +94,7 @@ function extractEphemeralServerFlags(args, options = {}) {
91
94
  if (token === "--cwd") {
92
95
  const value = readValue();
93
96
  if (!value) {
94
- throw new Error("Flag '--cwd' requires a value.");
97
+ throw new CliUsageError("Flag '--cwd' requires a value.");
95
98
  }
96
99
  ensureSpec().cwd = value;
97
100
  args.splice(index, width);
@@ -100,7 +103,7 @@ function extractEphemeralServerFlags(args, options = {}) {
100
103
  if (token === "--name") {
101
104
  const value = readValue();
102
105
  if (!value) {
103
- throw new Error("Flag '--name' requires a value.");
106
+ throw new CliUsageError("Flag '--name' requires a value.");
104
107
  }
105
108
  ensureSpec().name = value;
106
109
  args.splice(index, width);
@@ -109,7 +112,7 @@ function extractEphemeralServerFlags(args, options = {}) {
109
112
  if (token === "--description") {
110
113
  const value = readValue();
111
114
  if (!value) {
112
- throw new Error("Flag '--description' requires a value.");
115
+ throw new CliUsageError("Flag '--description' requires a value.");
113
116
  }
114
117
  ensureSpec().description = value;
115
118
  args.splice(index, width);
@@ -118,7 +121,7 @@ function extractEphemeralServerFlags(args, options = {}) {
118
121
  if (allowPersist && token === "--persist") {
119
122
  const value = readValue();
120
123
  if (!value) {
121
- throw new Error("Flag '--persist' requires a value.");
124
+ throw new CliUsageError("Flag '--persist' requires a value.");
122
125
  }
123
126
  ensureSpec().persistPath = value;
124
127
  args.splice(index, width);
@@ -130,11 +133,11 @@ function extractEphemeralServerFlags(args, options = {}) {
130
133
  }
131
134
  function parseKeyValue(value, target, flagName) {
132
135
  if (!value?.includes("=")) {
133
- throw new Error(`Flag '${flagName}' requires KEY=value.`);
136
+ throw new CliUsageError(`Flag '${flagName}' requires KEY=value.`);
134
137
  }
135
138
  const [key, ...rest] = value.split("=");
136
139
  if (!key) {
137
- throw new Error(`Flag '${flagName}' requires KEY=value.`);
140
+ throw new CliUsageError(`Flag '${flagName}' requires KEY=value.`);
138
141
  }
139
142
  target[key] = rest.join("=");
140
143
  }
@@ -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/definition-fields.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/definition-fields.js
4
4
  var SHARED_DEFINITION_FIELDS = [
5
5
  "auth",
6
6
  "tokenCacheDir",
@@ -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/lifecycle.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/lifecycle.js
4
4
  var DEFAULT_KEEP_ALIVE = /* @__PURE__ */ new Set(["chrome-devtools", "mobile-mcp", "playwright", "cloudbase"]);
5
5
  var includeOverride = parseList(process.env.MCPORTER_KEEPALIVE);
6
6
  var excludeOverride = parseList(process.env.MCPORTER_DISABLE_KEEPALIVE ?? process.env.MCPORTER_NO_KEEPALIVE);
@@ -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/identifier-helpers.js
3
+ // node_modules/.pnpm/mcporter@0.17.1/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) {