@openclaw/mxc-sandbox 0.0.0 → 2026.7.2-beta.2

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 (932) hide show
  1. package/README.md +351 -0
  2. package/dist/index.js +1323 -0
  3. package/dist/mxc-spawn-launcher.mjs +148 -0
  4. package/node_modules/@microsoft/mxc-sdk/LICENSE.md +21 -0
  5. package/node_modules/@microsoft/mxc-sdk/README.md +395 -0
  6. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/ESRPClientLogs0613045248271.json +1 -0
  7. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/ESRPClientLogs0613045452045.json +1 -0
  8. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/ESRPClientLogs0613050048636.json +1 -0
  9. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/bsi.cose +0 -0
  10. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/bsi.json +1 -0
  11. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/manifest.cat +0 -0
  12. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/manifest.spdx.cose +0 -0
  13. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/manifest.spdx.json +25812 -0
  14. package/node_modules/@microsoft/mxc-sdk/bin/arm64/_manifest/spdx_2.2/manifest.spdx.json.sha256 +1 -0
  15. package/node_modules/@microsoft/mxc-sdk/bin/arm64/linux-test-proxy +0 -0
  16. package/node_modules/@microsoft/mxc-sdk/bin/arm64/lxc-exec +0 -0
  17. package/node_modules/@microsoft/mxc-sdk/bin/arm64/mxc-diagnostic-console.exe +0 -0
  18. package/node_modules/@microsoft/mxc-sdk/bin/arm64/mxc-exec-mac +0 -0
  19. package/node_modules/@microsoft/mxc-sdk/bin/arm64/winhttp-proxy-shim.exe +0 -0
  20. package/node_modules/@microsoft/mxc-sdk/bin/arm64/wxc-exec.exe +0 -0
  21. package/node_modules/@microsoft/mxc-sdk/bin/arm64/wxc-host-prep.exe +0 -0
  22. package/node_modules/@microsoft/mxc-sdk/bin/arm64/wxc-test-proxy.exe +0 -0
  23. package/node_modules/@microsoft/mxc-sdk/bin/arm64/wxc-windows-sandbox-daemon.exe +0 -0
  24. package/node_modules/@microsoft/mxc-sdk/bin/arm64/wxc-windows-sandbox-guest.exe +0 -0
  25. package/node_modules/@microsoft/mxc-sdk/bin/x64/_manifest/spdx_2.2/ESRPClientLogs0613045534391.json +1 -0
  26. package/node_modules/@microsoft/mxc-sdk/bin/x64/_manifest/spdx_2.2/ESRPClientLogs0613050929378.json +1 -0
  27. package/node_modules/@microsoft/mxc-sdk/bin/x64/_manifest/spdx_2.2/bsi.cose +0 -0
  28. package/node_modules/@microsoft/mxc-sdk/bin/x64/_manifest/spdx_2.2/bsi.json +1 -0
  29. package/node_modules/@microsoft/mxc-sdk/bin/x64/_manifest/spdx_2.2/manifest.cat +0 -0
  30. package/node_modules/@microsoft/mxc-sdk/bin/x64/_manifest/spdx_2.2/manifest.spdx.cose +0 -0
  31. package/node_modules/@microsoft/mxc-sdk/bin/x64/_manifest/spdx_2.2/manifest.spdx.json +25812 -0
  32. package/node_modules/@microsoft/mxc-sdk/bin/x64/_manifest/spdx_2.2/manifest.spdx.json.sha256 +1 -0
  33. package/node_modules/@microsoft/mxc-sdk/bin/x64/linux-test-proxy +0 -0
  34. package/node_modules/@microsoft/mxc-sdk/bin/x64/lxc-exec +0 -0
  35. package/node_modules/@microsoft/mxc-sdk/bin/x64/mxc-diagnostic-console.exe +0 -0
  36. package/node_modules/@microsoft/mxc-sdk/bin/x64/winhttp-proxy-shim.exe +0 -0
  37. package/node_modules/@microsoft/mxc-sdk/bin/x64/wxc-exec.exe +0 -0
  38. package/node_modules/@microsoft/mxc-sdk/bin/x64/wxc-host-prep.exe +0 -0
  39. package/node_modules/@microsoft/mxc-sdk/bin/x64/wxc-test-proxy.exe +0 -0
  40. package/node_modules/@microsoft/mxc-sdk/bin/x64/wxc-windows-sandbox-daemon.exe +0 -0
  41. package/node_modules/@microsoft/mxc-sdk/bin/x64/wxc-windows-sandbox-guest.exe +0 -0
  42. package/node_modules/@microsoft/mxc-sdk/dist/diagnostic.d.ts +17 -0
  43. package/node_modules/@microsoft/mxc-sdk/dist/diagnostic.d.ts.map +1 -0
  44. package/node_modules/@microsoft/mxc-sdk/dist/diagnostic.js +150 -0
  45. package/node_modules/@microsoft/mxc-sdk/dist/diagnostic.js.map +1 -0
  46. package/node_modules/@microsoft/mxc-sdk/dist/errors.d.ts +27 -0
  47. package/node_modules/@microsoft/mxc-sdk/dist/errors.d.ts.map +1 -0
  48. package/node_modules/@microsoft/mxc-sdk/dist/errors.js +31 -0
  49. package/node_modules/@microsoft/mxc-sdk/dist/errors.js.map +1 -0
  50. package/node_modules/@microsoft/mxc-sdk/dist/helper.d.ts +101 -0
  51. package/node_modules/@microsoft/mxc-sdk/dist/helper.d.ts.map +1 -0
  52. package/node_modules/@microsoft/mxc-sdk/dist/helper.js +256 -0
  53. package/node_modules/@microsoft/mxc-sdk/dist/helper.js.map +1 -0
  54. package/node_modules/@microsoft/mxc-sdk/dist/index.d.ts +31 -0
  55. package/node_modules/@microsoft/mxc-sdk/dist/index.d.ts.map +1 -0
  56. package/node_modules/@microsoft/mxc-sdk/dist/index.js +40 -0
  57. package/node_modules/@microsoft/mxc-sdk/dist/index.js.map +1 -0
  58. package/node_modules/@microsoft/mxc-sdk/dist/logger.d.ts +11 -0
  59. package/node_modules/@microsoft/mxc-sdk/dist/logger.d.ts.map +1 -0
  60. package/node_modules/@microsoft/mxc-sdk/dist/logger.js +45 -0
  61. package/node_modules/@microsoft/mxc-sdk/dist/logger.js.map +1 -0
  62. package/node_modules/@microsoft/mxc-sdk/dist/platform.d.ts +55 -0
  63. package/node_modules/@microsoft/mxc-sdk/dist/platform.d.ts.map +1 -0
  64. package/node_modules/@microsoft/mxc-sdk/dist/platform.js +477 -0
  65. package/node_modules/@microsoft/mxc-sdk/dist/platform.js.map +1 -0
  66. package/node_modules/@microsoft/mxc-sdk/dist/policy.d.ts +80 -0
  67. package/node_modules/@microsoft/mxc-sdk/dist/policy.d.ts.map +1 -0
  68. package/node_modules/@microsoft/mxc-sdk/dist/policy.js +319 -0
  69. package/node_modules/@microsoft/mxc-sdk/dist/policy.js.map +1 -0
  70. package/node_modules/@microsoft/mxc-sdk/dist/sandbox.d.ts +189 -0
  71. package/node_modules/@microsoft/mxc-sdk/dist/sandbox.d.ts.map +1 -0
  72. package/node_modules/@microsoft/mxc-sdk/dist/sandbox.js +515 -0
  73. package/node_modules/@microsoft/mxc-sdk/dist/sandbox.js.map +1 -0
  74. package/node_modules/@microsoft/mxc-sdk/dist/state-aware-helper.d.ts +70 -0
  75. package/node_modules/@microsoft/mxc-sdk/dist/state-aware-helper.d.ts.map +1 -0
  76. package/node_modules/@microsoft/mxc-sdk/dist/state-aware-helper.js +184 -0
  77. package/node_modules/@microsoft/mxc-sdk/dist/state-aware-helper.js.map +1 -0
  78. package/node_modules/@microsoft/mxc-sdk/dist/state-aware-types.d.ts +130 -0
  79. package/node_modules/@microsoft/mxc-sdk/dist/state-aware-types.d.ts.map +1 -0
  80. package/node_modules/@microsoft/mxc-sdk/dist/state-aware-types.js +21 -0
  81. package/node_modules/@microsoft/mxc-sdk/dist/state-aware-types.js.map +1 -0
  82. package/node_modules/@microsoft/mxc-sdk/dist/state-aware.d.ts +39 -0
  83. package/node_modules/@microsoft/mxc-sdk/dist/state-aware.d.ts.map +1 -0
  84. package/node_modules/@microsoft/mxc-sdk/dist/state-aware.js +128 -0
  85. package/node_modules/@microsoft/mxc-sdk/dist/state-aware.js.map +1 -0
  86. package/node_modules/@microsoft/mxc-sdk/dist/types.d.ts +439 -0
  87. package/node_modules/@microsoft/mxc-sdk/dist/types.d.ts.map +1 -0
  88. package/node_modules/@microsoft/mxc-sdk/dist/types.js +38 -0
  89. package/node_modules/@microsoft/mxc-sdk/dist/types.js.map +1 -0
  90. package/node_modules/@microsoft/mxc-sdk/package.json +54 -0
  91. package/node_modules/node-addon-api/LICENSE.md +9 -0
  92. package/node_modules/node-addon-api/README.md +319 -0
  93. package/node_modules/node-addon-api/common.gypi +20 -0
  94. package/node_modules/node-addon-api/except.gypi +25 -0
  95. package/node_modules/node-addon-api/index.js +12 -0
  96. package/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
  97. package/node_modules/node-addon-api/napi-inl.h +6607 -0
  98. package/node_modules/node-addon-api/napi.h +3201 -0
  99. package/node_modules/node-addon-api/node_addon_api.gyp +32 -0
  100. package/node_modules/node-addon-api/node_api.gyp +9 -0
  101. package/node_modules/node-addon-api/noexcept.gypi +26 -0
  102. package/node_modules/node-addon-api/nothing.c +0 -0
  103. package/node_modules/node-addon-api/package-support.json +21 -0
  104. package/node_modules/node-addon-api/package.json +480 -0
  105. package/node_modules/node-addon-api/tools/README.md +73 -0
  106. package/node_modules/node-addon-api/tools/check-napi.js +99 -0
  107. package/node_modules/node-addon-api/tools/clang-format.js +71 -0
  108. package/node_modules/node-addon-api/tools/conversion.js +301 -0
  109. package/node_modules/node-addon-api/tools/eslint-format.js +79 -0
  110. package/node_modules/node-pty/LICENSE +69 -0
  111. package/node_modules/node-pty/README.md +164 -0
  112. package/node_modules/node-pty/binding.gyp +150 -0
  113. package/node_modules/node-pty/lib/conpty_console_list_agent.js +25 -0
  114. package/node_modules/node-pty/lib/eventEmitter2.js +47 -0
  115. package/node_modules/node-pty/lib/index.js +52 -0
  116. package/node_modules/node-pty/lib/interfaces.js +7 -0
  117. package/node_modules/node-pty/lib/shared/conout.js +10 -0
  118. package/node_modules/node-pty/lib/terminal.js +190 -0
  119. package/node_modules/node-pty/lib/types.js +7 -0
  120. package/node_modules/node-pty/lib/unixTerminal.js +351 -0
  121. package/node_modules/node-pty/lib/utils.js +38 -0
  122. package/node_modules/node-pty/lib/windowsConoutConnection.js +125 -0
  123. package/node_modules/node-pty/lib/windowsPtyAgent.js +312 -0
  124. package/node_modules/node-pty/lib/windowsTerminal.js +209 -0
  125. package/node_modules/node-pty/lib/worker/conoutSocketWorker.js +22 -0
  126. package/node_modules/node-pty/package.json +66 -0
  127. package/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
  128. package/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
  129. package/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
  130. package/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
  131. package/node_modules/node-pty/prebuilds/linux-arm64/pty.node +0 -0
  132. package/node_modules/node-pty/prebuilds/linux-x64/pty.node +0 -0
  133. package/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
  134. package/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
  135. package/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
  136. package/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
  137. package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
  138. package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
  139. package/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
  140. package/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
  141. package/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
  142. package/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
  143. package/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
  144. package/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
  145. package/node_modules/node-pty/scripts/post-install.js +76 -0
  146. package/node_modules/node-pty/scripts/prebuild.js +34 -0
  147. package/node_modules/node-pty/src/unix/pty.cc +876 -0
  148. package/node_modules/node-pty/src/unix/spawn-helper.cc +23 -0
  149. package/node_modules/node-pty/src/win/conpty.cc +616 -0
  150. package/node_modules/node-pty/src/win/conpty.h +41 -0
  151. package/node_modules/node-pty/src/win/conpty_console_list.cc +44 -0
  152. package/node_modules/node-pty/src/win/path_util.cc +95 -0
  153. package/node_modules/node-pty/src/win/path_util.h +26 -0
  154. package/node_modules/node-pty/third_party/conpty/1.25.260303002/win10-arm64/OpenConsole.exe +0 -0
  155. package/node_modules/node-pty/third_party/conpty/1.25.260303002/win10-arm64/conpty.dll +0 -0
  156. package/node_modules/node-pty/third_party/conpty/1.25.260303002/win10-x64/OpenConsole.exe +0 -0
  157. package/node_modules/node-pty/third_party/conpty/1.25.260303002/win10-x64/conpty.dll +0 -0
  158. package/node_modules/node-pty/typings/node-pty.d.ts +215 -0
  159. package/node_modules/semver/LICENSE +15 -0
  160. package/node_modules/semver/README.md +680 -0
  161. package/node_modules/semver/bin/semver.js +195 -0
  162. package/node_modules/semver/classes/comparator.js +143 -0
  163. package/node_modules/semver/classes/index.js +7 -0
  164. package/node_modules/semver/classes/range.js +577 -0
  165. package/node_modules/semver/classes/semver.js +350 -0
  166. package/node_modules/semver/functions/clean.js +8 -0
  167. package/node_modules/semver/functions/cmp.js +54 -0
  168. package/node_modules/semver/functions/coerce.js +62 -0
  169. package/node_modules/semver/functions/compare-build.js +9 -0
  170. package/node_modules/semver/functions/compare-loose.js +5 -0
  171. package/node_modules/semver/functions/compare.js +7 -0
  172. package/node_modules/semver/functions/diff.js +60 -0
  173. package/node_modules/semver/functions/eq.js +5 -0
  174. package/node_modules/semver/functions/gt.js +5 -0
  175. package/node_modules/semver/functions/gte.js +5 -0
  176. package/node_modules/semver/functions/inc.js +21 -0
  177. package/node_modules/semver/functions/lt.js +5 -0
  178. package/node_modules/semver/functions/lte.js +5 -0
  179. package/node_modules/semver/functions/major.js +5 -0
  180. package/node_modules/semver/functions/minor.js +5 -0
  181. package/node_modules/semver/functions/neq.js +5 -0
  182. package/node_modules/semver/functions/parse.js +18 -0
  183. package/node_modules/semver/functions/patch.js +5 -0
  184. package/node_modules/semver/functions/prerelease.js +8 -0
  185. package/node_modules/semver/functions/rcompare.js +5 -0
  186. package/node_modules/semver/functions/rsort.js +5 -0
  187. package/node_modules/semver/functions/satisfies.js +12 -0
  188. package/node_modules/semver/functions/sort.js +5 -0
  189. package/node_modules/semver/functions/truncate.js +48 -0
  190. package/node_modules/semver/functions/valid.js +8 -0
  191. package/node_modules/semver/index.js +93 -0
  192. package/node_modules/semver/internal/constants.js +37 -0
  193. package/node_modules/semver/internal/debug.js +11 -0
  194. package/node_modules/semver/internal/identifiers.js +29 -0
  195. package/node_modules/semver/internal/lrucache.js +42 -0
  196. package/node_modules/semver/internal/parse-options.js +17 -0
  197. package/node_modules/semver/internal/re.js +223 -0
  198. package/node_modules/semver/package.json +78 -0
  199. package/node_modules/semver/preload.js +4 -0
  200. package/node_modules/semver/range.bnf +17 -0
  201. package/node_modules/semver/ranges/gtr.js +6 -0
  202. package/node_modules/semver/ranges/intersects.js +9 -0
  203. package/node_modules/semver/ranges/ltr.js +6 -0
  204. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  205. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  206. package/node_modules/semver/ranges/min-version.js +63 -0
  207. package/node_modules/semver/ranges/outside.js +82 -0
  208. package/node_modules/semver/ranges/simplify.js +49 -0
  209. package/node_modules/semver/ranges/subset.js +249 -0
  210. package/node_modules/semver/ranges/to-comparators.js +10 -0
  211. package/node_modules/semver/ranges/valid.js +13 -0
  212. package/node_modules/zod/LICENSE +21 -0
  213. package/node_modules/zod/README.md +191 -0
  214. package/node_modules/zod/index.cjs +33 -0
  215. package/node_modules/zod/index.d.cts +4 -0
  216. package/node_modules/zod/index.d.ts +4 -0
  217. package/node_modules/zod/index.js +4 -0
  218. package/node_modules/zod/locales/index.cjs +17 -0
  219. package/node_modules/zod/locales/index.d.cts +1 -0
  220. package/node_modules/zod/locales/index.d.ts +1 -0
  221. package/node_modules/zod/locales/index.js +1 -0
  222. package/node_modules/zod/locales/package.json +7 -0
  223. package/node_modules/zod/mini/index.cjs +32 -0
  224. package/node_modules/zod/mini/index.d.cts +3 -0
  225. package/node_modules/zod/mini/index.d.ts +3 -0
  226. package/node_modules/zod/mini/index.js +3 -0
  227. package/node_modules/zod/mini/package.json +7 -0
  228. package/node_modules/zod/package.json +135 -0
  229. package/node_modules/zod/src/index.ts +4 -0
  230. package/node_modules/zod/src/locales/index.ts +1 -0
  231. package/node_modules/zod/src/mini/index.ts +3 -0
  232. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  233. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  234. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  235. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  236. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  237. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  238. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  239. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  240. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  241. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  242. package/node_modules/zod/src/v3/errors.ts +13 -0
  243. package/node_modules/zod/src/v3/external.ts +6 -0
  244. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  245. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  246. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  247. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  248. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  249. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  250. package/node_modules/zod/src/v3/index.ts +4 -0
  251. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  252. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  253. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  254. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  255. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  256. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  257. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  258. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  259. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  260. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  261. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  262. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  263. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  264. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  265. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  266. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  267. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  268. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  269. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  270. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  271. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  272. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  273. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  274. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  275. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  276. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  277. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  278. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  279. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  280. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  281. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  282. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  283. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  284. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  285. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  286. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  287. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  288. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  289. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  290. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  291. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  292. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  293. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  294. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  295. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  296. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  297. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  298. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  299. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  300. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  301. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  302. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  303. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  304. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  305. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  306. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  307. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  308. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  309. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  310. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  311. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  312. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  313. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  314. package/node_modules/zod/src/v3/types.ts +5138 -0
  315. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  316. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  317. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  318. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  319. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  320. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  321. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  322. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  323. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  324. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  325. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  326. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  327. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  328. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  329. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  330. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  331. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  332. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  333. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  334. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  335. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  336. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  337. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  338. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  339. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  340. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  341. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  342. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  343. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  344. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  345. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  346. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  347. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  348. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  349. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  350. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  351. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  352. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  353. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  354. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  355. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  356. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  357. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  358. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  359. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  360. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  361. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  362. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  363. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  364. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  365. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  366. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  367. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  368. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  369. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  370. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  371. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  372. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  373. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  374. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  375. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  376. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  377. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  378. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  379. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  380. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  381. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  382. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  383. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  384. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  385. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  386. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  387. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  388. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  389. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  390. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  391. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  392. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  393. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  394. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  395. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  396. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  397. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  398. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  399. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  400. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  401. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  402. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  403. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  404. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  405. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  406. package/node_modules/zod/src/v4/core/config.ts +15 -0
  407. package/node_modules/zod/src/v4/core/core.ts +153 -0
  408. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  409. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  410. package/node_modules/zod/src/v4/core/index.ts +16 -0
  411. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  412. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  413. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  414. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  415. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  416. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  417. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  418. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  419. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  420. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  421. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  422. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  423. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  424. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  425. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  426. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  427. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  428. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  429. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  430. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  431. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  432. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  433. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  434. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  435. package/node_modules/zod/src/v4/core/util.ts +983 -0
  436. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  437. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  438. package/node_modules/zod/src/v4/index.ts +4 -0
  439. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  440. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  441. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  442. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  443. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  444. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  445. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  446. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  447. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  448. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  449. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  450. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  451. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  452. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  453. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  454. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  455. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  456. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  457. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  458. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  459. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  460. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  461. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  462. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  463. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  464. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  465. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  466. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  467. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  468. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  469. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  470. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  471. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  472. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  473. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  474. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  475. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  476. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  477. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  478. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  479. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  480. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  481. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  482. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  483. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  484. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  485. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  486. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  487. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  488. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  489. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  490. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  491. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  492. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  493. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  494. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  495. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  496. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  497. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  498. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  499. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  500. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  501. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  502. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  503. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  504. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  505. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  506. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  507. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  508. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  509. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  510. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  511. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  512. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  513. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  514. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  515. package/node_modules/zod/v3/ZodError.cjs +138 -0
  516. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  517. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  518. package/node_modules/zod/v3/ZodError.js +133 -0
  519. package/node_modules/zod/v3/errors.cjs +17 -0
  520. package/node_modules/zod/v3/errors.d.cts +5 -0
  521. package/node_modules/zod/v3/errors.d.ts +5 -0
  522. package/node_modules/zod/v3/errors.js +9 -0
  523. package/node_modules/zod/v3/external.cjs +22 -0
  524. package/node_modules/zod/v3/external.d.cts +6 -0
  525. package/node_modules/zod/v3/external.d.ts +6 -0
  526. package/node_modules/zod/v3/external.js +6 -0
  527. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  528. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  529. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  530. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  531. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  532. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  533. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  534. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  535. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  536. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  537. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  538. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  539. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  540. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  541. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  542. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  543. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  544. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  545. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  546. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  547. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  548. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  549. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  550. package/node_modules/zod/v3/helpers/util.js +133 -0
  551. package/node_modules/zod/v3/index.cjs +33 -0
  552. package/node_modules/zod/v3/index.d.cts +4 -0
  553. package/node_modules/zod/v3/index.d.ts +4 -0
  554. package/node_modules/zod/v3/index.js +4 -0
  555. package/node_modules/zod/v3/locales/en.cjs +112 -0
  556. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  557. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  558. package/node_modules/zod/v3/locales/en.js +109 -0
  559. package/node_modules/zod/v3/package.json +7 -0
  560. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  561. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  562. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  563. package/node_modules/zod/v3/standard-schema.js +1 -0
  564. package/node_modules/zod/v3/types.cjs +3777 -0
  565. package/node_modules/zod/v3/types.d.cts +1034 -0
  566. package/node_modules/zod/v3/types.d.ts +1034 -0
  567. package/node_modules/zod/v3/types.js +3695 -0
  568. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  569. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  570. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  571. package/node_modules/zod/v4/classic/checks.js +1 -0
  572. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  573. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  574. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  575. package/node_modules/zod/v4/classic/coerce.js +17 -0
  576. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  577. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  578. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  579. package/node_modules/zod/v4/classic/compat.js +31 -0
  580. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  581. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  582. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  583. package/node_modules/zod/v4/classic/errors.js +48 -0
  584. package/node_modules/zod/v4/classic/external.cjs +73 -0
  585. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  586. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  587. package/node_modules/zod/v4/classic/external.js +20 -0
  588. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  589. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  590. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  591. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  592. package/node_modules/zod/v4/classic/index.cjs +33 -0
  593. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  594. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  595. package/node_modules/zod/v4/classic/index.js +4 -0
  596. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  597. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  598. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  599. package/node_modules/zod/v4/classic/iso.js +30 -0
  600. package/node_modules/zod/v4/classic/package.json +7 -0
  601. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  602. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  603. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  604. package/node_modules/zod/v4/classic/parse.js +15 -0
  605. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  606. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  607. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  608. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  609. package/node_modules/zod/v4/core/api.cjs +1227 -0
  610. package/node_modules/zod/v4/core/api.d.cts +325 -0
  611. package/node_modules/zod/v4/core/api.d.ts +325 -0
  612. package/node_modules/zod/v4/core/api.js +1087 -0
  613. package/node_modules/zod/v4/core/checks.cjs +601 -0
  614. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  615. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  616. package/node_modules/zod/v4/core/checks.js +575 -0
  617. package/node_modules/zod/v4/core/core.cjs +85 -0
  618. package/node_modules/zod/v4/core/core.d.cts +70 -0
  619. package/node_modules/zod/v4/core/core.d.ts +70 -0
  620. package/node_modules/zod/v4/core/core.js +78 -0
  621. package/node_modules/zod/v4/core/doc.cjs +39 -0
  622. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  623. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  624. package/node_modules/zod/v4/core/doc.js +35 -0
  625. package/node_modules/zod/v4/core/errors.cjs +216 -0
  626. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  627. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  628. package/node_modules/zod/v4/core/errors.js +185 -0
  629. package/node_modules/zod/v4/core/index.cjs +47 -0
  630. package/node_modules/zod/v4/core/index.d.cts +16 -0
  631. package/node_modules/zod/v4/core/index.d.ts +16 -0
  632. package/node_modules/zod/v4/core/index.js +16 -0
  633. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  634. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  635. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  636. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  637. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  638. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  639. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  640. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  641. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  642. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  643. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  644. package/node_modules/zod/v4/core/json-schema.js +1 -0
  645. package/node_modules/zod/v4/core/package.json +7 -0
  646. package/node_modules/zod/v4/core/parse.cjs +131 -0
  647. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  648. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  649. package/node_modules/zod/v4/core/parse.js +93 -0
  650. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  651. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  652. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  653. package/node_modules/zod/v4/core/regexes.js +139 -0
  654. package/node_modules/zod/v4/core/registries.cjs +56 -0
  655. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  656. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  657. package/node_modules/zod/v4/core/registries.js +51 -0
  658. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  659. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  660. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  661. package/node_modules/zod/v4/core/schemas.js +2239 -0
  662. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  663. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  664. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  665. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  666. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  667. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  668. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  669. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  670. package/node_modules/zod/v4/core/util.cjs +734 -0
  671. package/node_modules/zod/v4/core/util.d.cts +200 -0
  672. package/node_modules/zod/v4/core/util.d.ts +200 -0
  673. package/node_modules/zod/v4/core/util.js +674 -0
  674. package/node_modules/zod/v4/core/versions.cjs +8 -0
  675. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  676. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  677. package/node_modules/zod/v4/core/versions.js +5 -0
  678. package/node_modules/zod/v4/index.cjs +22 -0
  679. package/node_modules/zod/v4/index.d.cts +3 -0
  680. package/node_modules/zod/v4/index.d.ts +3 -0
  681. package/node_modules/zod/v4/index.js +3 -0
  682. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  683. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  684. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  685. package/node_modules/zod/v4/locales/ar.js +106 -0
  686. package/node_modules/zod/v4/locales/az.cjs +132 -0
  687. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  688. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  689. package/node_modules/zod/v4/locales/az.js +105 -0
  690. package/node_modules/zod/v4/locales/be.cjs +183 -0
  691. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  692. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  693. package/node_modules/zod/v4/locales/be.js +156 -0
  694. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  695. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  696. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  697. package/node_modules/zod/v4/locales/bg.js +120 -0
  698. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  699. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  700. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  701. package/node_modules/zod/v4/locales/ca.js +107 -0
  702. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  703. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  704. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  705. package/node_modules/zod/v4/locales/cs.js +111 -0
  706. package/node_modules/zod/v4/locales/da.cjs +142 -0
  707. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  708. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  709. package/node_modules/zod/v4/locales/da.js +115 -0
  710. package/node_modules/zod/v4/locales/de.cjs +135 -0
  711. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  712. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  713. package/node_modules/zod/v4/locales/de.js +108 -0
  714. package/node_modules/zod/v4/locales/el.cjs +136 -0
  715. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  716. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  717. package/node_modules/zod/v4/locales/el.js +109 -0
  718. package/node_modules/zod/v4/locales/en.cjs +140 -0
  719. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  720. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  721. package/node_modules/zod/v4/locales/en.js +113 -0
  722. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  723. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  724. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  725. package/node_modules/zod/v4/locales/eo.js +109 -0
  726. package/node_modules/zod/v4/locales/es.cjs +159 -0
  727. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  728. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  729. package/node_modules/zod/v4/locales/es.js +132 -0
  730. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  731. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  732. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  733. package/node_modules/zod/v4/locales/fa.js +114 -0
  734. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  735. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  736. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  737. package/node_modules/zod/v4/locales/fi.js +112 -0
  738. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  739. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  740. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  741. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  742. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  743. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  744. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  745. package/node_modules/zod/v4/locales/fr.js +125 -0
  746. package/node_modules/zod/v4/locales/he.cjs +241 -0
  747. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  748. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  749. package/node_modules/zod/v4/locales/he.js +214 -0
  750. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  751. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  752. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  753. package/node_modules/zod/v4/locales/hr.js +122 -0
  754. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  755. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  756. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  757. package/node_modules/zod/v4/locales/hu.js +108 -0
  758. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  759. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  760. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  761. package/node_modules/zod/v4/locales/hy.js +147 -0
  762. package/node_modules/zod/v4/locales/id.cjs +133 -0
  763. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  764. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  765. package/node_modules/zod/v4/locales/id.js +106 -0
  766. package/node_modules/zod/v4/locales/index.cjs +111 -0
  767. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  768. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  769. package/node_modules/zod/v4/locales/index.js +52 -0
  770. package/node_modules/zod/v4/locales/is.cjs +136 -0
  771. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  772. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  773. package/node_modules/zod/v4/locales/is.js +109 -0
  774. package/node_modules/zod/v4/locales/it.cjs +135 -0
  775. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  776. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  777. package/node_modules/zod/v4/locales/it.js +108 -0
  778. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  779. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  780. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  781. package/node_modules/zod/v4/locales/ja.js +107 -0
  782. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  783. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  784. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  785. package/node_modules/zod/v4/locales/ka.js +112 -0
  786. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  787. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  788. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  789. package/node_modules/zod/v4/locales/kh.js +5 -0
  790. package/node_modules/zod/v4/locales/km.cjs +137 -0
  791. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  792. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  793. package/node_modules/zod/v4/locales/km.js +110 -0
  794. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  795. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  796. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  797. package/node_modules/zod/v4/locales/ko.js +111 -0
  798. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  799. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  800. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  801. package/node_modules/zod/v4/locales/lt.js +203 -0
  802. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  803. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  804. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  805. package/node_modules/zod/v4/locales/mk.js +109 -0
  806. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  807. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  808. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  809. package/node_modules/zod/v4/locales/ms.js +107 -0
  810. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  811. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  812. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  813. package/node_modules/zod/v4/locales/nl.js +110 -0
  814. package/node_modules/zod/v4/locales/no.cjs +135 -0
  815. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  816. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  817. package/node_modules/zod/v4/locales/no.js +108 -0
  818. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  819. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  820. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  821. package/node_modules/zod/v4/locales/ota.js +109 -0
  822. package/node_modules/zod/v4/locales/package.json +7 -0
  823. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  824. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  825. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  826. package/node_modules/zod/v4/locales/pl.js +109 -0
  827. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  828. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  829. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  830. package/node_modules/zod/v4/locales/ps.js +114 -0
  831. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  832. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  833. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  834. package/node_modules/zod/v4/locales/pt.js +108 -0
  835. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  836. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  837. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  838. package/node_modules/zod/v4/locales/ro.js +119 -0
  839. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  840. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  841. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  842. package/node_modules/zod/v4/locales/ru.js +156 -0
  843. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  844. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  845. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  846. package/node_modules/zod/v4/locales/sl.js +109 -0
  847. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  848. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  849. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  850. package/node_modules/zod/v4/locales/sv.js +110 -0
  851. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  852. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  853. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  854. package/node_modules/zod/v4/locales/ta.js +110 -0
  855. package/node_modules/zod/v4/locales/th.cjs +137 -0
  856. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  857. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  858. package/node_modules/zod/v4/locales/th.js +110 -0
  859. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  860. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  861. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  862. package/node_modules/zod/v4/locales/tr.js +105 -0
  863. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  864. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  865. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  866. package/node_modules/zod/v4/locales/ua.js +5 -0
  867. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  868. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  869. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  870. package/node_modules/zod/v4/locales/uk.js +108 -0
  871. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  872. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  873. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  874. package/node_modules/zod/v4/locales/ur.js +110 -0
  875. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  876. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  877. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  878. package/node_modules/zod/v4/locales/uz.js +110 -0
  879. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  880. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  881. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  882. package/node_modules/zod/v4/locales/vi.js +108 -0
  883. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  884. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  885. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  886. package/node_modules/zod/v4/locales/yo.js +107 -0
  887. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  888. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  889. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  890. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  891. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  892. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  893. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  894. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  895. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  896. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  897. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  898. package/node_modules/zod/v4/mini/checks.js +1 -0
  899. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  900. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  901. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  902. package/node_modules/zod/v4/mini/coerce.js +22 -0
  903. package/node_modules/zod/v4/mini/external.cjs +63 -0
  904. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  905. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  906. package/node_modules/zod/v4/mini/external.js +14 -0
  907. package/node_modules/zod/v4/mini/index.cjs +32 -0
  908. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  909. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  910. package/node_modules/zod/v4/mini/index.js +3 -0
  911. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  912. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  913. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  914. package/node_modules/zod/v4/mini/iso.js +34 -0
  915. package/node_modules/zod/v4/mini/package.json +7 -0
  916. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  917. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  918. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  919. package/node_modules/zod/v4/mini/parse.js +1 -0
  920. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  921. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  922. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  923. package/node_modules/zod/v4/mini/schemas.js +961 -0
  924. package/node_modules/zod/v4/package.json +7 -0
  925. package/node_modules/zod/v4-mini/index.cjs +32 -0
  926. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  927. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  928. package/node_modules/zod/v4-mini/index.js +3 -0
  929. package/node_modules/zod/v4-mini/package.json +7 -0
  930. package/npm-shrinkwrap.json +66 -0
  931. package/openclaw.plugin.json +42 -0
  932. package/package.json +59 -10
@@ -0,0 +1,439 @@
1
+ /**
2
+ * MXC SDK Types
3
+ * These types match the wxc-exec JSON configuration schema
4
+ */
5
+ /**
6
+ * Process execution settings
7
+ */
8
+ export interface ProcessConfig {
9
+ /** Complete command line to execute (e.g., "python -c \"print('hello')\"") */
10
+ commandLine: string;
11
+ /** Working directory for the process */
12
+ cwd?: string;
13
+ /** Environment variables as KEY=VALUE strings */
14
+ env?: string[];
15
+ /** Execution timeout in milliseconds (default: 0 = no timeout) */
16
+ timeout?: number;
17
+ }
18
+ /**
19
+ * Container lifecycle settings shared across all backends
20
+ */
21
+ export interface LifecycleConfig {
22
+ /** Destroy the container after execution completes (default: true) */
23
+ destroyOnExit?: boolean;
24
+ /** Retain filesystem and network policies after execution (default: false) */
25
+ preservePolicy?: boolean;
26
+ }
27
+ /**
28
+ * Abstract containment intent. Names the *kind* of isolation the caller
29
+ * wants; the native binary resolves it to a concrete
30
+ * {@link ContainmentBackend} per host capability.
31
+ *
32
+ * Today's intents:
33
+ * - "process": OS-native process-level isolation. Resolves to
34
+ * `processcontainer` (Windows), `bubblewrap` (Linux), or `seatbelt`
35
+ * (macOS). On Linux, `lxc` remains available as an explicit concrete
36
+ * backend but is no longer the default for the abstract `"process"`
37
+ * intent.
38
+ * - "vm": full hardware-virtualised VM isolation. Resolves to
39
+ * `windows_sandbox` on Windows; no concrete VM backend exists on other
40
+ * platforms today.
41
+ * - "microvm": lightweight-VM isolation. Resolves to the current MicroVM
42
+ * runner (Windows only, experimental); intended to expand as additional
43
+ * microvm backends (e.g. NanVix) are added.
44
+ *
45
+ * Concrete-only backends (such as `"wslc"`) live on
46
+ * {@link ContainmentBackend} until there is a meaningful abstraction over
47
+ * multiple implementations of the same kind.
48
+ */
49
+ export type ContainmentType = "process" | "vm" | "microvm";
50
+ /**
51
+ * Runtime list of {@link ContainmentType} values. Kept in sync with the
52
+ * `ContainmentType` union via the type annotation. Use this to recognise
53
+ * abstract intents at run time (the union itself only exists at compile
54
+ * time).
55
+ */
56
+ export declare const ContainmentTypes: readonly ContainmentType[];
57
+ /**
58
+ * Deprecated containment wire values, mapped to their canonical
59
+ * {@link ContainmentBackend} replacement. The native binary (wxc-exec) accepts
60
+ * the deprecated form via serde aliases; this map mirrors that behavior in
61
+ * the SDK validator so legacy configs are not rejected before reaching the
62
+ * binary.
63
+ *
64
+ * The map is intentionally partial: only deprecated keys appear. Use a
65
+ * presence check (e.g. `LegacyContainmentAliases[value] ?? value`) rather
66
+ * than indexing blindly.
67
+ *
68
+ * The wire payload is forwarded to wxc-exec unchanged — the Rust parser
69
+ * performs the final mapping at runtime. Resolution here is purely so the
70
+ * SDK's experimental-mode, platform-support, and availability checks see
71
+ * the canonical backend.
72
+ *
73
+ * Internal to the SDK; not part of the public API. Subject to removal in a
74
+ * future minor release once the deprecation window closes.
75
+ */
76
+ export declare const LegacyContainmentAliases: Readonly<Partial<Record<string, ContainmentBackend>>>;
77
+ /**
78
+ * Concrete containment backend. Each value names a specific runner
79
+ * implementation in the native binary. Prefer a {@link ContainmentType}
80
+ * value unless you specifically need to force a particular backend.
81
+ */
82
+ export type ContainmentBackend = 'processcontainer' | 'windows_sandbox' | 'wslc' | 'lxc' | 'microvm' | 'hyperlight' | 'seatbelt' | 'isolation_session' | 'bubblewrap';
83
+ /**
84
+ * Containment values (abstract intent or concrete backend) that require
85
+ * the `--experimental` flag.
86
+ */
87
+ export declare const ExperimentalBackends: readonly (ContainmentType | ContainmentBackend)[];
88
+ /**
89
+ * Clipboard access policy levels
90
+ */
91
+ export type ClipboardPolicy = "none" | "read" | "write" | "all";
92
+ /**
93
+ * Cross-platform UI configuration in ContainerConfig.
94
+ * Mapped from SandboxPolicy.ui by createConfigFromPolicy.
95
+ */
96
+ export interface UiConfig {
97
+ /** Whether UI is disabled (no visible windows). Maps from !policy.ui.allowWindows. */
98
+ disable: boolean;
99
+ /** Clipboard access level */
100
+ clipboard: ClipboardPolicy;
101
+ /** Whether input injection is allowed */
102
+ injection: boolean;
103
+ }
104
+ /**
105
+ * BaseProcess-specific UI configuration (Windows only).
106
+ * Lives under processContainer.ui in ContainerConfig.
107
+ */
108
+ export interface BaseProcessUiConfig {
109
+ /** UI isolation level for the desktop */
110
+ isolation: "desktop" | "handles" | "atoms" | "container";
111
+ /** Whether desktop system control is allowed */
112
+ desktopSystemControl: boolean;
113
+ /** System settings access level */
114
+ systemSettings: string;
115
+ /** Whether IME (Input Method Editor) is allowed */
116
+ ime: boolean;
117
+ }
118
+ /**
119
+ * ProcessContainer configuration for the Windows process-level backend.
120
+ *
121
+ * `processcontainer` is the abstraction layer; the runner picks between
122
+ * the legacy AppContainer implementation (which honors `capabilities`,
123
+ * `leastPrivilege`) and the newer BaseContainer implementation (which
124
+ * honors `ui`) at run time based on the host OS and the `--experimental`
125
+ * flag.
126
+ */
127
+ export interface ProcessContainerConfig {
128
+ /** AppContainer profile name (default: "CLI"). Deprecated: use containerId instead. */
129
+ name?: string;
130
+ /** Use least privilege mode with PROCESS_CREATION_ALL_APPLICATION_PACKAGES_OPT_OUT (default: false) */
131
+ leastPrivilege?: boolean;
132
+ /** Additional AppContainer capabilities (e.g., "registryRead", "internetClient") */
133
+ capabilities?: string[];
134
+ /** BaseProcess-specific UI settings (Windows only) */
135
+ ui?: BaseProcessUiConfig;
136
+ }
137
+ /**
138
+ * Filesystem access configuration
139
+ */
140
+ export interface FilesystemConfig {
141
+ /** Paths the script can read and write */
142
+ readwritePaths?: string[];
143
+ /** Paths the script can read but not write */
144
+ readonlyPaths?: string[];
145
+ /** Paths the script cannot access */
146
+ deniedPaths?: string[];
147
+ /** Automatically remove file access policy after execution (default: true) */
148
+ clearPolicyOnExit?: boolean;
149
+ }
150
+ /**
151
+ * Network access configuration
152
+ */
153
+ export interface NetworkConfig {
154
+ /**
155
+ * Network enforcement mode:
156
+ * - "capabilities": Use AppContainer capabilities only (no admin required)
157
+ * - "firewall": Use Windows Firewall rules (requires admin)
158
+ * - "both": Use both capabilities and firewall rules (requires admin)
159
+ * (default: "both")
160
+ */
161
+ enforcementMode?: 'capabilities' | 'firewall' | 'both';
162
+ /** Default network policy: "allow" or "block" (default: "block") */
163
+ defaultPolicy?: 'allow' | 'block';
164
+ /**
165
+ * Whether to allow inbound connections to local IP listeners (i.e. the
166
+ * sandboxed process may call `bind()` + `listen()` and accept incoming
167
+ * TCP/UDP). Independent of `defaultPolicy`. (default: false)
168
+ */
169
+ allowLocalNetwork?: boolean;
170
+ /** Hostnames or IP addresses/CIDR blocks to allow (firewall mode only) */
171
+ allowedHosts?: string[];
172
+ /** Hostnames or IP addresses to block (firewall mode only) */
173
+ blockedHosts?: string[];
174
+ /** Proxy configuration (supported on Windows ProcessContainer and Linux Bubblewrap) */
175
+ proxy?: {
176
+ builtinTestServer: true;
177
+ } | {
178
+ localhost: number;
179
+ } | {
180
+ url: string;
181
+ };
182
+ /** Automatically remove firewall rules after execution (default: true). Deprecated: use lifecycle.preservePolicy. */
183
+ removeRulesOnExit?: boolean;
184
+ }
185
+ /**
186
+ * WSLC SDK configuration for Linux containers from Windows
187
+ */
188
+ export interface WslcConfig {
189
+ /** OCI container image name (default: "alpine:latest") */
190
+ image?: string;
191
+ /** Storage path for WSLC session image store */
192
+ storagePath?: string;
193
+ /** Target OS for the container (default: "linux") */
194
+ targetOs?: string;
195
+ /** Number of CPUs allocated to the WSLC session */
196
+ cpuCount?: number;
197
+ /** Memory in MB allocated to the WSLC session */
198
+ memoryMb?: number;
199
+ /** Enable GPU passthrough to the container (default: false) */
200
+ gpu?: boolean;
201
+ /** Path to a local tar file to import as the container image */
202
+ imageTarPath?: string;
203
+ /** Host↔container port mappings (TCP only) */
204
+ portMappings?: PortMapping[];
205
+ }
206
+ /**
207
+ * Port mapping for host↔container port forwarding
208
+ */
209
+ export interface PortMapping {
210
+ /** Port on the Windows host */
211
+ windowsPort: number;
212
+ /** Port inside the Linux container */
213
+ containerPort: number;
214
+ /** Protocol: "tcp" or "udp" (default: "tcp") */
215
+ protocol?: string;
216
+ }
217
+ /**
218
+ * Main WXC configuration
219
+ */
220
+ export interface ContainerConfig {
221
+ /** MXC config schema version. Required. */
222
+ version: string;
223
+ /** Externally assigned container identifier */
224
+ containerId?: string;
225
+ /** Containment intent (preferred) or concrete backend (override). */
226
+ containment?: ContainmentType | ContainmentBackend;
227
+ /** Container lifecycle settings */
228
+ lifecycle?: LifecycleConfig;
229
+ /** Process execution settings (required) */
230
+ process?: ProcessConfig;
231
+ /** ProcessContainer configuration */
232
+ processContainer?: ProcessContainerConfig;
233
+ /**
234
+ * Legacy alias of {@link processContainer}. Retained so callers
235
+ * migrating from pre-0.6 SDK versions can keep their existing code
236
+ * compiling; the native binary parses both names into the same slot
237
+ * via a serde alias.
238
+ *
239
+ * @deprecated Use {@link processContainer} instead. This alias may be
240
+ * removed in a future minor release.
241
+ */
242
+ appContainer?: ProcessContainerConfig;
243
+ /** LXC container configuration (Linux only) */
244
+ lxc?: LxcConfig;
245
+ /** Filesystem access configuration */
246
+ filesystem?: FilesystemConfig;
247
+ /** Network access configuration */
248
+ network?: NetworkConfig;
249
+ /** Experimental features (only applied when --experimental flag is set) */
250
+ experimental?: {
251
+ /** WSLC SDK configuration for Linux containers from Windows */
252
+ wslc?: WslcConfig;
253
+ };
254
+ /** macOS Seatbelt sandbox configuration (macOS only) */
255
+ seatbelt?: SeatbeltConfig;
256
+ /** Cross-platform UI configuration */
257
+ ui?: UiConfig;
258
+ }
259
+ /**
260
+ * The main sandbox policy configuration interface for external consumers
261
+ * to define sandboxed execution environments.
262
+ *
263
+ * Policy describes *what* the caller wants restricted. Cross-platform.
264
+ * No OS-specific content. Omitted fields = most restrictive (default-deny).
265
+ */
266
+ export type SandboxPolicy = {
267
+ /** Policy version (semver). Must match a supported schema version. */
268
+ version: string;
269
+ /** Filesystem access restrictions */
270
+ filesystem?: {
271
+ /** Paths that are granted read and write access */
272
+ readwritePaths?: string[];
273
+ /** Paths that are granted read-only access */
274
+ readonlyPaths?: string[];
275
+ /** Paths that are explicitly denied all access */
276
+ deniedPaths?: string[];
277
+ /** Whether to clear the filesystem policy when the shell exits. (default: true) */
278
+ clearPolicyOnExit?: boolean;
279
+ };
280
+ /** Network access restrictions. All flags default to false (no network access). */
281
+ network?: {
282
+ /** Whether to allow outbound connections to the Internet. (default: false) */
283
+ allowOutbound?: boolean;
284
+ /** Whether to allow connections to local networks. (default: false) */
285
+ allowLocalNetwork?: boolean;
286
+ /** When set, ONLY these outbound hosts are reachable. Requires allowOutbound. */
287
+ allowedHosts?: string[];
288
+ /** Hosts to block even when outbound is allowed. Requires allowOutbound. */
289
+ blockedHosts?: string[];
290
+ /**
291
+ * Proxy configuration. Routes all traffic through this proxy.
292
+ * Cannot be combined with other network flags.
293
+ */
294
+ proxy?: {
295
+ builtinTestServer: true;
296
+ } | {
297
+ localhost: number;
298
+ } | {
299
+ url: string;
300
+ };
301
+ };
302
+ /** UI access restrictions. All flags default to denied. */
303
+ ui?: {
304
+ /** Whether the sandbox may create visible windows. (default: false) */
305
+ allowWindows?: boolean;
306
+ /** Clipboard access level. (default: "none") */
307
+ clipboard?: ClipboardPolicy;
308
+ /** Whether the sandbox may inject keyboard/mouse input. (default: false) */
309
+ allowInputInjection?: boolean;
310
+ };
311
+ /** Execution timeout in milliseconds. Omitted = no timeout. */
312
+ timeoutMs?: number;
313
+ };
314
+ /**
315
+ * LXC container configuration for Linux sandbox
316
+ */
317
+ export interface LxcConfig {
318
+ /** Container name (default: auto-generated) */
319
+ containerName?: string;
320
+ /** Linux distribution for container rootfs (default: "alpine") */
321
+ distribution?: string;
322
+ /** Distribution release version (default: "3.19") */
323
+ release?: string;
324
+ /** Whether to destroy the container after execution (default: true) */
325
+ destroyOnExit?: boolean;
326
+ }
327
+ /**
328
+ * macOS Seatbelt sandbox configuration. Used under the top-level
329
+ * `seatbelt` key when `containment == "seatbelt"`.
330
+ */
331
+ export interface SeatbeltConfig {
332
+ /**
333
+ * Optional override of the generated TinyScheme sandbox profile.
334
+ */
335
+ profileOverride?: string;
336
+ /**
337
+ * Allow the inner process to allocate its own pseudo-terminals via
338
+ * `posix_openpt` (needed by tests, `git`, `gh`, REPLs, and any tool
339
+ * that wraps commands in a pty). Adds `(allow pseudo-tty)` and
340
+ * read/write/ioctl on `/dev/ptmx` to the generated profile. Defaults
341
+ * to `true`; set to `false` for the tightest possible sandbox when
342
+ * the inner command does not need to allocate new ttys.
343
+ */
344
+ nestedPty?: boolean;
345
+ /**
346
+ * Allow the inner process to use the macOS Keychain (e.g. via
347
+ * `keytar` or `Security.framework`) end-to-end. Adds Mach lookup for
348
+ * `securityd`, `trustd`, `ocspd`, `cfprefsd`, `xpcd`, and the
349
+ * `com.apple.lsd.*` family; read access to `/private/var/db/mds` and
350
+ * `/private/var/protected/trustd`; and read+write access to
351
+ * `~/Library/Keychains` and `/private/var/folders` (XPC cache).
352
+ * Defaults to `false`; opt in only when the inner workload genuinely
353
+ * needs Keychain access.
354
+ */
355
+ keychainAccess?: boolean;
356
+ /**
357
+ * Additional Mach service global-names to allow `mach-lookup` for.
358
+ * Escape hatch for callers that need a specific system service the
359
+ * baseline doesn't cover (e.g. opt-in agent integrations). Each entry
360
+ * is rendered as `(global-name "...")` inside a single
361
+ * `(allow mach-lookup ...)` form.
362
+ */
363
+ extraMachLookups?: string[];
364
+ }
365
+ /**
366
+ * Sandboxing methods available on the platform
367
+ *
368
+ * @deprecated Prefer {@link ContainmentBackend} (concrete) or
369
+ * {@link ContainmentType} (abstract). This alias is retained for
370
+ * backward compatibility and may be removed in a future minor release.
371
+ */
372
+ export type SandboxingMethod = ContainmentType | ContainmentBackend;
373
+ /**
374
+ * Isolation tier selected by the runtime fallback detector.
375
+ *
376
+ * - `base-container`: full BaseContainer (Experimental_CreateProcessInSandbox)
377
+ * - `appcontainer-bfs`: AppContainer + BFS filesystem isolation
378
+ * - `appcontainer-dacl`: AppContainer + host DACL augmentation (last-resort fallback)
379
+ */
380
+ export type IsolationTier = 'base-container' | 'appcontainer-bfs' | 'appcontainer-dacl';
381
+ /**
382
+ * Host support for enforcing sandbox UI restrictions.
383
+ *
384
+ * The fields describe platform-agnostic restriction intents, not the
385
+ * OS-specific primitive used to enforce them. For example, Windows derives
386
+ * these values from `JOB_OBJECT_UILIMIT_*` support. The SDK currently
387
+ * receives this object only from the Windows native probe; other platforms
388
+ * omit `PlatformSupport.uiCapabilities` until they expose equivalent probe
389
+ * data.
390
+ */
391
+ export interface UiCapabilitySupport {
392
+ /** Whether the host can block reads from the clipboard. */
393
+ canBlockClipboardRead: boolean;
394
+ /** Whether the host can block writes to the clipboard. */
395
+ canBlockClipboardWrite: boolean;
396
+ /** Whether the host can block synthetic keyboard/mouse input. */
397
+ canBlockInputInjection: boolean;
398
+ /** Whether the host can block input method / IME changes. */
399
+ canBlockInputMethodChanges: boolean;
400
+ /** Whether the host can block access to external UI object handles. */
401
+ canBlockExternalUiObjects: boolean;
402
+ /** Whether the host can block access to global UI namespaces. */
403
+ canBlockGlobalUiNamespace: boolean;
404
+ /** Whether the host can block desktop switching. */
405
+ canBlockDesktopSwitching: boolean;
406
+ /** Whether the host can block logoff or shutdown requests. */
407
+ canBlockLogoffOrShutdown: boolean;
408
+ /** Whether the host can block system parameter changes. */
409
+ canBlockSystemParameterChanges: boolean;
410
+ /** Whether the host can block display settings changes. */
411
+ canBlockDisplaySettingsChanges: boolean;
412
+ }
413
+ /**
414
+ * Platform support information
415
+ */
416
+ export interface PlatformSupport {
417
+ /** Whether WXC is supported on the current platform */
418
+ isSupported: boolean;
419
+ /** Reason why the platform is not supported (if applicable) */
420
+ reason?: string;
421
+ /** Available sandboxing methods on this platform */
422
+ availableMethods: ContainmentBackend[];
423
+ /**
424
+ * Tier that would be selected for an empty policy on this system.
425
+ * Omitted on non-Windows platforms or when the probe fails.
426
+ */
427
+ isolationTier?: IsolationTier;
428
+ /**
429
+ * Tier degradation warnings (one per fall-through during selection).
430
+ * Omitted on non-Windows platforms or when the probe fails.
431
+ */
432
+ isolationWarnings?: string[];
433
+ /**
434
+ * Host UI-restriction capabilities. Omitted when the backend probe cannot
435
+ * determine them, including on Linux and macOS today.
436
+ */
437
+ uiCapabilities?: UiCapabilitySupport;
438
+ }
439
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAGH;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,8EAA8E;IAC9E,WAAW,EAAE,MAAM,CAAC;IACpB,wCAAwC;IACxC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,sEAAsE;IACtE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,8EAA8E;IAC9E,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;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;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B;;;OAGG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACtC"}
@@ -0,0 +1,38 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ /**
4
+ * Runtime list of {@link ContainmentType} values. Kept in sync with the
5
+ * `ContainmentType` union via the type annotation. Use this to recognise
6
+ * abstract intents at run time (the union itself only exists at compile
7
+ * time).
8
+ */
9
+ export const ContainmentTypes = ['process', 'vm', 'microvm'];
10
+ /**
11
+ * Deprecated containment wire values, mapped to their canonical
12
+ * {@link ContainmentBackend} replacement. The native binary (wxc-exec) accepts
13
+ * the deprecated form via serde aliases; this map mirrors that behavior in
14
+ * the SDK validator so legacy configs are not rejected before reaching the
15
+ * binary.
16
+ *
17
+ * The map is intentionally partial: only deprecated keys appear. Use a
18
+ * presence check (e.g. `LegacyContainmentAliases[value] ?? value`) rather
19
+ * than indexing blindly.
20
+ *
21
+ * The wire payload is forwarded to wxc-exec unchanged — the Rust parser
22
+ * performs the final mapping at runtime. Resolution here is purely so the
23
+ * SDK's experimental-mode, platform-support, and availability checks see
24
+ * the canonical backend.
25
+ *
26
+ * Internal to the SDK; not part of the public API. Subject to removal in a
27
+ * future minor release once the deprecation window closes.
28
+ */
29
+ export const LegacyContainmentAliases = {
30
+ appcontainer: 'processcontainer',
31
+ macos_sandbox: 'seatbelt',
32
+ };
33
+ /**
34
+ * Containment values (abstract intent or concrete backend) that require
35
+ * the `--experimental` flag.
36
+ */
37
+ export const ExperimentalBackends = ['microvm', 'windows_sandbox', 'hyperlight', 'wslc', 'isolation_session'];
38
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAwDlC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA+B,CAAC,SAAS,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAEzF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAA0D;IAC7F,YAAY,EAAE,kBAAkB;IAChC,aAAa,EAAE,UAAU;CAC1B,CAAC;AAkBF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAsD,CAAC,SAAS,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,EAAE,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@microsoft/mxc-sdk",
3
+ "version": "0.7.0",
4
+ "description": "TypeScript SDK for MXC (Microsoft eXecution Containers)",
5
+ "type": "module",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js"
11
+ },
12
+ "./package.json": "./package.json"
13
+ },
14
+ "files": [
15
+ "bin/",
16
+ "dist/",
17
+ "LICENSE.md",
18
+ "README.md"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsc",
22
+ "build:test-unit": "cd tests/unit && npx tsc",
23
+ "watch": "tsc --watch",
24
+ "clean": "rimraf dist",
25
+ "test": "npm run test:unit",
26
+ "test:unit": "npm run build:test-unit && node --test dist-tests/tests/unit/sandbox.test.js dist-tests/tests/unit/policy.test.js dist-tests/tests/unit/logger.test.js dist-tests/tests/unit/errors.test.js dist-tests/tests/unit/state-aware-types.test.js dist-tests/tests/unit/state-aware.test.js dist-tests/tests/unit/platform.test.js",
27
+ "test:integration": "cd tests/integration && npm install && npm run build && npm test",
28
+ "prepublishOnly": "npm run build"
29
+ },
30
+ "keywords": [
31
+ "wxc",
32
+ "sandbox",
33
+ "security",
34
+ "processcontainer",
35
+ "windows",
36
+ "node-pty"
37
+ ],
38
+ "author": "Microsoft Corporation",
39
+ "license": "MIT",
40
+ "devDependencies": {
41
+ "@types/node": "^20.10.0",
42
+ "@types/semver": "^7.7.1",
43
+ "node-gyp": "^12.2.0",
44
+ "rimraf": "^6.1.3",
45
+ "typescript": "^5.3.3"
46
+ },
47
+ "dependencies": {
48
+ "node-pty": "^1.2.0-beta.12",
49
+ "semver": "^7.7.4"
50
+ },
51
+ "engines": {
52
+ "node": ">=18.0.0"
53
+ }
54
+ }
@@ -0,0 +1,9 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 [Node.js API collaborators](https://github.com/nodejs/node-addon-api#collaborators)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.