clawdlets 0.3.4 → 0.4.1

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 (1231) hide show
  1. package/dist/config/template-source.json +2 -2
  2. package/dist/main.mjs +931 -445
  3. package/package.json +8 -7
  4. package/vendor/@clawdlets/cattle-core/dist/index.d.ts +10 -0
  5. package/vendor/@clawdlets/cattle-core/dist/index.js +10 -0
  6. package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-cloudinit.d.ts +6 -0
  7. package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-cloudinit.js +47 -1
  8. package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-planner.js +7 -1
  9. package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud-labels.js +28 -2
  10. package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/persona-loader.js +1 -1
  11. package/vendor/@clawdlets/cattle-core/package.json +33 -0
  12. package/vendor/@clawdlets/core/dist/assets/clawdbot-config.schema.json +7872 -0
  13. package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/main.tf +1 -7
  14. package/{node_modules → vendor}/@clawdlets/core/dist/doctor/deploy-checks.js +45 -49
  15. package/{node_modules → vendor}/@clawdlets/core/dist/doctor/repo-checks.js +38 -0
  16. package/vendor/@clawdlets/core/dist/lib/clawdbot-config-invariants.d.ts +19 -0
  17. package/vendor/@clawdlets/core/dist/lib/clawdbot-config-invariants.js +130 -0
  18. package/vendor/@clawdlets/core/dist/lib/clawdbot-schema-validate.d.ts +6 -0
  19. package/vendor/@clawdlets/core/dist/lib/clawdbot-schema-validate.js +35 -0
  20. package/vendor/@clawdlets/core/dist/lib/clawdbot-schema.d.ts +9 -0
  21. package/vendor/@clawdlets/core/dist/lib/clawdbot-schema.js +5 -0
  22. package/vendor/@clawdlets/core/dist/lib/clawdlets-config-legacy.d.ts +3 -0
  23. package/vendor/@clawdlets/core/dist/lib/clawdlets-config-legacy.js +64 -0
  24. package/vendor/@clawdlets/core/dist/lib/clawdlets-config-migrate.d.ts +8 -0
  25. package/vendor/@clawdlets/core/dist/lib/clawdlets-config-migrate.js +152 -0
  26. package/vendor/@clawdlets/core/dist/lib/clawdlets-config-validate.d.ts +19 -0
  27. package/vendor/@clawdlets/core/dist/lib/clawdlets-config-validate.js +138 -0
  28. package/{node_modules → vendor}/@clawdlets/core/dist/lib/clawdlets-config.d.ts +31 -7
  29. package/{node_modules → vendor}/@clawdlets/core/dist/lib/clawdlets-config.js +27 -76
  30. package/vendor/@clawdlets/core/dist/lib/concurrency.d.ts +6 -0
  31. package/vendor/@clawdlets/core/dist/lib/concurrency.js +18 -0
  32. package/vendor/@clawdlets/core/dist/lib/config-patch.d.ts +10 -0
  33. package/vendor/@clawdlets/core/dist/lib/config-patch.js +55 -0
  34. package/{node_modules → vendor}/@clawdlets/core/dist/lib/deploy-creds.d.ts +7 -0
  35. package/{node_modules → vendor}/@clawdlets/core/dist/lib/deploy-creds.js +14 -0
  36. package/vendor/@clawdlets/core/dist/lib/env-var-refs.d.ts +6 -0
  37. package/vendor/@clawdlets/core/dist/lib/env-var-refs.js +78 -0
  38. package/vendor/@clawdlets/core/dist/lib/fleet-secrets-plan-helpers.d.ts +79 -0
  39. package/vendor/@clawdlets/core/dist/lib/fleet-secrets-plan-helpers.js +457 -0
  40. package/vendor/@clawdlets/core/dist/lib/fleet-secrets-plan.d.ts +30 -0
  41. package/vendor/@clawdlets/core/dist/lib/fleet-secrets-plan.js +418 -0
  42. package/vendor/@clawdlets/core/dist/lib/fleet-workspaces.d.ts +8 -0
  43. package/vendor/@clawdlets/core/dist/lib/fleet-workspaces.js +17 -0
  44. package/vendor/@clawdlets/core/dist/lib/object-path.d.ts +4 -0
  45. package/vendor/@clawdlets/core/dist/lib/object-path.js +55 -0
  46. package/{node_modules → vendor}/@clawdlets/core/dist/lib/opentofu.js +1 -5
  47. package/vendor/@clawdlets/core/dist/lib/project-init.d.ts +26 -0
  48. package/vendor/@clawdlets/core/dist/lib/project-init.js +254 -0
  49. package/vendor/@clawdlets/core/dist/lib/run-constants.d.ts +4 -0
  50. package/vendor/@clawdlets/core/dist/lib/run-constants.js +20 -0
  51. package/vendor/@clawdlets/core/dist/lib/run-types.d.ts +48 -0
  52. package/vendor/@clawdlets/core/dist/lib/run-types.js +13 -0
  53. package/vendor/@clawdlets/core/dist/lib/safe-record.d.ts +7 -0
  54. package/vendor/@clawdlets/core/dist/lib/safe-record.js +13 -0
  55. package/vendor/@clawdlets/core/dist/lib/secret-wiring.d.ts +39 -0
  56. package/vendor/@clawdlets/core/dist/lib/secret-wiring.js +39 -0
  57. package/vendor/@clawdlets/core/dist/lib/secrets-allowlist.d.ts +10 -0
  58. package/vendor/@clawdlets/core/dist/lib/secrets-allowlist.js +21 -0
  59. package/vendor/@clawdlets/core/dist/lib/secrets-autowire.d.ts +26 -0
  60. package/vendor/@clawdlets/core/dist/lib/secrets-autowire.js +97 -0
  61. package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-init.d.ts +1 -6
  62. package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-init.js +21 -37
  63. package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-migrate.js +1 -1
  64. package/vendor/@clawdlets/core/dist/lib/secrets-plan.d.ts +172 -0
  65. package/vendor/@clawdlets/core/dist/lib/secrets-plan.js +62 -0
  66. package/vendor/@clawdlets/core/dist/lib/ssh-files.d.ts +3 -0
  67. package/vendor/@clawdlets/core/dist/lib/ssh-files.js +33 -0
  68. package/{node_modules → vendor}/@clawdlets/core/dist/lib/template-source.js +3 -2
  69. package/vendor/@clawdlets/core/dist/lib/yaml-scalar.d.ts +10 -0
  70. package/{node_modules → vendor}/@clawdlets/core/dist/lib/yaml-scalar.js +17 -0
  71. package/{node_modules → vendor}/@clawdlets/core/dist/repo-layout.d.ts +4 -0
  72. package/{node_modules → vendor}/@clawdlets/core/dist/repo-layout.js +11 -1
  73. package/{node_modules → vendor}/@clawdlets/core/package.json +5 -1
  74. package/vendor/@clawdlets/shared/dist/assets/llm-providers.json +255 -0
  75. package/vendor/@clawdlets/shared/dist/index.d.ts +3 -0
  76. package/vendor/@clawdlets/shared/dist/index.js +3 -0
  77. package/{node_modules/@clawdlets/core → vendor/@clawdlets/shared}/dist/lib/identifiers.js +2 -2
  78. package/vendor/@clawdlets/shared/dist/lib/llm-provider-env.d.ts +18 -0
  79. package/vendor/@clawdlets/shared/dist/lib/llm-provider-env.js +100 -0
  80. package/vendor/@clawdlets/shared/package.json +29 -0
  81. package/node_modules/@clawdlets/core/dist/doctor/cattle-checks.d.ts.map +0 -1
  82. package/node_modules/@clawdlets/core/dist/doctor/cattle-checks.js.map +0 -1
  83. package/node_modules/@clawdlets/core/dist/doctor/deploy-checks.d.ts.map +0 -1
  84. package/node_modules/@clawdlets/core/dist/doctor/deploy-checks.js.map +0 -1
  85. package/node_modules/@clawdlets/core/dist/doctor/repo-checks.d.ts.map +0 -1
  86. package/node_modules/@clawdlets/core/dist/doctor/repo-checks.js.map +0 -1
  87. package/node_modules/@clawdlets/core/dist/doctor/types.d.ts.map +0 -1
  88. package/node_modules/@clawdlets/core/dist/doctor/types.js.map +0 -1
  89. package/node_modules/@clawdlets/core/dist/doctor/util.d.ts.map +0 -1
  90. package/node_modules/@clawdlets/core/dist/doctor/util.js.map +0 -1
  91. package/node_modules/@clawdlets/core/dist/doctor.d.ts.map +0 -1
  92. package/node_modules/@clawdlets/core/dist/doctor.js.map +0 -1
  93. package/node_modules/@clawdlets/core/dist/index.d.ts.map +0 -1
  94. package/node_modules/@clawdlets/core/dist/index.js.map +0 -1
  95. package/node_modules/@clawdlets/core/dist/lib/age-keygen.d.ts.map +0 -1
  96. package/node_modules/@clawdlets/core/dist/lib/age-keygen.js.map +0 -1
  97. package/node_modules/@clawdlets/core/dist/lib/age.d.ts.map +0 -1
  98. package/node_modules/@clawdlets/core/dist/lib/age.js.map +0 -1
  99. package/node_modules/@clawdlets/core/dist/lib/base-flake.d.ts.map +0 -1
  100. package/node_modules/@clawdlets/core/dist/lib/base-flake.js.map +0 -1
  101. package/node_modules/@clawdlets/core/dist/lib/cattle-cloudinit.d.ts.map +0 -1
  102. package/node_modules/@clawdlets/core/dist/lib/cattle-cloudinit.js.map +0 -1
  103. package/node_modules/@clawdlets/core/dist/lib/cattle-planner.d.ts.map +0 -1
  104. package/node_modules/@clawdlets/core/dist/lib/cattle-planner.js.map +0 -1
  105. package/node_modules/@clawdlets/core/dist/lib/cattle-task.d.ts.map +0 -1
  106. package/node_modules/@clawdlets/core/dist/lib/cattle-task.js.map +0 -1
  107. package/node_modules/@clawdlets/core/dist/lib/clawdlets-config.d.ts.map +0 -1
  108. package/node_modules/@clawdlets/core/dist/lib/clawdlets-config.js.map +0 -1
  109. package/node_modules/@clawdlets/core/dist/lib/context.d.ts.map +0 -1
  110. package/node_modules/@clawdlets/core/dist/lib/context.js.map +0 -1
  111. package/node_modules/@clawdlets/core/dist/lib/deploy-creds.d.ts.map +0 -1
  112. package/node_modules/@clawdlets/core/dist/lib/deploy-creds.js.map +0 -1
  113. package/node_modules/@clawdlets/core/dist/lib/docs-index.d.ts.map +0 -1
  114. package/node_modules/@clawdlets/core/dist/lib/docs-index.js.map +0 -1
  115. package/node_modules/@clawdlets/core/dist/lib/dot-path.d.ts.map +0 -1
  116. package/node_modules/@clawdlets/core/dist/lib/dot-path.js.map +0 -1
  117. package/node_modules/@clawdlets/core/dist/lib/dotenv-file.d.ts.map +0 -1
  118. package/node_modules/@clawdlets/core/dist/lib/dotenv-file.js.map +0 -1
  119. package/node_modules/@clawdlets/core/dist/lib/fleet-nix-eval.d.ts.map +0 -1
  120. package/node_modules/@clawdlets/core/dist/lib/fleet-nix-eval.js.map +0 -1
  121. package/node_modules/@clawdlets/core/dist/lib/fleet-policy.d.ts.map +0 -1
  122. package/node_modules/@clawdlets/core/dist/lib/fleet-policy.js.map +0 -1
  123. package/node_modules/@clawdlets/core/dist/lib/fleet-secrets.d.ts +0 -23
  124. package/node_modules/@clawdlets/core/dist/lib/fleet-secrets.d.ts.map +0 -1
  125. package/node_modules/@clawdlets/core/dist/lib/fleet-secrets.js +0 -114
  126. package/node_modules/@clawdlets/core/dist/lib/fleet-secrets.js.map +0 -1
  127. package/node_modules/@clawdlets/core/dist/lib/fs-private.d.ts.map +0 -1
  128. package/node_modules/@clawdlets/core/dist/lib/fs-private.js.map +0 -1
  129. package/node_modules/@clawdlets/core/dist/lib/fs-safe.d.ts.map +0 -1
  130. package/node_modules/@clawdlets/core/dist/lib/fs-safe.js.map +0 -1
  131. package/node_modules/@clawdlets/core/dist/lib/git.d.ts.map +0 -1
  132. package/node_modules/@clawdlets/core/dist/lib/git.js.map +0 -1
  133. package/node_modules/@clawdlets/core/dist/lib/github.d.ts.map +0 -1
  134. package/node_modules/@clawdlets/core/dist/lib/github.js.map +0 -1
  135. package/node_modules/@clawdlets/core/dist/lib/hcloud-cattle.d.ts.map +0 -1
  136. package/node_modules/@clawdlets/core/dist/lib/hcloud-cattle.js.map +0 -1
  137. package/node_modules/@clawdlets/core/dist/lib/hcloud-labels.d.ts.map +0 -1
  138. package/node_modules/@clawdlets/core/dist/lib/hcloud-labels.js.map +0 -1
  139. package/node_modules/@clawdlets/core/dist/lib/hcloud.d.ts.map +0 -1
  140. package/node_modules/@clawdlets/core/dist/lib/hcloud.js.map +0 -1
  141. package/node_modules/@clawdlets/core/dist/lib/host-resolve.d.ts.map +0 -1
  142. package/node_modules/@clawdlets/core/dist/lib/host-resolve.js.map +0 -1
  143. package/node_modules/@clawdlets/core/dist/lib/identifiers.d.ts.map +0 -1
  144. package/node_modules/@clawdlets/core/dist/lib/identifiers.js.map +0 -1
  145. package/node_modules/@clawdlets/core/dist/lib/inline-script-ban.d.ts.map +0 -1
  146. package/node_modules/@clawdlets/core/dist/lib/inline-script-ban.js.map +0 -1
  147. package/node_modules/@clawdlets/core/dist/lib/llm-provider-env.d.ts +0 -4
  148. package/node_modules/@clawdlets/core/dist/lib/llm-provider-env.d.ts.map +0 -1
  149. package/node_modules/@clawdlets/core/dist/lib/llm-provider-env.js +0 -25
  150. package/node_modules/@clawdlets/core/dist/lib/llm-provider-env.js.map +0 -1
  151. package/node_modules/@clawdlets/core/dist/lib/mkpasswd.d.ts.map +0 -1
  152. package/node_modules/@clawdlets/core/dist/lib/mkpasswd.js.map +0 -1
  153. package/node_modules/@clawdlets/core/dist/lib/nix-flakes.d.ts.map +0 -1
  154. package/node_modules/@clawdlets/core/dist/lib/nix-flakes.js.map +0 -1
  155. package/node_modules/@clawdlets/core/dist/lib/nix-host.d.ts.map +0 -1
  156. package/node_modules/@clawdlets/core/dist/lib/nix-host.js.map +0 -1
  157. package/node_modules/@clawdlets/core/dist/lib/nix-tools.d.ts.map +0 -1
  158. package/node_modules/@clawdlets/core/dist/lib/nix-tools.js.map +0 -1
  159. package/node_modules/@clawdlets/core/dist/lib/opentofu.d.ts.map +0 -1
  160. package/node_modules/@clawdlets/core/dist/lib/opentofu.js.map +0 -1
  161. package/node_modules/@clawdlets/core/dist/lib/path-expand.d.ts.map +0 -1
  162. package/node_modules/@clawdlets/core/dist/lib/path-expand.js.map +0 -1
  163. package/node_modules/@clawdlets/core/dist/lib/persona-loader.d.ts.map +0 -1
  164. package/node_modules/@clawdlets/core/dist/lib/persona-loader.js.map +0 -1
  165. package/node_modules/@clawdlets/core/dist/lib/repo.d.ts.map +0 -1
  166. package/node_modules/@clawdlets/core/dist/lib/repo.js.map +0 -1
  167. package/node_modules/@clawdlets/core/dist/lib/run.d.ts.map +0 -1
  168. package/node_modules/@clawdlets/core/dist/lib/run.js.map +0 -1
  169. package/node_modules/@clawdlets/core/dist/lib/secrets-init.d.ts.map +0 -1
  170. package/node_modules/@clawdlets/core/dist/lib/secrets-init.js.map +0 -1
  171. package/node_modules/@clawdlets/core/dist/lib/secrets-migrate.d.ts.map +0 -1
  172. package/node_modules/@clawdlets/core/dist/lib/secrets-migrate.js.map +0 -1
  173. package/node_modules/@clawdlets/core/dist/lib/secrets-policy.d.ts.map +0 -1
  174. package/node_modules/@clawdlets/core/dist/lib/secrets-policy.js.map +0 -1
  175. package/node_modules/@clawdlets/core/dist/lib/secrets-tar.d.ts.map +0 -1
  176. package/node_modules/@clawdlets/core/dist/lib/secrets-tar.js.map +0 -1
  177. package/node_modules/@clawdlets/core/dist/lib/sops-config.d.ts.map +0 -1
  178. package/node_modules/@clawdlets/core/dist/lib/sops-config.js.map +0 -1
  179. package/node_modules/@clawdlets/core/dist/lib/sops-path.d.ts.map +0 -1
  180. package/node_modules/@clawdlets/core/dist/lib/sops-path.js.map +0 -1
  181. package/node_modules/@clawdlets/core/dist/lib/sops-rules.d.ts.map +0 -1
  182. package/node_modules/@clawdlets/core/dist/lib/sops-rules.js.map +0 -1
  183. package/node_modules/@clawdlets/core/dist/lib/sops.d.ts.map +0 -1
  184. package/node_modules/@clawdlets/core/dist/lib/sops.js.map +0 -1
  185. package/node_modules/@clawdlets/core/dist/lib/ssh-remote.d.ts.map +0 -1
  186. package/node_modules/@clawdlets/core/dist/lib/ssh-remote.js.map +0 -1
  187. package/node_modules/@clawdlets/core/dist/lib/ssh.d.ts.map +0 -1
  188. package/node_modules/@clawdlets/core/dist/lib/ssh.js.map +0 -1
  189. package/node_modules/@clawdlets/core/dist/lib/template-source.d.ts.map +0 -1
  190. package/node_modules/@clawdlets/core/dist/lib/template-source.js.map +0 -1
  191. package/node_modules/@clawdlets/core/dist/lib/template-test-dir.d.ts.map +0 -1
  192. package/node_modules/@clawdlets/core/dist/lib/template-test-dir.js.map +0 -1
  193. package/node_modules/@clawdlets/core/dist/lib/ttl.d.ts.map +0 -1
  194. package/node_modules/@clawdlets/core/dist/lib/ttl.js.map +0 -1
  195. package/node_modules/@clawdlets/core/dist/lib/yaml-scalar.d.ts +0 -5
  196. package/node_modules/@clawdlets/core/dist/lib/yaml-scalar.d.ts.map +0 -1
  197. package/node_modules/@clawdlets/core/dist/lib/yaml-scalar.js.map +0 -1
  198. package/node_modules/@clawdlets/core/dist/repo-layout.d.ts.map +0 -1
  199. package/node_modules/@clawdlets/core/dist/repo-layout.js.map +0 -1
  200. package/node_modules/dotenv/CHANGELOG.md +0 -598
  201. package/node_modules/dotenv/LICENSE +0 -23
  202. package/node_modules/dotenv/README-es.md +0 -405
  203. package/node_modules/dotenv/README.md +0 -692
  204. package/node_modules/dotenv/SECURITY.md +0 -1
  205. package/node_modules/dotenv/config.d.ts +0 -1
  206. package/node_modules/dotenv/config.js +0 -9
  207. package/node_modules/dotenv/lib/cli-options.js +0 -17
  208. package/node_modules/dotenv/lib/env-options.js +0 -28
  209. package/node_modules/dotenv/lib/main.d.ts +0 -179
  210. package/node_modules/dotenv/lib/main.js +0 -434
  211. package/node_modules/dotenv/package.json +0 -62
  212. package/node_modules/yaml/LICENSE +0 -13
  213. package/node_modules/yaml/README.md +0 -172
  214. package/node_modules/yaml/bin.mjs +0 -11
  215. package/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
  216. package/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
  217. package/node_modules/yaml/browser/dist/compose/compose-node.js +0 -102
  218. package/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
  219. package/node_modules/yaml/browser/dist/compose/composer.js +0 -217
  220. package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
  221. package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
  222. package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
  223. package/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
  224. package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
  225. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -223
  226. package/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
  227. package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
  228. package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
  229. package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
  230. package/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
  231. package/node_modules/yaml/browser/dist/doc/Document.js +0 -335
  232. package/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
  233. package/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
  234. package/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
  235. package/node_modules/yaml/browser/dist/doc/directives.js +0 -176
  236. package/node_modules/yaml/browser/dist/errors.js +0 -57
  237. package/node_modules/yaml/browser/dist/index.js +0 -17
  238. package/node_modules/yaml/browser/dist/log.js +0 -11
  239. package/node_modules/yaml/browser/dist/nodes/Alias.js +0 -114
  240. package/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
  241. package/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
  242. package/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
  243. package/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
  244. package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
  245. package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
  246. package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
  247. package/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
  248. package/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
  249. package/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
  250. package/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
  251. package/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
  252. package/node_modules/yaml/browser/dist/parse/cst.js +0 -98
  253. package/node_modules/yaml/browser/dist/parse/lexer.js +0 -717
  254. package/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
  255. package/node_modules/yaml/browser/dist/parse/parser.js +0 -967
  256. package/node_modules/yaml/browser/dist/public-api.js +0 -102
  257. package/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
  258. package/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
  259. package/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
  260. package/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
  261. package/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
  262. package/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
  263. package/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
  264. package/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
  265. package/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
  266. package/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
  267. package/node_modules/yaml/browser/dist/schema/tags.js +0 -96
  268. package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
  269. package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
  270. package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
  271. package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
  272. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -64
  273. package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
  274. package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
  275. package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
  276. package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
  277. package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
  278. package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
  279. package/node_modules/yaml/browser/dist/stringify/stringify.js +0 -128
  280. package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -143
  281. package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
  282. package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
  283. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -24
  284. package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
  285. package/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
  286. package/node_modules/yaml/browser/dist/util.js +0 -11
  287. package/node_modules/yaml/browser/dist/visit.js +0 -233
  288. package/node_modules/yaml/browser/index.js +0 -5
  289. package/node_modules/yaml/browser/package.json +0 -3
  290. package/node_modules/yaml/dist/cli.d.ts +0 -8
  291. package/node_modules/yaml/dist/cli.mjs +0 -201
  292. package/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
  293. package/node_modules/yaml/dist/compose/compose-collection.js +0 -90
  294. package/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
  295. package/node_modules/yaml/dist/compose/compose-doc.js +0 -45
  296. package/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
  297. package/node_modules/yaml/dist/compose/compose-node.js +0 -105
  298. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
  299. package/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
  300. package/node_modules/yaml/dist/compose/composer.d.ts +0 -63
  301. package/node_modules/yaml/dist/compose/composer.js +0 -222
  302. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
  303. package/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
  304. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
  305. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
  306. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
  307. package/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
  308. package/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
  309. package/node_modules/yaml/dist/compose/resolve-end.js +0 -39
  310. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
  311. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
  312. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
  313. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -225
  314. package/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
  315. package/node_modules/yaml/dist/compose/resolve-props.js +0 -148
  316. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
  317. package/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
  318. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
  319. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
  320. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
  321. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
  322. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
  323. package/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
  324. package/node_modules/yaml/dist/doc/Document.d.ts +0 -141
  325. package/node_modules/yaml/dist/doc/Document.js +0 -337
  326. package/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
  327. package/node_modules/yaml/dist/doc/anchors.js +0 -76
  328. package/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
  329. package/node_modules/yaml/dist/doc/applyReviver.js +0 -57
  330. package/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
  331. package/node_modules/yaml/dist/doc/createNode.js +0 -90
  332. package/node_modules/yaml/dist/doc/directives.d.ts +0 -49
  333. package/node_modules/yaml/dist/doc/directives.js +0 -178
  334. package/node_modules/yaml/dist/errors.d.ts +0 -21
  335. package/node_modules/yaml/dist/errors.js +0 -62
  336. package/node_modules/yaml/dist/index.d.ts +0 -25
  337. package/node_modules/yaml/dist/index.js +0 -50
  338. package/node_modules/yaml/dist/log.d.ts +0 -3
  339. package/node_modules/yaml/dist/log.js +0 -19
  340. package/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
  341. package/node_modules/yaml/dist/nodes/Alias.js +0 -116
  342. package/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
  343. package/node_modules/yaml/dist/nodes/Collection.js +0 -151
  344. package/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
  345. package/node_modules/yaml/dist/nodes/Node.js +0 -40
  346. package/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
  347. package/node_modules/yaml/dist/nodes/Pair.js +0 -39
  348. package/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -43
  349. package/node_modules/yaml/dist/nodes/Scalar.js +0 -27
  350. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
  351. package/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
  352. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
  353. package/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
  354. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
  355. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
  356. package/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
  357. package/node_modules/yaml/dist/nodes/identity.js +0 -53
  358. package/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
  359. package/node_modules/yaml/dist/nodes/toJS.js +0 -39
  360. package/node_modules/yaml/dist/options.d.ts +0 -344
  361. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
  362. package/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
  363. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
  364. package/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
  365. package/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
  366. package/node_modules/yaml/dist/parse/cst-visit.js +0 -99
  367. package/node_modules/yaml/dist/parse/cst.d.ts +0 -109
  368. package/node_modules/yaml/dist/parse/cst.js +0 -112
  369. package/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
  370. package/node_modules/yaml/dist/parse/lexer.js +0 -719
  371. package/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
  372. package/node_modules/yaml/dist/parse/line-counter.js +0 -41
  373. package/node_modules/yaml/dist/parse/parser.d.ts +0 -84
  374. package/node_modules/yaml/dist/parse/parser.js +0 -972
  375. package/node_modules/yaml/dist/public-api.d.ts +0 -44
  376. package/node_modules/yaml/dist/public-api.js +0 -107
  377. package/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
  378. package/node_modules/yaml/dist/schema/Schema.js +0 -39
  379. package/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
  380. package/node_modules/yaml/dist/schema/common/map.js +0 -19
  381. package/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
  382. package/node_modules/yaml/dist/schema/common/null.js +0 -17
  383. package/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
  384. package/node_modules/yaml/dist/schema/common/seq.js +0 -19
  385. package/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
  386. package/node_modules/yaml/dist/schema/common/string.js +0 -16
  387. package/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
  388. package/node_modules/yaml/dist/schema/core/bool.js +0 -21
  389. package/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
  390. package/node_modules/yaml/dist/schema/core/float.js +0 -47
  391. package/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
  392. package/node_modules/yaml/dist/schema/core/int.js +0 -42
  393. package/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
  394. package/node_modules/yaml/dist/schema/core/schema.js +0 -25
  395. package/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
  396. package/node_modules/yaml/dist/schema/json/schema.js +0 -64
  397. package/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
  398. package/node_modules/yaml/dist/schema/tags.d.ts +0 -48
  399. package/node_modules/yaml/dist/schema/tags.js +0 -99
  400. package/node_modules/yaml/dist/schema/types.d.ts +0 -92
  401. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
  402. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
  403. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
  404. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
  405. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
  406. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
  407. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
  408. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
  409. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
  410. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -68
  411. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
  412. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
  413. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
  414. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
  415. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
  416. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
  417. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
  418. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
  419. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
  420. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
  421. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
  422. package/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
  423. package/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
  424. package/node_modules/yaml/dist/stringify/stringify.js +0 -131
  425. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
  426. package/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -145
  427. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
  428. package/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
  429. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
  430. package/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
  431. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
  432. package/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -26
  433. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
  434. package/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
  435. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
  436. package/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
  437. package/node_modules/yaml/dist/test-events.d.ts +0 -4
  438. package/node_modules/yaml/dist/test-events.js +0 -134
  439. package/node_modules/yaml/dist/util.d.ts +0 -16
  440. package/node_modules/yaml/dist/util.js +0 -28
  441. package/node_modules/yaml/dist/visit.d.ts +0 -102
  442. package/node_modules/yaml/dist/visit.js +0 -236
  443. package/node_modules/yaml/package.json +0 -97
  444. package/node_modules/yaml/util.js +0 -2
  445. package/node_modules/zod/LICENSE +0 -21
  446. package/node_modules/zod/README.md +0 -208
  447. package/node_modules/zod/index.cjs +0 -33
  448. package/node_modules/zod/index.d.cts +0 -4
  449. package/node_modules/zod/index.d.ts +0 -4
  450. package/node_modules/zod/index.js +0 -4
  451. package/node_modules/zod/locales/index.cjs +0 -17
  452. package/node_modules/zod/locales/index.d.cts +0 -1
  453. package/node_modules/zod/locales/index.d.ts +0 -1
  454. package/node_modules/zod/locales/index.js +0 -1
  455. package/node_modules/zod/locales/package.json +0 -6
  456. package/node_modules/zod/mini/index.cjs +0 -17
  457. package/node_modules/zod/mini/index.d.cts +0 -1
  458. package/node_modules/zod/mini/index.d.ts +0 -1
  459. package/node_modules/zod/mini/index.js +0 -1
  460. package/node_modules/zod/mini/package.json +0 -6
  461. package/node_modules/zod/package.json +0 -135
  462. package/node_modules/zod/src/index.ts +0 -4
  463. package/node_modules/zod/src/locales/index.ts +0 -1
  464. package/node_modules/zod/src/mini/index.ts +0 -1
  465. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  466. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  467. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  468. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  469. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  470. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  471. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  472. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  473. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  474. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  475. package/node_modules/zod/src/v3/errors.ts +0 -13
  476. package/node_modules/zod/src/v3/external.ts +0 -6
  477. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  478. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  479. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  480. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  481. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  482. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  483. package/node_modules/zod/src/v3/index.ts +0 -4
  484. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  485. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  486. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  487. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  488. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  489. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  490. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  491. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  492. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  493. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  494. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  495. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  496. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  497. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  498. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  499. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  500. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  501. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  502. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  503. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  504. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  505. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  506. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  507. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  508. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  509. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  510. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  511. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  512. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  513. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  514. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  515. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  516. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  517. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  518. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  519. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  520. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  521. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  522. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  523. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  524. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  525. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  526. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  527. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  528. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  529. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  530. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  531. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  532. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  533. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  534. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  535. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  536. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  537. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  538. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  539. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  540. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  541. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  542. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  543. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  544. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  545. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  546. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  547. package/node_modules/zod/src/v3/types.ts +0 -5138
  548. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  549. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  550. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  551. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  552. package/node_modules/zod/src/v4/classic/external.ts +0 -51
  553. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -643
  554. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  555. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  556. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  557. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2409
  558. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  559. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  560. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  561. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
  562. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  563. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  564. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  565. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  566. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  567. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -276
  568. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  569. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  570. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
  571. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  572. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  573. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  574. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  575. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  576. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -365
  577. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  578. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  579. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -661
  580. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  581. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -595
  582. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  583. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  584. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  585. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  586. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -734
  587. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  588. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  589. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  590. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  591. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  592. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  593. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  594. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  595. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  596. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  597. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  598. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  599. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  600. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  601. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -270
  602. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -640
  603. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -223
  604. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -427
  605. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  606. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  607. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  608. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -282
  609. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  610. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  611. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  612. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  613. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -600
  614. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
  615. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -570
  616. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  617. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  618. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  619. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  620. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1175
  621. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  622. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  623. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  624. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2975
  625. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -361
  626. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
  627. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -219
  628. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  629. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  630. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  631. package/node_modules/zod/src/v4/core/api.ts +0 -1798
  632. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  633. package/node_modules/zod/src/v4/core/config.ts +0 -15
  634. package/node_modules/zod/src/v4/core/core.ts +0 -138
  635. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  636. package/node_modules/zod/src/v4/core/errors.ts +0 -448
  637. package/node_modules/zod/src/v4/core/index.ts +0 -16
  638. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  639. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -667
  640. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  641. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  642. package/node_modules/zod/src/v4/core/regexes.ts +0 -183
  643. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  644. package/node_modules/zod/src/v4/core/schemas.ts +0 -4543
  645. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  646. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  647. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  648. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  649. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  650. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  651. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  652. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  653. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  654. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  655. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -83
  656. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -67
  657. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  658. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -613
  659. package/node_modules/zod/src/v4/core/util.ts +0 -966
  660. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  661. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  662. package/node_modules/zod/src/v4/index.ts +0 -4
  663. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  664. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  665. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  666. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  667. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  668. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  669. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  670. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  671. package/node_modules/zod/src/v4/locales/en.ts +0 -119
  672. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  673. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  674. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  675. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  676. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  677. package/node_modules/zod/src/v4/locales/fr.ts +0 -116
  678. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  679. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  680. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  681. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  682. package/node_modules/zod/src/v4/locales/index.ts +0 -49
  683. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  684. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  685. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  686. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  687. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  688. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  689. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  690. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  691. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  692. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  693. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  694. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  695. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  696. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  697. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  698. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  699. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  700. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  701. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  702. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  703. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  704. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  705. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  706. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  707. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  708. package/node_modules/zod/src/v4/locales/uz.ts +0 -116
  709. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  710. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  711. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  712. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  713. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  714. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  715. package/node_modules/zod/src/v4/mini/external.ts +0 -40
  716. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  717. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  718. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  719. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1916
  720. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  721. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  722. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  723. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  724. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -529
  725. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  726. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  727. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  728. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -963
  729. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  730. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  731. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  732. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
  733. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  734. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -347
  735. package/node_modules/zod/src/v4-mini/index.ts +0 -1
  736. package/node_modules/zod/v3/ZodError.cjs +0 -138
  737. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  738. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  739. package/node_modules/zod/v3/ZodError.js +0 -133
  740. package/node_modules/zod/v3/errors.cjs +0 -17
  741. package/node_modules/zod/v3/errors.d.cts +0 -5
  742. package/node_modules/zod/v3/errors.d.ts +0 -5
  743. package/node_modules/zod/v3/errors.js +0 -9
  744. package/node_modules/zod/v3/external.cjs +0 -22
  745. package/node_modules/zod/v3/external.d.cts +0 -6
  746. package/node_modules/zod/v3/external.d.ts +0 -6
  747. package/node_modules/zod/v3/external.js +0 -6
  748. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  749. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  750. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  751. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  752. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  753. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  754. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  755. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  756. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  757. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  758. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  759. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  760. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  761. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  762. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  763. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  764. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  765. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  766. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  767. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  768. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  769. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  770. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  771. package/node_modules/zod/v3/helpers/util.js +0 -133
  772. package/node_modules/zod/v3/index.cjs +0 -33
  773. package/node_modules/zod/v3/index.d.cts +0 -4
  774. package/node_modules/zod/v3/index.d.ts +0 -4
  775. package/node_modules/zod/v3/index.js +0 -4
  776. package/node_modules/zod/v3/locales/en.cjs +0 -112
  777. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  778. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  779. package/node_modules/zod/v3/locales/en.js +0 -109
  780. package/node_modules/zod/v3/package.json +0 -6
  781. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  782. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  783. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  784. package/node_modules/zod/v3/standard-schema.js +0 -1
  785. package/node_modules/zod/v3/types.cjs +0 -3777
  786. package/node_modules/zod/v3/types.d.cts +0 -1034
  787. package/node_modules/zod/v3/types.d.ts +0 -1034
  788. package/node_modules/zod/v3/types.js +0 -3695
  789. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  790. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  791. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  792. package/node_modules/zod/v4/classic/checks.js +0 -1
  793. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  794. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  795. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  796. package/node_modules/zod/v4/classic/coerce.js +0 -17
  797. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  798. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  799. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  800. package/node_modules/zod/v4/classic/compat.js +0 -31
  801. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  802. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  803. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  804. package/node_modules/zod/v4/classic/errors.js +0 -48
  805. package/node_modules/zod/v4/classic/external.cjs +0 -73
  806. package/node_modules/zod/v4/classic/external.d.cts +0 -15
  807. package/node_modules/zod/v4/classic/external.d.ts +0 -15
  808. package/node_modules/zod/v4/classic/external.js +0 -20
  809. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -610
  810. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  811. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  812. package/node_modules/zod/v4/classic/from-json-schema.js +0 -584
  813. package/node_modules/zod/v4/classic/index.cjs +0 -33
  814. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  815. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  816. package/node_modules/zod/v4/classic/index.js +0 -4
  817. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  818. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  819. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  820. package/node_modules/zod/v4/classic/iso.js +0 -30
  821. package/node_modules/zod/v4/classic/package.json +0 -6
  822. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  823. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  824. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  825. package/node_modules/zod/v4/classic/parse.js +0 -15
  826. package/node_modules/zod/v4/classic/schemas.cjs +0 -1272
  827. package/node_modules/zod/v4/classic/schemas.d.cts +0 -739
  828. package/node_modules/zod/v4/classic/schemas.d.ts +0 -739
  829. package/node_modules/zod/v4/classic/schemas.js +0 -1157
  830. package/node_modules/zod/v4/core/api.cjs +0 -1222
  831. package/node_modules/zod/v4/core/api.d.cts +0 -304
  832. package/node_modules/zod/v4/core/api.d.ts +0 -304
  833. package/node_modules/zod/v4/core/api.js +0 -1082
  834. package/node_modules/zod/v4/core/checks.cjs +0 -601
  835. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  836. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  837. package/node_modules/zod/v4/core/checks.js +0 -575
  838. package/node_modules/zod/v4/core/core.cjs +0 -83
  839. package/node_modules/zod/v4/core/core.d.cts +0 -70
  840. package/node_modules/zod/v4/core/core.d.ts +0 -70
  841. package/node_modules/zod/v4/core/core.js +0 -76
  842. package/node_modules/zod/v4/core/doc.cjs +0 -39
  843. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  844. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  845. package/node_modules/zod/v4/core/doc.js +0 -35
  846. package/node_modules/zod/v4/core/errors.cjs +0 -213
  847. package/node_modules/zod/v4/core/errors.d.cts +0 -220
  848. package/node_modules/zod/v4/core/errors.d.ts +0 -220
  849. package/node_modules/zod/v4/core/errors.js +0 -182
  850. package/node_modules/zod/v4/core/index.cjs +0 -47
  851. package/node_modules/zod/v4/core/index.d.cts +0 -16
  852. package/node_modules/zod/v4/core/index.d.ts +0 -16
  853. package/node_modules/zod/v4/core/index.js +0 -16
  854. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  855. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  856. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  857. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  858. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -648
  859. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  860. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  861. package/node_modules/zod/v4/core/json-schema-processors.js +0 -605
  862. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  863. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  864. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  865. package/node_modules/zod/v4/core/json-schema.js +0 -1
  866. package/node_modules/zod/v4/core/package.json +0 -6
  867. package/node_modules/zod/v4/core/parse.cjs +0 -131
  868. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  869. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  870. package/node_modules/zod/v4/core/parse.js +0 -93
  871. package/node_modules/zod/v4/core/regexes.cjs +0 -166
  872. package/node_modules/zod/v4/core/regexes.d.cts +0 -79
  873. package/node_modules/zod/v4/core/regexes.d.ts +0 -79
  874. package/node_modules/zod/v4/core/regexes.js +0 -133
  875. package/node_modules/zod/v4/core/registries.cjs +0 -56
  876. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  877. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  878. package/node_modules/zod/v4/core/registries.js +0 -51
  879. package/node_modules/zod/v4/core/schemas.cjs +0 -2126
  880. package/node_modules/zod/v4/core/schemas.d.cts +0 -1146
  881. package/node_modules/zod/v4/core/schemas.d.ts +0 -1146
  882. package/node_modules/zod/v4/core/schemas.js +0 -2095
  883. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  884. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  885. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  886. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  887. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -446
  888. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  889. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  890. package/node_modules/zod/v4/core/to-json-schema.js +0 -437
  891. package/node_modules/zod/v4/core/util.cjs +0 -710
  892. package/node_modules/zod/v4/core/util.d.cts +0 -199
  893. package/node_modules/zod/v4/core/util.d.ts +0 -199
  894. package/node_modules/zod/v4/core/util.js +0 -651
  895. package/node_modules/zod/v4/core/versions.cjs +0 -8
  896. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  897. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  898. package/node_modules/zod/v4/core/versions.js +0 -5
  899. package/node_modules/zod/v4/index.cjs +0 -22
  900. package/node_modules/zod/v4/index.d.cts +0 -3
  901. package/node_modules/zod/v4/index.d.ts +0 -3
  902. package/node_modules/zod/v4/index.js +0 -3
  903. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  904. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  905. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  906. package/node_modules/zod/v4/locales/ar.js +0 -106
  907. package/node_modules/zod/v4/locales/az.cjs +0 -132
  908. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  909. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  910. package/node_modules/zod/v4/locales/az.js +0 -105
  911. package/node_modules/zod/v4/locales/be.cjs +0 -183
  912. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  913. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  914. package/node_modules/zod/v4/locales/be.js +0 -156
  915. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  916. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  917. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  918. package/node_modules/zod/v4/locales/bg.js +0 -120
  919. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  920. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  921. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  922. package/node_modules/zod/v4/locales/ca.js +0 -107
  923. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  924. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  925. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  926. package/node_modules/zod/v4/locales/cs.js +0 -111
  927. package/node_modules/zod/v4/locales/da.cjs +0 -142
  928. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  929. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  930. package/node_modules/zod/v4/locales/da.js +0 -115
  931. package/node_modules/zod/v4/locales/de.cjs +0 -135
  932. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  933. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  934. package/node_modules/zod/v4/locales/de.js +0 -108
  935. package/node_modules/zod/v4/locales/en.cjs +0 -136
  936. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  937. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  938. package/node_modules/zod/v4/locales/en.js +0 -109
  939. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  940. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  941. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  942. package/node_modules/zod/v4/locales/eo.js +0 -109
  943. package/node_modules/zod/v4/locales/es.cjs +0 -159
  944. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  945. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  946. package/node_modules/zod/v4/locales/es.js +0 -132
  947. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  948. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  949. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  950. package/node_modules/zod/v4/locales/fa.js +0 -114
  951. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  952. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  953. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  954. package/node_modules/zod/v4/locales/fi.js +0 -112
  955. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  956. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  957. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  958. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  959. package/node_modules/zod/v4/locales/fr.cjs +0 -135
  960. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  961. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  962. package/node_modules/zod/v4/locales/fr.js +0 -108
  963. package/node_modules/zod/v4/locales/he.cjs +0 -241
  964. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  965. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  966. package/node_modules/zod/v4/locales/he.js +0 -214
  967. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  968. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  969. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  970. package/node_modules/zod/v4/locales/hu.js +0 -108
  971. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  972. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  973. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  974. package/node_modules/zod/v4/locales/hy.js +0 -147
  975. package/node_modules/zod/v4/locales/id.cjs +0 -133
  976. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  977. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  978. package/node_modules/zod/v4/locales/id.js +0 -106
  979. package/node_modules/zod/v4/locales/index.cjs +0 -104
  980. package/node_modules/zod/v4/locales/index.d.cts +0 -49
  981. package/node_modules/zod/v4/locales/index.d.ts +0 -49
  982. package/node_modules/zod/v4/locales/index.js +0 -49
  983. package/node_modules/zod/v4/locales/is.cjs +0 -136
  984. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  985. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  986. package/node_modules/zod/v4/locales/is.js +0 -109
  987. package/node_modules/zod/v4/locales/it.cjs +0 -135
  988. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  989. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  990. package/node_modules/zod/v4/locales/it.js +0 -108
  991. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  992. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  993. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  994. package/node_modules/zod/v4/locales/ja.js +0 -107
  995. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  996. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  997. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  998. package/node_modules/zod/v4/locales/ka.js +0 -112
  999. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  1000. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  1001. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  1002. package/node_modules/zod/v4/locales/kh.js +0 -5
  1003. package/node_modules/zod/v4/locales/km.cjs +0 -137
  1004. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  1005. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  1006. package/node_modules/zod/v4/locales/km.js +0 -110
  1007. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  1008. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  1009. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1010. package/node_modules/zod/v4/locales/ko.js +0 -111
  1011. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  1012. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  1013. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  1014. package/node_modules/zod/v4/locales/lt.js +0 -203
  1015. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  1016. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  1017. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1018. package/node_modules/zod/v4/locales/mk.js +0 -109
  1019. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  1020. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  1021. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1022. package/node_modules/zod/v4/locales/ms.js +0 -107
  1023. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  1024. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  1025. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1026. package/node_modules/zod/v4/locales/nl.js +0 -110
  1027. package/node_modules/zod/v4/locales/no.cjs +0 -135
  1028. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  1029. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  1030. package/node_modules/zod/v4/locales/no.js +0 -108
  1031. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  1032. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  1033. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1034. package/node_modules/zod/v4/locales/ota.js +0 -109
  1035. package/node_modules/zod/v4/locales/package.json +0 -6
  1036. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  1037. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  1038. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1039. package/node_modules/zod/v4/locales/pl.js +0 -109
  1040. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  1041. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  1042. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1043. package/node_modules/zod/v4/locales/ps.js +0 -114
  1044. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  1045. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  1046. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1047. package/node_modules/zod/v4/locales/pt.js +0 -108
  1048. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  1049. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  1050. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1051. package/node_modules/zod/v4/locales/ru.js +0 -156
  1052. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  1053. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  1054. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1055. package/node_modules/zod/v4/locales/sl.js +0 -109
  1056. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  1057. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  1058. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1059. package/node_modules/zod/v4/locales/sv.js +0 -110
  1060. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  1061. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  1062. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1063. package/node_modules/zod/v4/locales/ta.js +0 -110
  1064. package/node_modules/zod/v4/locales/th.cjs +0 -137
  1065. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  1066. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  1067. package/node_modules/zod/v4/locales/th.js +0 -110
  1068. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  1069. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1070. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  1071. package/node_modules/zod/v4/locales/tr.js +0 -105
  1072. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  1073. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  1074. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  1075. package/node_modules/zod/v4/locales/ua.js +0 -5
  1076. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  1077. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  1078. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  1079. package/node_modules/zod/v4/locales/uk.js +0 -108
  1080. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  1081. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1082. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1083. package/node_modules/zod/v4/locales/ur.js +0 -110
  1084. package/node_modules/zod/v4/locales/uz.cjs +0 -136
  1085. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1086. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1087. package/node_modules/zod/v4/locales/uz.js +0 -109
  1088. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  1089. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1090. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1091. package/node_modules/zod/v4/locales/vi.js +0 -108
  1092. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  1093. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1094. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1095. package/node_modules/zod/v4/locales/yo.js +0 -107
  1096. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  1097. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1098. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1099. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  1100. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  1101. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1102. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1103. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  1104. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  1105. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1106. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1107. package/node_modules/zod/v4/mini/checks.js +0 -1
  1108. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  1109. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1110. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1111. package/node_modules/zod/v4/mini/coerce.js +0 -22
  1112. package/node_modules/zod/v4/mini/external.cjs +0 -63
  1113. package/node_modules/zod/v4/mini/external.d.cts +0 -12
  1114. package/node_modules/zod/v4/mini/external.d.ts +0 -12
  1115. package/node_modules/zod/v4/mini/external.js +0 -14
  1116. package/node_modules/zod/v4/mini/index.cjs +0 -32
  1117. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  1118. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  1119. package/node_modules/zod/v4/mini/index.js +0 -3
  1120. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  1121. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1122. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1123. package/node_modules/zod/v4/mini/iso.js +0 -34
  1124. package/node_modules/zod/v4/mini/package.json +0 -6
  1125. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  1126. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1127. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1128. package/node_modules/zod/v4/mini/parse.js +0 -1
  1129. package/node_modules/zod/v4/mini/schemas.cjs +0 -1046
  1130. package/node_modules/zod/v4/mini/schemas.d.cts +0 -427
  1131. package/node_modules/zod/v4/mini/schemas.d.ts +0 -427
  1132. package/node_modules/zod/v4/mini/schemas.js +0 -925
  1133. package/node_modules/zod/v4/package.json +0 -6
  1134. package/node_modules/zod/v4-mini/index.cjs +0 -17
  1135. package/node_modules/zod/v4-mini/index.d.cts +0 -1
  1136. package/node_modules/zod/v4-mini/index.d.ts +0 -1
  1137. package/node_modules/zod/v4-mini/index.js +0 -1
  1138. package/node_modules/zod/v4-mini/package.json +0 -6
  1139. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-planner.d.ts +0 -0
  1140. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-task.d.ts +0 -0
  1141. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/cattle-task.js +0 -0
  1142. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/fs-private.d.ts +0 -0
  1143. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/fs-private.js +0 -0
  1144. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud-cattle.d.ts +0 -0
  1145. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud-cattle.js +0 -0
  1146. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud-labels.d.ts +0 -0
  1147. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud.d.ts +0 -0
  1148. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/hcloud.js +0 -0
  1149. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/persona-loader.d.ts +0 -0
  1150. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/ttl.d.ts +0 -0
  1151. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/cattle-core}/dist/lib/ttl.js +0 -0
  1152. /package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/.terraform.lock.hcl +0 -0
  1153. /package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/README.md +0 -0
  1154. /package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/modules/bot_host/main.tf +0 -0
  1155. /package/{node_modules → vendor}/@clawdlets/core/dist/assets/opentofu/outputs.tf +0 -0
  1156. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/cattle-checks.d.ts +0 -0
  1157. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/cattle-checks.js +0 -0
  1158. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/deploy-checks.d.ts +0 -0
  1159. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/repo-checks.d.ts +0 -0
  1160. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/types.d.ts +0 -0
  1161. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/types.js +0 -0
  1162. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/util.d.ts +0 -0
  1163. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor/util.js +0 -0
  1164. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor.d.ts +0 -0
  1165. /package/{node_modules → vendor}/@clawdlets/core/dist/doctor.js +0 -0
  1166. /package/{node_modules → vendor}/@clawdlets/core/dist/index.d.ts +0 -0
  1167. /package/{node_modules → vendor}/@clawdlets/core/dist/index.js +0 -0
  1168. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/age-keygen.d.ts +0 -0
  1169. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/age-keygen.js +0 -0
  1170. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/age.d.ts +0 -0
  1171. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/age.js +0 -0
  1172. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/base-flake.d.ts +0 -0
  1173. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/base-flake.js +0 -0
  1174. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/context.d.ts +0 -0
  1175. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/context.js +0 -0
  1176. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/docs-index.d.ts +0 -0
  1177. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/docs-index.js +0 -0
  1178. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/dot-path.d.ts +0 -0
  1179. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/dot-path.js +0 -0
  1180. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/dotenv-file.d.ts +0 -0
  1181. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/dotenv-file.js +0 -0
  1182. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fleet-nix-eval.d.ts +0 -0
  1183. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fleet-nix-eval.js +0 -0
  1184. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fleet-policy.d.ts +0 -0
  1185. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fleet-policy.js +0 -0
  1186. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fs-safe.d.ts +0 -0
  1187. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/fs-safe.js +0 -0
  1188. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/git.d.ts +0 -0
  1189. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/git.js +0 -0
  1190. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/github.d.ts +0 -0
  1191. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/github.js +0 -0
  1192. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/host-resolve.d.ts +0 -0
  1193. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/host-resolve.js +0 -0
  1194. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/inline-script-ban.d.ts +0 -0
  1195. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/inline-script-ban.js +0 -0
  1196. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/mkpasswd.d.ts +0 -0
  1197. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/mkpasswd.js +0 -0
  1198. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-flakes.d.ts +0 -0
  1199. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-flakes.js +0 -0
  1200. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-host.d.ts +0 -0
  1201. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-host.js +0 -0
  1202. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-tools.d.ts +0 -0
  1203. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/nix-tools.js +0 -0
  1204. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/opentofu.d.ts +0 -0
  1205. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/path-expand.d.ts +0 -0
  1206. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/path-expand.js +0 -0
  1207. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/repo.d.ts +0 -0
  1208. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/repo.js +0 -0
  1209. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/run.d.ts +0 -0
  1210. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/run.js +0 -0
  1211. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-migrate.d.ts +0 -0
  1212. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-policy.d.ts +0 -0
  1213. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-policy.js +0 -0
  1214. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-tar.d.ts +0 -0
  1215. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/secrets-tar.js +0 -0
  1216. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-config.d.ts +0 -0
  1217. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-config.js +0 -0
  1218. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-path.d.ts +0 -0
  1219. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-path.js +0 -0
  1220. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-rules.d.ts +0 -0
  1221. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops-rules.js +0 -0
  1222. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops.d.ts +0 -0
  1223. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/sops.js +0 -0
  1224. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/ssh-remote.d.ts +0 -0
  1225. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/ssh-remote.js +0 -0
  1226. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/ssh.d.ts +0 -0
  1227. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/ssh.js +0 -0
  1228. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/template-source.d.ts +0 -0
  1229. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/template-test-dir.d.ts +0 -0
  1230. /package/{node_modules → vendor}/@clawdlets/core/dist/lib/template-test-dir.js +0 -0
  1231. /package/{node_modules/@clawdlets/core → vendor/@clawdlets/shared}/dist/lib/identifiers.d.ts +0 -0
@@ -1,972 +0,0 @@
1
- 'use strict';
2
-
3
- var node_process = require('process');
4
- var cst = require('./cst.js');
5
- var lexer = require('./lexer.js');
6
-
7
- function includesToken(list, type) {
8
- for (let i = 0; i < list.length; ++i)
9
- if (list[i].type === type)
10
- return true;
11
- return false;
12
- }
13
- function findNonEmptyIndex(list) {
14
- for (let i = 0; i < list.length; ++i) {
15
- switch (list[i].type) {
16
- case 'space':
17
- case 'comment':
18
- case 'newline':
19
- break;
20
- default:
21
- return i;
22
- }
23
- }
24
- return -1;
25
- }
26
- function isFlowToken(token) {
27
- switch (token?.type) {
28
- case 'alias':
29
- case 'scalar':
30
- case 'single-quoted-scalar':
31
- case 'double-quoted-scalar':
32
- case 'flow-collection':
33
- return true;
34
- default:
35
- return false;
36
- }
37
- }
38
- function getPrevProps(parent) {
39
- switch (parent.type) {
40
- case 'document':
41
- return parent.start;
42
- case 'block-map': {
43
- const it = parent.items[parent.items.length - 1];
44
- return it.sep ?? it.start;
45
- }
46
- case 'block-seq':
47
- return parent.items[parent.items.length - 1].start;
48
- /* istanbul ignore next should not happen */
49
- default:
50
- return [];
51
- }
52
- }
53
- /** Note: May modify input array */
54
- function getFirstKeyStartProps(prev) {
55
- if (prev.length === 0)
56
- return [];
57
- let i = prev.length;
58
- loop: while (--i >= 0) {
59
- switch (prev[i].type) {
60
- case 'doc-start':
61
- case 'explicit-key-ind':
62
- case 'map-value-ind':
63
- case 'seq-item-ind':
64
- case 'newline':
65
- break loop;
66
- }
67
- }
68
- while (prev[++i]?.type === 'space') {
69
- /* loop */
70
- }
71
- return prev.splice(i, prev.length);
72
- }
73
- function fixFlowSeqItems(fc) {
74
- if (fc.start.type === 'flow-seq-start') {
75
- for (const it of fc.items) {
76
- if (it.sep &&
77
- !it.value &&
78
- !includesToken(it.start, 'explicit-key-ind') &&
79
- !includesToken(it.sep, 'map-value-ind')) {
80
- if (it.key)
81
- it.value = it.key;
82
- delete it.key;
83
- if (isFlowToken(it.value)) {
84
- if (it.value.end)
85
- Array.prototype.push.apply(it.value.end, it.sep);
86
- else
87
- it.value.end = it.sep;
88
- }
89
- else
90
- Array.prototype.push.apply(it.start, it.sep);
91
- delete it.sep;
92
- }
93
- }
94
- }
95
- }
96
- /**
97
- * A YAML concrete syntax tree (CST) parser
98
- *
99
- * ```ts
100
- * const src: string = ...
101
- * for (const token of new Parser().parse(src)) {
102
- * // token: Token
103
- * }
104
- * ```
105
- *
106
- * To use the parser with a user-provided lexer:
107
- *
108
- * ```ts
109
- * function* parse(source: string, lexer: Lexer) {
110
- * const parser = new Parser()
111
- * for (const lexeme of lexer.lex(source))
112
- * yield* parser.next(lexeme)
113
- * yield* parser.end()
114
- * }
115
- *
116
- * const src: string = ...
117
- * const lexer = new Lexer()
118
- * for (const token of parse(src, lexer)) {
119
- * // token: Token
120
- * }
121
- * ```
122
- */
123
- class Parser {
124
- /**
125
- * @param onNewLine - If defined, called separately with the start position of
126
- * each new line (in `parse()`, including the start of input).
127
- */
128
- constructor(onNewLine) {
129
- /** If true, space and sequence indicators count as indentation */
130
- this.atNewLine = true;
131
- /** If true, next token is a scalar value */
132
- this.atScalar = false;
133
- /** Current indentation level */
134
- this.indent = 0;
135
- /** Current offset since the start of parsing */
136
- this.offset = 0;
137
- /** On the same line with a block map key */
138
- this.onKeyLine = false;
139
- /** Top indicates the node that's currently being built */
140
- this.stack = [];
141
- /** The source of the current token, set in parse() */
142
- this.source = '';
143
- /** The type of the current token, set in parse() */
144
- this.type = '';
145
- // Must be defined after `next()`
146
- this.lexer = new lexer.Lexer();
147
- this.onNewLine = onNewLine;
148
- }
149
- /**
150
- * Parse `source` as a YAML stream.
151
- * If `incomplete`, a part of the last line may be left as a buffer for the next call.
152
- *
153
- * Errors are not thrown, but yielded as `{ type: 'error', message }` tokens.
154
- *
155
- * @returns A generator of tokens representing each directive, document, and other structure.
156
- */
157
- *parse(source, incomplete = false) {
158
- if (this.onNewLine && this.offset === 0)
159
- this.onNewLine(0);
160
- for (const lexeme of this.lexer.lex(source, incomplete))
161
- yield* this.next(lexeme);
162
- if (!incomplete)
163
- yield* this.end();
164
- }
165
- /**
166
- * Advance the parser by the `source` of one lexical token.
167
- */
168
- *next(source) {
169
- this.source = source;
170
- if (node_process.env.LOG_TOKENS)
171
- console.log('|', cst.prettyToken(source));
172
- if (this.atScalar) {
173
- this.atScalar = false;
174
- yield* this.step();
175
- this.offset += source.length;
176
- return;
177
- }
178
- const type = cst.tokenType(source);
179
- if (!type) {
180
- const message = `Not a YAML token: ${source}`;
181
- yield* this.pop({ type: 'error', offset: this.offset, message, source });
182
- this.offset += source.length;
183
- }
184
- else if (type === 'scalar') {
185
- this.atNewLine = false;
186
- this.atScalar = true;
187
- this.type = 'scalar';
188
- }
189
- else {
190
- this.type = type;
191
- yield* this.step();
192
- switch (type) {
193
- case 'newline':
194
- this.atNewLine = true;
195
- this.indent = 0;
196
- if (this.onNewLine)
197
- this.onNewLine(this.offset + source.length);
198
- break;
199
- case 'space':
200
- if (this.atNewLine && source[0] === ' ')
201
- this.indent += source.length;
202
- break;
203
- case 'explicit-key-ind':
204
- case 'map-value-ind':
205
- case 'seq-item-ind':
206
- if (this.atNewLine)
207
- this.indent += source.length;
208
- break;
209
- case 'doc-mode':
210
- case 'flow-error-end':
211
- return;
212
- default:
213
- this.atNewLine = false;
214
- }
215
- this.offset += source.length;
216
- }
217
- }
218
- /** Call at end of input to push out any remaining constructions */
219
- *end() {
220
- while (this.stack.length > 0)
221
- yield* this.pop();
222
- }
223
- get sourceToken() {
224
- const st = {
225
- type: this.type,
226
- offset: this.offset,
227
- indent: this.indent,
228
- source: this.source
229
- };
230
- return st;
231
- }
232
- *step() {
233
- const top = this.peek(1);
234
- if (this.type === 'doc-end' && top?.type !== 'doc-end') {
235
- while (this.stack.length > 0)
236
- yield* this.pop();
237
- this.stack.push({
238
- type: 'doc-end',
239
- offset: this.offset,
240
- source: this.source
241
- });
242
- return;
243
- }
244
- if (!top)
245
- return yield* this.stream();
246
- switch (top.type) {
247
- case 'document':
248
- return yield* this.document(top);
249
- case 'alias':
250
- case 'scalar':
251
- case 'single-quoted-scalar':
252
- case 'double-quoted-scalar':
253
- return yield* this.scalar(top);
254
- case 'block-scalar':
255
- return yield* this.blockScalar(top);
256
- case 'block-map':
257
- return yield* this.blockMap(top);
258
- case 'block-seq':
259
- return yield* this.blockSequence(top);
260
- case 'flow-collection':
261
- return yield* this.flowCollection(top);
262
- case 'doc-end':
263
- return yield* this.documentEnd(top);
264
- }
265
- /* istanbul ignore next should not happen */
266
- yield* this.pop();
267
- }
268
- peek(n) {
269
- return this.stack[this.stack.length - n];
270
- }
271
- *pop(error) {
272
- const token = error ?? this.stack.pop();
273
- /* istanbul ignore if should not happen */
274
- if (!token) {
275
- const message = 'Tried to pop an empty stack';
276
- yield { type: 'error', offset: this.offset, source: '', message };
277
- }
278
- else if (this.stack.length === 0) {
279
- yield token;
280
- }
281
- else {
282
- const top = this.peek(1);
283
- if (token.type === 'block-scalar') {
284
- // Block scalars use their parent rather than header indent
285
- token.indent = 'indent' in top ? top.indent : 0;
286
- }
287
- else if (token.type === 'flow-collection' && top.type === 'document') {
288
- // Ignore all indent for top-level flow collections
289
- token.indent = 0;
290
- }
291
- if (token.type === 'flow-collection')
292
- fixFlowSeqItems(token);
293
- switch (top.type) {
294
- case 'document':
295
- top.value = token;
296
- break;
297
- case 'block-scalar':
298
- top.props.push(token); // error
299
- break;
300
- case 'block-map': {
301
- const it = top.items[top.items.length - 1];
302
- if (it.value) {
303
- top.items.push({ start: [], key: token, sep: [] });
304
- this.onKeyLine = true;
305
- return;
306
- }
307
- else if (it.sep) {
308
- it.value = token;
309
- }
310
- else {
311
- Object.assign(it, { key: token, sep: [] });
312
- this.onKeyLine = !it.explicitKey;
313
- return;
314
- }
315
- break;
316
- }
317
- case 'block-seq': {
318
- const it = top.items[top.items.length - 1];
319
- if (it.value)
320
- top.items.push({ start: [], value: token });
321
- else
322
- it.value = token;
323
- break;
324
- }
325
- case 'flow-collection': {
326
- const it = top.items[top.items.length - 1];
327
- if (!it || it.value)
328
- top.items.push({ start: [], key: token, sep: [] });
329
- else if (it.sep)
330
- it.value = token;
331
- else
332
- Object.assign(it, { key: token, sep: [] });
333
- return;
334
- }
335
- /* istanbul ignore next should not happen */
336
- default:
337
- yield* this.pop();
338
- yield* this.pop(token);
339
- }
340
- if ((top.type === 'document' ||
341
- top.type === 'block-map' ||
342
- top.type === 'block-seq') &&
343
- (token.type === 'block-map' || token.type === 'block-seq')) {
344
- const last = token.items[token.items.length - 1];
345
- if (last &&
346
- !last.sep &&
347
- !last.value &&
348
- last.start.length > 0 &&
349
- findNonEmptyIndex(last.start) === -1 &&
350
- (token.indent === 0 ||
351
- last.start.every(st => st.type !== 'comment' || st.indent < token.indent))) {
352
- if (top.type === 'document')
353
- top.end = last.start;
354
- else
355
- top.items.push({ start: last.start });
356
- token.items.splice(-1, 1);
357
- }
358
- }
359
- }
360
- }
361
- *stream() {
362
- switch (this.type) {
363
- case 'directive-line':
364
- yield { type: 'directive', offset: this.offset, source: this.source };
365
- return;
366
- case 'byte-order-mark':
367
- case 'space':
368
- case 'comment':
369
- case 'newline':
370
- yield this.sourceToken;
371
- return;
372
- case 'doc-mode':
373
- case 'doc-start': {
374
- const doc = {
375
- type: 'document',
376
- offset: this.offset,
377
- start: []
378
- };
379
- if (this.type === 'doc-start')
380
- doc.start.push(this.sourceToken);
381
- this.stack.push(doc);
382
- return;
383
- }
384
- }
385
- yield {
386
- type: 'error',
387
- offset: this.offset,
388
- message: `Unexpected ${this.type} token in YAML stream`,
389
- source: this.source
390
- };
391
- }
392
- *document(doc) {
393
- if (doc.value)
394
- return yield* this.lineEnd(doc);
395
- switch (this.type) {
396
- case 'doc-start': {
397
- if (findNonEmptyIndex(doc.start) !== -1) {
398
- yield* this.pop();
399
- yield* this.step();
400
- }
401
- else
402
- doc.start.push(this.sourceToken);
403
- return;
404
- }
405
- case 'anchor':
406
- case 'tag':
407
- case 'space':
408
- case 'comment':
409
- case 'newline':
410
- doc.start.push(this.sourceToken);
411
- return;
412
- }
413
- const bv = this.startBlockValue(doc);
414
- if (bv)
415
- this.stack.push(bv);
416
- else {
417
- yield {
418
- type: 'error',
419
- offset: this.offset,
420
- message: `Unexpected ${this.type} token in YAML document`,
421
- source: this.source
422
- };
423
- }
424
- }
425
- *scalar(scalar) {
426
- if (this.type === 'map-value-ind') {
427
- const prev = getPrevProps(this.peek(2));
428
- const start = getFirstKeyStartProps(prev);
429
- let sep;
430
- if (scalar.end) {
431
- sep = scalar.end;
432
- sep.push(this.sourceToken);
433
- delete scalar.end;
434
- }
435
- else
436
- sep = [this.sourceToken];
437
- const map = {
438
- type: 'block-map',
439
- offset: scalar.offset,
440
- indent: scalar.indent,
441
- items: [{ start, key: scalar, sep }]
442
- };
443
- this.onKeyLine = true;
444
- this.stack[this.stack.length - 1] = map;
445
- }
446
- else
447
- yield* this.lineEnd(scalar);
448
- }
449
- *blockScalar(scalar) {
450
- switch (this.type) {
451
- case 'space':
452
- case 'comment':
453
- case 'newline':
454
- scalar.props.push(this.sourceToken);
455
- return;
456
- case 'scalar':
457
- scalar.source = this.source;
458
- // block-scalar source includes trailing newline
459
- this.atNewLine = true;
460
- this.indent = 0;
461
- if (this.onNewLine) {
462
- let nl = this.source.indexOf('\n') + 1;
463
- while (nl !== 0) {
464
- this.onNewLine(this.offset + nl);
465
- nl = this.source.indexOf('\n', nl) + 1;
466
- }
467
- }
468
- yield* this.pop();
469
- break;
470
- /* istanbul ignore next should not happen */
471
- default:
472
- yield* this.pop();
473
- yield* this.step();
474
- }
475
- }
476
- *blockMap(map) {
477
- const it = map.items[map.items.length - 1];
478
- // it.sep is true-ish if pair already has key or : separator
479
- switch (this.type) {
480
- case 'newline':
481
- this.onKeyLine = false;
482
- if (it.value) {
483
- const end = 'end' in it.value ? it.value.end : undefined;
484
- const last = Array.isArray(end) ? end[end.length - 1] : undefined;
485
- if (last?.type === 'comment')
486
- end?.push(this.sourceToken);
487
- else
488
- map.items.push({ start: [this.sourceToken] });
489
- }
490
- else if (it.sep) {
491
- it.sep.push(this.sourceToken);
492
- }
493
- else {
494
- it.start.push(this.sourceToken);
495
- }
496
- return;
497
- case 'space':
498
- case 'comment':
499
- if (it.value) {
500
- map.items.push({ start: [this.sourceToken] });
501
- }
502
- else if (it.sep) {
503
- it.sep.push(this.sourceToken);
504
- }
505
- else {
506
- if (this.atIndentedComment(it.start, map.indent)) {
507
- const prev = map.items[map.items.length - 2];
508
- const end = prev?.value?.end;
509
- if (Array.isArray(end)) {
510
- Array.prototype.push.apply(end, it.start);
511
- end.push(this.sourceToken);
512
- map.items.pop();
513
- return;
514
- }
515
- }
516
- it.start.push(this.sourceToken);
517
- }
518
- return;
519
- }
520
- if (this.indent >= map.indent) {
521
- const atMapIndent = !this.onKeyLine && this.indent === map.indent;
522
- const atNextItem = atMapIndent &&
523
- (it.sep || it.explicitKey) &&
524
- this.type !== 'seq-item-ind';
525
- // For empty nodes, assign newline-separated not indented empty tokens to following node
526
- let start = [];
527
- if (atNextItem && it.sep && !it.value) {
528
- const nl = [];
529
- for (let i = 0; i < it.sep.length; ++i) {
530
- const st = it.sep[i];
531
- switch (st.type) {
532
- case 'newline':
533
- nl.push(i);
534
- break;
535
- case 'space':
536
- break;
537
- case 'comment':
538
- if (st.indent > map.indent)
539
- nl.length = 0;
540
- break;
541
- default:
542
- nl.length = 0;
543
- }
544
- }
545
- if (nl.length >= 2)
546
- start = it.sep.splice(nl[1]);
547
- }
548
- switch (this.type) {
549
- case 'anchor':
550
- case 'tag':
551
- if (atNextItem || it.value) {
552
- start.push(this.sourceToken);
553
- map.items.push({ start });
554
- this.onKeyLine = true;
555
- }
556
- else if (it.sep) {
557
- it.sep.push(this.sourceToken);
558
- }
559
- else {
560
- it.start.push(this.sourceToken);
561
- }
562
- return;
563
- case 'explicit-key-ind':
564
- if (!it.sep && !it.explicitKey) {
565
- it.start.push(this.sourceToken);
566
- it.explicitKey = true;
567
- }
568
- else if (atNextItem || it.value) {
569
- start.push(this.sourceToken);
570
- map.items.push({ start, explicitKey: true });
571
- }
572
- else {
573
- this.stack.push({
574
- type: 'block-map',
575
- offset: this.offset,
576
- indent: this.indent,
577
- items: [{ start: [this.sourceToken], explicitKey: true }]
578
- });
579
- }
580
- this.onKeyLine = true;
581
- return;
582
- case 'map-value-ind':
583
- if (it.explicitKey) {
584
- if (!it.sep) {
585
- if (includesToken(it.start, 'newline')) {
586
- Object.assign(it, { key: null, sep: [this.sourceToken] });
587
- }
588
- else {
589
- const start = getFirstKeyStartProps(it.start);
590
- this.stack.push({
591
- type: 'block-map',
592
- offset: this.offset,
593
- indent: this.indent,
594
- items: [{ start, key: null, sep: [this.sourceToken] }]
595
- });
596
- }
597
- }
598
- else if (it.value) {
599
- map.items.push({ start: [], key: null, sep: [this.sourceToken] });
600
- }
601
- else if (includesToken(it.sep, 'map-value-ind')) {
602
- this.stack.push({
603
- type: 'block-map',
604
- offset: this.offset,
605
- indent: this.indent,
606
- items: [{ start, key: null, sep: [this.sourceToken] }]
607
- });
608
- }
609
- else if (isFlowToken(it.key) &&
610
- !includesToken(it.sep, 'newline')) {
611
- const start = getFirstKeyStartProps(it.start);
612
- const key = it.key;
613
- const sep = it.sep;
614
- sep.push(this.sourceToken);
615
- // @ts-expect-error type guard is wrong here
616
- delete it.key;
617
- // @ts-expect-error type guard is wrong here
618
- delete it.sep;
619
- this.stack.push({
620
- type: 'block-map',
621
- offset: this.offset,
622
- indent: this.indent,
623
- items: [{ start, key, sep }]
624
- });
625
- }
626
- else if (start.length > 0) {
627
- // Not actually at next item
628
- it.sep = it.sep.concat(start, this.sourceToken);
629
- }
630
- else {
631
- it.sep.push(this.sourceToken);
632
- }
633
- }
634
- else {
635
- if (!it.sep) {
636
- Object.assign(it, { key: null, sep: [this.sourceToken] });
637
- }
638
- else if (it.value || atNextItem) {
639
- map.items.push({ start, key: null, sep: [this.sourceToken] });
640
- }
641
- else if (includesToken(it.sep, 'map-value-ind')) {
642
- this.stack.push({
643
- type: 'block-map',
644
- offset: this.offset,
645
- indent: this.indent,
646
- items: [{ start: [], key: null, sep: [this.sourceToken] }]
647
- });
648
- }
649
- else {
650
- it.sep.push(this.sourceToken);
651
- }
652
- }
653
- this.onKeyLine = true;
654
- return;
655
- case 'alias':
656
- case 'scalar':
657
- case 'single-quoted-scalar':
658
- case 'double-quoted-scalar': {
659
- const fs = this.flowScalar(this.type);
660
- if (atNextItem || it.value) {
661
- map.items.push({ start, key: fs, sep: [] });
662
- this.onKeyLine = true;
663
- }
664
- else if (it.sep) {
665
- this.stack.push(fs);
666
- }
667
- else {
668
- Object.assign(it, { key: fs, sep: [] });
669
- this.onKeyLine = true;
670
- }
671
- return;
672
- }
673
- default: {
674
- const bv = this.startBlockValue(map);
675
- if (bv) {
676
- if (bv.type === 'block-seq') {
677
- if (!it.explicitKey &&
678
- it.sep &&
679
- !includesToken(it.sep, 'newline')) {
680
- yield* this.pop({
681
- type: 'error',
682
- offset: this.offset,
683
- message: 'Unexpected block-seq-ind on same line with key',
684
- source: this.source
685
- });
686
- return;
687
- }
688
- }
689
- else if (atMapIndent) {
690
- map.items.push({ start });
691
- }
692
- this.stack.push(bv);
693
- return;
694
- }
695
- }
696
- }
697
- }
698
- yield* this.pop();
699
- yield* this.step();
700
- }
701
- *blockSequence(seq) {
702
- const it = seq.items[seq.items.length - 1];
703
- switch (this.type) {
704
- case 'newline':
705
- if (it.value) {
706
- const end = 'end' in it.value ? it.value.end : undefined;
707
- const last = Array.isArray(end) ? end[end.length - 1] : undefined;
708
- if (last?.type === 'comment')
709
- end?.push(this.sourceToken);
710
- else
711
- seq.items.push({ start: [this.sourceToken] });
712
- }
713
- else
714
- it.start.push(this.sourceToken);
715
- return;
716
- case 'space':
717
- case 'comment':
718
- if (it.value)
719
- seq.items.push({ start: [this.sourceToken] });
720
- else {
721
- if (this.atIndentedComment(it.start, seq.indent)) {
722
- const prev = seq.items[seq.items.length - 2];
723
- const end = prev?.value?.end;
724
- if (Array.isArray(end)) {
725
- Array.prototype.push.apply(end, it.start);
726
- end.push(this.sourceToken);
727
- seq.items.pop();
728
- return;
729
- }
730
- }
731
- it.start.push(this.sourceToken);
732
- }
733
- return;
734
- case 'anchor':
735
- case 'tag':
736
- if (it.value || this.indent <= seq.indent)
737
- break;
738
- it.start.push(this.sourceToken);
739
- return;
740
- case 'seq-item-ind':
741
- if (this.indent !== seq.indent)
742
- break;
743
- if (it.value || includesToken(it.start, 'seq-item-ind'))
744
- seq.items.push({ start: [this.sourceToken] });
745
- else
746
- it.start.push(this.sourceToken);
747
- return;
748
- }
749
- if (this.indent > seq.indent) {
750
- const bv = this.startBlockValue(seq);
751
- if (bv) {
752
- this.stack.push(bv);
753
- return;
754
- }
755
- }
756
- yield* this.pop();
757
- yield* this.step();
758
- }
759
- *flowCollection(fc) {
760
- const it = fc.items[fc.items.length - 1];
761
- if (this.type === 'flow-error-end') {
762
- let top;
763
- do {
764
- yield* this.pop();
765
- top = this.peek(1);
766
- } while (top?.type === 'flow-collection');
767
- }
768
- else if (fc.end.length === 0) {
769
- switch (this.type) {
770
- case 'comma':
771
- case 'explicit-key-ind':
772
- if (!it || it.sep)
773
- fc.items.push({ start: [this.sourceToken] });
774
- else
775
- it.start.push(this.sourceToken);
776
- return;
777
- case 'map-value-ind':
778
- if (!it || it.value)
779
- fc.items.push({ start: [], key: null, sep: [this.sourceToken] });
780
- else if (it.sep)
781
- it.sep.push(this.sourceToken);
782
- else
783
- Object.assign(it, { key: null, sep: [this.sourceToken] });
784
- return;
785
- case 'space':
786
- case 'comment':
787
- case 'newline':
788
- case 'anchor':
789
- case 'tag':
790
- if (!it || it.value)
791
- fc.items.push({ start: [this.sourceToken] });
792
- else if (it.sep)
793
- it.sep.push(this.sourceToken);
794
- else
795
- it.start.push(this.sourceToken);
796
- return;
797
- case 'alias':
798
- case 'scalar':
799
- case 'single-quoted-scalar':
800
- case 'double-quoted-scalar': {
801
- const fs = this.flowScalar(this.type);
802
- if (!it || it.value)
803
- fc.items.push({ start: [], key: fs, sep: [] });
804
- else if (it.sep)
805
- this.stack.push(fs);
806
- else
807
- Object.assign(it, { key: fs, sep: [] });
808
- return;
809
- }
810
- case 'flow-map-end':
811
- case 'flow-seq-end':
812
- fc.end.push(this.sourceToken);
813
- return;
814
- }
815
- const bv = this.startBlockValue(fc);
816
- /* istanbul ignore else should not happen */
817
- if (bv)
818
- this.stack.push(bv);
819
- else {
820
- yield* this.pop();
821
- yield* this.step();
822
- }
823
- }
824
- else {
825
- const parent = this.peek(2);
826
- if (parent.type === 'block-map' &&
827
- ((this.type === 'map-value-ind' && parent.indent === fc.indent) ||
828
- (this.type === 'newline' &&
829
- !parent.items[parent.items.length - 1].sep))) {
830
- yield* this.pop();
831
- yield* this.step();
832
- }
833
- else if (this.type === 'map-value-ind' &&
834
- parent.type !== 'flow-collection') {
835
- const prev = getPrevProps(parent);
836
- const start = getFirstKeyStartProps(prev);
837
- fixFlowSeqItems(fc);
838
- const sep = fc.end.splice(1, fc.end.length);
839
- sep.push(this.sourceToken);
840
- const map = {
841
- type: 'block-map',
842
- offset: fc.offset,
843
- indent: fc.indent,
844
- items: [{ start, key: fc, sep }]
845
- };
846
- this.onKeyLine = true;
847
- this.stack[this.stack.length - 1] = map;
848
- }
849
- else {
850
- yield* this.lineEnd(fc);
851
- }
852
- }
853
- }
854
- flowScalar(type) {
855
- if (this.onNewLine) {
856
- let nl = this.source.indexOf('\n') + 1;
857
- while (nl !== 0) {
858
- this.onNewLine(this.offset + nl);
859
- nl = this.source.indexOf('\n', nl) + 1;
860
- }
861
- }
862
- return {
863
- type,
864
- offset: this.offset,
865
- indent: this.indent,
866
- source: this.source
867
- };
868
- }
869
- startBlockValue(parent) {
870
- switch (this.type) {
871
- case 'alias':
872
- case 'scalar':
873
- case 'single-quoted-scalar':
874
- case 'double-quoted-scalar':
875
- return this.flowScalar(this.type);
876
- case 'block-scalar-header':
877
- return {
878
- type: 'block-scalar',
879
- offset: this.offset,
880
- indent: this.indent,
881
- props: [this.sourceToken],
882
- source: ''
883
- };
884
- case 'flow-map-start':
885
- case 'flow-seq-start':
886
- return {
887
- type: 'flow-collection',
888
- offset: this.offset,
889
- indent: this.indent,
890
- start: this.sourceToken,
891
- items: [],
892
- end: []
893
- };
894
- case 'seq-item-ind':
895
- return {
896
- type: 'block-seq',
897
- offset: this.offset,
898
- indent: this.indent,
899
- items: [{ start: [this.sourceToken] }]
900
- };
901
- case 'explicit-key-ind': {
902
- this.onKeyLine = true;
903
- const prev = getPrevProps(parent);
904
- const start = getFirstKeyStartProps(prev);
905
- start.push(this.sourceToken);
906
- return {
907
- type: 'block-map',
908
- offset: this.offset,
909
- indent: this.indent,
910
- items: [{ start, explicitKey: true }]
911
- };
912
- }
913
- case 'map-value-ind': {
914
- this.onKeyLine = true;
915
- const prev = getPrevProps(parent);
916
- const start = getFirstKeyStartProps(prev);
917
- return {
918
- type: 'block-map',
919
- offset: this.offset,
920
- indent: this.indent,
921
- items: [{ start, key: null, sep: [this.sourceToken] }]
922
- };
923
- }
924
- }
925
- return null;
926
- }
927
- atIndentedComment(start, indent) {
928
- if (this.type !== 'comment')
929
- return false;
930
- if (this.indent <= indent)
931
- return false;
932
- return start.every(st => st.type === 'newline' || st.type === 'space');
933
- }
934
- *documentEnd(docEnd) {
935
- if (this.type !== 'doc-mode') {
936
- if (docEnd.end)
937
- docEnd.end.push(this.sourceToken);
938
- else
939
- docEnd.end = [this.sourceToken];
940
- if (this.type === 'newline')
941
- yield* this.pop();
942
- }
943
- }
944
- *lineEnd(token) {
945
- switch (this.type) {
946
- case 'comma':
947
- case 'doc-start':
948
- case 'doc-end':
949
- case 'flow-seq-end':
950
- case 'flow-map-end':
951
- case 'map-value-ind':
952
- yield* this.pop();
953
- yield* this.step();
954
- break;
955
- case 'newline':
956
- this.onKeyLine = false;
957
- // fallthrough
958
- case 'space':
959
- case 'comment':
960
- default:
961
- // all other values are errors
962
- if (token.end)
963
- token.end.push(this.sourceToken);
964
- else
965
- token.end = [this.sourceToken];
966
- if (this.type === 'newline')
967
- yield* this.pop();
968
- }
969
- }
970
- }
971
-
972
- exports.Parser = Parser;