@deriv-com/fe-mcp-servers 0.0.4 → 0.0.6

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 (772) hide show
  1. package/README.md +53 -27
  2. package/package.json +4 -4
  3. package/node_modules/@modelcontextprotocol/sdk/LICENSE +0 -21
  4. package/node_modules/@modelcontextprotocol/sdk/README.md +0 -105
  5. package/node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts +0 -2
  6. package/node_modules/@modelcontextprotocol/sdk/dist/cli.d.ts.map +0 -1
  7. package/node_modules/@modelcontextprotocol/sdk/dist/cli.js +0 -129
  8. package/node_modules/@modelcontextprotocol/sdk/dist/cli.js.map +0 -1
  9. package/node_modules/@modelcontextprotocol/sdk/dist/client/index.d.ts +0 -773
  10. package/node_modules/@modelcontextprotocol/sdk/dist/client/index.d.ts.map +0 -1
  11. package/node_modules/@modelcontextprotocol/sdk/dist/client/index.js +0 -206
  12. package/node_modules/@modelcontextprotocol/sdk/dist/client/index.js.map +0 -1
  13. package/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts +0 -2
  14. package/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.d.ts.map +0 -1
  15. package/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.js +0 -393
  16. package/node_modules/@modelcontextprotocol/sdk/dist/client/index.test.js.map +0 -1
  17. package/node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts +0 -22
  18. package/node_modules/@modelcontextprotocol/sdk/dist/client/sse.d.ts.map +0 -1
  19. package/node_modules/@modelcontextprotocol/sdk/dist/client/sse.js +0 -91
  20. package/node_modules/@modelcontextprotocol/sdk/dist/client/sse.js.map +0 -1
  21. package/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts +0 -56
  22. package/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.d.ts.map +0 -1
  23. package/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.js +0 -147
  24. package/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.js.map +0 -1
  25. package/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts +0 -2
  26. package/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.d.ts.map +0 -1
  27. package/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js +0 -51
  28. package/node_modules/@modelcontextprotocol/sdk/dist/client/stdio.test.js.map +0 -1
  29. package/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts +0 -17
  30. package/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.d.ts.map +0 -1
  31. package/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js +0 -61
  32. package/node_modules/@modelcontextprotocol/sdk/dist/client/websocket.js.map +0 -1
  33. package/node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts +0 -20
  34. package/node_modules/@modelcontextprotocol/sdk/dist/inMemory.d.ts.map +0 -1
  35. package/node_modules/@modelcontextprotocol/sdk/dist/inMemory.js +0 -47
  36. package/node_modules/@modelcontextprotocol/sdk/dist/inMemory.js.map +0 -1
  37. package/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts +0 -2
  38. package/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.d.ts.map +0 -1
  39. package/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.js +0 -74
  40. package/node_modules/@modelcontextprotocol/sdk/dist/inMemory.test.js.map +0 -1
  41. package/node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts +0 -112
  42. package/node_modules/@modelcontextprotocol/sdk/dist/server/index.d.ts.map +0 -1
  43. package/node_modules/@modelcontextprotocol/sdk/dist/server/index.js +0 -182
  44. package/node_modules/@modelcontextprotocol/sdk/dist/server/index.js.map +0 -1
  45. package/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts +0 -2
  46. package/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.d.ts.map +0 -1
  47. package/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.js +0 -408
  48. package/node_modules/@modelcontextprotocol/sdk/dist/server/index.test.js.map +0 -1
  49. package/node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts +0 -46
  50. package/node_modules/@modelcontextprotocol/sdk/dist/server/sse.d.ts.map +0 -1
  51. package/node_modules/@modelcontextprotocol/sdk/dist/server/sse.js +0 -116
  52. package/node_modules/@modelcontextprotocol/sdk/dist/server/sse.js.map +0 -1
  53. package/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts +0 -28
  54. package/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.d.ts.map +0 -1
  55. package/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js +0 -69
  56. package/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.js.map +0 -1
  57. package/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts +0 -2
  58. package/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.d.ts.map +0 -1
  59. package/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.js +0 -87
  60. package/node_modules/@modelcontextprotocol/sdk/dist/server/stdio.test.js.map +0 -1
  61. package/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.d.ts +0 -157
  62. package/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.d.ts.map +0 -1
  63. package/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js +0 -297
  64. package/node_modules/@modelcontextprotocol/sdk/dist/shared/protocol.js.map +0 -1
  65. package/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts +0 -13
  66. package/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.d.ts.map +0 -1
  67. package/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js +0 -31
  68. package/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.js.map +0 -1
  69. package/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts +0 -2
  70. package/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.d.ts.map +0 -1
  71. package/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js +0 -27
  72. package/node_modules/@modelcontextprotocol/sdk/dist/shared/stdio.test.js.map +0 -1
  73. package/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts +0 -39
  74. package/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.d.ts.map +0 -1
  75. package/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js +0 -2
  76. package/node_modules/@modelcontextprotocol/sdk/dist/shared/transport.js.map +0 -1
  77. package/node_modules/@modelcontextprotocol/sdk/dist/types.d.ts +0 -26425
  78. package/node_modules/@modelcontextprotocol/sdk/dist/types.d.ts.map +0 -1
  79. package/node_modules/@modelcontextprotocol/sdk/dist/types.js +0 -997
  80. package/node_modules/@modelcontextprotocol/sdk/dist/types.js.map +0 -1
  81. package/node_modules/@modelcontextprotocol/sdk/package.json +0 -61
  82. package/node_modules/bytes/History.md +0 -97
  83. package/node_modules/bytes/LICENSE +0 -23
  84. package/node_modules/bytes/Readme.md +0 -152
  85. package/node_modules/bytes/index.js +0 -170
  86. package/node_modules/bytes/package.json +0 -42
  87. package/node_modules/content-type/HISTORY.md +0 -29
  88. package/node_modules/content-type/LICENSE +0 -22
  89. package/node_modules/content-type/README.md +0 -94
  90. package/node_modules/content-type/index.js +0 -225
  91. package/node_modules/content-type/package.json +0 -42
  92. package/node_modules/depd/History.md +0 -103
  93. package/node_modules/depd/LICENSE +0 -22
  94. package/node_modules/depd/Readme.md +0 -280
  95. package/node_modules/depd/index.js +0 -538
  96. package/node_modules/depd/lib/browser/index.js +0 -77
  97. package/node_modules/depd/package.json +0 -45
  98. package/node_modules/http-errors/HISTORY.md +0 -180
  99. package/node_modules/http-errors/LICENSE +0 -23
  100. package/node_modules/http-errors/README.md +0 -169
  101. package/node_modules/http-errors/index.js +0 -289
  102. package/node_modules/http-errors/package.json +0 -50
  103. package/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  104. package/node_modules/iconv-lite/.idea/codeStyles/Project.xml +0 -47
  105. package/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +0 -5
  106. package/node_modules/iconv-lite/.idea/iconv-lite.iml +0 -12
  107. package/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +0 -6
  108. package/node_modules/iconv-lite/.idea/modules.xml +0 -8
  109. package/node_modules/iconv-lite/.idea/vcs.xml +0 -6
  110. package/node_modules/iconv-lite/Changelog.md +0 -212
  111. package/node_modules/iconv-lite/LICENSE +0 -21
  112. package/node_modules/iconv-lite/README.md +0 -130
  113. package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  114. package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  115. package/node_modules/iconv-lite/encodings/index.js +0 -23
  116. package/node_modules/iconv-lite/encodings/internal.js +0 -198
  117. package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  118. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  119. package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  120. package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  121. package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  122. package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  123. package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  124. package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  125. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  126. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  127. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  128. package/node_modules/iconv-lite/encodings/utf16.js +0 -197
  129. package/node_modules/iconv-lite/encodings/utf32.js +0 -319
  130. package/node_modules/iconv-lite/encodings/utf7.js +0 -290
  131. package/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  132. package/node_modules/iconv-lite/lib/index.d.ts +0 -41
  133. package/node_modules/iconv-lite/lib/index.js +0 -180
  134. package/node_modules/iconv-lite/lib/streams.js +0 -109
  135. package/node_modules/iconv-lite/package.json +0 -44
  136. package/node_modules/inherits/LICENSE +0 -16
  137. package/node_modules/inherits/README.md +0 -42
  138. package/node_modules/inherits/inherits.js +0 -9
  139. package/node_modules/inherits/inherits_browser.js +0 -27
  140. package/node_modules/inherits/package.json +0 -29
  141. package/node_modules/raw-body/HISTORY.md +0 -325
  142. package/node_modules/raw-body/LICENSE +0 -22
  143. package/node_modules/raw-body/README.md +0 -223
  144. package/node_modules/raw-body/SECURITY.md +0 -24
  145. package/node_modules/raw-body/index.d.ts +0 -85
  146. package/node_modules/raw-body/index.js +0 -336
  147. package/node_modules/raw-body/package.json +0 -50
  148. package/node_modules/safer-buffer/LICENSE +0 -21
  149. package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  150. package/node_modules/safer-buffer/Readme.md +0 -156
  151. package/node_modules/safer-buffer/dangerous.js +0 -58
  152. package/node_modules/safer-buffer/package.json +0 -34
  153. package/node_modules/safer-buffer/safer.js +0 -77
  154. package/node_modules/safer-buffer/tests.js +0 -406
  155. package/node_modules/setprototypeof/LICENSE +0 -13
  156. package/node_modules/setprototypeof/README.md +0 -31
  157. package/node_modules/setprototypeof/index.d.ts +0 -2
  158. package/node_modules/setprototypeof/index.js +0 -17
  159. package/node_modules/setprototypeof/package.json +0 -38
  160. package/node_modules/setprototypeof/test/index.js +0 -24
  161. package/node_modules/statuses/HISTORY.md +0 -82
  162. package/node_modules/statuses/LICENSE +0 -23
  163. package/node_modules/statuses/README.md +0 -136
  164. package/node_modules/statuses/codes.json +0 -65
  165. package/node_modules/statuses/index.js +0 -146
  166. package/node_modules/statuses/package.json +0 -49
  167. package/node_modules/toidentifier/HISTORY.md +0 -9
  168. package/node_modules/toidentifier/LICENSE +0 -21
  169. package/node_modules/toidentifier/README.md +0 -61
  170. package/node_modules/toidentifier/index.js +0 -32
  171. package/node_modules/toidentifier/package.json +0 -38
  172. package/node_modules/unpipe/HISTORY.md +0 -4
  173. package/node_modules/unpipe/LICENSE +0 -22
  174. package/node_modules/unpipe/README.md +0 -43
  175. package/node_modules/unpipe/index.js +0 -69
  176. package/node_modules/unpipe/package.json +0 -27
  177. package/node_modules/zod/LICENSE +0 -21
  178. package/node_modules/zod/README.md +0 -208
  179. package/node_modules/zod/index.cjs +0 -33
  180. package/node_modules/zod/index.d.cts +0 -4
  181. package/node_modules/zod/index.d.ts +0 -4
  182. package/node_modules/zod/index.js +0 -4
  183. package/node_modules/zod/package.json +0 -118
  184. package/node_modules/zod/src/index.ts +0 -4
  185. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  186. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  187. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  188. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  189. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  190. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  191. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  192. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  193. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  194. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  195. package/node_modules/zod/src/v3/errors.ts +0 -13
  196. package/node_modules/zod/src/v3/external.ts +0 -6
  197. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  198. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  199. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  200. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  201. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  202. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  203. package/node_modules/zod/src/v3/index.ts +0 -4
  204. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  205. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  206. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  207. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  208. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  209. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  210. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  211. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  212. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  213. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  214. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  215. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  216. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  217. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  218. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  219. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  220. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  221. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  222. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  223. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  224. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  225. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  226. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  227. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  228. package/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  229. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  230. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  231. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  232. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  233. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  234. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  235. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  236. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  237. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  238. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  239. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  240. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  241. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  242. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  243. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  244. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  245. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  246. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  247. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  248. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  249. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  250. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  251. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  252. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  253. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  254. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  255. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  256. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  257. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  258. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  259. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  260. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  261. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  262. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  263. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  264. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  265. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  266. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  267. package/node_modules/zod/src/v3/types.ts +0 -5136
  268. package/node_modules/zod/src/v4/classic/checks.ts +0 -30
  269. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  270. package/node_modules/zod/src/v4/classic/compat.ts +0 -66
  271. package/node_modules/zod/src/v4/classic/errors.ts +0 -75
  272. package/node_modules/zod/src/v4/classic/external.ts +0 -50
  273. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  274. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  275. package/node_modules/zod/src/v4/classic/parse.ts +0 -33
  276. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2054
  277. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  278. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  279. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  280. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  281. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  282. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  283. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  284. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  285. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -252
  286. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  287. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  288. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  289. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  290. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  291. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -296
  292. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -313
  293. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  294. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -619
  295. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  296. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -527
  297. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  298. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -91
  299. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -175
  300. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -268
  301. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  302. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -829
  303. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  304. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  305. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  306. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  307. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -92
  308. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  309. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  310. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  311. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -86
  312. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  313. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -247
  314. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -563
  315. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -123
  316. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -147
  317. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  318. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -81
  319. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -37
  320. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -298
  321. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  322. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  323. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  324. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  325. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -342
  326. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -356
  327. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -532
  328. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  329. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -179
  330. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  331. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -109
  332. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -881
  333. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -66
  334. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -758
  335. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2314
  336. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -250
  337. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  338. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -94
  339. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  340. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  341. package/node_modules/zod/src/v4/core/api.ts +0 -1594
  342. package/node_modules/zod/src/v4/core/checks.ts +0 -1283
  343. package/node_modules/zod/src/v4/core/config.ts +0 -15
  344. package/node_modules/zod/src/v4/core/core.ts +0 -134
  345. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  346. package/node_modules/zod/src/v4/core/errors.ts +0 -424
  347. package/node_modules/zod/src/v4/core/function.ts +0 -176
  348. package/node_modules/zod/src/v4/core/index.ts +0 -15
  349. package/node_modules/zod/src/v4/core/json-schema.ts +0 -143
  350. package/node_modules/zod/src/v4/core/parse.ts +0 -94
  351. package/node_modules/zod/src/v4/core/regexes.ts +0 -135
  352. package/node_modules/zod/src/v4/core/registries.ts +0 -96
  353. package/node_modules/zod/src/v4/core/schemas.ts +0 -3842
  354. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  355. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  356. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  357. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  358. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  359. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  360. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -977
  361. package/node_modules/zod/src/v4/core/util.ts +0 -775
  362. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  363. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  364. package/node_modules/zod/src/v4/index.ts +0 -4
  365. package/node_modules/zod/src/v4/locales/ar.ts +0 -125
  366. package/node_modules/zod/src/v4/locales/az.ts +0 -121
  367. package/node_modules/zod/src/v4/locales/be.ts +0 -184
  368. package/node_modules/zod/src/v4/locales/ca.ts +0 -127
  369. package/node_modules/zod/src/v4/locales/cs.ts +0 -142
  370. package/node_modules/zod/src/v4/locales/de.ts +0 -124
  371. package/node_modules/zod/src/v4/locales/en.ts +0 -127
  372. package/node_modules/zod/src/v4/locales/eo.ts +0 -125
  373. package/node_modules/zod/src/v4/locales/es.ts +0 -125
  374. package/node_modules/zod/src/v4/locales/fa.ts +0 -134
  375. package/node_modules/zod/src/v4/locales/fi.ts +0 -131
  376. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  377. package/node_modules/zod/src/v4/locales/fr.ts +0 -124
  378. package/node_modules/zod/src/v4/locales/he.ts +0 -125
  379. package/node_modules/zod/src/v4/locales/hu.ts +0 -126
  380. package/node_modules/zod/src/v4/locales/id.ts +0 -125
  381. package/node_modules/zod/src/v4/locales/index.ts +0 -39
  382. package/node_modules/zod/src/v4/locales/it.ts +0 -125
  383. package/node_modules/zod/src/v4/locales/ja.ts +0 -122
  384. package/node_modules/zod/src/v4/locales/kh.ts +0 -126
  385. package/node_modules/zod/src/v4/locales/ko.ts +0 -131
  386. package/node_modules/zod/src/v4/locales/mk.ts +0 -127
  387. package/node_modules/zod/src/v4/locales/ms.ts +0 -124
  388. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  389. package/node_modules/zod/src/v4/locales/no.ts +0 -124
  390. package/node_modules/zod/src/v4/locales/ota.ts +0 -125
  391. package/node_modules/zod/src/v4/locales/pl.ts +0 -126
  392. package/node_modules/zod/src/v4/locales/ps.ts +0 -133
  393. package/node_modules/zod/src/v4/locales/pt.ts +0 -123
  394. package/node_modules/zod/src/v4/locales/ru.ts +0 -184
  395. package/node_modules/zod/src/v4/locales/sl.ts +0 -126
  396. package/node_modules/zod/src/v4/locales/sv.ts +0 -127
  397. package/node_modules/zod/src/v4/locales/ta.ts +0 -125
  398. package/node_modules/zod/src/v4/locales/th.ts +0 -126
  399. package/node_modules/zod/src/v4/locales/tr.ts +0 -121
  400. package/node_modules/zod/src/v4/locales/ua.ts +0 -126
  401. package/node_modules/zod/src/v4/locales/ur.ts +0 -126
  402. package/node_modules/zod/src/v4/locales/vi.ts +0 -125
  403. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  404. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  405. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  406. package/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  407. package/node_modules/zod/src/v4/mini/external.ts +0 -40
  408. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  409. package/node_modules/zod/src/v4/mini/iso.ts +0 -62
  410. package/node_modules/zod/src/v4/mini/parse.ts +0 -1
  411. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1579
  412. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  413. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  414. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  415. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  416. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  417. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  418. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -871
  419. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  420. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -185
  421. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  422. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  423. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -299
  424. package/node_modules/zod/src/v4-mini/index.ts +0 -1
  425. package/node_modules/zod/v3/ZodError.cjs +0 -138
  426. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  427. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  428. package/node_modules/zod/v3/ZodError.js +0 -133
  429. package/node_modules/zod/v3/errors.cjs +0 -17
  430. package/node_modules/zod/v3/errors.d.cts +0 -5
  431. package/node_modules/zod/v3/errors.d.ts +0 -5
  432. package/node_modules/zod/v3/errors.js +0 -9
  433. package/node_modules/zod/v3/external.cjs +0 -22
  434. package/node_modules/zod/v3/external.d.cts +0 -6
  435. package/node_modules/zod/v3/external.d.ts +0 -6
  436. package/node_modules/zod/v3/external.js +0 -6
  437. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  438. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  439. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  440. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  441. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  442. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  443. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  444. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  445. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  446. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  447. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  448. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  449. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  450. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  451. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  452. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  453. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  454. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  455. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  456. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  457. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  458. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  459. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  460. package/node_modules/zod/v3/helpers/util.js +0 -133
  461. package/node_modules/zod/v3/index.cjs +0 -33
  462. package/node_modules/zod/v3/index.d.cts +0 -4
  463. package/node_modules/zod/v3/index.d.ts +0 -4
  464. package/node_modules/zod/v3/index.js +0 -4
  465. package/node_modules/zod/v3/locales/en.cjs +0 -111
  466. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  467. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  468. package/node_modules/zod/v3/locales/en.js +0 -109
  469. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  470. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  471. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  472. package/node_modules/zod/v3/standard-schema.js +0 -1
  473. package/node_modules/zod/v3/types.cjs +0 -3775
  474. package/node_modules/zod/v3/types.d.cts +0 -1031
  475. package/node_modules/zod/v3/types.d.ts +0 -1031
  476. package/node_modules/zod/v3/types.js +0 -3693
  477. package/node_modules/zod/v4/classic/checks.cjs +0 -32
  478. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  479. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  480. package/node_modules/zod/v4/classic/checks.js +0 -1
  481. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  482. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  483. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  484. package/node_modules/zod/v4/classic/coerce.js +0 -17
  485. package/node_modules/zod/v4/classic/compat.cjs +0 -57
  486. package/node_modules/zod/v4/classic/compat.d.cts +0 -46
  487. package/node_modules/zod/v4/classic/compat.d.ts +0 -46
  488. package/node_modules/zod/v4/classic/compat.js +0 -27
  489. package/node_modules/zod/v4/classic/errors.cjs +0 -67
  490. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  491. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  492. package/node_modules/zod/v4/classic/errors.js +0 -41
  493. package/node_modules/zod/v4/classic/external.cjs +0 -70
  494. package/node_modules/zod/v4/classic/external.d.cts +0 -13
  495. package/node_modules/zod/v4/classic/external.d.ts +0 -13
  496. package/node_modules/zod/v4/classic/external.js +0 -18
  497. package/node_modules/zod/v4/classic/index.cjs +0 -33
  498. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  499. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  500. package/node_modules/zod/v4/classic/index.js +0 -4
  501. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  502. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  503. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  504. package/node_modules/zod/v4/classic/iso.js +0 -30
  505. package/node_modules/zod/v4/classic/parse.cjs +0 -32
  506. package/node_modules/zod/v4/classic/parse.d.cts +0 -23
  507. package/node_modules/zod/v4/classic/parse.d.ts +0 -23
  508. package/node_modules/zod/v4/classic/parse.js +0 -6
  509. package/node_modules/zod/v4/classic/schemas.cjs +0 -1109
  510. package/node_modules/zod/v4/classic/schemas.d.cts +0 -630
  511. package/node_modules/zod/v4/classic/schemas.d.ts +0 -630
  512. package/node_modules/zod/v4/classic/schemas.js +0 -1006
  513. package/node_modules/zod/v4/core/api.cjs +0 -1039
  514. package/node_modules/zod/v4/core/api.d.cts +0 -284
  515. package/node_modules/zod/v4/core/api.d.ts +0 -284
  516. package/node_modules/zod/v4/core/api.js +0 -906
  517. package/node_modules/zod/v4/core/checks.cjs +0 -591
  518. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  519. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  520. package/node_modules/zod/v4/core/checks.js +0 -565
  521. package/node_modules/zod/v4/core/core.cjs +0 -67
  522. package/node_modules/zod/v4/core/core.d.cts +0 -49
  523. package/node_modules/zod/v4/core/core.d.ts +0 -49
  524. package/node_modules/zod/v4/core/core.js +0 -61
  525. package/node_modules/zod/v4/core/doc.cjs +0 -39
  526. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  527. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  528. package/node_modules/zod/v4/core/doc.js +0 -35
  529. package/node_modules/zod/v4/core/errors.cjs +0 -226
  530. package/node_modules/zod/v4/core/errors.d.cts +0 -208
  531. package/node_modules/zod/v4/core/errors.d.ts +0 -208
  532. package/node_modules/zod/v4/core/errors.js +0 -195
  533. package/node_modules/zod/v4/core/function.cjs +0 -102
  534. package/node_modules/zod/v4/core/function.d.cts +0 -52
  535. package/node_modules/zod/v4/core/function.d.ts +0 -52
  536. package/node_modules/zod/v4/core/function.js +0 -75
  537. package/node_modules/zod/v4/core/index.cjs +0 -44
  538. package/node_modules/zod/v4/core/index.d.cts +0 -15
  539. package/node_modules/zod/v4/core/index.d.ts +0 -15
  540. package/node_modules/zod/v4/core/index.js +0 -15
  541. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  542. package/node_modules/zod/v4/core/json-schema.d.cts +0 -87
  543. package/node_modules/zod/v4/core/json-schema.d.ts +0 -87
  544. package/node_modules/zod/v4/core/json-schema.js +0 -1
  545. package/node_modules/zod/v4/core/parse.cjs +0 -87
  546. package/node_modules/zod/v4/core/parse.d.cts +0 -25
  547. package/node_modules/zod/v4/core/parse.d.ts +0 -25
  548. package/node_modules/zod/v4/core/parse.js +0 -57
  549. package/node_modules/zod/v4/core/regexes.cjs +0 -103
  550. package/node_modules/zod/v4/core/regexes.d.cts +0 -62
  551. package/node_modules/zod/v4/core/regexes.d.ts +0 -62
  552. package/node_modules/zod/v4/core/regexes.js +0 -95
  553. package/node_modules/zod/v4/core/registries.cjs +0 -56
  554. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  555. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  556. package/node_modules/zod/v4/core/registries.js +0 -51
  557. package/node_modules/zod/v4/core/schemas.cjs +0 -1748
  558. package/node_modules/zod/v4/core/schemas.d.cts +0 -1041
  559. package/node_modules/zod/v4/core/schemas.d.ts +0 -1041
  560. package/node_modules/zod/v4/core/schemas.js +0 -1717
  561. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  562. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  563. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  564. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  565. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -854
  566. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -88
  567. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -88
  568. package/node_modules/zod/v4/core/to-json-schema.js +0 -849
  569. package/node_modules/zod/v4/core/util.cjs +0 -539
  570. package/node_modules/zod/v4/core/util.d.cts +0 -183
  571. package/node_modules/zod/v4/core/util.d.ts +0 -183
  572. package/node_modules/zod/v4/core/util.js +0 -493
  573. package/node_modules/zod/v4/core/versions.cjs +0 -8
  574. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  575. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  576. package/node_modules/zod/v4/core/versions.js +0 -5
  577. package/node_modules/zod/v4/index.cjs +0 -22
  578. package/node_modules/zod/v4/index.d.cts +0 -3
  579. package/node_modules/zod/v4/index.d.ts +0 -3
  580. package/node_modules/zod/v4/index.js +0 -3
  581. package/node_modules/zod/v4/locales/ar.cjs +0 -142
  582. package/node_modules/zod/v4/locales/ar.d.cts +0 -4
  583. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  584. package/node_modules/zod/v4/locales/ar.js +0 -116
  585. package/node_modules/zod/v4/locales/az.cjs +0 -141
  586. package/node_modules/zod/v4/locales/az.d.cts +0 -4
  587. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  588. package/node_modules/zod/v4/locales/az.js +0 -115
  589. package/node_modules/zod/v4/locales/be.cjs +0 -190
  590. package/node_modules/zod/v4/locales/be.d.cts +0 -4
  591. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  592. package/node_modules/zod/v4/locales/be.js +0 -164
  593. package/node_modules/zod/v4/locales/ca.cjs +0 -144
  594. package/node_modules/zod/v4/locales/ca.d.cts +0 -4
  595. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  596. package/node_modules/zod/v4/locales/ca.js +0 -118
  597. package/node_modules/zod/v4/locales/cs.cjs +0 -161
  598. package/node_modules/zod/v4/locales/cs.d.cts +0 -4
  599. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  600. package/node_modules/zod/v4/locales/cs.js +0 -135
  601. package/node_modules/zod/v4/locales/de.cjs +0 -142
  602. package/node_modules/zod/v4/locales/de.d.cts +0 -4
  603. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  604. package/node_modules/zod/v4/locales/de.js +0 -116
  605. package/node_modules/zod/v4/locales/en.cjs +0 -145
  606. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  607. package/node_modules/zod/v4/locales/en.d.ts +0 -5
  608. package/node_modules/zod/v4/locales/en.js +0 -117
  609. package/node_modules/zod/v4/locales/eo.cjs +0 -144
  610. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  611. package/node_modules/zod/v4/locales/eo.d.ts +0 -5
  612. package/node_modules/zod/v4/locales/eo.js +0 -116
  613. package/node_modules/zod/v4/locales/es.cjs +0 -143
  614. package/node_modules/zod/v4/locales/es.d.cts +0 -4
  615. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  616. package/node_modules/zod/v4/locales/es.js +0 -117
  617. package/node_modules/zod/v4/locales/fa.cjs +0 -148
  618. package/node_modules/zod/v4/locales/fa.d.cts +0 -4
  619. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  620. package/node_modules/zod/v4/locales/fa.js +0 -122
  621. package/node_modules/zod/v4/locales/fi.cjs +0 -148
  622. package/node_modules/zod/v4/locales/fi.d.cts +0 -4
  623. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  624. package/node_modules/zod/v4/locales/fi.js +0 -122
  625. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -143
  626. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -4
  627. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  628. package/node_modules/zod/v4/locales/fr-CA.js +0 -117
  629. package/node_modules/zod/v4/locales/fr.cjs +0 -142
  630. package/node_modules/zod/v4/locales/fr.d.cts +0 -4
  631. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  632. package/node_modules/zod/v4/locales/fr.js +0 -116
  633. package/node_modules/zod/v4/locales/he.cjs +0 -143
  634. package/node_modules/zod/v4/locales/he.d.cts +0 -4
  635. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  636. package/node_modules/zod/v4/locales/he.js +0 -117
  637. package/node_modules/zod/v4/locales/hu.cjs +0 -143
  638. package/node_modules/zod/v4/locales/hu.d.cts +0 -4
  639. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  640. package/node_modules/zod/v4/locales/hu.js +0 -117
  641. package/node_modules/zod/v4/locales/id.cjs +0 -142
  642. package/node_modules/zod/v4/locales/id.d.cts +0 -4
  643. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  644. package/node_modules/zod/v4/locales/id.js +0 -116
  645. package/node_modules/zod/v4/locales/index.cjs +0 -84
  646. package/node_modules/zod/v4/locales/index.d.cts +0 -39
  647. package/node_modules/zod/v4/locales/index.d.ts +0 -39
  648. package/node_modules/zod/v4/locales/index.js +0 -39
  649. package/node_modules/zod/v4/locales/it.cjs +0 -143
  650. package/node_modules/zod/v4/locales/it.d.cts +0 -4
  651. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  652. package/node_modules/zod/v4/locales/it.js +0 -117
  653. package/node_modules/zod/v4/locales/ja.cjs +0 -141
  654. package/node_modules/zod/v4/locales/ja.d.cts +0 -4
  655. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  656. package/node_modules/zod/v4/locales/ja.js +0 -115
  657. package/node_modules/zod/v4/locales/kh.cjs +0 -143
  658. package/node_modules/zod/v4/locales/kh.d.cts +0 -4
  659. package/node_modules/zod/v4/locales/kh.d.ts +0 -4
  660. package/node_modules/zod/v4/locales/kh.js +0 -117
  661. package/node_modules/zod/v4/locales/ko.cjs +0 -147
  662. package/node_modules/zod/v4/locales/ko.d.cts +0 -4
  663. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  664. package/node_modules/zod/v4/locales/ko.js +0 -121
  665. package/node_modules/zod/v4/locales/mk.cjs +0 -144
  666. package/node_modules/zod/v4/locales/mk.d.cts +0 -4
  667. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  668. package/node_modules/zod/v4/locales/mk.js +0 -118
  669. package/node_modules/zod/v4/locales/ms.cjs +0 -142
  670. package/node_modules/zod/v4/locales/ms.d.cts +0 -4
  671. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  672. package/node_modules/zod/v4/locales/ms.js +0 -116
  673. package/node_modules/zod/v4/locales/nl.cjs +0 -143
  674. package/node_modules/zod/v4/locales/nl.d.cts +0 -4
  675. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  676. package/node_modules/zod/v4/locales/nl.js +0 -117
  677. package/node_modules/zod/v4/locales/no.cjs +0 -142
  678. package/node_modules/zod/v4/locales/no.d.cts +0 -4
  679. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  680. package/node_modules/zod/v4/locales/no.js +0 -116
  681. package/node_modules/zod/v4/locales/ota.cjs +0 -143
  682. package/node_modules/zod/v4/locales/ota.d.cts +0 -4
  683. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  684. package/node_modules/zod/v4/locales/ota.js +0 -117
  685. package/node_modules/zod/v4/locales/pl.cjs +0 -143
  686. package/node_modules/zod/v4/locales/pl.d.cts +0 -4
  687. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  688. package/node_modules/zod/v4/locales/pl.js +0 -117
  689. package/node_modules/zod/v4/locales/ps.cjs +0 -148
  690. package/node_modules/zod/v4/locales/ps.d.cts +0 -4
  691. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  692. package/node_modules/zod/v4/locales/ps.js +0 -122
  693. package/node_modules/zod/v4/locales/pt.cjs +0 -142
  694. package/node_modules/zod/v4/locales/pt.d.cts +0 -4
  695. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  696. package/node_modules/zod/v4/locales/pt.js +0 -116
  697. package/node_modules/zod/v4/locales/ru.cjs +0 -190
  698. package/node_modules/zod/v4/locales/ru.d.cts +0 -4
  699. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  700. package/node_modules/zod/v4/locales/ru.js +0 -164
  701. package/node_modules/zod/v4/locales/sl.cjs +0 -143
  702. package/node_modules/zod/v4/locales/sl.d.cts +0 -4
  703. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  704. package/node_modules/zod/v4/locales/sl.js +0 -117
  705. package/node_modules/zod/v4/locales/sv.cjs +0 -144
  706. package/node_modules/zod/v4/locales/sv.d.cts +0 -4
  707. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  708. package/node_modules/zod/v4/locales/sv.js +0 -118
  709. package/node_modules/zod/v4/locales/ta.cjs +0 -143
  710. package/node_modules/zod/v4/locales/ta.d.cts +0 -4
  711. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  712. package/node_modules/zod/v4/locales/ta.js +0 -117
  713. package/node_modules/zod/v4/locales/th.cjs +0 -143
  714. package/node_modules/zod/v4/locales/th.d.cts +0 -4
  715. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  716. package/node_modules/zod/v4/locales/th.js +0 -117
  717. package/node_modules/zod/v4/locales/tr.cjs +0 -143
  718. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  719. package/node_modules/zod/v4/locales/tr.d.ts +0 -5
  720. package/node_modules/zod/v4/locales/tr.js +0 -115
  721. package/node_modules/zod/v4/locales/ua.cjs +0 -143
  722. package/node_modules/zod/v4/locales/ua.d.cts +0 -4
  723. package/node_modules/zod/v4/locales/ua.d.ts +0 -4
  724. package/node_modules/zod/v4/locales/ua.js +0 -117
  725. package/node_modules/zod/v4/locales/ur.cjs +0 -143
  726. package/node_modules/zod/v4/locales/ur.d.cts +0 -4
  727. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  728. package/node_modules/zod/v4/locales/ur.js +0 -117
  729. package/node_modules/zod/v4/locales/vi.cjs +0 -142
  730. package/node_modules/zod/v4/locales/vi.d.cts +0 -4
  731. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  732. package/node_modules/zod/v4/locales/vi.js +0 -116
  733. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -142
  734. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -4
  735. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  736. package/node_modules/zod/v4/locales/zh-CN.js +0 -116
  737. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -143
  738. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -4
  739. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  740. package/node_modules/zod/v4/locales/zh-TW.js +0 -117
  741. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  742. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  743. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  744. package/node_modules/zod/v4/mini/checks.js +0 -1
  745. package/node_modules/zod/v4/mini/coerce.cjs +0 -47
  746. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  747. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  748. package/node_modules/zod/v4/mini/coerce.js +0 -17
  749. package/node_modules/zod/v4/mini/external.cjs +0 -62
  750. package/node_modules/zod/v4/mini/external.d.cts +0 -11
  751. package/node_modules/zod/v4/mini/external.d.ts +0 -11
  752. package/node_modules/zod/v4/mini/external.js +0 -13
  753. package/node_modules/zod/v4/mini/index.cjs +0 -32
  754. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  755. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  756. package/node_modules/zod/v4/mini/index.js +0 -3
  757. package/node_modules/zod/v4/mini/iso.cjs +0 -60
  758. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  759. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  760. package/node_modules/zod/v4/mini/iso.js +0 -30
  761. package/node_modules/zod/v4/mini/parse.cjs +0 -8
  762. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  763. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  764. package/node_modules/zod/v4/mini/parse.js +0 -1
  765. package/node_modules/zod/v4/mini/schemas.cjs +0 -839
  766. package/node_modules/zod/v4/mini/schemas.d.cts +0 -356
  767. package/node_modules/zod/v4/mini/schemas.d.ts +0 -356
  768. package/node_modules/zod/v4/mini/schemas.js +0 -732
  769. package/node_modules/zod/v4-mini/index.cjs +0 -17
  770. package/node_modules/zod/v4-mini/index.d.cts +0 -1
  771. package/node_modules/zod/v4-mini/index.d.ts +0 -1
  772. package/node_modules/zod/v4-mini/index.js +0 -1
@@ -1,997 +0,0 @@
1
- import { z } from "zod";
2
- export const LATEST_PROTOCOL_VERSION = "2024-11-05";
3
- export const SUPPORTED_PROTOCOL_VERSIONS = [
4
- LATEST_PROTOCOL_VERSION,
5
- "2024-10-07",
6
- ];
7
- /* JSON-RPC types */
8
- export const JSONRPC_VERSION = "2.0";
9
- /**
10
- * A progress token, used to associate progress notifications with the original request.
11
- */
12
- export const ProgressTokenSchema = z.union([z.string(), z.number().int()]);
13
- /**
14
- * An opaque token used to represent a cursor for pagination.
15
- */
16
- export const CursorSchema = z.string();
17
- const BaseRequestParamsSchema = z
18
- .object({
19
- _meta: z.optional(z
20
- .object({
21
- /**
22
- * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
23
- */
24
- progressToken: z.optional(ProgressTokenSchema),
25
- })
26
- .passthrough()),
27
- })
28
- .passthrough();
29
- export const RequestSchema = z.object({
30
- method: z.string(),
31
- params: z.optional(BaseRequestParamsSchema),
32
- });
33
- const BaseNotificationParamsSchema = z
34
- .object({
35
- /**
36
- * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
37
- */
38
- _meta: z.optional(z.object({}).passthrough()),
39
- })
40
- .passthrough();
41
- export const NotificationSchema = z.object({
42
- method: z.string(),
43
- params: z.optional(BaseNotificationParamsSchema),
44
- });
45
- export const ResultSchema = z
46
- .object({
47
- /**
48
- * This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
49
- */
50
- _meta: z.optional(z.object({}).passthrough()),
51
- })
52
- .passthrough();
53
- /**
54
- * A uniquely identifying ID for a request in JSON-RPC.
55
- */
56
- export const RequestIdSchema = z.union([z.string(), z.number().int()]);
57
- /**
58
- * A request that expects a response.
59
- */
60
- export const JSONRPCRequestSchema = z
61
- .object({
62
- jsonrpc: z.literal(JSONRPC_VERSION),
63
- id: RequestIdSchema,
64
- })
65
- .merge(RequestSchema)
66
- .strict();
67
- /**
68
- * A notification which does not expect a response.
69
- */
70
- export const JSONRPCNotificationSchema = z
71
- .object({
72
- jsonrpc: z.literal(JSONRPC_VERSION),
73
- })
74
- .merge(NotificationSchema)
75
- .strict();
76
- /**
77
- * A successful (non-error) response to a request.
78
- */
79
- export const JSONRPCResponseSchema = z
80
- .object({
81
- jsonrpc: z.literal(JSONRPC_VERSION),
82
- id: RequestIdSchema,
83
- result: ResultSchema,
84
- })
85
- .strict();
86
- /**
87
- * An incomplete set of error codes that may appear in JSON-RPC responses.
88
- */
89
- export var ErrorCode;
90
- (function (ErrorCode) {
91
- // SDK error codes
92
- ErrorCode[ErrorCode["ConnectionClosed"] = -1] = "ConnectionClosed";
93
- ErrorCode[ErrorCode["RequestTimeout"] = -2] = "RequestTimeout";
94
- // Standard JSON-RPC error codes
95
- ErrorCode[ErrorCode["ParseError"] = -32700] = "ParseError";
96
- ErrorCode[ErrorCode["InvalidRequest"] = -32600] = "InvalidRequest";
97
- ErrorCode[ErrorCode["MethodNotFound"] = -32601] = "MethodNotFound";
98
- ErrorCode[ErrorCode["InvalidParams"] = -32602] = "InvalidParams";
99
- ErrorCode[ErrorCode["InternalError"] = -32603] = "InternalError";
100
- })(ErrorCode || (ErrorCode = {}));
101
- /**
102
- * A response to a request that indicates an error occurred.
103
- */
104
- export const JSONRPCErrorSchema = z
105
- .object({
106
- jsonrpc: z.literal(JSONRPC_VERSION),
107
- id: RequestIdSchema,
108
- error: z.object({
109
- /**
110
- * The error type that occurred.
111
- */
112
- code: z.number().int(),
113
- /**
114
- * A short description of the error. The message SHOULD be limited to a concise single sentence.
115
- */
116
- message: z.string(),
117
- /**
118
- * Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.).
119
- */
120
- data: z.optional(z.unknown()),
121
- }),
122
- })
123
- .strict();
124
- export const JSONRPCMessageSchema = z.union([
125
- JSONRPCRequestSchema,
126
- JSONRPCNotificationSchema,
127
- JSONRPCResponseSchema,
128
- JSONRPCErrorSchema,
129
- ]);
130
- /* Empty result */
131
- /**
132
- * A response that indicates success but carries no data.
133
- */
134
- export const EmptyResultSchema = ResultSchema.strict();
135
- /* Cancellation */
136
- /**
137
- * This notification can be sent by either side to indicate that it is cancelling a previously-issued request.
138
- *
139
- * The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.
140
- *
141
- * This notification indicates that the result will be unused, so any associated processing SHOULD cease.
142
- *
143
- * A client MUST NOT attempt to cancel its `initialize` request.
144
- */
145
- export const CancelledNotificationSchema = NotificationSchema.extend({
146
- method: z.literal("notifications/cancelled"),
147
- params: BaseNotificationParamsSchema.extend({
148
- /**
149
- * The ID of the request to cancel.
150
- *
151
- * This MUST correspond to the ID of a request previously issued in the same direction.
152
- */
153
- requestId: RequestIdSchema,
154
- /**
155
- * An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
156
- */
157
- reason: z.string().optional(),
158
- }),
159
- });
160
- /* Initialization */
161
- /**
162
- * Describes the name and version of an MCP implementation.
163
- */
164
- export const ImplementationSchema = z
165
- .object({
166
- name: z.string(),
167
- version: z.string(),
168
- })
169
- .passthrough();
170
- /**
171
- * Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities.
172
- */
173
- export const ClientCapabilitiesSchema = z
174
- .object({
175
- /**
176
- * Experimental, non-standard capabilities that the client supports.
177
- */
178
- experimental: z.optional(z.object({}).passthrough()),
179
- /**
180
- * Present if the client supports sampling from an LLM.
181
- */
182
- sampling: z.optional(z.object({}).passthrough()),
183
- /**
184
- * Present if the client supports listing roots.
185
- */
186
- roots: z.optional(z
187
- .object({
188
- /**
189
- * Whether the client supports issuing notifications for changes to the roots list.
190
- */
191
- listChanged: z.optional(z.boolean()),
192
- })
193
- .passthrough()),
194
- })
195
- .passthrough();
196
- /**
197
- * This request is sent from the client to the server when it first connects, asking it to begin initialization.
198
- */
199
- export const InitializeRequestSchema = RequestSchema.extend({
200
- method: z.literal("initialize"),
201
- params: BaseRequestParamsSchema.extend({
202
- /**
203
- * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.
204
- */
205
- protocolVersion: z.string(),
206
- capabilities: ClientCapabilitiesSchema,
207
- clientInfo: ImplementationSchema,
208
- }),
209
- });
210
- /**
211
- * Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.
212
- */
213
- export const ServerCapabilitiesSchema = z
214
- .object({
215
- /**
216
- * Experimental, non-standard capabilities that the server supports.
217
- */
218
- experimental: z.optional(z.object({}).passthrough()),
219
- /**
220
- * Present if the server supports sending log messages to the client.
221
- */
222
- logging: z.optional(z.object({}).passthrough()),
223
- /**
224
- * Present if the server offers any prompt templates.
225
- */
226
- prompts: z.optional(z
227
- .object({
228
- /**
229
- * Whether this server supports issuing notifications for changes to the prompt list.
230
- */
231
- listChanged: z.optional(z.boolean()),
232
- })
233
- .passthrough()),
234
- /**
235
- * Present if the server offers any resources to read.
236
- */
237
- resources: z.optional(z
238
- .object({
239
- /**
240
- * Whether this server supports clients subscribing to resource updates.
241
- */
242
- subscribe: z.optional(z.boolean()),
243
- /**
244
- * Whether this server supports issuing notifications for changes to the resource list.
245
- */
246
- listChanged: z.optional(z.boolean()),
247
- })
248
- .passthrough()),
249
- /**
250
- * Present if the server offers any tools to call.
251
- */
252
- tools: z.optional(z
253
- .object({
254
- /**
255
- * Whether this server supports issuing notifications for changes to the tool list.
256
- */
257
- listChanged: z.optional(z.boolean()),
258
- })
259
- .passthrough()),
260
- })
261
- .passthrough();
262
- /**
263
- * After receiving an initialize request from the client, the server sends this response.
264
- */
265
- export const InitializeResultSchema = ResultSchema.extend({
266
- /**
267
- * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect.
268
- */
269
- protocolVersion: z.string(),
270
- capabilities: ServerCapabilitiesSchema,
271
- serverInfo: ImplementationSchema,
272
- });
273
- /**
274
- * This notification is sent from the client to the server after initialization has finished.
275
- */
276
- export const InitializedNotificationSchema = NotificationSchema.extend({
277
- method: z.literal("notifications/initialized"),
278
- });
279
- /* Ping */
280
- /**
281
- * A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected.
282
- */
283
- export const PingRequestSchema = RequestSchema.extend({
284
- method: z.literal("ping"),
285
- });
286
- /* Progress notifications */
287
- export const ProgressSchema = z
288
- .object({
289
- /**
290
- * The progress thus far. This should increase every time progress is made, even if the total is unknown.
291
- */
292
- progress: z.number(),
293
- /**
294
- * Total number of items to process (or total progress required), if known.
295
- */
296
- total: z.optional(z.number()),
297
- })
298
- .passthrough();
299
- /**
300
- * An out-of-band notification used to inform the receiver of a progress update for a long-running request.
301
- */
302
- export const ProgressNotificationSchema = NotificationSchema.extend({
303
- method: z.literal("notifications/progress"),
304
- params: BaseNotificationParamsSchema.merge(ProgressSchema).extend({
305
- /**
306
- * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
307
- */
308
- progressToken: ProgressTokenSchema,
309
- }),
310
- });
311
- /* Pagination */
312
- export const PaginatedRequestSchema = RequestSchema.extend({
313
- params: BaseRequestParamsSchema.extend({
314
- /**
315
- * An opaque token representing the current pagination position.
316
- * If provided, the server should return results starting after this cursor.
317
- */
318
- cursor: z.optional(CursorSchema),
319
- }).optional(),
320
- });
321
- export const PaginatedResultSchema = ResultSchema.extend({
322
- /**
323
- * An opaque token representing the pagination position after the last returned result.
324
- * If present, there may be more results available.
325
- */
326
- nextCursor: z.optional(CursorSchema),
327
- });
328
- /* Resources */
329
- /**
330
- * The contents of a specific resource or sub-resource.
331
- */
332
- export const ResourceContentsSchema = z
333
- .object({
334
- /**
335
- * The URI of this resource.
336
- */
337
- uri: z.string(),
338
- /**
339
- * The MIME type of this resource, if known.
340
- */
341
- mimeType: z.optional(z.string()),
342
- })
343
- .passthrough();
344
- export const TextResourceContentsSchema = ResourceContentsSchema.extend({
345
- /**
346
- * The text of the item. This must only be set if the item can actually be represented as text (not binary data).
347
- */
348
- text: z.string(),
349
- });
350
- export const BlobResourceContentsSchema = ResourceContentsSchema.extend({
351
- /**
352
- * A base64-encoded string representing the binary data of the item.
353
- */
354
- blob: z.string().base64(),
355
- });
356
- /**
357
- * A known resource that the server is capable of reading.
358
- */
359
- export const ResourceSchema = z
360
- .object({
361
- /**
362
- * The URI of this resource.
363
- */
364
- uri: z.string(),
365
- /**
366
- * A human-readable name for this resource.
367
- *
368
- * This can be used by clients to populate UI elements.
369
- */
370
- name: z.string(),
371
- /**
372
- * A description of what this resource represents.
373
- *
374
- * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
375
- */
376
- description: z.optional(z.string()),
377
- /**
378
- * The MIME type of this resource, if known.
379
- */
380
- mimeType: z.optional(z.string()),
381
- })
382
- .passthrough();
383
- /**
384
- * A template description for resources available on the server.
385
- */
386
- export const ResourceTemplateSchema = z
387
- .object({
388
- /**
389
- * A URI template (according to RFC 6570) that can be used to construct resource URIs.
390
- */
391
- uriTemplate: z.string(),
392
- /**
393
- * A human-readable name for the type of resource this template refers to.
394
- *
395
- * This can be used by clients to populate UI elements.
396
- */
397
- name: z.string(),
398
- /**
399
- * A description of what this template is for.
400
- *
401
- * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
402
- */
403
- description: z.optional(z.string()),
404
- /**
405
- * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type.
406
- */
407
- mimeType: z.optional(z.string()),
408
- })
409
- .passthrough();
410
- /**
411
- * Sent from the client to request a list of resources the server has.
412
- */
413
- export const ListResourcesRequestSchema = PaginatedRequestSchema.extend({
414
- method: z.literal("resources/list"),
415
- });
416
- /**
417
- * The server's response to a resources/list request from the client.
418
- */
419
- export const ListResourcesResultSchema = PaginatedResultSchema.extend({
420
- resources: z.array(ResourceSchema),
421
- });
422
- /**
423
- * Sent from the client to request a list of resource templates the server has.
424
- */
425
- export const ListResourceTemplatesRequestSchema = PaginatedRequestSchema.extend({
426
- method: z.literal("resources/templates/list"),
427
- });
428
- /**
429
- * The server's response to a resources/templates/list request from the client.
430
- */
431
- export const ListResourceTemplatesResultSchema = PaginatedResultSchema.extend({
432
- resourceTemplates: z.array(ResourceTemplateSchema),
433
- });
434
- /**
435
- * Sent from the client to the server, to read a specific resource URI.
436
- */
437
- export const ReadResourceRequestSchema = RequestSchema.extend({
438
- method: z.literal("resources/read"),
439
- params: BaseRequestParamsSchema.extend({
440
- /**
441
- * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it.
442
- */
443
- uri: z.string(),
444
- }),
445
- });
446
- /**
447
- * The server's response to a resources/read request from the client.
448
- */
449
- export const ReadResourceResultSchema = ResultSchema.extend({
450
- contents: z.array(z.union([TextResourceContentsSchema, BlobResourceContentsSchema])),
451
- });
452
- /**
453
- * An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client.
454
- */
455
- export const ResourceListChangedNotificationSchema = NotificationSchema.extend({
456
- method: z.literal("notifications/resources/list_changed"),
457
- });
458
- /**
459
- * Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.
460
- */
461
- export const SubscribeRequestSchema = RequestSchema.extend({
462
- method: z.literal("resources/subscribe"),
463
- params: BaseRequestParamsSchema.extend({
464
- /**
465
- * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it.
466
- */
467
- uri: z.string(),
468
- }),
469
- });
470
- /**
471
- * Sent from the client to request cancellation of resources/updated notifications from the server. This should follow a previous resources/subscribe request.
472
- */
473
- export const UnsubscribeRequestSchema = RequestSchema.extend({
474
- method: z.literal("resources/unsubscribe"),
475
- params: BaseRequestParamsSchema.extend({
476
- /**
477
- * The URI of the resource to unsubscribe from.
478
- */
479
- uri: z.string(),
480
- }),
481
- });
482
- /**
483
- * A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request.
484
- */
485
- export const ResourceUpdatedNotificationSchema = NotificationSchema.extend({
486
- method: z.literal("notifications/resources/updated"),
487
- params: BaseNotificationParamsSchema.extend({
488
- /**
489
- * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.
490
- */
491
- uri: z.string(),
492
- }),
493
- });
494
- /* Prompts */
495
- /**
496
- * Describes an argument that a prompt can accept.
497
- */
498
- export const PromptArgumentSchema = z
499
- .object({
500
- /**
501
- * The name of the argument.
502
- */
503
- name: z.string(),
504
- /**
505
- * A human-readable description of the argument.
506
- */
507
- description: z.optional(z.string()),
508
- /**
509
- * Whether this argument must be provided.
510
- */
511
- required: z.optional(z.boolean()),
512
- })
513
- .passthrough();
514
- /**
515
- * A prompt or prompt template that the server offers.
516
- */
517
- export const PromptSchema = z
518
- .object({
519
- /**
520
- * The name of the prompt or prompt template.
521
- */
522
- name: z.string(),
523
- /**
524
- * An optional description of what this prompt provides
525
- */
526
- description: z.optional(z.string()),
527
- /**
528
- * A list of arguments to use for templating the prompt.
529
- */
530
- arguments: z.optional(z.array(PromptArgumentSchema)),
531
- })
532
- .passthrough();
533
- /**
534
- * Sent from the client to request a list of prompts and prompt templates the server has.
535
- */
536
- export const ListPromptsRequestSchema = PaginatedRequestSchema.extend({
537
- method: z.literal("prompts/list"),
538
- });
539
- /**
540
- * The server's response to a prompts/list request from the client.
541
- */
542
- export const ListPromptsResultSchema = PaginatedResultSchema.extend({
543
- prompts: z.array(PromptSchema),
544
- });
545
- /**
546
- * Used by the client to get a prompt provided by the server.
547
- */
548
- export const GetPromptRequestSchema = RequestSchema.extend({
549
- method: z.literal("prompts/get"),
550
- params: BaseRequestParamsSchema.extend({
551
- /**
552
- * The name of the prompt or prompt template.
553
- */
554
- name: z.string(),
555
- /**
556
- * Arguments to use for templating the prompt.
557
- */
558
- arguments: z.optional(z.record(z.string())),
559
- }),
560
- });
561
- /**
562
- * Text provided to or from an LLM.
563
- */
564
- export const TextContentSchema = z
565
- .object({
566
- type: z.literal("text"),
567
- /**
568
- * The text content of the message.
569
- */
570
- text: z.string(),
571
- })
572
- .passthrough();
573
- /**
574
- * An image provided to or from an LLM.
575
- */
576
- export const ImageContentSchema = z
577
- .object({
578
- type: z.literal("image"),
579
- /**
580
- * The base64-encoded image data.
581
- */
582
- data: z.string().base64(),
583
- /**
584
- * The MIME type of the image. Different providers may support different image types.
585
- */
586
- mimeType: z.string(),
587
- })
588
- .passthrough();
589
- /**
590
- * The contents of a resource, embedded into a prompt or tool call result.
591
- */
592
- export const EmbeddedResourceSchema = z
593
- .object({
594
- type: z.literal("resource"),
595
- resource: z.union([TextResourceContentsSchema, BlobResourceContentsSchema]),
596
- })
597
- .passthrough();
598
- /**
599
- * Describes a message returned as part of a prompt.
600
- */
601
- export const PromptMessageSchema = z
602
- .object({
603
- role: z.enum(["user", "assistant"]),
604
- content: z.union([
605
- TextContentSchema,
606
- ImageContentSchema,
607
- EmbeddedResourceSchema,
608
- ]),
609
- })
610
- .passthrough();
611
- /**
612
- * The server's response to a prompts/get request from the client.
613
- */
614
- export const GetPromptResultSchema = ResultSchema.extend({
615
- /**
616
- * An optional description for the prompt.
617
- */
618
- description: z.optional(z.string()),
619
- messages: z.array(PromptMessageSchema),
620
- });
621
- /**
622
- * An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client.
623
- */
624
- export const PromptListChangedNotificationSchema = NotificationSchema.extend({
625
- method: z.literal("notifications/prompts/list_changed"),
626
- });
627
- /* Tools */
628
- /**
629
- * Definition for a tool the client can call.
630
- */
631
- export const ToolSchema = z
632
- .object({
633
- /**
634
- * The name of the tool.
635
- */
636
- name: z.string(),
637
- /**
638
- * A human-readable description of the tool.
639
- */
640
- description: z.optional(z.string()),
641
- /**
642
- * A JSON Schema object defining the expected parameters for the tool.
643
- */
644
- inputSchema: z
645
- .object({
646
- type: z.literal("object"),
647
- properties: z.optional(z.object({}).passthrough()),
648
- })
649
- .passthrough(),
650
- })
651
- .passthrough();
652
- /**
653
- * Sent from the client to request a list of tools the server has.
654
- */
655
- export const ListToolsRequestSchema = PaginatedRequestSchema.extend({
656
- method: z.literal("tools/list"),
657
- });
658
- /**
659
- * The server's response to a tools/list request from the client.
660
- */
661
- export const ListToolsResultSchema = PaginatedResultSchema.extend({
662
- tools: z.array(ToolSchema),
663
- });
664
- /**
665
- * The server's response to a tool call.
666
- */
667
- export const CallToolResultSchema = ResultSchema.extend({
668
- content: z.array(z.union([TextContentSchema, ImageContentSchema, EmbeddedResourceSchema])),
669
- isError: z.boolean().default(false).optional(),
670
- });
671
- /**
672
- * CallToolResultSchema extended with backwards compatibility to protocol version 2024-10-07.
673
- */
674
- export const CompatibilityCallToolResultSchema = CallToolResultSchema.or(ResultSchema.extend({
675
- toolResult: z.unknown(),
676
- }));
677
- /**
678
- * Used by the client to invoke a tool provided by the server.
679
- */
680
- export const CallToolRequestSchema = RequestSchema.extend({
681
- method: z.literal("tools/call"),
682
- params: BaseRequestParamsSchema.extend({
683
- name: z.string(),
684
- arguments: z.optional(z.record(z.unknown())),
685
- }),
686
- });
687
- /**
688
- * An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client.
689
- */
690
- export const ToolListChangedNotificationSchema = NotificationSchema.extend({
691
- method: z.literal("notifications/tools/list_changed"),
692
- });
693
- /* Logging */
694
- /**
695
- * The severity of a log message.
696
- */
697
- export const LoggingLevelSchema = z.enum([
698
- "debug",
699
- "info",
700
- "notice",
701
- "warning",
702
- "error",
703
- "critical",
704
- "alert",
705
- "emergency",
706
- ]);
707
- /**
708
- * A request from the client to the server, to enable or adjust logging.
709
- */
710
- export const SetLevelRequestSchema = RequestSchema.extend({
711
- method: z.literal("logging/setLevel"),
712
- params: BaseRequestParamsSchema.extend({
713
- /**
714
- * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
715
- */
716
- level: LoggingLevelSchema,
717
- }),
718
- });
719
- /**
720
- * Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.
721
- */
722
- export const LoggingMessageNotificationSchema = NotificationSchema.extend({
723
- method: z.literal("notifications/message"),
724
- params: BaseNotificationParamsSchema.extend({
725
- /**
726
- * The severity of this log message.
727
- */
728
- level: LoggingLevelSchema,
729
- /**
730
- * An optional name of the logger issuing this message.
731
- */
732
- logger: z.optional(z.string()),
733
- /**
734
- * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
735
- */
736
- data: z.unknown(),
737
- }),
738
- });
739
- /* Sampling */
740
- /**
741
- * Hints to use for model selection.
742
- */
743
- export const ModelHintSchema = z
744
- .object({
745
- /**
746
- * A hint for a model name.
747
- */
748
- name: z.string().optional(),
749
- })
750
- .passthrough();
751
- /**
752
- * The server's preferences for model selection, requested of the client during sampling.
753
- */
754
- export const ModelPreferencesSchema = z
755
- .object({
756
- /**
757
- * Optional hints to use for model selection.
758
- */
759
- hints: z.optional(z.array(ModelHintSchema)),
760
- /**
761
- * How much to prioritize cost when selecting a model.
762
- */
763
- costPriority: z.optional(z.number().min(0).max(1)),
764
- /**
765
- * How much to prioritize sampling speed (latency) when selecting a model.
766
- */
767
- speedPriority: z.optional(z.number().min(0).max(1)),
768
- /**
769
- * How much to prioritize intelligence and capabilities when selecting a model.
770
- */
771
- intelligencePriority: z.optional(z.number().min(0).max(1)),
772
- })
773
- .passthrough();
774
- /**
775
- * Describes a message issued to or received from an LLM API.
776
- */
777
- export const SamplingMessageSchema = z
778
- .object({
779
- role: z.enum(["user", "assistant"]),
780
- content: z.union([TextContentSchema, ImageContentSchema]),
781
- })
782
- .passthrough();
783
- /**
784
- * A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.
785
- */
786
- export const CreateMessageRequestSchema = RequestSchema.extend({
787
- method: z.literal("sampling/createMessage"),
788
- params: BaseRequestParamsSchema.extend({
789
- messages: z.array(SamplingMessageSchema),
790
- /**
791
- * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt.
792
- */
793
- systemPrompt: z.optional(z.string()),
794
- /**
795
- * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request.
796
- */
797
- includeContext: z.optional(z.enum(["none", "thisServer", "allServers"])),
798
- temperature: z.optional(z.number()),
799
- /**
800
- * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested.
801
- */
802
- maxTokens: z.number().int(),
803
- stopSequences: z.optional(z.array(z.string())),
804
- /**
805
- * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific.
806
- */
807
- metadata: z.optional(z.object({}).passthrough()),
808
- /**
809
- * The server's preferences for which model to select.
810
- */
811
- modelPreferences: z.optional(ModelPreferencesSchema),
812
- }),
813
- });
814
- /**
815
- * The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it.
816
- */
817
- export const CreateMessageResultSchema = ResultSchema.extend({
818
- /**
819
- * The name of the model that generated the message.
820
- */
821
- model: z.string(),
822
- /**
823
- * The reason why sampling stopped.
824
- */
825
- stopReason: z.optional(z.enum(["endTurn", "stopSequence", "maxTokens"]).or(z.string())),
826
- role: z.enum(["user", "assistant"]),
827
- content: z.discriminatedUnion("type", [
828
- TextContentSchema,
829
- ImageContentSchema,
830
- ]),
831
- });
832
- /* Autocomplete */
833
- /**
834
- * A reference to a resource or resource template definition.
835
- */
836
- export const ResourceReferenceSchema = z
837
- .object({
838
- type: z.literal("ref/resource"),
839
- /**
840
- * The URI or URI template of the resource.
841
- */
842
- uri: z.string(),
843
- })
844
- .passthrough();
845
- /**
846
- * Identifies a prompt.
847
- */
848
- export const PromptReferenceSchema = z
849
- .object({
850
- type: z.literal("ref/prompt"),
851
- /**
852
- * The name of the prompt or prompt template
853
- */
854
- name: z.string(),
855
- })
856
- .passthrough();
857
- /**
858
- * A request from the client to the server, to ask for completion options.
859
- */
860
- export const CompleteRequestSchema = RequestSchema.extend({
861
- method: z.literal("completion/complete"),
862
- params: BaseRequestParamsSchema.extend({
863
- ref: z.union([PromptReferenceSchema, ResourceReferenceSchema]),
864
- /**
865
- * The argument's information
866
- */
867
- argument: z
868
- .object({
869
- /**
870
- * The name of the argument
871
- */
872
- name: z.string(),
873
- /**
874
- * The value of the argument to use for completion matching.
875
- */
876
- value: z.string(),
877
- })
878
- .passthrough(),
879
- }),
880
- });
881
- /**
882
- * The server's response to a completion/complete request
883
- */
884
- export const CompleteResultSchema = ResultSchema.extend({
885
- completion: z
886
- .object({
887
- /**
888
- * An array of completion values. Must not exceed 100 items.
889
- */
890
- values: z.array(z.string()).max(100),
891
- /**
892
- * The total number of completion options available. This can exceed the number of values actually sent in the response.
893
- */
894
- total: z.optional(z.number().int()),
895
- /**
896
- * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.
897
- */
898
- hasMore: z.optional(z.boolean()),
899
- })
900
- .passthrough(),
901
- });
902
- /* Roots */
903
- /**
904
- * Represents a root directory or file that the server can operate on.
905
- */
906
- export const RootSchema = z
907
- .object({
908
- /**
909
- * The URI identifying the root. This *must* start with file:// for now.
910
- */
911
- uri: z.string().startsWith("file://"),
912
- /**
913
- * An optional name for the root.
914
- */
915
- name: z.optional(z.string()),
916
- })
917
- .passthrough();
918
- /**
919
- * Sent from the server to request a list of root URIs from the client.
920
- */
921
- export const ListRootsRequestSchema = RequestSchema.extend({
922
- method: z.literal("roots/list"),
923
- });
924
- /**
925
- * The client's response to a roots/list request from the server.
926
- */
927
- export const ListRootsResultSchema = ResultSchema.extend({
928
- roots: z.array(RootSchema),
929
- });
930
- /**
931
- * A notification from the client to the server, informing it that the list of roots has changed.
932
- */
933
- export const RootsListChangedNotificationSchema = NotificationSchema.extend({
934
- method: z.literal("notifications/roots/list_changed"),
935
- });
936
- /* Client messages */
937
- export const ClientRequestSchema = z.union([
938
- PingRequestSchema,
939
- InitializeRequestSchema,
940
- CompleteRequestSchema,
941
- SetLevelRequestSchema,
942
- GetPromptRequestSchema,
943
- ListPromptsRequestSchema,
944
- ListResourcesRequestSchema,
945
- ListResourceTemplatesRequestSchema,
946
- ReadResourceRequestSchema,
947
- SubscribeRequestSchema,
948
- UnsubscribeRequestSchema,
949
- CallToolRequestSchema,
950
- ListToolsRequestSchema,
951
- ]);
952
- export const ClientNotificationSchema = z.union([
953
- CancelledNotificationSchema,
954
- ProgressNotificationSchema,
955
- InitializedNotificationSchema,
956
- RootsListChangedNotificationSchema,
957
- ]);
958
- export const ClientResultSchema = z.union([
959
- EmptyResultSchema,
960
- CreateMessageResultSchema,
961
- ListRootsResultSchema,
962
- ]);
963
- /* Server messages */
964
- export const ServerRequestSchema = z.union([
965
- PingRequestSchema,
966
- CreateMessageRequestSchema,
967
- ListRootsRequestSchema,
968
- ]);
969
- export const ServerNotificationSchema = z.union([
970
- CancelledNotificationSchema,
971
- ProgressNotificationSchema,
972
- LoggingMessageNotificationSchema,
973
- ResourceUpdatedNotificationSchema,
974
- ResourceListChangedNotificationSchema,
975
- ToolListChangedNotificationSchema,
976
- PromptListChangedNotificationSchema,
977
- ]);
978
- export const ServerResultSchema = z.union([
979
- EmptyResultSchema,
980
- InitializeResultSchema,
981
- CompleteResultSchema,
982
- GetPromptResultSchema,
983
- ListPromptsResultSchema,
984
- ListResourcesResultSchema,
985
- ListResourceTemplatesResultSchema,
986
- ReadResourceResultSchema,
987
- CallToolResultSchema,
988
- ListToolsResultSchema,
989
- ]);
990
- export class McpError extends Error {
991
- constructor(code, message, data) {
992
- super(`MCP error ${code}: ${message}`);
993
- this.code = code;
994
- this.data = data;
995
- }
996
- }
997
- //# sourceMappingURL=types.js.map