@rho-workspace/rho 0.5.2 → 0.5.3

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 (2279) hide show
  1. package/README.md +75 -0
  2. package/dist/contract.generated.d.ts +29 -0
  3. package/dist/contracts/owners.generated.js +4 -4
  4. package/dist/conversation-presentation.d.ts +8 -0
  5. package/dist/conversation-presentation.js +4 -0
  6. package/dist/conversations.d.ts +26 -2
  7. package/dist/conversations.js +34 -19
  8. package/dist/protocol.js +4 -4
  9. package/dist/web/.vite/manifest.json +52 -52
  10. package/dist/web/assets/{choices-8Cuan2MH.js → choices-B-y2OYvE.js} +1 -1
  11. package/dist/web/assets/{console-C1V_iIlC.js → console-e1P5qYQ5.js} +4 -4
  12. package/dist/web/assets/{dist-DGgoMtcq.js → dist-CBM2oq6g.js} +1 -1
  13. package/dist/web/assets/{dist-B6cGa5_k.js → dist-CH56yNDn.js} +1 -1
  14. package/dist/web/assets/{dist-Dj04i6dK.js → dist-DEorbOW0.js} +1 -1
  15. package/dist/web/assets/{dist-CPEQ_0xN.js → dist-Dd3iAGFy.js} +1 -1
  16. package/dist/web/assets/{explore-in-C24K607w.js → explore-in-muWXOGOY.js} +1 -1
  17. package/dist/web/assets/{graph-PaGq0Eym.js → graph-CK-df5lh.js} +2 -2
  18. package/dist/web/assets/{index-D7VVkYz7.js → index-BYuKpyoi.js} +73 -73
  19. package/dist/web/assets/{notes-meaning-vj0uvMCW.js → notes-meaning-B3HFbh84.js} +1 -1
  20. package/dist/web/assets/overview-D1Ev2OC_.js +6 -0
  21. package/dist/web/assets/{preview-DSv_YmXr.js → preview-HbmQKUGY.js} +1 -1
  22. package/dist/web/assets/{review-BgX0iCTR.js → review-BVh9jWMB.js} +1 -1
  23. package/dist/web/assets/{skills-Bclq5FeE.js → skills-DPaEYkln.js} +1 -1
  24. package/dist/web/assets/{skills-work-DiEI9Pxw.js → skills-work-dvjfy_tu.js} +1 -1
  25. package/dist/web/assets/studio-process-BYm8mjRJ.js +2 -0
  26. package/dist/web/assets/{timeline-events-DE1UDeeu.js → timeline-events-CDZ7wiJX.js} +1 -1
  27. package/dist/web/assets/{work-turns-DBPS2WO-.js → work-turns-BeCt303c.js} +1 -1
  28. package/dist/web/assets/workspace-d5Hw_ClZ.js +5 -0
  29. package/dist/web/composition.json +53 -53
  30. package/dist/web/index.html +1 -1
  31. package/dist/web/renderer.json +1 -1
  32. package/docs/HEADLESS.md +12 -3
  33. package/node_modules/@rho-workspace/plugin-agent/README.md +13 -5
  34. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.d.ts +4 -0
  35. package/node_modules/@rho-workspace/plugin-agent/dist/acp-conversation.js +9 -1
  36. package/node_modules/@rho-workspace/plugin-agent/dist/claude-acp.js +1 -1
  37. package/node_modules/@rho-workspace/plugin-agent/dist/claude-cli.js +1 -1
  38. package/node_modules/@rho-workspace/plugin-agent/dist/conversation.d.ts +1 -1
  39. package/node_modules/@rho-workspace/plugin-agent/dist/mcp.js +20 -11
  40. package/node_modules/@rho-workspace/plugin-agent/package.json +1 -1
  41. package/package.json +2 -2
  42. package/protocol/index.json +23 -23
  43. package/protocol/operations/conversation.configure.json +6 -0
  44. package/protocol/operations/conversation.decide.json +10 -0
  45. package/protocol/operations/conversation.list.json +6 -0
  46. package/protocol/operations/conversation.permission.json +10 -0
  47. package/protocol/operations/conversation.read.json +10 -0
  48. package/protocol/operations/conversation.restore.json +6 -0
  49. package/protocol/operations/conversation.send.json +15 -1
  50. package/protocol/operations/conversation.start.json +10 -0
  51. package/protocol/operations/conversation.stop.json +10 -0
  52. package/protocol/operations/conversation.trash.json +6 -0
  53. package/protocol/operations/observation.snapshot.json +6 -0
  54. package/vendor/composition.json +79 -69
  55. package/vendor/rho-workspace-plugin-agent-0.4.27.tgz +0 -0
  56. package/dist/web/assets/overview-C75CfbDK.js +0 -6
  57. package/dist/web/assets/studio-process-QG4DSVgn.js +0 -2
  58. package/dist/web/assets/workspace-D7bUaFrp.js +0 -5
  59. package/node_modules/@agentclientprotocol/claude-agent-acp/README.md +0 -126
  60. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-agent.d.ts +0 -1982
  61. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-agent.d.ts.map +0 -1
  62. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-subagents.d.ts +0 -99
  63. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/acp-subagents.d.ts.map +0 -1
  64. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/air-extension.d.ts +0 -111
  65. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/air-extension.d.ts.map +0 -1
  66. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/async-tasks.d.ts +0 -228
  67. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/async-tasks.d.ts.map +0 -1
  68. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/auth-status.d.ts +0 -140
  69. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/auth-status.d.ts.map +0 -1
  70. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/clear-context-coordinator.d.ts +0 -64
  71. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/clear-context-coordinator.d.ts.map +0 -1
  72. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/client-system-prompt.d.ts +0 -41
  73. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/client-system-prompt.d.ts.map +0 -1
  74. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction-meta.d.ts +0 -19
  75. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction-meta.d.ts.map +0 -1
  76. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction.d.ts +0 -135
  77. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/context-compaction.d.ts.map +0 -1
  78. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/diff.d.ts +0 -120
  79. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/diff.d.ts.map +0 -1
  80. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/elicitation.d.ts +0 -138
  81. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/elicitation.d.ts.map +0 -1
  82. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/exit-plan.d.ts +0 -62
  83. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/exit-plan.d.ts.map +0 -1
  84. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/file-change-audit.d.ts +0 -64
  85. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/file-change-audit.d.ts.map +0 -1
  86. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/fork-session.d.ts +0 -15
  87. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/fork-session.d.ts.map +0 -1
  88. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/gateway-models.d.ts +0 -62
  89. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/gateway-models.d.ts.map +0 -1
  90. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/goal-extension.d.ts +0 -36
  91. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/goal-extension.d.ts.map +0 -1
  92. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/hide-claude-auth.d.ts +0 -149
  93. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/hide-claude-auth.d.ts.map +0 -1
  94. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/index.d.ts +0 -3
  95. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/index.d.ts.map +0 -1
  96. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/lib.d.ts +0 -7
  97. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/lib.d.ts.map +0 -1
  98. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/managed-policy.d.ts +0 -19
  99. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/managed-policy.d.ts.map +0 -1
  100. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/mcp-command.d.ts +0 -51
  101. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/mcp-command.d.ts.map +0 -1
  102. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/native-subagents.d.ts +0 -584
  103. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/native-subagents.d.ts.map +0 -1
  104. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/paths.d.ts +0 -3
  105. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/paths.d.ts.map +0 -1
  106. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/effects.d.ts +0 -19
  107. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/effects.d.ts.map +0 -1
  108. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/modes.d.ts +0 -10
  109. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/modes.d.ts.map +0 -1
  110. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/normalization.d.ts +0 -6
  111. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/normalization.d.ts.map +0 -1
  112. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/filesystem.d.ts +0 -9
  113. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/filesystem.d.ts.map +0 -1
  114. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shared.d.ts +0 -47
  115. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shared.d.ts.map +0 -1
  116. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shell.d.ts +0 -5
  117. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/shell.d.ts.map +0 -1
  118. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/tools.d.ts +0 -11
  119. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options/tools.d.ts.map +0 -1
  120. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options.d.ts +0 -5
  121. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/options.d.ts.map +0 -1
  122. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/presentation.d.ts +0 -42
  123. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/presentation.d.ts.map +0 -1
  124. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/response.d.ts +0 -11
  125. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/permissions/response.d.ts.map +0 -1
  126. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/prompt-suggestions.d.ts +0 -37
  127. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/prompt-suggestions.d.ts.map +0 -1
  128. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/resumed-session.d.ts +0 -40
  129. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/resumed-session.d.ts.map +0 -1
  130. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/serve.d.ts +0 -31
  131. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/serve.d.ts.map +0 -1
  132. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-config-ids.d.ts +0 -6
  133. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-config-ids.d.ts.map +0 -1
  134. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-effort.d.ts +0 -19
  135. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-effort.d.ts.map +0 -1
  136. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-failure-extension.d.ts +0 -97
  137. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-failure-extension.d.ts.map +0 -1
  138. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/activity.d.ts +0 -60
  139. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/activity.d.ts.map +0 -1
  140. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/archive-title.d.ts +0 -52
  141. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/archive-title.d.ts.map +0 -1
  142. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/background-tasks.d.ts +0 -69
  143. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/background-tasks.d.ts.map +0 -1
  144. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/connection.d.ts +0 -162
  145. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/connection.d.ts.map +0 -1
  146. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/dir-listing.d.ts +0 -30
  147. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/dir-listing.d.ts.map +0 -1
  148. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/explicit-title.d.ts +0 -34
  149. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/explicit-title.d.ts.map +0 -1
  150. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/first-prompt.d.ts +0 -38
  151. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/first-prompt.d.ts.map +0 -1
  152. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/list-subscriptions.d.ts +0 -229
  153. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/list-subscriptions.d.ts.map +0 -1
  154. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/live-registry.d.ts +0 -72
  155. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/live-registry.d.ts.map +0 -1
  156. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/project-dirs.d.ts +0 -45
  157. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/project-dirs.d.ts.map +0 -1
  158. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/service.d.ts +0 -181
  159. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/service.d.ts.map +0 -1
  160. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/session-index.d.ts +0 -247
  161. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/session-index.d.ts.map +0 -1
  162. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/session-info.d.ts +0 -16
  163. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/session-info.d.ts.map +0 -1
  164. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/transcript-scan.d.ts +0 -173
  165. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/transcript-scan.d.ts.map +0 -1
  166. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/worktrees.d.ts +0 -31
  167. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-index/worktrees.d.ts.map +0 -1
  168. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-mode.d.ts +0 -90
  169. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-mode.d.ts.map +0 -1
  170. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-model.d.ts +0 -96
  171. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-model.d.ts.map +0 -1
  172. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-notices.d.ts +0 -41
  173. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-notices.d.ts.map +0 -1
  174. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-timing.d.ts +0 -15
  175. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-timing.d.ts.map +0 -1
  176. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-titles.d.ts +0 -126
  177. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-titles.d.ts.map +0 -1
  178. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-ultracode.d.ts +0 -51
  179. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/session-ultracode.d.ts.map +0 -1
  180. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/settings.d.ts +0 -80
  181. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/settings.d.ts.map +0 -1
  182. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/subagent-history.d.ts +0 -86
  183. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/subagent-history.d.ts.map +0 -1
  184. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/subagent-replay.d.ts +0 -186
  185. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/subagent-replay.d.ts.map +0 -1
  186. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/task-notifications.d.ts +0 -30
  187. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/task-notifications.d.ts.map +0 -1
  188. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/background.d.ts +0 -32
  189. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/background.d.ts.map +0 -1
  190. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/changed-meta-filter.d.ts +0 -27
  191. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/changed-meta-filter.d.ts.map +0 -1
  192. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/client-capabilities.d.ts +0 -69
  193. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/client-capabilities.d.ts.map +0 -1
  194. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/content.d.ts +0 -59
  195. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/content.d.ts.map +0 -1
  196. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/facts.d.ts +0 -123
  197. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/facts.d.ts.map +0 -1
  198. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/field-tracker.d.ts +0 -58
  199. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/field-tracker.d.ts.map +0 -1
  200. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/renderer.d.ts +0 -294
  201. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/renderer.d.ts.map +0 -1
  202. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/agent.d.ts +0 -7
  203. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/agent.d.ts.map +0 -1
  204. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/bash.d.ts +0 -16
  205. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/bash.d.ts.map +0 -1
  206. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/compaction.d.ts +0 -24
  207. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/compaction.d.ts.map +0 -1
  208. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/file-edit.d.ts +0 -46
  209. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/file-edit.d.ts.map +0 -1
  210. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/index.d.ts +0 -4
  211. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/index.d.ts.map +0 -1
  212. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/interaction.d.ts +0 -86
  213. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/interaction.d.ts.map +0 -1
  214. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/read.d.ts +0 -7
  215. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/read.d.ts.map +0 -1
  216. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/search.d.ts +0 -16
  217. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/search.d.ts.map +0 -1
  218. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/web.d.ts +0 -11
  219. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-calls/reporters/web.d.ts.map +0 -1
  220. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-result-meta.d.ts +0 -15
  221. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tool-result-meta.d.ts.map +0 -1
  222. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tools.d.ts +0 -93
  223. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/tools.d.ts.map +0 -1
  224. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/turn-events.d.ts +0 -97
  225. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/turn-events.d.ts.map +0 -1
  226. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/usage-markdown.d.ts +0 -9
  227. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/usage-markdown.d.ts.map +0 -1
  228. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/utils.d.ts +0 -59
  229. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/utils.d.ts.map +0 -1
  230. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/agent.d.ts +0 -13
  231. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/agent.d.ts.map +0 -1
  232. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/initialize.d.ts +0 -21
  233. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/initialize.d.ts.map +0 -1
  234. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/permission.d.ts +0 -25
  235. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/permission.d.ts.map +0 -1
  236. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/prompt.d.ts +0 -54
  237. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/prompt.d.ts.map +0 -1
  238. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/session-update.d.ts +0 -32
  239. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/session-update.d.ts.map +0 -1
  240. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/session.d.ts +0 -39
  241. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/session.d.ts.map +0 -1
  242. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/terminal.d.ts +0 -42
  243. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/terminal.d.ts.map +0 -1
  244. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/tool-call-meta.d.ts +0 -53
  245. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/tool-call-meta.d.ts.map +0 -1
  246. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/tool-call.d.ts +0 -38
  247. package/node_modules/@agentclientprotocol/claude-agent-acp/dist/v2/tool-call.d.ts.map +0 -1
  248. package/node_modules/@agentclientprotocol/codex-acp/README.md +0 -109
  249. package/node_modules/@agentclientprotocol/sdk/MIGRATION_STABLE_UNSTABLE.md +0 -321
  250. package/node_modules/@agentclientprotocol/sdk/README.md +0 -99
  251. package/node_modules/@agentclientprotocol/sdk/dist/core/app-handlers.js.map +0 -1
  252. package/node_modules/@agentclientprotocol/sdk/dist/core/jsonrpc.js.map +0 -1
  253. package/node_modules/@agentclientprotocol/sdk/dist/core/line-buffer.js.map +0 -1
  254. package/node_modules/@agentclientprotocol/sdk/dist/core/schema-deserialize.js.map +0 -1
  255. package/node_modules/@agentclientprotocol/sdk/dist/core/stream-limits.js.map +0 -1
  256. package/node_modules/@agentclientprotocol/sdk/dist/core/stream.js.map +0 -1
  257. package/node_modules/@agentclientprotocol/sdk/dist/nes/acp.js.map +0 -1
  258. package/node_modules/@agentclientprotocol/sdk/dist/nes/schema/types.gen.js.map +0 -1
  259. package/node_modules/@agentclientprotocol/sdk/dist/nes/schema/zod.gen.js.map +0 -1
  260. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.js.map +0 -1
  261. package/node_modules/@agentclientprotocol/sdk/dist/transports/connection.js.map +0 -1
  262. package/node_modules/@agentclientprotocol/sdk/dist/transports/cookie-store.js.map +0 -1
  263. package/node_modules/@agentclientprotocol/sdk/dist/transports/http-stream.js.map +0 -1
  264. package/node_modules/@agentclientprotocol/sdk/dist/transports/node-adapter.js.map +0 -1
  265. package/node_modules/@agentclientprotocol/sdk/dist/transports/protocol.js.map +0 -1
  266. package/node_modules/@agentclientprotocol/sdk/dist/transports/server-sse.js.map +0 -1
  267. package/node_modules/@agentclientprotocol/sdk/dist/transports/server.js.map +0 -1
  268. package/node_modules/@agentclientprotocol/sdk/dist/transports/sse.js.map +0 -1
  269. package/node_modules/@agentclientprotocol/sdk/dist/transports/ws-server.js.map +0 -1
  270. package/node_modules/@agentclientprotocol/sdk/dist/transports/ws-stream.js.map +0 -1
  271. package/node_modules/@agentclientprotocol/sdk/dist/transports/ws-utils.js.map +0 -1
  272. package/node_modules/@agentclientprotocol/sdk/dist/v1/acp.js.map +0 -1
  273. package/node_modules/@agentclientprotocol/sdk/dist/v1/schema/guards.gen.js.map +0 -1
  274. package/node_modules/@agentclientprotocol/sdk/dist/v1/schema/index.js.map +0 -1
  275. package/node_modules/@agentclientprotocol/sdk/dist/v1/schema/types.gen.js.map +0 -1
  276. package/node_modules/@agentclientprotocol/sdk/dist/v1/schema/zod.gen.js.map +0 -1
  277. package/node_modules/@agentclientprotocol/sdk/dist/v1/stable/acp.js.map +0 -1
  278. package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/acp.js.map +0 -1
  279. package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/guards.gen.js.map +0 -1
  280. package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/index.js.map +0 -1
  281. package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/types.gen.js.map +0 -1
  282. package/node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/zod.gen.js.map +0 -1
  283. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js.map +0 -1
  284. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js.map +0 -1
  285. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js.map +0 -1
  286. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.js.map +0 -1
  287. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js.map +0 -1
  288. package/node_modules/@agentclientprotocol/sdk/dist/v2/stable/acp.js.map +0 -1
  289. package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/acp.js.map +0 -1
  290. package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/schema/guards.gen.js.map +0 -1
  291. package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/schema/index.js.map +0 -1
  292. package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/schema/types.gen.js.map +0 -1
  293. package/node_modules/@agentclientprotocol/sdk/dist/v2/unstable/schema/zod.gen.js.map +0 -1
  294. package/node_modules/@anthropic-ai/claude-agent-sdk/README.md +0 -69
  295. package/node_modules/@anthropic-ai/claude-agent-sdk/agentSdkTypes.d.ts +0 -1
  296. package/node_modules/@anthropic-ai/claude-agent-sdk/bridge.d.ts +0 -404
  297. package/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.d.ts +0 -208
  298. package/node_modules/@anthropic-ai/claude-agent-sdk/core.d.ts +0 -22
  299. package/node_modules/@anthropic-ai/claude-agent-sdk/extractFromBunfs.d.ts +0 -1
  300. package/node_modules/@anthropic-ai/claude-agent-sdk/sdk-tools.d.ts +0 -4222
  301. package/node_modules/@anthropic-ai/claude-agent-sdk/sdk.d.ts +0 -10302
  302. package/node_modules/@hono/node-server/README.md +0 -358
  303. package/node_modules/@hono/node-server/dist/conninfo.d.mts +0 -10
  304. package/node_modules/@hono/node-server/dist/conninfo.d.ts +0 -10
  305. package/node_modules/@hono/node-server/dist/globals.d.mts +0 -2
  306. package/node_modules/@hono/node-server/dist/globals.d.ts +0 -2
  307. package/node_modules/@hono/node-server/dist/index.d.mts +0 -8
  308. package/node_modules/@hono/node-server/dist/index.d.ts +0 -8
  309. package/node_modules/@hono/node-server/dist/listener.d.mts +0 -13
  310. package/node_modules/@hono/node-server/dist/listener.d.ts +0 -13
  311. package/node_modules/@hono/node-server/dist/request.d.mts +0 -25
  312. package/node_modules/@hono/node-server/dist/request.d.ts +0 -25
  313. package/node_modules/@hono/node-server/dist/response.d.mts +0 -26
  314. package/node_modules/@hono/node-server/dist/response.d.ts +0 -26
  315. package/node_modules/@hono/node-server/dist/serve-static.d.mts +0 -17
  316. package/node_modules/@hono/node-server/dist/serve-static.d.ts +0 -17
  317. package/node_modules/@hono/node-server/dist/server.d.mts +0 -10
  318. package/node_modules/@hono/node-server/dist/server.d.ts +0 -10
  319. package/node_modules/@hono/node-server/dist/types.d.mts +0 -44
  320. package/node_modules/@hono/node-server/dist/types.d.ts +0 -44
  321. package/node_modules/@hono/node-server/dist/utils/response/constants.d.mts +0 -3
  322. package/node_modules/@hono/node-server/dist/utils/response/constants.d.ts +0 -3
  323. package/node_modules/@hono/node-server/dist/utils/response.d.mts +0 -3
  324. package/node_modules/@hono/node-server/dist/utils/response.d.ts +0 -3
  325. package/node_modules/@hono/node-server/dist/utils.d.mts +0 -9
  326. package/node_modules/@hono/node-server/dist/utils.d.ts +0 -9
  327. package/node_modules/@hono/node-server/dist/vercel.d.mts +0 -7
  328. package/node_modules/@hono/node-server/dist/vercel.d.ts +0 -7
  329. package/node_modules/@modelcontextprotocol/sdk/README.md +0 -172
  330. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts +0 -190
  331. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts.map +0 -1
  332. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js.map +0 -1
  333. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts +0 -451
  334. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts.map +0 -1
  335. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js.map +0 -1
  336. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts +0 -591
  337. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts.map +0 -1
  338. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js.map +0 -1
  339. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts +0 -169
  340. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts.map +0 -1
  341. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js.map +0 -1
  342. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts +0 -81
  343. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts.map +0 -1
  344. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js.map +0 -1
  345. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts +0 -77
  346. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts.map +0 -1
  347. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js.map +0 -1
  348. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts +0 -171
  349. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts.map +0 -1
  350. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js.map +0 -1
  351. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts +0 -17
  352. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts.map +0 -1
  353. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js.map +0 -1
  354. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts +0 -2
  355. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts.map +0 -1
  356. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js +0 -680
  357. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js.map +0 -1
  358. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts +0 -2
  359. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts.map +0 -1
  360. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js +0 -134
  361. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js.map +0 -1
  362. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts +0 -2
  363. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts.map +0 -1
  364. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js +0 -176
  365. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js.map +0 -1
  366. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts +0 -20
  367. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts.map +0 -1
  368. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js +0 -70
  369. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js.map +0 -1
  370. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts +0 -3
  371. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts.map +0 -1
  372. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js +0 -397
  373. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js.map +0 -1
  374. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts +0 -26
  375. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts.map +0 -1
  376. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js +0 -51
  377. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js.map +0 -1
  378. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts +0 -2
  379. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts.map +0 -1
  380. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js +0 -857
  381. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js.map +0 -1
  382. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts +0 -10
  383. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts.map +0 -1
  384. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js +0 -157
  385. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js.map +0 -1
  386. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts +0 -2
  387. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts.map +0 -1
  388. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js +0 -95
  389. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js.map +0 -1
  390. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts +0 -2
  391. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +0 -1
  392. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js +0 -168
  393. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js.map +0 -1
  394. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts +0 -78
  395. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts.map +0 -1
  396. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js +0 -205
  397. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js.map +0 -1
  398. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts +0 -2
  399. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts.map +0 -1
  400. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js +0 -460
  401. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js.map +0 -1
  402. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts +0 -2
  403. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts.map +0 -1
  404. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js +0 -656
  405. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js.map +0 -1
  406. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts +0 -10
  407. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts.map +0 -1
  408. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js +0 -85
  409. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js.map +0 -1
  410. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts +0 -2
  411. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts.map +0 -1
  412. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js +0 -171
  413. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js.map +0 -1
  414. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts +0 -7
  415. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts.map +0 -1
  416. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js +0 -95
  417. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js.map +0 -1
  418. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts +0 -12
  419. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts.map +0 -1
  420. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js +0 -49
  421. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js.map +0 -1
  422. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts +0 -2
  423. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts.map +0 -1
  424. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js +0 -168
  425. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js.map +0 -1
  426. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts +0 -2
  427. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts.map +0 -1
  428. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js +0 -166
  429. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js.map +0 -1
  430. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts +0 -2
  431. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts.map +0 -1
  432. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js +0 -750
  433. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js.map +0 -1
  434. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts +0 -12
  435. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts.map +0 -1
  436. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js +0 -600
  437. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js.map +0 -1
  438. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +0 -2
  439. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +0 -1
  440. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js +0 -256
  441. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js.map +0 -1
  442. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts +0 -2
  443. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts.map +0 -1
  444. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js +0 -107
  445. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js.map +0 -1
  446. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts +0 -2
  447. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +0 -1
  448. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js +0 -124
  449. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js.map +0 -1
  450. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts +0 -2
  451. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts.map +0 -1
  452. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js +0 -73
  453. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js.map +0 -1
  454. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts +0 -31
  455. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts.map +0 -1
  456. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js +0 -69
  457. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js.map +0 -1
  458. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts +0 -13
  459. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts.map +0 -1
  460. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js.map +0 -1
  461. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts +0 -121
  462. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts.map +0 -1
  463. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js.map +0 -1
  464. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts +0 -47
  465. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts.map +0 -1
  466. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js.map +0 -1
  467. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts +0 -16
  468. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts.map +0 -1
  469. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js.map +0 -1
  470. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts +0 -232
  471. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts.map +0 -1
  472. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js.map +0 -1
  473. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts +0 -77
  474. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts.map +0 -1
  475. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js.map +0 -1
  476. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts +0 -170
  477. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts.map +0 -1
  478. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js.map +0 -1
  479. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts +0 -94
  480. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts.map +0 -1
  481. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js.map +0 -1
  482. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts +0 -10
  483. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts.map +0 -1
  484. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js.map +0 -1
  485. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts +0 -31
  486. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts.map +0 -1
  487. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js.map +0 -1
  488. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts +0 -19
  489. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts.map +0 -1
  490. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js.map +0 -1
  491. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts +0 -148
  492. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts.map +0 -1
  493. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js.map +0 -1
  494. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts +0 -24
  495. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts.map +0 -1
  496. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js.map +0 -1
  497. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts +0 -4
  498. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts.map +0 -1
  499. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js.map +0 -1
  500. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts +0 -29
  501. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts.map +0 -1
  502. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js.map +0 -1
  503. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts +0 -13
  504. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts.map +0 -1
  505. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js.map +0 -1
  506. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts +0 -13
  507. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts.map +0 -1
  508. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js.map +0 -1
  509. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts +0 -9
  510. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts.map +0 -1
  511. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js.map +0 -1
  512. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts +0 -35
  513. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts.map +0 -1
  514. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js.map +0 -1
  515. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts +0 -19
  516. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts.map +0 -1
  517. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js.map +0 -1
  518. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts +0 -68
  519. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts.map +0 -1
  520. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js.map +0 -1
  521. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts +0 -49
  522. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts.map +0 -1
  523. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js.map +0 -1
  524. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts +0 -101
  525. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts.map +0 -1
  526. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js.map +0 -1
  527. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts +0 -32
  528. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts.map +0 -1
  529. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js.map +0 -1
  530. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts +0 -38
  531. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts.map +0 -1
  532. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js.map +0 -1
  533. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts +0 -45
  534. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts.map +0 -1
  535. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js.map +0 -1
  536. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts +0 -196
  537. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts.map +0 -1
  538. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js.map +0 -1
  539. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts +0 -364
  540. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts.map +0 -1
  541. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js.map +0 -1
  542. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts +0 -32
  543. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts.map +0 -1
  544. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js.map +0 -1
  545. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts +0 -82
  546. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts.map +0 -1
  547. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js.map +0 -1
  548. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts +0 -28
  549. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts.map +0 -1
  550. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js.map +0 -1
  551. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts +0 -122
  552. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts.map +0 -1
  553. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js.map +0 -1
  554. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts +0 -268
  555. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts.map +0 -1
  556. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js.map +0 -1
  557. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts +0 -84
  558. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts.map +0 -1
  559. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js.map +0 -1
  560. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts +0 -12
  561. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts.map +0 -1
  562. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js.map +0 -1
  563. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts +0 -23
  564. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts.map +0 -1
  565. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js.map +0 -1
  566. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts +0 -240
  567. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts.map +0 -1
  568. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js.map +0 -1
  569. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts +0 -16
  570. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts.map +0 -1
  571. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js.map +0 -1
  572. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts +0 -443
  573. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts.map +0 -1
  574. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js.map +0 -1
  575. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts +0 -45
  576. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts.map +0 -1
  577. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js.map +0 -1
  578. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts +0 -13
  579. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts.map +0 -1
  580. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js.map +0 -1
  581. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts +0 -31
  582. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts.map +0 -1
  583. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js.map +0 -1
  584. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts +0 -89
  585. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts.map +0 -1
  586. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js.map +0 -1
  587. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts +0 -25
  588. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts.map +0 -1
  589. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js.map +0 -1
  590. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts +0 -2311
  591. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts.map +0 -1
  592. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js.map +0 -1
  593. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts +0 -8168
  594. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts.map +0 -1
  595. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js.map +0 -1
  596. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts +0 -53
  597. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts.map +0 -1
  598. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js.map +0 -1
  599. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts +0 -51
  600. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts.map +0 -1
  601. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js.map +0 -1
  602. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts +0 -29
  603. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts.map +0 -1
  604. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js.map +0 -1
  605. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts +0 -65
  606. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts.map +0 -1
  607. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js.map +0 -1
  608. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts +0 -190
  609. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts.map +0 -1
  610. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js.map +0 -1
  611. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts +0 -451
  612. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts.map +0 -1
  613. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js.map +0 -1
  614. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts +0 -591
  615. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts.map +0 -1
  616. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js.map +0 -1
  617. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts +0 -169
  618. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts.map +0 -1
  619. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js.map +0 -1
  620. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts +0 -81
  621. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts.map +0 -1
  622. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js.map +0 -1
  623. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts +0 -77
  624. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts.map +0 -1
  625. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js.map +0 -1
  626. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts +0 -171
  627. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts.map +0 -1
  628. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js.map +0 -1
  629. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts +0 -17
  630. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts.map +0 -1
  631. package/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js.map +0 -1
  632. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts +0 -2
  633. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts.map +0 -1
  634. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js +0 -678
  635. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js.map +0 -1
  636. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts +0 -2
  637. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts.map +0 -1
  638. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js +0 -132
  639. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js.map +0 -1
  640. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts +0 -2
  641. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts.map +0 -1
  642. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js +0 -174
  643. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js.map +0 -1
  644. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts +0 -20
  645. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts.map +0 -1
  646. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js +0 -68
  647. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js.map +0 -1
  648. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts +0 -3
  649. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts.map +0 -1
  650. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js +0 -395
  651. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js.map +0 -1
  652. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts +0 -26
  653. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts.map +0 -1
  654. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js +0 -47
  655. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js.map +0 -1
  656. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts +0 -2
  657. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts.map +0 -1
  658. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js +0 -855
  659. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js.map +0 -1
  660. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts +0 -10
  661. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts.map +0 -1
  662. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js +0 -155
  663. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js.map +0 -1
  664. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts +0 -2
  665. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts.map +0 -1
  666. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js +0 -93
  667. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js.map +0 -1
  668. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts +0 -2
  669. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts.map +0 -1
  670. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js +0 -166
  671. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js.map +0 -1
  672. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts +0 -78
  673. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts.map +0 -1
  674. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js +0 -196
  675. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js.map +0 -1
  676. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts +0 -2
  677. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts.map +0 -1
  678. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js +0 -458
  679. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js.map +0 -1
  680. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts +0 -2
  681. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts.map +0 -1
  682. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js +0 -651
  683. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js.map +0 -1
  684. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts +0 -10
  685. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts.map +0 -1
  686. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js +0 -60
  687. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js.map +0 -1
  688. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts +0 -2
  689. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts.map +0 -1
  690. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js +0 -146
  691. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js.map +0 -1
  692. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts +0 -7
  693. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts.map +0 -1
  694. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js +0 -70
  695. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js.map +0 -1
  696. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts +0 -12
  697. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts.map +0 -1
  698. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js +0 -47
  699. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js.map +0 -1
  700. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts +0 -2
  701. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts.map +0 -1
  702. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js +0 -143
  703. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js.map +0 -1
  704. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts +0 -2
  705. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts.map +0 -1
  706. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js +0 -141
  707. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js.map +0 -1
  708. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts +0 -2
  709. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts.map +0 -1
  710. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js +0 -725
  711. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js.map +0 -1
  712. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts +0 -12
  713. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts.map +0 -1
  714. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js +0 -598
  715. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js.map +0 -1
  716. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +0 -2
  717. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts.map +0 -1
  718. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js +0 -231
  719. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js.map +0 -1
  720. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts +0 -2
  721. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts.map +0 -1
  722. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js +0 -102
  723. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js.map +0 -1
  724. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts +0 -2
  725. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts.map +0 -1
  726. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js +0 -122
  727. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js.map +0 -1
  728. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts +0 -2
  729. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts.map +0 -1
  730. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js +0 -48
  731. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js.map +0 -1
  732. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts +0 -31
  733. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts.map +0 -1
  734. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js +0 -65
  735. package/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js.map +0 -1
  736. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts +0 -13
  737. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts.map +0 -1
  738. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js.map +0 -1
  739. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts +0 -121
  740. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts.map +0 -1
  741. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js.map +0 -1
  742. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts +0 -47
  743. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts.map +0 -1
  744. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js.map +0 -1
  745. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts +0 -16
  746. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts.map +0 -1
  747. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js.map +0 -1
  748. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts +0 -232
  749. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts.map +0 -1
  750. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js.map +0 -1
  751. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts +0 -77
  752. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts.map +0 -1
  753. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js.map +0 -1
  754. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts +0 -170
  755. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts.map +0 -1
  756. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js.map +0 -1
  757. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts +0 -94
  758. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts.map +0 -1
  759. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js.map +0 -1
  760. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts +0 -10
  761. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts.map +0 -1
  762. package/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js.map +0 -1
  763. package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts +0 -31
  764. package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts.map +0 -1
  765. package/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js.map +0 -1
  766. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts +0 -19
  767. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts.map +0 -1
  768. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js.map +0 -1
  769. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts +0 -148
  770. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts.map +0 -1
  771. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js.map +0 -1
  772. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts +0 -24
  773. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts.map +0 -1
  774. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js.map +0 -1
  775. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts +0 -4
  776. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts.map +0 -1
  777. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js.map +0 -1
  778. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts +0 -29
  779. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts.map +0 -1
  780. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js.map +0 -1
  781. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts +0 -13
  782. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts.map +0 -1
  783. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js.map +0 -1
  784. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts +0 -13
  785. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts.map +0 -1
  786. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js.map +0 -1
  787. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts +0 -9
  788. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts.map +0 -1
  789. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js.map +0 -1
  790. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts +0 -35
  791. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts.map +0 -1
  792. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js.map +0 -1
  793. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts +0 -19
  794. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts.map +0 -1
  795. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js.map +0 -1
  796. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts +0 -68
  797. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts.map +0 -1
  798. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js.map +0 -1
  799. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts +0 -49
  800. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts.map +0 -1
  801. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js.map +0 -1
  802. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts +0 -101
  803. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts.map +0 -1
  804. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js.map +0 -1
  805. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts +0 -32
  806. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts.map +0 -1
  807. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js.map +0 -1
  808. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts +0 -38
  809. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts.map +0 -1
  810. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +0 -1
  811. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts +0 -45
  812. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts.map +0 -1
  813. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js.map +0 -1
  814. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts +0 -196
  815. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts.map +0 -1
  816. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js.map +0 -1
  817. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts +0 -364
  818. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts.map +0 -1
  819. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js.map +0 -1
  820. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts +0 -32
  821. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts.map +0 -1
  822. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js.map +0 -1
  823. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts +0 -82
  824. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts.map +0 -1
  825. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js.map +0 -1
  826. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts +0 -28
  827. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts.map +0 -1
  828. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js.map +0 -1
  829. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts +0 -122
  830. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts.map +0 -1
  831. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js.map +0 -1
  832. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts +0 -268
  833. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts.map +0 -1
  834. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js.map +0 -1
  835. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts +0 -84
  836. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts.map +0 -1
  837. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js.map +0 -1
  838. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts +0 -12
  839. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts.map +0 -1
  840. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js.map +0 -1
  841. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts +0 -23
  842. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts.map +0 -1
  843. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js.map +0 -1
  844. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts +0 -240
  845. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts.map +0 -1
  846. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js.map +0 -1
  847. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts +0 -16
  848. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts.map +0 -1
  849. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js.map +0 -1
  850. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts +0 -443
  851. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts.map +0 -1
  852. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js.map +0 -1
  853. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts +0 -45
  854. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts.map +0 -1
  855. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js.map +0 -1
  856. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts +0 -13
  857. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts.map +0 -1
  858. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js.map +0 -1
  859. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts +0 -31
  860. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts.map +0 -1
  861. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js.map +0 -1
  862. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts +0 -89
  863. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts.map +0 -1
  864. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js.map +0 -1
  865. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts +0 -25
  866. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts.map +0 -1
  867. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js.map +0 -1
  868. package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts +0 -2311
  869. package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts.map +0 -1
  870. package/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js.map +0 -1
  871. package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts +0 -8168
  872. package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts.map +0 -1
  873. package/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js.map +0 -1
  874. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts +0 -53
  875. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts.map +0 -1
  876. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js.map +0 -1
  877. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts +0 -51
  878. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts.map +0 -1
  879. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js.map +0 -1
  880. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts +0 -29
  881. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts.map +0 -1
  882. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js.map +0 -1
  883. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts +0 -65
  884. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts.map +0 -1
  885. package/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js.map +0 -1
  886. package/node_modules/@openai/codex/README.md +0 -81
  887. package/node_modules/accepts/HISTORY.md +0 -250
  888. package/node_modules/accepts/README.md +0 -140
  889. package/node_modules/ajv/.runkit_example.js +0 -23
  890. package/node_modules/ajv/README.md +0 -207
  891. package/node_modules/ajv/dist/2019.js.map +0 -1
  892. package/node_modules/ajv/dist/2020.js.map +0 -1
  893. package/node_modules/ajv/dist/ajv.js.map +0 -1
  894. package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  895. package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  896. package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  897. package/node_modules/ajv/dist/compile/errors.js.map +0 -1
  898. package/node_modules/ajv/dist/compile/index.js.map +0 -1
  899. package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  900. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  901. package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  902. package/node_modules/ajv/dist/compile/names.js.map +0 -1
  903. package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  904. package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  905. package/node_modules/ajv/dist/compile/rules.js.map +0 -1
  906. package/node_modules/ajv/dist/compile/util.js.map +0 -1
  907. package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  908. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  909. package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  910. package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  911. package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  912. package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  913. package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  914. package/node_modules/ajv/dist/core.js.map +0 -1
  915. package/node_modules/ajv/dist/jtd.js.map +0 -1
  916. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  917. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  918. package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  919. package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  920. package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  921. package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  922. package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  923. package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  924. package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  925. package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  926. package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  927. package/node_modules/ajv/dist/standalone/index.js.map +0 -1
  928. package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  929. package/node_modules/ajv/dist/types/index.js.map +0 -1
  930. package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  931. package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  932. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  933. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  934. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  935. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  936. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  937. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  938. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  939. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  940. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  941. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  942. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  943. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  944. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  945. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  946. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  947. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  948. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  949. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  950. package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  951. package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  952. package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  953. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  954. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  955. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  956. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  957. package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  958. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  959. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  960. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  961. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  962. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  963. package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  964. package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  965. package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  966. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  967. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  968. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  969. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  970. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  971. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  972. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  973. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  974. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  975. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  976. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  977. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  978. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  979. package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  980. package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  981. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  982. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  983. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  984. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  985. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  986. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  987. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  988. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  989. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  990. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  991. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  992. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  993. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  994. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  995. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  996. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  997. package/node_modules/ajv/lib/2019.ts +0 -81
  998. package/node_modules/ajv/lib/2020.ts +0 -75
  999. package/node_modules/ajv/lib/ajv.ts +0 -70
  1000. package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
  1001. package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
  1002. package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
  1003. package/node_modules/ajv/lib/compile/errors.ts +0 -184
  1004. package/node_modules/ajv/lib/compile/index.ts +0 -324
  1005. package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
  1006. package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
  1007. package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
  1008. package/node_modules/ajv/lib/compile/names.ts +0 -27
  1009. package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
  1010. package/node_modules/ajv/lib/compile/resolve.ts +0 -149
  1011. package/node_modules/ajv/lib/compile/rules.ts +0 -50
  1012. package/node_modules/ajv/lib/compile/util.ts +0 -213
  1013. package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
  1014. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
  1015. package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
  1016. package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
  1017. package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
  1018. package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
  1019. package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
  1020. package/node_modules/ajv/lib/core.ts +0 -892
  1021. package/node_modules/ajv/lib/jtd.ts +0 -132
  1022. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
  1023. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
  1024. package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
  1025. package/node_modules/ajv/lib/runtime/equal.ts +0 -7
  1026. package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
  1027. package/node_modules/ajv/lib/runtime/quote.ts +0 -31
  1028. package/node_modules/ajv/lib/runtime/re2.ts +0 -6
  1029. package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
  1030. package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
  1031. package/node_modules/ajv/lib/runtime/uri.ts +0 -6
  1032. package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
  1033. package/node_modules/ajv/lib/standalone/index.ts +0 -100
  1034. package/node_modules/ajv/lib/standalone/instance.ts +0 -36
  1035. package/node_modules/ajv/lib/types/index.ts +0 -244
  1036. package/node_modules/ajv/lib/types/json-schema.ts +0 -187
  1037. package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
  1038. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
  1039. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
  1040. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
  1041. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
  1042. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
  1043. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
  1044. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
  1045. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
  1046. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
  1047. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
  1048. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
  1049. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
  1050. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
  1051. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
  1052. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
  1053. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
  1054. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
  1055. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
  1056. package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
  1057. package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
  1058. package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
  1059. package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
  1060. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
  1061. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
  1062. package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
  1063. package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
  1064. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
  1065. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
  1066. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
  1067. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
  1068. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
  1069. package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
  1070. package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
  1071. package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
  1072. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
  1073. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
  1074. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
  1075. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
  1076. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
  1077. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
  1078. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
  1079. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
  1080. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
  1081. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
  1082. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
  1083. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
  1084. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
  1085. package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
  1086. package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
  1087. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
  1088. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
  1089. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
  1090. package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
  1091. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
  1092. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
  1093. package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
  1094. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
  1095. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
  1096. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
  1097. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
  1098. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
  1099. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
  1100. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
  1101. package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
  1102. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
  1103. package/node_modules/ajv-formats/README.md +0 -125
  1104. package/node_modules/ajv-formats/dist/formats.d.ts +0 -9
  1105. package/node_modules/ajv-formats/dist/formats.js.map +0 -1
  1106. package/node_modules/ajv-formats/dist/index.d.ts +0 -15
  1107. package/node_modules/ajv-formats/dist/index.js.map +0 -1
  1108. package/node_modules/ajv-formats/dist/limit.d.ts +0 -10
  1109. package/node_modules/ajv-formats/dist/limit.js.map +0 -1
  1110. package/node_modules/ajv-formats/src/formats.ts +0 -269
  1111. package/node_modules/ajv-formats/src/index.ts +0 -62
  1112. package/node_modules/ajv-formats/src/limit.ts +0 -99
  1113. package/node_modules/body-parser/README.md +0 -513
  1114. package/node_modules/body-parser/node_modules/content-type/README.md +0 -71
  1115. package/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +0 -46
  1116. package/node_modules/body-parser/node_modules/content-type/dist/index.js.map +0 -1
  1117. package/node_modules/bundle-name/readme.md +0 -23
  1118. package/node_modules/bytes/History.md +0 -97
  1119. package/node_modules/bytes/Readme.md +0 -152
  1120. package/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  1121. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  1122. package/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  1123. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  1124. package/node_modules/call-bind-apply-helpers/README.md +0 -62
  1125. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  1126. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  1127. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  1128. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  1129. package/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  1130. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  1131. package/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  1132. package/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  1133. package/node_modules/call-bound/.eslintrc +0 -13
  1134. package/node_modules/call-bound/.github/FUNDING.yml +0 -12
  1135. package/node_modules/call-bound/.nycrc +0 -9
  1136. package/node_modules/call-bound/CHANGELOG.md +0 -42
  1137. package/node_modules/call-bound/README.md +0 -53
  1138. package/node_modules/call-bound/index.d.ts +0 -94
  1139. package/node_modules/call-bound/test/index.js +0 -61
  1140. package/node_modules/call-bound/tsconfig.json +0 -10
  1141. package/node_modules/content-disposition/README.md +0 -211
  1142. package/node_modules/content-disposition/dist/index.d.ts +0 -72
  1143. package/node_modules/content-disposition/dist/index.js.map +0 -1
  1144. package/node_modules/content-type/HISTORY.md +0 -29
  1145. package/node_modules/content-type/README.md +0 -94
  1146. package/node_modules/cookie/README.md +0 -317
  1147. package/node_modules/cookie/SECURITY.md +0 -25
  1148. package/node_modules/cookie-signature/History.md +0 -70
  1149. package/node_modules/cookie-signature/Readme.md +0 -23
  1150. package/node_modules/cors/README.md +0 -277
  1151. package/node_modules/cross-spawn/README.md +0 -89
  1152. package/node_modules/csv-parse/README.md +0 -82
  1153. package/node_modules/csv-parse/dist/cjs/index.d.cts +0 -572
  1154. package/node_modules/csv-parse/dist/cjs/stream.d.cts +0 -23
  1155. package/node_modules/csv-parse/dist/cjs/sync.d.cts +0 -31
  1156. package/node_modules/csv-parse/dist/esm/index.d.ts +0 -572
  1157. package/node_modules/csv-parse/dist/esm/stream.d.ts +0 -23
  1158. package/node_modules/csv-parse/dist/esm/sync.d.ts +0 -31
  1159. package/node_modules/csv-parse/lib/index.d.ts +0 -572
  1160. package/node_modules/csv-parse/lib/stream.d.ts +0 -23
  1161. package/node_modules/csv-parse/lib/sync.d.ts +0 -31
  1162. package/node_modules/debug/README.md +0 -481
  1163. package/node_modules/default-browser/index.d.ts +0 -29
  1164. package/node_modules/default-browser/readme.md +0 -24
  1165. package/node_modules/default-browser-id/readme.md +0 -19
  1166. package/node_modules/define-lazy-prop/index.d.ts +0 -31
  1167. package/node_modules/define-lazy-prop/readme.md +0 -55
  1168. package/node_modules/depd/History.md +0 -103
  1169. package/node_modules/depd/Readme.md +0 -280
  1170. package/node_modules/diff/CONTRIBUTING.md +0 -28
  1171. package/node_modules/diff/README.md +0 -468
  1172. package/node_modules/diff/libcjs/convert/dmp.d.ts +0 -8
  1173. package/node_modules/diff/libcjs/convert/dmp.d.ts.map +0 -1
  1174. package/node_modules/diff/libcjs/convert/xml.d.ts +0 -6
  1175. package/node_modules/diff/libcjs/convert/xml.d.ts.map +0 -1
  1176. package/node_modules/diff/libcjs/diff/array.d.ts +0 -19
  1177. package/node_modules/diff/libcjs/diff/array.d.ts.map +0 -1
  1178. package/node_modules/diff/libcjs/diff/base.d.ts +0 -20
  1179. package/node_modules/diff/libcjs/diff/base.d.ts.map +0 -1
  1180. package/node_modules/diff/libcjs/diff/character.d.ts +0 -19
  1181. package/node_modules/diff/libcjs/diff/character.d.ts.map +0 -1
  1182. package/node_modules/diff/libcjs/diff/css.d.ts +0 -18
  1183. package/node_modules/diff/libcjs/diff/css.d.ts.map +0 -1
  1184. package/node_modules/diff/libcjs/diff/json.d.ts +0 -24
  1185. package/node_modules/diff/libcjs/diff/json.d.ts.map +0 -1
  1186. package/node_modules/diff/libcjs/diff/line.d.ts +0 -24
  1187. package/node_modules/diff/libcjs/diff/line.d.ts.map +0 -1
  1188. package/node_modules/diff/libcjs/diff/sentence.d.ts +0 -21
  1189. package/node_modules/diff/libcjs/diff/sentence.d.ts.map +0 -1
  1190. package/node_modules/diff/libcjs/diff/word.d.ts +0 -35
  1191. package/node_modules/diff/libcjs/diff/word.d.ts.map +0 -1
  1192. package/node_modules/diff/libcjs/index.d.ts +0 -20
  1193. package/node_modules/diff/libcjs/index.d.ts.map +0 -1
  1194. package/node_modules/diff/libcjs/patch/apply.d.ts +0 -62
  1195. package/node_modules/diff/libcjs/patch/apply.d.ts.map +0 -1
  1196. package/node_modules/diff/libcjs/patch/create.d.ts +0 -131
  1197. package/node_modules/diff/libcjs/patch/create.d.ts.map +0 -1
  1198. package/node_modules/diff/libcjs/patch/line-endings.d.ts +0 -17
  1199. package/node_modules/diff/libcjs/patch/line-endings.d.ts.map +0 -1
  1200. package/node_modules/diff/libcjs/patch/parse.d.ts +0 -16
  1201. package/node_modules/diff/libcjs/patch/parse.d.ts.map +0 -1
  1202. package/node_modules/diff/libcjs/patch/reverse.d.ts +0 -22
  1203. package/node_modules/diff/libcjs/patch/reverse.d.ts.map +0 -1
  1204. package/node_modules/diff/libcjs/types.d.ts +0 -260
  1205. package/node_modules/diff/libcjs/types.d.ts.map +0 -1
  1206. package/node_modules/diff/libcjs/util/array.d.ts +0 -3
  1207. package/node_modules/diff/libcjs/util/array.d.ts.map +0 -1
  1208. package/node_modules/diff/libcjs/util/distance-iterator.d.ts +0 -2
  1209. package/node_modules/diff/libcjs/util/distance-iterator.d.ts.map +0 -1
  1210. package/node_modules/diff/libcjs/util/params.d.ts +0 -4
  1211. package/node_modules/diff/libcjs/util/params.d.ts.map +0 -1
  1212. package/node_modules/diff/libcjs/util/string.d.ts +0 -30
  1213. package/node_modules/diff/libcjs/util/string.d.ts.map +0 -1
  1214. package/node_modules/diff/libesm/convert/dmp.d.ts +0 -8
  1215. package/node_modules/diff/libesm/convert/dmp.d.ts.map +0 -1
  1216. package/node_modules/diff/libesm/convert/xml.d.ts +0 -6
  1217. package/node_modules/diff/libesm/convert/xml.d.ts.map +0 -1
  1218. package/node_modules/diff/libesm/diff/array.d.ts +0 -19
  1219. package/node_modules/diff/libesm/diff/array.d.ts.map +0 -1
  1220. package/node_modules/diff/libesm/diff/base.d.ts +0 -20
  1221. package/node_modules/diff/libesm/diff/base.d.ts.map +0 -1
  1222. package/node_modules/diff/libesm/diff/character.d.ts +0 -19
  1223. package/node_modules/diff/libesm/diff/character.d.ts.map +0 -1
  1224. package/node_modules/diff/libesm/diff/css.d.ts +0 -18
  1225. package/node_modules/diff/libesm/diff/css.d.ts.map +0 -1
  1226. package/node_modules/diff/libesm/diff/json.d.ts +0 -24
  1227. package/node_modules/diff/libesm/diff/json.d.ts.map +0 -1
  1228. package/node_modules/diff/libesm/diff/line.d.ts +0 -24
  1229. package/node_modules/diff/libesm/diff/line.d.ts.map +0 -1
  1230. package/node_modules/diff/libesm/diff/sentence.d.ts +0 -21
  1231. package/node_modules/diff/libesm/diff/sentence.d.ts.map +0 -1
  1232. package/node_modules/diff/libesm/diff/word.d.ts +0 -35
  1233. package/node_modules/diff/libesm/diff/word.d.ts.map +0 -1
  1234. package/node_modules/diff/libesm/index.d.ts +0 -20
  1235. package/node_modules/diff/libesm/index.d.ts.map +0 -1
  1236. package/node_modules/diff/libesm/patch/apply.d.ts +0 -62
  1237. package/node_modules/diff/libesm/patch/apply.d.ts.map +0 -1
  1238. package/node_modules/diff/libesm/patch/create.d.ts +0 -131
  1239. package/node_modules/diff/libesm/patch/create.d.ts.map +0 -1
  1240. package/node_modules/diff/libesm/patch/line-endings.d.ts +0 -17
  1241. package/node_modules/diff/libesm/patch/line-endings.d.ts.map +0 -1
  1242. package/node_modules/diff/libesm/patch/parse.d.ts +0 -16
  1243. package/node_modules/diff/libesm/patch/parse.d.ts.map +0 -1
  1244. package/node_modules/diff/libesm/patch/reverse.d.ts +0 -22
  1245. package/node_modules/diff/libesm/patch/reverse.d.ts.map +0 -1
  1246. package/node_modules/diff/libesm/types.d.ts +0 -260
  1247. package/node_modules/diff/libesm/types.d.ts.map +0 -1
  1248. package/node_modules/diff/libesm/util/array.d.ts +0 -3
  1249. package/node_modules/diff/libesm/util/array.d.ts.map +0 -1
  1250. package/node_modules/diff/libesm/util/distance-iterator.d.ts +0 -2
  1251. package/node_modules/diff/libesm/util/distance-iterator.d.ts.map +0 -1
  1252. package/node_modules/diff/libesm/util/params.d.ts +0 -4
  1253. package/node_modules/diff/libesm/util/params.d.ts.map +0 -1
  1254. package/node_modules/diff/libesm/util/string.d.ts +0 -30
  1255. package/node_modules/diff/libesm/util/string.d.ts.map +0 -1
  1256. package/node_modules/diff/release-notes.md +0 -474
  1257. package/node_modules/dunder-proto/.eslintrc +0 -5
  1258. package/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  1259. package/node_modules/dunder-proto/.nycrc +0 -13
  1260. package/node_modules/dunder-proto/CHANGELOG.md +0 -24
  1261. package/node_modules/dunder-proto/README.md +0 -54
  1262. package/node_modules/dunder-proto/get.d.ts +0 -5
  1263. package/node_modules/dunder-proto/set.d.ts +0 -5
  1264. package/node_modules/dunder-proto/test/get.js +0 -34
  1265. package/node_modules/dunder-proto/test/index.js +0 -4
  1266. package/node_modules/dunder-proto/test/set.js +0 -50
  1267. package/node_modules/dunder-proto/tsconfig.json +0 -9
  1268. package/node_modules/ee-first/README.md +0 -80
  1269. package/node_modules/encodeurl/README.md +0 -123
  1270. package/node_modules/es-define-property/.eslintrc +0 -13
  1271. package/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  1272. package/node_modules/es-define-property/.nycrc +0 -9
  1273. package/node_modules/es-define-property/CHANGELOG.md +0 -29
  1274. package/node_modules/es-define-property/README.md +0 -49
  1275. package/node_modules/es-define-property/index.d.ts +0 -3
  1276. package/node_modules/es-define-property/test/index.js +0 -56
  1277. package/node_modules/es-define-property/tsconfig.json +0 -10
  1278. package/node_modules/es-errors/.eslintrc +0 -5
  1279. package/node_modules/es-errors/.github/FUNDING.yml +0 -12
  1280. package/node_modules/es-errors/CHANGELOG.md +0 -40
  1281. package/node_modules/es-errors/README.md +0 -55
  1282. package/node_modules/es-errors/eval.d.ts +0 -3
  1283. package/node_modules/es-errors/index.d.ts +0 -3
  1284. package/node_modules/es-errors/range.d.ts +0 -3
  1285. package/node_modules/es-errors/ref.d.ts +0 -3
  1286. package/node_modules/es-errors/syntax.d.ts +0 -3
  1287. package/node_modules/es-errors/test/index.js +0 -19
  1288. package/node_modules/es-errors/tsconfig.json +0 -49
  1289. package/node_modules/es-errors/type.d.ts +0 -3
  1290. package/node_modules/es-errors/uri.d.ts +0 -3
  1291. package/node_modules/es-object-atoms/.eslintrc +0 -16
  1292. package/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  1293. package/node_modules/es-object-atoms/CHANGELOG.md +0 -44
  1294. package/node_modules/es-object-atoms/README.md +0 -63
  1295. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  1296. package/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  1297. package/node_modules/es-object-atoms/index.d.ts +0 -3
  1298. package/node_modules/es-object-atoms/isObject.d.ts +0 -3
  1299. package/node_modules/es-object-atoms/test/index.js +0 -38
  1300. package/node_modules/es-object-atoms/tsconfig.json +0 -7
  1301. package/node_modules/escape-html/Readme.md +0 -43
  1302. package/node_modules/etag/HISTORY.md +0 -83
  1303. package/node_modules/etag/README.md +0 -159
  1304. package/node_modules/eventsource/README.md +0 -167
  1305. package/node_modules/eventsource/dist/index.cjs.map +0 -1
  1306. package/node_modules/eventsource/dist/index.d.cts +0 -332
  1307. package/node_modules/eventsource/dist/index.d.ts +0 -332
  1308. package/node_modules/eventsource/dist/index.js.map +0 -1
  1309. package/node_modules/eventsource/src/EventSource.ts +0 -596
  1310. package/node_modules/eventsource/src/errors.ts +0 -141
  1311. package/node_modules/eventsource/src/index.ts +0 -3
  1312. package/node_modules/eventsource/src/types.ts +0 -152
  1313. package/node_modules/eventsource-parser/README.md +0 -157
  1314. package/node_modules/eventsource-parser/dist/index.cjs.map +0 -1
  1315. package/node_modules/eventsource-parser/dist/index.d.cts +0 -169
  1316. package/node_modules/eventsource-parser/dist/index.d.ts +0 -169
  1317. package/node_modules/eventsource-parser/dist/index.js.map +0 -1
  1318. package/node_modules/eventsource-parser/dist/stream.cjs.map +0 -1
  1319. package/node_modules/eventsource-parser/dist/stream.d.cts +0 -134
  1320. package/node_modules/eventsource-parser/dist/stream.d.ts +0 -134
  1321. package/node_modules/eventsource-parser/dist/stream.js.map +0 -1
  1322. package/node_modules/eventsource-parser/src/errors.ts +0 -44
  1323. package/node_modules/eventsource-parser/src/index.ts +0 -8
  1324. package/node_modules/eventsource-parser/src/parse.ts +0 -439
  1325. package/node_modules/eventsource-parser/src/stream.ts +0 -107
  1326. package/node_modules/eventsource-parser/src/types.ts +0 -122
  1327. package/node_modules/express/Readme.md +0 -282
  1328. package/node_modules/express/node_modules/content-type/README.md +0 -71
  1329. package/node_modules/express/node_modules/content-type/dist/index.d.ts +0 -46
  1330. package/node_modules/express/node_modules/content-type/dist/index.js.map +0 -1
  1331. package/node_modules/express-rate-limit/dist/index.d.cts +0 -699
  1332. package/node_modules/express-rate-limit/dist/index.d.mts +0 -699
  1333. package/node_modules/express-rate-limit/dist/index.d.ts +0 -699
  1334. package/node_modules/express-rate-limit/readme.md +0 -140
  1335. package/node_modules/express-rate-limit/tsconfig.json +0 -8
  1336. package/node_modules/fast-deep-equal/README.md +0 -96
  1337. package/node_modules/fast-uri/.gitattributes +0 -2
  1338. package/node_modules/fast-uri/.github/dependabot.yml +0 -13
  1339. package/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
  1340. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
  1341. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
  1342. package/node_modules/fast-uri/.github/workflows/release.yml +0 -35
  1343. package/node_modules/fast-uri/README.md +0 -160
  1344. package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
  1345. package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
  1346. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
  1347. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
  1348. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
  1349. package/node_modules/fast-uri/test/ajv.test.js +0 -43
  1350. package/node_modules/fast-uri/test/component-safe-serialization.test.js +0 -163
  1351. package/node_modules/fast-uri/test/equal.test.js +0 -145
  1352. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -503
  1353. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
  1354. package/node_modules/fast-uri/test/host-delimiter-security.test.js +0 -94
  1355. package/node_modules/fast-uri/test/ipv6-canonical.test.js +0 -34
  1356. package/node_modules/fast-uri/test/ipv6-validation.test.js +0 -124
  1357. package/node_modules/fast-uri/test/malformed-percent.test.js +0 -77
  1358. package/node_modules/fast-uri/test/malformed-urn.test.js +0 -61
  1359. package/node_modules/fast-uri/test/parse.test.js +0 -327
  1360. package/node_modules/fast-uri/test/query-fragment-normalization.test.js +0 -33
  1361. package/node_modules/fast-uri/test/relative-normalization-security.test.js +0 -156
  1362. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +0 -137
  1363. package/node_modules/fast-uri/test/resolve.test.js +0 -87
  1364. package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
  1365. package/node_modules/fast-uri/test/scheme-validation.test.js +0 -163
  1366. package/node_modules/fast-uri/test/security-normalization.test.js +0 -178
  1367. package/node_modules/fast-uri/test/security.test.js +0 -431
  1368. package/node_modules/fast-uri/test/serialize.test.js +0 -151
  1369. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
  1370. package/node_modules/fast-uri/test/uri-js.test.js +0 -912
  1371. package/node_modules/fast-uri/test/urn-full-input.test.js +0 -29
  1372. package/node_modules/fast-uri/test/util.test.js +0 -38
  1373. package/node_modules/fast-uri/test/websocket-query-preservation.test.js +0 -24
  1374. package/node_modules/fast-uri/tsconfig.json +0 -9
  1375. package/node_modules/fast-uri/types/index.test-d.ts +0 -17
  1376. package/node_modules/finalhandler/HISTORY.md +0 -239
  1377. package/node_modules/finalhandler/README.md +0 -150
  1378. package/node_modules/forwarded/HISTORY.md +0 -21
  1379. package/node_modules/forwarded/README.md +0 -57
  1380. package/node_modules/fresh/HISTORY.md +0 -80
  1381. package/node_modules/fresh/README.md +0 -117
  1382. package/node_modules/function-bind/.eslintrc +0 -21
  1383. package/node_modules/function-bind/.github/FUNDING.yml +0 -12
  1384. package/node_modules/function-bind/.github/SECURITY.md +0 -3
  1385. package/node_modules/function-bind/.nycrc +0 -13
  1386. package/node_modules/function-bind/CHANGELOG.md +0 -136
  1387. package/node_modules/function-bind/README.md +0 -46
  1388. package/node_modules/function-bind/test/.eslintrc +0 -9
  1389. package/node_modules/function-bind/test/index.js +0 -252
  1390. package/node_modules/get-intrinsic/.eslintrc +0 -42
  1391. package/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  1392. package/node_modules/get-intrinsic/.nycrc +0 -9
  1393. package/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  1394. package/node_modules/get-intrinsic/README.md +0 -71
  1395. package/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  1396. package/node_modules/get-proto/.eslintrc +0 -10
  1397. package/node_modules/get-proto/.github/FUNDING.yml +0 -12
  1398. package/node_modules/get-proto/.nycrc +0 -9
  1399. package/node_modules/get-proto/CHANGELOG.md +0 -21
  1400. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  1401. package/node_modules/get-proto/README.md +0 -50
  1402. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  1403. package/node_modules/get-proto/index.d.ts +0 -5
  1404. package/node_modules/get-proto/test/index.js +0 -68
  1405. package/node_modules/get-proto/tsconfig.json +0 -9
  1406. package/node_modules/gopd/.eslintrc +0 -16
  1407. package/node_modules/gopd/.github/FUNDING.yml +0 -12
  1408. package/node_modules/gopd/CHANGELOG.md +0 -45
  1409. package/node_modules/gopd/README.md +0 -40
  1410. package/node_modules/gopd/gOPD.d.ts +0 -1
  1411. package/node_modules/gopd/index.d.ts +0 -5
  1412. package/node_modules/gopd/test/index.js +0 -36
  1413. package/node_modules/gopd/tsconfig.json +0 -9
  1414. package/node_modules/has-symbols/.eslintrc +0 -11
  1415. package/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  1416. package/node_modules/has-symbols/.nycrc +0 -9
  1417. package/node_modules/has-symbols/CHANGELOG.md +0 -91
  1418. package/node_modules/has-symbols/README.md +0 -46
  1419. package/node_modules/has-symbols/index.d.ts +0 -3
  1420. package/node_modules/has-symbols/shams.d.ts +0 -3
  1421. package/node_modules/has-symbols/test/index.js +0 -22
  1422. package/node_modules/has-symbols/test/shams/core-js.js +0 -29
  1423. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  1424. package/node_modules/has-symbols/test/tests.js +0 -58
  1425. package/node_modules/has-symbols/tsconfig.json +0 -10
  1426. package/node_modules/hasown/.github/FUNDING.yml +0 -12
  1427. package/node_modules/hasown/.nycrc +0 -13
  1428. package/node_modules/hasown/CHANGELOG.md +0 -58
  1429. package/node_modules/hasown/README.md +0 -40
  1430. package/node_modules/hasown/index.d.ts +0 -3
  1431. package/node_modules/hasown/tsconfig.json +0 -6
  1432. package/node_modules/hono/README.md +0 -84
  1433. package/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +0 -30
  1434. package/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +0 -230
  1435. package/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +0 -4
  1436. package/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +0 -183
  1437. package/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +0 -10
  1438. package/node_modules/hono/dist/types/adapter/bun/index.d.ts +0 -6
  1439. package/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +0 -8
  1440. package/node_modules/hono/dist/types/adapter/bun/server.d.ts +0 -11
  1441. package/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +0 -17
  1442. package/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +0 -54
  1443. package/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +0 -24
  1444. package/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +0 -45
  1445. package/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +0 -3
  1446. package/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +0 -7
  1447. package/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +0 -4
  1448. package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +0 -7
  1449. package/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +0 -21
  1450. package/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +0 -13
  1451. package/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +0 -7
  1452. package/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +0 -10
  1453. package/node_modules/hono/dist/types/adapter/deno/deno.d.ts +0 -1
  1454. package/node_modules/hono/dist/types/adapter/deno/index.d.ts +0 -5
  1455. package/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +0 -8
  1456. package/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +0 -17
  1457. package/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +0 -7
  1458. package/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +0 -7
  1459. package/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +0 -113
  1460. package/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +0 -3
  1461. package/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +0 -24
  1462. package/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +0 -7
  1463. package/node_modules/hono/dist/types/adapter/netlify/index.d.ts +0 -3
  1464. package/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +0 -3
  1465. package/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +0 -18
  1466. package/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +0 -26
  1467. package/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +0 -17
  1468. package/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +0 -7
  1469. package/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +0 -7
  1470. package/node_modules/hono/dist/types/adapter/vercel/index.d.ts +0 -3
  1471. package/node_modules/hono/dist/types/client/client.d.ts +0 -6
  1472. package/node_modules/hono/dist/types/client/fetch-result-please.d.ts +0 -37
  1473. package/node_modules/hono/dist/types/client/index.d.ts +0 -5
  1474. package/node_modules/hono/dist/types/client/types.d.ts +0 -204
  1475. package/node_modules/hono/dist/types/client/utils.d.ts +0 -20
  1476. package/node_modules/hono/dist/types/compose.d.ts +0 -16
  1477. package/node_modules/hono/dist/types/context.d.ts +0 -459
  1478. package/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +0 -32
  1479. package/node_modules/hono/dist/types/helper/accepts/index.d.ts +0 -2
  1480. package/node_modules/hono/dist/types/helper/adapter/index.d.ts +0 -10
  1481. package/node_modules/hono/dist/types/helper/conninfo/index.d.ts +0 -2
  1482. package/node_modules/hono/dist/types/helper/conninfo/types.d.ts +0 -38
  1483. package/node_modules/hono/dist/types/helper/cookie/index.d.ts +0 -22
  1484. package/node_modules/hono/dist/types/helper/css/common.d.ts +0 -61
  1485. package/node_modules/hono/dist/types/helper/css/index.d.ts +0 -78
  1486. package/node_modules/hono/dist/types/helper/dev/index.d.ts +0 -18
  1487. package/node_modules/hono/dist/types/helper/factory/index.d.ts +0 -35
  1488. package/node_modules/hono/dist/types/helper/html/index.d.ts +0 -5
  1489. package/node_modules/hono/dist/types/helper/proxy/index.d.ts +0 -70
  1490. package/node_modules/hono/dist/types/helper/route/index.d.ts +0 -77
  1491. package/node_modules/hono/dist/types/helper/ssg/index.d.ts +0 -4
  1492. package/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +0 -46
  1493. package/node_modules/hono/dist/types/helper/ssg/plugins.d.ts +0 -29
  1494. package/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +0 -93
  1495. package/node_modules/hono/dist/types/helper/ssg/utils.d.ts +0 -18
  1496. package/node_modules/hono/dist/types/helper/streaming/index.d.ts +0 -4
  1497. package/node_modules/hono/dist/types/helper/streaming/sse.d.ts +0 -15
  1498. package/node_modules/hono/dist/types/helper/streaming/stream.d.ts +0 -5
  1499. package/node_modules/hono/dist/types/helper/streaming/text.d.ts +0 -5
  1500. package/node_modules/hono/dist/types/helper/streaming/utils.d.ts +0 -3
  1501. package/node_modules/hono/dist/types/helper/testing/index.d.ts +0 -11
  1502. package/node_modules/hono/dist/types/helper/websocket/index.d.ts +0 -66
  1503. package/node_modules/hono/dist/types/hono-base.d.ts +0 -233
  1504. package/node_modules/hono/dist/types/hono.d.ts +0 -20
  1505. package/node_modules/hono/dist/types/http-exception.d.ts +0 -57
  1506. package/node_modules/hono/dist/types/index.d.ts +0 -6
  1507. package/node_modules/hono/dist/types/jsx/base.d.ts +0 -63
  1508. package/node_modules/hono/dist/types/jsx/children.d.ts +0 -11
  1509. package/node_modules/hono/dist/types/jsx/components.d.ts +0 -18
  1510. package/node_modules/hono/dist/types/jsx/constants.d.ts +0 -8
  1511. package/node_modules/hono/dist/types/jsx/context.d.ts +0 -54
  1512. package/node_modules/hono/dist/types/jsx/dom/client.d.ts +0 -30
  1513. package/node_modules/hono/dist/types/jsx/dom/components.d.ts +0 -13
  1514. package/node_modules/hono/dist/types/jsx/dom/context.d.ts +0 -5
  1515. package/node_modules/hono/dist/types/jsx/dom/css.d.ts +0 -80
  1516. package/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +0 -38
  1517. package/node_modules/hono/dist/types/jsx/dom/index.d.ts +0 -84
  1518. package/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +0 -20
  1519. package/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +0 -6
  1520. package/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +0 -3
  1521. package/node_modules/hono/dist/types/jsx/dom/render.d.ts +0 -55
  1522. package/node_modules/hono/dist/types/jsx/dom/server.d.ts +0 -108
  1523. package/node_modules/hono/dist/types/jsx/dom/utils.d.ts +0 -3
  1524. package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +0 -47
  1525. package/node_modules/hono/dist/types/jsx/index.d.ts +0 -73
  1526. package/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +0 -8
  1527. package/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +0 -16
  1528. package/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +0 -722
  1529. package/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +0 -5
  1530. package/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +0 -9
  1531. package/node_modules/hono/dist/types/jsx/streaming.d.ts +0 -36
  1532. package/node_modules/hono/dist/types/jsx/types.d.ts +0 -34
  1533. package/node_modules/hono/dist/types/jsx/utils.d.ts +0 -6
  1534. package/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +0 -73
  1535. package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +0 -91
  1536. package/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +0 -43
  1537. package/node_modules/hono/dist/types/middleware/cache/index.d.ts +0 -43
  1538. package/node_modules/hono/dist/types/middleware/combine/index.d.ts +0 -85
  1539. package/node_modules/hono/dist/types/middleware/compress/index.d.ts +0 -39
  1540. package/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +0 -38
  1541. package/node_modules/hono/dist/types/middleware/cors/index.d.ts +0 -53
  1542. package/node_modules/hono/dist/types/middleware/csrf/index.d.ts +0 -76
  1543. package/node_modules/hono/dist/types/middleware/etag/digest.d.ts +0 -3
  1544. package/node_modules/hono/dist/types/middleware/etag/index.d.ts +0 -40
  1545. package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +0 -66
  1546. package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +0 -77
  1547. package/node_modules/hono/dist/types/middleware/jwk/index.d.ts +0 -2
  1548. package/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +0 -53
  1549. package/node_modules/hono/dist/types/middleware/jwt/index.d.ts +0 -9
  1550. package/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +0 -67
  1551. package/node_modules/hono/dist/types/middleware/language/index.d.ts +0 -8
  1552. package/node_modules/hono/dist/types/middleware/language/language.d.ts +0 -118
  1553. package/node_modules/hono/dist/types/middleware/logger/index.d.ts +0 -22
  1554. package/node_modules/hono/dist/types/middleware/method-not-allowed/index.d.ts +0 -47
  1555. package/node_modules/hono/dist/types/middleware/method-override/index.d.ts +0 -46
  1556. package/node_modules/hono/dist/types/middleware/mount/index.d.ts +0 -47
  1557. package/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +0 -27
  1558. package/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +0 -40
  1559. package/node_modules/hono/dist/types/middleware/request-id/index.d.ts +0 -8
  1560. package/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +0 -35
  1561. package/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +0 -8
  1562. package/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +0 -16
  1563. package/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +0 -107
  1564. package/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +0 -31
  1565. package/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +0 -7
  1566. package/node_modules/hono/dist/types/middleware/timeout/index.d.ts +0 -29
  1567. package/node_modules/hono/dist/types/middleware/timing/index.d.ts +0 -8
  1568. package/node_modules/hono/dist/types/middleware/timing/timing.d.ts +0 -126
  1569. package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +0 -92
  1570. package/node_modules/hono/dist/types/preset/quick.d.ts +0 -7
  1571. package/node_modules/hono/dist/types/preset/tiny.d.ts +0 -7
  1572. package/node_modules/hono/dist/types/request/constants.d.ts +0 -3
  1573. package/node_modules/hono/dist/types/request.d.ts +0 -326
  1574. package/node_modules/hono/dist/types/router/linear-router/index.d.ts +0 -2
  1575. package/node_modules/hono/dist/types/router/linear-router/router.d.ts +0 -9
  1576. package/node_modules/hono/dist/types/router/pattern-router/index.d.ts +0 -2
  1577. package/node_modules/hono/dist/types/router/pattern-router/router.d.ts +0 -9
  1578. package/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +0 -3
  1579. package/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +0 -9
  1580. package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +0 -15
  1581. package/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +0 -18
  1582. package/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +0 -12
  1583. package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +0 -10
  1584. package/node_modules/hono/dist/types/router/smart-router/index.d.ts +0 -2
  1585. package/node_modules/hono/dist/types/router/smart-router/router.d.ts +0 -13
  1586. package/node_modules/hono/dist/types/router/trie-router/index.d.ts +0 -2
  1587. package/node_modules/hono/dist/types/router/trie-router/node.d.ts +0 -8
  1588. package/node_modules/hono/dist/types/router/trie-router/router.d.ts +0 -9
  1589. package/node_modules/hono/dist/types/router/utils.d.ts +0 -3
  1590. package/node_modules/hono/dist/types/router.d.ts +0 -98
  1591. package/node_modules/hono/dist/types/types.d.ts +0 -214
  1592. package/node_modules/hono/dist/types/utils/accept.d.ts +0 -8
  1593. package/node_modules/hono/dist/types/utils/basic-auth.d.ts +0 -7
  1594. package/node_modules/hono/dist/types/utils/body.d.ts +0 -75
  1595. package/node_modules/hono/dist/types/utils/buffer.d.ts +0 -19
  1596. package/node_modules/hono/dist/types/utils/color.d.ts +0 -23
  1597. package/node_modules/hono/dist/types/utils/compress.d.ts +0 -10
  1598. package/node_modules/hono/dist/types/utils/concurrent.d.ts +0 -13
  1599. package/node_modules/hono/dist/types/utils/constants.d.ts +0 -6
  1600. package/node_modules/hono/dist/types/utils/cookie.d.ts +0 -42
  1601. package/node_modules/hono/dist/types/utils/crypto.d.ts +0 -13
  1602. package/node_modules/hono/dist/types/utils/encode.d.ts +0 -10
  1603. package/node_modules/hono/dist/types/utils/filepath.d.ts +0 -14
  1604. package/node_modules/hono/dist/types/utils/handler.d.ts +0 -8
  1605. package/node_modules/hono/dist/types/utils/headers.d.ts +0 -10
  1606. package/node_modules/hono/dist/types/utils/html.d.ts +0 -46
  1607. package/node_modules/hono/dist/types/utils/http-status.d.ts +0 -34
  1608. package/node_modules/hono/dist/types/utils/ipaddr.d.ts +0 -54
  1609. package/node_modules/hono/dist/types/utils/jwt/index.d.ts +0 -24
  1610. package/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +0 -25
  1611. package/node_modules/hono/dist/types/utils/jwt/jws.d.ts +0 -9
  1612. package/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +0 -40
  1613. package/node_modules/hono/dist/types/utils/jwt/types.d.ts +0 -89
  1614. package/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +0 -8
  1615. package/node_modules/hono/dist/types/utils/mime.d.ts +0 -73
  1616. package/node_modules/hono/dist/types/utils/mount.d.ts +0 -4
  1617. package/node_modules/hono/dist/types/utils/stream.d.ts +0 -33
  1618. package/node_modules/hono/dist/types/utils/types.d.ts +0 -62
  1619. package/node_modules/hono/dist/types/utils/url.d.ts +0 -47
  1620. package/node_modules/hono/dist/types/validator/index.d.ts +0 -3
  1621. package/node_modules/hono/dist/types/validator/utils.d.ts +0 -27
  1622. package/node_modules/hono/dist/types/validator/validator.d.ts +0 -18
  1623. package/node_modules/http-errors/HISTORY.md +0 -186
  1624. package/node_modules/http-errors/README.md +0 -169
  1625. package/node_modules/iconv-lite/README.md +0 -138
  1626. package/node_modules/iconv-lite/lib/index.d.ts +0 -129
  1627. package/node_modules/iconv-lite/types/encodings.d.ts +0 -425
  1628. package/node_modules/inherits/README.md +0 -42
  1629. package/node_modules/ip-address/README.md +0 -308
  1630. package/node_modules/ip-address/dist/address-error.d.ts +0 -15
  1631. package/node_modules/ip-address/dist/address-error.js.map +0 -1
  1632. package/node_modules/ip-address/dist/common.d.ts +0 -74
  1633. package/node_modules/ip-address/dist/common.js.map +0 -1
  1634. package/node_modules/ip-address/dist/ip-address.d.ts +0 -7
  1635. package/node_modules/ip-address/dist/ip-address.js.map +0 -1
  1636. package/node_modules/ip-address/dist/ipv4.d.ts +0 -347
  1637. package/node_modules/ip-address/dist/ipv4.js.map +0 -1
  1638. package/node_modules/ip-address/dist/ipv6.d.ts +0 -634
  1639. package/node_modules/ip-address/dist/ipv6.js.map +0 -1
  1640. package/node_modules/ip-address/dist/v4/constants.d.ts +0 -16
  1641. package/node_modules/ip-address/dist/v4/constants.js.map +0 -1
  1642. package/node_modules/ip-address/dist/v6/constants.d.ts +0 -61
  1643. package/node_modules/ip-address/dist/v6/constants.js.map +0 -1
  1644. package/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
  1645. package/node_modules/ip-address/dist/v6/helpers.js.map +0 -1
  1646. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
  1647. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +0 -1
  1648. package/node_modules/ipaddr.js/README.md +0 -233
  1649. package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  1650. package/node_modules/is-docker/index.d.ts +0 -13
  1651. package/node_modules/is-docker/readme.md +0 -27
  1652. package/node_modules/is-in-ssh/index.d.ts +0 -15
  1653. package/node_modules/is-in-ssh/readme.md +0 -43
  1654. package/node_modules/is-inside-container/index.d.ts +0 -13
  1655. package/node_modules/is-inside-container/readme.md +0 -36
  1656. package/node_modules/is-promise/index.d.ts +0 -2
  1657. package/node_modules/is-promise/readme.md +0 -33
  1658. package/node_modules/is-wsl/index.d.ts +0 -15
  1659. package/node_modules/is-wsl/readme.md +0 -21
  1660. package/node_modules/isexe/.npmignore +0 -2
  1661. package/node_modules/isexe/README.md +0 -51
  1662. package/node_modules/isexe/test/basic.js +0 -221
  1663. package/node_modules/jose/README.md +0 -150
  1664. package/node_modules/jose/dist/types/index.d.ts +0 -55
  1665. package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +0 -25
  1666. package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +0 -40
  1667. package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +0 -25
  1668. package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +0 -46
  1669. package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +0 -29
  1670. package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +0 -51
  1671. package/node_modules/jose/dist/types/jwk/embedded.d.ts +0 -10
  1672. package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +0 -15
  1673. package/node_modules/jose/dist/types/jwks/local.d.ts +0 -17
  1674. package/node_modules/jose/dist/types/jwks/remote.d.ts +0 -94
  1675. package/node_modules/jose/dist/types/jws/compact/sign.d.ts +0 -21
  1676. package/node_modules/jose/dist/types/jws/compact/verify.d.ts +0 -25
  1677. package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +0 -23
  1678. package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +0 -26
  1679. package/node_modules/jose/dist/types/jws/general/sign.d.ts +0 -41
  1680. package/node_modules/jose/dist/types/jws/general/verify.d.ts +0 -31
  1681. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +0 -38
  1682. package/node_modules/jose/dist/types/jwt/encrypt.d.ts +0 -57
  1683. package/node_modules/jose/dist/types/jwt/sign.d.ts +0 -21
  1684. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +0 -21
  1685. package/node_modules/jose/dist/types/jwt/verify.d.ts +0 -36
  1686. package/node_modules/jose/dist/types/key/export.d.ts +0 -19
  1687. package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +0 -33
  1688. package/node_modules/jose/dist/types/key/generate_secret.d.ts +0 -30
  1689. package/node_modules/jose/dist/types/key/import.d.ts +0 -67
  1690. package/node_modules/jose/dist/types/types.d.ts +0 -802
  1691. package/node_modules/jose/dist/types/util/base64url.d.ts +0 -16
  1692. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +0 -9
  1693. package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +0 -10
  1694. package/node_modules/jose/dist/types/util/errors.d.ts +0 -182
  1695. package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  1696. package/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
  1697. package/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
  1698. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
  1699. package/node_modules/json-schema-traverse/README.md +0 -95
  1700. package/node_modules/json-schema-traverse/index.d.ts +0 -40
  1701. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  1702. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  1703. package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  1704. package/node_modules/json-schema-typed/README.md +0 -108
  1705. package/node_modules/json-schema-typed/draft_07.d.ts +0 -882
  1706. package/node_modules/json-schema-typed/draft_2019_09.d.ts +0 -1247
  1707. package/node_modules/json-schema-typed/draft_2020_12.d.ts +0 -1239
  1708. package/node_modules/math-intrinsics/.eslintrc +0 -16
  1709. package/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  1710. package/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  1711. package/node_modules/math-intrinsics/README.md +0 -50
  1712. package/node_modules/math-intrinsics/abs.d.ts +0 -1
  1713. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  1714. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  1715. package/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  1716. package/node_modules/math-intrinsics/floor.d.ts +0 -1
  1717. package/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  1718. package/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  1719. package/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  1720. package/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  1721. package/node_modules/math-intrinsics/max.d.ts +0 -1
  1722. package/node_modules/math-intrinsics/min.d.ts +0 -1
  1723. package/node_modules/math-intrinsics/mod.d.ts +0 -3
  1724. package/node_modules/math-intrinsics/pow.d.ts +0 -1
  1725. package/node_modules/math-intrinsics/round.d.ts +0 -1
  1726. package/node_modules/math-intrinsics/sign.d.ts +0 -3
  1727. package/node_modules/math-intrinsics/test/index.js +0 -192
  1728. package/node_modules/math-intrinsics/tsconfig.json +0 -3
  1729. package/node_modules/media-typer/HISTORY.md +0 -50
  1730. package/node_modules/media-typer/README.md +0 -94
  1731. package/node_modules/merge-descriptors/index.d.ts +0 -11
  1732. package/node_modules/merge-descriptors/readme.md +0 -55
  1733. package/node_modules/mime-db/HISTORY.md +0 -541
  1734. package/node_modules/mime-db/README.md +0 -109
  1735. package/node_modules/mime-types/HISTORY.md +0 -428
  1736. package/node_modules/mime-types/README.md +0 -126
  1737. package/node_modules/ms/readme.md +0 -59
  1738. package/node_modules/negotiator/README.md +0 -212
  1739. package/node_modules/negotiator/node_modules/content-type/README.md +0 -71
  1740. package/node_modules/negotiator/node_modules/content-type/dist/index.d.ts +0 -46
  1741. package/node_modules/negotiator/node_modules/content-type/dist/index.js.map +0 -1
  1742. package/node_modules/object-assign/readme.md +0 -61
  1743. package/node_modules/object-inspect/.eslintrc +0 -53
  1744. package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  1745. package/node_modules/object-inspect/.nycrc +0 -13
  1746. package/node_modules/object-inspect/CHANGELOG.md +0 -424
  1747. package/node_modules/object-inspect/example/all.js +0 -23
  1748. package/node_modules/object-inspect/example/circular.js +0 -6
  1749. package/node_modules/object-inspect/example/fn.js +0 -5
  1750. package/node_modules/object-inspect/example/inspect.js +0 -10
  1751. package/node_modules/object-inspect/readme.markdown +0 -84
  1752. package/node_modules/object-inspect/test/bigint.js +0 -58
  1753. package/node_modules/object-inspect/test/browser/dom.js +0 -15
  1754. package/node_modules/object-inspect/test/circular.js +0 -16
  1755. package/node_modules/object-inspect/test/deep.js +0 -12
  1756. package/node_modules/object-inspect/test/element.js +0 -53
  1757. package/node_modules/object-inspect/test/err.js +0 -48
  1758. package/node_modules/object-inspect/test/fakes.js +0 -29
  1759. package/node_modules/object-inspect/test/fn.js +0 -76
  1760. package/node_modules/object-inspect/test/global.js +0 -17
  1761. package/node_modules/object-inspect/test/has.js +0 -15
  1762. package/node_modules/object-inspect/test/holes.js +0 -15
  1763. package/node_modules/object-inspect/test/indent-option.js +0 -271
  1764. package/node_modules/object-inspect/test/inspect.js +0 -139
  1765. package/node_modules/object-inspect/test/lowbyte.js +0 -12
  1766. package/node_modules/object-inspect/test/number.js +0 -58
  1767. package/node_modules/object-inspect/test/quoteStyle.js +0 -26
  1768. package/node_modules/object-inspect/test/toStringTag.js +0 -40
  1769. package/node_modules/object-inspect/test/undef.js +0 -12
  1770. package/node_modules/object-inspect/test/values.js +0 -261
  1771. package/node_modules/on-finished/README.md +0 -162
  1772. package/node_modules/once/README.md +0 -79
  1773. package/node_modules/open/index.d.ts +0 -158
  1774. package/node_modules/open/readme.md +0 -197
  1775. package/node_modules/parseurl/HISTORY.md +0 -58
  1776. package/node_modules/parseurl/README.md +0 -133
  1777. package/node_modules/path-key/index.d.ts +0 -40
  1778. package/node_modules/path-key/readme.md +0 -61
  1779. package/node_modules/path-to-regexp/Readme.md +0 -224
  1780. package/node_modules/path-to-regexp/dist/index.d.ts +0 -147
  1781. package/node_modules/path-to-regexp/dist/index.js.map +0 -1
  1782. package/node_modules/pkce-challenge/CHANGELOG.md +0 -114
  1783. package/node_modules/pkce-challenge/README.md +0 -55
  1784. package/node_modules/pkce-challenge/dist/index.browser.d.ts +0 -19
  1785. package/node_modules/pkce-challenge/dist/index.node.d.cts +0 -19
  1786. package/node_modules/pkce-challenge/dist/index.node.d.ts +0 -19
  1787. package/node_modules/powershell-utils/index.d.ts +0 -175
  1788. package/node_modules/powershell-utils/readme.md +0 -209
  1789. package/node_modules/proxy-addr/HISTORY.md +0 -167
  1790. package/node_modules/proxy-addr/README.md +0 -139
  1791. package/node_modules/qs/.editorconfig +0 -46
  1792. package/node_modules/qs/.github/FUNDING.yml +0 -12
  1793. package/node_modules/qs/.github/SECURITY.md +0 -11
  1794. package/node_modules/qs/.github/THREAT_MODEL.md +0 -80
  1795. package/node_modules/qs/.nycrc +0 -13
  1796. package/node_modules/qs/CHANGELOG.md +0 -937
  1797. package/node_modules/qs/README.md +0 -857
  1798. package/node_modules/qs/test/empty-keys-cases.js +0 -267
  1799. package/node_modules/qs/test/parse.js +0 -2629
  1800. package/node_modules/qs/test/stringify.js +0 -2217
  1801. package/node_modules/qs/test/utils.js +0 -880
  1802. package/node_modules/range-parser/HISTORY.md +0 -56
  1803. package/node_modules/range-parser/README.md +0 -85
  1804. package/node_modules/raw-body/README.md +0 -223
  1805. package/node_modules/raw-body/index.d.ts +0 -85
  1806. package/node_modules/require-from-string/readme.md +0 -56
  1807. package/node_modules/router/HISTORY.md +0 -228
  1808. package/node_modules/router/README.md +0 -416
  1809. package/node_modules/run-applescript/index.d.ts +0 -66
  1810. package/node_modules/run-applescript/readme.md +0 -78
  1811. package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1812. package/node_modules/safer-buffer/Readme.md +0 -156
  1813. package/node_modules/send/README.md +0 -317
  1814. package/node_modules/serve-static/README.md +0 -253
  1815. package/node_modules/setprototypeof/README.md +0 -31
  1816. package/node_modules/setprototypeof/index.d.ts +0 -2
  1817. package/node_modules/setprototypeof/test/index.js +0 -24
  1818. package/node_modules/shebang-command/readme.md +0 -34
  1819. package/node_modules/shebang-regex/index.d.ts +0 -22
  1820. package/node_modules/shebang-regex/readme.md +0 -33
  1821. package/node_modules/side-channel/.editorconfig +0 -9
  1822. package/node_modules/side-channel/.eslintrc +0 -12
  1823. package/node_modules/side-channel/.github/FUNDING.yml +0 -12
  1824. package/node_modules/side-channel/.nycrc +0 -13
  1825. package/node_modules/side-channel/CHANGELOG.md +0 -120
  1826. package/node_modules/side-channel/README.md +0 -61
  1827. package/node_modules/side-channel/index.d.ts +0 -14
  1828. package/node_modules/side-channel/test/index.js +0 -120
  1829. package/node_modules/side-channel/tsconfig.json +0 -9
  1830. package/node_modules/side-channel-list/.editorconfig +0 -9
  1831. package/node_modules/side-channel-list/.eslintrc +0 -11
  1832. package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  1833. package/node_modules/side-channel-list/.nycrc +0 -13
  1834. package/node_modules/side-channel-list/CHANGELOG.md +0 -36
  1835. package/node_modules/side-channel-list/README.md +0 -62
  1836. package/node_modules/side-channel-list/index.d.ts +0 -13
  1837. package/node_modules/side-channel-list/list.d.ts +0 -14
  1838. package/node_modules/side-channel-list/test/index.js +0 -154
  1839. package/node_modules/side-channel-list/tsconfig.json +0 -9
  1840. package/node_modules/side-channel-map/.editorconfig +0 -9
  1841. package/node_modules/side-channel-map/.eslintrc +0 -11
  1842. package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  1843. package/node_modules/side-channel-map/.nycrc +0 -13
  1844. package/node_modules/side-channel-map/CHANGELOG.md +0 -22
  1845. package/node_modules/side-channel-map/README.md +0 -62
  1846. package/node_modules/side-channel-map/index.d.ts +0 -15
  1847. package/node_modules/side-channel-map/test/index.js +0 -114
  1848. package/node_modules/side-channel-map/tsconfig.json +0 -9
  1849. package/node_modules/side-channel-weakmap/.editorconfig +0 -9
  1850. package/node_modules/side-channel-weakmap/.eslintrc +0 -12
  1851. package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  1852. package/node_modules/side-channel-weakmap/.nycrc +0 -13
  1853. package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  1854. package/node_modules/side-channel-weakmap/README.md +0 -62
  1855. package/node_modules/side-channel-weakmap/index.d.ts +0 -15
  1856. package/node_modules/side-channel-weakmap/test/index.js +0 -114
  1857. package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  1858. package/node_modules/statuses/HISTORY.md +0 -87
  1859. package/node_modules/statuses/README.md +0 -139
  1860. package/node_modules/toidentifier/HISTORY.md +0 -9
  1861. package/node_modules/toidentifier/README.md +0 -61
  1862. package/node_modules/type-is/HISTORY.md +0 -292
  1863. package/node_modules/type-is/README.md +0 -198
  1864. package/node_modules/type-is/node_modules/content-type/README.md +0 -71
  1865. package/node_modules/type-is/node_modules/content-type/dist/index.d.ts +0 -46
  1866. package/node_modules/type-is/node_modules/content-type/dist/index.js.map +0 -1
  1867. package/node_modules/unpipe/HISTORY.md +0 -4
  1868. package/node_modules/unpipe/README.md +0 -43
  1869. package/node_modules/vary/HISTORY.md +0 -39
  1870. package/node_modules/vary/README.md +0 -101
  1871. package/node_modules/vscode-jsonrpc/README.md +0 -54
  1872. package/node_modules/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
  1873. package/node_modules/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
  1874. package/node_modules/vscode-jsonrpc/lib/common/api.d.ts +0 -14
  1875. package/node_modules/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
  1876. package/node_modules/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
  1877. package/node_modules/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
  1878. package/node_modules/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
  1879. package/node_modules/vscode-jsonrpc/lib/common/events.d.ts +0 -39
  1880. package/node_modules/vscode-jsonrpc/lib/common/is.d.ts +0 -7
  1881. package/node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
  1882. package/node_modules/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
  1883. package/node_modules/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
  1884. package/node_modules/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
  1885. package/node_modules/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
  1886. package/node_modules/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
  1887. package/node_modules/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
  1888. package/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
  1889. package/node_modules/vscode-jsonrpc/lib/node/main.d.ts +0 -59
  1890. package/node_modules/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
  1891. package/node_modules/vscode-jsonrpc/tsconfig.tsbuildinfo +0 -1
  1892. package/node_modules/vscode-jsonrpc/typings/thenable.d.ts +0 -5
  1893. package/node_modules/which/CHANGELOG.md +0 -166
  1894. package/node_modules/which/README.md +0 -54
  1895. package/node_modules/wrappy/README.md +0 -36
  1896. package/node_modules/wsl-utils/index.d.ts +0 -180
  1897. package/node_modules/wsl-utils/readme.md +0 -223
  1898. package/node_modules/zod/README.md +0 -218
  1899. package/node_modules/zod/src/compile.ts +0 -56
  1900. package/node_modules/zod/src/index.ts +0 -7
  1901. package/node_modules/zod/src/locales/index.ts +0 -1
  1902. package/node_modules/zod/src/mini/index.ts +0 -3
  1903. package/node_modules/zod/src/v3/ZodError.ts +0 -340
  1904. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  1905. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  1906. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  1907. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  1908. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  1909. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  1910. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  1911. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  1912. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  1913. package/node_modules/zod/src/v3/errors.ts +0 -13
  1914. package/node_modules/zod/src/v3/external.ts +0 -6
  1915. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  1916. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  1917. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  1918. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  1919. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  1920. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  1921. package/node_modules/zod/src/v3/index.ts +0 -4
  1922. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  1923. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  1924. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  1925. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  1926. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  1927. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  1928. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  1929. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  1930. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  1931. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  1932. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  1933. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  1934. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  1935. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  1936. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  1937. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  1938. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  1939. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  1940. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  1941. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  1942. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  1943. package/node_modules/zod/src/v3/tests/error.test.ts +0 -586
  1944. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  1945. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  1946. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  1947. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  1948. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  1949. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
  1950. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  1951. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
  1952. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  1953. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  1954. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  1955. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  1956. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  1957. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  1958. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  1959. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  1960. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  1961. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  1962. package/node_modules/zod/src/v3/tests/object.test.ts +0 -431
  1963. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  1964. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  1965. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  1966. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  1967. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  1968. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  1969. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  1970. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  1971. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  1972. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
  1973. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  1974. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  1975. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  1976. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  1977. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  1978. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  1979. package/node_modules/zod/src/v3/tests/string.test.ts +0 -922
  1980. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  1981. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  1982. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  1983. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  1984. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  1985. package/node_modules/zod/src/v3/types.ts +0 -5138
  1986. package/node_modules/zod/src/v4/classic/checks.ts +0 -33
  1987. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  1988. package/node_modules/zod/src/v4/classic/compat.ts +0 -78
  1989. package/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
  1990. package/node_modules/zod/src/v4/classic/errors.ts +0 -97
  1991. package/node_modules/zod/src/v4/classic/external.ts +0 -57
  1992. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
  1993. package/node_modules/zod/src/v4/classic/in-out.ts +0 -45
  1994. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  1995. package/node_modules/zod/src/v4/classic/iso.ts +0 -20
  1996. package/node_modules/zod/src/v4/classic/parse.ts +0 -88
  1997. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
  1998. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  1999. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
  2000. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -291
  2001. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
  2002. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  2003. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  2004. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  2005. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
  2006. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  2007. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
  2008. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  2009. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
  2010. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
  2011. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  2012. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  2013. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
  2014. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  2015. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
  2016. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
  2017. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
  2018. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
  2019. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
  2020. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
  2021. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  2022. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  2023. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
  2024. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
  2025. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
  2026. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
  2027. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
  2028. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  2029. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  2030. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  2031. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
  2032. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
  2033. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  2034. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
  2035. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
  2036. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
  2037. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
  2038. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
  2039. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
  2040. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
  2041. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
  2042. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
  2043. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
  2044. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  2045. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
  2046. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
  2047. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  2048. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  2049. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -349
  2050. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  2051. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  2052. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  2053. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  2054. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
  2055. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
  2056. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
  2057. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
  2058. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
  2059. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  2060. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  2061. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
  2062. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
  2063. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  2064. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  2065. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  2066. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
  2067. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  2068. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
  2069. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
  2070. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
  2071. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
  2072. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
  2073. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  2074. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -196
  2075. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
  2076. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  2077. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
  2078. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
  2079. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
  2080. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  2081. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
  2082. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  2083. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
  2084. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
  2085. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  2086. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
  2087. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  2088. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  2089. package/node_modules/zod/src/v4/core/api.ts +0 -1875
  2090. package/node_modules/zod/src/v4/core/checks.ts +0 -1266
  2091. package/node_modules/zod/src/v4/core/compile.ts +0 -2322
  2092. package/node_modules/zod/src/v4/core/core.ts +0 -230
  2093. package/node_modules/zod/src/v4/core/doc.ts +0 -52
  2094. package/node_modules/zod/src/v4/core/errors.ts +0 -543
  2095. package/node_modules/zod/src/v4/core/index.ts +0 -19
  2096. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
  2097. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
  2098. package/node_modules/zod/src/v4/core/json-schema.ts +0 -148
  2099. package/node_modules/zod/src/v4/core/memoizer.ts +0 -331
  2100. package/node_modules/zod/src/v4/core/parse.ts +0 -309
  2101. package/node_modules/zod/src/v4/core/regexes.ts +0 -217
  2102. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  2103. package/node_modules/zod/src/v4/core/schemas.ts +0 -5226
  2104. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  2105. package/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
  2106. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
  2107. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
  2108. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
  2109. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
  2110. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
  2111. package/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
  2112. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
  2113. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  2114. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  2115. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  2116. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
  2117. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  2118. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
  2119. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  2120. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  2121. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  2122. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  2123. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
  2124. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  2125. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
  2126. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
  2127. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  2128. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  2129. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
  2130. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  2131. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  2132. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
  2133. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
  2134. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
  2135. package/node_modules/zod/src/v4/core/util.ts +0 -1293
  2136. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  2137. package/node_modules/zod/src/v4/core/visit.ts +0 -193
  2138. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  2139. package/node_modules/zod/src/v4/index.ts +0 -4
  2140. package/node_modules/zod/src/v4/locales/ar.ts +0 -120
  2141. package/node_modules/zod/src/v4/locales/az.ts +0 -116
  2142. package/node_modules/zod/src/v4/locales/be.ts +0 -188
  2143. package/node_modules/zod/src/v4/locales/bg.ts +0 -133
  2144. package/node_modules/zod/src/v4/locales/bn.ts +0 -123
  2145. package/node_modules/zod/src/v4/locales/ca.ts +0 -121
  2146. package/node_modules/zod/src/v4/locales/ckb.ts +0 -140
  2147. package/node_modules/zod/src/v4/locales/cs.ts +0 -123
  2148. package/node_modules/zod/src/v4/locales/da.ts +0 -128
  2149. package/node_modules/zod/src/v4/locales/de.ts +0 -121
  2150. package/node_modules/zod/src/v4/locales/el.ts +0 -124
  2151. package/node_modules/zod/src/v4/locales/en.ts +0 -136
  2152. package/node_modules/zod/src/v4/locales/eo.ts +0 -123
  2153. package/node_modules/zod/src/v4/locales/es.ts +0 -145
  2154. package/node_modules/zod/src/v4/locales/fa.ts +0 -131
  2155. package/node_modules/zod/src/v4/locales/fi.ts +0 -126
  2156. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
  2157. package/node_modules/zod/src/v4/locales/fr.ts +0 -139
  2158. package/node_modules/zod/src/v4/locales/gu.ts +0 -123
  2159. package/node_modules/zod/src/v4/locales/he.ts +0 -253
  2160. package/node_modules/zod/src/v4/locales/hi.ts +0 -126
  2161. package/node_modules/zod/src/v4/locales/hr.ts +0 -135
  2162. package/node_modules/zod/src/v4/locales/hu.ts +0 -122
  2163. package/node_modules/zod/src/v4/locales/hy.ts +0 -175
  2164. package/node_modules/zod/src/v4/locales/id.ts +0 -120
  2165. package/node_modules/zod/src/v4/locales/index.ts +0 -63
  2166. package/node_modules/zod/src/v4/locales/is.ts +0 -124
  2167. package/node_modules/zod/src/v4/locales/it.ts +0 -121
  2168. package/node_modules/zod/src/v4/locales/ja.ts +0 -119
  2169. package/node_modules/zod/src/v4/locales/ka.ts +0 -128
  2170. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  2171. package/node_modules/zod/src/v4/locales/km.ts +0 -124
  2172. package/node_modules/zod/src/v4/locales/kn.ts +0 -126
  2173. package/node_modules/zod/src/v4/locales/ko.ts +0 -126
  2174. package/node_modules/zod/src/v4/locales/lt.ts +0 -243
  2175. package/node_modules/zod/src/v4/locales/mk.ts +0 -123
  2176. package/node_modules/zod/src/v4/locales/ms.ts +0 -120
  2177. package/node_modules/zod/src/v4/locales/ne.ts +0 -128
  2178. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  2179. package/node_modules/zod/src/v4/locales/nn.ts +0 -121
  2180. package/node_modules/zod/src/v4/locales/no.ts +0 -121
  2181. package/node_modules/zod/src/v4/locales/ota.ts +0 -122
  2182. package/node_modules/zod/src/v4/locales/pl.ts +0 -123
  2183. package/node_modules/zod/src/v4/locales/ps.ts +0 -131
  2184. package/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
  2185. package/node_modules/zod/src/v4/locales/pt.ts +0 -159
  2186. package/node_modules/zod/src/v4/locales/ro.ts +0 -132
  2187. package/node_modules/zod/src/v4/locales/ru.ts +0 -188
  2188. package/node_modules/zod/src/v4/locales/sk.ts +0 -123
  2189. package/node_modules/zod/src/v4/locales/sl.ts +0 -123
  2190. package/node_modules/zod/src/v4/locales/sv.ts +0 -124
  2191. package/node_modules/zod/src/v4/locales/ta.ts +0 -123
  2192. package/node_modules/zod/src/v4/locales/tg.ts +0 -135
  2193. package/node_modules/zod/src/v4/locales/th.ts +0 -124
  2194. package/node_modules/zod/src/v4/locales/tk.ts +0 -113
  2195. package/node_modules/zod/src/v4/locales/tr.ts +0 -116
  2196. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  2197. package/node_modules/zod/src/v4/locales/uk.ts +0 -122
  2198. package/node_modules/zod/src/v4/locales/ur.ts +0 -124
  2199. package/node_modules/zod/src/v4/locales/uz.ts +0 -120
  2200. package/node_modules/zod/src/v4/locales/vi.ts +0 -122
  2201. package/node_modules/zod/src/v4/locales/yo.ts +0 -129
  2202. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
  2203. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
  2204. package/node_modules/zod/src/v4/mini/checks.ts +0 -33
  2205. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  2206. package/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
  2207. package/node_modules/zod/src/v4/mini/external.ts +0 -52
  2208. package/node_modules/zod/src/v4/mini/in-out.ts +0 -45
  2209. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  2210. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  2211. package/node_modules/zod/src/v4/mini/parse.ts +0 -16
  2212. package/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
  2213. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
  2214. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
  2215. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  2216. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
  2217. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
  2218. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
  2219. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
  2220. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
  2221. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
  2222. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
  2223. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
  2224. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
  2225. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
  2226. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  2227. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
  2228. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  2229. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
  2230. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  2231. package/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
  2232. package/node_modules/zod-to-json-schema/.github/FUNDING.yml +0 -1
  2233. package/node_modules/zod-to-json-schema/.prettierrc.json +0 -1
  2234. package/node_modules/zod-to-json-schema/README.md +0 -390
  2235. package/node_modules/zod-to-json-schema/changelog.md +0 -83
  2236. package/node_modules/zod-to-json-schema/contributing.md +0 -9
  2237. package/node_modules/zod-to-json-schema/createIndex.ts +0 -32
  2238. package/node_modules/zod-to-json-schema/dist/types/Options.d.ts +0 -37
  2239. package/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +0 -17
  2240. package/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +0 -15
  2241. package/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +0 -1
  2242. package/node_modules/zod-to-json-schema/dist/types/index.d.ts +0 -40
  2243. package/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +0 -4
  2244. package/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +0 -34
  2245. package/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +0 -5
  2246. package/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +0 -12
  2247. package/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +0 -14
  2248. package/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +0 -4
  2249. package/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +0 -3
  2250. package/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +0 -3
  2251. package/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +0 -15
  2252. package/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +0 -6
  2253. package/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +0 -4
  2254. package/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +0 -6
  2255. package/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +0 -8
  2256. package/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +0 -9
  2257. package/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +0 -15
  2258. package/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +0 -6
  2259. package/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +0 -6
  2260. package/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +0 -5
  2261. package/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +0 -10
  2262. package/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +0 -13
  2263. package/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +0 -10
  2264. package/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +0 -4
  2265. package/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +0 -5
  2266. package/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +0 -4
  2267. package/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +0 -3
  2268. package/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +0 -13
  2269. package/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +0 -13
  2270. package/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +0 -73
  2271. package/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +0 -13
  2272. package/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +0 -6
  2273. package/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +0 -23
  2274. package/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +0 -4
  2275. package/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +0 -5
  2276. package/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +0 -10
  2277. package/node_modules/zod-to-json-schema/postcjs.ts +0 -3
  2278. package/node_modules/zod-to-json-schema/postesm.ts +0 -3
  2279. package/vendor/rho-workspace-plugin-agent-0.4.25.tgz +0 -0
@@ -1,2937 +0,0 @@
1
- import type { $ZodBigIntFormats } from "../core/checks.js";
2
- import * as core from "../core/index.js";
3
- import { util, type $ZodNumberFormats } from "../core/index.js";
4
- import * as processors from "../core/json-schema-processors.js";
5
- import * as regexes from "../core/regexes.js";
6
- import type { StandardSchemaWithJSONProps } from "../core/standard-schema.js";
7
- import { createStandardJSONSchemaMethod, createToJSONSchemaMethod } from "../core/to-json-schema.js";
8
- import en from "../locales/en.js";
9
-
10
- import * as checks from "./checks.js";
11
- import * as parse from "./parse.js";
12
-
13
- // Register English as the default locale on first ZodType construction. Hooked into the `ZodType` `$constructor` (rather than a top-level `config(en())` in `external.ts`) so bundlers honoring `sideEffects: false` can't tree-shake it out — see #5953, #5725. An explicit `z.config(z.locales.xx())` call wins regardless of order, since this only sets the default when none is present.
14
- function _ensureDefaultLocale(): void {
15
- if (!core.globalConfig.localeError) core.config(en());
16
- }
17
-
18
- // the default memoizer is read by the core container init, which runs before `ZodType.init`, so each container calls this first
19
- function _ensureDefaultMemoizer(): void {
20
- if (!core.globalConfig.memoizer) core.config({ memoizer: core.memoizer() });
21
- }
22
-
23
- // Methods live on each concrete constructor's prototype and materialize per instance on first access, so a schema only pays for what it is asked for.
24
-
25
- ///////////////////////////////////////////
26
- ///////////////////////////////////////////
27
- //////////// ////////////
28
- //////////// ZodType ////////////
29
- //////////// ////////////
30
- ///////////////////////////////////////////
31
- ///////////////////////////////////////////
32
-
33
- export type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;
34
- export interface ZodType<
35
- out Output = unknown,
36
- out Input = unknown,
37
- out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>,
38
- > extends core.$ZodType<Output, Input, Internals> {
39
- def: Internals["def"];
40
- type: Internals["def"]["type"];
41
-
42
- /** @deprecated Use `.def` instead. */
43
- _def: Internals["def"];
44
- /** @deprecated Use `z.output<typeof schema>` instead. */
45
- _output: Internals["output"];
46
- /** @deprecated Use `z.input<typeof schema>` instead. */
47
- _input: Internals["input"];
48
-
49
- "~standard": ZodStandardSchemaWithJSON<this>;
50
- /** Converts this schema to a JSON Schema representation. */
51
- toJSONSchema(params?: core.ToJSONSchemaParams): core.ZodStandardJSONSchemaPayload<this>;
52
-
53
- // base methods
54
- check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
55
- with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
56
- clone(def?: Internals["def"], params?: { parent: boolean }): this;
57
- register<R extends core.$ZodRegistry>(
58
- registry: R,
59
- ...meta: this extends R["_schema"]
60
- ? undefined extends R["_meta"]
61
- ? [core.$replace<R["_meta"], this>?]
62
- : [core.$replace<R["_meta"], this>]
63
- : ["Incompatible schema"]
64
- ): this;
65
-
66
- brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(
67
- value?: T
68
- ): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;
69
-
70
- // parsing
71
- parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
72
- safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;
73
- parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
74
- safeParseAsync(
75
- data: unknown,
76
- params?: core.ParseContext<core.$ZodIssue>
77
- ): Promise<parse.ZodSafeParseResult<core.output<this>>>;
78
- spa: (
79
- data: unknown,
80
- params?: core.ParseContext<core.$ZodIssue>
81
- ) => Promise<parse.ZodSafeParseResult<core.output<this>>>;
82
- validate(data: unknown, params?: core.ParseContext<core.$ZodIssue>): data is core.input<this>;
83
- validateAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<boolean>;
84
-
85
- // encoding/decoding
86
- encode(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): core.input<this>;
87
- decode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
88
- encodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.input<this>>;
89
- decodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
90
- safeEncode(
91
- data: core.output<this>,
92
- params?: core.ParseContext<core.$ZodIssue>
93
- ): parse.ZodSafeParseResult<core.input<this>>;
94
- safeDecode(
95
- data: core.input<this>,
96
- params?: core.ParseContext<core.$ZodIssue>
97
- ): parse.ZodSafeParseResult<core.output<this>>;
98
- safeEncodeAsync(
99
- data: core.output<this>,
100
- params?: core.ParseContext<core.$ZodIssue>
101
- ): Promise<parse.ZodSafeParseResult<core.input<this>>>;
102
- safeDecodeAsync(
103
- data: core.input<this>,
104
- params?: core.ParseContext<core.$ZodIssue>
105
- ): Promise<parse.ZodSafeParseResult<core.output<this>>>;
106
-
107
- // refinements
108
- refine<Ch extends (arg: core.output<this>) => unknown | Promise<unknown>>(
109
- check: Ch,
110
- params?: string | core.$ZodCustomParams
111
- ): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;
112
- superRefine(
113
- refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>,
114
- params?: core.$ZodSuperRefineParams
115
- ): this;
116
- overwrite(fn: (x: core.output<this>) => core.output<this>): this;
117
-
118
- // wrappers
119
- optional(): ZodOptional<this>;
120
- exactOptional(): ZodExactOptional<this>;
121
- nonoptional(params?: string | core.$ZodNonOptionalParams): ZodNonOptional<this>;
122
- nullable(): ZodNullable<this>;
123
- nullish(): ZodOptional<ZodNullable<this>>;
124
- default(def: util.NoUndefined<core.output<this>>): ZodDefault<this>;
125
- default(def: () => util.NoUndefined<core.output<this>>): ZodDefault<this>;
126
- prefault(def: () => core.input<this>): ZodPrefault<this>;
127
- prefault(def: core.input<this>): ZodPrefault<this>;
128
- array(): ZodArray<this>;
129
- or<T extends core.SomeType>(option: T): ZodUnion<[this, T]>;
130
- and<T extends core.SomeType>(incoming: T): ZodIntersection<this, T>;
131
- transform<NewOut>(
132
- transform: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => NewOut | Promise<NewOut>
133
- ): ZodPipe<this, ZodTransform<Awaited<NewOut>, core.output<this>>>;
134
- catch(def: core.output<this>): ZodCatch<this>;
135
- catch(def: (ctx: core.$ZodCatchCtx) => core.output<this>): ZodCatch<this>;
136
- pipe<T extends core.$ZodType<any, core.output<this>>>(
137
- target: T | core.$ZodType<any, core.output<this>>
138
- ): ZodPipe<this, T>;
139
- readonly(): ZodReadonly<this>;
140
-
141
- /** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
142
- describe(description: string): this;
143
- description?: string;
144
- /** Returns the metadata associated with this instance in `z.globalRegistry` */
145
- meta(): core.$replace<core.GlobalMeta, this> | undefined;
146
- /** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */
147
- meta(data: core.$replace<core.GlobalMeta, this>): this;
148
-
149
- // helpers
150
- /** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):
151
- *
152
- * ```ts
153
- * const schema = z.string().optional();
154
- * const isOptional = schema.safeParse(undefined).success; // true
155
- * ```
156
- */
157
- isOptional(): boolean;
158
- /**
159
- * @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):
160
- *
161
- * ```ts
162
- * const schema = z.string().nullable();
163
- * const isNullable = schema.safeParse(null).success; // true
164
- * ```
165
- */
166
- isNullable(): boolean;
167
- apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;
168
- }
169
-
170
- export interface _ZodType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals>
171
- extends ZodType<any, any, Internals> {}
172
-
173
- export const ZodType: core.$constructor<ZodType> = /*@__PURE__*/ core.$constructor<ZodType>(
174
- "ZodType",
175
- (inst, def) => {
176
- _ensureDefaultLocale();
177
- core.$ZodType.init(inst, def);
178
-
179
- inst.def = def;
180
- inst.type = def.type;
181
-
182
- return inst;
183
- },
184
- {
185
- check(...chks) {
186
- const def = this.def;
187
- return this.clone(
188
- util.mergeDefs(def, {
189
- checks: [
190
- ...(def.checks ?? []),
191
- ...chks.map((ch) =>
192
- typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch
193
- ),
194
- ],
195
- }),
196
- { parent: true }
197
- );
198
- },
199
- with(...chks) {
200
- return this.check(...chks);
201
- },
202
- clone(def, params) {
203
- return core.clone(this, def, params);
204
- },
205
- brand() {
206
- return this;
207
- },
208
- register(reg, meta) {
209
- reg.add(this, meta);
210
- return this;
211
- },
212
- refine(check, params) {
213
- return this.check(refine(check, params));
214
- },
215
- superRefine(refinement, params) {
216
- return this.check(superRefine(refinement, params));
217
- },
218
- overwrite(fn) {
219
- return this.check(checks.overwrite(fn));
220
- },
221
- optional() {
222
- return optional(this);
223
- },
224
- exactOptional() {
225
- return exactOptional(this);
226
- },
227
- nullable() {
228
- return nullable(this);
229
- },
230
- nullish() {
231
- return optional(nullable(this));
232
- },
233
- nonoptional(params) {
234
- return nonoptional(this, params);
235
- },
236
- array() {
237
- return array(this);
238
- },
239
- or(arg) {
240
- return union([this, arg]);
241
- },
242
- and(arg) {
243
- return intersection(this, arg);
244
- },
245
- transform(tx) {
246
- return pipe(this, transform(tx));
247
- },
248
- default(d) {
249
- return _default(this, d);
250
- },
251
- prefault(d) {
252
- return prefault(this, d);
253
- },
254
- catch(params) {
255
- return _catch(this, params);
256
- },
257
- pipe(target) {
258
- return pipe(this, target);
259
- },
260
- readonly() {
261
- return readonly(this);
262
- },
263
- describe(description) {
264
- const cl = this.clone();
265
- core.globalRegistry.add(cl, { description });
266
- return cl;
267
- },
268
- meta(...args: any[]): any {
269
- // overloaded: meta() returns the registered metadata, meta(data) returns a clone with `data` registered. The mapped type picks up the second overload, so we accept variadic any-args and return `any` to satisfy both at runtime.
270
- if (args.length === 0) return core.globalRegistry.get(this);
271
- const cl = this.clone();
272
- core.globalRegistry.add(cl, args[0]);
273
- return cl;
274
- },
275
- isOptional() {
276
- return this.safeParse(undefined).success;
277
- },
278
- isNullable() {
279
- return this.safeParse(null).success;
280
- },
281
- apply(fn, ...args) {
282
- return args.length === 0 ? fn(this) : fn(this, ...args);
283
- },
284
- // Overrides core's `~standard` to add `jsonSchema`. Must stay a prototype entry: redefining it per instance demotes instances to dictionary mode.
285
- get "~standard"(): ZodType["~standard"] {
286
- return util.hide(this, "~standard", {
287
- ...core.standardProps(this),
288
- jsonSchema: {
289
- input: createStandardJSONSchemaMethod(this, "input"),
290
- output: createStandardJSONSchemaMethod(this, "output"),
291
- },
292
- } as ZodType["~standard"]);
293
- },
294
- set "~standard"(value: ZodType["~standard"]) {
295
- util.own(this, "~standard", value);
296
- },
297
- parse: function _parse(data, params) {
298
- return parse.parse(this, data, params, { callee: _parse });
299
- },
300
- parseAsync: async function _parseAsync(data, params) {
301
- return await parse.parseAsync(this, data, params, { callee: _parseAsync });
302
- },
303
- safeParse(data, params) {
304
- return parse.safeParse(this, data, params);
305
- },
306
- async safeParseAsync(data, params) {
307
- return parse.safeParseAsync(this, data, params);
308
- },
309
- // `spa` is an alias: same function object as `safeParseAsync`, as before.
310
- get spa(): ZodType["safeParseAsync"] {
311
- return this?.safeParseAsync;
312
- },
313
- set spa(value: ZodType["safeParseAsync"]) {
314
- util.own(this, "spa", value);
315
- },
316
- validate(data, params) {
317
- return parse.validate(this, data, params);
318
- },
319
- validateAsync(data, params) {
320
- return parse.validateAsync(this, data, params);
321
- },
322
- encode: function _encode(data, params) {
323
- return parse.encode(this, data, params, { callee: _encode });
324
- },
325
- decode: function _decode(data, params) {
326
- return parse.decode(this, data, params, { callee: _decode });
327
- },
328
- encodeAsync: async function _encodeAsync(data, params) {
329
- return await parse.encodeAsync(this, data, params, { callee: _encodeAsync });
330
- },
331
- decodeAsync: async function _decodeAsync(data, params) {
332
- return await parse.decodeAsync(this, data, params, { callee: _decodeAsync });
333
- },
334
- safeEncode(data, params) {
335
- return parse.safeEncode(this, data, params);
336
- },
337
- safeDecode(data, params) {
338
- return parse.safeDecode(this, data, params);
339
- },
340
- async safeEncodeAsync(data, params) {
341
- return parse.safeEncodeAsync(this, data, params);
342
- },
343
- async safeDecodeAsync(data, params) {
344
- return parse.safeDecodeAsync(this, data, params);
345
- },
346
- toJSONSchema(params) {
347
- return createToJSONSchemaMethod(this, {})(params);
348
- },
349
- // Reads through to the registry on every access, so it must not cache.
350
- get description(): string | undefined {
351
- return core.globalRegistry.get(this as unknown as ZodType)?.description;
352
- },
353
- // No setter: `schema._def = x` throws, as it did when `_def` was a non-writable own property.
354
- get _def(): core.$ZodTypeDef {
355
- return (this as unknown as ZodType)._zod.def;
356
- },
357
- }
358
- );
359
-
360
- // ZodString
361
- export interface _ZodString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>>
362
- extends _ZodType<T> {
363
- format: string | null;
364
- minLength: number | null;
365
- maxLength: number | null;
366
-
367
- // miscellaneous checks
368
- regex(regex: RegExp, params?: string | core.$ZodCheckRegexParams): this;
369
- includes(value: string, params?: string | core.$ZodCheckIncludesParams): this;
370
- startsWith(value: string, params?: string | core.$ZodCheckStartsWithParams): this;
371
- endsWith(value: string, params?: string | core.$ZodCheckEndsWithParams): this;
372
- min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
373
- max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
374
- length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
375
- nonempty(params?: string | core.$ZodCheckMinLengthParams): this;
376
- lowercase(params?: string | core.$ZodCheckLowerCaseParams): this;
377
- uppercase(params?: string | core.$ZodCheckUpperCaseParams): this;
378
-
379
- // transforms
380
- trim(): this;
381
- normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): this;
382
- toLowerCase(): this;
383
- toUpperCase(): this;
384
- slugify(): this;
385
- }
386
-
387
- /** @internal */
388
- export const _ZodString: core.$constructor<_ZodString> = /*@__PURE__*/ core.$constructor<_ZodString>(
389
- "_ZodString",
390
- (inst, def) => {
391
- core.$ZodString.init(inst, def);
392
- ZodType.init(inst, def);
393
-
394
- inst._zod.processJSONSchema = (ctx, json, params) => processors.stringProcessor(inst, ctx, json, params);
395
- },
396
- /*@__PURE__*/ util.derived<_ZodString>(
397
- {
398
- format: (inst) => processors.aggregateChecks(inst).format ?? null,
399
- minLength: (inst) => processors.aggregateChecks<number>(inst).minimum ?? null,
400
- maxLength: (inst) => processors.aggregateChecks<number>(inst).maximum ?? null,
401
- },
402
- {
403
- regex(...args) {
404
- return this.check((checks.regex as any)(...args));
405
- },
406
- includes(...args) {
407
- return this.check((checks.includes as any)(...args));
408
- },
409
- startsWith(...args) {
410
- return this.check((checks.startsWith as any)(...args));
411
- },
412
- endsWith(...args) {
413
- return this.check((checks.endsWith as any)(...args));
414
- },
415
- min(...args) {
416
- return this.check((checks.minLength as any)(...args));
417
- },
418
- max(...args) {
419
- return this.check((checks.maxLength as any)(...args));
420
- },
421
- length(...args) {
422
- return this.check((checks.length as any)(...args));
423
- },
424
- nonempty(...args) {
425
- return this.check((checks.minLength as any)(1, ...args));
426
- },
427
- lowercase(params) {
428
- return this.check(checks.lowercase(params));
429
- },
430
- uppercase(params) {
431
- return this.check(checks.uppercase(params));
432
- },
433
- trim() {
434
- return this.check(checks.trim());
435
- },
436
- normalize(...args) {
437
- return this.check(checks.normalize(...args));
438
- },
439
- toLowerCase() {
440
- return this.check(checks.toLowerCase());
441
- },
442
- toUpperCase() {
443
- return this.check(checks.toUpperCase());
444
- },
445
- slugify() {
446
- return this.check(checks.slugify());
447
- },
448
- }
449
- )
450
- );
451
-
452
- export interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {
453
- // string format checks
454
-
455
- /** @deprecated Use `z.email()` instead. */
456
- email(params?: string | core.$ZodCheckEmailParams): this;
457
- /** @deprecated Use `z.url()` instead. */
458
- url(params?: string | core.$ZodCheckURLParams): this;
459
- /** @deprecated Use `z.jwt()` instead. */
460
- jwt(params?: string | core.$ZodCheckJWTParams): this;
461
- /** @deprecated Use `z.emoji()` instead. */
462
- emoji(params?: string | core.$ZodCheckEmojiParams): this;
463
- /** @deprecated Use `z.guid()` instead. */
464
- guid(params?: string | core.$ZodCheckGUIDParams): this;
465
- /** @deprecated Use `z.uuid()` instead. */
466
- uuid(params?: string | core.$ZodCheckUUIDParams): this;
467
- /** @deprecated Use `z.uuid()` instead. */
468
- uuidv4(params?: string | core.$ZodCheckUUIDParams): this;
469
- /** @deprecated Use `z.uuid()` instead. */
470
- uuidv6(params?: string | core.$ZodCheckUUIDParams): this;
471
- /** @deprecated Use `z.uuid()` instead. */
472
- uuidv7(params?: string | core.$ZodCheckUUIDParams): this;
473
- /** @deprecated Use `z.nanoid()` instead. */
474
- nanoid(params?: string | core.$ZodCheckNanoIDParams): this;
475
- /** @deprecated Use `z.guid()` instead. */
476
- guid(params?: string | core.$ZodCheckGUIDParams): this;
477
- /**
478
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
479
- * (timestamps embedded in the id). Use `z.cuid2()` instead.
480
- * See https://github.com/paralleldrive/cuid.
481
- */
482
- cuid(params?: string | core.$ZodCheckCUIDParams): this;
483
- /** @deprecated Use `z.cuid2()` instead. */
484
- cuid2(params?: string | core.$ZodCheckCUID2Params): this;
485
- /** @deprecated Use `z.ulid()` instead. */
486
- ulid(params?: string | core.$ZodCheckULIDParams): this;
487
- /** @deprecated Use `z.base64()` instead. */
488
- base64(params?: string | core.$ZodCheckBase64Params): this;
489
- /** @deprecated Use `z.base64url()` instead. */
490
- base64url(params?: string | core.$ZodCheckBase64URLParams): this;
491
- // /** @deprecated Use `z.jsonString()` instead. */
492
- // jsonString(params?: string | core.$ZodCheckJSONStringParams): this;
493
- /** @deprecated Use `z.xid()` instead. */
494
- xid(params?: string | core.$ZodCheckXIDParams): this;
495
- /** @deprecated Use `z.ksuid()` instead. */
496
- ksuid(params?: string | core.$ZodCheckKSUIDParams): this;
497
- // /** @deprecated Use `z.ipv4()` or `z.ipv6()` instead. */
498
- // ip(params?: string | (core.$ZodCheckIPv4Params & { version?: "v4" | "v6" })): ZodUnion<[this, this]>;
499
- /** @deprecated Use `z.ipv4()` instead. */
500
- ipv4(params?: string | core.$ZodCheckIPv4Params): this;
501
- /** @deprecated Use `z.ipv6()` instead. */
502
- ipv6(params?: string | core.$ZodCheckIPv6Params): this;
503
- /** @deprecated Use `z.cidrv4()` instead. */
504
- cidrv4(params?: string | core.$ZodCheckCIDRv4Params): this;
505
- /** @deprecated Use `z.cidrv6()` instead. */
506
- cidrv6(params?: string | core.$ZodCheckCIDRv6Params): this;
507
- /** @deprecated Use `z.e164()` instead. */
508
- e164(params?: string | core.$ZodCheckE164Params): this;
509
-
510
- // ISO 8601 checks
511
- /** @deprecated Use `z.iso.datetime()` instead. */
512
- datetime(params?: string | core.$ZodCheckISODateTimeParams): this;
513
- /** @deprecated Use `z.iso.date()` instead. */
514
- date(params?: string | core.$ZodCheckISODateParams): this;
515
- /** @deprecated Use `z.iso.time()` instead. */
516
- time(
517
- params?:
518
- | string
519
- // | {
520
- // message?: string | undefined;
521
- // precision?: number | null;
522
- // }
523
- | core.$ZodCheckISOTimeParams
524
- ): this;
525
- /** @deprecated Use `z.iso.duration()` instead. */
526
- duration(params?: string | core.$ZodCheckISODurationParams): this;
527
- }
528
-
529
- export const ZodString: core.$constructor<ZodString> = /*@__PURE__*/ core.$constructor<ZodString>(
530
- "ZodString",
531
- (inst, def) => {
532
- core.$ZodString.init(inst, def);
533
- _ZodString.init(inst, def);
534
- },
535
- {
536
- email(params) {
537
- return this.check(core._email(ZodEmail, params));
538
- },
539
- url(params) {
540
- return this.check(core._url(ZodURL, params));
541
- },
542
- jwt(params) {
543
- return this.check(core._jwt(ZodJWT, params));
544
- },
545
- emoji(params) {
546
- return this.check(core._emoji(ZodEmoji, params));
547
- },
548
- guid(params) {
549
- return this.check(core._guid(ZodGUID, params));
550
- },
551
- uuid(params) {
552
- return this.check(core._uuid(ZodUUID, params));
553
- },
554
- uuidv4(params) {
555
- return this.check(core._uuidv4(ZodUUID, params));
556
- },
557
- uuidv6(params) {
558
- return this.check(core._uuidv6(ZodUUID, params));
559
- },
560
- uuidv7(params) {
561
- return this.check(core._uuidv7(ZodUUID, params));
562
- },
563
- nanoid(params) {
564
- return this.check(core._nanoid(ZodNanoID, params));
565
- },
566
- cuid(params) {
567
- return this.check(core._cuid(ZodCUID, params));
568
- },
569
- cuid2(params) {
570
- return this.check(core._cuid2(ZodCUID2, params));
571
- },
572
- ulid(params) {
573
- return this.check(core._ulid(ZodULID, params));
574
- },
575
- base64(params) {
576
- return this.check(core._base64(ZodBase64, params));
577
- },
578
- base64url(params) {
579
- return this.check(core._base64url(ZodBase64URL, params));
580
- },
581
- xid(params) {
582
- return this.check(core._xid(ZodXID, params));
583
- },
584
- ksuid(params) {
585
- return this.check(core._ksuid(ZodKSUID, params));
586
- },
587
- ipv4(params) {
588
- return this.check(core._ipv4(ZodIPv4, params));
589
- },
590
- ipv6(params) {
591
- return this.check(core._ipv6(ZodIPv6, params));
592
- },
593
- cidrv4(params) {
594
- return this.check(core._cidrv4(ZodCIDRv4, params));
595
- },
596
- cidrv6(params) {
597
- return this.check(core._cidrv6(ZodCIDRv6, params));
598
- },
599
- e164(params) {
600
- return this.check(core._e164(ZodE164, params));
601
- },
602
- datetime(params) {
603
- return this.check(core._isoDateTime(ZodISODateTime, params as any));
604
- },
605
- date(params) {
606
- return this.check(core._isoDate(ZodISODate, params as any));
607
- },
608
- time(params) {
609
- return this.check(core._isoTime(ZodISOTime, params as any));
610
- },
611
- duration(params) {
612
- return this.check(core._isoDuration(ZodISODuration, params as any));
613
- },
614
- }
615
- );
616
-
617
- export function string(params?: string | core.$ZodStringParams): ZodString;
618
- export function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;
619
- export function string(params?: string | core.$ZodStringParams): ZodString {
620
- return core._string(ZodString, params);
621
- }
622
-
623
- // ZodStringFormat
624
- export interface ZodStringFormat<Format extends string = string>
625
- extends _ZodString<core.$ZodStringFormatInternals<Format>> {}
626
- export const ZodStringFormat: core.$constructor<ZodStringFormat> = /*@__PURE__*/ core.$constructor(
627
- "ZodStringFormat",
628
- (inst, def) => {
629
- core.$ZodStringFormat.init(inst, def);
630
- _ZodString.init(inst, def);
631
- }
632
- );
633
-
634
- //////////////////////////////////////////////
635
- //////////////////////////////////////////////
636
- ////////// //////////
637
- ////////// ZodISODateTime //////////
638
- ////////// //////////
639
- //////////////////////////////////////////////
640
- //////////////////////////////////////////////
641
- export interface ZodISODateTime extends ZodStringFormat {
642
- _zod: core.$ZodISODateTimeInternals;
643
- }
644
- export const ZodISODateTime: core.$constructor<ZodISODateTime> = /*@__PURE__*/ core.$constructor(
645
- "ZodISODateTime",
646
- (inst, def) => {
647
- core.$ZodISODateTime.init(inst, def);
648
- ZodStringFormat.init(inst, def);
649
- }
650
- );
651
-
652
- //////////////////////////////////////////
653
- //////////////////////////////////////////
654
- ////////// //////////
655
- ////////// ZodISODate //////////
656
- ////////// //////////
657
- //////////////////////////////////////////
658
- //////////////////////////////////////////
659
- export interface ZodISODate extends ZodStringFormat {
660
- _zod: core.$ZodISODateInternals;
661
- }
662
- export const ZodISODate: core.$constructor<ZodISODate> = /*@__PURE__*/ core.$constructor("ZodISODate", (inst, def) => {
663
- core.$ZodISODate.init(inst, def);
664
- ZodStringFormat.init(inst, def);
665
- });
666
-
667
- //////////////////////////////////////////
668
- //////////////////////////////////////////
669
- ////////// //////////
670
- ////////// ZodISOTime //////////
671
- ////////// //////////
672
- //////////////////////////////////////////
673
- //////////////////////////////////////////
674
- export interface ZodISOTime extends ZodStringFormat {
675
- _zod: core.$ZodISOTimeInternals;
676
- }
677
- export const ZodISOTime: core.$constructor<ZodISOTime> = /*@__PURE__*/ core.$constructor("ZodISOTime", (inst, def) => {
678
- core.$ZodISOTime.init(inst, def);
679
- ZodStringFormat.init(inst, def);
680
- });
681
-
682
- //////////////////////////////////////////////
683
- //////////////////////////////////////////////
684
- ////////// //////////
685
- ////////// ZodISODuration //////////
686
- ////////// //////////
687
- //////////////////////////////////////////////
688
- //////////////////////////////////////////////
689
- export interface ZodISODuration extends ZodStringFormat {
690
- _zod: core.$ZodISODurationInternals;
691
- }
692
- export const ZodISODuration: core.$constructor<ZodISODuration> = /*@__PURE__*/ core.$constructor(
693
- "ZodISODuration",
694
- (inst, def) => {
695
- core.$ZodISODuration.init(inst, def);
696
- ZodStringFormat.init(inst, def);
697
- }
698
- );
699
-
700
- // ZodEmail
701
- export interface ZodEmail extends ZodStringFormat<"email"> {
702
- _zod: core.$ZodEmailInternals;
703
- }
704
- export const ZodEmail: core.$constructor<ZodEmail> = /*@__PURE__*/ core.$constructor("ZodEmail", (inst, def) => {
705
- // ZodStringFormat.init(inst, def);
706
- core.$ZodEmail.init(inst, def);
707
- ZodStringFormat.init(inst, def);
708
- });
709
-
710
- export function email(params?: string | core.$ZodEmailParams): ZodEmail {
711
- return core._email(ZodEmail, params);
712
- }
713
-
714
- // ZodGUID
715
- export interface ZodGUID extends ZodStringFormat<"guid"> {
716
- _zod: core.$ZodGUIDInternals;
717
- }
718
- export const ZodGUID: core.$constructor<ZodGUID> = /*@__PURE__*/ core.$constructor("ZodGUID", (inst, def) => {
719
- // ZodStringFormat.init(inst, def);
720
- core.$ZodGUID.init(inst, def);
721
- ZodStringFormat.init(inst, def);
722
- });
723
-
724
- export function guid(params?: string | core.$ZodGUIDParams): ZodGUID {
725
- return core._guid(ZodGUID, params);
726
- }
727
-
728
- // ZodUUID
729
- export interface ZodUUID extends ZodStringFormat<"uuid"> {
730
- _zod: core.$ZodUUIDInternals;
731
- }
732
- export const ZodUUID: core.$constructor<ZodUUID> = /*@__PURE__*/ core.$constructor("ZodUUID", (inst, def) => {
733
- // ZodStringFormat.init(inst, def);
734
- core.$ZodUUID.init(inst, def);
735
- ZodStringFormat.init(inst, def);
736
- });
737
-
738
- export function uuid(params?: string | core.$ZodUUIDParams): ZodUUID {
739
- return core._uuid(ZodUUID, params);
740
- }
741
-
742
- export function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodUUID {
743
- return core._uuidv4(ZodUUID, params);
744
- }
745
-
746
- // ZodUUIDv6
747
-
748
- export function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodUUID {
749
- return core._uuidv6(ZodUUID, params);
750
- }
751
-
752
- // ZodUUIDv7
753
-
754
- export function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodUUID {
755
- return core._uuidv7(ZodUUID, params);
756
- }
757
-
758
- // ZodURL
759
- export interface ZodURL extends ZodStringFormat<"url"> {
760
- _zod: core.$ZodURLInternals;
761
- }
762
- export const ZodURL: core.$constructor<ZodURL> = /*@__PURE__*/ core.$constructor("ZodURL", (inst, def) => {
763
- // ZodStringFormat.init(inst, def);
764
- core.$ZodURL.init(inst, def);
765
- ZodStringFormat.init(inst, def);
766
- });
767
-
768
- export function url(params?: string | core.$ZodURLParams): ZodURL {
769
- return core._url(ZodURL, params);
770
- }
771
-
772
- export function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodURL {
773
- return core._url(ZodURL, {
774
- protocol: regexes.httpProtocol,
775
- hostname: regexes.domain,
776
- ...util.normalizeParams(params),
777
- });
778
- }
779
-
780
- // ZodEmoji
781
- export interface ZodEmoji extends ZodStringFormat<"emoji"> {
782
- _zod: core.$ZodEmojiInternals;
783
- }
784
- export const ZodEmoji: core.$constructor<ZodEmoji> = /*@__PURE__*/ core.$constructor("ZodEmoji", (inst, def) => {
785
- // ZodStringFormat.init(inst, def);
786
- core.$ZodEmoji.init(inst, def);
787
- ZodStringFormat.init(inst, def);
788
- });
789
-
790
- export function emoji(params?: string | core.$ZodEmojiParams): ZodEmoji {
791
- return core._emoji(ZodEmoji, params);
792
- }
793
-
794
- // ZodNanoID
795
- export interface ZodNanoID extends ZodStringFormat<"nanoid"> {
796
- _zod: core.$ZodNanoIDInternals;
797
- }
798
- export const ZodNanoID: core.$constructor<ZodNanoID> = /*@__PURE__*/ core.$constructor("ZodNanoID", (inst, def) => {
799
- // ZodStringFormat.init(inst, def);
800
- core.$ZodNanoID.init(inst, def);
801
- ZodStringFormat.init(inst, def);
802
- });
803
-
804
- export function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID {
805
- return core._nanoid(ZodNanoID, params);
806
- }
807
-
808
- // ZodCUID
809
- /**
810
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
811
- * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
812
- * See https://github.com/paralleldrive/cuid.
813
- */
814
- export interface ZodCUID extends ZodStringFormat<"cuid"> {
815
- _zod: core.$ZodCUIDInternals;
816
- }
817
- /**
818
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
819
- * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
820
- * See https://github.com/paralleldrive/cuid.
821
- */
822
- export const ZodCUID: core.$constructor<ZodCUID> = /*@__PURE__*/ core.$constructor("ZodCUID", (inst, def) => {
823
- // ZodStringFormat.init(inst, def);
824
- core.$ZodCUID.init(inst, def);
825
- ZodStringFormat.init(inst, def);
826
- });
827
-
828
- /**
829
- * Validates a CUID v1 string.
830
- *
831
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
832
- * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
833
- * See https://github.com/paralleldrive/cuid.
834
- */
835
- export function cuid(params?: string | core.$ZodCUIDParams): ZodCUID {
836
- return core._cuid(ZodCUID, params);
837
- }
838
-
839
- // ZodCUID2
840
- export interface ZodCUID2 extends ZodStringFormat<"cuid2"> {
841
- _zod: core.$ZodCUID2Internals;
842
- }
843
- export const ZodCUID2: core.$constructor<ZodCUID2> = /*@__PURE__*/ core.$constructor("ZodCUID2", (inst, def) => {
844
- // ZodStringFormat.init(inst, def);
845
- core.$ZodCUID2.init(inst, def);
846
- ZodStringFormat.init(inst, def);
847
- });
848
-
849
- export function cuid2(params?: string | core.$ZodCUID2Params): ZodCUID2 {
850
- return core._cuid2(ZodCUID2, params);
851
- }
852
-
853
- // ZodULID
854
- export interface ZodULID extends ZodStringFormat<"ulid"> {
855
- _zod: core.$ZodULIDInternals;
856
- }
857
- export const ZodULID: core.$constructor<ZodULID> = /*@__PURE__*/ core.$constructor("ZodULID", (inst, def) => {
858
- // ZodStringFormat.init(inst, def);
859
- core.$ZodULID.init(inst, def);
860
- ZodStringFormat.init(inst, def);
861
- });
862
-
863
- export function ulid(params?: string | core.$ZodULIDParams): ZodULID {
864
- return core._ulid(ZodULID, params);
865
- }
866
-
867
- // ZodXID
868
- export interface ZodXID extends ZodStringFormat<"xid"> {
869
- _zod: core.$ZodXIDInternals;
870
- }
871
- export const ZodXID: core.$constructor<ZodXID> = /*@__PURE__*/ core.$constructor("ZodXID", (inst, def) => {
872
- // ZodStringFormat.init(inst, def);
873
- core.$ZodXID.init(inst, def);
874
- ZodStringFormat.init(inst, def);
875
- });
876
-
877
- export function xid(params?: string | core.$ZodXIDParams): ZodXID {
878
- return core._xid(ZodXID, params);
879
- }
880
-
881
- // ZodKSUID
882
- export interface ZodKSUID extends ZodStringFormat<"ksuid"> {
883
- _zod: core.$ZodKSUIDInternals;
884
- }
885
- export const ZodKSUID: core.$constructor<ZodKSUID> = /*@__PURE__*/ core.$constructor("ZodKSUID", (inst, def) => {
886
- // ZodStringFormat.init(inst, def);
887
- core.$ZodKSUID.init(inst, def);
888
- ZodStringFormat.init(inst, def);
889
- });
890
-
891
- export function ksuid(params?: string | core.$ZodKSUIDParams): ZodKSUID {
892
- return core._ksuid(ZodKSUID, params);
893
- }
894
-
895
- // ZodIP
896
- // export interface ZodIP extends ZodStringFormat<"ip"> {
897
- // _zod: core.$ZodIPInternals;
898
- // }
899
- // export const ZodIP: core.$constructor<ZodIP> = /*@__PURE__*/ core.$constructor("ZodIP", (inst, def) => {
900
- // // ZodStringFormat.init(inst, def);
901
- // core.$ZodIP.init(inst, def);
902
- // ZodStringFormat.init(inst, def);
903
- // });
904
-
905
- // export function ip(params?: string | core.$ZodIPParams): ZodIP {
906
- // return core._ip(ZodIP, params);
907
- // }
908
-
909
- // ZodIPv4
910
- export interface ZodIPv4 extends ZodStringFormat<"ipv4"> {
911
- _zod: core.$ZodIPv4Internals;
912
- }
913
- export const ZodIPv4: core.$constructor<ZodIPv4> = /*@__PURE__*/ core.$constructor("ZodIPv4", (inst, def) => {
914
- // ZodStringFormat.init(inst, def);
915
- core.$ZodIPv4.init(inst, def);
916
- ZodStringFormat.init(inst, def);
917
- });
918
-
919
- export function ipv4(params?: string | core.$ZodIPv4Params): ZodIPv4 {
920
- return core._ipv4(ZodIPv4, params);
921
- }
922
-
923
- // ZodMAC
924
- export interface ZodMAC extends ZodStringFormat<"mac"> {
925
- _zod: core.$ZodMACInternals;
926
- }
927
- export const ZodMAC: core.$constructor<ZodMAC> = /*@__PURE__*/ core.$constructor("ZodMAC", (inst, def) => {
928
- // ZodStringFormat.init(inst, def);
929
- core.$ZodMAC.init(inst, def);
930
- ZodStringFormat.init(inst, def);
931
- });
932
- export function mac(params?: string | core.$ZodMACParams): ZodMAC {
933
- return core._mac(ZodMAC, params);
934
- }
935
-
936
- // ZodIPv6
937
- export interface ZodIPv6 extends ZodStringFormat<"ipv6"> {
938
- _zod: core.$ZodIPv6Internals;
939
- }
940
- export const ZodIPv6: core.$constructor<ZodIPv6> = /*@__PURE__*/ core.$constructor("ZodIPv6", (inst, def) => {
941
- // ZodStringFormat.init(inst, def);
942
- core.$ZodIPv6.init(inst, def);
943
- ZodStringFormat.init(inst, def);
944
- });
945
- export function ipv6(params?: string | core.$ZodIPv6Params): ZodIPv6 {
946
- return core._ipv6(ZodIPv6, params);
947
- }
948
-
949
- // ZodCIDRv4
950
- export interface ZodCIDRv4 extends ZodStringFormat<"cidrv4"> {
951
- _zod: core.$ZodCIDRv4Internals;
952
- }
953
- export const ZodCIDRv4: core.$constructor<ZodCIDRv4> = /*@__PURE__*/ core.$constructor("ZodCIDRv4", (inst, def) => {
954
- core.$ZodCIDRv4.init(inst, def);
955
- ZodStringFormat.init(inst, def);
956
- });
957
-
958
- export function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodCIDRv4 {
959
- return core._cidrv4(ZodCIDRv4, params);
960
- }
961
-
962
- // ZodCIDRv6
963
- export interface ZodCIDRv6 extends ZodStringFormat<"cidrv6"> {
964
- _zod: core.$ZodCIDRv6Internals;
965
- }
966
- export const ZodCIDRv6: core.$constructor<ZodCIDRv6> = /*@__PURE__*/ core.$constructor("ZodCIDRv6", (inst, def) => {
967
- core.$ZodCIDRv6.init(inst, def);
968
- ZodStringFormat.init(inst, def);
969
- });
970
-
971
- export function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodCIDRv6 {
972
- return core._cidrv6(ZodCIDRv6, params);
973
- }
974
-
975
- // ZodBase64
976
- export interface ZodBase64 extends ZodStringFormat<"base64"> {
977
- _zod: core.$ZodBase64Internals;
978
- }
979
- export const ZodBase64: core.$constructor<ZodBase64> = /*@__PURE__*/ core.$constructor("ZodBase64", (inst, def) => {
980
- // ZodStringFormat.init(inst, def);
981
- core.$ZodBase64.init(inst, def);
982
- ZodStringFormat.init(inst, def);
983
- });
984
- export function base64(params?: string | core.$ZodBase64Params): ZodBase64 {
985
- return core._base64(ZodBase64, params);
986
- }
987
-
988
- // ZodBase64URL
989
- export interface ZodBase64URL extends ZodStringFormat<"base64url"> {
990
- _zod: core.$ZodBase64URLInternals;
991
- }
992
- export const ZodBase64URL: core.$constructor<ZodBase64URL> = /*@__PURE__*/ core.$constructor(
993
- "ZodBase64URL",
994
- (inst, def) => {
995
- // ZodStringFormat.init(inst, def);
996
- core.$ZodBase64URL.init(inst, def);
997
- ZodStringFormat.init(inst, def);
998
- }
999
- );
1000
- export function base64url(params?: string | core.$ZodBase64URLParams): ZodBase64URL {
1001
- return core._base64url(ZodBase64URL, params);
1002
- }
1003
-
1004
- // ZodE164
1005
- export interface ZodE164 extends ZodStringFormat<"e164"> {
1006
- _zod: core.$ZodE164Internals;
1007
- }
1008
- export const ZodE164: core.$constructor<ZodE164> = /*@__PURE__*/ core.$constructor("ZodE164", (inst, def) => {
1009
- // ZodStringFormat.init(inst, def);
1010
- core.$ZodE164.init(inst, def);
1011
- ZodStringFormat.init(inst, def);
1012
- });
1013
-
1014
- export function e164(params?: string | core.$ZodE164Params): ZodE164 {
1015
- return core._e164(ZodE164, params);
1016
- }
1017
-
1018
- // ZodCreditCard
1019
- export interface ZodCreditCard extends ZodStringFormat<"credit_card"> {
1020
- _zod: core.$ZodCreditCardInternals;
1021
- }
1022
- export const ZodCreditCard: core.$constructor<ZodCreditCard> = /*@__PURE__*/ core.$constructor(
1023
- "ZodCreditCard",
1024
- (inst, def) => {
1025
- core.$ZodCreditCard.init(inst, def);
1026
- ZodStringFormat.init(inst, def);
1027
- }
1028
- );
1029
-
1030
- export function creditCard(params?: string | core.$ZodCreditCardParams): ZodCreditCard {
1031
- return core._creditCard(ZodCreditCard, params);
1032
- }
1033
-
1034
- // ZodIBAN
1035
- export interface ZodIBAN extends ZodStringFormat<"iban"> {
1036
- _zod: core.$ZodIBANInternals;
1037
- }
1038
- export const ZodIBAN: core.$constructor<ZodIBAN> = /*@__PURE__*/ core.$constructor("ZodIBAN", (inst, def) => {
1039
- core.$ZodIBAN.init(inst, def);
1040
- ZodStringFormat.init(inst, def);
1041
- });
1042
-
1043
- export function iban(params?: string | core.$ZodIBANParams): ZodIBAN {
1044
- return core._iban(ZodIBAN, params);
1045
- }
1046
-
1047
- // ZodJWT
1048
- export interface ZodJWT extends ZodStringFormat<"jwt"> {
1049
- _zod: core.$ZodJWTInternals;
1050
- }
1051
- export const ZodJWT: core.$constructor<ZodJWT> = /*@__PURE__*/ core.$constructor("ZodJWT", (inst, def) => {
1052
- // ZodStringFormat.init(inst, def);
1053
- core.$ZodJWT.init(inst, def);
1054
- ZodStringFormat.init(inst, def);
1055
- });
1056
-
1057
- export function jwt(params?: string | core.$ZodJWTParams): ZodJWT {
1058
- return core._jwt(ZodJWT, params);
1059
- }
1060
-
1061
- // ZodCustomStringFormat
1062
- export interface ZodCustomStringFormat<Format extends string = string>
1063
- extends ZodStringFormat<Format>,
1064
- core.$ZodCustomStringFormat<Format> {
1065
- _zod: core.$ZodCustomStringFormatInternals<Format>;
1066
- "~standard": ZodStandardSchemaWithJSON<this>;
1067
- }
1068
- export const ZodCustomStringFormat: core.$constructor<ZodCustomStringFormat> = /*@__PURE__*/ core.$constructor(
1069
- "ZodCustomStringFormat",
1070
- (inst, def) => {
1071
- // ZodStringFormat.init(inst, def);
1072
- core.$ZodCustomStringFormat.init(inst, def);
1073
- ZodStringFormat.init(inst, def);
1074
- }
1075
- );
1076
- export function stringFormat<Format extends string>(
1077
- format: Format,
1078
- fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp,
1079
- _params: string | core.$ZodStringFormatParams = {}
1080
- ): ZodCustomStringFormat<Format> {
1081
- return core._stringFormat(ZodCustomStringFormat, format, fnOrRegex, _params) as any;
1082
- }
1083
-
1084
- export function hostname(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<"hostname"> {
1085
- return core._stringFormat(ZodCustomStringFormat, "hostname", regexes.hostname, _params) as any;
1086
- }
1087
-
1088
- export function hex(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<"hex"> {
1089
- return core._stringFormat(ZodCustomStringFormat, "hex", regexes.hex, _params) as any;
1090
- }
1091
-
1092
- export function currencyCode(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<"currency_code"> {
1093
- return core._stringFormat(ZodCustomStringFormat, "currency_code", regexes.currencyCode, _params) as any;
1094
- }
1095
-
1096
- export function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = "hex">(
1097
- alg: Alg,
1098
- params?: {
1099
- enc?: Enc;
1100
- } & core.$ZodStringFormatParams
1101
- ): ZodCustomStringFormat<`${Alg}_${Enc}`> {
1102
- const enc = params?.enc ?? "hex";
1103
- const format = `${alg}_${enc}` as const;
1104
- const regex = core.regexes[format as keyof typeof core.regexes] as RegExp;
1105
- if (!regex) throw new Error(`Unrecognized hash format: ${format}`);
1106
- return core._stringFormat(ZodCustomStringFormat, format, regex, params) as any;
1107
- }
1108
-
1109
- // ZodNumber
1110
- export interface _ZodNumber<Internals extends core.$ZodNumberInternals = core.$ZodNumberInternals>
1111
- extends _ZodType<Internals> {
1112
- gt(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
1113
- /** Identical to .min() */
1114
- gte(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
1115
- min(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
1116
- lt(value: number, params?: string | core.$ZodCheckLessThanParams): this;
1117
- /** Identical to .max() */
1118
- lte(value: number, params?: string | core.$ZodCheckLessThanParams): this;
1119
- max(value: number, params?: string | core.$ZodCheckLessThanParams): this;
1120
- /** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
1121
- int(params?: string | core.$ZodCheckNumberFormatParams): this;
1122
- /** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
1123
- safe(params?: string | core.$ZodCheckNumberFormatParams): this;
1124
- positive(params?: string | core.$ZodCheckGreaterThanParams): this;
1125
- nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
1126
- negative(params?: string | core.$ZodCheckLessThanParams): this;
1127
- nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
1128
- multipleOf(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;
1129
- /** @deprecated Use `.multipleOf()` instead. */
1130
- step(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;
1131
-
1132
- /** @deprecated In v4 and later, z.number() does not allow infinite values by default. This is a no-op. */
1133
- finite(params?: unknown): this;
1134
-
1135
- minValue: number | null;
1136
- maxValue: number | null;
1137
- /** @deprecated Check the `format` property instead. */
1138
- isInt: boolean;
1139
- /** @deprecated Number schemas no longer accept infinite values, so this always returns `true`. */
1140
- isFinite: boolean;
1141
- format: string | null;
1142
- }
1143
-
1144
- export interface ZodNumber extends _ZodNumber<core.$ZodNumberInternals<number>> {}
1145
-
1146
- export const ZodNumber: core.$constructor<ZodNumber> = /*@__PURE__*/ core.$constructor<ZodNumber>(
1147
- "ZodNumber",
1148
- (inst, def) => {
1149
- core.$ZodNumber.init(inst, def);
1150
-
1151
- ZodType.init(inst, def);
1152
-
1153
- inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);
1154
- inst.isFinite = true;
1155
- },
1156
- /*@__PURE__*/ util.derived<ZodNumber>(
1157
- {
1158
- minValue: (inst) => {
1159
- const { minimum, exclusiveMinimum } = processors.aggregateChecks<number>(inst);
1160
- return Math.max(minimum ?? Number.NEGATIVE_INFINITY, exclusiveMinimum ?? Number.NEGATIVE_INFINITY);
1161
- },
1162
- maxValue: (inst) => {
1163
- const { maximum, exclusiveMaximum } = processors.aggregateChecks<number>(inst);
1164
- return Math.min(maximum ?? Number.POSITIVE_INFINITY, exclusiveMaximum ?? Number.POSITIVE_INFINITY);
1165
- },
1166
- isInt: (inst) => {
1167
- const { isInt, multipleOf } = processors.aggregateChecks(inst);
1168
- return !!isInt || !!multipleOf?.some(Number.isSafeInteger);
1169
- },
1170
- format: (inst) => processors.aggregateChecks(inst).format ?? null,
1171
- },
1172
- {
1173
- gt(value, params) {
1174
- return this.check(checks.gt(value, params));
1175
- },
1176
- gte(value, params) {
1177
- return this.check(checks.gte(value, params));
1178
- },
1179
- min(value, params) {
1180
- return this.check(checks.gte(value, params));
1181
- },
1182
- lt(value, params) {
1183
- return this.check(checks.lt(value, params));
1184
- },
1185
- lte(value, params) {
1186
- return this.check(checks.lte(value, params));
1187
- },
1188
- max(value, params) {
1189
- return this.check(checks.lte(value, params));
1190
- },
1191
- int(params) {
1192
- return this.check(int(params));
1193
- },
1194
- safe(params) {
1195
- return this.check(int(params));
1196
- },
1197
- positive(params) {
1198
- return this.check(checks.gt(0, params));
1199
- },
1200
- nonnegative(params) {
1201
- return this.check(checks.gte(0, params));
1202
- },
1203
- negative(params) {
1204
- return this.check(checks.lt(0, params));
1205
- },
1206
- nonpositive(params) {
1207
- return this.check(checks.lte(0, params));
1208
- },
1209
- multipleOf(value, params) {
1210
- return this.check(checks.multipleOf(value, params));
1211
- },
1212
- step(value, params) {
1213
- return this.check(checks.multipleOf(value, params));
1214
- },
1215
- finite() {
1216
- return this;
1217
- },
1218
- }
1219
- )
1220
- );
1221
-
1222
- export function number(params?: string | core.$ZodNumberParams): ZodNumber {
1223
- return core._number(ZodNumber, params);
1224
- }
1225
-
1226
- // ZodNumberFormat
1227
- export interface ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends ZodNumber {
1228
- _zod: core.$ZodNumberFormatInternals<Format>;
1229
- }
1230
- export const ZodNumberFormat: core.$constructor<ZodNumberFormat> = /*@__PURE__*/ core.$constructor(
1231
- "ZodNumberFormat",
1232
- (inst, def) => {
1233
- core.$ZodNumberFormat.init(inst, def);
1234
- ZodNumber.init(inst, def);
1235
- }
1236
- );
1237
-
1238
- // int
1239
- export interface ZodInt extends ZodNumberFormat<"safeint"> {}
1240
- export function int(params?: string | core.$ZodCheckNumberFormatParams): ZodInt {
1241
- return core._int(ZodNumberFormat, params) as ZodInt;
1242
- }
1243
-
1244
- // float32
1245
- export interface ZodFloat32 extends ZodNumberFormat<"float32"> {}
1246
- export function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat32 {
1247
- return core._float32(ZodNumberFormat, params) as ZodFloat32;
1248
- }
1249
-
1250
- // float64
1251
- export interface ZodFloat64 extends ZodNumberFormat<"float64"> {}
1252
- export function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat64 {
1253
- return core._float64(ZodNumberFormat, params) as ZodFloat64;
1254
- }
1255
-
1256
- // int32
1257
- export interface ZodInt32 extends ZodNumberFormat<"int32"> {}
1258
- export function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodInt32 {
1259
- return core._int32(ZodNumberFormat, params) as ZodInt32;
1260
- }
1261
-
1262
- // uint32
1263
- export interface ZodUInt32 extends ZodNumberFormat<"uint32"> {}
1264
- export function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodUInt32 {
1265
- return core._uint32(ZodNumberFormat, params) as ZodUInt32;
1266
- }
1267
-
1268
- // boolean
1269
- export interface _ZodBoolean<T extends core.$ZodBooleanInternals = core.$ZodBooleanInternals> extends _ZodType<T> {}
1270
- export interface ZodBoolean extends _ZodBoolean<core.$ZodBooleanInternals<boolean>> {}
1271
- export const ZodBoolean: core.$constructor<ZodBoolean> = /*@__PURE__*/ core.$constructor("ZodBoolean", (inst, def) => {
1272
- core.$ZodBoolean.init(inst, def);
1273
- ZodType.init(inst, def);
1274
- inst._zod.processJSONSchema = (ctx, json, params) => processors.booleanProcessor(inst, ctx, json, params);
1275
- });
1276
-
1277
- export function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean {
1278
- return core._boolean(ZodBoolean, params);
1279
- }
1280
-
1281
- // bigint
1282
- export interface _ZodBigInt<T extends core.$ZodBigIntInternals = core.$ZodBigIntInternals> extends _ZodType<T> {
1283
- gte(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
1284
- /** Alias of `.gte()` */
1285
- min(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
1286
- gt(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
1287
- /** Alias of `.lte()` */
1288
- lte(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
1289
- max(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
1290
- lt(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
1291
- positive(params?: string | core.$ZodCheckGreaterThanParams): this;
1292
- negative(params?: string | core.$ZodCheckLessThanParams): this;
1293
- nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
1294
- nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
1295
- multipleOf(value: bigint, params?: string | core.$ZodCheckMultipleOfParams): this;
1296
-
1297
- minValue: bigint | null;
1298
- maxValue: bigint | null;
1299
- format: string | null;
1300
- }
1301
-
1302
- export interface ZodBigInt extends _ZodBigInt<core.$ZodBigIntInternals<bigint>> {}
1303
- export const ZodBigInt: core.$constructor<ZodBigInt> = /*@__PURE__*/ core.$constructor<ZodBigInt>(
1304
- "ZodBigInt",
1305
- (inst, def) => {
1306
- core.$ZodBigInt.init(inst, def);
1307
- ZodType.init(inst, def);
1308
- inst._zod.processJSONSchema = (ctx, json, params) => processors.bigintProcessor(inst, ctx, json, params);
1309
- },
1310
- /*@__PURE__*/ util.derived<ZodBigInt>(
1311
- {
1312
- minValue: (inst) => processors.aggregateChecks<bigint>(inst).minimum ?? null,
1313
- maxValue: (inst) => processors.aggregateChecks<bigint>(inst).maximum ?? null,
1314
- format: (inst) => processors.aggregateChecks(inst).format ?? null,
1315
- },
1316
- {
1317
- gte(value, params) {
1318
- return this.check(checks.gte(value, params));
1319
- },
1320
- min(value, params) {
1321
- return this.check(checks.gte(value, params));
1322
- },
1323
- gt(value, params) {
1324
- return this.check(checks.gt(value, params));
1325
- },
1326
- lt(value, params) {
1327
- return this.check(checks.lt(value, params));
1328
- },
1329
- lte(value, params) {
1330
- return this.check(checks.lte(value, params));
1331
- },
1332
- max(value, params) {
1333
- return this.check(checks.lte(value, params));
1334
- },
1335
- positive(params) {
1336
- return this.check(checks.gt(BigInt(0), params));
1337
- },
1338
- negative(params) {
1339
- return this.check(checks.lt(BigInt(0), params));
1340
- },
1341
- nonpositive(params) {
1342
- return this.check(checks.lte(BigInt(0), params));
1343
- },
1344
- nonnegative(params) {
1345
- return this.check(checks.gte(BigInt(0), params));
1346
- },
1347
- multipleOf(value, params) {
1348
- return this.check(checks.multipleOf(value, params));
1349
- },
1350
- }
1351
- )
1352
- );
1353
-
1354
- export function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt {
1355
- return core._bigint(ZodBigInt, params);
1356
- }
1357
- // bigint formats
1358
-
1359
- // ZodBigIntFormat
1360
- export interface ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends ZodBigInt {
1361
- _zod: core.$ZodBigIntFormatInternals<Format>;
1362
- }
1363
- export const ZodBigIntFormat: core.$constructor<ZodBigIntFormat> = /*@__PURE__*/ core.$constructor(
1364
- "ZodBigIntFormat",
1365
- (inst, def) => {
1366
- core.$ZodBigIntFormat.init(inst, def);
1367
- ZodBigInt.init(inst, def);
1368
- }
1369
- );
1370
-
1371
- // int64
1372
- export interface ZodInt64 extends ZodBigIntFormat<"int64"> {}
1373
- export function int64(params?: string | core.$ZodBigIntFormatParams): ZodInt64 {
1374
- return core._int64(ZodBigIntFormat, params) as ZodInt64;
1375
- }
1376
-
1377
- // uint64
1378
- export interface ZodUInt64 extends ZodBigIntFormat<"uint64"> {}
1379
- export function uint64(params?: string | core.$ZodBigIntFormatParams): ZodUInt64 {
1380
- return core._uint64(ZodBigIntFormat, params) as ZodUInt64;
1381
- }
1382
-
1383
- // symbol
1384
- export interface ZodSymbol extends _ZodType<core.$ZodSymbolInternals> {}
1385
- export const ZodSymbol: core.$constructor<ZodSymbol> = /*@__PURE__*/ core.$constructor("ZodSymbol", (inst, def) => {
1386
- core.$ZodSymbol.init(inst, def);
1387
- ZodType.init(inst, def);
1388
- inst._zod.processJSONSchema = (ctx, json, params) => processors.symbolProcessor(inst, ctx, json, params);
1389
- });
1390
-
1391
- export function symbol(params?: string | core.$ZodSymbolParams): ZodSymbol {
1392
- return core._symbol(ZodSymbol, params);
1393
- }
1394
-
1395
- // ZodUndefined
1396
- export interface ZodUndefined extends _ZodType<core.$ZodUndefinedInternals> {}
1397
- export const ZodUndefined: core.$constructor<ZodUndefined> = /*@__PURE__*/ core.$constructor(
1398
- "ZodUndefined",
1399
- (inst, def) => {
1400
- core.$ZodUndefined.init(inst, def);
1401
- ZodType.init(inst, def);
1402
- inst._zod.processJSONSchema = (ctx, json, params) => processors.undefinedProcessor(inst, ctx, json, params);
1403
- }
1404
- );
1405
-
1406
- function _undefined(params?: string | core.$ZodUndefinedParams): ZodUndefined {
1407
- return core._undefined(ZodUndefined, params);
1408
- }
1409
- export { _undefined as undefined };
1410
-
1411
- // ZodNull
1412
- export interface ZodNull extends _ZodType<core.$ZodNullInternals> {}
1413
- export const ZodNull: core.$constructor<ZodNull> = /*@__PURE__*/ core.$constructor("ZodNull", (inst, def) => {
1414
- core.$ZodNull.init(inst, def);
1415
- ZodType.init(inst, def);
1416
- inst._zod.processJSONSchema = (ctx, json, params) => processors.nullProcessor(inst, ctx, json, params);
1417
- });
1418
-
1419
- function _null(params?: string | core.$ZodNullParams): ZodNull {
1420
- return core._null(ZodNull, params);
1421
- }
1422
- export { _null as null };
1423
-
1424
- // ZodAny
1425
- export interface ZodAny extends _ZodType<core.$ZodAnyInternals> {}
1426
- export const ZodAny: core.$constructor<ZodAny> = /*@__PURE__*/ core.$constructor("ZodAny", (inst, def) => {
1427
- core.$ZodAny.init(inst, def);
1428
- ZodType.init(inst, def);
1429
- inst._zod.processJSONSchema = (ctx, json, params) => processors.anyProcessor(inst, ctx, json, params);
1430
- });
1431
-
1432
- export function any(): ZodAny {
1433
- return core._any(ZodAny);
1434
- }
1435
-
1436
- // ZodUnknown
1437
- export interface ZodUnknown extends _ZodType<core.$ZodUnknownInternals> {}
1438
- export const ZodUnknown: core.$constructor<ZodUnknown> = /*@__PURE__*/ core.$constructor("ZodUnknown", (inst, def) => {
1439
- core.$ZodUnknown.init(inst, def);
1440
- ZodType.init(inst, def);
1441
- inst._zod.processJSONSchema = (ctx, json, params) => processors.unknownProcessor(inst, ctx, json, params);
1442
- });
1443
-
1444
- export function unknown(): ZodUnknown {
1445
- return core._unknown(ZodUnknown);
1446
- }
1447
-
1448
- // ZodNever
1449
- export interface ZodNever extends _ZodType<core.$ZodNeverInternals> {}
1450
- export const ZodNever: core.$constructor<ZodNever> = /*@__PURE__*/ core.$constructor("ZodNever", (inst, def) => {
1451
- core.$ZodNever.init(inst, def);
1452
- ZodType.init(inst, def);
1453
- inst._zod.processJSONSchema = (ctx, json, params) => processors.neverProcessor(inst, ctx, json, params);
1454
- });
1455
-
1456
- export function never(params?: string | core.$ZodNeverParams): ZodNever {
1457
- return core._never(ZodNever, params);
1458
- }
1459
-
1460
- // ZodVoid
1461
- export interface ZodVoid extends _ZodType<core.$ZodVoidInternals> {}
1462
- export const ZodVoid: core.$constructor<ZodVoid> = /*@__PURE__*/ core.$constructor("ZodVoid", (inst, def) => {
1463
- core.$ZodVoid.init(inst, def);
1464
- ZodType.init(inst, def);
1465
- inst._zod.processJSONSchema = (ctx, json, params) => processors.voidProcessor(inst, ctx, json, params);
1466
- });
1467
-
1468
- function _void(params?: string | core.$ZodVoidParams): ZodVoid {
1469
- return core._void(ZodVoid, params);
1470
- }
1471
- export { _void as void };
1472
-
1473
- // ZodDate
1474
- export interface _ZodDate<T extends core.$ZodDateInternals = core.$ZodDateInternals> extends _ZodType<T> {
1475
- min(value: number | Date, params?: string | core.$ZodCheckGreaterThanParams): this;
1476
- max(value: number | Date, params?: string | core.$ZodCheckLessThanParams): this;
1477
-
1478
- /** @deprecated Not recommended. */
1479
- minDate: Date | null;
1480
- /** @deprecated Not recommended. */
1481
- maxDate: Date | null;
1482
- }
1483
-
1484
- export interface ZodDate extends _ZodDate<core.$ZodDateInternals<Date>> {}
1485
- export const ZodDate: core.$constructor<ZodDate> = /*@__PURE__*/ core.$constructor<ZodDate>(
1486
- "ZodDate",
1487
- (inst, def) => {
1488
- core.$ZodDate.init(inst, def);
1489
- ZodType.init(inst, def);
1490
- inst._zod.processJSONSchema = (ctx, json, params) => processors.dateProcessor(inst, ctx, json, params);
1491
-
1492
- inst.min = (value, params) => inst.check(checks.gte(value, params));
1493
- inst.max = (value, params) => inst.check(checks.lte(value, params));
1494
- },
1495
- /*@__PURE__*/ util.derived<ZodDate>(
1496
- {
1497
- minDate: (inst) => {
1498
- const { minimum } = processors.aggregateChecks<Date>(inst);
1499
- return minimum ? new Date(minimum) : null;
1500
- },
1501
- maxDate: (inst) => {
1502
- const { maximum } = processors.aggregateChecks<Date>(inst);
1503
- return maximum ? new Date(maximum) : null;
1504
- },
1505
- },
1506
- {}
1507
- )
1508
- );
1509
-
1510
- export function date(params?: string | core.$ZodDateParams): ZodDate {
1511
- return core._date(ZodDate, params);
1512
- }
1513
-
1514
- // ZodArray
1515
- export interface ZodArray<T extends core.SomeType = core.$ZodType>
1516
- extends _ZodType<core.$ZodArrayInternals<T>>,
1517
- core.$ZodArray<T> {
1518
- element: T;
1519
- min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
1520
- nonempty(params?: string | core.$ZodCheckMinLengthParams): this;
1521
- max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
1522
- length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
1523
-
1524
- unwrap(): T;
1525
- "~standard": ZodStandardSchemaWithJSON<this>;
1526
- }
1527
- export const ZodArray: core.$constructor<ZodArray> = /*@__PURE__*/ core.$constructor<ZodArray>(
1528
- "ZodArray",
1529
- (inst, def) => {
1530
- _ensureDefaultMemoizer();
1531
- core.$ZodArray.init(inst, def);
1532
- ZodType.init(inst, def);
1533
- inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);
1534
-
1535
- inst.element = def.element;
1536
- },
1537
- {
1538
- min(n, params) {
1539
- return this.check(checks.minLength(n, params));
1540
- },
1541
- nonempty(params) {
1542
- return this.check(checks.minLength(1, params));
1543
- },
1544
- max(n, params) {
1545
- return this.check(checks.maxLength(n, params));
1546
- },
1547
- length(n, params) {
1548
- return this.check(checks.length(n, params));
1549
- },
1550
- unwrap() {
1551
- return this.element;
1552
- },
1553
- }
1554
- );
1555
-
1556
- export function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T> {
1557
- return core._array(ZodArray, element as any, params) as any;
1558
- }
1559
-
1560
- // .keyof
1561
- export function keyof<T extends ZodObject>(schema: T): ZodEnum<util.KeysEnum<T["_zod"]["output"]>> {
1562
- const shape = schema._zod.def.shape;
1563
- return _enum(Object.keys(shape)) as any;
1564
- }
1565
-
1566
- // ZodObject
1567
-
1568
- export type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {
1569
- [K in keyof Ext]: K extends keyof Base
1570
- ? core.output<Ext[K]> extends core.output<Base[K]>
1571
- ? core.input<Ext[K]> extends core.input<Base[K]>
1572
- ? Ext[K]
1573
- : never
1574
- : never
1575
- : Ext[K];
1576
- };
1577
-
1578
- export interface ZodObject<
1579
- /** @ts-ignore Cast variance */
1580
- out Shape extends core.$ZodShape = core.$ZodLooseShape,
1581
- out Config extends core.$ZodObjectConfig = core.$strip,
1582
- > extends _ZodType<core.$ZodObjectInternals<Shape, Config>>,
1583
- core.$ZodObject<Shape, Config> {
1584
- "~standard": ZodStandardSchemaWithJSON<this>;
1585
- shape: Shape;
1586
-
1587
- keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;
1588
- /** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */
1589
- catchall<T extends core.SomeType>(schema: T): ZodObject<Shape, core.$catchall<T>>;
1590
-
1591
- /** @deprecated Use `z.looseObject()` or `.loose()` instead. */
1592
- passthrough(): ZodObject<Shape, core.$loose>;
1593
- /** Consider `z.looseObject(A.shape)` instead */
1594
- loose(): ZodObject<Shape, core.$loose>;
1595
-
1596
- /** Consider `z.strictObject(A.shape)` instead */
1597
- strict(): ZodObject<Shape, core.$strict>;
1598
-
1599
- /** This is the default behavior. This method call is likely unnecessary. */
1600
- strip(): ZodObject<Shape, core.$strip>;
1601
-
1602
- extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;
1603
-
1604
- safeExtend<U extends core.$ZodLooseShape>(
1605
- shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, core.SomeType>>
1606
- ): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;
1607
-
1608
- /**
1609
- * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
1610
- */
1611
- merge<U extends ZodObject>(other: U): ZodObject<util.Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
1612
-
1613
- pick<M extends util.Mask<keyof Shape>>(
1614
- mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1615
- ): ZodObject<util.Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
1616
-
1617
- omit<M extends util.Mask<keyof Shape>>(
1618
- mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1619
- ): ZodObject<util.Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
1620
-
1621
- partial(): ZodObject<
1622
- {
1623
- -readonly [k in keyof Shape]: ZodOptional<Shape[k]>;
1624
- },
1625
- Config
1626
- >;
1627
- partial<M extends util.Mask<keyof Shape>>(
1628
- mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1629
- ): ZodObject<
1630
- {
1631
- -readonly [k in keyof Shape]: k extends keyof M
1632
- ? // Shape[k] extends OptionalInSchema
1633
- // ? Shape[k]
1634
- // :
1635
- ZodOptional<Shape[k]>
1636
- : Shape[k];
1637
- },
1638
- Config
1639
- >;
1640
-
1641
- // exactPartial
1642
- exactPartial(): ZodObject<
1643
- {
1644
- -readonly [k in keyof Shape]: ZodExactOptional<Shape[k]>;
1645
- },
1646
- Config
1647
- >;
1648
- exactPartial<M extends util.Mask<keyof Shape>>(
1649
- mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1650
- ): ZodObject<
1651
- {
1652
- -readonly [k in keyof Shape]: k extends keyof M ? ZodExactOptional<Shape[k]> : Shape[k];
1653
- },
1654
- Config
1655
- >;
1656
-
1657
- // required
1658
- required(): ZodObject<
1659
- {
1660
- -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>;
1661
- },
1662
- Config
1663
- >;
1664
- required<M extends util.Mask<keyof Shape>>(
1665
- mask: M & Record<Exclude<keyof M, keyof Shape>, never>
1666
- ): ZodObject<
1667
- {
1668
- -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
1669
- },
1670
- Config
1671
- >;
1672
- }
1673
-
1674
- export const ZodObject: core.$constructor<ZodObject> = /*@__PURE__*/ core.$constructor<ZodObject>(
1675
- "ZodObject",
1676
- (inst, def) => {
1677
- _ensureDefaultMemoizer();
1678
- core.$ZodObjectJIT.init(inst, def);
1679
- ZodType.init(inst, def);
1680
- inst._zod.processJSONSchema = (ctx, json, params) => processors.objectProcessor(inst, ctx, json, params);
1681
-
1682
- util.installLazyProp(inst, "shape", (self) => self._zod.def.shape, false);
1683
- },
1684
- {
1685
- keyof() {
1686
- return _enum(Object.keys(this._zod.def.shape));
1687
- },
1688
- catchall(catchall) {
1689
- // `mergeDefs` rather than a spread: spreading reads `shape`, and resolving it can mint a whole fresh subtree
1690
- return this.clone(util.mergeDefs(this._zod.def, { catchall: catchall as any }));
1691
- },
1692
- passthrough() {
1693
- return this.clone(util.mergeDefs(this._zod.def, { catchall: unknown() }));
1694
- },
1695
- loose() {
1696
- return this.clone(util.mergeDefs(this._zod.def, { catchall: unknown() }));
1697
- },
1698
- strict() {
1699
- return this.clone(util.mergeDefs(this._zod.def, { catchall: never() }));
1700
- },
1701
- strip() {
1702
- return this.clone(util.mergeDefs(this._zod.def, { catchall: undefined }));
1703
- },
1704
- extend(incoming) {
1705
- return util.extend(this, incoming);
1706
- },
1707
- safeExtend(incoming) {
1708
- return util.safeExtend(this, incoming);
1709
- },
1710
- merge(other) {
1711
- return util.merge(this, other);
1712
- },
1713
- pick(mask) {
1714
- return util.pick(this, mask);
1715
- },
1716
- omit(mask) {
1717
- return util.omit(this, mask);
1718
- },
1719
- partial(...args) {
1720
- return util.partial(ZodOptional, this, args[0]);
1721
- },
1722
- exactPartial(...args) {
1723
- return util.partial(ZodExactOptional, this, args[0], "exactPartial");
1724
- },
1725
- required(...args) {
1726
- return util.required(ZodNonOptional, this, args[0]);
1727
- },
1728
- }
1729
- );
1730
-
1731
- export function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(
1732
- shape?: T,
1733
- params?: string | core.$ZodObjectParams
1734
- ): ZodObject<util.Writeable<T>, core.$strip> {
1735
- const def: core.$ZodObjectDef = {
1736
- type: "object",
1737
- shape: shape ?? {},
1738
- ...util.normalizeParams(params),
1739
- };
1740
- return new ZodObject(def) as any;
1741
- }
1742
-
1743
- // strictObject
1744
-
1745
- export function strictObject<T extends core.$ZodLooseShape>(
1746
- shape: T,
1747
- params?: string | core.$ZodObjectParams
1748
- ): ZodObject<util.Writeable<T>, core.$strict> {
1749
- return new ZodObject({
1750
- type: "object",
1751
- shape,
1752
- catchall: never(),
1753
- ...util.normalizeParams(params),
1754
- }) as any;
1755
- }
1756
-
1757
- // looseObject
1758
-
1759
- export function looseObject<T extends core.$ZodLooseShape>(
1760
- shape: T,
1761
- params?: string | core.$ZodObjectParams
1762
- ): ZodObject<util.Writeable<T>, core.$loose> {
1763
- return new ZodObject({
1764
- type: "object",
1765
- shape,
1766
- catchall: unknown(),
1767
- ...util.normalizeParams(params),
1768
- }) as any;
1769
- }
1770
-
1771
- // ZodUnion
1772
- export interface ZodUnion<T extends readonly core.SomeType[] = readonly core.$ZodType[]>
1773
- extends _ZodType<core.$ZodUnionInternals<T>>,
1774
- core.$ZodUnion<T> {
1775
- "~standard": ZodStandardSchemaWithJSON<this>;
1776
- options: T;
1777
- }
1778
- export const ZodUnion: core.$constructor<ZodUnion> = /*@__PURE__*/ core.$constructor("ZodUnion", (inst, def) => {
1779
- core.$ZodUnion.init(inst, def);
1780
- ZodType.init(inst, def);
1781
- inst._zod.processJSONSchema = (ctx, json, params) => processors.unionProcessor(inst, ctx, json, params);
1782
- inst.options = def.options;
1783
- });
1784
-
1785
- export function union<const T extends readonly core.SomeType[]>(
1786
- options: T,
1787
- params?: string | core.$ZodUnionParams
1788
- ): ZodUnion<T> {
1789
- return new ZodUnion({
1790
- type: "union",
1791
- options: options as any as core.$ZodType[],
1792
- ...util.normalizeParams(params),
1793
- }) as any;
1794
- }
1795
-
1796
- // ZodXor
1797
- export interface ZodXor<T extends readonly core.SomeType[] = readonly core.$ZodType[]>
1798
- extends _ZodType<core.$ZodXorInternals<T>>,
1799
- core.$ZodXor<T> {
1800
- "~standard": ZodStandardSchemaWithJSON<this>;
1801
- options: T;
1802
- }
1803
- export const ZodXor: core.$constructor<ZodXor> = /*@__PURE__*/ core.$constructor("ZodXor", (inst, def) => {
1804
- ZodUnion.init(inst, def);
1805
- core.$ZodXor.init(inst, def);
1806
- inst._zod.processJSONSchema = (ctx, json, params) => processors.unionProcessor(inst, ctx, json, params);
1807
- inst.options = def.options;
1808
- });
1809
-
1810
- /** Creates an exclusive union (XOR) where exactly one option must match.
1811
- * Unlike regular unions that succeed when any option matches, xor fails if
1812
- * zero or more than one option matches the input. */
1813
- export function xor<const T extends readonly core.SomeType[]>(
1814
- options: T,
1815
- params?: string | core.$ZodXorParams
1816
- ): ZodXor<T> {
1817
- return new ZodXor({
1818
- type: "union",
1819
- options: options as any as core.$ZodType[],
1820
- inclusive: false,
1821
- ...util.normalizeParams(params),
1822
- }) as any;
1823
- }
1824
-
1825
- // ZodDiscriminatedUnion
1826
- export interface ZodDiscriminatedUnion<
1827
- Options extends readonly core.SomeType[] = readonly core.$ZodType[],
1828
- Disc extends string = string,
1829
- > extends ZodUnion<Options>,
1830
- core.$ZodDiscriminatedUnion<Options, Disc> {
1831
- "~standard": ZodStandardSchemaWithJSON<this>;
1832
- _zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;
1833
- def: core.$ZodDiscriminatedUnionDef<Options, Disc>;
1834
- }
1835
- export const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion> = /*@__PURE__*/ core.$constructor(
1836
- "ZodDiscriminatedUnion",
1837
- (inst, def) => {
1838
- ZodUnion.init(inst, def);
1839
- core.$ZodDiscriminatedUnion.init(inst, def);
1840
- }
1841
- );
1842
-
1843
- export function discriminatedUnion<
1844
- Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]],
1845
- Disc extends string,
1846
- >(
1847
- discriminator: Disc,
1848
- options: Types,
1849
- params?: string | core.$ZodDiscriminatedUnionParams
1850
- ): ZodDiscriminatedUnion<Types, Disc> {
1851
- // const [options, params] = args;
1852
- return new ZodDiscriminatedUnion({
1853
- type: "union",
1854
- options: options as any as core.$ZodType[],
1855
- discriminator,
1856
- ...util.normalizeParams(params),
1857
- }) as any;
1858
- }
1859
-
1860
- // ZodIntersection
1861
- export interface ZodIntersection<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType>
1862
- extends _ZodType<core.$ZodIntersectionInternals<A, B>>,
1863
- core.$ZodIntersection<A, B> {
1864
- "~standard": ZodStandardSchemaWithJSON<this>;
1865
- }
1866
- export const ZodIntersection: core.$constructor<ZodIntersection> = /*@__PURE__*/ core.$constructor(
1867
- "ZodIntersection",
1868
- (inst, def) => {
1869
- core.$ZodIntersection.init(inst, def);
1870
- ZodType.init(inst, def);
1871
- inst._zod.processJSONSchema = (ctx, json, params) => processors.intersectionProcessor(inst, ctx, json, params);
1872
- }
1873
- );
1874
-
1875
- export function intersection<T extends core.SomeType, U extends core.SomeType>(
1876
- left: T,
1877
- right: U
1878
- ): ZodIntersection<T, U> {
1879
- return new ZodIntersection({
1880
- type: "intersection",
1881
- left: left as any as core.$ZodType,
1882
- right: right as any as core.$ZodType,
1883
- }) as any;
1884
- }
1885
-
1886
- // ZodTuple
1887
- export interface ZodTuple<
1888
- T extends util.TupleItems = readonly core.$ZodType[],
1889
- Rest extends core.SomeType | null = core.$ZodType | null,
1890
- > extends _ZodType<core.$ZodTupleInternals<T, Rest>>,
1891
- core.$ZodTuple<T, Rest> {
1892
- "~standard": ZodStandardSchemaWithJSON<this>;
1893
- rest<Rest extends core.SomeType = core.$ZodType>(rest: Rest): ZodTuple<T, Rest>;
1894
- partial(): ZodTuple<{ -readonly [k in keyof T]: ZodOptional<T[k]> }, Rest>;
1895
- }
1896
- export const ZodTuple: core.$constructor<ZodTuple> = /*@__PURE__*/ core.$constructor<ZodTuple>(
1897
- "ZodTuple",
1898
- (inst, def) => {
1899
- _ensureDefaultMemoizer();
1900
- core.$ZodTuple.init(inst, def);
1901
- ZodType.init(inst, def);
1902
- inst._zod.processJSONSchema = (ctx, json, params) => processors.tupleProcessor(inst, ctx, json, params);
1903
- },
1904
- {
1905
- rest(rest) {
1906
- return this.clone({
1907
- ...this._zod.def,
1908
- rest: rest as any as core.$ZodType,
1909
- }) as any;
1910
- },
1911
- partial() {
1912
- const def = this._zod.def;
1913
- // a refinement was authored against the full arity; partialing would run it on a shorter array
1914
- if (def.checks?.length) throw new Error(".partial() cannot be used on tuple schemas containing refinements");
1915
- return this.clone({
1916
- ...def,
1917
- items: def.items.map((item) => new ZodOptional({ type: "optional", innerType: item })),
1918
- }) as any;
1919
- },
1920
- }
1921
- );
1922
-
1923
- export function tuple<T extends readonly [core.SomeType, ...core.SomeType[]]>(
1924
- items: T,
1925
- params?: string | core.$ZodTupleParams
1926
- ): ZodTuple<T, null>;
1927
- export function tuple<T extends readonly [core.SomeType, ...core.SomeType[]], Rest extends core.SomeType>(
1928
- items: T,
1929
- rest: Rest,
1930
- params?: string | core.$ZodTupleParams
1931
- ): ZodTuple<T, Rest>;
1932
- export function tuple(items: [], params?: string | core.$ZodTupleParams): ZodTuple<[], null>;
1933
- export function tuple(
1934
- items: core.SomeType[],
1935
- _paramsOrRest?: string | core.$ZodTupleParams | core.SomeType,
1936
- _params?: string | core.$ZodTupleParams
1937
- ) {
1938
- const hasRest = _paramsOrRest instanceof core.$ZodType;
1939
- const params = hasRest ? _params : _paramsOrRest;
1940
- const rest = hasRest ? _paramsOrRest : null;
1941
- return new ZodTuple({
1942
- type: "tuple",
1943
- items: items as any as core.$ZodType[],
1944
- rest,
1945
- ...util.normalizeParams(params),
1946
- });
1947
- }
1948
-
1949
- // ZodRecord
1950
- export interface ZodRecord<
1951
- Key extends core.$ZodRecordKey = core.$ZodRecordKey,
1952
- Value extends core.SomeType = core.$ZodType,
1953
- > extends _ZodType<core.$ZodRecordInternals<Key, Value>>,
1954
- core.$ZodRecord<Key, Value> {
1955
- "~standard": ZodStandardSchemaWithJSON<this>;
1956
- keyType: Key;
1957
- valueType: Value;
1958
- }
1959
- export const ZodRecord: core.$constructor<ZodRecord> = /*@__PURE__*/ core.$constructor("ZodRecord", (inst, def) => {
1960
- _ensureDefaultMemoizer();
1961
- core.$ZodRecord.init(inst, def);
1962
- ZodType.init(inst, def);
1963
- inst._zod.processJSONSchema = (ctx, json, params) => processors.recordProcessor(inst, ctx, json, params);
1964
-
1965
- inst.keyType = def.keyType;
1966
- inst.valueType = def.valueType;
1967
- });
1968
-
1969
- export function record<Key extends core.$ZodRecordKey, Value extends core.SomeType>(
1970
- keyType: Key,
1971
- valueType: Value,
1972
- params?: string | core.$ZodRecordParams
1973
- ): ZodRecord<Key, Value> {
1974
- // v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
1975
- if (!valueType || !(valueType as any)._zod) {
1976
- return new ZodRecord({
1977
- type: "record",
1978
- keyType: string() as any,
1979
- valueType: keyType as any as core.$ZodType,
1980
- ...util.normalizeParams(valueType as string | core.$ZodRecordParams | undefined),
1981
- }) as any;
1982
- }
1983
- return new ZodRecord({
1984
- type: "record",
1985
- keyType,
1986
- valueType: valueType as any as core.$ZodType,
1987
- ...util.normalizeParams(params),
1988
- }) as any;
1989
- }
1990
- // type alksjf = core.output<core.$ZodRecordKey>;
1991
- export function partialRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(
1992
- keyType: Key,
1993
- valueType: Value,
1994
- params?: string | core.$ZodRecordParams
1995
- ): ZodRecord<Key & core.$partial, Value> {
1996
- return new ZodRecord({
1997
- type: "record",
1998
- keyType,
1999
- valueType: valueType as any,
2000
- ...util.normalizeParams(params),
2001
- partial: true,
2002
- }) as any;
2003
- }
2004
-
2005
- export function looseRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(
2006
- keyType: Key,
2007
- valueType: Value,
2008
- params?: string | core.$ZodRecordParams
2009
- ): ZodRecord<Key, Value> {
2010
- return new ZodRecord({
2011
- type: "record",
2012
- keyType,
2013
- valueType: valueType as any as core.$ZodType,
2014
- mode: "loose",
2015
- ...util.normalizeParams(params),
2016
- }) as any;
2017
- }
2018
-
2019
- // ZodMap
2020
- export interface ZodMap<Key extends core.SomeType = core.$ZodType, Value extends core.SomeType = core.$ZodType>
2021
- extends _ZodType<core.$ZodMapInternals<Key, Value>>,
2022
- core.$ZodMap<Key, Value> {
2023
- "~standard": ZodStandardSchemaWithJSON<this>;
2024
- keyType: Key;
2025
- valueType: Value;
2026
- min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
2027
- nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
2028
- max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
2029
- size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
2030
- }
2031
- export const ZodMap: core.$constructor<ZodMap> = /*@__PURE__*/ core.$constructor("ZodMap", (inst, def) => {
2032
- _ensureDefaultMemoizer();
2033
- core.$ZodMap.init(inst, def);
2034
- ZodType.init(inst, def);
2035
- inst._zod.processJSONSchema = (ctx, json, params) => processors.mapProcessor(inst, ctx, json, params);
2036
- inst.keyType = def.keyType;
2037
- inst.valueType = def.valueType;
2038
- inst.min = (...args) => inst.check(core._minSize(...args));
2039
- inst.nonempty = (params) => inst.check(core._minSize(1, params));
2040
- inst.max = (...args) => inst.check(core._maxSize(...args));
2041
- inst.size = (...args) => inst.check(core._size(...args));
2042
- });
2043
-
2044
- export function map<Key extends core.SomeType, Value extends core.SomeType>(
2045
- keyType: Key,
2046
- valueType: Value,
2047
- params?: string | core.$ZodMapParams
2048
- ): ZodMap<Key, Value> {
2049
- return new ZodMap({
2050
- type: "map",
2051
- keyType: keyType as any as core.$ZodType,
2052
- valueType: valueType as any as core.$ZodType,
2053
- ...util.normalizeParams(params),
2054
- }) as any;
2055
- }
2056
-
2057
- // ZodSet
2058
- export interface ZodSet<T extends core.SomeType = core.$ZodType>
2059
- extends _ZodType<core.$ZodSetInternals<T>>,
2060
- core.$ZodSet<T> {
2061
- "~standard": ZodStandardSchemaWithJSON<this>;
2062
- min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
2063
- nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
2064
- max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
2065
- size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
2066
- }
2067
- export const ZodSet: core.$constructor<ZodSet> = /*@__PURE__*/ core.$constructor("ZodSet", (inst, def) => {
2068
- _ensureDefaultMemoizer();
2069
- core.$ZodSet.init(inst, def);
2070
- ZodType.init(inst, def);
2071
- inst._zod.processJSONSchema = (ctx, json, params) => processors.setProcessor(inst, ctx, json, params);
2072
-
2073
- inst.min = (...args) => inst.check(core._minSize(...args));
2074
- inst.nonempty = (params) => inst.check(core._minSize(1, params));
2075
- inst.max = (...args) => inst.check(core._maxSize(...args));
2076
- inst.size = (...args) => inst.check(core._size(...args));
2077
- });
2078
-
2079
- export function set<Value extends core.SomeType>(
2080
- valueType: Value,
2081
- params?: string | core.$ZodSetParams
2082
- ): ZodSet<Value> {
2083
- return new ZodSet({
2084
- type: "set",
2085
- valueType: valueType as any as core.$ZodType,
2086
- ...util.normalizeParams(params),
2087
- }) as any;
2088
- }
2089
-
2090
- // ZodEnum
2091
- export interface ZodEnum<
2092
- /** @ts-ignore Cast variance */
2093
- out T extends util.EnumLike = util.EnumLike,
2094
- > extends _ZodType<core.$ZodEnumInternals<T>>,
2095
- core.$ZodEnum<T> {
2096
- "~standard": ZodStandardSchemaWithJSON<this>;
2097
- enum: T;
2098
- options: Array<T[keyof T]>;
2099
-
2100
- extract<const U extends readonly (keyof T)[]>(
2101
- values: U,
2102
- params?: string | core.$ZodEnumParams
2103
- ): ZodEnum<util.Flatten<Pick<T, U[number]>>>;
2104
- exclude<const U extends readonly (keyof T)[]>(
2105
- values: U,
2106
- params?: string | core.$ZodEnumParams
2107
- ): ZodEnum<util.Flatten<Omit<T, U[number]>>>;
2108
- }
2109
- export const ZodEnum: core.$constructor<ZodEnum> = /*@__PURE__*/ core.$constructor("ZodEnum", (inst, def) => {
2110
- core.$ZodEnum.init(inst, def);
2111
- ZodType.init(inst, def);
2112
- inst._zod.processJSONSchema = (ctx, json, params) => processors.enumProcessor(inst, ctx, json, params);
2113
-
2114
- inst.enum = def.entries;
2115
- // reuse the parsed value set so a numeric TS enum's reverse-mapping keys stay out
2116
- inst.options = [...inst._zod.values] as util.EnumValue[];
2117
-
2118
- const keys = new Set(Object.keys(def.entries));
2119
-
2120
- inst.extract = (values, params) => {
2121
- const newEntries: Record<string, any> = {};
2122
- for (const value of values) {
2123
- if (keys.has(value)) {
2124
- newEntries[value] = def.entries[value];
2125
- } else throw new Error(`Key ${value} not found in enum`);
2126
- }
2127
- return new ZodEnum({
2128
- ...def,
2129
- checks: [],
2130
- ...util.normalizeParams(params),
2131
- entries: newEntries,
2132
- }) as any;
2133
- };
2134
-
2135
- inst.exclude = (values, params) => {
2136
- const newEntries: Record<string, any> = { ...def.entries };
2137
- for (const value of values) {
2138
- if (keys.has(value)) {
2139
- delete newEntries[value];
2140
- } else throw new Error(`Key ${value} not found in enum`);
2141
- }
2142
- return new ZodEnum({
2143
- ...def,
2144
- checks: [],
2145
- ...util.normalizeParams(params),
2146
- entries: newEntries,
2147
- }) as any;
2148
- };
2149
- });
2150
-
2151
- function _enum<const T extends readonly string[]>(
2152
- values: T,
2153
- params?: string | core.$ZodEnumParams
2154
- ): ZodEnum<util.ToEnum<T[number]>>;
2155
- function _enum<const T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;
2156
- function _enum(values: any, params?: string | core.$ZodEnumParams) {
2157
- const entries: any = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
2158
-
2159
- return new ZodEnum({
2160
- type: "enum",
2161
- entries,
2162
- ...util.normalizeParams(params),
2163
- }) as any;
2164
- }
2165
- export { _enum as enum };
2166
-
2167
- /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
2168
- *
2169
- * ```ts
2170
- * enum Colors { red, green, blue }
2171
- * z.enum(Colors);
2172
- * ```
2173
- */
2174
- export function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T> {
2175
- return new ZodEnum({
2176
- type: "enum",
2177
- entries,
2178
- ...util.normalizeParams(params),
2179
- }) as ZodEnum<T>;
2180
- }
2181
-
2182
- // ZodLiteral
2183
- export interface ZodLiteral<T extends util.Literal = util.Literal>
2184
- extends _ZodType<core.$ZodLiteralInternals<T>>,
2185
- core.$ZodLiteral<T> {
2186
- "~standard": ZodStandardSchemaWithJSON<this>;
2187
- values: Set<T>;
2188
- /** @legacy Use `.values` instead. Accessing this property will throw an error if the literal accepts multiple values. */
2189
- value: T;
2190
- }
2191
- export const ZodLiteral: core.$constructor<ZodLiteral> = /*@__PURE__*/ core.$constructor("ZodLiteral", (inst, def) => {
2192
- core.$ZodLiteral.init(inst, def);
2193
- ZodType.init(inst, def);
2194
- inst._zod.processJSONSchema = (ctx, json, params) => processors.literalProcessor(inst, ctx, json, params);
2195
- inst.values = new Set(def.values);
2196
- Object.defineProperty(inst, "value", {
2197
- get() {
2198
- if (def.values.length > 1) {
2199
- throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
2200
- }
2201
- return def.values[0];
2202
- },
2203
- });
2204
- });
2205
-
2206
- export function literal<const T extends ReadonlyArray<util.Literal>>(
2207
- value: T,
2208
- params?: string | core.$ZodLiteralParams
2209
- ): ZodLiteral<T[number]>;
2210
- export function literal<const T extends util.Literal>(
2211
- value: T,
2212
- params?: string | core.$ZodLiteralParams
2213
- ): ZodLiteral<T>;
2214
- export function literal(value: any, params: any) {
2215
- return new ZodLiteral({
2216
- type: "literal",
2217
- values: Array.isArray(value) ? value : [value],
2218
- ...util.normalizeParams(params),
2219
- });
2220
- }
2221
-
2222
- // ZodFile
2223
- export interface ZodFile extends _ZodType<core.$ZodFileInternals>, core.$ZodFile {
2224
- "~standard": ZodStandardSchemaWithJSON<this>;
2225
- min(size: number, params?: string | core.$ZodCheckMinSizeParams): this;
2226
- max(size: number, params?: string | core.$ZodCheckMaxSizeParams): this;
2227
- mime(types: util.MimeTypes | Array<util.MimeTypes>, params?: string | core.$ZodCheckMimeTypeParams): this;
2228
- }
2229
- export const ZodFile: core.$constructor<ZodFile> = /*@__PURE__*/ core.$constructor("ZodFile", (inst, def) => {
2230
- core.$ZodFile.init(inst, def);
2231
- ZodType.init(inst, def);
2232
- inst._zod.processJSONSchema = (ctx, json, params) => processors.fileProcessor(inst, ctx, json, params);
2233
-
2234
- inst.min = (size, params) => inst.check(core._minSize(size, params));
2235
- inst.max = (size, params) => inst.check(core._maxSize(size, params));
2236
- inst.mime = (types, params) => inst.check(core._mime(Array.isArray(types) ? types : [types], params));
2237
- });
2238
-
2239
- export function file(params?: string | core.$ZodFileParams): ZodFile {
2240
- return core._file(ZodFile, params) as any;
2241
- }
2242
-
2243
- // ZodTransform
2244
- export interface ZodTransform<O = unknown, I = unknown>
2245
- extends _ZodType<core.$ZodTransformInternals<O, I>>,
2246
- core.$ZodTransform<O, I> {
2247
- "~standard": ZodStandardSchemaWithJSON<this>;
2248
- }
2249
- export const ZodTransform: core.$constructor<ZodTransform> = /*@__PURE__*/ core.$constructor(
2250
- "ZodTransform",
2251
- (inst, def) => {
2252
- _ensureDefaultMemoizer();
2253
- core.$ZodTransform.init(inst, def);
2254
- ZodType.init(inst, def);
2255
- inst._zod.processJSONSchema = (ctx, json, params) => processors.transformProcessor(inst, ctx, json, params);
2256
-
2257
- inst._zod.parse = (payload, _ctx) => {
2258
- if (_ctx.direction === "backward") {
2259
- throw new core.$ZodEncodeError(inst.constructor.name);
2260
- }
2261
-
2262
- (payload as core.$RefinementCtx).addIssue = (issue) => {
2263
- if (typeof issue === "string") {
2264
- payload.issues.push(util.issue(issue, payload.value, def));
2265
- } else {
2266
- // for Zod 3 backwards compatibility
2267
- const _issue = issue as any;
2268
-
2269
- if (_issue.fatal) _issue.continue = false;
2270
- _issue.code ??= "custom";
2271
- if (!("input" in _issue)) _issue.input = payload.value;
2272
- _issue.inst ??= inst;
2273
- // _issue.continue ??= true;
2274
- payload.issues.push(util.issue(_issue));
2275
- }
2276
- };
2277
-
2278
- const output = def.transform(payload.value, payload);
2279
- if (output instanceof Promise) {
2280
- return output.then((output) => {
2281
- payload.value = output;
2282
- return payload;
2283
- });
2284
- }
2285
- payload.value = output;
2286
- return payload;
2287
- };
2288
- }
2289
- );
2290
-
2291
- export function transform<I = unknown, O = I>(
2292
- fn: (input: I, ctx: core.$RefinementCtx) => O
2293
- ): ZodTransform<Awaited<O>, I> {
2294
- return new ZodTransform({
2295
- type: "transform",
2296
- transform: fn as any,
2297
- }) as any;
2298
- }
2299
-
2300
- // ZodOptional
2301
- export interface ZodOptional<T extends core.SomeType = core.$ZodType>
2302
- extends _ZodType<core.$ZodOptionalInternals<T>>,
2303
- core.$ZodOptional<T> {
2304
- "~standard": ZodStandardSchemaWithJSON<this>;
2305
- unwrap(): T;
2306
- }
2307
- export const ZodOptional: core.$constructor<ZodOptional> = /*@__PURE__*/ core.$constructor(
2308
- "ZodOptional",
2309
- (inst, def) => {
2310
- core.$ZodOptional.init(inst, def);
2311
- ZodType.init(inst, def);
2312
- inst._zod.processJSONSchema = (ctx, json, params) => processors.optionalProcessor(inst, ctx, json, params);
2313
-
2314
- inst.unwrap = () => inst._zod.def.innerType;
2315
- }
2316
- );
2317
-
2318
- export function optional<T extends core.SomeType>(innerType: T): ZodOptional<T> {
2319
- return new ZodOptional({
2320
- type: "optional",
2321
- innerType: innerType as any as core.$ZodType,
2322
- }) as any;
2323
- }
2324
-
2325
- // ZodExactOptional
2326
- export interface ZodExactOptional<T extends core.SomeType = core.$ZodType>
2327
- extends _ZodType<core.$ZodExactOptionalInternals<T>>,
2328
- core.$ZodExactOptional<T> {
2329
- "~standard": ZodStandardSchemaWithJSON<this>;
2330
- unwrap(): T;
2331
- }
2332
- export const ZodExactOptional: core.$constructor<ZodExactOptional> = /*@__PURE__*/ core.$constructor(
2333
- "ZodExactOptional",
2334
- (inst, def) => {
2335
- core.$ZodExactOptional.init(inst, def);
2336
- ZodType.init(inst, def);
2337
- inst._zod.processJSONSchema = (ctx, json, params) => processors.optionalProcessor(inst, ctx, json, params);
2338
-
2339
- inst.unwrap = () => inst._zod.def.innerType;
2340
- }
2341
- );
2342
-
2343
- export function exactOptional<T extends core.SomeType>(innerType: T): ZodExactOptional<T> {
2344
- return new ZodExactOptional({
2345
- type: "optional",
2346
- innerType: innerType as any as core.$ZodType,
2347
- }) as any;
2348
- }
2349
-
2350
- // ZodNullable
2351
- export interface ZodNullable<T extends core.SomeType = core.$ZodType>
2352
- extends _ZodType<core.$ZodNullableInternals<T>>,
2353
- core.$ZodNullable<T> {
2354
- "~standard": ZodStandardSchemaWithJSON<this>;
2355
- unwrap(): T;
2356
- }
2357
- export const ZodNullable: core.$constructor<ZodNullable> = /*@__PURE__*/ core.$constructor(
2358
- "ZodNullable",
2359
- (inst, def) => {
2360
- core.$ZodNullable.init(inst, def);
2361
- ZodType.init(inst, def);
2362
- inst._zod.processJSONSchema = (ctx, json, params) => processors.nullableProcessor(inst, ctx, json, params);
2363
-
2364
- inst.unwrap = () => inst._zod.def.innerType;
2365
- }
2366
- );
2367
-
2368
- export function nullable<T extends core.SomeType>(innerType: T): ZodNullable<T> {
2369
- return new ZodNullable({
2370
- type: "nullable",
2371
- innerType: innerType as any as core.$ZodType,
2372
- }) as any;
2373
- }
2374
-
2375
- // nullish
2376
- export function nullish<T extends core.SomeType>(innerType: T): ZodOptional<ZodNullable<T>> {
2377
- return optional(nullable(innerType));
2378
- }
2379
-
2380
- // ZodDefault
2381
- export interface ZodDefault<T extends core.SomeType = core.$ZodType>
2382
- extends _ZodType<core.$ZodDefaultInternals<T>>,
2383
- core.$ZodDefault<T> {
2384
- "~standard": ZodStandardSchemaWithJSON<this>;
2385
- unwrap(): T;
2386
- /** @deprecated Use `.unwrap()` instead. */
2387
- removeDefault(): T;
2388
- }
2389
- export const ZodDefault: core.$constructor<ZodDefault> = /*@__PURE__*/ core.$constructor("ZodDefault", (inst, def) => {
2390
- core.$ZodDefault.init(inst, def);
2391
- ZodType.init(inst, def);
2392
- inst._zod.processJSONSchema = (ctx, json, params) => processors.defaultProcessor(inst, ctx, json, params);
2393
-
2394
- inst.unwrap = () => inst._zod.def.innerType;
2395
- inst.removeDefault = inst.unwrap;
2396
- });
2397
-
2398
- export function _default<T extends core.SomeType>(
2399
- innerType: T,
2400
- defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)
2401
- ): ZodDefault<T> {
2402
- return new ZodDefault({
2403
- type: "default",
2404
- innerType: innerType as any as core.$ZodType,
2405
- get defaultValue() {
2406
- return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
2407
- },
2408
- }) as any;
2409
- }
2410
-
2411
- // ZodPrefault
2412
- export interface ZodPrefault<T extends core.SomeType = core.$ZodType>
2413
- extends _ZodType<core.$ZodPrefaultInternals<T>>,
2414
- core.$ZodPrefault<T> {
2415
- "~standard": ZodStandardSchemaWithJSON<this>;
2416
- unwrap(): T;
2417
- }
2418
- export const ZodPrefault: core.$constructor<ZodPrefault> = /*@__PURE__*/ core.$constructor(
2419
- "ZodPrefault",
2420
- (inst, def) => {
2421
- core.$ZodPrefault.init(inst, def);
2422
- ZodType.init(inst, def);
2423
- inst._zod.processJSONSchema = (ctx, json, params) => processors.prefaultProcessor(inst, ctx, json, params);
2424
- inst.unwrap = () => inst._zod.def.innerType;
2425
- }
2426
- );
2427
-
2428
- export function prefault<T extends core.SomeType>(
2429
- innerType: T,
2430
- defaultValue: core.input<T> | (() => core.input<T>)
2431
- ): ZodPrefault<T> {
2432
- return new ZodPrefault({
2433
- type: "prefault",
2434
- innerType: innerType as any as core.$ZodType,
2435
- get defaultValue() {
2436
- return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
2437
- },
2438
- }) as any;
2439
- }
2440
-
2441
- // ZodNonOptional
2442
- export interface ZodNonOptional<T extends core.SomeType = core.$ZodType>
2443
- extends _ZodType<core.$ZodNonOptionalInternals<T>>,
2444
- core.$ZodNonOptional<T> {
2445
- "~standard": ZodStandardSchemaWithJSON<this>;
2446
- unwrap(): T;
2447
- }
2448
- export const ZodNonOptional: core.$constructor<ZodNonOptional> = /*@__PURE__*/ core.$constructor(
2449
- "ZodNonOptional",
2450
- (inst, def) => {
2451
- core.$ZodNonOptional.init(inst, def);
2452
- ZodType.init(inst, def);
2453
- inst._zod.processJSONSchema = (ctx, json, params) => processors.nonoptionalProcessor(inst, ctx, json, params);
2454
-
2455
- inst.unwrap = () => inst._zod.def.innerType;
2456
- }
2457
- );
2458
-
2459
- export function nonoptional<T extends core.SomeType>(
2460
- innerType: T,
2461
- params?: string | core.$ZodNonOptionalParams
2462
- ): ZodNonOptional<T> {
2463
- return new ZodNonOptional({
2464
- type: "nonoptional",
2465
- innerType: innerType as any as core.$ZodType,
2466
- ...util.normalizeParams(params),
2467
- }) as any;
2468
- }
2469
-
2470
- // ZodSuccess
2471
- export interface ZodSuccess<T extends core.SomeType = core.$ZodType>
2472
- extends _ZodType<core.$ZodSuccessInternals<T>>,
2473
- core.$ZodSuccess<T> {
2474
- "~standard": ZodStandardSchemaWithJSON<this>;
2475
- unwrap(): T;
2476
- }
2477
- export const ZodSuccess: core.$constructor<ZodSuccess> = /*@__PURE__*/ core.$constructor("ZodSuccess", (inst, def) => {
2478
- core.$ZodSuccess.init(inst, def);
2479
- ZodType.init(inst, def);
2480
- inst._zod.processJSONSchema = (ctx, json, params) => processors.successProcessor(inst, ctx, json, params);
2481
-
2482
- inst.unwrap = () => inst._zod.def.innerType;
2483
- });
2484
-
2485
- export function success<T extends core.SomeType>(innerType: T): ZodSuccess<T> {
2486
- return new ZodSuccess({
2487
- type: "success",
2488
- innerType: innerType as any as core.$ZodType,
2489
- }) as any;
2490
- }
2491
-
2492
- // ZodCatch
2493
- export interface ZodCatch<T extends core.SomeType = core.$ZodType>
2494
- extends _ZodType<core.$ZodCatchInternals<T>>,
2495
- core.$ZodCatch<T> {
2496
- "~standard": ZodStandardSchemaWithJSON<this>;
2497
- unwrap(): T;
2498
- /** @deprecated Use `.unwrap()` instead. */
2499
- removeCatch(): T;
2500
- }
2501
- export const ZodCatch: core.$constructor<ZodCatch> = /*@__PURE__*/ core.$constructor("ZodCatch", (inst, def) => {
2502
- core.$ZodCatch.init(inst, def);
2503
- ZodType.init(inst, def);
2504
- inst._zod.processJSONSchema = (ctx, json, params) => processors.catchProcessor(inst, ctx, json, params);
2505
-
2506
- inst.unwrap = () => inst._zod.def.innerType;
2507
- inst.removeCatch = inst.unwrap;
2508
- });
2509
-
2510
- function _catch<T extends core.SomeType>(
2511
- innerType: T,
2512
- catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)
2513
- ): ZodCatch<T> {
2514
- return new ZodCatch({
2515
- type: "catch",
2516
- innerType: innerType as any as core.$ZodType,
2517
- catchValue: (typeof catchValue === "function" ? catchValue : core.util.constantCatch(catchValue)) as (
2518
- ctx: core.$ZodCatchCtx
2519
- ) => core.output<T>,
2520
- }) as any;
2521
- }
2522
- export { _catch as catch };
2523
-
2524
- // ZodNaN
2525
- export interface ZodNaN extends _ZodType<core.$ZodNaNInternals>, core.$ZodNaN {
2526
- "~standard": ZodStandardSchemaWithJSON<this>;
2527
- }
2528
- export const ZodNaN: core.$constructor<ZodNaN> = /*@__PURE__*/ core.$constructor("ZodNaN", (inst, def) => {
2529
- core.$ZodNaN.init(inst, def);
2530
- ZodType.init(inst, def);
2531
- inst._zod.processJSONSchema = (ctx, json, params) => processors.nanProcessor(inst, ctx, json, params);
2532
- });
2533
-
2534
- export function nan(params?: string | core.$ZodNaNParams): ZodNaN {
2535
- return core._nan(ZodNaN, params);
2536
- }
2537
-
2538
- // ZodPipe
2539
- export interface ZodPipe<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType>
2540
- extends _ZodType<core.$ZodPipeInternals<A, B>>,
2541
- core.$ZodPipe<A, B> {
2542
- "~standard": ZodStandardSchemaWithJSON<this>;
2543
- in: A;
2544
- out: B;
2545
- }
2546
- export const ZodPipe: core.$constructor<ZodPipe> = /*@__PURE__*/ core.$constructor("ZodPipe", (inst, def) => {
2547
- core.$ZodPipe.init(inst, def);
2548
- ZodType.init(inst, def);
2549
- inst._zod.processJSONSchema = (ctx, json, params) => processors.pipeProcessor(inst, ctx, json, params);
2550
-
2551
- inst.in = def.in;
2552
- inst.out = def.out;
2553
- });
2554
-
2555
- export function pipe<
2556
- const A extends core.SomeType,
2557
- B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>,
2558
- >(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodPipe<A, B>;
2559
- export function pipe(in_: core.SomeType, out: core.SomeType) {
2560
- return new ZodPipe({
2561
- type: "pipe",
2562
- in: in_ as unknown as core.$ZodType,
2563
- out: out as unknown as core.$ZodType,
2564
- // ...util.normalizeParams(params),
2565
- });
2566
- }
2567
-
2568
- // ZodCodec
2569
- export interface ZodCodec<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType>
2570
- extends ZodPipe<A, B>,
2571
- core.$ZodCodec<A, B> {
2572
- "~standard": ZodStandardSchemaWithJSON<this>;
2573
- _zod: core.$ZodCodecInternals<A, B>;
2574
- def: core.$ZodCodecDef<A, B>;
2575
- }
2576
- export const ZodCodec: core.$constructor<ZodCodec> = /*@__PURE__*/ core.$constructor("ZodCodec", (inst, def) => {
2577
- ZodPipe.init(inst, def);
2578
- core.$ZodCodec.init(inst, def);
2579
- });
2580
-
2581
- export function codec<const A extends core.SomeType, B extends core.SomeType = core.$ZodType>(
2582
- in_: A,
2583
- out: B,
2584
- params: {
2585
- decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;
2586
- encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;
2587
- }
2588
- ): ZodCodec<A, B> {
2589
- return new ZodCodec({
2590
- type: "pipe",
2591
- in: in_ as any as core.$ZodType,
2592
- out: out as any as core.$ZodType,
2593
- transform: params.decode as any,
2594
- reverseTransform: params.encode as any,
2595
- }) as any;
2596
- }
2597
-
2598
- export function invertCodec<A extends core.SomeType, B extends core.SomeType>(codec: ZodCodec<A, B>): ZodCodec<B, A> {
2599
- const def = codec._zod.def;
2600
- return new ZodCodec({
2601
- type: "pipe",
2602
- in: def.out as any,
2603
- out: def.in as any,
2604
- transform: def.reverseTransform as any,
2605
- reverseTransform: def.transform as any,
2606
- }) as any;
2607
- }
2608
-
2609
- // ZodPreprocess
2610
- export interface ZodPreprocess<B extends core.SomeType = core.$ZodType, I = unknown>
2611
- extends ZodPipe<core.$ZodTransform<unknown, I>, B>,
2612
- core.$ZodPreprocess<B, I> {
2613
- "~standard": ZodStandardSchemaWithJSON<this>;
2614
- _zod: core.$ZodPreprocessInternals<B, I>;
2615
- def: core.$ZodPreprocessDef<B, I>;
2616
- }
2617
- export const ZodPreprocess: core.$constructor<ZodPreprocess> = /*@__PURE__*/ core.$constructor(
2618
- "ZodPreprocess",
2619
- (inst, def) => {
2620
- ZodPipe.init(inst, def);
2621
- core.$ZodPreprocess.init(inst, def);
2622
- }
2623
- );
2624
-
2625
- // ZodReadonly
2626
- export interface ZodReadonly<T extends core.SomeType = core.$ZodType>
2627
- extends _ZodType<core.$ZodReadonlyInternals<T>>,
2628
- core.$ZodReadonly<T> {
2629
- "~standard": ZodStandardSchemaWithJSON<this>;
2630
- unwrap(): T;
2631
- }
2632
- export const ZodReadonly: core.$constructor<ZodReadonly> = /*@__PURE__*/ core.$constructor(
2633
- "ZodReadonly",
2634
- (inst, def) => {
2635
- core.$ZodReadonly.init(inst, def);
2636
- ZodType.init(inst, def);
2637
- inst._zod.processJSONSchema = (ctx, json, params) => processors.readonlyProcessor(inst, ctx, json, params);
2638
-
2639
- inst.unwrap = () => inst._zod.def.innerType;
2640
- }
2641
- );
2642
-
2643
- export function readonly<T extends core.SomeType>(innerType: T): ZodReadonly<T> {
2644
- return new ZodReadonly({
2645
- type: "readonly",
2646
- innerType: innerType as any as core.$ZodType,
2647
- }) as any;
2648
- }
2649
-
2650
- // ZodTemplateLiteral
2651
- export interface ZodTemplateLiteral<Template extends string = string>
2652
- extends _ZodType<core.$ZodTemplateLiteralInternals<Template>>,
2653
- core.$ZodTemplateLiteral<Template> {
2654
- "~standard": ZodStandardSchemaWithJSON<this>;
2655
- }
2656
- export const ZodTemplateLiteral: core.$constructor<ZodTemplateLiteral> = /*@__PURE__*/ core.$constructor(
2657
- "ZodTemplateLiteral",
2658
- (inst, def) => {
2659
- core.$ZodTemplateLiteral.init(inst, def);
2660
- ZodType.init(inst, def);
2661
- inst._zod.processJSONSchema = (ctx, json, params) => processors.templateLiteralProcessor(inst, ctx, json, params);
2662
- }
2663
- );
2664
-
2665
- export function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(
2666
- parts: Parts,
2667
- params?: string | core.$ZodTemplateLiteralParams
2668
- ): ZodTemplateLiteral<core.$PartsToTemplateLiteral<Parts>> {
2669
- return new ZodTemplateLiteral({
2670
- type: "template_literal",
2671
- parts,
2672
- ...util.normalizeParams(params),
2673
- }) as any;
2674
- }
2675
-
2676
- // ZodLazy
2677
- export interface ZodLazy<T extends core.SomeType = core.$ZodType>
2678
- extends _ZodType<core.$ZodLazyInternals<T>>,
2679
- core.$ZodLazy<T> {
2680
- "~standard": ZodStandardSchemaWithJSON<this>;
2681
- unwrap(): T;
2682
- }
2683
- export const ZodLazy: core.$constructor<ZodLazy> = /*@__PURE__*/ core.$constructor("ZodLazy", (inst, def) => {
2684
- core.$ZodLazy.init(inst, def);
2685
- ZodType.init(inst, def);
2686
- inst._zod.processJSONSchema = (ctx, json, params) => processors.lazyProcessor(inst, ctx, json, params);
2687
-
2688
- inst.unwrap = () => inst._zod.def.getter();
2689
- });
2690
-
2691
- export function lazy<T extends core.SomeType>(getter: () => T): ZodLazy<T> {
2692
- return new ZodLazy({
2693
- type: "lazy",
2694
- getter: getter as any,
2695
- }) as any;
2696
- }
2697
-
2698
- // ZodPromise
2699
- export interface ZodPromise<T extends core.SomeType = core.$ZodType>
2700
- extends _ZodType<core.$ZodPromiseInternals<T>>,
2701
- core.$ZodPromise<T> {
2702
- "~standard": ZodStandardSchemaWithJSON<this>;
2703
- unwrap(): T;
2704
- }
2705
- export const ZodPromise: core.$constructor<ZodPromise> = /*@__PURE__*/ core.$constructor("ZodPromise", (inst, def) => {
2706
- core.$ZodPromise.init(inst, def);
2707
- ZodType.init(inst, def);
2708
- inst._zod.processJSONSchema = (ctx, json, params) => processors.promiseProcessor(inst, ctx, json, params);
2709
-
2710
- inst.unwrap = () => inst._zod.def.innerType;
2711
- });
2712
-
2713
- export function promise<T extends core.SomeType>(innerType: T): ZodPromise<T> {
2714
- return new ZodPromise({
2715
- type: "promise",
2716
- innerType: innerType as any as core.$ZodType,
2717
- }) as any;
2718
- }
2719
-
2720
- // ZodFunction
2721
- export interface ZodFunction<
2722
- Args extends core.$ZodFunctionIn = core.$ZodFunctionIn,
2723
- Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut,
2724
- > extends _ZodType<core.$ZodFunctionInternals<Args, Returns>>,
2725
- core.$ZodFunction<Args, Returns> {
2726
- "~standard": ZodStandardSchemaWithJSON<this>;
2727
- _def: core.$ZodFunctionDef<Args, Returns>;
2728
- _input: core.$InferInnerFunctionType<Args, Returns>;
2729
- _output: core.$InferOuterFunctionType<Args, Returns>;
2730
-
2731
- input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(
2732
- args: Items,
2733
- rest?: Rest
2734
- ): ZodFunction<core.$ZodTuple<Items, Rest>, Returns>;
2735
- input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodFunction<NewArgs, Returns>;
2736
- input(...args: any[]): ZodFunction<any, Returns>;
2737
-
2738
- output<NewReturns extends core.$ZodType>(output: NewReturns): ZodFunction<Args, NewReturns>;
2739
- }
2740
-
2741
- export const ZodFunction: core.$constructor<ZodFunction> = /*@__PURE__*/ core.$constructor(
2742
- "ZodFunction",
2743
- (inst, def) => {
2744
- core.$ZodFunction.init(inst, def);
2745
- ZodType.init(inst, def);
2746
- inst._zod.processJSONSchema = (ctx, json, params) => processors.functionProcessor(inst, ctx, json, params);
2747
- }
2748
- );
2749
-
2750
- export function _function(): ZodFunction;
2751
- export function _function<const In extends ReadonlyArray<core.$ZodType>>(params: {
2752
- input: In;
2753
- }): ZodFunction<ZodTuple<In, null>, core.$ZodFunctionOut>;
2754
- export function _function<
2755
- const In extends ReadonlyArray<core.$ZodType>,
2756
- const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut,
2757
- >(params: {
2758
- input: In;
2759
- output: Out;
2760
- }): ZodFunction<ZodTuple<In, null>, Out>;
2761
- export function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {
2762
- input: In;
2763
- }): ZodFunction<In, core.$ZodFunctionOut>;
2764
- export function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {
2765
- output: Out;
2766
- }): ZodFunction<core.$ZodFunctionIn, Out>;
2767
- export function _function<
2768
- In extends core.$ZodFunctionIn = core.$ZodFunctionIn,
2769
- Out extends core.$ZodType = core.$ZodType,
2770
- >(params?: {
2771
- input: In;
2772
- output: Out;
2773
- }): ZodFunction<In, Out>;
2774
- export function _function(params?: {
2775
- output?: core.$ZodType;
2776
- input?: core.$ZodFunctionArgs | Array<core.$ZodType>;
2777
- }): ZodFunction {
2778
- return new ZodFunction({
2779
- type: "function",
2780
- input: Array.isArray(params?.input) ? tuple(params?.input as any) : (params?.input ?? array(unknown())),
2781
- output: params?.output ?? unknown(),
2782
- });
2783
- }
2784
-
2785
- export { _function as function };
2786
-
2787
- // ZodCustom
2788
- export interface ZodCustom<O = unknown, I = unknown>
2789
- extends _ZodType<core.$ZodCustomInternals<O, I>>,
2790
- core.$ZodCustom<O, I> {
2791
- "~standard": ZodStandardSchemaWithJSON<this>;
2792
- }
2793
- export const ZodCustom: core.$constructor<ZodCustom> = /*@__PURE__*/ core.$constructor("ZodCustom", (inst, def) => {
2794
- core.$ZodCustom.init(inst, def);
2795
- ZodType.init(inst, def);
2796
- inst._zod.processJSONSchema = (ctx, json, params) => processors.customProcessor(inst, ctx, json, params);
2797
- });
2798
-
2799
- // custom checks
2800
- export function check<O = unknown>(fn: core.CheckFn<O>): core.$ZodCheck<O> {
2801
- const ch = new core.$ZodCheck({
2802
- check: "custom",
2803
- // ...util.normalizeParams(params),
2804
- });
2805
-
2806
- ch._zod.check = fn;
2807
- return ch;
2808
- }
2809
-
2810
- export function custom<O>(
2811
- fn?: (data: unknown) => unknown,
2812
- _params?: string | core.$ZodCustomParams | undefined
2813
- ): ZodCustom<O, O> {
2814
- return core._custom(ZodCustom, fn ?? (() => true), _params) as any;
2815
- }
2816
-
2817
- export function refine<T>(
2818
- fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>,
2819
- _params: string | core.$ZodCustomParams = {}
2820
- ): core.$ZodCheck<T> {
2821
- return core._refine(ZodCustom, fn, _params);
2822
- }
2823
-
2824
- // superRefine
2825
- export function superRefine<T>(
2826
- fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>,
2827
- params?: core.$ZodSuperRefineParams
2828
- ): core.$ZodCheck<T> {
2829
- return core._superRefine(fn, params);
2830
- }
2831
-
2832
- // Re-export describe and meta from core
2833
- export const describe = core.describe;
2834
- export const meta = core.meta;
2835
-
2836
- type ZodInstanceOfParams = core.Params<
2837
- ZodCustom,
2838
- core.$ZodIssueCustom,
2839
- "type" | "check" | "checks" | "fn" | "abort" | "error" | "params" | "path"
2840
- >;
2841
-
2842
- // ZodInstanceOf
2843
- export interface ZodInstanceOf<T = unknown> extends ZodCustom<T, T> {
2844
- // the shape is keyed off the instance type, so keys autocomplete and a schema that can't accept the property's type is an error. Methods are excluded: every object literal inherits Object.prototype.toString, which would otherwise collide with the constraint's own toString entry and reject every shape.
2845
- properties<Shape extends { [k in keyof T as T[k] extends Function ? never : k]?: core.$ZodType<unknown, T[k]> }>(
2846
- shape: Shape,
2847
- params?: string | core.$ZodCheckPropertiesParams
2848
- ): ZodInstanceOf<T & core.$InferObjectInput<Shape, {}>>;
2849
- }
2850
- export const ZodInstanceOf: core.$constructor<ZodInstanceOf> = /*@__PURE__*/ core.$constructor(
2851
- "ZodInstanceOf",
2852
- (inst, def) => {
2853
- ZodCustom.init(inst, def);
2854
- },
2855
- {
2856
- properties(shape: core.$ZodShape, params?: string | core.$ZodCheckPropertiesParams) {
2857
- // asserts in place, so the narrowed output type is truthful without a wrapper
2858
- return this.check(core._properties(shape, params)) as any;
2859
- },
2860
- }
2861
- );
2862
-
2863
- function _instanceof<T extends typeof util.Class>(
2864
- cls: T,
2865
- params: ZodInstanceOfParams = {}
2866
- ): ZodInstanceOf<InstanceType<T>> {
2867
- const inst = new ZodInstanceOf({
2868
- type: "custom",
2869
- check: "custom",
2870
- fn: (data: unknown) => data instanceof cls,
2871
- abort: true,
2872
- ...(util.normalizeParams(params) as any),
2873
- });
2874
- inst._zod.bag.Class = cls;
2875
- // Override check to emit invalid_type instead of custom
2876
- inst._zod.check = (payload) => {
2877
- if (!(payload.value instanceof cls)) {
2878
- payload.issues.push({
2879
- code: "invalid_type",
2880
- expected: cls.name,
2881
- input: payload.value,
2882
- inst,
2883
- path: [...(inst._zod.def.path ?? [])],
2884
- });
2885
- }
2886
- };
2887
- return inst as any;
2888
- }
2889
- export { _instanceof as instanceof };
2890
-
2891
- // stringbool
2892
- export const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodCodec<ZodString, ZodBoolean> = (
2893
- ...args
2894
- ) =>
2895
- core._stringbool(
2896
- {
2897
- Codec: ZodCodec,
2898
- Boolean: ZodBoolean,
2899
- String: ZodString,
2900
- },
2901
- ...args
2902
- ) as any;
2903
-
2904
- // json
2905
- type _ZodJSONSchema = ZodUnion<
2906
- [ZodString, ZodNumber, ZodBoolean, ZodNull, ZodArray<ZodJSONSchema>, ZodRecord<ZodString, ZodJSONSchema>]
2907
- >;
2908
- type _ZodJSONSchemaInternals = _ZodJSONSchema["_zod"];
2909
-
2910
- export interface ZodJSONSchemaInternals extends _ZodJSONSchemaInternals {
2911
- output: util.JSONType;
2912
- input: util.JSONType;
2913
- }
2914
- export interface ZodJSONSchema extends _ZodJSONSchema {
2915
- _zod: ZodJSONSchemaInternals;
2916
- }
2917
-
2918
- export function json(params?: string | core.$ZodCustomParams): ZodJSONSchema {
2919
- const jsonSchema: any = lazy(() => {
2920
- return union([string(params), number(), boolean(), _null(), array(jsonSchema), record(string(), jsonSchema)]);
2921
- });
2922
-
2923
- return jsonSchema;
2924
- }
2925
-
2926
- // preprocess
2927
-
2928
- export function preprocess<A, U extends core.SomeType, B = unknown>(
2929
- fn: (arg: B, ctx: core.$RefinementCtx) => A,
2930
- schema: U
2931
- ): ZodPreprocess<U, B> {
2932
- return new ZodPreprocess({
2933
- type: "pipe",
2934
- in: transform(fn as any) as any as core.$ZodTransform,
2935
- out: schema as any as core.$ZodType,
2936
- }) as any;
2937
- }