@openclaw/imessage 0.0.0 → 2026.8.1-beta.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 (2123) hide show
  1. package/README.md +27 -1
  2. package/dist/accounts-D00Njxg2.js +368 -0
  3. package/dist/actions.runtime-B_xJiBXF.js +451 -0
  4. package/dist/api.js +14 -0
  5. package/dist/approval-handler.runtime-BKku8aUf.js +434 -0
  6. package/dist/approval-reactions-BME5eA6T.js +566 -0
  7. package/dist/catchup-Dh-Rv4Ur.js +294 -0
  8. package/dist/channel-BFQTpvrG.js +624 -0
  9. package/dist/channel-config-api.js +2 -0
  10. package/dist/channel-plugin-api.js +2 -0
  11. package/dist/channel.runtime-BjkXwX9_.js +236 -0
  12. package/dist/config-schema-DV0KP5nC.js +140 -0
  13. package/dist/contract-api.js +3 -0
  14. package/dist/conversation-bindings-GDQ_Laxj.js +24 -0
  15. package/dist/doctor-contract-api.js +357 -0
  16. package/dist/group-policy-Ca3c5KES.js +1305 -0
  17. package/dist/index.js +18 -0
  18. package/dist/media-contract-BEgdvYhW.js +13 -0
  19. package/dist/media-contract-api.js +2 -0
  20. package/dist/message-tool-api-TZiNYA17.js +318 -0
  21. package/dist/message-tool-api.js +2 -0
  22. package/dist/monitor-Uv5RaRTk.js +3521 -0
  23. package/dist/monitor-reply-cache-BdeUQaHO.js +353 -0
  24. package/dist/outbound-send-deps-B-QEsLSM.js +4 -0
  25. package/dist/persisted-echo-cache-DGxy-J4t.js +143 -0
  26. package/dist/question-reactions-to0i8vxE.js +75 -0
  27. package/dist/reaction-context-DaNrZqYo.js +105 -0
  28. package/dist/remote-file-CDuk0joc.js +293 -0
  29. package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
  30. package/dist/runtime-api.js +23 -0
  31. package/dist/sanitize-outbound-DaLmdkbf.js +896 -0
  32. package/dist/secret-contract-api.js +5 -0
  33. package/dist/send-Dake4Awx.js +1176 -0
  34. package/dist/session-binding-contract-api.js +2 -0
  35. package/dist/setup-entry.js +11 -0
  36. package/node_modules/typebox/build/compile/code.d.mts +12 -0
  37. package/node_modules/typebox/build/compile/code.mjs +65 -0
  38. package/node_modules/typebox/build/compile/compile.d.mts +6 -0
  39. package/node_modules/typebox/build/compile/compile.mjs +12 -0
  40. package/node_modules/typebox/build/compile/index.d.mts +8 -0
  41. package/node_modules/typebox/build/compile/index.mjs +14 -0
  42. package/node_modules/typebox/build/compile/validator.d.mts +35 -0
  43. package/node_modules/typebox/build/compile/validator.mjs +91 -0
  44. package/node_modules/typebox/build/error/errors.d.mts +208 -0
  45. package/node_modules/typebox/build/error/errors.mjs +18 -0
  46. package/node_modules/typebox/build/error/index.d.mts +1 -0
  47. package/node_modules/typebox/build/error/index.mjs +1 -0
  48. package/node_modules/typebox/build/format/_idna.d.mts +2 -0
  49. package/node_modules/typebox/build/format/_idna.mjs +246 -0
  50. package/node_modules/typebox/build/format/_puny.d.mts +1 -0
  51. package/node_modules/typebox/build/format/_puny.mjs +77 -0
  52. package/node_modules/typebox/build/format/_registry.d.mts +15 -0
  53. package/node_modules/typebox/build/format/_registry.mjs +96 -0
  54. package/node_modules/typebox/build/format/date.d.mts +6 -0
  55. package/node_modules/typebox/build/format/date.mjs +19 -0
  56. package/node_modules/typebox/build/format/date_time.d.mts +6 -0
  57. package/node_modules/typebox/build/format/date_time.mjs +11 -0
  58. package/node_modules/typebox/build/format/duration.d.mts +5 -0
  59. package/node_modules/typebox/build/format/duration.mjs +8 -0
  60. package/node_modules/typebox/build/format/email.d.mts +5 -0
  61. package/node_modules/typebox/build/format/email.mjs +8 -0
  62. package/node_modules/typebox/build/format/format.d.mts +22 -0
  63. package/node_modules/typebox/build/format/format.mjs +22 -0
  64. package/node_modules/typebox/build/format/hostname.d.mts +7 -0
  65. package/node_modules/typebox/build/format/hostname.mjs +18 -0
  66. package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
  67. package/node_modules/typebox/build/format/idn_email.mjs +8 -0
  68. package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
  69. package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
  70. package/node_modules/typebox/build/format/index.d.mts +4 -0
  71. package/node_modules/typebox/build/format/index.mjs +4 -0
  72. package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
  73. package/node_modules/typebox/build/format/ipv4.mjs +38 -0
  74. package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
  75. package/node_modules/typebox/build/format/ipv6.mjs +67 -0
  76. package/node_modules/typebox/build/format/iri.d.mts +5 -0
  77. package/node_modules/typebox/build/format/iri.mjs +13 -0
  78. package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
  79. package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
  80. package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
  81. package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
  82. package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
  83. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
  84. package/node_modules/typebox/build/format/regex.d.mts +6 -0
  85. package/node_modules/typebox/build/format/regex.mjs +17 -0
  86. package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
  87. package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
  88. package/node_modules/typebox/build/format/time.d.mts +5 -0
  89. package/node_modules/typebox/build/format/time.mjs +27 -0
  90. package/node_modules/typebox/build/format/uri.d.mts +5 -0
  91. package/node_modules/typebox/build/format/uri.mjs +135 -0
  92. package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
  93. package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
  94. package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
  95. package/node_modules/typebox/build/format/uri_template.mjs +10 -0
  96. package/node_modules/typebox/build/format/url.d.mts +6 -0
  97. package/node_modules/typebox/build/format/url.mjs +9 -0
  98. package/node_modules/typebox/build/format/uuid.d.mts +6 -0
  99. package/node_modules/typebox/build/format/uuid.mjs +9 -0
  100. package/node_modules/typebox/build/guard/emit.d.mts +54 -0
  101. package/node_modules/typebox/build/guard/emit.mjs +186 -0
  102. package/node_modules/typebox/build/guard/globals.d.mts +35 -0
  103. package/node_modules/typebox/build/guard/globals.mjs +90 -0
  104. package/node_modules/typebox/build/guard/guard.d.mts +65 -0
  105. package/node_modules/typebox/build/guard/guard.mjs +212 -0
  106. package/node_modules/typebox/build/guard/index.d.mts +6 -0
  107. package/node_modules/typebox/build/guard/index.mjs +6 -0
  108. package/node_modules/typebox/build/guard/native.d.mts +20 -0
  109. package/node_modules/typebox/build/guard/native.mjs +60 -0
  110. package/node_modules/typebox/build/guard/string.d.mts +6 -0
  111. package/node_modules/typebox/build/guard/string.mjs +176 -0
  112. package/node_modules/typebox/build/index.d.mts +8 -0
  113. package/node_modules/typebox/build/index.mjs +14 -0
  114. package/node_modules/typebox/build/schema/build.d.mts +39 -0
  115. package/node_modules/typebox/build/schema/build.mjs +118 -0
  116. package/node_modules/typebox/build/schema/check.d.mts +6 -0
  117. package/node_modules/typebox/build/schema/check.mjs +14 -0
  118. package/node_modules/typebox/build/schema/compile.d.mts +22 -0
  119. package/node_modules/typebox/build/schema/compile.mjs +46 -0
  120. package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
  121. package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
  122. package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
  123. package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
  124. package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
  125. package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
  126. package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
  127. package/node_modules/typebox/build/schema/engine/_functions.mjs +66 -0
  128. package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
  129. package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
  130. package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
  131. package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
  132. package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
  133. package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
  134. package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
  135. package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
  136. package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
  137. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
  138. package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
  139. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
  140. package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
  141. package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
  142. package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
  143. package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
  144. package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
  145. package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
  146. package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
  147. package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
  148. package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
  149. package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
  150. package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
  151. package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
  152. package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
  153. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
  154. package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
  155. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
  156. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
  157. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
  158. package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
  159. package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
  160. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
  161. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
  162. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
  163. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
  164. package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
  165. package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
  166. package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
  167. package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
  168. package/node_modules/typebox/build/schema/engine/index.d.mts +48 -0
  169. package/node_modules/typebox/build/schema/engine/index.mjs +54 -0
  170. package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
  171. package/node_modules/typebox/build/schema/engine/items.mjs +68 -0
  172. package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
  173. package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
  174. package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
  175. package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
  176. package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
  177. package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
  178. package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
  179. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
  180. package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
  181. package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
  182. package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
  183. package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
  184. package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
  185. package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
  186. package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
  187. package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
  188. package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
  189. package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
  190. package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
  191. package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
  192. package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
  193. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
  194. package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
  195. package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
  196. package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
  197. package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
  198. package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
  199. package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
  200. package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
  201. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
  202. package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
  203. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
  204. package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
  205. package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
  206. package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
  207. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
  208. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
  209. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
  210. package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
  211. package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
  212. package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
  213. package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
  214. package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
  215. package/node_modules/typebox/build/schema/engine/schema.mjs +347 -0
  216. package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
  217. package/node_modules/typebox/build/schema/engine/type.mjs +70 -0
  218. package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
  219. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
  220. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
  221. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
  222. package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
  223. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
  224. package/node_modules/typebox/build/schema/errors.d.mts +6 -0
  225. package/node_modules/typebox/build/schema/errors.mjs +24 -0
  226. package/node_modules/typebox/build/schema/index.d.mts +3 -0
  227. package/node_modules/typebox/build/schema/index.mjs +9 -0
  228. package/node_modules/typebox/build/schema/parse.d.mts +13 -0
  229. package/node_modules/typebox/build/schema/parse.mjs +27 -0
  230. package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
  231. package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
  232. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
  233. package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
  234. package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
  235. package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
  236. package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
  237. package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
  238. package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
  239. package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
  240. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
  241. package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
  242. package/node_modules/typebox/build/schema/schema.d.mts +10 -0
  243. package/node_modules/typebox/build/schema/schema.mjs +10 -0
  244. package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
  245. package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
  246. package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
  247. package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
  248. package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
  249. package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
  250. package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
  251. package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
  252. package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
  253. package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
  254. package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
  255. package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
  256. package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
  257. package/node_modules/typebox/build/schema/static/const.mjs +2 -0
  258. package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
  259. package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
  260. package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
  261. package/node_modules/typebox/build/schema/static/if.mjs +2 -0
  262. package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
  263. package/node_modules/typebox/build/schema/static/index.mjs +1 -0
  264. package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
  265. package/node_modules/typebox/build/schema/static/items.mjs +2 -0
  266. package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
  267. package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
  268. package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
  269. package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
  270. package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
  271. package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
  272. package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
  273. package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
  274. package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
  275. package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
  276. package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
  277. package/node_modules/typebox/build/schema/static/required.mjs +3 -0
  278. package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
  279. package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
  280. package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
  281. package/node_modules/typebox/build/schema/static/static.mjs +3 -0
  282. package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
  283. package/node_modules/typebox/build/schema/static/type.mjs +3 -0
  284. package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
  285. package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
  286. package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
  287. package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
  288. package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
  289. package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
  290. package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
  291. package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
  292. package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
  293. package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
  294. package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
  295. package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
  296. package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
  297. package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
  298. package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
  299. package/node_modules/typebox/build/schema/types/const.mjs +12 -0
  300. package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
  301. package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
  302. package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
  303. package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
  304. package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
  305. package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
  306. package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
  307. package/node_modules/typebox/build/schema/types/default.mjs +12 -0
  308. package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
  309. package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
  310. package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
  311. package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
  312. package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
  313. package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
  314. package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
  315. package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
  316. package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
  317. package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
  318. package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
  319. package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
  320. package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
  321. package/node_modules/typebox/build/schema/types/else.mjs +14 -0
  322. package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
  323. package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
  324. package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
  325. package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
  326. package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
  327. package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
  328. package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
  329. package/node_modules/typebox/build/schema/types/format.mjs +13 -0
  330. package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
  331. package/node_modules/typebox/build/schema/types/id.mjs +13 -0
  332. package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
  333. package/node_modules/typebox/build/schema/types/if.mjs +14 -0
  334. package/node_modules/typebox/build/schema/types/index.d.mts +53 -0
  335. package/node_modules/typebox/build/schema/types/index.mjs +59 -0
  336. package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
  337. package/node_modules/typebox/build/schema/types/items.mjs +26 -0
  338. package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
  339. package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
  340. package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
  341. package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
  342. package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
  343. package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
  344. package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
  345. package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
  346. package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
  347. package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
  348. package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
  349. package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
  350. package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
  351. package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
  352. package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
  353. package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
  354. package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
  355. package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
  356. package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
  357. package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
  358. package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
  359. package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
  360. package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
  361. package/node_modules/typebox/build/schema/types/not.mjs +14 -0
  362. package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
  363. package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
  364. package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
  365. package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
  366. package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
  367. package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
  368. package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
  369. package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
  370. package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
  371. package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
  372. package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
  373. package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
  374. package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
  375. package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
  376. package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
  377. package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
  378. package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
  379. package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
  380. package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
  381. package/node_modules/typebox/build/schema/types/required.mjs +14 -0
  382. package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
  383. package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
  384. package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
  385. package/node_modules/typebox/build/schema/types/then.mjs +14 -0
  386. package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
  387. package/node_modules/typebox/build/schema/types/type.mjs +15 -0
  388. package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
  389. package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
  390. package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
  391. package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
  392. package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
  393. package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
  394. package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
  395. package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
  396. package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
  397. package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
  398. package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
  399. package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
  400. package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
  401. package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
  402. package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
  403. package/node_modules/typebox/build/system/environment/index.mjs +1 -0
  404. package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
  405. package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
  406. package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
  407. package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
  408. package/node_modules/typebox/build/system/index.d.mts +4 -0
  409. package/node_modules/typebox/build/system/index.mjs +4 -0
  410. package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
  411. package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
  412. package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
  413. package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
  414. package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
  415. package/node_modules/typebox/build/system/locale/ar_001.mjs +40 -0
  416. package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
  417. package/node_modules/typebox/build/system/locale/bn_BD.mjs +40 -0
  418. package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
  419. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +40 -0
  420. package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
  421. package/node_modules/typebox/build/system/locale/de_DE.mjs +40 -0
  422. package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
  423. package/node_modules/typebox/build/system/locale/el_GR.mjs +40 -0
  424. package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
  425. package/node_modules/typebox/build/system/locale/en_US.mjs +39 -0
  426. package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
  427. package/node_modules/typebox/build/system/locale/es_419.mjs +40 -0
  428. package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
  429. package/node_modules/typebox/build/system/locale/es_AR.mjs +40 -0
  430. package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
  431. package/node_modules/typebox/build/system/locale/es_ES.mjs +40 -0
  432. package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
  433. package/node_modules/typebox/build/system/locale/es_MX.mjs +40 -0
  434. package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
  435. package/node_modules/typebox/build/system/locale/fa_IR.mjs +40 -0
  436. package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
  437. package/node_modules/typebox/build/system/locale/fil_PH.mjs +40 -0
  438. package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
  439. package/node_modules/typebox/build/system/locale/fr_CA.mjs +40 -0
  440. package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
  441. package/node_modules/typebox/build/system/locale/fr_FR.mjs +40 -0
  442. package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
  443. package/node_modules/typebox/build/system/locale/ha_NG.mjs +40 -0
  444. package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
  445. package/node_modules/typebox/build/system/locale/hi_IN.mjs +40 -0
  446. package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
  447. package/node_modules/typebox/build/system/locale/hu_HU.mjs +40 -0
  448. package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
  449. package/node_modules/typebox/build/system/locale/id_ID.mjs +40 -0
  450. package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
  451. package/node_modules/typebox/build/system/locale/index.mjs +1 -0
  452. package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
  453. package/node_modules/typebox/build/system/locale/it_IT.mjs +40 -0
  454. package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
  455. package/node_modules/typebox/build/system/locale/ja_JP.mjs +40 -0
  456. package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
  457. package/node_modules/typebox/build/system/locale/ko_KR.mjs +40 -0
  458. package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
  459. package/node_modules/typebox/build/system/locale/ms_MY.mjs +40 -0
  460. package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
  461. package/node_modules/typebox/build/system/locale/nl_NL.mjs +40 -0
  462. package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
  463. package/node_modules/typebox/build/system/locale/pl_PL.mjs +40 -0
  464. package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
  465. package/node_modules/typebox/build/system/locale/pt_BR.mjs +40 -0
  466. package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
  467. package/node_modules/typebox/build/system/locale/pt_PT.mjs +40 -0
  468. package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
  469. package/node_modules/typebox/build/system/locale/ro_RO.mjs +40 -0
  470. package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
  471. package/node_modules/typebox/build/system/locale/ru_RU.mjs +40 -0
  472. package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
  473. package/node_modules/typebox/build/system/locale/sv_SE.mjs +40 -0
  474. package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
  475. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +40 -0
  476. package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
  477. package/node_modules/typebox/build/system/locale/th_TH.mjs +40 -0
  478. package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
  479. package/node_modules/typebox/build/system/locale/tr_TR.mjs +40 -0
  480. package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
  481. package/node_modules/typebox/build/system/locale/uk_UA.mjs +40 -0
  482. package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
  483. package/node_modules/typebox/build/system/locale/ur_PK.mjs +40 -0
  484. package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
  485. package/node_modules/typebox/build/system/locale/vi_VN.mjs +40 -0
  486. package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
  487. package/node_modules/typebox/build/system/locale/yo_NG.mjs +40 -0
  488. package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
  489. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +40 -0
  490. package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
  491. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +40 -0
  492. package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
  493. package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
  494. package/node_modules/typebox/build/system/memory/clone.d.mts +5 -0
  495. package/node_modules/typebox/build/system/memory/clone.mjs +110 -0
  496. package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
  497. package/node_modules/typebox/build/system/memory/create.mjs +30 -0
  498. package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
  499. package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
  500. package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
  501. package/node_modules/typebox/build/system/memory/index.mjs +1 -0
  502. package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
  503. package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
  504. package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
  505. package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
  506. package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
  507. package/node_modules/typebox/build/system/memory/update.mjs +32 -0
  508. package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
  509. package/node_modules/typebox/build/system/settings/index.mjs +1 -0
  510. package/node_modules/typebox/build/system/settings/settings.d.mts +71 -0
  511. package/node_modules/typebox/build/system/settings/settings.mjs +34 -0
  512. package/node_modules/typebox/build/system/system.d.mts +6 -0
  513. package/node_modules/typebox/build/system/system.mjs +6 -0
  514. package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
  515. package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
  516. package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
  517. package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
  518. package/node_modules/typebox/build/type/action/_add_immutable.d.mts +11 -0
  519. package/node_modules/typebox/build/type/action/_add_immutable.mjs +11 -0
  520. package/node_modules/typebox/build/type/action/_add_optional.d.mts +11 -0
  521. package/node_modules/typebox/build/type/action/_add_optional.mjs +11 -0
  522. package/node_modules/typebox/build/type/action/_add_readonly.d.mts +11 -0
  523. package/node_modules/typebox/build/type/action/_add_readonly.mjs +11 -0
  524. package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +11 -0
  525. package/node_modules/typebox/build/type/action/_remove_immutable.mjs +11 -0
  526. package/node_modules/typebox/build/type/action/_remove_optional.d.mts +11 -0
  527. package/node_modules/typebox/build/type/action/_remove_optional.mjs +11 -0
  528. package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +11 -0
  529. package/node_modules/typebox/build/type/action/_remove_readonly.mjs +11 -0
  530. package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
  531. package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
  532. package/node_modules/typebox/build/type/action/conditional.d.mts +12 -0
  533. package/node_modules/typebox/build/type/action/conditional.mjs +13 -0
  534. package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
  535. package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
  536. package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
  537. package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
  538. package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
  539. package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
  540. package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
  541. package/node_modules/typebox/build/type/action/extract.mjs +11 -0
  542. package/node_modules/typebox/build/type/action/index.d.mts +30 -0
  543. package/node_modules/typebox/build/type/action/index.mjs +30 -0
  544. package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
  545. package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
  546. package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
  547. package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
  548. package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
  549. package/node_modules/typebox/build/type/action/interface.mjs +22 -0
  550. package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
  551. package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
  552. package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
  553. package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
  554. package/node_modules/typebox/build/type/action/mapped.d.mts +13 -0
  555. package/node_modules/typebox/build/type/action/mapped.mjs +13 -0
  556. package/node_modules/typebox/build/type/action/module.d.mts +13 -0
  557. package/node_modules/typebox/build/type/action/module.mjs +13 -0
  558. package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
  559. package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
  560. package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
  561. package/node_modules/typebox/build/type/action/omit.mjs +14 -0
  562. package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
  563. package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
  564. package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
  565. package/node_modules/typebox/build/type/action/partial.mjs +11 -0
  566. package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
  567. package/node_modules/typebox/build/type/action/pick.mjs +14 -0
  568. package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
  569. package/node_modules/typebox/build/type/action/readonly_object.mjs +19 -0
  570. package/node_modules/typebox/build/type/action/required.d.mts +11 -0
  571. package/node_modules/typebox/build/type/action/required.mjs +11 -0
  572. package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
  573. package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
  574. package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
  575. package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
  576. package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
  577. package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
  578. package/node_modules/typebox/build/type/action/with.d.mts +11 -0
  579. package/node_modules/typebox/build/type/action/with.mjs +11 -0
  580. package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
  581. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
  582. package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +21 -0
  583. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +49 -0
  584. package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
  585. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
  586. package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
  587. package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
  588. package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
  589. package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
  590. package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
  591. package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
  592. package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
  593. package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
  594. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +14 -0
  595. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +25 -0
  596. package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +8 -0
  597. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +16 -0
  598. package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +21 -0
  599. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +45 -0
  600. package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +22 -0
  601. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +47 -0
  602. package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +28 -0
  603. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +47 -0
  604. package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
  605. package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
  606. package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +17 -0
  607. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +31 -0
  608. package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
  609. package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
  610. package/node_modules/typebox/build/type/engine/enum/index.d.mts +1 -0
  611. package/node_modules/typebox/build/type/engine/enum/index.mjs +1 -0
  612. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
  613. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
  614. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +15 -0
  615. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +43 -0
  616. package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
  617. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
  618. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +34 -0
  619. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +67 -0
  620. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +28 -0
  621. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
  622. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +26 -0
  623. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +53 -0
  624. package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
  625. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
  626. package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
  627. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
  628. package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
  629. package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
  630. package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
  631. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
  632. package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
  633. package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
  634. package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
  635. package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
  636. package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +10 -0
  637. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +23 -0
  638. package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
  639. package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
  640. package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
  641. package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
  642. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +10 -0
  643. package/node_modules/typebox/build/type/engine/extract/operation.mjs +23 -0
  644. package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
  645. package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
  646. package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
  647. package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
  648. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
  649. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
  650. package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
  651. package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
  652. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +10 -0
  653. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +14 -0
  654. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +10 -0
  655. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +14 -0
  656. package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
  657. package/node_modules/typebox/build/type/engine/index.mjs +37 -0
  658. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
  659. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
  660. package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +5 -0
  661. package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +8 -0
  662. package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
  663. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
  664. package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
  665. package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
  666. package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
  667. package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
  668. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
  669. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
  670. package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +19 -0
  671. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +25 -0
  672. package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
  673. package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
  674. package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
  675. package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
  676. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
  677. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
  678. package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
  679. package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
  680. package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
  681. package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
  682. package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
  683. package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
  684. package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
  685. package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
  686. package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
  687. package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
  688. package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
  689. package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
  690. package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +16 -0
  691. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +28 -0
  692. package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
  693. package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
  694. package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
  695. package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
  696. package/node_modules/typebox/build/type/engine/instantiate.d.mts +178 -0
  697. package/node_modules/typebox/build/type/engine/instantiate.mjs +158 -0
  698. package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
  699. package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
  700. package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +15 -0
  701. package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
  702. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
  703. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
  704. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
  705. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
  706. package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
  707. package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
  708. package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
  709. package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
  710. package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
  711. package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
  712. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
  713. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
  714. package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
  715. package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
  716. package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
  717. package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
  718. package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
  719. package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
  720. package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
  721. package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
  722. package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
  723. package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
  724. package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
  725. package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
  726. package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
  727. package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
  728. package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
  729. package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
  730. package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +16 -0
  731. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +29 -0
  732. package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
  733. package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
  734. package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
  735. package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
  736. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
  737. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
  738. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +17 -0
  739. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +39 -0
  740. package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
  741. package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
  742. package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +19 -0
  743. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +36 -0
  744. package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
  745. package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
  746. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
  747. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
  748. package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
  749. package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
  750. package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
  751. package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
  752. package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +5 -0
  753. package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +8 -0
  754. package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
  755. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
  756. package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
  757. package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
  758. package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
  759. package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
  760. package/node_modules/typebox/build/type/engine/object/from_type.d.mts +16 -0
  761. package/node_modules/typebox/build/type/engine/object/from_type.mjs +23 -0
  762. package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
  763. package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
  764. package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
  765. package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
  766. package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
  767. package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
  768. package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
  769. package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
  770. package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
  771. package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
  772. package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +10 -0
  773. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +14 -0
  774. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +10 -0
  775. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +14 -0
  776. package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
  777. package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
  778. package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +14 -0
  779. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +25 -0
  780. package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
  781. package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
  782. package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +5 -0
  783. package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +8 -0
  784. package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
  785. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +8 -0
  786. package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
  787. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
  788. package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +14 -0
  789. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +20 -0
  790. package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
  791. package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
  792. package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
  793. package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
  794. package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
  795. package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
  796. package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
  797. package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
  798. package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
  799. package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
  800. package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
  801. package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
  802. package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
  803. package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
  804. package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
  805. package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
  806. package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
  807. package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
  808. package/node_modules/typebox/build/type/engine/priority/index.d.mts +1 -0
  809. package/node_modules/typebox/build/type/engine/priority/index.mjs +1 -0
  810. package/node_modules/typebox/build/type/engine/priority/priority.d.mts +20 -0
  811. package/node_modules/typebox/build/type/engine/priority/priority.mjs +28 -0
  812. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +10 -0
  813. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +14 -0
  814. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +10 -0
  815. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +14 -0
  816. package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
  817. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
  818. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
  819. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
  820. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +5 -0
  821. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +8 -0
  822. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
  823. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +8 -0
  824. package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
  825. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
  826. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
  827. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
  828. package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +18 -0
  829. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +25 -0
  830. package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
  831. package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
  832. package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
  833. package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
  834. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
  835. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
  836. package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
  837. package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
  838. package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
  839. package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
  840. package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
  841. package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
  842. package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
  843. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
  844. package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
  845. package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
  846. package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
  847. package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
  848. package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
  849. package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
  850. package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
  851. package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
  852. package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
  853. package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
  854. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
  855. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
  856. package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
  857. package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
  858. package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
  859. package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
  860. package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
  861. package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
  862. package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
  863. package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
  864. package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
  865. package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
  866. package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
  867. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
  868. package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
  869. package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
  870. package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +5 -0
  871. package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +8 -0
  872. package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
  873. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +8 -0
  874. package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
  875. package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
  876. package/node_modules/typebox/build/type/engine/required/from_type.d.mts +14 -0
  877. package/node_modules/typebox/build/type/engine/required/from_type.mjs +20 -0
  878. package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
  879. package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
  880. package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
  881. package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
  882. package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
  883. package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
  884. package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
  885. package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
  886. package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
  887. package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
  888. package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
  889. package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
  890. package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
  891. package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
  892. package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
  893. package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
  894. package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
  895. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
  896. package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
  897. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
  898. package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
  899. package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
  900. package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
  901. package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
  902. package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
  903. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
  904. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
  905. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +10 -0
  906. package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
  907. package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
  908. package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +16 -0
  909. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +26 -0
  910. package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
  911. package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
  912. package/node_modules/typebox/build/type/engine/with/index.d.mts +1 -0
  913. package/node_modules/typebox/build/type/engine/with/index.mjs +1 -0
  914. package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +8 -0
  915. package/node_modules/typebox/build/type/engine/with/instantiate.mjs +14 -0
  916. package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
  917. package/node_modules/typebox/build/type/extends/any.mjs +12 -0
  918. package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
  919. package/node_modules/typebox/build/type/extends/array.mjs +21 -0
  920. package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
  921. package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
  922. package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
  923. package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
  924. package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
  925. package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
  926. package/node_modules/typebox/build/type/extends/dependent.d.mts +6 -0
  927. package/node_modules/typebox/build/type/extends/dependent.mjs +6 -0
  928. package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
  929. package/node_modules/typebox/build/type/extends/enum.mjs +7 -0
  930. package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
  931. package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
  932. package/node_modules/typebox/build/type/extends/extends_left.d.mts +53 -0
  933. package/node_modules/typebox/build/type/extends/extends_left.mjs +80 -0
  934. package/node_modules/typebox/build/type/extends/extends_right.d.mts +27 -0
  935. package/node_modules/typebox/build/type/extends/extends_right.mjs +49 -0
  936. package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
  937. package/node_modules/typebox/build/type/extends/function.mjs +17 -0
  938. package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
  939. package/node_modules/typebox/build/type/extends/index.mjs +2 -0
  940. package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
  941. package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
  942. package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
  943. package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
  944. package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
  945. package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
  946. package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
  947. package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
  948. package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
  949. package/node_modules/typebox/build/type/extends/never.mjs +9 -0
  950. package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
  951. package/node_modules/typebox/build/type/extends/null.mjs +9 -0
  952. package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
  953. package/node_modules/typebox/build/type/extends/number.mjs +9 -0
  954. package/node_modules/typebox/build/type/extends/object.d.mts +32 -0
  955. package/node_modules/typebox/build/type/extends/object.mjs +109 -0
  956. package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
  957. package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
  958. package/node_modules/typebox/build/type/extends/record.d.mts +13 -0
  959. package/node_modules/typebox/build/type/extends/record.mjs +23 -0
  960. package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
  961. package/node_modules/typebox/build/type/extends/result.mjs +36 -0
  962. package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
  963. package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
  964. package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
  965. package/node_modules/typebox/build/type/extends/string.mjs +9 -0
  966. package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
  967. package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
  968. package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
  969. package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
  970. package/node_modules/typebox/build/type/extends/tuple.d.mts +22 -0
  971. package/node_modules/typebox/build/type/extends/tuple.mjs +61 -0
  972. package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
  973. package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
  974. package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
  975. package/node_modules/typebox/build/type/extends/union.mjs +24 -0
  976. package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
  977. package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
  978. package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
  979. package/node_modules/typebox/build/type/extends/void.mjs +9 -0
  980. package/node_modules/typebox/build/type/index.d.mts +5 -0
  981. package/node_modules/typebox/build/type/index.mjs +5 -0
  982. package/node_modules/typebox/build/type/script/index.d.mts +1 -0
  983. package/node_modules/typebox/build/type/script/index.mjs +1 -0
  984. package/node_modules/typebox/build/type/script/mapping.d.mts +353 -0
  985. package/node_modules/typebox/build/type/script/mapping.mjs +535 -0
  986. package/node_modules/typebox/build/type/script/parser.d.mts +262 -0
  987. package/node_modules/typebox/build/type/script/parser.mjs +136 -0
  988. package/node_modules/typebox/build/type/script/script.d.mts +16 -0
  989. package/node_modules/typebox/build/type/script/script.mjs +22 -0
  990. package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
  991. package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
  992. package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
  993. package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
  994. package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
  995. package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
  996. package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
  997. package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
  998. package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
  999. package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
  1000. package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
  1001. package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
  1002. package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
  1003. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
  1004. package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
  1005. package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
  1006. package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
  1007. package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
  1008. package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
  1009. package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
  1010. package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
  1011. package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
  1012. package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
  1013. package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
  1014. package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
  1015. package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
  1016. package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
  1017. package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
  1018. package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
  1019. package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
  1020. package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
  1021. package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
  1022. package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
  1023. package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
  1024. package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
  1025. package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
  1026. package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
  1027. package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
  1028. package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
  1029. package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
  1030. package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
  1031. package/node_modules/typebox/build/type/types/_codec.mjs +60 -0
  1032. package/node_modules/typebox/build/type/types/_immutable.d.mts +9 -0
  1033. package/node_modules/typebox/build/type/types/_immutable.mjs +18 -0
  1034. package/node_modules/typebox/build/type/types/_optional.d.mts +9 -0
  1035. package/node_modules/typebox/build/type/types/_optional.mjs +18 -0
  1036. package/node_modules/typebox/build/type/types/_readonly.d.mts +9 -0
  1037. package/node_modules/typebox/build/type/types/_readonly.mjs +18 -0
  1038. package/node_modules/typebox/build/type/types/_refine.d.mts +24 -0
  1039. package/node_modules/typebox/build/type/types/_refine.mjs +36 -0
  1040. package/node_modules/typebox/build/type/types/any.d.mts +10 -0
  1041. package/node_modules/typebox/build/type/types/any.mjs +18 -0
  1042. package/node_modules/typebox/build/type/types/array.d.mts +18 -0
  1043. package/node_modules/typebox/build/type/types/array.mjs +25 -0
  1044. package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
  1045. package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
  1046. package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
  1047. package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
  1048. package/node_modules/typebox/build/type/types/call.d.mts +16 -0
  1049. package/node_modules/typebox/build/type/types/call.mjs +23 -0
  1050. package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
  1051. package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
  1052. package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
  1053. package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
  1054. package/node_modules/typebox/build/type/types/deferred.d.mts +13 -0
  1055. package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
  1056. package/node_modules/typebox/build/type/types/dependent.d.mts +17 -0
  1057. package/node_modules/typebox/build/type/types/dependent.mjs +24 -0
  1058. package/node_modules/typebox/build/type/types/enum.d.mts +18 -0
  1059. package/node_modules/typebox/build/type/types/enum.mjs +22 -0
  1060. package/node_modules/typebox/build/type/types/function.d.mts +21 -0
  1061. package/node_modules/typebox/build/type/types/function.mjs +25 -0
  1062. package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
  1063. package/node_modules/typebox/build/type/types/generic.mjs +17 -0
  1064. package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
  1065. package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
  1066. package/node_modules/typebox/build/type/types/index.d.mts +45 -0
  1067. package/node_modules/typebox/build/type/types/index.mjs +51 -0
  1068. package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
  1069. package/node_modules/typebox/build/type/types/infer.mjs +20 -0
  1070. package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
  1071. package/node_modules/typebox/build/type/types/integer.mjs +21 -0
  1072. package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
  1073. package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
  1074. package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
  1075. package/node_modules/typebox/build/type/types/literal.mjs +62 -0
  1076. package/node_modules/typebox/build/type/types/never.d.mts +12 -0
  1077. package/node_modules/typebox/build/type/types/never.mjs +22 -0
  1078. package/node_modules/typebox/build/type/types/null.d.mts +11 -0
  1079. package/node_modules/typebox/build/type/types/null.mjs +17 -0
  1080. package/node_modules/typebox/build/type/types/number.d.mts +12 -0
  1081. package/node_modules/typebox/build/type/types/number.mjs +21 -0
  1082. package/node_modules/typebox/build/type/types/object.d.mts +18 -0
  1083. package/node_modules/typebox/build/type/types/object.mjs +28 -0
  1084. package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
  1085. package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
  1086. package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
  1087. package/node_modules/typebox/build/type/types/properties.mjs +15 -0
  1088. package/node_modules/typebox/build/type/types/record.d.mts +52 -0
  1089. package/node_modules/typebox/build/type/types/record.mjs +66 -0
  1090. package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
  1091. package/node_modules/typebox/build/type/types/ref.mjs +18 -0
  1092. package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
  1093. package/node_modules/typebox/build/type/types/rest.mjs +17 -0
  1094. package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
  1095. package/node_modules/typebox/build/type/types/schema.mjs +15 -0
  1096. package/node_modules/typebox/build/type/types/static.d.mts +45 -0
  1097. package/node_modules/typebox/build/type/types/static.mjs +3 -0
  1098. package/node_modules/typebox/build/type/types/string.d.mts +12 -0
  1099. package/node_modules/typebox/build/type/types/string.mjs +22 -0
  1100. package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
  1101. package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
  1102. package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
  1103. package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
  1104. package/node_modules/typebox/build/type/types/this.d.mts +14 -0
  1105. package/node_modules/typebox/build/type/types/this.mjs +17 -0
  1106. package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
  1107. package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
  1108. package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
  1109. package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
  1110. package/node_modules/typebox/build/type/types/union.d.mts +15 -0
  1111. package/node_modules/typebox/build/type/types/union.mjs +24 -0
  1112. package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
  1113. package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
  1114. package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
  1115. package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
  1116. package/node_modules/typebox/build/type/types/void.d.mts +11 -0
  1117. package/node_modules/typebox/build/type/types/void.mjs +17 -0
  1118. package/node_modules/typebox/build/typebox.d.mts +69 -0
  1119. package/node_modules/typebox/build/typebox.mjs +85 -0
  1120. package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
  1121. package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
  1122. package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
  1123. package/node_modules/typebox/build/value/assert/index.mjs +1 -0
  1124. package/node_modules/typebox/build/value/check/check.d.mts +5 -0
  1125. package/node_modules/typebox/build/value/check/check.mjs +11 -0
  1126. package/node_modules/typebox/build/value/check/index.d.mts +1 -0
  1127. package/node_modules/typebox/build/value/check/index.mjs +1 -0
  1128. package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
  1129. package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
  1130. package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
  1131. package/node_modules/typebox/build/value/clean/clean.mjs +17 -0
  1132. package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
  1133. package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
  1134. package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
  1135. package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
  1136. package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
  1137. package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
  1138. package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
  1139. package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
  1140. package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
  1141. package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
  1142. package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
  1143. package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
  1144. package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
  1145. package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
  1146. package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
  1147. package/node_modules/typebox/build/value/clean/from_type.mjs +21 -0
  1148. package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
  1149. package/node_modules/typebox/build/value/clean/from_union.mjs +12 -0
  1150. package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
  1151. package/node_modules/typebox/build/value/clean/index.mjs +1 -0
  1152. package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
  1153. package/node_modules/typebox/build/value/clone/clone.mjs +12 -0
  1154. package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
  1155. package/node_modules/typebox/build/value/clone/index.mjs +1 -0
  1156. package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
  1157. package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
  1158. package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
  1159. package/node_modules/typebox/build/value/codec/decode.mjs +52 -0
  1160. package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
  1161. package/node_modules/typebox/build/value/codec/encode.mjs +52 -0
  1162. package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
  1163. package/node_modules/typebox/build/value/codec/from_array.mjs +35 -0
  1164. package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
  1165. package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
  1166. package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
  1167. package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
  1168. package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
  1169. package/node_modules/typebox/build/value/codec/from_object.mjs +42 -0
  1170. package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
  1171. package/node_modules/typebox/build/value/codec/from_record.mjs +39 -0
  1172. package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
  1173. package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
  1174. package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
  1175. package/node_modules/typebox/build/value/codec/from_tuple.mjs +32 -0
  1176. package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
  1177. package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
  1178. package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
  1179. package/node_modules/typebox/build/value/codec/from_union.mjs +39 -0
  1180. package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
  1181. package/node_modules/typebox/build/value/codec/has.mjs +93 -0
  1182. package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
  1183. package/node_modules/typebox/build/value/codec/index.mjs +3 -0
  1184. package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
  1185. package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
  1186. package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
  1187. package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
  1188. package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
  1189. package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
  1190. package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
  1191. package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
  1192. package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
  1193. package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
  1194. package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
  1195. package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
  1196. package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
  1197. package/node_modules/typebox/build/value/convert/from_enum.mjs +6 -0
  1198. package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
  1199. package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
  1200. package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
  1201. package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
  1202. package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
  1203. package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
  1204. package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
  1205. package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
  1206. package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
  1207. package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
  1208. package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
  1209. package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
  1210. package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
  1211. package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
  1212. package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
  1213. package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
  1214. package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
  1215. package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
  1216. package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
  1217. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +6 -0
  1218. package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
  1219. package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
  1220. package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
  1221. package/node_modules/typebox/build/value/convert/from_type.mjs +43 -0
  1222. package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
  1223. package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
  1224. package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
  1225. package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
  1226. package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
  1227. package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
  1228. package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
  1229. package/node_modules/typebox/build/value/convert/index.mjs +1 -0
  1230. package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
  1231. package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
  1232. package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
  1233. package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
  1234. package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
  1235. package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
  1236. package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
  1237. package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
  1238. package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
  1239. package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
  1240. package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
  1241. package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
  1242. package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
  1243. package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
  1244. package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
  1245. package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
  1246. package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
  1247. package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
  1248. package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
  1249. package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
  1250. package/node_modules/typebox/build/value/create/create.d.mts +5 -0
  1251. package/node_modules/typebox/build/value/create/create.mjs +11 -0
  1252. package/node_modules/typebox/build/value/create/error.d.mts +5 -0
  1253. package/node_modules/typebox/build/value/create/error.mjs +7 -0
  1254. package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
  1255. package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
  1256. package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
  1257. package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
  1258. package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
  1259. package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
  1260. package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
  1261. package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
  1262. package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
  1263. package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
  1264. package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
  1265. package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
  1266. package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
  1267. package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
  1268. package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
  1269. package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
  1270. package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
  1271. package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
  1272. package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
  1273. package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
  1274. package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
  1275. package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
  1276. package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
  1277. package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
  1278. package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
  1279. package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
  1280. package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
  1281. package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
  1282. package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
  1283. package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
  1284. package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
  1285. package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
  1286. package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
  1287. package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
  1288. package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
  1289. package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
  1290. package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
  1291. package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
  1292. package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
  1293. package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
  1294. package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
  1295. package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
  1296. package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
  1297. package/node_modules/typebox/build/value/create/from_type.mjs +61 -0
  1298. package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
  1299. package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
  1300. package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
  1301. package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
  1302. package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
  1303. package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
  1304. package/node_modules/typebox/build/value/create/index.d.mts +2 -0
  1305. package/node_modules/typebox/build/value/create/index.mjs +2 -0
  1306. package/node_modules/typebox/build/value/default/default.d.mts +13 -0
  1307. package/node_modules/typebox/build/value/default/default.mjs +15 -0
  1308. package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
  1309. package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
  1310. package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
  1311. package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
  1312. package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
  1313. package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
  1314. package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
  1315. package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
  1316. package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
  1317. package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
  1318. package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
  1319. package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
  1320. package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
  1321. package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
  1322. package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
  1323. package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
  1324. package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
  1325. package/node_modules/typebox/build/value/default/from_type.mjs +25 -0
  1326. package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
  1327. package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
  1328. package/node_modules/typebox/build/value/default/index.d.mts +1 -0
  1329. package/node_modules/typebox/build/value/default/index.mjs +1 -0
  1330. package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
  1331. package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
  1332. package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
  1333. package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
  1334. package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
  1335. package/node_modules/typebox/build/value/delta/index.mjs +3 -0
  1336. package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
  1337. package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
  1338. package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
  1339. package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
  1340. package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
  1341. package/node_modules/typebox/build/value/equal/index.mjs +1 -0
  1342. package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
  1343. package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
  1344. package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
  1345. package/node_modules/typebox/build/value/errors/index.mjs +1 -0
  1346. package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
  1347. package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
  1348. package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
  1349. package/node_modules/typebox/build/value/hash/index.mjs +1 -0
  1350. package/node_modules/typebox/build/value/index.d.mts +20 -0
  1351. package/node_modules/typebox/build/value/index.mjs +29 -0
  1352. package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
  1353. package/node_modules/typebox/build/value/parse/index.mjs +1 -0
  1354. package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
  1355. package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
  1356. package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
  1357. package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
  1358. package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
  1359. package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
  1360. package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
  1361. package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
  1362. package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
  1363. package/node_modules/typebox/build/value/repair/error.mjs +8 -0
  1364. package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
  1365. package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
  1366. package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
  1367. package/node_modules/typebox/build/value/repair/from_enum.mjs +6 -0
  1368. package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
  1369. package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
  1370. package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
  1371. package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
  1372. package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
  1373. package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
  1374. package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
  1375. package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
  1376. package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
  1377. package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
  1378. package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
  1379. package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
  1380. package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
  1381. package/node_modules/typebox/build/value/repair/from_type.mjs +88 -0
  1382. package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
  1383. package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
  1384. package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
  1385. package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
  1386. package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
  1387. package/node_modules/typebox/build/value/repair/index.mjs +1 -0
  1388. package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
  1389. package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
  1390. package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
  1391. package/node_modules/typebox/build/value/shared/index.mjs +4 -0
  1392. package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
  1393. package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
  1394. package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +7 -0
  1395. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +72 -0
  1396. package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
  1397. package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
  1398. package/node_modules/typebox/build/value/value.d.mts +15 -0
  1399. package/node_modules/typebox/build/value/value.mjs +15 -0
  1400. package/node_modules/typebox/license +23 -0
  1401. package/node_modules/typebox/package.json +87 -0
  1402. package/node_modules/typebox/readme.md +370 -0
  1403. package/node_modules/zod/LICENSE +21 -0
  1404. package/node_modules/zod/README.md +191 -0
  1405. package/node_modules/zod/index.cjs +33 -0
  1406. package/node_modules/zod/index.d.cts +4 -0
  1407. package/node_modules/zod/index.d.ts +4 -0
  1408. package/node_modules/zod/index.js +4 -0
  1409. package/node_modules/zod/locales/index.cjs +17 -0
  1410. package/node_modules/zod/locales/index.d.cts +1 -0
  1411. package/node_modules/zod/locales/index.d.ts +1 -0
  1412. package/node_modules/zod/locales/index.js +1 -0
  1413. package/node_modules/zod/locales/package.json +7 -0
  1414. package/node_modules/zod/mini/index.cjs +32 -0
  1415. package/node_modules/zod/mini/index.d.cts +3 -0
  1416. package/node_modules/zod/mini/index.d.ts +3 -0
  1417. package/node_modules/zod/mini/index.js +3 -0
  1418. package/node_modules/zod/mini/package.json +7 -0
  1419. package/node_modules/zod/package.json +135 -0
  1420. package/node_modules/zod/src/index.ts +4 -0
  1421. package/node_modules/zod/src/locales/index.ts +1 -0
  1422. package/node_modules/zod/src/mini/index.ts +3 -0
  1423. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  1424. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  1425. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  1426. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  1427. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  1428. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  1429. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  1430. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  1431. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  1432. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  1433. package/node_modules/zod/src/v3/errors.ts +13 -0
  1434. package/node_modules/zod/src/v3/external.ts +6 -0
  1435. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  1436. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  1437. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  1438. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  1439. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  1440. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  1441. package/node_modules/zod/src/v3/index.ts +4 -0
  1442. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  1443. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  1444. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  1445. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  1446. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  1447. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  1448. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  1449. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  1450. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  1451. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  1452. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  1453. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  1454. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  1455. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  1456. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  1457. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  1458. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  1459. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  1460. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  1461. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  1462. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  1463. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  1464. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  1465. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  1466. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  1467. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  1468. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  1469. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  1470. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  1471. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  1472. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  1473. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  1474. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  1475. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  1476. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  1477. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  1478. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  1479. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  1480. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  1481. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  1482. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  1483. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  1484. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  1485. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  1486. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  1487. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  1488. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  1489. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  1490. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  1491. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  1492. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  1493. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  1494. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  1495. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  1496. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  1497. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  1498. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  1499. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  1500. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  1501. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  1502. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  1503. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  1504. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  1505. package/node_modules/zod/src/v3/types.ts +5138 -0
  1506. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  1507. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  1508. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  1509. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  1510. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  1511. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  1512. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  1513. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  1514. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  1515. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  1516. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  1517. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  1518. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  1519. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  1520. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  1521. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  1522. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  1523. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  1524. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  1525. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  1526. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  1527. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  1528. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  1529. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  1530. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  1531. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  1532. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  1533. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  1534. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  1535. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  1536. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  1537. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  1538. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  1539. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  1540. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  1541. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  1542. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  1543. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  1544. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  1545. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  1546. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  1547. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  1548. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  1549. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  1550. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  1551. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  1552. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  1553. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  1554. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  1555. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  1556. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  1557. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  1558. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  1559. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  1560. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  1561. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  1562. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  1563. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  1564. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  1565. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  1566. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  1567. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  1568. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  1569. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  1570. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  1571. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  1572. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  1573. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  1574. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  1575. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  1576. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  1577. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  1578. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  1579. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  1580. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  1581. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  1582. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  1583. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  1584. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  1585. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  1586. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  1587. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  1588. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  1589. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  1590. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  1591. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  1592. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  1593. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  1594. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  1595. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  1596. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  1597. package/node_modules/zod/src/v4/core/config.ts +15 -0
  1598. package/node_modules/zod/src/v4/core/core.ts +153 -0
  1599. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  1600. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  1601. package/node_modules/zod/src/v4/core/index.ts +16 -0
  1602. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  1603. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  1604. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  1605. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  1606. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  1607. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  1608. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  1609. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  1610. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  1611. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  1612. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  1613. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  1614. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  1615. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  1616. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  1617. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  1618. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  1619. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  1620. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  1621. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  1622. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  1623. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  1624. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  1625. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  1626. package/node_modules/zod/src/v4/core/util.ts +983 -0
  1627. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  1628. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  1629. package/node_modules/zod/src/v4/index.ts +4 -0
  1630. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  1631. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  1632. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  1633. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  1634. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  1635. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  1636. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  1637. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  1638. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  1639. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  1640. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  1641. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  1642. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  1643. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  1644. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  1645. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  1646. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  1647. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  1648. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  1649. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  1650. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  1651. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  1652. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  1653. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  1654. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  1655. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  1656. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  1657. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  1658. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  1659. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  1660. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  1661. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  1662. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  1663. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  1664. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  1665. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  1666. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  1667. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  1668. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  1669. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  1670. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  1671. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  1672. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  1673. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  1674. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  1675. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  1676. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  1677. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  1678. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  1679. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  1680. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  1681. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  1682. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  1683. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  1684. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  1685. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  1686. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  1687. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  1688. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  1689. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  1690. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  1691. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  1692. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  1693. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  1694. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  1695. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  1696. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  1697. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  1698. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  1699. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  1700. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  1701. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  1702. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  1703. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  1704. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  1705. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  1706. package/node_modules/zod/v3/ZodError.cjs +138 -0
  1707. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  1708. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  1709. package/node_modules/zod/v3/ZodError.js +133 -0
  1710. package/node_modules/zod/v3/errors.cjs +17 -0
  1711. package/node_modules/zod/v3/errors.d.cts +5 -0
  1712. package/node_modules/zod/v3/errors.d.ts +5 -0
  1713. package/node_modules/zod/v3/errors.js +9 -0
  1714. package/node_modules/zod/v3/external.cjs +22 -0
  1715. package/node_modules/zod/v3/external.d.cts +6 -0
  1716. package/node_modules/zod/v3/external.d.ts +6 -0
  1717. package/node_modules/zod/v3/external.js +6 -0
  1718. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  1719. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  1720. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  1721. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  1722. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  1723. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  1724. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  1725. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  1726. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  1727. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  1728. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  1729. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  1730. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  1731. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  1732. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  1733. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  1734. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  1735. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  1736. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  1737. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  1738. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  1739. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  1740. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  1741. package/node_modules/zod/v3/helpers/util.js +133 -0
  1742. package/node_modules/zod/v3/index.cjs +33 -0
  1743. package/node_modules/zod/v3/index.d.cts +4 -0
  1744. package/node_modules/zod/v3/index.d.ts +4 -0
  1745. package/node_modules/zod/v3/index.js +4 -0
  1746. package/node_modules/zod/v3/locales/en.cjs +112 -0
  1747. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  1748. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  1749. package/node_modules/zod/v3/locales/en.js +109 -0
  1750. package/node_modules/zod/v3/package.json +7 -0
  1751. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  1752. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  1753. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  1754. package/node_modules/zod/v3/standard-schema.js +1 -0
  1755. package/node_modules/zod/v3/types.cjs +3777 -0
  1756. package/node_modules/zod/v3/types.d.cts +1034 -0
  1757. package/node_modules/zod/v3/types.d.ts +1034 -0
  1758. package/node_modules/zod/v3/types.js +3695 -0
  1759. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  1760. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  1761. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  1762. package/node_modules/zod/v4/classic/checks.js +1 -0
  1763. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  1764. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  1765. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  1766. package/node_modules/zod/v4/classic/coerce.js +17 -0
  1767. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  1768. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  1769. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  1770. package/node_modules/zod/v4/classic/compat.js +31 -0
  1771. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  1772. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  1773. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  1774. package/node_modules/zod/v4/classic/errors.js +48 -0
  1775. package/node_modules/zod/v4/classic/external.cjs +73 -0
  1776. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  1777. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  1778. package/node_modules/zod/v4/classic/external.js +20 -0
  1779. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  1780. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  1781. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  1782. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  1783. package/node_modules/zod/v4/classic/index.cjs +33 -0
  1784. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  1785. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  1786. package/node_modules/zod/v4/classic/index.js +4 -0
  1787. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  1788. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  1789. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  1790. package/node_modules/zod/v4/classic/iso.js +30 -0
  1791. package/node_modules/zod/v4/classic/package.json +7 -0
  1792. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  1793. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  1794. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  1795. package/node_modules/zod/v4/classic/parse.js +15 -0
  1796. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  1797. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  1798. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  1799. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  1800. package/node_modules/zod/v4/core/api.cjs +1227 -0
  1801. package/node_modules/zod/v4/core/api.d.cts +325 -0
  1802. package/node_modules/zod/v4/core/api.d.ts +325 -0
  1803. package/node_modules/zod/v4/core/api.js +1087 -0
  1804. package/node_modules/zod/v4/core/checks.cjs +601 -0
  1805. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  1806. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  1807. package/node_modules/zod/v4/core/checks.js +575 -0
  1808. package/node_modules/zod/v4/core/core.cjs +85 -0
  1809. package/node_modules/zod/v4/core/core.d.cts +70 -0
  1810. package/node_modules/zod/v4/core/core.d.ts +70 -0
  1811. package/node_modules/zod/v4/core/core.js +78 -0
  1812. package/node_modules/zod/v4/core/doc.cjs +39 -0
  1813. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  1814. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  1815. package/node_modules/zod/v4/core/doc.js +35 -0
  1816. package/node_modules/zod/v4/core/errors.cjs +216 -0
  1817. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  1818. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  1819. package/node_modules/zod/v4/core/errors.js +185 -0
  1820. package/node_modules/zod/v4/core/index.cjs +47 -0
  1821. package/node_modules/zod/v4/core/index.d.cts +16 -0
  1822. package/node_modules/zod/v4/core/index.d.ts +16 -0
  1823. package/node_modules/zod/v4/core/index.js +16 -0
  1824. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  1825. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  1826. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  1827. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  1828. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  1829. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  1830. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  1831. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  1832. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  1833. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  1834. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  1835. package/node_modules/zod/v4/core/json-schema.js +1 -0
  1836. package/node_modules/zod/v4/core/package.json +7 -0
  1837. package/node_modules/zod/v4/core/parse.cjs +131 -0
  1838. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  1839. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  1840. package/node_modules/zod/v4/core/parse.js +93 -0
  1841. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  1842. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  1843. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  1844. package/node_modules/zod/v4/core/regexes.js +139 -0
  1845. package/node_modules/zod/v4/core/registries.cjs +56 -0
  1846. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  1847. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  1848. package/node_modules/zod/v4/core/registries.js +51 -0
  1849. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  1850. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  1851. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  1852. package/node_modules/zod/v4/core/schemas.js +2239 -0
  1853. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  1854. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  1855. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  1856. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  1857. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  1858. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  1859. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  1860. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  1861. package/node_modules/zod/v4/core/util.cjs +734 -0
  1862. package/node_modules/zod/v4/core/util.d.cts +200 -0
  1863. package/node_modules/zod/v4/core/util.d.ts +200 -0
  1864. package/node_modules/zod/v4/core/util.js +674 -0
  1865. package/node_modules/zod/v4/core/versions.cjs +8 -0
  1866. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  1867. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  1868. package/node_modules/zod/v4/core/versions.js +5 -0
  1869. package/node_modules/zod/v4/index.cjs +22 -0
  1870. package/node_modules/zod/v4/index.d.cts +3 -0
  1871. package/node_modules/zod/v4/index.d.ts +3 -0
  1872. package/node_modules/zod/v4/index.js +3 -0
  1873. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  1874. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  1875. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  1876. package/node_modules/zod/v4/locales/ar.js +106 -0
  1877. package/node_modules/zod/v4/locales/az.cjs +132 -0
  1878. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  1879. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  1880. package/node_modules/zod/v4/locales/az.js +105 -0
  1881. package/node_modules/zod/v4/locales/be.cjs +183 -0
  1882. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  1883. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  1884. package/node_modules/zod/v4/locales/be.js +156 -0
  1885. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  1886. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  1887. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  1888. package/node_modules/zod/v4/locales/bg.js +120 -0
  1889. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  1890. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  1891. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  1892. package/node_modules/zod/v4/locales/ca.js +107 -0
  1893. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  1894. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  1895. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  1896. package/node_modules/zod/v4/locales/cs.js +111 -0
  1897. package/node_modules/zod/v4/locales/da.cjs +142 -0
  1898. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  1899. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  1900. package/node_modules/zod/v4/locales/da.js +115 -0
  1901. package/node_modules/zod/v4/locales/de.cjs +135 -0
  1902. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  1903. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  1904. package/node_modules/zod/v4/locales/de.js +108 -0
  1905. package/node_modules/zod/v4/locales/el.cjs +136 -0
  1906. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  1907. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  1908. package/node_modules/zod/v4/locales/el.js +109 -0
  1909. package/node_modules/zod/v4/locales/en.cjs +140 -0
  1910. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  1911. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  1912. package/node_modules/zod/v4/locales/en.js +113 -0
  1913. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  1914. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  1915. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  1916. package/node_modules/zod/v4/locales/eo.js +109 -0
  1917. package/node_modules/zod/v4/locales/es.cjs +159 -0
  1918. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  1919. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  1920. package/node_modules/zod/v4/locales/es.js +132 -0
  1921. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  1922. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  1923. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  1924. package/node_modules/zod/v4/locales/fa.js +114 -0
  1925. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  1926. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  1927. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  1928. package/node_modules/zod/v4/locales/fi.js +112 -0
  1929. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  1930. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  1931. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  1932. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  1933. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  1934. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  1935. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  1936. package/node_modules/zod/v4/locales/fr.js +125 -0
  1937. package/node_modules/zod/v4/locales/he.cjs +241 -0
  1938. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  1939. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  1940. package/node_modules/zod/v4/locales/he.js +214 -0
  1941. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  1942. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  1943. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  1944. package/node_modules/zod/v4/locales/hr.js +122 -0
  1945. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  1946. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  1947. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  1948. package/node_modules/zod/v4/locales/hu.js +108 -0
  1949. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  1950. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  1951. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  1952. package/node_modules/zod/v4/locales/hy.js +147 -0
  1953. package/node_modules/zod/v4/locales/id.cjs +133 -0
  1954. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  1955. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  1956. package/node_modules/zod/v4/locales/id.js +106 -0
  1957. package/node_modules/zod/v4/locales/index.cjs +111 -0
  1958. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  1959. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  1960. package/node_modules/zod/v4/locales/index.js +52 -0
  1961. package/node_modules/zod/v4/locales/is.cjs +136 -0
  1962. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  1963. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  1964. package/node_modules/zod/v4/locales/is.js +109 -0
  1965. package/node_modules/zod/v4/locales/it.cjs +135 -0
  1966. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  1967. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  1968. package/node_modules/zod/v4/locales/it.js +108 -0
  1969. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  1970. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  1971. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  1972. package/node_modules/zod/v4/locales/ja.js +107 -0
  1973. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  1974. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  1975. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  1976. package/node_modules/zod/v4/locales/ka.js +112 -0
  1977. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  1978. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  1979. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  1980. package/node_modules/zod/v4/locales/kh.js +5 -0
  1981. package/node_modules/zod/v4/locales/km.cjs +137 -0
  1982. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  1983. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  1984. package/node_modules/zod/v4/locales/km.js +110 -0
  1985. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  1986. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  1987. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  1988. package/node_modules/zod/v4/locales/ko.js +111 -0
  1989. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  1990. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  1991. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  1992. package/node_modules/zod/v4/locales/lt.js +203 -0
  1993. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  1994. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  1995. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  1996. package/node_modules/zod/v4/locales/mk.js +109 -0
  1997. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  1998. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  1999. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  2000. package/node_modules/zod/v4/locales/ms.js +107 -0
  2001. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  2002. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  2003. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  2004. package/node_modules/zod/v4/locales/nl.js +110 -0
  2005. package/node_modules/zod/v4/locales/no.cjs +135 -0
  2006. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  2007. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  2008. package/node_modules/zod/v4/locales/no.js +108 -0
  2009. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  2010. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  2011. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  2012. package/node_modules/zod/v4/locales/ota.js +109 -0
  2013. package/node_modules/zod/v4/locales/package.json +7 -0
  2014. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  2015. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  2016. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  2017. package/node_modules/zod/v4/locales/pl.js +109 -0
  2018. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  2019. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  2020. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  2021. package/node_modules/zod/v4/locales/ps.js +114 -0
  2022. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  2023. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  2024. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  2025. package/node_modules/zod/v4/locales/pt.js +108 -0
  2026. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  2027. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  2028. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  2029. package/node_modules/zod/v4/locales/ro.js +119 -0
  2030. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  2031. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  2032. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  2033. package/node_modules/zod/v4/locales/ru.js +156 -0
  2034. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  2035. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  2036. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  2037. package/node_modules/zod/v4/locales/sl.js +109 -0
  2038. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  2039. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  2040. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  2041. package/node_modules/zod/v4/locales/sv.js +110 -0
  2042. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  2043. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  2044. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  2045. package/node_modules/zod/v4/locales/ta.js +110 -0
  2046. package/node_modules/zod/v4/locales/th.cjs +137 -0
  2047. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  2048. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  2049. package/node_modules/zod/v4/locales/th.js +110 -0
  2050. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  2051. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  2052. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  2053. package/node_modules/zod/v4/locales/tr.js +105 -0
  2054. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  2055. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  2056. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  2057. package/node_modules/zod/v4/locales/ua.js +5 -0
  2058. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  2059. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  2060. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  2061. package/node_modules/zod/v4/locales/uk.js +108 -0
  2062. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  2063. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  2064. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  2065. package/node_modules/zod/v4/locales/ur.js +110 -0
  2066. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  2067. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  2068. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  2069. package/node_modules/zod/v4/locales/uz.js +110 -0
  2070. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  2071. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  2072. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  2073. package/node_modules/zod/v4/locales/vi.js +108 -0
  2074. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  2075. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  2076. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  2077. package/node_modules/zod/v4/locales/yo.js +107 -0
  2078. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  2079. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  2080. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  2081. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  2082. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  2083. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  2084. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  2085. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  2086. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  2087. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  2088. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  2089. package/node_modules/zod/v4/mini/checks.js +1 -0
  2090. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  2091. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  2092. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  2093. package/node_modules/zod/v4/mini/coerce.js +22 -0
  2094. package/node_modules/zod/v4/mini/external.cjs +63 -0
  2095. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  2096. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  2097. package/node_modules/zod/v4/mini/external.js +14 -0
  2098. package/node_modules/zod/v4/mini/index.cjs +32 -0
  2099. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  2100. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  2101. package/node_modules/zod/v4/mini/index.js +3 -0
  2102. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  2103. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  2104. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  2105. package/node_modules/zod/v4/mini/iso.js +34 -0
  2106. package/node_modules/zod/v4/mini/package.json +7 -0
  2107. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  2108. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  2109. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  2110. package/node_modules/zod/v4/mini/parse.js +1 -0
  2111. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  2112. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  2113. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  2114. package/node_modules/zod/v4/mini/schemas.js +961 -0
  2115. package/node_modules/zod/v4/package.json +7 -0
  2116. package/node_modules/zod/v4-mini/index.cjs +32 -0
  2117. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  2118. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  2119. package/node_modules/zod/v4-mini/index.js +3 -0
  2120. package/node_modules/zod/v4-mini/package.json +7 -0
  2121. package/openclaw.plugin.json +904 -0
  2122. package/package.json +139 -8
  2123. package/skills/imsg/SKILL.md +250 -0
@@ -0,0 +1,1176 @@
1
+ import { d as resolveIMessageChatDbLookupPath, l as resolveIMessageRemoteHost, n as hasExclusiveIMessageLocalDatabase, o as resolveIMessageAccount } from "./accounts-D00Njxg2.js";
2
+ import { l as parseIMessageTarget, n as formatIMessageChatTarget, s as normalizeIMessageHandle } from "./message-tool-api-TZiNYA17.js";
3
+ import { c as rememberIMessageReplyCache, h as chatContextFromIMessageTarget, p as getOptionalIMessageRuntime, v as resolveIMessageDirectChatService } from "./monitor-reply-cache-BdeUQaHO.js";
4
+ import { a as IMessageRpcRequestError, n as sanitizeIMessageFinalOutboundText, o as createIMessageRpcClient, t as protectIMessageFencedRoleMarkers } from "./sanitize-outbound-DaLmdkbf.js";
5
+ import { _ as imessageApprovalAuth, g as getIMessageApprovalApprovers } from "./group-policy-Ca3c5KES.js";
6
+ import { a as rememberPersistedIMessageEcho, r as forgetPersistedIMessageEchoKey } from "./persisted-echo-cache-DGxy-J4t.js";
7
+ import { d as normalizeConversationKey, f as normalizeIMessageGuid, i as registerIMessageApprovalReactionTarget, l as enumerateApprovalTargetKeys, s as buildIMessageApprovalConversationKeyForInbound, u as enumerateConversationKeyForms } from "./approval-reactions-BME5eA6T.js";
8
+ import { i as runIMessageCliJsonCommand, r as resolveAuthorizedIMessageReplyReference, t as withIMessageRemoteFile } from "./remote-file-CDuk0joc.js";
9
+ import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-outbound";
10
+ import { createLazyRuntimeSurface } from "openclaw/plugin-sdk/lazy-runtime";
11
+ import { accessSync, constants } from "node:fs";
12
+ import { basename } from "node:path";
13
+ import { asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
14
+ import { sleep } from "openclaw/plugin-sdk/runtime-env";
15
+ import { asDateTimestampMs } from "openclaw/plugin-sdk/number-runtime";
16
+ import { PlatformMessageNotDispatchedError, isApprovalNotFoundError } from "openclaw/plugin-sdk/error-runtime";
17
+ import { addApprovalReactionHintToText, createApprovalReactionTargetStore, listApprovalReactionBindings } from "openclaw/plugin-sdk/approval-reaction-runtime";
18
+ import { extractOriginalFilename, kindFromMime, resolveOutboundAttachmentFromUrl } from "openclaw/plugin-sdk/media-runtime";
19
+ import { convertMarkdownTables, stripInlineDirectiveTagsForDelivery } from "openclaw/plugin-sdk/text-chunking";
20
+ import { createChannelPartialDeliveryError } from "openclaw/plugin-sdk/channel-inbound";
21
+ import { openNodeSqliteDatabase } from "openclaw/plugin-sdk/sqlite-runtime";
22
+ import { createPluginStateErrorReporter } from "openclaw/plugin-sdk/plugin-state-runtime";
23
+ import { requireRuntimeConfig } from "openclaw/plugin-sdk/plugin-config-runtime";
24
+ import { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
25
+ import { resolvePreferredOpenClawTmpDir, withTempWorkspace } from "openclaw/plugin-sdk/temp-path";
26
+ //#region extensions/imessage/src/approval-control-binding-window.ts
27
+ const pendingByConversation = /* @__PURE__ */ new Map();
28
+ function approvalControlBindingAbortError(signal) {
29
+ const reason = signal?.reason;
30
+ return reason instanceof Error ? reason : new Error("iMessage approval control binding aborted", { cause: reason });
31
+ }
32
+ function bindingKeys(accountId, conversation) {
33
+ const account = accountId.trim();
34
+ return account ? enumerateConversationKeyForms(conversation).map((form) => `${account}:${form}`) : [];
35
+ }
36
+ /** Marks the send-to-binding interval during which a visible control is not yet resolvable. */
37
+ function beginIMessageApprovalControlBinding(params) {
38
+ const keys = bindingKeys(params.accountId, params.conversation);
39
+ let resolveDone = () => {};
40
+ const window = {
41
+ done: new Promise((resolve) => {
42
+ resolveDone = resolve;
43
+ }),
44
+ close: () => {}
45
+ };
46
+ let closed = false;
47
+ window.close = () => {
48
+ if (closed) return;
49
+ closed = true;
50
+ for (const key of keys) {
51
+ const windows = pendingByConversation.get(key);
52
+ windows?.delete(window);
53
+ if (windows?.size === 0) pendingByConversation.delete(key);
54
+ }
55
+ resolveDone();
56
+ };
57
+ for (const key of keys) {
58
+ const windows = pendingByConversation.get(key) ?? /* @__PURE__ */ new Set();
59
+ windows.add(window);
60
+ pendingByConversation.set(key, windows);
61
+ }
62
+ return { close: window.close };
63
+ }
64
+ /** Waits for one matching delivery to finish binding; callers recheck until none remain. */
65
+ async function waitForIMessageApprovalControlBinding(params) {
66
+ const windows = /* @__PURE__ */ new Set();
67
+ for (const key of bindingKeys(params.accountId, params.conversation)) for (const window of pendingByConversation.get(key) ?? []) windows.add(window);
68
+ if (windows.size === 0) return false;
69
+ if (params.abortSignal?.aborted) throw approvalControlBindingAbortError(params.abortSignal);
70
+ let detachAbort = () => {};
71
+ const aborted = new Promise((_resolve, reject) => {
72
+ const onAbort = () => reject(approvalControlBindingAbortError(params.abortSignal));
73
+ params.abortSignal?.addEventListener("abort", onAbort, { once: true });
74
+ detachAbort = () => params.abortSignal?.removeEventListener("abort", onAbort);
75
+ });
76
+ try {
77
+ await Promise.race([Promise.race([...windows].map((window) => window.done)), aborted]);
78
+ } finally {
79
+ detachAbort();
80
+ }
81
+ return true;
82
+ }
83
+ function clearIMessageApprovalControlBindingsForTest() {
84
+ for (const windows of pendingByConversation.values()) for (const window of windows) window.close();
85
+ pendingByConversation.clear();
86
+ }
87
+ const iMessageApprovalControlBindings = {
88
+ begin: beginIMessageApprovalControlBinding,
89
+ wait: waitForIMessageApprovalControlBinding,
90
+ clearForTest: clearIMessageApprovalControlBindingsForTest
91
+ };
92
+ //#endregion
93
+ //#region extensions/imessage/src/approval-polls.ts
94
+ const TARGET_NAMESPACE = "imessage.approval-polls";
95
+ const TOMBSTONE_NAMESPACE = "imessage.approval-poll-tombstones";
96
+ const MAX_ENTRIES = 1e3;
97
+ const DEFAULT_TARGET_TTL_MS = 1440 * 60 * 1e3;
98
+ /**
99
+ * Messages has no close-poll API, so a resolved approval's balloon stays
100
+ * tappable forever. Tombstones outlive the binding so late taps are swallowed
101
+ * instead of reaching the agent as "Poll vote: ..." prose. Persisted, because a
102
+ * gateway restart must not turn old polls back into chat noise.
103
+ */
104
+ const TOMBSTONE_TTL_MS = 720 * 60 * 60 * 1e3;
105
+ const APPROVAL_DECISIONS = /* @__PURE__ */ new Set([
106
+ "allow-once",
107
+ "allow-always",
108
+ "deny"
109
+ ]);
110
+ const loadResolveApprovalOverGateway = createLazyRuntimeSurface(() => import("openclaw/plugin-sdk/approval-gateway-runtime"), (runtime) => runtime.resolveApprovalOverGateway);
111
+ const reportPersistentError = createPluginStateErrorReporter(getOptionalIMessageRuntime, "imessage", "approval-poll-state", "iMessage persistent approval poll state failed");
112
+ function readPersistedTarget(value) {
113
+ const target = value;
114
+ if (!target || typeof target.approvalId !== "string" || target.approvalKind !== "exec" && target.approvalKind !== "plugin" || !Array.isArray(target.optionDecisions)) return null;
115
+ const optionDecisions = target.optionDecisions.flatMap((pair) => {
116
+ if (!Array.isArray(pair) || pair.length !== 2) return [];
117
+ const [optionId, decision] = pair;
118
+ if (typeof optionId !== "string" || typeof decision !== "string") return [];
119
+ return APPROVAL_DECISIONS.has(decision) ? [[optionId, decision]] : [];
120
+ });
121
+ return optionDecisions.length > 0 ? {
122
+ approvalId: target.approvalId,
123
+ approvalKind: target.approvalKind,
124
+ optionDecisions
125
+ } : null;
126
+ }
127
+ const pollTargets = createApprovalReactionTargetStore({
128
+ namespace: TARGET_NAMESPACE,
129
+ maxEntries: MAX_ENTRIES,
130
+ defaultTtlMs: DEFAULT_TARGET_TTL_MS,
131
+ openStore: (params) => getOptionalIMessageRuntime()?.state.openKeyedStore(params),
132
+ logPersistentError: reportPersistentError,
133
+ readPersistedTarget
134
+ });
135
+ const pollTombstones = createApprovalReactionTargetStore({
136
+ namespace: TOMBSTONE_NAMESPACE,
137
+ maxEntries: MAX_ENTRIES,
138
+ defaultTtlMs: TOMBSTONE_TTL_MS,
139
+ openStore: (params) => getOptionalIMessageRuntime()?.state.openKeyedStore(params),
140
+ logPersistentError: reportPersistentError,
141
+ readPersistedTarget: (value) => {
142
+ const approvalId = value?.approvalId;
143
+ return typeof approvalId === "string" ? { approvalId } : null;
144
+ }
145
+ });
146
+ /**
147
+ * Poll option labels for an approval, in canonical decision order. Reuses the
148
+ * tapback bindings so the two controls never disagree about which decisions
149
+ * exist or what they are called.
150
+ */
151
+ function buildApprovalPollOptions(params) {
152
+ return listApprovalReactionBindings(params).map((binding) => ({
153
+ decision: binding.decision,
154
+ text: `${binding.emoji} ${binding.label}`
155
+ }));
156
+ }
157
+ /**
158
+ * Match the option ids Messages returned back to decisions. Text only pairs the
159
+ * response against what we asked for; the id is what a later vote is authorized
160
+ * against, since option text in a vote payload is attacker-shaped.
161
+ */
162
+ function mapSentPollOptionsToDecisions(params) {
163
+ if (params.sent.length !== params.requested.length) return [];
164
+ const byText = new Map(params.requested.map((option) => [option.text.trim(), option.decision]));
165
+ const seenIds = /* @__PURE__ */ new Set();
166
+ const seenDecisions = /* @__PURE__ */ new Set();
167
+ const mapped = [];
168
+ for (const option of params.sent) {
169
+ const id = option.id.trim();
170
+ const decision = byText.get(option.text.trim());
171
+ if (!id || !decision || seenIds.has(id) || seenDecisions.has(decision)) return [];
172
+ seenIds.add(id);
173
+ seenDecisions.add(decision);
174
+ mapped.push([id, decision]);
175
+ }
176
+ return seenDecisions.size === params.requested.length ? mapped : [];
177
+ }
178
+ function registerIMessageApprovalPollTarget(params) {
179
+ const accountId = params.accountId.trim();
180
+ const approvalId = params.approvalId.trim();
181
+ const expiresAtMs = asDateTimestampMs(params.expiresAtMs);
182
+ const ttlMs = expiresAtMs === void 0 ? void 0 : expiresAtMs - Date.now();
183
+ if (!accountId || !approvalId || params.optionDecisions.length === 0 || ttlMs === void 0 || ttlMs <= 0) return false;
184
+ const keys = enumeratePollTargetKeys({
185
+ accountId,
186
+ conversation: params.conversation,
187
+ pollGuid: params.pollGuid,
188
+ optionIds: params.optionDecisions.map(([optionId]) => optionId)
189
+ });
190
+ if (keys.length === 0) return false;
191
+ const target = {
192
+ approvalId,
193
+ approvalKind: params.approvalKind,
194
+ optionDecisions: params.optionDecisions
195
+ };
196
+ for (const key of keys) {
197
+ pollTargets.register(key, target, { ttlMs });
198
+ pollTombstones.register(key, { approvalId }, { ttlMs: TOMBSTONE_TTL_MS });
199
+ }
200
+ return true;
201
+ }
202
+ function unregisterIMessageApprovalPollTarget(params) {
203
+ for (const key of enumeratePollTargetKeys({
204
+ accountId: params.accountId,
205
+ conversation: params.conversation,
206
+ pollGuid: params.pollGuid,
207
+ optionIds: params.optionDecisions?.map(([optionId]) => optionId)
208
+ })) {
209
+ pollTargets.delete(key);
210
+ pollTombstones.register(key, { approvalId: params.approvalId ?? "" }, { ttlMs: TOMBSTONE_TTL_MS });
211
+ }
212
+ }
213
+ /**
214
+ * Consume votes for a poll that was created but could not be safely bound.
215
+ * Messages has no reliable retract primitive for this balloon.
216
+ */
217
+ function registerIMessageApprovalPollTombstone(params) {
218
+ const keys = enumeratePollTargetKeys({
219
+ accountId: params.accountId,
220
+ conversation: params.conversation,
221
+ pollGuid: params.pollGuid,
222
+ optionIds: params.optionIds
223
+ });
224
+ if (keys.length === 0) return false;
225
+ for (const key of keys) pollTombstones.register(key, { approvalId: params.approvalId }, { ttlMs: TOMBSTONE_TTL_MS });
226
+ return true;
227
+ }
228
+ function enumeratePollTargetKeys(params) {
229
+ const references = [...params.pollGuid?.trim() ? [`guid:${normalizeIMessageGuid(params.pollGuid)}`] : [], ...(params.optionIds ?? []).flatMap((optionId) => {
230
+ const normalized = optionId.trim();
231
+ return normalized ? [`option:${normalized}`] : [];
232
+ })];
233
+ return [...new Set(references.flatMap((messageId) => enumerateApprovalTargetKeys({
234
+ accountId: params.accountId,
235
+ conversation: params.conversation,
236
+ messageId
237
+ })))];
238
+ }
239
+ function readPollVoteEvent(message) {
240
+ const poll = message.poll;
241
+ if (!poll || poll.kind !== "vote") return null;
242
+ const pollGuid = normalizeIMessageGuid(typeof poll.original_guid === "string" && poll.original_guid || typeof poll.poll_guid === "string" && poll.poll_guid || "");
243
+ const sender = normalizeIMessageHandle((message.sender ?? "").trim());
244
+ const destinationCallerId = normalizeIMessageHandle((message.destination_caller_id ?? "").trim());
245
+ const actorHandle = (message.is_from_me !== true && Boolean(sender) && Boolean(destinationCallerId) && sender === destinationCallerId ? "" : sender) || (message.is_from_me === true ? destinationCallerId : "");
246
+ if (!pollGuid || !actorHandle) return null;
247
+ const rawVotes = Array.isArray(poll.votes) ? poll.votes : poll.vote ? [poll.vote] : [];
248
+ let malformedVotes = false;
249
+ const votes = rawVotes.flatMap((vote) => {
250
+ if (!vote || typeof vote.option_id !== "string") {
251
+ malformedVotes = true;
252
+ return [];
253
+ }
254
+ const optionId = vote.option_id.trim();
255
+ if (!optionId) {
256
+ malformedVotes = true;
257
+ return [];
258
+ }
259
+ return [{
260
+ optionId,
261
+ participantKey: typeof vote.participant === "string" ? normalizeIMessageHandle(vote.participant.trim().replace(/^[ep]:/iu, "")) : "",
262
+ selected: vote.event_type === "selected"
263
+ }];
264
+ });
265
+ const conversation = buildIMessageApprovalConversationKeyForInbound({
266
+ chatGuid: message.chat_guid,
267
+ chatIdentifier: message.chat_identifier,
268
+ chatId: message.chat_id,
269
+ isGroup: message.is_group,
270
+ actorHandle
271
+ });
272
+ if (!normalizeConversationKey(conversation)) return null;
273
+ return {
274
+ conversation,
275
+ pollGuid,
276
+ actorHandle,
277
+ votes,
278
+ malformedVotes
279
+ };
280
+ }
281
+ async function lookupPollTarget(params) {
282
+ for (const key of enumeratePollTargetKeys({
283
+ accountId: params.accountId,
284
+ conversation: params.conversation,
285
+ pollGuid: params.pollGuid,
286
+ optionIds: params.optionIds
287
+ })) {
288
+ const target = await pollTargets.lookup(key);
289
+ if (target) return target;
290
+ }
291
+ return null;
292
+ }
293
+ async function hasTombstone(params) {
294
+ for (const key of enumeratePollTargetKeys({
295
+ accountId: params.accountId,
296
+ conversation: params.conversation,
297
+ pollGuid: params.pollGuid,
298
+ optionIds: params.optionIds
299
+ })) if (await pollTombstones.lookup(key)) return true;
300
+ return false;
301
+ }
302
+ /**
303
+ * Outcomes for votes we own are logged at info, not verbose: an approval
304
+ * decision is security-relevant, and diagnosing "the tap did nothing" must not
305
+ * require re-running the gateway in debug.
306
+ */
307
+ function info(message, fields) {
308
+ try {
309
+ getOptionalIMessageRuntime()?.logging.getChildLogger({
310
+ plugin: "imessage",
311
+ feature: "approval-polls"
312
+ }).info(message, fields);
313
+ } catch {}
314
+ }
315
+ function warn$1(message, fields) {
316
+ try {
317
+ getOptionalIMessageRuntime()?.logging.getChildLogger({
318
+ plugin: "imessage",
319
+ feature: "approval-polls"
320
+ }).warn(message, fields);
321
+ } catch {}
322
+ }
323
+ /**
324
+ * Resolve a pending approval from an inbound native poll vote. Returns true when
325
+ * the event belongs to an approval poll we own, so the monitor can stop it
326
+ * before the ordinary dispatch pipeline renders it as prose.
327
+ */
328
+ async function maybeResolveIMessageApprovalPollVote(params) {
329
+ const event = readPollVoteEvent(params.message);
330
+ if (!event) return false;
331
+ const lookupKey = {
332
+ accountId: params.accountId,
333
+ conversation: event.conversation,
334
+ pollGuid: event.pollGuid,
335
+ optionIds: event.votes.map((vote) => vote.optionId)
336
+ };
337
+ const target = await lookupPollTarget(lookupKey);
338
+ if (!target) return await hasTombstone(lookupKey);
339
+ if (event.malformedVotes) {
340
+ warn$1("approval poll vote ignored: malformed complete vote set", {
341
+ approvalId: target.approvalId,
342
+ actorHandle: event.actorHandle
343
+ });
344
+ return true;
345
+ }
346
+ const directlyAttributedVotes = event.votes.filter((vote) => vote.participantKey === event.actorHandle);
347
+ const participantKeys = new Set(event.votes.map((vote) => vote.participantKey).filter(Boolean));
348
+ const actorVotes = directlyAttributedVotes.length > 0 ? directlyAttributedVotes : event.votes.length === 1 || participantKeys.size === 1 ? event.votes : [];
349
+ if (actorVotes.length === 0) {
350
+ warn$1("approval poll vote participants did not identify the transport actor", {
351
+ approvalId: target.approvalId,
352
+ actorHandle: event.actorHandle
353
+ });
354
+ return true;
355
+ }
356
+ const selectedVotes = actorVotes.filter((vote) => vote.selected);
357
+ if (selectedVotes.length === 0) {
358
+ info("approval poll deselect ignored; first selection decides", { approvalId: target.approvalId });
359
+ return true;
360
+ }
361
+ const selectedDecisions = selectedVotes.map((vote) => ({
362
+ optionId: vote.optionId,
363
+ decision: target.optionDecisions.find(([optionId]) => optionId === vote.optionId)?.[1]
364
+ }));
365
+ if (selectedDecisions.some((entry) => !entry.decision)) {
366
+ warn$1("approval poll vote ignored: selected option not bound to a decision", {
367
+ approvalId: target.approvalId,
368
+ optionIds: selectedDecisions.map((entry) => entry.optionId)
369
+ });
370
+ return true;
371
+ }
372
+ const decisions = [...new Set(selectedDecisions.map((entry) => entry.decision))];
373
+ if (decisions.length !== 1) {
374
+ warn$1("approval poll vote ignored: ambiguous selected decisions", {
375
+ approvalId: target.approvalId,
376
+ decisions
377
+ });
378
+ return true;
379
+ }
380
+ const decision = decisions[0];
381
+ if (!decision) return true;
382
+ if (getIMessageApprovalApprovers({
383
+ cfg: params.cfg,
384
+ accountId: params.accountId
385
+ }).length === 0) {
386
+ info("approval poll vote denied: no explicit approvers configured", { approvalId: target.approvalId });
387
+ return true;
388
+ }
389
+ if (!imessageApprovalAuth.authorizeActorAction({
390
+ cfg: params.cfg,
391
+ accountId: params.accountId,
392
+ senderId: event.actorHandle,
393
+ action: "approve",
394
+ approvalKind: target.approvalKind
395
+ }).authorized) {
396
+ info("approval poll vote denied: sender not an approver", {
397
+ approvalId: target.approvalId,
398
+ actorHandle: event.actorHandle
399
+ });
400
+ return true;
401
+ }
402
+ const resolveApprovalOverGateway = await loadResolveApprovalOverGateway();
403
+ try {
404
+ const result = await resolveApprovalOverGateway({
405
+ cfg: params.cfg,
406
+ approvalId: target.approvalId,
407
+ approvalKind: target.approvalKind,
408
+ decision,
409
+ channel: "imessage",
410
+ accountId: params.accountId,
411
+ senderId: event.actorHandle,
412
+ gatewayUrl: params.gatewayUrl,
413
+ ...params.gatewayRuntime ? { gatewayRuntime: params.gatewayRuntime } : {}
414
+ });
415
+ unregisterIMessageApprovalPollTarget({
416
+ ...lookupKey,
417
+ optionDecisions: target.optionDecisions,
418
+ approvalId: target.approvalId
419
+ });
420
+ info(`approval poll vote ${result.applied ? "resolved" : "already resolved"}`, {
421
+ approvalId: target.approvalId,
422
+ actorHandle: event.actorHandle,
423
+ decision
424
+ });
425
+ return true;
426
+ } catch (error) {
427
+ if (isApprovalNotFoundError(error)) {
428
+ unregisterIMessageApprovalPollTarget({
429
+ ...lookupKey,
430
+ optionDecisions: target.optionDecisions,
431
+ approvalId: target.approvalId
432
+ });
433
+ info("approval poll vote ignored: approval already gone", { approvalId: target.approvalId });
434
+ return true;
435
+ }
436
+ warn$1("approval poll vote failed", {
437
+ approvalId: target.approvalId,
438
+ senderId: event.actorHandle,
439
+ error: String(error)
440
+ });
441
+ throw error;
442
+ }
443
+ }
444
+ function clearIMessageApprovalPollTargetsForTest() {
445
+ pollTargets.clearForTest();
446
+ pollTombstones.clearForTest();
447
+ loadResolveApprovalOverGateway.clear();
448
+ }
449
+ const iMessageApprovalPollTargets = {
450
+ register: registerIMessageApprovalPollTarget,
451
+ unregister: unregisterIMessageApprovalPollTarget,
452
+ registerTombstone: registerIMessageApprovalPollTombstone,
453
+ clearForTest: clearIMessageApprovalPollTargetsForTest
454
+ };
455
+ //#endregion
456
+ //#region extensions/imessage/src/send.ts
457
+ const MIN_PENDING_PERSISTED_ECHO_TTL_MS = 6e4;
458
+ const PENDING_PERSISTED_ECHO_GRACE_MS = 5e3;
459
+ function resolveMessageId(result) {
460
+ if (!result) return null;
461
+ const raw = typeof result.messageGuid === "string" && result.messageGuid.trim() || typeof result.messageId === "string" && result.messageId.trim() || typeof result.message_id === "string" && result.message_id.trim() || typeof result.id === "string" && result.id.trim() || typeof result.guid === "string" && result.guid.trim() || (typeof result.message_id === "number" ? String(result.message_id) : null) || (typeof result.id === "number" ? String(result.id) : null);
462
+ return raw ? raw.trim() : null;
463
+ }
464
+ function resolveOutboundMessageGuid(result) {
465
+ if (!result) return null;
466
+ for (const key of [
467
+ "messageGuid",
468
+ "guid",
469
+ "messageId",
470
+ "message_id",
471
+ "id"
472
+ ]) {
473
+ const guid = normalizeResolvedMessageGuid(result[key]);
474
+ if (guid) return guid;
475
+ }
476
+ return null;
477
+ }
478
+ function isNumericMessageRowId(value) {
479
+ return typeof value === "string" && /^\d+$/.test(value.trim());
480
+ }
481
+ function resolveTargetService(target) {
482
+ if (target.kind !== "handle") return;
483
+ if (target.serviceExplicit || target.service !== "auto") return target.service;
484
+ }
485
+ function normalizeResolvedMessageGuid(value) {
486
+ if (typeof value !== "string") return null;
487
+ const trimmed = value.trim();
488
+ return isConcreteIMessageMessageId(trimmed) && !isNumericMessageRowId(trimmed) ? trimmed : null;
489
+ }
490
+ function resolveMessageGuidFromChatDb(params) {
491
+ const dbPath = params.dbPath?.trim();
492
+ const messageId = params.messageId.trim();
493
+ if (!dbPath || !isNumericMessageRowId(messageId)) return null;
494
+ let db = null;
495
+ try {
496
+ db = openNodeSqliteDatabase(dbPath, { readOnly: true });
497
+ return normalizeResolvedMessageGuid(db.prepare("SELECT guid FROM message WHERE ROWID = ?").get(messageId)?.guid);
498
+ } catch {
499
+ return null;
500
+ } finally {
501
+ try {
502
+ db?.close();
503
+ } catch {}
504
+ }
505
+ }
506
+ function getStringRowValue(row, key) {
507
+ return normalizeResolvedMessageGuid(row?.[key]);
508
+ }
509
+ function appleMessageDateLowerBoundMs(sentAfterMs) {
510
+ if (!Number.isFinite(sentAfterMs)) return null;
511
+ return Math.max(0, Math.floor((sentAfterMs - 9783072e5 - 5e3) * 1e6));
512
+ }
513
+ function resolveLatestSentMessageGuidFromChatDb(params) {
514
+ const dbPath = params.dbPath?.trim();
515
+ if (!dbPath) return null;
516
+ let db = null;
517
+ try {
518
+ db = openNodeSqliteDatabase(dbPath, { readOnly: true });
519
+ const targetClauses = [];
520
+ const targetParams = [];
521
+ const lowerBound = appleMessageDateLowerBoundMs(params.sentAfterMs);
522
+ if (params.text) {
523
+ targetClauses.push("m.text = ?");
524
+ targetParams.push(params.text);
525
+ }
526
+ if (lowerBound !== null) {
527
+ targetClauses.push("m.date >= ?");
528
+ targetParams.push(lowerBound);
529
+ }
530
+ if (params.target.kind === "chat_id") {
531
+ targetClauses.push("cmj.chat_id = ?");
532
+ targetParams.push(params.target.chatId);
533
+ } else if (params.target.kind === "chat_guid") {
534
+ targetClauses.push("c.guid = ?");
535
+ targetParams.push(params.target.chatGuid);
536
+ } else if (params.target.kind === "chat_identifier") {
537
+ targetClauses.push("c.chat_identifier = ?");
538
+ targetParams.push(params.target.chatIdentifier);
539
+ } else {
540
+ const normalizedHandle = normalizeIMessageHandle(params.target.to);
541
+ targetClauses.push("(h.id = ? OR h.uncanonicalized_id = ?)");
542
+ targetParams.push(normalizedHandle, params.target.to);
543
+ }
544
+ const selectSql = `
545
+ SELECT m.guid
546
+ FROM message m
547
+ LEFT JOIN chat_message_join cmj ON cmj.message_id = m.ROWID
548
+ LEFT JOIN chat c ON c.ROWID = cmj.chat_id
549
+ LEFT JOIN handle h ON h.ROWID = m.handle_id
550
+ WHERE m.is_from_me = 1
551
+ ${targetClauses.length ? `AND ${targetClauses.join(" AND ")}` : ""}
552
+ ORDER BY m.date DESC, m.ROWID DESC
553
+ LIMIT 10
554
+ `;
555
+ return getStringRowValue(db.prepare(selectSql).all(...targetParams)[0], "guid");
556
+ } catch {
557
+ return null;
558
+ } finally {
559
+ try {
560
+ db?.close();
561
+ } catch {}
562
+ }
563
+ }
564
+ function canResolveLatestSentMessageGuidFromChatDb(dbPath) {
565
+ const normalizedDbPath = dbPath?.trim();
566
+ if (!normalizedDbPath) return false;
567
+ try {
568
+ accessSync(normalizedDbPath, constants.R_OK);
569
+ return true;
570
+ } catch {
571
+ return false;
572
+ }
573
+ }
574
+ async function resolveApprovalBindingMessageGuid(params) {
575
+ const immediateGuid = resolveOutboundMessageGuid(params.result);
576
+ if (immediateGuid) return immediateGuid;
577
+ const messageId = params.messageId?.trim();
578
+ if (!messageId || !isNumericMessageRowId(messageId)) return null;
579
+ return normalizeResolvedMessageGuid(await (params.resolveMessageGuidImpl ?? resolveMessageGuidFromChatDb)({
580
+ dbPath: params.dbPath,
581
+ messageId
582
+ }));
583
+ }
584
+ async function resolveFallbackSentMessageGuid(params) {
585
+ const resolver = params.resolveSentMessageGuidImpl ?? resolveLatestSentMessageGuidFromChatDb;
586
+ if (!params.resolveSentMessageGuidImpl && !canResolveLatestSentMessageGuidFromChatDb(params.dbPath)) return null;
587
+ const deadlineMs = Date.now() + 5e3;
588
+ while (Date.now() <= deadlineMs) {
589
+ const resolved = normalizeResolvedMessageGuid(await resolver({
590
+ dbPath: params.dbPath,
591
+ target: params.target,
592
+ text: params.text,
593
+ sentAfterMs: params.sentAfterMs
594
+ }));
595
+ if (resolved) return resolved;
596
+ if (Date.now() >= deadlineMs) return null;
597
+ await sleep(250);
598
+ }
599
+ return null;
600
+ }
601
+ function shouldRecoverApprovalPromptGuid(params) {
602
+ return Boolean(params.approvalPrompt && !params.filePath && !params.replyToId);
603
+ }
604
+ function canCheckSentMessageAfterRpcTimeout(params) {
605
+ return Boolean(params.resolveSentMessageGuidImpl) || canResolveLatestSentMessageGuidFromChatDb(params.dbPath);
606
+ }
607
+ function resolveOutboundEchoText(text) {
608
+ return text.trim() || void 0;
609
+ }
610
+ function resolveOutboundEchoMedia(mediaContentType) {
611
+ if (!mediaContentType) return;
612
+ return {
613
+ contentType: mediaContentType,
614
+ kind: kindFromMime(mediaContentType) ?? "unknown"
615
+ };
616
+ }
617
+ function createIMessageSendReceipt(params) {
618
+ const messageId = params.messageId.trim();
619
+ const results = isConcreteIMessageMessageId(messageId) ? [{
620
+ channel: "imessage",
621
+ messageId,
622
+ meta: { targetKind: params.target.kind }
623
+ }] : [];
624
+ if (results[0]) {
625
+ if (params.target.kind === "chat_id") results[0].chatId = String(params.target.chatId);
626
+ else if (params.target.kind === "chat_guid") results[0].conversationId = params.target.chatGuid;
627
+ else if (params.target.kind === "chat_identifier") results[0].conversationId = params.target.chatIdentifier;
628
+ }
629
+ const receiptParams = {
630
+ results,
631
+ kind: params.kind
632
+ };
633
+ if (params.replyToId) receiptParams.replyToId = params.replyToId;
634
+ return createMessageReceiptFromOutboundResults(receiptParams);
635
+ }
636
+ function isConcreteIMessageMessageId(messageId) {
637
+ const trimmed = messageId?.trim();
638
+ return Boolean(trimmed && trimmed !== "unknown" && trimmed !== "ok");
639
+ }
640
+ async function withOriginalIMessageAttachmentPath(filePath, send) {
641
+ const filename = extractOriginalFilename(filePath);
642
+ if (basename(filePath) === filename) return await send(filePath);
643
+ return await withTempWorkspace({
644
+ rootDir: resolvePreferredOpenClawTmpDir(),
645
+ prefix: "openclaw-imessage-outbound-"
646
+ }, async (workspace) => await send(await workspace.copyIn(filename, filePath)));
647
+ }
648
+ function canSynthesizeAttachmentChatHandle(raw) {
649
+ const trimmed = raw.trim();
650
+ return trimmed.includes("@") || trimmed.startsWith("+");
651
+ }
652
+ function resolveOutboundEchoScope(params) {
653
+ if (params.target.kind === "chat_id") return `${params.accountId}:${formatIMessageChatTarget(params.target.chatId)}`;
654
+ if (params.target.kind === "chat_guid") return `${params.accountId}:chat_guid:${params.target.chatGuid}`;
655
+ if (params.target.kind === "chat_identifier") return `${params.accountId}:chat_identifier:${params.target.chatIdentifier}`;
656
+ return `${params.accountId}:imessage:${params.target.to}`;
657
+ }
658
+ function resolveIMessageSendFailure(result) {
659
+ if (result.success !== false) return null;
660
+ return typeof result.error === "string" && result.error.trim() ? result.error.trim() : "iMessage action failed";
661
+ }
662
+ function normalizeIMessageRpcSendError(error) {
663
+ if (!(error instanceof IMessageRpcRequestError)) return error;
664
+ const data = asOptionalRecord(error.data);
665
+ return data?.disposition === "not_started" && data.retry_safe === true ? new PlatformMessageNotDispatchedError(error.message, { cause: error }) : error;
666
+ }
667
+ async function requestIMessageRpcSend(client, method, params, timeoutMs) {
668
+ try {
669
+ return await client.request(method, params, { timeoutMs });
670
+ } catch (error) {
671
+ throw normalizeIMessageRpcSendError(error);
672
+ }
673
+ }
674
+ function isIMessageRpcSendTimeout(error) {
675
+ const message = error instanceof Error ? error.message : String(error);
676
+ return /imsg rpc timeout \(send\)/i.test(message);
677
+ }
678
+ async function runIMessageCliJson(cliPath, dbPath, args, timeoutMs) {
679
+ return await runIMessageCliJsonCommand({
680
+ args,
681
+ cliPath,
682
+ dbPath,
683
+ timeoutMs
684
+ });
685
+ }
686
+ function resultService(value) {
687
+ const normalized = normalizeOptionalString(value)?.toLowerCase();
688
+ return normalized === "imessage" || normalized === "sms" ? normalized : void 0;
689
+ }
690
+ function resolvePendingPersistedEchoTtlMs(timeoutMs) {
691
+ return Math.max(MIN_PENDING_PERSISTED_ECHO_TTL_MS, Math.max(0, timeoutMs) + PENDING_PERSISTED_ECHO_GRACE_MS);
692
+ }
693
+ function isAttachmentCommandFallbackError(error) {
694
+ const message = error instanceof Error ? error.message : String(error);
695
+ return /(?:unknown|unrecognized|invalid|unsupported)\s+(?:command|subcommand)|not a recognized command|send-attachment.*(?:not found|unsupported|unavailable)|private api bridge.*unavailable|requires the imsg private api bridge|run imsg launch/iu.test(message);
696
+ }
697
+ function isThreadedReplyUnsupportedError(error) {
698
+ const message = error instanceof Error ? error.message : String(error);
699
+ return /reply_to requires bridge transport|cannot send threaded repl|threaded repl(?:y|ies)\b.*(?:unsupported|not supported|requires|unavailable)|requires bridge transport/iu.test(message);
700
+ }
701
+ async function resolveAttachmentChatTarget(params) {
702
+ if (params.target.kind === "chat_guid") return params.target.chatGuid;
703
+ if (params.target.kind === "handle") {
704
+ if (!canSynthesizeAttachmentChatHandle(params.target.to)) return null;
705
+ const normalizedHandle = normalizeIMessageHandle(params.target.to);
706
+ if (!normalizedHandle) return null;
707
+ const service = params.target.service !== "auto" ? params.target.service : params.service;
708
+ if (service === "sms") return `SMS;-;${normalizedHandle}`;
709
+ if (service === "imessage") return `iMessage;-;${normalizedHandle}`;
710
+ return `any;-;${normalizedHandle}`;
711
+ }
712
+ if (params.target.kind !== "chat_id") return null;
713
+ const result = await params.runCliJson([
714
+ "group",
715
+ "--chat-id",
716
+ String(params.target.chatId)
717
+ ]);
718
+ return normalizeOptionalString(result.guid) ?? normalizeOptionalString(result.chat_guid) ?? null;
719
+ }
720
+ async function trySendAttachmentForTarget(params) {
721
+ if (params.audioAsVoice && params.sendTransport === "applescript") throw new Error("iMessage voice messages require bridge transport; AppleScript cannot send native voice notes. Set sendTransport to bridge or auto.");
722
+ if (params.target.kind === "handle" && !params.audioAsVoice && params.sendTransport !== "bridge" && (params.service === "sms" || params.service === "imessage")) return null;
723
+ if (params.remoteHost && params.sendTransport === "applescript") return null;
724
+ let attachmentChatTarget = null;
725
+ if (params.remoteHost) if (params.target.kind === "chat_guid") attachmentChatTarget = params.target.chatGuid;
726
+ else if (params.target.kind === "chat_identifier") attachmentChatTarget = params.target.chatIdentifier;
727
+ else if (params.target.kind === "handle") {
728
+ const normalizedHandle = normalizeIMessageHandle(params.target.to);
729
+ if (normalizedHandle) {
730
+ const service = params.target.service !== "auto" ? params.target.service : params.service;
731
+ attachmentChatTarget = `${service === "sms" ? "SMS" : service === "imessage" ? "iMessage" : "any"};-;${normalizedHandle}`;
732
+ }
733
+ } else attachmentChatTarget = formatIMessageChatTarget(params.target.chatId);
734
+ else try {
735
+ attachmentChatTarget = await resolveAttachmentChatTarget({
736
+ target: params.target,
737
+ service: params.service,
738
+ runCliJson: params.runCliJson
739
+ });
740
+ } catch (error) {
741
+ if (!params.audioAsVoice && isAttachmentCommandFallbackError(error)) return null;
742
+ throw error;
743
+ }
744
+ if (!attachmentChatTarget) {
745
+ if (params.audioAsVoice) throw new Error("iMessage voice messages require an existing chat and bridge transport.");
746
+ return null;
747
+ }
748
+ const echoScope = resolveOutboundEchoScope({
749
+ accountId: params.accountId,
750
+ target: params.target
751
+ });
752
+ let result;
753
+ let pendingEchoKey;
754
+ try {
755
+ if (echoScope) pendingEchoKey = rememberPersistedIMessageEcho({
756
+ scope: echoScope,
757
+ text: params.echoText,
758
+ media: params.echoMedia,
759
+ ttlMs: params.pendingEchoTtlMs,
760
+ pending: true
761
+ });
762
+ result = await withOriginalIMessageAttachmentPath(params.filePath, async (attachmentPath) => {
763
+ if (params.remoteHost) {
764
+ const requestRpc = params.requestRpc;
765
+ if (!requestRpc) throw new Error("iMessage remote attachment RPC is unavailable");
766
+ return await params.withRemoteFile({
767
+ remoteHost: params.remoteHost,
768
+ localPath: attachmentPath,
769
+ timeoutMs: params.timeoutMs,
770
+ use: async (remotePath) => {
771
+ const rpcParams = {
772
+ file: remotePath,
773
+ ...params.audioAsVoice ? { audio: true } : {},
774
+ ...params.replyToId ? { reply_to: params.replyToId } : {}
775
+ };
776
+ if (params.target.kind === "chat_id") rpcParams.chat_id = params.target.chatId;
777
+ else if (params.target.kind === "chat_guid") rpcParams.chat_guid = params.target.chatGuid;
778
+ else rpcParams.chat_identifier = attachmentChatTarget;
779
+ return await requestRpc("send.attachment", rpcParams);
780
+ }
781
+ });
782
+ }
783
+ return await params.runCliJson([
784
+ "send-attachment",
785
+ "--chat",
786
+ attachmentChatTarget,
787
+ "--file",
788
+ attachmentPath,
789
+ ...params.audioAsVoice ? ["--audio"] : [],
790
+ ...params.replyToId ? ["--reply-to", params.replyToId] : [],
791
+ "--transport",
792
+ params.sendTransport === "bridge" ? "dylib" : params.sendTransport
793
+ ]);
794
+ });
795
+ } catch (error) {
796
+ forgetPersistedIMessageEchoKey(pendingEchoKey);
797
+ if (!params.audioAsVoice && isAttachmentCommandFallbackError(error)) return null;
798
+ throw error;
799
+ }
800
+ const failure = resolveIMessageSendFailure(result);
801
+ if (failure) {
802
+ const error = new Error(failure);
803
+ forgetPersistedIMessageEchoKey(pendingEchoKey);
804
+ if (!params.audioAsVoice && isAttachmentCommandFallbackError(error)) return null;
805
+ throw error;
806
+ }
807
+ const resolvedId = resolveMessageId(result);
808
+ const approvalBindingMessageId = await resolveApprovalBindingMessageGuid({
809
+ dbPath: params.dbPath,
810
+ messageId: resolvedId,
811
+ result,
812
+ resolveMessageGuidImpl: params.resolveMessageGuidImpl
813
+ });
814
+ const messageId = resolvedId ?? (result.ok || result.success ? "ok" : "unknown");
815
+ if (echoScope) rememberPersistedIMessageEcho({
816
+ scope: echoScope,
817
+ text: params.echoText,
818
+ media: params.echoMedia,
819
+ messageId: resolvedId ?? void 0
820
+ });
821
+ if (resolvedId && isConcreteIMessageMessageId(resolvedId)) rememberIMessageReplyCache({
822
+ accountId: params.accountId,
823
+ messageId: resolvedId,
824
+ chatGuid: params.target.kind === "chat_guid" ? params.target.chatGuid : params.target.kind === "chat_id" ? attachmentChatTarget : void 0,
825
+ chatIdentifier: params.target.kind === "chat_identifier" || params.target.kind === "handle" ? attachmentChatTarget : void 0,
826
+ chatId: params.target.kind === "chat_id" ? params.target.chatId : void 0,
827
+ timestamp: Date.now(),
828
+ isFromMe: true
829
+ });
830
+ return {
831
+ messageId,
832
+ ...approvalBindingMessageId ? { guid: approvalBindingMessageId } : {},
833
+ sentText: "",
834
+ ...params.echoText ? { echoText: params.echoText } : {},
835
+ ...params.echoMedia ? { echoMedia: params.echoMedia } : {},
836
+ receipt: createIMessageSendReceipt({
837
+ messageId,
838
+ target: params.target,
839
+ kind: params.audioAsVoice ? "voice" : "media",
840
+ ...params.replyToId ? { replyToId: params.replyToId } : {}
841
+ })
842
+ };
843
+ }
844
+ async function sendMessageIMessage(to, text, opts) {
845
+ const cfg = requireRuntimeConfig(opts.config, "iMessage send");
846
+ const account = opts.account ?? resolveIMessageAccount({
847
+ cfg,
848
+ accountId: opts.accountId
849
+ });
850
+ const cliPath = opts.cliPath?.trim() || account.config.cliPath?.trim() || "imsg";
851
+ const dbPath = opts.dbPath?.trim() || account.config.dbPath?.trim();
852
+ const remoteHost = await resolveIMessageRemoteHost({
853
+ cliPath,
854
+ remoteHost: account.config.remoteHost
855
+ });
856
+ const chatDbLookupPath = resolveIMessageChatDbLookupPath({
857
+ cliPath,
858
+ dbPath,
859
+ remoteHost
860
+ });
861
+ const target = parseIMessageTarget(opts.chatId ? formatIMessageChatTarget(opts.chatId) : to);
862
+ const service = opts.service ?? resolveTargetService(target) ?? account.config.service;
863
+ const sendTransport = account.config.sendTransport ?? "auto";
864
+ const resolvedReplyToId = resolveAuthorizedIMessageReplyReference({
865
+ account,
866
+ target,
867
+ cliPath,
868
+ dbPath,
869
+ remoteHost,
870
+ hasExclusiveLocalDatabase: hasExclusiveIMessageLocalDatabase({
871
+ cfg,
872
+ account,
873
+ cliPath,
874
+ dbPath,
875
+ remoteHost
876
+ }),
877
+ service,
878
+ replyToId: opts.replyToId,
879
+ conversationReadOrigin: opts.conversationReadOrigin
880
+ });
881
+ const timeoutMs = opts.timeoutMs ?? Math.max(account.config.probeTimeoutMs ?? 0, 18e4);
882
+ const pendingEchoTtlMs = resolvePendingPersistedEchoTtlMs(timeoutMs);
883
+ const region = opts.region?.trim() || account.config.region?.trim() || "US";
884
+ const maxBytes = typeof opts.maxBytes === "number" ? opts.maxBytes : typeof account.config.mediaMaxMb === "number" ? account.config.mediaMaxMb * 1024 * 1024 : 16 * 1024 * 1024;
885
+ let message = opts.approvalPrompt ? addApprovalReactionHintToText({
886
+ text,
887
+ allowedDecisions: opts.approvalPrompt.allowedDecisions
888
+ }) : text;
889
+ const protectedRoles = protectIMessageFencedRoleMarkers(message);
890
+ message = protectedRoles.text;
891
+ let filePath;
892
+ let mediaContentType;
893
+ if (opts.mediaUrl?.trim()) {
894
+ const resolved = await (opts.resolveAttachmentImpl ?? resolveOutboundAttachmentFromUrl)(opts.mediaUrl.trim(), maxBytes, {
895
+ mediaAccess: opts.mediaAccess,
896
+ localRoots: opts.mediaLocalRoots,
897
+ readFile: opts.mediaReadFile
898
+ });
899
+ filePath = resolved.path;
900
+ mediaContentType = resolved.contentType ?? void 0;
901
+ }
902
+ if (!message.trim() && !filePath) throw new Error("iMessage send requires text or media");
903
+ if (message.trim()) {
904
+ const tableMode = resolveMarkdownTableMode({
905
+ cfg,
906
+ channel: "imessage",
907
+ accountId: account.accountId
908
+ });
909
+ protectedRoles.verifyProtectedRoles(message);
910
+ message = convertMarkdownTables(message, tableMode);
911
+ protectedRoles.verifyProtectedRoles(message);
912
+ }
913
+ protectedRoles.verifyProtectedRoles(message);
914
+ message = stripInlineDirectiveTagsForDelivery(message).text;
915
+ protectedRoles.verifyProtectedRoles(message);
916
+ if (!message.trim() && !filePath) throw new Error("iMessage send requires text or media");
917
+ const formatted = sanitizeIMessageFinalOutboundText(message, {
918
+ formatMarkdown: true,
919
+ protection: protectedRoles
920
+ });
921
+ message = formatted.text;
922
+ if (!message.trim() && !filePath) throw new Error("iMessage send requires text or media");
923
+ const echoText = resolveOutboundEchoText(message);
924
+ const echoMedia = filePath ? resolveOutboundEchoMedia(mediaContentType) : void 0;
925
+ let effectiveReplyToId = resolvedReplyToId;
926
+ const runCliJson = opts.runCliJson ?? ((args) => runIMessageCliJson(cliPath, dbPath, args, timeoutMs));
927
+ const requestOwnedRpc = async (method, rpcParams) => {
928
+ const rpcClient = opts.createClient ? await opts.createClient({
929
+ cliPath,
930
+ dbPath,
931
+ remoteHost
932
+ }) : await createIMessageRpcClient({
933
+ cliPath,
934
+ dbPath,
935
+ remoteHost
936
+ });
937
+ try {
938
+ return await requestIMessageRpcSend(rpcClient, method, rpcParams, timeoutMs);
939
+ } finally {
940
+ await rpcClient.stop();
941
+ }
942
+ };
943
+ const withRemoteFile = opts.withRemoteFile ?? withIMessageRemoteFile;
944
+ if (filePath && (!resolvedReplyToId || opts.audioAsVoice)) {
945
+ const attachmentResult = await trySendAttachmentForTarget({
946
+ accountId: account.accountId,
947
+ dbPath: chatDbLookupPath,
948
+ target,
949
+ service,
950
+ sendTransport,
951
+ filePath,
952
+ audioAsVoice: opts.audioAsVoice,
953
+ ...resolvedReplyToId ? { replyToId: resolvedReplyToId } : {},
954
+ echoMedia,
955
+ pendingEchoTtlMs,
956
+ timeoutMs,
957
+ remoteHost,
958
+ runCliJson,
959
+ requestRpc: requestOwnedRpc,
960
+ withRemoteFile,
961
+ resolveMessageGuidImpl: opts.resolveMessageGuidImpl
962
+ });
963
+ if (attachmentResult) {
964
+ if (!message.trim()) return attachmentResult;
965
+ await opts.onDeliveryResult?.({
966
+ ...attachmentResult,
967
+ content: "",
968
+ messageIds: attachmentResult.receipt.platformMessageIds,
969
+ visibleReplySent: true,
970
+ ...attachmentResult.receipt.replyToId ? { replyToId: attachmentResult.receipt.replyToId } : {}
971
+ });
972
+ let captionResult;
973
+ try {
974
+ captionResult = await sendMessageIMessage(to, text, {
975
+ ...opts,
976
+ ...opts.client ? { client: opts.client } : {},
977
+ mediaUrl: void 0,
978
+ onDeliveryResult: void 0
979
+ });
980
+ } catch (error) {
981
+ throw createChannelPartialDeliveryError(error, {
982
+ content: "",
983
+ messageIds: attachmentResult.receipt.platformMessageIds,
984
+ receipt: attachmentResult.receipt,
985
+ visibleReplySent: true
986
+ });
987
+ }
988
+ return {
989
+ messageId: isConcreteIMessageMessageId(attachmentResult.messageId) ? attachmentResult.messageId : captionResult.messageId,
990
+ ...captionResult.guid ?? attachmentResult.guid ? { guid: captionResult.guid ?? attachmentResult.guid } : {},
991
+ sentText: captionResult.sentText,
992
+ ...captionResult.echoText ?? attachmentResult.echoText ? { echoText: captionResult.echoText ?? attachmentResult.echoText } : {},
993
+ ...attachmentResult.echoMedia ? { echoMedia: attachmentResult.echoMedia } : {},
994
+ receipt: createMessageReceiptFromOutboundResults({
995
+ results: [{ receipt: attachmentResult.receipt }, { receipt: captionResult.receipt }],
996
+ sentAt: Math.max(attachmentResult.receipt.sentAt, captionResult.receipt.sentAt)
997
+ })
998
+ };
999
+ }
1000
+ }
1001
+ const params = {
1002
+ text: message,
1003
+ service: service || "auto",
1004
+ region,
1005
+ transport: sendTransport
1006
+ };
1007
+ if (resolvedReplyToId) params.reply_to = resolvedReplyToId;
1008
+ if (formatted.ranges.length > 0) params.formatting = formatted.ranges;
1009
+ if (filePath) params.file = filePath;
1010
+ if (target.kind === "chat_id") params.chat_id = target.chatId;
1011
+ else if (target.kind === "chat_guid") params.chat_guid = target.chatGuid;
1012
+ else if (target.kind === "chat_identifier") params.chat_identifier = target.chatIdentifier;
1013
+ else params.to = target.to;
1014
+ const echoScope = resolveOutboundEchoScope({
1015
+ accountId: account.accountId,
1016
+ target
1017
+ });
1018
+ const client = opts.client ?? (opts.createClient ? await opts.createClient({
1019
+ cliPath,
1020
+ dbPath,
1021
+ remoteHost
1022
+ }) : await createIMessageRpcClient({
1023
+ cliPath,
1024
+ dbPath,
1025
+ remoteHost
1026
+ }));
1027
+ const shouldClose = !opts.client;
1028
+ let closedClient = false;
1029
+ const stopOwnedClient = async () => {
1030
+ if (!shouldClose || closedClient) return;
1031
+ closedClient = true;
1032
+ await client.stop();
1033
+ };
1034
+ const requestSuccessfulSend = async (sendParams) => {
1035
+ const request = async (nativeParams) => await requestIMessageRpcSend(client, "send", nativeParams, timeoutMs);
1036
+ const response = filePath ? await withOriginalIMessageAttachmentPath(filePath, async (attachmentPath) => {
1037
+ if (remoteHost) return await withRemoteFile({
1038
+ remoteHost,
1039
+ localPath: attachmentPath,
1040
+ timeoutMs,
1041
+ use: async (remotePath) => request({
1042
+ ...sendParams,
1043
+ file: remotePath
1044
+ })
1045
+ });
1046
+ return await request({
1047
+ ...sendParams,
1048
+ file: attachmentPath
1049
+ });
1050
+ }) : await request(sendParams);
1051
+ const failure = resolveIMessageSendFailure(response);
1052
+ if (failure) throw new Error(failure);
1053
+ return response;
1054
+ };
1055
+ let result;
1056
+ const sendStartedAtMs = Date.now();
1057
+ let pendingEchoKey;
1058
+ try {
1059
+ try {
1060
+ if (echoScope) pendingEchoKey = rememberPersistedIMessageEcho({
1061
+ scope: echoScope,
1062
+ text: echoText,
1063
+ media: echoMedia,
1064
+ ttlMs: pendingEchoTtlMs,
1065
+ pending: true
1066
+ });
1067
+ result = await requestSuccessfulSend(params);
1068
+ } catch (error) {
1069
+ if (resolvedReplyToId && isThreadedReplyUnsupportedError(error)) {
1070
+ const plainParams = { ...params };
1071
+ delete plainParams.reply_to;
1072
+ result = await requestSuccessfulSend(plainParams);
1073
+ effectiveReplyToId = void 0;
1074
+ } else if (filePath || !isIMessageRpcSendTimeout(error)) throw error;
1075
+ else if (!shouldRecoverApprovalPromptGuid({
1076
+ approvalPrompt: opts.approvalPrompt,
1077
+ filePath,
1078
+ replyToId: resolvedReplyToId
1079
+ }) || !canCheckSentMessageAfterRpcTimeout({
1080
+ dbPath: chatDbLookupPath,
1081
+ resolveSentMessageGuidImpl: opts.resolveSentMessageGuidImpl
1082
+ })) throw error;
1083
+ else {
1084
+ const recoveredGuid = await resolveFallbackSentMessageGuid({
1085
+ dbPath: chatDbLookupPath,
1086
+ target,
1087
+ text: message,
1088
+ sentAfterMs: sendStartedAtMs,
1089
+ resolveSentMessageGuidImpl: opts.resolveSentMessageGuidImpl
1090
+ });
1091
+ if (recoveredGuid) result = {
1092
+ guid: recoveredGuid,
1093
+ status: "sent"
1094
+ };
1095
+ else throw error;
1096
+ }
1097
+ }
1098
+ const resolvedId = resolveMessageId(result);
1099
+ const messageId = resolvedId ?? (result?.ok || result?.success || result?.status === "sent" ? "ok" : "unknown");
1100
+ let approvalBindingMessageId = await resolveApprovalBindingMessageGuid({
1101
+ dbPath: chatDbLookupPath,
1102
+ messageId: resolvedId,
1103
+ result,
1104
+ resolveMessageGuidImpl: opts.resolveMessageGuidImpl
1105
+ });
1106
+ if (!approvalBindingMessageId && shouldRecoverApprovalPromptGuid({
1107
+ approvalPrompt: opts.approvalPrompt,
1108
+ filePath,
1109
+ replyToId: effectiveReplyToId
1110
+ })) approvalBindingMessageId = await resolveFallbackSentMessageGuid({
1111
+ dbPath: chatDbLookupPath,
1112
+ target,
1113
+ text: message,
1114
+ sentAfterMs: sendStartedAtMs,
1115
+ resolveSentMessageGuidImpl: opts.resolveSentMessageGuidImpl
1116
+ });
1117
+ if (echoScope) rememberPersistedIMessageEcho({
1118
+ scope: echoScope,
1119
+ text: echoText,
1120
+ media: echoMedia,
1121
+ messageId: resolvedId ?? void 0
1122
+ });
1123
+ const providerChatGuid = normalizeOptionalString(result.chat_guid) ?? normalizeOptionalString(result.chatGuid);
1124
+ const confirmedService = resolveIMessageDirectChatService(resultService(result.service) ?? service, providerChatGuid);
1125
+ if (resolvedId && isConcreteIMessageMessageId(resolvedId)) {
1126
+ const chatContext = chatContextFromIMessageTarget(target, confirmedService ?? service);
1127
+ rememberIMessageReplyCache({
1128
+ accountId: account.accountId,
1129
+ messageId: resolvedId,
1130
+ ...chatContext,
1131
+ ...providerChatGuid ? { chatGuid: providerChatGuid } : {},
1132
+ timestamp: Date.now(),
1133
+ isFromMe: true
1134
+ });
1135
+ }
1136
+ if (message && approvalBindingMessageId && opts.approvalPrompt) {
1137
+ const handleForKey = target.kind === "handle" ? normalizeIMessageHandle(target.to) : void 0;
1138
+ const conversation = {
1139
+ ...target.kind === "chat_guid" ? { chatGuid: target.chatGuid } : {},
1140
+ ...target.kind === "chat_identifier" ? { chatIdentifier: target.chatIdentifier } : {},
1141
+ ...target.kind === "chat_id" ? { chatId: target.chatId } : {},
1142
+ ...handleForKey ? { handle: handleForKey } : {}
1143
+ };
1144
+ registerIMessageApprovalReactionTarget({
1145
+ accountId: account.accountId,
1146
+ conversation,
1147
+ messageId: approvalBindingMessageId,
1148
+ approvalId: opts.approvalPrompt.approvalId,
1149
+ approvalKind: opts.approvalPrompt.approvalKind,
1150
+ allowedDecisions: opts.approvalPrompt.allowedDecisions
1151
+ });
1152
+ }
1153
+ return {
1154
+ messageId,
1155
+ ...approvalBindingMessageId ? { guid: approvalBindingMessageId } : {},
1156
+ ...confirmedService ? { service: confirmedService } : {},
1157
+ ...providerChatGuid ? { chatGuid: providerChatGuid } : {},
1158
+ sentText: message,
1159
+ ...echoText ? { echoText } : {},
1160
+ ...echoMedia ? { echoMedia } : {},
1161
+ receipt: createIMessageSendReceipt({
1162
+ messageId,
1163
+ target,
1164
+ kind: filePath ? "media" : "text",
1165
+ ...effectiveReplyToId ? { replyToId: effectiveReplyToId } : {}
1166
+ })
1167
+ };
1168
+ } catch (error) {
1169
+ forgetPersistedIMessageEchoKey(pendingEchoKey);
1170
+ throw error;
1171
+ } finally {
1172
+ await stopOwnedClient();
1173
+ }
1174
+ }
1175
+ //#endregion
1176
+ export { maybeResolveIMessageApprovalPollVote as a, mapSentPollOptionsToDecisions as i, buildApprovalPollOptions as n, iMessageApprovalControlBindings as o, iMessageApprovalPollTargets as r, sendMessageIMessage as t };