@introspection-ai/recipes 0.56.0 → 0.58.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 (204) hide show
  1. package/dist/batch/index.d.ts +2 -0
  2. package/dist/batch/index.d.ts.map +1 -1
  3. package/dist/batch/index.js +2 -1
  4. package/dist/batch/index.js.map +1 -1
  5. package/dist/batch/runner.d.ts +5 -0
  6. package/dist/batch/runner.d.ts.map +1 -1
  7. package/dist/batch/runner.js +6 -0
  8. package/dist/batch/runner.js.map +1 -1
  9. package/dist/batch/shards.d.ts +1 -1
  10. package/dist/batch/shards.d.ts.map +1 -1
  11. package/dist/batch/shards.js +3 -3
  12. package/dist/batch/shards.js.map +1 -1
  13. package/dist/child/agent.d.ts.map +1 -1
  14. package/dist/child/agent.js +6 -5
  15. package/dist/child/agent.js.map +1 -1
  16. package/dist/child/session.d.ts +1 -0
  17. package/dist/child/session.d.ts.map +1 -1
  18. package/dist/child/session.js +9 -6
  19. package/dist/child/session.js.map +1 -1
  20. package/dist/judges/classifier.d.ts +8 -0
  21. package/dist/judges/classifier.d.ts.map +1 -0
  22. package/dist/judges/classifier.js +30 -0
  23. package/dist/judges/classifier.js.map +1 -0
  24. package/dist/judges/cli-main.d.ts +41 -0
  25. package/dist/judges/cli-main.d.ts.map +1 -0
  26. package/dist/judges/cli-main.js +182 -0
  27. package/dist/judges/cli-main.js.map +1 -0
  28. package/dist/judges/cli.d.ts +2 -0
  29. package/dist/judges/cli.d.ts.map +1 -0
  30. package/dist/judges/cli.js +43 -0
  31. package/dist/judges/cli.js.map +1 -0
  32. package/dist/judges/controller.d.ts +78 -0
  33. package/dist/judges/controller.d.ts.map +1 -0
  34. package/dist/judges/controller.js +243 -0
  35. package/dist/judges/controller.js.map +1 -0
  36. package/dist/judges/definition.d.ts +86 -0
  37. package/dist/judges/definition.d.ts.map +1 -0
  38. package/dist/judges/definition.js +100 -0
  39. package/dist/judges/definition.js.map +1 -0
  40. package/dist/judges/gate.d.ts +46 -0
  41. package/dist/judges/gate.d.ts.map +1 -0
  42. package/dist/judges/gate.js +256 -0
  43. package/dist/judges/gate.js.map +1 -0
  44. package/dist/judges/identity.d.ts +21 -0
  45. package/dist/judges/identity.d.ts.map +1 -0
  46. package/dist/judges/identity.js +48 -0
  47. package/dist/judges/identity.js.map +1 -0
  48. package/dist/judges/index.d.ts +10 -0
  49. package/dist/judges/index.d.ts.map +1 -0
  50. package/dist/judges/index.js +10 -0
  51. package/dist/judges/index.js.map +1 -0
  52. package/dist/judges/resolve-hooks.d.ts +10 -0
  53. package/dist/judges/resolve-hooks.d.ts.map +1 -0
  54. package/dist/judges/resolve-hooks.js +25 -0
  55. package/dist/judges/resolve-hooks.js.map +1 -0
  56. package/dist/judges/run.d.ts +123 -0
  57. package/dist/judges/run.d.ts.map +1 -0
  58. package/dist/judges/run.js +319 -0
  59. package/dist/judges/run.js.map +1 -0
  60. package/dist/judges/session.d.ts +9 -0
  61. package/dist/judges/session.d.ts.map +1 -0
  62. package/dist/judges/session.js +109 -0
  63. package/dist/judges/session.js.map +1 -0
  64. package/dist/judges/trajectory.d.ts +91 -0
  65. package/dist/judges/trajectory.d.ts.map +1 -0
  66. package/dist/judges/trajectory.js +223 -0
  67. package/dist/judges/trajectory.js.map +1 -0
  68. package/dist/judges/verdict.d.ts +31 -0
  69. package/dist/judges/verdict.d.ts.map +1 -0
  70. package/dist/judges/verdict.js +121 -0
  71. package/dist/judges/verdict.js.map +1 -0
  72. package/dist/mcp/daemon/server.d.ts +0 -2
  73. package/dist/mcp/daemon/server.d.ts.map +1 -1
  74. package/dist/mcp/daemon/server.js +1 -1
  75. package/dist/mcp/daemon/server.js.map +1 -1
  76. package/dist/mcp-chunks/{auth-command-PZLSOYAT.js → auth-command-WE7QY6RH.js} +27 -27
  77. package/dist/mcp-chunks/call-arguments-2ABANGLE.js +16 -0
  78. package/dist/mcp-chunks/{call-command-VILJIFYG.js → call-command-OOBUGVTM.js} +56 -70
  79. package/dist/mcp-chunks/{chunk-N2U2FODH.js → chunk-2PTK6KBV.js} +4 -4
  80. package/dist/mcp-chunks/{chunk-F2X4Y2TQ.js → chunk-2R2HWX2E.js} +1 -1
  81. package/dist/mcp-chunks/{chunk-ORJND4AI.js → chunk-2R7UGABC.js} +70 -70
  82. package/dist/mcp-chunks/{chunk-US63Y6XE.js → chunk-32UZRZIL.js} +1 -1
  83. package/dist/mcp-chunks/{chunk-THRMUZZD.js → chunk-37VJZIFW.js} +8 -8
  84. package/dist/mcp-chunks/{chunk-5Z6WSV5D.js → chunk-3KSDZBUJ.js} +5 -5
  85. package/dist/mcp-chunks/{chunk-JTPTAO4M.js → chunk-44KI6DPL.js} +24 -15
  86. package/dist/mcp-chunks/{chunk-BHXCAVFP.js → chunk-4ACA5GWL.js} +1 -1
  87. package/dist/mcp-chunks/{chunk-E76ZUBOJ.js → chunk-4NABHXDS.js} +4 -4
  88. package/dist/mcp-chunks/{chunk-AJDK5Z7O.js → chunk-4SO2DY7F.js} +2 -3
  89. package/dist/mcp-chunks/{chunk-I6UFV7RW.js → chunk-5ZQKSEUN.js} +1 -1
  90. package/dist/mcp-chunks/{chunk-KZGUH7E2.js → chunk-73TMUGJL.js} +2039 -1148
  91. package/dist/mcp-chunks/{chunk-UVRJ3AAD.js → chunk-7KOGD2JK.js} +2 -2
  92. package/dist/mcp-chunks/{chunk-KJ5FPQF6.js → chunk-7SQZWTDU.js} +30 -26
  93. package/dist/mcp-chunks/{chunk-MYAMG6VL.js → chunk-ABPXAKP7.js} +89 -28
  94. package/dist/mcp-chunks/{chunk-2YV72LUA.js → chunk-AIUZOMBB.js} +12 -12
  95. package/dist/mcp-chunks/{chunk-V42T3QNK.js → chunk-BI6L3SYV.js} +9 -9
  96. package/dist/mcp-chunks/{chunk-757ZF552.js → chunk-CFRA424Y.js} +4 -4
  97. package/dist/mcp-chunks/{chunk-DU4SDPEV.js → chunk-CIQX62WO.js} +2 -2
  98. package/dist/mcp-chunks/{chunk-MHUMLEBO.js → chunk-CWM4RO33.js} +1 -1
  99. package/dist/mcp-chunks/{chunk-TUPFPO4L.js → chunk-DEYGZRBD.js} +5 -5
  100. package/dist/mcp-chunks/{chunk-3SXP4S2A.js → chunk-DL3GVI4M.js} +2 -2
  101. package/dist/mcp-chunks/{chunk-O7SIXJM6.js → chunk-EUHXZKP2.js} +108 -108
  102. package/dist/mcp-chunks/{chunk-H5PBSJP3.js → chunk-EV3SP7ME.js} +1 -1
  103. package/dist/mcp-chunks/chunk-EVEVCVYR.js +42 -0
  104. package/dist/mcp-chunks/{chunk-RUF27IUF.js → chunk-FDVES4CU.js} +2 -2
  105. package/dist/mcp-chunks/{chunk-L2MSWQDL.js → chunk-FJNWUAGR.js} +1 -1
  106. package/dist/mcp-chunks/{chunk-IWCVZ46B.js → chunk-G5DK4L6M.js} +2 -2
  107. package/dist/mcp-chunks/{chunk-3ETUDW7N.js → chunk-GQM53HF7.js} +1 -1
  108. package/dist/mcp-chunks/{chunk-2AKSS7WR.js → chunk-H44A4G2O.js} +2 -2
  109. package/dist/mcp-chunks/{chunk-WDWSA7RL.js → chunk-HGEKP2E5.js} +4 -4
  110. package/dist/mcp-chunks/{chunk-ELHS763C.js → chunk-HKMH4N3Z.js} +1 -1
  111. package/dist/mcp-chunks/{chunk-GZ53GNFP.js → chunk-HPFIAALB.js} +13 -10
  112. package/dist/mcp-chunks/chunk-KUJUYFDC.js +224 -0
  113. package/dist/mcp-chunks/{chunk-OIK5AH2S.js → chunk-MG6EVYIM.js} +41 -19
  114. package/dist/mcp-chunks/{chunk-QNXOIF5U.js → chunk-MSPGQEWX.js} +12 -12
  115. package/dist/mcp-chunks/{chunk-JEHI2YU4.js → chunk-MW3YO24Q.js} +3 -3
  116. package/dist/mcp-chunks/{chunk-WQL7FJQ3.js → chunk-NJR33E7V.js} +4 -4
  117. package/dist/mcp-chunks/{chunk-7U5NSQ5T.js → chunk-OSK2JGFH.js} +2 -2
  118. package/dist/mcp-chunks/{chunk-ZEA3Y5ZD.js → chunk-QHD5RXW4.js} +7 -7
  119. package/dist/mcp-chunks/{chunk-TC2JPBFB.js → chunk-QYR3UKJS.js} +7 -4
  120. package/dist/mcp-chunks/{chunk-3FRLDHVD.js → chunk-SYBDN4SV.js} +5 -5
  121. package/dist/mcp-chunks/{chunk-3P3KGT4H.js → chunk-TQ5T5VO7.js} +2 -2
  122. package/dist/mcp-chunks/{chunk-OWGTNJNR.js → chunk-TT3LOCMN.js} +2 -2
  123. package/dist/mcp-chunks/{chunk-3LENTPGE.js → chunk-TTVO6RCP.js} +2 -2
  124. package/dist/mcp-chunks/{chunk-IRSL7JRH.js → chunk-UY2QWZB3.js} +53 -49
  125. package/dist/mcp-chunks/{chunk-B6S43WID.js → chunk-VJ45Y5IO.js} +1 -1
  126. package/dist/mcp-chunks/{chunk-IRARVOUM.js → chunk-VJ5VDK6D.js} +1 -1
  127. package/dist/mcp-chunks/{chunk-6O42UGLI.js → chunk-VLJQSE6L.js} +9 -9
  128. package/dist/mcp-chunks/{chunk-HNQSUT44.js → chunk-W47YAN6W.js} +3 -3
  129. package/dist/mcp-chunks/{chunk-66VSGFXA.js → chunk-XU4D5QN2.js} +1 -1
  130. package/dist/mcp-chunks/{chunk-CXST5CVH.js → chunk-Y7JQJ352.js} +22 -18
  131. package/dist/mcp-chunks/{chunk-3HSC6NHZ.js → chunk-Y7UTXETL.js} +1 -1
  132. package/dist/mcp-chunks/{chunk-O3RTM5HD.js → chunk-YFPPHEDE.js} +1 -1
  133. package/dist/mcp-chunks/{chunk-N6YUOYDS.js → chunk-YGT57XUN.js} +2 -2
  134. package/dist/mcp-chunks/{chunk-BUOGKTKK.js → chunk-Z43KJRXY.js} +1 -1
  135. package/dist/mcp-chunks/{chunk-6P3KAQ5N.js → chunk-Z5XOB522.js} +1 -1
  136. package/dist/mcp-chunks/{chunk-63L6SHK3.js → chunk-ZEMVGFKG.js} +2 -2
  137. package/dist/mcp-chunks/{chunk-MEQXX43K.js → chunk-ZJZ53NIB.js} +1 -1
  138. package/dist/mcp-chunks/{cli-UQ5QXFXU.js → cli-TJFAYJO4.js} +81 -283
  139. package/dist/mcp-chunks/client-LDKUW5K5.js +32 -0
  140. package/dist/mcp-chunks/{config-command-ZSPJI34E.js → config-command-YGNK2VVL.js} +29 -29
  141. package/dist/mcp-chunks/daemon-command-UYAYRHVD.js +36 -0
  142. package/dist/mcp-chunks/dist-5JNZD3JV.js +69 -0
  143. package/dist/mcp-chunks/{dist-Q7WSCBBK.js → dist-IFOLXE2R.js} +351 -1305
  144. package/dist/mcp-chunks/{emit-ts-command-SY4LQE4S.js → emit-ts-command-4EVF6CIG.js} +28 -25
  145. package/dist/mcp-chunks/{generate-cli-runner-LQBBQ7F5.js → generate-cli-runner-UFVSXJVK.js} +58 -49
  146. package/dist/mcp-chunks/generated-daemon-runtime-LTH36X2R.js +32 -0
  147. package/dist/mcp-chunks/{inspect-cli-command-JPX4ON6N.js → inspect-cli-command-L3JGLLTG.js} +11 -11
  148. package/dist/mcp-chunks/{launch-UG7IH27P.js → launch-LUKDWKH4.js} +1 -1
  149. package/dist/mcp-chunks/{lifecycle-QBYGUHQ3.js → lifecycle-H57PYAZ5.js} +1 -1
  150. package/dist/mcp-chunks/{list-command-SDITI3ZM.js → list-command-QBO4LK5Q.js} +53 -42
  151. package/dist/mcp-chunks/logger-LvdykevT-BQ5B4N5O.js +995 -0
  152. package/dist/mcp-chunks/{output-utils-YTMZTA7J.js → output-utils-MB3PEV2M.js} +3 -3
  153. package/dist/mcp-chunks/{pi-mcp-runtime-OLO25D7A.js → pi-mcp-runtime-OIMIJV5A.js} +73 -17
  154. package/dist/mcp-chunks/{prompt-DkftHXS7-N7UENQ4C.js → prompt-DkftHXS7-TE2LNPAM.js} +1 -1
  155. package/dist/mcp-chunks/{record-command-JGTMATYI.js → record-command-RYDP3Y2A.js} +5 -5
  156. package/dist/mcp-chunks/{replay-command-S2VAC4RW.js → replay-command-QDJCQ5JU.js} +6 -6
  157. package/dist/mcp-chunks/{resource-command-SRFQQROJ.js → resource-command-RKHHQBFP.js} +9 -9
  158. package/dist/mcp-chunks/{result-utils-JASGNHXK.js → result-utils-ZD5GFX7P.js} +3 -3
  159. package/dist/mcp-chunks/runtime-F7PP4V25.js +39 -0
  160. package/dist/mcp-chunks/{runtime-wrapper-7HYO3NM5.js → runtime-wrapper-AV4JCNRF.js} +3 -3
  161. package/dist/mcp-chunks/{serve-command-YKSIXG7K.js → serve-command-MRPTK4XX.js} +26 -26
  162. package/dist/mcp-chunks/server-2WSYXDII.js +43 -0
  163. package/dist/mcp-chunks/{timeouts-BJWDJEMH.js → timeouts-2SQIDYBE.js} +4 -3
  164. package/dist/mcp-chunks/{vault-command-EYOIFWEY.js → vault-command-6JVDCFWU.js} +5 -5
  165. package/dist/mcp-chunks/{webapi-WMMA3OEC.js → webapi-CI4O7AUX.js} +1 -1
  166. package/dist/mcp-daemon.js +35 -31
  167. package/dist/mcp-run-worker.js +34 -30
  168. package/dist/model-binding.d.ts +44 -3
  169. package/dist/model-binding.d.ts.map +1 -1
  170. package/dist/model-binding.js +195 -4
  171. package/dist/model-binding.js.map +1 -1
  172. package/dist/recipe/manifest.generated.d.ts +2 -2
  173. package/dist/recipe/manifest.generated.d.ts.map +1 -1
  174. package/dist/recipe/manifest.generated.js +2 -2
  175. package/dist/recipe/manifest.generated.js.map +1 -1
  176. package/dist/recipe/model.d.ts +7 -12
  177. package/dist/recipe/model.d.ts.map +1 -1
  178. package/dist/recipe/model.js +197 -249
  179. package/dist/recipe/model.js.map +1 -1
  180. package/dist/session.d.ts +11 -0
  181. package/dist/session.d.ts.map +1 -1
  182. package/dist/session.js +59 -6
  183. package/dist/session.js.map +1 -1
  184. package/dist/suggestion-picker.d.ts +2 -2
  185. package/dist/suggestion-picker.d.ts.map +1 -1
  186. package/dist/suggestion-picker.js +5 -3
  187. package/dist/suggestion-picker.js.map +1 -1
  188. package/docs/README.md +1 -0
  189. package/docs/batch.md +2 -2
  190. package/docs/judges.md +269 -0
  191. package/docs/recipe-format.md +23 -12
  192. package/docs/recipe-judges.md +119 -59
  193. package/package.json +20 -16
  194. package/skills/documents/SKILL.md +6 -2
  195. package/skills/issues/SKILL.md +2 -1
  196. package/skills/search/SKILL.md +3 -0
  197. package/skills/signature/SKILL.md +4 -4
  198. package/dist/mcp-chunks/call-arguments-GCXZA4HC.js +0 -16
  199. package/dist/mcp-chunks/client-SBELHRAE.js +0 -32
  200. package/dist/mcp-chunks/daemon-command-MQS6AP2W.js +0 -32
  201. package/dist/mcp-chunks/dist-SDPPH7XQ.js +0 -65
  202. package/dist/mcp-chunks/generated-daemon-runtime-TUCZ3JEP.js +0 -32
  203. package/dist/mcp-chunks/runtime-5SOGEUTQ.js +0 -39
  204. package/dist/mcp-chunks/server-HQBFWAJR.js +0 -41
@@ -4,12 +4,12 @@ import {
4
4
  extraDimText,
5
5
  redText,
6
6
  yellowText
7
- } from "./chunk-IRARVOUM.js";
7
+ } from "./chunk-VJ5VDK6D.js";
8
8
  import {
9
9
  analyzeConnectionError
10
- } from "./chunk-UVRJ3AAD.js";
10
+ } from "./chunk-7KOGD2JK.js";
11
11
 
12
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/path-utils.js
12
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/path-utils.js
13
13
  import os from "node:os";
14
14
  import path from "node:path";
15
15
  function formatPathForDisplay(filePath) {
@@ -19,7 +19,7 @@ function formatPathForDisplay(filePath) {
19
19
  return displayPath;
20
20
  }
21
21
 
22
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/list-format.js
22
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/list-format.js
23
23
  function renderServerListRow(result, timeoutMs, options = {}) {
24
24
  const description = result.server.description ? dimText(` \u2014 ${result.server.description}`) : "";
25
25
  const durationLabel = dimText(`${(result.durationMs / 1e3).toFixed(1)}s`);
@@ -4,10 +4,10 @@ import {
4
4
  printParseErrorCode
5
5
  } from "./chunk-T4MQCFIK.js";
6
6
 
7
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/config/imports/shared.js
7
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/imports/shared.js
8
8
  function parseJsonBuffer(buffer) {
9
9
  const errors = [];
10
- const parsed = parse(buffer, errors, { allowTrailingComma: true });
10
+ const parsed = parse(buffer.replace(/^\uFEFF/, ""), errors, { allowTrailingComma: true });
11
11
  const first = errors[0];
12
12
  if (first) {
13
13
  const message = printParseErrorCode(first.error);
@@ -1,23 +1,23 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  __configInternals
4
- } from "./chunk-CXST5CVH.js";
4
+ } from "./chunk-Y7JQJ352.js";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-7U5NSQ5T.js";
7
+ } from "./chunk-OSK2JGFH.js";
8
8
  import {
9
9
  withFileLock,
10
10
  writeTextFileAtomic
11
- } from "./chunk-3LENTPGE.js";
11
+ } from "./chunk-TTVO6RCP.js";
12
12
  import {
13
13
  expandHome
14
- } from "./chunk-BHXCAVFP.js";
14
+ } from "./chunk-4ACA5GWL.js";
15
15
  import {
16
16
  canonicalKeepAliveName,
17
17
  resolveLifecycle
18
- } from "./chunk-MHUMLEBO.js";
18
+ } from "./chunk-CWM4RO33.js";
19
19
 
20
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/ascii-slug.js
20
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/ascii-slug.js
21
21
  function toAsciiSlug(value) {
22
22
  let slug = "";
23
23
  let pendingSeparator = false;
@@ -38,7 +38,7 @@ function toAsciiSlug(value) {
38
38
  return slug;
39
39
  }
40
40
 
41
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/adhoc-server.js
41
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/adhoc-server.js
42
42
  import fs from "node:fs/promises";
43
43
  import path from "node:path";
44
44
  var TEMP_SOURCE = { kind: "local", path: "<adhoc>" };
@@ -1,13 +1,16 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
+ import {
3
+ CliUsageError
4
+ } from "./chunk-EV3SP7ME.js";
2
5
  import {
3
6
  raceWithTimeout,
4
7
  resolveChromeDevtoolsAutoConnectCommand,
5
8
  resolveChromeDevtoolsRelayEnvironment,
6
9
  resolveCommandArgument,
7
10
  resolveCommandArguments
8
- } from "./chunk-6O42UGLI.js";
11
+ } from "./chunk-VLJQSE6L.js";
9
12
 
10
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/timeouts.js
13
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/timeouts.js
11
14
  var DEFAULT_LIST_TIMEOUT_MS = 3e4;
12
15
  var DEFAULT_CALL_TIMEOUT_MS = 6e4;
13
16
  var DEFAULT_CHROME_TIMEOUT_MS = 3e5;
@@ -65,11 +68,11 @@ function consumeTimeoutFlag(args, index, options) {
65
68
  const missingValueMessage = options?.missingValueMessage ?? `Flag '${flagName}' requires a value.`;
66
69
  const value = args[index + 1];
67
70
  if (!value) {
68
- throw new Error(missingValueMessage);
71
+ throw new CliUsageError(missingValueMessage);
69
72
  }
70
73
  const parsed = parsePositiveInteger(value);
71
74
  if (parsed === void 0) {
72
- throw new Error(`${flagName} must be a positive integer (milliseconds).`);
75
+ throw new CliUsageError(`${flagName} must be a positive integer (milliseconds).`);
73
76
  }
74
77
  args.splice(index, 2);
75
78
  return parsed;
@@ -1,18 +1,18 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  findServerByHttpUrl
4
- } from "./chunk-63L6SHK3.js";
4
+ } from "./chunk-ZEMVGFKG.js";
5
5
  import {
6
6
  persistEphemeralServer,
7
7
  resolveEphemeralServer,
8
8
  splitCommandLine
9
- } from "./chunk-ZEA3Y5ZD.js";
9
+ } from "./chunk-QHD5RXW4.js";
10
10
  import {
11
11
  looksLikeHttpUrl,
12
12
  normalizeHttpUrlCandidate
13
- } from "./chunk-US63Y6XE.js";
13
+ } from "./chunk-32UZRZIL.js";
14
14
 
15
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/adhoc-help.js
15
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/adhoc-help.js
16
16
  var ADHOC_SERVER_HELP_ENTRIES = [
17
17
  { flag: "--http-url <url>", description: "Register an HTTP server for this run." },
18
18
  { flag: "--allow-http", description: "Permit plain http:// URLs with --http-url." },
@@ -36,7 +36,7 @@ function renderAdhocServerHelpLines(width = 23) {
36
36
  return ADHOC_SERVER_HELP_ENTRIES.map((entry) => ` ${entry.flag.padEnd(width)}${entry.description}`);
37
37
  }
38
38
 
39
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/ephemeral-target.js
39
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/ephemeral-target.js
40
40
  async function prepareEphemeralServerTarget(options) {
41
41
  let target = options.target;
42
42
  let spec = options.ephemeral ? { ...options.ephemeral } : void 0;
@@ -1,9 +1,9 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  buildToolMetadataList
4
- } from "./chunk-KJ5FPQF6.js";
4
+ } from "./chunk-7SQZWTDU.js";
5
5
 
6
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/tool-cache.js
6
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/tool-cache.js
7
7
  var runtimeCache = /* @__PURE__ */ new WeakMap();
8
8
  function cacheKey(serverName, options) {
9
9
  const includeSchema = options.includeSchema !== false;
@@ -18,11 +18,11 @@ function mcpRuntimeKind(configPath = process.env.MCPORTER_CONFIG, env = process.
18
18
  }
19
19
  async function createMcpRuntime(configPath = process.env.MCPORTER_CONFIG, env = process.env) {
20
20
  if (mcpRuntimeKind(configPath, env) === "pi-mcp")
21
- return (await import("./pi-mcp-runtime-OLO25D7A.js")).PiMcpRuntime.fromConfigFile(
21
+ return (await import("./pi-mcp-runtime-OIMIJV5A.js")).PiMcpRuntime.fromConfigFile(
22
22
  configPath,
23
23
  env
24
24
  );
25
- const { createRuntime } = await import("./dist-SDPPH7XQ.js");
25
+ const { createRuntime } = await import("./dist-5JNZD3JV.js");
26
26
  return await createRuntime(configPath ? { configPath } : {});
27
27
  }
28
28
 
@@ -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.16.1/node_modules/mcporter/dist/process-utils.js
3
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/process-utils.js
4
4
  function isProcessRunning(pid) {
5
5
  if (!Number.isInteger(pid) || pid <= 0) {
6
6
  return false;
@@ -13,7 +13,7 @@ function isProcessRunning(pid) {
13
13
  }
14
14
  }
15
15
 
16
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/fs-json.js
16
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/fs-json.js
17
17
  import crypto from "node:crypto";
18
18
  import { constants } from "node:fs";
19
19
  import fs from "node:fs/promises";
@@ -3,7 +3,7 @@ import {
3
3
  __export
4
4
  } from "./chunk-LRKZP7DJ.js";
5
5
 
6
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/buffer_utils.js
6
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/buffer_utils.js
7
7
  var encoder = new TextEncoder();
8
8
  var decoder = new TextDecoder();
9
9
  var strictDecoder = new TextDecoder("utf-8", { fatal: true });
@@ -71,7 +71,7 @@ async function digest(algorithm, data) {
71
71
  return new Uint8Array(await crypto.subtle.digest(subtleDigest, data));
72
72
  }
73
73
 
74
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/util/errors.js
74
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/util/errors.js
75
75
  var errors_exports = {};
76
76
  __export(errors_exports, {
77
77
  JOSEAlgNotAllowed: () => JOSEAlgNotAllowed,
@@ -183,7 +183,7 @@ var JWSSignatureVerificationFailed = class extends JOSEError {
183
183
  }
184
184
  };
185
185
 
186
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/util/base64url.js
186
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/util/base64url.js
187
187
  var base64url_exports = {};
188
188
  __export(base64url_exports, {
189
189
  decode: () => decode,
@@ -201,7 +201,7 @@ function encode2(input) {
201
201
  return encodeBase64(typeof input == "string" ? encoder.encode(input) : input, true);
202
202
  }
203
203
 
204
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/validate.js
204
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/validate.js
205
205
  function assertUint8Array(input, label) {
206
206
  if (!(input instanceof Uint8Array))
207
207
  throw new TypeError(`${label} must be an instance of Uint8Array`);
@@ -306,7 +306,7 @@ function serializeJoseHeader(Err, header) {
306
306
  return [parsed, serialized];
307
307
  }
308
308
 
309
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/key.js
309
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/key.js
310
310
  var tag = (key) => key[Symbol.toStringTag];
311
311
  var jwkMatchesOp = (entry, key, usage) => {
312
312
  const { alg } = entry;
@@ -447,7 +447,7 @@ async function rawKey(key, expected, usage, extractable = false) {
447
447
  return key instanceof Uint8Array && (key = await crypto.subtle.importKey("raw", key, expected, extractable, [usage])), checkCryptoKey(key, expected, usage), key;
448
448
  }
449
449
 
450
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/content_encryption.js
450
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/content_encryption.js
451
451
  var generateCek = (enc) => crypto.getRandomValues(new Uint8Array(enc.cekBits >> 3));
452
452
  function checkCekLength(cek, expected) {
453
453
  const actual = cek.byteLength << 3;
@@ -528,7 +528,7 @@ async function decrypt(enc, cek, ciphertext, iv, tag2, aad) {
528
528
  }
529
529
  }
530
530
 
531
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/key_descriptor.js
531
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/key_descriptor.js
532
532
  function table(entries) {
533
533
  const out = { __proto__: null };
534
534
  for (const alg in entries)
@@ -536,7 +536,7 @@ function table(entries) {
536
536
  return out;
537
537
  }
538
538
 
539
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jwe_algorithms.js
539
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jwe_algorithms.js
540
540
  var wrap = [
541
541
  ["encrypt", "wrapKey"],
542
542
  ["decrypt", "unwrapKey"]
@@ -649,7 +649,7 @@ function jweEncryption(enc) {
649
649
  return (typeof enc == "string" ? ENC[enc] : void 0) ?? unsupported("enc", "Encryption Algorithm");
650
650
  }
651
651
 
652
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/key_management.js
652
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/key_management.js
653
653
  function checkEcdhCryptoKey(key, usage) {
654
654
  if (key.algorithm.name !== "ECDH" && key.algorithm.name !== "X25519")
655
655
  throw new TypeError("CryptoKey does not support this operation, its algorithm.name must be ECDH or X25519");
@@ -835,7 +835,7 @@ async function encryptKeyManagement(entry, enc, inputKey, joseHeader, providedCe
835
835
  return [cek, encryptedKey, parameters];
836
836
  }
837
837
 
838
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/deflate.js
838
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/deflate.js
839
839
  function validateZip(joseHeader, protectedHeader) {
840
840
  if (joseHeader.zip !== void 0 && joseHeader.zip !== "DEF")
841
841
  throw new JOSENotSupported('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value.');
@@ -859,7 +859,8 @@ async function transform(stream, input, maxLength = 1 / 0) {
859
859
  if (done)
860
860
  break;
861
861
  if (chunks.push(value), length += value.byteLength, maxLength !== 1 / 0 && length > maxLength)
862
- throw new JWEInvalid("Decompressed plaintext exceeded the configured limit");
862
+ throw await reader.cancel().catch(() => {
863
+ }), new JWEInvalid("Decompressed plaintext exceeded the configured limit");
863
864
  }
864
865
  return concat(...chunks);
865
866
  }
@@ -870,7 +871,7 @@ async function decompress(input, maxLength) {
870
871
  return supported("DecompressionStream"), transform(new DecompressionStream("deflate-raw"), input, maxLength);
871
872
  }
872
873
 
873
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jwe_decrypt.js
874
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jwe_decrypt.js
874
875
  function snapshotSharedJWE(jwe) {
875
876
  const { aad, ciphertext, iv, protected: encodedProtected, tag: tag2, unprotected } = jwe;
876
877
  if (iv !== void 0 && (typeof iv != "string" || !iv))
@@ -1042,12 +1043,12 @@ async function decryptCompact(jwe, shared, key) {
1042
1043
  }, shared, key);
1043
1044
  }
1044
1045
 
1045
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/compact/decrypt.js
1046
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/compact/decrypt.js
1046
1047
  async function compactDecrypt(jwe, key, options) {
1047
1048
  return decryptCompact(jwe, prepareDecrypt(options), key);
1048
1049
  }
1049
1050
 
1050
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js
1051
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js
1051
1052
  async function flattenedDecrypt(jwe, key, options) {
1052
1053
  if (!isObject(jwe))
1053
1054
  throw new JWEInvalid("Flattened JWE must be an object");
@@ -1058,7 +1059,7 @@ async function flattenedDecrypt(jwe, key, options) {
1058
1059
  return checkRecipient(snapshot), decryptJWE(snapshot, prepareDecrypt(options), key);
1059
1060
  }
1060
1061
 
1061
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/general/decrypt.js
1062
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/general/decrypt.js
1062
1063
  async function generalDecrypt(jwe, key, options) {
1063
1064
  if (!isObject(jwe))
1064
1065
  throw new JWEInvalid("General JWE must be an object");
@@ -1093,7 +1094,7 @@ async function generalDecrypt(jwe, key, options) {
1093
1094
  throw new JWEDecryptionFailed();
1094
1095
  }
1095
1096
 
1096
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jwe_encrypt.js
1097
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jwe_encrypt.js
1097
1098
  function checkDisjoint(protectedHeader, unprotectedHeader, sharedUnprotectedHeader) {
1098
1099
  if (!isDisjoint(protectedHeader, unprotectedHeader, sharedUnprotectedHeader))
1099
1100
  throw new JWEInvalid("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");
@@ -1154,7 +1155,7 @@ function compactJWE(jwe) {
1154
1155
  return [jwe.protected, jwe.encrypted_key, jwe.iv, jwe.ciphertext, jwe.tag].join(".");
1155
1156
  }
1156
1157
 
1157
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/general/encrypt.js
1158
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/general/encrypt.js
1158
1159
  var IndividualRecipient = class {
1159
1160
  #parent;
1160
1161
  state;
@@ -1251,7 +1252,7 @@ var GeneralEncrypt = class {
1251
1252
  }
1252
1253
  };
1253
1254
 
1254
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jws_algorithms.js
1255
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jws_algorithms.js
1255
1256
  var sig = [["verify"], ["sign"]];
1256
1257
  function hmac(bits) {
1257
1258
  const subtle = { name: "HMAC", hash: `SHA-${bits}` };
@@ -1321,7 +1322,7 @@ function jwsAlgorithm(alg) {
1321
1322
  return entry;
1322
1323
  }
1323
1324
 
1324
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jws_verify.js
1325
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jws_verify.js
1325
1326
  function snapshotJws(jws, sharedPayload) {
1326
1327
  const encodedProtectedHeader = jws.protected, inputHeader = jws.header, header = isObject(inputHeader) ? { ...inputHeader } : inputHeader;
1327
1328
  let payload = sharedPayload ? sharedPayload[0] : jws.payload;
@@ -1399,13 +1400,13 @@ async function verifyCompact(jws, shared, key) {
1399
1400
  return verifySignature({ payload, protected: protectedHeader, signature }, shared, key, encodeCompactUnencodedPayload);
1400
1401
  }
1401
1402
 
1402
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jws/compact/verify.js
1403
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jws/compact/verify.js
1403
1404
  async function compactVerify(jws, key, options) {
1404
1405
  const [result] = await verifyCompact(jws, prepareVerify(options), key);
1405
1406
  return result;
1406
1407
  }
1407
1408
 
1408
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jws/flattened/verify.js
1409
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jws/flattened/verify.js
1409
1410
  async function flattenedVerify(jws, key, options) {
1410
1411
  if (!isObject(jws))
1411
1412
  throw new JWSInvalid("Flattened JWS must be an object");
@@ -1413,7 +1414,7 @@ async function flattenedVerify(jws, key, options) {
1413
1414
  return result;
1414
1415
  }
1415
1416
 
1416
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jws/general/verify.js
1417
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jws/general/verify.js
1417
1418
  function snapshotSignature(signature, payload) {
1418
1419
  try {
1419
1420
  const jws = snapshotJws(signature, [payload]), protectedHeader = parseProtectedHeader(jws.protected), { b64, crit } = protectedHeader;
@@ -1457,7 +1458,7 @@ async function generalVerify(jws, key, options) {
1457
1458
  throw new JWSSignatureVerificationFailed();
1458
1459
  }
1459
1460
 
1460
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jwt_claims_set.js
1461
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jwt_claims_set.js
1461
1462
  var epoch = (date) => Math.floor(date.getTime() / 1e3);
1462
1463
  var multipliers = {
1463
1464
  s: 1,
@@ -1538,7 +1539,8 @@ function validateClaimsSet(protectedHeader, claimsSetBytes, options = {}) {
1538
1539
  throw new TypeError("Invalid clockTolerance option type");
1539
1540
  tolerance = clockTolerance;
1540
1541
  }
1541
- validateInput("clockTolerance option", tolerance);
1542
+ if (validateInput("clockTolerance option", tolerance), tolerance < 0)
1543
+ throw new TypeError("Invalid clockTolerance option input");
1542
1544
  const { currentDate } = options, now = validateInput("currentDate option", epoch(currentDate === void 0 ? /* @__PURE__ */ new Date() : currentDate)), iat = validateNumericDate(claimsSet, "iat", maxTokenAge !== void 0), nbf = validateNumericDate(claimsSet, "nbf");
1543
1545
  if (nbf !== void 0 && nbf > now + tolerance)
1544
1546
  throw new JWTClaimValidationFailed('"nbf" claim timestamp check failed', claimsSet, "nbf", checkFailed);
@@ -1600,7 +1602,7 @@ var JWTClaimsBuilder = class {
1600
1602
  }
1601
1603
  };
1602
1604
 
1603
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/verify.js
1605
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/verify.js
1604
1606
  async function jwtVerify(jwt, key, options) {
1605
1607
  const [verified, b64] = await verifyCompact(jwt, prepareVerify(options), key);
1606
1608
  if (!b64)
@@ -1609,7 +1611,7 @@ async function jwtVerify(jwt, key, options) {
1609
1611
  return { ...verified, payload };
1610
1612
  }
1611
1613
 
1612
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/decrypt.js
1614
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/decrypt.js
1613
1615
  async function jwtDecrypt(jwt, key, options) {
1614
1616
  const { plaintext, ...result } = await decryptCompact(jwt, prepareDecrypt(options), key), { protectedHeader } = result, payload = validateClaimsSet(protectedHeader, plaintext, options);
1615
1617
  for (const claim of ["iss", "sub", "aud"])
@@ -1618,7 +1620,7 @@ async function jwtDecrypt(jwt, key, options) {
1618
1620
  return { payload, ...result };
1619
1621
  }
1620
1622
 
1621
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/compact/encrypt.js
1623
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/compact/encrypt.js
1622
1624
  var CompactEncrypt = class {
1623
1625
  #input;
1624
1626
  constructor(plaintext) {
@@ -1641,7 +1643,7 @@ var CompactEncrypt = class {
1641
1643
  }
1642
1644
  };
1643
1645
 
1644
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js
1646
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js
1645
1647
  var FlattenedEncrypt = class {
1646
1648
  #input;
1647
1649
  constructor(plaintext) {
@@ -1673,7 +1675,7 @@ var FlattenedEncrypt = class {
1673
1675
  }
1674
1676
  };
1675
1677
 
1676
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jws_sign.js
1678
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/jws_sign.js
1677
1679
  async function createSignature(input, key, rejectUnencoded) {
1678
1680
  let [payload, protectedHeader, unprotectedHeader, crit] = input, encodedProtectedHeader = "";
1679
1681
  if (protectedHeader !== void 0) {
@@ -1711,7 +1713,7 @@ async function createCompactSignature(payload, protectedHeader, crit, key, rejec
1711
1713
  return `${jws.protected}.${jws.payload}.${jws.signature}`;
1712
1714
  }
1713
1715
 
1714
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jws/compact/sign.js
1716
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jws/compact/sign.js
1715
1717
  var CompactSign = class {
1716
1718
  #payload;
1717
1719
  #protectedHeader;
@@ -1728,7 +1730,7 @@ var CompactSign = class {
1728
1730
  }
1729
1731
  };
1730
1732
 
1731
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jws/flattened/sign.js
1733
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jws/flattened/sign.js
1732
1734
  var FlattenedSign = class {
1733
1735
  #input;
1734
1736
  constructor(payload) {
@@ -1748,7 +1750,7 @@ var FlattenedSign = class {
1748
1750
  }
1749
1751
  };
1750
1752
 
1751
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jws/general/sign.js
1753
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jws/general/sign.js
1752
1754
  var IndividualSignature = class {
1753
1755
  #parent;
1754
1756
  state;
@@ -1802,7 +1804,7 @@ var GeneralSign = class {
1802
1804
  }
1803
1805
  };
1804
1806
 
1805
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/sign.js
1807
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/sign.js
1806
1808
  var SignJWT_base = JWTClaimsBuilder;
1807
1809
  var SignJWT = class extends SignJWT_base {
1808
1810
  #protectedHeader;
@@ -1816,7 +1818,7 @@ var SignJWT = class extends SignJWT_base {
1816
1818
  }
1817
1819
  };
1818
1820
 
1819
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/encrypt.js
1821
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/encrypt.js
1820
1822
  var EncryptJWT_base = JWTClaimsBuilder;
1821
1823
  var EncryptJWT = class extends EncryptJWT_base {
1822
1824
  #input = [void 0];
@@ -1857,7 +1859,7 @@ var EncryptJWT = class extends EncryptJWT_base {
1857
1859
  }
1858
1860
  };
1859
1861
 
1860
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/key_algorithm.js
1862
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/key_algorithm.js
1861
1863
  var algArgument = '"alg" (Algorithm)';
1862
1864
  function unsupportedAlg(source = 'JWK "alg" (Algorithm) Parameter') {
1863
1865
  throw new JOSENotSupported(`Invalid or unsupported ${source} value`);
@@ -1866,7 +1868,7 @@ function keyAlgorithm(alg, source) {
1866
1868
  return (typeof alg == "string" ? JWS[alg] ?? JWE[alg] : void 0) ?? unsupportedAlg(source);
1867
1869
  }
1868
1870
 
1869
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/lib/asn1.js
1871
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/lib/asn1.js
1870
1872
  var formatPEM = (b64, descriptor) => {
1871
1873
  const newlined = (b64.match(/.{1,64}/g) || []).join(`
1872
1874
  `);
@@ -2010,7 +2012,7 @@ var fromX509 = (pem, alg, options) => {
2010
2012
  return genericImport("spki", spki, alg, options);
2011
2013
  };
2012
2014
 
2013
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/key/export.js
2015
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/key/export.js
2014
2016
  function exportSPKI(key) {
2015
2017
  return toSPKI(key);
2016
2018
  }
@@ -2039,7 +2041,7 @@ async function exportJWK(key) {
2039
2041
  return jwk;
2040
2042
  }
2041
2043
 
2042
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwk/thumbprint.js
2044
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwk/thumbprint.js
2043
2045
  var check = (value, description) => {
2044
2046
  if (typeof value != "string" || !value)
2045
2047
  throw new JWKInvalid(`${description} missing or invalid`);
@@ -2086,7 +2088,7 @@ async function calculateJwkThumbprintUri(key, digestAlgorithm) {
2086
2088
  return `urn:ietf:params:oauth:jwk-thumbprint:sha-${digestAlgorithm.slice(-3)}:${thumbprint}`;
2087
2089
  }
2088
2090
 
2089
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwk/embedded.js
2091
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwk/embedded.js
2090
2092
  async function EmbeddedJWK(protectedHeader, token) {
2091
2093
  const joseHeader = {
2092
2094
  ...protectedHeader,
@@ -2111,7 +2113,7 @@ async function EmbeddedJWK(protectedHeader, token) {
2111
2113
  return key;
2112
2114
  }
2113
2115
 
2114
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwks/local.js
2116
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwks/local.js
2115
2117
  function isUsableJWK(jwk, entry, alg, kid) {
2116
2118
  const { kty, key_ops: keyOps, ext, kid: jwkKid, alg: jwkAlg, use, crv } = jwk;
2117
2119
  return (ext === void 0 || typeof ext == "boolean") && (keyOps === void 0 || Array.isArray(keyOps) && keyOps.every((operation, index) => typeof operation == "string" && keyOps.indexOf(operation) === index) && keyOps.includes("verify")) && entry.kty.includes(kty) && (kid === void 0 || typeof kid == "string" && kid === jwkKid) && (jwkAlg === void 0 ? kty !== "AKP" : alg === jwkAlg) && (use === void 0 || use === "sig") && (!entry.crv || crv === entry.crv);
@@ -2166,12 +2168,12 @@ function createLocalJWKSet(jwks) {
2166
2168
  });
2167
2169
  }
2168
2170
 
2169
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwks/remote.js
2171
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwks/remote.js
2170
2172
  function isCloudflareWorkers() {
2171
2173
  return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
2172
2174
  }
2173
2175
  var USER_AGENT;
2174
- (typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.13");
2176
+ (typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.15");
2175
2177
  var customFetch = /* @__PURE__ */ Symbol();
2176
2178
  async function fetchJwks(url, headers, signal, fetchImpl = fetch) {
2177
2179
  const response = await fetchImpl(url, {
@@ -2197,6 +2199,8 @@ function isFreshFor(timestamp, duration) {
2197
2199
  function validateDuration(value, fallback, option) {
2198
2200
  if (Number.isNaN(value))
2199
2201
  throw new TypeError(`"${option}" option must not be NaN`);
2202
+ if (typeof value == "number" && value < 0)
2203
+ throw new TypeError(`"${option}" option must not be negative`);
2200
2204
  return typeof value == "number" ? value : fallback;
2201
2205
  }
2202
2206
  function createRemoteJWKSet(url, options) {
@@ -2261,7 +2265,7 @@ function createRemoteJWKSet(url, options) {
2261
2265
  });
2262
2266
  }
2263
2267
 
2264
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/unsecured.js
2268
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/jwt/unsecured.js
2265
2269
  var UnsecuredJWT_base = JWTClaimsBuilder;
2266
2270
  var UnsecuredJWT = class extends UnsecuredJWT_base {
2267
2271
  encode() {
@@ -2290,7 +2294,7 @@ var UnsecuredJWT = class extends UnsecuredJWT_base {
2290
2294
  }
2291
2295
  };
2292
2296
 
2293
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/key/import.js
2297
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/key/import.js
2294
2298
  async function importSPKI(spki, alg, options) {
2295
2299
  if (typeof spki != "string" || spki.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
2296
2300
  throw new TypeError('"spki" must be SPKI formatted string');
@@ -2333,7 +2337,7 @@ async function importJWK(jwk, alg, options) {
2333
2337
  }
2334
2338
  }
2335
2339
 
2336
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/util/decode_protected_header.js
2340
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/util/decode_protected_header.js
2337
2341
  function decodeProtectedHeader(token) {
2338
2342
  let encodedProtectedHeader;
2339
2343
  if (typeof token == "string") {
@@ -2350,7 +2354,7 @@ function decodeProtectedHeader(token) {
2350
2354
  return parseJoseHeader(encodedProtectedHeader, TypeError, invalid2);
2351
2355
  }
2352
2356
 
2353
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/util/decode_jwt.js
2357
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/util/decode_jwt.js
2354
2358
  function decodeJwt(jwt) {
2355
2359
  if (typeof jwt != "string")
2356
2360
  throw new JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");
@@ -2378,7 +2382,7 @@ function decodeJwt(jwt) {
2378
2382
  return claimsSet;
2379
2383
  }
2380
2384
 
2381
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/key/generate_key_pair.js
2385
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/key/generate_key_pair.js
2382
2386
  function getModulusLengthOption(options) {
2383
2387
  const modulusLength = options?.modulusLength ?? 2048;
2384
2388
  if (typeof modulusLength != "number" || !Number.isInteger(modulusLength) || modulusLength < 2048)
@@ -2409,7 +2413,7 @@ async function generateKeyPair(alg, options) {
2409
2413
  ]);
2410
2414
  }
2411
2415
 
2412
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/key/generate_secret.js
2416
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/key/generate_secret.js
2413
2417
  async function generateSecret(alg, options) {
2414
2418
  const extractable = validateExtractableOption(options?.extractable);
2415
2419
  let keyLengthBits, algorithm, keyUsages;
@@ -2442,7 +2446,7 @@ async function generateSecret(alg, options) {
2442
2446
  return crypto.subtle.generateKey(algorithm, extractable ?? false, keyUsages);
2443
2447
  }
2444
2448
 
2445
- // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/jose/dist/webapi/index.js
2449
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/node_modules/jose/dist/webapi/index.js
2446
2450
  var cryptoRuntime = "WebCryptoAPI";
2447
2451
 
2448
2452
  export {
@@ -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.16.1/node_modules/mcporter/dist/daemon/launch.js
3
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/launch.js
4
4
  import { spawn } from "node:child_process";
5
5
  import path from "node:path";
6
6
  import { existsSync } from "node:fs";
@@ -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.16.1/node_modules/mcporter/dist/cli/terminal.js
3
+ // node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/terminal.js
4
4
  var forceColorRaw = process.env.FORCE_COLOR?.toLowerCase();
5
5
  var forceDisableColor = forceColorRaw === "0" || forceColorRaw === "false";
6
6
  var forceEnableColor = forceColorRaw === "1" || forceColorRaw === "true" || forceColorRaw === "2" || forceColorRaw === "3";