@justjoshn/pi-pstack-v2 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1926) hide show
  1. package/README.md +7 -1
  2. package/docs/guide/01-setup.md +3 -3
  3. package/docs/pi-mechanisms.md +19 -19
  4. package/package.json +3 -2
  5. package/skills/arena/SKILL.md +5 -5
  6. package/skills/automate-me/SKILL.md +2 -2
  7. package/skills/figure-it-out/SKILL.md +1 -1
  8. package/skills/how/SKILL.md +2 -2
  9. package/skills/interrogate/SKILL.md +2 -2
  10. package/skills/maintain-verification-skill/SKILL.md +1 -1
  11. package/skills/no-comments/SKILL.md +1 -1
  12. package/skills/poteto-help/SKILL.md +3 -3
  13. package/skills/poteto-mode/SKILL.md +8 -8
  14. package/skills/poteto-mode/playbooks/autopilot-full.md +5 -5
  15. package/skills/poteto-mode/playbooks/bug-fix.md +1 -1
  16. package/skills/poteto-mode/playbooks/eval.md +3 -3
  17. package/skills/poteto-mode/playbooks/feature.md +2 -2
  18. package/skills/poteto-mode/playbooks/hillclimb.md +1 -1
  19. package/skills/poteto-mode/playbooks/opening-a-pr.md +1 -1
  20. package/skills/poteto-mode/playbooks/perf-issue.md +1 -1
  21. package/skills/poteto-mode/playbooks/refactoring.md +1 -1
  22. package/skills/poteto-mode/playbooks/shipping.md +1 -1
  23. package/skills/poteto-mode/playbooks/worktree-cleanup.md +1 -1
  24. package/skills/poteto-mode/worker.md +1 -1
  25. package/skills/recall/SKILL.md +3 -3
  26. package/skills/review-and-ship/SKILL.md +1 -1
  27. package/skills/setup-pstack/SKILL.md +2 -2
  28. package/skills/show-me-your-work/SKILL.md +2 -2
  29. package/skills/swarm/SKILL.md +4 -4
  30. package/skills/workflow-from-chats/SKILL.md +1 -1
  31. package/src/gondolin/index.ts +9 -2
  32. package/src/gondolin/vm.ts +5 -2
  33. package/src/subagent/agents/poteto-agent.md +1 -1
  34. package/src/subagent/agents/worker.md +5 -0
  35. package/src/subagent/dispatch.ts +2 -2
  36. package/src/subagent/index.ts +33 -2
  37. package/src/subagent/render-call.ts +4 -2
  38. package/src/subagent/run-single.ts +9 -7
  39. package/src/subagent/schema.ts +28 -2
  40. package/src/subagent/types.ts +7 -0
  41. package/src/subagent/wake-jobs.ts +69 -0
  42. package/skills/poteto-mode/scripts/node_modules/@types/node/LICENSE +0 -21
  43. package/skills/poteto-mode/scripts/node_modules/@types/node/README.md +0 -15
  44. package/skills/poteto-mode/scripts/node_modules/@types/node/assert/strict.d.ts +0 -68
  45. package/skills/poteto-mode/scripts/node_modules/@types/node/assert.d.ts +0 -1077
  46. package/skills/poteto-mode/scripts/node_modules/@types/node/async_hooks.d.ts +0 -711
  47. package/skills/poteto-mode/scripts/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  48. package/skills/poteto-mode/scripts/node_modules/@types/node/buffer.d.ts +0 -1799
  49. package/skills/poteto-mode/scripts/node_modules/@types/node/child_process.d.ts +0 -1362
  50. package/skills/poteto-mode/scripts/node_modules/@types/node/cluster.d.ts +0 -432
  51. package/skills/poteto-mode/scripts/node_modules/@types/node/console.d.ts +0 -93
  52. package/skills/poteto-mode/scripts/node_modules/@types/node/constants.d.ts +0 -14
  53. package/skills/poteto-mode/scripts/node_modules/@types/node/crypto.d.ts +0 -3954
  54. package/skills/poteto-mode/scripts/node_modules/@types/node/dgram.d.ts +0 -537
  55. package/skills/poteto-mode/scripts/node_modules/@types/node/diagnostics_channel.d.ts +0 -794
  56. package/skills/poteto-mode/scripts/node_modules/@types/node/dns/promises.d.ts +0 -497
  57. package/skills/poteto-mode/scripts/node_modules/@types/node/dns.d.ts +0 -876
  58. package/skills/poteto-mode/scripts/node_modules/@types/node/domain.d.ts +0 -150
  59. package/skills/poteto-mode/scripts/node_modules/@types/node/events.d.ts +0 -1008
  60. package/skills/poteto-mode/scripts/node_modules/@types/node/ffi.d.ts +0 -486
  61. package/skills/poteto-mode/scripts/node_modules/@types/node/fs/promises.d.ts +0 -1481
  62. package/skills/poteto-mode/scripts/node_modules/@types/node/fs.d.ts +0 -4786
  63. package/skills/poteto-mode/scripts/node_modules/@types/node/globals.d.ts +0 -150
  64. package/skills/poteto-mode/scripts/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  65. package/skills/poteto-mode/scripts/node_modules/@types/node/http.d.ts +0 -2172
  66. package/skills/poteto-mode/scripts/node_modules/@types/node/http2.d.ts +0 -2489
  67. package/skills/poteto-mode/scripts/node_modules/@types/node/https.d.ts +0 -400
  68. package/skills/poteto-mode/scripts/node_modules/@types/node/index.d.ts +0 -115
  69. package/skills/poteto-mode/scripts/node_modules/@types/node/inspector/promises.d.ts +0 -35
  70. package/skills/poteto-mode/scripts/node_modules/@types/node/inspector.d.ts +0 -264
  71. package/skills/poteto-mode/scripts/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  72. package/skills/poteto-mode/scripts/node_modules/@types/node/module.d.ts +0 -726
  73. package/skills/poteto-mode/scripts/node_modules/@types/node/net.d.ts +0 -970
  74. package/skills/poteto-mode/scripts/node_modules/@types/node/os.d.ts +0 -498
  75. package/skills/poteto-mode/scripts/node_modules/@types/node/package.json +0 -155
  76. package/skills/poteto-mode/scripts/node_modules/@types/node/path/posix.d.ts +0 -8
  77. package/skills/poteto-mode/scripts/node_modules/@types/node/path/win32.d.ts +0 -8
  78. package/skills/poteto-mode/scripts/node_modules/@types/node/path.d.ts +0 -178
  79. package/skills/poteto-mode/scripts/node_modules/@types/node/perf_hooks.d.ts +0 -604
  80. package/skills/poteto-mode/scripts/node_modules/@types/node/process.d.ts +0 -2217
  81. package/skills/poteto-mode/scripts/node_modules/@types/node/punycode.d.ts +0 -89
  82. package/skills/poteto-mode/scripts/node_modules/@types/node/querystring.d.ts +0 -139
  83. package/skills/poteto-mode/scripts/node_modules/@types/node/quic.d.ts +0 -978
  84. package/skills/poteto-mode/scripts/node_modules/@types/node/readline/promises.d.ts +0 -158
  85. package/skills/poteto-mode/scripts/node_modules/@types/node/readline.d.ts +0 -508
  86. package/skills/poteto-mode/scripts/node_modules/@types/node/repl.d.ts +0 -420
  87. package/skills/poteto-mode/scripts/node_modules/@types/node/sea.d.ts +0 -47
  88. package/skills/poteto-mode/scripts/node_modules/@types/node/sqlite.d.ts +0 -1123
  89. package/skills/poteto-mode/scripts/node_modules/@types/node/stream/consumers.d.ts +0 -114
  90. package/skills/poteto-mode/scripts/node_modules/@types/node/stream/iter.d.ts +0 -451
  91. package/skills/poteto-mode/scripts/node_modules/@types/node/stream/promises.d.ts +0 -211
  92. package/skills/poteto-mode/scripts/node_modules/@types/node/stream/web.d.ts +0 -300
  93. package/skills/poteto-mode/scripts/node_modules/@types/node/stream.d.ts +0 -1806
  94. package/skills/poteto-mode/scripts/node_modules/@types/node/string_decoder.d.ts +0 -27
  95. package/skills/poteto-mode/scripts/node_modules/@types/node/test/reporters.d.ts +0 -59
  96. package/skills/poteto-mode/scripts/node_modules/@types/node/test.d.ts +0 -2389
  97. package/skills/poteto-mode/scripts/node_modules/@types/node/timers/promises.d.ts +0 -93
  98. package/skills/poteto-mode/scripts/node_modules/@types/node/timers.d.ts +0 -149
  99. package/skills/poteto-mode/scripts/node_modules/@types/node/tls.d.ts +0 -1193
  100. package/skills/poteto-mode/scripts/node_modules/@types/node/trace_events.d.ts +0 -103
  101. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  102. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  103. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  104. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  105. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  106. package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  107. package/skills/poteto-mode/scripts/node_modules/@types/node/tty.d.ts +0 -225
  108. package/skills/poteto-mode/scripts/node_modules/@types/node/url.d.ts +0 -556
  109. package/skills/poteto-mode/scripts/node_modules/@types/node/util/types.d.ts +0 -558
  110. package/skills/poteto-mode/scripts/node_modules/@types/node/util.d.ts +0 -1677
  111. package/skills/poteto-mode/scripts/node_modules/@types/node/v8.d.ts +0 -1062
  112. package/skills/poteto-mode/scripts/node_modules/@types/node/vm.d.ts +0 -1136
  113. package/skills/poteto-mode/scripts/node_modules/@types/node/wasi.d.ts +0 -131
  114. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  115. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  116. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/console.d.ts +0 -9
  117. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  118. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/domexception.d.ts +0 -83
  119. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  120. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/events.d.ts +0 -106
  121. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  122. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  123. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  124. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  125. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  126. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  127. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  128. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  129. package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/url.d.ts +0 -24
  130. package/skills/poteto-mode/scripts/node_modules/@types/node/worker_threads.d.ts +0 -669
  131. package/skills/poteto-mode/scripts/node_modules/@types/node/zlib/iter.d.ts +0 -131
  132. package/skills/poteto-mode/scripts/node_modules/@types/node/zlib.d.ts +0 -589
  133. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/LICENSE +0 -55
  134. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/NOTICE.txt +0 -436
  135. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/README.md +0 -3
  136. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.d.ts +0 -20
  137. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.decorators.d.ts +0 -382
  138. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.decorators.legacy.d.ts +0 -20
  139. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.asynciterable.d.ts +0 -18
  140. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.d.ts +0 -45125
  141. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.iterable.d.ts +0 -18
  142. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.collection.d.ts +0 -159
  143. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.core.d.ts +0 -595
  144. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.d.ts +0 -26
  145. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.generator.d.ts +0 -75
  146. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.iterable.d.ts +0 -603
  147. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.promise.d.ts +0 -79
  148. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.proxy.d.ts +0 -126
  149. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.reflect.d.ts +0 -142
  150. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.symbol.d.ts +0 -44
  151. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  152. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.array.include.d.ts +0 -114
  153. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.d.ts +0 -19
  154. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.full.d.ts +0 -21
  155. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.intl.d.ts +0 -29
  156. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.arraybuffer.d.ts +0 -19
  157. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.d.ts +0 -24
  158. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.date.d.ts +0 -29
  159. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.full.d.ts +0 -21
  160. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.intl.d.ts +0 -42
  161. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.object.d.ts +0 -47
  162. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.sharedmemory.d.ts +0 -133
  163. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.string.d.ts +0 -47
  164. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.typedarrays.d.ts +0 -51
  165. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  166. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.asynciterable.d.ts +0 -51
  167. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.d.ts +0 -22
  168. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.full.d.ts +0 -22
  169. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.intl.d.ts +0 -81
  170. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.promise.d.ts +0 -28
  171. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.regexp.d.ts +0 -35
  172. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.array.d.ts +0 -77
  173. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.d.ts +0 -22
  174. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.full.d.ts +0 -22
  175. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.intl.d.ts +0 -21
  176. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.object.d.ts +0 -31
  177. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.string.d.ts +0 -35
  178. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.symbol.d.ts +0 -22
  179. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.bigint.d.ts +0 -763
  180. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.d.ts +0 -25
  181. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.date.d.ts +0 -40
  182. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.full.d.ts +0 -22
  183. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.intl.d.ts +0 -472
  184. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.number.d.ts +0 -26
  185. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.promise.d.ts +0 -45
  186. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.sharedmemory.d.ts +0 -97
  187. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.string.d.ts +0 -42
  188. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  189. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.d.ts +0 -21
  190. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.full.d.ts +0 -22
  191. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.intl.d.ts +0 -164
  192. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.promise.d.ts +0 -46
  193. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.string.d.ts +0 -31
  194. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.weakref.d.ts +0 -76
  195. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.array.d.ts +0 -119
  196. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.d.ts +0 -23
  197. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.error.d.ts +0 -73
  198. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.full.d.ts +0 -22
  199. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.intl.d.ts +0 -143
  200. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.object.d.ts +0 -24
  201. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.regexp.d.ts +0 -37
  202. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.string.d.ts +0 -23
  203. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.array.d.ts +0 -922
  204. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.collection.d.ts +0 -19
  205. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.d.ts +0 -20
  206. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.full.d.ts +0 -22
  207. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.intl.d.ts +0 -62
  208. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.arraybuffer.d.ts +0 -63
  209. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.collection.d.ts +0 -27
  210. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.d.ts +0 -24
  211. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.full.d.ts +0 -22
  212. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.object.d.ts +0 -27
  213. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.promise.d.ts +0 -33
  214. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.regexp.d.ts +0 -23
  215. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.sharedmemory.d.ts +0 -66
  216. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.string.d.ts +0 -27
  217. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.collection.d.ts +0 -94
  218. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.d.ts +0 -23
  219. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.float16.d.ts +0 -443
  220. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.full.d.ts +0 -22
  221. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.intl.d.ts +0 -200
  222. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.iterator.d.ts +0 -146
  223. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.promise.d.ts +0 -32
  224. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.regexp.d.ts +0 -30
  225. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es5.d.ts +0 -4599
  226. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es6.d.ts +0 -21
  227. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.array.d.ts +0 -33
  228. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.collection.d.ts +0 -47
  229. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.d.ts +0 -27
  230. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.date.d.ts +0 -21
  231. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.decorators.d.ts +0 -26
  232. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.disposable.d.ts +0 -191
  233. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.error.d.ts +0 -22
  234. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.full.d.ts +0 -22
  235. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.intl.d.ts +0 -107
  236. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.sharedmemory.d.ts +0 -23
  237. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.temporal.d.ts +0 -485
  238. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.typedarrays.d.ts +0 -90
  239. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.scripthost.d.ts +0 -320
  240. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.asynciterable.d.ts +0 -18
  241. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.d.ts +0 -15606
  242. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.importscripts.d.ts +0 -21
  243. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.iterable.d.ts +0 -18
  244. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/tsc +0 -0
  245. package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/package.json +0 -45
  246. package/skills/poteto-mode/scripts/node_modules/bun-types/README.md +0 -33
  247. package/skills/poteto-mode/scripts/node_modules/bun-types/bun.d.ts +0 -9749
  248. package/skills/poteto-mode/scripts/node_modules/bun-types/bun.ns.d.ts +0 -5
  249. package/skills/poteto-mode/scripts/node_modules/bun-types/bundle.d.ts +0 -74
  250. package/skills/poteto-mode/scripts/node_modules/bun-types/deprecated.d.ts +0 -184
  251. package/skills/poteto-mode/scripts/node_modules/bun-types/devserver.d.ts +0 -187
  252. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/README.md +0 -28
  253. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/bytecode.mdx +0 -447
  254. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/css.mdx +0 -1024
  255. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/esbuild.mdx +0 -304
  256. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/executables.mdx +0 -1318
  257. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/fullstack.mdx +0 -1086
  258. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/hot-reloading.mdx +0 -229
  259. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/html-static.mdx +0 -498
  260. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/index.mdx +0 -1840
  261. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/loaders.mdx +0 -451
  262. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/macros.mdx +0 -328
  263. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/minifier.mdx +0 -1286
  264. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/plugins.mdx +0 -477
  265. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/standalone-html.mdx +0 -314
  266. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/feedback.mdx +0 -75
  267. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +0 -29
  268. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +0 -26
  269. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +0 -27
  270. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +0 -17
  271. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +0 -41
  272. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +0 -16
  273. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +0 -16
  274. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +0 -16
  275. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +0 -17
  276. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +0 -16
  277. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +0 -16
  278. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +0 -16
  279. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +0 -43
  280. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +0 -27
  281. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +0 -16
  282. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +0 -17
  283. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +0 -27
  284. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +0 -18
  285. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +0 -16
  286. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +0 -16
  287. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +0 -43
  288. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +0 -18
  289. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +0 -204
  290. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +0 -161
  291. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +0 -193
  292. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/railway.mdx +0 -145
  293. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/render.mdx +0 -82
  294. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/vercel.mdx +0 -97
  295. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +0 -82
  296. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +0 -80
  297. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +0 -151
  298. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +0 -195
  299. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +0 -31
  300. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/express.mdx +0 -43
  301. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +0 -261
  302. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +0 -47
  303. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +0 -92
  304. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +0 -234
  305. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +0 -60
  306. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +0 -103
  307. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +0 -96
  308. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +0 -55
  309. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +0 -169
  310. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +0 -164
  311. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +0 -114
  312. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/react.mdx +0 -52
  313. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +0 -97
  314. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +0 -54
  315. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +0 -62
  316. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +0 -49
  317. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +0 -54
  318. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +0 -138
  319. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +0 -114
  320. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +0 -791
  321. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +0 -87
  322. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +0 -77
  323. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +0 -71
  324. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +0 -97
  325. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/cluster.mdx +0 -69
  326. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +0 -35
  327. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/fetch.mdx +0 -26
  328. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/file-uploads.mdx +0 -97
  329. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/hot.mdx +0 -28
  330. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/proxy.mdx +0 -50
  331. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/server.mdx +0 -48
  332. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/simple.mdx +0 -20
  333. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/sse.mdx +0 -91
  334. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-file.mdx +0 -50
  335. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +0 -49
  336. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +0 -22
  337. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/tls.mdx +0 -32
  338. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/index.mdx +0 -10
  339. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-dev.mdx +0 -28
  340. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-git.mdx +0 -40
  341. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-optional.mdx +0 -27
  342. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-peer.mdx +0 -45
  343. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-tarball.mdx +0 -35
  344. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add.mdx +0 -44
  345. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +0 -76
  346. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/cicd.mdx +0 -43
  347. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/custom-registry.mdx +0 -32
  348. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +0 -230
  349. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +0 -48
  350. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +0 -28
  351. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/npm-alias.mdx +0 -25
  352. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/registry-scope.mdx +0 -40
  353. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/trusted.mdx +0 -52
  354. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/workspaces.mdx +0 -70
  355. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/yarnlock.mdx +0 -51
  356. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/argv.mdx +0 -66
  357. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +0 -18
  358. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/ipc.mdx +0 -69
  359. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +0 -15
  360. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/os-signals.mdx +0 -31
  361. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +0 -34
  362. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +0 -28
  363. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn.mdx +0 -43
  364. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/stdin.mdx +0 -62
  365. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +0 -30
  366. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/buffer.mdx +0 -21
  367. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/exists.mdx +0 -18
  368. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/json.mdx +0 -19
  369. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/mime.mdx +0 -22
  370. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/stream.mdx +0 -28
  371. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/string.mdx +0 -24
  372. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +0 -23
  373. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/watch.mdx +0 -66
  374. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +0 -295
  375. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/cicd.mdx +0 -45
  376. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +0 -61
  377. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +0 -151
  378. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +0 -39
  379. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +0 -21
  380. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +0 -28
  381. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-html.mdx +0 -15
  382. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-json.mdx +0 -46
  383. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-json5.mdx +0 -74
  384. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +0 -32
  385. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +0 -104
  386. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/read-env.mdx +0 -37
  387. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/set-env.mdx +0 -51
  388. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/shell.mdx +0 -42
  389. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/timezone.mdx +0 -38
  390. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +0 -31
  391. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/typescript.mdx +0 -56
  392. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +0 -47
  393. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +0 -103
  394. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +0 -13
  395. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +0 -13
  396. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +0 -14
  397. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +0 -14
  398. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +0 -13
  399. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-array.mdx +0 -16
  400. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +0 -16
  401. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-blob.mdx +0 -16
  402. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +0 -17
  403. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-json.mdx +0 -16
  404. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-string.mdx +0 -16
  405. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +0 -24
  406. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/bail.mdx +0 -24
  407. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +0 -146
  408. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +0 -67
  409. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/coverage.mdx +0 -49
  410. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/happy-dom.mdx +0 -73
  411. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +0 -125
  412. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/mock-clock.mdx +0 -50
  413. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/mock-functions.mdx +0 -70
  414. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/rerun-each.mdx +0 -16
  415. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/run-tests.mdx +0 -116
  416. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/skip-tests.mdx +0 -43
  417. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/snapshot.mdx +0 -102
  418. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/spy-on.mdx +0 -49
  419. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/svelte-test.mdx +0 -113
  420. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/testing-library.mdx +0 -93
  421. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/timeout.mdx +0 -17
  422. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/todo-tests.mdx +0 -74
  423. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +0 -49
  424. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/watch-mode.mdx +0 -24
  425. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/base64.mdx +0 -17
  426. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/deep-equals.mdx +0 -41
  427. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/deflate.mdx +0 -20
  428. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/detect-bun.mdx +0 -28
  429. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/entrypoint.mdx +0 -19
  430. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/escape-html.mdx +0 -24
  431. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +0 -16
  432. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/gzip.mdx +0 -20
  433. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +0 -56
  434. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +0 -15
  435. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +0 -15
  436. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +0 -15
  437. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +0 -25
  438. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/main.mdx +0 -43
  439. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +0 -16
  440. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/sleep.mdx +0 -24
  441. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/upgrade.mdx +0 -93
  442. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/version.mdx +0 -23
  443. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +0 -17
  444. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/compression.mdx +0 -33
  445. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/context.mdx +0 -79
  446. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +0 -43
  447. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/simple.mdx +0 -38
  448. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/append.mdx +0 -54
  449. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/basic.mdx +0 -46
  450. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/blob.mdx +0 -30
  451. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/cat.mdx +0 -19
  452. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +0 -18
  453. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/filesink.mdx +0 -54
  454. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/response.mdx +0 -19
  455. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/stdout.mdx +0 -23
  456. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/stream.mdx +0 -19
  457. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/unlink.mdx +0 -18
  458. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/index.mdx +0 -133
  459. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/installation.mdx +0 -373
  460. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/bunx.mdx +0 -91
  461. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/catalogs.mdx +0 -292
  462. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/add.mdx +0 -179
  463. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/audit.mdx +0 -60
  464. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/info.mdx +0 -70
  465. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/install.mdx +0 -591
  466. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/link.mdx +0 -61
  467. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/outdated.mdx +0 -197
  468. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/patch.mdx +0 -69
  469. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/pm.mdx +0 -323
  470. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/publish.mdx +0 -131
  471. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/remove.mdx +0 -16
  472. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/update.mdx +0 -140
  473. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/why.mdx +0 -84
  474. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/filter.mdx +0 -127
  475. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/global-cache.mdx +0 -72
  476. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/global-store.mdx +0 -149
  477. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/isolated-installs.mdx +0 -224
  478. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/lifecycle.mdx +0 -77
  479. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/lockfile.mdx +0 -64
  480. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/npmrc.mdx +0 -245
  481. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/overrides.mdx +0 -83
  482. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/scopes-registries.mdx +0 -35
  483. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/security-scanner-api.mdx +0 -95
  484. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/workspaces.mdx +0 -115
  485. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/benchmarking.mdx +0 -296
  486. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/bindgen.mdx +0 -223
  487. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/building-windows.mdx +0 -143
  488. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/contributing.mdx +0 -380
  489. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/feedback.mdx +0 -20
  490. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/license.mdx +0 -78
  491. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/roadmap.mdx +0 -8
  492. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/quickstart.mdx +0 -251
  493. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/archive.mdx +0 -452
  494. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/auto-install.mdx +0 -97
  495. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/binary-data.mdx +0 -846
  496. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/bun-apis.mdx +0 -61
  497. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/bunfig.mdx +0 -872
  498. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/c-compiler.mdx +0 -204
  499. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/child-process.mdx +0 -668
  500. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/color.mdx +0 -267
  501. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/console.mdx +0 -67
  502. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/cookies.mdx +0 -454
  503. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/cron.mdx +0 -447
  504. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/csrf.mdx +0 -171
  505. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/debugger.mdx +0 -335
  506. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/environment-variables.mdx +0 -231
  507. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/ffi.mdx +0 -567
  508. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-io.mdx +0 -306
  509. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-system-router.mdx +0 -118
  510. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-types.mdx +0 -482
  511. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/glob.mdx +0 -181
  512. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/globals.mdx +0 -72
  513. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/hashing.mdx +0 -315
  514. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/html-rewriter.mdx +0 -333
  515. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/cookies.mdx +0 -79
  516. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/error-handling.mdx +0 -40
  517. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/metrics.mdx +0 -36
  518. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/routing.mdx +0 -289
  519. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/server.mdx +0 -716
  520. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/tls.mdx +0 -101
  521. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/websockets.mdx +0 -414
  522. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/image.mdx +0 -211
  523. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/index.mdx +0 -223
  524. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/json5.mdx +0 -271
  525. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/jsonl.mdx +0 -188
  526. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/jsx.mdx +0 -115
  527. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/markdown.mdx +0 -381
  528. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/module-resolution.mdx +0 -374
  529. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/dns.mdx +0 -111
  530. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/fetch.mdx +0 -484
  531. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/tcp.mdx +0 -239
  532. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/udp.mdx +0 -180
  533. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/node-api.mdx +0 -19
  534. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +0 -468
  535. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/plugins.mdx +0 -419
  536. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/redis.mdx +0 -583
  537. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/repl.mdx +0 -176
  538. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/s3.mdx +0 -881
  539. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/secrets.mdx +0 -340
  540. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/semver.mdx +0 -57
  541. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/shell.mdx +0 -637
  542. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/sql.mdx +0 -1404
  543. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/sqlite.mdx +0 -746
  544. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/streams.mdx +0 -232
  545. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/templating/create.mdx +0 -268
  546. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/templating/init.mdx +0 -58
  547. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/toml.mdx +0 -238
  548. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/transpiler.mdx +0 -288
  549. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/typescript.mdx +0 -59
  550. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/utils.mdx +0 -1010
  551. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/watch-mode.mdx +0 -161
  552. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/web-apis.mdx +0 -29
  553. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/webview.mdx +0 -631
  554. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/workers.mdx +0 -314
  555. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/yaml.mdx +0 -470
  556. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/add.mdx +0 -166
  557. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/build.mdx +0 -197
  558. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/bunx.mdx +0 -49
  559. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/feedback.mdx +0 -17
  560. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/init.mdx +0 -84
  561. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/install.mdx +0 -173
  562. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/link.mdx +0 -163
  563. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/outdated.mdx +0 -140
  564. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/patch.mdx +0 -171
  565. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/publish.mdx +0 -198
  566. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/remove.mdx +0 -146
  567. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/run.mdx +0 -305
  568. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/test.mdx +0 -105
  569. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/update.mdx +0 -144
  570. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/code-coverage.mdx +0 -409
  571. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/configuration.mdx +0 -574
  572. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/dates-times.mdx +0 -129
  573. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/discovery.mdx +0 -90
  574. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/dom.mdx +0 -226
  575. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/index.mdx +0 -409
  576. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/lifecycle.mdx +0 -366
  577. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/mocks.mdx +0 -637
  578. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/reporters.mdx +0 -126
  579. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/runtime-behavior.mdx +0 -342
  580. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/snapshots.mdx +0 -434
  581. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/writing-tests.mdx +0 -672
  582. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/typescript-6.mdx +0 -79
  583. package/skills/poteto-mode/scripts/node_modules/bun-types/docs/typescript.mdx +0 -59
  584. package/skills/poteto-mode/scripts/node_modules/bun-types/extensions.d.ts +0 -40
  585. package/skills/poteto-mode/scripts/node_modules/bun-types/fetch.d.ts +0 -80
  586. package/skills/poteto-mode/scripts/node_modules/bun-types/ffi.d.ts +0 -1136
  587. package/skills/poteto-mode/scripts/node_modules/bun-types/globals.d.ts +0 -2094
  588. package/skills/poteto-mode/scripts/node_modules/bun-types/html-rewriter.d.ts +0 -186
  589. package/skills/poteto-mode/scripts/node_modules/bun-types/index.d.ts +0 -32
  590. package/skills/poteto-mode/scripts/node_modules/bun-types/jsc.d.ts +0 -233
  591. package/skills/poteto-mode/scripts/node_modules/bun-types/jsx.d.ts +0 -11
  592. package/skills/poteto-mode/scripts/node_modules/bun-types/overrides.d.ts +0 -382
  593. package/skills/poteto-mode/scripts/node_modules/bun-types/package.json +0 -37
  594. package/skills/poteto-mode/scripts/node_modules/bun-types/redis.d.ts +0 -3352
  595. package/skills/poteto-mode/scripts/node_modules/bun-types/s3.d.ts +0 -1354
  596. package/skills/poteto-mode/scripts/node_modules/bun-types/security.d.ts +0 -101
  597. package/skills/poteto-mode/scripts/node_modules/bun-types/serve.d.ts +0 -1311
  598. package/skills/poteto-mode/scripts/node_modules/bun-types/shell.d.ts +0 -380
  599. package/skills/poteto-mode/scripts/node_modules/bun-types/sql.d.ts +0 -887
  600. package/skills/poteto-mode/scripts/node_modules/bun-types/sqlite.d.ts +0 -1322
  601. package/skills/poteto-mode/scripts/node_modules/bun-types/test-globals.d.ts +0 -22
  602. package/skills/poteto-mode/scripts/node_modules/bun-types/test.d.ts +0 -2392
  603. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/branding.d.ts +0 -283
  604. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/index.d.ts +0 -1207
  605. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/messages.d.ts +0 -395
  606. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/overloads.d.ts +0 -669
  607. package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/utils.d.ts +0 -431
  608. package/skills/poteto-mode/scripts/node_modules/bun-types/wasm.d.ts +0 -198
  609. package/skills/poteto-mode/scripts/node_modules/commander/LICENSE +0 -22
  610. package/skills/poteto-mode/scripts/node_modules/commander/Readme.md +0 -1159
  611. package/skills/poteto-mode/scripts/node_modules/commander/esm.mjs +0 -16
  612. package/skills/poteto-mode/scripts/node_modules/commander/index.js +0 -24
  613. package/skills/poteto-mode/scripts/node_modules/commander/lib/argument.js +0 -149
  614. package/skills/poteto-mode/scripts/node_modules/commander/lib/command.js +0 -2778
  615. package/skills/poteto-mode/scripts/node_modules/commander/lib/error.js +0 -39
  616. package/skills/poteto-mode/scripts/node_modules/commander/lib/help.js +0 -747
  617. package/skills/poteto-mode/scripts/node_modules/commander/lib/option.js +0 -379
  618. package/skills/poteto-mode/scripts/node_modules/commander/lib/suggestSimilar.js +0 -101
  619. package/skills/poteto-mode/scripts/node_modules/commander/package-support.json +0 -16
  620. package/skills/poteto-mode/scripts/node_modules/commander/package.json +0 -82
  621. package/skills/poteto-mode/scripts/node_modules/commander/typings/esm.d.mts +0 -3
  622. package/skills/poteto-mode/scripts/node_modules/commander/typings/index.d.ts +0 -1113
  623. package/skills/poteto-mode/scripts/node_modules/typescript/LICENSE +0 -55
  624. package/skills/poteto-mode/scripts/node_modules/typescript/NOTICE.txt +0 -436
  625. package/skills/poteto-mode/scripts/node_modules/typescript/README.md +0 -49
  626. package/skills/poteto-mode/scripts/node_modules/typescript/bin/tsc +0 -2
  627. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.d.ts +0 -529
  628. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.d.ts.map +0 -1
  629. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.js +0 -1657
  630. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.js.map +0 -1
  631. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.d.ts +0 -39
  632. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.d.ts.map +0 -1
  633. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.js +0 -211
  634. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.js.map +0 -1
  635. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.d.ts +0 -310
  636. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.d.ts.map +0 -1
  637. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.js +0 -2
  638. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.js.map +0 -1
  639. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.d.ts +0 -109
  640. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.d.ts.map +0 -1
  641. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.js +0 -2
  642. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.js.map +0 -1
  643. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.d.ts +0 -23
  644. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.d.ts.map +0 -1
  645. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.js +0 -109
  646. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.js.map +0 -1
  647. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.d.ts +0 -15
  648. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.d.ts.map +0 -1
  649. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.d.ts +0 -5
  650. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +0 -1
  651. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.js +0 -74
  652. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.js.map +0 -1
  653. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.js +0 -287
  654. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.js.map +0 -1
  655. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.d.ts +0 -32
  656. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.d.ts.map +0 -1
  657. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.js +0 -213
  658. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.js.map +0 -1
  659. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.d.ts +0 -76
  660. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.d.ts.map +0 -1
  661. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.d.ts +0 -182
  662. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.d.ts.map +0 -1
  663. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.js +0 -835
  664. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.js.map +0 -1
  665. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +0 -62
  666. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +0 -1
  667. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.js +0 -122
  668. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.js.map +0 -1
  669. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.js +0 -298
  670. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.js.map +0 -1
  671. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.d.ts +0 -29
  672. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.d.ts.map +0 -1
  673. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.d.ts +0 -4
  674. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +0 -1
  675. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.js +0 -241
  676. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.js.map +0 -1
  677. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.js +0 -30
  678. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.js.map +0 -1
  679. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.d.ts +0 -6
  680. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.d.ts.map +0 -1
  681. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.js +0 -61
  682. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.js.map +0 -1
  683. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.d.ts +0 -32
  684. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.d.ts.map +0 -1
  685. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.js +0 -11
  686. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.js.map +0 -1
  687. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.d.ts +0 -110
  688. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.d.ts.map +0 -1
  689. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.js +0 -508
  690. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.js.map +0 -1
  691. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.d.ts +0 -239
  692. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.d.ts.map +0 -1
  693. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.js +0 -37
  694. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.js.map +0 -1
  695. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.d.ts +0 -79
  696. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +0 -1
  697. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.js +0 -169
  698. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.js.map +0 -1
  699. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.d.ts +0 -529
  700. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.d.ts.map +0 -1
  701. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.js +0 -1665
  702. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.js.map +0 -1
  703. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.d.ts +0 -30
  704. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.d.ts.map +0 -1
  705. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.js +0 -124
  706. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.js.map +0 -1
  707. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.d.ts +0 -310
  708. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.d.ts.map +0 -1
  709. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.js +0 -2
  710. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.js.map +0 -1
  711. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.d.ts +0 -114
  712. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.d.ts.map +0 -1
  713. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.js +0 -508
  714. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.js.map +0 -1
  715. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.d.ts +0 -175
  716. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.d.ts.map +0 -1
  717. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.js +0 -149
  718. package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.js.map +0 -1
  719. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.d.ts +0 -100
  720. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.d.ts.map +0 -1
  721. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.d.ts +0 -1161
  722. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.d.ts.map +0 -1
  723. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.js +0 -4
  724. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.js.map +0 -1
  725. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.js +0 -7
  726. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.js.map +0 -1
  727. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.d.ts +0 -19
  728. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.d.ts.map +0 -1
  729. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.js +0 -596
  730. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.js.map +0 -1
  731. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.d.ts +0 -16
  732. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.d.ts.map +0 -1
  733. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.js +0 -104
  734. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.js.map +0 -1
  735. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.d.ts +0 -520
  736. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.d.ts.map +0 -1
  737. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.js +0 -3057
  738. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.js.map +0 -1
  739. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.d.ts +0 -20
  740. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.d.ts.map +0 -1
  741. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.js +0 -20
  742. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.js.map +0 -1
  743. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.d.ts +0 -35
  744. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.d.ts.map +0 -1
  745. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.d.ts +0 -329
  746. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.d.ts.map +0 -1
  747. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.js +0 -1103
  748. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.js.map +0 -1
  749. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.js +0 -233
  750. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.js.map +0 -1
  751. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.d.ts +0 -11
  752. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.d.ts.map +0 -1
  753. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.js +0 -202
  754. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.js.map +0 -1
  755. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.d.ts +0 -97
  756. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.d.ts.map +0 -1
  757. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.js +0 -2230
  758. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.js.map +0 -1
  759. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.d.ts +0 -17
  760. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.d.ts.map +0 -1
  761. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.js +0 -67
  762. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.js.map +0 -1
  763. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.d.ts +0 -14
  764. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.d.ts.map +0 -1
  765. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.d.ts +0 -50
  766. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +0 -1
  767. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.js +0 -978
  768. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.js.map +0 -1
  769. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.js +0 -47
  770. package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.js.map +0 -1
  771. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.d.ts +0 -2
  772. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.d.ts.map +0 -1
  773. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +0 -129
  774. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +0 -1
  775. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.js +0 -132
  776. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.js.map +0 -1
  777. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.js +0 -130
  778. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.js.map +0 -1
  779. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +0 -2
  780. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +0 -1
  781. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +0 -5
  782. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +0 -1
  783. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +0 -6
  784. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +0 -1
  785. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.js +0 -6
  786. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.js.map +0 -1
  787. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.d.ts +0 -2
  788. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +0 -1
  789. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +0 -28
  790. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +0 -1
  791. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.js +0 -30
  792. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +0 -1
  793. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.js +0 -30
  794. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.js.map +0 -1
  795. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +0 -2
  796. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +0 -1
  797. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +0 -7
  798. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +0 -1
  799. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +0 -9
  800. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +0 -1
  801. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.js +0 -9
  802. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.js.map +0 -1
  803. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.d.ts +0 -2
  804. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.d.ts.map +0 -1
  805. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +0 -12
  806. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +0 -1
  807. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.js +0 -14
  808. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.js.map +0 -1
  809. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.js +0 -14
  810. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.js.map +0 -1
  811. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.d.ts +0 -2
  812. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +0 -1
  813. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +0 -23
  814. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +0 -1
  815. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.js +0 -25
  816. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +0 -1
  817. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.js +0 -25
  818. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.js.map +0 -1
  819. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.d.ts +0 -2
  820. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +0 -1
  821. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +0 -9
  822. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +0 -1
  823. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.js +0 -11
  824. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +0 -1
  825. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.js +0 -11
  826. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.js.map +0 -1
  827. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.d.ts +0 -2
  828. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.d.ts.map +0 -1
  829. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +0 -5
  830. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +0 -1
  831. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.js +0 -6
  832. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.js.map +0 -1
  833. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.js +0 -6
  834. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.js.map +0 -1
  835. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.d.ts +0 -2
  836. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +0 -1
  837. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +0 -42
  838. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +0 -1
  839. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.js +0 -44
  840. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +0 -1
  841. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.js +0 -44
  842. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.js.map +0 -1
  843. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +0 -2
  844. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +0 -1
  845. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +0 -7
  846. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +0 -1
  847. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +0 -9
  848. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +0 -1
  849. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.js +0 -9
  850. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +0 -1
  851. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.d.ts +0 -2
  852. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.d.ts.map +0 -1
  853. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +0 -17
  854. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +0 -1
  855. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.js +0 -19
  856. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.js.map +0 -1
  857. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.js +0 -19
  858. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.js.map +0 -1
  859. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +0 -2
  860. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +0 -1
  861. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +0 -9
  862. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +0 -1
  863. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +0 -11
  864. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +0 -1
  865. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.js +0 -11
  866. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +0 -1
  867. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.d.ts +0 -2
  868. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.d.ts.map +0 -1
  869. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +0 -6
  870. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +0 -1
  871. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.js +0 -8
  872. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.js.map +0 -1
  873. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.js +0 -8
  874. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.js.map +0 -1
  875. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +0 -2
  876. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +0 -1
  877. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +0 -36
  878. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +0 -1
  879. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +0 -38
  880. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +0 -1
  881. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.js +0 -38
  882. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +0 -1
  883. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.d.ts +0 -2
  884. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +0 -1
  885. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +0 -44
  886. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +0 -1
  887. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.js +0 -46
  888. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +0 -1
  889. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.js +0 -46
  890. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.js.map +0 -1
  891. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.d.ts +0 -2
  892. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.d.ts.map +0 -1
  893. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +0 -50
  894. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +0 -1
  895. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.js +0 -52
  896. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.js.map +0 -1
  897. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.js +0 -52
  898. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.js.map +0 -1
  899. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +0 -2
  900. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +0 -1
  901. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +0 -16
  902. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +0 -1
  903. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +0 -18
  904. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +0 -1
  905. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.js +0 -18
  906. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +0 -1
  907. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +0 -2
  908. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +0 -1
  909. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +0 -13
  910. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +0 -1
  911. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +0 -14
  912. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +0 -1
  913. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.js +0 -14
  914. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +0 -1
  915. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.d.ts +0 -2
  916. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.d.ts.map +0 -1
  917. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +0 -11
  918. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +0 -1
  919. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.js +0 -12
  920. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.js.map +0 -1
  921. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.js +0 -12
  922. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.js.map +0 -1
  923. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.d.ts +0 -2
  924. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +0 -1
  925. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +0 -17
  926. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +0 -1
  927. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.js +0 -18
  928. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +0 -1
  929. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.js +0 -18
  930. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.js.map +0 -1
  931. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.d.ts +0 -2
  932. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +0 -1
  933. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +0 -15
  934. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +0 -1
  935. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.js +0 -17
  936. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +0 -1
  937. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.js +0 -17
  938. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.js.map +0 -1
  939. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.d.ts +0 -2
  940. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.d.ts.map +0 -1
  941. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +0 -5
  942. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +0 -1
  943. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.js +0 -7
  944. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.js.map +0 -1
  945. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.js +0 -7
  946. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.js.map +0 -1
  947. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.d.ts +0 -2
  948. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +0 -1
  949. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +0 -71
  950. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +0 -1
  951. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.js +0 -73
  952. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +0 -1
  953. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.js +0 -73
  954. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.js.map +0 -1
  955. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.d.ts +0 -2
  956. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +0 -1
  957. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +0 -389
  958. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +0 -1
  959. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.js +0 -391
  960. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +0 -1
  961. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.js +0 -391
  962. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.js.map +0 -1
  963. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.d.ts +0 -2
  964. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +0 -1
  965. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +0 -30
  966. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +0 -1
  967. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.js +0 -32
  968. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +0 -1
  969. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.js +0 -32
  970. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.js.map +0 -1
  971. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.d.ts +0 -2
  972. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.d.ts.map +0 -1
  973. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +0 -76
  974. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +0 -1
  975. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.js +0 -78
  976. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.js.map +0 -1
  977. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.js +0 -78
  978. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.js.map +0 -1
  979. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.d.ts +0 -2
  980. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +0 -1
  981. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +0 -7
  982. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +0 -1
  983. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.js +0 -9
  984. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +0 -1
  985. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.js +0 -9
  986. package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.js.map +0 -1
  987. package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.d.ts +0 -23
  988. package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.d.ts.map +0 -1
  989. package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.js +0 -25
  990. package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.js.map +0 -1
  991. package/skills/poteto-mode/scripts/node_modules/typescript/lib/getExePath.d.ts +0 -2
  992. package/skills/poteto-mode/scripts/node_modules/typescript/lib/getExePath.js +0 -70
  993. package/skills/poteto-mode/scripts/node_modules/typescript/lib/tsc.js +0 -28
  994. package/skills/poteto-mode/scripts/node_modules/typescript/lib/version.cjs +0 -3
  995. package/skills/poteto-mode/scripts/node_modules/typescript/lib/version.d.cts +0 -2
  996. package/skills/poteto-mode/scripts/node_modules/typescript/package.json +0 -87
  997. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +0 -11
  998. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/README.md +0 -54
  999. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
  1000. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +0 -83
  1001. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
  1002. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +0 -210
  1003. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +0 -14
  1004. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +0 -87
  1005. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
  1006. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +0 -132
  1007. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
  1008. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +0 -1271
  1009. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
  1010. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +0 -16
  1011. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
  1012. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +0 -70
  1013. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +0 -39
  1014. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +0 -135
  1015. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +0 -7
  1016. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +0 -34
  1017. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
  1018. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +0 -412
  1019. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
  1020. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +0 -155
  1021. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
  1022. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +0 -246
  1023. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
  1024. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +0 -157
  1025. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
  1026. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +0 -436
  1027. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
  1028. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +0 -23
  1029. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
  1030. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +0 -74
  1031. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
  1032. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -77
  1033. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +0 -58
  1034. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +0 -289
  1035. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
  1036. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +0 -163
  1037. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/package.json +0 -54
  1038. package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +0 -5
  1039. package/skills/poteto-mode/scripts/node_modules/undici-types/LICENSE +0 -21
  1040. package/skills/poteto-mode/scripts/node_modules/undici-types/README.md +0 -6
  1041. package/skills/poteto-mode/scripts/node_modules/undici-types/agent.d.ts +0 -30
  1042. package/skills/poteto-mode/scripts/node_modules/undici-types/api.d.ts +0 -43
  1043. package/skills/poteto-mode/scripts/node_modules/undici-types/balanced-pool.d.ts +0 -30
  1044. package/skills/poteto-mode/scripts/node_modules/undici-types/cache-interceptor.d.ts +0 -179
  1045. package/skills/poteto-mode/scripts/node_modules/undici-types/cache.d.ts +0 -36
  1046. package/skills/poteto-mode/scripts/node_modules/undici-types/client-stats.d.ts +0 -15
  1047. package/skills/poteto-mode/scripts/node_modules/undici-types/client.d.ts +0 -129
  1048. package/skills/poteto-mode/scripts/node_modules/undici-types/connector.d.ts +0 -36
  1049. package/skills/poteto-mode/scripts/node_modules/undici-types/content-type.d.ts +0 -21
  1050. package/skills/poteto-mode/scripts/node_modules/undici-types/cookies.d.ts +0 -30
  1051. package/skills/poteto-mode/scripts/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  1052. package/skills/poteto-mode/scripts/node_modules/undici-types/dispatcher.d.ts +0 -253
  1053. package/skills/poteto-mode/scripts/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
  1054. package/skills/poteto-mode/scripts/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  1055. package/skills/poteto-mode/scripts/node_modules/undici-types/errors.d.ts +0 -177
  1056. package/skills/poteto-mode/scripts/node_modules/undici-types/eventsource.d.ts +0 -66
  1057. package/skills/poteto-mode/scripts/node_modules/undici-types/fetch.d.ts +0 -231
  1058. package/skills/poteto-mode/scripts/node_modules/undici-types/formdata.d.ts +0 -108
  1059. package/skills/poteto-mode/scripts/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1060. package/skills/poteto-mode/scripts/node_modules/undici-types/global-origin.d.ts +0 -7
  1061. package/skills/poteto-mode/scripts/node_modules/undici-types/h2c-client.d.ts +0 -73
  1062. package/skills/poteto-mode/scripts/node_modules/undici-types/handlers.d.ts +0 -14
  1063. package/skills/poteto-mode/scripts/node_modules/undici-types/header.d.ts +0 -165
  1064. package/skills/poteto-mode/scripts/node_modules/undici-types/index.d.ts +0 -93
  1065. package/skills/poteto-mode/scripts/node_modules/undici-types/interceptors.d.ts +0 -80
  1066. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-agent.d.ts +0 -68
  1067. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-call-history.d.ts +0 -111
  1068. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-client.d.ts +0 -27
  1069. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-errors.d.ts +0 -12
  1070. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  1071. package/skills/poteto-mode/scripts/node_modules/undici-types/mock-pool.d.ts +0 -27
  1072. package/skills/poteto-mode/scripts/node_modules/undici-types/package.json +0 -55
  1073. package/skills/poteto-mode/scripts/node_modules/undici-types/patch.d.ts +0 -29
  1074. package/skills/poteto-mode/scripts/node_modules/undici-types/pool-stats.d.ts +0 -19
  1075. package/skills/poteto-mode/scripts/node_modules/undici-types/pool.d.ts +0 -39
  1076. package/skills/poteto-mode/scripts/node_modules/undici-types/proxy-agent.d.ts +0 -29
  1077. package/skills/poteto-mode/scripts/node_modules/undici-types/readable.d.ts +0 -68
  1078. package/skills/poteto-mode/scripts/node_modules/undici-types/retry-agent.d.ts +0 -8
  1079. package/skills/poteto-mode/scripts/node_modules/undici-types/retry-handler.d.ts +0 -125
  1080. package/skills/poteto-mode/scripts/node_modules/undici-types/round-robin-pool.d.ts +0 -39
  1081. package/skills/poteto-mode/scripts/node_modules/undici-types/snapshot-agent.d.ts +0 -113
  1082. package/skills/poteto-mode/scripts/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
  1083. package/skills/poteto-mode/scripts/node_modules/undici-types/util.d.ts +0 -18
  1084. package/skills/poteto-mode/scripts/node_modules/undici-types/utility.d.ts +0 -7
  1085. package/skills/poteto-mode/scripts/node_modules/undici-types/webidl.d.ts +0 -346
  1086. package/skills/poteto-mode/scripts/node_modules/undici-types/websocket.d.ts +0 -188
  1087. package/skills/poteto-mode/scripts/node_modules/zod/LICENSE +0 -21
  1088. package/skills/poteto-mode/scripts/node_modules/zod/README.md +0 -218
  1089. package/skills/poteto-mode/scripts/node_modules/zod/compile.cjs +0 -96
  1090. package/skills/poteto-mode/scripts/node_modules/zod/compile.d.cts +0 -1
  1091. package/skills/poteto-mode/scripts/node_modules/zod/compile.d.ts +0 -1
  1092. package/skills/poteto-mode/scripts/node_modules/zod/compile.js +0 -52
  1093. package/skills/poteto-mode/scripts/node_modules/zod/index.cjs +0 -52
  1094. package/skills/poteto-mode/scripts/node_modules/zod/index.d.cts +0 -3
  1095. package/skills/poteto-mode/scripts/node_modules/zod/index.d.ts +0 -3
  1096. package/skills/poteto-mode/scripts/node_modules/zod/index.js +0 -7
  1097. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.cjs +0 -36
  1098. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.d.cts +0 -1
  1099. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.d.ts +0 -1
  1100. package/skills/poteto-mode/scripts/node_modules/zod/locales/index.js +0 -1
  1101. package/skills/poteto-mode/scripts/node_modules/zod/locales/package.json +0 -7
  1102. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.cjs +0 -51
  1103. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.d.cts +0 -3
  1104. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.d.ts +0 -3
  1105. package/skills/poteto-mode/scripts/node_modules/zod/mini/index.js +0 -3
  1106. package/skills/poteto-mode/scripts/node_modules/zod/mini/package.json +0 -7
  1107. package/skills/poteto-mode/scripts/node_modules/zod/package.json +0 -147
  1108. package/skills/poteto-mode/scripts/node_modules/zod/src/compile.ts +0 -56
  1109. package/skills/poteto-mode/scripts/node_modules/zod/src/index.ts +0 -7
  1110. package/skills/poteto-mode/scripts/node_modules/zod/src/locales/index.ts +0 -1
  1111. package/skills/poteto-mode/scripts/node_modules/zod/src/mini/index.ts +0 -3
  1112. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/ZodError.ts +0 -340
  1113. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  1114. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  1115. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  1116. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  1117. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  1118. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  1119. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  1120. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  1121. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  1122. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/errors.ts +0 -13
  1123. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/external.ts +0 -6
  1124. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  1125. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  1126. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  1127. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  1128. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  1129. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/util.ts +0 -224
  1130. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/index.ts +0 -4
  1131. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/locales/en.ts +0 -124
  1132. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/standard-schema.ts +0 -113
  1133. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  1134. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  1135. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  1136. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  1137. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  1138. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  1139. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  1140. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  1141. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  1142. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  1143. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  1144. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  1145. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  1146. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  1147. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  1148. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  1149. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  1150. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  1151. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  1152. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/error.test.ts +0 -586
  1153. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  1154. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  1155. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  1156. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  1157. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  1158. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
  1159. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  1160. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
  1161. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  1162. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  1163. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  1164. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  1165. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  1166. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  1167. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  1168. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  1169. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  1170. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  1171. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object.test.ts +0 -431
  1172. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  1173. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  1174. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  1175. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  1176. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  1177. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  1178. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  1179. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  1180. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  1181. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
  1182. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  1183. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  1184. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  1185. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  1186. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  1187. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  1188. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/string.test.ts +0 -922
  1189. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  1190. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  1191. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  1192. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  1193. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  1194. package/skills/poteto-mode/scripts/node_modules/zod/src/v3/types.ts +0 -5138
  1195. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/checks.ts +0 -33
  1196. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  1197. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/compat.ts +0 -78
  1198. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
  1199. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/errors.ts +0 -97
  1200. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/external.ts +0 -57
  1201. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
  1202. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/in-out.ts +0 -45
  1203. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/index.ts +0 -5
  1204. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/iso.ts +0 -20
  1205. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/parse.ts +0 -88
  1206. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
  1207. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  1208. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
  1209. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -291
  1210. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
  1211. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  1212. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  1213. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  1214. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
  1215. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  1216. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
  1217. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  1218. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
  1219. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
  1220. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  1221. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  1222. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
  1223. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  1224. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
  1225. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
  1226. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
  1227. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
  1228. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
  1229. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
  1230. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  1231. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  1232. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
  1233. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
  1234. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
  1235. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
  1236. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
  1237. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  1238. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  1239. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  1240. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
  1241. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
  1242. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  1243. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
  1244. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
  1245. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
  1246. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
  1247. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
  1248. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
  1249. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
  1250. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
  1251. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
  1252. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
  1253. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  1254. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
  1255. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
  1256. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  1257. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  1258. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -349
  1259. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  1260. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  1261. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  1262. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  1263. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
  1264. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
  1265. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
  1266. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
  1267. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
  1268. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  1269. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  1270. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
  1271. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
  1272. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  1273. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  1274. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  1275. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
  1276. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  1277. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
  1278. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
  1279. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
  1280. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
  1281. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
  1282. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  1283. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -196
  1284. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
  1285. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  1286. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
  1287. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
  1288. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
  1289. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  1290. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
  1291. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  1292. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
  1293. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
  1294. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  1295. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
  1296. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  1297. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  1298. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/api.ts +0 -1875
  1299. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/checks.ts +0 -1266
  1300. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/compile.ts +0 -2322
  1301. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/core.ts +0 -230
  1302. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/doc.ts +0 -52
  1303. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/errors.ts +0 -543
  1304. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/index.ts +0 -19
  1305. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
  1306. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
  1307. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema.ts +0 -148
  1308. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/memoizer.ts +0 -331
  1309. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/parse.ts +0 -309
  1310. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/regexes.ts +0 -217
  1311. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/registries.ts +0 -105
  1312. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/schemas.ts +0 -5226
  1313. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  1314. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
  1315. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
  1316. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
  1317. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
  1318. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
  1319. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
  1320. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
  1321. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
  1322. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  1323. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  1324. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  1325. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
  1326. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  1327. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
  1328. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  1329. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  1330. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  1331. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  1332. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
  1333. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  1334. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
  1335. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
  1336. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  1337. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  1338. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
  1339. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  1340. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  1341. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
  1342. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
  1343. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
  1344. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/util.ts +0 -1293
  1345. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/versions.ts +0 -5
  1346. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/visit.ts +0 -193
  1347. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/zsf.ts +0 -323
  1348. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/index.ts +0 -4
  1349. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ar.ts +0 -120
  1350. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/az.ts +0 -116
  1351. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/be.ts +0 -188
  1352. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/bg.ts +0 -133
  1353. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/bn.ts +0 -123
  1354. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ca.ts +0 -121
  1355. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ckb.ts +0 -140
  1356. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/cs.ts +0 -123
  1357. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/da.ts +0 -128
  1358. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/de.ts +0 -121
  1359. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/el.ts +0 -124
  1360. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/en.ts +0 -136
  1361. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/eo.ts +0 -123
  1362. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/es.ts +0 -145
  1363. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fa.ts +0 -131
  1364. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fi.ts +0 -126
  1365. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
  1366. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fr.ts +0 -139
  1367. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/gu.ts +0 -123
  1368. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/he.ts +0 -253
  1369. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hi.ts +0 -126
  1370. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hr.ts +0 -135
  1371. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hu.ts +0 -122
  1372. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hy.ts +0 -175
  1373. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/id.ts +0 -120
  1374. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/index.ts +0 -63
  1375. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/is.ts +0 -124
  1376. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/it.ts +0 -121
  1377. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ja.ts +0 -119
  1378. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ka.ts +0 -128
  1379. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/kh.ts +0 -7
  1380. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/km.ts +0 -124
  1381. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/kn.ts +0 -126
  1382. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ko.ts +0 -126
  1383. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/lt.ts +0 -243
  1384. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/mk.ts +0 -123
  1385. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ms.ts +0 -120
  1386. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ne.ts +0 -128
  1387. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/nl.ts +0 -126
  1388. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/nn.ts +0 -121
  1389. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/no.ts +0 -121
  1390. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ota.ts +0 -122
  1391. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pl.ts +0 -123
  1392. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ps.ts +0 -131
  1393. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
  1394. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pt.ts +0 -159
  1395. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ro.ts +0 -132
  1396. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ru.ts +0 -188
  1397. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sk.ts +0 -123
  1398. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sl.ts +0 -123
  1399. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sv.ts +0 -124
  1400. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ta.ts +0 -123
  1401. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tg.ts +0 -135
  1402. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/th.ts +0 -124
  1403. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tk.ts +0 -113
  1404. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tr.ts +0 -116
  1405. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ua.ts +0 -7
  1406. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/uk.ts +0 -122
  1407. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ur.ts +0 -124
  1408. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/uz.ts +0 -120
  1409. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/vi.ts +0 -122
  1410. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/yo.ts +0 -129
  1411. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
  1412. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
  1413. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/checks.ts +0 -33
  1414. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  1415. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
  1416. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/external.ts +0 -52
  1417. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/in-out.ts +0 -45
  1418. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/index.ts +0 -3
  1419. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/iso.ts +0 -66
  1420. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/parse.ts +0 -16
  1421. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
  1422. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
  1423. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
  1424. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  1425. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
  1426. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
  1427. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
  1428. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
  1429. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
  1430. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
  1431. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
  1432. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
  1433. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
  1434. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
  1435. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  1436. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
  1437. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  1438. package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
  1439. package/skills/poteto-mode/scripts/node_modules/zod/src/v4-mini/index.ts +0 -3
  1440. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.cjs +0 -167
  1441. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.d.cts +0 -164
  1442. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.d.ts +0 -164
  1443. package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.js +0 -143
  1444. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.cjs +0 -36
  1445. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.d.cts +0 -5
  1446. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.d.ts +0 -5
  1447. package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.js +0 -9
  1448. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.cjs +0 -41
  1449. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.d.cts +0 -6
  1450. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.d.ts +0 -6
  1451. package/skills/poteto-mode/scripts/node_modules/zod/v3/external.js +0 -6
  1452. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.cjs +0 -21
  1453. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  1454. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  1455. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  1456. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.cjs +0 -28
  1457. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  1458. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  1459. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  1460. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.cjs +0 -143
  1461. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  1462. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  1463. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  1464. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.cjs +0 -21
  1465. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  1466. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  1467. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  1468. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.cjs +0 -21
  1469. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  1470. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  1471. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  1472. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.cjs +0 -156
  1473. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.d.cts +0 -85
  1474. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.d.ts +0 -85
  1475. package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.js +0 -133
  1476. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.cjs +0 -52
  1477. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.d.cts +0 -4
  1478. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.d.ts +0 -4
  1479. package/skills/poteto-mode/scripts/node_modules/zod/v3/index.js +0 -4
  1480. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.cjs +0 -112
  1481. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.d.cts +0 -3
  1482. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.d.ts +0 -3
  1483. package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.js +0 -109
  1484. package/skills/poteto-mode/scripts/node_modules/zod/v3/package.json +0 -7
  1485. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.cjs +0 -21
  1486. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.d.cts +0 -102
  1487. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.d.ts +0 -102
  1488. package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.js +0 -1
  1489. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.cjs +0 -3798
  1490. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.d.cts +0 -1034
  1491. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.d.ts +0 -1034
  1492. package/skills/poteto-mode/scripts/node_modules/zod/v3/types.js +0 -3697
  1493. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.cjs +0 -53
  1494. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.d.cts +0 -1
  1495. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.d.ts +0 -1
  1496. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.js +0 -1
  1497. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.cjs +0 -66
  1498. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  1499. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  1500. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.js +0 -17
  1501. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.cjs +0 -80
  1502. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.d.cts +0 -48
  1503. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.d.ts +0 -48
  1504. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.js +0 -31
  1505. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
  1506. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.d.cts +0 -14
  1507. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.d.ts +0 -14
  1508. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.js +0 -13
  1509. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.cjs +0 -102
  1510. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.d.cts +0 -29
  1511. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.d.ts +0 -29
  1512. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.js +0 -57
  1513. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.cjs +0 -97
  1514. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.d.cts +0 -19
  1515. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.d.ts +0 -19
  1516. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.js +0 -17
  1517. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.cjs +0 -926
  1518. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  1519. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  1520. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.js +0 -881
  1521. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.cjs +0 -82
  1522. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.d.cts +0 -8
  1523. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.d.ts +0 -8
  1524. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.js +0 -36
  1525. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.cjs +0 -52
  1526. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.d.cts +0 -3
  1527. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.d.ts +0 -3
  1528. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.js +0 -4
  1529. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.cjs +0 -68
  1530. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.d.cts +0 -7
  1531. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.d.ts +0 -7
  1532. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.js +0 -15
  1533. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/package.json +0 -7
  1534. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.cjs +0 -63
  1535. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.d.cts +0 -44
  1536. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.d.ts +0 -44
  1537. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.js +0 -16
  1538. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.cjs +0 -1676
  1539. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.d.cts +0 -816
  1540. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.d.ts +0 -816
  1541. package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.js +0 -1535
  1542. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.cjs +0 -1269
  1543. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.d.cts +0 -335
  1544. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.d.ts +0 -335
  1545. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.js +0 -1107
  1546. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.cjs +0 -561
  1547. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.d.cts +0 -294
  1548. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.d.ts +0 -294
  1549. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.js +0 -516
  1550. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.cjs +0 -1916
  1551. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.d.cts +0 -65
  1552. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.d.ts +0 -65
  1553. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.js +0 -1866
  1554. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.cjs +0 -167
  1555. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.d.cts +0 -82
  1556. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.d.ts +0 -82
  1557. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.js +0 -141
  1558. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.cjs +0 -61
  1559. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.d.cts +0 -16
  1560. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.d.ts +0 -16
  1561. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.js +0 -38
  1562. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.cjs +0 -317
  1563. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.d.cts +0 -225
  1564. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.d.ts +0 -225
  1565. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.js +0 -267
  1566. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.cjs +0 -70
  1567. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.d.cts +0 -19
  1568. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.d.ts +0 -19
  1569. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.js +0 -19
  1570. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.cjs +0 -122
  1571. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  1572. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  1573. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.js +0 -99
  1574. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.cjs +0 -929
  1575. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -65
  1576. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -65
  1577. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.js +0 -843
  1578. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.cjs +0 -21
  1579. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.d.cts +0 -89
  1580. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.d.ts +0 -89
  1581. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.js +0 -1
  1582. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.cjs +0 -360
  1583. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.d.cts +0 -15
  1584. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.d.ts +0 -15
  1585. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.js +0 -311
  1586. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/package.json +0 -7
  1587. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.cjs +0 -233
  1588. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.d.cts +0 -52
  1589. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.d.ts +0 -52
  1590. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.js +0 -175
  1591. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.cjs +0 -209
  1592. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.d.cts +0 -90
  1593. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.d.ts +0 -90
  1594. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.js +0 -156
  1595. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.cjs +0 -75
  1596. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.d.cts +0 -35
  1597. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.d.ts +0 -35
  1598. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.js +0 -51
  1599. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.cjs +0 -2699
  1600. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.d.cts +0 -1275
  1601. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.d.ts +0 -1275
  1602. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.js +0 -2636
  1603. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.cjs +0 -21
  1604. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  1605. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  1606. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.js +0 -1
  1607. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.cjs +0 -681
  1608. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.d.cts +0 -154
  1609. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.d.ts +0 -154
  1610. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.js +0 -651
  1611. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.cjs +0 -964
  1612. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.d.cts +0 -280
  1613. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.d.ts +0 -280
  1614. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.js +0 -873
  1615. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.cjs +0 -27
  1616. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.d.cts +0 -5
  1617. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.d.ts +0 -5
  1618. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.js +0 -5
  1619. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.cjs +0 -214
  1620. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.d.cts +0 -30
  1621. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.d.ts +0 -30
  1622. package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.js +0 -169
  1623. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.cjs +0 -51
  1624. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.d.cts +0 -3
  1625. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.d.ts +0 -3
  1626. package/skills/poteto-mode/scripts/node_modules/zod/v4/index.js +0 -4
  1627. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.cjs +0 -138
  1628. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.d.cts +0 -5
  1629. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.d.ts +0 -4
  1630. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.js +0 -111
  1631. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.cjs +0 -137
  1632. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.d.cts +0 -5
  1633. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.d.ts +0 -4
  1634. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.js +0 -110
  1635. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.cjs +0 -195
  1636. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.d.cts +0 -5
  1637. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.d.ts +0 -4
  1638. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.js +0 -168
  1639. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.cjs +0 -152
  1640. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.d.cts +0 -5
  1641. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.d.ts +0 -4
  1642. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.js +0 -125
  1643. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.cjs +0 -140
  1644. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.d.cts +0 -5
  1645. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.d.ts +0 -4
  1646. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.js +0 -113
  1647. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.cjs +0 -139
  1648. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.d.cts +0 -5
  1649. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.d.ts +0 -4
  1650. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.js +0 -112
  1651. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.cjs +0 -160
  1652. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.d.cts +0 -5
  1653. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.d.ts +0 -4
  1654. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.js +0 -133
  1655. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.cjs +0 -143
  1656. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.d.cts +0 -5
  1657. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.d.ts +0 -4
  1658. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.js +0 -116
  1659. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.cjs +0 -147
  1660. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.d.cts +0 -5
  1661. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.d.ts +0 -4
  1662. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.js +0 -120
  1663. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.cjs +0 -140
  1664. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.d.cts +0 -5
  1665. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.d.ts +0 -4
  1666. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.js +0 -113
  1667. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.cjs +0 -139
  1668. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.d.cts +0 -5
  1669. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.d.ts +0 -4
  1670. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.js +0 -112
  1671. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.cjs +0 -152
  1672. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.d.cts +0 -5
  1673. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.d.ts +0 -4
  1674. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.js +0 -125
  1675. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.cjs +0 -141
  1676. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.d.cts +0 -5
  1677. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.d.ts +0 -4
  1678. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.js +0 -114
  1679. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.cjs +0 -163
  1680. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.d.cts +0 -5
  1681. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.d.ts +0 -4
  1682. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.js +0 -136
  1683. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.cjs +0 -146
  1684. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.d.cts +0 -5
  1685. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.d.ts +0 -4
  1686. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.js +0 -119
  1687. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.cjs +0 -144
  1688. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.d.cts +0 -5
  1689. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.d.ts +0 -4
  1690. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.js +0 -117
  1691. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.cjs +0 -139
  1692. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  1693. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  1694. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.js +0 -112
  1695. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.cjs +0 -156
  1696. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.d.cts +0 -5
  1697. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.d.ts +0 -4
  1698. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.js +0 -129
  1699. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.cjs +0 -140
  1700. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.d.cts +0 -5
  1701. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.d.ts +0 -4
  1702. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.js +0 -113
  1703. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.cjs +0 -248
  1704. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.d.cts +0 -5
  1705. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.d.ts +0 -4
  1706. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.js +0 -221
  1707. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.cjs +0 -138
  1708. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.d.cts +0 -5
  1709. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.d.ts +0 -4
  1710. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.js +0 -111
  1711. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.cjs +0 -153
  1712. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.d.cts +0 -5
  1713. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.d.ts +0 -4
  1714. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.js +0 -126
  1715. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.cjs +0 -140
  1716. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.d.cts +0 -5
  1717. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.d.ts +0 -4
  1718. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.js +0 -113
  1719. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.cjs +0 -185
  1720. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.d.cts +0 -5
  1721. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.d.ts +0 -4
  1722. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.js +0 -158
  1723. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.cjs +0 -138
  1724. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.d.cts +0 -5
  1725. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.d.ts +0 -4
  1726. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.js +0 -111
  1727. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.cjs +0 -152
  1728. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.d.cts +0 -63
  1729. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.d.ts +0 -63
  1730. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.js +0 -63
  1731. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.cjs +0 -141
  1732. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.d.cts +0 -5
  1733. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.d.ts +0 -4
  1734. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.js +0 -114
  1735. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.cjs +0 -140
  1736. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.d.cts +0 -5
  1737. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.d.ts +0 -4
  1738. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.js +0 -113
  1739. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.cjs +0 -139
  1740. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.d.cts +0 -5
  1741. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.d.ts +0 -4
  1742. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.js +0 -112
  1743. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.cjs +0 -144
  1744. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.d.cts +0 -5
  1745. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.d.ts +0 -4
  1746. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.js +0 -117
  1747. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.cjs +0 -12
  1748. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.d.cts +0 -5
  1749. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.d.ts +0 -5
  1750. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.js +0 -5
  1751. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.cjs +0 -142
  1752. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.d.cts +0 -5
  1753. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.d.ts +0 -4
  1754. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.js +0 -115
  1755. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.cjs +0 -143
  1756. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.d.cts +0 -5
  1757. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.d.ts +0 -4
  1758. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.js +0 -116
  1759. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.cjs +0 -143
  1760. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.d.cts +0 -5
  1761. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1762. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.js +0 -116
  1763. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.cjs +0 -234
  1764. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.d.cts +0 -5
  1765. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.d.ts +0 -4
  1766. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.js +0 -207
  1767. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.cjs +0 -141
  1768. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.d.cts +0 -5
  1769. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1770. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.js +0 -114
  1771. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.cjs +0 -139
  1772. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.d.cts +0 -5
  1773. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1774. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.js +0 -112
  1775. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.cjs +0 -138
  1776. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.d.cts +0 -5
  1777. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.d.ts +0 -4
  1778. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.js +0 -111
  1779. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.cjs +0 -142
  1780. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.d.cts +0 -5
  1781. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1782. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.js +0 -115
  1783. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.cjs +0 -140
  1784. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.d.cts +0 -5
  1785. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.d.ts +0 -4
  1786. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.js +0 -113
  1787. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.cjs +0 -140
  1788. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.d.cts +0 -5
  1789. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.d.ts +0 -4
  1790. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.js +0 -113
  1791. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.cjs +0 -141
  1792. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.d.cts +0 -5
  1793. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1794. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.js +0 -114
  1795. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/package.json +0 -7
  1796. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.cjs +0 -141
  1797. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.d.cts +0 -5
  1798. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1799. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.js +0 -114
  1800. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.cjs +0 -146
  1801. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.d.cts +0 -5
  1802. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1803. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.js +0 -119
  1804. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
  1805. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.d.cts +0 -5
  1806. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.d.ts +0 -4
  1807. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.js +0 -143
  1808. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.cjs +0 -169
  1809. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.d.cts +0 -5
  1810. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1811. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.js +0 -142
  1812. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.cjs +0 -149
  1813. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.d.cts +0 -5
  1814. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.d.ts +0 -4
  1815. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.js +0 -122
  1816. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.cjs +0 -195
  1817. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.d.cts +0 -5
  1818. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1819. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.js +0 -168
  1820. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.cjs +0 -143
  1821. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.d.cts +0 -5
  1822. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.d.ts +0 -4
  1823. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.js +0 -116
  1824. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.cjs +0 -141
  1825. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.d.cts +0 -5
  1826. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1827. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.js +0 -114
  1828. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.cjs +0 -142
  1829. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.d.cts +0 -5
  1830. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1831. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.js +0 -115
  1832. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.cjs +0 -142
  1833. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.d.cts +0 -5
  1834. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1835. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.js +0 -115
  1836. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.cjs +0 -144
  1837. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.d.cts +0 -5
  1838. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.d.ts +0 -4
  1839. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.js +0 -117
  1840. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.cjs +0 -142
  1841. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.d.cts +0 -5
  1842. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.d.ts +0 -4
  1843. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.js +0 -115
  1844. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.cjs +0 -134
  1845. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.d.cts +0 -5
  1846. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.d.ts +0 -4
  1847. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.js +0 -107
  1848. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.cjs +0 -137
  1849. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1850. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.d.ts +0 -4
  1851. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.js +0 -110
  1852. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.cjs +0 -12
  1853. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.d.cts +0 -5
  1854. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.d.ts +0 -5
  1855. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.js +0 -5
  1856. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.cjs +0 -140
  1857. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.d.cts +0 -5
  1858. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.d.ts +0 -4
  1859. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.js +0 -113
  1860. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.cjs +0 -142
  1861. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1862. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1863. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.js +0 -115
  1864. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.cjs +0 -140
  1865. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1866. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1867. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.js +0 -113
  1868. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.cjs +0 -140
  1869. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1870. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1871. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.js +0 -113
  1872. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.cjs +0 -139
  1873. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1874. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1875. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.js +0 -112
  1876. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.cjs +0 -141
  1877. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1878. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1879. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.js +0 -114
  1880. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.cjs +0 -139
  1881. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1882. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1883. package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.js +0 -112
  1884. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.cjs +0 -54
  1885. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1886. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1887. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.js +0 -1
  1888. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.cjs +0 -71
  1889. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1890. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1891. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.js +0 -22
  1892. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
  1893. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.d.cts +0 -14
  1894. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.d.ts +0 -14
  1895. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.js +0 -13
  1896. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.cjs +0 -95
  1897. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.d.cts +0 -16
  1898. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.d.ts +0 -16
  1899. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.js +0 -16
  1900. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.cjs +0 -82
  1901. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.d.cts +0 -8
  1902. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.d.ts +0 -8
  1903. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.js +0 -36
  1904. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.cjs +0 -51
  1905. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.d.cts +0 -3
  1906. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.d.ts +0 -3
  1907. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.js +0 -3
  1908. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.cjs +0 -83
  1909. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1910. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1911. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.js +0 -34
  1912. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/package.json +0 -7
  1913. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.cjs +0 -37
  1914. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1915. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1916. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.js +0 -1
  1917. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.cjs +0 -1147
  1918. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.d.cts +0 -480
  1919. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.d.ts +0 -480
  1920. package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.js +0 -1002
  1921. package/skills/poteto-mode/scripts/node_modules/zod/v4/package.json +0 -7
  1922. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.cjs +0 -51
  1923. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.d.cts +0 -3
  1924. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.d.ts +0 -3
  1925. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.js +0 -3
  1926. package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/package.json +0 -7
@@ -1,1866 +0,0 @@
1
- import { $ZodAsyncError } from "./core.js";
2
- import { Doc } from "./doc.js";
3
- import { isBackEdge, isRecursiveSchema } from "./memoizer.js";
4
- import * as regexes from "./regexes.js";
5
- import { isValidBase64, isValidBase64URL, isValidCIDRv6, isValidCreditCard, isValidIBAN, isValidIPv6, isValidJWT, mergeValues, stripTabAndNewline, urlHostnameOk, urlProtocolOk, validateURL, } from "./schemas.js";
6
- import * as util from "./util.js";
7
- /** @internal Sentinel the compiled fast path returns when validation fails. */
8
- export const INVALID = Symbol.for("zod.compile.invalid");
9
- // Set on the parse ctx when a compiled wrapper falls back to the runtime, so nested compiled wrappers skip their fast paths for the rest of that parse.
10
- const FALLBACK_FLAG = Symbol.for("zod.compile.fallback");
11
- /** Raised when the schema contains async refinements or transforms. Surfaces only under `compile(schema, { strict: true })`. */
12
- export class ZodCompileAsyncError extends Error {
13
- constructor(message = "z.compile does not support async refinements, transforms, or checks") {
14
- super(message);
15
- this.name = "ZodCompileAsyncError";
16
- }
17
- }
18
- /**
19
- * Raised when the schema contains a feature whose semantics the fast path
20
- * can't fully model. Both the shim in `zod/compile` and the default
21
- * `compile()` fall back to the runtime parser for that schema; only
22
- * `compile(schema, { strict: true })` lets it surface.
23
- */
24
- export class ZodCompileUnsupportedError extends Error {
25
- constructor(feature, islandable = true) {
26
- super(`z.compile does not support ${feature}; this schema must use the runtime parser`);
27
- this.name = "ZodCompileUnsupportedError";
28
- this.islandable = islandable;
29
- }
30
- }
31
- /**
32
- * Build the validator `validate` calls: the same codegen as the parser with the output construction
33
- * dropped. A schema the flag cannot express reuses the parser, which still answers correctly — it
34
- * just builds a value nothing reads.
35
- */
36
- function compileValidator(schema, parser) {
37
- try {
38
- return compileFn(schema, { assertOnly: true });
39
- }
40
- catch {
41
- return parser;
42
- }
43
- }
44
- /**
45
- * AOT-compile a Zod schema. Returns a clone whose `_zod.run` calls a generated
46
- * fast path first and falls back to the original runtime parser on failure.
47
- *
48
- * - Forward direction only. Backward (encode), async, and `skipChecks` paths
49
- * bypass the fast path and use the runtime directly.
50
- * - Never throws. A schema the fast path can't model is returned unchanged and
51
- * keeps using the runtime parser. Pass `{ strict: true }` to get the refusal
52
- * as a thrown `ZodCompileUnsupportedError` / `ZodCompileAsyncError` instead.
53
- * - The original schema is unchanged. The clone shares children by reference.
54
- */
55
- export function compile(schema, options) {
56
- try {
57
- const parser = compileFn(schema);
58
- const clone = withParser(schema, parser);
59
- // withParser leaves the parser as its own validator; the generated assert-only variant is better when we have one
60
- clone._zod.bag.validator = compileValidator(schema, parser);
61
- return clone;
62
- }
63
- catch (err) {
64
- if (options?.strict)
65
- throw err;
66
- // a schema we can't compile still has to work, so hand it back untouched on the runtime parser — the same silent fallback global mode already does
67
- return schema;
68
- }
69
- }
70
- /**
71
- * Install an already-generated parser as a schema's fast path. Returns a clone; the original is
72
- * unchanged.
73
- *
74
- * The parser takes the input and returns the parsed value, or `INVALID` to hand the parse to the
75
- * runtime. It must be synchronous and forward-direction, and it must build fresh output rather than
76
- * return its input — Zod cannot check either, and a wrong *success* is returned to the caller as-is.
77
- *
78
- * `compile()` is the ordinary entry point. This is for a build-time or native compiler that produces
79
- * a parser where `new Function` is unavailable.
80
- */
81
- export function withParser(schema, parser) {
82
- // generated code never receives the parse context, so only the runtime can close a reference cycle; compileFn refuses these too
83
- if (isRecursiveSchema(schema)) {
84
- throw new ZodCompileUnsupportedError("a schema whose subtree contains a reference cycle");
85
- }
86
- const clone = util.clone(schema);
87
- // Capture the source-of-truth runtime eagerly. If schema._zod.run is itself a shim installed by global-mode (`__originalRun` set), unwrap past it. Otherwise capturing the live property lazily would let a later self- replacement of schema._zod.run feed our wrapper back into itself.
88
- const liveRun = schema._zod.run;
89
- const originalRun = liveRun.__originalRun ?? liveRun;
90
- // Delegate to the *original* schema's run on bypass/fallback, not the clone's. The original closed over its own `inst` at construction time, and issue payloads use that reference to derive things like the class name for `z.instanceof(Test)`; calling the clone's freshly-initialized run would push issues with `inst === clone` and diverge from the original schema's error messages.
91
- const wrapped = (payload, ctx) => {
92
- if (ctx?.async ||
93
- ctx?.direction === "backward" ||
94
- ctx?.skipChecks ||
95
- ctx?.[FALLBACK_FLAG]) {
96
- return originalRun(payload, ctx);
97
- }
98
- // A memoized back-edge: only the runtime can close a reference cycle, and a transform on one must raise $ZodCyclicError from its own parse.
99
- if (ctx && isBackEdge(ctx, payload.value)) {
100
- return originalRun(payload, ctx);
101
- }
102
- const out = parser(payload.value);
103
- if (out !== INVALID) {
104
- payload.value = out;
105
- return payload;
106
- }
107
- // Mark this parse as runtime-driven: under global mode every nested schema carries its own compiled wrapper, and without the flag the parent's runtime fallback re-enters each child's fast path, running user callbacks a third time on invalid input.
108
- if (ctx)
109
- ctx[FALLBACK_FLAG] = true;
110
- return originalRun(payload, ctx);
111
- };
112
- // Let later compiles of (or through) this run unwrap to the true runtime — both the global shim and repeated z.compile calls rely on this. The bag also carries the parser and the validator, so the standalone validate can skip the payload and wrapper on the happy path.
113
- wrapped.__originalRun = originalRun;
114
- clone._zod.bag.fallbackRun = originalRun;
115
- // a supplied parser answers `validate` too: one implementation means parse and validate cannot disagree, and its undefined `definite` keeps the runtime re-parse on every rejection
116
- clone._zod.bag.validator = parser;
117
- clone._zod.run = wrapped;
118
- // The fast parse/safeParse closures fall back through the source schema's methods. If the source is shim- or wrapper-managed, those methods route into a compiled run and would execute user callbacks a third time on invalid input — the plain method → wrapper path is exactly 2x, so skip.
119
- if (!liveRun.__originalRun)
120
- installCompiledUserMethods(clone, schema, parser);
121
- return clone;
122
- }
123
- function installCompiledUserMethods(target, source, parser) {
124
- const targetAny = target;
125
- const sourceAny = source;
126
- if (typeof sourceAny.safeParse === "function") {
127
- const originalSafeParse = sourceAny.safeParse;
128
- targetAny.safeParse = (data, params) => {
129
- const out = parser(data);
130
- if (out !== INVALID) {
131
- return { success: true, data: out };
132
- }
133
- return originalSafeParse(data, params);
134
- };
135
- }
136
- if (typeof sourceAny.parse === "function") {
137
- const originalParse = sourceAny.parse;
138
- targetAny.parse = (data, params) => {
139
- const out = parser(data);
140
- if (out !== INVALID) {
141
- return out;
142
- }
143
- return originalParse(data, params);
144
- };
145
- }
146
- }
147
- /**
148
- * @internal Generate the standalone compiled function: a parser by default, a validator under
149
- * `assertOnly`. Returns the parsed value, `true` where nothing reads the output, or `INVALID`. Consumers use `compile()`.
150
- */
151
- export function compileFn(schema, options) {
152
- // Cycle-breaking is keyed on the parse context, which generated code never receives. `shape` can be a getter that throws (z.pick() with an unrecognized mask key), so treat "can't tell" as recursive.
153
- let recursive = true;
154
- try {
155
- recursive = isRecursiveSchema(schema);
156
- }
157
- catch { }
158
- if (recursive) {
159
- throw new ZodCompileUnsupportedError("a schema whose subtree contains a reference cycle");
160
- }
161
- const ctx = {
162
- constants: new Map(),
163
- constantCounter: 0,
164
- varCounter: 0,
165
- definite: true,
166
- };
167
- const doc = new Doc(["input"]);
168
- const outputAccessor = generateCheck(doc, ctx, schema, "input", !options?.assertOnly);
169
- // In assert mode a root that built nothing has already returned INVALID on every failure, so reaching the end means valid.
170
- doc.write(outputAccessor === null ? `return true;` : `return ${outputAccessor};`);
171
- // Build the function with hoisted constants Always include INVALID as the first constant
172
- const constantNames = ["INVALID", ...ctx.constants.keys()];
173
- const constantValues = [INVALID, ...ctx.constants.values()];
174
- const code = doc.content.join("\n");
175
- const fullCode = options?.debug
176
- ? constantNames.length > 0
177
- ? `// Constants: ${constantNames.join(", ")}\n${code}`
178
- : code
179
- : "";
180
- const F = Function;
181
- const factoryCode = `return (input) => {\n${code}\n}`;
182
- let fn;
183
- try {
184
- const factory = new F(...constantNames, factoryCode);
185
- fn = factory(...constantValues);
186
- }
187
- catch (err) {
188
- // Malformed generated code (or a CSP environment rejecting `new Function`) surfaces as a typed error so the global shim falls back to the runtime instead of crashing with a raw SyntaxError/EvalError.
189
- throw new ZodCompileUnsupportedError(`this schema (generated code failed to evaluate: ${err.message})`);
190
- }
191
- if (options?.debug) {
192
- fn.code = fullCode;
193
- }
194
- fn.definite = ctx.definite;
195
- return fn;
196
- }
197
- function addConstant(ctx, value) {
198
- // Check if we already have this constant
199
- for (const [name, v] of ctx.constants) {
200
- if (v === value)
201
- return name;
202
- }
203
- const name = `c${ctx.constantCounter++}`;
204
- ctx.constants.set(name, value);
205
- return name;
206
- }
207
- /** Hoists a user-supplied callback. Anything the schema's author wrote can throw, and generated code can reject an earlier sibling before ever reaching it, so this clears `definite` — a rejection is then no longer proof that the interpreter would have rejected rather than thrown. */
208
- function addUserConstant(ctx, fn) {
209
- ctx.definite = false;
210
- return addConstant(ctx, fn);
211
- }
212
- function newVar(ctx) {
213
- return `v${ctx.varCounter++}`;
214
- }
215
- // Runs a child schema as a black box: its value, or INVALID for a failure or an async run.
216
- function runtimeRun(schema, value) {
217
- const result = schema._zod.run({ value, issues: [] }, {});
218
- if (result && typeof result.then === "function")
219
- return INVALID;
220
- const r = result;
221
- return r.issues.length === 0 ? r.value : INVALID;
222
- }
223
- // `null` means the node built no value because nothing reads it. The overloads keep that case out of the 20-odd callers that always want one, so only a caller passing needsValue has to handle it.
224
- function compileChild(doc, ctx, schema, accessor, needsValue = true) {
225
- const contentLen = doc.content.length;
226
- const constantCount = ctx.constants.size;
227
- const constantCounter = ctx.constantCounter;
228
- const varCounter = ctx.varCounter;
229
- try {
230
- return generateCheck(doc, ctx, schema, accessor, needsValue);
231
- }
232
- catch (err) {
233
- if (!(err instanceof ZodCompileUnsupportedError) || !err.islandable)
234
- throw err;
235
- doc.content.length = contentLen;
236
- if (ctx.constants.size > constantCount) {
237
- const trailing = Array.from(ctx.constants.keys()).slice(constantCount);
238
- for (const k of trailing)
239
- ctx.constants.delete(k);
240
- }
241
- ctx.constantCounter = constantCounter;
242
- ctx.varCounter = varCounter;
243
- return emitRuntimeIsland(doc, ctx, schema, accessor);
244
- }
245
- }
246
- function emitRuntimeIsland(doc, ctx, schema, accessor) {
247
- // an islanded child answers INVALID for an async run too, which the interpreter throws for
248
- ctx.definite = false;
249
- const schemaConst = addConstant(ctx, schema);
250
- const runConst = addConstant(ctx, runtimeRun);
251
- const outVar = newVar(ctx);
252
- doc.write(`const ${outVar} = ${runConst}(${schemaConst}, ${accessor});`);
253
- doc.write(`if (${outVar} === INVALID) return INVALID;`);
254
- return outVar;
255
- }
256
- // Check classes whose `when` is auto-defaulted at init (checks.ts `when ??=`).
257
- const WHEN_DEFAULTED_CHECKS = new Set([
258
- "max_size",
259
- "min_size",
260
- "size_equals",
261
- "max_length",
262
- "min_length",
263
- "length_equals",
264
- ]);
265
- function generateChecks(doc, ctx, schema, accessor) {
266
- const schemaChecks = schema._zod.def.checks;
267
- if (!schemaChecks || schemaChecks.length === 0)
268
- return accessor;
269
- // Track current accessor - may change if overwrite checks are encountered
270
- let currentAccessor = accessor;
271
- for (const check of schemaChecks) {
272
- const def = check._zod.def;
273
- // A custom `when` skips a check the fast path always runs; the one auto-defaulted on size/length classes matches its bail-on-first-failure.
274
- if (def.when && !WHEN_DEFAULTED_CHECKS.has(def.check)) {
275
- throw new ZodCompileUnsupportedError(`check with a custom "when" condition`);
276
- }
277
- switch (def.check) {
278
- case "greater_than":
279
- generateGreaterThanCheck(doc, ctx, def, currentAccessor);
280
- break;
281
- case "less_than":
282
- generateLessThanCheck(doc, ctx, def, currentAccessor);
283
- break;
284
- case "multiple_of":
285
- generateMultipleOfCheck(doc, ctx, def, currentAccessor);
286
- break;
287
- case "number_format":
288
- generateNumberFormatCheck(doc, def, currentAccessor);
289
- break;
290
- case "min_length": {
291
- const min = numericOperand(def.minimum, "min_length");
292
- const len = codePointLengthVar(doc, ctx, currentAccessor, `${currentAccessor}.length >= ${min} && ${currentAccessor}.length < ${def.minimum * 2}`);
293
- doc.write(`if (${len} < ${min}) return INVALID;`);
294
- break;
295
- }
296
- case "max_length": {
297
- const max = numericOperand(def.maximum, "max_length");
298
- const len = codePointLengthVar(doc, ctx, currentAccessor, `${currentAccessor}.length > ${max}`);
299
- doc.write(`if (${len} > ${max}) return INVALID;`);
300
- break;
301
- }
302
- case "length_equals": {
303
- const exact = numericOperand(def.length, "length_equals");
304
- const len = codePointLengthVar(doc, ctx, currentAccessor, `${currentAccessor}.length >= ${exact} && ${currentAccessor}.length <= ${def.length * 2}`);
305
- doc.write(`if (${len} !== ${exact}) return INVALID;`);
306
- break;
307
- }
308
- case "min_size":
309
- doc.write(`if (${currentAccessor}.size < ${numericOperand(def.minimum, "min_size")}) return INVALID;`);
310
- break;
311
- case "max_size":
312
- doc.write(`if (${currentAccessor}.size > ${numericOperand(def.maximum, "max_size")}) return INVALID;`);
313
- break;
314
- case "size_equals":
315
- doc.write(`if (${currentAccessor}.size !== ${numericOperand(def.size, "size_equals")}) return INVALID;`);
316
- break;
317
- case "string_format":
318
- currentAccessor = generateStringFormatCheck(doc, ctx, def, currentAccessor);
319
- break;
320
- case "custom":
321
- currentAccessor = generateCustomRefineCheck(doc, ctx, check, currentAccessor);
322
- break;
323
- case "bigint_format":
324
- generateBigIntFormatCheck(doc, def, currentAccessor);
325
- break;
326
- case "mime_type":
327
- generateMimeTypeCheck(doc, ctx, def, currentAccessor);
328
- break;
329
- case "property":
330
- generatePropertyCheck(doc, ctx, def, currentAccessor);
331
- break;
332
- case "properties":
333
- generatePropertiesChecks(doc, ctx, def, currentAccessor);
334
- break;
335
- case "overwrite": {
336
- // Overwrite transforms the value - create new variable for transformed result
337
- const newAccessor = newVar(ctx);
338
- generateOverwriteCheck(doc, ctx, check, currentAccessor, newAccessor);
339
- currentAccessor = newAccessor;
340
- break;
341
- }
342
- default: {
343
- void def;
344
- throw new ZodCompileUnsupportedError(`check type ${def.check}`);
345
- }
346
- }
347
- }
348
- return currentAccessor;
349
- }
350
- // Emit the length operand for a length check, mirroring `$ZodCheckMinLength` and friends: strings measure in code points, everything else in `.length`. `inDoubt` is the caller's cheap UTF-16 bound test — outside it the unit count already settles the comparison, so the scan is skipped.
351
- function codePointLengthVar(doc, ctx, accessor, inDoubt) {
352
- const cpLen = addConstant(ctx, util.codePointLength);
353
- const v = newVar(ctx);
354
- doc.write(`const ${v} = typeof ${accessor} === "string" && ${inDoubt} ? ${cpLen}(${accessor}) : ${accessor}.length;`);
355
- return v;
356
- }
357
- // Emit a source operand for a gt/lt bound. Numbers inline; Dates hoist as a constant (relational operators compare via valueOf). NaN and Invalid Date bounds can't compile to a comparison that matches runtime semantics.
358
- /**
359
- * A count bound reaches generated source verbatim, so a non-number would be
360
- * emitted as code rather than as a value — `min('0) {} evil(); if (0')` writes an
361
- * arbitrary statement into the function body. TypeScript types these as `number`
362
- * and fromJSONSchema guards them, so this is a backstop rather than a live hole,
363
- * but generated source is the one place a wrong type stops being a type error.
364
- */
365
- function numericOperand(value, label) {
366
- if (typeof value !== "number" || !Number.isFinite(value)) {
367
- throw new ZodCompileUnsupportedError(`${label} bound of type ${typeof value}`);
368
- }
369
- return `${value}`;
370
- }
371
- function comparisonOperand(ctx, value) {
372
- if (typeof value === "bigint")
373
- return `${value}n`;
374
- if (typeof value === "number") {
375
- if (Number.isNaN(value))
376
- throw new ZodCompileUnsupportedError("comparison check with NaN bound");
377
- return `${value}`;
378
- }
379
- if (value instanceof Date) {
380
- if (Number.isNaN(value.getTime())) {
381
- throw new ZodCompileUnsupportedError("comparison check with Invalid Date bound");
382
- }
383
- return addConstant(ctx, value);
384
- }
385
- throw new ZodCompileUnsupportedError(`comparison check bound of type ${typeof value}`);
386
- }
387
- function generateGreaterThanCheck(doc, ctx, def, accessor) {
388
- const op = def.inclusive ? "<" : "<=";
389
- doc.write(`if (${accessor} ${op} ${comparisonOperand(ctx, def.value)}) return INVALID;`);
390
- }
391
- function generateLessThanCheck(doc, ctx, def, accessor) {
392
- const op = def.inclusive ? ">" : ">=";
393
- doc.write(`if (${accessor} ${op} ${comparisonOperand(ctx, def.value)}) return INVALID;`);
394
- }
395
- function generateMultipleOfCheck(doc, ctx, def, accessor) {
396
- if (typeof def.value === "bigint") {
397
- // a zero divisor has no compiled form: `x % 0n` throws
398
- if (def.value === BigInt(0))
399
- throw new ZodCompileUnsupportedError("multiple_of check with a zero divisor");
400
- doc.write(`if (${accessor} % ${def.value}n !== 0n) return INVALID;`);
401
- }
402
- else {
403
- // Float `%` has well-known precision issues for sub-integer steps
404
- // (`1.5 % 0.1`, `2.5e-7 % 1e-7`). Defer to util.floatSafeRemainder so the
405
- // exact tolerance logic stays in one place — single function call is fine
406
- // since `multipleOf` runs at most once per number.
407
- const remainder = addConstant(ctx, util.floatSafeRemainder);
408
- doc.write(`if (${remainder}(${accessor}, ${numericOperand(def.value, "multiple_of")}) !== 0) return INVALID;`);
409
- }
410
- }
411
- function generateNumberFormatCheck(doc, def, accessor) {
412
- const format = def.format;
413
- switch (format) {
414
- case "safeint":
415
- doc.write(`if (!Number.isSafeInteger(${accessor})) return INVALID;`);
416
- break;
417
- case "int32":
418
- doc.write(`if (!Number.isInteger(${accessor}) || ${accessor} < -2147483648 || ${accessor} > 2147483647) return INVALID;`);
419
- break;
420
- case "uint32":
421
- doc.write(`if (!Number.isInteger(${accessor}) || ${accessor} < 0 || ${accessor} > 4294967295) return INVALID;`);
422
- break;
423
- case "float32":
424
- // Float32 range per util.NUMBER_FORMAT_RANGES
425
- doc.write(`if (!Number.isFinite(${accessor}) || ${accessor} < -3.4028234663852886e38 || ${accessor} > 3.4028234663852886e38) return INVALID;`);
426
- break;
427
- case "float64":
428
- doc.write(`if (!Number.isFinite(${accessor})) return INVALID;`);
429
- break;
430
- default: {
431
- void format;
432
- throw new ZodCompileUnsupportedError(`number format ${format}`);
433
- }
434
- }
435
- }
436
- function generateBigIntFormatCheck(doc, def, accessor) {
437
- const format = def.format;
438
- if (!format)
439
- return; // undefined format means no range check
440
- switch (format) {
441
- case "int64":
442
- doc.write(`if (${accessor} < -9223372036854775808n || ${accessor} > 9223372036854775807n) return INVALID;`);
443
- break;
444
- case "uint64":
445
- doc.write(`if (${accessor} < 0n || ${accessor} > 18446744073709551615n) return INVALID;`);
446
- break;
447
- default: {
448
- void format;
449
- throw new ZodCompileUnsupportedError(`bigint format ${format}`);
450
- }
451
- }
452
- }
453
- function generateMimeTypeCheck(doc, ctx, def, accessor) {
454
- const mimeTypes = def.mime;
455
- if (mimeTypes && mimeTypes.length > 0) {
456
- const mimeSet = addConstant(ctx, new Set(mimeTypes));
457
- doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
458
- }
459
- }
460
- // asserts each named property in place; children compile assert-only because z.properties never rebuilds its input
461
- function generatePropertiesChecks(doc, ctx, def, accessor) {
462
- // a custom `when` gates the assertion at runtime; inside a union a wrongly-run branch is absorbed as a branch failure rather than falling back, so refuse at codegen
463
- if (def.when) {
464
- throw new ZodCompileUnsupportedError(`check with a custom "when" condition`);
465
- }
466
- // matches the runtime gate: the base schema already typed the value, so only a nullish one is rejected
467
- doc.write(`if (${accessor} == null) return INVALID;`);
468
- const shape = def.shape;
469
- for (const key of Reflect.ownKeys(shape)) {
470
- // a symbol has no source literal, so it is hoisted as a constant
471
- const keyExpr = typeof key === "symbol" ? addConstant(ctx, key) : util.esc(key);
472
- // cache the property read so a getter runs exactly once, matching the runtime
473
- const inputVar = newVar(ctx);
474
- doc.write(`const ${inputVar} = ${accessor}[${keyExpr}];`);
475
- compileChild(doc, ctx, shape[key], inputVar, false);
476
- }
477
- }
478
- function generatePropertyCheck(doc, ctx, def, accessor) {
479
- const propAccessor = `${accessor}[${JSON.stringify(def.property)}]`;
480
- generateCheck(doc, ctx, def.schema, propAccessor);
481
- }
482
- function generateOverwriteCheck(doc, ctx, check, currentAccessor, newAccessor) {
483
- const tx = check._zod.def.tx;
484
- if (!tx) {
485
- throw new ZodCompileUnsupportedError("overwrite check without a transform function");
486
- }
487
- // Check for async transform
488
- if (isAsyncFunction(tx)) {
489
- throw new ZodCompileAsyncError("z.compile: async overwrite transforms are not supported");
490
- }
491
- // Hoist the transform function as a constant and apply it
492
- const txConst = addConstant(ctx, tx);
493
- doc.write(`const ${newAccessor} = ${txConst}(${currentAccessor});`);
494
- }
495
- /** A predicate that hands back a thenable is an async check reached synchronously, and the interpreter throws `$ZodAsyncError` for it. Returning INVALID instead would be a bail-out, and a union reads a bail-out as a rejected branch and answers with a later one — so the throw has to survive into generated code. */
496
- function throwAsync() {
497
- throw new $ZodAsyncError();
498
- }
499
- /** Shared `addIssue` for the spoofed payloads a refine, check or transform receives. Allocating one per call — a fresh closure plus a `this`-bound method on a fresh literal — pinned every payload-allocating schema at ~2.7M ops/sec against 135M for a plain object literal. It captures nothing per call; it only reaches `this.issues`. */
500
- function pushIssue(issue) {
501
- this.issues.push(issue);
502
- }
503
- function generateCustomRefineCheck(doc, ctx, check, accessor) {
504
- const def = check._zod.def;
505
- if (def.fn) {
506
- // Simple predicate function (from .refine())
507
- if (isAsyncFunction(def.fn)) {
508
- throw new ZodCompileAsyncError("z.compile: async .refine() predicates are not supported");
509
- }
510
- const fnConst = addUserConstant(ctx, def.fn);
511
- const throwAsyncConst = addConstant(ctx, throwAsync);
512
- const resVar = newVar(ctx);
513
- doc.write(`const ${resVar} = ${fnConst}(${accessor});`);
514
- // A thenable is truthy, so it would otherwise read as a pass. It is not a rejection either: the interpreter throws, and INVALID inside a union would just hand the parse to the next branch.
515
- doc.write(`if (${resVar} instanceof Promise) ${throwAsyncConst}();`);
516
- doc.write(`if (!${resVar}) return INVALID;`);
517
- // A `.refine()` predicate only answers yes or no; it cannot rewrite the value.
518
- return accessor;
519
- }
520
- if (check._zod.check) {
521
- if (isAsyncFunction(check._zod.check)) {
522
- throw new ZodCompileAsyncError("z.compile: async .superRefine() / check functions are not supported");
523
- }
524
- // SuperRefine or other check function - need to spoof context Create a helper that runs the check and returns true if no issues
525
- const checkFn = check._zod.check;
526
- // `$RefinementCtx` extends the parse payload, so a check may rewrite
527
- // `ctx.value` as well as push issues — `.superRefine((v, ctx) => { ctx.value =
528
- // v.trim() })` is a value transform. Returning only a boolean discarded that
529
- // write and emitted the untrimmed input. Hand the value back and thread it on.
530
- const helperFn = (value) => {
531
- const fakePayload = { value, issues: [], addIssue: pushIssue };
532
- const result = checkFn(fakePayload);
533
- // Throw rather than return INVALID: the interpreter throws here, and a union would read INVALID as a rejected branch.
534
- if (result instanceof Promise)
535
- throwAsync();
536
- return fakePayload.issues.length === 0 ? fakePayload.value : INVALID;
537
- };
538
- const helperConst = addUserConstant(ctx, helperFn);
539
- const outVar = newVar(ctx);
540
- doc.write(`const ${outVar} = ${helperConst}(${accessor});`);
541
- doc.write(`if (${outVar} === INVALID) return INVALID;`);
542
- return outVar;
543
- }
544
- throw new ZodCompileUnsupportedError("custom check without a predicate or check function");
545
- }
546
- /**
547
- * Built-in formats that validate with nothing but `def.pattern`, so compiling
548
- * the regex reproduces the runtime exactly. Deliberately an allowlist: a format
549
- * missing from it loses its fast path, while a format wrongly added to it
550
- * silently accepts input the runtime rejects. Formats that layer extra
551
- * validation over a shape-only pattern (`credit_card`, `base64`, `ipv6`, …) are
552
- * handled above by hoisting the runtime validator itself.
553
- */
554
- const PATTERN_IS_COMPLETE = new Set([
555
- "cidrv4",
556
- "cuid",
557
- "cuid2",
558
- "date",
559
- "datetime",
560
- "duration",
561
- "e164",
562
- "email",
563
- "emoji",
564
- "ends_with",
565
- "guid",
566
- "includes",
567
- "ipv4",
568
- "ksuid",
569
- "lowercase",
570
- "mac",
571
- "nanoid",
572
- "regex",
573
- "starts_with",
574
- "time",
575
- "ulid",
576
- "uppercase",
577
- "uuid",
578
- "xid",
579
- ]);
580
- function generateStringFormatCheck(doc, ctx, def, accessor, needsValue = true) {
581
- // Some string formats do runtime validation beyond their advertised pattern. For cheap pure utility checks, hoist the runtime function and call it so the fast path stays correct without cloning the utility logic into codegen.
582
- const fmt = def.format;
583
- if (fmt === "base64") {
584
- const validator = addConstant(ctx, isValidBase64);
585
- doc.write(`if (!${validator}(${accessor})) return INVALID;`);
586
- return accessor;
587
- }
588
- if (fmt === "base64url") {
589
- const validator = addConstant(ctx, isValidBase64URL);
590
- doc.write(`if (!${validator}(${accessor})) return INVALID;`);
591
- return accessor;
592
- }
593
- if (fmt === "jwt") {
594
- const validator = addConstant(ctx, isValidJWT);
595
- const alg = addConstant(ctx, def.alg ?? null);
596
- doc.write(`if (!${validator}(${accessor}, ${alg})) return INVALID;`);
597
- return accessor;
598
- }
599
- if (fmt === "ipv6") {
600
- const validator = addConstant(ctx, isValidIPv6);
601
- doc.write(`if (!${validator}(${accessor})) return INVALID;`);
602
- return accessor;
603
- }
604
- if (fmt === "cidrv6") {
605
- const validator = addConstant(ctx, isValidCIDRv6);
606
- doc.write(`if (!${validator}(${accessor})) return INVALID;`);
607
- return accessor;
608
- }
609
- if (fmt === "credit_card") {
610
- const validator = addConstant(ctx, isValidCreditCard);
611
- doc.write(`if (!${validator}(${accessor})) return INVALID;`);
612
- return accessor;
613
- }
614
- if (fmt === "iban") {
615
- const validator = addConstant(ctx, isValidIBAN);
616
- doc.write(`if (!${validator}(${accessor})) return INVALID;`);
617
- return accessor;
618
- }
619
- const formatDef = def;
620
- if (fmt === "url" ||
621
- fmt === "httpurl" ||
622
- formatDef.normalize ||
623
- formatDef.hostname !== undefined ||
624
- formatDef.protocol !== undefined) {
625
- // Same three predicates the runtime calls, in the same order, so there is no second URL implementation to drift. Which options exist is known now, so the calls the runtime makes conditionally are emitted conditionally instead.
626
- const parseConst = addConstant(ctx, validateURL);
627
- const defConst = addConstant(ctx, def);
628
- const trimVar = newVar(ctx);
629
- const urlVar = newVar(ctx);
630
- doc.write(`const ${trimVar} = ${accessor}.trim();`);
631
- doc.write(`const ${urlVar} = ${parseConst}(${trimVar}, ${defConst});`);
632
- doc.write(`if (typeof ${urlVar} === "number") return INVALID;`);
633
- if (formatDef.hostname !== undefined) {
634
- const hostnameConst = addConstant(ctx, urlHostnameOk);
635
- doc.write(`if (!${hostnameConst}(${urlVar}, ${defConst}.hostname)) return INVALID;`);
636
- }
637
- if (formatDef.protocol !== undefined) {
638
- const protocolConst = addConstant(ctx, urlProtocolOk);
639
- doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
640
- }
641
- if (!needsValue)
642
- return null;
643
- const outputVar = newVar(ctx);
644
- const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant(ctx, stripTabAndNewline)}(${trimVar})`;
645
- doc.write(`const ${outputVar} = ${outputExpr};`);
646
- return outputVar;
647
- }
648
- // A custom string format carries the predicate the runtime actually calls. Hoist and call it instead of testing `def.pattern`: the two only coincide when the format was built from a RegExp, and relying on that coupling is how supplemental validation gets dropped.
649
- const customFn = def.fn;
650
- if (customFn) {
651
- if (isAsyncFunction(customFn))
652
- throw new ZodCompileUnsupportedError(`async string format ${fmt}`);
653
- const fnConst = addConstant(ctx, customFn);
654
- doc.write(`if (!${fnConst}(${accessor})) return INVALID;`);
655
- return accessor;
656
- }
657
- // Formats whose `pattern` IS the whole check. An allowlist rather than `if (def.pattern)`, because credit_card, base64 and ipv6 carry a shape-only pattern and validate the rest separately.
658
- if (PATTERN_IS_COMPLETE.has(fmt) && def.pattern) {
659
- const patternConst = addConstant(ctx, def.pattern);
660
- doc.write(`${patternConst}.lastIndex = 0;`);
661
- doc.write(`if (!${patternConst}.test(${accessor})) return INVALID;`);
662
- return accessor;
663
- }
664
- const format = def.format;
665
- switch (format) {
666
- case "regex":
667
- // A regex check with a pattern returned above. Reaching here means there is no pattern to test, and accepting unconditionally would pass every input, so hand the schema back to the runtime.
668
- throw new ZodCompileUnsupportedError("regex format without a pattern");
669
- case "lowercase":
670
- doc.write(`if (${accessor} !== ${accessor}.toLowerCase()) return INVALID;`);
671
- break;
672
- case "uppercase":
673
- doc.write(`if (${accessor} !== ${accessor}.toUpperCase()) return INVALID;`);
674
- break;
675
- case "includes":
676
- doc.write(`if (!${accessor}.includes(${util.esc(def.includes)})) return INVALID;`);
677
- break;
678
- case "starts_with": {
679
- const prefix = def.prefix;
680
- doc.write(`if (${accessor}.slice(0, ${prefix.length}) !== ${util.esc(prefix)}) return INVALID;`);
681
- break;
682
- }
683
- case "ends_with": {
684
- const suffix = def.suffix;
685
- doc.write(`if (${accessor}.slice(-${suffix.length}) !== ${util.esc(suffix)}) return INVALID;`);
686
- break;
687
- }
688
- default: {
689
- void format;
690
- throw new ZodCompileUnsupportedError(`string format ${format}`);
691
- }
692
- }
693
- return accessor;
694
- }
695
- function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
696
- const def = schema._zod.def;
697
- const type = def.type;
698
- // A coercing schema would compile to the bare type test and reject what it should convert; inside a union that reads as a rejected branch, so refuse at codegen.
699
- if (def.coerce) {
700
- throw new ZodCompileUnsupportedError(`coercion (z.coerce.${type}())`);
701
- }
702
- // A node builds its output when its caller reads one, or when it carries checks of its own, since a check reads what was built. One polarity for the whole walk: this is what the node does, and it is what its children are told they need.
703
- const buildsValue = needsValue || !!def.checks?.length;
704
- let typeAccessor;
705
- switch (type) {
706
- case "string":
707
- typeAccessor = generateStringCheck(doc, ctx, schema, accessor, buildsValue);
708
- break;
709
- case "number":
710
- typeAccessor = generateNumberCheck(doc, schema, accessor);
711
- break;
712
- case "boolean":
713
- typeAccessor = generateBooleanCheck(doc, accessor);
714
- break;
715
- case "bigint":
716
- typeAccessor = generateBigIntCheck(doc, schema, accessor);
717
- break;
718
- case "symbol":
719
- typeAccessor = generateSymbolCheck(doc, accessor);
720
- break;
721
- case "undefined":
722
- typeAccessor = generateUndefinedCheck(doc, accessor);
723
- break;
724
- case "null":
725
- typeAccessor = generateNullCheck(doc, accessor);
726
- break;
727
- case "any":
728
- case "unknown":
729
- // No check needed - pass through
730
- typeAccessor = accessor;
731
- break;
732
- case "never":
733
- doc.write("return INVALID;");
734
- typeAccessor = accessor;
735
- break;
736
- case "void":
737
- typeAccessor = generateVoidCheck(doc, accessor);
738
- break;
739
- case "nan":
740
- typeAccessor = generateNaNCheck(doc, accessor);
741
- break;
742
- case "date":
743
- typeAccessor = generateDateCheck(doc, accessor);
744
- break;
745
- case "object":
746
- typeAccessor = generateObjectCheck(doc, ctx, schema, accessor, buildsValue);
747
- break;
748
- case "optional":
749
- typeAccessor = generateOptionalCheck(doc, ctx, schema, accessor, buildsValue);
750
- break;
751
- case "nullable":
752
- typeAccessor = generateNullableCheck(doc, ctx, schema, accessor, buildsValue);
753
- break;
754
- case "array":
755
- typeAccessor = generateArrayCheck(doc, ctx, schema, accessor, buildsValue);
756
- break;
757
- case "literal":
758
- typeAccessor = generateLiteralCheck(doc, ctx, schema, accessor);
759
- break;
760
- case "enum":
761
- typeAccessor = generateEnumCheck(doc, ctx, schema, accessor);
762
- break;
763
- case "readonly": {
764
- const innerOut = generateWrapperCheck(doc, ctx, schema, accessor);
765
- // Runtime freezes the parsed value (schemas.ts handleReadonlyResult).
766
- const frozenVar = newVar(ctx);
767
- doc.write(`const ${frozenVar} = Object.freeze(${innerOut});`);
768
- typeAccessor = frozenVar;
769
- break;
770
- }
771
- case "success":
772
- // Runtime output is `issues.length === 0`. The fast path only reaches
773
- // here when the inner check passed (failure returns INVALID and the
774
- // runtime fallback reproduces the inner issues), so the output is
775
- // always `true`.
776
- generateWrapperCheck(doc, ctx, schema, accessor);
777
- typeAccessor = "true";
778
- break;
779
- case "default":
780
- case "prefault":
781
- typeAccessor = generateDefaultCheck(doc, ctx, schema, accessor);
782
- break;
783
- case "nonoptional":
784
- typeAccessor = generateNonOptionalCheck(doc, ctx, schema, accessor);
785
- break;
786
- case "tuple":
787
- typeAccessor = generateTupleCheck(doc, ctx, schema, accessor);
788
- break;
789
- case "union":
790
- typeAccessor = generateUnionCheck(doc, ctx, schema, accessor);
791
- break;
792
- case "intersection":
793
- typeAccessor = generateIntersectionCheck(doc, ctx, schema, accessor);
794
- break;
795
- case "record":
796
- typeAccessor = generateRecordCheck(doc, ctx, schema, accessor);
797
- break;
798
- case "map":
799
- typeAccessor = generateMapCheck(doc, ctx, schema, accessor);
800
- break;
801
- case "set":
802
- typeAccessor = generateSetCheck(doc, ctx, schema, accessor);
803
- break;
804
- case "file":
805
- typeAccessor = generateFileCheck(doc, accessor);
806
- break;
807
- case "template_literal":
808
- typeAccessor = generateTemplateLiteralCheck(doc, ctx, schema, accessor);
809
- break;
810
- case "lazy":
811
- typeAccessor = generateLazyCheck(doc, ctx, schema, accessor);
812
- break;
813
- case "pipe":
814
- typeAccessor = generatePipeCheck(doc, ctx, schema, accessor);
815
- break;
816
- case "custom":
817
- typeAccessor = generateCustomCheck(doc, ctx, schema, accessor);
818
- break;
819
- case "transform":
820
- typeAccessor = generateTransformCheck(doc, ctx, schema, accessor);
821
- break;
822
- case "catch":
823
- typeAccessor = generateCatchCheck(doc, ctx, schema, accessor);
824
- break;
825
- default: {
826
- void type;
827
- throw new ZodCompileUnsupportedError(`schema type ${type}`);
828
- }
829
- }
830
- // a node that built nothing has no checks to run: not building requires an empty check list
831
- if (typeAccessor === null)
832
- return null;
833
- // Generate checks after the type-specific validation (may transform value)
834
- return generateChecks(doc, ctx, schema, typeAccessor);
835
- }
836
- function generateStringCheck(doc, ctx, schema, accessor, needsValue = true) {
837
- doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
838
- // z.email() carries its format on the def, z.string().email() in def.checks; both route here so the format table has no second copy to drift from.
839
- const def = schema._zod.def;
840
- if (def.format === undefined)
841
- return accessor;
842
- return generateStringFormatCheck(doc, ctx, def, accessor, needsValue);
843
- }
844
- function generateNumberCheck(doc, schema, accessor) {
845
- // Runtime z.number() rejects NaN and ±Infinity. Number.isFinite covers both.
846
- doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
847
- // Mini factories like z.int(), z.int32(), z.uint32(), z.float32() bake a number_format check into the schema def itself (not into def.checks). Apply the same constraint here.
848
- const def = schema._zod.def;
849
- if (def.check === "number_format" && def.format) {
850
- generateNumberFormatCheck(doc, { format: def.format }, accessor);
851
- }
852
- return accessor;
853
- }
854
- function generateBooleanCheck(doc, accessor) {
855
- doc.write(`if (typeof ${accessor} !== "boolean") return INVALID;`);
856
- return accessor;
857
- }
858
- function generateBigIntCheck(doc, schema, accessor) {
859
- doc.write(`if (typeof ${accessor} !== "bigint") return INVALID;`);
860
- // Handle bigint format (int64, uint64) directly on the schema def
861
- const def = schema._zod.def;
862
- if (def.format) {
863
- switch (def.format) {
864
- case "int64":
865
- doc.write(`if (${accessor} < -9223372036854775808n || ${accessor} > 9223372036854775807n) return INVALID;`);
866
- break;
867
- case "uint64":
868
- doc.write(`if (${accessor} < 0n || ${accessor} > 18446744073709551615n) return INVALID;`);
869
- break;
870
- }
871
- }
872
- return accessor;
873
- }
874
- function generateSymbolCheck(doc, accessor) {
875
- doc.write(`if (typeof ${accessor} !== "symbol") return INVALID;`);
876
- return accessor;
877
- }
878
- function generateUndefinedCheck(doc, accessor) {
879
- doc.write(`if (${accessor} !== undefined) return INVALID;`);
880
- return accessor;
881
- }
882
- function generateNullCheck(doc, accessor) {
883
- doc.write(`if (${accessor} !== null) return INVALID;`);
884
- return accessor;
885
- }
886
- function generateVoidCheck(doc, accessor) {
887
- doc.write(`if (${accessor} !== undefined) return INVALID;`);
888
- return accessor;
889
- }
890
- function generateNaNCheck(doc, accessor) {
891
- doc.write(`if (typeof ${accessor} !== "number" || !Number.isNaN(${accessor})) return INVALID;`);
892
- return accessor;
893
- }
894
- function generateDateCheck(doc, accessor) {
895
- doc.write(`if (!(${accessor} instanceof Date) || Number.isNaN(${accessor}.getTime())) return INVALID;`);
896
- return accessor;
897
- }
898
- function generateObjectCheck(doc, ctx, schema, accessor, buildsValue = true) {
899
- const def = schema._zod.def;
900
- // Check that input is a non-null, non-array object
901
- doc.write(`if (typeof ${accessor} !== "object" || ${accessor} === null || Array.isArray(${accessor})) return INVALID;`);
902
- const shape = def.shape;
903
- const keys = Object.keys(shape);
904
- const symbolKeys = Object.getOwnPropertySymbols(shape);
905
- // a symbol has no source literal, so it is hoisted as a constant; `keys` stays string-only where the emitted code uses `for...in`
906
- const allKeys = symbolKeys.length ? [...keys, ...symbolKeys] : keys;
907
- const keyExpr = (k) => (typeof k === "symbol" ? addConstant(ctx, k) : util.esc(k));
908
- const propKey = (k) => (typeof k === "symbol" ? `[${keyExpr(k)}]` : util.esc(k));
909
- const propShape = shape;
910
- // `__proto__` as an own shape key can't be expressed in an output object literal (the literal form sets the prototype instead of an own property).
911
- if (keys.includes("__proto__")) {
912
- throw new ZodCompileUnsupportedError('object shape key "__proto__"');
913
- }
914
- // Map from key to output accessor for that property
915
- const propOutputs = new Map();
916
- // Validate each property and collect output accessors
917
- for (const key of allKeys) {
918
- const propSchema = propShape[key];
919
- const kx = keyExpr(key);
920
- // Always cache the property read: the runtime reads input[key] exactly once, so a getter must not be re-read by checks or output assembly.
921
- const inputVar = newVar(ctx);
922
- doc.write(`const ${inputVar} = ${accessor}[${kx}];`);
923
- if (propSchema._zod.optin !== undefined) {
924
- // Any optin rung means the key may be omitted. The runtime runs the property anyway and ignores issues only when the key is genuinely absent, which is what makes exactOptional compositional.
925
- const outputVar = newVar(ctx);
926
- doc.write(`let ${outputVar} = (() => {`);
927
- doc.indented((d) => {
928
- const outputAccessor = compileChild(d, ctx, propSchema, inputVar);
929
- d.write(`return ${outputAccessor};`);
930
- });
931
- doc.write(`})();`);
932
- if (propSchema._zod.optout === "optional") {
933
- doc.write(`if (${outputVar} === INVALID) {`);
934
- doc.indented((d) => {
935
- d.write(`if (${kx} in ${accessor}) return INVALID;`);
936
- d.write(`${outputVar} = undefined;`);
937
- });
938
- doc.write(`}`);
939
- }
940
- else {
941
- doc.write(`if (${outputVar} === INVALID) return INVALID;`);
942
- }
943
- propOutputs.set(key, outputVar);
944
- }
945
- else {
946
- if (requiresPresenceCheck(propSchema)) {
947
- doc.write(`if (!(${kx} in ${accessor})) return INVALID;`);
948
- }
949
- // Generate check and get output accessor
950
- const outputAccessor = compileChild(doc, ctx, propSchema, inputVar, buildsValue);
951
- if (outputAccessor !== null)
952
- propOutputs.set(key, outputAccessor);
953
- }
954
- }
955
- // Handle catchall
956
- const catchall = def.catchall;
957
- let unknownKeysMode = "none";
958
- if (catchall) {
959
- const catchallType = catchall._zod.def.type;
960
- if (catchallType === "never") {
961
- // Strict: one `for...in`, as the runtime does, so inherited enumerable keys count. An undeclared `__proto__` is reported here and excluded only from the output (#6221); an own-key count would wrongly reject a class instance.
962
- const condition = keys.map((k) => `k !== ${util.esc(k)}`).join(" && ") || "true";
963
- doc.write(`for (const k in ${accessor}) {`);
964
- doc.indented((d) => {
965
- d.write(`if (${condition}) return INVALID;`);
966
- });
967
- doc.write(`}`);
968
- }
969
- else if ((catchallType === "unknown" || catchallType === "any") && !catchall._zod.def.checks?.length) {
970
- unknownKeysMode = "passthrough";
971
- }
972
- else {
973
- unknownKeysMode = "schema";
974
- }
975
- }
976
- // else: strip mode (no catchall) - unknown keys ignored, only include known keys
977
- // defaulted required outputs keep their keys even when undefined
978
- const outputVar = newVar(ctx);
979
- const hasConditionalKeys = allKeys.some((k) => mayOmitUndefined(propShape[k]) || dropsWhenAbsent(propShape[k]));
980
- // Assert mode: every declared key is validated above, so the output literal and the unknown-key copy are pure waste. A `never` catchall already emitted its rejection loop; a schema catchall still has to validate the values it would otherwise have stored.
981
- if (!buildsValue) {
982
- if (unknownKeysMode === "schema") {
983
- const knownSet = keys.length > 0 ? addConstant(ctx, new Set(keys)) : null;
984
- doc.write(`for (const k in ${accessor}) {`);
985
- doc.indented((d) => {
986
- d.write(`if (k === "__proto__") continue;`);
987
- if (knownSet)
988
- d.write(`if (${knownSet}.has(k)) continue;`);
989
- const valVar = newVar(ctx);
990
- d.write(`const ${valVar} = ${accessor}[k];`);
991
- compileChild(d, ctx, catchall, valVar, false);
992
- });
993
- doc.write(`}`);
994
- }
995
- return null;
996
- }
997
- if (!hasConditionalKeys) {
998
- const propLiterals = allKeys.map((k) => `${propKey(k)}: ${propOutputs.get(k)}`).join(", ");
999
- doc.write(`const ${outputVar} = { ${propLiterals} };`);
1000
- }
1001
- else {
1002
- doc.write(`const ${outputVar} = {};`);
1003
- for (const k of allKeys) {
1004
- const kx = keyExpr(k);
1005
- const out = propOutputs.get(k);
1006
- if (dropsWhenAbsent(propShape[k])) {
1007
- doc.write(`if (${kx} in ${accessor}) ${outputVar}[${kx}] = ${out};`);
1008
- }
1009
- else if (mayOmitUndefined(propShape[k])) {
1010
- doc.write(`if (${out} !== undefined || ${kx} in ${accessor}) ${outputVar}[${kx}] = ${out};`);
1011
- }
1012
- else {
1013
- doc.write(`${outputVar}[${kx}] = ${out};`);
1014
- }
1015
- }
1016
- }
1017
- if (unknownKeysMode !== "none") {
1018
- // Unknown keys are written directly into the output after shape keys — for...in (like the runtime) so inherited enumerables participate.
1019
- const knownSet = keys.length > 0 ? addConstant(ctx, new Set(keys)) : null;
1020
- doc.write(`for (const k in ${accessor}) {`);
1021
- doc.indented((d) => {
1022
- // Skip __proto__: assigning obj["__proto__"] on a plain {} replaces the prototype via the setter rather than adding an own property. Mirrors the runtime catchall fix (#5898).
1023
- d.write(`if (k === "__proto__") continue;`);
1024
- if (knownSet)
1025
- d.write(`if (${knownSet}.has(k)) continue;`);
1026
- if (unknownKeysMode === "passthrough") {
1027
- d.write(`${outputVar}[k] = ${accessor}[k];`);
1028
- }
1029
- else {
1030
- const valVar = newVar(ctx);
1031
- d.write(`const ${valVar} = ${accessor}[k];`);
1032
- const catchallOut = compileChild(d, ctx, catchall, valVar);
1033
- d.write(`${outputVar}[k] = ${catchallOut};`);
1034
- }
1035
- });
1036
- doc.write(`}`);
1037
- }
1038
- return outputVar;
1039
- }
1040
- function generateOptionalCheck(doc, ctx, schema, accessor, buildsValue = true) {
1041
- const def = schema._zod.def;
1042
- if (isExactOptional(schema)) {
1043
- return generateCheck(doc, ctx, def.innerType, accessor, buildsValue);
1044
- }
1045
- // Same question $ZodOptional asks: only the top rung of the optin ladder substitutes a value for an absent input, so only it is worth running on `undefined`. Every other rung leaves the value intact, which is the skip branch below.
1046
- if (def.innerType._zod.optin === "defaulted") {
1047
- const outputVar = newVar(ctx);
1048
- const branchVar = newVar(ctx);
1049
- doc.write(`let ${outputVar};`);
1050
- doc.write(`if (${accessor} === undefined) {`);
1051
- doc.indented((d) => {
1052
- d.write(`const ${branchVar} = (() => {`);
1053
- d.indented((d2) => {
1054
- const innerOutput = generateCheck(d2, ctx, def.innerType, accessor);
1055
- d2.write(`return ${innerOutput};`);
1056
- });
1057
- d.write(`})();`);
1058
- d.write(`if (${branchVar} !== INVALID) ${outputVar} = ${branchVar};`);
1059
- });
1060
- doc.write(`} else {`);
1061
- doc.indented((d) => {
1062
- const innerOutput = generateCheck(d, ctx, def.innerType, accessor);
1063
- d.write(`${outputVar} = ${innerOutput};`);
1064
- });
1065
- doc.write(`}`);
1066
- return outputVar;
1067
- }
1068
- const outputVar = buildsValue ? newVar(ctx) : null;
1069
- if (outputVar)
1070
- doc.write(`let ${outputVar};`);
1071
- doc.write(`if (${accessor} !== undefined) {`);
1072
- doc.indented((d) => {
1073
- const innerOutput = generateCheck(d, ctx, def.innerType, accessor, buildsValue);
1074
- if (outputVar && innerOutput !== null)
1075
- d.write(`${outputVar} = ${innerOutput};`);
1076
- });
1077
- doc.write(`}`);
1078
- return outputVar;
1079
- }
1080
- function isExactOptional(schema) {
1081
- return schema._zod.traits?.has("$ZodExactOptional") === true;
1082
- }
1083
- // A value-level fast path reads an absent key as `undefined`, so z.undefined(), z.any() and unions containing undefined would accept a missing property the runtime rejects.
1084
- function requiresPresenceCheck(schema) {
1085
- return schema._zod.optin === undefined && fastPathAcceptsAbsence(schema);
1086
- }
1087
- function fastPathAcceptsAbsence(schema) {
1088
- // An island is handed `input[key]` and cannot tell absent from explicitly undefined, so report absence-accepting and let the object emit the presence guard (#6405).
1089
- if (schema._zod.def.coerce)
1090
- return true;
1091
- const def = schema._zod.def;
1092
- switch (def.type) {
1093
- case "any":
1094
- case "unknown":
1095
- case "undefined":
1096
- case "void":
1097
- case "default":
1098
- case "prefault":
1099
- case "transform":
1100
- case "custom":
1101
- case "lazy":
1102
- return true;
1103
- case "string":
1104
- case "number":
1105
- case "boolean":
1106
- case "bigint":
1107
- case "symbol":
1108
- case "null":
1109
- case "never":
1110
- case "nan":
1111
- case "date":
1112
- case "object":
1113
- case "array":
1114
- case "tuple":
1115
- case "record":
1116
- case "map":
1117
- case "set":
1118
- case "file":
1119
- case "template_literal":
1120
- return false;
1121
- case "nonoptional":
1122
- // Normally rejects an absent key, but not when something inside supplies a value for it: `.default(v).optional().nonoptional()` accepts absence and yields v. Defer to the inner — over-reporting here only costs a presence check, and a fast path that wrongly rejects still falls back to the runtime.
1123
- return def.innerType ? fastPathAcceptsAbsence(def.innerType) : false;
1124
- case "literal":
1125
- return !!def.values?.includes(undefined);
1126
- case "enum":
1127
- return !!schema._zod.values?.has(undefined);
1128
- case "optional":
1129
- case "nullable":
1130
- case "readonly":
1131
- case "success":
1132
- return def.innerType ? fastPathAcceptsAbsence(def.innerType) : true;
1133
- case "catch":
1134
- // catch always produces a value (inner may fail → catchValue substitutes), so it accepts an absent key regardless of inner.
1135
- return true;
1136
- case "union":
1137
- return def.options ? def.options.some(fastPathAcceptsAbsence) : true;
1138
- case "intersection":
1139
- if (!def.left || !def.right)
1140
- return true;
1141
- return fastPathAcceptsAbsence(def.left) && fastPathAcceptsAbsence(def.right);
1142
- case "pipe":
1143
- return def.in ? fastPathAcceptsAbsence(def.in) : true;
1144
- default:
1145
- return true;
1146
- }
1147
- }
1148
- /** The middle rung permits absence without supplying anything in its place, so an absent key contributes nothing — mirrors the leading gate in `handlePropertyResult`. */
1149
- function dropsWhenAbsent(schema) {
1150
- return schema._zod.optin === "optional" && schema._zod.optout === "optional";
1151
- }
1152
- function mayOmitUndefined(schema) {
1153
- return (schema._zod.optin !== "defaulted" || schema._zod.optout === "optional") && mayOutputUndefined(schema);
1154
- }
1155
- // whether a schema's success-path output can be undefined
1156
- function mayOutputUndefined(schema) {
1157
- const def = schema._zod.def;
1158
- switch (def.type) {
1159
- case "string":
1160
- case "number":
1161
- case "boolean":
1162
- case "bigint":
1163
- case "symbol":
1164
- case "null":
1165
- case "nan":
1166
- case "date":
1167
- case "object":
1168
- case "array":
1169
- case "tuple":
1170
- case "record":
1171
- case "map":
1172
- case "set":
1173
- case "file":
1174
- case "template_literal":
1175
- case "never":
1176
- case "success":
1177
- return false;
1178
- case "literal":
1179
- return !!def.values?.includes(undefined);
1180
- case "enum":
1181
- return !!schema._zod.values?.has(undefined);
1182
- case "optional":
1183
- return true;
1184
- case "nullable":
1185
- case "readonly":
1186
- case "nonoptional":
1187
- return def.innerType ? mayOutputUndefined(def.innerType) : true;
1188
- case "union":
1189
- return def.options ? def.options.some(mayOutputUndefined) : true;
1190
- case "intersection":
1191
- return !def.left || !def.right || mayOutputUndefined(def.left) || mayOutputUndefined(def.right);
1192
- case "pipe":
1193
- return def.out ? mayOutputUndefined(def.out) : true;
1194
- default:
1195
- // any/unknown/undefined/void/default/prefault/transform/custom/lazy/catch
1196
- return true;
1197
- }
1198
- }
1199
- function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
1200
- const def = schema._zod.def;
1201
- const outputVar = buildsValue ? newVar(ctx) : null;
1202
- if (outputVar)
1203
- doc.write(`let ${outputVar} = null;`);
1204
- doc.write(`if (${accessor} !== null) {`);
1205
- doc.indented((d) => {
1206
- const innerOutput = generateCheck(d, ctx, def.innerType, accessor, buildsValue);
1207
- if (outputVar && innerOutput !== null)
1208
- d.write(`${outputVar} = ${innerOutput};`);
1209
- });
1210
- doc.write(`}`);
1211
- return outputVar;
1212
- }
1213
- function generateSizeGate(doc, schema, size) {
1214
- for (const [max, check] of util.sizeCaps(schema._zod.def.checks)) {
1215
- doc.write(`if (${size} > ${numericOperand(max, check._zod.def.check)}) return INVALID;`);
1216
- }
1217
- }
1218
- function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
1219
- const def = schema._zod.def;
1220
- doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
1221
- generateSizeGate(doc, schema, `${accessor}.length`);
1222
- // Build a new array with validated/transformed elements.
1223
- const outputVar = buildsValue ? newVar(ctx) : null;
1224
- const iVar = newVar(ctx);
1225
- const elemVar = newVar(ctx);
1226
- if (outputVar)
1227
- doc.write(`const ${outputVar} = new Array(${accessor}.length);`);
1228
- doc.write(`for (let ${iVar} = 0; ${iVar} < ${accessor}.length; ${iVar}++) {`);
1229
- doc.indented((d) => {
1230
- d.write(`const ${elemVar} = ${accessor}[${iVar}];`);
1231
- const elemOutput = compileChild(d, ctx, def.element, elemVar, buildsValue);
1232
- if (outputVar && elemOutput !== null)
1233
- d.write(`${outputVar}[${iVar}] = ${elemOutput};`);
1234
- });
1235
- doc.write(`}`);
1236
- return outputVar;
1237
- }
1238
- function generateLiteralCheck(doc, ctx, schema, accessor) {
1239
- const def = schema._zod.def;
1240
- const values = def.values;
1241
- // Anything but a single value goes through Set.has: multi-value so every value participates, empty so nothing does — values[0] would be undefined and compile to an `!== undefined` check that accepts it. Single-value stays inlined for speed.
1242
- if (values.length !== 1) {
1243
- const literalSet = addConstant(ctx, new Set(values));
1244
- doc.write(`if (!${literalSet}.has(${accessor})) return INVALID;`);
1245
- return accessor;
1246
- }
1247
- const value = values[0];
1248
- // `$ZodLiteral` matches with `values.has`, i.e. SameValueZero, so NaN matches itself. `x !== NaN` is true for every input, which would reject everything — hand it to the same Set form the multi-value path uses.
1249
- if (typeof value === "number" && Number.isNaN(value)) {
1250
- const literalSet = addConstant(ctx, new Set(values));
1251
- doc.write(`if (!${literalSet}.has(${accessor})) return INVALID;`);
1252
- return accessor;
1253
- }
1254
- if (typeof value === "string") {
1255
- doc.write(`if (${accessor} !== ${util.esc(value)}) return INVALID;`);
1256
- }
1257
- else if (typeof value === "number" || typeof value === "boolean") {
1258
- doc.write(`if (${accessor} !== ${value}) return INVALID;`);
1259
- }
1260
- else if (value === null) {
1261
- doc.write(`if (${accessor} !== null) return INVALID;`);
1262
- }
1263
- else if (value === undefined) {
1264
- doc.write(`if (${accessor} !== undefined) return INVALID;`);
1265
- }
1266
- else if (typeof value === "bigint") {
1267
- doc.write(`if (${accessor} !== ${value}n) return INVALID;`);
1268
- }
1269
- else {
1270
- throw new ZodCompileUnsupportedError(`literal type ${typeof value}`);
1271
- }
1272
- return accessor;
1273
- }
1274
- function generateEnumCheck(doc, ctx, schema, accessor) {
1275
- const values = schema._zod.values;
1276
- // z.partialRecord and friends clear `_zod.values`, leaving no set to test membership against. Throw rather than emit INVALID so a union falls back whole instead of counting a false rejection.
1277
- if (!values) {
1278
- throw new ZodCompileUnsupportedError("enum schema without enumerated values");
1279
- }
1280
- const enumSet = addConstant(ctx, values);
1281
- doc.write(`if (!${enumSet}.has(${accessor})) return INVALID;`);
1282
- return accessor;
1283
- }
1284
- function generateWrapperCheck(doc, ctx, schema, accessor) {
1285
- const def = schema._zod.def;
1286
- return generateCheck(doc, ctx, def.innerType, accessor);
1287
- }
1288
- function generateDefaultCheck(doc, ctx, schema, accessor) {
1289
- const def = schema._zod.def;
1290
- // `defaultValue` is an accessor on schemas built through the classic/mini
1291
- // factories and a plain data property on ones rebuilt programmatically
1292
- // (deepPartial and friends). Read it off the def either way — taking only
1293
- // `descriptor.get` silently dropped the default for the second kind, so
1294
- // `.default(v)` compiled to `undefined` instead of `v`.
1295
- const descriptor = Object.getOwnPropertyDescriptor(schema._zod.def, "defaultValue");
1296
- const defaultGetter = descriptor
1297
- ? () => schema._zod.def.defaultValue
1298
- : undefined;
1299
- // prefault differs from default: undefined-input is first replaced with the prefault value, then run through the inner schema.
1300
- if (schema._zod.def.type === "prefault") {
1301
- if (!defaultGetter) {
1302
- return generateCheck(doc, ctx, def.innerType, accessor);
1303
- }
1304
- const defaultFn = addConstant(ctx, defaultGetter);
1305
- const inputVar = newVar(ctx);
1306
- doc.write(`let ${inputVar} = ${accessor};`);
1307
- doc.write(`if (${accessor} === undefined) ${inputVar} = ${defaultFn}();`);
1308
- return generateCheck(doc, ctx, def.innerType, inputVar);
1309
- }
1310
- const outputVar = newVar(ctx);
1311
- // Default allows undefined (replaces with default value), otherwise validates inner type
1312
- if (defaultGetter) {
1313
- const defaultFn = addConstant(ctx, defaultGetter);
1314
- const cloneFn = addConstant(ctx, util.shallowClone);
1315
- doc.write(`let ${outputVar};`);
1316
- doc.write(`if (${accessor} === undefined) {`);
1317
- doc.indented((d) => {
1318
- // Shallow-clone the default so callers can mutate the result without affecting subsequent parses (#5855 — also covers Map/Set).
1319
- d.write(`${outputVar} = ${cloneFn}(${defaultFn}());`);
1320
- });
1321
- doc.write(`} else {`);
1322
- doc.indented((d) => {
1323
- const innerOutput = generateCheck(d, ctx, def.innerType, accessor);
1324
- d.write(`${outputVar} = ${innerOutput} === undefined ? ${cloneFn}(${defaultFn}()) : ${innerOutput};`);
1325
- });
1326
- doc.write(`}`);
1327
- }
1328
- else {
1329
- doc.write(`let ${outputVar};`);
1330
- doc.write(`if (${accessor} !== undefined) {`);
1331
- doc.indented((d) => {
1332
- const innerOutput = generateCheck(d, ctx, def.innerType, accessor);
1333
- d.write(`${outputVar} = ${innerOutput};`);
1334
- });
1335
- doc.write(`}`);
1336
- }
1337
- return outputVar;
1338
- }
1339
- function generateNonOptionalCheck(doc, ctx, schema, accessor) {
1340
- const def = schema._zod.def;
1341
- // The runtime inspects what the inner produced, not what it was given: a catch can turn a defined input into undefined, a default an absent one into a value.
1342
- const innerOutput = generateCheck(doc, ctx, def.innerType, accessor);
1343
- const outputVar = newVar(ctx);
1344
- doc.write(`const ${outputVar} = ${innerOutput};`);
1345
- doc.write(`if (${outputVar} === undefined) return INVALID;`);
1346
- return outputVar;
1347
- }
1348
- function generateTupleCheck(doc, ctx, schema, accessor) {
1349
- const def = schema._zod.def;
1350
- const items = def.items;
1351
- const rest = def.rest;
1352
- doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
1353
- // Mirror the runtime's getTupleOptStart: find the first index where every subsequent slot accepts `undefined` (i.e. is optional on input). Anything shorter than this is too_small; trailing absent slots are legal.
1354
- const optinStart = getTupleOptStart(items, "optin");
1355
- const optoutStart = getTupleOptStart(items, "optout");
1356
- // Length bounds
1357
- if (rest) {
1358
- // With rest: minimum length is the last required input slot
1359
- doc.write(`if (${accessor}.length < ${optinStart}) return INVALID;`);
1360
- }
1361
- else {
1362
- // No rest: input must be in [optinStart, items.length]
1363
- doc.write(`if (${accessor}.length < ${optinStart} || ${accessor}.length > ${items.length}) return INVALID;`);
1364
- }
1365
- // Build the output in assignment order so absent optional-output tail slots can truncate while default/prefault slots still fill missing positions.
1366
- const outputVar = newVar(ctx);
1367
- doc.write(`const ${outputVar} = [];`);
1368
- // Validate and collect each fixed item
1369
- for (let i = 0; i < items.length; i++) {
1370
- const itemSchema = items[i];
1371
- if (i >= optoutStart) {
1372
- doc.write(`if (${outputVar}.length === ${i}) {`);
1373
- doc.indented((d) => {
1374
- d.write(`if (${i} < ${accessor}.length) {`);
1375
- d.indented((d2) => {
1376
- const elemVar = newVar(ctx);
1377
- d2.write(`const ${elemVar} = ${accessor}[${i}];`);
1378
- const elemOutput = compileChild(d2, ctx, itemSchema, elemVar);
1379
- d2.write(`${outputVar}[${i}] = ${elemOutput};`);
1380
- });
1381
- d.write(`} else {`);
1382
- d.indented((d2) => {
1383
- // Middle rung: absence supplies nothing in its place, so truncate rather than running the item on `undefined` and keeping what it invents. Mirrors the leading gate in `handleTupleResults`.
1384
- if (dropsWhenAbsent(itemSchema)) {
1385
- d2.write(`${outputVar}.length = ${i};`);
1386
- return;
1387
- }
1388
- const elemVar = newVar(ctx);
1389
- const branchVar = newVar(ctx);
1390
- d2.write(`const ${elemVar} = undefined;`);
1391
- d2.write(`const ${branchVar} = (() => {`);
1392
- d2.indented((d3) => {
1393
- const elemOutput = compileChild(d3, ctx, itemSchema, elemVar);
1394
- d3.write(`return ${elemOutput};`);
1395
- });
1396
- d2.write(`})();`);
1397
- d2.write(`if (${branchVar} === INVALID || ${branchVar} === undefined) ${outputVar}.length = ${i};`);
1398
- d2.write(`else ${outputVar}[${i}] = ${branchVar};`);
1399
- });
1400
- d.write(`}`);
1401
- });
1402
- doc.write(`}`);
1403
- }
1404
- else {
1405
- const elemVar = newVar(ctx);
1406
- doc.write(`const ${elemVar} = ${accessor}[${i}];`);
1407
- const elemOutput = compileChild(doc, ctx, itemSchema, elemVar);
1408
- doc.write(`${outputVar}[${i}] = ${elemOutput};`);
1409
- }
1410
- }
1411
- // Validate and collect rest elements if present
1412
- if (rest) {
1413
- const iVar = newVar(ctx);
1414
- const elemVar = newVar(ctx);
1415
- doc.write(`for (let ${iVar} = ${items.length}; ${iVar} < ${accessor}.length; ${iVar}++) {`);
1416
- doc.indented((d) => {
1417
- d.write(`const ${elemVar} = ${accessor}[${iVar}];`);
1418
- const elemOutput = compileChild(d, ctx, rest, elemVar);
1419
- d.write(`${outputVar}[${iVar}] = ${elemOutput};`);
1420
- });
1421
- doc.write(`}`);
1422
- }
1423
- return outputVar;
1424
- }
1425
- function getTupleOptStart(items, key) {
1426
- for (let i = items.length - 1; i >= 0; i--) {
1427
- // Mirrors the runtime: optin is a three-rung ladder so any rung above `undefined` permits an absent slot; optout stays two-valued.
1428
- const omittable = key === "optin" ? items[i]._zod.optin !== undefined : items[i]._zod.optout === "optional";
1429
- if (!omittable)
1430
- return i + 1;
1431
- }
1432
- return 0;
1433
- }
1434
- function generateUnionCheck(doc, ctx, schema, accessor) {
1435
- const def = schema._zod.def;
1436
- const options = def.options;
1437
- if (def.discriminator) {
1438
- return generateDiscriminatedUnionCheck(doc, ctx, def, accessor);
1439
- }
1440
- // z.xor requires *exactly one* option to match. Match-counting in the fast path is only sound if every branch is exactly as strict as the runtime — any falsely-rejecting branch silently turns a multi-match rejection into an accept. Force the runtime for this rare combinator.
1441
- if (def.inclusive === false) {
1442
- throw new ZodCompileUnsupportedError("exclusive unions (z.xor)");
1443
- }
1444
- if (options.length === 0) {
1445
- doc.write("return INVALID;");
1446
- return accessor;
1447
- }
1448
- if (options.length === 1) {
1449
- return generateCheck(doc, ctx, options[0], accessor);
1450
- }
1451
- // Check if all options are bare literals - use Set optimization. A literal option carrying checks (e.g. .refine) must take the general path or the Set would accept values its checks reject.
1452
- const allLiterals = options.every((opt) => opt._zod.def.type === "literal" && !opt._zod.def.checks?.length);
1453
- if (allLiterals) {
1454
- const values = new Set(options.flatMap((opt) => opt._zod.def.values));
1455
- const valuesConst = addConstant(ctx, values);
1456
- doc.write(`if (!${valuesConst}.has(${accessor})) return INVALID;`);
1457
- return accessor;
1458
- }
1459
- // General case: try each option until one succeeds Use IIFEs that return the output or INVALID
1460
- const outputVar = newVar(ctx);
1461
- doc.write(`let ${outputVar};`);
1462
- for (let i = 0; i < options.length; i++) {
1463
- const opt = options[i];
1464
- if (i === 0) {
1465
- doc.write(`${outputVar} = (() => {`);
1466
- }
1467
- else {
1468
- doc.write(`if (${outputVar} === INVALID) ${outputVar} = (() => {`);
1469
- }
1470
- doc.indented((d) => {
1471
- // Generate check inside IIFE - returns INVALID on failure
1472
- const branchOutput = generateCheck(d, ctx, opt, accessor);
1473
- d.write(`return ${branchOutput};`);
1474
- });
1475
- doc.write(`})();`);
1476
- }
1477
- doc.write(`if (${outputVar} === INVALID) return INVALID;`);
1478
- return outputVar;
1479
- }
1480
- function generateDiscriminatedUnionCheck(doc, ctx, def, accessor) {
1481
- if (def.unionFallback) {
1482
- throw new ZodCompileUnsupportedError("discriminated union with unionFallback");
1483
- }
1484
- if (def.options.length === 0) {
1485
- doc.write("return INVALID;");
1486
- return accessor;
1487
- }
1488
- const discVar = newVar(ctx);
1489
- const outputVar = newVar(ctx);
1490
- doc.write(`const ${discVar} = ${accessor}?.[${util.esc(def.discriminator)}];`);
1491
- doc.write(`let ${outputVar};`);
1492
- let firstBranch = true;
1493
- const claimed = new Set();
1494
- for (const option of def.options) {
1495
- const values = option._zod.propValues?.[def.discriminator];
1496
- if (!values || values.size === 0) {
1497
- throw new ZodCompileUnsupportedError("discriminated union option without static discriminator values");
1498
- }
1499
- // let the interpreter handle collisions instead of compiling first-match dispatch
1500
- for (const value of values) {
1501
- if (claimed.has(value)) {
1502
- throw new ZodCompileUnsupportedError(`duplicate discriminator value ${String(value)}`);
1503
- }
1504
- claimed.add(value);
1505
- }
1506
- const conditions = Array.from(values, (value) => literalEquality(ctx, discVar, value));
1507
- const prefix = firstBranch ? "if" : "else if";
1508
- doc.write(`${prefix} (${conditions.join(" || ")}) {`);
1509
- doc.indented((d) => {
1510
- const branchOutput = generateCheck(d, ctx, option, accessor);
1511
- d.write(`${outputVar} = ${branchOutput};`);
1512
- });
1513
- doc.write(`}`);
1514
- firstBranch = false;
1515
- }
1516
- doc.write(`else { return INVALID; }`);
1517
- return outputVar;
1518
- }
1519
- function literalEquality(ctx, accessor, value) {
1520
- if (typeof value === "string")
1521
- return `${accessor} === ${util.esc(value)}`;
1522
- if (typeof value === "number") {
1523
- if (Number.isNaN(value))
1524
- return `Number.isNaN(${accessor})`;
1525
- return `${accessor} === ${value}`;
1526
- }
1527
- if (typeof value === "boolean")
1528
- return `${accessor} === ${value}`;
1529
- if (value === null)
1530
- return `${accessor} === null`;
1531
- if (value === undefined)
1532
- return `${accessor} === undefined`;
1533
- if (typeof value === "bigint")
1534
- return `${accessor} === ${value}n`;
1535
- if (typeof value === "symbol") {
1536
- const symbolConst = addConstant(ctx, value);
1537
- return `${accessor} === ${symbolConst}`;
1538
- }
1539
- throw new ZodCompileUnsupportedError(`literal discriminator value ${String(value)}`);
1540
- }
1541
- function generateIntersectionCheck(doc, ctx, schema, accessor) {
1542
- const def = schema._zod.def;
1543
- // An unmergeable merge, and a child failing before the merge is even reached, both return INVALID for a case the interpreter answers with a throw.
1544
- ctx.definite = false;
1545
- const leftOutput = compileChild(doc, ctx, def.left, accessor);
1546
- const rightOutput = compileChild(doc, ctx, def.right, accessor);
1547
- // Hoist the runtime merge helper so recursive object/array merge semantics stay in one place. If the merge is invalid, return INVALID and let the runtime fallback construct canonical errors.
1548
- const mergeConst = addConstant(ctx, mergeValues);
1549
- const mergedVar = newVar(ctx);
1550
- doc.write(`const ${mergedVar} = ${mergeConst}(${leftOutput}, ${rightOutput});`);
1551
- doc.write(`if (!${mergedVar}.valid) return INVALID;`);
1552
- return `${mergedVar}.data`;
1553
- }
1554
- function generateRecordCheck(doc, ctx, schema, accessor) {
1555
- const def = schema._zod.def;
1556
- // Use util.isPlainObject (rejects Date, Map, Set, class instances, etc.) to match runtime behavior. Hoisted call instead of inline so this stays a single source of truth with the runtime parser.
1557
- const isPlainObjectConst = addConstant(ctx, util.isPlainObject);
1558
- doc.write(`if (!${isPlainObjectConst}(${accessor})) return INVALID;`);
1559
- const outputVar = newVar(ctx);
1560
- const kVar = newVar(ctx);
1561
- const valVar = newVar(ctx);
1562
- doc.write(`const ${outputVar} = {};`);
1563
- // Exhaustive record. The runtime gates this on `values && !def.partial`, since z.partialRecord keeps its value set but makes every key optional; a loose record passes unrecognized keys through, which the per-key scan cannot express.
1564
- const recordDef = def;
1565
- const keyValues = recordDef.partial ? undefined : def.keyType._zod.values;
1566
- if (keyValues) {
1567
- const inputKeys = [];
1568
- for (const key of keyValues) {
1569
- if (!(typeof key === "string" || typeof key === "number" || typeof key === "symbol")) {
1570
- throw new ZodCompileUnsupportedError(`record key value ${String(key)}`);
1571
- }
1572
- const inputKey = typeof key === "number" ? key.toString() : key;
1573
- if (inputKey === "__proto__") {
1574
- // `out["__proto__"] = v` would hit the prototype setter on the output.
1575
- throw new ZodCompileUnsupportedError('record key "__proto__"');
1576
- }
1577
- inputKeys.push(inputKey);
1578
- const keyConst = addConstant(ctx, key);
1579
- const outKey = generateCheck(doc, ctx, def.keyType, keyConst);
1580
- // Read the property once. Passing the raw expression let compileChild validate one read while the output write performed a second, so a getter could hand back a value nothing had checked.
1581
- const valueVar = newVar(ctx);
1582
- doc.write(`const ${valueVar} = ${accessor}[${literalPropertyKey(ctx, inputKey)}];`);
1583
- const valOutput = compileChild(doc, ctx, def.valueType, valueVar);
1584
- doc.write(`${outputVar}[${outKey}] = ${valOutput};`);
1585
- }
1586
- // `mode: "loose"` changes only what happens to unrecognized keys, so it belongs here rather than the per-present-key scan. Passing them through matches the runtime, which skips `__proto__`.
1587
- const knownKeysConst = addConstant(ctx, new Set(inputKeys));
1588
- doc.write(`for (const ${kVar} in ${accessor}) {`);
1589
- doc.indented((d) => {
1590
- d.write(`if (${knownKeysConst}.has(${kVar})) continue;`);
1591
- if (recordDef.mode === "loose") {
1592
- d.write(`if (${kVar} !== "__proto__") ${outputVar}[${kVar}] = ${accessor}[${kVar}];`);
1593
- }
1594
- else {
1595
- d.write(`return INVALID;`);
1596
- }
1597
- });
1598
- doc.write(`}`);
1599
- return outputVar;
1600
- }
1601
- // The bare-string shortcut below only tests `typeof key === "string"`, so it
1602
- // is correct exclusively for a `z.string()` carrying nothing else. A string
1603
- // *format* lives on the def rather than in `checks` — `z.record(z.email(), …)`
1604
- // reads as a plain string here — and coercion rewrites the key, so both have
1605
- // to take the general path or the shortcut accepts keys the runtime rejects.
1606
- const keyDef = def.keyType._zod.def;
1607
- const keyIsBareString = keyDef.type === "string" && keyDef.format === undefined && !keyDef.coerce && (keyDef.checks?.length ?? 0) === 0;
1608
- if (!keyIsBareString) {
1609
- // A key schema with no value set is a constraint every key must satisfy
1610
- // (`z.email()`, `z.string().min(3)`, `z.number()`, a template literal).
1611
- // The runtime runs it against each own enumerable key and writes the value
1612
- // under the key it produced, so compile it once and call it per key.
1613
- const isLoose = def.mode === "loose";
1614
- // the key compiles in its own context, so carry its verdict out: a key schema that can answer INVALID undecidably makes this validator undecidable too
1615
- const keyFn = compileFn(def.keyType);
1616
- if (keyFn.definite === false)
1617
- ctx.definite = false;
1618
- const keyFast = addConstant(ctx, keyFn);
1619
- const numericConst = addConstant(ctx, regexes.number);
1620
- const outKeyVar = newVar(ctx);
1621
- // the body runs once per string key and once per symbol key, since a key schema can accept symbols
1622
- emitOwnKeys(doc, ctx, accessor, kVar, (d) => {
1623
- d.write(`let ${outKeyVar} = ${keyFast}(${kVar});`);
1624
- // Numeric-string retry, mirroring the runtime: a key the schema rejects as a string is tried again as a number, so z.record(z.number(), …) matches the numeric keys JavaScript stringified on the way in.
1625
- d.write(`if (${outKeyVar} === INVALID && typeof ${kVar} === "string" && ${numericConst}.test(${kVar})) ${outKeyVar} = ${keyFast}(Number(${kVar}));`);
1626
- if (isLoose) {
1627
- // A loose record keeps a key its schema rejects, copying the value across unvalidated rather than failing the parse.
1628
- d.write(`if (${outKeyVar} === INVALID) { ${outputVar}[${kVar}] = ${accessor}[${kVar}]; continue; }`);
1629
- }
1630
- else {
1631
- d.write(`if (${outKeyVar} === INVALID) return INVALID;`);
1632
- }
1633
- // The guard above tested the input key, but the schema can normalize an ordinary key into __proto__; re-check the one actually written under.
1634
- d.write(`if (${outKeyVar} === "__proto__") continue;`);
1635
- // Read once: the raw expression would be evaluated again by the output write below, so an accessor could return an unvalidated second value.
1636
- const valueVar = newVar(ctx);
1637
- d.write(`const ${valueVar} = ${accessor}[${kVar}];`);
1638
- const valOutput = compileChild(d, ctx, def.valueType, valueVar);
1639
- d.write(`${outputVar}[${outKeyVar}] = ${valOutput};`);
1640
- });
1641
- return outputVar;
1642
- }
1643
- // Plain z.string() keys: every own enumerable string key's value is validated, and an own enumerable symbol key fails the string key schema, as it does in the runtime's Reflect.ownKeys walk.
1644
- emitOwnKeys(doc, ctx, accessor, kVar, (d) => {
1645
- d.write(`const ${valVar} = ${accessor}[${kVar}];`);
1646
- const valOutput = compileChild(d, ctx, def.valueType, valVar);
1647
- d.write(`${outputVar}[${kVar}] = ${valOutput};`);
1648
- }, `return INVALID;`);
1649
- return outputVar;
1650
- }
1651
- // Walks the own enumerable keys of a plain object in Reflect.ownKeys order — strings from getOwnPropertyNames, then symbols — instead of Reflect.ownKeys, whose accumulator made that walk 3–6x the cost of the loop it fed. Both snapshots are taken before any value is read and every key is rechecked with propertyIsEnumerable when visited, exactly the runtime's walk, so a getter that adds, deletes, hides or reveals a key mid-walk sees the runtime's verdict; for-in and Object.keys were no faster and each lost a case (for-in enumerates the prototype chain after the own keys, Object.keys drops a key that is non-enumerable at snapshot time). `body` is written once for the string loop and once for the symbol loop unless `onSymbol` replaces the latter.
1652
- function emitOwnKeys(doc, ctx, accessor, kVar, body, onSymbol) {
1653
- const propIsEnumerableConst = addConstant(ctx, Object.prototype.propertyIsEnumerable);
1654
- const symsVar = newVar(ctx);
1655
- const keysVar = newVar(ctx);
1656
- const iVar = newVar(ctx);
1657
- doc.write(`const ${symsVar} = Object.getOwnPropertySymbols(${accessor});`);
1658
- doc.write(`const ${keysVar} = Object.getOwnPropertyNames(${accessor});`);
1659
- doc.write(`for (let ${iVar} = 0; ${iVar} < ${keysVar}.length; ${iVar}++) {`);
1660
- doc.indented((d) => {
1661
- d.write(`const ${kVar} = ${keysVar}[${iVar}];`);
1662
- d.write(`if (${kVar} === "__proto__" || !${propIsEnumerableConst}.call(${accessor}, ${kVar})) continue;`);
1663
- body(d);
1664
- });
1665
- doc.write(`}`);
1666
- doc.write(`for (let ${iVar} = 0; ${iVar} < ${symsVar}.length; ${iVar}++) {`);
1667
- doc.indented((d) => {
1668
- d.write(`const ${kVar} = ${symsVar}[${iVar}];`);
1669
- d.write(`if (!${propIsEnumerableConst}.call(${accessor}, ${kVar})) continue;`);
1670
- if (onSymbol)
1671
- d.write(onSymbol);
1672
- else
1673
- body(d);
1674
- });
1675
- doc.write(`}`);
1676
- }
1677
- function literalPropertyKey(ctx, key) {
1678
- if (typeof key === "string")
1679
- return util.esc(key);
1680
- return addConstant(ctx, key);
1681
- }
1682
- function generateMapCheck(doc, ctx, schema, accessor) {
1683
- const def = schema._zod.def;
1684
- doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
1685
- generateSizeGate(doc, schema, `${accessor}.size`);
1686
- const outputVar = newVar(ctx);
1687
- const kVar = newVar(ctx);
1688
- const valVar = newVar(ctx);
1689
- doc.write(`const ${outputVar} = new Map();`);
1690
- doc.write(`for (const [${kVar}, ${valVar}] of ${accessor}) {`);
1691
- doc.indented((d) => {
1692
- const keyOutput = generateCheck(d, ctx, def.keyType, kVar);
1693
- const valOutput = generateCheck(d, ctx, def.valueType, valVar);
1694
- d.write(`${outputVar}.set(${keyOutput}, ${valOutput});`);
1695
- });
1696
- doc.write(`}`);
1697
- return outputVar;
1698
- }
1699
- function generateSetCheck(doc, ctx, schema, accessor) {
1700
- const def = schema._zod.def;
1701
- doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
1702
- generateSizeGate(doc, schema, `${accessor}.size`);
1703
- const outputVar = newVar(ctx);
1704
- const valVar = newVar(ctx);
1705
- doc.write(`const ${outputVar} = new Set();`);
1706
- doc.write(`for (const ${valVar} of ${accessor}) {`);
1707
- doc.indented((d) => {
1708
- const valOutput = generateCheck(d, ctx, def.valueType, valVar);
1709
- d.write(`${outputVar}.add(${valOutput});`);
1710
- });
1711
- doc.write(`}`);
1712
- return outputVar;
1713
- }
1714
- function generateFileCheck(doc, accessor) {
1715
- // Runtime $ZodFile is a bare `instanceof File`, including the implicit global lookup. The previous duck-typed fallback accepted arbitrary {name, size} objects in File-less environments — behavior the runtime never had.
1716
- doc.write(`if (!(${accessor} instanceof File)) return INVALID;`);
1717
- return accessor;
1718
- }
1719
- function generateTemplateLiteralCheck(doc, ctx, schema, accessor) {
1720
- doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
1721
- // Template literal schemas have a pre-computed pattern in _zod.pattern
1722
- const pattern = schema._zod.pattern;
1723
- if (pattern) {
1724
- const patternConst = addConstant(ctx, pattern);
1725
- doc.write(`${patternConst}.lastIndex = 0;`);
1726
- doc.write(`if (!${patternConst}.test(${accessor})) return INVALID;`);
1727
- }
1728
- return accessor;
1729
- }
1730
- function generateLazyCheck(doc, ctx, schema, accessor) {
1731
- // For lazy schemas, we use a cached parser that falls back to runtime Zod parsing This handles recursive schemas correctly by avoiding infinite compilation loops
1732
- const def = schema._zod.def;
1733
- const getterConst = addUserConstant(ctx, def.getter);
1734
- const cacheConst = addConstant(ctx, { parser: null });
1735
- doc.write(`if (!${cacheConst}.parser) {`);
1736
- doc.indented((d) => {
1737
- d.write(`const inner = ${getterConst}();`);
1738
- d.write(`${cacheConst}.parser = function(input) {`);
1739
- d.indented((d2) => {
1740
- // Use runtime Zod parsing - this correctly handles recursive schemas Pass an empty ctx like runtimeRun does — runtime parsers read ctx.skipChecks/ctx.direction unconditionally and crash on undefined.
1741
- d2.write(`const result = inner._zod.run({ value: input, issues: [] }, {});`);
1742
- d2.write(`return result.issues.length === 0 ? result.value : INVALID;`);
1743
- });
1744
- d.write(`};`);
1745
- });
1746
- doc.write(`}`);
1747
- const outputVar = newVar(ctx);
1748
- doc.write(`const ${outputVar} = ${cacheConst}.parser(${accessor});`);
1749
- doc.write(`if (${outputVar} === INVALID) return INVALID;`);
1750
- return outputVar;
1751
- }
1752
- function generatePipeCheck(doc, ctx, schema, accessor) {
1753
- const def = schema._zod.def;
1754
- // Validate input type first
1755
- const inputOutput = generateCheck(doc, ctx, def.in, accessor);
1756
- if (def.transform) {
1757
- // Apply transform and validate output. The transform may read its second `payload` argument (codec transforms like z.stringbool() push issues there) so wrap the call in a helper that spoofs a payload. Pushed issues signal INVALID and the wrapper falls back to the runtime, and a plain function handing back a promise answers INVALID too — union parity, but not a decidable rejection at the top level.
1758
- if (isAsyncFunction(def.transform)) {
1759
- throw new ZodCompileAsyncError("z.compile: async transforms in pipes are not supported");
1760
- }
1761
- const transformFn = def.transform;
1762
- const helperFn = (value) => {
1763
- // `addIssue` has to be here: a transform reporting through it is reporting, not failing. Without it the call threw a TypeError that the old catch swallowed into a fallback, so every ctx.addIssue transform quietly lost its fast path and the real error was never visible.
1764
- const fakePayload = { value, issues: [], addIssue: pushIssue };
1765
- // A throw is deliberately not caught. The interpreter lets one propagate out of the whole parse; swallowing it into INVALID turned a thrown error into a merely-rejected union branch, so a later branch answered instead.
1766
- const result = transformFn(value, fakePayload);
1767
- if (result instanceof Promise)
1768
- return INVALID;
1769
- return fakePayload.issues.length === 0 ? result : INVALID;
1770
- };
1771
- const helperConst = addUserConstant(ctx, helperFn);
1772
- const transformedVar = newVar(ctx);
1773
- doc.write(`const ${transformedVar} = ${helperConst}(${inputOutput});`);
1774
- doc.write(`if (${transformedVar} === INVALID) return INVALID;`);
1775
- return generateCheck(doc, ctx, def.out, transformedVar);
1776
- }
1777
- else {
1778
- // No transform - validate output type on same value
1779
- return generateCheck(doc, ctx, def.out, inputOutput);
1780
- }
1781
- }
1782
- function isAsyncFunction(fn) {
1783
- return (typeof fn === "function" &&
1784
- (fn.constructor.name === "AsyncFunction" ||
1785
- fn[Symbol.toStringTag] === "AsyncFunction"));
1786
- }
1787
- function generateCustomCheck(doc, ctx, schema, accessor) {
1788
- const def = schema._zod.def;
1789
- if (def.fn) {
1790
- // Check for async function
1791
- if (isAsyncFunction(def.fn)) {
1792
- throw new ZodCompileAsyncError("z.compile: async custom predicates are not supported");
1793
- }
1794
- // Custom schema with a predicate function (e.g. z.instanceof). `isAsyncFunction` above is syntactic, so a plain function returning a promise reaches here, and a promise is truthy — it would read as a pass where the interpreter throws.
1795
- const fnConst = addUserConstant(ctx, def.fn);
1796
- const throwAsyncConst = addConstant(ctx, throwAsync);
1797
- const resVar = newVar(ctx);
1798
- doc.write(`const ${resVar} = ${fnConst}(${accessor});`);
1799
- doc.write(`if (${resVar} instanceof Promise) ${throwAsyncConst}();`);
1800
- doc.write(`if (!${resVar}) return INVALID;`);
1801
- }
1802
- else {
1803
- throw new ZodCompileUnsupportedError("custom schema without a predicate function");
1804
- }
1805
- return accessor;
1806
- }
1807
- // Runtime helper for a compiled `catch`: runs the inner schema once and returns its value when it succeeded. Anything else — a failure the catch would handle, or an async inner — returns INVALID so the interpreter takes over.
1808
- function runtimeCatch(innerSchema, catchValue, value) {
1809
- const result = innerSchema._zod.run({ value, issues: [] }, {});
1810
- if (result && typeof result.then === "function")
1811
- return INVALID;
1812
- const r = result;
1813
- if (r.issues.length === 0)
1814
- return r.value;
1815
- // Only reached for a catch value that ignores the parse context — codegen refuses the rest — so there are no issues to finalize and nothing here needs the caller's error map.
1816
- return catchValue();
1817
- }
1818
- function generateCatchCheck(doc, ctx, schema, accessor) {
1819
- const def = schema._zod.def;
1820
- // An untagged catchValue is a user callback, and one reading `ctx.error` needs the caller's per-parse error map. Catch *succeeds*, so a wrong message there is unobservable — refuse at codegen, and not islandable either, since `runtimeRun` has no context to hand it.
1821
- if (!def.catchValue[util.CONSTANT_CATCH]) {
1822
- throw new ZodCompileUnsupportedError("catch with a callback (only a constant catch value compiles)", false);
1823
- }
1824
- const outputVar = newVar(ctx);
1825
- doc.write(`let ${outputVar} = (() => {`);
1826
- doc.indented((d) => {
1827
- const innerOut = compileChild(d, ctx, def.innerType, accessor);
1828
- d.write(`return ${innerOut};`);
1829
- });
1830
- doc.write(`})();`);
1831
- const innerConst = addConstant(ctx, def.innerType);
1832
- const catchConst = addUserConstant(ctx, def.catchValue);
1833
- const catchHelperConst = addConstant(ctx, runtimeCatch);
1834
- doc.write(`if (${outputVar} === INVALID) {`);
1835
- doc.indented((d) => {
1836
- d.write(`${outputVar} = ${catchHelperConst}(${innerConst}, ${catchConst}, ${accessor});`);
1837
- d.write(`if (${outputVar} === INVALID) return INVALID;`);
1838
- });
1839
- doc.write(`}`);
1840
- return outputVar;
1841
- }
1842
- function generateTransformCheck(doc, ctx, schema, accessor) {
1843
- const def = schema._zod.def;
1844
- if (def.transform) {
1845
- // Check for async transform
1846
- if (isAsyncFunction(def.transform)) {
1847
- throw new ZodCompileAsyncError("z.compile: async transforms are not supported");
1848
- }
1849
- // Create a helper that runs the transform and returns the result or INVALID on error
1850
- const transformFn = def.transform;
1851
- const helperFn = (value) => {
1852
- const fakePayload = { value, issues: [], addIssue: pushIssue };
1853
- // As in the pipe helper: a throw propagates, because the interpreter lets it out of the whole parse rather than treating it as a failed branch.
1854
- const result = transformFn(value, fakePayload);
1855
- if (result instanceof Promise)
1856
- return INVALID;
1857
- return fakePayload.issues.length === 0 ? result : INVALID;
1858
- };
1859
- const helperConst = addUserConstant(ctx, helperFn);
1860
- const outputVar = newVar(ctx);
1861
- doc.write(`const ${outputVar} = ${helperConst}(${accessor});`);
1862
- doc.write(`if (${outputVar} === INVALID) return INVALID;`);
1863
- return outputVar;
1864
- }
1865
- return accessor;
1866
- }