@ykdz/template 0.1.0-experimental.1 → 0.2.0

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 (1690) hide show
  1. package/dist/application.d.ts +18 -48
  2. package/dist/application.js +164 -111
  3. package/dist/input-schemas.d.ts +21 -44
  4. package/dist/input-schemas.js +46 -43
  5. package/dist/input-validation.js +3 -30
  6. package/dist/main.js +116 -218
  7. package/dist/preset-catalog.d.ts +410 -29
  8. package/dist/preset-catalog.js +4 -30
  9. package/dist/result-schemas.d.ts +146 -250
  10. package/dist/result-schemas.js +57 -59
  11. package/node_modules/@ykdz/default-content-authoring/dist/contracts.d.ts +240 -0
  12. package/node_modules/@ykdz/default-content-authoring/dist/environment-needs.d.ts +16 -0
  13. package/node_modules/@ykdz/default-content-authoring/dist/preset-root-contribution.d.ts +36 -0
  14. package/node_modules/@ykdz/default-content-authoring/dist/preset-root-contribution.js +1 -0
  15. package/node_modules/@ykdz/default-content-authoring/dist/reference-package.d.ts +65 -0
  16. package/node_modules/@ykdz/default-content-authoring/dist/reference-package.js +742 -0
  17. package/node_modules/@ykdz/default-content-authoring/package.json +59 -0
  18. package/node_modules/@ykdz/preset-rust-bin/native/package.json +2 -0
  19. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.d.ts +2 -40
  20. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.d.ts.map +1 -1
  21. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.js +3 -2
  22. package/node_modules/@ykdz/preset-ts-cli/native/package.json +4 -0
  23. package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.d.ts +2 -15
  24. package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.d.ts.map +1 -1
  25. package/node_modules/@ykdz/preset-ts-lib/native/package.json +3 -0
  26. package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.d.ts +2 -15
  27. package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.d.ts.map +1 -1
  28. package/node_modules/@ykdz/preset-vike-app/native/package.json +3 -0
  29. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.d.ts +40 -23
  30. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.d.ts.map +1 -1
  31. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.js +19 -36
  32. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.d.ts +54 -17
  33. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.d.ts.map +1 -1
  34. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.js +393 -207
  35. package/node_modules/@ykdz/preset-vike-app/package.json +2 -1
  36. package/node_modules/@ykdz/preset-vue-app/native/package.json +2 -0
  37. package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.d.ts +2 -15
  38. package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.d.ts.map +1 -1
  39. package/node_modules/@ykdz/preset-vue-hono-app/native/package.json +4 -0
  40. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.d.ts +49 -23
  41. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.d.ts.map +1 -1
  42. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.js +31 -102
  43. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.d.ts +42 -0
  44. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.d.ts.map +1 -0
  45. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.js +173 -0
  46. package/node_modules/@ykdz/reference-hono-api/native/package.json +3 -1
  47. package/node_modules/@ykdz/reference-hono-api/native/template-dist/definition.d.ts +1 -1
  48. package/node_modules/@ykdz/reference-hono-api/native/template-dist/definition.js +51 -18
  49. package/node_modules/@ykdz/reference-hono-api/native/tsconfig.json +1 -1
  50. package/node_modules/@ykdz/reference-hono-api/native/turbo.json +2 -2
  51. package/node_modules/@ykdz/reference-hono-api/package.json +3 -2
  52. package/node_modules/@ykdz/reference-npm-publication/native/README.md +14 -6
  53. package/node_modules/@ykdz/reference-npm-publication/native/package.json +2 -2
  54. package/node_modules/@ykdz/reference-npm-publication/native/resources/release.yml +4 -1
  55. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.d.ts +8 -4
  56. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.d.ts.map +1 -1
  57. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.js +68 -21
  58. package/node_modules/@ykdz/reference-npm-publication/package.json +1 -2
  59. package/node_modules/@ykdz/reference-rust-bin/native/package.json +13 -3
  60. package/node_modules/@ykdz/reference-rust-bin/native/resources/gitignore +5 -0
  61. package/node_modules/@ykdz/reference-rust-bin/native/resources/npmignore +1 -0
  62. package/node_modules/@ykdz/reference-rust-bin/native/template/rust-toolchain.toml +1 -1
  63. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.d.ts +86 -12
  64. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.d.ts.map +1 -1
  65. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.js +227 -106
  66. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.d.ts +6 -0
  67. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.d.ts.map +1 -0
  68. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.js +44 -0
  69. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.d.ts +19 -0
  70. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.d.ts.map +1 -0
  71. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.js +65 -0
  72. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.d.ts +15 -0
  73. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.d.ts.map +1 -0
  74. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.js +44 -0
  75. package/node_modules/@ykdz/reference-rust-bin/native/turbo.json +3 -1
  76. package/node_modules/@ykdz/reference-rust-bin/package.json +6 -1
  77. package/node_modules/@ykdz/reference-tooling-config/native/package.json +4 -5
  78. package/node_modules/@ykdz/reference-tooling-config/native/template/workspace/oxfmt.config.ts +1 -0
  79. package/node_modules/@ykdz/reference-tooling-config/native/template/workspace/oxlint.config.ts +4 -0
  80. package/node_modules/@ykdz/reference-tooling-config/native/template-dist/definition.d.ts +1 -27
  81. package/node_modules/@ykdz/reference-tooling-config/native/template-dist/definition.js +53 -11
  82. package/node_modules/@ykdz/reference-tooling-config/native/tsconfig.json +1 -1
  83. package/node_modules/@ykdz/reference-tooling-config/native/turbo.json +5 -4
  84. package/node_modules/@ykdz/reference-tooling-config/package.json +5 -1
  85. package/node_modules/@ykdz/reference-ts-cli/native/package.json +8 -8
  86. package/node_modules/@ykdz/reference-ts-cli/native/resources/gitignore +5 -0
  87. package/node_modules/@ykdz/reference-ts-cli/native/resources/npmignore +1 -0
  88. package/node_modules/@ykdz/reference-ts-cli/native/src/cli-command-identity.ts +18 -0
  89. package/node_modules/@ykdz/reference-ts-cli/native/src/cli.ts +1 -1
  90. package/node_modules/@ykdz/reference-ts-cli/native/src/main.ts +9 -19
  91. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.d.ts +8 -6
  92. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.d.ts.map +1 -1
  93. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.js +119 -59
  94. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.d.ts +7 -0
  95. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.d.ts.map +1 -0
  96. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.js +28 -0
  97. package/node_modules/@ykdz/reference-ts-cli/native/test/e2e/journeys/lookup.journey.ts +1 -1
  98. package/node_modules/@ykdz/reference-ts-cli/native/test/integration/command.test.ts +1 -1
  99. package/node_modules/@ykdz/reference-ts-cli/native/test/unit/cli-command-identity.test.ts +7 -55
  100. package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.build.json +1 -1
  101. package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.node.json +8 -2
  102. package/node_modules/@ykdz/reference-ts-cli/native/turbo.json +11 -3
  103. package/node_modules/@ykdz/reference-ts-cli/package.json +3 -2
  104. package/node_modules/@ykdz/reference-ts-lib/native/package.json +4 -2
  105. package/node_modules/@ykdz/reference-ts-lib/native/resources/gitignore +3 -0
  106. package/node_modules/@ykdz/reference-ts-lib/native/resources/npmignore +1 -0
  107. package/node_modules/@ykdz/reference-ts-lib/native/src/index.ts +1 -3
  108. package/node_modules/@ykdz/reference-ts-lib/native/src/name-schema.ts +2 -2
  109. package/node_modules/@ykdz/reference-ts-lib/native/template-dist/definition.d.ts +1 -1
  110. package/node_modules/@ykdz/reference-ts-lib/native/template-dist/definition.js +70 -26
  111. package/node_modules/@ykdz/reference-ts-lib/native/tsconfig.node.json +1 -1
  112. package/node_modules/@ykdz/reference-ts-lib/native/turbo.json +3 -1
  113. package/node_modules/@ykdz/reference-ts-lib/package.json +3 -2
  114. package/node_modules/@ykdz/reference-vike-db/native/package.json +3 -1
  115. package/node_modules/@ykdz/reference-vike-db/native/template-dist/definition.d.ts +1 -1
  116. package/node_modules/@ykdz/reference-vike-db/native/template-dist/definition.js +70 -23
  117. package/node_modules/@ykdz/reference-vike-db/native/tsconfig.node.json +1 -1
  118. package/node_modules/@ykdz/reference-vike-db/native/turbo.json +3 -3
  119. package/node_modules/@ykdz/reference-vike-db/package.json +4 -2
  120. package/node_modules/@ykdz/reference-vike-migrations/native/package.json +3 -1
  121. package/node_modules/@ykdz/reference-vike-migrations/native/template-dist/definition.d.ts +2 -1
  122. package/node_modules/@ykdz/reference-vike-migrations/native/template-dist/definition.js +78 -23
  123. package/node_modules/@ykdz/reference-vike-migrations/native/tsconfig.json +1 -1
  124. package/node_modules/@ykdz/reference-vike-migrations/native/turbo.json +3 -3
  125. package/node_modules/@ykdz/reference-vike-migrations/package.json +4 -2
  126. package/node_modules/@ykdz/reference-vike-web/native/package.json +3 -1
  127. package/node_modules/@ykdz/reference-vike-web/native/template-dist/definition.d.ts +2 -1
  128. package/node_modules/@ykdz/reference-vike-web/native/template-dist/definition.js +137 -38
  129. package/node_modules/@ykdz/reference-vike-web/native/tsconfig.app.json +1 -1
  130. package/node_modules/@ykdz/reference-vike-web/native/tsconfig.node.json +1 -1
  131. package/node_modules/@ykdz/reference-vike-web/native/turbo.json +8 -4
  132. package/node_modules/@ykdz/reference-vike-web/package.json +4 -3
  133. package/node_modules/@ykdz/reference-vue-app/native/package.json +3 -1
  134. package/node_modules/@ykdz/reference-vue-app/native/template-dist/definition.d.ts +1 -1
  135. package/node_modules/@ykdz/reference-vue-app/native/template-dist/definition.js +72 -32
  136. package/node_modules/@ykdz/reference-vue-app/native/tsconfig.app.json +1 -1
  137. package/node_modules/@ykdz/reference-vue-app/native/tsconfig.node.json +1 -1
  138. package/node_modules/@ykdz/reference-vue-app/native/turbo.json +2 -2
  139. package/node_modules/@ykdz/reference-vue-app/package.json +3 -3
  140. package/node_modules/@ykdz/reference-vue-hono-web/native/package.json +3 -1
  141. package/node_modules/@ykdz/reference-vue-hono-web/native/template-dist/definition.d.ts +3 -1
  142. package/node_modules/@ykdz/reference-vue-hono-web/native/template-dist/definition.js +78 -28
  143. package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.app.json +1 -1
  144. package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.node.json +1 -1
  145. package/node_modules/@ykdz/reference-vue-hono-web/native/turbo.json +2 -2
  146. package/node_modules/@ykdz/reference-vue-hono-web/package.json +4 -3
  147. package/node_modules/@ykdz/reference-workspace-root/native/package.json +59 -0
  148. package/node_modules/@ykdz/reference-workspace-root/native/template/files/turbo.json +40 -0
  149. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.d.ts +10 -0
  150. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.d.ts.map +1 -0
  151. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.js +140 -0
  152. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/editor-customization.d.ts +19 -0
  153. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/editor-customization.d.ts.map +1 -0
  154. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/editor-customization.js +82 -0
  155. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.d.ts +6 -0
  156. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.d.ts.map +1 -0
  157. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.js +10 -0
  158. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment.d.ts +36 -0
  159. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment.d.ts.map +1 -0
  160. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment.js +210 -0
  161. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/project-github.d.ts +31 -0
  162. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/project-github.d.ts.map +1 -0
  163. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/project-github.js +94 -0
  164. package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.config.json +10 -0
  165. package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.json +7 -0
  166. package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.scripts.json +8 -0
  167. package/node_modules/@ykdz/reference-workspace-root/package.json +33 -0
  168. package/node_modules/@ykdz/template-content/dist/index.d.ts +10 -10
  169. package/node_modules/@ykdz/template-content/dist/index.js +3 -3
  170. package/node_modules/@ykdz/template-content/package.json +2 -1
  171. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/dist/index.d.ts +3 -45
  172. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/dist/index.js +18 -23
  173. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/package.json +2 -2
  174. package/node_modules/@ykdz/template-core/dist/composition.d.ts +49 -0
  175. package/node_modules/@ykdz/template-core/dist/composition.js +1 -0
  176. package/node_modules/@ykdz/template-core/dist/content-identity.d.ts +10 -0
  177. package/node_modules/@ykdz/template-core/dist/content-identity.js +21 -2
  178. package/node_modules/@ykdz/template-core/dist/generation-record.d.ts +63 -28
  179. package/node_modules/@ykdz/template-core/dist/generation-record.js +104 -35
  180. package/node_modules/@ykdz/template-core/dist/json.d.ts +8 -0
  181. package/node_modules/@ykdz/template-core/dist/json.js +62 -0
  182. package/node_modules/@ykdz/template-core/dist/package-contribution.d.ts +29 -12
  183. package/node_modules/@ykdz/template-core/dist/package-contribution.js +164 -33
  184. package/node_modules/@ykdz/template-core/dist/preset-definition.d.ts +6 -33
  185. package/node_modules/@ykdz/template-core/dist/preset-definition.js +23 -6
  186. package/node_modules/@ykdz/template-core/dist/project-blueprint.d.ts +40 -30
  187. package/node_modules/@ykdz/template-core/dist/project-blueprint.js +145 -140
  188. package/node_modules/@ykdz/template-core/dist/project-projection.d.ts +91 -33
  189. package/node_modules/@ykdz/template-core/dist/project-projection.js +639 -323
  190. package/node_modules/@ykdz/template-core/dist/reference-package.d.ts +101 -0
  191. package/node_modules/@ykdz/template-core/dist/reference-package.js +14 -0
  192. package/node_modules/@ykdz/template-core/dist/template-source.d.ts +10 -0
  193. package/node_modules/@ykdz/template-core/dist/template-source.js +31 -0
  194. package/node_modules/@ykdz/template-core/package.json +5 -6
  195. package/node_modules/@ykdz/template-environment/dist/development-container-tool-layer.d.ts +2 -3
  196. package/node_modules/@ykdz/template-environment/dist/development-container-tool-layer.js +2 -6
  197. package/node_modules/@ykdz/template-environment/package.json +3 -3
  198. package/node_modules/@ykdz/template-generator/dist/content-source.d.ts +25 -3
  199. package/node_modules/@ykdz/template-generator/dist/content-source.js +28 -27
  200. package/node_modules/@ykdz/template-generator/dist/index.d.ts +191 -60
  201. package/node_modules/@ykdz/template-generator/dist/index.js +1868 -1000
  202. package/node_modules/@ykdz/template-generator/dist/owner-local-reference.d.ts +8 -0
  203. package/node_modules/@ykdz/template-generator/dist/owner-local-reference.js +80 -0
  204. package/node_modules/@ykdz/template-generator/package.json +2 -2
  205. package/node_modules/@ykdz/template-workspace/dist/application-requirements.d.ts +13 -3
  206. package/node_modules/@ykdz/template-workspace/dist/application-requirements.js +34 -0
  207. package/node_modules/@ykdz/template-workspace/dist/ci-diagnostic-artifact.d.ts +1 -6
  208. package/node_modules/@ykdz/template-workspace/dist/default-composition.d.ts +109 -0
  209. package/node_modules/@ykdz/template-workspace/dist/default-composition.js +1353 -0
  210. package/node_modules/@ykdz/template-workspace/dist/default-generation.d.ts +618 -0
  211. package/node_modules/@ykdz/template-workspace/dist/default-generation.js +638 -0
  212. package/node_modules/@ykdz/template-workspace/dist/default-package-identity.js +23 -19
  213. package/node_modules/@ykdz/template-workspace/dist/project-requirements.d.ts +23 -9
  214. package/node_modules/@ykdz/template-workspace/dist/project-requirements.js +16 -1
  215. package/node_modules/@ykdz/template-workspace/dist/release-toolchain-snapshot.d.ts +1 -1
  216. package/node_modules/@ykdz/template-workspace/dist/release-toolchain-snapshot.js +1 -1
  217. package/node_modules/@ykdz/template-workspace/dist/rust-toolchain-facts.d.ts +13 -7
  218. package/node_modules/@ykdz/template-workspace/dist/rust-toolchain-facts.js +35 -21
  219. package/node_modules/@ykdz/template-workspace/dist/shared-root-files.d.ts +7 -67
  220. package/node_modules/@ykdz/template-workspace/dist/shared-root-files.js +18 -50
  221. package/node_modules/@ykdz/template-workspace/dist/workspace-policy-snapshot.d.ts +0 -1
  222. package/node_modules/@ykdz/template-workspace/dist/workspace-policy-snapshot.js +7 -18
  223. package/node_modules/@ykdz/template-workspace/package.json +16 -58
  224. package/node_modules/@ykdz/template-workspace-authoring/dist/content-artifact.d.ts +38 -2
  225. package/node_modules/@ykdz/template-workspace-authoring/dist/content-artifact.js +95 -44
  226. package/node_modules/@ykdz/template-workspace-authoring/package.json +4 -3
  227. package/node_modules/@ykdz/tooling-config/base.json +15 -0
  228. package/node_modules/@ykdz/tooling-config/node.json +13 -0
  229. package/node_modules/@ykdz/tooling-config/oxfmt.config.ts +3 -0
  230. package/node_modules/@ykdz/tooling-config/oxlint.config.ts +8 -0
  231. package/node_modules/@ykdz/tooling-config/package.json +36 -0
  232. package/node_modules/zod/LICENSE +21 -0
  233. package/node_modules/zod/README.md +218 -0
  234. package/node_modules/zod/compile.cjs +96 -0
  235. package/node_modules/zod/compile.d.cts +1 -0
  236. package/node_modules/zod/compile.d.ts +1 -0
  237. package/node_modules/zod/compile.js +52 -0
  238. package/node_modules/zod/index.cjs +52 -0
  239. package/node_modules/zod/index.d.cts +3 -0
  240. package/node_modules/zod/index.d.ts +3 -0
  241. package/node_modules/zod/index.js +7 -0
  242. package/node_modules/zod/locales/index.cjs +36 -0
  243. package/node_modules/zod/locales/index.d.cts +1 -0
  244. package/node_modules/zod/locales/index.d.ts +1 -0
  245. package/node_modules/zod/locales/index.js +1 -0
  246. package/node_modules/zod/locales/package.json +7 -0
  247. package/node_modules/zod/mini/index.cjs +51 -0
  248. package/node_modules/zod/mini/index.d.cts +3 -0
  249. package/node_modules/zod/mini/index.d.ts +3 -0
  250. package/node_modules/zod/mini/index.js +3 -0
  251. package/node_modules/zod/mini/package.json +7 -0
  252. package/node_modules/zod/package.json +147 -0
  253. package/node_modules/zod/src/compile.ts +56 -0
  254. package/node_modules/zod/src/index.ts +7 -0
  255. package/node_modules/zod/src/locales/index.ts +1 -0
  256. package/node_modules/zod/src/mini/index.ts +3 -0
  257. package/node_modules/zod/src/v3/ZodError.ts +340 -0
  258. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  259. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  260. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  261. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  262. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  263. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  264. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  265. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  266. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  267. package/node_modules/zod/src/v3/errors.ts +13 -0
  268. package/node_modules/zod/src/v3/external.ts +6 -0
  269. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  270. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  271. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  272. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  273. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  274. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  275. package/node_modules/zod/src/v3/index.ts +4 -0
  276. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  277. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  278. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  279. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  280. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  281. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  282. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  283. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  284. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  285. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  286. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  287. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  288. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  289. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  290. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  291. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  292. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  293. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  294. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  295. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  296. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  297. package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
  298. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  299. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  300. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  301. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  302. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  303. package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
  304. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  305. package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
  306. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  307. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  308. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  309. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  310. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  311. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  312. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  313. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  314. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  315. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  316. package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
  317. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  318. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  319. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  320. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  321. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  322. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  323. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  324. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  325. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  326. package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
  327. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  328. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  329. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  330. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  331. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  332. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  333. package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
  334. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  335. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  336. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  337. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  338. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  339. package/node_modules/zod/src/v3/types.ts +5138 -0
  340. package/node_modules/zod/src/v4/classic/checks.ts +33 -0
  341. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  342. package/node_modules/zod/src/v4/classic/compat.ts +78 -0
  343. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  344. package/node_modules/zod/src/v4/classic/errors.ts +97 -0
  345. package/node_modules/zod/src/v4/classic/external.ts +57 -0
  346. package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
  347. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  348. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  349. package/node_modules/zod/src/v4/classic/iso.ts +20 -0
  350. package/node_modules/zod/src/v4/classic/parse.ts +88 -0
  351. package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
  352. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  353. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
  354. package/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
  355. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
  356. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  357. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  358. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  359. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
  360. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  361. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
  362. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  363. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
  364. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
  365. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  366. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  367. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  368. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  369. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
  370. package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
  371. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
  372. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  373. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  374. package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
  375. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  376. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  377. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
  378. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
  379. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
  380. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
  381. package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
  382. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  383. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  384. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  385. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
  386. package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
  387. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  388. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
  389. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
  390. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  391. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  392. package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
  393. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
  394. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
  395. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
  396. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
  397. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
  398. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  399. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
  400. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
  401. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  402. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  403. package/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
  404. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  405. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  406. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  407. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  408. package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
  409. package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
  410. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
  411. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
  412. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
  413. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  414. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  415. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
  416. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
  417. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  418. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  419. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  420. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  421. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  422. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
  423. package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
  424. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
  425. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  426. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
  427. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  428. package/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
  429. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
  430. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  431. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
  432. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
  433. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
  434. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  435. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
  436. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  437. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
  438. package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
  439. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  440. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
  441. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  442. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  443. package/node_modules/zod/src/v4/core/api.ts +1875 -0
  444. package/node_modules/zod/src/v4/core/checks.ts +1266 -0
  445. package/node_modules/zod/src/v4/core/compile.ts +2322 -0
  446. package/node_modules/zod/src/v4/core/core.ts +230 -0
  447. package/node_modules/zod/src/v4/core/doc.ts +52 -0
  448. package/node_modules/zod/src/v4/core/errors.ts +543 -0
  449. package/node_modules/zod/src/v4/core/index.ts +19 -0
  450. package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
  451. package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
  452. package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
  453. package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
  454. package/node_modules/zod/src/v4/core/parse.ts +309 -0
  455. package/node_modules/zod/src/v4/core/regexes.ts +217 -0
  456. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  457. package/node_modules/zod/src/v4/core/schemas.ts +5226 -0
  458. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  459. package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  460. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
  461. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  462. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  463. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  464. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  465. package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
  466. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  467. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  468. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  469. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  470. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
  471. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  472. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
  473. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  474. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  475. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  476. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  477. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  478. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  479. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  480. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  481. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  482. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  483. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  484. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  485. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  486. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  487. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
  488. package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
  489. package/node_modules/zod/src/v4/core/util.ts +1293 -0
  490. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  491. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  492. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  493. package/node_modules/zod/src/v4/index.ts +4 -0
  494. package/node_modules/zod/src/v4/locales/ar.ts +120 -0
  495. package/node_modules/zod/src/v4/locales/az.ts +116 -0
  496. package/node_modules/zod/src/v4/locales/be.ts +188 -0
  497. package/node_modules/zod/src/v4/locales/bg.ts +133 -0
  498. package/node_modules/zod/src/v4/locales/bn.ts +123 -0
  499. package/node_modules/zod/src/v4/locales/ca.ts +121 -0
  500. package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
  501. package/node_modules/zod/src/v4/locales/cs.ts +123 -0
  502. package/node_modules/zod/src/v4/locales/da.ts +128 -0
  503. package/node_modules/zod/src/v4/locales/de.ts +121 -0
  504. package/node_modules/zod/src/v4/locales/el.ts +124 -0
  505. package/node_modules/zod/src/v4/locales/en.ts +136 -0
  506. package/node_modules/zod/src/v4/locales/eo.ts +123 -0
  507. package/node_modules/zod/src/v4/locales/es.ts +145 -0
  508. package/node_modules/zod/src/v4/locales/fa.ts +131 -0
  509. package/node_modules/zod/src/v4/locales/fi.ts +126 -0
  510. package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
  511. package/node_modules/zod/src/v4/locales/fr.ts +139 -0
  512. package/node_modules/zod/src/v4/locales/gu.ts +123 -0
  513. package/node_modules/zod/src/v4/locales/he.ts +253 -0
  514. package/node_modules/zod/src/v4/locales/hi.ts +126 -0
  515. package/node_modules/zod/src/v4/locales/hr.ts +135 -0
  516. package/node_modules/zod/src/v4/locales/hu.ts +122 -0
  517. package/node_modules/zod/src/v4/locales/hy.ts +175 -0
  518. package/node_modules/zod/src/v4/locales/id.ts +120 -0
  519. package/node_modules/zod/src/v4/locales/index.ts +63 -0
  520. package/node_modules/zod/src/v4/locales/is.ts +124 -0
  521. package/node_modules/zod/src/v4/locales/it.ts +121 -0
  522. package/node_modules/zod/src/v4/locales/ja.ts +119 -0
  523. package/node_modules/zod/src/v4/locales/ka.ts +128 -0
  524. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  525. package/node_modules/zod/src/v4/locales/km.ts +124 -0
  526. package/node_modules/zod/src/v4/locales/kn.ts +126 -0
  527. package/node_modules/zod/src/v4/locales/ko.ts +126 -0
  528. package/node_modules/zod/src/v4/locales/lt.ts +243 -0
  529. package/node_modules/zod/src/v4/locales/mk.ts +123 -0
  530. package/node_modules/zod/src/v4/locales/ms.ts +120 -0
  531. package/node_modules/zod/src/v4/locales/ne.ts +128 -0
  532. package/node_modules/zod/src/v4/locales/nl.ts +126 -0
  533. package/node_modules/zod/src/v4/locales/nn.ts +121 -0
  534. package/node_modules/zod/src/v4/locales/no.ts +121 -0
  535. package/node_modules/zod/src/v4/locales/ota.ts +122 -0
  536. package/node_modules/zod/src/v4/locales/pl.ts +123 -0
  537. package/node_modules/zod/src/v4/locales/ps.ts +131 -0
  538. package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
  539. package/node_modules/zod/src/v4/locales/pt.ts +159 -0
  540. package/node_modules/zod/src/v4/locales/ro.ts +132 -0
  541. package/node_modules/zod/src/v4/locales/ru.ts +188 -0
  542. package/node_modules/zod/src/v4/locales/sk.ts +123 -0
  543. package/node_modules/zod/src/v4/locales/sl.ts +123 -0
  544. package/node_modules/zod/src/v4/locales/sv.ts +124 -0
  545. package/node_modules/zod/src/v4/locales/ta.ts +123 -0
  546. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  547. package/node_modules/zod/src/v4/locales/th.ts +124 -0
  548. package/node_modules/zod/src/v4/locales/tk.ts +113 -0
  549. package/node_modules/zod/src/v4/locales/tr.ts +116 -0
  550. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  551. package/node_modules/zod/src/v4/locales/uk.ts +122 -0
  552. package/node_modules/zod/src/v4/locales/ur.ts +124 -0
  553. package/node_modules/zod/src/v4/locales/uz.ts +120 -0
  554. package/node_modules/zod/src/v4/locales/vi.ts +122 -0
  555. package/node_modules/zod/src/v4/locales/yo.ts +129 -0
  556. package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
  557. package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
  558. package/node_modules/zod/src/v4/mini/checks.ts +33 -0
  559. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  560. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  561. package/node_modules/zod/src/v4/mini/external.ts +52 -0
  562. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  563. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  564. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  565. package/node_modules/zod/src/v4/mini/parse.ts +16 -0
  566. package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
  567. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
  568. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
  569. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  570. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
  571. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
  572. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
  573. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  574. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  575. package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
  576. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
  577. package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
  578. package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
  579. package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
  580. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  581. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
  582. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  583. package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
  584. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  585. package/node_modules/zod/v3/ZodError.cjs +167 -0
  586. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  587. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  588. package/node_modules/zod/v3/ZodError.js +143 -0
  589. package/node_modules/zod/v3/errors.cjs +36 -0
  590. package/node_modules/zod/v3/errors.d.cts +5 -0
  591. package/node_modules/zod/v3/errors.d.ts +5 -0
  592. package/node_modules/zod/v3/errors.js +9 -0
  593. package/node_modules/zod/v3/external.cjs +41 -0
  594. package/node_modules/zod/v3/external.d.cts +6 -0
  595. package/node_modules/zod/v3/external.d.ts +6 -0
  596. package/node_modules/zod/v3/external.js +6 -0
  597. package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
  598. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  599. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  600. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  601. package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
  602. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  603. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  604. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  605. package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
  606. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  607. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  608. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  609. package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
  610. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  611. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  612. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  613. package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
  614. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  615. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  616. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  617. package/node_modules/zod/v3/helpers/util.cjs +156 -0
  618. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  619. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  620. package/node_modules/zod/v3/helpers/util.js +133 -0
  621. package/node_modules/zod/v3/index.cjs +52 -0
  622. package/node_modules/zod/v3/index.d.cts +4 -0
  623. package/node_modules/zod/v3/index.d.ts +4 -0
  624. package/node_modules/zod/v3/index.js +4 -0
  625. package/node_modules/zod/v3/locales/en.cjs +112 -0
  626. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  627. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  628. package/node_modules/zod/v3/locales/en.js +109 -0
  629. package/node_modules/zod/v3/package.json +7 -0
  630. package/node_modules/zod/v3/standard-schema.cjs +21 -0
  631. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  632. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  633. package/node_modules/zod/v3/standard-schema.js +1 -0
  634. package/node_modules/zod/v3/types.cjs +3798 -0
  635. package/node_modules/zod/v3/types.d.cts +1034 -0
  636. package/node_modules/zod/v3/types.d.ts +1034 -0
  637. package/node_modules/zod/v3/types.js +3697 -0
  638. package/node_modules/zod/v4/classic/checks.cjs +53 -0
  639. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  640. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  641. package/node_modules/zod/v4/classic/checks.js +1 -0
  642. package/node_modules/zod/v4/classic/coerce.cjs +66 -0
  643. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  644. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  645. package/node_modules/zod/v4/classic/coerce.js +17 -0
  646. package/node_modules/zod/v4/classic/compat.cjs +80 -0
  647. package/node_modules/zod/v4/classic/compat.d.cts +48 -0
  648. package/node_modules/zod/v4/classic/compat.d.ts +48 -0
  649. package/node_modules/zod/v4/classic/compat.js +31 -0
  650. package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  651. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  652. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  653. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  654. package/node_modules/zod/v4/classic/errors.cjs +102 -0
  655. package/node_modules/zod/v4/classic/errors.d.cts +29 -0
  656. package/node_modules/zod/v4/classic/errors.d.ts +29 -0
  657. package/node_modules/zod/v4/classic/errors.js +57 -0
  658. package/node_modules/zod/v4/classic/external.cjs +97 -0
  659. package/node_modules/zod/v4/classic/external.d.cts +19 -0
  660. package/node_modules/zod/v4/classic/external.d.ts +19 -0
  661. package/node_modules/zod/v4/classic/external.js +17 -0
  662. package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
  663. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  664. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  665. package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
  666. package/node_modules/zod/v4/classic/in-out.cjs +82 -0
  667. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  668. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  669. package/node_modules/zod/v4/classic/in-out.js +36 -0
  670. package/node_modules/zod/v4/classic/index.cjs +52 -0
  671. package/node_modules/zod/v4/classic/index.d.cts +3 -0
  672. package/node_modules/zod/v4/classic/index.d.ts +3 -0
  673. package/node_modules/zod/v4/classic/index.js +4 -0
  674. package/node_modules/zod/v4/classic/iso.cjs +68 -0
  675. package/node_modules/zod/v4/classic/iso.d.cts +7 -0
  676. package/node_modules/zod/v4/classic/iso.d.ts +7 -0
  677. package/node_modules/zod/v4/classic/iso.js +15 -0
  678. package/node_modules/zod/v4/classic/package.json +7 -0
  679. package/node_modules/zod/v4/classic/parse.cjs +63 -0
  680. package/node_modules/zod/v4/classic/parse.d.cts +44 -0
  681. package/node_modules/zod/v4/classic/parse.d.ts +44 -0
  682. package/node_modules/zod/v4/classic/parse.js +16 -0
  683. package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
  684. package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
  685. package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
  686. package/node_modules/zod/v4/classic/schemas.js +1535 -0
  687. package/node_modules/zod/v4/core/api.cjs +1269 -0
  688. package/node_modules/zod/v4/core/api.d.cts +335 -0
  689. package/node_modules/zod/v4/core/api.d.ts +335 -0
  690. package/node_modules/zod/v4/core/api.js +1107 -0
  691. package/node_modules/zod/v4/core/checks.cjs +561 -0
  692. package/node_modules/zod/v4/core/checks.d.cts +294 -0
  693. package/node_modules/zod/v4/core/checks.d.ts +294 -0
  694. package/node_modules/zod/v4/core/checks.js +516 -0
  695. package/node_modules/zod/v4/core/compile.cjs +1916 -0
  696. package/node_modules/zod/v4/core/compile.d.cts +65 -0
  697. package/node_modules/zod/v4/core/compile.d.ts +65 -0
  698. package/node_modules/zod/v4/core/compile.js +1866 -0
  699. package/node_modules/zod/v4/core/core.cjs +167 -0
  700. package/node_modules/zod/v4/core/core.d.cts +82 -0
  701. package/node_modules/zod/v4/core/core.d.ts +82 -0
  702. package/node_modules/zod/v4/core/core.js +141 -0
  703. package/node_modules/zod/v4/core/doc.cjs +61 -0
  704. package/node_modules/zod/v4/core/doc.d.cts +16 -0
  705. package/node_modules/zod/v4/core/doc.d.ts +16 -0
  706. package/node_modules/zod/v4/core/doc.js +38 -0
  707. package/node_modules/zod/v4/core/errors.cjs +317 -0
  708. package/node_modules/zod/v4/core/errors.d.cts +225 -0
  709. package/node_modules/zod/v4/core/errors.d.ts +225 -0
  710. package/node_modules/zod/v4/core/errors.js +267 -0
  711. package/node_modules/zod/v4/core/index.cjs +70 -0
  712. package/node_modules/zod/v4/core/index.d.cts +19 -0
  713. package/node_modules/zod/v4/core/index.d.ts +19 -0
  714. package/node_modules/zod/v4/core/index.js +19 -0
  715. package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
  716. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  717. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  718. package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
  719. package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
  720. package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
  721. package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
  722. package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
  723. package/node_modules/zod/v4/core/json-schema.cjs +21 -0
  724. package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
  725. package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
  726. package/node_modules/zod/v4/core/json-schema.js +1 -0
  727. package/node_modules/zod/v4/core/memoizer.cjs +360 -0
  728. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  729. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  730. package/node_modules/zod/v4/core/memoizer.js +311 -0
  731. package/node_modules/zod/v4/core/package.json +7 -0
  732. package/node_modules/zod/v4/core/parse.cjs +233 -0
  733. package/node_modules/zod/v4/core/parse.d.cts +52 -0
  734. package/node_modules/zod/v4/core/parse.d.ts +52 -0
  735. package/node_modules/zod/v4/core/parse.js +175 -0
  736. package/node_modules/zod/v4/core/regexes.cjs +209 -0
  737. package/node_modules/zod/v4/core/regexes.d.cts +90 -0
  738. package/node_modules/zod/v4/core/regexes.d.ts +90 -0
  739. package/node_modules/zod/v4/core/regexes.js +156 -0
  740. package/node_modules/zod/v4/core/registries.cjs +75 -0
  741. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  742. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  743. package/node_modules/zod/v4/core/registries.js +51 -0
  744. package/node_modules/zod/v4/core/schemas.cjs +2699 -0
  745. package/node_modules/zod/v4/core/schemas.d.cts +1275 -0
  746. package/node_modules/zod/v4/core/schemas.d.ts +1275 -0
  747. package/node_modules/zod/v4/core/schemas.js +2636 -0
  748. package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
  749. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  750. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  751. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  752. package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
  753. package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
  754. package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
  755. package/node_modules/zod/v4/core/to-json-schema.js +651 -0
  756. package/node_modules/zod/v4/core/util.cjs +964 -0
  757. package/node_modules/zod/v4/core/util.d.cts +280 -0
  758. package/node_modules/zod/v4/core/util.d.ts +280 -0
  759. package/node_modules/zod/v4/core/util.js +873 -0
  760. package/node_modules/zod/v4/core/versions.cjs +27 -0
  761. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  762. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  763. package/node_modules/zod/v4/core/versions.js +5 -0
  764. package/node_modules/zod/v4/core/visit.cjs +214 -0
  765. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  766. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  767. package/node_modules/zod/v4/core/visit.js +169 -0
  768. package/node_modules/zod/v4/index.cjs +51 -0
  769. package/node_modules/zod/v4/index.d.cts +3 -0
  770. package/node_modules/zod/v4/index.d.ts +3 -0
  771. package/node_modules/zod/v4/index.js +4 -0
  772. package/node_modules/zod/v4/locales/ar.cjs +138 -0
  773. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  774. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  775. package/node_modules/zod/v4/locales/ar.js +111 -0
  776. package/node_modules/zod/v4/locales/az.cjs +137 -0
  777. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  778. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  779. package/node_modules/zod/v4/locales/az.js +110 -0
  780. package/node_modules/zod/v4/locales/be.cjs +195 -0
  781. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  782. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  783. package/node_modules/zod/v4/locales/be.js +168 -0
  784. package/node_modules/zod/v4/locales/bg.cjs +152 -0
  785. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  786. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  787. package/node_modules/zod/v4/locales/bg.js +125 -0
  788. package/node_modules/zod/v4/locales/bn.cjs +140 -0
  789. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  790. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  791. package/node_modules/zod/v4/locales/bn.js +113 -0
  792. package/node_modules/zod/v4/locales/ca.cjs +139 -0
  793. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  794. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  795. package/node_modules/zod/v4/locales/ca.js +112 -0
  796. package/node_modules/zod/v4/locales/ckb.cjs +160 -0
  797. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  798. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  799. package/node_modules/zod/v4/locales/ckb.js +133 -0
  800. package/node_modules/zod/v4/locales/cs.cjs +143 -0
  801. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  802. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  803. package/node_modules/zod/v4/locales/cs.js +116 -0
  804. package/node_modules/zod/v4/locales/da.cjs +147 -0
  805. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  806. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  807. package/node_modules/zod/v4/locales/da.js +120 -0
  808. package/node_modules/zod/v4/locales/de.cjs +140 -0
  809. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  810. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  811. package/node_modules/zod/v4/locales/de.js +113 -0
  812. package/node_modules/zod/v4/locales/el.cjs +139 -0
  813. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  814. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  815. package/node_modules/zod/v4/locales/el.js +112 -0
  816. package/node_modules/zod/v4/locales/en.cjs +152 -0
  817. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  818. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  819. package/node_modules/zod/v4/locales/en.js +125 -0
  820. package/node_modules/zod/v4/locales/eo.cjs +141 -0
  821. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  822. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  823. package/node_modules/zod/v4/locales/eo.js +114 -0
  824. package/node_modules/zod/v4/locales/es.cjs +163 -0
  825. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  826. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  827. package/node_modules/zod/v4/locales/es.js +136 -0
  828. package/node_modules/zod/v4/locales/fa.cjs +146 -0
  829. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  830. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  831. package/node_modules/zod/v4/locales/fa.js +119 -0
  832. package/node_modules/zod/v4/locales/fi.cjs +144 -0
  833. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  834. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  835. package/node_modules/zod/v4/locales/fi.js +117 -0
  836. package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
  837. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  838. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  839. package/node_modules/zod/v4/locales/fr-CA.js +112 -0
  840. package/node_modules/zod/v4/locales/fr.cjs +156 -0
  841. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  842. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  843. package/node_modules/zod/v4/locales/fr.js +129 -0
  844. package/node_modules/zod/v4/locales/gu.cjs +140 -0
  845. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  846. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  847. package/node_modules/zod/v4/locales/gu.js +113 -0
  848. package/node_modules/zod/v4/locales/he.cjs +248 -0
  849. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  850. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  851. package/node_modules/zod/v4/locales/he.js +221 -0
  852. package/node_modules/zod/v4/locales/hi.cjs +138 -0
  853. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  854. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  855. package/node_modules/zod/v4/locales/hi.js +111 -0
  856. package/node_modules/zod/v4/locales/hr.cjs +153 -0
  857. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  858. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  859. package/node_modules/zod/v4/locales/hr.js +126 -0
  860. package/node_modules/zod/v4/locales/hu.cjs +140 -0
  861. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  862. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  863. package/node_modules/zod/v4/locales/hu.js +113 -0
  864. package/node_modules/zod/v4/locales/hy.cjs +185 -0
  865. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  866. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  867. package/node_modules/zod/v4/locales/hy.js +158 -0
  868. package/node_modules/zod/v4/locales/id.cjs +138 -0
  869. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  870. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  871. package/node_modules/zod/v4/locales/id.js +111 -0
  872. package/node_modules/zod/v4/locales/index.cjs +152 -0
  873. package/node_modules/zod/v4/locales/index.d.cts +63 -0
  874. package/node_modules/zod/v4/locales/index.d.ts +63 -0
  875. package/node_modules/zod/v4/locales/index.js +63 -0
  876. package/node_modules/zod/v4/locales/is.cjs +141 -0
  877. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  878. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  879. package/node_modules/zod/v4/locales/is.js +114 -0
  880. package/node_modules/zod/v4/locales/it.cjs +140 -0
  881. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  882. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  883. package/node_modules/zod/v4/locales/it.js +113 -0
  884. package/node_modules/zod/v4/locales/ja.cjs +139 -0
  885. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  886. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  887. package/node_modules/zod/v4/locales/ja.js +112 -0
  888. package/node_modules/zod/v4/locales/ka.cjs +144 -0
  889. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  890. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  891. package/node_modules/zod/v4/locales/ka.js +117 -0
  892. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  893. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  894. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  895. package/node_modules/zod/v4/locales/kh.js +5 -0
  896. package/node_modules/zod/v4/locales/km.cjs +142 -0
  897. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  898. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  899. package/node_modules/zod/v4/locales/km.js +115 -0
  900. package/node_modules/zod/v4/locales/kn.cjs +143 -0
  901. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  902. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  903. package/node_modules/zod/v4/locales/kn.js +116 -0
  904. package/node_modules/zod/v4/locales/ko.cjs +143 -0
  905. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  906. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  907. package/node_modules/zod/v4/locales/ko.js +116 -0
  908. package/node_modules/zod/v4/locales/lt.cjs +234 -0
  909. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  910. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  911. package/node_modules/zod/v4/locales/lt.js +207 -0
  912. package/node_modules/zod/v4/locales/mk.cjs +141 -0
  913. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  914. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  915. package/node_modules/zod/v4/locales/mk.js +114 -0
  916. package/node_modules/zod/v4/locales/ms.cjs +139 -0
  917. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  918. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  919. package/node_modules/zod/v4/locales/ms.js +112 -0
  920. package/node_modules/zod/v4/locales/ne.cjs +138 -0
  921. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  922. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  923. package/node_modules/zod/v4/locales/ne.js +111 -0
  924. package/node_modules/zod/v4/locales/nl.cjs +142 -0
  925. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  926. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  927. package/node_modules/zod/v4/locales/nl.js +115 -0
  928. package/node_modules/zod/v4/locales/nn.cjs +140 -0
  929. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  930. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  931. package/node_modules/zod/v4/locales/nn.js +113 -0
  932. package/node_modules/zod/v4/locales/no.cjs +140 -0
  933. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  934. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  935. package/node_modules/zod/v4/locales/no.js +113 -0
  936. package/node_modules/zod/v4/locales/ota.cjs +141 -0
  937. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  938. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  939. package/node_modules/zod/v4/locales/ota.js +114 -0
  940. package/node_modules/zod/v4/locales/package.json +7 -0
  941. package/node_modules/zod/v4/locales/pl.cjs +141 -0
  942. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  943. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  944. package/node_modules/zod/v4/locales/pl.js +114 -0
  945. package/node_modules/zod/v4/locales/ps.cjs +146 -0
  946. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  947. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  948. package/node_modules/zod/v4/locales/ps.js +119 -0
  949. package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  950. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  951. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  952. package/node_modules/zod/v4/locales/pt-BR.js +143 -0
  953. package/node_modules/zod/v4/locales/pt.cjs +169 -0
  954. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  955. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  956. package/node_modules/zod/v4/locales/pt.js +142 -0
  957. package/node_modules/zod/v4/locales/ro.cjs +149 -0
  958. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  959. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  960. package/node_modules/zod/v4/locales/ro.js +122 -0
  961. package/node_modules/zod/v4/locales/ru.cjs +195 -0
  962. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  963. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  964. package/node_modules/zod/v4/locales/ru.js +168 -0
  965. package/node_modules/zod/v4/locales/sk.cjs +143 -0
  966. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  967. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  968. package/node_modules/zod/v4/locales/sk.js +116 -0
  969. package/node_modules/zod/v4/locales/sl.cjs +141 -0
  970. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  971. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  972. package/node_modules/zod/v4/locales/sl.js +114 -0
  973. package/node_modules/zod/v4/locales/sv.cjs +142 -0
  974. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  975. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  976. package/node_modules/zod/v4/locales/sv.js +115 -0
  977. package/node_modules/zod/v4/locales/ta.cjs +142 -0
  978. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  979. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  980. package/node_modules/zod/v4/locales/ta.js +115 -0
  981. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  982. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  983. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  984. package/node_modules/zod/v4/locales/tg.js +117 -0
  985. package/node_modules/zod/v4/locales/th.cjs +142 -0
  986. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  987. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  988. package/node_modules/zod/v4/locales/th.js +115 -0
  989. package/node_modules/zod/v4/locales/tk.cjs +134 -0
  990. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  991. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  992. package/node_modules/zod/v4/locales/tk.js +107 -0
  993. package/node_modules/zod/v4/locales/tr.cjs +137 -0
  994. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  995. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  996. package/node_modules/zod/v4/locales/tr.js +110 -0
  997. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  998. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  999. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1000. package/node_modules/zod/v4/locales/ua.js +5 -0
  1001. package/node_modules/zod/v4/locales/uk.cjs +140 -0
  1002. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1003. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1004. package/node_modules/zod/v4/locales/uk.js +113 -0
  1005. package/node_modules/zod/v4/locales/ur.cjs +142 -0
  1006. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1007. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1008. package/node_modules/zod/v4/locales/ur.js +115 -0
  1009. package/node_modules/zod/v4/locales/uz.cjs +140 -0
  1010. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1011. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1012. package/node_modules/zod/v4/locales/uz.js +113 -0
  1013. package/node_modules/zod/v4/locales/vi.cjs +140 -0
  1014. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1015. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1016. package/node_modules/zod/v4/locales/vi.js +113 -0
  1017. package/node_modules/zod/v4/locales/yo.cjs +139 -0
  1018. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1019. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1020. package/node_modules/zod/v4/locales/yo.js +112 -0
  1021. package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
  1022. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1023. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1024. package/node_modules/zod/v4/locales/zh-CN.js +114 -0
  1025. package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
  1026. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1027. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1028. package/node_modules/zod/v4/locales/zh-TW.js +112 -0
  1029. package/node_modules/zod/v4/mini/checks.cjs +54 -0
  1030. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1031. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1032. package/node_modules/zod/v4/mini/checks.js +1 -0
  1033. package/node_modules/zod/v4/mini/coerce.cjs +71 -0
  1034. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1035. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1036. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1037. package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  1038. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  1039. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  1040. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  1041. package/node_modules/zod/v4/mini/external.cjs +95 -0
  1042. package/node_modules/zod/v4/mini/external.d.cts +16 -0
  1043. package/node_modules/zod/v4/mini/external.d.ts +16 -0
  1044. package/node_modules/zod/v4/mini/external.js +16 -0
  1045. package/node_modules/zod/v4/mini/in-out.cjs +82 -0
  1046. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  1047. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  1048. package/node_modules/zod/v4/mini/in-out.js +36 -0
  1049. package/node_modules/zod/v4/mini/index.cjs +51 -0
  1050. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1051. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1052. package/node_modules/zod/v4/mini/index.js +3 -0
  1053. package/node_modules/zod/v4/mini/iso.cjs +83 -0
  1054. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1055. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1056. package/node_modules/zod/v4/mini/iso.js +34 -0
  1057. package/node_modules/zod/v4/mini/package.json +7 -0
  1058. package/node_modules/zod/v4/mini/parse.cjs +37 -0
  1059. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1060. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1061. package/node_modules/zod/v4/mini/parse.js +1 -0
  1062. package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
  1063. package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
  1064. package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
  1065. package/node_modules/zod/v4/mini/schemas.js +1002 -0
  1066. package/node_modules/zod/v4/package.json +7 -0
  1067. package/node_modules/zod/v4-mini/index.cjs +51 -0
  1068. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1069. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1070. package/node_modules/zod/v4-mini/index.js +3 -0
  1071. package/node_modules/zod/v4-mini/package.json +7 -0
  1072. package/package.json +15 -10
  1073. package/dist/standard-schema.d.ts +0 -3
  1074. package/dist/standard-schema.js +0 -21
  1075. package/node_modules/@typescript/typescript-linux-x64/LICENSE +0 -55
  1076. package/node_modules/@typescript/typescript-linux-x64/NOTICE.txt +0 -436
  1077. package/node_modules/@typescript/typescript-linux-x64/README.md +0 -3
  1078. package/node_modules/@typescript/typescript-linux-x64/lib/lib.d.ts +0 -20
  1079. package/node_modules/@typescript/typescript-linux-x64/lib/lib.decorators.d.ts +0 -382
  1080. package/node_modules/@typescript/typescript-linux-x64/lib/lib.decorators.legacy.d.ts +0 -20
  1081. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.asynciterable.d.ts +0 -18
  1082. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.d.ts +0 -45125
  1083. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.iterable.d.ts +0 -18
  1084. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.collection.d.ts +0 -159
  1085. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.core.d.ts +0 -595
  1086. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.d.ts +0 -26
  1087. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.generator.d.ts +0 -75
  1088. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.iterable.d.ts +0 -603
  1089. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.promise.d.ts +0 -79
  1090. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.proxy.d.ts +0 -126
  1091. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.reflect.d.ts +0 -142
  1092. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.symbol.d.ts +0 -44
  1093. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  1094. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.array.include.d.ts +0 -114
  1095. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.d.ts +0 -19
  1096. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.full.d.ts +0 -21
  1097. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.intl.d.ts +0 -29
  1098. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.arraybuffer.d.ts +0 -19
  1099. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.d.ts +0 -24
  1100. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.date.d.ts +0 -29
  1101. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.full.d.ts +0 -21
  1102. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.intl.d.ts +0 -42
  1103. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.object.d.ts +0 -47
  1104. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.sharedmemory.d.ts +0 -133
  1105. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.string.d.ts +0 -47
  1106. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.typedarrays.d.ts +0 -51
  1107. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  1108. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.asynciterable.d.ts +0 -51
  1109. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.d.ts +0 -22
  1110. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.full.d.ts +0 -22
  1111. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.intl.d.ts +0 -81
  1112. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.promise.d.ts +0 -28
  1113. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.regexp.d.ts +0 -35
  1114. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.array.d.ts +0 -77
  1115. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.d.ts +0 -22
  1116. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.full.d.ts +0 -22
  1117. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.intl.d.ts +0 -21
  1118. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.object.d.ts +0 -31
  1119. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.string.d.ts +0 -35
  1120. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.symbol.d.ts +0 -22
  1121. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.bigint.d.ts +0 -763
  1122. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.d.ts +0 -25
  1123. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.date.d.ts +0 -40
  1124. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.full.d.ts +0 -22
  1125. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.intl.d.ts +0 -472
  1126. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.number.d.ts +0 -26
  1127. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.promise.d.ts +0 -45
  1128. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.sharedmemory.d.ts +0 -97
  1129. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.string.d.ts +0 -42
  1130. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  1131. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.d.ts +0 -21
  1132. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.full.d.ts +0 -22
  1133. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.intl.d.ts +0 -164
  1134. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.promise.d.ts +0 -46
  1135. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.string.d.ts +0 -31
  1136. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.weakref.d.ts +0 -76
  1137. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.array.d.ts +0 -119
  1138. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.d.ts +0 -23
  1139. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.error.d.ts +0 -73
  1140. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.full.d.ts +0 -22
  1141. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.intl.d.ts +0 -143
  1142. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.object.d.ts +0 -24
  1143. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.regexp.d.ts +0 -37
  1144. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.string.d.ts +0 -23
  1145. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.array.d.ts +0 -922
  1146. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.collection.d.ts +0 -19
  1147. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.d.ts +0 -20
  1148. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.full.d.ts +0 -22
  1149. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.intl.d.ts +0 -62
  1150. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.arraybuffer.d.ts +0 -63
  1151. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.collection.d.ts +0 -27
  1152. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.d.ts +0 -24
  1153. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.full.d.ts +0 -22
  1154. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.object.d.ts +0 -27
  1155. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.promise.d.ts +0 -33
  1156. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.regexp.d.ts +0 -23
  1157. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.sharedmemory.d.ts +0 -66
  1158. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.string.d.ts +0 -27
  1159. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.collection.d.ts +0 -94
  1160. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.d.ts +0 -23
  1161. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.float16.d.ts +0 -443
  1162. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.full.d.ts +0 -22
  1163. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.intl.d.ts +0 -200
  1164. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.iterator.d.ts +0 -146
  1165. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.promise.d.ts +0 -32
  1166. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.regexp.d.ts +0 -30
  1167. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es5.d.ts +0 -4599
  1168. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es6.d.ts +0 -21
  1169. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.array.d.ts +0 -33
  1170. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.collection.d.ts +0 -47
  1171. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.d.ts +0 -27
  1172. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.date.d.ts +0 -21
  1173. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.decorators.d.ts +0 -26
  1174. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.disposable.d.ts +0 -191
  1175. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.error.d.ts +0 -22
  1176. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.full.d.ts +0 -22
  1177. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.intl.d.ts +0 -107
  1178. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.sharedmemory.d.ts +0 -23
  1179. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.temporal.d.ts +0 -485
  1180. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.typedarrays.d.ts +0 -90
  1181. package/node_modules/@typescript/typescript-linux-x64/lib/lib.scripthost.d.ts +0 -320
  1182. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.asynciterable.d.ts +0 -18
  1183. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.d.ts +0 -15606
  1184. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.importscripts.d.ts +0 -21
  1185. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.iterable.d.ts +0 -18
  1186. package/node_modules/@typescript/typescript-linux-x64/lib/tsc +0 -0
  1187. package/node_modules/@typescript/typescript-linux-x64/lib/tsc.sig +0 -11
  1188. package/node_modules/@typescript/typescript-linux-x64/package.json +0 -45
  1189. package/node_modules/@valibot/to-json-schema/LICENSE.md +0 -9
  1190. package/node_modules/@valibot/to-json-schema/README.md +0 -475
  1191. package/node_modules/@valibot/to-json-schema/dist/index.cjs +0 -800
  1192. package/node_modules/@valibot/to-json-schema/dist/index.d.cts +0 -991
  1193. package/node_modules/@valibot/to-json-schema/dist/index.d.mts +0 -991
  1194. package/node_modules/@valibot/to-json-schema/dist/index.min.cjs +0 -1
  1195. package/node_modules/@valibot/to-json-schema/dist/index.min.mjs +0 -1
  1196. package/node_modules/@valibot/to-json-schema/dist/index.mjs +0 -795
  1197. package/node_modules/@valibot/to-json-schema/package.json +0 -75
  1198. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.d.ts +0 -13
  1199. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.d.ts.map +0 -1
  1200. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.js +0 -30
  1201. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.d.ts +0 -11
  1202. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.d.ts.map +0 -1
  1203. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.js +0 -51
  1204. package/node_modules/@ykdz/reference-rust-bin/native/tsconfig.json +0 -8
  1205. package/node_modules/@ykdz/reference-ts-cli/native/src/publication/cli-command-identity.ts +0 -88
  1206. package/node_modules/@ykdz/template-content/dist/template-members.d.ts +0 -9
  1207. package/node_modules/@ykdz/template-content/dist/template-members.js +0 -16
  1208. package/node_modules/@ykdz/template-core/dist/renderer-policy-snapshot.d.ts +0 -1
  1209. package/node_modules/@ykdz/template-core/dist/renderer-policy-snapshot.js +0 -2
  1210. package/node_modules/@ykdz/template-core/dist/renderer.d.ts +0 -101
  1211. package/node_modules/@ykdz/template-core/dist/renderer.js +0 -386
  1212. package/node_modules/@ykdz/template-core/dist/workspace-strategy.d.ts +0 -188
  1213. package/node_modules/@ykdz/template-core/dist/workspace-strategy.js +0 -1
  1214. package/node_modules/@ykdz/template-workspace/assets/tsconfig.config.json +0 -6
  1215. package/node_modules/@ykdz/template-workspace/assets/tsconfig.json +0 -7
  1216. package/node_modules/@ykdz/template-workspace/assets/turbo.json +0 -64
  1217. package/node_modules/@ykdz/template-workspace/dist/default-environment-sources.d.ts +0 -5
  1218. package/node_modules/@ykdz/template-workspace/dist/default-environment-sources.js +0 -8
  1219. package/node_modules/@ykdz/template-workspace/dist/default-environment.d.ts +0 -9
  1220. package/node_modules/@ykdz/template-workspace/dist/default-environment.js +0 -5
  1221. package/node_modules/@ykdz/template-workspace/dist/default-workspace-strategy.d.ts +0 -89
  1222. package/node_modules/@ykdz/template-workspace/dist/default-workspace-strategy.js +0 -967
  1223. package/node_modules/@ykdz/template-workspace/dist/development-container.d.ts +0 -3
  1224. package/node_modules/@ykdz/template-workspace/dist/development-container.js +0 -36
  1225. package/node_modules/@ykdz/template-workspace/dist/development-environment.d.ts +0 -36
  1226. package/node_modules/@ykdz/template-workspace/dist/development-environment.js +0 -241
  1227. package/node_modules/@ykdz/template-workspace/dist/editor-customization.d.ts +0 -18
  1228. package/node_modules/@ykdz/template-workspace/dist/editor-customization.js +0 -83
  1229. package/node_modules/@ykdz/template-workspace/dist/environment-needs.d.ts +0 -51
  1230. package/node_modules/@ykdz/template-workspace/dist/generation-context.d.ts +0 -14
  1231. package/node_modules/@ykdz/template-workspace/dist/package-addition-facts.d.ts +0 -21
  1232. package/node_modules/@ykdz/template-workspace/dist/package-addition-facts.js +0 -90
  1233. package/node_modules/@ykdz/template-workspace/dist/package-contribution.d.ts +0 -64
  1234. package/node_modules/@ykdz/template-workspace/dist/package-contribution.js +0 -65
  1235. package/node_modules/@ykdz/template-workspace/dist/project-github.d.ts +0 -24
  1236. package/node_modules/@ykdz/template-workspace/dist/project-github.js +0 -98
  1237. package/node_modules/@ykdz/template-workspace/dist/project-linking.d.ts +0 -48
  1238. package/node_modules/@ykdz/template-workspace/dist/project-linking.js +0 -218
  1239. package/node_modules/@ykdz/template-workspace/dist/reference-package.d.ts +0 -146
  1240. package/node_modules/@ykdz/template-workspace/dist/reference-package.js +0 -521
  1241. package/node_modules/@ykdz/template-workspace/dist/root-projection.d.ts +0 -29
  1242. package/node_modules/@ykdz/template-workspace/dist/root-projection.js +0 -144
  1243. package/node_modules/@ykdz/template-workspace/dist/rust-target-projection.d.ts +0 -35
  1244. package/node_modules/@ykdz/template-workspace/dist/rust-target-projection.js +0 -74
  1245. package/node_modules/@ykdz/template-workspace/dist/workspace-resources.d.ts +0 -23
  1246. package/node_modules/@ykdz/template-workspace/dist/workspace-resources.js +0 -83
  1247. package/node_modules/@ykdz/template-workspace/resources/oxfmt.config.ts +0 -1
  1248. package/node_modules/@ykdz/template-workspace/resources/oxlint.config.ts +0 -4
  1249. package/node_modules/typescript-7/LICENSE +0 -55
  1250. package/node_modules/typescript-7/NOTICE.txt +0 -436
  1251. package/node_modules/typescript-7/README.md +0 -49
  1252. package/node_modules/typescript-7/bin/tsc +0 -2
  1253. package/node_modules/typescript-7/dist/api/async/api.d.ts +0 -529
  1254. package/node_modules/typescript-7/dist/api/async/api.d.ts.map +0 -1
  1255. package/node_modules/typescript-7/dist/api/async/api.js +0 -1657
  1256. package/node_modules/typescript-7/dist/api/async/api.js.map +0 -1
  1257. package/node_modules/typescript-7/dist/api/async/client.d.ts +0 -39
  1258. package/node_modules/typescript-7/dist/api/async/client.d.ts.map +0 -1
  1259. package/node_modules/typescript-7/dist/api/async/client.js +0 -211
  1260. package/node_modules/typescript-7/dist/api/async/client.js.map +0 -1
  1261. package/node_modules/typescript-7/dist/api/async/types.d.ts +0 -310
  1262. package/node_modules/typescript-7/dist/api/async/types.d.ts.map +0 -1
  1263. package/node_modules/typescript-7/dist/api/async/types.js +0 -2
  1264. package/node_modules/typescript-7/dist/api/async/types.js.map +0 -1
  1265. package/node_modules/typescript-7/dist/api/compilerOptions.d.ts +0 -109
  1266. package/node_modules/typescript-7/dist/api/compilerOptions.d.ts.map +0 -1
  1267. package/node_modules/typescript-7/dist/api/compilerOptions.js +0 -2
  1268. package/node_modules/typescript-7/dist/api/compilerOptions.js.map +0 -1
  1269. package/node_modules/typescript-7/dist/api/fs.d.ts +0 -23
  1270. package/node_modules/typescript-7/dist/api/fs.d.ts.map +0 -1
  1271. package/node_modules/typescript-7/dist/api/fs.js +0 -109
  1272. package/node_modules/typescript-7/dist/api/fs.js.map +0 -1
  1273. package/node_modules/typescript-7/dist/api/node/encoder.d.ts +0 -15
  1274. package/node_modules/typescript-7/dist/api/node/encoder.d.ts.map +0 -1
  1275. package/node_modules/typescript-7/dist/api/node/encoder.generated.d.ts +0 -5
  1276. package/node_modules/typescript-7/dist/api/node/encoder.generated.d.ts.map +0 -1
  1277. package/node_modules/typescript-7/dist/api/node/encoder.generated.js +0 -74
  1278. package/node_modules/typescript-7/dist/api/node/encoder.generated.js.map +0 -1
  1279. package/node_modules/typescript-7/dist/api/node/encoder.js +0 -287
  1280. package/node_modules/typescript-7/dist/api/node/encoder.js.map +0 -1
  1281. package/node_modules/typescript-7/dist/api/node/msgpack.d.ts +0 -32
  1282. package/node_modules/typescript-7/dist/api/node/msgpack.d.ts.map +0 -1
  1283. package/node_modules/typescript-7/dist/api/node/msgpack.js +0 -213
  1284. package/node_modules/typescript-7/dist/api/node/msgpack.js.map +0 -1
  1285. package/node_modules/typescript-7/dist/api/node/node.d.ts +0 -76
  1286. package/node_modules/typescript-7/dist/api/node/node.d.ts.map +0 -1
  1287. package/node_modules/typescript-7/dist/api/node/node.generated.d.ts +0 -182
  1288. package/node_modules/typescript-7/dist/api/node/node.generated.d.ts.map +0 -1
  1289. package/node_modules/typescript-7/dist/api/node/node.generated.js +0 -835
  1290. package/node_modules/typescript-7/dist/api/node/node.generated.js.map +0 -1
  1291. package/node_modules/typescript-7/dist/api/node/node.infrastructure.d.ts +0 -62
  1292. package/node_modules/typescript-7/dist/api/node/node.infrastructure.d.ts.map +0 -1
  1293. package/node_modules/typescript-7/dist/api/node/node.infrastructure.js +0 -122
  1294. package/node_modules/typescript-7/dist/api/node/node.infrastructure.js.map +0 -1
  1295. package/node_modules/typescript-7/dist/api/node/node.js +0 -298
  1296. package/node_modules/typescript-7/dist/api/node/node.js.map +0 -1
  1297. package/node_modules/typescript-7/dist/api/node/protocol.d.ts +0 -29
  1298. package/node_modules/typescript-7/dist/api/node/protocol.d.ts.map +0 -1
  1299. package/node_modules/typescript-7/dist/api/node/protocol.generated.d.ts +0 -4
  1300. package/node_modules/typescript-7/dist/api/node/protocol.generated.d.ts.map +0 -1
  1301. package/node_modules/typescript-7/dist/api/node/protocol.generated.js +0 -241
  1302. package/node_modules/typescript-7/dist/api/node/protocol.generated.js.map +0 -1
  1303. package/node_modules/typescript-7/dist/api/node/protocol.js +0 -30
  1304. package/node_modules/typescript-7/dist/api/node/protocol.js.map +0 -1
  1305. package/node_modules/typescript-7/dist/api/node/wtf8.d.ts +0 -6
  1306. package/node_modules/typescript-7/dist/api/node/wtf8.d.ts.map +0 -1
  1307. package/node_modules/typescript-7/dist/api/node/wtf8.js +0 -61
  1308. package/node_modules/typescript-7/dist/api/node/wtf8.js.map +0 -1
  1309. package/node_modules/typescript-7/dist/api/options.d.ts +0 -32
  1310. package/node_modules/typescript-7/dist/api/options.d.ts.map +0 -1
  1311. package/node_modules/typescript-7/dist/api/options.js +0 -11
  1312. package/node_modules/typescript-7/dist/api/options.js.map +0 -1
  1313. package/node_modules/typescript-7/dist/api/path.d.ts +0 -110
  1314. package/node_modules/typescript-7/dist/api/path.d.ts.map +0 -1
  1315. package/node_modules/typescript-7/dist/api/path.js +0 -508
  1316. package/node_modules/typescript-7/dist/api/path.js.map +0 -1
  1317. package/node_modules/typescript-7/dist/api/proto.d.ts +0 -239
  1318. package/node_modules/typescript-7/dist/api/proto.d.ts.map +0 -1
  1319. package/node_modules/typescript-7/dist/api/proto.js +0 -37
  1320. package/node_modules/typescript-7/dist/api/proto.js.map +0 -1
  1321. package/node_modules/typescript-7/dist/api/sourceFileCache.d.ts +0 -79
  1322. package/node_modules/typescript-7/dist/api/sourceFileCache.d.ts.map +0 -1
  1323. package/node_modules/typescript-7/dist/api/sourceFileCache.js +0 -169
  1324. package/node_modules/typescript-7/dist/api/sourceFileCache.js.map +0 -1
  1325. package/node_modules/typescript-7/dist/api/sync/api.d.ts +0 -529
  1326. package/node_modules/typescript-7/dist/api/sync/api.d.ts.map +0 -1
  1327. package/node_modules/typescript-7/dist/api/sync/api.js +0 -1665
  1328. package/node_modules/typescript-7/dist/api/sync/api.js.map +0 -1
  1329. package/node_modules/typescript-7/dist/api/sync/client.d.ts +0 -30
  1330. package/node_modules/typescript-7/dist/api/sync/client.d.ts.map +0 -1
  1331. package/node_modules/typescript-7/dist/api/sync/client.js +0 -124
  1332. package/node_modules/typescript-7/dist/api/sync/client.js.map +0 -1
  1333. package/node_modules/typescript-7/dist/api/sync/types.d.ts +0 -310
  1334. package/node_modules/typescript-7/dist/api/sync/types.d.ts.map +0 -1
  1335. package/node_modules/typescript-7/dist/api/sync/types.js +0 -2
  1336. package/node_modules/typescript-7/dist/api/sync/types.js.map +0 -1
  1337. package/node_modules/typescript-7/dist/api/syncChannel.d.ts +0 -114
  1338. package/node_modules/typescript-7/dist/api/syncChannel.d.ts.map +0 -1
  1339. package/node_modules/typescript-7/dist/api/syncChannel.js +0 -508
  1340. package/node_modules/typescript-7/dist/api/syncChannel.js.map +0 -1
  1341. package/node_modules/typescript-7/dist/api/timing.d.ts +0 -175
  1342. package/node_modules/typescript-7/dist/api/timing.d.ts.map +0 -1
  1343. package/node_modules/typescript-7/dist/api/timing.js +0 -149
  1344. package/node_modules/typescript-7/dist/api/timing.js.map +0 -1
  1345. package/node_modules/typescript-7/dist/ast/ast.d.ts +0 -100
  1346. package/node_modules/typescript-7/dist/ast/ast.d.ts.map +0 -1
  1347. package/node_modules/typescript-7/dist/ast/ast.generated.d.ts +0 -1161
  1348. package/node_modules/typescript-7/dist/ast/ast.generated.d.ts.map +0 -1
  1349. package/node_modules/typescript-7/dist/ast/ast.generated.js +0 -4
  1350. package/node_modules/typescript-7/dist/ast/ast.generated.js.map +0 -1
  1351. package/node_modules/typescript-7/dist/ast/ast.js +0 -7
  1352. package/node_modules/typescript-7/dist/ast/ast.js.map +0 -1
  1353. package/node_modules/typescript-7/dist/ast/astnav.d.ts +0 -19
  1354. package/node_modules/typescript-7/dist/ast/astnav.d.ts.map +0 -1
  1355. package/node_modules/typescript-7/dist/ast/astnav.js +0 -596
  1356. package/node_modules/typescript-7/dist/ast/astnav.js.map +0 -1
  1357. package/node_modules/typescript-7/dist/ast/clone.d.ts +0 -16
  1358. package/node_modules/typescript-7/dist/ast/clone.d.ts.map +0 -1
  1359. package/node_modules/typescript-7/dist/ast/clone.js +0 -104
  1360. package/node_modules/typescript-7/dist/ast/clone.js.map +0 -1
  1361. package/node_modules/typescript-7/dist/ast/factory.generated.d.ts +0 -520
  1362. package/node_modules/typescript-7/dist/ast/factory.generated.d.ts.map +0 -1
  1363. package/node_modules/typescript-7/dist/ast/factory.generated.js +0 -3057
  1364. package/node_modules/typescript-7/dist/ast/factory.generated.js.map +0 -1
  1365. package/node_modules/typescript-7/dist/ast/index.d.ts +0 -20
  1366. package/node_modules/typescript-7/dist/ast/index.d.ts.map +0 -1
  1367. package/node_modules/typescript-7/dist/ast/index.js +0 -20
  1368. package/node_modules/typescript-7/dist/ast/index.js.map +0 -1
  1369. package/node_modules/typescript-7/dist/ast/is.d.ts +0 -35
  1370. package/node_modules/typescript-7/dist/ast/is.d.ts.map +0 -1
  1371. package/node_modules/typescript-7/dist/ast/is.generated.d.ts +0 -329
  1372. package/node_modules/typescript-7/dist/ast/is.generated.d.ts.map +0 -1
  1373. package/node_modules/typescript-7/dist/ast/is.generated.js +0 -1103
  1374. package/node_modules/typescript-7/dist/ast/is.generated.js.map +0 -1
  1375. package/node_modules/typescript-7/dist/ast/is.js +0 -233
  1376. package/node_modules/typescript-7/dist/ast/is.js.map +0 -1
  1377. package/node_modules/typescript-7/dist/ast/jsdoc.d.ts +0 -11
  1378. package/node_modules/typescript-7/dist/ast/jsdoc.d.ts.map +0 -1
  1379. package/node_modules/typescript-7/dist/ast/jsdoc.js +0 -202
  1380. package/node_modules/typescript-7/dist/ast/jsdoc.js.map +0 -1
  1381. package/node_modules/typescript-7/dist/ast/scanner.d.ts +0 -97
  1382. package/node_modules/typescript-7/dist/ast/scanner.d.ts.map +0 -1
  1383. package/node_modules/typescript-7/dist/ast/scanner.js +0 -2230
  1384. package/node_modules/typescript-7/dist/ast/scanner.js.map +0 -1
  1385. package/node_modules/typescript-7/dist/ast/utils.d.ts +0 -17
  1386. package/node_modules/typescript-7/dist/ast/utils.d.ts.map +0 -1
  1387. package/node_modules/typescript-7/dist/ast/utils.js +0 -67
  1388. package/node_modules/typescript-7/dist/ast/utils.js.map +0 -1
  1389. package/node_modules/typescript-7/dist/ast/visitor.d.ts +0 -14
  1390. package/node_modules/typescript-7/dist/ast/visitor.d.ts.map +0 -1
  1391. package/node_modules/typescript-7/dist/ast/visitor.generated.d.ts +0 -50
  1392. package/node_modules/typescript-7/dist/ast/visitor.generated.d.ts.map +0 -1
  1393. package/node_modules/typescript-7/dist/ast/visitor.generated.js +0 -978
  1394. package/node_modules/typescript-7/dist/ast/visitor.generated.js.map +0 -1
  1395. package/node_modules/typescript-7/dist/ast/visitor.js +0 -47
  1396. package/node_modules/typescript-7/dist/ast/visitor.js.map +0 -1
  1397. package/node_modules/typescript-7/dist/enums/characterCodes.d.ts +0 -2
  1398. package/node_modules/typescript-7/dist/enums/characterCodes.d.ts.map +0 -1
  1399. package/node_modules/typescript-7/dist/enums/characterCodes.enum.d.ts +0 -129
  1400. package/node_modules/typescript-7/dist/enums/characterCodes.enum.d.ts.map +0 -1
  1401. package/node_modules/typescript-7/dist/enums/characterCodes.enum.js +0 -132
  1402. package/node_modules/typescript-7/dist/enums/characterCodes.enum.js.map +0 -1
  1403. package/node_modules/typescript-7/dist/enums/characterCodes.js +0 -130
  1404. package/node_modules/typescript-7/dist/enums/characterCodes.js.map +0 -1
  1405. package/node_modules/typescript-7/dist/enums/commentDirectiveType.d.ts +0 -2
  1406. package/node_modules/typescript-7/dist/enums/commentDirectiveType.d.ts.map +0 -1
  1407. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.d.ts +0 -5
  1408. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.d.ts.map +0 -1
  1409. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.js +0 -6
  1410. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.js.map +0 -1
  1411. package/node_modules/typescript-7/dist/enums/commentDirectiveType.js +0 -6
  1412. package/node_modules/typescript-7/dist/enums/commentDirectiveType.js.map +0 -1
  1413. package/node_modules/typescript-7/dist/enums/completionItemKind.d.ts +0 -2
  1414. package/node_modules/typescript-7/dist/enums/completionItemKind.d.ts.map +0 -1
  1415. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.d.ts +0 -28
  1416. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.d.ts.map +0 -1
  1417. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.js +0 -30
  1418. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.js.map +0 -1
  1419. package/node_modules/typescript-7/dist/enums/completionItemKind.js +0 -30
  1420. package/node_modules/typescript-7/dist/enums/completionItemKind.js.map +0 -1
  1421. package/node_modules/typescript-7/dist/enums/diagnosticCategory.d.ts +0 -2
  1422. package/node_modules/typescript-7/dist/enums/diagnosticCategory.d.ts.map +0 -1
  1423. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.d.ts +0 -7
  1424. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.d.ts.map +0 -1
  1425. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.js +0 -9
  1426. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.js.map +0 -1
  1427. package/node_modules/typescript-7/dist/enums/diagnosticCategory.js +0 -9
  1428. package/node_modules/typescript-7/dist/enums/diagnosticCategory.js.map +0 -1
  1429. package/node_modules/typescript-7/dist/enums/elementFlags.d.ts +0 -2
  1430. package/node_modules/typescript-7/dist/enums/elementFlags.d.ts.map +0 -1
  1431. package/node_modules/typescript-7/dist/enums/elementFlags.enum.d.ts +0 -12
  1432. package/node_modules/typescript-7/dist/enums/elementFlags.enum.d.ts.map +0 -1
  1433. package/node_modules/typescript-7/dist/enums/elementFlags.enum.js +0 -14
  1434. package/node_modules/typescript-7/dist/enums/elementFlags.enum.js.map +0 -1
  1435. package/node_modules/typescript-7/dist/enums/elementFlags.js +0 -14
  1436. package/node_modules/typescript-7/dist/enums/elementFlags.js.map +0 -1
  1437. package/node_modules/typescript-7/dist/enums/internalSymbolName.d.ts +0 -2
  1438. package/node_modules/typescript-7/dist/enums/internalSymbolName.d.ts.map +0 -1
  1439. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.d.ts +0 -23
  1440. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.d.ts.map +0 -1
  1441. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.js +0 -25
  1442. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.js.map +0 -1
  1443. package/node_modules/typescript-7/dist/enums/internalSymbolName.js +0 -25
  1444. package/node_modules/typescript-7/dist/enums/internalSymbolName.js.map +0 -1
  1445. package/node_modules/typescript-7/dist/enums/jsxEmit.d.ts +0 -2
  1446. package/node_modules/typescript-7/dist/enums/jsxEmit.d.ts.map +0 -1
  1447. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.d.ts +0 -9
  1448. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.d.ts.map +0 -1
  1449. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.js +0 -11
  1450. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.js.map +0 -1
  1451. package/node_modules/typescript-7/dist/enums/jsxEmit.js +0 -11
  1452. package/node_modules/typescript-7/dist/enums/jsxEmit.js.map +0 -1
  1453. package/node_modules/typescript-7/dist/enums/languageVariant.d.ts +0 -2
  1454. package/node_modules/typescript-7/dist/enums/languageVariant.d.ts.map +0 -1
  1455. package/node_modules/typescript-7/dist/enums/languageVariant.enum.d.ts +0 -5
  1456. package/node_modules/typescript-7/dist/enums/languageVariant.enum.d.ts.map +0 -1
  1457. package/node_modules/typescript-7/dist/enums/languageVariant.enum.js +0 -6
  1458. package/node_modules/typescript-7/dist/enums/languageVariant.enum.js.map +0 -1
  1459. package/node_modules/typescript-7/dist/enums/languageVariant.js +0 -6
  1460. package/node_modules/typescript-7/dist/enums/languageVariant.js.map +0 -1
  1461. package/node_modules/typescript-7/dist/enums/modifierFlags.d.ts +0 -2
  1462. package/node_modules/typescript-7/dist/enums/modifierFlags.d.ts.map +0 -1
  1463. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.d.ts +0 -42
  1464. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.d.ts.map +0 -1
  1465. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.js +0 -44
  1466. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.js.map +0 -1
  1467. package/node_modules/typescript-7/dist/enums/modifierFlags.js +0 -44
  1468. package/node_modules/typescript-7/dist/enums/modifierFlags.js.map +0 -1
  1469. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.d.ts +0 -2
  1470. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.d.ts.map +0 -1
  1471. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.d.ts +0 -7
  1472. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.d.ts.map +0 -1
  1473. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.js +0 -9
  1474. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.js.map +0 -1
  1475. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.js +0 -9
  1476. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.js.map +0 -1
  1477. package/node_modules/typescript-7/dist/enums/moduleKind.d.ts +0 -2
  1478. package/node_modules/typescript-7/dist/enums/moduleKind.d.ts.map +0 -1
  1479. package/node_modules/typescript-7/dist/enums/moduleKind.enum.d.ts +0 -17
  1480. package/node_modules/typescript-7/dist/enums/moduleKind.enum.d.ts.map +0 -1
  1481. package/node_modules/typescript-7/dist/enums/moduleKind.enum.js +0 -19
  1482. package/node_modules/typescript-7/dist/enums/moduleKind.enum.js.map +0 -1
  1483. package/node_modules/typescript-7/dist/enums/moduleKind.js +0 -19
  1484. package/node_modules/typescript-7/dist/enums/moduleKind.js.map +0 -1
  1485. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.d.ts +0 -2
  1486. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.d.ts.map +0 -1
  1487. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.d.ts +0 -9
  1488. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.d.ts.map +0 -1
  1489. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.js +0 -11
  1490. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.js.map +0 -1
  1491. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.js +0 -11
  1492. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.js.map +0 -1
  1493. package/node_modules/typescript-7/dist/enums/newLineKind.d.ts +0 -2
  1494. package/node_modules/typescript-7/dist/enums/newLineKind.d.ts.map +0 -1
  1495. package/node_modules/typescript-7/dist/enums/newLineKind.enum.d.ts +0 -6
  1496. package/node_modules/typescript-7/dist/enums/newLineKind.enum.d.ts.map +0 -1
  1497. package/node_modules/typescript-7/dist/enums/newLineKind.enum.js +0 -8
  1498. package/node_modules/typescript-7/dist/enums/newLineKind.enum.js.map +0 -1
  1499. package/node_modules/typescript-7/dist/enums/newLineKind.js +0 -8
  1500. package/node_modules/typescript-7/dist/enums/newLineKind.js.map +0 -1
  1501. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.d.ts +0 -2
  1502. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.d.ts.map +0 -1
  1503. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.d.ts +0 -36
  1504. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.d.ts.map +0 -1
  1505. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.js +0 -38
  1506. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.js.map +0 -1
  1507. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.js +0 -38
  1508. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.js.map +0 -1
  1509. package/node_modules/typescript-7/dist/enums/nodeFlags.d.ts +0 -2
  1510. package/node_modules/typescript-7/dist/enums/nodeFlags.d.ts.map +0 -1
  1511. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.d.ts +0 -44
  1512. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.d.ts.map +0 -1
  1513. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.js +0 -46
  1514. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.js.map +0 -1
  1515. package/node_modules/typescript-7/dist/enums/nodeFlags.js +0 -46
  1516. package/node_modules/typescript-7/dist/enums/nodeFlags.js.map +0 -1
  1517. package/node_modules/typescript-7/dist/enums/objectFlags.d.ts +0 -2
  1518. package/node_modules/typescript-7/dist/enums/objectFlags.d.ts.map +0 -1
  1519. package/node_modules/typescript-7/dist/enums/objectFlags.enum.d.ts +0 -50
  1520. package/node_modules/typescript-7/dist/enums/objectFlags.enum.d.ts.map +0 -1
  1521. package/node_modules/typescript-7/dist/enums/objectFlags.enum.js +0 -52
  1522. package/node_modules/typescript-7/dist/enums/objectFlags.enum.js.map +0 -1
  1523. package/node_modules/typescript-7/dist/enums/objectFlags.js +0 -52
  1524. package/node_modules/typescript-7/dist/enums/objectFlags.js.map +0 -1
  1525. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.d.ts +0 -2
  1526. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.d.ts.map +0 -1
  1527. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.d.ts +0 -16
  1528. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.d.ts.map +0 -1
  1529. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.js +0 -18
  1530. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.js.map +0 -1
  1531. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.js +0 -18
  1532. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.js.map +0 -1
  1533. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.d.ts +0 -2
  1534. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.d.ts.map +0 -1
  1535. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.d.ts +0 -13
  1536. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.d.ts.map +0 -1
  1537. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.js +0 -14
  1538. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.js.map +0 -1
  1539. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.js +0 -14
  1540. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.js.map +0 -1
  1541. package/node_modules/typescript-7/dist/enums/scriptKind.d.ts +0 -2
  1542. package/node_modules/typescript-7/dist/enums/scriptKind.d.ts.map +0 -1
  1543. package/node_modules/typescript-7/dist/enums/scriptKind.enum.d.ts +0 -11
  1544. package/node_modules/typescript-7/dist/enums/scriptKind.enum.d.ts.map +0 -1
  1545. package/node_modules/typescript-7/dist/enums/scriptKind.enum.js +0 -12
  1546. package/node_modules/typescript-7/dist/enums/scriptKind.enum.js.map +0 -1
  1547. package/node_modules/typescript-7/dist/enums/scriptKind.js +0 -12
  1548. package/node_modules/typescript-7/dist/enums/scriptKind.js.map +0 -1
  1549. package/node_modules/typescript-7/dist/enums/scriptTarget.d.ts +0 -2
  1550. package/node_modules/typescript-7/dist/enums/scriptTarget.d.ts.map +0 -1
  1551. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.d.ts +0 -17
  1552. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.d.ts.map +0 -1
  1553. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.js +0 -18
  1554. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.js.map +0 -1
  1555. package/node_modules/typescript-7/dist/enums/scriptTarget.js +0 -18
  1556. package/node_modules/typescript-7/dist/enums/scriptTarget.js.map +0 -1
  1557. package/node_modules/typescript-7/dist/enums/signatureFlags.d.ts +0 -2
  1558. package/node_modules/typescript-7/dist/enums/signatureFlags.d.ts.map +0 -1
  1559. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.d.ts +0 -15
  1560. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.d.ts.map +0 -1
  1561. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.js +0 -17
  1562. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.js.map +0 -1
  1563. package/node_modules/typescript-7/dist/enums/signatureFlags.js +0 -17
  1564. package/node_modules/typescript-7/dist/enums/signatureFlags.js.map +0 -1
  1565. package/node_modules/typescript-7/dist/enums/signatureKind.d.ts +0 -2
  1566. package/node_modules/typescript-7/dist/enums/signatureKind.d.ts.map +0 -1
  1567. package/node_modules/typescript-7/dist/enums/signatureKind.enum.d.ts +0 -5
  1568. package/node_modules/typescript-7/dist/enums/signatureKind.enum.d.ts.map +0 -1
  1569. package/node_modules/typescript-7/dist/enums/signatureKind.enum.js +0 -7
  1570. package/node_modules/typescript-7/dist/enums/signatureKind.enum.js.map +0 -1
  1571. package/node_modules/typescript-7/dist/enums/signatureKind.js +0 -7
  1572. package/node_modules/typescript-7/dist/enums/signatureKind.js.map +0 -1
  1573. package/node_modules/typescript-7/dist/enums/symbolFlags.d.ts +0 -2
  1574. package/node_modules/typescript-7/dist/enums/symbolFlags.d.ts.map +0 -1
  1575. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.d.ts +0 -71
  1576. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.d.ts.map +0 -1
  1577. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.js +0 -73
  1578. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.js.map +0 -1
  1579. package/node_modules/typescript-7/dist/enums/symbolFlags.js +0 -73
  1580. package/node_modules/typescript-7/dist/enums/symbolFlags.js.map +0 -1
  1581. package/node_modules/typescript-7/dist/enums/syntaxKind.d.ts +0 -2
  1582. package/node_modules/typescript-7/dist/enums/syntaxKind.d.ts.map +0 -1
  1583. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.d.ts +0 -389
  1584. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.d.ts.map +0 -1
  1585. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.js +0 -391
  1586. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.js.map +0 -1
  1587. package/node_modules/typescript-7/dist/enums/syntaxKind.js +0 -391
  1588. package/node_modules/typescript-7/dist/enums/syntaxKind.js.map +0 -1
  1589. package/node_modules/typescript-7/dist/enums/tokenFlags.d.ts +0 -2
  1590. package/node_modules/typescript-7/dist/enums/tokenFlags.d.ts.map +0 -1
  1591. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.d.ts +0 -30
  1592. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.d.ts.map +0 -1
  1593. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.js +0 -32
  1594. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.js.map +0 -1
  1595. package/node_modules/typescript-7/dist/enums/tokenFlags.js +0 -32
  1596. package/node_modules/typescript-7/dist/enums/tokenFlags.js.map +0 -1
  1597. package/node_modules/typescript-7/dist/enums/typeFlags.d.ts +0 -2
  1598. package/node_modules/typescript-7/dist/enums/typeFlags.d.ts.map +0 -1
  1599. package/node_modules/typescript-7/dist/enums/typeFlags.enum.d.ts +0 -76
  1600. package/node_modules/typescript-7/dist/enums/typeFlags.enum.d.ts.map +0 -1
  1601. package/node_modules/typescript-7/dist/enums/typeFlags.enum.js +0 -78
  1602. package/node_modules/typescript-7/dist/enums/typeFlags.enum.js.map +0 -1
  1603. package/node_modules/typescript-7/dist/enums/typeFlags.js +0 -78
  1604. package/node_modules/typescript-7/dist/enums/typeFlags.js.map +0 -1
  1605. package/node_modules/typescript-7/dist/enums/typePredicateKind.d.ts +0 -2
  1606. package/node_modules/typescript-7/dist/enums/typePredicateKind.d.ts.map +0 -1
  1607. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.d.ts +0 -7
  1608. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.d.ts.map +0 -1
  1609. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.js +0 -9
  1610. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.js.map +0 -1
  1611. package/node_modules/typescript-7/dist/enums/typePredicateKind.js +0 -9
  1612. package/node_modules/typescript-7/dist/enums/typePredicateKind.js.map +0 -1
  1613. package/node_modules/typescript-7/dist/internal/utils.d.ts +0 -23
  1614. package/node_modules/typescript-7/dist/internal/utils.d.ts.map +0 -1
  1615. package/node_modules/typescript-7/dist/internal/utils.js +0 -25
  1616. package/node_modules/typescript-7/dist/internal/utils.js.map +0 -1
  1617. package/node_modules/typescript-7/lib/getExePath.d.ts +0 -2
  1618. package/node_modules/typescript-7/lib/getExePath.js +0 -70
  1619. package/node_modules/typescript-7/lib/tsc.js +0 -28
  1620. package/node_modules/typescript-7/lib/version.cjs +0 -3
  1621. package/node_modules/typescript-7/lib/version.d.cts +0 -2
  1622. package/node_modules/typescript-7/package.json +0 -87
  1623. package/node_modules/typescript-7/vendor/vscode-jsonrpc/License.txt +0 -11
  1624. package/node_modules/typescript-7/vendor/vscode-jsonrpc/README.md +0 -54
  1625. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
  1626. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/main.js +0 -83
  1627. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
  1628. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/ril.js +0 -210
  1629. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/api.d.ts +0 -14
  1630. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/api.js +0 -87
  1631. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
  1632. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/cancellation.js +0 -132
  1633. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
  1634. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/connection.js +0 -1271
  1635. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
  1636. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/disposable.js +0 -16
  1637. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
  1638. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/encoding.js +0 -70
  1639. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/events.d.ts +0 -39
  1640. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/events.js +0 -135
  1641. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/is.d.ts +0 -7
  1642. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/is.js +0 -34
  1643. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
  1644. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/linkedMap.js +0 -412
  1645. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
  1646. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +0 -155
  1647. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
  1648. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageReader.js +0 -246
  1649. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
  1650. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageWriter.js +0 -157
  1651. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
  1652. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messages.js +0 -436
  1653. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
  1654. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/ral.js +0 -23
  1655. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
  1656. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/semaphore.js +0 -74
  1657. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
  1658. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -77
  1659. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/main.d.ts +0 -58
  1660. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/main.js +0 -289
  1661. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
  1662. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/ril.js +0 -163
  1663. package/node_modules/typescript-7/vendor/vscode-jsonrpc/package.json +0 -54
  1664. package/node_modules/typescript-7/vendor/vscode-jsonrpc/typings/thenable.d.ts +0 -5
  1665. package/node_modules/valibot/LICENSE.md +0 -9
  1666. package/node_modules/valibot/README.md +0 -94
  1667. package/node_modules/valibot/dist/index.cjs +0 -7897
  1668. package/node_modules/valibot/dist/index.d.cts +0 -16579
  1669. package/node_modules/valibot/dist/index.d.mts +0 -16579
  1670. package/node_modules/valibot/dist/index.min.cjs +0 -2
  1671. package/node_modules/valibot/dist/index.min.mjs +0 -2
  1672. package/node_modules/valibot/dist/index.mjs +0 -7577
  1673. package/node_modules/valibot/package.json +0 -84
  1674. /package/node_modules/@ykdz/{template-workspace/dist/generation-context.js → default-content-authoring/dist/contracts.js} +0 -0
  1675. /package/node_modules/@ykdz/{template-workspace → default-content-authoring}/dist/environment-needs.js +0 -0
  1676. /package/node_modules/@ykdz/{template-workspace/dist/default-package-role.d.ts → default-content-authoring/dist/package-role.d.ts} +0 -0
  1677. /package/node_modules/@ykdz/{template-workspace/dist/default-package-role.js → default-content-authoring/dist/package-role.js} +0 -0
  1678. /package/node_modules/@ykdz/{template-workspace/assets/environment → reference-rust-bin/native/resources}/devcontainer/rust.Dockerfile +0 -0
  1679. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/agent-instructions.md +0 -0
  1680. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/base.Dockerfile +0 -0
  1681. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/browser-test.Dockerfile +0 -0
  1682. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/github-cli.Dockerfile +0 -0
  1683. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/shellcheck.Dockerfile +0 -0
  1684. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/workspace-template.json +0 -0
  1685. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/editor-customization/capabilities.json +0 -0
  1686. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/github/check.yml +0 -0
  1687. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/github/dependabot.yml +0 -0
  1688. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/gitignore +0 -0
  1689. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/next-steps.md +0 -0
  1690. /package/node_modules/@ykdz/{template-workspace → reference-workspace-root/native}/scripts/task-gates.ts +0 -0
@@ -1,9 +1,7 @@
1
1
  import { createHash } from "node:crypto";
2
- import { chmod, copyFile, lstat, mkdir, mkdtemp, readFile, rm, rmdir, writeFile, } from "node:fs/promises";
3
- import { tmpdir } from "node:os";
2
+ import { chmod, copyFile, lstat, mkdir, mkdtemp, readFile, readdir, rename, rm, rmdir, writeFile, } from "node:fs/promises";
4
3
  import path from "node:path";
5
4
  import { diff3Merge } from "node-diff3";
6
- import { renderProject } from "./renderer.js";
7
5
  class ProjectProjectionPathPreconditionError extends Error {
8
6
  conflicts;
9
7
  constructor(conflicts) {
@@ -11,121 +9,12 @@ class ProjectProjectionPathPreconditionError extends Error {
11
9
  this.conflicts = conflicts;
12
10
  }
13
11
  }
14
- function normalizedOutputPath(operation) {
15
- const operationPath = operation.kind === "setExecutable" ? operation.path : operation.to;
16
- if (path.isAbsolute(operationPath)) {
17
- throw new Error(`Project Projection paths must be relative: ${operationPath}`);
18
- }
19
- const normalized = path.posix.normalize(operationPath.split(path.sep).join("/"));
20
- if (normalized === "." ||
21
- normalized === ".." ||
22
- normalized.startsWith("../")) {
23
- throw new Error(`Project Projection path escapes its root: ${operationPath}`);
24
- }
25
- return normalized;
26
- }
27
- function operationDriver(operation) {
28
- switch (operation.kind) {
29
- case "mergeJson":
30
- case "mergeJsonTemplate":
31
- case "writeJson":
32
- return "structured";
33
- case "copyFile":
34
- case "writeText":
35
- case "writeTextFromFragments":
36
- case "writeTextTemplate":
37
- return "text";
38
- case "setExecutable":
39
- return undefined;
40
- }
41
- }
42
- /** Pure structural preflight for a renderer-facing Project Projection plan. */
43
- export function validateProjectProjectionPlan(options) {
44
- const diagnostics = [];
45
- const contentKindByPath = new Map();
46
- const contentTypeByPath = new Map();
47
- const transformationKindByPath = new Map();
48
- const finalPaths = new Set();
49
- for (const operation of options.operations) {
50
- let outputPath;
51
- try {
52
- outputPath = normalizedOutputPath(operation);
53
- }
54
- catch (error) {
55
- diagnostics.push(error instanceof Error ? error.message : String(error));
56
- continue;
57
- }
58
- finalPaths.add(outputPath);
59
- const precedingKind = contentKindByPath.get(outputPath);
60
- if (operation.kind === "setExecutable") {
61
- if (precedingKind === undefined) {
62
- diagnostics.push(`Project Projection ${operation.kind} requires a preceding content-producing operation: ${outputPath}`);
63
- }
64
- if (precedingKind !== undefined) {
65
- transformationKindByPath.set(outputPath, operation.kind);
66
- }
67
- continue;
68
- }
69
- if (operation.kind === "mergeJson" ||
70
- operation.kind === "mergeJsonTemplate") {
71
- const transformationKind = transformationKindByPath.get(outputPath);
72
- if (transformationKind !== undefined) {
73
- diagnostics.push(`Project Projection ${operation.kind} may not overwrite content after ${transformationKind}: ${outputPath}`);
74
- }
75
- if (contentTypeByPath.get(outputPath) === "text") {
76
- diagnostics.push(`Project Projection ${operation.kind} requires JSON-compatible content: ${outputPath} follows ${precedingKind}`);
77
- }
78
- if (precedingKind === undefined) {
79
- contentKindByPath.set(outputPath, operation.kind);
80
- }
81
- contentTypeByPath.set(outputPath, "json");
82
- transformationKindByPath.delete(outputPath);
83
- continue;
84
- }
85
- const overwrite = "overwrite" in operation && operation.overwrite;
86
- const transformationKind = transformationKindByPath.get(outputPath);
87
- if (overwrite && transformationKind !== undefined) {
88
- diagnostics.push(`Project Projection ${operation.kind} may not overwrite content after ${transformationKind}: ${outputPath}`);
89
- }
90
- if (precedingKind !== undefined && !overwrite) {
91
- diagnostics.push(`Project Projection collision at ${outputPath}: ${operation.kind} follows ${precedingKind} without overwrite`);
92
- }
93
- contentKindByPath.set(outputPath, operation.kind);
94
- if (operation.kind === "writeJson") {
95
- contentTypeByPath.set(outputPath, "json");
96
- }
97
- else if (operation.kind === "writeText") {
98
- try {
99
- JSON.parse(operation.text);
100
- contentTypeByPath.set(outputPath, "json");
101
- }
102
- catch {
103
- contentTypeByPath.set(outputPath, "text");
104
- }
105
- }
106
- else {
107
- contentTypeByPath.set(outputPath, "unknown");
108
- }
109
- transformationKindByPath.delete(outputPath);
110
- }
111
- const orderedPaths = [...finalPaths].toSorted();
112
- for (const candidate of orderedPaths) {
113
- const ancestor = orderedPaths.find((other) => other !== candidate && candidate.startsWith(`${other}/`));
114
- if (ancestor !== undefined) {
115
- diagnostics.push(`Project Projection path collision: file ${ancestor} is an ancestor of ${candidate}`);
116
- }
117
- }
118
- const reconciliationPaths = new Set();
119
- for (const reconciliation of options.reconciliation ?? []) {
120
- if (reconciliationPaths.has(reconciliation.path)) {
121
- diagnostics.push(`Project Projection reconciliation paths must be unique: ${reconciliation.path}`);
122
- }
123
- else if (!finalPaths.has(reconciliation.path)) {
124
- diagnostics.push(`Project Projection reconciliation references an unknown path: ${reconciliation.path}`);
125
- }
126
- reconciliationPaths.add(reconciliation.path);
12
+ class ProjectProjectionStalePlanError extends Error {
13
+ conflicts;
14
+ constructor(conflicts) {
15
+ super("规划后相关目标事实已变化");
16
+ this.conflicts = conflicts;
127
17
  }
128
- return diagnostics;
129
18
  }
130
19
  function bytesEqual(left, right) {
131
20
  return (left.byteLength === right.byteLength &&
@@ -139,6 +28,21 @@ function entriesEqual(left, right) {
139
28
  }
140
29
  return left.mode === right.mode && bytesEqual(left.content, right.content);
141
30
  }
31
+ function mergeProjectProjectionSources(...groups) {
32
+ const sources = new Map();
33
+ for (const group of groups) {
34
+ for (const source of group ?? []) {
35
+ if (!sources.has(source.identity)) {
36
+ sources.set(source.identity, { ...source });
37
+ }
38
+ }
39
+ }
40
+ return [...sources.values()];
41
+ }
42
+ function attachConflictSources(conflict, ...groups) {
43
+ const sources = mergeProjectProjectionSources(conflict.sources, ...groups);
44
+ return sources.length === 0 ? conflict : { ...conflict, sources };
45
+ }
142
46
  function decodeText(content) {
143
47
  try {
144
48
  return new TextDecoder("utf8", { fatal: true }).decode(content);
@@ -916,11 +820,13 @@ function mirrorSlotsExtendMonotonically(before, after) {
916
820
  return true;
917
821
  }
918
822
  function reconciliationPoliciesCompatible(left, right) {
823
+ const { sources: _leftSources, ...leftPolicy } = left;
824
+ const { sources: _rightSources, ...rightPolicy } = right;
919
825
  if (left.path !== right.path ||
920
826
  left.driver !== right.driver ||
921
827
  left.driver !== "structured" ||
922
828
  right.driver !== "structured") {
923
- return JSON.stringify(left) === JSON.stringify(right);
829
+ return JSON.stringify(leftPolicy) === JSON.stringify(rightPolicy);
924
830
  }
925
831
  const leftIdentitySets = left.identitySets ?? [];
926
832
  const rightIdentitySets = right.identitySets ?? [];
@@ -1047,11 +953,11 @@ function declaredMirrorSlots(policy) {
1047
953
  return [];
1048
954
  return policy.mirrorSlots ?? [];
1049
955
  }
1050
- export async function reconcileProjectProjections(options) {
1051
- const beforePolicies = assertProjectionContract(options.before);
1052
- const afterPolicies = assertProjectionContract(options.after);
1053
- const beforeByPath = new Map(options.before.entries.map((entry) => [entry.path, entry]));
1054
- const afterByPath = new Map(options.after.entries.map((entry) => [entry.path, entry]));
956
+ function projectionObservationPaths(before, after) {
957
+ const beforePolicies = assertProjectionContract(before);
958
+ const afterPolicies = assertProjectionContract(after);
959
+ const beforeByPath = new Map(before.entries.map((entry) => [entry.path, entry]));
960
+ const afterByPath = new Map(after.entries.map((entry) => [entry.path, entry]));
1055
961
  for (const projectionPath of beforeByPath.keys()) {
1056
962
  const beforePolicy = beforePolicies.get(projectionPath);
1057
963
  const afterPolicy = afterPolicies.get(projectionPath);
@@ -1064,26 +970,146 @@ export async function reconcileProjectProjections(options) {
1064
970
  throw new Error(`Project Projection reconciliation policy changed for ${projectionPath}`);
1065
971
  }
1066
972
  }
1067
- const deltaPathSet = new Set([...new Set([...beforeByPath.keys(), ...afterByPath.keys()])]
973
+ const deltaPaths = [
974
+ ...new Set([...beforeByPath.keys(), ...afterByPath.keys()]),
975
+ ]
1068
976
  .filter((projectionPath) => !entriesEqual(beforeByPath.get(projectionPath), afterByPath.get(projectionPath)))
1069
- .toSorted());
977
+ .toSorted();
1070
978
  const declaredMirrorPaths = new Set();
1071
979
  for (const [projectionPath, policy] of afterPolicies) {
1072
- if (declaredMirrorSlots(policy).length > 0) {
980
+ if (declaredMirrorSlots(policy).length > 0)
1073
981
  declaredMirrorPaths.add(projectionPath);
1074
- }
1075
982
  }
1076
983
  for (const [projectionPath, policy] of beforePolicies) {
1077
- if (declaredMirrorSlots(policy).length > 0) {
984
+ if (declaredMirrorSlots(policy).length > 0)
1078
985
  declaredMirrorPaths.add(projectionPath);
986
+ }
987
+ return [...new Set([...deltaPaths, ...declaredMirrorPaths])].toSorted();
988
+ }
989
+ export function getProjectProjectionReconciliationPaths(options) {
990
+ return projectionObservationPaths(options.before, options.after);
991
+ }
992
+ function assertUniquePreconditions(preconditions) {
993
+ const paths = new Set();
994
+ for (const precondition of preconditions) {
995
+ if (precondition.path === ".") {
996
+ if (precondition.kind !== "directory-empty-or-missing") {
997
+ throw new Error("文件路径前提不能使用点路径。");
998
+ }
999
+ }
1000
+ else {
1001
+ assertNormalizedSafeRelativePath(precondition.path, "entry");
1002
+ }
1003
+ if (paths.has(precondition.path)) {
1004
+ throw new Error(`投影路径前提必须唯一:${precondition.path}`);
1005
+ }
1006
+ paths.add(precondition.path);
1007
+ }
1008
+ }
1009
+ export function getProjectProjectionObservationPaths(options) {
1010
+ const preconditions = options.preconditions ?? [];
1011
+ assertUniquePreconditions(preconditions);
1012
+ const additionalPaths = options.additionalPaths ?? [];
1013
+ for (const additionalPath of additionalPaths) {
1014
+ assertNormalizedSafeRelativePath(additionalPath, "entry");
1015
+ }
1016
+ const leaves = new Set([
1017
+ ...projectionObservationPaths(options.before, options.after),
1018
+ ...preconditions.map((precondition) => precondition.path),
1019
+ ...additionalPaths,
1020
+ ]);
1021
+ const observations = new Set(leaves);
1022
+ for (const leaf of leaves) {
1023
+ for (let parent = path.posix.dirname(leaf); parent !== "." && parent !== ""; parent = path.posix.dirname(parent)) {
1024
+ observations.add(parent);
1025
+ }
1026
+ }
1027
+ return [...observations].toSorted();
1028
+ }
1029
+ export async function readProjectProjectionCurrent(options) {
1030
+ const targetRoot = path.resolve(options.targetRoot);
1031
+ const preconditions = options.preconditions ?? [];
1032
+ const paths = getProjectProjectionObservationPaths({
1033
+ before: options.before,
1034
+ after: options.after,
1035
+ preconditions,
1036
+ ...(options.additionalPaths === undefined
1037
+ ? {}
1038
+ : { additionalPaths: options.additionalPaths }),
1039
+ });
1040
+ const leafPaths = new Set([
1041
+ ...projectionObservationPaths(options.before, options.after),
1042
+ ...(options.additionalPaths ?? []),
1043
+ ]);
1044
+ const preconditionPaths = new Set(preconditions.map((precondition) => precondition.path));
1045
+ const ancestorPaths = new Set();
1046
+ for (const leaf of [...leafPaths, ...preconditionPaths]) {
1047
+ for (let parent = path.posix.dirname(leaf); parent !== "." && parent !== ""; parent = path.posix.dirname(parent)) {
1048
+ ancestorPaths.add(parent);
1049
+ }
1050
+ }
1051
+ const emptyDirectoryPaths = new Set(preconditions
1052
+ .filter((precondition) => precondition.kind === "directory-empty-or-missing")
1053
+ .map((precondition) => precondition.path));
1054
+ const facts = await Promise.all(paths.map((projectionPath) => readCurrentProjectionEntry(targetRoot, projectionPath, {
1055
+ includeDirectoryContents: emptyDirectoryPaths.has(projectionPath),
1056
+ includeFileContents: leafPaths.has(projectionPath),
1057
+ ...(ancestorPaths.has(projectionPath)
1058
+ ? { observation: "ancestor" }
1059
+ : preconditionPaths.has(projectionPath)
1060
+ ? { observation: "precondition" }
1061
+ : {}),
1062
+ })));
1063
+ return { targetRoot, facts };
1064
+ }
1065
+ function explicitCurrentByPath(current) {
1066
+ const result = new Map();
1067
+ for (const fact of current) {
1068
+ if (result.has(fact.path)) {
1069
+ throw new Error(`Current 事实路径必须唯一:${fact.path}`);
1079
1070
  }
1071
+ result.set(fact.path, fact);
1080
1072
  }
1081
- const reconcilePaths = [
1082
- ...new Set([...deltaPathSet, ...declaredMirrorPaths]),
1083
- ].toSorted();
1073
+ return result;
1074
+ }
1075
+ function currentEntry(fact) {
1076
+ return fact.kind === "missing" ? undefined : fact;
1077
+ }
1078
+ function assertCurrentFactPaths(options) {
1079
+ const permitsRoot = options.preconditions.some((precondition) => precondition.path === "." &&
1080
+ precondition.kind === "directory-empty-or-missing");
1081
+ for (const fact of options.facts) {
1082
+ if (fact.path === ".") {
1083
+ if (!permitsRoot) {
1084
+ throw new Error("点路径事实只能用于初始化目标前提。");
1085
+ }
1086
+ continue;
1087
+ }
1088
+ try {
1089
+ assertNormalizedSafeRelativePath(fact.path, "entry");
1090
+ }
1091
+ catch (error) {
1092
+ throw new Error(`Current 事实路径必须是安全的标准相对路径:${fact.path}`, { cause: error });
1093
+ }
1094
+ }
1095
+ }
1096
+ export function reconcileProjectProjections(options) {
1097
+ const beforePolicies = assertProjectionContract(options.before);
1098
+ const afterPolicies = assertProjectionContract(options.after);
1099
+ const currentByPath = explicitCurrentByPath(options.current);
1100
+ const beforeByPath = new Map(options.before.entries.map((entry) => [entry.path, entry]));
1101
+ const afterByPath = new Map(options.after.entries.map((entry) => [entry.path, entry]));
1102
+ const reconcilePaths = projectionObservationPaths(options.before, options.after);
1103
+ const deltaPathSet = new Set([...new Set([...beforeByPath.keys(), ...afterByPath.keys()])]
1104
+ .filter((projectionPath) => !entriesEqual(beforeByPath.get(projectionPath), afterByPath.get(projectionPath)))
1105
+ .toSorted());
1084
1106
  const mutations = [];
1085
1107
  const conflicts = [];
1086
1108
  for (const projectionPath of reconcilePaths) {
1109
+ const currentFact = currentByPath.get(projectionPath);
1110
+ if (currentFact === undefined) {
1111
+ throw new Error(`Current 事实缺少必要路径:${projectionPath}`);
1112
+ }
1087
1113
  const before = beforeByPath.get(projectionPath);
1088
1114
  const after = afterByPath.get(projectionPath);
1089
1115
  const beforePolicy = beforePolicies.get(projectionPath);
@@ -1092,7 +1118,7 @@ export async function reconcileProjectProjections(options) {
1092
1118
  const driver = policy.driver;
1093
1119
  const mirrorSlots = declaredMirrorSlots(policy);
1094
1120
  const isDeltaPath = deltaPathSet.has(projectionPath);
1095
- const current = await options.readCurrent(projectionPath);
1121
+ const current = currentEntry(currentFact);
1096
1122
  if (entriesEqual(current, after))
1097
1123
  continue;
1098
1124
  if (entriesEqual(current, before)) {
@@ -1200,20 +1226,393 @@ export async function reconcileProjectProjections(options) {
1200
1226
  }
1201
1227
  return conflicts.length === 0
1202
1228
  ? { ok: true, mutations }
1203
- : { ok: false, conflicts };
1229
+ : {
1230
+ ok: false,
1231
+ conflicts: conflicts.map((conflict) => attachConflictSources(conflict, beforeByPath.get(conflict.path)?.sources, currentByPath.get(conflict.path)?.sources, afterByPath.get(conflict.path)?.sources, beforePolicies.get(conflict.path)?.sources, afterPolicies.get(conflict.path)?.sources)),
1232
+ };
1233
+ }
1234
+ const storedProjectProjectionPlans = new WeakMap();
1235
+ function cloneProjectionEntry(entry) {
1236
+ return {
1237
+ ...entry,
1238
+ content: new Uint8Array(entry.content),
1239
+ ...(entry.sources === undefined
1240
+ ? {}
1241
+ : { sources: mergeProjectProjectionSources(entry.sources) }),
1242
+ };
1243
+ }
1244
+ function cloneCurrentFact(fact) {
1245
+ return fact.kind === "file" ? cloneProjectionEntry(fact) : { ...fact };
1246
+ }
1247
+ function currentFactsEqual(left, right) {
1248
+ if (left.path !== right.path || left.kind !== right.kind)
1249
+ return false;
1250
+ if (left.kind === "file" && right.kind === "file") {
1251
+ return (left.mode === right.mode &&
1252
+ left.observation === right.observation &&
1253
+ bytesEqual(left.content, right.content));
1254
+ }
1255
+ if (left.kind === "directory" && right.kind === "directory") {
1256
+ return left.empty === right.empty && left.observation === right.observation;
1257
+ }
1258
+ return left.observation === right.observation;
1259
+ }
1260
+ function preconditionConflict(precondition, fact) {
1261
+ if (precondition.kind === "must-not-exist" && fact.kind === "missing") {
1262
+ return undefined;
1263
+ }
1264
+ if (precondition.kind === "directory-empty-or-missing" &&
1265
+ (fact.kind === "missing" || (fact.kind === "directory" && fact.empty))) {
1266
+ return undefined;
1267
+ }
1268
+ const current = fact.kind === "directory" && fact.empty === true
1269
+ ? "空目录"
1270
+ : fact.kind === "missing"
1271
+ ? "缺失"
1272
+ : fact.kind === "other"
1273
+ ? "非普通文件"
1274
+ : fact.kind === "symbolic-link"
1275
+ ? "符号链接"
1276
+ : fact.kind === "directory"
1277
+ ? "目录"
1278
+ : "文件";
1279
+ return {
1280
+ path: precondition.path,
1281
+ driver: "precondition",
1282
+ reason: `${precondition.reason};当前为${current}`,
1283
+ before: precondition.kind === "must-not-exist" ? "缺失" : "空目录或缺失",
1284
+ current,
1285
+ after: "为本次提交预留",
1286
+ ...(precondition.sources === undefined
1287
+ ? {}
1288
+ : { sources: precondition.sources }),
1289
+ };
1290
+ }
1291
+ function ancestorFactConflict(fact) {
1292
+ if (fact.observation !== "ancestor" ||
1293
+ fact.kind === "missing" ||
1294
+ fact.kind === "directory") {
1295
+ return undefined;
1296
+ }
1297
+ const current = fact.kind === "other"
1298
+ ? "非普通文件"
1299
+ : fact.kind === "symbolic-link"
1300
+ ? "符号链接"
1301
+ : "文件";
1302
+ return {
1303
+ path: fact.path,
1304
+ driver: "precondition",
1305
+ reason: "输出路径的祖先必须是目录或缺失",
1306
+ before: "目录或缺失",
1307
+ current,
1308
+ after: "目录或缺失",
1309
+ };
1310
+ }
1311
+ function sourcesForBlockedDescendants(options) {
1312
+ const prefix = options.path === "." ? "" : `${options.path}/`;
1313
+ const isDescendant = (candidate) => candidate !== options.path && candidate.startsWith(prefix);
1314
+ const groups = [];
1315
+ for (const entry of options.before.entries) {
1316
+ if (isDescendant(entry.path))
1317
+ groups.push(entry.sources);
1318
+ }
1319
+ for (const policy of options.before.reconciliation) {
1320
+ if (isDescendant(policy.path))
1321
+ groups.push(policy.sources);
1322
+ }
1323
+ for (const entry of options.after.entries) {
1324
+ if (isDescendant(entry.path))
1325
+ groups.push(entry.sources);
1326
+ }
1327
+ for (const policy of options.after.reconciliation) {
1328
+ if (isDescendant(policy.path))
1329
+ groups.push(policy.sources);
1330
+ }
1331
+ for (const precondition of options.preconditions) {
1332
+ if (isDescendant(precondition.path))
1333
+ groups.push(precondition.sources);
1334
+ }
1335
+ return mergeProjectProjectionSources(...groups);
1336
+ }
1337
+ function ancestorFactsRemainUsable(expected, current) {
1338
+ return (expected.observation === "ancestor" &&
1339
+ current.observation === "ancestor" &&
1340
+ (current.kind === "missing" || current.kind === "directory"));
1341
+ }
1342
+ export function planProjectProjections(options) {
1343
+ if (!path.isAbsolute(options.current.targetRoot)) {
1344
+ throw new Error("Current 事实的目标目录必须是绝对路径");
1345
+ }
1346
+ const preconditions = options.preconditions ?? [];
1347
+ assertCurrentFactPaths({
1348
+ facts: [...options.current.facts, ...(options.readFacts ?? [])],
1349
+ preconditions,
1350
+ });
1351
+ const paths = getProjectProjectionObservationPaths({
1352
+ before: options.before,
1353
+ after: options.after,
1354
+ preconditions,
1355
+ });
1356
+ const currentByPath = explicitCurrentByPath(options.current.facts);
1357
+ const readFactConflicts = [];
1358
+ const afterByPath = new Map(options.after.entries.map((entry) => [entry.path, entry]));
1359
+ const drivers = new Map([
1360
+ ...options.after.reconciliation.map((policy) => [policy.path, policy.driver]),
1361
+ ...options.before.reconciliation.map((policy) => [policy.path, policy.driver]),
1362
+ ]);
1363
+ for (const readFact of options.readFacts ?? []) {
1364
+ const currentFact = currentByPath.get(readFact.path);
1365
+ if (currentFact === undefined) {
1366
+ currentByPath.set(readFact.path, cloneCurrentFact(readFact));
1367
+ continue;
1368
+ }
1369
+ if (currentFactsEqual(readFact, currentFact))
1370
+ continue;
1371
+ readFactConflicts.push(attachConflictSources({
1372
+ path: readFact.path,
1373
+ driver: drivers.get(readFact.path) ?? "precondition",
1374
+ reason: "准备计算使用的Current事实与规划时读取的事实不一致,请重新准备",
1375
+ before: describeEntry(readFact),
1376
+ current: describeEntry(currentFact),
1377
+ after: afterByPath.has(readFact.path)
1378
+ ? describeEntry(afterByPath.get(readFact.path))
1379
+ : "保留准备时读取的事实",
1380
+ }, readFact.sources, currentFact.sources, afterByPath.get(readFact.path)?.sources));
1381
+ }
1382
+ for (const projectionPath of paths) {
1383
+ const fact = currentByPath.get(projectionPath);
1384
+ if (fact === undefined) {
1385
+ throw new Error(`Current 事实缺少必要路径:${projectionPath}`);
1386
+ }
1387
+ }
1388
+ const observations = [...currentByPath.values()].map(cloneCurrentFact);
1389
+ const preconditionConflicts = preconditions.flatMap((precondition) => {
1390
+ const fact = currentByPath.get(precondition.path);
1391
+ const conflict = preconditionConflict(precondition, fact);
1392
+ return conflict === undefined ? [] : [conflict];
1393
+ });
1394
+ const conflictingPreconditionPaths = new Set(preconditionConflicts.map((conflict) => conflict.path));
1395
+ const invalidAncestorFacts = observations.filter((fact) => ancestorFactConflict(fact) !== undefined);
1396
+ const ancestorConflicts = invalidAncestorFacts.flatMap((fact) => {
1397
+ if (conflictingPreconditionPaths.has(fact.path) ||
1398
+ invalidAncestorFacts.some((ancestor) => ancestor.path !== fact.path &&
1399
+ fact.path.startsWith(`${ancestor.path}/`))) {
1400
+ return [];
1401
+ }
1402
+ const conflict = ancestorFactConflict(fact);
1403
+ return conflict === undefined
1404
+ ? []
1405
+ : [
1406
+ attachConflictSources(conflict, sourcesForBlockedDescendants({
1407
+ path: fact.path,
1408
+ before: options.before,
1409
+ after: options.after,
1410
+ preconditions,
1411
+ })),
1412
+ ];
1413
+ });
1414
+ const inputConflicts = [
1415
+ ...readFactConflicts,
1416
+ ...preconditionConflicts,
1417
+ ...ancestorConflicts,
1418
+ ];
1419
+ if (inputConflicts.length > 0) {
1420
+ return { ok: false, conflicts: inputConflicts };
1421
+ }
1422
+ const reconciliation = reconcileProjectProjections({
1423
+ before: options.before,
1424
+ current: observations,
1425
+ after: options.after,
1426
+ });
1427
+ if (!reconciliation.ok)
1428
+ return reconciliation;
1429
+ const beforePaths = new Set(options.before.entries.map((entry) => entry.path));
1430
+ const afterPolicies = new Map(options.after.reconciliation.map((policy) => [policy.path, policy.driver]));
1431
+ const beforePolicies = new Map(options.before.reconciliation.map((policy) => [policy.path, policy.driver]));
1432
+ const actions = reconciliation.mutations.map((mutation) => ({
1433
+ path: mutation.path,
1434
+ driver: afterPolicies.get(mutation.path) ?? beforePolicies.get(mutation.path),
1435
+ action: beforePaths.has(mutation.path)
1436
+ ? "update"
1437
+ : "create",
1438
+ }));
1439
+ const changeDrivers = new Map([
1440
+ ...afterPolicies,
1441
+ ...beforePolicies,
1442
+ ]);
1443
+ for (const precondition of preconditions)
1444
+ changeDrivers.set(precondition.path, "precondition");
1445
+ const beforeEntries = new Map(options.before.entries.map((entry) => [entry.path, entry]));
1446
+ const preconditionsByPath = new Map(preconditions.map((item) => [item.path, item]));
1447
+ const sourcesByPath = new Map();
1448
+ for (const projectionPath of new Set([
1449
+ ...beforeEntries.keys(),
1450
+ ...currentByPath.keys(),
1451
+ ...afterByPath.keys(),
1452
+ ...preconditionsByPath.keys(),
1453
+ ])) {
1454
+ const sources = mergeProjectProjectionSources(beforeEntries.get(projectionPath)?.sources, currentByPath.get(projectionPath)?.sources, afterByPath.get(projectionPath)?.sources, options.before.reconciliation.find((policy) => policy.path === projectionPath)?.sources, options.after.reconciliation.find((policy) => policy.path === projectionPath)?.sources, preconditionsByPath.get(projectionPath)?.sources);
1455
+ if (sources.length > 0)
1456
+ sourcesByPath.set(projectionPath, sources);
1457
+ }
1458
+ for (const fact of observations) {
1459
+ if (fact.observation !== "ancestor")
1460
+ continue;
1461
+ const sources = sourcesForBlockedDescendants({
1462
+ path: fact.path,
1463
+ before: options.before,
1464
+ after: options.after,
1465
+ preconditions,
1466
+ });
1467
+ if (sources.length === 0)
1468
+ continue;
1469
+ sourcesByPath.set(fact.path, mergeProjectProjectionSources(sourcesByPath.get(fact.path), sources));
1470
+ }
1471
+ const publicPlan = Object.freeze({
1472
+ mutations: Object.freeze(reconciliation.mutations.map(cloneProjectionEntry)),
1473
+ observations: Object.freeze(observations.map(cloneCurrentFact)),
1474
+ preconditions: Object.freeze(preconditions.map((precondition) => Object.freeze({ ...precondition }))),
1475
+ actions: Object.freeze(actions.map((action) => Object.freeze({ ...action }))),
1476
+ });
1477
+ storedProjectProjectionPlans.set(publicPlan, {
1478
+ targetRoot: options.current.targetRoot,
1479
+ mutations: reconciliation.mutations.map(cloneProjectionEntry),
1480
+ observations: observations.map(cloneCurrentFact),
1481
+ preconditions: preconditions.map((precondition) => ({ ...precondition })),
1482
+ actions: actions.map((action) => ({ ...action })),
1483
+ drivers: changeDrivers,
1484
+ afterByPath: new Map(options.after.entries.map((entry) => [
1485
+ entry.path,
1486
+ cloneProjectionEntry(entry),
1487
+ ])),
1488
+ sourcesByPath,
1489
+ });
1490
+ return { ok: true, plan: publicPlan };
1204
1491
  }
1205
- async function readCurrentProjectionEntry(targetRoot, projectionPath) {
1492
+ async function readStoredPlanObservations(options) {
1493
+ const preconditions = new Map(options.plan.preconditions.map((precondition) => [
1494
+ precondition.path,
1495
+ precondition,
1496
+ ]));
1497
+ return Promise.all(options.plan.observations.map((fact) => {
1498
+ const precondition = preconditions.get(fact.path);
1499
+ return readCurrentProjectionEntry(options.targetRoot, fact.path, {
1500
+ includeDirectoryContents: precondition?.kind === "directory-empty-or-missing" &&
1501
+ fact.kind === "directory",
1502
+ includeFileContents: fact.kind === "file",
1503
+ ...(fact.observation === undefined
1504
+ ? {}
1505
+ : { observation: fact.observation }),
1506
+ });
1507
+ }));
1508
+ }
1509
+ async function stalePlanConflicts(options) {
1510
+ const current = await readStoredPlanObservations(options);
1511
+ const conflicts = [];
1512
+ for (const [index, before] of options.plan.observations.entries()) {
1513
+ const actual = current[index];
1514
+ if (currentFactsEqual(before, actual))
1515
+ continue;
1516
+ if (ancestorFactsRemainUsable(before, actual))
1517
+ continue;
1518
+ const after = options.plan.afterByPath.get(before.path);
1519
+ conflicts.push(attachConflictSources({
1520
+ path: before.path,
1521
+ driver: options.plan.drivers.get(before.path) ?? "precondition",
1522
+ reason: "规划后相关目标事实已变化,请重新规划",
1523
+ before: describeEntry(before),
1524
+ current: describeEntry(actual),
1525
+ after: after === undefined ? "保留已规划路径约束" : describeEntry(after),
1526
+ }, options.plan.sourcesByPath.get(before.path), actual.sources, after?.sources));
1527
+ }
1528
+ return conflicts;
1529
+ }
1530
+ export async function commitProjectProjectionPlan(options) {
1531
+ const stored = storedProjectProjectionPlans.get(options.plan);
1532
+ if (stored === undefined) {
1533
+ throw new Error("计划必须在当前进程中由 planProjectProjections 创建");
1534
+ }
1535
+ const targetRoot = path.resolve(options.targetRoot);
1536
+ if (targetRoot !== stored.targetRoot) {
1537
+ return {
1538
+ ok: false,
1539
+ conflicts: [
1540
+ {
1541
+ path: ".",
1542
+ driver: "precondition",
1543
+ reason: "计划只能提交到原目标目录",
1544
+ before: stored.targetRoot,
1545
+ current: targetRoot,
1546
+ after: stored.targetRoot,
1547
+ },
1548
+ ],
1549
+ };
1550
+ }
1551
+ const checkFreshness = async () => {
1552
+ const conflicts = await stalePlanConflicts({ targetRoot, plan: stored });
1553
+ if (conflicts.length > 0)
1554
+ throw new ProjectProjectionStalePlanError(conflicts);
1555
+ };
1556
+ const staleConflicts = await stalePlanConflicts({ targetRoot, plan: stored });
1557
+ if (staleConflicts.length > 0) {
1558
+ return { ok: false, conflicts: staleConflicts };
1559
+ }
1560
+ if (stored.mutations.length === 0) {
1561
+ return { ok: true, changedPaths: [], actions: [] };
1562
+ }
1563
+ try {
1564
+ await applyProjectionMutationsAtomically({
1565
+ targetRoot,
1566
+ mutations: stored.mutations,
1567
+ preconditions: stored.preconditions,
1568
+ beforeCommit: async () => {
1569
+ await options.dependencies?.beforeCommit?.();
1570
+ await checkFreshness();
1571
+ },
1572
+ ...(options.dependencies?.commitMutation === undefined
1573
+ ? {}
1574
+ : { commitMutation: options.dependencies.commitMutation }),
1575
+ });
1576
+ }
1577
+ catch (error) {
1578
+ if (error instanceof ProjectProjectionPathPreconditionError ||
1579
+ error instanceof ProjectProjectionStalePlanError) {
1580
+ return { ok: false, conflicts: error.conflicts };
1581
+ }
1582
+ throw error;
1583
+ }
1584
+ return {
1585
+ ok: true,
1586
+ changedPaths: stored.mutations.map((mutation) => mutation.path),
1587
+ actions: stored.actions,
1588
+ };
1589
+ }
1590
+ async function readCurrentProjectionEntry(targetRoot, projectionPath, options = {}) {
1206
1591
  const filePath = path.join(targetRoot, projectionPath);
1207
1592
  try {
1208
1593
  const fileStat = await lstat(filePath);
1209
1594
  if (!fileStat.isFile()) {
1595
+ const isDirectory = fileStat.isDirectory();
1210
1596
  return {
1211
1597
  path: projectionPath,
1212
- kind: fileStat.isDirectory()
1598
+ kind: isDirectory
1213
1599
  ? "directory"
1214
1600
  : fileStat.isSymbolicLink()
1215
1601
  ? "symbolic-link"
1216
1602
  : "other",
1603
+ ...(options.observation === undefined
1604
+ ? {}
1605
+ : { observation: options.observation }),
1606
+ ...(isDirectory && options.includeDirectoryContents
1607
+ ? { empty: (await readdir(filePath)).length === 0 }
1608
+ : {}),
1609
+ };
1610
+ }
1611
+ if (options.includeFileContents === false) {
1612
+ return {
1613
+ path: projectionPath,
1614
+ kind: "file-kind",
1615
+ observation: options.observation ?? "ancestor",
1217
1616
  };
1218
1617
  }
1219
1618
  const mode = fileStat.mode & 0o111;
@@ -1222,59 +1621,45 @@ async function readCurrentProjectionEntry(targetRoot, projectionPath) {
1222
1621
  kind: "file",
1223
1622
  content: new Uint8Array(await readFile(filePath)),
1224
1623
  mode,
1624
+ ...(options.observation === undefined
1625
+ ? {}
1626
+ : { observation: options.observation }),
1225
1627
  };
1226
1628
  }
1227
1629
  catch (error) {
1228
1630
  if (error instanceof Error && "code" in error && error.code === "ENOENT") {
1229
- return undefined;
1631
+ return {
1632
+ path: projectionPath,
1633
+ kind: "missing",
1634
+ ...(options.observation === undefined
1635
+ ? {}
1636
+ : { observation: options.observation }),
1637
+ };
1230
1638
  }
1231
- throw error;
1232
- }
1233
- }
1234
- async function readCurrentPathKind(targetRoot, relativePath) {
1235
- try {
1236
- const fileStat = await lstat(path.join(targetRoot, relativePath));
1237
- return fileStat.isFile()
1238
- ? "file"
1239
- : fileStat.isDirectory()
1240
- ? "directory"
1241
- : fileStat.isSymbolicLink()
1242
- ? "symbolic-link"
1243
- : "other";
1244
- }
1245
- catch (error) {
1246
- if (error instanceof Error && "code" in error) {
1247
- if (error.code === "ENOENT")
1248
- return undefined;
1249
- if (error.code === "ENOTDIR")
1250
- return "other";
1639
+ if (error instanceof Error && "code" in error && error.code === "ENOTDIR") {
1640
+ return {
1641
+ path: projectionPath,
1642
+ kind: "other",
1643
+ ...(options.observation === undefined
1644
+ ? {}
1645
+ : { observation: options.observation }),
1646
+ };
1251
1647
  }
1252
1648
  throw error;
1253
1649
  }
1254
1650
  }
1255
- function pathPreconditionConflict(precondition, current) {
1256
- return {
1257
- path: precondition.path,
1258
- driver: "precondition",
1259
- reason: `${precondition.reason}; found ${current === "existing path" ? current : `existing ${current}`}`,
1260
- before: "missing",
1261
- current,
1262
- after: "reserved for transaction",
1263
- };
1264
- }
1265
1651
  async function evaluatePathPreconditions(options) {
1266
- const paths = new Set();
1652
+ assertUniquePreconditions(options.preconditions);
1267
1653
  const conflicts = [];
1268
1654
  for (const precondition of options.preconditions) {
1269
- assertNormalizedSafeRelativePath(precondition.path, "entry");
1270
- if (paths.has(precondition.path)) {
1271
- throw new Error(`Project Projection Path Precondition paths must be unique: ${precondition.path}`);
1272
- }
1273
- paths.add(precondition.path);
1274
- const current = await readCurrentPathKind(options.targetRoot, precondition.path);
1275
- if (current === undefined)
1276
- continue;
1277
- conflicts.push(pathPreconditionConflict(precondition, current));
1655
+ const fact = await readCurrentProjectionEntry(options.targetRoot, precondition.path, {
1656
+ includeDirectoryContents: precondition.kind === "directory-empty-or-missing",
1657
+ includeFileContents: false,
1658
+ observation: "precondition",
1659
+ });
1660
+ const conflict = preconditionConflict(precondition, fact);
1661
+ if (conflict !== undefined)
1662
+ conflicts.push(conflict);
1278
1663
  }
1279
1664
  return conflicts;
1280
1665
  }
@@ -1299,6 +1684,7 @@ async function releasePathReservations(options) {
1299
1684
  }
1300
1685
  }
1301
1686
  async function acquirePathReservations(options) {
1687
+ const targetRoot = path.resolve(options.targetRoot);
1302
1688
  const conflicts = await evaluatePathPreconditions(options);
1303
1689
  if (conflicts.length > 0) {
1304
1690
  throw new ProjectProjectionPathPreconditionError(conflicts);
@@ -1306,7 +1692,16 @@ async function acquirePathReservations(options) {
1306
1692
  const reservations = [];
1307
1693
  try {
1308
1694
  for (const precondition of options.preconditions) {
1309
- const reservationPath = path.join(path.resolve(options.targetRoot), precondition.path);
1695
+ if (precondition.kind === "directory-empty-or-missing") {
1696
+ const current = await readCurrentProjectionEntry(options.targetRoot, precondition.path, { includeDirectoryContents: true, includeFileContents: false });
1697
+ if (current.kind === "directory" && current.empty === true)
1698
+ continue;
1699
+ if (current.kind !== "missing") {
1700
+ const conflict = preconditionConflict(precondition, current);
1701
+ throw new ProjectProjectionPathPreconditionError([conflict]);
1702
+ }
1703
+ }
1704
+ const reservationPath = path.join(targetRoot, precondition.path);
1310
1705
  let firstCreatedPath;
1311
1706
  try {
1312
1707
  firstCreatedPath = await mkdir(reservationPath, { recursive: true });
@@ -1319,9 +1714,19 @@ async function acquirePathReservations(options) {
1319
1714
  }
1320
1715
  }
1321
1716
  if (firstCreatedPath === undefined) {
1322
- throw new ProjectProjectionPathPreconditionError([
1323
- pathPreconditionConflict(precondition, "existing path"),
1324
- ]);
1717
+ const current = await readCurrentProjectionEntry(targetRoot, precondition.path, {
1718
+ includeDirectoryContents: precondition.kind === "directory-empty-or-missing",
1719
+ includeFileContents: false,
1720
+ });
1721
+ const conflict = preconditionConflict(precondition, current) ?? {
1722
+ path: precondition.path,
1723
+ driver: "precondition",
1724
+ reason: `${precondition.reason};路径在提交时已变化`,
1725
+ before: "缺失",
1726
+ current: current.kind,
1727
+ after: "为本次提交预留",
1728
+ };
1729
+ throw new ProjectProjectionPathPreconditionError([conflict]);
1325
1730
  }
1326
1731
  reservations.push({
1327
1732
  path: precondition.path,
@@ -1352,9 +1757,11 @@ async function applyProjectionMutationsAtomically(options) {
1352
1757
  const targetRoot = path.resolve(options.targetRoot);
1353
1758
  const parent = path.dirname(targetRoot);
1354
1759
  const prefix = `.${path.basename(targetRoot)}.template-projection-`;
1760
+ await mkdir(parent, { recursive: true });
1355
1761
  const stagingRoot = await mkdtemp(path.join(parent, `${prefix}stage-`));
1356
1762
  const backupRoot = await mkdtemp(path.join(parent, `${prefix}backup-`));
1357
1763
  const backedUpPaths = new Set();
1764
+ const backupModes = new Map();
1358
1765
  const committedPaths = [];
1359
1766
  let reservations = [];
1360
1767
  try {
@@ -1365,9 +1772,16 @@ async function applyProjectionMutationsAtomically(options) {
1365
1772
  await chmod(stagedPath, 0o644 | mutation.mode);
1366
1773
  const targetPath = path.join(targetRoot, mutation.path);
1367
1774
  try {
1775
+ const targetStat = await lstat(targetPath);
1776
+ if (!targetStat.isFile()) {
1777
+ throw new Error(`提交目标不是普通文件:${mutation.path}`);
1778
+ }
1368
1779
  const backupPath = path.join(backupRoot, mutation.path);
1369
1780
  await mkdir(path.dirname(backupPath), { recursive: true });
1370
1781
  await copyFile(targetPath, backupPath);
1782
+ const mode = targetStat.mode & 0o777;
1783
+ await chmod(backupPath, mode);
1784
+ backupModes.set(mutation.path, mode);
1371
1785
  backedUpPaths.add(mutation.path);
1372
1786
  }
1373
1787
  catch (error) {
@@ -1380,27 +1794,51 @@ async function applyProjectionMutationsAtomically(options) {
1380
1794
  }
1381
1795
  try {
1382
1796
  await options.beforeCommit?.();
1383
- reservations = await acquirePathReservations({
1384
- targetRoot,
1385
- preconditions: options.preconditions,
1386
- });
1387
- for (const mutation of options.mutations) {
1388
- const targetPath = path.join(targetRoot, mutation.path);
1389
- await mkdir(path.dirname(targetPath), { recursive: true });
1390
- committedPaths.push(mutation.path);
1391
- const commit = async () => {
1392
- await copyFile(path.join(stagingRoot, mutation.path), targetPath);
1393
- };
1394
- if (options.commitMutation === undefined) {
1395
- await commit();
1797
+ const initializationPrecondition = options.preconditions.find((precondition) => precondition.path === "." &&
1798
+ precondition.kind === "directory-empty-or-missing");
1799
+ if (initializationPrecondition !== undefined) {
1800
+ const conflicts = await evaluatePathPreconditions({
1801
+ targetRoot,
1802
+ preconditions: options.preconditions,
1803
+ });
1804
+ if (conflicts.length > 0) {
1805
+ throw new ProjectProjectionPathPreconditionError(conflicts);
1396
1806
  }
1397
- else {
1398
- await options.commitMutation({
1399
- relativePath: mutation.path,
1400
- stagingRoot,
1401
- targetRoot,
1402
- commit,
1403
- });
1807
+ try {
1808
+ await rename(stagingRoot, targetRoot);
1809
+ }
1810
+ catch (error) {
1811
+ await options.beforeCommit?.();
1812
+ throw error;
1813
+ }
1814
+ }
1815
+ else {
1816
+ reservations = await acquirePathReservations({
1817
+ targetRoot,
1818
+ preconditions: options.preconditions,
1819
+ });
1820
+ for (const mutation of options.mutations) {
1821
+ const targetPath = path.join(targetRoot, mutation.path);
1822
+ await mkdir(path.dirname(targetPath), { recursive: true });
1823
+ committedPaths.push(mutation.path);
1824
+ const commit = async () => {
1825
+ await copyFile(path.join(stagingRoot, mutation.path), targetPath);
1826
+ const existingMode = backupModes.get(mutation.path);
1827
+ await chmod(targetPath, existingMode === undefined
1828
+ ? 0o644 | mutation.mode
1829
+ : (existingMode & 0o666) | mutation.mode);
1830
+ };
1831
+ if (options.commitMutation === undefined) {
1832
+ await commit();
1833
+ }
1834
+ else {
1835
+ await options.commitMutation({
1836
+ relativePath: mutation.path,
1837
+ stagingRoot,
1838
+ targetRoot,
1839
+ commit,
1840
+ });
1841
+ }
1404
1842
  }
1405
1843
  }
1406
1844
  reservations = [];
@@ -1410,6 +1848,7 @@ async function applyProjectionMutationsAtomically(options) {
1410
1848
  const targetPath = path.join(targetRoot, committedPath);
1411
1849
  if (backedUpPaths.has(committedPath)) {
1412
1850
  await copyFile(path.join(backupRoot, committedPath), targetPath);
1851
+ await chmod(targetPath, backupModes.get(committedPath));
1413
1852
  }
1414
1853
  else {
1415
1854
  await rm(targetPath, { force: true });
@@ -1429,126 +1868,3 @@ async function applyProjectionMutationsAtomically(options) {
1429
1868
  ]);
1430
1869
  }
1431
1870
  }
1432
- export function createProjectProjectionReconciler(dependencies = {}) {
1433
- return async (options) => {
1434
- const preconditionConflicts = await evaluatePathPreconditions({
1435
- targetRoot: options.targetRoot,
1436
- preconditions: options.preconditions ?? [],
1437
- });
1438
- if (preconditionConflicts.length > 0) {
1439
- return { ok: false, conflicts: preconditionConflicts };
1440
- }
1441
- const [before, after] = await Promise.all([
1442
- materializeProjectProjection(options.before),
1443
- materializeProjectProjection(options.after),
1444
- ]);
1445
- const reconciliation = await reconcileProjectProjections({
1446
- before,
1447
- after,
1448
- readCurrent: async (projectionPath) => readCurrentProjectionEntry(options.targetRoot, projectionPath),
1449
- });
1450
- if (!reconciliation.ok)
1451
- return reconciliation;
1452
- const beforePaths = new Set(before.entries.map((entry) => entry.path));
1453
- const drivers = new Map(after.reconciliation.map((policy) => [policy.path, policy.driver]));
1454
- const actions = reconciliation.mutations.map((mutation) => ({
1455
- path: mutation.path,
1456
- driver: drivers.get(mutation.path),
1457
- action: beforePaths.has(mutation.path)
1458
- ? "update"
1459
- : "create",
1460
- }));
1461
- if (!options.dryRun) {
1462
- try {
1463
- await applyProjectionMutationsAtomically({
1464
- targetRoot: options.targetRoot,
1465
- mutations: reconciliation.mutations,
1466
- preconditions: options.preconditions ?? [],
1467
- ...(dependencies.beforeCommit === undefined
1468
- ? {}
1469
- : { beforeCommit: dependencies.beforeCommit }),
1470
- ...(dependencies.commitMutation === undefined
1471
- ? {}
1472
- : { commitMutation: dependencies.commitMutation }),
1473
- });
1474
- }
1475
- catch (error) {
1476
- if (error instanceof ProjectProjectionPathPreconditionError) {
1477
- return { ok: false, conflicts: error.conflicts };
1478
- }
1479
- throw error;
1480
- }
1481
- }
1482
- return {
1483
- ok: true,
1484
- changedPaths: reconciliation.mutations.map((mutation) => mutation.path),
1485
- actions,
1486
- };
1487
- };
1488
- }
1489
- export const reconcileAndApplyProjectProjections = createProjectProjectionReconciler();
1490
- export async function materializeProjectProjection(options) {
1491
- const planDiagnostics = validateProjectProjectionPlan(options);
1492
- if (planDiagnostics.length > 0) {
1493
- throw new Error(planDiagnostics.join("\n"));
1494
- }
1495
- const finalPaths = new Set();
1496
- const contentPaths = new Set();
1497
- const policies = new Map();
1498
- for (const operation of options.operations) {
1499
- const outputPath = normalizedOutputPath(operation);
1500
- finalPaths.add(outputPath);
1501
- if (operation.kind === "setExecutable") {
1502
- if (!contentPaths.has(outputPath)) {
1503
- throw new Error(`Project Projection setExecutable requires a preceding content-producing operation: ${outputPath}`);
1504
- }
1505
- }
1506
- else {
1507
- contentPaths.add(outputPath);
1508
- }
1509
- const driver = operationDriver(operation);
1510
- if (driver !== undefined) {
1511
- policies.set(outputPath, { path: outputPath, driver });
1512
- }
1513
- }
1514
- const declaredReconciliationPaths = new Set();
1515
- for (const reconciliation of options.reconciliation ?? []) {
1516
- assertNormalizedSafeRelativePath(reconciliation.path, "reconciliation");
1517
- if (declaredReconciliationPaths.has(reconciliation.path)) {
1518
- throw new Error(`Project Projection reconciliation paths must be unique: ${reconciliation.path}`);
1519
- }
1520
- if (!finalPaths.has(reconciliation.path)) {
1521
- throw new Error(`Project Projection reconciliation references an unknown path: ${reconciliation.path}`);
1522
- }
1523
- declaredReconciliationPaths.add(reconciliation.path);
1524
- policies.set(reconciliation.path, reconciliation);
1525
- }
1526
- const targetRoot = await mkdtemp(path.join(tmpdir(), "template-project-projection-"));
1527
- try {
1528
- await renderProject({
1529
- targetRoot,
1530
- operations: [...options.operations],
1531
- });
1532
- const entries = await Promise.all([...finalPaths].toSorted().map(async (relativePath) => {
1533
- const filePath = path.join(targetRoot, relativePath);
1534
- const fileStat = await lstat(filePath);
1535
- if (!fileStat.isFile()) {
1536
- throw new Error(`Project Projection output must be a file: ${relativePath}`);
1537
- }
1538
- const mode = fileStat.mode & 0o111;
1539
- return {
1540
- path: relativePath,
1541
- kind: "file",
1542
- content: new Uint8Array(await readFile(filePath)),
1543
- mode,
1544
- };
1545
- }));
1546
- return {
1547
- entries,
1548
- reconciliation: [...policies.values()].toSorted((left, right) => left.path.localeCompare(right.path)),
1549
- };
1550
- }
1551
- finally {
1552
- await rm(targetRoot, { recursive: true, force: true });
1553
- }
1554
- }