prismatica 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 (1815) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +403 -0
  3. package/dist/agent-runner.js +656 -0
  4. package/dist/agent-runner.js.map +1 -0
  5. package/dist/assurance/mainpush.js +533 -0
  6. package/dist/assurance/mainpush.js.map +1 -0
  7. package/dist/assurance/outcome.js +165 -0
  8. package/dist/assurance/outcome.js.map +1 -0
  9. package/dist/assurance/passport.js +98 -0
  10. package/dist/assurance/passport.js.map +1 -0
  11. package/dist/assurance/proofinputs.js +425 -0
  12. package/dist/assurance/proofinputs.js.map +1 -0
  13. package/dist/atlas/diff.js +102 -0
  14. package/dist/atlas/diff.js.map +1 -0
  15. package/dist/atlas/evidence.js +31 -0
  16. package/dist/atlas/evidence.js.map +1 -0
  17. package/dist/atlas/hygiene.js +288 -0
  18. package/dist/atlas/hygiene.js.map +1 -0
  19. package/dist/atlas/impact.js +312 -0
  20. package/dist/atlas/impact.js.map +1 -0
  21. package/dist/atlas/labels.js +121 -0
  22. package/dist/atlas/labels.js.map +1 -0
  23. package/dist/atlas/next.js +327 -0
  24. package/dist/atlas/next.js.map +1 -0
  25. package/dist/atlas/packs.js +169 -0
  26. package/dist/atlas/packs.js.map +1 -0
  27. package/dist/atlas/presentation.js +349 -0
  28. package/dist/atlas/presentation.js.map +1 -0
  29. package/dist/atlas/render.js +269 -0
  30. package/dist/atlas/render.js.map +1 -0
  31. package/dist/atlas/store.js +389 -0
  32. package/dist/atlas/store.js.map +1 -0
  33. package/dist/board/html.js +1382 -0
  34. package/dist/board/html.js.map +1 -0
  35. package/dist/board/model.js +369 -0
  36. package/dist/board/model.js.map +1 -0
  37. package/dist/board/server.js +325 -0
  38. package/dist/board/server.js.map +1 -0
  39. package/dist/board/understand.js +128 -0
  40. package/dist/board/understand.js.map +1 -0
  41. package/dist/change.js +104 -0
  42. package/dist/change.js.map +1 -0
  43. package/dist/checkengine.js +220 -0
  44. package/dist/checkengine.js.map +1 -0
  45. package/dist/claudehook.js +189 -0
  46. package/dist/claudehook.js.map +1 -0
  47. package/dist/cli.js +1120 -0
  48. package/dist/cli.js.map +1 -0
  49. package/dist/clipboard.js +33 -0
  50. package/dist/clipboard.js.map +1 -0
  51. package/dist/commands/abandon.js +329 -0
  52. package/dist/commands/abandon.js.map +1 -0
  53. package/dist/commands/accept.js +85 -0
  54. package/dist/commands/accept.js.map +1 -0
  55. package/dist/commands/amend.js +158 -0
  56. package/dist/commands/amend.js.map +1 -0
  57. package/dist/commands/check.js +128 -0
  58. package/dist/commands/check.js.map +1 -0
  59. package/dist/commands/close.js +274 -0
  60. package/dist/commands/close.js.map +1 -0
  61. package/dist/commands/context.js +46 -0
  62. package/dist/commands/context.js.map +1 -0
  63. package/dist/commands/delta.js +192 -0
  64. package/dist/commands/delta.js.map +1 -0
  65. package/dist/commands/discover.js +173 -0
  66. package/dist/commands/discover.js.map +1 -0
  67. package/dist/commands/doctor.js +384 -0
  68. package/dist/commands/doctor.js.map +1 -0
  69. package/dist/commands/flow.js +929 -0
  70. package/dist/commands/flow.js.map +1 -0
  71. package/dist/commands/forget.js +33 -0
  72. package/dist/commands/forget.js.map +1 -0
  73. package/dist/commands/frame.js +231 -0
  74. package/dist/commands/frame.js.map +1 -0
  75. package/dist/commands/gate.js +48 -0
  76. package/dist/commands/gate.js.map +1 -0
  77. package/dist/commands/guide.js +17 -0
  78. package/dist/commands/guide.js.map +1 -0
  79. package/dist/commands/init.js +257 -0
  80. package/dist/commands/init.js.map +1 -0
  81. package/dist/commands/merge.js +188 -0
  82. package/dist/commands/merge.js.map +1 -0
  83. package/dist/commands/next.js +352 -0
  84. package/dist/commands/next.js.map +1 -0
  85. package/dist/commands/open.js +255 -0
  86. package/dist/commands/open.js.map +1 -0
  87. package/dist/commands/pack.js +165 -0
  88. package/dist/commands/pack.js.map +1 -0
  89. package/dist/commands/propose.js +102 -0
  90. package/dist/commands/propose.js.map +1 -0
  91. package/dist/commands/ready.js +931 -0
  92. package/dist/commands/ready.js.map +1 -0
  93. package/dist/commands/review.js +434 -0
  94. package/dist/commands/review.js.map +1 -0
  95. package/dist/commands/rules.js +399 -0
  96. package/dist/commands/rules.js.map +1 -0
  97. package/dist/commands/seal.js +52 -0
  98. package/dist/commands/seal.js.map +1 -0
  99. package/dist/commands/ship.js +333 -0
  100. package/dist/commands/ship.js.map +1 -0
  101. package/dist/commands/start.js +1164 -0
  102. package/dist/commands/start.js.map +1 -0
  103. package/dist/commands/stats.js +100 -0
  104. package/dist/commands/stats.js.map +1 -0
  105. package/dist/commands/view.js +23 -0
  106. package/dist/commands/view.js.map +1 -0
  107. package/dist/config.js +46 -0
  108. package/dist/config.js.map +1 -0
  109. package/dist/detect.js +495 -0
  110. package/dist/detect.js.map +1 -0
  111. package/dist/errors.js +13 -0
  112. package/dist/errors.js.map +1 -0
  113. package/dist/evidence.js +20 -0
  114. package/dist/evidence.js.map +1 -0
  115. package/dist/executor.js +256 -0
  116. package/dist/executor.js.map +1 -0
  117. package/dist/gate.js +109 -0
  118. package/dist/gate.js.map +1 -0
  119. package/dist/gh.js +236 -0
  120. package/dist/gh.js.map +1 -0
  121. package/dist/git.js +589 -0
  122. package/dist/git.js.map +1 -0
  123. package/dist/guide.js +2038 -0
  124. package/dist/guide.js.map +1 -0
  125. package/dist/ids.js +60 -0
  126. package/dist/ids.js.map +1 -0
  127. package/dist/keys.js +58 -0
  128. package/dist/keys.js.map +1 -0
  129. package/dist/ledger.js +197 -0
  130. package/dist/ledger.js.map +1 -0
  131. package/dist/paths.js +109 -0
  132. package/dist/paths.js.map +1 -0
  133. package/dist/planning/context.js +94 -0
  134. package/dist/planning/context.js.map +1 -0
  135. package/dist/planning/materialise.js +210 -0
  136. package/dist/planning/materialise.js.map +1 -0
  137. package/dist/planning/pack.js +290 -0
  138. package/dist/planning/pack.js.map +1 -0
  139. package/dist/planning/schema.js +296 -0
  140. package/dist/planning/schema.js.map +1 -0
  141. package/dist/planning/snapshot.js +308 -0
  142. package/dist/planning/snapshot.js.map +1 -0
  143. package/dist/planning/validate.js +417 -0
  144. package/dist/planning/validate.js.map +1 -0
  145. package/dist/prepush.js +192 -0
  146. package/dist/prepush.js.map +1 -0
  147. package/dist/records/store.js +268 -0
  148. package/dist/records/store.js.map +1 -0
  149. package/dist/records/types.js +836 -0
  150. package/dist/records/types.js.map +1 -0
  151. package/dist/registry.js +68 -0
  152. package/dist/registry.js.map +1 -0
  153. package/dist/render.js +275 -0
  154. package/dist/render.js.map +1 -0
  155. package/dist/runtime.js +47 -0
  156. package/dist/runtime.js.map +1 -0
  157. package/dist/scope.js +62 -0
  158. package/dist/scope.js.map +1 -0
  159. package/dist/secrets.js +24 -0
  160. package/dist/secrets.js.map +1 -0
  161. package/dist/selfhost.js +199 -0
  162. package/dist/selfhost.js.map +1 -0
  163. package/dist/shellquote.js +5 -0
  164. package/dist/shellquote.js.map +1 -0
  165. package/dist/skills.js +398 -0
  166. package/dist/skills.js.map +1 -0
  167. package/dist/state.js +62 -0
  168. package/dist/state.js.map +1 -0
  169. package/dist/templates.js +264 -0
  170. package/dist/templates.js.map +1 -0
  171. package/dist/tier.js +48 -0
  172. package/dist/tier.js.map +1 -0
  173. package/dist/ui.js +94 -0
  174. package/dist/ui.js.map +1 -0
  175. package/dist/vitestreport.js +59 -0
  176. package/dist/vitestreport.js.map +1 -0
  177. package/dist/worktree.js +31 -0
  178. package/dist/worktree.js.map +1 -0
  179. package/node_modules/@inquirer/ansi/LICENSE +22 -0
  180. package/node_modules/@inquirer/ansi/README.md +89 -0
  181. package/node_modules/@inquirer/ansi/dist/index.d.ts +14 -0
  182. package/node_modules/@inquirer/ansi/dist/index.js +21 -0
  183. package/node_modules/@inquirer/ansi/package.json +78 -0
  184. package/node_modules/@inquirer/checkbox/LICENSE +22 -0
  185. package/node_modules/@inquirer/checkbox/README.md +195 -0
  186. package/node_modules/@inquirer/checkbox/dist/index.d.ts +56 -0
  187. package/node_modules/@inquirer/checkbox/dist/index.js +210 -0
  188. package/node_modules/@inquirer/checkbox/package.json +92 -0
  189. package/node_modules/@inquirer/confirm/LICENSE +22 -0
  190. package/node_modules/@inquirer/confirm/README.md +92 -0
  191. package/node_modules/@inquirer/confirm/dist/index.d.ts +10 -0
  192. package/node_modules/@inquirer/confirm/dist/index.js +48 -0
  193. package/node_modules/@inquirer/confirm/package.json +90 -0
  194. package/node_modules/@inquirer/core/LICENSE +22 -0
  195. package/node_modules/@inquirer/core/README.md +386 -0
  196. package/node_modules/@inquirer/core/dist/index.d.ts +13 -0
  197. package/node_modules/@inquirer/core/dist/index.js +12 -0
  198. package/node_modules/@inquirer/core/dist/lib/Separator.d.ts +10 -0
  199. package/node_modules/@inquirer/core/dist/lib/Separator.js +21 -0
  200. package/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +4 -0
  201. package/node_modules/@inquirer/core/dist/lib/create-prompt.js +165 -0
  202. package/node_modules/@inquirer/core/dist/lib/errors.d.ts +20 -0
  203. package/node_modules/@inquirer/core/dist/lib/errors.js +21 -0
  204. package/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +23 -0
  205. package/node_modules/@inquirer/core/dist/lib/hook-engine.js +111 -0
  206. package/node_modules/@inquirer/core/dist/lib/key.d.ts +15 -0
  207. package/node_modules/@inquirer/core/dist/lib/key.js +34 -0
  208. package/node_modules/@inquirer/core/dist/lib/make-theme.d.ts +3 -0
  209. package/node_modules/@inquirer/core/dist/lib/make-theme.js +32 -0
  210. package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +16 -0
  211. package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +121 -0
  212. package/node_modules/@inquirer/core/dist/lib/promise-polyfill.d.ts +7 -0
  213. package/node_modules/@inquirer/core/dist/lib/promise-polyfill.js +14 -0
  214. package/node_modules/@inquirer/core/dist/lib/screen-manager.d.ts +14 -0
  215. package/node_modules/@inquirer/core/dist/lib/screen-manager.js +84 -0
  216. package/node_modules/@inquirer/core/dist/lib/theme.d.ts +166 -0
  217. package/node_modules/@inquirer/core/dist/lib/theme.js +29 -0
  218. package/node_modules/@inquirer/core/dist/lib/use-effect.d.ts +2 -0
  219. package/node_modules/@inquirer/core/dist/lib/use-effect.js +11 -0
  220. package/node_modules/@inquirer/core/dist/lib/use-keypress.d.ts +3 -0
  221. package/node_modules/@inquirer/core/dist/lib/use-keypress.js +20 -0
  222. package/node_modules/@inquirer/core/dist/lib/use-memo.d.ts +1 -0
  223. package/node_modules/@inquirer/core/dist/lib/use-memo.js +14 -0
  224. package/node_modules/@inquirer/core/dist/lib/use-prefix.d.ts +5 -0
  225. package/node_modules/@inquirer/core/dist/lib/use-prefix.js +35 -0
  226. package/node_modules/@inquirer/core/dist/lib/use-ref.d.ts +6 -0
  227. package/node_modules/@inquirer/core/dist/lib/use-ref.js +4 -0
  228. package/node_modules/@inquirer/core/dist/lib/use-state.d.ts +4 -0
  229. package/node_modules/@inquirer/core/dist/lib/use-state.js +23 -0
  230. package/node_modules/@inquirer/core/dist/lib/utils.d.ts +13 -0
  231. package/node_modules/@inquirer/core/dist/lib/utils.js +25 -0
  232. package/node_modules/@inquirer/core/package.json +97 -0
  233. package/node_modules/@inquirer/editor/LICENSE +22 -0
  234. package/node_modules/@inquirer/editor/README.md +101 -0
  235. package/node_modules/@inquirer/editor/dist/index.d.ts +21 -0
  236. package/node_modules/@inquirer/editor/dist/index.js +73 -0
  237. package/node_modules/@inquirer/editor/package.json +91 -0
  238. package/node_modules/@inquirer/expand/LICENSE +22 -0
  239. package/node_modules/@inquirer/expand/README.md +141 -0
  240. package/node_modules/@inquirer/expand/dist/index.d.ts +24 -0
  241. package/node_modules/@inquirer/expand/dist/index.js +110 -0
  242. package/node_modules/@inquirer/expand/package.json +90 -0
  243. package/node_modules/@inquirer/external-editor/LICENSE +22 -0
  244. package/node_modules/@inquirer/external-editor/README.md +154 -0
  245. package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.d.ts +10 -0
  246. package/node_modules/@inquirer/external-editor/dist/errors/CreateFileError.js +13 -0
  247. package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.d.ts +10 -0
  248. package/node_modules/@inquirer/external-editor/dist/errors/LaunchEditorError.js +13 -0
  249. package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.d.ts +10 -0
  250. package/node_modules/@inquirer/external-editor/dist/errors/ReadFileError.js +13 -0
  251. package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.d.ts +10 -0
  252. package/node_modules/@inquirer/external-editor/dist/errors/RemoveFileError.js +13 -0
  253. package/node_modules/@inquirer/external-editor/dist/errors.d.ts +20 -0
  254. package/node_modules/@inquirer/external-editor/dist/errors.js +32 -0
  255. package/node_modules/@inquirer/external-editor/dist/index.d.ts +35 -0
  256. package/node_modules/@inquirer/external-editor/dist/index.js +146 -0
  257. package/node_modules/@inquirer/external-editor/dist/parse-editor-command.d.ts +5 -0
  258. package/node_modules/@inquirer/external-editor/dist/parse-editor-command.js +28 -0
  259. package/node_modules/@inquirer/external-editor/package.json +97 -0
  260. package/node_modules/@inquirer/figures/LICENSE +22 -0
  261. package/node_modules/@inquirer/figures/dist/index.d.ts +275 -0
  262. package/node_modules/@inquirer/figures/dist/index.js +315 -0
  263. package/node_modules/@inquirer/figures/package.json +80 -0
  264. package/node_modules/@inquirer/input/LICENSE +22 -0
  265. package/node_modules/@inquirer/input/README.md +101 -0
  266. package/node_modules/@inquirer/input/dist/index.d.ts +20 -0
  267. package/node_modules/@inquirer/input/dist/index.js +99 -0
  268. package/node_modules/@inquirer/input/package.json +90 -0
  269. package/node_modules/@inquirer/number/LICENSE +22 -0
  270. package/node_modules/@inquirer/number/README.md +95 -0
  271. package/node_modules/@inquirer/number/dist/index.d.ts +13 -0
  272. package/node_modules/@inquirer/number/dist/index.js +95 -0
  273. package/node_modules/@inquirer/number/package.json +90 -0
  274. package/node_modules/@inquirer/password/LICENSE +22 -0
  275. package/node_modules/@inquirer/password/README.md +93 -0
  276. package/node_modules/@inquirer/password/dist/index.d.ts +15 -0
  277. package/node_modules/@inquirer/password/dist/index.js +60 -0
  278. package/node_modules/@inquirer/password/package.json +91 -0
  279. package/node_modules/@inquirer/prompts/LICENSE +22 -0
  280. package/node_modules/@inquirer/prompts/README.md +543 -0
  281. package/node_modules/@inquirer/prompts/dist/index.d.ts +10 -0
  282. package/node_modules/@inquirer/prompts/dist/index.js +10 -0
  283. package/node_modules/@inquirer/prompts/package.json +101 -0
  284. package/node_modules/@inquirer/rawlist/LICENSE +22 -0
  285. package/node_modules/@inquirer/rawlist/README.md +135 -0
  286. package/node_modules/@inquirer/rawlist/dist/index.d.ts +23 -0
  287. package/node_modules/@inquirer/rawlist/dist/index.js +145 -0
  288. package/node_modules/@inquirer/rawlist/package.json +90 -0
  289. package/node_modules/@inquirer/search/LICENSE +22 -0
  290. package/node_modules/@inquirer/search/README.md +213 -0
  291. package/node_modules/@inquirer/search/dist/index.d.ts +33 -0
  292. package/node_modules/@inquirer/search/dist/index.js +195 -0
  293. package/node_modules/@inquirer/search/package.json +91 -0
  294. package/node_modules/@inquirer/select/LICENSE +22 -0
  295. package/node_modules/@inquirer/select/README.md +188 -0
  296. package/node_modules/@inquirer/select/dist/index.d.ts +34 -0
  297. package/node_modules/@inquirer/select/dist/index.js +191 -0
  298. package/node_modules/@inquirer/select/package.json +92 -0
  299. package/node_modules/@inquirer/type/LICENSE +22 -0
  300. package/node_modules/@inquirer/type/dist/index.d.ts +2 -0
  301. package/node_modules/@inquirer/type/dist/index.js +2 -0
  302. package/node_modules/@inquirer/type/dist/inquirer.d.ts +35 -0
  303. package/node_modules/@inquirer/type/dist/inquirer.js +1 -0
  304. package/node_modules/@inquirer/type/dist/utils.d.ts +29 -0
  305. package/node_modules/@inquirer/type/dist/utils.js +2 -0
  306. package/node_modules/@inquirer/type/package.json +87 -0
  307. package/node_modules/@sec-ant/readable-stream/LICENSE +21 -0
  308. package/node_modules/@sec-ant/readable-stream/README.md +230 -0
  309. package/node_modules/@sec-ant/readable-stream/dist/core/asyncIterablePrototype.d.ts +1 -0
  310. package/node_modules/@sec-ant/readable-stream/dist/core/asyncIterator.d.ts +27 -0
  311. package/node_modules/@sec-ant/readable-stream/dist/core/fromAnyIterable.d.ts +6 -0
  312. package/node_modules/@sec-ant/readable-stream/dist/index/asyncIterator.d.ts +2 -0
  313. package/node_modules/@sec-ant/readable-stream/dist/index/asyncIterator.js +5 -0
  314. package/node_modules/@sec-ant/readable-stream/dist/index/fromAnyIterable.d.ts +2 -0
  315. package/node_modules/@sec-ant/readable-stream/dist/index/fromAnyIterable.js +5 -0
  316. package/node_modules/@sec-ant/readable-stream/dist/index/index.d.ts +2 -0
  317. package/node_modules/@sec-ant/readable-stream/dist/index/index.js +8 -0
  318. package/node_modules/@sec-ant/readable-stream/dist/polyfill/asyncIterator.d.ts +1 -0
  319. package/node_modules/@sec-ant/readable-stream/dist/polyfill/asyncIterator.js +3 -0
  320. package/node_modules/@sec-ant/readable-stream/dist/polyfill/fromAnyIterable.d.ts +1 -0
  321. package/node_modules/@sec-ant/readable-stream/dist/polyfill/fromAnyIterable.js +2 -0
  322. package/node_modules/@sec-ant/readable-stream/dist/polyfill/index.d.ts +2 -0
  323. package/node_modules/@sec-ant/readable-stream/dist/polyfill/index.js +4 -0
  324. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.d.ts +1 -0
  325. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/asyncIterator.js +89 -0
  326. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.d.ts +1 -0
  327. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/fromAnyIterable.js +34 -0
  328. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.d.ts +2 -0
  329. package/node_modules/@sec-ant/readable-stream/dist/ponyfill/index.js +6 -0
  330. package/node_modules/@sec-ant/readable-stream/dist/types/async-iterator.d.ts +11 -0
  331. package/node_modules/@sec-ant/readable-stream/package.json +96 -0
  332. package/node_modules/@sindresorhus/merge-streams/index.d.ts +44 -0
  333. package/node_modules/@sindresorhus/merge-streams/index.js +265 -0
  334. package/node_modules/@sindresorhus/merge-streams/license +9 -0
  335. package/node_modules/@sindresorhus/merge-streams/package.json +49 -0
  336. package/node_modules/@sindresorhus/merge-streams/readme.md +53 -0
  337. package/node_modules/argparse/LICENSE +21 -0
  338. package/node_modules/argparse/README.md +257 -0
  339. package/node_modules/argparse/index.js +3 -0
  340. package/node_modules/argparse/lib/action/append/constant.js +47 -0
  341. package/node_modules/argparse/lib/action/append.js +53 -0
  342. package/node_modules/argparse/lib/action/count.js +40 -0
  343. package/node_modules/argparse/lib/action/help.js +47 -0
  344. package/node_modules/argparse/lib/action/store/constant.js +43 -0
  345. package/node_modules/argparse/lib/action/store/false.js +27 -0
  346. package/node_modules/argparse/lib/action/store/true.js +26 -0
  347. package/node_modules/argparse/lib/action/store.js +50 -0
  348. package/node_modules/argparse/lib/action/subparsers.js +149 -0
  349. package/node_modules/argparse/lib/action/version.js +47 -0
  350. package/node_modules/argparse/lib/action.js +146 -0
  351. package/node_modules/argparse/lib/action_container.js +482 -0
  352. package/node_modules/argparse/lib/argparse.js +14 -0
  353. package/node_modules/argparse/lib/argument/error.js +50 -0
  354. package/node_modules/argparse/lib/argument/exclusive.js +54 -0
  355. package/node_modules/argparse/lib/argument/group.js +75 -0
  356. package/node_modules/argparse/lib/argument_parser.js +1161 -0
  357. package/node_modules/argparse/lib/const.js +21 -0
  358. package/node_modules/argparse/lib/help/added_formatters.js +87 -0
  359. package/node_modules/argparse/lib/help/formatter.js +795 -0
  360. package/node_modules/argparse/lib/namespace.js +76 -0
  361. package/node_modules/argparse/lib/utils.js +57 -0
  362. package/node_modules/argparse/package.json +34 -0
  363. package/node_modules/chardet/LICENSE +19 -0
  364. package/node_modules/chardet/README.md +135 -0
  365. package/node_modules/chardet/lib/encoding/ascii.d.ts +6 -0
  366. package/node_modules/chardet/lib/encoding/ascii.js +23 -0
  367. package/node_modules/chardet/lib/encoding/ascii.js.map +1 -0
  368. package/node_modules/chardet/lib/encoding/index.d.ts +14 -0
  369. package/node_modules/chardet/lib/encoding/index.js +3 -0
  370. package/node_modules/chardet/lib/encoding/index.js.map +1 -0
  371. package/node_modules/chardet/lib/encoding/iso2022.d.ts +23 -0
  372. package/node_modules/chardet/lib/encoding/iso2022.js +114 -0
  373. package/node_modules/chardet/lib/encoding/iso2022.js.map +1 -0
  374. package/node_modules/chardet/lib/encoding/mbcs.d.ts +50 -0
  375. package/node_modules/chardet/lib/encoding/mbcs.js +347 -0
  376. package/node_modules/chardet/lib/encoding/mbcs.js.map +1 -0
  377. package/node_modules/chardet/lib/encoding/sbcs.d.ts +94 -0
  378. package/node_modules/chardet/lib/encoding/sbcs.js +935 -0
  379. package/node_modules/chardet/lib/encoding/sbcs.js.map +1 -0
  380. package/node_modules/chardet/lib/encoding/unicode.d.ts +27 -0
  381. package/node_modules/chardet/lib/encoding/unicode.js +109 -0
  382. package/node_modules/chardet/lib/encoding/unicode.js.map +1 -0
  383. package/node_modules/chardet/lib/encoding/utf8.d.ts +6 -0
  384. package/node_modules/chardet/lib/encoding/utf8.js +72 -0
  385. package/node_modules/chardet/lib/encoding/utf8.js.map +1 -0
  386. package/node_modules/chardet/lib/fs/browser.d.ts +2 -0
  387. package/node_modules/chardet/lib/fs/browser.js +6 -0
  388. package/node_modules/chardet/lib/fs/browser.js.map +1 -0
  389. package/node_modules/chardet/lib/fs/node.d.ts +2 -0
  390. package/node_modules/chardet/lib/fs/node.js +11 -0
  391. package/node_modules/chardet/lib/fs/node.js.map +1 -0
  392. package/node_modules/chardet/lib/index.d.ts +20 -0
  393. package/node_modules/chardet/lib/index.js +177 -0
  394. package/node_modules/chardet/lib/index.js.map +1 -0
  395. package/node_modules/chardet/lib/match.d.ts +9 -0
  396. package/node_modules/chardet/lib/match.js +8 -0
  397. package/node_modules/chardet/lib/match.js.map +1 -0
  398. package/node_modules/chardet/lib/utils.d.ts +1 -0
  399. package/node_modules/chardet/lib/utils.js +10 -0
  400. package/node_modules/chardet/lib/utils.js.map +1 -0
  401. package/node_modules/chardet/package.json +100 -0
  402. package/node_modules/cli-width/LICENSE +13 -0
  403. package/node_modules/cli-width/README.md +71 -0
  404. package/node_modules/cli-width/index.d.ts +13 -0
  405. package/node_modules/cli-width/index.js +49 -0
  406. package/node_modules/cli-width/package.json +40 -0
  407. package/node_modules/commander/LICENSE +22 -0
  408. package/node_modules/commander/Readme.md +1172 -0
  409. package/node_modules/commander/index.js +21 -0
  410. package/node_modules/commander/lib/argument.js +147 -0
  411. package/node_modules/commander/lib/command.js +2790 -0
  412. package/node_modules/commander/lib/error.js +36 -0
  413. package/node_modules/commander/lib/help.js +731 -0
  414. package/node_modules/commander/lib/option.js +377 -0
  415. package/node_modules/commander/lib/suggestSimilar.js +99 -0
  416. package/node_modules/commander/package-support.json +19 -0
  417. package/node_modules/commander/package.json +64 -0
  418. package/node_modules/commander/typings/index.d.ts +1113 -0
  419. package/node_modules/cross-spawn/LICENSE +21 -0
  420. package/node_modules/cross-spawn/README.md +89 -0
  421. package/node_modules/cross-spawn/index.js +39 -0
  422. package/node_modules/cross-spawn/lib/enoent.js +59 -0
  423. package/node_modules/cross-spawn/lib/parse.js +91 -0
  424. package/node_modules/cross-spawn/lib/util/escape.js +47 -0
  425. package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  426. package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  427. package/node_modules/cross-spawn/package.json +73 -0
  428. package/node_modules/esprima/LICENSE.BSD +21 -0
  429. package/node_modules/esprima/README.md +46 -0
  430. package/node_modules/esprima/bin/esparse.js +139 -0
  431. package/node_modules/esprima/bin/esvalidate.js +236 -0
  432. package/node_modules/esprima/dist/esprima.js +6709 -0
  433. package/node_modules/esprima/package.json +112 -0
  434. package/node_modules/execa/index.d.ts +27 -0
  435. package/node_modules/execa/index.js +28 -0
  436. package/node_modules/execa/lib/arguments/command.js +20 -0
  437. package/node_modules/execa/lib/arguments/cwd.js +39 -0
  438. package/node_modules/execa/lib/arguments/encoding-option.js +50 -0
  439. package/node_modules/execa/lib/arguments/escape.js +88 -0
  440. package/node_modules/execa/lib/arguments/fd-options.js +108 -0
  441. package/node_modules/execa/lib/arguments/file-url.js +25 -0
  442. package/node_modules/execa/lib/arguments/options.js +96 -0
  443. package/node_modules/execa/lib/arguments/shell.js +11 -0
  444. package/node_modules/execa/lib/arguments/specific.js +111 -0
  445. package/node_modules/execa/lib/convert/add.js +15 -0
  446. package/node_modules/execa/lib/convert/concurrent.js +33 -0
  447. package/node_modules/execa/lib/convert/duplex.js +69 -0
  448. package/node_modules/execa/lib/convert/iterable.js +34 -0
  449. package/node_modules/execa/lib/convert/readable.js +113 -0
  450. package/node_modules/execa/lib/convert/shared.js +46 -0
  451. package/node_modules/execa/lib/convert/writable.js +90 -0
  452. package/node_modules/execa/lib/io/contents.js +116 -0
  453. package/node_modules/execa/lib/io/input-sync.js +44 -0
  454. package/node_modules/execa/lib/io/iterate.js +110 -0
  455. package/node_modules/execa/lib/io/max-buffer.js +89 -0
  456. package/node_modules/execa/lib/io/output-async.js +80 -0
  457. package/node_modules/execa/lib/io/output-sync.js +135 -0
  458. package/node_modules/execa/lib/io/pipeline.js +48 -0
  459. package/node_modules/execa/lib/io/strip-newline.js +12 -0
  460. package/node_modules/execa/lib/ipc/array.js +4 -0
  461. package/node_modules/execa/lib/ipc/buffer-messages.js +47 -0
  462. package/node_modules/execa/lib/ipc/forward.js +56 -0
  463. package/node_modules/execa/lib/ipc/get-each.js +89 -0
  464. package/node_modules/execa/lib/ipc/get-one.js +69 -0
  465. package/node_modules/execa/lib/ipc/graceful.js +72 -0
  466. package/node_modules/execa/lib/ipc/incoming.js +79 -0
  467. package/node_modules/execa/lib/ipc/ipc-input.js +44 -0
  468. package/node_modules/execa/lib/ipc/methods.js +49 -0
  469. package/node_modules/execa/lib/ipc/outgoing.js +47 -0
  470. package/node_modules/execa/lib/ipc/reference.js +44 -0
  471. package/node_modules/execa/lib/ipc/send.js +91 -0
  472. package/node_modules/execa/lib/ipc/strict.js +113 -0
  473. package/node_modules/execa/lib/ipc/validation.js +111 -0
  474. package/node_modules/execa/lib/methods/bind.js +23 -0
  475. package/node_modules/execa/lib/methods/command.js +43 -0
  476. package/node_modules/execa/lib/methods/create.js +65 -0
  477. package/node_modules/execa/lib/methods/main-async.js +194 -0
  478. package/node_modules/execa/lib/methods/main-sync.js +163 -0
  479. package/node_modules/execa/lib/methods/node.js +51 -0
  480. package/node_modules/execa/lib/methods/parameters.js +31 -0
  481. package/node_modules/execa/lib/methods/promise.js +15 -0
  482. package/node_modules/execa/lib/methods/script.js +22 -0
  483. package/node_modules/execa/lib/methods/template.js +153 -0
  484. package/node_modules/execa/lib/pipe/abort.js +20 -0
  485. package/node_modules/execa/lib/pipe/pipe-arguments.js +91 -0
  486. package/node_modules/execa/lib/pipe/sequence.js +24 -0
  487. package/node_modules/execa/lib/pipe/setup.js +72 -0
  488. package/node_modules/execa/lib/pipe/streaming.js +51 -0
  489. package/node_modules/execa/lib/pipe/throw.js +58 -0
  490. package/node_modules/execa/lib/resolve/all-async.js +46 -0
  491. package/node_modules/execa/lib/resolve/all-sync.js +33 -0
  492. package/node_modules/execa/lib/resolve/exit-async.js +54 -0
  493. package/node_modules/execa/lib/resolve/exit-sync.js +25 -0
  494. package/node_modules/execa/lib/resolve/stdio.js +47 -0
  495. package/node_modules/execa/lib/resolve/wait-stream.js +96 -0
  496. package/node_modules/execa/lib/resolve/wait-subprocess.js +146 -0
  497. package/node_modules/execa/lib/return/duration.js +8 -0
  498. package/node_modules/execa/lib/return/early-error.js +60 -0
  499. package/node_modules/execa/lib/return/final-error.js +40 -0
  500. package/node_modules/execa/lib/return/message.js +157 -0
  501. package/node_modules/execa/lib/return/reject.js +13 -0
  502. package/node_modules/execa/lib/return/result.js +186 -0
  503. package/node_modules/execa/lib/stdio/direction.js +76 -0
  504. package/node_modules/execa/lib/stdio/duplicate.js +116 -0
  505. package/node_modules/execa/lib/stdio/handle-async.js +52 -0
  506. package/node_modules/execa/lib/stdio/handle-sync.js +57 -0
  507. package/node_modules/execa/lib/stdio/handle.js +214 -0
  508. package/node_modules/execa/lib/stdio/input-option.js +50 -0
  509. package/node_modules/execa/lib/stdio/native.js +106 -0
  510. package/node_modules/execa/lib/stdio/stdio-option.js +60 -0
  511. package/node_modules/execa/lib/stdio/type.js +173 -0
  512. package/node_modules/execa/lib/terminate/cancel.js +20 -0
  513. package/node_modules/execa/lib/terminate/cleanup.js +16 -0
  514. package/node_modules/execa/lib/terminate/graceful.js +71 -0
  515. package/node_modules/execa/lib/terminate/kill.js +93 -0
  516. package/node_modules/execa/lib/terminate/signal.js +70 -0
  517. package/node_modules/execa/lib/terminate/timeout.js +21 -0
  518. package/node_modules/execa/lib/transform/encoding-transform.js +51 -0
  519. package/node_modules/execa/lib/transform/generator.js +107 -0
  520. package/node_modules/execa/lib/transform/normalize.js +111 -0
  521. package/node_modules/execa/lib/transform/object-mode.js +41 -0
  522. package/node_modules/execa/lib/transform/run-async.js +60 -0
  523. package/node_modules/execa/lib/transform/run-sync.js +50 -0
  524. package/node_modules/execa/lib/transform/split.js +110 -0
  525. package/node_modules/execa/lib/transform/validate.js +43 -0
  526. package/node_modules/execa/lib/utils/abort-signal.js +8 -0
  527. package/node_modules/execa/lib/utils/deferred.js +7 -0
  528. package/node_modules/execa/lib/utils/max-listeners.js +14 -0
  529. package/node_modules/execa/lib/utils/standard-stream.js +6 -0
  530. package/node_modules/execa/lib/utils/uint-array.js +69 -0
  531. package/node_modules/execa/lib/verbose/complete.js +24 -0
  532. package/node_modules/execa/lib/verbose/custom.js +26 -0
  533. package/node_modules/execa/lib/verbose/default.js +54 -0
  534. package/node_modules/execa/lib/verbose/error.js +13 -0
  535. package/node_modules/execa/lib/verbose/info.js +39 -0
  536. package/node_modules/execa/lib/verbose/ipc.js +15 -0
  537. package/node_modules/execa/lib/verbose/log.js +54 -0
  538. package/node_modules/execa/lib/verbose/output.js +60 -0
  539. package/node_modules/execa/lib/verbose/start.js +15 -0
  540. package/node_modules/execa/lib/verbose/values.js +33 -0
  541. package/node_modules/execa/license +9 -0
  542. package/node_modules/execa/package.json +105 -0
  543. package/node_modules/execa/readme.md +461 -0
  544. package/node_modules/execa/types/arguments/encoding-option.d.ts +19 -0
  545. package/node_modules/execa/types/arguments/fd-options.d.ts +8 -0
  546. package/node_modules/execa/types/arguments/options.d.ts +400 -0
  547. package/node_modules/execa/types/arguments/specific.d.ts +52 -0
  548. package/node_modules/execa/types/convert.d.ts +58 -0
  549. package/node_modules/execa/types/ipc.d.ts +156 -0
  550. package/node_modules/execa/types/methods/command.d.ts +114 -0
  551. package/node_modules/execa/types/methods/main-async.d.ts +379 -0
  552. package/node_modules/execa/types/methods/main-sync.d.ts +59 -0
  553. package/node_modules/execa/types/methods/node.d.ts +62 -0
  554. package/node_modules/execa/types/methods/script.d.ts +115 -0
  555. package/node_modules/execa/types/methods/template.d.ts +18 -0
  556. package/node_modules/execa/types/pipe.d.ts +58 -0
  557. package/node_modules/execa/types/return/final-error.d.ts +51 -0
  558. package/node_modules/execa/types/return/ignore.d.ts +26 -0
  559. package/node_modules/execa/types/return/result-all.d.ts +30 -0
  560. package/node_modules/execa/types/return/result-ipc.d.ts +27 -0
  561. package/node_modules/execa/types/return/result-stdio.d.ts +17 -0
  562. package/node_modules/execa/types/return/result-stdout.d.ts +50 -0
  563. package/node_modules/execa/types/return/result.d.ts +203 -0
  564. package/node_modules/execa/types/stdio/array.d.ts +16 -0
  565. package/node_modules/execa/types/stdio/direction.d.ts +12 -0
  566. package/node_modules/execa/types/stdio/option.d.ts +40 -0
  567. package/node_modules/execa/types/stdio/type.d.ts +170 -0
  568. package/node_modules/execa/types/subprocess/all.d.ts +17 -0
  569. package/node_modules/execa/types/subprocess/stdio.d.ts +18 -0
  570. package/node_modules/execa/types/subprocess/stdout.d.ts +22 -0
  571. package/node_modules/execa/types/subprocess/subprocess.d.ts +117 -0
  572. package/node_modules/execa/types/transform/normalize.d.ts +57 -0
  573. package/node_modules/execa/types/transform/object-mode.d.ts +21 -0
  574. package/node_modules/execa/types/utils.d.ts +13 -0
  575. package/node_modules/execa/types/verbose.d.ts +98 -0
  576. package/node_modules/extend-shallow/LICENSE +21 -0
  577. package/node_modules/extend-shallow/README.md +61 -0
  578. package/node_modules/extend-shallow/index.js +33 -0
  579. package/node_modules/extend-shallow/package.json +56 -0
  580. package/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
  581. package/node_modules/fast-string-truncated-width/dist/index.js +111 -0
  582. package/node_modules/fast-string-truncated-width/dist/types.d.ts +19 -0
  583. package/node_modules/fast-string-truncated-width/dist/types.js +2 -0
  584. package/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
  585. package/node_modules/fast-string-truncated-width/dist/utils.js +20 -0
  586. package/node_modules/fast-string-truncated-width/license +21 -0
  587. package/node_modules/fast-string-truncated-width/package.json +35 -0
  588. package/node_modules/fast-string-truncated-width/readme.md +59 -0
  589. package/node_modules/fast-string-width/dist/index.d.ts +4 -0
  590. package/node_modules/fast-string-width/dist/index.js +14 -0
  591. package/node_modules/fast-string-width/license +21 -0
  592. package/node_modules/fast-string-width/package.json +34 -0
  593. package/node_modules/fast-string-width/readme.md +42 -0
  594. package/node_modules/fast-wrap-ansi/LICENSE +23 -0
  595. package/node_modules/fast-wrap-ansi/README.md +26 -0
  596. package/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
  597. package/node_modules/fast-wrap-ansi/lib/main.js +218 -0
  598. package/node_modules/fast-wrap-ansi/package.json +51 -0
  599. package/node_modules/figures/index.d.ts +279 -0
  600. package/node_modules/figures/index.js +292 -0
  601. package/node_modules/figures/license +9 -0
  602. package/node_modules/figures/package.json +49 -0
  603. package/node_modules/figures/readme.md +337 -0
  604. package/node_modules/get-stream/license +9 -0
  605. package/node_modules/get-stream/package.json +60 -0
  606. package/node_modules/get-stream/readme.md +303 -0
  607. package/node_modules/get-stream/source/array-buffer.js +84 -0
  608. package/node_modules/get-stream/source/array.js +32 -0
  609. package/node_modules/get-stream/source/buffer.js +19 -0
  610. package/node_modules/get-stream/source/contents.js +121 -0
  611. package/node_modules/get-stream/source/exports.js +5 -0
  612. package/node_modules/get-stream/source/index.d.ts +121 -0
  613. package/node_modules/get-stream/source/index.js +13 -0
  614. package/node_modules/get-stream/source/stream.js +65 -0
  615. package/node_modules/get-stream/source/string.js +41 -0
  616. package/node_modules/get-stream/source/utils.js +11 -0
  617. package/node_modules/gray-matter/LICENSE +21 -0
  618. package/node_modules/gray-matter/README.md +565 -0
  619. package/node_modules/gray-matter/gray-matter.d.ts +114 -0
  620. package/node_modules/gray-matter/index.js +228 -0
  621. package/node_modules/gray-matter/lib/defaults.js +18 -0
  622. package/node_modules/gray-matter/lib/engine.js +30 -0
  623. package/node_modules/gray-matter/lib/engines.js +54 -0
  624. package/node_modules/gray-matter/lib/excerpt.js +32 -0
  625. package/node_modules/gray-matter/lib/parse.js +13 -0
  626. package/node_modules/gray-matter/lib/stringify.js +56 -0
  627. package/node_modules/gray-matter/lib/to-file.js +43 -0
  628. package/node_modules/gray-matter/lib/utils.js +66 -0
  629. package/node_modules/gray-matter/package.json +127 -0
  630. package/node_modules/human-signals/LICENSE +201 -0
  631. package/node_modules/human-signals/README.md +171 -0
  632. package/node_modules/human-signals/build/src/core.js +273 -0
  633. package/node_modules/human-signals/build/src/main.d.ts +206 -0
  634. package/node_modules/human-signals/build/src/main.js +70 -0
  635. package/node_modules/human-signals/build/src/realtime.js +16 -0
  636. package/node_modules/human-signals/build/src/signals.js +34 -0
  637. package/node_modules/human-signals/package.json +66 -0
  638. package/node_modules/iconv-lite/LICENSE +21 -0
  639. package/node_modules/iconv-lite/README.md +138 -0
  640. package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  641. package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  642. package/node_modules/iconv-lite/encodings/index.js +23 -0
  643. package/node_modules/iconv-lite/encodings/internal.js +218 -0
  644. package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  645. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  646. package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
  647. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  648. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  649. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  650. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  651. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  652. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  653. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  654. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  655. package/node_modules/iconv-lite/encodings/utf16.js +187 -0
  656. package/node_modules/iconv-lite/encodings/utf32.js +314 -0
  657. package/node_modules/iconv-lite/encodings/utf7.js +283 -0
  658. package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  659. package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  660. package/node_modules/iconv-lite/lib/index.d.ts +129 -0
  661. package/node_modules/iconv-lite/lib/index.js +182 -0
  662. package/node_modules/iconv-lite/lib/streams.js +105 -0
  663. package/node_modules/iconv-lite/package.json +70 -0
  664. package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
  665. package/node_modules/is-extendable/LICENSE +21 -0
  666. package/node_modules/is-extendable/README.md +72 -0
  667. package/node_modules/is-extendable/index.js +13 -0
  668. package/node_modules/is-extendable/package.json +51 -0
  669. package/node_modules/is-plain-obj/index.d.ts +35 -0
  670. package/node_modules/is-plain-obj/index.js +8 -0
  671. package/node_modules/is-plain-obj/license +9 -0
  672. package/node_modules/is-plain-obj/package.json +41 -0
  673. package/node_modules/is-plain-obj/readme.md +58 -0
  674. package/node_modules/is-stream/index.d.ts +90 -0
  675. package/node_modules/is-stream/index.js +37 -0
  676. package/node_modules/is-stream/license +9 -0
  677. package/node_modules/is-stream/package.json +48 -0
  678. package/node_modules/is-stream/readme.md +57 -0
  679. package/node_modules/is-unicode-supported/index.d.ts +12 -0
  680. package/node_modules/is-unicode-supported/index.js +21 -0
  681. package/node_modules/is-unicode-supported/license +9 -0
  682. package/node_modules/is-unicode-supported/package.json +47 -0
  683. package/node_modules/is-unicode-supported/readme.md +35 -0
  684. package/node_modules/isexe/.npmignore +2 -0
  685. package/node_modules/isexe/LICENSE +15 -0
  686. package/node_modules/isexe/README.md +51 -0
  687. package/node_modules/isexe/index.js +57 -0
  688. package/node_modules/isexe/mode.js +41 -0
  689. package/node_modules/isexe/package.json +31 -0
  690. package/node_modules/isexe/test/basic.js +221 -0
  691. package/node_modules/isexe/windows.js +42 -0
  692. package/node_modules/js-yaml/LICENSE +21 -0
  693. package/node_modules/js-yaml/README.md +302 -0
  694. package/node_modules/js-yaml/bin/js-yaml.js +132 -0
  695. package/node_modules/js-yaml/dist/js-yaml.js +4011 -0
  696. package/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
  697. package/node_modules/js-yaml/index.js +7 -0
  698. package/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
  699. package/node_modules/js-yaml/lib/js-yaml/dumper.js +850 -0
  700. package/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
  701. package/node_modules/js-yaml/lib/js-yaml/loader.js +1666 -0
  702. package/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
  703. package/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
  704. package/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
  705. package/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
  706. package/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
  707. package/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
  708. package/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
  709. package/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
  710. package/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
  711. package/node_modules/js-yaml/lib/js-yaml/type/float.js +116 -0
  712. package/node_modules/js-yaml/lib/js-yaml/type/int.js +173 -0
  713. package/node_modules/js-yaml/lib/js-yaml/type/js/function.js +93 -0
  714. package/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
  715. package/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
  716. package/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
  717. package/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
  718. package/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
  719. package/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
  720. package/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
  721. package/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
  722. package/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
  723. package/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
  724. package/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
  725. package/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
  726. package/node_modules/js-yaml/lib/js-yaml.js +39 -0
  727. package/node_modules/js-yaml/package.json +52 -0
  728. package/node_modules/kind-of/LICENSE +21 -0
  729. package/node_modules/kind-of/README.md +367 -0
  730. package/node_modules/kind-of/index.js +129 -0
  731. package/node_modules/kind-of/package.json +88 -0
  732. package/node_modules/mute-stream/LICENSE +15 -0
  733. package/node_modules/mute-stream/README.md +68 -0
  734. package/node_modules/mute-stream/lib/index.js +142 -0
  735. package/node_modules/mute-stream/package.json +54 -0
  736. package/node_modules/npm-run-path/index.d.ts +90 -0
  737. package/node_modules/npm-run-path/index.js +55 -0
  738. package/node_modules/npm-run-path/license +9 -0
  739. package/node_modules/npm-run-path/node_modules/path-key/index.d.ts +31 -0
  740. package/node_modules/npm-run-path/node_modules/path-key/index.js +12 -0
  741. package/node_modules/npm-run-path/node_modules/path-key/license +9 -0
  742. package/node_modules/npm-run-path/node_modules/path-key/package.json +41 -0
  743. package/node_modules/npm-run-path/node_modules/path-key/readme.md +57 -0
  744. package/node_modules/npm-run-path/package.json +52 -0
  745. package/node_modules/npm-run-path/readme.md +104 -0
  746. package/node_modules/parse-ms/index.d.ts +30 -0
  747. package/node_modules/parse-ms/index.js +45 -0
  748. package/node_modules/parse-ms/license +9 -0
  749. package/node_modules/parse-ms/package.json +47 -0
  750. package/node_modules/parse-ms/readme.md +46 -0
  751. package/node_modules/path-key/index.d.ts +40 -0
  752. package/node_modules/path-key/index.js +16 -0
  753. package/node_modules/path-key/license +9 -0
  754. package/node_modules/path-key/package.json +39 -0
  755. package/node_modules/path-key/readme.md +61 -0
  756. package/node_modules/picomatch/LICENSE +21 -0
  757. package/node_modules/picomatch/README.md +743 -0
  758. package/node_modules/picomatch/index.js +17 -0
  759. package/node_modules/picomatch/lib/constants.js +184 -0
  760. package/node_modules/picomatch/lib/parse.js +1416 -0
  761. package/node_modules/picomatch/lib/picomatch.js +361 -0
  762. package/node_modules/picomatch/lib/scan.js +391 -0
  763. package/node_modules/picomatch/lib/utils.js +72 -0
  764. package/node_modules/picomatch/package.json +83 -0
  765. package/node_modules/picomatch/posix.js +3 -0
  766. package/node_modules/pretty-ms/index.d.ts +157 -0
  767. package/node_modules/pretty-ms/index.js +149 -0
  768. package/node_modules/pretty-ms/license +9 -0
  769. package/node_modules/pretty-ms/package.json +55 -0
  770. package/node_modules/pretty-ms/readme.md +179 -0
  771. package/node_modules/safer-buffer/LICENSE +21 -0
  772. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  773. package/node_modules/safer-buffer/Readme.md +156 -0
  774. package/node_modules/safer-buffer/dangerous.js +58 -0
  775. package/node_modules/safer-buffer/package.json +34 -0
  776. package/node_modules/safer-buffer/safer.js +77 -0
  777. package/node_modules/safer-buffer/tests.js +406 -0
  778. package/node_modules/section-matter/LICENSE +21 -0
  779. package/node_modules/section-matter/README.md +236 -0
  780. package/node_modules/section-matter/index.js +136 -0
  781. package/node_modules/section-matter/package.json +55 -0
  782. package/node_modules/shebang-command/index.js +19 -0
  783. package/node_modules/shebang-command/license +9 -0
  784. package/node_modules/shebang-command/package.json +34 -0
  785. package/node_modules/shebang-command/readme.md +34 -0
  786. package/node_modules/shebang-regex/index.d.ts +22 -0
  787. package/node_modules/shebang-regex/index.js +2 -0
  788. package/node_modules/shebang-regex/license +9 -0
  789. package/node_modules/shebang-regex/package.json +35 -0
  790. package/node_modules/shebang-regex/readme.md +33 -0
  791. package/node_modules/signal-exit/LICENSE.txt +16 -0
  792. package/node_modules/signal-exit/README.md +74 -0
  793. package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
  794. package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
  795. package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  796. package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
  797. package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
  798. package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
  799. package/node_modules/signal-exit/dist/cjs/index.js +279 -0
  800. package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
  801. package/node_modules/signal-exit/dist/cjs/package.json +3 -0
  802. package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
  803. package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
  804. package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  805. package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
  806. package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
  807. package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
  808. package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  809. package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
  810. package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
  811. package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
  812. package/node_modules/signal-exit/dist/mjs/index.js +275 -0
  813. package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
  814. package/node_modules/signal-exit/dist/mjs/package.json +3 -0
  815. package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
  816. package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
  817. package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  818. package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
  819. package/node_modules/signal-exit/package.json +106 -0
  820. package/node_modules/sprintf-js/.npmignore +1 -0
  821. package/node_modules/sprintf-js/LICENSE +24 -0
  822. package/node_modules/sprintf-js/README.md +88 -0
  823. package/node_modules/sprintf-js/bower.json +14 -0
  824. package/node_modules/sprintf-js/demo/angular.html +20 -0
  825. package/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
  826. package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
  827. package/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
  828. package/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
  829. package/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
  830. package/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
  831. package/node_modules/sprintf-js/gruntfile.js +36 -0
  832. package/node_modules/sprintf-js/package.json +22 -0
  833. package/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
  834. package/node_modules/sprintf-js/src/sprintf.js +208 -0
  835. package/node_modules/sprintf-js/test/test.js +82 -0
  836. package/node_modules/strip-bom-string/LICENSE +21 -0
  837. package/node_modules/strip-bom-string/README.md +66 -0
  838. package/node_modules/strip-bom-string/index.js +15 -0
  839. package/node_modules/strip-bom-string/package.json +60 -0
  840. package/node_modules/strip-final-newline/index.d.ts +18 -0
  841. package/node_modules/strip-final-newline/index.js +26 -0
  842. package/node_modules/strip-final-newline/license +9 -0
  843. package/node_modules/strip-final-newline/package.json +49 -0
  844. package/node_modules/strip-final-newline/readme.md +34 -0
  845. package/node_modules/unicorn-magic/default.d.ts +13 -0
  846. package/node_modules/unicorn-magic/default.js +14 -0
  847. package/node_modules/unicorn-magic/license +9 -0
  848. package/node_modules/unicorn-magic/node.d.ts +125 -0
  849. package/node_modules/unicorn-magic/node.js +49 -0
  850. package/node_modules/unicorn-magic/package.json +62 -0
  851. package/node_modules/unicorn-magic/readme.md +25 -0
  852. package/node_modules/which/LICENSE +15 -0
  853. package/node_modules/which/README.md +54 -0
  854. package/node_modules/which/bin/node-which +52 -0
  855. package/node_modules/which/package.json +43 -0
  856. package/node_modules/which/which.js +125 -0
  857. package/node_modules/yaml/LICENSE +13 -0
  858. package/node_modules/yaml/README.md +172 -0
  859. package/node_modules/yaml/bin.mjs +11 -0
  860. package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  861. package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  862. package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
  863. package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  864. package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
  865. package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  866. package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  867. package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  868. package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  869. package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  870. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +225 -0
  871. package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  872. package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  873. package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  874. package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  875. package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  876. package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  877. package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  878. package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  879. package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  880. package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  881. package/node_modules/yaml/browser/dist/errors.js +57 -0
  882. package/node_modules/yaml/browser/dist/index.js +17 -0
  883. package/node_modules/yaml/browser/dist/log.js +11 -0
  884. package/node_modules/yaml/browser/dist/nodes/Alias.js +116 -0
  885. package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  886. package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  887. package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  888. package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  889. package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  890. package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  891. package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  892. package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  893. package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  894. package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  895. package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  896. package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  897. package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  898. package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
  899. package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  900. package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
  901. package/node_modules/yaml/browser/dist/public-api.js +102 -0
  902. package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  903. package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  904. package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  905. package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  906. package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  907. package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  908. package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  909. package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  910. package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  911. package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  912. package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  913. package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  914. package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  915. package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  916. package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  917. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
  918. package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  919. package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  920. package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  921. package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  922. package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  923. package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  924. package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
  925. package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
  926. package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  927. package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  928. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
  929. package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  930. package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  931. package/node_modules/yaml/browser/dist/util.js +11 -0
  932. package/node_modules/yaml/browser/dist/visit.js +233 -0
  933. package/node_modules/yaml/browser/index.js +5 -0
  934. package/node_modules/yaml/browser/package.json +3 -0
  935. package/node_modules/yaml/dist/cli.d.ts +8 -0
  936. package/node_modules/yaml/dist/cli.mjs +201 -0
  937. package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  938. package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  939. package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  940. package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  941. package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  942. package/node_modules/yaml/dist/compose/compose-node.js +112 -0
  943. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  944. package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  945. package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  946. package/node_modules/yaml/dist/compose/composer.js +224 -0
  947. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  948. package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  949. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  950. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  951. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  952. package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  953. package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  954. package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  955. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  956. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  957. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  958. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +227 -0
  959. package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  960. package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  961. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  962. package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  963. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  964. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  965. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  966. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  967. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  968. package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  969. package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  970. package/node_modules/yaml/dist/doc/Document.js +337 -0
  971. package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  972. package/node_modules/yaml/dist/doc/anchors.js +76 -0
  973. package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  974. package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  975. package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  976. package/node_modules/yaml/dist/doc/createNode.js +90 -0
  977. package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  978. package/node_modules/yaml/dist/doc/directives.js +178 -0
  979. package/node_modules/yaml/dist/errors.d.ts +21 -0
  980. package/node_modules/yaml/dist/errors.js +62 -0
  981. package/node_modules/yaml/dist/index.d.ts +25 -0
  982. package/node_modules/yaml/dist/index.js +50 -0
  983. package/node_modules/yaml/dist/log.d.ts +3 -0
  984. package/node_modules/yaml/dist/log.js +19 -0
  985. package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  986. package/node_modules/yaml/dist/nodes/Alias.js +118 -0
  987. package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  988. package/node_modules/yaml/dist/nodes/Collection.js +151 -0
  989. package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  990. package/node_modules/yaml/dist/nodes/Node.js +40 -0
  991. package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  992. package/node_modules/yaml/dist/nodes/Pair.js +39 -0
  993. package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
  994. package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  995. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  996. package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  997. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  998. package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  999. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  1000. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  1001. package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  1002. package/node_modules/yaml/dist/nodes/identity.js +53 -0
  1003. package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  1004. package/node_modules/yaml/dist/nodes/toJS.js +39 -0
  1005. package/node_modules/yaml/dist/options.d.ts +350 -0
  1006. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  1007. package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  1008. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  1009. package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  1010. package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  1011. package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  1012. package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  1013. package/node_modules/yaml/dist/parse/cst.js +112 -0
  1014. package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  1015. package/node_modules/yaml/dist/parse/lexer.js +723 -0
  1016. package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  1017. package/node_modules/yaml/dist/parse/line-counter.js +41 -0
  1018. package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  1019. package/node_modules/yaml/dist/parse/parser.js +980 -0
  1020. package/node_modules/yaml/dist/public-api.d.ts +44 -0
  1021. package/node_modules/yaml/dist/public-api.js +107 -0
  1022. package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  1023. package/node_modules/yaml/dist/schema/Schema.js +39 -0
  1024. package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  1025. package/node_modules/yaml/dist/schema/common/map.js +19 -0
  1026. package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  1027. package/node_modules/yaml/dist/schema/common/null.js +17 -0
  1028. package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  1029. package/node_modules/yaml/dist/schema/common/seq.js +19 -0
  1030. package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  1031. package/node_modules/yaml/dist/schema/common/string.js +16 -0
  1032. package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  1033. package/node_modules/yaml/dist/schema/core/bool.js +21 -0
  1034. package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  1035. package/node_modules/yaml/dist/schema/core/float.js +47 -0
  1036. package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  1037. package/node_modules/yaml/dist/schema/core/int.js +42 -0
  1038. package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  1039. package/node_modules/yaml/dist/schema/core/schema.js +25 -0
  1040. package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  1041. package/node_modules/yaml/dist/schema/json/schema.js +64 -0
  1042. package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  1043. package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  1044. package/node_modules/yaml/dist/schema/tags.js +99 -0
  1045. package/node_modules/yaml/dist/schema/types.d.ts +92 -0
  1046. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  1047. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  1048. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  1049. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  1050. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  1051. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  1052. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  1053. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  1054. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  1055. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
  1056. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  1057. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  1058. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  1059. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  1060. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  1061. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  1062. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  1063. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  1064. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  1065. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  1066. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  1067. package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  1068. package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  1069. package/node_modules/yaml/dist/stringify/stringify.js +132 -0
  1070. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  1071. package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
  1072. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  1073. package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  1074. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  1075. package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  1076. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  1077. package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
  1078. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  1079. package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  1080. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  1081. package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  1082. package/node_modules/yaml/dist/test-events.d.ts +4 -0
  1083. package/node_modules/yaml/dist/test-events.js +134 -0
  1084. package/node_modules/yaml/dist/util.d.ts +16 -0
  1085. package/node_modules/yaml/dist/util.js +28 -0
  1086. package/node_modules/yaml/dist/visit.d.ts +102 -0
  1087. package/node_modules/yaml/dist/visit.js +236 -0
  1088. package/node_modules/yaml/package.json +97 -0
  1089. package/node_modules/yaml/util.js +2 -0
  1090. package/node_modules/yoctocolors/base.d.ts +47 -0
  1091. package/node_modules/yoctocolors/base.js +94 -0
  1092. package/node_modules/yoctocolors/index.d.ts +2 -0
  1093. package/node_modules/yoctocolors/index.js +2 -0
  1094. package/node_modules/yoctocolors/license +9 -0
  1095. package/node_modules/yoctocolors/package.json +69 -0
  1096. package/node_modules/yoctocolors/readme.md +138 -0
  1097. package/node_modules/zod/LICENSE +21 -0
  1098. package/node_modules/zod/README.md +191 -0
  1099. package/node_modules/zod/index.cjs +33 -0
  1100. package/node_modules/zod/index.d.cts +4 -0
  1101. package/node_modules/zod/index.d.ts +4 -0
  1102. package/node_modules/zod/index.js +4 -0
  1103. package/node_modules/zod/locales/index.cjs +17 -0
  1104. package/node_modules/zod/locales/index.d.cts +1 -0
  1105. package/node_modules/zod/locales/index.d.ts +1 -0
  1106. package/node_modules/zod/locales/index.js +1 -0
  1107. package/node_modules/zod/locales/package.json +7 -0
  1108. package/node_modules/zod/mini/index.cjs +32 -0
  1109. package/node_modules/zod/mini/index.d.cts +3 -0
  1110. package/node_modules/zod/mini/index.d.ts +3 -0
  1111. package/node_modules/zod/mini/index.js +3 -0
  1112. package/node_modules/zod/mini/package.json +7 -0
  1113. package/node_modules/zod/package.json +135 -0
  1114. package/node_modules/zod/src/index.ts +4 -0
  1115. package/node_modules/zod/src/locales/index.ts +1 -0
  1116. package/node_modules/zod/src/mini/index.ts +3 -0
  1117. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  1118. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  1119. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  1120. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  1121. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  1122. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  1123. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  1124. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  1125. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  1126. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  1127. package/node_modules/zod/src/v3/errors.ts +13 -0
  1128. package/node_modules/zod/src/v3/external.ts +6 -0
  1129. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  1130. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  1131. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  1132. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  1133. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  1134. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  1135. package/node_modules/zod/src/v3/index.ts +4 -0
  1136. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  1137. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  1138. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  1139. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  1140. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  1141. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  1142. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  1143. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  1144. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  1145. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  1146. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  1147. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  1148. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  1149. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  1150. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  1151. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  1152. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  1153. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  1154. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  1155. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  1156. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  1157. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  1158. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  1159. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  1160. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  1161. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  1162. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  1163. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  1164. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  1165. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  1166. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  1167. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  1168. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  1169. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  1170. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  1171. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  1172. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  1173. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  1174. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  1175. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  1176. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  1177. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  1178. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  1179. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  1180. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  1181. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  1182. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  1183. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  1184. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  1185. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  1186. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  1187. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  1188. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  1189. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  1190. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  1191. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  1192. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  1193. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  1194. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  1195. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  1196. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  1197. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  1198. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  1199. package/node_modules/zod/src/v3/types.ts +5138 -0
  1200. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  1201. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  1202. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  1203. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  1204. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  1205. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  1206. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  1207. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  1208. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  1209. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  1210. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  1211. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  1212. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  1213. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  1214. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  1215. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  1216. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  1217. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  1218. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  1219. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  1220. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  1221. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  1222. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  1223. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  1224. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  1225. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  1226. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  1227. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  1228. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  1229. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  1230. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  1231. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  1232. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  1233. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  1234. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  1235. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  1236. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  1237. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  1238. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  1239. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  1240. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  1241. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  1242. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  1243. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  1244. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  1245. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  1246. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  1247. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  1248. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  1249. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  1250. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  1251. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  1252. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  1253. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  1254. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  1255. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  1256. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  1257. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  1258. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  1259. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  1260. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  1261. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  1262. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  1263. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  1264. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  1265. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  1266. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  1267. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  1268. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  1269. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  1270. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  1271. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  1272. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  1273. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  1274. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  1275. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  1276. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  1277. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  1278. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  1279. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  1280. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  1281. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  1282. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  1283. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  1284. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  1285. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  1286. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  1287. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  1288. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  1289. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  1290. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  1291. package/node_modules/zod/src/v4/core/config.ts +15 -0
  1292. package/node_modules/zod/src/v4/core/core.ts +153 -0
  1293. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  1294. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  1295. package/node_modules/zod/src/v4/core/index.ts +16 -0
  1296. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  1297. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  1298. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  1299. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  1300. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  1301. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  1302. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  1303. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  1304. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  1305. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  1306. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  1307. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  1308. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  1309. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  1310. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  1311. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  1312. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  1313. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  1314. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  1315. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  1316. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  1317. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  1318. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  1319. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  1320. package/node_modules/zod/src/v4/core/util.ts +983 -0
  1321. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  1322. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  1323. package/node_modules/zod/src/v4/index.ts +4 -0
  1324. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  1325. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  1326. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  1327. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  1328. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  1329. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  1330. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  1331. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  1332. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  1333. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  1334. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  1335. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  1336. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  1337. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  1338. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  1339. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  1340. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  1341. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  1342. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  1343. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  1344. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  1345. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  1346. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  1347. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  1348. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  1349. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  1350. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  1351. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  1352. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  1353. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  1354. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  1355. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  1356. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  1357. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  1358. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  1359. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  1360. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  1361. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  1362. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  1363. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  1364. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  1365. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  1366. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  1367. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  1368. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  1369. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  1370. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  1371. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  1372. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  1373. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  1374. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  1375. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  1376. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  1377. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  1378. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  1379. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  1380. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  1381. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  1382. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  1383. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  1384. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  1385. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  1386. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  1387. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  1388. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  1389. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  1390. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  1391. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  1392. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  1393. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  1394. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  1395. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  1396. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  1397. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  1398. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  1399. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  1400. package/node_modules/zod/v3/ZodError.cjs +138 -0
  1401. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  1402. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  1403. package/node_modules/zod/v3/ZodError.js +133 -0
  1404. package/node_modules/zod/v3/errors.cjs +17 -0
  1405. package/node_modules/zod/v3/errors.d.cts +5 -0
  1406. package/node_modules/zod/v3/errors.d.ts +5 -0
  1407. package/node_modules/zod/v3/errors.js +9 -0
  1408. package/node_modules/zod/v3/external.cjs +22 -0
  1409. package/node_modules/zod/v3/external.d.cts +6 -0
  1410. package/node_modules/zod/v3/external.d.ts +6 -0
  1411. package/node_modules/zod/v3/external.js +6 -0
  1412. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  1413. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  1414. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  1415. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  1416. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  1417. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  1418. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  1419. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  1420. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  1421. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  1422. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  1423. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  1424. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  1425. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  1426. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  1427. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  1428. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  1429. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  1430. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  1431. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  1432. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  1433. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  1434. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  1435. package/node_modules/zod/v3/helpers/util.js +133 -0
  1436. package/node_modules/zod/v3/index.cjs +33 -0
  1437. package/node_modules/zod/v3/index.d.cts +4 -0
  1438. package/node_modules/zod/v3/index.d.ts +4 -0
  1439. package/node_modules/zod/v3/index.js +4 -0
  1440. package/node_modules/zod/v3/locales/en.cjs +112 -0
  1441. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  1442. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  1443. package/node_modules/zod/v3/locales/en.js +109 -0
  1444. package/node_modules/zod/v3/package.json +7 -0
  1445. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  1446. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  1447. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  1448. package/node_modules/zod/v3/standard-schema.js +1 -0
  1449. package/node_modules/zod/v3/types.cjs +3777 -0
  1450. package/node_modules/zod/v3/types.d.cts +1034 -0
  1451. package/node_modules/zod/v3/types.d.ts +1034 -0
  1452. package/node_modules/zod/v3/types.js +3695 -0
  1453. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  1454. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  1455. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  1456. package/node_modules/zod/v4/classic/checks.js +1 -0
  1457. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  1458. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  1459. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  1460. package/node_modules/zod/v4/classic/coerce.js +17 -0
  1461. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  1462. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  1463. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  1464. package/node_modules/zod/v4/classic/compat.js +31 -0
  1465. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  1466. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  1467. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  1468. package/node_modules/zod/v4/classic/errors.js +48 -0
  1469. package/node_modules/zod/v4/classic/external.cjs +73 -0
  1470. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  1471. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  1472. package/node_modules/zod/v4/classic/external.js +20 -0
  1473. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  1474. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  1475. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  1476. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  1477. package/node_modules/zod/v4/classic/index.cjs +33 -0
  1478. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  1479. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  1480. package/node_modules/zod/v4/classic/index.js +4 -0
  1481. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  1482. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  1483. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  1484. package/node_modules/zod/v4/classic/iso.js +30 -0
  1485. package/node_modules/zod/v4/classic/package.json +7 -0
  1486. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  1487. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  1488. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  1489. package/node_modules/zod/v4/classic/parse.js +15 -0
  1490. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  1491. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  1492. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  1493. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  1494. package/node_modules/zod/v4/core/api.cjs +1227 -0
  1495. package/node_modules/zod/v4/core/api.d.cts +325 -0
  1496. package/node_modules/zod/v4/core/api.d.ts +325 -0
  1497. package/node_modules/zod/v4/core/api.js +1087 -0
  1498. package/node_modules/zod/v4/core/checks.cjs +601 -0
  1499. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  1500. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  1501. package/node_modules/zod/v4/core/checks.js +575 -0
  1502. package/node_modules/zod/v4/core/core.cjs +85 -0
  1503. package/node_modules/zod/v4/core/core.d.cts +70 -0
  1504. package/node_modules/zod/v4/core/core.d.ts +70 -0
  1505. package/node_modules/zod/v4/core/core.js +78 -0
  1506. package/node_modules/zod/v4/core/doc.cjs +39 -0
  1507. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  1508. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  1509. package/node_modules/zod/v4/core/doc.js +35 -0
  1510. package/node_modules/zod/v4/core/errors.cjs +216 -0
  1511. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  1512. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  1513. package/node_modules/zod/v4/core/errors.js +185 -0
  1514. package/node_modules/zod/v4/core/index.cjs +47 -0
  1515. package/node_modules/zod/v4/core/index.d.cts +16 -0
  1516. package/node_modules/zod/v4/core/index.d.ts +16 -0
  1517. package/node_modules/zod/v4/core/index.js +16 -0
  1518. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  1519. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  1520. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  1521. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  1522. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  1523. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  1524. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  1525. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  1526. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  1527. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  1528. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  1529. package/node_modules/zod/v4/core/json-schema.js +1 -0
  1530. package/node_modules/zod/v4/core/package.json +7 -0
  1531. package/node_modules/zod/v4/core/parse.cjs +131 -0
  1532. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  1533. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  1534. package/node_modules/zod/v4/core/parse.js +93 -0
  1535. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  1536. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  1537. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  1538. package/node_modules/zod/v4/core/regexes.js +139 -0
  1539. package/node_modules/zod/v4/core/registries.cjs +56 -0
  1540. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  1541. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  1542. package/node_modules/zod/v4/core/registries.js +51 -0
  1543. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  1544. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  1545. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  1546. package/node_modules/zod/v4/core/schemas.js +2239 -0
  1547. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  1548. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  1549. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  1550. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  1551. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  1552. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  1553. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  1554. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  1555. package/node_modules/zod/v4/core/util.cjs +734 -0
  1556. package/node_modules/zod/v4/core/util.d.cts +200 -0
  1557. package/node_modules/zod/v4/core/util.d.ts +200 -0
  1558. package/node_modules/zod/v4/core/util.js +674 -0
  1559. package/node_modules/zod/v4/core/versions.cjs +8 -0
  1560. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  1561. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  1562. package/node_modules/zod/v4/core/versions.js +5 -0
  1563. package/node_modules/zod/v4/index.cjs +22 -0
  1564. package/node_modules/zod/v4/index.d.cts +3 -0
  1565. package/node_modules/zod/v4/index.d.ts +3 -0
  1566. package/node_modules/zod/v4/index.js +3 -0
  1567. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  1568. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  1569. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  1570. package/node_modules/zod/v4/locales/ar.js +106 -0
  1571. package/node_modules/zod/v4/locales/az.cjs +132 -0
  1572. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  1573. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  1574. package/node_modules/zod/v4/locales/az.js +105 -0
  1575. package/node_modules/zod/v4/locales/be.cjs +183 -0
  1576. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  1577. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  1578. package/node_modules/zod/v4/locales/be.js +156 -0
  1579. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  1580. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  1581. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  1582. package/node_modules/zod/v4/locales/bg.js +120 -0
  1583. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  1584. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  1585. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  1586. package/node_modules/zod/v4/locales/ca.js +107 -0
  1587. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  1588. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  1589. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  1590. package/node_modules/zod/v4/locales/cs.js +111 -0
  1591. package/node_modules/zod/v4/locales/da.cjs +142 -0
  1592. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  1593. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  1594. package/node_modules/zod/v4/locales/da.js +115 -0
  1595. package/node_modules/zod/v4/locales/de.cjs +135 -0
  1596. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  1597. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  1598. package/node_modules/zod/v4/locales/de.js +108 -0
  1599. package/node_modules/zod/v4/locales/el.cjs +136 -0
  1600. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  1601. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  1602. package/node_modules/zod/v4/locales/el.js +109 -0
  1603. package/node_modules/zod/v4/locales/en.cjs +140 -0
  1604. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  1605. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  1606. package/node_modules/zod/v4/locales/en.js +113 -0
  1607. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  1608. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  1609. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  1610. package/node_modules/zod/v4/locales/eo.js +109 -0
  1611. package/node_modules/zod/v4/locales/es.cjs +159 -0
  1612. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  1613. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  1614. package/node_modules/zod/v4/locales/es.js +132 -0
  1615. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  1616. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  1617. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  1618. package/node_modules/zod/v4/locales/fa.js +114 -0
  1619. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  1620. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  1621. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  1622. package/node_modules/zod/v4/locales/fi.js +112 -0
  1623. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  1624. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  1625. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  1626. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  1627. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  1628. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  1629. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  1630. package/node_modules/zod/v4/locales/fr.js +125 -0
  1631. package/node_modules/zod/v4/locales/he.cjs +241 -0
  1632. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  1633. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  1634. package/node_modules/zod/v4/locales/he.js +214 -0
  1635. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  1636. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  1637. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  1638. package/node_modules/zod/v4/locales/hr.js +122 -0
  1639. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  1640. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  1641. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  1642. package/node_modules/zod/v4/locales/hu.js +108 -0
  1643. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  1644. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  1645. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  1646. package/node_modules/zod/v4/locales/hy.js +147 -0
  1647. package/node_modules/zod/v4/locales/id.cjs +133 -0
  1648. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  1649. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  1650. package/node_modules/zod/v4/locales/id.js +106 -0
  1651. package/node_modules/zod/v4/locales/index.cjs +111 -0
  1652. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  1653. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  1654. package/node_modules/zod/v4/locales/index.js +52 -0
  1655. package/node_modules/zod/v4/locales/is.cjs +136 -0
  1656. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  1657. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  1658. package/node_modules/zod/v4/locales/is.js +109 -0
  1659. package/node_modules/zod/v4/locales/it.cjs +135 -0
  1660. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  1661. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  1662. package/node_modules/zod/v4/locales/it.js +108 -0
  1663. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  1664. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  1665. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  1666. package/node_modules/zod/v4/locales/ja.js +107 -0
  1667. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  1668. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  1669. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  1670. package/node_modules/zod/v4/locales/ka.js +112 -0
  1671. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  1672. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  1673. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  1674. package/node_modules/zod/v4/locales/kh.js +5 -0
  1675. package/node_modules/zod/v4/locales/km.cjs +137 -0
  1676. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  1677. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  1678. package/node_modules/zod/v4/locales/km.js +110 -0
  1679. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  1680. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  1681. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  1682. package/node_modules/zod/v4/locales/ko.js +111 -0
  1683. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  1684. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  1685. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  1686. package/node_modules/zod/v4/locales/lt.js +203 -0
  1687. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  1688. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  1689. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  1690. package/node_modules/zod/v4/locales/mk.js +109 -0
  1691. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  1692. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  1693. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  1694. package/node_modules/zod/v4/locales/ms.js +107 -0
  1695. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  1696. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  1697. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  1698. package/node_modules/zod/v4/locales/nl.js +110 -0
  1699. package/node_modules/zod/v4/locales/no.cjs +135 -0
  1700. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  1701. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  1702. package/node_modules/zod/v4/locales/no.js +108 -0
  1703. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  1704. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  1705. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  1706. package/node_modules/zod/v4/locales/ota.js +109 -0
  1707. package/node_modules/zod/v4/locales/package.json +7 -0
  1708. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  1709. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  1710. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  1711. package/node_modules/zod/v4/locales/pl.js +109 -0
  1712. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  1713. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  1714. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  1715. package/node_modules/zod/v4/locales/ps.js +114 -0
  1716. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  1717. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  1718. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  1719. package/node_modules/zod/v4/locales/pt.js +108 -0
  1720. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  1721. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  1722. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  1723. package/node_modules/zod/v4/locales/ro.js +119 -0
  1724. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  1725. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  1726. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  1727. package/node_modules/zod/v4/locales/ru.js +156 -0
  1728. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  1729. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  1730. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  1731. package/node_modules/zod/v4/locales/sl.js +109 -0
  1732. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  1733. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  1734. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  1735. package/node_modules/zod/v4/locales/sv.js +110 -0
  1736. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  1737. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  1738. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1739. package/node_modules/zod/v4/locales/ta.js +110 -0
  1740. package/node_modules/zod/v4/locales/th.cjs +137 -0
  1741. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  1742. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  1743. package/node_modules/zod/v4/locales/th.js +110 -0
  1744. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  1745. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1746. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  1747. package/node_modules/zod/v4/locales/tr.js +105 -0
  1748. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  1749. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  1750. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1751. package/node_modules/zod/v4/locales/ua.js +5 -0
  1752. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  1753. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1754. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1755. package/node_modules/zod/v4/locales/uk.js +108 -0
  1756. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  1757. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1758. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1759. package/node_modules/zod/v4/locales/ur.js +110 -0
  1760. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  1761. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1762. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1763. package/node_modules/zod/v4/locales/uz.js +110 -0
  1764. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  1765. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1766. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1767. package/node_modules/zod/v4/locales/vi.js +108 -0
  1768. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  1769. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1770. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1771. package/node_modules/zod/v4/locales/yo.js +107 -0
  1772. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  1773. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1774. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1775. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  1776. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  1777. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1778. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1779. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  1780. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  1781. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1782. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1783. package/node_modules/zod/v4/mini/checks.js +1 -0
  1784. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  1785. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1786. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1787. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1788. package/node_modules/zod/v4/mini/external.cjs +63 -0
  1789. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  1790. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  1791. package/node_modules/zod/v4/mini/external.js +14 -0
  1792. package/node_modules/zod/v4/mini/index.cjs +32 -0
  1793. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1794. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1795. package/node_modules/zod/v4/mini/index.js +3 -0
  1796. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  1797. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1798. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1799. package/node_modules/zod/v4/mini/iso.js +34 -0
  1800. package/node_modules/zod/v4/mini/package.json +7 -0
  1801. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  1802. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1803. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1804. package/node_modules/zod/v4/mini/parse.js +1 -0
  1805. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  1806. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  1807. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  1808. package/node_modules/zod/v4/mini/schemas.js +961 -0
  1809. package/node_modules/zod/v4/package.json +7 -0
  1810. package/node_modules/zod/v4-mini/index.cjs +32 -0
  1811. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1812. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1813. package/node_modules/zod/v4-mini/index.js +3 -0
  1814. package/node_modules/zod/v4-mini/package.json +7 -0
  1815. package/package.json +57 -0
@@ -0,0 +1,296 @@
1
+ /**
2
+ * The one document an agent may return, and the one document `start` /
3
+ * `discover --import` / `propose --import` will act on. Strict throughout: an
4
+ * unknown key is a rejection, not a field we ignore.
5
+ *
6
+ * Only fields the code below actually CONSUMES appear here. There is no
7
+ * "notes", no "confidence", no free-form extension point — anything the agent
8
+ * wants to say that does not map onto a record we write is not part of the
9
+ * contract between us.
10
+ *
11
+ * Two of these fields are explicitly ADVISORY and are labelled as such wherever
12
+ * they are shown: `assumptions` and `possibleConflicts`. Deterministic code can
13
+ * check that a proposal is complete, internally consistent, in-scope, and bound
14
+ * to a current snapshot. It cannot check whether the agent's semantic reading
15
+ * of the app is correct — so it never claims to. That judgement is the owner's,
16
+ * which is exactly why Start previews everything and writes nothing first.
17
+ *
18
+ * Every answer names its own PROTOCOL in a single `format` literal —
19
+ * `prismatica/start@1`, `prismatica/discover@1`, `prismatica/propose@1`. One
20
+ * literal does both jobs a version field and a kind field used to do
21
+ * separately: a document written against a future protocol is refused by the
22
+ * ordinary strict parse rather than half-understood, and a discovery answer
23
+ * cannot be imported where a plan belongs. The JSON Schema `context …` hands
24
+ * the agent is DERIVED from these very schemas, so what Prismatica asks for and
25
+ * what it accepts cannot drift.
26
+ */
27
+ import { z } from 'zod';
28
+ import { RECORD_ID_PATTERN } from '../ids.js';
29
+ import { BUILDER_NAME_PATTERN, FlowMechanicsSchema, FlowPresentationSchema, FlowStatusSchema, FlowTruthSchema, } from '../records/types.js';
30
+ import { PlanningSnapshotSchema } from './snapshot.js';
31
+ /**
32
+ * An id proposed by an AGENT. Every record id becomes a filename under
33
+ * `.prismatica/`, so this is the point where an unconstrained string would
34
+ * become a path — `../../../src/pwned` is a valid `z.string().min(1)` and is
35
+ * not a valid record id. Constrained HERE, on untrusted output, and never on
36
+ * the record schemas in `records/types.ts`, which must keep parsing every
37
+ * record already written. `atlas/store.ts` independently enforces resolved-path
38
+ * containment at the write boundary, so neither layer is load-bearing alone.
39
+ *
40
+ * `z.toJSONSchema` carries `.regex()` through as `pattern`, so the schema the
41
+ * agent is HANDED states this rule too — ask and accept still cannot drift.
42
+ */
43
+ const ProposedRecordIdSchema = z.string().min(1).max(100).regex(RECORD_ID_PATTERN);
44
+ /**
45
+ * The three hand-off protocols. Each is a single LITERAL carried in the
46
+ * document's `format` field, and each names exactly one importing command:
47
+ *
48
+ * - `prismatica/start@1` → `prismatica start --import`
49
+ * - `prismatica/discover@1` → `prismatica discover --import` (→ main)
50
+ * - `prismatica/propose@1` → `prismatica propose --import` (→ the lane)
51
+ *
52
+ * The `@1` is the version. It is bumped only when an existing field changes
53
+ * MEANING — a purely additive field does not need it, because every object here
54
+ * is strict and an older agent simply omits the new key. A document claiming
55
+ * `@2` is refused by the same parse that refuses a misspelled field, which is
56
+ * the point: "I do not understand this format" must fail closed.
57
+ *
58
+ * The last two share one object shape and differ only in that literal. That is
59
+ * deliberate: it is the same reading of the app either way, and the ONLY thing
60
+ * that separates them is where the records land — so the document has to state
61
+ * which command it was written for, and the command refuses anything else. It
62
+ * still does not CHOOSE its destination; the destination is fixed by the
63
+ * command, and a mismatched literal is a mis-paste caught at the boundary
64
+ * instead of proposals silently landing on the wrong branch.
65
+ */
66
+ export const START_FORMAT = 'prismatica/start@1';
67
+ export const DISCOVER_FORMAT = 'prismatica/discover@1';
68
+ export const PROPOSE_FORMAT = 'prismatica/propose@1';
69
+ export const HANDOFF_FORMATS = [START_FORMAT, DISCOVER_FORMAT, PROPOSE_FORMAT];
70
+ export const PROPOSAL_KINDS = ['existing-flow', 'new-flow', 'technical'];
71
+ export const ProposalKindSchema = z.enum(PROPOSAL_KINDS);
72
+ /** The delta body for an existing Flow — the same fields `delta new` takes. */
73
+ export const ProposedDeltaSchema = z.strictObject({
74
+ step: z.number().int().min(1).optional(),
75
+ today: z.string().min(1),
76
+ instead: z.string().min(1),
77
+ keep: z.array(z.string().min(1)).default([]),
78
+ assumptions: z.array(z.string().min(1)).default([]),
79
+ showMe: z.string().min(1),
80
+ });
81
+ /**
82
+ * A genuinely new Flow, expressed as the EXISTING flow-proposal material —
83
+ * truth, mechanics, optional presentation — so `start` can hand it straight to
84
+ * the machinery `discover` already feeds. `status` is constrained to `planned`:
85
+ * a flow nobody has built yet is planned by definition, and nothing in this
86
+ * path may mark something `works`.
87
+ */
88
+ export const ProposedPlannedFlowSchema = z.strictObject({
89
+ id: ProposedRecordIdSchema,
90
+ status: z.literal('planned'),
91
+ presentation: FlowPresentationSchema.optional(),
92
+ truth: FlowTruthSchema,
93
+ mechanics: FlowMechanicsSchema.default({
94
+ touchpoints: [],
95
+ routes: [],
96
+ components: [],
97
+ entities: [],
98
+ tests: [],
99
+ }),
100
+ });
101
+ export const ProposedAcceptanceCheckSchema = z.strictObject({
102
+ description: z.string().min(1),
103
+ /** A test file/id the check engine can trace, or `manual:OWNER`. */
104
+ test: z.string().min(1),
105
+ });
106
+ export const ProposedRiskSchema = z.strictObject({
107
+ touchesAuth: z.boolean(),
108
+ touchesPayments: z.boolean(),
109
+ touchesSavedData: z.boolean(),
110
+ copyOnly: z.boolean(),
111
+ rationale: z.string().min(1),
112
+ });
113
+ export const StartProposalSchema = z.strictObject({
114
+ format: z.literal(START_FORMAT),
115
+ /**
116
+ * The FINAL clarified request, in the owner's own words, as the planning
117
+ * conversation settled it.
118
+ *
119
+ * It lives in the document rather than on the command line because that is
120
+ * where the clarifying happened. `prismatica start` takes no positional
121
+ * request: repeating the original one-line description on import would record
122
+ * the words the owner opened with instead of the ones they agreed, and asking
123
+ * the owner to retype the agreed wording invites a third version of it. There
124
+ * is likewise no `questions` field any more — an unresolved question is
125
+ * resolved in the conversation, not by Prismatica re-asking at import time.
126
+ */
127
+ request: z.string().min(1),
128
+ /**
129
+ * Which agent will BUILD this. Explicitly resolved during planning and never
130
+ * inferred: whoever planned the change is not thereby its builder.
131
+ *
132
+ * Constrained by `BUILDER_NAME_PATTERN` for the same reason
133
+ * `ProposedRecordIdSchema` is constrained — the value is interpolated into
134
+ * copy-ready `prismatica open <builder> <id>` commands and rides a contract
135
+ * onto a pull request, and a bare identifier is the only shape that cannot
136
+ * carry shell syntax into a paste.
137
+ */
138
+ builder: z.string().regex(BUILDER_NAME_PATTERN),
139
+ /**
140
+ * The complete reading the plan was made against, echoed back verbatim.
141
+ *
142
+ * It is a STALENESS DETECTOR and nothing else. The import parses it
143
+ * structurally and recomputes its id from its own contents, which proves the
144
+ * echo is a real snapshot rather than a copied string; it then compares it
145
+ * with a reading taken FRESH, and the only thing that comparison produces is
146
+ * drift REASONS shown to the owner. Every decision input — which Flows exist,
147
+ * which ids are taken, the tier rules, the default tier — comes from the
148
+ * fresh reading. See `validateStartProposal`, which takes that snapshot as a
149
+ * parameter and never touches this field.
150
+ */
151
+ snapshot: PlanningSnapshotSchema,
152
+ summary: z.string().min(1),
153
+ rationale: z.string().min(1),
154
+ kind: ProposalKindSchema,
155
+ /** Required for `existing-flow`; forbidden otherwise (checked in validate.ts). */
156
+ flowId: ProposedRecordIdSchema.optional(),
157
+ currentBehaviour: z.string().min(1),
158
+ desiredBehaviour: z.string().min(1),
159
+ mustNotChange: z.array(z.string().min(1)).default([]),
160
+ // ── Advisory only. Never used to widen scope or lower a tier. ──
161
+ assumptions: z.array(z.string().min(1)).default([]),
162
+ possibleConflicts: z.array(z.string().min(1)).default([]),
163
+ scope: z.strictObject({
164
+ allow: z.array(z.string().min(1)).min(1),
165
+ forbid: z.array(z.string().min(1)).default([]),
166
+ }),
167
+ exclusions: z.array(z.string().min(1)).default([]),
168
+ // `IntentSchema.checks` accepts 2–4, so two is the honest minimum here.
169
+ acceptance: z.array(ProposedAcceptanceCheckSchema).min(2),
170
+ risk: ProposedRiskSchema,
171
+ // There is deliberately no `issue` field. The GitHub issue is assembled by
172
+ // `start` from the fields above, so the text filed on a real repository under
173
+ // the owner's name is derived from the plan they just read — never a second,
174
+ // unvalidated description of the change that could quietly disagree with it.
175
+ delta: ProposedDeltaSchema.optional(),
176
+ plannedFlow: ProposedPlannedFlowSchema.optional(),
177
+ /**
178
+ * Rules the owner WANTS to hold once this is built. They stay contract
179
+ * constraints (non-goals and acceptance text) until the work exists and
180
+ * rediscovery finds them — a desired rule is never written as canonical truth.
181
+ */
182
+ desiredRules: z.array(z.string().min(1)).default([]),
183
+ /**
184
+ * Documentation the change must actually update, copied onto the contract's
185
+ * `docsDelta` so the check engine can require the files to have changed. The
186
+ * plan is where this belongs: whoever decided the change also knows which
187
+ * docs go stale if it lands, and a contract framed without it silently drops
188
+ * that requirement.
189
+ */
190
+ docsDelta: z.array(z.string().min(1)).default([]),
191
+ });
192
+ // ── The proposals answer (discovery, rediscovery, and in-lane proposing) ─────
193
+ /**
194
+ * Discovery returns proposals against a snapshot it must echo back. A
195
+ * recognised `id` is an UPDATE to that flow, never a duplicate draft — which
196
+ * is why the agent states `proposalType` and we cross-check it against what
197
+ * actually exists rather than trusting the label.
198
+ */
199
+ export const ProposedFlowSchema = z.strictObject({
200
+ id: ProposedRecordIdSchema,
201
+ proposalType: z.enum(['draft', 'update']),
202
+ reason: z.string().min(1),
203
+ status: FlowStatusSchema,
204
+ presentation: FlowPresentationSchema.optional(),
205
+ truth: FlowTruthSchema,
206
+ mechanics: FlowMechanicsSchema.default({
207
+ touchpoints: [],
208
+ routes: [],
209
+ components: [],
210
+ entities: [],
211
+ tests: [],
212
+ }),
213
+ });
214
+ export const ProposedRuleSchema = z.strictObject({
215
+ id: ProposedRecordIdSchema,
216
+ proposalType: z.enum(['draft', 'update']),
217
+ reason: z.string().min(1),
218
+ text: z.string().min(1),
219
+ });
220
+ /**
221
+ * Everything a proposals answer carries apart from the `format` literal that
222
+ * says which command it was written for. Spelled once and used twice, so the
223
+ * two protocols cannot drift into being two different documents.
224
+ */
225
+ const proposalsAnswerFields = {
226
+ /**
227
+ * The complete reading the answer was made against, echoed back verbatim.
228
+ * Parsed structurally and id-recomputed exactly as `start`'s is, and used for
229
+ * exactly the same one thing: drift REASONS. It supplies no decision input.
230
+ */
231
+ snapshot: PlanningSnapshotSchema,
232
+ /**
233
+ * The exact commit the agent read. THIS is the hard binding, and it is
234
+ * deliberately the commit rather than the whole snapshot id.
235
+ *
236
+ * A Flow describes committed behaviour, and canonical Flows and `rules.md`
237
+ * are themselves committed records (Model B requires it), so `head` covers
238
+ * everything an answer here reconciles against. The snapshot id also digests
239
+ * the UNCOMMITTED tree and the pending-proposal set — and these commands
240
+ * WRITE proposals, so gating on it would mean every import invalidated its
241
+ * own answer: a run that failed on item three of five could never be retried,
242
+ * which is precisely the recovery `planProposals` exists to make safe. The
243
+ * echoed snapshot is still checked; a difference it finds is reported to the
244
+ * owner rather than refusing work that is safe to finish.
245
+ */
246
+ head: z.string().min(1),
247
+ summary: z.string().min(1),
248
+ flows: z.array(ProposedFlowSchema).default([]),
249
+ rules: z.array(ProposedRuleSchema).default([]),
250
+ /**
251
+ * Flows in the snapshot the agent did NOT find in the code. Purely an owner
252
+ * review warning: absence is never deletion, never dismissal. Nothing in
253
+ * this list causes a write, and nothing about it can fail a run — it is
254
+ * ADVISORY, and the one honest reading of "I could not find this" is that
255
+ * the agent could not find it, not that it is gone.
256
+ */
257
+ notFound: z.array(z.strictObject({ id: ProposedRecordIdSchema, why: z.string().min(1) })).default([]),
258
+ };
259
+ /** The map of the app. `discover --import` materialises it on MAIN. */
260
+ export const DiscoverAnswerSchema = z.strictObject({
261
+ format: z.literal(DISCOVER_FORMAT),
262
+ ...proposalsAnswerFields,
263
+ });
264
+ /** A proposal made while building. `propose --import` materialises it in the LANE. */
265
+ export const ProposeAnswerSchema = z.strictObject({
266
+ format: z.literal(PROPOSE_FORMAT),
267
+ ...proposalsAnswerFields,
268
+ });
269
+ // ── JSON Schema handed to the agent ──────────────────────────────────────────
270
+ /**
271
+ * Derived from the IMPORTER's own zod schemas, so the shape `context …` asks
272
+ * for and the shape `--import` accepts cannot drift apart. This is the whole
273
+ * reason the export lives next to the schema rather than in a hand-written
274
+ * prompt: a second, prose description of the same document is a copy that goes
275
+ * stale the week after it is written.
276
+ *
277
+ * It is a convenience for the agent, never a trust boundary. Every imported
278
+ * document is re-parsed against the zod schema locally, and that local parse
279
+ * is the only thing that decides.
280
+ */
281
+ export function startAnswerJsonSchema() {
282
+ return z.toJSONSchema(StartProposalSchema, { io: 'input', unrepresentable: 'any' });
283
+ }
284
+ /**
285
+ * Both proposals protocols, so an agent can see that they differ in one literal
286
+ * and nothing else — and pick the one matching the command the owner will run.
287
+ */
288
+ export function proposalsAnswerJsonSchema() {
289
+ return {
290
+ oneOf: [
291
+ z.toJSONSchema(DiscoverAnswerSchema, { io: 'input', unrepresentable: 'any' }),
292
+ z.toJSONSchema(ProposeAnswerSchema, { io: 'input', unrepresentable: 'any' }),
293
+ ],
294
+ };
295
+ }
296
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/planning/schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAEvD;;;;;;;;;;;GAWG;AACH,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,oBAAoB,CAAC;AACjD,MAAM,CAAC,MAAM,eAAe,GAAG,uBAAuB,CAAC;AACvD,MAAM,CAAC,MAAM,cAAc,GAAG,sBAAsB,CAAC;AAErD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,YAAY,EAAE,eAAe,EAAE,cAAc,CAAU,CAAC;AAGxF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,eAAe,EAAE,UAAU,EAAE,WAAW,CAAU,CAAC;AAClF,MAAM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C,oBAAoB,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;YAC7E,CAAC,CAAC,YAAY,CAAC,mBAAmB,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC;SAC7E;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,308 @@
1
+ /**
2
+ * The read-only picture of the repository that a planning request is bound to.
3
+ *
4
+ * A snapshot exists for one reason: an agent's answer is only meaningful about
5
+ * the tree it actually read. By hashing everything the agent was told, handing
6
+ * it the hash, requiring it back verbatim, and re-taking the snapshot before we
7
+ * write anything, "the repository moved under this plan" becomes a detectable
8
+ * fact instead of a hope. That is the whole mechanism — there is no attempt to
9
+ * lock the repo, and nothing here writes.
10
+ */
11
+ import { createHash } from 'node:crypto';
12
+ import fs from 'node:fs';
13
+ import path from 'node:path';
14
+ import { z } from 'zod';
15
+ import { listOpenChanges } from '../change.js';
16
+ import { loadConfig } from '../config.js';
17
+ import * as git from '../git.js';
18
+ import { flowTitle } from '../atlas/presentation.js';
19
+ import { computeRulesHash, computeTruthHash, listFlowProposals, listFlows, listRuleProposals, readRulesFile, } from '../atlas/store.js';
20
+ import { readContract, stableStringify } from '../records/store.js';
21
+ import { ModeSchema, RiskTierSchema, TierRuleSchema } from '../records/types.js';
22
+ /**
23
+ * The snapshot as it travels back INSIDE an answer document.
24
+ *
25
+ * The hand-off carries the whole reading the agent was given, not merely its
26
+ * id, so an import can check the echo is a real snapshot rather than a string
27
+ * the agent made up: parse it structurally, then recompute its id from its own
28
+ * contents (`verifyHandoffSnapshot`) and compare with what it claims.
29
+ *
30
+ * IT IS NEVER A DECISION INPUT. Everything that decides anything — which Flows
31
+ * exist, which ids are taken, the tier rules, the default tier — is read from a
32
+ * snapshot taken FRESH at import time. `validateStartProposal` still takes a
33
+ * `PlanningSnapshot` parameter for exactly that reason, and it never reads the
34
+ * embedded one: the only thing the echo produces is drift REASONS, via
35
+ * `compareSnapshots`. Keeping those two jobs in separate functions is what
36
+ * stops an embedded snapshot becoming an authority by accident.
37
+ */
38
+ export const PlanningSnapshotSchema = z.strictObject({
39
+ snapshotId: z.string().min(1),
40
+ takenAt: z.string().min(1),
41
+ repoRoot: z.string(),
42
+ appName: z.string(),
43
+ mode: ModeSchema,
44
+ head: z.string().min(1),
45
+ workingTree: z.array(z.strictObject({ path: z.string(), hash: z.string() })),
46
+ branch: z.string().nullable(),
47
+ flows: z.array(z.strictObject({
48
+ id: z.string(),
49
+ title: z.string(),
50
+ goal: z.string(),
51
+ status: z.string(),
52
+ truthHash: z.string(),
53
+ mechanicsHash: z.string(),
54
+ touchpoints: z.array(z.string()),
55
+ })),
56
+ rulesHash: z.string().nullable(),
57
+ rules: z.array(z.strictObject({ id: z.string(), text: z.string() })),
58
+ pending: z.array(z.strictObject({
59
+ id: z.string(),
60
+ kind: z.enum(['flow', 'rule']),
61
+ proposalType: z.enum(['draft', 'update']),
62
+ reason: z.string(),
63
+ contentHash: z.string(),
64
+ })),
65
+ openChanges: z.array(z.strictObject({ id: z.string(), title: z.string(), stage: z.string() })),
66
+ capabilities: z.array(z.string()),
67
+ tierRules: z.array(TierRuleSchema),
68
+ defaultTier: RiskTierSchema,
69
+ problems: z.array(z.string()),
70
+ });
71
+ /**
72
+ * Is this echoed snapshot internally consistent — does its id really digest its
73
+ * own contents? A `null` return means yes; a string is the reason it does not.
74
+ *
75
+ * This proves the echo was not assembled by hand, and nothing more. It says
76
+ * nothing about whether the tree still looks like that, which is
77
+ * `compareSnapshots`'s question and is answered against a FRESH reading.
78
+ *
79
+ * The digest deliberately covers less than the whole record (see
80
+ * `computeSnapshotId`) — but it covers exactly the fields `compareSnapshots`
81
+ * goes on to read: `head`, `workingTree`, `rulesHash`, the per-flow hashes and
82
+ * the pending set. So every field an echoed snapshot is USED for is one this
83
+ * check protects, and the descriptive remainder (`appName`, `takenAt`,
84
+ * `capabilities`, the tier rules) is read by nothing and decides nothing.
85
+ */
86
+ export function verifyHandoffSnapshot(snapshot) {
87
+ const recomputed = computeSnapshotId(snapshot);
88
+ return recomputed === snapshot.snapshotId
89
+ ? null
90
+ : `it claims snapshot "${snapshot.snapshotId}" but its own contents digest to "${recomputed}" — export a fresh context rather than editing one`;
91
+ }
92
+ /**
93
+ * The snapshot id covers everything the agent is told AND everything a later
94
+ * write depends on: HEAD, every flow's truth hash, the rules hash, and the
95
+ * pending set. `takenAt` is deliberately excluded — two snapshots of an
96
+ * unchanged repo must produce the same id, or "did anything move?" would
97
+ * always answer yes.
98
+ */
99
+ export function computeSnapshotId(snapshot) {
100
+ return createHash('sha256')
101
+ .update(stableStringify({
102
+ head: snapshot.head,
103
+ workingTree: snapshot.workingTree,
104
+ flows: snapshot.flows.map((flow) => ({
105
+ id: flow.id,
106
+ truthHash: flow.truthHash,
107
+ mechanicsHash: flow.mechanicsHash,
108
+ status: flow.status,
109
+ })),
110
+ rulesHash: snapshot.rulesHash,
111
+ // Content, not just identity: a pending proposal REWRITTEN in place
112
+ // keeps its id and type, and is exactly the drift worth catching.
113
+ pending: snapshot.pending.map((item) => ({
114
+ id: item.id,
115
+ kind: item.kind,
116
+ proposalType: item.proposalType,
117
+ contentHash: item.contentHash,
118
+ })),
119
+ }))
120
+ .digest('hex');
121
+ }
122
+ function hashOf(content) {
123
+ return createHash('sha256').update(content).digest('hex');
124
+ }
125
+ /**
126
+ * `path → sha256(content)` for every uncommitted path. Pure read: nothing here
127
+ * stages, stashes, or touches the tree.
128
+ *
129
+ * `dirtyEntries` (not `dirtyPaths`) is the source, for two reasons that are
130
+ * both correctness, not taste. It runs `--untracked-files=all`, so a brand-new
131
+ * untracked DIRECTORY is enumerated as its individual files rather than
132
+ * collapsing to one directory entry whose contents would then be invisible —
133
+ * an edit inside a new directory has to move the snapshot id. And it keeps the
134
+ * porcelain change type, so a DELETED path is recorded as deleted rather than
135
+ * being indistinguishable from a file we merely failed to read.
136
+ *
137
+ * Content is hashed as raw BYTES. Reading as UTF-8 would mangle a binary into
138
+ * the replacement character and let genuinely different files hash alike.
139
+ *
140
+ * A path that still cannot be read (a permission error, a race against an
141
+ * external write) is recorded with the `unreadable` marker instead of dropped:
142
+ * silently omitting it would make an unreadable file look like an unchanged
143
+ * one, which is the one direction this must never be wrong in. `discover
144
+ * --refresh` rechecks this snapshot and then writes proposals directly, so it
145
+ * is a real binding on the working tree, not merely a planning-window courtesy.
146
+ */
147
+ async function hashWorkingTree(repoRoot) {
148
+ const entries = await git.dirtyEntries(repoRoot);
149
+ return entries
150
+ .map((entry) => {
151
+ if (entry.change === 'deleted') {
152
+ return { path: entry.path, hash: 'deleted' };
153
+ }
154
+ try {
155
+ const file = path.join(repoRoot, entry.path);
156
+ return { path: entry.path, hash: hashOf(fs.readFileSync(file)) };
157
+ }
158
+ catch {
159
+ return { path: entry.path, hash: 'unreadable' };
160
+ }
161
+ })
162
+ .sort((a, b) => a.path.localeCompare(b.path));
163
+ }
164
+ export async function takeSnapshot(cwd, now = new Date()) {
165
+ const repoRoot = await git.mainRepoRoot(cwd);
166
+ const config = loadConfig(repoRoot);
167
+ const head = (await git.hasCommits(repoRoot)) ? await git.revParse(repoRoot, 'HEAD') : 'no-commits';
168
+ const workingTree = await hashWorkingTree(repoRoot);
169
+ const branch = await git.currentBranch(repoRoot);
170
+ const { flows, problems: flowProblems } = listFlows(repoRoot);
171
+ const { proposals: flowProposals, problems: flowProposalProblems } = listFlowProposals(repoRoot);
172
+ const { proposals: ruleProposals, problems: ruleProposalProblems } = listRuleProposals(repoRoot);
173
+ const rulesFile = readRulesFile(repoRoot).data;
174
+ // Each open change's records live in its own lane (Model B), so the contract
175
+ // is read from that lane's home, never from main's.
176
+ const openChanges = (await listOpenChanges(repoRoot)).map((change) => {
177
+ try {
178
+ const contract = readContract(change.home, change.id).data;
179
+ return { id: change.id, title: contract.title, stage: contract.stage };
180
+ }
181
+ catch {
182
+ return { id: change.id, title: change.id, stage: 'unreadable' };
183
+ }
184
+ });
185
+ const capabilities = Object.entries(config.checks)
186
+ .filter(([, toggle]) => toggle.enabled)
187
+ .map(([name]) => name);
188
+ const base = {
189
+ repoRoot,
190
+ appName: config.app.name,
191
+ mode: config.mode,
192
+ head,
193
+ workingTree,
194
+ branch,
195
+ flows: flows
196
+ .map((flow) => ({
197
+ id: flow.id,
198
+ title: flowTitle(flow.id, flow.presentation),
199
+ goal: flow.truth.goal,
200
+ status: flow.status,
201
+ // Recomputed, not read from `approval.hash`: this must describe the
202
+ // truth on disk right now, including truth that was tampered with.
203
+ truthHash: computeTruthHash(flow.truth),
204
+ mechanicsHash: hashOf(stableStringify(flow.mechanics)),
205
+ touchpoints: flow.mechanics.touchpoints,
206
+ }))
207
+ .sort((a, b) => a.id.localeCompare(b.id)),
208
+ rulesHash: rulesFile ? computeRulesHash(rulesFile.rules) : null,
209
+ rules: (rulesFile?.rules ?? []).map((rule) => ({ id: rule.id, text: rule.text })),
210
+ pending: [
211
+ ...flowProposals.map((proposal) => ({
212
+ id: proposal.id,
213
+ kind: 'flow',
214
+ proposalType: proposal.proposalType,
215
+ reason: proposal.reason,
216
+ contentHash: hashOf(stableStringify(proposal)),
217
+ })),
218
+ ...ruleProposals.map((proposal) => ({
219
+ id: proposal.id,
220
+ kind: 'rule',
221
+ proposalType: proposal.proposalType,
222
+ reason: proposal.reason,
223
+ contentHash: hashOf(stableStringify(proposal)),
224
+ })),
225
+ ].sort((a, b) => `${a.kind}:${a.id}`.localeCompare(`${b.kind}:${b.id}`)),
226
+ openChanges,
227
+ capabilities,
228
+ tierRules: config.tierRules,
229
+ defaultTier: config.defaultTier,
230
+ problems: [...flowProblems, ...flowProposalProblems, ...ruleProposalProblems].map((problem) => `${problem.kind} ${problem.id}: ${problem.error}`),
231
+ };
232
+ return { ...base, snapshotId: computeSnapshotId(base), takenAt: now.toISOString() };
233
+ }
234
+ /**
235
+ * Compares a snapshot against one taken now. Called immediately before any
236
+ * durable write and again before an approval is applied — the two moments where
237
+ * acting on a stale reading would actually cause harm.
238
+ */
239
+ export function compareSnapshots(before, now) {
240
+ const reasons = [];
241
+ if (before.head !== now.head) {
242
+ reasons.push(`the repository moved from ${before.head.slice(0, 8)} to ${now.head.slice(0, 8)}`);
243
+ }
244
+ if (before.rulesHash !== now.rulesHash) {
245
+ reasons.push('the app rules changed');
246
+ }
247
+ // The uncommitted tree is part of what the agent read, so it is part of what
248
+ // the plan is bound to. Named individually up to a point, then counted —
249
+ // a hundred reasons is not more honest than "97 more".
250
+ const beforeTree = new Map(before.workingTree.map((entry) => [entry.path, entry.hash]));
251
+ const nowTree = new Map(now.workingTree.map((entry) => [entry.path, entry.hash]));
252
+ const treeChanges = [];
253
+ for (const [file, hash] of nowTree) {
254
+ const previous = beforeTree.get(file);
255
+ if (previous === undefined) {
256
+ treeChanges.push(`"${file}" was edited`);
257
+ }
258
+ else if (previous !== hash) {
259
+ treeChanges.push(`"${file}" changed`);
260
+ }
261
+ }
262
+ for (const file of beforeTree.keys()) {
263
+ if (!nowTree.has(file)) {
264
+ treeChanges.push(`"${file}" was committed or reverted`);
265
+ }
266
+ }
267
+ if (treeChanges.length > 0) {
268
+ const shown = treeChanges.slice(0, 3);
269
+ const extra = treeChanges.length - shown.length;
270
+ reasons.push(`uncommitted work moved (${shown.join('; ')}${extra > 0 ? `; and ${extra} more` : ''})`);
271
+ }
272
+ const beforeFlows = new Map(before.flows.map((flow) => [flow.id, `${flow.truthHash}:${flow.mechanicsHash}`]));
273
+ const nowFlows = new Map(now.flows.map((flow) => [flow.id, `${flow.truthHash}:${flow.mechanicsHash}`]));
274
+ for (const [id, hash] of nowFlows) {
275
+ const previous = beforeFlows.get(id);
276
+ if (previous === undefined) {
277
+ reasons.push(`Flow "${id}" was added`);
278
+ }
279
+ else if (previous !== hash) {
280
+ reasons.push(`Flow "${id}" changed`);
281
+ }
282
+ }
283
+ for (const id of beforeFlows.keys()) {
284
+ if (!nowFlows.has(id)) {
285
+ reasons.push(`Flow "${id}" is gone`);
286
+ }
287
+ }
288
+ const beforePending = new Map(before.pending.map((item) => [`${item.kind}:${item.id}`, item.contentHash]));
289
+ const nowPending = new Map(now.pending.map((item) => [`${item.kind}:${item.id}`, item.contentHash]));
290
+ for (const [key, hash] of nowPending) {
291
+ const previous = beforePending.get(key);
292
+ if (previous === undefined) {
293
+ reasons.push(`a new pending proposal appeared (${key})`);
294
+ }
295
+ else if (previous !== hash) {
296
+ // The id and type are unchanged but the CONTENT is not — the case a
297
+ // set-membership check could never see.
298
+ reasons.push(`a pending proposal was rewritten (${key})`);
299
+ }
300
+ }
301
+ for (const key of beforePending.keys()) {
302
+ if (!nowPending.has(key)) {
303
+ reasons.push(`a pending proposal was resolved (${key})`);
304
+ }
305
+ }
306
+ return { moved: reasons.length > 0 || before.snapshotId !== now.snapshotId, reasons };
307
+ }
308
+ //# sourceMappingURL=snapshot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../src/planning/snapshot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,GAAG,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAoEj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