@openclaw/discord 2026.9.4 → 2026.9.5

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 (765) hide show
  1. package/assets/activity.svg +40 -0
  2. package/assets/icon.png +0 -0
  3. package/dist/{account-inspect-BY-ve3yH.js → .setup/account-inspect-BwQj24ht.mjs} +1 -1
  4. package/dist/{activities-api-w8j7Elou.js → .setup/activities-api-DBwRt5ES.mjs} +93 -31
  5. package/dist/{api-LIV--eMq.js → .setup/api-CBK9zcq5.mjs} +7 -4
  6. package/dist/{approval-handler.runtime-BnPUU5NK.js → .setup/approval-handler.runtime-Du3n5ypX.mjs} +8 -7
  7. package/dist/.setup/approval-message-updates-BN7JtScm.mjs +17 -0
  8. package/dist/{audit-BgAgIzwo.js → .setup/audit-C8uaKoa9.mjs} +5 -5
  9. package/dist/{channel-C_OFFR5Y.js → .setup/channel-ChKdlBgH.mjs} +27 -25
  10. package/dist/{channel-actions.runtime-tShzmemq.js → .setup/channel-actions.runtime-CJmiFfps.mjs} +18 -11
  11. package/dist/{allow-list-DWEio925.js → .setup/channel-type-DKnjV1XW.mjs} +161 -1
  12. package/dist/{channel.setup-CpAwAiS0.js → .setup/channel.setup-BlC3-Kzz.mjs} +4 -4
  13. package/dist/{components-DBFTIN6P.js → .setup/components-MqMWUWnE.mjs} +3 -3
  14. package/dist/{config-schema-r38UkM_J.js → .setup/config-schema-CiZz-mtA.mjs} +1 -1
  15. package/dist/{conversation-binding-route-CB9PRqgi.js → .setup/conversation-binding-route-_rz33QHO.mjs} +1 -1
  16. package/dist/{directory-config-D1uDGbWh.js → .setup/directory-config-BytTftz-.mjs} +2 -2
  17. package/dist/{directory-live-C5o1uKlw.js → .setup/directory-live--EGTH0DC.mjs} +4 -4
  18. package/dist/{discord-CmL3ati-.js → .setup/discord-BXpHW-cu.mjs} +89 -39
  19. package/dist/{doctor-DgKMH6N7.js → .setup/doctor-DxcdkXzz.mjs} +6 -6
  20. package/dist/{handle-action.guild-admin-CpEwox_X.js → .setup/handle-action.guild-admin-DAFyh_yV.mjs} +9 -4
  21. package/dist/{live-policy-config-BblutQAq.js → .setup/live-policy-config-eKQ-PLdy.mjs} +1 -1
  22. package/dist/{message-handler-C7FZGKa8.js → .setup/message-handler-DnUrDpaU.mjs} +23 -13
  23. package/dist/{message-handler.preflight-DFpwDW2W.js → .setup/message-handler.preflight-CtqaF_fb.mjs} +33 -20
  24. package/dist/{message-handler.process-ZKrmmA9D.js → .setup/message-handler.process-Dz1xvuQU.mjs} +68 -78
  25. package/dist/{outbound-adapter-C8PTt7_p.js → .setup/outbound-adapter-C8v79z9Z.mjs} +13 -9
  26. package/dist/{outbound-session-route-B0N6os97.js → .setup/outbound-session-route-CqWbuMOm.mjs} +137 -11
  27. package/dist/{pluralkit-BiUW53Yn.js → .setup/pluralkit-CdAt1G0P.mjs} +2 -2
  28. package/dist/{probe-BcoN44eK.js → .setup/probe-CupW4we4.mjs} +14 -10
  29. package/dist/{probe.runtime-BnuED0fI.js → .setup/probe.runtime-DBQ_AGPe.mjs} +1 -1
  30. package/dist/{provider-DmRHCZ_K.js → .setup/provider-72zIvN-i.mjs} +475 -286
  31. package/dist/{provider-session.runtime-U1M8_EYY.js → .setup/provider-session.runtime-BW7QrF5C.mjs} +4 -4
  32. package/dist/.setup/provider.runtime-DuhmKdDU.mjs +2 -0
  33. package/dist/{realtime-session.runtime-Bjsk9Q5t.js → .setup/realtime-session.runtime-DTccTgTM.mjs} +758 -336
  34. package/dist/{resolve-allowlist-common-ChPf0Qy7.js → .setup/resolve-allowlist-common-CwMBzbx9.mjs} +3 -3
  35. package/dist/{resolve-channels-VbpLmUS8.js → .setup/resolve-channels-BbvsLQOZ.mjs} +4 -5
  36. package/dist/{resolve-users-D-wRFsd5.js → .setup/resolve-users-ByFlR7LQ.mjs} +3 -3
  37. package/dist/{retry-DKeoT7UO.js → .setup/retry-DBfcEgmO.mjs} +28 -6
  38. package/dist/{runtime-CbknwoBH.js → .setup/runtime-BVoa7hhx.mjs} +2 -2
  39. package/dist/{runtime-Dxl-ZOvg.js → .setup/runtime-SchNfUsQ.mjs} +92 -139
  40. package/dist/{security-audit-DKfK-iPY.js → .setup/security-audit-s5w50-Ly.mjs} +1 -1
  41. package/dist/{security-audit.runtime-sKZyKgpx.js → .setup/security-audit.runtime-DHtYenx9.mjs} +1 -1
  42. package/dist/{send-CLpzfzJe.js → .setup/send-CKDczUNL.mjs} +60 -31
  43. package/dist/{send.components-BWnkX4QN.js → .setup/send.components-DWQjXhPV.mjs} +87 -65
  44. package/dist/{send.outbound-BVTWrl_4.js → .setup/send.outbound-D0hQ7s50.mjs} +17 -7
  45. package/dist/{send.shared-BHPM3CSl.js → .setup/send.shared-Zwx6BxQ5.mjs} +15 -12
  46. package/dist/{sender-identity-f3l5OYgV.js → .setup/sender-identity-0Ymgvmaj.mjs} +1 -1
  47. package/dist/.setup/setup-plugin-api-CINIEBLa.mjs +3 -0
  48. package/dist/{shared-CPPR0Xo4.js → .setup/shared-CaA3Vv4n.mjs} +11 -11
  49. package/dist/{subagent-hooks-DfsiwCec.js → .setup/subagent-hooks-Bired9q6.mjs} +16 -4
  50. package/dist/{system-events-B6HkUhF_.js → .setup/system-events-B2YEEMbS.mjs} +2 -2
  51. package/dist/{target-resolver-CoFQ7iSX.js → .setup/target-resolver-B6MrxbYv.mjs} +4 -4
  52. package/dist/.setup/targets-D1mAB5yO.mjs +3 -0
  53. package/dist/{thread-bindings-uudC_0TY.js → .setup/thread-bindings-CK5272V3.mjs} +6 -6
  54. package/dist/{thread-bindings.manager-BeUxc8nr.js → .setup/thread-bindings.manager-eexkKyrG.mjs} +14 -9
  55. package/dist/{thread-bindings.session-updates-BwkXpcy0.js → .setup/thread-bindings.session-updates-DCQq1WZ5.mjs} +1 -1
  56. package/dist/{thread-bindings.state-dDn-dwBw.js → .setup/thread-bindings.state-BThFQEga.mjs} +46 -14
  57. package/dist/{transcripts-source-VkgenQv-.js → .setup/transcripts-source-CuWYgayu.mjs} +62 -25
  58. package/dist/{typing-DuBg1U8Q.js → .setup/typing-BKZL5fGj.mjs} +2 -2
  59. package/dist/{voice-runtime-DMYDMkJx.js → .setup/voice-runtime-DHVQ2mFz.mjs} +529 -181
  60. package/dist/account-inspect-api.js +1 -1
  61. package/dist/action-runtime-api.js +1 -1
  62. package/dist/activities-api.js +1 -1
  63. package/dist/api.js +19 -19
  64. package/dist/channel-config-api.js +1 -1
  65. package/dist/channel-plugin-api.js +1 -1
  66. package/dist/contract-api.js +1 -1
  67. package/dist/directory-contract-api.js +1 -1
  68. package/dist/doctor-contract-api.js +4 -4
  69. package/dist/index.js +1 -1
  70. package/dist/runtime-api.js +22 -22
  71. package/dist/runtime-setter-api.js +1 -1
  72. package/dist/secret-contract-api.js +1 -1
  73. package/dist/security-audit-contract-api.js +1 -1
  74. package/dist/security-contract-api.js +1 -1
  75. package/dist/session-key-api.js +1 -1
  76. package/dist/setup-entry.js +2 -1
  77. package/dist/setup-plugin-api.js +1 -1
  78. package/dist/subagent-hooks-api.js +5 -4
  79. package/dist/thread-binding-api.js +1 -1
  80. package/dist/transcripts-source-api.js +1 -1
  81. package/node_modules/@types/node/README.md +1 -1
  82. package/node_modules/@types/node/buffer.d.ts +1 -0
  83. package/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  84. package/node_modules/@types/node/ffi.d.ts +1 -1
  85. package/node_modules/@types/node/http.d.ts +1 -1
  86. package/node_modules/@types/node/package.json +3 -3
  87. package/node_modules/@types/node/perf_hooks.d.ts +31 -19
  88. package/node_modules/@types/node/quic.d.ts +6 -4
  89. package/node_modules/@types/node/stream/web.d.ts +20 -0
  90. package/node_modules/@types/node/tls.d.ts +26 -15
  91. package/node_modules/@types/node/vfs.d.ts +7 -6
  92. package/node_modules/@types/node/zlib.d.ts +17 -0
  93. package/node_modules/discord-api-types/README.md +3 -2
  94. package/node_modules/discord-api-types/package.json +46 -46
  95. package/node_modules/discord-api-types/rest/v10/interactions.d.ts +1 -0
  96. package/node_modules/discord-api-types/rest/v10/interactions.d.ts.map +1 -1
  97. package/node_modules/discord-api-types/rest/v9/interactions.d.ts +1 -0
  98. package/node_modules/discord-api-types/rest/v9/interactions.d.ts.map +1 -1
  99. package/node_modules/libopus-wasm/CHANGELOG.md +15 -0
  100. package/node_modules/libopus-wasm/README.md +1 -1
  101. package/node_modules/libopus-wasm/dist/discordjs.d.ts.map +1 -1
  102. package/node_modules/libopus-wasm/dist/generated/libopus.generated.mjs +0 -0
  103. package/node_modules/libopus-wasm/dist/index.d.ts.map +1 -1
  104. package/node_modules/libopus-wasm/dist/index.js +37 -18
  105. package/node_modules/libopus-wasm/package.json +13 -13
  106. package/node_modules/typebox/build/compile/validator.d.mts +1 -1
  107. package/node_modules/typebox/build/compile/validator.mjs +1 -1
  108. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +7 -5
  109. package/node_modules/typebox/build/format/iri.mjs +5 -1
  110. package/node_modules/typebox/build/guard/emit.mjs +2 -4
  111. package/node_modules/typebox/build/guard/guard.mjs +6 -18
  112. package/node_modules/typebox/build/guard/string.mjs +16 -24
  113. package/node_modules/typebox/build/schema/build.mjs +2 -2
  114. package/node_modules/typebox/build/schema/check.mjs +1 -1
  115. package/node_modules/typebox/build/schema/compile.d.mts +3 -2
  116. package/node_modules/typebox/build/schema/compile.mjs +8 -8
  117. package/node_modules/typebox/build/schema/engine/_context.d.mts +6 -7
  118. package/node_modules/typebox/build/schema/engine/_context.mjs +23 -15
  119. package/node_modules/typebox/build/schema/engine/_functions.d.mts +2 -2
  120. package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -1
  121. package/node_modules/typebox/build/schema/engine/_reducer.d.mts +3 -3
  122. package/node_modules/typebox/build/schema/engine/_refine.d.mts +5 -5
  123. package/node_modules/typebox/build/schema/engine/_refine.mjs +4 -7
  124. package/node_modules/typebox/build/schema/engine/_stack.d.mts +34 -16
  125. package/node_modules/typebox/build/schema/engine/_stack.mjs +148 -104
  126. package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +4 -4
  127. package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +8 -8
  128. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +26 -18
  129. package/node_modules/typebox/build/schema/engine/allOf.d.mts +4 -4
  130. package/node_modules/typebox/build/schema/engine/allOf.mjs +3 -3
  131. package/node_modules/typebox/build/schema/engine/anyOf.d.mts +4 -4
  132. package/node_modules/typebox/build/schema/engine/anyOf.mjs +5 -10
  133. package/node_modules/typebox/build/schema/engine/boolean.d.mts +4 -4
  134. package/node_modules/typebox/build/schema/engine/boolean.mjs +2 -6
  135. package/node_modules/typebox/build/schema/engine/const.d.mts +4 -4
  136. package/node_modules/typebox/build/schema/engine/const.mjs +2 -6
  137. package/node_modules/typebox/build/schema/engine/contains.d.mts +4 -4
  138. package/node_modules/typebox/build/schema/engine/contains.mjs +2 -6
  139. package/node_modules/typebox/build/schema/engine/dependencies.d.mts +4 -4
  140. package/node_modules/typebox/build/schema/engine/dependencies.mjs +3 -6
  141. package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +4 -4
  142. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +2 -6
  143. package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +4 -4
  144. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +4 -4
  145. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +11 -7
  146. package/node_modules/typebox/build/schema/engine/enum.d.mts +4 -4
  147. package/node_modules/typebox/build/schema/engine/enum.mjs +2 -6
  148. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +4 -4
  149. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +2 -6
  150. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +4 -4
  151. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +2 -6
  152. package/node_modules/typebox/build/schema/engine/format.d.mts +4 -4
  153. package/node_modules/typebox/build/schema/engine/format.mjs +2 -6
  154. package/node_modules/typebox/build/schema/engine/if.d.mts +4 -4
  155. package/node_modules/typebox/build/schema/engine/if.mjs +7 -15
  156. package/node_modules/typebox/build/schema/engine/items.d.mts +4 -4
  157. package/node_modules/typebox/build/schema/engine/items.mjs +1 -1
  158. package/node_modules/typebox/build/schema/engine/maxContains.d.mts +4 -4
  159. package/node_modules/typebox/build/schema/engine/maxContains.mjs +2 -6
  160. package/node_modules/typebox/build/schema/engine/maxItems.d.mts +4 -4
  161. package/node_modules/typebox/build/schema/engine/maxItems.mjs +2 -6
  162. package/node_modules/typebox/build/schema/engine/maxLength.d.mts +4 -4
  163. package/node_modules/typebox/build/schema/engine/maxLength.mjs +2 -6
  164. package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +4 -4
  165. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +2 -6
  166. package/node_modules/typebox/build/schema/engine/maximum.d.mts +4 -4
  167. package/node_modules/typebox/build/schema/engine/maximum.mjs +2 -6
  168. package/node_modules/typebox/build/schema/engine/minContains.d.mts +4 -4
  169. package/node_modules/typebox/build/schema/engine/minContains.mjs +2 -6
  170. package/node_modules/typebox/build/schema/engine/minItems.d.mts +5 -5
  171. package/node_modules/typebox/build/schema/engine/minItems.mjs +2 -6
  172. package/node_modules/typebox/build/schema/engine/minLength.d.mts +4 -4
  173. package/node_modules/typebox/build/schema/engine/minLength.mjs +2 -6
  174. package/node_modules/typebox/build/schema/engine/minProperties.d.mts +4 -4
  175. package/node_modules/typebox/build/schema/engine/minProperties.mjs +2 -6
  176. package/node_modules/typebox/build/schema/engine/minimum.d.mts +4 -4
  177. package/node_modules/typebox/build/schema/engine/minimum.mjs +2 -6
  178. package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +4 -4
  179. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +2 -6
  180. package/node_modules/typebox/build/schema/engine/not.d.mts +4 -4
  181. package/node_modules/typebox/build/schema/engine/not.mjs +4 -8
  182. package/node_modules/typebox/build/schema/engine/oneOf.d.mts +4 -4
  183. package/node_modules/typebox/build/schema/engine/oneOf.mjs +6 -11
  184. package/node_modules/typebox/build/schema/engine/pattern.d.mts +4 -4
  185. package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -7
  186. package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +4 -4
  187. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +1 -1
  188. package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +4 -4
  189. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +1 -1
  190. package/node_modules/typebox/build/schema/engine/properties.d.mts +4 -4
  191. package/node_modules/typebox/build/schema/engine/properties.mjs +1 -1
  192. package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +4 -4
  193. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +4 -10
  194. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +4 -4
  195. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +11 -7
  196. package/node_modules/typebox/build/schema/engine/ref.d.mts +4 -4
  197. package/node_modules/typebox/build/schema/engine/ref.mjs +19 -15
  198. package/node_modules/typebox/build/schema/engine/required.d.mts +4 -4
  199. package/node_modules/typebox/build/schema/engine/required.mjs +2 -6
  200. package/node_modules/typebox/build/schema/engine/schema.d.mts +7 -7
  201. package/node_modules/typebox/build/schema/engine/schema.mjs +137 -133
  202. package/node_modules/typebox/build/schema/engine/type.d.mts +4 -4
  203. package/node_modules/typebox/build/schema/engine/type.mjs +2 -6
  204. package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +4 -4
  205. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +5 -9
  206. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +4 -4
  207. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +5 -9
  208. package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +4 -4
  209. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +2 -6
  210. package/node_modules/typebox/build/schema/errors.d.mts +2 -2
  211. package/node_modules/typebox/build/schema/errors.mjs +8 -14
  212. package/node_modules/typebox/build/schema/intern/index.d.mts +1 -0
  213. package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
  214. package/node_modules/typebox/build/schema/intern/intern.d.mts +11 -0
  215. package/node_modules/typebox/build/schema/intern/intern.mjs +293 -0
  216. package/node_modules/typebox/build/schema/meta/draft_2019_09.d.mts +2 -0
  217. package/node_modules/typebox/build/schema/meta/draft_2019_09.mjs +288 -0
  218. package/node_modules/typebox/build/schema/meta/draft_2020_12.d.mts +2 -0
  219. package/node_modules/typebox/build/schema/meta/draft_2020_12.mjs +300 -0
  220. package/node_modules/typebox/build/schema/meta/draft_3.d.mts +2 -0
  221. package/node_modules/typebox/build/schema/meta/draft_3.mjs +143 -0
  222. package/node_modules/typebox/build/schema/meta/draft_4.d.mts +2 -0
  223. package/node_modules/typebox/build/schema/meta/draft_4.mjs +149 -0
  224. package/node_modules/typebox/build/schema/meta/draft_6.d.mts +2 -0
  225. package/node_modules/typebox/build/schema/meta/draft_6.mjs +155 -0
  226. package/node_modules/typebox/build/schema/meta/draft_7.d.mts +2 -0
  227. package/node_modules/typebox/build/schema/meta/draft_7.mjs +172 -0
  228. package/node_modules/typebox/build/schema/meta/index.d.mts +2 -0
  229. package/node_modules/typebox/build/schema/meta/index.mjs +2 -0
  230. package/node_modules/typebox/build/schema/meta/meta.d.mts +9 -0
  231. package/node_modules/typebox/build/schema/meta/meta.mjs +15 -0
  232. package/node_modules/typebox/build/schema/meta/schema.d.mts +6 -0
  233. package/node_modules/typebox/build/schema/meta/schema.mjs +1 -0
  234. package/node_modules/typebox/build/schema/parse.d.mts +1 -0
  235. package/node_modules/typebox/build/schema/parse.mjs +10 -5
  236. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +8 -3
  237. package/node_modules/typebox/build/schema/resolve/resolve.mjs +268 -139
  238. package/node_modules/typebox/build/schema/schema.d.mts +2 -0
  239. package/node_modules/typebox/build/schema/schema.mjs +2 -0
  240. package/node_modules/typebox/build/value/errors/errors.d.mts +2 -12
  241. package/node_modules/typebox/build/value/errors/errors.mjs +2 -7
  242. package/node_modules/typebox/package.json +1 -1
  243. package/node_modules/typebox/readme.md +59 -89
  244. package/node_modules/undici-types/client.d.ts +8 -3
  245. package/node_modules/undici-types/connector.d.ts +1 -0
  246. package/node_modules/undici-types/cookies.d.ts +1 -1
  247. package/node_modules/undici-types/dispatcher.d.ts +3 -3
  248. package/node_modules/undici-types/errors.d.ts +10 -0
  249. package/node_modules/undici-types/fetch.d.ts +5 -1
  250. package/node_modules/undici-types/handlers.d.ts +2 -0
  251. package/node_modules/undici-types/interceptors.d.ts +1 -1
  252. package/node_modules/undici-types/mock-interceptor.d.ts +5 -1
  253. package/node_modules/undici-types/package.json +1 -1
  254. package/node_modules/undici-types/proxy-agent.d.ts +7 -0
  255. package/node_modules/zod/README.md +27 -0
  256. package/node_modules/zod/compile.cjs +77 -0
  257. package/node_modules/zod/compile.d.cts +1 -0
  258. package/node_modules/zod/compile.d.ts +1 -0
  259. package/node_modules/zod/compile.js +52 -0
  260. package/node_modules/zod/index.cjs +2 -2
  261. package/node_modules/zod/index.d.cts +1 -2
  262. package/node_modules/zod/index.d.ts +1 -2
  263. package/node_modules/zod/index.js +5 -2
  264. package/node_modules/zod/package.json +13 -2
  265. package/node_modules/zod/src/compile.ts +56 -0
  266. package/node_modules/zod/src/index.ts +5 -2
  267. package/node_modules/zod/src/v3/ZodError.ts +22 -12
  268. package/node_modules/zod/src/v3/tests/error.test.ts +35 -0
  269. package/node_modules/zod/src/v3/tests/intersection.test.ts +18 -0
  270. package/node_modules/zod/src/v3/tests/language-server.test.ts +1 -2
  271. package/node_modules/zod/src/v3/tests/object.test.ts +3 -6
  272. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -80
  273. package/node_modules/zod/src/v3/tests/string.test.ts +6 -0
  274. package/node_modules/zod/src/v3/types.ts +5 -5
  275. package/node_modules/zod/src/v4/classic/checks.ts +1 -0
  276. package/node_modules/zod/src/v4/classic/compat.ts +26 -18
  277. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  278. package/node_modules/zod/src/v4/classic/errors.ts +59 -44
  279. package/node_modules/zod/src/v4/classic/external.ts +12 -9
  280. package/node_modules/zod/src/v4/classic/from-json-schema.ts +140 -78
  281. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  282. package/node_modules/zod/src/v4/classic/index.ts +2 -2
  283. package/node_modules/zod/src/v4/classic/iso.ts +2 -72
  284. package/node_modules/zod/src/v4/classic/parse.ts +10 -4
  285. package/node_modules/zod/src/v4/classic/schemas.ts +452 -262
  286. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +27 -0
  287. package/node_modules/zod/src/v4/classic/tests/array.test.ts +2 -2
  288. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +135 -0
  289. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +30 -1
  290. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +278 -0
  291. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +1 -2
  292. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +2 -1
  293. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +2 -2
  294. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  295. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +720 -0
  296. package/node_modules/zod/src/v4/classic/tests/date.test.ts +30 -0
  297. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +32 -18
  298. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  299. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  300. package/node_modules/zod/src/v4/classic/tests/default.test.ts +46 -0
  301. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +31 -7
  302. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +155 -13
  303. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +11 -0
  304. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +112 -2
  305. package/node_modules/zod/src/v4/classic/tests/error.test.ts +274 -6
  306. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +425 -10
  307. package/node_modules/zod/src/v4/classic/tests/function.test.ts +31 -0
  308. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +2 -9
  309. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +1 -2
  310. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  311. package/node_modules/zod/src/v4/classic/tests/index.test.ts +21 -2
  312. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +281 -0
  313. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +47 -0
  314. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +136 -0
  315. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +183 -0
  316. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +3 -10
  317. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +36 -1
  318. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +12 -1
  319. package/node_modules/zod/src/v4/classic/tests/map.test.ts +12 -0
  320. package/node_modules/zod/src/v4/classic/tests/number.test.ts +46 -9
  321. package/node_modules/zod/src/v4/classic/tests/object.test.ts +245 -12
  322. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +234 -0
  323. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +49 -16
  324. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +51 -4
  325. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +20 -2
  326. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -68
  327. package/node_modules/zod/src/v4/classic/tests/record.test.ts +186 -18
  328. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +33 -2
  329. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  330. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +60 -0
  331. package/node_modules/zod/src/v4/classic/tests/set.test.ts +9 -0
  332. package/node_modules/zod/src/v4/classic/tests/string.test.ts +127 -5
  333. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +18 -0
  334. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +11 -2
  335. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +1585 -173
  336. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +45 -30
  337. package/node_modules/zod/src/v4/classic/tests/union.test.ts +39 -2
  338. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +76 -0
  339. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +2 -2
  340. package/node_modules/zod/src/v4/core/api.ts +48 -12
  341. package/node_modules/zod/src/v4/core/checks.ts +57 -44
  342. package/node_modules/zod/src/v4/core/compile.ts +2188 -0
  343. package/node_modules/zod/src/v4/core/core.ts +98 -19
  344. package/node_modules/zod/src/v4/core/doc.ts +11 -7
  345. package/node_modules/zod/src/v4/core/errors.ts +115 -24
  346. package/node_modules/zod/src/v4/core/index.ts +3 -0
  347. package/node_modules/zod/src/v4/core/json-schema-generator.ts +6 -1
  348. package/node_modules/zod/src/v4/core/json-schema-processors.ts +257 -93
  349. package/node_modules/zod/src/v4/core/json-schema.ts +2 -1
  350. package/node_modules/zod/src/v4/core/memoizer.ts +284 -0
  351. package/node_modules/zod/src/v4/core/parse.ts +131 -38
  352. package/node_modules/zod/src/v4/core/regexes.ts +30 -13
  353. package/node_modules/zod/src/v4/core/registries.ts +2 -2
  354. package/node_modules/zod/src/v4/core/schemas.ts +759 -461
  355. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +969 -0
  356. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  357. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  358. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  359. package/node_modules/zod/src/v4/core/tests/compile.test.ts +1639 -0
  360. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +1 -2
  361. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +1 -2
  362. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +3 -3
  363. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  364. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  365. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  366. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +31 -0
  367. package/node_modules/zod/src/v4/core/to-json-schema.ts +275 -42
  368. package/node_modules/zod/src/v4/core/util.ts +268 -42
  369. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  370. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  371. package/node_modules/zod/src/v4/index.ts +3 -3
  372. package/node_modules/zod/src/v4/locales/ar.ts +3 -0
  373. package/node_modules/zod/src/v4/locales/az.ts +3 -0
  374. package/node_modules/zod/src/v4/locales/be.ts +10 -0
  375. package/node_modules/zod/src/v4/locales/bg.ts +3 -0
  376. package/node_modules/zod/src/v4/locales/bn.ts +121 -0
  377. package/node_modules/zod/src/v4/locales/ca.ts +3 -0
  378. package/node_modules/zod/src/v4/locales/ckb.ts +138 -0
  379. package/node_modules/zod/src/v4/locales/cs.ts +3 -0
  380. package/node_modules/zod/src/v4/locales/da.ts +5 -2
  381. package/node_modules/zod/src/v4/locales/de.ts +3 -0
  382. package/node_modules/zod/src/v4/locales/el.ts +1 -0
  383. package/node_modules/zod/src/v4/locales/en.ts +15 -4
  384. package/node_modules/zod/src/v4/locales/eo.ts +3 -0
  385. package/node_modules/zod/src/v4/locales/es.ts +2 -0
  386. package/node_modules/zod/src/v4/locales/fa.ts +3 -0
  387. package/node_modules/zod/src/v4/locales/fi.ts +3 -0
  388. package/node_modules/zod/src/v4/locales/fr-CA.ts +3 -0
  389. package/node_modules/zod/src/v4/locales/fr.ts +19 -14
  390. package/node_modules/zod/src/v4/locales/gu.ts +121 -0
  391. package/node_modules/zod/src/v4/locales/he.ts +6 -1
  392. package/node_modules/zod/src/v4/locales/hi.ts +124 -0
  393. package/node_modules/zod/src/v4/locales/hr.ts +2 -0
  394. package/node_modules/zod/src/v4/locales/hu.ts +3 -0
  395. package/node_modules/zod/src/v4/locales/hy.ts +9 -0
  396. package/node_modules/zod/src/v4/locales/id.ts +3 -0
  397. package/node_modules/zod/src/v4/locales/index.ts +10 -0
  398. package/node_modules/zod/src/v4/locales/is.ts +3 -0
  399. package/node_modules/zod/src/v4/locales/it.ts +3 -0
  400. package/node_modules/zod/src/v4/locales/ja.ts +3 -0
  401. package/node_modules/zod/src/v4/locales/ka.ts +3 -0
  402. package/node_modules/zod/src/v4/locales/km.ts +3 -0
  403. package/node_modules/zod/src/v4/locales/kn.ts +124 -0
  404. package/node_modules/zod/src/v4/locales/ko.ts +3 -0
  405. package/node_modules/zod/src/v4/locales/lt.ts +2 -0
  406. package/node_modules/zod/src/v4/locales/mk.ts +3 -0
  407. package/node_modules/zod/src/v4/locales/ms.ts +3 -0
  408. package/node_modules/zod/src/v4/locales/ne.ts +126 -0
  409. package/node_modules/zod/src/v4/locales/nl.ts +3 -0
  410. package/node_modules/zod/src/v4/locales/nn.ts +119 -0
  411. package/node_modules/zod/src/v4/locales/no.ts +5 -2
  412. package/node_modules/zod/src/v4/locales/ota.ts +3 -0
  413. package/node_modules/zod/src/v4/locales/pl.ts +3 -0
  414. package/node_modules/zod/src/v4/locales/ps.ts +3 -0
  415. package/node_modules/zod/src/v4/locales/pt-BR.ts +159 -0
  416. package/node_modules/zod/src/v4/locales/pt.ts +99 -58
  417. package/node_modules/zod/src/v4/locales/ro.ts +1 -0
  418. package/node_modules/zod/src/v4/locales/ru.ts +10 -0
  419. package/node_modules/zod/src/v4/locales/sk.ts +121 -0
  420. package/node_modules/zod/src/v4/locales/sl.ts +3 -0
  421. package/node_modules/zod/src/v4/locales/sv.ts +5 -2
  422. package/node_modules/zod/src/v4/locales/ta.ts +3 -0
  423. package/node_modules/zod/src/v4/locales/th.ts +3 -0
  424. package/node_modules/zod/src/v4/locales/tk.ts +111 -0
  425. package/node_modules/zod/src/v4/locales/tr.ts +3 -0
  426. package/node_modules/zod/src/v4/locales/uk.ts +3 -0
  427. package/node_modules/zod/src/v4/locales/ur.ts +3 -0
  428. package/node_modules/zod/src/v4/locales/uz.ts +1 -0
  429. package/node_modules/zod/src/v4/locales/vi.ts +3 -0
  430. package/node_modules/zod/src/v4/locales/yo.ts +3 -0
  431. package/node_modules/zod/src/v4/locales/zh-CN.ts +3 -0
  432. package/node_modules/zod/src/v4/locales/zh-TW.ts +3 -0
  433. package/node_modules/zod/src/v4/mini/checks.ts +1 -0
  434. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  435. package/node_modules/zod/src/v4/mini/external.ts +10 -1
  436. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  437. package/node_modules/zod/src/v4/mini/parse.ts +2 -0
  438. package/node_modules/zod/src/v4/mini/schemas.ts +135 -56
  439. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +33 -0
  440. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +62 -1
  441. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +14 -0
  442. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +35 -1
  443. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  444. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  445. package/node_modules/zod/src/v4/mini/tests/error.test.ts +23 -4
  446. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +9 -0
  447. package/node_modules/zod/src/v4/mini/tests/index.test.ts +72 -5
  448. package/node_modules/zod/src/v4/mini/tests/number.test.ts +14 -0
  449. package/node_modules/zod/src/v4/mini/tests/object.test.ts +65 -0
  450. package/node_modules/zod/src/v4/mini/tests/string.test.ts +21 -0
  451. package/node_modules/zod/v3/ZodError.cjs +22 -12
  452. package/node_modules/zod/v3/ZodError.d.cts +1 -1
  453. package/node_modules/zod/v3/ZodError.d.ts +1 -1
  454. package/node_modules/zod/v3/ZodError.js +22 -12
  455. package/node_modules/zod/v3/types.cjs +7 -5
  456. package/node_modules/zod/v3/types.js +7 -5
  457. package/node_modules/zod/v4/classic/checks.cjs +2 -1
  458. package/node_modules/zod/v4/classic/checks.d.cts +1 -1
  459. package/node_modules/zod/v4/classic/checks.d.ts +1 -1
  460. package/node_modules/zod/v4/classic/checks.js +1 -1
  461. package/node_modules/zod/v4/classic/compat.d.cts +9 -11
  462. package/node_modules/zod/v4/classic/compat.d.ts +9 -11
  463. package/node_modules/zod/v4/classic/deep-partial.cjs +39 -0
  464. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  465. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  466. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  467. package/node_modules/zod/v4/classic/errors.cjs +43 -34
  468. package/node_modules/zod/v4/classic/errors.d.cts +3 -4
  469. package/node_modules/zod/v4/classic/errors.d.ts +3 -4
  470. package/node_modules/zod/v4/classic/errors.js +43 -34
  471. package/node_modules/zod/v4/classic/external.cjs +30 -27
  472. package/node_modules/zod/v4/classic/external.d.cts +5 -2
  473. package/node_modules/zod/v4/classic/external.d.ts +5 -2
  474. package/node_modules/zod/v4/classic/external.js +5 -8
  475. package/node_modules/zod/v4/classic/from-json-schema.cjs +136 -75
  476. package/node_modules/zod/v4/classic/from-json-schema.js +136 -75
  477. package/node_modules/zod/v4/classic/in-out.cjs +63 -0
  478. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  479. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  480. package/node_modules/zod/v4/classic/in-out.js +36 -0
  481. package/node_modules/zod/v4/classic/index.cjs +2 -2
  482. package/node_modules/zod/v4/classic/index.d.cts +1 -2
  483. package/node_modules/zod/v4/classic/index.d.ts +1 -2
  484. package/node_modules/zod/v4/classic/index.js +2 -2
  485. package/node_modules/zod/v4/classic/iso.cjs +11 -22
  486. package/node_modules/zod/v4/classic/iso.d.cts +2 -17
  487. package/node_modules/zod/v4/classic/iso.d.ts +2 -17
  488. package/node_modules/zod/v4/classic/iso.js +2 -17
  489. package/node_modules/zod/v4/classic/parse.cjs +4 -1
  490. package/node_modules/zod/v4/classic/parse.d.cts +17 -4
  491. package/node_modules/zod/v4/classic/parse.d.ts +17 -4
  492. package/node_modules/zod/v4/classic/parse.js +1 -0
  493. package/node_modules/zod/v4/classic/schemas.cjs +498 -398
  494. package/node_modules/zod/v4/classic/schemas.d.cts +53 -18
  495. package/node_modules/zod/v4/classic/schemas.d.ts +53 -18
  496. package/node_modules/zod/v4/classic/schemas.js +492 -396
  497. package/node_modules/zod/v4/core/api.cjs +23 -4
  498. package/node_modules/zod/v4/core/api.d.cts +13 -9
  499. package/node_modules/zod/v4/core/api.d.ts +13 -9
  500. package/node_modules/zod/v4/core/api.js +21 -4
  501. package/node_modules/zod/v4/core/checks.cjs +37 -31
  502. package/node_modules/zod/v4/core/checks.d.cts +13 -13
  503. package/node_modules/zod/v4/core/checks.d.ts +13 -13
  504. package/node_modules/zod/v4/core/checks.js +37 -31
  505. package/node_modules/zod/v4/core/compile.cjs +1813 -0
  506. package/node_modules/zod/v4/core/compile.d.cts +51 -0
  507. package/node_modules/zod/v4/core/compile.d.ts +51 -0
  508. package/node_modules/zod/v4/core/compile.js +1783 -0
  509. package/node_modules/zod/v4/core/core.cjs +81 -18
  510. package/node_modules/zod/v4/core/core.d.cts +16 -4
  511. package/node_modules/zod/v4/core/core.d.ts +16 -4
  512. package/node_modules/zod/v4/core/core.js +82 -19
  513. package/node_modules/zod/v4/core/doc.cjs +5 -7
  514. package/node_modules/zod/v4/core/doc.d.cts +3 -1
  515. package/node_modules/zod/v4/core/doc.d.ts +3 -1
  516. package/node_modules/zod/v4/core/doc.js +5 -7
  517. package/node_modules/zod/v4/core/errors.cjs +110 -25
  518. package/node_modules/zod/v4/core/errors.d.cts +4 -0
  519. package/node_modules/zod/v4/core/errors.d.ts +4 -0
  520. package/node_modules/zod/v4/core/errors.js +110 -25
  521. package/node_modules/zod/v4/core/index.cjs +5 -1
  522. package/node_modules/zod/v4/core/index.d.cts +3 -0
  523. package/node_modules/zod/v4/core/index.d.ts +3 -0
  524. package/node_modules/zod/v4/core/index.js +3 -0
  525. package/node_modules/zod/v4/core/json-schema-generator.cjs +4 -0
  526. package/node_modules/zod/v4/core/json-schema-generator.d.cts +2 -2
  527. package/node_modules/zod/v4/core/json-schema-generator.d.ts +2 -2
  528. package/node_modules/zod/v4/core/json-schema-generator.js +4 -0
  529. package/node_modules/zod/v4/core/json-schema-processors.cjs +264 -95
  530. package/node_modules/zod/v4/core/json-schema-processors.js +243 -97
  531. package/node_modules/zod/v4/core/json-schema.d.cts +2 -1
  532. package/node_modules/zod/v4/core/json-schema.d.ts +2 -1
  533. package/node_modules/zod/v4/core/memoizer.cjs +272 -0
  534. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  535. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  536. package/node_modules/zod/v4/core/memoizer.js +265 -0
  537. package/node_modules/zod/v4/core/parse.cjs +96 -34
  538. package/node_modules/zod/v4/core/parse.d.cts +14 -11
  539. package/node_modules/zod/v4/core/parse.d.ts +14 -11
  540. package/node_modules/zod/v4/core/parse.js +94 -33
  541. package/node_modules/zod/v4/core/regexes.cjs +27 -15
  542. package/node_modules/zod/v4/core/regexes.d.cts +2 -0
  543. package/node_modules/zod/v4/core/regexes.d.ts +2 -0
  544. package/node_modules/zod/v4/core/regexes.js +24 -13
  545. package/node_modules/zod/v4/core/registries.js +2 -2
  546. package/node_modules/zod/v4/core/schemas.cjs +537 -326
  547. package/node_modules/zod/v4/core/schemas.d.cts +100 -31
  548. package/node_modules/zod/v4/core/schemas.d.ts +100 -31
  549. package/node_modules/zod/v4/core/schemas.js +526 -325
  550. package/node_modules/zod/v4/core/to-json-schema.cjs +242 -39
  551. package/node_modules/zod/v4/core/to-json-schema.d.cts +42 -3
  552. package/node_modules/zod/v4/core/to-json-schema.d.ts +42 -3
  553. package/node_modules/zod/v4/core/to-json-schema.js +241 -39
  554. package/node_modules/zod/v4/core/util.cjs +212 -31
  555. package/node_modules/zod/v4/core/util.d.cts +58 -1
  556. package/node_modules/zod/v4/core/util.d.ts +58 -1
  557. package/node_modules/zod/v4/core/util.js +202 -30
  558. package/node_modules/zod/v4/core/versions.cjs +2 -2
  559. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  560. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  561. package/node_modules/zod/v4/core/versions.js +2 -2
  562. package/node_modules/zod/v4/core/visit.cjs +195 -0
  563. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  564. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  565. package/node_modules/zod/v4/core/visit.js +169 -0
  566. package/node_modules/zod/v4/index.cjs +15 -5
  567. package/node_modules/zod/v4/index.d.cts +2 -2
  568. package/node_modules/zod/v4/index.d.ts +2 -2
  569. package/node_modules/zod/v4/index.js +3 -2
  570. package/node_modules/zod/v4/locales/ar.cjs +3 -0
  571. package/node_modules/zod/v4/locales/ar.js +3 -0
  572. package/node_modules/zod/v4/locales/az.cjs +3 -0
  573. package/node_modules/zod/v4/locales/az.js +3 -0
  574. package/node_modules/zod/v4/locales/be.cjs +10 -0
  575. package/node_modules/zod/v4/locales/be.js +10 -0
  576. package/node_modules/zod/v4/locales/bg.cjs +3 -0
  577. package/node_modules/zod/v4/locales/bg.js +3 -0
  578. package/node_modules/zod/v4/locales/bn.cjs +138 -0
  579. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  580. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  581. package/node_modules/zod/v4/locales/bn.js +111 -0
  582. package/node_modules/zod/v4/locales/ca.cjs +3 -0
  583. package/node_modules/zod/v4/locales/ca.js +3 -0
  584. package/node_modules/zod/v4/locales/ckb.cjs +158 -0
  585. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  586. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  587. package/node_modules/zod/v4/locales/ckb.js +131 -0
  588. package/node_modules/zod/v4/locales/cs.cjs +3 -0
  589. package/node_modules/zod/v4/locales/cs.js +3 -0
  590. package/node_modules/zod/v4/locales/da.cjs +5 -2
  591. package/node_modules/zod/v4/locales/da.js +5 -2
  592. package/node_modules/zod/v4/locales/de.cjs +3 -0
  593. package/node_modules/zod/v4/locales/de.js +3 -0
  594. package/node_modules/zod/v4/locales/el.cjs +1 -0
  595. package/node_modules/zod/v4/locales/el.js +1 -0
  596. package/node_modules/zod/v4/locales/en.cjs +14 -4
  597. package/node_modules/zod/v4/locales/en.js +14 -4
  598. package/node_modules/zod/v4/locales/eo.cjs +3 -0
  599. package/node_modules/zod/v4/locales/eo.js +3 -0
  600. package/node_modules/zod/v4/locales/es.cjs +2 -0
  601. package/node_modules/zod/v4/locales/es.js +2 -0
  602. package/node_modules/zod/v4/locales/fa.cjs +3 -0
  603. package/node_modules/zod/v4/locales/fa.js +3 -0
  604. package/node_modules/zod/v4/locales/fi.cjs +3 -0
  605. package/node_modules/zod/v4/locales/fi.js +3 -0
  606. package/node_modules/zod/v4/locales/fr-CA.cjs +3 -0
  607. package/node_modules/zod/v4/locales/fr-CA.js +3 -0
  608. package/node_modules/zod/v4/locales/fr.cjs +16 -14
  609. package/node_modules/zod/v4/locales/fr.js +16 -14
  610. package/node_modules/zod/v4/locales/gu.cjs +138 -0
  611. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  612. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  613. package/node_modules/zod/v4/locales/gu.js +111 -0
  614. package/node_modules/zod/v4/locales/he.cjs +5 -0
  615. package/node_modules/zod/v4/locales/he.js +5 -0
  616. package/node_modules/zod/v4/locales/hi.cjs +136 -0
  617. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  618. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  619. package/node_modules/zod/v4/locales/hi.js +109 -0
  620. package/node_modules/zod/v4/locales/hr.cjs +2 -0
  621. package/node_modules/zod/v4/locales/hr.js +2 -0
  622. package/node_modules/zod/v4/locales/hu.cjs +3 -0
  623. package/node_modules/zod/v4/locales/hu.js +3 -0
  624. package/node_modules/zod/v4/locales/hy.cjs +9 -0
  625. package/node_modules/zod/v4/locales/hy.js +9 -0
  626. package/node_modules/zod/v4/locales/id.cjs +3 -0
  627. package/node_modules/zod/v4/locales/id.js +3 -0
  628. package/node_modules/zod/v4/locales/index.cjs +22 -2
  629. package/node_modules/zod/v4/locales/index.d.cts +10 -0
  630. package/node_modules/zod/v4/locales/index.d.ts +10 -0
  631. package/node_modules/zod/v4/locales/index.js +10 -0
  632. package/node_modules/zod/v4/locales/is.cjs +3 -0
  633. package/node_modules/zod/v4/locales/is.js +3 -0
  634. package/node_modules/zod/v4/locales/it.cjs +3 -0
  635. package/node_modules/zod/v4/locales/it.js +3 -0
  636. package/node_modules/zod/v4/locales/ja.cjs +3 -0
  637. package/node_modules/zod/v4/locales/ja.js +3 -0
  638. package/node_modules/zod/v4/locales/ka.cjs +3 -0
  639. package/node_modules/zod/v4/locales/ka.js +3 -0
  640. package/node_modules/zod/v4/locales/km.cjs +3 -0
  641. package/node_modules/zod/v4/locales/km.js +3 -0
  642. package/node_modules/zod/v4/locales/kn.cjs +141 -0
  643. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  644. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  645. package/node_modules/zod/v4/locales/kn.js +114 -0
  646. package/node_modules/zod/v4/locales/ko.cjs +3 -0
  647. package/node_modules/zod/v4/locales/ko.js +3 -0
  648. package/node_modules/zod/v4/locales/lt.cjs +2 -0
  649. package/node_modules/zod/v4/locales/lt.js +2 -0
  650. package/node_modules/zod/v4/locales/mk.cjs +3 -0
  651. package/node_modules/zod/v4/locales/mk.js +3 -0
  652. package/node_modules/zod/v4/locales/ms.cjs +3 -0
  653. package/node_modules/zod/v4/locales/ms.js +3 -0
  654. package/node_modules/zod/v4/locales/ne.cjs +136 -0
  655. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  656. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  657. package/node_modules/zod/v4/locales/ne.js +109 -0
  658. package/node_modules/zod/v4/locales/nl.cjs +3 -0
  659. package/node_modules/zod/v4/locales/nl.js +3 -0
  660. package/node_modules/zod/v4/locales/nn.cjs +138 -0
  661. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  662. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  663. package/node_modules/zod/v4/locales/nn.js +111 -0
  664. package/node_modules/zod/v4/locales/no.cjs +5 -2
  665. package/node_modules/zod/v4/locales/no.js +5 -2
  666. package/node_modules/zod/v4/locales/ota.cjs +3 -0
  667. package/node_modules/zod/v4/locales/ota.js +3 -0
  668. package/node_modules/zod/v4/locales/pl.cjs +3 -0
  669. package/node_modules/zod/v4/locales/pl.js +3 -0
  670. package/node_modules/zod/v4/locales/ps.cjs +3 -0
  671. package/node_modules/zod/v4/locales/ps.js +3 -0
  672. package/node_modules/zod/v4/locales/pt-BR.cjs +168 -0
  673. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  674. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  675. package/node_modules/zod/v4/locales/pt-BR.js +141 -0
  676. package/node_modules/zod/v4/locales/pt.cjs +87 -55
  677. package/node_modules/zod/v4/locales/pt.js +87 -55
  678. package/node_modules/zod/v4/locales/ro.cjs +1 -0
  679. package/node_modules/zod/v4/locales/ro.js +1 -0
  680. package/node_modules/zod/v4/locales/ru.cjs +10 -0
  681. package/node_modules/zod/v4/locales/ru.js +10 -0
  682. package/node_modules/zod/v4/locales/sk.cjs +141 -0
  683. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  684. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  685. package/node_modules/zod/v4/locales/sk.js +114 -0
  686. package/node_modules/zod/v4/locales/sl.cjs +3 -0
  687. package/node_modules/zod/v4/locales/sl.js +3 -0
  688. package/node_modules/zod/v4/locales/sv.cjs +5 -2
  689. package/node_modules/zod/v4/locales/sv.js +5 -2
  690. package/node_modules/zod/v4/locales/ta.cjs +3 -0
  691. package/node_modules/zod/v4/locales/ta.js +3 -0
  692. package/node_modules/zod/v4/locales/th.cjs +3 -0
  693. package/node_modules/zod/v4/locales/th.js +3 -0
  694. package/node_modules/zod/v4/locales/tk.cjs +132 -0
  695. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  696. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  697. package/node_modules/zod/v4/locales/tk.js +105 -0
  698. package/node_modules/zod/v4/locales/tr.cjs +3 -0
  699. package/node_modules/zod/v4/locales/tr.js +3 -0
  700. package/node_modules/zod/v4/locales/uk.cjs +3 -0
  701. package/node_modules/zod/v4/locales/uk.js +3 -0
  702. package/node_modules/zod/v4/locales/ur.cjs +3 -0
  703. package/node_modules/zod/v4/locales/ur.js +3 -0
  704. package/node_modules/zod/v4/locales/uz.cjs +1 -0
  705. package/node_modules/zod/v4/locales/uz.js +1 -0
  706. package/node_modules/zod/v4/locales/vi.cjs +3 -0
  707. package/node_modules/zod/v4/locales/vi.js +3 -0
  708. package/node_modules/zod/v4/locales/yo.cjs +3 -0
  709. package/node_modules/zod/v4/locales/yo.js +3 -0
  710. package/node_modules/zod/v4/locales/zh-CN.cjs +3 -0
  711. package/node_modules/zod/v4/locales/zh-CN.js +3 -0
  712. package/node_modules/zod/v4/locales/zh-TW.cjs +3 -0
  713. package/node_modules/zod/v4/locales/zh-TW.js +3 -0
  714. package/node_modules/zod/v4/mini/checks.cjs +2 -1
  715. package/node_modules/zod/v4/mini/checks.d.cts +1 -1
  716. package/node_modules/zod/v4/mini/checks.d.ts +1 -1
  717. package/node_modules/zod/v4/mini/checks.js +1 -1
  718. package/node_modules/zod/v4/mini/deep-partial.cjs +39 -0
  719. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  720. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  721. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  722. package/node_modules/zod/v4/mini/external.cjs +12 -1
  723. package/node_modules/zod/v4/mini/external.d.cts +5 -2
  724. package/node_modules/zod/v4/mini/external.d.ts +5 -2
  725. package/node_modules/zod/v4/mini/external.js +3 -1
  726. package/node_modules/zod/v4/mini/in-out.cjs +63 -0
  727. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  728. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  729. package/node_modules/zod/v4/mini/in-out.js +36 -0
  730. package/node_modules/zod/v4/mini/parse.cjs +3 -1
  731. package/node_modules/zod/v4/mini/parse.d.cts +1 -1
  732. package/node_modules/zod/v4/mini/parse.d.ts +1 -1
  733. package/node_modules/zod/v4/mini/parse.js +1 -1
  734. package/node_modules/zod/v4/mini/schemas.cjs +75 -47
  735. package/node_modules/zod/v4/mini/schemas.d.cts +43 -13
  736. package/node_modules/zod/v4/mini/schemas.d.ts +43 -13
  737. package/node_modules/zod/v4/mini/schemas.js +71 -45
  738. package/openclaw.plugin.json +3 -4
  739. package/package.json +10 -8
  740. package/dist/channel-type-CVLZyGYS.js +0 -7
  741. package/dist/outbound-components-DrlHcWfM.js +0 -100
  742. package/dist/provider.runtime-CqfE-RvC.js +0 -2
  743. package/dist/targets-Cm6aV9nJ.js +0 -3
  744. package/node_modules/discord-api-types/CHANGELOG.md +0 -2514
  745. package/node_modules/discord-api-types/scripts/versions.mjs +0 -46
  746. package/node_modules/zod/src/v4/core/config.ts +0 -15
  747. /package/dist/{accounts-CwJQoLjM.js → .setup/accounts-CwJQoLjM.mjs} +0 -0
  748. /package/dist/{active-turn-thread-route-fmHl1HNd.js → .setup/active-turn-thread-route-fmHl1HNd.mjs} +0 -0
  749. /package/dist/{agent-components.runtime-CEPrf2SY.js → .setup/agent-components.runtime-CEPrf2SY.mjs} +0 -0
  750. /package/dist/{channel-access-C12aDZ0p.js → .setup/channel-access-C12aDZ0p.mjs} +0 -0
  751. /package/dist/{command-deploy-store-DFkBTViB.js → .setup/command-deploy-store-DFkBTViB.mjs} +0 -0
  752. /package/dist/{command-owners-D78sAoOz.js → .setup/command-owners-D78sAoOz.mjs} +0 -0
  753. /package/dist/{doctor-contract-Co5vRCZ6.js → .setup/doctor-contract-Co5vRCZ6.mjs} +0 -0
  754. /package/dist/{message-handler.history-CJOsN9w5.js → .setup/message-handler.history-CJOsN9w5.mjs} +0 -0
  755. /package/dist/{model-picker-preference-primitives-BHT1LkR_.js → .setup/model-picker-preference-primitives-BHT1LkR_.mjs} +0 -0
  756. /package/dist/{preflight-audio-DrnqFA8U.js → .setup/preflight-audio-DrnqFA8U.mjs} +0 -0
  757. /package/dist/{presence-cache-dYSHPWMx.js → .setup/presence-cache-dYSHPWMx.mjs} +0 -0
  758. /package/dist/{runtime-DgnVQ7zW.js → .setup/runtime-DgnVQ7zW.mjs} +0 -0
  759. /package/dist/{secret-config-contract-DFu9hfU8.js → .setup/secret-config-contract-DFu9hfU8.mjs} +0 -0
  760. /package/dist/{security-contract-DSHk7I2w.js → .setup/security-contract-DSHk7I2w.mjs} +0 -0
  761. /package/dist/{security-doctor-nGgPm65L.js → .setup/security-doctor-nGgPm65L.mjs} +0 -0
  762. /package/dist/{session-contract-BO5tlIdl.js → .setup/session-contract-BO5tlIdl.mjs} +0 -0
  763. /package/dist/{session-key-normalization-wJgsKPNF.js → .setup/session-key-normalization-wJgsKPNF.mjs} +0 -0
  764. /package/dist/{thread-binding-api-BDZJD4na.js → .setup/thread-binding-api-BDZJD4na.mjs} +0 -0
  765. /package/dist/{timeouts-D86uWLt_.js → .setup/timeouts-D86uWLt_.mjs} +0 -0
@@ -0,0 +1,89 @@
1
+ // Tests the `zod/compile` subpath module — the user-facing API for enabling global AOT compilation. Importing this file (or running it under compile-mode where the setup file already imported `zod/compile`) installs the post-processor for the duration of this vitest worker. Vitest's `isolate: true` puts each test file in its own worker, so the install doesn't leak to other files.
2
+
3
+ import { expect, test } from "vitest";
4
+ import "zod/compile";
5
+ import * as z from "zod/v4";
6
+ import * as core from "zod/v4/core";
7
+
8
+ test("zod/compile sets globalConfig.postProcessor", () => {
9
+ expect(typeof core.globalConfig.postProcessor).toBe("function");
10
+ });
11
+
12
+ test("z.compile is exported from the public namespace", () => {
13
+ expect(typeof z.compile).toBe("function");
14
+ const schema = z.compile(z.object({ name: z.string() }));
15
+ expect(schema.parse({ name: "ok" })).toEqual({ name: "ok" });
16
+ });
17
+
18
+ test("schemas constructed after import are compiled on first parse", () => {
19
+ const schema = z.object({ name: z.string(), age: z.number() });
20
+
21
+ // First parse: shim fires, compiles, replaces self.
22
+ const r1 = schema.safeParse({ name: "ok", age: 1 });
23
+ expect(r1.success).toBe(true);
24
+
25
+ // Second parse: directly through compiled wrapper.
26
+ const r2 = schema.safeParse({ name: "ok", age: 2 });
27
+ expect(r2.success).toBe(true);
28
+
29
+ const bad = schema.safeParse({ name: 1, age: "x" });
30
+ expect(bad.success).toBe(false);
31
+ });
32
+
33
+ test("user callbacks run at most twice on invalid input", () => {
34
+ let refines = 0;
35
+ const schema = z.object({
36
+ a: z.string().refine((v) => {
37
+ refines++;
38
+ return v.length > 1;
39
+ }),
40
+ });
41
+ schema.safeParse({ a: "ok" }); // trigger lazy compile
42
+
43
+ refines = 0;
44
+ expect(schema.safeParse({ a: "x" }).success).toBe(false);
45
+ expect(refines).toBe(2);
46
+
47
+ refines = 0;
48
+ expect(() => schema.parse({ a: "x" })).toThrow();
49
+ expect(refines).toBe(2);
50
+
51
+ // Explicit z.compile of a shim-managed schema keeps the same contract.
52
+ const compiled = z.compile(schema);
53
+ refines = 0;
54
+ expect(compiled.safeParse({ a: "x" }).success).toBe(false);
55
+ expect(refines).toBe(2);
56
+ });
57
+
58
+ test("global mode respects the jitless config", () => {
59
+ core.config({ jitless: true });
60
+ try {
61
+ const schema = z.object({ a: z.string() });
62
+ expect(schema.safeParse({ a: "x" }).success).toBe(true);
63
+ // The shim restored the runtime parser instead of compiling: a compiled wrapper carries __originalRun, the bare runtime does not.
64
+ expect((schema._zod.run as { __originalRun?: unknown }).__originalRun).toBeUndefined();
65
+ } finally {
66
+ core.config({ jitless: undefined });
67
+ }
68
+ });
69
+
70
+ test("schemas with unsupported features fall back without crashing", () => {
71
+ const schema = z.string().refine(async () => true);
72
+ // First call attempts compile, falls back. Subsequent calls use runtime. Sync parse of an async-refined schema is its own runtime concern; we only care that the post-processor doesn't crash with a compile error.
73
+ expect(() => schema.safeParse("ok")).not.toThrow(/ZodCompile/);
74
+ });
75
+
76
+ test("global mode installs the validator validate reads", () => {
77
+ const schema = z.looseObject({ name: z.string() });
78
+ schema.parse({ name: "ok", extra: 1 }); // shim fires and compiles
79
+
80
+ // Without this the shim leaves no validator behind, validate misses its fast path and answers from the runtime parser instead. Correct, so nothing else in the suite notices, and several times slower.
81
+ const bag = schema._zod.bag as { validator?: (input: unknown) => unknown };
82
+ expect(typeof bag.validator).toBe("function");
83
+
84
+ // a verdict rather than a rebuilt object, so this is the assert-mode codegen and not the parser
85
+ expect(bag.validator!({ name: "ok", extra: 1 })).toBe(true);
86
+
87
+ expect(z.validate(schema, { name: "ok", extra: 1 })).toBe(true);
88
+ expect(z.validate(schema, { name: 1 })).toBe(false);
89
+ });
@@ -0,0 +1,26 @@
1
+ import { expect, test } from "vitest";
2
+
3
+ import * as z from "../../index.js";
4
+ import * as core from "../index.js";
5
+
6
+ // Global compilation is opt-in through `import "zod/compile"`, and that opt-in mutates `globalThis.__zod_globalConfig` — process-global state, not module state. Two things therefore have to hold, and neither is evident from reading the module: importing zod must not install the post-processor, and the compile-mode vitest project must not leak its setup file into the default one. Both projects run this file and each asserts the state it is supposed to be in, so a leak in either direction fails here instead of silently turning the default suite into a second compiled run (or the compiled suite into a second uncompiled one).
7
+ const compileMode = (globalThis as any).__zodCompileStats !== undefined;
8
+
9
+ test("global compilation is installed only under compile mode", () => {
10
+ if (compileMode) {
11
+ expect(core.globalConfig.postProcessor).toBeTypeOf("function");
12
+ } else {
13
+ expect(core.globalConfig.postProcessor).toBeUndefined();
14
+ }
15
+ });
16
+
17
+ test("a freshly constructed schema is compiled only under compile mode", () => {
18
+ const schema = z.object({ a: z.string() });
19
+ // The global shim replaces `_zod.run` at construction time and tags itself with `__originalRun` so a later compile can unwrap past it. An untagged `run` is proof the post-processor never touched this schema.
20
+ const tagged = (schema._zod.run as { __originalRun?: unknown }).__originalRun !== undefined;
21
+ expect(tagged).toBe(compileMode);
22
+
23
+ // Either way the schema has to parse identically.
24
+ expect(schema.parse({ a: "x" })).toEqual({ a: "x" });
25
+ expect(schema.safeParse({ a: 1 }).success).toBe(false);
26
+ });
@@ -0,0 +1,34 @@
1
+ import { expect, test } from "vitest";
2
+ import * as z from "../../index.js";
3
+
4
+ // Verifies that the compile-mode setup file is wired up correctly. Vitest's `isolate: true` resets module state per test file, so the counter only sees this file's compile attempts. We construct + parse a few schemas here to produce signal, then assert the post-processor saw them.
5
+ //
6
+ // When run under the default project (without the setup file), the counter is absent and the test self-skips.
7
+
8
+ interface CompileStats {
9
+ attempts: number;
10
+ successes: number;
11
+ fallbacks: number;
12
+ }
13
+
14
+ test("compile-mode post-processor is installed and compiles supported schemas", () => {
15
+ const stats = (globalThis as any).__zodCompileStats as CompileStats | undefined;
16
+ if (!stats) return; // Default project — compile mode disabled.
17
+
18
+ const before = { ...stats };
19
+
20
+ // Trigger compile via a handful of supported shapes
21
+ const cases: Array<[z.ZodType, unknown]> = [
22
+ [z.string(), "hi"],
23
+ [z.number(), 1],
24
+ [z.object({ name: z.string() }), { name: "ok" }],
25
+ [z.array(z.number()), [1, 2, 3]],
26
+ [z.union([z.string(), z.number()]), "x"],
27
+ ];
28
+ for (const [schema, input] of cases) {
29
+ schema.safeParse(input);
30
+ }
31
+
32
+ expect(stats.attempts - before.attempts).toBeGreaterThanOrEqual(cases.length);
33
+ expect(stats.successes - before.successes).toBeGreaterThanOrEqual(cases.length);
34
+ });