outask 0.0.0-stage → 1.7.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 (831) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +38 -2
  3. package/bin/outask +7 -0
  4. package/bin/tasks +7 -0
  5. package/cli.mjs +151 -0
  6. package/mcp/package-lock.json +175 -0
  7. package/mcp/package.json +15 -0
  8. package/mcp/server.mjs +132 -0
  9. package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
  10. package/node_modules/@modelcontextprotocol/core/README.md +40 -0
  11. package/node_modules/@modelcontextprotocol/core/dist/auth-Anm-lwWi.d.mts +8507 -0
  12. package/node_modules/@modelcontextprotocol/core/dist/auth-Anm-lwWi.d.mts.map +1 -0
  13. package/node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs +1681 -0
  14. package/node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs.map +1 -0
  15. package/node_modules/@modelcontextprotocol/core/dist/auth-D1CeV_Jr.cjs +2902 -0
  16. package/node_modules/@modelcontextprotocol/core/dist/auth-D1CeV_Jr.cjs.map +1 -0
  17. package/node_modules/@modelcontextprotocol/core/dist/auth-V9XJSCfa.d.cts +8507 -0
  18. package/node_modules/@modelcontextprotocol/core/dist/auth-V9XJSCfa.d.cts.map +1 -0
  19. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
  20. package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
  21. package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
  22. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
  23. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
  24. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
  25. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
  26. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
  27. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
  28. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
  29. package/node_modules/@modelcontextprotocol/core/package.json +85 -0
  30. package/node_modules/@modelcontextprotocol/server/LICENSE +216 -0
  31. package/node_modules/@modelcontextprotocol/server/README.md +30 -0
  32. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs +7514 -0
  33. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs.map +1 -0
  34. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts +1071 -0
  35. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts.map +1 -0
  36. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
  37. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
  38. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs +7531 -0
  39. package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs.map +1 -0
  40. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs +986 -0
  41. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs.map +1 -0
  42. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts +74 -0
  43. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts.map +1 -0
  44. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
  45. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
  46. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs +981 -0
  47. package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs.map +1 -0
  48. package/node_modules/@modelcontextprotocol/server/dist/chunk-Bnu9O96Y.cjs +60 -0
  49. package/node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs +42 -0
  50. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts +4168 -0
  51. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts.map +1 -0
  52. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-DZmmlN8e.d.cts +4170 -0
  53. package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-DZmmlN8e.d.cts.map +1 -0
  54. package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs +46 -0
  55. package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs.map +1 -0
  56. package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs +34 -0
  57. package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs.map +1 -0
  58. package/node_modules/@modelcontextprotocol/server/dist/index.cjs +1978 -0
  59. package/node_modules/@modelcontextprotocol/server/dist/index.cjs.map +1 -0
  60. package/node_modules/@modelcontextprotocol/server/dist/index.d.cts +810 -0
  61. package/node_modules/@modelcontextprotocol/server/dist/index.d.cts.map +1 -0
  62. package/node_modules/@modelcontextprotocol/server/dist/index.d.mts +810 -0
  63. package/node_modules/@modelcontextprotocol/server/dist/index.d.mts.map +1 -0
  64. package/node_modules/@modelcontextprotocol/server/dist/index.mjs +1790 -0
  65. package/node_modules/@modelcontextprotocol/server/dist/index.mjs.map +1 -0
  66. package/node_modules/@modelcontextprotocol/server/dist/mcp-BumlNux0.cjs +2477 -0
  67. package/node_modules/@modelcontextprotocol/server/dist/mcp-BumlNux0.cjs.map +1 -0
  68. package/node_modules/@modelcontextprotocol/server/dist/mcp-DIH4cS6P.mjs +2326 -0
  69. package/node_modules/@modelcontextprotocol/server/dist/mcp-DIH4cS6P.mjs.map +1 -0
  70. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs +23 -0
  71. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs.map +1 -0
  72. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts +11 -0
  73. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts.map +1 -0
  74. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts +11 -0
  75. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts.map +1 -0
  76. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs +22 -0
  77. package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs.map +1 -0
  78. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.cjs +12 -0
  79. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.cts +3 -0
  80. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.mts +3 -0
  81. package/node_modules/@modelcontextprotocol/server/dist/shimsNode.mjs +4 -0
  82. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs +30 -0
  83. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs.map +1 -0
  84. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts +10 -0
  85. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts.map +1 -0
  86. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts +10 -0
  87. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts.map +1 -0
  88. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs +29 -0
  89. package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs.map +1 -0
  90. package/node_modules/@modelcontextprotocol/server/dist/src-BhnGYybN.cjs +8200 -0
  91. package/node_modules/@modelcontextprotocol/server/dist/src-BhnGYybN.cjs.map +1 -0
  92. package/node_modules/@modelcontextprotocol/server/dist/src-Cqbh3MYc.mjs +7702 -0
  93. package/node_modules/@modelcontextprotocol/server/dist/src-Cqbh3MYc.mjs.map +1 -0
  94. package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs +591 -0
  95. package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs.map +1 -0
  96. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts +115 -0
  97. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts.map +1 -0
  98. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts +115 -0
  99. package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts.map +1 -0
  100. package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs +589 -0
  101. package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs.map +1 -0
  102. package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts +1099 -0
  103. package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts.map +1 -0
  104. package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts +1099 -0
  105. package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts.map +1 -0
  106. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.cjs +5 -0
  107. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.cts +2 -0
  108. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.mts +2 -0
  109. package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.mjs +3 -0
  110. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.cjs +3 -0
  111. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.cts +2 -0
  112. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.mts +2 -0
  113. package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.mjs +3 -0
  114. package/node_modules/@modelcontextprotocol/server/package.json +160 -0
  115. package/node_modules/jsonc-parser/CHANGELOG.md +76 -0
  116. package/node_modules/jsonc-parser/LICENSE.md +21 -0
  117. package/node_modules/jsonc-parser/README.md +364 -0
  118. package/node_modules/jsonc-parser/SECURITY.md +41 -0
  119. package/node_modules/jsonc-parser/lib/esm/impl/edit.js +185 -0
  120. package/node_modules/jsonc-parser/lib/esm/impl/format.js +261 -0
  121. package/node_modules/jsonc-parser/lib/esm/impl/parser.js +659 -0
  122. package/node_modules/jsonc-parser/lib/esm/impl/scanner.js +443 -0
  123. package/node_modules/jsonc-parser/lib/esm/impl/string-intern.js +29 -0
  124. package/node_modules/jsonc-parser/lib/esm/main.d.ts +351 -0
  125. package/node_modules/jsonc-parser/lib/esm/main.js +178 -0
  126. package/node_modules/jsonc-parser/lib/umd/impl/edit.js +201 -0
  127. package/node_modules/jsonc-parser/lib/umd/impl/format.js +275 -0
  128. package/node_modules/jsonc-parser/lib/umd/impl/parser.js +682 -0
  129. package/node_modules/jsonc-parser/lib/umd/impl/scanner.js +456 -0
  130. package/node_modules/jsonc-parser/lib/umd/impl/string-intern.js +42 -0
  131. package/node_modules/jsonc-parser/lib/umd/main.d.ts +351 -0
  132. package/node_modules/jsonc-parser/lib/umd/main.js +194 -0
  133. package/node_modules/jsonc-parser/package.json +37 -0
  134. package/node_modules/zod/LICENSE +21 -0
  135. package/node_modules/zod/README.md +218 -0
  136. package/node_modules/zod/compile.cjs +96 -0
  137. package/node_modules/zod/compile.d.cts +1 -0
  138. package/node_modules/zod/compile.d.ts +1 -0
  139. package/node_modules/zod/compile.js +52 -0
  140. package/node_modules/zod/index.cjs +52 -0
  141. package/node_modules/zod/index.d.cts +3 -0
  142. package/node_modules/zod/index.d.ts +3 -0
  143. package/node_modules/zod/index.js +7 -0
  144. package/node_modules/zod/locales/index.cjs +36 -0
  145. package/node_modules/zod/locales/index.d.cts +1 -0
  146. package/node_modules/zod/locales/index.d.ts +1 -0
  147. package/node_modules/zod/locales/index.js +1 -0
  148. package/node_modules/zod/locales/package.json +7 -0
  149. package/node_modules/zod/mini/index.cjs +51 -0
  150. package/node_modules/zod/mini/index.d.cts +3 -0
  151. package/node_modules/zod/mini/index.d.ts +3 -0
  152. package/node_modules/zod/mini/index.js +3 -0
  153. package/node_modules/zod/mini/package.json +7 -0
  154. package/node_modules/zod/package.json +147 -0
  155. package/node_modules/zod/src/compile.ts +56 -0
  156. package/node_modules/zod/src/index.ts +7 -0
  157. package/node_modules/zod/src/locales/index.ts +1 -0
  158. package/node_modules/zod/src/mini/index.ts +3 -0
  159. package/node_modules/zod/src/v3/ZodError.ts +340 -0
  160. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  161. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  162. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  163. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  164. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  165. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  166. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  167. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  168. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  169. package/node_modules/zod/src/v3/errors.ts +13 -0
  170. package/node_modules/zod/src/v3/external.ts +6 -0
  171. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  172. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  173. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  174. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  175. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  176. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  177. package/node_modules/zod/src/v3/index.ts +4 -0
  178. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  179. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  180. package/node_modules/zod/src/v3/types.ts +5138 -0
  181. package/node_modules/zod/src/v4/classic/checks.ts +33 -0
  182. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  183. package/node_modules/zod/src/v4/classic/compat.ts +78 -0
  184. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  185. package/node_modules/zod/src/v4/classic/errors.ts +97 -0
  186. package/node_modules/zod/src/v4/classic/external.ts +57 -0
  187. package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
  188. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  189. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  190. package/node_modules/zod/src/v4/classic/iso.ts +20 -0
  191. package/node_modules/zod/src/v4/classic/parse.ts +88 -0
  192. package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
  193. package/node_modules/zod/src/v4/core/api.ts +1875 -0
  194. package/node_modules/zod/src/v4/core/checks.ts +1266 -0
  195. package/node_modules/zod/src/v4/core/compile.ts +2322 -0
  196. package/node_modules/zod/src/v4/core/core.ts +230 -0
  197. package/node_modules/zod/src/v4/core/doc.ts +52 -0
  198. package/node_modules/zod/src/v4/core/errors.ts +543 -0
  199. package/node_modules/zod/src/v4/core/index.ts +19 -0
  200. package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
  201. package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
  202. package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
  203. package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
  204. package/node_modules/zod/src/v4/core/parse.ts +309 -0
  205. package/node_modules/zod/src/v4/core/regexes.ts +217 -0
  206. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  207. package/node_modules/zod/src/v4/core/schemas.ts +5226 -0
  208. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  209. package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
  210. package/node_modules/zod/src/v4/core/util.ts +1293 -0
  211. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  212. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  213. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  214. package/node_modules/zod/src/v4/index.ts +4 -0
  215. package/node_modules/zod/src/v4/locales/ar.ts +120 -0
  216. package/node_modules/zod/src/v4/locales/az.ts +116 -0
  217. package/node_modules/zod/src/v4/locales/be.ts +188 -0
  218. package/node_modules/zod/src/v4/locales/bg.ts +133 -0
  219. package/node_modules/zod/src/v4/locales/bn.ts +123 -0
  220. package/node_modules/zod/src/v4/locales/ca.ts +121 -0
  221. package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
  222. package/node_modules/zod/src/v4/locales/cs.ts +123 -0
  223. package/node_modules/zod/src/v4/locales/da.ts +128 -0
  224. package/node_modules/zod/src/v4/locales/de.ts +121 -0
  225. package/node_modules/zod/src/v4/locales/el.ts +124 -0
  226. package/node_modules/zod/src/v4/locales/en.ts +136 -0
  227. package/node_modules/zod/src/v4/locales/eo.ts +123 -0
  228. package/node_modules/zod/src/v4/locales/es.ts +145 -0
  229. package/node_modules/zod/src/v4/locales/fa.ts +131 -0
  230. package/node_modules/zod/src/v4/locales/fi.ts +126 -0
  231. package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
  232. package/node_modules/zod/src/v4/locales/fr.ts +139 -0
  233. package/node_modules/zod/src/v4/locales/gu.ts +123 -0
  234. package/node_modules/zod/src/v4/locales/he.ts +253 -0
  235. package/node_modules/zod/src/v4/locales/hi.ts +126 -0
  236. package/node_modules/zod/src/v4/locales/hr.ts +135 -0
  237. package/node_modules/zod/src/v4/locales/hu.ts +122 -0
  238. package/node_modules/zod/src/v4/locales/hy.ts +175 -0
  239. package/node_modules/zod/src/v4/locales/id.ts +120 -0
  240. package/node_modules/zod/src/v4/locales/index.ts +63 -0
  241. package/node_modules/zod/src/v4/locales/is.ts +124 -0
  242. package/node_modules/zod/src/v4/locales/it.ts +121 -0
  243. package/node_modules/zod/src/v4/locales/ja.ts +119 -0
  244. package/node_modules/zod/src/v4/locales/ka.ts +128 -0
  245. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  246. package/node_modules/zod/src/v4/locales/km.ts +124 -0
  247. package/node_modules/zod/src/v4/locales/kn.ts +126 -0
  248. package/node_modules/zod/src/v4/locales/ko.ts +126 -0
  249. package/node_modules/zod/src/v4/locales/lt.ts +243 -0
  250. package/node_modules/zod/src/v4/locales/mk.ts +123 -0
  251. package/node_modules/zod/src/v4/locales/ms.ts +120 -0
  252. package/node_modules/zod/src/v4/locales/ne.ts +128 -0
  253. package/node_modules/zod/src/v4/locales/nl.ts +126 -0
  254. package/node_modules/zod/src/v4/locales/nn.ts +121 -0
  255. package/node_modules/zod/src/v4/locales/no.ts +121 -0
  256. package/node_modules/zod/src/v4/locales/ota.ts +122 -0
  257. package/node_modules/zod/src/v4/locales/pl.ts +123 -0
  258. package/node_modules/zod/src/v4/locales/ps.ts +131 -0
  259. package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
  260. package/node_modules/zod/src/v4/locales/pt.ts +159 -0
  261. package/node_modules/zod/src/v4/locales/ro.ts +132 -0
  262. package/node_modules/zod/src/v4/locales/ru.ts +188 -0
  263. package/node_modules/zod/src/v4/locales/sk.ts +123 -0
  264. package/node_modules/zod/src/v4/locales/sl.ts +123 -0
  265. package/node_modules/zod/src/v4/locales/sv.ts +124 -0
  266. package/node_modules/zod/src/v4/locales/ta.ts +123 -0
  267. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  268. package/node_modules/zod/src/v4/locales/th.ts +124 -0
  269. package/node_modules/zod/src/v4/locales/tk.ts +113 -0
  270. package/node_modules/zod/src/v4/locales/tr.ts +116 -0
  271. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  272. package/node_modules/zod/src/v4/locales/uk.ts +122 -0
  273. package/node_modules/zod/src/v4/locales/ur.ts +124 -0
  274. package/node_modules/zod/src/v4/locales/uz.ts +120 -0
  275. package/node_modules/zod/src/v4/locales/vi.ts +122 -0
  276. package/node_modules/zod/src/v4/locales/yo.ts +129 -0
  277. package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
  278. package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
  279. package/node_modules/zod/src/v4/mini/checks.ts +33 -0
  280. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  281. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  282. package/node_modules/zod/src/v4/mini/external.ts +52 -0
  283. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  284. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  285. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  286. package/node_modules/zod/src/v4/mini/parse.ts +16 -0
  287. package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
  288. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  289. package/node_modules/zod/v3/ZodError.cjs +167 -0
  290. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  291. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  292. package/node_modules/zod/v3/ZodError.js +143 -0
  293. package/node_modules/zod/v3/errors.cjs +36 -0
  294. package/node_modules/zod/v3/errors.d.cts +5 -0
  295. package/node_modules/zod/v3/errors.d.ts +5 -0
  296. package/node_modules/zod/v3/errors.js +9 -0
  297. package/node_modules/zod/v3/external.cjs +41 -0
  298. package/node_modules/zod/v3/external.d.cts +6 -0
  299. package/node_modules/zod/v3/external.d.ts +6 -0
  300. package/node_modules/zod/v3/external.js +6 -0
  301. package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
  302. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  303. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  304. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  305. package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
  306. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  307. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  308. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  309. package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
  310. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  311. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  312. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  313. package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
  314. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  315. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  316. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  317. package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
  318. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  319. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  320. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  321. package/node_modules/zod/v3/helpers/util.cjs +156 -0
  322. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  323. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  324. package/node_modules/zod/v3/helpers/util.js +133 -0
  325. package/node_modules/zod/v3/index.cjs +52 -0
  326. package/node_modules/zod/v3/index.d.cts +4 -0
  327. package/node_modules/zod/v3/index.d.ts +4 -0
  328. package/node_modules/zod/v3/index.js +4 -0
  329. package/node_modules/zod/v3/locales/en.cjs +112 -0
  330. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  331. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  332. package/node_modules/zod/v3/locales/en.js +109 -0
  333. package/node_modules/zod/v3/package.json +7 -0
  334. package/node_modules/zod/v3/standard-schema.cjs +21 -0
  335. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  336. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  337. package/node_modules/zod/v3/standard-schema.js +1 -0
  338. package/node_modules/zod/v3/types.cjs +3798 -0
  339. package/node_modules/zod/v3/types.d.cts +1034 -0
  340. package/node_modules/zod/v3/types.d.ts +1034 -0
  341. package/node_modules/zod/v3/types.js +3697 -0
  342. package/node_modules/zod/v4/classic/checks.cjs +53 -0
  343. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  344. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  345. package/node_modules/zod/v4/classic/checks.js +1 -0
  346. package/node_modules/zod/v4/classic/coerce.cjs +66 -0
  347. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  348. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  349. package/node_modules/zod/v4/classic/coerce.js +17 -0
  350. package/node_modules/zod/v4/classic/compat.cjs +80 -0
  351. package/node_modules/zod/v4/classic/compat.d.cts +48 -0
  352. package/node_modules/zod/v4/classic/compat.d.ts +48 -0
  353. package/node_modules/zod/v4/classic/compat.js +31 -0
  354. package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  355. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  356. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  357. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  358. package/node_modules/zod/v4/classic/errors.cjs +102 -0
  359. package/node_modules/zod/v4/classic/errors.d.cts +29 -0
  360. package/node_modules/zod/v4/classic/errors.d.ts +29 -0
  361. package/node_modules/zod/v4/classic/errors.js +57 -0
  362. package/node_modules/zod/v4/classic/external.cjs +97 -0
  363. package/node_modules/zod/v4/classic/external.d.cts +19 -0
  364. package/node_modules/zod/v4/classic/external.d.ts +19 -0
  365. package/node_modules/zod/v4/classic/external.js +17 -0
  366. package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
  367. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  368. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  369. package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
  370. package/node_modules/zod/v4/classic/in-out.cjs +82 -0
  371. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  372. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  373. package/node_modules/zod/v4/classic/in-out.js +36 -0
  374. package/node_modules/zod/v4/classic/index.cjs +52 -0
  375. package/node_modules/zod/v4/classic/index.d.cts +3 -0
  376. package/node_modules/zod/v4/classic/index.d.ts +3 -0
  377. package/node_modules/zod/v4/classic/index.js +4 -0
  378. package/node_modules/zod/v4/classic/iso.cjs +68 -0
  379. package/node_modules/zod/v4/classic/iso.d.cts +7 -0
  380. package/node_modules/zod/v4/classic/iso.d.ts +7 -0
  381. package/node_modules/zod/v4/classic/iso.js +15 -0
  382. package/node_modules/zod/v4/classic/package.json +7 -0
  383. package/node_modules/zod/v4/classic/parse.cjs +63 -0
  384. package/node_modules/zod/v4/classic/parse.d.cts +44 -0
  385. package/node_modules/zod/v4/classic/parse.d.ts +44 -0
  386. package/node_modules/zod/v4/classic/parse.js +16 -0
  387. package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
  388. package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
  389. package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
  390. package/node_modules/zod/v4/classic/schemas.js +1535 -0
  391. package/node_modules/zod/v4/core/api.cjs +1269 -0
  392. package/node_modules/zod/v4/core/api.d.cts +335 -0
  393. package/node_modules/zod/v4/core/api.d.ts +335 -0
  394. package/node_modules/zod/v4/core/api.js +1107 -0
  395. package/node_modules/zod/v4/core/checks.cjs +561 -0
  396. package/node_modules/zod/v4/core/checks.d.cts +294 -0
  397. package/node_modules/zod/v4/core/checks.d.ts +294 -0
  398. package/node_modules/zod/v4/core/checks.js +516 -0
  399. package/node_modules/zod/v4/core/compile.cjs +1916 -0
  400. package/node_modules/zod/v4/core/compile.d.cts +65 -0
  401. package/node_modules/zod/v4/core/compile.d.ts +65 -0
  402. package/node_modules/zod/v4/core/compile.js +1866 -0
  403. package/node_modules/zod/v4/core/core.cjs +167 -0
  404. package/node_modules/zod/v4/core/core.d.cts +82 -0
  405. package/node_modules/zod/v4/core/core.d.ts +82 -0
  406. package/node_modules/zod/v4/core/core.js +141 -0
  407. package/node_modules/zod/v4/core/doc.cjs +61 -0
  408. package/node_modules/zod/v4/core/doc.d.cts +16 -0
  409. package/node_modules/zod/v4/core/doc.d.ts +16 -0
  410. package/node_modules/zod/v4/core/doc.js +38 -0
  411. package/node_modules/zod/v4/core/errors.cjs +317 -0
  412. package/node_modules/zod/v4/core/errors.d.cts +225 -0
  413. package/node_modules/zod/v4/core/errors.d.ts +225 -0
  414. package/node_modules/zod/v4/core/errors.js +267 -0
  415. package/node_modules/zod/v4/core/index.cjs +70 -0
  416. package/node_modules/zod/v4/core/index.d.cts +19 -0
  417. package/node_modules/zod/v4/core/index.d.ts +19 -0
  418. package/node_modules/zod/v4/core/index.js +19 -0
  419. package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
  420. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  421. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  422. package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
  423. package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
  424. package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
  425. package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
  426. package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
  427. package/node_modules/zod/v4/core/json-schema.cjs +21 -0
  428. package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
  429. package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
  430. package/node_modules/zod/v4/core/json-schema.js +1 -0
  431. package/node_modules/zod/v4/core/memoizer.cjs +360 -0
  432. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  433. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  434. package/node_modules/zod/v4/core/memoizer.js +311 -0
  435. package/node_modules/zod/v4/core/package.json +7 -0
  436. package/node_modules/zod/v4/core/parse.cjs +233 -0
  437. package/node_modules/zod/v4/core/parse.d.cts +52 -0
  438. package/node_modules/zod/v4/core/parse.d.ts +52 -0
  439. package/node_modules/zod/v4/core/parse.js +175 -0
  440. package/node_modules/zod/v4/core/regexes.cjs +209 -0
  441. package/node_modules/zod/v4/core/regexes.d.cts +90 -0
  442. package/node_modules/zod/v4/core/regexes.d.ts +90 -0
  443. package/node_modules/zod/v4/core/regexes.js +156 -0
  444. package/node_modules/zod/v4/core/registries.cjs +75 -0
  445. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  446. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  447. package/node_modules/zod/v4/core/registries.js +51 -0
  448. package/node_modules/zod/v4/core/schemas.cjs +2699 -0
  449. package/node_modules/zod/v4/core/schemas.d.cts +1275 -0
  450. package/node_modules/zod/v4/core/schemas.d.ts +1275 -0
  451. package/node_modules/zod/v4/core/schemas.js +2636 -0
  452. package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
  453. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  454. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  455. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  456. package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
  457. package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
  458. package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
  459. package/node_modules/zod/v4/core/to-json-schema.js +651 -0
  460. package/node_modules/zod/v4/core/util.cjs +964 -0
  461. package/node_modules/zod/v4/core/util.d.cts +280 -0
  462. package/node_modules/zod/v4/core/util.d.ts +280 -0
  463. package/node_modules/zod/v4/core/util.js +873 -0
  464. package/node_modules/zod/v4/core/versions.cjs +27 -0
  465. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  466. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  467. package/node_modules/zod/v4/core/versions.js +5 -0
  468. package/node_modules/zod/v4/core/visit.cjs +214 -0
  469. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  470. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  471. package/node_modules/zod/v4/core/visit.js +169 -0
  472. package/node_modules/zod/v4/index.cjs +51 -0
  473. package/node_modules/zod/v4/index.d.cts +3 -0
  474. package/node_modules/zod/v4/index.d.ts +3 -0
  475. package/node_modules/zod/v4/index.js +4 -0
  476. package/node_modules/zod/v4/locales/ar.cjs +138 -0
  477. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  478. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  479. package/node_modules/zod/v4/locales/ar.js +111 -0
  480. package/node_modules/zod/v4/locales/az.cjs +137 -0
  481. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  482. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  483. package/node_modules/zod/v4/locales/az.js +110 -0
  484. package/node_modules/zod/v4/locales/be.cjs +195 -0
  485. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  486. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  487. package/node_modules/zod/v4/locales/be.js +168 -0
  488. package/node_modules/zod/v4/locales/bg.cjs +152 -0
  489. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  490. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  491. package/node_modules/zod/v4/locales/bg.js +125 -0
  492. package/node_modules/zod/v4/locales/bn.cjs +140 -0
  493. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  494. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  495. package/node_modules/zod/v4/locales/bn.js +113 -0
  496. package/node_modules/zod/v4/locales/ca.cjs +139 -0
  497. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  498. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  499. package/node_modules/zod/v4/locales/ca.js +112 -0
  500. package/node_modules/zod/v4/locales/ckb.cjs +160 -0
  501. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  502. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  503. package/node_modules/zod/v4/locales/ckb.js +133 -0
  504. package/node_modules/zod/v4/locales/cs.cjs +143 -0
  505. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  506. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  507. package/node_modules/zod/v4/locales/cs.js +116 -0
  508. package/node_modules/zod/v4/locales/da.cjs +147 -0
  509. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  510. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  511. package/node_modules/zod/v4/locales/da.js +120 -0
  512. package/node_modules/zod/v4/locales/de.cjs +140 -0
  513. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  514. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  515. package/node_modules/zod/v4/locales/de.js +113 -0
  516. package/node_modules/zod/v4/locales/el.cjs +139 -0
  517. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  518. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  519. package/node_modules/zod/v4/locales/el.js +112 -0
  520. package/node_modules/zod/v4/locales/en.cjs +152 -0
  521. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  522. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  523. package/node_modules/zod/v4/locales/en.js +125 -0
  524. package/node_modules/zod/v4/locales/eo.cjs +141 -0
  525. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  526. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  527. package/node_modules/zod/v4/locales/eo.js +114 -0
  528. package/node_modules/zod/v4/locales/es.cjs +163 -0
  529. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  530. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  531. package/node_modules/zod/v4/locales/es.js +136 -0
  532. package/node_modules/zod/v4/locales/fa.cjs +146 -0
  533. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  534. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  535. package/node_modules/zod/v4/locales/fa.js +119 -0
  536. package/node_modules/zod/v4/locales/fi.cjs +144 -0
  537. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  538. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  539. package/node_modules/zod/v4/locales/fi.js +117 -0
  540. package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
  541. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  542. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  543. package/node_modules/zod/v4/locales/fr-CA.js +112 -0
  544. package/node_modules/zod/v4/locales/fr.cjs +156 -0
  545. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  546. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  547. package/node_modules/zod/v4/locales/fr.js +129 -0
  548. package/node_modules/zod/v4/locales/gu.cjs +140 -0
  549. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  550. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  551. package/node_modules/zod/v4/locales/gu.js +113 -0
  552. package/node_modules/zod/v4/locales/he.cjs +248 -0
  553. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  554. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  555. package/node_modules/zod/v4/locales/he.js +221 -0
  556. package/node_modules/zod/v4/locales/hi.cjs +138 -0
  557. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  558. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  559. package/node_modules/zod/v4/locales/hi.js +111 -0
  560. package/node_modules/zod/v4/locales/hr.cjs +153 -0
  561. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  562. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  563. package/node_modules/zod/v4/locales/hr.js +126 -0
  564. package/node_modules/zod/v4/locales/hu.cjs +140 -0
  565. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  566. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  567. package/node_modules/zod/v4/locales/hu.js +113 -0
  568. package/node_modules/zod/v4/locales/hy.cjs +185 -0
  569. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  570. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  571. package/node_modules/zod/v4/locales/hy.js +158 -0
  572. package/node_modules/zod/v4/locales/id.cjs +138 -0
  573. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  574. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  575. package/node_modules/zod/v4/locales/id.js +111 -0
  576. package/node_modules/zod/v4/locales/index.cjs +152 -0
  577. package/node_modules/zod/v4/locales/index.d.cts +63 -0
  578. package/node_modules/zod/v4/locales/index.d.ts +63 -0
  579. package/node_modules/zod/v4/locales/index.js +63 -0
  580. package/node_modules/zod/v4/locales/is.cjs +141 -0
  581. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  582. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  583. package/node_modules/zod/v4/locales/is.js +114 -0
  584. package/node_modules/zod/v4/locales/it.cjs +140 -0
  585. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  586. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  587. package/node_modules/zod/v4/locales/it.js +113 -0
  588. package/node_modules/zod/v4/locales/ja.cjs +139 -0
  589. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  590. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  591. package/node_modules/zod/v4/locales/ja.js +112 -0
  592. package/node_modules/zod/v4/locales/ka.cjs +144 -0
  593. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  594. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  595. package/node_modules/zod/v4/locales/ka.js +117 -0
  596. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  597. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  598. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  599. package/node_modules/zod/v4/locales/kh.js +5 -0
  600. package/node_modules/zod/v4/locales/km.cjs +142 -0
  601. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  602. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  603. package/node_modules/zod/v4/locales/km.js +115 -0
  604. package/node_modules/zod/v4/locales/kn.cjs +143 -0
  605. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  606. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  607. package/node_modules/zod/v4/locales/kn.js +116 -0
  608. package/node_modules/zod/v4/locales/ko.cjs +143 -0
  609. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  610. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  611. package/node_modules/zod/v4/locales/ko.js +116 -0
  612. package/node_modules/zod/v4/locales/lt.cjs +234 -0
  613. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  614. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  615. package/node_modules/zod/v4/locales/lt.js +207 -0
  616. package/node_modules/zod/v4/locales/mk.cjs +141 -0
  617. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  618. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  619. package/node_modules/zod/v4/locales/mk.js +114 -0
  620. package/node_modules/zod/v4/locales/ms.cjs +139 -0
  621. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  622. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  623. package/node_modules/zod/v4/locales/ms.js +112 -0
  624. package/node_modules/zod/v4/locales/ne.cjs +138 -0
  625. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  626. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  627. package/node_modules/zod/v4/locales/ne.js +111 -0
  628. package/node_modules/zod/v4/locales/nl.cjs +142 -0
  629. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  630. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  631. package/node_modules/zod/v4/locales/nl.js +115 -0
  632. package/node_modules/zod/v4/locales/nn.cjs +140 -0
  633. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  634. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  635. package/node_modules/zod/v4/locales/nn.js +113 -0
  636. package/node_modules/zod/v4/locales/no.cjs +140 -0
  637. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  638. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  639. package/node_modules/zod/v4/locales/no.js +113 -0
  640. package/node_modules/zod/v4/locales/ota.cjs +141 -0
  641. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  642. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  643. package/node_modules/zod/v4/locales/ota.js +114 -0
  644. package/node_modules/zod/v4/locales/package.json +7 -0
  645. package/node_modules/zod/v4/locales/pl.cjs +141 -0
  646. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  647. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  648. package/node_modules/zod/v4/locales/pl.js +114 -0
  649. package/node_modules/zod/v4/locales/ps.cjs +146 -0
  650. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  651. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  652. package/node_modules/zod/v4/locales/ps.js +119 -0
  653. package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  654. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  655. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  656. package/node_modules/zod/v4/locales/pt-BR.js +143 -0
  657. package/node_modules/zod/v4/locales/pt.cjs +169 -0
  658. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  659. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  660. package/node_modules/zod/v4/locales/pt.js +142 -0
  661. package/node_modules/zod/v4/locales/ro.cjs +149 -0
  662. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  663. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  664. package/node_modules/zod/v4/locales/ro.js +122 -0
  665. package/node_modules/zod/v4/locales/ru.cjs +195 -0
  666. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  667. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  668. package/node_modules/zod/v4/locales/ru.js +168 -0
  669. package/node_modules/zod/v4/locales/sk.cjs +143 -0
  670. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  671. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  672. package/node_modules/zod/v4/locales/sk.js +116 -0
  673. package/node_modules/zod/v4/locales/sl.cjs +141 -0
  674. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  675. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  676. package/node_modules/zod/v4/locales/sl.js +114 -0
  677. package/node_modules/zod/v4/locales/sv.cjs +142 -0
  678. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  679. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  680. package/node_modules/zod/v4/locales/sv.js +115 -0
  681. package/node_modules/zod/v4/locales/ta.cjs +142 -0
  682. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  683. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  684. package/node_modules/zod/v4/locales/ta.js +115 -0
  685. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  686. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  687. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  688. package/node_modules/zod/v4/locales/tg.js +117 -0
  689. package/node_modules/zod/v4/locales/th.cjs +142 -0
  690. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  691. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  692. package/node_modules/zod/v4/locales/th.js +115 -0
  693. package/node_modules/zod/v4/locales/tk.cjs +134 -0
  694. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  695. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  696. package/node_modules/zod/v4/locales/tk.js +107 -0
  697. package/node_modules/zod/v4/locales/tr.cjs +137 -0
  698. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  699. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  700. package/node_modules/zod/v4/locales/tr.js +110 -0
  701. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  702. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  703. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  704. package/node_modules/zod/v4/locales/ua.js +5 -0
  705. package/node_modules/zod/v4/locales/uk.cjs +140 -0
  706. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  707. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  708. package/node_modules/zod/v4/locales/uk.js +113 -0
  709. package/node_modules/zod/v4/locales/ur.cjs +142 -0
  710. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  711. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  712. package/node_modules/zod/v4/locales/ur.js +115 -0
  713. package/node_modules/zod/v4/locales/uz.cjs +140 -0
  714. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  715. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  716. package/node_modules/zod/v4/locales/uz.js +113 -0
  717. package/node_modules/zod/v4/locales/vi.cjs +140 -0
  718. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  719. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  720. package/node_modules/zod/v4/locales/vi.js +113 -0
  721. package/node_modules/zod/v4/locales/yo.cjs +139 -0
  722. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  723. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  724. package/node_modules/zod/v4/locales/yo.js +112 -0
  725. package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
  726. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  727. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  728. package/node_modules/zod/v4/locales/zh-CN.js +114 -0
  729. package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
  730. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  731. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  732. package/node_modules/zod/v4/locales/zh-TW.js +112 -0
  733. package/node_modules/zod/v4/mini/checks.cjs +54 -0
  734. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  735. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  736. package/node_modules/zod/v4/mini/checks.js +1 -0
  737. package/node_modules/zod/v4/mini/coerce.cjs +71 -0
  738. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  739. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  740. package/node_modules/zod/v4/mini/coerce.js +22 -0
  741. package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  742. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  743. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  744. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  745. package/node_modules/zod/v4/mini/external.cjs +95 -0
  746. package/node_modules/zod/v4/mini/external.d.cts +16 -0
  747. package/node_modules/zod/v4/mini/external.d.ts +16 -0
  748. package/node_modules/zod/v4/mini/external.js +16 -0
  749. package/node_modules/zod/v4/mini/in-out.cjs +82 -0
  750. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  751. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  752. package/node_modules/zod/v4/mini/in-out.js +36 -0
  753. package/node_modules/zod/v4/mini/index.cjs +51 -0
  754. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  755. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  756. package/node_modules/zod/v4/mini/index.js +3 -0
  757. package/node_modules/zod/v4/mini/iso.cjs +83 -0
  758. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  759. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  760. package/node_modules/zod/v4/mini/iso.js +34 -0
  761. package/node_modules/zod/v4/mini/package.json +7 -0
  762. package/node_modules/zod/v4/mini/parse.cjs +37 -0
  763. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  764. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  765. package/node_modules/zod/v4/mini/parse.js +1 -0
  766. package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
  767. package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
  768. package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
  769. package/node_modules/zod/v4/mini/schemas.js +1002 -0
  770. package/node_modules/zod/v4/package.json +7 -0
  771. package/node_modules/zod/v4-mini/index.cjs +51 -0
  772. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  773. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  774. package/node_modules/zod/v4-mini/index.js +3 -0
  775. package/node_modules/zod/v4-mini/package.json +7 -0
  776. package/package.json +32 -4
  777. package/runtime.cjs +14 -0
  778. package/scripts/arguments.mjs +77 -0
  779. package/scripts/continuation.mjs +31 -0
  780. package/scripts/create-task.mjs +27 -0
  781. package/scripts/delete-task.mjs +3 -0
  782. package/scripts/entry.mjs +6 -0
  783. package/scripts/get-task.mjs +40 -0
  784. package/scripts/get-tasks.mjs +84 -0
  785. package/scripts/hook.mjs +89 -0
  786. package/scripts/inspect-blockers.mjs +76 -0
  787. package/scripts/install-launcher.mjs +28 -0
  788. package/scripts/install-migration.mjs +82 -0
  789. package/scripts/install-path.mjs +105 -0
  790. package/scripts/install-release.mjs +252 -0
  791. package/scripts/lifecycle.mjs +35 -0
  792. package/scripts/list-tasks.mjs +117 -0
  793. package/scripts/output.mjs +67 -0
  794. package/scripts/schema.mjs +41 -0
  795. package/scripts/search-tasks.mjs +96 -0
  796. package/scripts/task-write-input.mjs +80 -0
  797. package/scripts/transition-task.mjs +3 -0
  798. package/scripts/update-release.mjs +82 -0
  799. package/scripts/update-task.mjs +29 -0
  800. package/scripts/validate-task-stores.mjs +34 -0
  801. package/src/blockers.mjs +134 -0
  802. package/src/cache.mjs +50 -0
  803. package/src/config.mjs +30 -0
  804. package/src/create.mjs +145 -0
  805. package/src/cursor.mjs +30 -0
  806. package/src/destinations.mjs +74 -0
  807. package/src/errors.mjs +16 -0
  808. package/src/field-rules.mjs +105 -0
  809. package/src/fields.mjs +32 -0
  810. package/src/input.mjs +146 -0
  811. package/src/limits.mjs +5 -0
  812. package/src/locations.mjs +19 -0
  813. package/src/pagination.mjs +30 -0
  814. package/src/project-lock.mjs +74 -0
  815. package/src/projects.mjs +33 -0
  816. package/src/response.mjs +75 -0
  817. package/src/schema.mjs +76 -0
  818. package/src/search-index-worker.mjs +10 -0
  819. package/src/search-index.mjs +639 -0
  820. package/src/search.mjs +228 -0
  821. package/src/service.mjs +260 -0
  822. package/src/source.mjs +48 -0
  823. package/src/sqlite.mjs +17 -0
  824. package/src/storage-format.mjs +15 -0
  825. package/src/stores.mjs +337 -0
  826. package/src/tasks.mjs +290 -0
  827. package/src/timestamps.mjs +22 -0
  828. package/src/transition.mjs +181 -0
  829. package/src/update.mjs +56 -0
  830. package/src/validation.mjs +144 -0
  831. package/src/version.mjs +5 -0
@@ -0,0 +1,810 @@
1
+ import { $ as isJsonContentType, $a as checkResourceAllowed, $i as SetLevelRequestParams, $n as HandlerResultTypeMap, $r as NotificationMethod, $t as InboundModernRoute, A as RegisteredResource, Aa as UnsubscribeRequestParams, Ai as Resource, An as CreateMessageResult, Ar as ListPromptsResult, At as isJSONRPCResultResponse, B as requireScopes, Ba as INVALID_REQUEST, Bi as ResultMetaObject, Bn as ElicitResult, Br as ListToolsResult, Bt as InputResponseView, C as ListResourcesCallback, Ca as ToolAnnotations, Ci as RequestId, Cn as CompleteRequestResourceTemplate, Cr as JSONRPCResultResponse, Ct as isInitializeRequest, D as ReadResourceCallback, Da as ToolResultContent, Di as RequestMethod, Dn as CreateMessageRequestParams, Dr as ListChangedHandlers, Dt as isJSONRPCNotification, E as PromptCallback, Ea as ToolListChangedNotification, Ei as RequestMetaObject, En as CreateMessageRequest, Er as ListChangedCallback, Et as isJSONRPCErrorResponse, F as ToolCallback, Fa as CLIENT_CAPABILITIES_META_KEY, Fi as ResourceTemplateReference, Fn as DiscoverResult, Fr as ListRootsRequest, Ft as ResourceNotFoundError, G as ReadBuffer, Ga as PARSE_ERROR, Gi as SamplingContent, Gn as EnumSchema, Gr as MessageExtraInfo, Gt as StandardSchemaV1, H as InMemoryTransport, Ha as LATEST_PROTOCOL_VERSION, Hi as Role, Hn as ElicitationCompleteNotificationParams, Hr as LoggingMessageNotification, Ht as inputRequired, I as Server, Ia as CLIENT_INFO_META_KEY, Ii as ResourceTemplateType, In as ElicitRequest, Ir as ListRootsResult, It as UnsupportedProtocolVersionError, J as serializeMessage, Ja as SERVER_INFO_META_KEY, Ji as ServerCapabilities, Jn as GetPromptResult, Jr as MissingRequiredClientCapabilityErrorData, Jt as InboundClassificationOutcome, K as STDIO_DEFAULT_MAX_BUFFER_SIZE, Ka as PROTOCOL_VERSION_META_KEY, Ki as SamplingMessage, Kn as GetPromptRequest, Kr as MetaObject, Kt as StandardSchemaV1Sync, L as ServerOptions, La as DEFAULT_NEGOTIATED_PROTOCOL_VERSION, Li as ResourceUpdatedNotification, Ln as ElicitRequestFormParams, Lr as ListTasksRequest, Lt as UrlElicitationRequiredError, M as RegisteredTool, Ma as UntitledMultiSelectEnumSchema, Mi as ResourceLink, Mn as CreateTaskResult, Mr as ListResourceTemplatesResult, Mt as parseJSONRPCMessage, N as ResourceMetadata, Na as UntitledSingleSelectEnumSchema, Ni as ResourceListChangedNotification, Nn as Cursor, Nr as ListResourcesRequest, Nt as MissingRequiredClientCapabilityError, O as ReadResourceTemplateCallback, Oa as ToolUseContent, Oi as RequestParams, On as CreateMessageRequestParamsBase, Or as ListChangedOptions, Ot as isJSONRPCRequest, P as ResourceTemplate, Pa as BAGGAGE_META_KEY, Pi as ResourceRequestParams, Pn as DiscoverRequest, Pr as ListResourcesResult, Pt as ProtocolError, Q as getDisplayName, Qa as TRACESTATE_META_KEY, Qi as SetLevelRequest, Qn as GetTaskResult, Qr as Notification, Qt as InboundLegacyRouteReason, R as ScopeChallenge, Ra as INTERNAL_ERROR, Ri as ResourceUpdatedNotificationParams, Rn as ElicitRequestParams, Rr as ListTasksResult, Rt as ProtocolErrorCode, S as CompleteResourceTemplateCallback, Sa as Tool, Si as Request$1, Sn as CompleteRequestPrompt, So as StoredOAuthTokens, Sr as JSONRPCResponse, St as isCallToolResult, T as McpServerOptions, Ta as ToolExecution, Ti as RequestMetaEnvelope, Tn as ContentBlock, Tr as LegacyTitledEnumSchema, Tt as isInputRequiredResult, U as UriTemplate, Ua as LOG_LEVEL_META_KEY, Ui as Root, Un as EmbeddedResource, Ur as LoggingMessageNotificationParams, Ut as inputResponse, V as preloadSchemas, Va as JSONRPC_VERSION, Vi as ResultTypeMap, Vn as ElicitationCompleteNotification, Vr as LoggingLevel, Vt as acceptedContent, W as Variables, Wa as METHOD_NOT_FOUND, Wi as RootsListChangedNotification, Wn as EmptyResult, Wr as MessageClassification, Wt as ElicitInputParams, X as CacheScope, Xa as SUPPORTED_PROTOCOL_VERSIONS, Xi as ServerRequest, Xn as GetTaskPayloadResult, Xr as ModelPreferences, Xt as InboundLadderRejection, Y as CacheHint, Ya as SUBSCRIPTION_ID_META_KEY, Yi as ServerNotification, Yn as GetTaskPayloadRequest, Yr as ModelHint, Yt as InboundHttpRequest, Z as ProtocolEra, Za as TRACEPARENT_META_KEY, Zi as ServerResult, Zn as GetTaskRequest, Zr as MultiSelectEnumSchema, Zt as InboundLegacyRoute, _ as PerRequestHTTPServerTransportOptions, _a as TaskStatusNotificationParams, _i as PromptReference, _n as ClientRequest, _o as OAuthTokenRevocationRequest, _r as JSONObject, _t as SpecTypes, a as McpHandlerRequestOptions, aa as SubscriptionsAcknowledgedNotification, ai as PaginatedResult, an as BaseMetadata, ao as OAuthError, ar as InitializeRequestParams, at as Protocol, b as AnyToolHandler, ba as TitledMultiSelectEnumSchema, bi as ReadResourceResult, bn as CompleteRequest, bo as OpenIdProviderMetadata, br as JSONRPCNotification, bt as assertCompleteRequestPrompt, c as McpServerFactory, ca as SubscriptionsListenRequestParams, ci as PrimitiveSchemaDefinition, cn as CallToolRequest, co as IdJagTokenExchangeResponse, cr as InputRequest, ct as RequestOptions, d as legacyStatelessFallback, da as Task, di as ProgressNotificationParams, dn as CancelTaskRequest, do as OAuthClientInformationMixed, dr as InputResponse, dt as mergeCapabilities, ea as SingleSelectEnumSchema, ei as NotificationParams, en as InboundValidationRung, eo as resourceUrlFromServerUrl, er as Icon, et as BaseContext, f as InMemoryServerEventBus, fa as TaskAugmentedRequestParams, fi as ProgressToken, fn as CancelTaskResult, fo as OAuthClientMetadata, fr as InputResponses, ft as FetchLike, g as PerRequestHTTPServerTransport, ga as TaskStatusNotification, gi as PromptMessage, gn as ClientNotification, go as OAuthProtectedResourceMetadata, gr as JSONArray, gt as SpecTypeName, h as ServerNotifier, ha as TaskStatus, hi as PromptListChangedNotification, hn as ClientCapabilities, ho as OAuthMetadata, hr as InvalidRequestError, ht as createFetchWithInit, i as LegacyStatelessFallbackOptions, ia as SubscriptionFilter, ii as PaginatedRequestParams, in as AuthInfo, io as SdkHttpErrorData, ir as InitializeRequest, it as ProgressCallback, j as RegisteredResourceTemplate, ja as UnsupportedProtocolVersionErrorData, ji as ResourceContents, jn as CreateMessageResultWithTools, jr as ListResourceTemplatesRequest, jt as isTaskAugmentedRequestParams, k as RegisteredPrompt, ka as UnsubscribeRequest, ki as RequestTypeMap, kn as CreateMessageRequestParamsWithTools, kr as ListPromptsRequest, kt as isJSONRPCResponse, l as createMcpHandler, la as SubscriptionsListenResult, li as Progress, ln as CallToolRequestParams, lo as OAuthClientInformation, lr as InputRequests, lt as RequestStateAccessor, m as ServerEventBus, ma as TaskMetadata, mi as PromptArgument, mn as CancelledNotificationParams, mo as OAuthErrorResponse, mr as InvalidParamsError, mt as TransportSendOptions, n as IsLegacyRequestOptions, na as SubscribeRequest, ni as NumberSchema, nn as Annotations, no as SdkErrorCode, nr as ImageContent, nt as DEFAULT_REQUEST_TIMEOUT_MSEC, o as McpHttpHandler, oa as SubscriptionsAcknowledgedNotificationParams, oi as ParseError, on as BlobResourceContents, oo as OAuthErrorCode, or as InitializeResult, ot as ProtocolOptions, p as ServerEvent, pa as TaskCreationParams, pi as Prompt, pn as CancelledNotification, po as OAuthClientRegistrationError, pr as InternalError, pt as Transport, q as deserializeMessage, qa as RELATED_TASK_META_KEY, qi as SamplingMessageContentBlock, qn as GetPromptRequestParams, qr as MethodNotFoundError, qt as StandardSchemaWithJSON, r as LegacyHttpHandler, ra as SubscribeRequestParams, ri as PaginatedRequest, rn as AudioContent, ro as SdkHttpError, rr as Implementation, rt as NotificationOptions, s as McpRequestContext, sa as SubscriptionsListenRequest, si as PingRequest, sn as BooleanSchema, so as AuthorizationServerMetadata, sr as InitializedNotification, st as RequestHandlerSchemas, t as CreateMcpHandlerOptions, ta as StringSchema, ti as NotificationTypeMap, tn as classifyInboundRequest, to as SdkError, tr as Icons, tt as ClientContext, u as isLegacyRequest, ua as SubscriptionsListenResultMeta, ui as ProgressNotification, un as CallToolResult, uo as OAuthClientInformationFull, ur as InputRequiredResult, ut as ServerContext, v as PerRequestMessageExtra, va as TextContent, vi as ReadResourceRequest, vn as ClientResult, vo as OAuthTokens, vr as JSONRPCErrorResponse, vt as isSpecType, w as McpServer, wa as ToolChoice, wi as RequestMeta, wn as CompleteResult, wr as JSONValue, wt as isInitializedNotification, x as BaseToolCallback, xa as TitledSingleSelectEnumSchema, xi as RelatedTaskMetadata, xn as CompleteRequestParams, xo as StoredOAuthClientInformation, xr as JSONRPCRequest, xt as assertCompleteRequestResourceTemplate, y as PerRequestResponseMode, ya as TextResourceContents, yi as ReadResourceRequestParams, yn as CompatibilityCallToolResult, yo as OpenIdProviderDiscoveryMetadata, yr as JSONRPCMessage, yt as specTypeSchemas, z as ScopeChallengeHandler, za as INVALID_PARAMS, zi as Result, zn as ElicitRequestURLParams, zr as ListToolsRequest, zt as InputRequiredSpec } from "./createMcpHandler-D4NN8WsG.mjs";
2
+ import { i as jsonSchemaValidator, n as JsonSchemaValidator, r as JsonSchemaValidatorResult, t as JsonSchemaType } from "./types-DUs7mGBv.mjs";
3
+
4
+ //#region src/server/completable.d.ts
5
+ declare const COMPLETABLE_SYMBOL: unique symbol;
6
+ type CompleteCallback<T extends StandardSchemaV1 = StandardSchemaV1> = (value: StandardSchemaV1.InferInput<T>, context?: {
7
+ arguments?: Record<string, string>;
8
+ }) => StandardSchemaV1.InferInput<T>[] | Promise<StandardSchemaV1.InferInput<T>[]>;
9
+ type CompletableMeta<T extends StandardSchemaV1 = StandardSchemaV1> = {
10
+ complete: CompleteCallback<T>;
11
+ };
12
+ type CompletableSchema<T extends StandardSchemaV1> = T & {
13
+ [COMPLETABLE_SYMBOL]: CompletableMeta<T>;
14
+ };
15
+ /**
16
+ * Wraps a schema to provide autocompletion capabilities. Useful for, e.g., prompt arguments in MCP.
17
+ *
18
+ * @example
19
+ * ```ts source="./completable.examples.ts#completable_basicUsage"
20
+ * server.registerPrompt(
21
+ * 'review-code',
22
+ * {
23
+ * title: 'Code Review',
24
+ * argsSchema: z.object({
25
+ * language: completable(z.string().describe('Programming language'), value =>
26
+ * ['typescript', 'javascript', 'python', 'rust', 'go'].filter(lang => lang.startsWith(value))
27
+ * )
28
+ * })
29
+ * },
30
+ * ({ language }) => ({
31
+ * messages: [
32
+ * {
33
+ * role: 'user' as const,
34
+ * content: {
35
+ * type: 'text' as const,
36
+ * text: `Review this ${language} code.`
37
+ * }
38
+ * }
39
+ * ]
40
+ * })
41
+ * );
42
+ * ```
43
+ *
44
+ * @see {@linkcode server/mcp.McpServer.registerPrompt | McpServer.registerPrompt} for using completable schemas in prompt argument definitions
45
+ */
46
+ declare function completable<T extends StandardSchemaV1>(schema: T, complete: CompleteCallback<T>): CompletableSchema<T>;
47
+ /**
48
+ * Checks if a schema is completable (has completion metadata).
49
+ */
50
+ declare function isCompletable(schema: unknown): schema is CompletableSchema<StandardSchemaV1>;
51
+ //#endregion
52
+ //#region src/server/middleware/bearerAuth.d.ts
53
+ /**
54
+ * Minimal token-verifier interface for MCP servers acting as an OAuth 2.0
55
+ * Resource Server. Implementations introspect or locally validate an access
56
+ * token and return the resulting {@link AuthInfo}, which the serving entry
57
+ * surfaces to MCP request handlers via `ctx.http.authInfo`.
58
+ *
59
+ * This is intentionally narrower than a full OAuth Authorization Server
60
+ * provider — it only covers the verification step a Resource Server needs.
61
+ */
62
+ interface OAuthTokenVerifier {
63
+ /**
64
+ * Verifies an access token and returns information about it.
65
+ *
66
+ * Implementations should throw an {@link OAuthError} with
67
+ * `OAuthErrorCode.InvalidToken` when the token is unknown, revoked, or
68
+ * otherwise invalid; the bearer-auth helpers map that to a `401` with a
69
+ * `WWW-Authenticate` challenge.
70
+ *
71
+ * Note: bearer-auth verification rejects tokens whose
72
+ * `AuthInfo.expiresAt` is unset (matches v1 behavior). Ensure your
73
+ * verifier populates it (e.g. from RFC 7662 introspection `exp` or the
74
+ * JWT `exp` claim).
75
+ */
76
+ verifyAccessToken(token: string): Promise<AuthInfo>;
77
+ }
78
+ /**
79
+ * Options for {@link verifyBearerToken}, {@link requireBearerAuth}, and
80
+ * {@link bearerAuthChallengeResponse}.
81
+ */
82
+ interface BearerAuthOptions {
83
+ /**
84
+ * A verifier used to validate access tokens.
85
+ */
86
+ verifier: OAuthTokenVerifier;
87
+ /**
88
+ * Optional scopes that the token must have. When any are missing the
89
+ * request is refused with `403 insufficient_scope`.
90
+ */
91
+ requiredScopes?: string[];
92
+ /**
93
+ * Optional Protected Resource Metadata URL to advertise in the
94
+ * `WWW-Authenticate` header on 401/403 responses, per
95
+ * {@link https://datatracker.ietf.org/doc/html/rfc9728 | RFC 9728}.
96
+ *
97
+ * Typically built with `getOAuthProtectedResourceMetadataUrl`, exported
98
+ * from this package.
99
+ *
100
+ * When verification succeeds the value is also stamped onto the returned
101
+ * {@link AuthInfo} (`authInfo.resourceMetadataUrl`, unless the verifier
102
+ * already set one), so challenges built after authentication — such as
103
+ * per-operation `insufficient_scope` scope challenges — advertise the
104
+ * same document without being configured separately.
105
+ */
106
+ resourceMetadataUrl?: string;
107
+ }
108
+ /**
109
+ * Options for {@link verifyBearerToken} and {@link requireBearerAuth}:
110
+ * {@link BearerAuthOptions} plus `expectedResource`.
111
+ */
112
+ interface VerifyBearerTokenOptions extends BearerAuthOptions {
113
+ /**
114
+ * Accept only tokens issued for this resource (the token's audience):
115
+ * the value your authorization server puts into tokens meant for this
116
+ * server, usually the server's URL (its
117
+ * {@link https://datatracker.ietf.org/doc/html/rfc8707 | RFC 8707}
118
+ * resource identifier).
119
+ *
120
+ * When set, a token is accepted only if the verifier reports that value
121
+ * in `AuthInfo.resource`. The two are compared as strings, ignoring a
122
+ * fragment and one trailing slash. A token reported for another value, or
123
+ * for none, is refused with `401 invalid_token`, so the verifier has to
124
+ * fill `AuthInfo.resource`, for example from the token's `aud` claim.
125
+ * When unset, `AuthInfo.resource` is not compared with anything.
126
+ */
127
+ expectedResource?: URL;
128
+ }
129
+ /**
130
+ * Validate a raw `Authorization` header value as a Bearer token and return
131
+ * the verified {@link AuthInfo}.
132
+ *
133
+ * The runtime-neutral core of Bearer authentication: it parses the header,
134
+ * runs the verifier, compares the token's resource with `expectedResource`,
135
+ * enforces `requiredScopes`, and rejects tokens without an
136
+ * expiration or past it. On any failure it throws an {@link OAuthError} —
137
+ * pass that to {@link bearerAuthChallengeResponse} for the matching HTTP
138
+ * answer, or use {@link requireBearerAuth} to get both steps as one call.
139
+ *
140
+ * Framework adapters build on this: `requireBearerAuth` from
141
+ * `@modelcontextprotocol/express` feeds it `req.headers.authorization`.
142
+ */
143
+ declare function verifyBearerToken(authorizationHeader: string | null | undefined, options: VerifyBearerTokenOptions): Promise<AuthInfo>;
144
+ /**
145
+ * Build the HTTP answer for a Bearer authentication failure.
146
+ *
147
+ * Maps an {@link OAuthError} to its status — `401` for `invalid_token` and
148
+ * `403` for `insufficient_scope` (both carrying the `WWW-Authenticate: Bearer …`
149
+ * challenge, with `resource_metadata` when configured so clients can discover
150
+ * the Authorization Server), `500` for `server_error`, `400` for anything
151
+ * else. A non-`OAuthError` value answers `500 server_error`. The body is the
152
+ * OAuth error JSON.
153
+ */
154
+ declare function bearerAuthChallengeResponse(error: unknown, options?: Pick<BearerAuthOptions, 'requiredScopes' | 'resourceMetadataUrl'>): Response;
155
+ /**
156
+ * Require a valid Bearer token on web-standard requests.
157
+ *
158
+ * The framework-free counterpart of `requireBearerAuth` from
159
+ * `@modelcontextprotocol/express`, for hosts whose HTTP surface is a
160
+ * `fetch(request)` handler — Cloudflare Workers, Deno, Bun, Hono. The
161
+ * returned gate resolves to the verified {@link AuthInfo}, or to the
162
+ * ready-to-return challenge `Response` when the request must be refused.
163
+ *
164
+ * @example
165
+ * ```ts source="./bearerAuth.examples.ts#requireBearerAuth_fetchGate"
166
+ * const gate = requireBearerAuth({ verifier, requiredScopes: ['mcp'] });
167
+ *
168
+ * async function fetchHandler(request: Request): Promise<Response> {
169
+ * const auth: AuthInfo | Response = await gate(request);
170
+ * if (auth instanceof Response) return auth;
171
+ * return handler.fetch(request, { authInfo: auth });
172
+ * }
173
+ * ```
174
+ */
175
+ declare function requireBearerAuth(options: VerifyBearerTokenOptions): (request: Request) => Promise<AuthInfo | Response>;
176
+ //#endregion
177
+ //#region src/server/middleware/hostHeaderValidation.d.ts
178
+ type HostHeaderValidationResult = {
179
+ ok: true;
180
+ hostname: string;
181
+ } | {
182
+ ok: false;
183
+ errorCode: 'missing_host' | 'invalid_host_header' | 'invalid_host';
184
+ message: string;
185
+ hostHeader?: string;
186
+ hostname?: string;
187
+ };
188
+ /**
189
+ * Parse and validate a `Host` header against an allowlist of hostnames (port-agnostic).
190
+ *
191
+ * - Input host header may include a port (e.g. `localhost:3000`) or IPv6 brackets (e.g. `[::1]:3000`).
192
+ * - Allowlist items should be hostnames only (no ports). For IPv6, include brackets (e.g. `[::1]`).
193
+ */
194
+ declare function validateHostHeader(hostHeader: string | null | undefined, allowedHostnames: string[]): HostHeaderValidationResult;
195
+ /**
196
+ * Convenience allowlist for `localhost` DNS rebinding protection.
197
+ */
198
+ declare function localhostAllowedHostnames(): string[];
199
+ /**
200
+ * Web-standard `Request` helper for DNS rebinding protection.
201
+ * @example
202
+ * ```ts source="./hostHeaderValidation.examples.ts#hostHeaderValidationResponse_basicUsage"
203
+ * const result = validateHostHeader(req.headers.get('host'), ['localhost']);
204
+ * ```
205
+ */
206
+ declare function hostHeaderValidationResponse(req: Request, allowedHostnames: string[]): Response | undefined;
207
+ //#endregion
208
+ //#region src/server/middleware/oauthMetadata.d.ts
209
+ /**
210
+ * Options for {@link oauthMetadataResponse} and
211
+ * {@link buildOAuthProtectedResourceMetadata}.
212
+ */
213
+ interface AuthMetadataOptions {
214
+ /**
215
+ * Authorization Server metadata (RFC 8414) for the AS this MCP server
216
+ * relies on. Served at `/.well-known/oauth-authorization-server` so
217
+ * legacy clients that probe the resource origin still discover the AS.
218
+ */
219
+ oauthMetadata: OAuthMetadata;
220
+ /**
221
+ * The public URL of this MCP server, used as the `resource` value in the
222
+ * Protected Resource Metadata document. Any path component is reflected
223
+ * in the well-known route per RFC 9728.
224
+ */
225
+ resourceServerUrl: URL;
226
+ /**
227
+ * Optional documentation URL advertised as `resource_documentation`.
228
+ */
229
+ serviceDocumentationUrl?: URL;
230
+ /**
231
+ * Optional list of scopes this MCP server understands, advertised as
232
+ * `scopes_supported`.
233
+ */
234
+ scopesSupported?: string[];
235
+ /**
236
+ * Optional human-readable name advertised as `resource_name`.
237
+ */
238
+ resourceName?: string;
239
+ /**
240
+ * Allow a non-HTTPS issuer URL. Local testing only — never enable in
241
+ * production. The Express adapter maps its
242
+ * `MCP_DANGEROUSLY_ALLOW_INSECURE_ISSUER_URL` environment variable here.
243
+ */
244
+ dangerouslyAllowInsecureIssuerUrl?: boolean;
245
+ }
246
+ /**
247
+ * Derive the RFC 9728 Protected Resource Metadata document from
248
+ * {@link AuthMetadataOptions}, validating the Authorization Server issuer URL
249
+ * (HTTPS required outside localhost) in the process.
250
+ *
251
+ * `oauthMetadataResponse` and the Express `mcpAuthMetadataRouter` both build
252
+ * on this; use it directly when serving the document through your own
253
+ * routing — or call it once at startup to fail fast on a misconfigured
254
+ * issuer before any request arrives.
255
+ */
256
+ declare function buildOAuthProtectedResourceMetadata(options: AuthMetadataOptions): OAuthProtectedResourceMetadata;
257
+ /**
258
+ * Builds the RFC 9728 Protected Resource Metadata URL for a given MCP server
259
+ * URL by inserting `/.well-known/oauth-protected-resource` ahead of the path.
260
+ *
261
+ * @example
262
+ * ```ts
263
+ * getOAuthProtectedResourceMetadataUrl(new URL('https://api.example.com/mcp'))
264
+ * // → 'https://api.example.com/.well-known/oauth-protected-resource/mcp'
265
+ * ```
266
+ */
267
+ declare function getOAuthProtectedResourceMetadataUrl(serverUrl: URL): string;
268
+ /**
269
+ * Serve the two OAuth discovery documents an MCP server acting as a Resource
270
+ * Server exposes, from a web-standard `fetch(request)` handler:
271
+ *
272
+ * - `/.well-known/oauth-protected-resource[/<path>]` — RFC 9728 Protected
273
+ * Resource Metadata, derived from the supplied options (path-aware: the
274
+ * resource URL's path is reflected in the route).
275
+ * - `/.well-known/oauth-authorization-server` — RFC 8414 Authorization
276
+ * Server Metadata, passed through verbatim.
277
+ *
278
+ * Returns the matched document `Response` (JSON with permissive CORS, `405`
279
+ * with an `Allow` header for non-GET methods, `204` for CORS preflight), or
280
+ * `undefined` when the request path is neither well-known route — fall
281
+ * through to your own routing. The framework-free counterpart of
282
+ * `mcpAuthMetadataRouter` from `@modelcontextprotocol/express`; pair it with
283
+ * `requireBearerAuth` and `getOAuthProtectedResourceMetadataUrl` so
284
+ * unauthenticated clients can discover the AS from the `401` challenge.
285
+ *
286
+ * @example
287
+ * ```ts source="./oauthMetadata.examples.ts#oauthMetadataResponse_fetchHandler"
288
+ * async function fetchHandler(request: Request): Promise<Response> {
289
+ * return oauthMetadataResponse(request, options) ?? serveMcp(request);
290
+ * }
291
+ * ```
292
+ */
293
+ declare function oauthMetadataResponse(request: Request, options: AuthMetadataOptions): Response | undefined;
294
+ //#endregion
295
+ //#region src/server/middleware/originValidation.d.ts
296
+ /**
297
+ * Framework-agnostic Origin header validation helpers.
298
+ *
299
+ * Browsers attach an `Origin` header to cross-origin requests; validating it
300
+ * against an allowlist (alongside Host header validation) protects local and
301
+ * development MCP servers against DNS rebinding and cross-site request
302
+ * forgery. The framework middleware packages (`@modelcontextprotocol/express`,
303
+ * `@modelcontextprotocol/hono`, `@modelcontextprotocol/fastify`,
304
+ * `@modelcontextprotocol/node`) wrap these helpers; use them directly when
305
+ * mounting a handler bare on a fetch-native runtime.
306
+ *
307
+ * Validation is deny-on-failure: a present `Origin` value that cannot be
308
+ * parsed (including the opaque `null` origin) is rejected, never passed
309
+ * through. Requests without an `Origin` header pass — non-browser MCP clients
310
+ * do not send one.
311
+ */
312
+ type OriginValidationResult = {
313
+ ok: true;
314
+ origin?: string;
315
+ hostname?: string;
316
+ } | {
317
+ ok: false;
318
+ errorCode: 'invalid_origin_header' | 'invalid_origin';
319
+ message: string;
320
+ originHeader?: string;
321
+ hostname?: string;
322
+ };
323
+ /**
324
+ * Validate an `Origin` header against an allowlist of hostnames (port-agnostic).
325
+ *
326
+ * - A missing/empty `Origin` header passes: non-browser clients do not send one,
327
+ * and only browser-originated requests carry the header this check defends against.
328
+ * - Allowlist items are hostnames only (no scheme, no port), the same convention as
329
+ * `validateHostHeader`. For IPv6, include brackets (e.g. `[::1]`).
330
+ * - A browser extension's origin carries its extension ID as the hostname; list the
331
+ * ID to allow one extension. An allowlist item of the form `<scheme>://*`
332
+ * (lowercase, e.g. `moz-extension://*`) allows every origin of that scheme, which
333
+ * Firefox needs because its extension IDs differ on every install.
334
+ * `http://*` and `https://*` are not honoured: list websites by hostname.
335
+ * - Any present value that cannot be parsed as an origin URL — including the literal
336
+ * `null` origin browsers send for opaque contexts — is rejected (deny on failure).
337
+ */
338
+ declare function validateOriginHeader(originHeader: string | null | undefined, allowedOriginHostnames: string[]): OriginValidationResult;
339
+ /**
340
+ * Convenience allowlist of localhost-class origin hostnames, mirroring
341
+ * `localhostAllowedHostnames`.
342
+ */
343
+ declare function localhostAllowedOrigins(): string[];
344
+ /**
345
+ * Web-standard `Request` helper for Origin validation: returns a `403` JSON-RPC
346
+ * error response when the request's `Origin` header is not allowed, and
347
+ * `undefined` when the request may proceed.
348
+ *
349
+ * ```ts
350
+ * const rejected = originValidationResponse(request, localhostAllowedOrigins());
351
+ * if (rejected) return rejected;
352
+ * ```
353
+ */
354
+ declare function originValidationResponse(req: Request, allowedOriginHostnames: string[]): Response | undefined;
355
+ //#endregion
356
+ //#region src/server/requestStateCodec.d.ts
357
+ /**
358
+ * Options for {@linkcode createRequestStateCodec}.
359
+ */
360
+ interface RequestStateCodecOptions {
361
+ /**
362
+ * The HMAC secret. A `string` value is UTF-8-encoded. MUST be at least
363
+ * 32 bytes (256 bits) long; a `RangeError` is thrown at
364
+ * construction otherwise. The same key must be available to every server
365
+ * instance that may receive an echoed `requestState` (so a per-process
366
+ * random key only works when one process serves every round of a flow).
367
+ */
368
+ key: Uint8Array | string;
369
+ /**
370
+ * How long a minted `requestState` stays valid, in seconds. An echoed
371
+ * value past its expiry is rejected by {@linkcode RequestStateCodec.verify}.
372
+ * Defaults to `600` (ten minutes).
373
+ */
374
+ ttlSeconds?: number;
375
+ /**
376
+ * Optional context binding. Called at mint time and again at verify time;
377
+ * a `requestState` minted under one binding value is rejected when echoed
378
+ * under a different one. Use this to bind state to the authenticated
379
+ * principal and/or the originating method (the spec's user-binding MUST
380
+ * for state that influences authorization), for example:
381
+ *
382
+ * ```ts
383
+ * bind: ctx => `${ctx.mcpReq.method}\0${ctx.http?.authInfo?.clientId ?? ''}`
384
+ * ```
385
+ *
386
+ * The returned value is stored in the envelope as a domain-separated HMAC
387
+ * tag (keyed by the codec's `key`), not the raw string — so a principal
388
+ * identifier in the binding does not appear in the wire value the client
389
+ * holds.
390
+ *
391
+ * When configured, {@linkcode RequestStateCodec.mint} requires its `ctx`
392
+ * argument.
393
+ */
394
+ bind?: (ctx: ServerContext) => string;
395
+ }
396
+ /**
397
+ * The codec returned by {@linkcode createRequestStateCodec}: `mint` seals a
398
+ * JSON-serializable payload into the wire string a handler returns from
399
+ * `inputRequired({ requestState })`; `verify` is the function to drop into
400
+ * {@linkcode server/server.ServerOptions | ServerOptions}`.requestState.verify`
401
+ * (it throws on any failure, which the seam answers as the frozen `-32602`).
402
+ * The decoded payload `verify` resolves with is handed to the handler by the
403
+ * seam via the typed `ctx.mcpReq.requestState<T>()` accessor — `mint<T>` and
404
+ * `requestState<T>()` are the typed encode/read pair.
405
+ */
406
+ interface RequestStateCodec<T = unknown> {
407
+ /**
408
+ * Seal `payload` into an opaque wire string. The result is what the
409
+ * handler returns from `inputRequired({ requestState })`.
410
+ *
411
+ * @param ctx The handler's context. Required when the codec was created
412
+ * with a {@linkcode RequestStateCodecOptions.bind | bind}
413
+ * callback; ignored otherwise.
414
+ */
415
+ mint(payload: T, ctx?: ServerContext): Promise<string>;
416
+ /**
417
+ * Verify an echoed `requestState` and return the original payload. Throws
418
+ * on any failure (bad MAC, expired, bind mismatch, malformed). The thrown
419
+ * message is a fixed opaque reason code (`'malformed'` / `'mac'` /
420
+ * `'expired'` / `'bind'`) — never the decoded payload, the binding value,
421
+ * or any other context-derived field.
422
+ *
423
+ * Pass this directly as `ServerOptions.requestState.verify`.
424
+ */
425
+ verify(state: string, ctx: ServerContext): Promise<T>;
426
+ }
427
+ /**
428
+ * Create an opt-in HMAC-SHA256 codec for the multi-round-trip `requestState`
429
+ * (protocol revision 2026-07-28).
430
+ *
431
+ * `requestState` round-trips through the client and is attacker-controlled
432
+ * input on re-entry. The SDK applies no protection of its own; this helper is
433
+ * the convenience implementation of the spec's integrity MUST so authors don't
434
+ * hand-roll HMAC. Wire shape:
435
+ *
436
+ * "v1." b64url({"p":<payload>,"exp":<unixSeconds>,"b":<bindTag>?}) "." b64url(mac)
437
+ *
438
+ * where `bindTag` is `b64url(HMAC(key, "mcp.requestState.bind:" + bind(ctx))[:16])`
439
+ * — the binding value is never embedded raw.
440
+ *
441
+ * The codec is **signed, not encrypted**: the body is integrity-protected but
442
+ * the client can base64url-decode it and read the payload (`p`) in clear. Do
443
+ * not put secrets in the payload; use an AEAD construction if confidentiality
444
+ * is required. The handler reads its payload back via the typed
445
+ * `ctx.mcpReq.requestState<T>()` accessor — the seam has already run `verify`
446
+ * (integrity proven, payload decoded) by the time the handler is entered.
447
+ *
448
+ * Verification is fail-closed and constant-time (WebCrypto `subtle.verify` for
449
+ * the body MAC; a fixed-length XOR-accumulator compare for the bind tag).
450
+ * See `examples/mrtr/server.ts` for a worked end-to-end example.
451
+ *
452
+ * Design comparison (mcp.d `secureRequestState`, the peer SDK's reference
453
+ * implementation): mcp.d additionally offers an AES-256-GCM encrypted mode and
454
+ * derives independent cipher / bind-HMAC sub-keys from the operator secret via
455
+ * HKDF-SHA256, with an auto-generated per-process ephemeral key when none is
456
+ * supplied. This codec deliberately ships only the signed mode and a single
457
+ * keyed HMAC (domain-separated by input prefix) — HKDF sub-key derivation and
458
+ * an encrypted mode are intentionally out of scope for the initial release.
459
+ */
460
+ declare function createRequestStateCodec<T = unknown>(options: RequestStateCodecOptions): RequestStateCodec<T>;
461
+ //#endregion
462
+ //#region src/server/streamableHttp.d.ts
463
+ type StreamId = string;
464
+ type EventId = string;
465
+ /**
466
+ * Interface for resumability support via event storage
467
+ */
468
+ interface EventStore {
469
+ /**
470
+ * Stores an event for later retrieval
471
+ * @param streamId ID of the stream the event belongs to
472
+ * @param message The JSON-RPC message to store
473
+ * @returns The generated event ID for the stored event
474
+ */
475
+ storeEvent(streamId: StreamId, message: JSONRPCMessage): Promise<EventId>;
476
+ /**
477
+ * Get the stream ID associated with a given event ID.
478
+ * @param eventId The event ID to look up
479
+ * @returns The stream ID, or `undefined` if not found
480
+ *
481
+ * Optional: If not provided, the SDK will use the `streamId` returned by
482
+ * {@linkcode replayEventsAfter} for stream mapping.
483
+ */
484
+ getStreamIdForEventId?(eventId: EventId): Promise<StreamId | undefined>;
485
+ replayEventsAfter(lastEventId: EventId, {
486
+ send
487
+ }: {
488
+ send: (eventId: EventId, message: JSONRPCMessage) => Promise<void>;
489
+ }): Promise<StreamId>;
490
+ }
491
+ /**
492
+ * Configuration options for {@linkcode WebStandardStreamableHTTPServerTransport}
493
+ */
494
+ interface WebStandardStreamableHTTPServerTransportOptions {
495
+ /**
496
+ * Function that generates a session ID for the transport.
497
+ * The session ID SHOULD be globally unique and cryptographically secure (e.g., a securely generated UUID, a JWT, or a cryptographic hash)
498
+ *
499
+ * If not provided, session management is disabled (stateless mode).
500
+ */
501
+ sessionIdGenerator?: (() => string) | undefined;
502
+ /**
503
+ * A callback for session initialization events
504
+ * This is called when the server initializes a new session.
505
+ * Useful in cases when you need to register multiple mcp sessions
506
+ * and need to keep track of them.
507
+ * @param sessionId The generated session ID
508
+ */
509
+ onsessioninitialized?: ((sessionId: string) => void | Promise<void>) | undefined;
510
+ /**
511
+ * A callback for session close events
512
+ * This is called when the server closes a session due to a `DELETE` request.
513
+ * Useful in cases when you need to clean up resources associated with the session.
514
+ * Note that this is different from the transport closing, if you are handling
515
+ * HTTP requests from multiple nodes you might want to close each
516
+ * {@linkcode WebStandardStreamableHTTPServerTransport} after a request is completed while still keeping the
517
+ * session open/running.
518
+ * @param sessionId The session ID that was closed
519
+ */
520
+ onsessionclosed?: ((sessionId: string) => void | Promise<void>) | undefined;
521
+ /**
522
+ * If `true`, the server will return JSON responses instead of starting an SSE stream.
523
+ * This can be useful for simple request/response scenarios without streaming.
524
+ * Default is `false` (SSE streams are preferred).
525
+ */
526
+ enableJsonResponse?: boolean;
527
+ /**
528
+ * Event store for resumability support
529
+ * If provided, resumability will be enabled, allowing clients to reconnect and resume messages
530
+ */
531
+ eventStore?: EventStore;
532
+ /**
533
+ * List of allowed `Host` header values for DNS rebinding protection.
534
+ * If not specified, host validation is disabled.
535
+ * @deprecated Use external middleware for host validation instead.
536
+ */
537
+ allowedHosts?: string[];
538
+ /**
539
+ * List of allowed `Origin` header values for DNS rebinding protection.
540
+ * If not specified, origin validation is disabled.
541
+ * @deprecated Use external middleware for origin validation instead.
542
+ */
543
+ allowedOrigins?: string[];
544
+ /**
545
+ * Enable DNS rebinding protection (requires `allowedHosts` and/or `allowedOrigins` to be configured).
546
+ * Default is `false` for backwards compatibility.
547
+ * @deprecated Use external middleware for DNS rebinding protection instead.
548
+ */
549
+ enableDnsRebindingProtection?: boolean;
550
+ /**
551
+ * Retry interval in milliseconds to suggest to clients in SSE `retry` field.
552
+ * When set, the server will send a `retry` field in SSE priming events to control
553
+ * client reconnection timing for polling behavior.
554
+ */
555
+ retryInterval?: number;
556
+ /**
557
+ * Interval in milliseconds between SSE keep-alive comment frames.
558
+ * Defaults to `15000`; set to `0` to disable.
559
+ */
560
+ keepAliveMs?: number;
561
+ /**
562
+ * Upper bound, in bytes, on a POST body the transport reads itself. A body
563
+ * over the bound (declared `Content-Length`, or observed while streaming)
564
+ * is answered `413` before anything is parsed. Not applied when the caller
565
+ * supplies `parsedBody`. Must be a positive number.
566
+ * @default 4194304 (4 MiB)
567
+ */
568
+ maxRequestBodySize?: number;
569
+ /**
570
+ * List of protocol versions that this transport will accept.
571
+ * Used to validate the `mcp-protocol-version` header in incoming requests.
572
+ *
573
+ * Note: When using {@linkcode server/server.Server.connect | Server.connect()}, the server automatically passes its
574
+ * `supportedProtocolVersions` to the transport, so you typically don't need
575
+ * to set this option directly.
576
+ *
577
+ * @default {@linkcode SUPPORTED_PROTOCOL_VERSIONS}
578
+ */
579
+ supportedProtocolVersions?: string[];
580
+ }
581
+ /**
582
+ * Options for handling a request
583
+ */
584
+ interface HandleRequestOptions {
585
+ /**
586
+ * Pre-parsed request body. If provided, the transport will use this instead of reading and parsing the request body.
587
+ * Useful when using body-parser middleware that has already parsed the body.
588
+ */
589
+ parsedBody?: unknown;
590
+ /**
591
+ * Authentication info from middleware. If provided, will be passed to message handlers.
592
+ */
593
+ authInfo?: AuthInfo;
594
+ }
595
+ /**
596
+ * Server transport for Web Standards Streamable HTTP: this implements the MCP Streamable HTTP transport specification
597
+ * using Web Standard APIs (`Request`, `Response`, `ReadableStream`).
598
+ *
599
+ * This transport works on any runtime that supports Web Standards: Node.js 18+, Cloudflare Workers, Deno, Bun, etc.
600
+ *
601
+ * In stateful mode:
602
+ * - Session ID is generated and included in response headers
603
+ * - Session ID is always included in initialization responses
604
+ * - Requests with invalid session IDs are rejected with `404 Not Found`
605
+ * - Non-initialization requests without a session ID are rejected with `400 Bad Request`
606
+ * - State is maintained in-memory (connections, message history)
607
+ *
608
+ * In stateless mode:
609
+ * - No Session ID is included in any responses
610
+ * - No session validation is performed
611
+ *
612
+ * @example Stateful setup
613
+ * ```ts source="./streamableHttp.examples.ts#WebStandardStreamableHTTPServerTransport_stateful"
614
+ * const server = new McpServer({ name: 'my-server', version: '1.0.0' });
615
+ *
616
+ * const transport = new WebStandardStreamableHTTPServerTransport({
617
+ * sessionIdGenerator: () => crypto.randomUUID()
618
+ * });
619
+ *
620
+ * await server.connect(transport);
621
+ * ```
622
+ *
623
+ * @example Stateless setup
624
+ * ```ts source="./streamableHttp.examples.ts#WebStandardStreamableHTTPServerTransport_stateless"
625
+ * const transport = new WebStandardStreamableHTTPServerTransport({
626
+ * sessionIdGenerator: undefined
627
+ * });
628
+ * ```
629
+ *
630
+ * @example Hono.js
631
+ * ```ts source="./streamableHttp.examples.ts#WebStandardStreamableHTTPServerTransport_hono"
632
+ * app.all('/mcp', async c => {
633
+ * // Stateless example: create a server and a transport per request.
634
+ * const server = new McpServer({ name: 'my-server', version: '1.0.0' });
635
+ * const transport = new WebStandardStreamableHTTPServerTransport({ sessionIdGenerator: undefined });
636
+ * await server.connect(transport);
637
+ * return transport.handleRequest(c.req.raw);
638
+ * });
639
+ * ```
640
+ *
641
+ * @example Cloudflare Workers
642
+ * ```ts source="./streamableHttp.examples.ts#WebStandardStreamableHTTPServerTransport_workers"
643
+ * const worker = {
644
+ * async fetch(request: Request): Promise<Response> {
645
+ * // Stateless example: create a server and a transport per request.
646
+ * const server = new McpServer({ name: 'my-server', version: '1.0.0' });
647
+ * const transport = new WebStandardStreamableHTTPServerTransport({ sessionIdGenerator: undefined });
648
+ * await server.connect(transport);
649
+ * return transport.handleRequest(request);
650
+ * }
651
+ * };
652
+ * ```
653
+ */
654
+ declare class WebStandardStreamableHTTPServerTransport implements Transport {
655
+ private sessionIdGenerator;
656
+ private _started;
657
+ private _hasHandledRequest;
658
+ private _closed;
659
+ private _streamMapping;
660
+ private _requestToStreamMapping;
661
+ private _requestResponseMap;
662
+ private _initialized;
663
+ private _enableJsonResponse;
664
+ private _standaloneSseStreamId;
665
+ private _eventStore?;
666
+ private _onsessioninitialized?;
667
+ private _onsessionclosed?;
668
+ private _allowedHosts?;
669
+ private _allowedOrigins?;
670
+ private _enableDnsRebindingProtection;
671
+ private _retryInterval?;
672
+ private _supportedProtocolVersions;
673
+ private _keepAliveMs;
674
+ private _maxRequestBodySize;
675
+ private _scopeChallengeResolver?;
676
+ sessionId?: string;
677
+ onclose?: () => void;
678
+ onerror?: (error: Error) => void;
679
+ onmessage?: (message: JSONRPCMessage, extra?: MessageExtraInfo) => void;
680
+ constructor(options?: WebStandardStreamableHTTPServerTransportOptions);
681
+ private startKeepAlive;
682
+ /** Sets the scope challenge resolver for parsed JSON-RPC requests. */
683
+ setScopeChallengeResolver(resolver: ScopeChallengeHandler): void;
684
+ /**
685
+ * Starts the transport. This is required by the {@linkcode Transport} interface but is a no-op
686
+ * for the Streamable HTTP transport as connections are managed per-request.
687
+ */
688
+ start(): Promise<void>;
689
+ /**
690
+ * Sets the supported protocol versions for header validation.
691
+ * Called by the server during {@linkcode server/server.Server.connect | connect()} to pass its supported versions.
692
+ */
693
+ setSupportedProtocolVersions(versions: string[]): void;
694
+ /**
695
+ * Helper to create a JSON error response
696
+ */
697
+ private createJsonErrorResponse;
698
+ private _checkScopeChallenge;
699
+ /**
700
+ * Validates request headers for DNS rebinding protection.
701
+ * @returns Error response if validation fails, `undefined` if validation passes.
702
+ */
703
+ private validateRequestHeaders;
704
+ /**
705
+ * Handles an incoming HTTP request, whether `GET`, `POST`, or `DELETE`
706
+ * Returns a `Response` object (Web Standard)
707
+ */
708
+ handleRequest(req: Request, options?: HandleRequestOptions): Promise<Response>;
709
+ /**
710
+ * Returns true if the client's protocol version supports empty SSE data in
711
+ * priming events (the fix shipped with protocol version `2025-11-25`).
712
+ *
713
+ * The version is checked for membership in this transport instance's
714
+ * supported protocol versions rather than with an open-ended
715
+ * `>= '2025-11-25'` comparison: the value may come from an `initialize`
716
+ * request body, which (unlike the `MCP-Protocol-Version` header) is not
717
+ * validated against `supportedProtocolVersions` before reaching this
718
+ * check. An unknown future version string must not silently enable
719
+ * behavior reserved for versions this transport actually supports.
720
+ */
721
+ private supportsEmptySSEData;
722
+ /**
723
+ * Writes a priming event to establish resumption capability.
724
+ * Only sends if `eventStore` is configured (opt-in for resumability) and
725
+ * the client's protocol version supports empty SSE data (a supported
726
+ * version that is >= `2025-11-25`).
727
+ */
728
+ private writePrimingEvent;
729
+ /**
730
+ * Handles `GET` requests for SSE stream
731
+ */
732
+ private handleGetRequest;
733
+ /**
734
+ * Replays events that would have been sent after the specified event ID
735
+ * Only used when resumability is enabled
736
+ */
737
+ private replayEvents;
738
+ /**
739
+ * Writes an event to an SSE stream via controller with proper formatting
740
+ */
741
+ private writeSSEEvent;
742
+ /**
743
+ * Handles unsupported requests (`PUT`, `PATCH`, etc.)
744
+ */
745
+ private handleUnsupportedRequest;
746
+ /**
747
+ * Handles `POST` requests containing JSON-RPC messages
748
+ */
749
+ private handlePostRequest;
750
+ /**
751
+ * Handles `DELETE` requests to terminate sessions
752
+ */
753
+ private handleDeleteRequest;
754
+ /**
755
+ * Validates session ID for non-initialization requests.
756
+ * Returns `Response` error if invalid, `undefined` otherwise
757
+ */
758
+ private validateSession;
759
+ /**
760
+ * Validates the `MCP-Protocol-Version` header on incoming requests.
761
+ *
762
+ * For initialization: Version negotiation handles unknown versions gracefully
763
+ * (server responds with its supported version).
764
+ *
765
+ * For subsequent requests with `MCP-Protocol-Version` header:
766
+ * - Accept if in supported list
767
+ * - 400 if unsupported
768
+ *
769
+ * For HTTP requests without the `MCP-Protocol-Version` header:
770
+ * - Accept and default to the version negotiated at initialization
771
+ */
772
+ private validateProtocolVersion;
773
+ close(): Promise<void>;
774
+ /**
775
+ * Close an SSE stream for a specific request, triggering client reconnection.
776
+ * Use this to implement polling behavior during long-running operations -
777
+ * client will reconnect after the retry interval specified in the priming event.
778
+ */
779
+ closeSSEStream(requestId: RequestId): void;
780
+ /**
781
+ * Close the standalone `GET` SSE stream, triggering client reconnection.
782
+ * Use this to implement polling behavior for server-initiated notifications.
783
+ */
784
+ closeStandaloneSSEStream(): void;
785
+ send(message: JSONRPCMessage, options?: {
786
+ relatedRequestId?: RequestId;
787
+ }): Promise<void>;
788
+ }
789
+ //#endregion
790
+ //#region src/server/requestBody.d.ts
791
+ /** Default upper bound, in bytes, on a request body read by the HTTP entry points (4 MiB). */
792
+ declare const DEFAULT_MAX_REQUEST_BODY_SIZE: number;
793
+ /**
794
+ * Reads a request body as text, up to `maxBytes` (default
795
+ * {@linkcode DEFAULT_MAX_REQUEST_BODY_SIZE}). A declared `Content-Length` over the
796
+ * limit is refused without reading anything; otherwise the read stops as soon as
797
+ * more than the limit has arrived. Stream failures propagate.
798
+ */
799
+ declare function readRequestBody(request: Request, maxBytes?: number): Promise<{
800
+ tooLarge: true;
801
+ } | {
802
+ tooLarge: false;
803
+ text: string;
804
+ }>;
805
+ //#endregion
806
+ //#region src/fromJsonSchema.d.ts
807
+ declare function fromJsonSchema<T = unknown>(schema: JsonSchemaType, validator?: jsonSchemaValidator): StandardSchemaWithJSON<T, T>;
808
+ //#endregion
809
+ export { Annotations, type AnyToolHandler, AudioContent, AuthInfo, type AuthMetadataOptions, type AuthorizationServerMetadata, BAGGAGE_META_KEY, type BaseContext, BaseMetadata, type BaseToolCallback, type BearerAuthOptions, BlobResourceContents, BooleanSchema, CLIENT_CAPABILITIES_META_KEY, CLIENT_INFO_META_KEY, type CacheHint, type CacheScope, CallToolRequest, CallToolRequestParams, CallToolResult, CancelTaskRequest, CancelTaskResult, CancelledNotification, CancelledNotificationParams, ClientCapabilities, type ClientContext, ClientNotification, ClientRequest, ClientResult, CompatibilityCallToolResult, type CompletableSchema, type CompleteCallback, CompleteRequest, CompleteRequestParams, CompleteRequestPrompt, CompleteRequestResourceTemplate, type CompleteResourceTemplateCallback, CompleteResult, ContentBlock, type CreateMcpHandlerOptions, CreateMessageRequest, CreateMessageRequestParams, CreateMessageRequestParamsBase, CreateMessageRequestParamsWithTools, CreateMessageResult, CreateMessageResultWithTools, CreateTaskResult, Cursor, DEFAULT_MAX_REQUEST_BODY_SIZE, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, DEFAULT_REQUEST_TIMEOUT_MSEC, DiscoverRequest, DiscoverResult, type ElicitInputParams, ElicitRequest, ElicitRequestFormParams, ElicitRequestParams, ElicitRequestURLParams, ElicitResult, ElicitationCompleteNotification, ElicitationCompleteNotificationParams, EmbeddedResource, EmptyResult, EnumSchema, type EventId, type EventStore, type FetchLike, GetPromptRequest, GetPromptRequestParams, GetPromptResult, GetTaskPayloadRequest, GetTaskPayloadResult, GetTaskRequest, GetTaskResult, type HandleRequestOptions, HandlerResultTypeMap, type HostHeaderValidationResult, INTERNAL_ERROR, INVALID_PARAMS, INVALID_REQUEST, Icon, Icons, type IdJagTokenExchangeResponse, ImageContent, Implementation, InMemoryServerEventBus, InMemoryTransport, type InboundClassificationOutcome, type InboundHttpRequest, type InboundLadderRejection, type InboundLegacyRoute, type InboundLegacyRouteReason, type InboundModernRoute, type InboundValidationRung, InitializeRequest, InitializeRequestParams, InitializeResult, InitializedNotification, InputRequest, InputRequests, InputRequiredResult, type InputRequiredSpec, InputResponse, type InputResponseView, InputResponses, InternalError, InvalidParamsError, InvalidRequestError, type IsLegacyRequestOptions, JSONArray, JSONObject, JSONRPCErrorResponse, JSONRPCMessage, JSONRPCNotification, JSONRPCRequest, JSONRPCResponse, JSONRPCResultResponse, JSONRPC_VERSION, JSONValue, type JsonSchemaType, type JsonSchemaValidator, type JsonSchemaValidatorResult, LATEST_PROTOCOL_VERSION, LOG_LEVEL_META_KEY, type LegacyHttpHandler, type LegacyStatelessFallbackOptions, LegacyTitledEnumSchema, ListChangedCallback, ListChangedHandlers, ListChangedOptions, ListPromptsRequest, ListPromptsResult, ListResourceTemplatesRequest, ListResourceTemplatesResult, type ListResourcesCallback, ListResourcesRequest, ListResourcesResult, ListRootsRequest, ListRootsResult, ListTasksRequest, ListTasksResult, ListToolsRequest, ListToolsResult, LoggingLevel, LoggingMessageNotification, LoggingMessageNotificationParams, METHOD_NOT_FOUND, type McpHandlerRequestOptions, type McpHttpHandler, type McpRequestContext, McpServer, type McpServerFactory, type McpServerOptions, MessageClassification, MessageExtraInfo, MetaObject, MethodNotFoundError, MissingRequiredClientCapabilityError, MissingRequiredClientCapabilityErrorData, ModelHint, ModelPreferences, MultiSelectEnumSchema, Notification, NotificationMethod, type NotificationOptions, NotificationParams, NotificationTypeMap, NumberSchema, type OAuthClientInformation, type OAuthClientInformationFull, type OAuthClientInformationMixed, type OAuthClientMetadata, type OAuthClientRegistrationError, OAuthError, OAuthErrorCode, type OAuthErrorResponse, type OAuthMetadata, type OAuthProtectedResourceMetadata, type OAuthTokenRevocationRequest, type OAuthTokenVerifier, type OAuthTokens, type OpenIdProviderDiscoveryMetadata, type OpenIdProviderMetadata, type OriginValidationResult, PARSE_ERROR, PROTOCOL_VERSION_META_KEY, PaginatedRequest, PaginatedRequestParams, PaginatedResult, ParseError, PerRequestHTTPServerTransport, type PerRequestHTTPServerTransportOptions, type PerRequestMessageExtra, type PerRequestResponseMode, PingRequest, PrimitiveSchemaDefinition, Progress, type ProgressCallback, ProgressNotification, ProgressNotificationParams, ProgressToken, Prompt, PromptArgument, type PromptCallback, PromptListChangedNotification, PromptMessage, PromptReference, Protocol, type ProtocolEra, ProtocolError, ProtocolErrorCode, type ProtocolOptions, RELATED_TASK_META_KEY, ReadBuffer, type ReadResourceCallback, ReadResourceRequest, ReadResourceRequestParams, ReadResourceResult, type ReadResourceTemplateCallback, type RegisteredPrompt, type RegisteredResource, type RegisteredResourceTemplate, type RegisteredTool, RelatedTaskMetadata, Request$1 as Request, type RequestHandlerSchemas, RequestId, RequestMeta, RequestMetaEnvelope, RequestMetaObject, RequestMethod, type RequestOptions, RequestParams, type RequestStateAccessor, type RequestStateCodec, type RequestStateCodecOptions, RequestTypeMap, Resource, ResourceContents, ResourceLink, ResourceListChangedNotification, type ResourceMetadata, ResourceNotFoundError, ResourceRequestParams, ResourceTemplate, ResourceTemplateReference, ResourceTemplateType, ResourceUpdatedNotification, ResourceUpdatedNotificationParams, Result, ResultMetaObject, ResultTypeMap, Role, Root, RootsListChangedNotification, SERVER_INFO_META_KEY, STDIO_DEFAULT_MAX_BUFFER_SIZE, SUBSCRIPTION_ID_META_KEY, SUPPORTED_PROTOCOL_VERSIONS, SamplingContent, SamplingMessage, SamplingMessageContentBlock, type ScopeChallenge, type ScopeChallengeHandler, SdkError, SdkErrorCode, SdkHttpError, type SdkHttpErrorData, Server, ServerCapabilities, type ServerContext, type ServerEvent, type ServerEventBus, ServerNotification, type ServerNotifier, type ServerOptions, ServerRequest, ServerResult, SetLevelRequest, SetLevelRequestParams, SingleSelectEnumSchema, type SpecTypeName, type SpecTypes, type StandardSchemaV1, type StandardSchemaV1Sync, type StandardSchemaWithJSON, type StoredOAuthClientInformation, type StoredOAuthTokens, type StreamId, StringSchema, SubscribeRequest, SubscribeRequestParams, SubscriptionFilter, SubscriptionsAcknowledgedNotification, SubscriptionsAcknowledgedNotificationParams, SubscriptionsListenRequest, SubscriptionsListenRequestParams, SubscriptionsListenResult, SubscriptionsListenResultMeta, TRACEPARENT_META_KEY, TRACESTATE_META_KEY, Task, TaskAugmentedRequestParams, TaskCreationParams, TaskMetadata, TaskStatus, TaskStatusNotification, TaskStatusNotificationParams, TextContent, TextResourceContents, TitledMultiSelectEnumSchema, TitledSingleSelectEnumSchema, Tool, ToolAnnotations, type ToolCallback, ToolChoice, ToolExecution, ToolListChangedNotification, ToolResultContent, ToolUseContent, type Transport, type TransportSendOptions, UnsubscribeRequest, UnsubscribeRequestParams, UnsupportedProtocolVersionError, UnsupportedProtocolVersionErrorData, UntitledMultiSelectEnumSchema, UntitledSingleSelectEnumSchema, UriTemplate, UrlElicitationRequiredError, type Variables, type VerifyBearerTokenOptions, WebStandardStreamableHTTPServerTransport, type WebStandardStreamableHTTPServerTransportOptions, acceptedContent, assertCompleteRequestPrompt, assertCompleteRequestResourceTemplate, bearerAuthChallengeResponse, buildOAuthProtectedResourceMetadata, checkResourceAllowed, classifyInboundRequest, completable, createFetchWithInit, createMcpHandler, createRequestStateCodec, deserializeMessage, fromJsonSchema, getDisplayName, getOAuthProtectedResourceMetadataUrl, hostHeaderValidationResponse, inputRequired, inputResponse, isCallToolResult, isCompletable, isInitializeRequest, isInitializedNotification, isInputRequiredResult, isJSONRPCErrorResponse, isJSONRPCNotification, isJSONRPCRequest, isJSONRPCResponse, isJSONRPCResultResponse, isJsonContentType, isLegacyRequest, isSpecType, isTaskAugmentedRequestParams, type jsonSchemaValidator, legacyStatelessFallback, localhostAllowedHostnames, localhostAllowedOrigins, mergeCapabilities, oauthMetadataResponse, originValidationResponse, parseJSONRPCMessage, preloadSchemas, readRequestBody, requireBearerAuth, requireScopes, resourceUrlFromServerUrl, serializeMessage, specTypeSchemas, validateHostHeader, validateOriginHeader, verifyBearerToken };
810
+ //# sourceMappingURL=index.d.mts.map