aws-runtime-bridge 1.9.135 → 1.9.137

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 (820) hide show
  1. package/dist/adapter/AcodeSdkAdapter.d.ts +8 -0
  2. package/dist/adapter/AcodeSdkAdapter.js +5 -5
  3. package/dist/config.d.ts +4 -0
  4. package/dist/config.js +2 -2
  5. package/dist/index.js +1 -1
  6. package/dist/routes/ai-sources.js +1 -1
  7. package/dist/routes/capabilities.d.ts +2 -0
  8. package/dist/routes/capabilities.js +2 -0
  9. package/dist/routes/instance.d.ts +0 -1
  10. package/dist/routes/instance.js +1 -1
  11. package/dist/routes/mcp-extra.d.ts +2 -0
  12. package/dist/routes/mcp-extra.js +3 -0
  13. package/dist/routes/mcp.d.ts +1 -0
  14. package/dist/routes/mcp.js +1 -1
  15. package/dist/routes/plugins.d.ts +2 -0
  16. package/dist/routes/plugins.js +2 -0
  17. package/dist/routes/skills.d.ts +1 -0
  18. package/dist/routes/skills.js +1 -1
  19. package/dist/routes/terminal.js +25 -25
  20. package/dist/services/agent-capability-sync.d.ts +7 -0
  21. package/dist/services/agent-capability-sync.js +2 -0
  22. package/{package/cc-switch-sdk/dist → dist}/services/ai-config-service.d.ts +3 -0
  23. package/dist/services/ai-config-service.js +4 -0
  24. package/dist/services/ai-source-apply.d.ts +1 -1
  25. package/dist/services/ai-source-apply.js +1 -1
  26. package/dist/services/capability-config.d.ts +21 -0
  27. package/dist/services/capability-config.js +3 -0
  28. package/dist/services/instance-ai-config-service.d.ts +1 -0
  29. package/dist/services/instance-ai-config-service.js +1 -1
  30. package/dist/services/instance-features.d.ts +21 -0
  31. package/dist/services/instance-features.js +1 -1
  32. package/dist/services/instance-init-service.d.ts +7 -4
  33. package/dist/services/instance-init-service.js +1 -1
  34. package/dist/services/instance-state.js +1 -1
  35. package/dist/services/legacy-path-migration.d.ts +2 -0
  36. package/dist/services/legacy-path-migration.js +1 -1
  37. package/dist/services/mcp-deploy.d.ts +49 -0
  38. package/dist/services/mcp-deploy.js +4 -0
  39. package/dist/services/plugin-event-buffer.d.ts +49 -0
  40. package/dist/services/plugin-event-buffer.js +2 -0
  41. package/dist/services/plugin-manager.d.ts +240 -0
  42. package/dist/services/plugin-manager.js +10 -0
  43. package/dist/services/plugin-package.d.ts +8 -0
  44. package/dist/services/plugin-package.js +2 -0
  45. package/dist/services/skill-manager.d.ts +41 -0
  46. package/dist/services/skill-manager.js +3 -0
  47. package/dist/types.d.ts +11 -61
  48. package/dist/utils/file-utils.d.ts +9 -6
  49. package/dist/utils/file-utils.js +2 -2
  50. package/dist/utils/mcp-utils.d.ts +1 -37
  51. package/dist/utils/mcp-utils.js +1 -1
  52. package/package/acode/dist/built-in-file-tools.js +2 -2
  53. package/package/acode/dist/commands/commandRegistry.d.ts +2 -0
  54. package/package/acode/dist/commands/commandRegistry.js +1 -1
  55. package/package/acode/dist/index.d.ts +2 -0
  56. package/package/acode/dist/index.js +1 -1
  57. package/package/acode/dist/plugin-tools.d.ts +14 -0
  58. package/package/acode/dist/plugin-tools.js +14 -0
  59. package/package/acode/dist/plugin-types.d.ts +109 -0
  60. package/package/acode/dist/runtime.d.ts +2 -0
  61. package/package/acode/dist/runtime.js +14 -14
  62. package/package/acode/dist/sub-agent-manager.js +1 -1
  63. package/package/acode/dist/types.d.ts +3 -0
  64. package/package/aws-client-agent-mcp/dist/agent-client.d.ts +9 -1
  65. package/package/aws-client-agent-mcp/dist/agent-client.js +1 -1
  66. package/package/aws-client-agent-mcp/dist/mcp-server.d.ts +11 -0
  67. package/package/aws-client-agent-mcp/dist/mcp-server.js +21 -21
  68. package/package/aws-client-agent-mcp/dist/mcp-tools.js +2 -4
  69. package/package/aws-client-agent-mcp/dist/memory-tools.js +8 -10
  70. package/package/aws-client-agent-mcp/dist/types.d.ts +21 -0
  71. package/package.json +4 -10
  72. package/dist/adapters/cc-switch/common.d.ts +0 -41
  73. package/dist/adapters/cc-switch/common.js +0 -2
  74. package/dist/adapters/cc-switch/index.d.ts +0 -19
  75. package/dist/adapters/cc-switch/index.js +0 -2
  76. package/dist/adapters/cc-switch/mcp-acode.d.ts +0 -10
  77. package/dist/adapters/cc-switch/mcp-acode.js +0 -2
  78. package/dist/adapters/cc-switch/mcp-claude.d.ts +0 -10
  79. package/dist/adapters/cc-switch/mcp-claude.js +0 -2
  80. package/dist/adapters/cc-switch/mcp-claudecode.d.ts +0 -10
  81. package/dist/adapters/cc-switch/mcp-claudecode.js +0 -2
  82. package/dist/adapters/cc-switch/mcp-codex.d.ts +0 -10
  83. package/dist/adapters/cc-switch/mcp-codex.js +0 -11
  84. package/dist/adapters/cc-switch/mcp-opencode.d.ts +0 -14
  85. package/dist/adapters/cc-switch/mcp-opencode.js +0 -2
  86. package/dist/adapters/cc-switch/mcp-placeholder.d.ts +0 -9
  87. package/dist/adapters/cc-switch/mcp-placeholder.js +0 -2
  88. package/dist/adapters/cc-switch/skill-acode.d.ts +0 -5
  89. package/dist/adapters/cc-switch/skill-acode.js +0 -2
  90. package/dist/adapters/cc-switch/skill-claude.d.ts +0 -5
  91. package/dist/adapters/cc-switch/skill-claude.js +0 -2
  92. package/dist/adapters/cc-switch/skill-claudecode.d.ts +0 -5
  93. package/dist/adapters/cc-switch/skill-claudecode.js +0 -2
  94. package/dist/adapters/cc-switch/skill-codex.d.ts +0 -4
  95. package/dist/adapters/cc-switch/skill-codex.js +0 -2
  96. package/dist/adapters/cc-switch/skill-directory.d.ts +0 -9
  97. package/dist/adapters/cc-switch/skill-directory.js +0 -3
  98. package/dist/adapters/cc-switch/skill-opencode.d.ts +0 -5
  99. package/dist/adapters/cc-switch/skill-opencode.js +0 -2
  100. package/dist/adapters/cc-switch/skill-placeholder.d.ts +0 -9
  101. package/dist/adapters/cc-switch/skill-placeholder.js +0 -2
  102. package/dist/services/cc-switch-sdk.d.ts +0 -17
  103. package/dist/services/cc-switch-sdk.js +0 -2
  104. package/dist/services/instance-service.d.ts +0 -78
  105. package/dist/services/instance-service.js +0 -2
  106. package/node_modules/@cc-switch/sdk/README.md +0 -541
  107. package/node_modules/@cc-switch/sdk/dist/constants.d.ts +0 -8
  108. package/node_modules/@cc-switch/sdk/dist/constants.js +0 -2
  109. package/node_modules/@cc-switch/sdk/dist/errors.d.ts +0 -5
  110. package/node_modules/@cc-switch/sdk/dist/errors.js +0 -2
  111. package/node_modules/@cc-switch/sdk/dist/index.d.ts +0 -5
  112. package/node_modules/@cc-switch/sdk/dist/index.js +0 -2
  113. package/node_modules/@cc-switch/sdk/dist/schemas.d.ts +0 -7
  114. package/node_modules/@cc-switch/sdk/dist/schemas.js +0 -2
  115. package/node_modules/@cc-switch/sdk/dist/sdk.d.ts +0 -59
  116. package/node_modules/@cc-switch/sdk/dist/sdk.js +0 -2
  117. package/node_modules/@cc-switch/sdk/dist/services/ai-config-service.d.ts +0 -81
  118. package/node_modules/@cc-switch/sdk/dist/services/ai-config-service.js +0 -4
  119. package/node_modules/@cc-switch/sdk/dist/services/mcp-model.d.ts +0 -16
  120. package/node_modules/@cc-switch/sdk/dist/services/mcp-model.js +0 -2
  121. package/node_modules/@cc-switch/sdk/dist/services/mcp-service.d.ts +0 -17
  122. package/node_modules/@cc-switch/sdk/dist/services/mcp-service.js +0 -2
  123. package/node_modules/@cc-switch/sdk/dist/services/skill-model.d.ts +0 -16
  124. package/node_modules/@cc-switch/sdk/dist/services/skill-model.js +0 -2
  125. package/node_modules/@cc-switch/sdk/dist/services/skill-service.d.ts +0 -16
  126. package/node_modules/@cc-switch/sdk/dist/services/skill-service.js +0 -2
  127. package/node_modules/@cc-switch/sdk/dist/state.d.ts +0 -3
  128. package/node_modules/@cc-switch/sdk/dist/state.js +0 -2
  129. package/node_modules/@cc-switch/sdk/dist/types.d.ts +0 -78
  130. package/node_modules/@cc-switch/sdk/dist/utils/fs.d.ts +0 -10
  131. package/node_modules/@cc-switch/sdk/dist/utils/fs.js +0 -3
  132. package/node_modules/@cc-switch/sdk/dist/utils/id.d.ts +0 -3
  133. package/node_modules/@cc-switch/sdk/dist/utils/id.js +0 -2
  134. package/node_modules/@cc-switch/sdk/package.json +0 -31
  135. package/node_modules/zod/LICENSE +0 -21
  136. package/node_modules/zod/README.md +0 -208
  137. package/node_modules/zod/index.cjs +0 -33
  138. package/node_modules/zod/index.d.cts +0 -4
  139. package/node_modules/zod/index.d.ts +0 -4
  140. package/node_modules/zod/index.js +0 -4
  141. package/node_modules/zod/locales/index.cjs +0 -17
  142. package/node_modules/zod/locales/index.d.cts +0 -1
  143. package/node_modules/zod/locales/index.d.ts +0 -1
  144. package/node_modules/zod/locales/index.js +0 -1
  145. package/node_modules/zod/locales/package.json +0 -6
  146. package/node_modules/zod/mini/index.cjs +0 -17
  147. package/node_modules/zod/mini/index.d.cts +0 -1
  148. package/node_modules/zod/mini/index.d.ts +0 -1
  149. package/node_modules/zod/mini/index.js +0 -1
  150. package/node_modules/zod/mini/package.json +0 -6
  151. package/node_modules/zod/package.json +0 -135
  152. package/node_modules/zod/src/index.ts +0 -4
  153. package/node_modules/zod/src/locales/index.ts +0 -1
  154. package/node_modules/zod/src/mini/index.ts +0 -1
  155. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  156. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  157. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  158. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  159. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  160. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  161. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  162. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  163. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  164. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  165. package/node_modules/zod/src/v3/errors.ts +0 -13
  166. package/node_modules/zod/src/v3/external.ts +0 -6
  167. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  168. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  169. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  170. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  171. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  172. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  173. package/node_modules/zod/src/v3/index.ts +0 -4
  174. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  175. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  176. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  177. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  178. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  179. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  180. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  181. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  182. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  183. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  184. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  185. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  186. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  187. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -56
  188. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  189. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  190. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  191. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  192. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  193. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  194. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  195. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  196. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  197. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  198. package/node_modules/zod/src/v3/tests/function.test.ts +0 -257
  199. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  200. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  201. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  202. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  203. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  204. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  205. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  206. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  207. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  208. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -21
  209. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  210. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  211. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  212. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  213. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  214. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  215. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  216. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  217. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  218. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  219. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  220. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  221. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  222. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  223. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  224. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  225. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  226. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  227. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  228. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  229. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  230. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  231. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  232. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  233. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  234. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  235. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  236. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  237. package/node_modules/zod/src/v3/types.ts +0 -5138
  238. package/node_modules/zod/src/v4/classic/checks.ts +0 -31
  239. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  240. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  241. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  242. package/node_modules/zod/src/v4/classic/external.ts +0 -50
  243. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  244. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  245. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  246. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2197
  247. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  248. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  249. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  250. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  251. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  252. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  253. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  254. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -63
  255. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -276
  256. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  257. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  258. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
  259. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  260. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -352
  261. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  262. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -31
  263. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  264. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -365
  265. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  266. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -661
  267. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  268. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -595
  269. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  270. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  271. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  272. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -308
  273. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  274. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  275. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -844
  276. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -34
  277. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -171
  278. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -108
  279. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  280. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  281. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -196
  282. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  283. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  284. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  285. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  286. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -270
  287. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -609
  288. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -136
  289. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -340
  290. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -127
  291. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  292. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  293. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -282
  294. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  295. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  296. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  297. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  298. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -356
  299. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
  300. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -605
  301. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -204
  302. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  303. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -57
  304. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  305. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1080
  306. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  307. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -763
  308. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2622
  309. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -361
  310. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -163
  311. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -181
  312. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  313. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  314. package/node_modules/zod/src/v4/core/api.ts +0 -1621
  315. package/node_modules/zod/src/v4/core/checks.ts +0 -1287
  316. package/node_modules/zod/src/v4/core/config.ts +0 -15
  317. package/node_modules/zod/src/v4/core/core.ts +0 -115
  318. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  319. package/node_modules/zod/src/v4/core/errors.ts +0 -413
  320. package/node_modules/zod/src/v4/core/index.ts +0 -14
  321. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  322. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  323. package/node_modules/zod/src/v4/core/regexes.ts +0 -177
  324. package/node_modules/zod/src/v4/core/registries.ts +0 -97
  325. package/node_modules/zod/src/v4/core/schemas.ts +0 -4317
  326. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -64
  327. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -18
  328. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  329. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  330. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  331. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  332. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  333. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  334. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -1044
  335. package/node_modules/zod/src/v4/core/util.ts +0 -910
  336. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  337. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  338. package/node_modules/zod/src/v4/index.ts +0 -4
  339. package/node_modules/zod/src/v4/locales/ar.ts +0 -125
  340. package/node_modules/zod/src/v4/locales/az.ts +0 -121
  341. package/node_modules/zod/src/v4/locales/be.ts +0 -184
  342. package/node_modules/zod/src/v4/locales/bg.ts +0 -136
  343. package/node_modules/zod/src/v4/locales/ca.ts +0 -127
  344. package/node_modules/zod/src/v4/locales/cs.ts +0 -142
  345. package/node_modules/zod/src/v4/locales/da.ts +0 -141
  346. package/node_modules/zod/src/v4/locales/de.ts +0 -124
  347. package/node_modules/zod/src/v4/locales/en.ts +0 -127
  348. package/node_modules/zod/src/v4/locales/eo.ts +0 -125
  349. package/node_modules/zod/src/v4/locales/es.ts +0 -159
  350. package/node_modules/zod/src/v4/locales/fa.ts +0 -134
  351. package/node_modules/zod/src/v4/locales/fi.ts +0 -131
  352. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -126
  353. package/node_modules/zod/src/v4/locales/fr.ts +0 -124
  354. package/node_modules/zod/src/v4/locales/he.ts +0 -125
  355. package/node_modules/zod/src/v4/locales/hu.ts +0 -126
  356. package/node_modules/zod/src/v4/locales/id.ts +0 -125
  357. package/node_modules/zod/src/v4/locales/index.ts +0 -47
  358. package/node_modules/zod/src/v4/locales/is.ts +0 -127
  359. package/node_modules/zod/src/v4/locales/it.ts +0 -125
  360. package/node_modules/zod/src/v4/locales/ja.ts +0 -122
  361. package/node_modules/zod/src/v4/locales/ka.ts +0 -138
  362. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  363. package/node_modules/zod/src/v4/locales/km.ts +0 -126
  364. package/node_modules/zod/src/v4/locales/ko.ts +0 -131
  365. package/node_modules/zod/src/v4/locales/lt.ts +0 -265
  366. package/node_modules/zod/src/v4/locales/mk.ts +0 -127
  367. package/node_modules/zod/src/v4/locales/ms.ts +0 -124
  368. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  369. package/node_modules/zod/src/v4/locales/no.ts +0 -124
  370. package/node_modules/zod/src/v4/locales/ota.ts +0 -125
  371. package/node_modules/zod/src/v4/locales/pl.ts +0 -126
  372. package/node_modules/zod/src/v4/locales/ps.ts +0 -133
  373. package/node_modules/zod/src/v4/locales/pt.ts +0 -123
  374. package/node_modules/zod/src/v4/locales/ru.ts +0 -184
  375. package/node_modules/zod/src/v4/locales/sl.ts +0 -126
  376. package/node_modules/zod/src/v4/locales/sv.ts +0 -127
  377. package/node_modules/zod/src/v4/locales/ta.ts +0 -125
  378. package/node_modules/zod/src/v4/locales/th.ts +0 -126
  379. package/node_modules/zod/src/v4/locales/tr.ts +0 -121
  380. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  381. package/node_modules/zod/src/v4/locales/uk.ts +0 -126
  382. package/node_modules/zod/src/v4/locales/ur.ts +0 -126
  383. package/node_modules/zod/src/v4/locales/vi.ts +0 -125
  384. package/node_modules/zod/src/v4/locales/yo.ts +0 -131
  385. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -123
  386. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -125
  387. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  388. package/node_modules/zod/src/v4/mini/coerce.ts +0 -22
  389. package/node_modules/zod/src/v4/mini/external.ts +0 -40
  390. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  391. package/node_modules/zod/src/v4/mini/iso.ts +0 -62
  392. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  393. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1725
  394. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  395. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -51
  396. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  397. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -529
  398. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  399. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  400. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -43
  401. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -899
  402. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  403. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -200
  404. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  405. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  406. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -315
  407. package/node_modules/zod/src/v4-mini/index.ts +0 -1
  408. package/node_modules/zod/v3/ZodError.cjs +0 -138
  409. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  410. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  411. package/node_modules/zod/v3/ZodError.js +0 -133
  412. package/node_modules/zod/v3/errors.cjs +0 -17
  413. package/node_modules/zod/v3/errors.d.cts +0 -5
  414. package/node_modules/zod/v3/errors.d.ts +0 -5
  415. package/node_modules/zod/v3/errors.js +0 -9
  416. package/node_modules/zod/v3/external.cjs +0 -22
  417. package/node_modules/zod/v3/external.d.cts +0 -6
  418. package/node_modules/zod/v3/external.d.ts +0 -6
  419. package/node_modules/zod/v3/external.js +0 -6
  420. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  421. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  422. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  423. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  424. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  425. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  426. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  427. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  428. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  429. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  430. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  431. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  432. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  433. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  434. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  435. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  436. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  437. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  438. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  439. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  440. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  441. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  442. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  443. package/node_modules/zod/v3/helpers/util.js +0 -133
  444. package/node_modules/zod/v3/index.cjs +0 -33
  445. package/node_modules/zod/v3/index.d.cts +0 -4
  446. package/node_modules/zod/v3/index.d.ts +0 -4
  447. package/node_modules/zod/v3/index.js +0 -4
  448. package/node_modules/zod/v3/locales/en.cjs +0 -112
  449. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  450. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  451. package/node_modules/zod/v3/locales/en.js +0 -109
  452. package/node_modules/zod/v3/package.json +0 -6
  453. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  454. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  455. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  456. package/node_modules/zod/v3/standard-schema.js +0 -1
  457. package/node_modules/zod/v3/types.cjs +0 -3777
  458. package/node_modules/zod/v3/types.d.cts +0 -1034
  459. package/node_modules/zod/v3/types.d.ts +0 -1034
  460. package/node_modules/zod/v3/types.js +0 -3695
  461. package/node_modules/zod/v4/classic/checks.cjs +0 -32
  462. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  463. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  464. package/node_modules/zod/v4/classic/checks.js +0 -1
  465. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  466. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  467. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  468. package/node_modules/zod/v4/classic/coerce.js +0 -17
  469. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  470. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  471. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  472. package/node_modules/zod/v4/classic/compat.js +0 -31
  473. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  474. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  475. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  476. package/node_modules/zod/v4/classic/errors.js +0 -48
  477. package/node_modules/zod/v4/classic/external.cjs +0 -70
  478. package/node_modules/zod/v4/classic/external.d.cts +0 -13
  479. package/node_modules/zod/v4/classic/external.d.ts +0 -13
  480. package/node_modules/zod/v4/classic/external.js +0 -18
  481. package/node_modules/zod/v4/classic/index.cjs +0 -33
  482. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  483. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  484. package/node_modules/zod/v4/classic/index.js +0 -4
  485. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  486. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  487. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  488. package/node_modules/zod/v4/classic/iso.js +0 -30
  489. package/node_modules/zod/v4/classic/package.json +0 -6
  490. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  491. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  492. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  493. package/node_modules/zod/v4/classic/parse.js +0 -15
  494. package/node_modules/zod/v4/classic/schemas.cjs +0 -1151
  495. package/node_modules/zod/v4/classic/schemas.d.cts +0 -673
  496. package/node_modules/zod/v4/classic/schemas.d.ts +0 -673
  497. package/node_modules/zod/v4/classic/schemas.js +0 -1040
  498. package/node_modules/zod/v4/core/api.cjs +0 -1060
  499. package/node_modules/zod/v4/core/api.d.cts +0 -295
  500. package/node_modules/zod/v4/core/api.d.ts +0 -295
  501. package/node_modules/zod/v4/core/api.js +0 -925
  502. package/node_modules/zod/v4/core/checks.cjs +0 -595
  503. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  504. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  505. package/node_modules/zod/v4/core/checks.js +0 -569
  506. package/node_modules/zod/v4/core/core.cjs +0 -74
  507. package/node_modules/zod/v4/core/core.d.cts +0 -52
  508. package/node_modules/zod/v4/core/core.d.ts +0 -52
  509. package/node_modules/zod/v4/core/core.js +0 -67
  510. package/node_modules/zod/v4/core/doc.cjs +0 -39
  511. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  512. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  513. package/node_modules/zod/v4/core/doc.js +0 -35
  514. package/node_modules/zod/v4/core/errors.cjs +0 -213
  515. package/node_modules/zod/v4/core/errors.d.cts +0 -210
  516. package/node_modules/zod/v4/core/errors.d.ts +0 -210
  517. package/node_modules/zod/v4/core/errors.js +0 -182
  518. package/node_modules/zod/v4/core/index.cjs +0 -43
  519. package/node_modules/zod/v4/core/index.d.cts +0 -14
  520. package/node_modules/zod/v4/core/index.d.ts +0 -14
  521. package/node_modules/zod/v4/core/index.js +0 -14
  522. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  523. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  524. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  525. package/node_modules/zod/v4/core/json-schema.js +0 -1
  526. package/node_modules/zod/v4/core/package.json +0 -6
  527. package/node_modules/zod/v4/core/parse.cjs +0 -131
  528. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  529. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  530. package/node_modules/zod/v4/core/parse.js +0 -93
  531. package/node_modules/zod/v4/core/regexes.cjs +0 -136
  532. package/node_modules/zod/v4/core/regexes.d.cts +0 -78
  533. package/node_modules/zod/v4/core/regexes.d.ts +0 -78
  534. package/node_modules/zod/v4/core/regexes.js +0 -127
  535. package/node_modules/zod/v4/core/registries.cjs +0 -57
  536. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  537. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  538. package/node_modules/zod/v4/core/registries.js +0 -52
  539. package/node_modules/zod/v4/core/schemas.cjs +0 -1986
  540. package/node_modules/zod/v4/core/schemas.d.cts +0 -1113
  541. package/node_modules/zod/v4/core/schemas.d.ts +0 -1113
  542. package/node_modules/zod/v4/core/schemas.js +0 -1955
  543. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  544. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -55
  545. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -55
  546. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  547. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -920
  548. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -90
  549. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -90
  550. package/node_modules/zod/v4/core/to-json-schema.js +0 -915
  551. package/node_modules/zod/v4/core/util.cjs +0 -658
  552. package/node_modules/zod/v4/core/util.d.cts +0 -197
  553. package/node_modules/zod/v4/core/util.d.ts +0 -197
  554. package/node_modules/zod/v4/core/util.js +0 -601
  555. package/node_modules/zod/v4/core/versions.cjs +0 -8
  556. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  557. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  558. package/node_modules/zod/v4/core/versions.js +0 -5
  559. package/node_modules/zod/v4/index.cjs +0 -22
  560. package/node_modules/zod/v4/index.d.cts +0 -3
  561. package/node_modules/zod/v4/index.d.ts +0 -3
  562. package/node_modules/zod/v4/index.js +0 -3
  563. package/node_modules/zod/v4/locales/ar.cjs +0 -143
  564. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  565. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  566. package/node_modules/zod/v4/locales/ar.js +0 -116
  567. package/node_modules/zod/v4/locales/az.cjs +0 -142
  568. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  569. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  570. package/node_modules/zod/v4/locales/az.js +0 -115
  571. package/node_modules/zod/v4/locales/be.cjs +0 -191
  572. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  573. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  574. package/node_modules/zod/v4/locales/be.js +0 -164
  575. package/node_modules/zod/v4/locales/bg.cjs +0 -156
  576. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  577. package/node_modules/zod/v4/locales/bg.d.ts +0 -5
  578. package/node_modules/zod/v4/locales/bg.js +0 -128
  579. package/node_modules/zod/v4/locales/ca.cjs +0 -145
  580. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  581. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  582. package/node_modules/zod/v4/locales/ca.js +0 -118
  583. package/node_modules/zod/v4/locales/cs.cjs +0 -162
  584. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  585. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  586. package/node_modules/zod/v4/locales/cs.js +0 -135
  587. package/node_modules/zod/v4/locales/da.cjs +0 -158
  588. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  589. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  590. package/node_modules/zod/v4/locales/da.js +0 -131
  591. package/node_modules/zod/v4/locales/de.cjs +0 -143
  592. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  593. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  594. package/node_modules/zod/v4/locales/de.js +0 -116
  595. package/node_modules/zod/v4/locales/en.cjs +0 -145
  596. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  597. package/node_modules/zod/v4/locales/en.d.ts +0 -5
  598. package/node_modules/zod/v4/locales/en.js +0 -117
  599. package/node_modules/zod/v4/locales/eo.cjs +0 -144
  600. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  601. package/node_modules/zod/v4/locales/eo.d.ts +0 -5
  602. package/node_modules/zod/v4/locales/eo.js +0 -116
  603. package/node_modules/zod/v4/locales/es.cjs +0 -176
  604. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  605. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  606. package/node_modules/zod/v4/locales/es.js +0 -149
  607. package/node_modules/zod/v4/locales/fa.cjs +0 -149
  608. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  609. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  610. package/node_modules/zod/v4/locales/fa.js +0 -122
  611. package/node_modules/zod/v4/locales/fi.cjs +0 -149
  612. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  613. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  614. package/node_modules/zod/v4/locales/fi.js +0 -122
  615. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -144
  616. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  617. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  618. package/node_modules/zod/v4/locales/fr-CA.js +0 -117
  619. package/node_modules/zod/v4/locales/fr.cjs +0 -143
  620. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  621. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  622. package/node_modules/zod/v4/locales/fr.js +0 -116
  623. package/node_modules/zod/v4/locales/he.cjs +0 -144
  624. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  625. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  626. package/node_modules/zod/v4/locales/he.js +0 -117
  627. package/node_modules/zod/v4/locales/hu.cjs +0 -144
  628. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  629. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  630. package/node_modules/zod/v4/locales/hu.js +0 -117
  631. package/node_modules/zod/v4/locales/id.cjs +0 -143
  632. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  633. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  634. package/node_modules/zod/v4/locales/id.js +0 -116
  635. package/node_modules/zod/v4/locales/index.cjs +0 -100
  636. package/node_modules/zod/v4/locales/index.d.cts +0 -47
  637. package/node_modules/zod/v4/locales/index.d.ts +0 -47
  638. package/node_modules/zod/v4/locales/index.js +0 -47
  639. package/node_modules/zod/v4/locales/is.cjs +0 -145
  640. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  641. package/node_modules/zod/v4/locales/is.d.ts +0 -5
  642. package/node_modules/zod/v4/locales/is.js +0 -117
  643. package/node_modules/zod/v4/locales/it.cjs +0 -144
  644. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  645. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  646. package/node_modules/zod/v4/locales/it.js +0 -117
  647. package/node_modules/zod/v4/locales/ja.cjs +0 -142
  648. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  649. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  650. package/node_modules/zod/v4/locales/ja.js +0 -115
  651. package/node_modules/zod/v4/locales/ka.cjs +0 -153
  652. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  653. package/node_modules/zod/v4/locales/ka.d.ts +0 -5
  654. package/node_modules/zod/v4/locales/ka.js +0 -125
  655. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  656. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  657. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  658. package/node_modules/zod/v4/locales/kh.js +0 -5
  659. package/node_modules/zod/v4/locales/km.cjs +0 -144
  660. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  661. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  662. package/node_modules/zod/v4/locales/km.js +0 -117
  663. package/node_modules/zod/v4/locales/ko.cjs +0 -148
  664. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  665. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  666. package/node_modules/zod/v4/locales/ko.js +0 -121
  667. package/node_modules/zod/v4/locales/lt.cjs +0 -258
  668. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  669. package/node_modules/zod/v4/locales/lt.d.ts +0 -5
  670. package/node_modules/zod/v4/locales/lt.js +0 -230
  671. package/node_modules/zod/v4/locales/mk.cjs +0 -145
  672. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  673. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  674. package/node_modules/zod/v4/locales/mk.js +0 -118
  675. package/node_modules/zod/v4/locales/ms.cjs +0 -143
  676. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  677. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  678. package/node_modules/zod/v4/locales/ms.js +0 -116
  679. package/node_modules/zod/v4/locales/nl.cjs +0 -144
  680. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  681. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  682. package/node_modules/zod/v4/locales/nl.js +0 -117
  683. package/node_modules/zod/v4/locales/no.cjs +0 -143
  684. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  685. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  686. package/node_modules/zod/v4/locales/no.js +0 -116
  687. package/node_modules/zod/v4/locales/ota.cjs +0 -144
  688. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  689. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  690. package/node_modules/zod/v4/locales/ota.js +0 -117
  691. package/node_modules/zod/v4/locales/package.json +0 -6
  692. package/node_modules/zod/v4/locales/pl.cjs +0 -144
  693. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  694. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  695. package/node_modules/zod/v4/locales/pl.js +0 -117
  696. package/node_modules/zod/v4/locales/ps.cjs +0 -149
  697. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  698. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  699. package/node_modules/zod/v4/locales/ps.js +0 -122
  700. package/node_modules/zod/v4/locales/pt.cjs +0 -143
  701. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  702. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  703. package/node_modules/zod/v4/locales/pt.js +0 -116
  704. package/node_modules/zod/v4/locales/ru.cjs +0 -191
  705. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  706. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  707. package/node_modules/zod/v4/locales/ru.js +0 -164
  708. package/node_modules/zod/v4/locales/sl.cjs +0 -144
  709. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  710. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  711. package/node_modules/zod/v4/locales/sl.js +0 -117
  712. package/node_modules/zod/v4/locales/sv.cjs +0 -145
  713. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  714. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  715. package/node_modules/zod/v4/locales/sv.js +0 -118
  716. package/node_modules/zod/v4/locales/ta.cjs +0 -144
  717. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  718. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  719. package/node_modules/zod/v4/locales/ta.js +0 -117
  720. package/node_modules/zod/v4/locales/th.cjs +0 -144
  721. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  722. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  723. package/node_modules/zod/v4/locales/th.js +0 -117
  724. package/node_modules/zod/v4/locales/tr.cjs +0 -143
  725. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  726. package/node_modules/zod/v4/locales/tr.d.ts +0 -5
  727. package/node_modules/zod/v4/locales/tr.js +0 -115
  728. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  729. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  730. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  731. package/node_modules/zod/v4/locales/ua.js +0 -5
  732. package/node_modules/zod/v4/locales/uk.cjs +0 -144
  733. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  734. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  735. package/node_modules/zod/v4/locales/uk.js +0 -117
  736. package/node_modules/zod/v4/locales/ur.cjs +0 -144
  737. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  738. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  739. package/node_modules/zod/v4/locales/ur.js +0 -117
  740. package/node_modules/zod/v4/locales/vi.cjs +0 -143
  741. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  742. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  743. package/node_modules/zod/v4/locales/vi.js +0 -116
  744. package/node_modules/zod/v4/locales/yo.cjs +0 -142
  745. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  746. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  747. package/node_modules/zod/v4/locales/yo.js +0 -115
  748. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -143
  749. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  750. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  751. package/node_modules/zod/v4/locales/zh-CN.js +0 -116
  752. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -144
  753. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  754. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  755. package/node_modules/zod/v4/locales/zh-TW.js +0 -117
  756. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  757. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  758. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  759. package/node_modules/zod/v4/mini/checks.js +0 -1
  760. package/node_modules/zod/v4/mini/coerce.cjs +0 -47
  761. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  762. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  763. package/node_modules/zod/v4/mini/coerce.js +0 -17
  764. package/node_modules/zod/v4/mini/external.cjs +0 -62
  765. package/node_modules/zod/v4/mini/external.d.cts +0 -11
  766. package/node_modules/zod/v4/mini/external.d.ts +0 -11
  767. package/node_modules/zod/v4/mini/external.js +0 -13
  768. package/node_modules/zod/v4/mini/index.cjs +0 -32
  769. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  770. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  771. package/node_modules/zod/v4/mini/index.js +0 -3
  772. package/node_modules/zod/v4/mini/iso.cjs +0 -60
  773. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  774. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  775. package/node_modules/zod/v4/mini/iso.js +0 -30
  776. package/node_modules/zod/v4/mini/package.json +0 -6
  777. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  778. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  779. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  780. package/node_modules/zod/v4/mini/parse.js +0 -1
  781. package/node_modules/zod/v4/mini/schemas.cjs +0 -892
  782. package/node_modules/zod/v4/mini/schemas.d.cts +0 -407
  783. package/node_modules/zod/v4/mini/schemas.d.ts +0 -407
  784. package/node_modules/zod/v4/mini/schemas.js +0 -775
  785. package/node_modules/zod/v4/package.json +0 -6
  786. package/node_modules/zod/v4-mini/index.cjs +0 -17
  787. package/node_modules/zod/v4-mini/index.d.cts +0 -1
  788. package/node_modules/zod/v4-mini/index.d.ts +0 -1
  789. package/node_modules/zod/v4-mini/index.js +0 -1
  790. package/node_modules/zod/v4-mini/package.json +0 -6
  791. package/package/cc-switch-sdk/README.md +0 -541
  792. package/package/cc-switch-sdk/dist/constants.d.ts +0 -8
  793. package/package/cc-switch-sdk/dist/constants.js +0 -2
  794. package/package/cc-switch-sdk/dist/errors.d.ts +0 -5
  795. package/package/cc-switch-sdk/dist/errors.js +0 -2
  796. package/package/cc-switch-sdk/dist/index.d.ts +0 -5
  797. package/package/cc-switch-sdk/dist/index.js +0 -2
  798. package/package/cc-switch-sdk/dist/schemas.d.ts +0 -7
  799. package/package/cc-switch-sdk/dist/schemas.js +0 -2
  800. package/package/cc-switch-sdk/dist/sdk.d.ts +0 -59
  801. package/package/cc-switch-sdk/dist/sdk.js +0 -2
  802. package/package/cc-switch-sdk/dist/services/ai-config-service.js +0 -4
  803. package/package/cc-switch-sdk/dist/services/mcp-model.d.ts +0 -16
  804. package/package/cc-switch-sdk/dist/services/mcp-model.js +0 -2
  805. package/package/cc-switch-sdk/dist/services/mcp-service.d.ts +0 -17
  806. package/package/cc-switch-sdk/dist/services/mcp-service.js +0 -2
  807. package/package/cc-switch-sdk/dist/services/skill-model.d.ts +0 -16
  808. package/package/cc-switch-sdk/dist/services/skill-model.js +0 -2
  809. package/package/cc-switch-sdk/dist/services/skill-service.d.ts +0 -16
  810. package/package/cc-switch-sdk/dist/services/skill-service.js +0 -2
  811. package/package/cc-switch-sdk/dist/state.d.ts +0 -3
  812. package/package/cc-switch-sdk/dist/state.js +0 -2
  813. package/package/cc-switch-sdk/dist/types.d.ts +0 -78
  814. package/package/cc-switch-sdk/dist/types.js +0 -1
  815. package/package/cc-switch-sdk/dist/utils/fs.d.ts +0 -10
  816. package/package/cc-switch-sdk/dist/utils/fs.js +0 -3
  817. package/package/cc-switch-sdk/dist/utils/id.d.ts +0 -3
  818. package/package/cc-switch-sdk/dist/utils/id.js +0 -2
  819. package/package/cc-switch-sdk/package.json +0 -31
  820. /package/{node_modules/@cc-switch/sdk/dist/types.js → package/acode/dist/plugin-types.js} +0 -0
@@ -1,1060 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.TimePrecision = void 0;
27
- exports._string = _string;
28
- exports._coercedString = _coercedString;
29
- exports._email = _email;
30
- exports._guid = _guid;
31
- exports._uuid = _uuid;
32
- exports._uuidv4 = _uuidv4;
33
- exports._uuidv6 = _uuidv6;
34
- exports._uuidv7 = _uuidv7;
35
- exports._url = _url;
36
- exports._emoji = _emoji;
37
- exports._nanoid = _nanoid;
38
- exports._cuid = _cuid;
39
- exports._cuid2 = _cuid2;
40
- exports._ulid = _ulid;
41
- exports._xid = _xid;
42
- exports._ksuid = _ksuid;
43
- exports._ipv4 = _ipv4;
44
- exports._ipv6 = _ipv6;
45
- exports._cidrv4 = _cidrv4;
46
- exports._cidrv6 = _cidrv6;
47
- exports._base64 = _base64;
48
- exports._base64url = _base64url;
49
- exports._e164 = _e164;
50
- exports._jwt = _jwt;
51
- exports._isoDateTime = _isoDateTime;
52
- exports._isoDate = _isoDate;
53
- exports._isoTime = _isoTime;
54
- exports._isoDuration = _isoDuration;
55
- exports._number = _number;
56
- exports._coercedNumber = _coercedNumber;
57
- exports._int = _int;
58
- exports._float32 = _float32;
59
- exports._float64 = _float64;
60
- exports._int32 = _int32;
61
- exports._uint32 = _uint32;
62
- exports._boolean = _boolean;
63
- exports._coercedBoolean = _coercedBoolean;
64
- exports._bigint = _bigint;
65
- exports._coercedBigint = _coercedBigint;
66
- exports._int64 = _int64;
67
- exports._uint64 = _uint64;
68
- exports._symbol = _symbol;
69
- exports._undefined = _undefined;
70
- exports._null = _null;
71
- exports._any = _any;
72
- exports._unknown = _unknown;
73
- exports._never = _never;
74
- exports._void = _void;
75
- exports._date = _date;
76
- exports._coercedDate = _coercedDate;
77
- exports._nan = _nan;
78
- exports._lt = _lt;
79
- exports._lte = _lte;
80
- exports._max = _lte;
81
- exports._lte = _lte;
82
- exports._max = _lte;
83
- exports._gt = _gt;
84
- exports._gte = _gte;
85
- exports._min = _gte;
86
- exports._gte = _gte;
87
- exports._min = _gte;
88
- exports._positive = _positive;
89
- exports._negative = _negative;
90
- exports._nonpositive = _nonpositive;
91
- exports._nonnegative = _nonnegative;
92
- exports._multipleOf = _multipleOf;
93
- exports._maxSize = _maxSize;
94
- exports._minSize = _minSize;
95
- exports._size = _size;
96
- exports._maxLength = _maxLength;
97
- exports._minLength = _minLength;
98
- exports._length = _length;
99
- exports._regex = _regex;
100
- exports._lowercase = _lowercase;
101
- exports._uppercase = _uppercase;
102
- exports._includes = _includes;
103
- exports._startsWith = _startsWith;
104
- exports._endsWith = _endsWith;
105
- exports._property = _property;
106
- exports._mime = _mime;
107
- exports._overwrite = _overwrite;
108
- exports._normalize = _normalize;
109
- exports._trim = _trim;
110
- exports._toLowerCase = _toLowerCase;
111
- exports._toUpperCase = _toUpperCase;
112
- exports._array = _array;
113
- exports._union = _union;
114
- exports._discriminatedUnion = _discriminatedUnion;
115
- exports._intersection = _intersection;
116
- exports._tuple = _tuple;
117
- exports._record = _record;
118
- exports._map = _map;
119
- exports._set = _set;
120
- exports._enum = _enum;
121
- exports._nativeEnum = _nativeEnum;
122
- exports._literal = _literal;
123
- exports._file = _file;
124
- exports._transform = _transform;
125
- exports._optional = _optional;
126
- exports._nullable = _nullable;
127
- exports._default = _default;
128
- exports._nonoptional = _nonoptional;
129
- exports._success = _success;
130
- exports._catch = _catch;
131
- exports._pipe = _pipe;
132
- exports._readonly = _readonly;
133
- exports._templateLiteral = _templateLiteral;
134
- exports._lazy = _lazy;
135
- exports._promise = _promise;
136
- exports._custom = _custom;
137
- exports._refine = _refine;
138
- exports._superRefine = _superRefine;
139
- exports._check = _check;
140
- exports._stringbool = _stringbool;
141
- exports._stringFormat = _stringFormat;
142
- const checks = __importStar(require("./checks.cjs"));
143
- const schemas = __importStar(require("./schemas.cjs"));
144
- const util = __importStar(require("./util.cjs"));
145
- function _string(Class, params) {
146
- return new Class({
147
- type: "string",
148
- ...util.normalizeParams(params),
149
- });
150
- }
151
- function _coercedString(Class, params) {
152
- return new Class({
153
- type: "string",
154
- coerce: true,
155
- ...util.normalizeParams(params),
156
- });
157
- }
158
- function _email(Class, params) {
159
- return new Class({
160
- type: "string",
161
- format: "email",
162
- check: "string_format",
163
- abort: false,
164
- ...util.normalizeParams(params),
165
- });
166
- }
167
- function _guid(Class, params) {
168
- return new Class({
169
- type: "string",
170
- format: "guid",
171
- check: "string_format",
172
- abort: false,
173
- ...util.normalizeParams(params),
174
- });
175
- }
176
- function _uuid(Class, params) {
177
- return new Class({
178
- type: "string",
179
- format: "uuid",
180
- check: "string_format",
181
- abort: false,
182
- ...util.normalizeParams(params),
183
- });
184
- }
185
- function _uuidv4(Class, params) {
186
- return new Class({
187
- type: "string",
188
- format: "uuid",
189
- check: "string_format",
190
- abort: false,
191
- version: "v4",
192
- ...util.normalizeParams(params),
193
- });
194
- }
195
- function _uuidv6(Class, params) {
196
- return new Class({
197
- type: "string",
198
- format: "uuid",
199
- check: "string_format",
200
- abort: false,
201
- version: "v6",
202
- ...util.normalizeParams(params),
203
- });
204
- }
205
- function _uuidv7(Class, params) {
206
- return new Class({
207
- type: "string",
208
- format: "uuid",
209
- check: "string_format",
210
- abort: false,
211
- version: "v7",
212
- ...util.normalizeParams(params),
213
- });
214
- }
215
- function _url(Class, params) {
216
- return new Class({
217
- type: "string",
218
- format: "url",
219
- check: "string_format",
220
- abort: false,
221
- ...util.normalizeParams(params),
222
- });
223
- }
224
- function _emoji(Class, params) {
225
- return new Class({
226
- type: "string",
227
- format: "emoji",
228
- check: "string_format",
229
- abort: false,
230
- ...util.normalizeParams(params),
231
- });
232
- }
233
- function _nanoid(Class, params) {
234
- return new Class({
235
- type: "string",
236
- format: "nanoid",
237
- check: "string_format",
238
- abort: false,
239
- ...util.normalizeParams(params),
240
- });
241
- }
242
- function _cuid(Class, params) {
243
- return new Class({
244
- type: "string",
245
- format: "cuid",
246
- check: "string_format",
247
- abort: false,
248
- ...util.normalizeParams(params),
249
- });
250
- }
251
- function _cuid2(Class, params) {
252
- return new Class({
253
- type: "string",
254
- format: "cuid2",
255
- check: "string_format",
256
- abort: false,
257
- ...util.normalizeParams(params),
258
- });
259
- }
260
- function _ulid(Class, params) {
261
- return new Class({
262
- type: "string",
263
- format: "ulid",
264
- check: "string_format",
265
- abort: false,
266
- ...util.normalizeParams(params),
267
- });
268
- }
269
- function _xid(Class, params) {
270
- return new Class({
271
- type: "string",
272
- format: "xid",
273
- check: "string_format",
274
- abort: false,
275
- ...util.normalizeParams(params),
276
- });
277
- }
278
- function _ksuid(Class, params) {
279
- return new Class({
280
- type: "string",
281
- format: "ksuid",
282
- check: "string_format",
283
- abort: false,
284
- ...util.normalizeParams(params),
285
- });
286
- }
287
- function _ipv4(Class, params) {
288
- return new Class({
289
- type: "string",
290
- format: "ipv4",
291
- check: "string_format",
292
- abort: false,
293
- ...util.normalizeParams(params),
294
- });
295
- }
296
- function _ipv6(Class, params) {
297
- return new Class({
298
- type: "string",
299
- format: "ipv6",
300
- check: "string_format",
301
- abort: false,
302
- ...util.normalizeParams(params),
303
- });
304
- }
305
- function _cidrv4(Class, params) {
306
- return new Class({
307
- type: "string",
308
- format: "cidrv4",
309
- check: "string_format",
310
- abort: false,
311
- ...util.normalizeParams(params),
312
- });
313
- }
314
- function _cidrv6(Class, params) {
315
- return new Class({
316
- type: "string",
317
- format: "cidrv6",
318
- check: "string_format",
319
- abort: false,
320
- ...util.normalizeParams(params),
321
- });
322
- }
323
- function _base64(Class, params) {
324
- return new Class({
325
- type: "string",
326
- format: "base64",
327
- check: "string_format",
328
- abort: false,
329
- ...util.normalizeParams(params),
330
- });
331
- }
332
- function _base64url(Class, params) {
333
- return new Class({
334
- type: "string",
335
- format: "base64url",
336
- check: "string_format",
337
- abort: false,
338
- ...util.normalizeParams(params),
339
- });
340
- }
341
- function _e164(Class, params) {
342
- return new Class({
343
- type: "string",
344
- format: "e164",
345
- check: "string_format",
346
- abort: false,
347
- ...util.normalizeParams(params),
348
- });
349
- }
350
- function _jwt(Class, params) {
351
- return new Class({
352
- type: "string",
353
- format: "jwt",
354
- check: "string_format",
355
- abort: false,
356
- ...util.normalizeParams(params),
357
- });
358
- }
359
- exports.TimePrecision = {
360
- Any: null,
361
- Minute: -1,
362
- Second: 0,
363
- Millisecond: 3,
364
- Microsecond: 6,
365
- };
366
- function _isoDateTime(Class, params) {
367
- return new Class({
368
- type: "string",
369
- format: "datetime",
370
- check: "string_format",
371
- offset: false,
372
- local: false,
373
- precision: null,
374
- ...util.normalizeParams(params),
375
- });
376
- }
377
- function _isoDate(Class, params) {
378
- return new Class({
379
- type: "string",
380
- format: "date",
381
- check: "string_format",
382
- ...util.normalizeParams(params),
383
- });
384
- }
385
- function _isoTime(Class, params) {
386
- return new Class({
387
- type: "string",
388
- format: "time",
389
- check: "string_format",
390
- precision: null,
391
- ...util.normalizeParams(params),
392
- });
393
- }
394
- function _isoDuration(Class, params) {
395
- return new Class({
396
- type: "string",
397
- format: "duration",
398
- check: "string_format",
399
- ...util.normalizeParams(params),
400
- });
401
- }
402
- function _number(Class, params) {
403
- return new Class({
404
- type: "number",
405
- checks: [],
406
- ...util.normalizeParams(params),
407
- });
408
- }
409
- function _coercedNumber(Class, params) {
410
- return new Class({
411
- type: "number",
412
- coerce: true,
413
- checks: [],
414
- ...util.normalizeParams(params),
415
- });
416
- }
417
- function _int(Class, params) {
418
- return new Class({
419
- type: "number",
420
- check: "number_format",
421
- abort: false,
422
- format: "safeint",
423
- ...util.normalizeParams(params),
424
- });
425
- }
426
- function _float32(Class, params) {
427
- return new Class({
428
- type: "number",
429
- check: "number_format",
430
- abort: false,
431
- format: "float32",
432
- ...util.normalizeParams(params),
433
- });
434
- }
435
- function _float64(Class, params) {
436
- return new Class({
437
- type: "number",
438
- check: "number_format",
439
- abort: false,
440
- format: "float64",
441
- ...util.normalizeParams(params),
442
- });
443
- }
444
- function _int32(Class, params) {
445
- return new Class({
446
- type: "number",
447
- check: "number_format",
448
- abort: false,
449
- format: "int32",
450
- ...util.normalizeParams(params),
451
- });
452
- }
453
- function _uint32(Class, params) {
454
- return new Class({
455
- type: "number",
456
- check: "number_format",
457
- abort: false,
458
- format: "uint32",
459
- ...util.normalizeParams(params),
460
- });
461
- }
462
- function _boolean(Class, params) {
463
- return new Class({
464
- type: "boolean",
465
- ...util.normalizeParams(params),
466
- });
467
- }
468
- function _coercedBoolean(Class, params) {
469
- return new Class({
470
- type: "boolean",
471
- coerce: true,
472
- ...util.normalizeParams(params),
473
- });
474
- }
475
- function _bigint(Class, params) {
476
- return new Class({
477
- type: "bigint",
478
- ...util.normalizeParams(params),
479
- });
480
- }
481
- function _coercedBigint(Class, params) {
482
- return new Class({
483
- type: "bigint",
484
- coerce: true,
485
- ...util.normalizeParams(params),
486
- });
487
- }
488
- function _int64(Class, params) {
489
- return new Class({
490
- type: "bigint",
491
- check: "bigint_format",
492
- abort: false,
493
- format: "int64",
494
- ...util.normalizeParams(params),
495
- });
496
- }
497
- function _uint64(Class, params) {
498
- return new Class({
499
- type: "bigint",
500
- check: "bigint_format",
501
- abort: false,
502
- format: "uint64",
503
- ...util.normalizeParams(params),
504
- });
505
- }
506
- function _symbol(Class, params) {
507
- return new Class({
508
- type: "symbol",
509
- ...util.normalizeParams(params),
510
- });
511
- }
512
- function _undefined(Class, params) {
513
- return new Class({
514
- type: "undefined",
515
- ...util.normalizeParams(params),
516
- });
517
- }
518
- function _null(Class, params) {
519
- return new Class({
520
- type: "null",
521
- ...util.normalizeParams(params),
522
- });
523
- }
524
- function _any(Class) {
525
- return new Class({
526
- type: "any",
527
- });
528
- }
529
- function _unknown(Class) {
530
- return new Class({
531
- type: "unknown",
532
- });
533
- }
534
- function _never(Class, params) {
535
- return new Class({
536
- type: "never",
537
- ...util.normalizeParams(params),
538
- });
539
- }
540
- function _void(Class, params) {
541
- return new Class({
542
- type: "void",
543
- ...util.normalizeParams(params),
544
- });
545
- }
546
- function _date(Class, params) {
547
- return new Class({
548
- type: "date",
549
- ...util.normalizeParams(params),
550
- });
551
- }
552
- function _coercedDate(Class, params) {
553
- return new Class({
554
- type: "date",
555
- coerce: true,
556
- ...util.normalizeParams(params),
557
- });
558
- }
559
- function _nan(Class, params) {
560
- return new Class({
561
- type: "nan",
562
- ...util.normalizeParams(params),
563
- });
564
- }
565
- function _lt(value, params) {
566
- return new checks.$ZodCheckLessThan({
567
- check: "less_than",
568
- ...util.normalizeParams(params),
569
- value,
570
- inclusive: false,
571
- });
572
- }
573
- function _lte(value, params) {
574
- return new checks.$ZodCheckLessThan({
575
- check: "less_than",
576
- ...util.normalizeParams(params),
577
- value,
578
- inclusive: true,
579
- });
580
- }
581
- function _gt(value, params) {
582
- return new checks.$ZodCheckGreaterThan({
583
- check: "greater_than",
584
- ...util.normalizeParams(params),
585
- value,
586
- inclusive: false,
587
- });
588
- }
589
- function _gte(value, params) {
590
- return new checks.$ZodCheckGreaterThan({
591
- check: "greater_than",
592
- ...util.normalizeParams(params),
593
- value,
594
- inclusive: true,
595
- });
596
- }
597
- function _positive(params) {
598
- return _gt(0, params);
599
- }
600
- // negative
601
- function _negative(params) {
602
- return _lt(0, params);
603
- }
604
- // nonpositive
605
- function _nonpositive(params) {
606
- return _lte(0, params);
607
- }
608
- // nonnegative
609
- function _nonnegative(params) {
610
- return _gte(0, params);
611
- }
612
- function _multipleOf(value, params) {
613
- return new checks.$ZodCheckMultipleOf({
614
- check: "multiple_of",
615
- ...util.normalizeParams(params),
616
- value,
617
- });
618
- }
619
- function _maxSize(maximum, params) {
620
- return new checks.$ZodCheckMaxSize({
621
- check: "max_size",
622
- ...util.normalizeParams(params),
623
- maximum,
624
- });
625
- }
626
- function _minSize(minimum, params) {
627
- return new checks.$ZodCheckMinSize({
628
- check: "min_size",
629
- ...util.normalizeParams(params),
630
- minimum,
631
- });
632
- }
633
- function _size(size, params) {
634
- return new checks.$ZodCheckSizeEquals({
635
- check: "size_equals",
636
- ...util.normalizeParams(params),
637
- size,
638
- });
639
- }
640
- function _maxLength(maximum, params) {
641
- const ch = new checks.$ZodCheckMaxLength({
642
- check: "max_length",
643
- ...util.normalizeParams(params),
644
- maximum,
645
- });
646
- return ch;
647
- }
648
- function _minLength(minimum, params) {
649
- return new checks.$ZodCheckMinLength({
650
- check: "min_length",
651
- ...util.normalizeParams(params),
652
- minimum,
653
- });
654
- }
655
- function _length(length, params) {
656
- return new checks.$ZodCheckLengthEquals({
657
- check: "length_equals",
658
- ...util.normalizeParams(params),
659
- length,
660
- });
661
- }
662
- function _regex(pattern, params) {
663
- return new checks.$ZodCheckRegex({
664
- check: "string_format",
665
- format: "regex",
666
- ...util.normalizeParams(params),
667
- pattern,
668
- });
669
- }
670
- function _lowercase(params) {
671
- return new checks.$ZodCheckLowerCase({
672
- check: "string_format",
673
- format: "lowercase",
674
- ...util.normalizeParams(params),
675
- });
676
- }
677
- function _uppercase(params) {
678
- return new checks.$ZodCheckUpperCase({
679
- check: "string_format",
680
- format: "uppercase",
681
- ...util.normalizeParams(params),
682
- });
683
- }
684
- function _includes(includes, params) {
685
- return new checks.$ZodCheckIncludes({
686
- check: "string_format",
687
- format: "includes",
688
- ...util.normalizeParams(params),
689
- includes,
690
- });
691
- }
692
- function _startsWith(prefix, params) {
693
- return new checks.$ZodCheckStartsWith({
694
- check: "string_format",
695
- format: "starts_with",
696
- ...util.normalizeParams(params),
697
- prefix,
698
- });
699
- }
700
- function _endsWith(suffix, params) {
701
- return new checks.$ZodCheckEndsWith({
702
- check: "string_format",
703
- format: "ends_with",
704
- ...util.normalizeParams(params),
705
- suffix,
706
- });
707
- }
708
- function _property(property, schema, params) {
709
- return new checks.$ZodCheckProperty({
710
- check: "property",
711
- property,
712
- schema,
713
- ...util.normalizeParams(params),
714
- });
715
- }
716
- function _mime(types, params) {
717
- return new checks.$ZodCheckMimeType({
718
- check: "mime_type",
719
- mime: types,
720
- ...util.normalizeParams(params),
721
- });
722
- }
723
- function _overwrite(tx) {
724
- return new checks.$ZodCheckOverwrite({
725
- check: "overwrite",
726
- tx,
727
- });
728
- }
729
- // normalize
730
- function _normalize(form) {
731
- return _overwrite((input) => input.normalize(form));
732
- }
733
- // trim
734
- function _trim() {
735
- return _overwrite((input) => input.trim());
736
- }
737
- // toLowerCase
738
- function _toLowerCase() {
739
- return _overwrite((input) => input.toLowerCase());
740
- }
741
- // toUpperCase
742
- function _toUpperCase() {
743
- return _overwrite((input) => input.toUpperCase());
744
- }
745
- function _array(Class, element, params) {
746
- return new Class({
747
- type: "array",
748
- element,
749
- // get element() {
750
- // return element;
751
- // },
752
- ...util.normalizeParams(params),
753
- });
754
- }
755
- function _union(Class, options, params) {
756
- return new Class({
757
- type: "union",
758
- options,
759
- ...util.normalizeParams(params),
760
- });
761
- }
762
- function _discriminatedUnion(Class, discriminator, options, params) {
763
- return new Class({
764
- type: "union",
765
- options,
766
- discriminator,
767
- ...util.normalizeParams(params),
768
- });
769
- }
770
- function _intersection(Class, left, right) {
771
- return new Class({
772
- type: "intersection",
773
- left,
774
- right,
775
- });
776
- }
777
- // export function _tuple(
778
- // Class: util.SchemaClass<schemas.$ZodTuple>,
779
- // items: [],
780
- // params?: string | $ZodTupleParams
781
- // ): schemas.$ZodTuple<[], null>;
782
- function _tuple(Class, items, _paramsOrRest, _params) {
783
- const hasRest = _paramsOrRest instanceof schemas.$ZodType;
784
- const params = hasRest ? _params : _paramsOrRest;
785
- const rest = hasRest ? _paramsOrRest : null;
786
- return new Class({
787
- type: "tuple",
788
- items,
789
- rest,
790
- ...util.normalizeParams(params),
791
- });
792
- }
793
- function _record(Class, keyType, valueType, params) {
794
- return new Class({
795
- type: "record",
796
- keyType,
797
- valueType,
798
- ...util.normalizeParams(params),
799
- });
800
- }
801
- function _map(Class, keyType, valueType, params) {
802
- return new Class({
803
- type: "map",
804
- keyType,
805
- valueType,
806
- ...util.normalizeParams(params),
807
- });
808
- }
809
- function _set(Class, valueType, params) {
810
- return new Class({
811
- type: "set",
812
- valueType,
813
- ...util.normalizeParams(params),
814
- });
815
- }
816
- function _enum(Class, values, params) {
817
- const entries = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
818
- // if (Array.isArray(values)) {
819
- // for (const value of values) {
820
- // entries[value] = value;
821
- // }
822
- // } else {
823
- // Object.assign(entries, values);
824
- // }
825
- // const entries: util.EnumLike = {};
826
- // for (const val of values) {
827
- // entries[val] = val;
828
- // }
829
- return new Class({
830
- type: "enum",
831
- entries,
832
- ...util.normalizeParams(params),
833
- });
834
- }
835
- /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
836
- *
837
- * ```ts
838
- * enum Colors { red, green, blue }
839
- * z.enum(Colors);
840
- * ```
841
- */
842
- function _nativeEnum(Class, entries, params) {
843
- return new Class({
844
- type: "enum",
845
- entries,
846
- ...util.normalizeParams(params),
847
- });
848
- }
849
- function _literal(Class, value, params) {
850
- return new Class({
851
- type: "literal",
852
- values: Array.isArray(value) ? value : [value],
853
- ...util.normalizeParams(params),
854
- });
855
- }
856
- function _file(Class, params) {
857
- return new Class({
858
- type: "file",
859
- ...util.normalizeParams(params),
860
- });
861
- }
862
- function _transform(Class, fn) {
863
- return new Class({
864
- type: "transform",
865
- transform: fn,
866
- });
867
- }
868
- function _optional(Class, innerType) {
869
- return new Class({
870
- type: "optional",
871
- innerType,
872
- });
873
- }
874
- function _nullable(Class, innerType) {
875
- return new Class({
876
- type: "nullable",
877
- innerType,
878
- });
879
- }
880
- function _default(Class, innerType, defaultValue) {
881
- return new Class({
882
- type: "default",
883
- innerType,
884
- get defaultValue() {
885
- return typeof defaultValue === "function" ? defaultValue() : util.shallowClone(defaultValue);
886
- },
887
- });
888
- }
889
- function _nonoptional(Class, innerType, params) {
890
- return new Class({
891
- type: "nonoptional",
892
- innerType,
893
- ...util.normalizeParams(params),
894
- });
895
- }
896
- function _success(Class, innerType) {
897
- return new Class({
898
- type: "success",
899
- innerType,
900
- });
901
- }
902
- function _catch(Class, innerType, catchValue) {
903
- return new Class({
904
- type: "catch",
905
- innerType,
906
- catchValue: (typeof catchValue === "function" ? catchValue : () => catchValue),
907
- });
908
- }
909
- function _pipe(Class, in_, out) {
910
- return new Class({
911
- type: "pipe",
912
- in: in_,
913
- out,
914
- });
915
- }
916
- function _readonly(Class, innerType) {
917
- return new Class({
918
- type: "readonly",
919
- innerType,
920
- });
921
- }
922
- function _templateLiteral(Class, parts, params) {
923
- return new Class({
924
- type: "template_literal",
925
- parts,
926
- ...util.normalizeParams(params),
927
- });
928
- }
929
- function _lazy(Class, getter) {
930
- return new Class({
931
- type: "lazy",
932
- getter,
933
- });
934
- }
935
- function _promise(Class, innerType) {
936
- return new Class({
937
- type: "promise",
938
- innerType,
939
- });
940
- }
941
- function _custom(Class, fn, _params) {
942
- const norm = util.normalizeParams(_params);
943
- norm.abort ?? (norm.abort = true); // default to abort:false
944
- const schema = new Class({
945
- type: "custom",
946
- check: "custom",
947
- fn: fn,
948
- ...norm,
949
- });
950
- return schema;
951
- }
952
- // same as _custom but defaults to abort:false
953
- function _refine(Class, fn, _params) {
954
- const schema = new Class({
955
- type: "custom",
956
- check: "custom",
957
- fn: fn,
958
- ...util.normalizeParams(_params),
959
- });
960
- return schema;
961
- }
962
- function _superRefine(fn) {
963
- const ch = _check((payload) => {
964
- payload.addIssue = (issue) => {
965
- if (typeof issue === "string") {
966
- payload.issues.push(util.issue(issue, payload.value, ch._zod.def));
967
- }
968
- else {
969
- // for Zod 3 backwards compatibility
970
- const _issue = issue;
971
- if (_issue.fatal)
972
- _issue.continue = false;
973
- _issue.code ?? (_issue.code = "custom");
974
- _issue.input ?? (_issue.input = payload.value);
975
- _issue.inst ?? (_issue.inst = ch);
976
- _issue.continue ?? (_issue.continue = !ch._zod.def.abort); // abort is always undefined, so this is always true...
977
- payload.issues.push(util.issue(_issue));
978
- }
979
- };
980
- return fn(payload.value, payload);
981
- });
982
- return ch;
983
- }
984
- function _check(fn, params) {
985
- const ch = new checks.$ZodCheck({
986
- check: "custom",
987
- ...util.normalizeParams(params),
988
- });
989
- ch._zod.check = fn;
990
- return ch;
991
- }
992
- function _stringbool(Classes, _params) {
993
- const params = util.normalizeParams(_params);
994
- let truthyArray = params.truthy ?? ["true", "1", "yes", "on", "y", "enabled"];
995
- let falsyArray = params.falsy ?? ["false", "0", "no", "off", "n", "disabled"];
996
- if (params.case !== "sensitive") {
997
- truthyArray = truthyArray.map((v) => (typeof v === "string" ? v.toLowerCase() : v));
998
- falsyArray = falsyArray.map((v) => (typeof v === "string" ? v.toLowerCase() : v));
999
- }
1000
- const truthySet = new Set(truthyArray);
1001
- const falsySet = new Set(falsyArray);
1002
- const _Codec = Classes.Codec ?? schemas.$ZodCodec;
1003
- const _Boolean = Classes.Boolean ?? schemas.$ZodBoolean;
1004
- const _String = Classes.String ?? schemas.$ZodString;
1005
- const stringSchema = new _String({ type: "string", error: params.error });
1006
- const booleanSchema = new _Boolean({ type: "boolean", error: params.error });
1007
- const codec = new _Codec({
1008
- type: "pipe",
1009
- in: stringSchema,
1010
- out: booleanSchema,
1011
- transform: ((input, payload) => {
1012
- let data = input;
1013
- if (params.case !== "sensitive")
1014
- data = data.toLowerCase();
1015
- if (truthySet.has(data)) {
1016
- return true;
1017
- }
1018
- else if (falsySet.has(data)) {
1019
- return false;
1020
- }
1021
- else {
1022
- payload.issues.push({
1023
- code: "invalid_value",
1024
- expected: "stringbool",
1025
- values: [...truthySet, ...falsySet],
1026
- input: payload.value,
1027
- inst: codec,
1028
- continue: false,
1029
- });
1030
- return {};
1031
- }
1032
- }),
1033
- reverseTransform: ((input, _payload) => {
1034
- if (input === true) {
1035
- return truthyArray[0] || "true";
1036
- }
1037
- else {
1038
- return falsyArray[0] || "false";
1039
- }
1040
- }),
1041
- error: params.error,
1042
- });
1043
- return codec;
1044
- }
1045
- function _stringFormat(Class, format, fnOrRegex, _params = {}) {
1046
- const params = util.normalizeParams(_params);
1047
- const def = {
1048
- ...util.normalizeParams(_params),
1049
- check: "string_format",
1050
- type: "string",
1051
- format,
1052
- fn: typeof fnOrRegex === "function" ? fnOrRegex : (val) => fnOrRegex.test(val),
1053
- ...params,
1054
- };
1055
- if (fnOrRegex instanceof RegExp) {
1056
- def.pattern = fnOrRegex;
1057
- }
1058
- const inst = new Class(def);
1059
- return inst;
1060
- }