@introspection-ai/recipes 0.61.1 → 0.63.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 +35 -9
  108. package/dist/session.js.map +1 -1
  109. package/docs/host-api.md +26 -13
  110. package/docs/pi-extension.md +41 -10
  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
@@ -2,23 +2,23 @@ import { createRequire as __createRequire } from "node:module"; const require =
2
2
  import {
3
3
  RecordTransport,
4
4
  resolveRecordingPath
5
- } from "./chunk-H44A4G2O.js";
5
+ } from "./chunk-CPAQ4API.js";
6
6
  import {
7
7
  stableJsonStringify
8
- } from "./chunk-Z5XOB522.js";
8
+ } from "./chunk-3P3Z5PKQ.js";
9
9
  import {
10
10
  NON_INTERACTIVE_ELICITATION_HINT,
11
11
  createNonInteractiveElicitationResponder,
12
12
  registerElicitationHandler
13
- } from "./chunk-2R2HWX2E.js";
13
+ } from "./chunk-GJKH5KNE.js";
14
14
  import {
15
15
  STDIO_TRACE_ENABLED,
16
16
  flushStdioLogs,
17
17
  ignoreStdioEmitterError
18
- } from "./chunk-GQM53HF7.js";
18
+ } from "./chunk-SL74CLNX.js";
19
19
  import {
20
20
  MCPORTER_VERSION
21
- } from "./chunk-MSPGQEWX.js";
21
+ } from "./chunk-BMOK7SQE.js";
22
22
  import {
23
23
  ChromeDevtoolsRelayDiscoveryError,
24
24
  ChromeDevtoolsRelayRequiredError,
@@ -36,7 +36,7 @@ import {
36
36
  resolveCommandArgument,
37
37
  resolveCommandArguments,
38
38
  rewriteChromeDevtoolsArgsForRelay
39
- } from "./chunk-VLJQSE6L.js";
39
+ } from "./chunk-F5XGHRRC.js";
40
40
  import {
41
41
  OAuthTimeoutError,
42
42
  connectWithAuth,
@@ -46,39 +46,39 @@ import {
46
46
  isUnauthorizedError,
47
47
  maybeEnableOAuth,
48
48
  resolveOAuthTimeoutFromEnv
49
- } from "./chunk-AIUZOMBB.js";
49
+ } from "./chunk-7LKVFBEL.js";
50
50
  import {
51
51
  readCachedAccessToken
52
- } from "./chunk-37VJZIFW.js";
52
+ } from "./chunk-FYRRJZPO.js";
53
53
  import {
54
54
  VaultEncryptionError,
55
55
  childEnvWithoutVaultSecrets,
56
56
  withRuntimeEnvironment
57
- } from "./chunk-BI6L3SYV.js";
57
+ } from "./chunk-33P3PYCH.js";
58
58
  import {
59
59
  createPrefixedConsoleLogger,
60
60
  resolveLogLevelFromEnv
61
- } from "./chunk-YFPPHEDE.js";
61
+ } from "./chunk-FMLYITVD.js";
62
62
  import {
63
63
  loadServerDefinitions,
64
64
  normalizeServerEntry,
65
65
  readConfigFile
66
- } from "./chunk-Y7JQJ352.js";
66
+ } from "./chunk-CSUDITHP.js";
67
67
  import {
68
68
  isRecord
69
- } from "./chunk-OSK2JGFH.js";
69
+ } from "./chunk-PBYZ5QZW.js";
70
70
  import {
71
71
  pathExists
72
- } from "./chunk-MW3YO24Q.js";
72
+ } from "./chunk-PPJWHK7M.js";
73
73
  import {
74
74
  mcporterConfigCandidates
75
- } from "./chunk-G5DK4L6M.js";
75
+ } from "./chunk-RAUI7O2B.js";
76
76
  import {
77
77
  resolveEnvPlaceholders
78
- } from "./chunk-4ACA5GWL.js";
78
+ } from "./chunk-IX6HNQSH.js";
79
79
  import {
80
80
  analyzeConnectionError
81
- } from "./chunk-7KOGD2JK.js";
81
+ } from "./chunk-VKRJV2OQ.js";
82
82
  import {
83
83
  AjvJsonSchemaValidator,
84
84
  Client,
@@ -92,16 +92,16 @@ import {
92
92
  StreamableHTTPClientTransport,
93
93
  serializeMessage,
94
94
  specTypeSchemas
95
- } from "./chunk-EUHXZKP2.js";
95
+ } from "./chunk-N53HQB4G.js";
96
96
  import {
97
97
  __commonJS,
98
98
  __require,
99
99
  __toESM
100
100
  } from "./chunk-LRKZP7DJ.js";
101
101
 
102
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/isexe/windows.js
102
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/isexe/windows.js
103
103
  var require_windows = __commonJS({
104
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/isexe/windows.js"(exports, module) {
104
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/isexe/windows.js"(exports, module) {
105
105
  module.exports = isexe;
106
106
  isexe.sync = sync;
107
107
  var fs7 = __require("fs");
@@ -139,9 +139,9 @@ var require_windows = __commonJS({
139
139
  }
140
140
  });
141
141
 
142
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/isexe/mode.js
142
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/isexe/mode.js
143
143
  var require_mode = __commonJS({
144
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/isexe/mode.js"(exports, module) {
144
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/isexe/mode.js"(exports, module) {
145
145
  module.exports = isexe;
146
146
  isexe.sync = sync;
147
147
  var fs7 = __require("fs");
@@ -172,9 +172,9 @@ var require_mode = __commonJS({
172
172
  }
173
173
  });
174
174
 
175
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/isexe/index.js
175
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/isexe/index.js
176
176
  var require_isexe = __commonJS({
177
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/isexe/index.js"(exports, module) {
177
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/isexe/index.js"(exports, module) {
178
178
  var fs7 = __require("fs");
179
179
  var core;
180
180
  if (process.platform === "win32" || global.TESTING_WINDOWS) {
@@ -227,9 +227,9 @@ var require_isexe = __commonJS({
227
227
  }
228
228
  });
229
229
 
230
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/which/which.js
230
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/which/which.js
231
231
  var require_which = __commonJS({
232
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/which/which.js"(exports, module) {
232
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/which/which.js"(exports, module) {
233
233
  var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
234
234
  var path7 = __require("path");
235
235
  var COLON = isWindows ? ";" : ":";
@@ -323,9 +323,9 @@ var require_which = __commonJS({
323
323
  }
324
324
  });
325
325
 
326
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/path-key/index.js
326
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/path-key/index.js
327
327
  var require_path_key = __commonJS({
328
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/path-key/index.js"(exports, module) {
328
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/path-key/index.js"(exports, module) {
329
329
  "use strict";
330
330
  var pathKey = (options = {}) => {
331
331
  const environment = options.env || process.env;
@@ -340,9 +340,9 @@ var require_path_key = __commonJS({
340
340
  }
341
341
  });
342
342
 
343
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/resolveCommand.js
343
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/resolveCommand.js
344
344
  var require_resolveCommand = __commonJS({
345
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
345
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
346
346
  "use strict";
347
347
  var path7 = __require("path");
348
348
  var which = require_which();
@@ -382,9 +382,9 @@ var require_resolveCommand = __commonJS({
382
382
  }
383
383
  });
384
384
 
385
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/escape.js
385
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/escape.js
386
386
  var require_escape = __commonJS({
387
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
387
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
388
388
  "use strict";
389
389
  var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
390
390
  function escapeCommand(arg) {
@@ -407,17 +407,17 @@ var require_escape = __commonJS({
407
407
  }
408
408
  });
409
409
 
410
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/shebang-regex/index.js
410
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/shebang-regex/index.js
411
411
  var require_shebang_regex = __commonJS({
412
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/shebang-regex/index.js"(exports, module) {
412
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/shebang-regex/index.js"(exports, module) {
413
413
  "use strict";
414
414
  module.exports = /^#!(.*)/;
415
415
  }
416
416
  });
417
417
 
418
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/shebang-command/index.js
418
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/shebang-command/index.js
419
419
  var require_shebang_command = __commonJS({
420
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/shebang-command/index.js"(exports, module) {
420
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/shebang-command/index.js"(exports, module) {
421
421
  "use strict";
422
422
  var shebangRegex = require_shebang_regex();
423
423
  module.exports = (string = "") => {
@@ -435,9 +435,9 @@ var require_shebang_command = __commonJS({
435
435
  }
436
436
  });
437
437
 
438
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/readShebang.js
438
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/readShebang.js
439
439
  var require_readShebang = __commonJS({
440
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
440
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
441
441
  "use strict";
442
442
  var fs7 = __require("fs");
443
443
  var shebangCommand = require_shebang_command();
@@ -457,9 +457,9 @@ var require_readShebang = __commonJS({
457
457
  }
458
458
  });
459
459
 
460
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/parse.js
460
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/parse.js
461
461
  var require_parse = __commonJS({
462
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/parse.js"(exports, module) {
462
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/parse.js"(exports, module) {
463
463
  "use strict";
464
464
  var path7 = __require("path");
465
465
  var resolveCommand = require_resolveCommand();
@@ -519,9 +519,9 @@ var require_parse = __commonJS({
519
519
  }
520
520
  });
521
521
 
522
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/enoent.js
522
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/enoent.js
523
523
  var require_enoent = __commonJS({
524
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
524
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
525
525
  "use strict";
526
526
  var isWin = process.platform === "win32";
527
527
  function notFoundError(original, syscall) {
@@ -569,9 +569,9 @@ var require_enoent = __commonJS({
569
569
  }
570
570
  });
571
571
 
572
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/index.js
572
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/index.js
573
573
  var require_cross_spawn = __commonJS({
574
- "node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/cross-spawn/index.js"(exports, module) {
574
+ "node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/cross-spawn/index.js"(exports, module) {
575
575
  "use strict";
576
576
  var cp = __require("child_process");
577
577
  var parse = require_parse();
@@ -596,7 +596,7 @@ var require_cross_spawn = __commonJS({
596
596
  }
597
597
  });
598
598
 
599
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/connection-identity.js
599
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/connection-identity.js
600
600
  import { createHash } from "node:crypto";
601
601
  import fs from "node:fs/promises";
602
602
  import path from "node:path";
@@ -687,16 +687,16 @@ function isExistingChromeDefinition(definition, env) {
687
687
  return [definition.name, command, ...args].some((value) => /chrome[-_]devtools(?:[-_]mcp)?/i.test(value)) && isExistingChromeDevtoolsCommand(command, args);
688
688
  }
689
689
 
690
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/browser-owner.js
690
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/browser-owner.js
691
691
  import os3 from "node:os";
692
692
  import path4 from "node:path";
693
693
 
694
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/paths.js
694
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/paths.js
695
695
  import fs3 from "node:fs/promises";
696
696
  import { constants } from "node:fs";
697
697
  import { createHash as createHash2 } from "node:crypto";
698
698
 
699
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay-handoff.js
699
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-relay-handoff.js
700
700
  import { spawnSync } from "node:child_process";
701
701
  import { randomBytes } from "node:crypto";
702
702
  import fs2 from "node:fs";
@@ -927,7 +927,7 @@ if (targetPath?.includes('chrome-devtools-mcp')) {
927
927
  `;
928
928
  }
929
929
 
930
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/paths.js
930
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/paths.js
931
931
  import os2 from "node:os";
932
932
  import path3 from "node:path";
933
933
  function daemonBaseDir() {
@@ -1026,7 +1026,7 @@ function getDaemonLogPath(_configKey) {
1026
1026
  return path3.join(daemonRunDir(), "user.log");
1027
1027
  }
1028
1028
 
1029
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/browser-owner.js
1029
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/browser-owner.js
1030
1030
  var BrowserOwnerConflict = class extends Error {
1031
1031
  code = "browser_owner_conflict";
1032
1032
  constructor(reason) {
@@ -1143,7 +1143,7 @@ var BrowserOwner = class {
1143
1143
  }
1144
1144
  };
1145
1145
 
1146
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/transport-authority.js
1146
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/daemon/transport-authority.js
1147
1147
  var authority = /* @__PURE__ */ Symbol("broker transport authority");
1148
1148
  function authorizeBrokerDefinition(definition, validateRequest) {
1149
1149
  Object.defineProperty(definition, authority, { value: { validateRequest }, enumerable: true });
@@ -1160,7 +1160,7 @@ function assertChromeBrokerAuthority(definition) {
1160
1160
  }
1161
1161
  }
1162
1162
 
1163
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime-process-utils.js
1163
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime-process-utils.js
1164
1164
  import { execFile } from "node:child_process";
1165
1165
  import { setTimeout as delay } from "node:timers/promises";
1166
1166
  async function captureTransportProcessTree(transport) {
@@ -1378,7 +1378,7 @@ async function waitForTreeExit(pids, durationMs) {
1378
1378
  }
1379
1379
  }
1380
1380
 
1381
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/errors.js
1381
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/errors.js
1382
1382
  var NON_FATAL_MCP_ERROR_CODES = /* @__PURE__ */ new Set([
1383
1383
  ProtocolErrorCode.InvalidRequest,
1384
1384
  ProtocolErrorCode.MethodNotFound,
@@ -1400,7 +1400,7 @@ function protocolErrorCode(error) {
1400
1400
  return typeof error.code === "number" ? error.code : void 0;
1401
1401
  }
1402
1402
 
1403
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/replay-transport.js
1403
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/replay-transport.js
1404
1404
  import fs4 from "node:fs";
1405
1405
  import { isDeepStrictEqual } from "node:util";
1406
1406
  var CLIENT_IDENTITY_META_KEYS = [
@@ -1622,7 +1622,7 @@ function formatReplayRemainder(server, expectedSends) {
1622
1622
  return `Replay ended for server '${server}' with ${count} recorded ${requestText} still unused; next expected recv ${expectedText}.`;
1623
1623
  }
1624
1624
 
1625
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/@modelcontextprotocol/client/dist/stdio.mjs
1625
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/node_modules/@modelcontextprotocol/client/dist/stdio.mjs
1626
1626
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
1627
1627
  import process2 from "node:process";
1628
1628
  import { PassThrough } from "node:stream";
@@ -1834,14 +1834,14 @@ var StdioClientTransport = class {
1834
1834
  }
1835
1835
  };
1836
1836
 
1837
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-compat.js
1837
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-compat.js
1838
1838
  import fs6 from "node:fs";
1839
1839
  import { randomBytes as randomBytes2 } from "node:crypto";
1840
1840
  import os4 from "node:os";
1841
1841
  import path6 from "node:path";
1842
1842
  import { fileURLToPath, pathToFileURL as pathToFileURL2 } from "node:url";
1843
1843
 
1844
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-auto-connect-patch.js
1844
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-auto-connect-patch.js
1845
1845
  import fs5 from "node:fs";
1846
1846
  import path5 from "node:path";
1847
1847
  var MARKER = "MCPORTER_DEVTOOLS_TIMEOUT_PATCH";
@@ -1928,7 +1928,7 @@ ${helper}`);
1928
1928
  }
1929
1929
  }
1930
1930
 
1931
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-compat.js
1931
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/chrome-devtools-compat.js
1932
1932
  var FALLBACK_PATCH_FILENAME = "mcporter-chrome-devtools-auto-connect-patch.js";
1933
1933
  function applyChromeDevtoolsCompat(env, command, args) {
1934
1934
  if (!shouldApplyChromeDevtoolsCompat(command, args, env)) {
@@ -1993,9 +1993,53 @@ function writeFallbackPatch(fallbackDir) {
1993
1993
  }
1994
1994
  }
1995
1995
 
1996
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/cached-auth.js
1996
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime-header-utils.js
1997
+ function materializeHeaders(headers, serverName, env = process.env) {
1998
+ if (!headers) {
1999
+ return void 0;
2000
+ }
2001
+ const resolved = {};
2002
+ for (const [key, value] of Object.entries(headers)) {
2003
+ try {
2004
+ resolved[key] = resolveEnvPlaceholders(value, env);
2005
+ } catch (error) {
2006
+ const message = error instanceof Error ? error.message : String(error);
2007
+ throw new Error(`Failed to resolve header '${key}' for server '${serverName}': ${message}`, { cause: error });
2008
+ }
2009
+ }
2010
+ return resolved;
2011
+ }
2012
+
2013
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/cached-auth.js
2014
+ var BEARER_AUTHORIZATION = /^bearer(?:\s+|$)(.*)$/i;
2015
+ function isAuthorizationHeaderName(name) {
2016
+ return name.toLowerCase() === "authorization";
2017
+ }
2018
+ function hasUsableAuthorizationCredential(value) {
2019
+ const trimmed = value.trim();
2020
+ if (!trimmed)
2021
+ return false;
2022
+ const bearer = BEARER_AUTHORIZATION.exec(trimmed);
2023
+ if (!bearer)
2024
+ return true;
2025
+ return (bearer[1] ?? "").trim().length > 0;
2026
+ }
1997
2027
  function hasAuthorizationHeader(headers) {
1998
- return Boolean(headers && Object.keys(headers).some((key) => key.toLowerCase() === "authorization"));
2028
+ return Boolean(headers && Object.keys(headers).some((key) => isAuthorizationHeaderName(key)));
2029
+ }
2030
+ function hasUsableStaticAuthorization(definition) {
2031
+ if (definition.command.kind !== "http" || !hasAuthorizationHeader(definition.command.headers))
2032
+ return false;
2033
+ const resolved = materializeHeaders(definition.command.headers, definition.name, definition.env);
2034
+ return Object.entries(resolved ?? {}).some(([key, value]) => isAuthorizationHeaderName(key) && hasUsableAuthorizationCredential(value));
2035
+ }
2036
+ function omitAuthorizationHeaders(headers) {
2037
+ const retained = {};
2038
+ for (const [key, value] of Object.entries(headers)) {
2039
+ if (!isAuthorizationHeaderName(key))
2040
+ retained[key] = value;
2041
+ }
2042
+ return retained;
1999
2043
  }
2000
2044
  async function applyCachedAuthIfAvailable(definition, logger, allowCachedAuth) {
2001
2045
  if (!allowCachedAuth && definition.auth !== "refreshable_bearer") {
@@ -2004,7 +2048,7 @@ async function applyCachedAuthIfAvailable(definition, logger, allowCachedAuth) {
2004
2048
  if (definition.auth === "refreshable_bearer" && definition.command.kind === "stdio" && !definition.refresh?.accessTokenEnv) {
2005
2049
  throw new Error(`Server '${definition.name}' uses refreshable_bearer stdio auth but is missing refresh.accessTokenEnv.`);
2006
2050
  }
2007
- if (definition.command.kind === "http" && hasAuthorizationHeader(definition.command.headers)) {
2051
+ if (definition.command.kind === "http" && hasUsableStaticAuthorization(definition)) {
2008
2052
  return definition;
2009
2053
  }
2010
2054
  try {
@@ -2033,16 +2077,13 @@ async function applyCachedAuthIfAvailable(definition, logger, allowCachedAuth) {
2033
2077
  };
2034
2078
  }
2035
2079
  const existingHeaders = definition.command.headers ?? {};
2036
- if (hasAuthorizationHeader(existingHeaders)) {
2037
- return definition;
2038
- }
2039
2080
  logger.debug?.(`Using cached OAuth access token for '${definition.name}' (non-interactive).`);
2040
2081
  return {
2041
2082
  ...definition,
2042
2083
  command: {
2043
2084
  ...definition.command,
2044
2085
  headers: {
2045
- ...existingHeaders,
2086
+ ...omitAuthorizationHeaders(existingHeaders),
2046
2087
  Authorization: `Bearer ${cached}`
2047
2088
  }
2048
2089
  }
@@ -2056,24 +2097,7 @@ async function applyCachedAuthIfAvailable(definition, logger, allowCachedAuth) {
2056
2097
  }
2057
2098
  }
2058
2099
 
2059
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime-header-utils.js
2060
- function materializeHeaders(headers, serverName, env = process.env) {
2061
- if (!headers) {
2062
- return void 0;
2063
- }
2064
- const resolved = {};
2065
- for (const [key, value] of Object.entries(headers)) {
2066
- try {
2067
- resolved[key] = resolveEnvPlaceholders(value, env);
2068
- } catch (error) {
2069
- const message = error instanceof Error ? error.message : String(error);
2070
- throw new Error(`Failed to resolve header '${key}' for server '${serverName}': ${message}`, { cause: error });
2071
- }
2072
- }
2073
- return resolved;
2074
- }
2075
-
2076
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/node-http-fetch.js
2100
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/node-http-fetch.js
2077
2101
  import http from "node:http";
2078
2102
  import https from "node:https";
2079
2103
  import { Buffer as Buffer2 } from "node:buffer";
@@ -2253,7 +2277,7 @@ async function materializeRequestBody(body) {
2253
2277
  throw new TypeError("node-http1 fetch does not support streaming request bodies.");
2254
2278
  }
2255
2279
 
2256
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/http-transport.js
2280
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/http-transport.js
2257
2281
  function extractTransportStatusCode(error) {
2258
2282
  if (!error || typeof error !== "object")
2259
2283
  return void 0;
@@ -2473,7 +2497,7 @@ async function connectSseFallbackTransport(client, definition, command, transpor
2473
2497
  }
2474
2498
  }
2475
2499
 
2476
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/schema-validator.js
2500
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/schema-validator.js
2477
2501
  var schemaMaps = /* @__PURE__ */ new Set([
2478
2502
  "$defs",
2479
2503
  "definitions",
@@ -2532,7 +2556,7 @@ function createOutputSchemaValidator() {
2532
2556
  };
2533
2557
  }
2534
2558
 
2535
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/stdio-transport.js
2559
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/stdio-transport.js
2536
2560
  var McporterStdioTransport = class extends StdioClientTransport {
2537
2561
  parameters;
2538
2562
  meta;
@@ -2645,7 +2669,7 @@ var McporterStdioTransport = class extends StdioClientTransport {
2645
2669
  }
2646
2670
  };
2647
2671
 
2648
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/transport.js
2672
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/transport.js
2649
2673
  function shouldUseModeForServer(definition, serverFilter) {
2650
2674
  return !serverFilter || serverFilter === definition.name;
2651
2675
  }
@@ -2870,7 +2894,7 @@ async function createClientContext(definition, logger, clientInfo, options = {})
2870
2894
  });
2871
2895
  }
2872
2896
 
2873
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/connection-cache.js
2897
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/connection-cache.js
2874
2898
  var RuntimeConnectionCache = class {
2875
2899
  definitions;
2876
2900
  options;
@@ -3473,7 +3497,7 @@ function connectionInfoFromClient(client) {
3473
3497
  };
3474
3498
  }
3475
3499
 
3476
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/tool-filters.js
3500
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/tool-filters.js
3477
3501
  function validateToolFilters(name, filter) {
3478
3502
  if (filter.allowedTools !== void 0 && filter.blockedTools !== void 0) {
3479
3503
  throw new Error(`Server '${name}' cannot specify both allowedTools and blockedTools.`);
@@ -3495,7 +3519,7 @@ function filterTools(tools, filter) {
3495
3519
  return tools.filter((tool) => isToolAllowed(tool.name, filter));
3496
3520
  }
3497
3521
 
3498
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime.js
3522
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime.js
3499
3523
  var PACKAGE_NAME = "mcporter";
3500
3524
  var OAUTH_CODE_TIMEOUT_MS = resolveOAuthTimeoutFromEnv();
3501
3525
  var MAX_RESOURCE_LIST_PAGES = 100;
@@ -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/output-format.js
6
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/output-format.js
4
7
  function consumeOutputFormat(args, options = {}) {
5
8
  const allowed = options.allowed ?? ["auto", "text", "markdown", "json", "raw"];
6
9
  const defaultFormat = options.defaultFormat ?? "auto";
@@ -16,13 +19,13 @@ function consumeOutputFormat(args, options = {}) {
16
19
  if (token === "--output") {
17
20
  const value = args[index + 1];
18
21
  if (!value) {
19
- throw new Error("Flag '--output' requires a value.");
22
+ throw new CliUsageError("Flag '--output' requires a value.");
20
23
  }
21
24
  if (!isCliOutputFormat(value)) {
22
- throw new Error("--output format must be one of: auto, text, markdown, json, raw.");
25
+ throw new CliUsageError("--output format must be one of: auto, text, markdown, json, raw.");
23
26
  }
24
27
  if (!isAllowed(value)) {
25
- throw new Error(`--output format '${value}' is not supported for this command.`);
28
+ throw new CliUsageError(`--output format '${value}' is not supported for this command.`);
26
29
  }
27
30
  format = value;
28
31
  args.splice(index, 2);
@@ -30,7 +33,7 @@ function consumeOutputFormat(args, options = {}) {
30
33
  }
31
34
  if (enableRawShortcut && token === "--raw") {
32
35
  if (!isAllowed("raw")) {
33
- throw new Error("--raw is not supported for this command.");
36
+ throw new CliUsageError("--raw is not supported for this command.");
34
37
  }
35
38
  format = "raw";
36
39
  args.splice(index, 1);
@@ -38,7 +41,7 @@ function consumeOutputFormat(args, options = {}) {
38
41
  }
39
42
  if (options.jsonShortcutFlag && token === options.jsonShortcutFlag) {
40
43
  if (!isAllowed("json")) {
41
- throw new Error(`${options.jsonShortcutFlag} is not supported for this command.`);
44
+ throw new CliUsageError(`${options.jsonShortcutFlag} is not supported for this command.`);
42
45
  }
43
46
  format = "json";
44
47
  args.splice(index, 1);
@@ -47,7 +50,7 @@ function consumeOutputFormat(args, options = {}) {
47
50
  index += 1;
48
51
  }
49
52
  if (!isAllowed(format)) {
50
- throw new Error(`Format '${format}' is not supported for this command.`);
53
+ throw new CliUsageError(`Format '${format}' is not supported for this command.`);
51
54
  }
52
55
  return format;
53
56
  }
@@ -7,42 +7,42 @@ import {
7
7
  reconcilePersistedTokens,
8
8
  withRefreshLock,
9
9
  withRefreshRequestTimeout
10
- } from "./chunk-37VJZIFW.js";
10
+ } from "./chunk-FYRRJZPO.js";
11
11
  import {
12
12
  runtimeEnvironment,
13
13
  sameOAuthClientGeneration,
14
14
  sameOAuthTokenGeneration,
15
15
  withOAuthClientGeneration
16
- } from "./chunk-BI6L3SYV.js";
16
+ } from "./chunk-33P3PYCH.js";
17
17
  import {
18
18
  OAuthRequestedScopeSchema
19
- } from "./chunk-Y7JQJ352.js";
19
+ } from "./chunk-CSUDITHP.js";
20
20
  import {
21
21
  isFileLockTimeoutError
22
- } from "./chunk-TTVO6RCP.js";
22
+ } from "./chunk-QRC4AH7I.js";
23
23
  import {
24
24
  analyzeConnectionError
25
- } from "./chunk-7KOGD2JK.js";
25
+ } from "./chunk-VKRJV2OQ.js";
26
26
  import {
27
27
  IssuerMismatchError,
28
28
  auth,
29
29
  validateClientMetadataUrl
30
- } from "./chunk-EUHXZKP2.js";
30
+ } from "./chunk-N53HQB4G.js";
31
31
 
32
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth-browser-suppression.js
32
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth-browser-suppression.js
33
33
  var TRUE_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes"]);
34
34
  function suppressBrowserLaunchFromEnv(env = runtimeEnvironment()) {
35
35
  const raw = env.MCPORTER_OAUTH_NO_BROWSER;
36
36
  return raw !== void 0 && TRUE_VALUES.has(raw.trim().toLowerCase());
37
37
  }
38
38
 
39
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth.js
39
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth.js
40
40
  import { spawn } from "node:child_process";
41
41
  import { createHash, randomUUID } from "node:crypto";
42
42
  import http from "node:http";
43
43
  import { URL as URL2 } from "node:url";
44
44
 
45
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth-redirect-uri.js
45
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth-redirect-uri.js
46
46
  function matchesFreshLoopbackRedirect(returned, requested) {
47
47
  let redirect;
48
48
  try {
@@ -63,7 +63,7 @@ function matchesFreshLoopbackRedirect(returned, requested) {
63
63
  return redirect.href === requested.href;
64
64
  }
65
65
 
66
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/oauth.js
66
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/oauth.js
67
67
  var CALLBACK_HOST = "127.0.0.1";
68
68
  var CALLBACK_PATH = "/callback";
69
69
  var INTERACTIVE_AUTHORIZATION_TTL_MS = 3e5;
@@ -576,7 +576,7 @@ var __oauthInternals = {
576
576
  openExternal
577
577
  };
578
578
 
579
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime-oauth-support.js
579
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime-oauth-support.js
580
580
  function maybeEnableOAuth(definition, logger) {
581
581
  if (definition.auth === "oauth" || definition.auth === "refreshable_bearer") {
582
582
  return void 0;
@@ -595,7 +595,7 @@ function isUnauthorizedError(error) {
595
595
  return issue.kind === "auth";
596
596
  }
597
597
 
598
- // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/oauth.js
598
+ // node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/runtime/oauth.js
599
599
  var DEFAULT_OAUTH_CODE_TIMEOUT_MS = 3e5;
600
600
  var OAUTH_FLOW_ERROR = /* @__PURE__ */ Symbol("oauth-flow-error");
601
601
  var POST_AUTH_CONNECT_ERROR = /* @__PURE__ */ Symbol("post-auth-connect-error");