@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,2778 +0,0 @@
1
- const EventEmitter = require('node:events').EventEmitter;
2
- const childProcess = require('node:child_process');
3
- const path = require('node:path');
4
- const fs = require('node:fs');
5
- const process = require('node:process');
6
-
7
- const { Argument, humanReadableArgName } = require('./argument.js');
8
- const { CommanderError } = require('./error.js');
9
- const { Help, stripColor } = require('./help.js');
10
- const { Option, DualOptions } = require('./option.js');
11
- const { suggestSimilar } = require('./suggestSimilar');
12
-
13
- class Command extends EventEmitter {
14
- /**
15
- * Initialize a new `Command`.
16
- *
17
- * @param {string} [name]
18
- */
19
-
20
- constructor(name) {
21
- super();
22
- /** @type {Command[]} */
23
- this.commands = [];
24
- /** @type {Option[]} */
25
- this.options = [];
26
- this.parent = null;
27
- this._allowUnknownOption = false;
28
- this._allowExcessArguments = false;
29
- /** @type {Argument[]} */
30
- this.registeredArguments = [];
31
- this._args = this.registeredArguments; // deprecated old name
32
- /** @type {string[]} */
33
- this.args = []; // cli args with options removed
34
- this.rawArgs = [];
35
- this.processedArgs = []; // like .args but after custom processing and collecting variadic
36
- this._scriptPath = null;
37
- this._name = name || '';
38
- this._optionValues = {};
39
- this._optionValueSources = {}; // default, env, cli etc
40
- this._storeOptionsAsProperties = false;
41
- this._actionHandler = null;
42
- this._executableHandler = false;
43
- this._executableFile = null; // custom name for executable
44
- this._executableDir = null; // custom search directory for subcommands
45
- this._defaultCommandName = null;
46
- this._exitCallback = null;
47
- this._aliases = [];
48
- this._combineFlagAndOptionalValue = true;
49
- this._description = '';
50
- this._summary = '';
51
- this._argsDescription = undefined; // legacy
52
- this._enablePositionalOptions = false;
53
- this._passThroughOptions = false;
54
- this._lifeCycleHooks = {}; // a hash of arrays
55
- /** @type {(boolean | string)} */
56
- this._showHelpAfterError = false;
57
- this._showSuggestionAfterError = true;
58
- this._savedState = null; // used in save/restoreStateBeforeParse
59
-
60
- // see configureOutput() for docs
61
- this._outputConfiguration = {
62
- writeOut: (str) => process.stdout.write(str),
63
- writeErr: (str) => process.stderr.write(str),
64
- outputError: (str, write) => write(str),
65
- getOutHelpWidth: () =>
66
- process.stdout.isTTY ? process.stdout.columns : undefined,
67
- getErrHelpWidth: () =>
68
- process.stderr.isTTY ? process.stderr.columns : undefined,
69
- getOutHasColors: () =>
70
- useColor() ?? (process.stdout.isTTY && process.stdout.hasColors?.()),
71
- getErrHasColors: () =>
72
- useColor() ?? (process.stderr.isTTY && process.stderr.hasColors?.()),
73
- stripColor: (str) => stripColor(str),
74
- };
75
-
76
- this._hidden = false;
77
- /** @type {(Option | null | undefined)} */
78
- this._helpOption = undefined; // Lazy created on demand. May be null if help option is disabled.
79
- this._addImplicitHelpCommand = undefined; // undecided whether true or false yet, not inherited
80
- /** @type {Command} */
81
- this._helpCommand = undefined; // lazy initialised, inherited
82
- this._helpConfiguration = {};
83
- /** @type {string | undefined} */
84
- this._helpGroupHeading = undefined; // soft initialised when added to parent
85
- /** @type {string | undefined} */
86
- this._defaultCommandGroup = undefined;
87
- /** @type {string | undefined} */
88
- this._defaultOptionGroup = undefined;
89
- }
90
-
91
- /**
92
- * Copy settings that are useful to have in common across root command and subcommands.
93
- *
94
- * (Used internally when adding a command using `.command()` so subcommands inherit parent settings.)
95
- *
96
- * @param {Command} sourceCommand
97
- * @return {Command} `this` command for chaining
98
- */
99
- copyInheritedSettings(sourceCommand) {
100
- this._outputConfiguration = sourceCommand._outputConfiguration;
101
- this._helpOption = sourceCommand._helpOption;
102
- this._helpCommand = sourceCommand._helpCommand;
103
- this._helpConfiguration = sourceCommand._helpConfiguration;
104
- this._exitCallback = sourceCommand._exitCallback;
105
- this._storeOptionsAsProperties = sourceCommand._storeOptionsAsProperties;
106
- this._combineFlagAndOptionalValue =
107
- sourceCommand._combineFlagAndOptionalValue;
108
- this._allowExcessArguments = sourceCommand._allowExcessArguments;
109
- this._enablePositionalOptions = sourceCommand._enablePositionalOptions;
110
- this._showHelpAfterError = sourceCommand._showHelpAfterError;
111
- this._showSuggestionAfterError = sourceCommand._showSuggestionAfterError;
112
-
113
- return this;
114
- }
115
-
116
- /**
117
- * @returns {Command[]}
118
- * @private
119
- */
120
-
121
- _getCommandAndAncestors() {
122
- const result = [];
123
- // eslint-disable-next-line @typescript-eslint/no-this-alias
124
- for (let command = this; command; command = command.parent) {
125
- result.push(command);
126
- }
127
- return result;
128
- }
129
-
130
- /**
131
- * Define a command.
132
- *
133
- * There are two styles of command: pay attention to where to put the description.
134
- *
135
- * @example
136
- * // Command implemented using action handler (description is supplied separately to `.command`)
137
- * program
138
- * .command('clone <source> [destination]')
139
- * .description('clone a repository into a newly created directory')
140
- * .action((source, destination) => {
141
- * console.log('clone command called');
142
- * });
143
- *
144
- * // Command implemented using separate executable file (description is second parameter to `.command`)
145
- * program
146
- * .command('start <service>', 'start named service')
147
- * .command('stop [service]', 'stop named service, or all if no name supplied');
148
- *
149
- * @param {string} nameAndArgs - command name and arguments, args are `<required>` or `[optional]` and last may also be `variadic...`
150
- * @param {(object | string)} [actionOptsOrExecDesc] - configuration options (for action), or description (for executable)
151
- * @param {object} [execOpts] - configuration options (for executable)
152
- * @return {Command} returns new command for action handler, or `this` for executable command
153
- */
154
-
155
- command(nameAndArgs, actionOptsOrExecDesc, execOpts) {
156
- let desc = actionOptsOrExecDesc;
157
- let opts = execOpts;
158
- if (typeof desc === 'object' && desc !== null) {
159
- opts = desc;
160
- desc = null;
161
- }
162
- opts = opts || {};
163
- const [, name, args] = nameAndArgs.match(/([^ ]+) *(.*)/);
164
-
165
- const cmd = this.createCommand(name);
166
- if (desc) {
167
- cmd.description(desc);
168
- cmd._executableHandler = true;
169
- }
170
- if (opts.isDefault) this._defaultCommandName = cmd._name;
171
- cmd._hidden = !!(opts.noHelp || opts.hidden); // noHelp is deprecated old name for hidden
172
- cmd._executableFile = opts.executableFile || null; // Custom name for executable file, set missing to null to match constructor
173
- if (args) cmd.arguments(args);
174
- this._registerCommand(cmd);
175
- cmd.parent = this;
176
- cmd.copyInheritedSettings(this);
177
-
178
- if (desc) return this;
179
- return cmd;
180
- }
181
-
182
- /**
183
- * Factory routine to create a new unattached command.
184
- *
185
- * See .command() for creating an attached subcommand, which uses this routine to
186
- * create the command. You can override createCommand to customise subcommands.
187
- *
188
- * @param {string} [name]
189
- * @return {Command} new command
190
- */
191
-
192
- createCommand(name) {
193
- return new Command(name);
194
- }
195
-
196
- /**
197
- * You can customise the help with a subclass of Help by overriding createHelp,
198
- * or by overriding Help properties using configureHelp().
199
- *
200
- * @return {Help}
201
- */
202
-
203
- createHelp() {
204
- return Object.assign(new Help(), this.configureHelp());
205
- }
206
-
207
- /**
208
- * You can customise the help by overriding Help properties using configureHelp(),
209
- * or with a subclass of Help by overriding createHelp().
210
- *
211
- * @param {object} [configuration] - configuration options
212
- * @return {(Command | object)} `this` command for chaining, or stored configuration
213
- */
214
-
215
- configureHelp(configuration) {
216
- if (configuration === undefined) return this._helpConfiguration;
217
-
218
- this._helpConfiguration = configuration;
219
- return this;
220
- }
221
-
222
- /**
223
- * The default output goes to stdout and stderr. You can customise this for special
224
- * applications. You can also customise the display of errors by overriding outputError.
225
- *
226
- * The configuration properties are all functions:
227
- *
228
- * // change how output being written, defaults to stdout and stderr
229
- * writeOut(str)
230
- * writeErr(str)
231
- * // change how output being written for errors, defaults to writeErr
232
- * outputError(str, write) // used for displaying errors and not used for displaying help
233
- * // specify width for wrapping help
234
- * getOutHelpWidth()
235
- * getErrHelpWidth()
236
- * // color support, currently only used with Help
237
- * getOutHasColors()
238
- * getErrHasColors()
239
- * stripColor() // used to remove ANSI escape codes if output does not have colors
240
- *
241
- * @param {object} [configuration] - configuration options
242
- * @return {(Command | object)} `this` command for chaining, or stored configuration
243
- */
244
-
245
- configureOutput(configuration) {
246
- if (configuration === undefined) return this._outputConfiguration;
247
-
248
- this._outputConfiguration = Object.assign(
249
- {},
250
- this._outputConfiguration,
251
- configuration,
252
- );
253
- return this;
254
- }
255
-
256
- /**
257
- * Display the help or a custom message after an error occurs.
258
- *
259
- * @param {(boolean|string)} [displayHelp]
260
- * @return {Command} `this` command for chaining
261
- */
262
- showHelpAfterError(displayHelp = true) {
263
- if (typeof displayHelp !== 'string') displayHelp = !!displayHelp;
264
- this._showHelpAfterError = displayHelp;
265
- return this;
266
- }
267
-
268
- /**
269
- * Display suggestion of similar commands for unknown commands, or options for unknown options.
270
- *
271
- * @param {boolean} [displaySuggestion]
272
- * @return {Command} `this` command for chaining
273
- */
274
- showSuggestionAfterError(displaySuggestion = true) {
275
- this._showSuggestionAfterError = !!displaySuggestion;
276
- return this;
277
- }
278
-
279
- /**
280
- * Add a prepared subcommand.
281
- *
282
- * See .command() for creating an attached subcommand which inherits settings from its parent.
283
- *
284
- * @param {Command} cmd - new subcommand
285
- * @param {object} [opts] - configuration options
286
- * @return {Command} `this` command for chaining
287
- */
288
-
289
- addCommand(cmd, opts) {
290
- if (!cmd._name) {
291
- throw new Error(`Command passed to .addCommand() must have a name
292
- - specify the name in Command constructor or using .name()`);
293
- }
294
-
295
- opts = opts || {};
296
- if (opts.isDefault) this._defaultCommandName = cmd._name;
297
- if (opts.noHelp || opts.hidden) cmd._hidden = true; // modifying passed command due to existing implementation
298
-
299
- this._registerCommand(cmd);
300
- cmd.parent = this;
301
- cmd._checkForBrokenPassThrough();
302
-
303
- return this;
304
- }
305
-
306
- /**
307
- * Factory routine to create a new unattached argument.
308
- *
309
- * See .argument() for creating an attached argument, which uses this routine to
310
- * create the argument. You can override createArgument to return a custom argument.
311
- *
312
- * @param {string} name
313
- * @param {string} [description]
314
- * @return {Argument} new argument
315
- */
316
-
317
- createArgument(name, description) {
318
- return new Argument(name, description);
319
- }
320
-
321
- /**
322
- * Define argument syntax for command.
323
- *
324
- * The default is that the argument is required, and you can explicitly
325
- * indicate this with <> around the name. Put [] around the name for an optional argument.
326
- *
327
- * @example
328
- * program.argument('<input-file>');
329
- * program.argument('[output-file]');
330
- *
331
- * @param {string} name
332
- * @param {string} [description]
333
- * @param {(Function|*)} [parseArg] - custom argument processing function or default value
334
- * @param {*} [defaultValue]
335
- * @return {Command} `this` command for chaining
336
- */
337
- argument(name, description, parseArg, defaultValue) {
338
- const argument = this.createArgument(name, description);
339
- if (typeof parseArg === 'function') {
340
- argument.default(defaultValue).argParser(parseArg);
341
- } else {
342
- argument.default(parseArg);
343
- }
344
- this.addArgument(argument);
345
- return this;
346
- }
347
-
348
- /**
349
- * Define argument syntax for command, adding multiple at once (without descriptions).
350
- *
351
- * See also .argument().
352
- *
353
- * @example
354
- * program.arguments('<cmd> [env]');
355
- *
356
- * @param {string} names
357
- * @return {Command} `this` command for chaining
358
- */
359
-
360
- arguments(names) {
361
- names
362
- .trim()
363
- .split(/ +/)
364
- .forEach((detail) => {
365
- this.argument(detail);
366
- });
367
- return this;
368
- }
369
-
370
- /**
371
- * Define argument syntax for command, adding a prepared argument.
372
- *
373
- * @param {Argument} argument
374
- * @return {Command} `this` command for chaining
375
- */
376
- addArgument(argument) {
377
- const previousArgument = this.registeredArguments.slice(-1)[0];
378
- if (previousArgument && previousArgument.variadic) {
379
- throw new Error(
380
- `only the last argument can be variadic '${previousArgument.name()}'`,
381
- );
382
- }
383
- if (
384
- argument.required &&
385
- argument.defaultValue !== undefined &&
386
- argument.parseArg === undefined
387
- ) {
388
- throw new Error(
389
- `a default value for a required argument is never used: '${argument.name()}'`,
390
- );
391
- }
392
- this.registeredArguments.push(argument);
393
- return this;
394
- }
395
-
396
- /**
397
- * Customise or override default help command. By default a help command is automatically added if your command has subcommands.
398
- *
399
- * @example
400
- * program.helpCommand('help [cmd]');
401
- * program.helpCommand('help [cmd]', 'show help');
402
- * program.helpCommand(false); // suppress default help command
403
- * program.helpCommand(true); // add help command even if no subcommands
404
- *
405
- * @param {string|boolean} enableOrNameAndArgs - enable with custom name and/or arguments, or boolean to override whether added
406
- * @param {string} [description] - custom description
407
- * @return {Command} `this` command for chaining
408
- */
409
-
410
- helpCommand(enableOrNameAndArgs, description) {
411
- if (typeof enableOrNameAndArgs === 'boolean') {
412
- this._addImplicitHelpCommand = enableOrNameAndArgs;
413
- if (enableOrNameAndArgs && this._defaultCommandGroup) {
414
- // make the command to store the group
415
- this._initCommandGroup(this._getHelpCommand());
416
- }
417
- return this;
418
- }
419
-
420
- const nameAndArgs = enableOrNameAndArgs ?? 'help [command]';
421
- const [, helpName, helpArgs] = nameAndArgs.match(/([^ ]+) *(.*)/);
422
- const helpDescription = description ?? 'display help for command';
423
-
424
- const helpCommand = this.createCommand(helpName);
425
- helpCommand.helpOption(false);
426
- if (helpArgs) helpCommand.arguments(helpArgs);
427
- if (helpDescription) helpCommand.description(helpDescription);
428
-
429
- this._addImplicitHelpCommand = true;
430
- this._helpCommand = helpCommand;
431
- // init group unless lazy create
432
- if (enableOrNameAndArgs || description) this._initCommandGroup(helpCommand);
433
-
434
- return this;
435
- }
436
-
437
- /**
438
- * Add prepared custom help command.
439
- *
440
- * @param {(Command|string|boolean)} helpCommand - custom help command, or deprecated enableOrNameAndArgs as for `.helpCommand()`
441
- * @param {string} [deprecatedDescription] - deprecated custom description used with custom name only
442
- * @return {Command} `this` command for chaining
443
- */
444
- addHelpCommand(helpCommand, deprecatedDescription) {
445
- // If not passed an object, call through to helpCommand for backwards compatibility,
446
- // as addHelpCommand was originally used like helpCommand is now.
447
- if (typeof helpCommand !== 'object') {
448
- this.helpCommand(helpCommand, deprecatedDescription);
449
- return this;
450
- }
451
-
452
- this._addImplicitHelpCommand = true;
453
- this._helpCommand = helpCommand;
454
- this._initCommandGroup(helpCommand);
455
- return this;
456
- }
457
-
458
- /**
459
- * Lazy create help command.
460
- *
461
- * @return {(Command|null)}
462
- * @package
463
- */
464
- _getHelpCommand() {
465
- const hasImplicitHelpCommand =
466
- this._addImplicitHelpCommand ??
467
- (this.commands.length &&
468
- !this._actionHandler &&
469
- !this._findCommand('help'));
470
-
471
- if (hasImplicitHelpCommand) {
472
- if (this._helpCommand === undefined) {
473
- this.helpCommand(undefined, undefined); // use default name and description
474
- }
475
- return this._helpCommand;
476
- }
477
- return null;
478
- }
479
-
480
- /**
481
- * Add hook for life cycle event.
482
- *
483
- * @param {string} event
484
- * @param {Function} listener
485
- * @return {Command} `this` command for chaining
486
- */
487
-
488
- hook(event, listener) {
489
- const allowedValues = ['preSubcommand', 'preAction', 'postAction'];
490
- if (!allowedValues.includes(event)) {
491
- throw new Error(`Unexpected value for event passed to hook : '${event}'.
492
- Expecting one of '${allowedValues.join("', '")}'`);
493
- }
494
- if (this._lifeCycleHooks[event]) {
495
- this._lifeCycleHooks[event].push(listener);
496
- } else {
497
- this._lifeCycleHooks[event] = [listener];
498
- }
499
- return this;
500
- }
501
-
502
- /**
503
- * Register callback to use as replacement for calling process.exit.
504
- *
505
- * @param {Function} [fn] optional callback which will be passed a CommanderError, defaults to throwing
506
- * @return {Command} `this` command for chaining
507
- */
508
-
509
- exitOverride(fn) {
510
- if (fn) {
511
- this._exitCallback = fn;
512
- } else {
513
- this._exitCallback = (err) => {
514
- if (err.code !== 'commander.executeSubCommandAsync') {
515
- throw err;
516
- } else {
517
- // Async callback from spawn events, not useful to throw.
518
- }
519
- };
520
- }
521
- return this;
522
- }
523
-
524
- /**
525
- * Call process.exit, and _exitCallback if defined.
526
- *
527
- * @param {number} exitCode exit code for using with process.exit
528
- * @param {string} code an id string representing the error
529
- * @param {string} message human-readable description of the error
530
- * @return never
531
- * @private
532
- */
533
-
534
- _exit(exitCode, code, message) {
535
- if (this._exitCallback) {
536
- this._exitCallback(new CommanderError(exitCode, code, message));
537
- // Expecting this line is not reached.
538
- }
539
- process.exit(exitCode);
540
- }
541
-
542
- /**
543
- * Register callback `fn` for the command.
544
- *
545
- * @example
546
- * program
547
- * .command('serve')
548
- * .description('start service')
549
- * .action(function() {
550
- * // do work here
551
- * });
552
- *
553
- * @param {Function} fn
554
- * @return {Command} `this` command for chaining
555
- */
556
-
557
- action(fn) {
558
- const listener = (args) => {
559
- // The .action callback takes an extra parameter which is the command or options.
560
- const expectedArgsCount = this.registeredArguments.length;
561
- const actionArgs = args.slice(0, expectedArgsCount);
562
- if (this._storeOptionsAsProperties) {
563
- actionArgs[expectedArgsCount] = this; // backwards compatible "options"
564
- } else {
565
- actionArgs[expectedArgsCount] = this.opts();
566
- }
567
- actionArgs.push(this);
568
-
569
- return fn.apply(this, actionArgs);
570
- };
571
- this._actionHandler = listener;
572
- return this;
573
- }
574
-
575
- /**
576
- * Factory routine to create a new unattached option.
577
- *
578
- * See .option() for creating an attached option, which uses this routine to
579
- * create the option. You can override createOption to return a custom option.
580
- *
581
- * @param {string} flags
582
- * @param {string} [description]
583
- * @return {Option} new option
584
- */
585
-
586
- createOption(flags, description) {
587
- return new Option(flags, description);
588
- }
589
-
590
- /**
591
- * Wrap parseArgs to catch 'commander.invalidArgument'.
592
- *
593
- * @param {(Option | Argument)} target
594
- * @param {string} value
595
- * @param {*} previous
596
- * @param {string} invalidArgumentMessage
597
- * @private
598
- */
599
-
600
- _callParseArg(target, value, previous, invalidArgumentMessage) {
601
- try {
602
- return target.parseArg(value, previous);
603
- } catch (err) {
604
- if (err.code === 'commander.invalidArgument') {
605
- const message = `${invalidArgumentMessage} ${err.message}`;
606
- this.error(message, { exitCode: err.exitCode, code: err.code });
607
- }
608
- throw err;
609
- }
610
- }
611
-
612
- /**
613
- * Check for option flag conflicts.
614
- * Register option if no conflicts found, or throw on conflict.
615
- *
616
- * @param {Option} option
617
- * @private
618
- */
619
-
620
- _registerOption(option) {
621
- const matchingOption =
622
- (option.short && this._findOption(option.short)) ||
623
- (option.long && this._findOption(option.long));
624
- if (matchingOption) {
625
- const matchingFlag =
626
- option.long && this._findOption(option.long)
627
- ? option.long
628
- : option.short;
629
- throw new Error(`Cannot add option '${option.flags}'${this._name && ` to command '${this._name}'`} due to conflicting flag '${matchingFlag}'
630
- - already used by option '${matchingOption.flags}'`);
631
- }
632
-
633
- this._initOptionGroup(option);
634
- this.options.push(option);
635
- }
636
-
637
- /**
638
- * Check for command name and alias conflicts with existing commands.
639
- * Register command if no conflicts found, or throw on conflict.
640
- *
641
- * @param {Command} command
642
- * @private
643
- */
644
-
645
- _registerCommand(command) {
646
- const knownBy = (cmd) => {
647
- return [cmd.name()].concat(cmd.aliases());
648
- };
649
-
650
- const alreadyUsed = knownBy(command).find((name) =>
651
- this._findCommand(name),
652
- );
653
- if (alreadyUsed) {
654
- const existingCmd = knownBy(this._findCommand(alreadyUsed)).join('|');
655
- const newCmd = knownBy(command).join('|');
656
- throw new Error(
657
- `cannot add command '${newCmd}' as already have command '${existingCmd}'`,
658
- );
659
- }
660
-
661
- this._initCommandGroup(command);
662
- this.commands.push(command);
663
- }
664
-
665
- /**
666
- * Add an option.
667
- *
668
- * @param {Option} option
669
- * @return {Command} `this` command for chaining
670
- */
671
- addOption(option) {
672
- this._registerOption(option);
673
-
674
- const oname = option.name();
675
- const name = option.attributeName();
676
-
677
- // store default value
678
- if (option.negate) {
679
- // --no-foo is special and defaults foo to true, unless a --foo option is already defined
680
- const positiveLongFlag = option.long.replace(/^--no-/, '--');
681
- if (!this._findOption(positiveLongFlag)) {
682
- this.setOptionValueWithSource(
683
- name,
684
- option.defaultValue === undefined ? true : option.defaultValue,
685
- 'default',
686
- );
687
- }
688
- } else if (option.defaultValue !== undefined) {
689
- this.setOptionValueWithSource(name, option.defaultValue, 'default');
690
- }
691
-
692
- // handler for cli and env supplied values
693
- const handleOptionValue = (val, invalidValueMessage, valueSource) => {
694
- // val is null for optional option used without an optional-argument.
695
- // val is undefined for boolean and negated option.
696
- if (val == null && option.presetArg !== undefined) {
697
- val = option.presetArg;
698
- }
699
-
700
- // custom processing
701
- const oldValue = this.getOptionValue(name);
702
- if (val !== null && option.parseArg) {
703
- val = this._callParseArg(option, val, oldValue, invalidValueMessage);
704
- } else if (val !== null && option.variadic) {
705
- val = option._concatValue(val, oldValue);
706
- }
707
-
708
- // Fill-in appropriate missing values. Long winded but easy to follow.
709
- if (val == null) {
710
- if (option.negate) {
711
- val = false;
712
- } else if (option.isBoolean() || option.optional) {
713
- val = true;
714
- } else {
715
- val = ''; // not normal, parseArg might have failed or be a mock function for testing
716
- }
717
- }
718
- this.setOptionValueWithSource(name, val, valueSource);
719
- };
720
-
721
- this.on('option:' + oname, (val) => {
722
- const invalidValueMessage = `error: option '${option.flags}' argument '${val}' is invalid.`;
723
- handleOptionValue(val, invalidValueMessage, 'cli');
724
- });
725
-
726
- if (option.envVar) {
727
- this.on('optionEnv:' + oname, (val) => {
728
- const invalidValueMessage = `error: option '${option.flags}' value '${val}' from env '${option.envVar}' is invalid.`;
729
- handleOptionValue(val, invalidValueMessage, 'env');
730
- });
731
- }
732
-
733
- return this;
734
- }
735
-
736
- /**
737
- * Internal implementation shared by .option() and .requiredOption()
738
- *
739
- * @return {Command} `this` command for chaining
740
- * @private
741
- */
742
- _optionEx(config, flags, description, fn, defaultValue) {
743
- if (typeof flags === 'object' && flags instanceof Option) {
744
- throw new Error(
745
- 'To add an Option object use addOption() instead of option() or requiredOption()',
746
- );
747
- }
748
- const option = this.createOption(flags, description);
749
- option.makeOptionMandatory(!!config.mandatory);
750
- if (typeof fn === 'function') {
751
- option.default(defaultValue).argParser(fn);
752
- } else if (fn instanceof RegExp) {
753
- // deprecated
754
- const regex = fn;
755
- fn = (val, def) => {
756
- const m = regex.exec(val);
757
- return m ? m[0] : def;
758
- };
759
- option.default(defaultValue).argParser(fn);
760
- } else {
761
- option.default(fn);
762
- }
763
-
764
- return this.addOption(option);
765
- }
766
-
767
- /**
768
- * Define option with `flags`, `description`, and optional argument parsing function or `defaultValue` or both.
769
- *
770
- * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space. A required
771
- * option-argument is indicated by `<>` and an optional option-argument by `[]`.
772
- *
773
- * See the README for more details, and see also addOption() and requiredOption().
774
- *
775
- * @example
776
- * program
777
- * .option('-p, --pepper', 'add pepper')
778
- * .option('--pt, --pizza-type <TYPE>', 'type of pizza') // required option-argument
779
- * .option('-c, --cheese [CHEESE]', 'add extra cheese', 'mozzarella') // optional option-argument with default
780
- * .option('-t, --tip <VALUE>', 'add tip to purchase cost', parseFloat) // custom parse function
781
- *
782
- * @param {string} flags
783
- * @param {string} [description]
784
- * @param {(Function|*)} [parseArg] - custom option processing function or default value
785
- * @param {*} [defaultValue]
786
- * @return {Command} `this` command for chaining
787
- */
788
-
789
- option(flags, description, parseArg, defaultValue) {
790
- return this._optionEx({}, flags, description, parseArg, defaultValue);
791
- }
792
-
793
- /**
794
- * Add a required option which must have a value after parsing. This usually means
795
- * the option must be specified on the command line. (Otherwise the same as .option().)
796
- *
797
- * The `flags` string contains the short and/or long flags, separated by comma, a pipe or space.
798
- *
799
- * @param {string} flags
800
- * @param {string} [description]
801
- * @param {(Function|*)} [parseArg] - custom option processing function or default value
802
- * @param {*} [defaultValue]
803
- * @return {Command} `this` command for chaining
804
- */
805
-
806
- requiredOption(flags, description, parseArg, defaultValue) {
807
- return this._optionEx(
808
- { mandatory: true },
809
- flags,
810
- description,
811
- parseArg,
812
- defaultValue,
813
- );
814
- }
815
-
816
- /**
817
- * Alter parsing of short flags with optional values.
818
- *
819
- * @example
820
- * // for `.option('-f,--flag [value]'):
821
- * program.combineFlagAndOptionalValue(true); // `-f80` is treated like `--flag=80`, this is the default behaviour
822
- * program.combineFlagAndOptionalValue(false) // `-fb` is treated like `-f -b`
823
- *
824
- * @param {boolean} [combine] - if `true` or omitted, an optional value can be specified directly after the flag.
825
- * @return {Command} `this` command for chaining
826
- */
827
- combineFlagAndOptionalValue(combine = true) {
828
- this._combineFlagAndOptionalValue = !!combine;
829
- return this;
830
- }
831
-
832
- /**
833
- * Allow unknown options on the command line.
834
- *
835
- * @param {boolean} [allowUnknown] - if `true` or omitted, no error will be thrown for unknown options.
836
- * @return {Command} `this` command for chaining
837
- */
838
- allowUnknownOption(allowUnknown = true) {
839
- this._allowUnknownOption = !!allowUnknown;
840
- return this;
841
- }
842
-
843
- /**
844
- * Allow excess command-arguments on the command line. Pass false to make excess arguments an error.
845
- *
846
- * @param {boolean} [allowExcess] - if `true` or omitted, no error will be thrown for excess arguments.
847
- * @return {Command} `this` command for chaining
848
- */
849
- allowExcessArguments(allowExcess = true) {
850
- this._allowExcessArguments = !!allowExcess;
851
- return this;
852
- }
853
-
854
- /**
855
- * Enable positional options. Positional means global options are specified before subcommands which lets
856
- * subcommands reuse the same option names, and also enables subcommands to turn on passThroughOptions.
857
- * The default behaviour is non-positional and global options may appear anywhere on the command line.
858
- *
859
- * @param {boolean} [positional]
860
- * @return {Command} `this` command for chaining
861
- */
862
- enablePositionalOptions(positional = true) {
863
- this._enablePositionalOptions = !!positional;
864
- return this;
865
- }
866
-
867
- /**
868
- * Pass through options that come after command-arguments rather than treat them as command-options,
869
- * so actual command-options come before command-arguments. Turning this on for a subcommand requires
870
- * positional options to have been enabled on the program (parent commands).
871
- * The default behaviour is non-positional and options may appear before or after command-arguments.
872
- *
873
- * @param {boolean} [passThrough] for unknown options.
874
- * @return {Command} `this` command for chaining
875
- */
876
- passThroughOptions(passThrough = true) {
877
- this._passThroughOptions = !!passThrough;
878
- this._checkForBrokenPassThrough();
879
- return this;
880
- }
881
-
882
- /**
883
- * @private
884
- */
885
-
886
- _checkForBrokenPassThrough() {
887
- if (
888
- this.parent &&
889
- this._passThroughOptions &&
890
- !this.parent._enablePositionalOptions
891
- ) {
892
- throw new Error(
893
- `passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`,
894
- );
895
- }
896
- }
897
-
898
- /**
899
- * Whether to store option values as properties on command object,
900
- * or store separately (specify false). In both cases the option values can be accessed using .opts().
901
- *
902
- * @param {boolean} [storeAsProperties=true]
903
- * @return {Command} `this` command for chaining
904
- */
905
-
906
- storeOptionsAsProperties(storeAsProperties = true) {
907
- if (this.options.length) {
908
- throw new Error('call .storeOptionsAsProperties() before adding options');
909
- }
910
- if (Object.keys(this._optionValues).length) {
911
- throw new Error(
912
- 'call .storeOptionsAsProperties() before setting option values',
913
- );
914
- }
915
- this._storeOptionsAsProperties = !!storeAsProperties;
916
- return this;
917
- }
918
-
919
- /**
920
- * Retrieve option value.
921
- *
922
- * @param {string} key
923
- * @return {object} value
924
- */
925
-
926
- getOptionValue(key) {
927
- if (this._storeOptionsAsProperties) {
928
- return this[key];
929
- }
930
- return this._optionValues[key];
931
- }
932
-
933
- /**
934
- * Store option value.
935
- *
936
- * @param {string} key
937
- * @param {object} value
938
- * @return {Command} `this` command for chaining
939
- */
940
-
941
- setOptionValue(key, value) {
942
- return this.setOptionValueWithSource(key, value, undefined);
943
- }
944
-
945
- /**
946
- * Store option value and where the value came from.
947
- *
948
- * @param {string} key
949
- * @param {object} value
950
- * @param {string} source - expected values are default/config/env/cli/implied
951
- * @return {Command} `this` command for chaining
952
- */
953
-
954
- setOptionValueWithSource(key, value, source) {
955
- if (this._storeOptionsAsProperties) {
956
- this[key] = value;
957
- } else {
958
- this._optionValues[key] = value;
959
- }
960
- this._optionValueSources[key] = source;
961
- return this;
962
- }
963
-
964
- /**
965
- * Get source of option value.
966
- * Expected values are default | config | env | cli | implied
967
- *
968
- * @param {string} key
969
- * @return {string}
970
- */
971
-
972
- getOptionValueSource(key) {
973
- return this._optionValueSources[key];
974
- }
975
-
976
- /**
977
- * Get source of option value. See also .optsWithGlobals().
978
- * Expected values are default | config | env | cli | implied
979
- *
980
- * @param {string} key
981
- * @return {string}
982
- */
983
-
984
- getOptionValueSourceWithGlobals(key) {
985
- // global overwrites local, like optsWithGlobals
986
- let source;
987
- this._getCommandAndAncestors().forEach((cmd) => {
988
- if (cmd.getOptionValueSource(key) !== undefined) {
989
- source = cmd.getOptionValueSource(key);
990
- }
991
- });
992
- return source;
993
- }
994
-
995
- /**
996
- * Get user arguments from implied or explicit arguments.
997
- * Side-effects: set _scriptPath if args included script. Used for default program name, and subcommand searches.
998
- *
999
- * @private
1000
- */
1001
-
1002
- _prepareUserArgs(argv, parseOptions) {
1003
- if (argv !== undefined && !Array.isArray(argv)) {
1004
- throw new Error('first parameter to parse must be array or undefined');
1005
- }
1006
- parseOptions = parseOptions || {};
1007
-
1008
- // auto-detect argument conventions if nothing supplied
1009
- if (argv === undefined && parseOptions.from === undefined) {
1010
- if (process.versions?.electron) {
1011
- parseOptions.from = 'electron';
1012
- }
1013
- // check node specific options for scenarios where user CLI args follow executable without scriptname
1014
- const execArgv = process.execArgv ?? [];
1015
- if (
1016
- execArgv.includes('-e') ||
1017
- execArgv.includes('--eval') ||
1018
- execArgv.includes('-p') ||
1019
- execArgv.includes('--print')
1020
- ) {
1021
- parseOptions.from = 'eval'; // internal usage, not documented
1022
- }
1023
- }
1024
-
1025
- // default to using process.argv
1026
- if (argv === undefined) {
1027
- argv = process.argv;
1028
- }
1029
- this.rawArgs = argv.slice();
1030
-
1031
- // extract the user args and scriptPath
1032
- let userArgs;
1033
- switch (parseOptions.from) {
1034
- case undefined:
1035
- case 'node':
1036
- this._scriptPath = argv[1];
1037
- userArgs = argv.slice(2);
1038
- break;
1039
- case 'electron':
1040
- // @ts-ignore: because defaultApp is an unknown property
1041
- if (process.defaultApp) {
1042
- this._scriptPath = argv[1];
1043
- userArgs = argv.slice(2);
1044
- } else {
1045
- userArgs = argv.slice(1);
1046
- }
1047
- break;
1048
- case 'user':
1049
- userArgs = argv.slice(0);
1050
- break;
1051
- case 'eval':
1052
- userArgs = argv.slice(1);
1053
- break;
1054
- default:
1055
- throw new Error(
1056
- `unexpected parse option { from: '${parseOptions.from}' }`,
1057
- );
1058
- }
1059
-
1060
- // Find default name for program from arguments.
1061
- if (!this._name && this._scriptPath)
1062
- this.nameFromFilename(this._scriptPath);
1063
- this._name = this._name || 'program';
1064
-
1065
- return userArgs;
1066
- }
1067
-
1068
- /**
1069
- * Parse `argv`, setting options and invoking commands when defined.
1070
- *
1071
- * Use parseAsync instead of parse if any of your action handlers are async.
1072
- *
1073
- * Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
1074
- *
1075
- * Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
1076
- * - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
1077
- * - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
1078
- * - `'user'`: just user arguments
1079
- *
1080
- * @example
1081
- * program.parse(); // parse process.argv and auto-detect electron and special node flags
1082
- * program.parse(process.argv); // assume argv[0] is app and argv[1] is script
1083
- * program.parse(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
1084
- *
1085
- * @param {string[]} [argv] - optional, defaults to process.argv
1086
- * @param {object} [parseOptions] - optionally specify style of options with from: node/user/electron
1087
- * @param {string} [parseOptions.from] - where the args are from: 'node', 'user', 'electron'
1088
- * @return {Command} `this` command for chaining
1089
- */
1090
-
1091
- parse(argv, parseOptions) {
1092
- this._prepareForParse();
1093
- const userArgs = this._prepareUserArgs(argv, parseOptions);
1094
- this._parseCommand([], userArgs);
1095
-
1096
- return this;
1097
- }
1098
-
1099
- /**
1100
- * Parse `argv`, setting options and invoking commands when defined.
1101
- *
1102
- * Call with no parameters to parse `process.argv`. Detects Electron and special node options like `node --eval`. Easy mode!
1103
- *
1104
- * Or call with an array of strings to parse, and optionally where the user arguments start by specifying where the arguments are `from`:
1105
- * - `'node'`: default, `argv[0]` is the application and `argv[1]` is the script being run, with user arguments after that
1106
- * - `'electron'`: `argv[0]` is the application and `argv[1]` varies depending on whether the electron application is packaged
1107
- * - `'user'`: just user arguments
1108
- *
1109
- * @example
1110
- * await program.parseAsync(); // parse process.argv and auto-detect electron and special node flags
1111
- * await program.parseAsync(process.argv); // assume argv[0] is app and argv[1] is script
1112
- * await program.parseAsync(my-args, { from: 'user' }); // just user supplied arguments, nothing special about argv[0]
1113
- *
1114
- * @param {string[]} [argv]
1115
- * @param {object} [parseOptions]
1116
- * @param {string} parseOptions.from - where the args are from: 'node', 'user', 'electron'
1117
- * @return {Promise}
1118
- */
1119
-
1120
- async parseAsync(argv, parseOptions) {
1121
- this._prepareForParse();
1122
- const userArgs = this._prepareUserArgs(argv, parseOptions);
1123
- await this._parseCommand([], userArgs);
1124
-
1125
- return this;
1126
- }
1127
-
1128
- _prepareForParse() {
1129
- if (this._savedState === null) {
1130
- this.saveStateBeforeParse();
1131
- } else {
1132
- this.restoreStateBeforeParse();
1133
- }
1134
- }
1135
-
1136
- /**
1137
- * Called the first time parse is called to save state and allow a restore before subsequent calls to parse.
1138
- * Not usually called directly, but available for subclasses to save their custom state.
1139
- *
1140
- * This is called in a lazy way. Only commands used in parsing chain will have state saved.
1141
- */
1142
- saveStateBeforeParse() {
1143
- this._savedState = {
1144
- // name is stable if supplied by author, but may be unspecified for root command and deduced during parsing
1145
- _name: this._name,
1146
- // option values before parse have default values (including false for negated options)
1147
- // shallow clones
1148
- _optionValues: { ...this._optionValues },
1149
- _optionValueSources: { ...this._optionValueSources },
1150
- };
1151
- }
1152
-
1153
- /**
1154
- * Restore state before parse for calls after the first.
1155
- * Not usually called directly, but available for subclasses to save their custom state.
1156
- *
1157
- * This is called in a lazy way. Only commands used in parsing chain will have state restored.
1158
- */
1159
- restoreStateBeforeParse() {
1160
- if (this._storeOptionsAsProperties)
1161
- throw new Error(`Can not call parse again when storeOptionsAsProperties is true.
1162
- - either make a new Command for each call to parse, or stop storing options as properties`);
1163
-
1164
- // clear state from _prepareUserArgs
1165
- this._name = this._savedState._name;
1166
- this._scriptPath = null;
1167
- this.rawArgs = [];
1168
- // clear state from setOptionValueWithSource
1169
- this._optionValues = { ...this._savedState._optionValues };
1170
- this._optionValueSources = { ...this._savedState._optionValueSources };
1171
- // clear state from _parseCommand
1172
- this.args = [];
1173
- // clear state from _processArguments
1174
- this.processedArgs = [];
1175
- }
1176
-
1177
- /**
1178
- * Throw if expected executable is missing. Add lots of help for author.
1179
- *
1180
- * @param {string} executableFile
1181
- * @param {string} executableDir
1182
- * @param {string} subcommandName
1183
- */
1184
- _checkForMissingExecutable(executableFile, executableDir, subcommandName) {
1185
- if (fs.existsSync(executableFile)) return;
1186
-
1187
- const executableDirMessage = executableDir
1188
- ? `searched for local subcommand relative to directory '${executableDir}'`
1189
- : 'no directory for search for local subcommand, use .executableDir() to supply a custom directory';
1190
- const executableMissing = `'${executableFile}' does not exist
1191
- - if '${subcommandName}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
1192
- - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
1193
- - ${executableDirMessage}`;
1194
- throw new Error(executableMissing);
1195
- }
1196
-
1197
- /**
1198
- * Execute a sub-command executable.
1199
- *
1200
- * @private
1201
- */
1202
-
1203
- _executeSubCommand(subcommand, args) {
1204
- args = args.slice();
1205
- let launchWithNode = false; // Use node for source targets so do not need to get permissions correct, and on Windows.
1206
- const sourceExt = ['.js', '.ts', '.tsx', '.mjs', '.cjs'];
1207
-
1208
- function findFile(baseDir, baseName) {
1209
- // Look for specified file
1210
- const localBin = path.resolve(baseDir, baseName);
1211
- if (fs.existsSync(localBin)) return localBin;
1212
-
1213
- // Stop looking if candidate already has an expected extension.
1214
- if (sourceExt.includes(path.extname(baseName))) return undefined;
1215
-
1216
- // Try all the extensions.
1217
- const foundExt = sourceExt.find((ext) =>
1218
- fs.existsSync(`${localBin}${ext}`),
1219
- );
1220
- if (foundExt) return `${localBin}${foundExt}`;
1221
-
1222
- return undefined;
1223
- }
1224
-
1225
- // Not checking for help first. Unlikely to have mandatory and executable, and can't robustly test for help flags in external command.
1226
- this._checkForMissingMandatoryOptions();
1227
- this._checkForConflictingOptions();
1228
-
1229
- // executableFile and executableDir might be full path, or just a name
1230
- let executableFile =
1231
- subcommand._executableFile || `${this._name}-${subcommand._name}`;
1232
- let executableDir = this._executableDir || '';
1233
- if (this._scriptPath) {
1234
- let resolvedScriptPath; // resolve possible symlink for installed npm binary
1235
- try {
1236
- resolvedScriptPath = fs.realpathSync(this._scriptPath);
1237
- } catch {
1238
- resolvedScriptPath = this._scriptPath;
1239
- }
1240
- executableDir = path.resolve(
1241
- path.dirname(resolvedScriptPath),
1242
- executableDir,
1243
- );
1244
- }
1245
-
1246
- // Look for a local file in preference to a command in PATH.
1247
- if (executableDir) {
1248
- let localFile = findFile(executableDir, executableFile);
1249
-
1250
- // Legacy search using prefix of script name instead of command name
1251
- if (!localFile && !subcommand._executableFile && this._scriptPath) {
1252
- const legacyName = path.basename(
1253
- this._scriptPath,
1254
- path.extname(this._scriptPath),
1255
- );
1256
- if (legacyName !== this._name) {
1257
- localFile = findFile(
1258
- executableDir,
1259
- `${legacyName}-${subcommand._name}`,
1260
- );
1261
- }
1262
- }
1263
- executableFile = localFile || executableFile;
1264
- }
1265
-
1266
- launchWithNode = sourceExt.includes(path.extname(executableFile));
1267
-
1268
- let proc;
1269
- if (process.platform !== 'win32') {
1270
- if (launchWithNode) {
1271
- args.unshift(executableFile);
1272
- // add executable arguments to spawn
1273
- args = incrementNodeInspectorPort(process.execArgv).concat(args);
1274
-
1275
- proc = childProcess.spawn(process.argv[0], args, { stdio: 'inherit' });
1276
- } else {
1277
- proc = childProcess.spawn(executableFile, args, { stdio: 'inherit' });
1278
- }
1279
- } else {
1280
- this._checkForMissingExecutable(
1281
- executableFile,
1282
- executableDir,
1283
- subcommand._name,
1284
- );
1285
- args.unshift(executableFile);
1286
- // add executable arguments to spawn
1287
- args = incrementNodeInspectorPort(process.execArgv).concat(args);
1288
- proc = childProcess.spawn(process.execPath, args, { stdio: 'inherit' });
1289
- }
1290
-
1291
- if (!proc.killed) {
1292
- // testing mainly to avoid leak warnings during unit tests with mocked spawn
1293
- const signals = ['SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGINT', 'SIGHUP'];
1294
- signals.forEach((signal) => {
1295
- process.on(signal, () => {
1296
- if (proc.killed === false && proc.exitCode === null) {
1297
- // @ts-ignore because signals not typed to known strings
1298
- proc.kill(signal);
1299
- }
1300
- });
1301
- });
1302
- }
1303
-
1304
- // By default terminate process when spawned process terminates.
1305
- const exitCallback = this._exitCallback;
1306
- proc.on('close', (code) => {
1307
- code = code ?? 1; // code is null if spawned process terminated due to a signal
1308
- if (!exitCallback) {
1309
- process.exit(code);
1310
- } else {
1311
- exitCallback(
1312
- new CommanderError(
1313
- code,
1314
- 'commander.executeSubCommandAsync',
1315
- '(close)',
1316
- ),
1317
- );
1318
- }
1319
- });
1320
- proc.on('error', (err) => {
1321
- // @ts-ignore: because err.code is an unknown property
1322
- if (err.code === 'ENOENT') {
1323
- this._checkForMissingExecutable(
1324
- executableFile,
1325
- executableDir,
1326
- subcommand._name,
1327
- );
1328
- // @ts-ignore: because err.code is an unknown property
1329
- } else if (err.code === 'EACCES') {
1330
- throw new Error(`'${executableFile}' not executable`);
1331
- }
1332
- if (!exitCallback) {
1333
- process.exit(1);
1334
- } else {
1335
- const wrappedError = new CommanderError(
1336
- 1,
1337
- 'commander.executeSubCommandAsync',
1338
- '(error)',
1339
- );
1340
- wrappedError.nestedError = err;
1341
- exitCallback(wrappedError);
1342
- }
1343
- });
1344
-
1345
- // Store the reference to the child process
1346
- this.runningCommand = proc;
1347
- }
1348
-
1349
- /**
1350
- * @private
1351
- */
1352
-
1353
- _dispatchSubcommand(commandName, operands, unknown) {
1354
- const subCommand = this._findCommand(commandName);
1355
- if (!subCommand) this.help({ error: true });
1356
-
1357
- subCommand._prepareForParse();
1358
- let promiseChain;
1359
- promiseChain = this._chainOrCallSubCommandHook(
1360
- promiseChain,
1361
- subCommand,
1362
- 'preSubcommand',
1363
- );
1364
- promiseChain = this._chainOrCall(promiseChain, () => {
1365
- if (subCommand._executableHandler) {
1366
- this._executeSubCommand(subCommand, operands.concat(unknown));
1367
- } else {
1368
- return subCommand._parseCommand(operands, unknown);
1369
- }
1370
- });
1371
- return promiseChain;
1372
- }
1373
-
1374
- /**
1375
- * Invoke help directly if possible, or dispatch if necessary.
1376
- * e.g. help foo
1377
- *
1378
- * @private
1379
- */
1380
-
1381
- _dispatchHelpCommand(subcommandName) {
1382
- if (!subcommandName) {
1383
- this.help();
1384
- }
1385
- const subCommand = this._findCommand(subcommandName);
1386
- if (subCommand && !subCommand._executableHandler) {
1387
- subCommand.help();
1388
- }
1389
-
1390
- // Fallback to parsing the help flag to invoke the help.
1391
- return this._dispatchSubcommand(
1392
- subcommandName,
1393
- [],
1394
- [this._getHelpOption()?.long ?? this._getHelpOption()?.short ?? '--help'],
1395
- );
1396
- }
1397
-
1398
- /**
1399
- * Check this.args against expected this.registeredArguments.
1400
- *
1401
- * @private
1402
- */
1403
-
1404
- _checkNumberOfArguments() {
1405
- // too few
1406
- this.registeredArguments.forEach((arg, i) => {
1407
- if (arg.required && this.args[i] == null) {
1408
- this.missingArgument(arg.name());
1409
- }
1410
- });
1411
- // too many
1412
- if (
1413
- this.registeredArguments.length > 0 &&
1414
- this.registeredArguments[this.registeredArguments.length - 1].variadic
1415
- ) {
1416
- return;
1417
- }
1418
- if (this.args.length > this.registeredArguments.length) {
1419
- this._excessArguments(this.args);
1420
- }
1421
- }
1422
-
1423
- /**
1424
- * Process this.args using this.registeredArguments and save as this.processedArgs!
1425
- *
1426
- * @private
1427
- */
1428
-
1429
- _processArguments() {
1430
- const myParseArg = (argument, value, previous) => {
1431
- // Extra processing for nice error message on parsing failure.
1432
- let parsedValue = value;
1433
- if (value !== null && argument.parseArg) {
1434
- const invalidValueMessage = `error: command-argument value '${value}' is invalid for argument '${argument.name()}'.`;
1435
- parsedValue = this._callParseArg(
1436
- argument,
1437
- value,
1438
- previous,
1439
- invalidValueMessage,
1440
- );
1441
- }
1442
- return parsedValue;
1443
- };
1444
-
1445
- this._checkNumberOfArguments();
1446
-
1447
- const processedArgs = [];
1448
- this.registeredArguments.forEach((declaredArg, index) => {
1449
- let value = declaredArg.defaultValue;
1450
- if (declaredArg.variadic) {
1451
- // Collect together remaining arguments for passing together as an array.
1452
- if (index < this.args.length) {
1453
- value = this.args.slice(index);
1454
- if (declaredArg.parseArg) {
1455
- value = value.reduce((processed, v) => {
1456
- return myParseArg(declaredArg, v, processed);
1457
- }, declaredArg.defaultValue);
1458
- }
1459
- } else if (value === undefined) {
1460
- value = [];
1461
- }
1462
- } else if (index < this.args.length) {
1463
- value = this.args[index];
1464
- if (declaredArg.parseArg) {
1465
- value = myParseArg(declaredArg, value, declaredArg.defaultValue);
1466
- }
1467
- }
1468
- processedArgs[index] = value;
1469
- });
1470
- this.processedArgs = processedArgs;
1471
- }
1472
-
1473
- /**
1474
- * Once we have a promise we chain, but call synchronously until then.
1475
- *
1476
- * @param {(Promise|undefined)} promise
1477
- * @param {Function} fn
1478
- * @return {(Promise|undefined)}
1479
- * @private
1480
- */
1481
-
1482
- _chainOrCall(promise, fn) {
1483
- // thenable
1484
- if (promise && promise.then && typeof promise.then === 'function') {
1485
- // already have a promise, chain callback
1486
- return promise.then(() => fn());
1487
- }
1488
- // callback might return a promise
1489
- return fn();
1490
- }
1491
-
1492
- /**
1493
- *
1494
- * @param {(Promise|undefined)} promise
1495
- * @param {string} event
1496
- * @return {(Promise|undefined)}
1497
- * @private
1498
- */
1499
-
1500
- _chainOrCallHooks(promise, event) {
1501
- let result = promise;
1502
- const hooks = [];
1503
- this._getCommandAndAncestors()
1504
- .reverse()
1505
- .filter((cmd) => cmd._lifeCycleHooks[event] !== undefined)
1506
- .forEach((hookedCommand) => {
1507
- hookedCommand._lifeCycleHooks[event].forEach((callback) => {
1508
- hooks.push({ hookedCommand, callback });
1509
- });
1510
- });
1511
- if (event === 'postAction') {
1512
- hooks.reverse();
1513
- }
1514
-
1515
- hooks.forEach((hookDetail) => {
1516
- result = this._chainOrCall(result, () => {
1517
- return hookDetail.callback(hookDetail.hookedCommand, this);
1518
- });
1519
- });
1520
- return result;
1521
- }
1522
-
1523
- /**
1524
- *
1525
- * @param {(Promise|undefined)} promise
1526
- * @param {Command} subCommand
1527
- * @param {string} event
1528
- * @return {(Promise|undefined)}
1529
- * @private
1530
- */
1531
-
1532
- _chainOrCallSubCommandHook(promise, subCommand, event) {
1533
- let result = promise;
1534
- if (this._lifeCycleHooks[event] !== undefined) {
1535
- this._lifeCycleHooks[event].forEach((hook) => {
1536
- result = this._chainOrCall(result, () => {
1537
- return hook(this, subCommand);
1538
- });
1539
- });
1540
- }
1541
- return result;
1542
- }
1543
-
1544
- /**
1545
- * Process arguments in context of this command.
1546
- * Returns action result, in case it is a promise.
1547
- *
1548
- * @private
1549
- */
1550
-
1551
- _parseCommand(operands, unknown) {
1552
- const parsed = this.parseOptions(unknown);
1553
- this._parseOptionsEnv(); // after cli, so parseArg not called on both cli and env
1554
- this._parseOptionsImplied();
1555
- operands = operands.concat(parsed.operands);
1556
- unknown = parsed.unknown;
1557
- this.args = operands.concat(unknown);
1558
-
1559
- if (operands && this._findCommand(operands[0])) {
1560
- return this._dispatchSubcommand(operands[0], operands.slice(1), unknown);
1561
- }
1562
- if (
1563
- this._getHelpCommand() &&
1564
- operands[0] === this._getHelpCommand().name()
1565
- ) {
1566
- return this._dispatchHelpCommand(operands[1]);
1567
- }
1568
- if (this._defaultCommandName) {
1569
- this._outputHelpIfRequested(unknown); // Run the help for default command from parent rather than passing to default command
1570
- return this._dispatchSubcommand(
1571
- this._defaultCommandName,
1572
- operands,
1573
- unknown,
1574
- );
1575
- }
1576
- if (
1577
- this.commands.length &&
1578
- this.args.length === 0 &&
1579
- !this._actionHandler &&
1580
- !this._defaultCommandName
1581
- ) {
1582
- // probably missing subcommand and no handler, user needs help (and exit)
1583
- this.help({ error: true });
1584
- }
1585
-
1586
- this._outputHelpIfRequested(parsed.unknown);
1587
- this._checkForMissingMandatoryOptions();
1588
- this._checkForConflictingOptions();
1589
-
1590
- // We do not always call this check to avoid masking a "better" error, like unknown command.
1591
- const checkForUnknownOptions = () => {
1592
- if (parsed.unknown.length > 0) {
1593
- this.unknownOption(parsed.unknown[0]);
1594
- }
1595
- };
1596
-
1597
- const commandEvent = `command:${this.name()}`;
1598
- if (this._actionHandler) {
1599
- checkForUnknownOptions();
1600
- this._processArguments();
1601
-
1602
- let promiseChain;
1603
- promiseChain = this._chainOrCallHooks(promiseChain, 'preAction');
1604
- promiseChain = this._chainOrCall(promiseChain, () =>
1605
- this._actionHandler(this.processedArgs),
1606
- );
1607
- if (this.parent) {
1608
- promiseChain = this._chainOrCall(promiseChain, () => {
1609
- this.parent.emit(commandEvent, operands, unknown); // legacy
1610
- });
1611
- }
1612
- promiseChain = this._chainOrCallHooks(promiseChain, 'postAction');
1613
- return promiseChain;
1614
- }
1615
- if (this.parent && this.parent.listenerCount(commandEvent)) {
1616
- checkForUnknownOptions();
1617
- this._processArguments();
1618
- this.parent.emit(commandEvent, operands, unknown); // legacy
1619
- } else if (operands.length) {
1620
- if (this._findCommand('*')) {
1621
- // legacy default command
1622
- return this._dispatchSubcommand('*', operands, unknown);
1623
- }
1624
- if (this.listenerCount('command:*')) {
1625
- // skip option check, emit event for possible misspelling suggestion
1626
- this.emit('command:*', operands, unknown);
1627
- } else if (this.commands.length) {
1628
- this.unknownCommand();
1629
- } else {
1630
- checkForUnknownOptions();
1631
- this._processArguments();
1632
- }
1633
- } else if (this.commands.length) {
1634
- checkForUnknownOptions();
1635
- // This command has subcommands and nothing hooked up at this level, so display help (and exit).
1636
- this.help({ error: true });
1637
- } else {
1638
- checkForUnknownOptions();
1639
- this._processArguments();
1640
- // fall through for caller to handle after calling .parse()
1641
- }
1642
- }
1643
-
1644
- /**
1645
- * Find matching command.
1646
- *
1647
- * @private
1648
- * @return {Command | undefined}
1649
- */
1650
- _findCommand(name) {
1651
- if (!name) return undefined;
1652
- return this.commands.find(
1653
- (cmd) => cmd._name === name || cmd._aliases.includes(name),
1654
- );
1655
- }
1656
-
1657
- /**
1658
- * Return an option matching `arg` if any.
1659
- *
1660
- * @param {string} arg
1661
- * @return {Option}
1662
- * @package
1663
- */
1664
-
1665
- _findOption(arg) {
1666
- return this.options.find((option) => option.is(arg));
1667
- }
1668
-
1669
- /**
1670
- * Display an error message if a mandatory option does not have a value.
1671
- * Called after checking for help flags in leaf subcommand.
1672
- *
1673
- * @private
1674
- */
1675
-
1676
- _checkForMissingMandatoryOptions() {
1677
- // Walk up hierarchy so can call in subcommand after checking for displaying help.
1678
- this._getCommandAndAncestors().forEach((cmd) => {
1679
- cmd.options.forEach((anOption) => {
1680
- if (
1681
- anOption.mandatory &&
1682
- cmd.getOptionValue(anOption.attributeName()) === undefined
1683
- ) {
1684
- cmd.missingMandatoryOptionValue(anOption);
1685
- }
1686
- });
1687
- });
1688
- }
1689
-
1690
- /**
1691
- * Display an error message if conflicting options are used together in this.
1692
- *
1693
- * @private
1694
- */
1695
- _checkForConflictingLocalOptions() {
1696
- const definedNonDefaultOptions = this.options.filter((option) => {
1697
- const optionKey = option.attributeName();
1698
- if (this.getOptionValue(optionKey) === undefined) {
1699
- return false;
1700
- }
1701
- return this.getOptionValueSource(optionKey) !== 'default';
1702
- });
1703
-
1704
- const optionsWithConflicting = definedNonDefaultOptions.filter(
1705
- (option) => option.conflictsWith.length > 0,
1706
- );
1707
-
1708
- optionsWithConflicting.forEach((option) => {
1709
- const conflictingAndDefined = definedNonDefaultOptions.find((defined) =>
1710
- option.conflictsWith.includes(defined.attributeName()),
1711
- );
1712
- if (conflictingAndDefined) {
1713
- this._conflictingOption(option, conflictingAndDefined);
1714
- }
1715
- });
1716
- }
1717
-
1718
- /**
1719
- * Display an error message if conflicting options are used together.
1720
- * Called after checking for help flags in leaf subcommand.
1721
- *
1722
- * @private
1723
- */
1724
- _checkForConflictingOptions() {
1725
- // Walk up hierarchy so can call in subcommand after checking for displaying help.
1726
- this._getCommandAndAncestors().forEach((cmd) => {
1727
- cmd._checkForConflictingLocalOptions();
1728
- });
1729
- }
1730
-
1731
- /**
1732
- * Parse options from `argv` removing known options,
1733
- * and return argv split into operands and unknown arguments.
1734
- *
1735
- * Side effects: modifies command by storing options. Does not reset state if called again.
1736
- *
1737
- * Examples:
1738
- *
1739
- * argv => operands, unknown
1740
- * --known kkk op => [op], []
1741
- * op --known kkk => [op], []
1742
- * sub --unknown uuu op => [sub], [--unknown uuu op]
1743
- * sub -- --unknown uuu op => [sub --unknown uuu op], []
1744
- *
1745
- * @param {string[]} argv
1746
- * @return {{operands: string[], unknown: string[]}}
1747
- */
1748
-
1749
- parseOptions(argv) {
1750
- const operands = []; // operands, not options or values
1751
- const unknown = []; // first unknown option and remaining unknown args
1752
- let dest = operands;
1753
- const args = argv.slice();
1754
-
1755
- function maybeOption(arg) {
1756
- return arg.length > 1 && arg[0] === '-';
1757
- }
1758
-
1759
- const negativeNumberArg = (arg) => {
1760
- // return false if not a negative number
1761
- if (!/^-\d*\.?\d+(e[+-]?\d+)?$/.test(arg)) return false;
1762
- // negative number is ok unless digit used as an option in command hierarchy
1763
- return !this._getCommandAndAncestors().some((cmd) =>
1764
- cmd.options
1765
- .map((opt) => opt.short)
1766
- .some((short) => /^-\d$/.test(short)),
1767
- );
1768
- };
1769
-
1770
- // parse options
1771
- let activeVariadicOption = null;
1772
- while (args.length) {
1773
- const arg = args.shift();
1774
-
1775
- // literal
1776
- if (arg === '--') {
1777
- if (dest === unknown) dest.push(arg);
1778
- dest.push(...args);
1779
- break;
1780
- }
1781
-
1782
- if (
1783
- activeVariadicOption &&
1784
- (!maybeOption(arg) || negativeNumberArg(arg))
1785
- ) {
1786
- this.emit(`option:${activeVariadicOption.name()}`, arg);
1787
- continue;
1788
- }
1789
- activeVariadicOption = null;
1790
-
1791
- if (maybeOption(arg)) {
1792
- const option = this._findOption(arg);
1793
- // recognised option, call listener to assign value with possible custom processing
1794
- if (option) {
1795
- if (option.required) {
1796
- const value = args.shift();
1797
- if (value === undefined) this.optionMissingArgument(option);
1798
- this.emit(`option:${option.name()}`, value);
1799
- } else if (option.optional) {
1800
- let value = null;
1801
- // historical behaviour is optional value is following arg unless an option
1802
- if (
1803
- args.length > 0 &&
1804
- (!maybeOption(args[0]) || negativeNumberArg(args[0]))
1805
- ) {
1806
- value = args.shift();
1807
- }
1808
- this.emit(`option:${option.name()}`, value);
1809
- } else {
1810
- // boolean flag
1811
- this.emit(`option:${option.name()}`);
1812
- }
1813
- activeVariadicOption = option.variadic ? option : null;
1814
- continue;
1815
- }
1816
- }
1817
-
1818
- // Look for combo options following single dash, eat first one if known.
1819
- if (arg.length > 2 && arg[0] === '-' && arg[1] !== '-') {
1820
- const option = this._findOption(`-${arg[1]}`);
1821
- if (option) {
1822
- if (
1823
- option.required ||
1824
- (option.optional && this._combineFlagAndOptionalValue)
1825
- ) {
1826
- // option with value following in same argument
1827
- this.emit(`option:${option.name()}`, arg.slice(2));
1828
- } else {
1829
- // boolean option, emit and put back remainder of arg for further processing
1830
- this.emit(`option:${option.name()}`);
1831
- args.unshift(`-${arg.slice(2)}`);
1832
- }
1833
- continue;
1834
- }
1835
- }
1836
-
1837
- // Look for known long flag with value, like --foo=bar
1838
- if (/^--[^=]+=/.test(arg)) {
1839
- const index = arg.indexOf('=');
1840
- const option = this._findOption(arg.slice(0, index));
1841
- if (option && (option.required || option.optional)) {
1842
- this.emit(`option:${option.name()}`, arg.slice(index + 1));
1843
- continue;
1844
- }
1845
- }
1846
-
1847
- // Not a recognised option by this command.
1848
- // Might be a command-argument, or subcommand option, or unknown option, or help command or option.
1849
-
1850
- // An unknown option means further arguments also classified as unknown so can be reprocessed by subcommands.
1851
- // A negative number in a leaf command is not an unknown option.
1852
- if (
1853
- dest === operands &&
1854
- maybeOption(arg) &&
1855
- !(this.commands.length === 0 && negativeNumberArg(arg))
1856
- ) {
1857
- dest = unknown;
1858
- }
1859
-
1860
- // If using positionalOptions, stop processing our options at subcommand.
1861
- if (
1862
- (this._enablePositionalOptions || this._passThroughOptions) &&
1863
- operands.length === 0 &&
1864
- unknown.length === 0
1865
- ) {
1866
- if (this._findCommand(arg)) {
1867
- operands.push(arg);
1868
- if (args.length > 0) unknown.push(...args);
1869
- break;
1870
- } else if (
1871
- this._getHelpCommand() &&
1872
- arg === this._getHelpCommand().name()
1873
- ) {
1874
- operands.push(arg);
1875
- if (args.length > 0) operands.push(...args);
1876
- break;
1877
- } else if (this._defaultCommandName) {
1878
- unknown.push(arg);
1879
- if (args.length > 0) unknown.push(...args);
1880
- break;
1881
- }
1882
- }
1883
-
1884
- // If using passThroughOptions, stop processing options at first command-argument.
1885
- if (this._passThroughOptions) {
1886
- dest.push(arg);
1887
- if (args.length > 0) dest.push(...args);
1888
- break;
1889
- }
1890
-
1891
- // add arg
1892
- dest.push(arg);
1893
- }
1894
-
1895
- return { operands, unknown };
1896
- }
1897
-
1898
- /**
1899
- * Return an object containing local option values as key-value pairs.
1900
- *
1901
- * @return {object}
1902
- */
1903
- opts() {
1904
- if (this._storeOptionsAsProperties) {
1905
- // Preserve original behaviour so backwards compatible when still using properties
1906
- const result = {};
1907
- const len = this.options.length;
1908
-
1909
- for (let i = 0; i < len; i++) {
1910
- const key = this.options[i].attributeName();
1911
- result[key] =
1912
- key === this._versionOptionName ? this._version : this[key];
1913
- }
1914
- return result;
1915
- }
1916
-
1917
- return this._optionValues;
1918
- }
1919
-
1920
- /**
1921
- * Return an object containing merged local and global option values as key-value pairs.
1922
- *
1923
- * @return {object}
1924
- */
1925
- optsWithGlobals() {
1926
- // globals overwrite locals
1927
- return this._getCommandAndAncestors().reduce(
1928
- (combinedOptions, cmd) => Object.assign(combinedOptions, cmd.opts()),
1929
- {},
1930
- );
1931
- }
1932
-
1933
- /**
1934
- * Display error message and exit (or call exitOverride).
1935
- *
1936
- * @param {string} message
1937
- * @param {object} [errorOptions]
1938
- * @param {string} [errorOptions.code] - an id string representing the error
1939
- * @param {number} [errorOptions.exitCode] - used with process.exit
1940
- */
1941
- error(message, errorOptions) {
1942
- // output handling
1943
- this._outputConfiguration.outputError(
1944
- `${message}\n`,
1945
- this._outputConfiguration.writeErr,
1946
- );
1947
- if (typeof this._showHelpAfterError === 'string') {
1948
- this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`);
1949
- } else if (this._showHelpAfterError) {
1950
- this._outputConfiguration.writeErr('\n');
1951
- this.outputHelp({ error: true });
1952
- }
1953
-
1954
- // exit handling
1955
- const config = errorOptions || {};
1956
- const exitCode = config.exitCode || 1;
1957
- const code = config.code || 'commander.error';
1958
- this._exit(exitCode, code, message);
1959
- }
1960
-
1961
- /**
1962
- * Apply any option related environment variables, if option does
1963
- * not have a value from cli or client code.
1964
- *
1965
- * @private
1966
- */
1967
- _parseOptionsEnv() {
1968
- this.options.forEach((option) => {
1969
- if (option.envVar && option.envVar in process.env) {
1970
- const optionKey = option.attributeName();
1971
- // Priority check. Do not overwrite cli or options from unknown source (client-code).
1972
- if (
1973
- this.getOptionValue(optionKey) === undefined ||
1974
- ['default', 'config', 'env'].includes(
1975
- this.getOptionValueSource(optionKey),
1976
- )
1977
- ) {
1978
- if (option.required || option.optional) {
1979
- // option can take a value
1980
- // keep very simple, optional always takes value
1981
- this.emit(`optionEnv:${option.name()}`, process.env[option.envVar]);
1982
- } else {
1983
- // boolean
1984
- // keep very simple, only care that envVar defined and not the value
1985
- this.emit(`optionEnv:${option.name()}`);
1986
- }
1987
- }
1988
- }
1989
- });
1990
- }
1991
-
1992
- /**
1993
- * Apply any implied option values, if option is undefined or default value.
1994
- *
1995
- * @private
1996
- */
1997
- _parseOptionsImplied() {
1998
- const dualHelper = new DualOptions(this.options);
1999
- const hasCustomOptionValue = (optionKey) => {
2000
- return (
2001
- this.getOptionValue(optionKey) !== undefined &&
2002
- !['default', 'implied'].includes(this.getOptionValueSource(optionKey))
2003
- );
2004
- };
2005
- this.options
2006
- .filter(
2007
- (option) =>
2008
- option.implied !== undefined &&
2009
- hasCustomOptionValue(option.attributeName()) &&
2010
- dualHelper.valueFromOption(
2011
- this.getOptionValue(option.attributeName()),
2012
- option,
2013
- ),
2014
- )
2015
- .forEach((option) => {
2016
- Object.keys(option.implied)
2017
- .filter((impliedKey) => !hasCustomOptionValue(impliedKey))
2018
- .forEach((impliedKey) => {
2019
- this.setOptionValueWithSource(
2020
- impliedKey,
2021
- option.implied[impliedKey],
2022
- 'implied',
2023
- );
2024
- });
2025
- });
2026
- }
2027
-
2028
- /**
2029
- * Argument `name` is missing.
2030
- *
2031
- * @param {string} name
2032
- * @private
2033
- */
2034
-
2035
- missingArgument(name) {
2036
- const message = `error: missing required argument '${name}'`;
2037
- this.error(message, { code: 'commander.missingArgument' });
2038
- }
2039
-
2040
- /**
2041
- * `Option` is missing an argument.
2042
- *
2043
- * @param {Option} option
2044
- * @private
2045
- */
2046
-
2047
- optionMissingArgument(option) {
2048
- const message = `error: option '${option.flags}' argument missing`;
2049
- this.error(message, { code: 'commander.optionMissingArgument' });
2050
- }
2051
-
2052
- /**
2053
- * `Option` does not have a value, and is a mandatory option.
2054
- *
2055
- * @param {Option} option
2056
- * @private
2057
- */
2058
-
2059
- missingMandatoryOptionValue(option) {
2060
- const message = `error: required option '${option.flags}' not specified`;
2061
- this.error(message, { code: 'commander.missingMandatoryOptionValue' });
2062
- }
2063
-
2064
- /**
2065
- * `Option` conflicts with another option.
2066
- *
2067
- * @param {Option} option
2068
- * @param {Option} conflictingOption
2069
- * @private
2070
- */
2071
- _conflictingOption(option, conflictingOption) {
2072
- // The calling code does not know whether a negated option is the source of the
2073
- // value, so do some work to take an educated guess.
2074
- const findBestOptionFromValue = (option) => {
2075
- const optionKey = option.attributeName();
2076
- const optionValue = this.getOptionValue(optionKey);
2077
- const negativeOption = this.options.find(
2078
- (target) => target.negate && optionKey === target.attributeName(),
2079
- );
2080
- const positiveOption = this.options.find(
2081
- (target) => !target.negate && optionKey === target.attributeName(),
2082
- );
2083
- if (
2084
- negativeOption &&
2085
- ((negativeOption.presetArg === undefined && optionValue === false) ||
2086
- (negativeOption.presetArg !== undefined &&
2087
- optionValue === negativeOption.presetArg))
2088
- ) {
2089
- return negativeOption;
2090
- }
2091
- return positiveOption || option;
2092
- };
2093
-
2094
- const getErrorMessage = (option) => {
2095
- const bestOption = findBestOptionFromValue(option);
2096
- const optionKey = bestOption.attributeName();
2097
- const source = this.getOptionValueSource(optionKey);
2098
- if (source === 'env') {
2099
- return `environment variable '${bestOption.envVar}'`;
2100
- }
2101
- return `option '${bestOption.flags}'`;
2102
- };
2103
-
2104
- const message = `error: ${getErrorMessage(option)} cannot be used with ${getErrorMessage(conflictingOption)}`;
2105
- this.error(message, { code: 'commander.conflictingOption' });
2106
- }
2107
-
2108
- /**
2109
- * Unknown option `flag`.
2110
- *
2111
- * @param {string} flag
2112
- * @private
2113
- */
2114
-
2115
- unknownOption(flag) {
2116
- if (this._allowUnknownOption) return;
2117
- let suggestion = '';
2118
-
2119
- if (flag.startsWith('--') && this._showSuggestionAfterError) {
2120
- // Looping to pick up the global options too
2121
- let candidateFlags = [];
2122
- // eslint-disable-next-line @typescript-eslint/no-this-alias
2123
- let command = this;
2124
- do {
2125
- const moreFlags = command
2126
- .createHelp()
2127
- .visibleOptions(command)
2128
- .filter((option) => option.long)
2129
- .map((option) => option.long);
2130
- candidateFlags = candidateFlags.concat(moreFlags);
2131
- command = command.parent;
2132
- } while (command && !command._enablePositionalOptions);
2133
- suggestion = suggestSimilar(flag, candidateFlags);
2134
- }
2135
-
2136
- const message = `error: unknown option '${flag}'${suggestion}`;
2137
- this.error(message, { code: 'commander.unknownOption' });
2138
- }
2139
-
2140
- /**
2141
- * Excess arguments, more than expected.
2142
- *
2143
- * @param {string[]} receivedArgs
2144
- * @private
2145
- */
2146
-
2147
- _excessArguments(receivedArgs) {
2148
- if (this._allowExcessArguments) return;
2149
-
2150
- const expected = this.registeredArguments.length;
2151
- const s = expected === 1 ? '' : 's';
2152
- const forSubcommand = this.parent ? ` for '${this.name()}'` : '';
2153
- const message = `error: too many arguments${forSubcommand}. Expected ${expected} argument${s} but got ${receivedArgs.length}.`;
2154
- this.error(message, { code: 'commander.excessArguments' });
2155
- }
2156
-
2157
- /**
2158
- * Unknown command.
2159
- *
2160
- * @private
2161
- */
2162
-
2163
- unknownCommand() {
2164
- const unknownName = this.args[0];
2165
- let suggestion = '';
2166
-
2167
- if (this._showSuggestionAfterError) {
2168
- const candidateNames = [];
2169
- this.createHelp()
2170
- .visibleCommands(this)
2171
- .forEach((command) => {
2172
- candidateNames.push(command.name());
2173
- // just visible alias
2174
- if (command.alias()) candidateNames.push(command.alias());
2175
- });
2176
- suggestion = suggestSimilar(unknownName, candidateNames);
2177
- }
2178
-
2179
- const message = `error: unknown command '${unknownName}'${suggestion}`;
2180
- this.error(message, { code: 'commander.unknownCommand' });
2181
- }
2182
-
2183
- /**
2184
- * Get or set the program version.
2185
- *
2186
- * This method auto-registers the "-V, --version" option which will print the version number.
2187
- *
2188
- * You can optionally supply the flags and description to override the defaults.
2189
- *
2190
- * @param {string} [str]
2191
- * @param {string} [flags]
2192
- * @param {string} [description]
2193
- * @return {(this | string | undefined)} `this` command for chaining, or version string if no arguments
2194
- */
2195
-
2196
- version(str, flags, description) {
2197
- if (str === undefined) return this._version;
2198
- this._version = str;
2199
- flags = flags || '-V, --version';
2200
- description = description || 'output the version number';
2201
- const versionOption = this.createOption(flags, description);
2202
- this._versionOptionName = versionOption.attributeName();
2203
- this._registerOption(versionOption);
2204
-
2205
- this.on('option:' + versionOption.name(), () => {
2206
- this._outputConfiguration.writeOut(`${str}\n`);
2207
- this._exit(0, 'commander.version', str);
2208
- });
2209
- return this;
2210
- }
2211
-
2212
- /**
2213
- * Set the description.
2214
- *
2215
- * @param {string} [str]
2216
- * @param {object} [argsDescription]
2217
- * @return {(string|Command)}
2218
- */
2219
- description(str, argsDescription) {
2220
- if (str === undefined && argsDescription === undefined)
2221
- return this._description;
2222
- this._description = str;
2223
- if (argsDescription) {
2224
- this._argsDescription = argsDescription;
2225
- }
2226
- return this;
2227
- }
2228
-
2229
- /**
2230
- * Set the summary. Used when listed as subcommand of parent.
2231
- *
2232
- * @param {string} [str]
2233
- * @return {(string|Command)}
2234
- */
2235
- summary(str) {
2236
- if (str === undefined) return this._summary;
2237
- this._summary = str;
2238
- return this;
2239
- }
2240
-
2241
- /**
2242
- * Set an alias for the command.
2243
- *
2244
- * You may call more than once to add multiple aliases. Only the first alias is shown in the auto-generated help.
2245
- *
2246
- * @param {string} [alias]
2247
- * @return {(string|Command)}
2248
- */
2249
-
2250
- alias(alias) {
2251
- if (alias === undefined) return this._aliases[0]; // just return first, for backwards compatibility
2252
-
2253
- /** @type {Command} */
2254
- // eslint-disable-next-line @typescript-eslint/no-this-alias
2255
- let command = this;
2256
- if (
2257
- this.commands.length !== 0 &&
2258
- this.commands[this.commands.length - 1]._executableHandler
2259
- ) {
2260
- // assume adding alias for last added executable subcommand, rather than this
2261
- command = this.commands[this.commands.length - 1];
2262
- }
2263
-
2264
- if (alias === command._name)
2265
- throw new Error("Command alias can't be the same as its name");
2266
- const matchingCommand = this.parent?._findCommand(alias);
2267
- if (matchingCommand) {
2268
- // c.f. _registerCommand
2269
- const existingCmd = [matchingCommand.name()]
2270
- .concat(matchingCommand.aliases())
2271
- .join('|');
2272
- throw new Error(
2273
- `cannot add alias '${alias}' to command '${this.name()}' as already have command '${existingCmd}'`,
2274
- );
2275
- }
2276
-
2277
- command._aliases.push(alias);
2278
- return this;
2279
- }
2280
-
2281
- /**
2282
- * Set aliases for the command.
2283
- *
2284
- * Only the first alias is shown in the auto-generated help.
2285
- *
2286
- * @param {string[]} [aliases]
2287
- * @return {(string[]|Command)}
2288
- */
2289
-
2290
- aliases(aliases) {
2291
- // Getter for the array of aliases is the main reason for having aliases() in addition to alias().
2292
- if (aliases === undefined) return this._aliases;
2293
-
2294
- aliases.forEach((alias) => this.alias(alias));
2295
- return this;
2296
- }
2297
-
2298
- /**
2299
- * Set / get the command usage `str`.
2300
- *
2301
- * @param {string} [str]
2302
- * @return {(string|Command)}
2303
- */
2304
-
2305
- usage(str) {
2306
- if (str === undefined) {
2307
- if (this._usage) return this._usage;
2308
-
2309
- const args = this.registeredArguments.map((arg) => {
2310
- return humanReadableArgName(arg);
2311
- });
2312
- return []
2313
- .concat(
2314
- this.options.length || this._helpOption !== null ? '[options]' : [],
2315
- this.commands.length ? '[command]' : [],
2316
- this.registeredArguments.length ? args : [],
2317
- )
2318
- .join(' ');
2319
- }
2320
-
2321
- this._usage = str;
2322
- return this;
2323
- }
2324
-
2325
- /**
2326
- * Get or set the name of the command.
2327
- *
2328
- * @param {string} [str]
2329
- * @return {(string|Command)}
2330
- */
2331
-
2332
- name(str) {
2333
- if (str === undefined) return this._name;
2334
- this._name = str;
2335
- return this;
2336
- }
2337
-
2338
- /**
2339
- * Set/get the help group heading for this subcommand in parent command's help.
2340
- *
2341
- * @param {string} [heading]
2342
- * @return {Command | string}
2343
- */
2344
-
2345
- helpGroup(heading) {
2346
- if (heading === undefined) return this._helpGroupHeading ?? '';
2347
- this._helpGroupHeading = heading;
2348
- return this;
2349
- }
2350
-
2351
- /**
2352
- * Set/get the default help group heading for subcommands added to this command.
2353
- * (This does not override a group set directly on the subcommand using .helpGroup().)
2354
- *
2355
- * @example
2356
- * program.commandsGroup('Development Commands:);
2357
- * program.command('watch')...
2358
- * program.command('lint')...
2359
- * ...
2360
- *
2361
- * @param {string} [heading]
2362
- * @returns {Command | string}
2363
- */
2364
- commandsGroup(heading) {
2365
- if (heading === undefined) return this._defaultCommandGroup ?? '';
2366
- this._defaultCommandGroup = heading;
2367
- return this;
2368
- }
2369
-
2370
- /**
2371
- * Set/get the default help group heading for options added to this command.
2372
- * (This does not override a group set directly on the option using .helpGroup().)
2373
- *
2374
- * @example
2375
- * program
2376
- * .optionsGroup('Development Options:')
2377
- * .option('-d, --debug', 'output extra debugging')
2378
- * .option('-p, --profile', 'output profiling information')
2379
- *
2380
- * @param {string} [heading]
2381
- * @returns {Command | string}
2382
- */
2383
- optionsGroup(heading) {
2384
- if (heading === undefined) return this._defaultOptionGroup ?? '';
2385
- this._defaultOptionGroup = heading;
2386
- return this;
2387
- }
2388
-
2389
- /**
2390
- * @param {Option} option
2391
- * @private
2392
- */
2393
- _initOptionGroup(option) {
2394
- if (this._defaultOptionGroup && !option.helpGroupHeading)
2395
- option.helpGroup(this._defaultOptionGroup);
2396
- }
2397
-
2398
- /**
2399
- * @param {Command} cmd
2400
- * @private
2401
- */
2402
- _initCommandGroup(cmd) {
2403
- if (this._defaultCommandGroup && !cmd.helpGroup())
2404
- cmd.helpGroup(this._defaultCommandGroup);
2405
- }
2406
-
2407
- /**
2408
- * Set the name of the command from script filename, such as process.argv[1],
2409
- * or require.main.filename, or __filename.
2410
- *
2411
- * (Used internally and public although not documented in README.)
2412
- *
2413
- * @example
2414
- * program.nameFromFilename(require.main.filename);
2415
- *
2416
- * @param {string} filename
2417
- * @return {Command}
2418
- */
2419
-
2420
- nameFromFilename(filename) {
2421
- this._name = path.basename(filename, path.extname(filename));
2422
-
2423
- return this;
2424
- }
2425
-
2426
- /**
2427
- * Get or set the directory for searching for executable subcommands of this command.
2428
- *
2429
- * @example
2430
- * program.executableDir(__dirname);
2431
- * // or
2432
- * program.executableDir('subcommands');
2433
- *
2434
- * @param {string} [path]
2435
- * @return {(string|null|Command)}
2436
- */
2437
-
2438
- executableDir(path) {
2439
- if (path === undefined) return this._executableDir;
2440
- this._executableDir = path;
2441
- return this;
2442
- }
2443
-
2444
- /**
2445
- * Return program help documentation.
2446
- *
2447
- * @param {{ error: boolean }} [contextOptions] - pass {error:true} to wrap for stderr instead of stdout
2448
- * @return {string}
2449
- */
2450
-
2451
- helpInformation(contextOptions) {
2452
- const helper = this.createHelp();
2453
- const context = this._getOutputContext(contextOptions);
2454
- helper.prepareContext({
2455
- error: context.error,
2456
- helpWidth: context.helpWidth,
2457
- outputHasColors: context.hasColors,
2458
- });
2459
- const text = helper.formatHelp(this, helper);
2460
- if (context.hasColors) return text;
2461
- return this._outputConfiguration.stripColor(text);
2462
- }
2463
-
2464
- /**
2465
- * @typedef HelpContext
2466
- * @type {object}
2467
- * @property {boolean} error
2468
- * @property {number} helpWidth
2469
- * @property {boolean} hasColors
2470
- * @property {function} write - includes stripColor if needed
2471
- *
2472
- * @returns {HelpContext}
2473
- * @private
2474
- */
2475
-
2476
- _getOutputContext(contextOptions) {
2477
- contextOptions = contextOptions || {};
2478
- const error = !!contextOptions.error;
2479
- let baseWrite;
2480
- let hasColors;
2481
- let helpWidth;
2482
- if (error) {
2483
- baseWrite = (str) => this._outputConfiguration.writeErr(str);
2484
- hasColors = this._outputConfiguration.getErrHasColors();
2485
- helpWidth = this._outputConfiguration.getErrHelpWidth();
2486
- } else {
2487
- baseWrite = (str) => this._outputConfiguration.writeOut(str);
2488
- hasColors = this._outputConfiguration.getOutHasColors();
2489
- helpWidth = this._outputConfiguration.getOutHelpWidth();
2490
- }
2491
- const write = (str) => {
2492
- if (!hasColors) str = this._outputConfiguration.stripColor(str);
2493
- return baseWrite(str);
2494
- };
2495
- return { error, write, hasColors, helpWidth };
2496
- }
2497
-
2498
- /**
2499
- * Output help information for this command.
2500
- *
2501
- * Outputs built-in help, and custom text added using `.addHelpText()`.
2502
- *
2503
- * @param {{ error: boolean } | Function} [contextOptions] - pass {error:true} to write to stderr instead of stdout
2504
- */
2505
-
2506
- outputHelp(contextOptions) {
2507
- let deprecatedCallback;
2508
- if (typeof contextOptions === 'function') {
2509
- deprecatedCallback = contextOptions;
2510
- contextOptions = undefined;
2511
- }
2512
-
2513
- const outputContext = this._getOutputContext(contextOptions);
2514
- /** @type {HelpTextEventContext} */
2515
- const eventContext = {
2516
- error: outputContext.error,
2517
- write: outputContext.write,
2518
- command: this,
2519
- };
2520
-
2521
- this._getCommandAndAncestors()
2522
- .reverse()
2523
- .forEach((command) => command.emit('beforeAllHelp', eventContext));
2524
- this.emit('beforeHelp', eventContext);
2525
-
2526
- let helpInformation = this.helpInformation({ error: outputContext.error });
2527
- if (deprecatedCallback) {
2528
- helpInformation = deprecatedCallback(helpInformation);
2529
- if (
2530
- typeof helpInformation !== 'string' &&
2531
- !Buffer.isBuffer(helpInformation)
2532
- ) {
2533
- throw new Error('outputHelp callback must return a string or a Buffer');
2534
- }
2535
- }
2536
- outputContext.write(helpInformation);
2537
-
2538
- if (this._getHelpOption()?.long) {
2539
- this.emit(this._getHelpOption().long); // deprecated
2540
- }
2541
- this.emit('afterHelp', eventContext);
2542
- this._getCommandAndAncestors().forEach((command) =>
2543
- command.emit('afterAllHelp', eventContext),
2544
- );
2545
- }
2546
-
2547
- /**
2548
- * You can pass in flags and a description to customise the built-in help option.
2549
- * Pass in false to disable the built-in help option.
2550
- *
2551
- * @example
2552
- * program.helpOption('-?, --help' 'show help'); // customise
2553
- * program.helpOption(false); // disable
2554
- *
2555
- * @param {(string | boolean)} flags
2556
- * @param {string} [description]
2557
- * @return {Command} `this` command for chaining
2558
- */
2559
-
2560
- helpOption(flags, description) {
2561
- // Support enabling/disabling built-in help option.
2562
- if (typeof flags === 'boolean') {
2563
- if (flags) {
2564
- if (this._helpOption === null) this._helpOption = undefined; // reenable
2565
- if (this._defaultOptionGroup) {
2566
- // make the option to store the group
2567
- this._initOptionGroup(this._getHelpOption());
2568
- }
2569
- } else {
2570
- this._helpOption = null; // disable
2571
- }
2572
- return this;
2573
- }
2574
-
2575
- // Customise flags and description.
2576
- this._helpOption = this.createOption(
2577
- flags ?? '-h, --help',
2578
- description ?? 'display help for command',
2579
- );
2580
- // init group unless lazy create
2581
- if (flags || description) this._initOptionGroup(this._helpOption);
2582
-
2583
- return this;
2584
- }
2585
-
2586
- /**
2587
- * Lazy create help option.
2588
- * Returns null if has been disabled with .helpOption(false).
2589
- *
2590
- * @returns {(Option | null)} the help option
2591
- * @package
2592
- */
2593
- _getHelpOption() {
2594
- // Lazy create help option on demand.
2595
- if (this._helpOption === undefined) {
2596
- this.helpOption(undefined, undefined);
2597
- }
2598
- return this._helpOption;
2599
- }
2600
-
2601
- /**
2602
- * Supply your own option to use for the built-in help option.
2603
- * This is an alternative to using helpOption() to customise the flags and description etc.
2604
- *
2605
- * @param {Option} option
2606
- * @return {Command} `this` command for chaining
2607
- */
2608
- addHelpOption(option) {
2609
- this._helpOption = option;
2610
- this._initOptionGroup(option);
2611
- return this;
2612
- }
2613
-
2614
- /**
2615
- * Output help information and exit.
2616
- *
2617
- * Outputs built-in help, and custom text added using `.addHelpText()`.
2618
- *
2619
- * @param {{ error: boolean }} [contextOptions] - pass {error:true} to write to stderr instead of stdout
2620
- */
2621
-
2622
- help(contextOptions) {
2623
- this.outputHelp(contextOptions);
2624
- let exitCode = Number(process.exitCode ?? 0); // process.exitCode does allow a string or an integer, but we prefer just a number
2625
- if (
2626
- exitCode === 0 &&
2627
- contextOptions &&
2628
- typeof contextOptions !== 'function' &&
2629
- contextOptions.error
2630
- ) {
2631
- exitCode = 1;
2632
- }
2633
- // message: do not have all displayed text available so only passing placeholder.
2634
- this._exit(exitCode, 'commander.help', '(outputHelp)');
2635
- }
2636
-
2637
- /**
2638
- * // Do a little typing to coordinate emit and listener for the help text events.
2639
- * @typedef HelpTextEventContext
2640
- * @type {object}
2641
- * @property {boolean} error
2642
- * @property {Command} command
2643
- * @property {function} write
2644
- */
2645
-
2646
- /**
2647
- * Add additional text to be displayed with the built-in help.
2648
- *
2649
- * Position is 'before' or 'after' to affect just this command,
2650
- * and 'beforeAll' or 'afterAll' to affect this command and all its subcommands.
2651
- *
2652
- * @param {string} position - before or after built-in help
2653
- * @param {(string | Function)} text - string to add, or a function returning a string
2654
- * @return {Command} `this` command for chaining
2655
- */
2656
-
2657
- addHelpText(position, text) {
2658
- const allowedValues = ['beforeAll', 'before', 'after', 'afterAll'];
2659
- if (!allowedValues.includes(position)) {
2660
- throw new Error(`Unexpected value for position to addHelpText.
2661
- Expecting one of '${allowedValues.join("', '")}'`);
2662
- }
2663
-
2664
- const helpEvent = `${position}Help`;
2665
- this.on(helpEvent, (/** @type {HelpTextEventContext} */ context) => {
2666
- let helpStr;
2667
- if (typeof text === 'function') {
2668
- helpStr = text({ error: context.error, command: context.command });
2669
- } else {
2670
- helpStr = text;
2671
- }
2672
- // Ignore falsy value when nothing to output.
2673
- if (helpStr) {
2674
- context.write(`${helpStr}\n`);
2675
- }
2676
- });
2677
- return this;
2678
- }
2679
-
2680
- /**
2681
- * Output help information if help flags specified
2682
- *
2683
- * @param {Array} args - array of options to search for help flags
2684
- * @private
2685
- */
2686
-
2687
- _outputHelpIfRequested(args) {
2688
- const helpOption = this._getHelpOption();
2689
- const helpRequested = helpOption && args.find((arg) => helpOption.is(arg));
2690
- if (helpRequested) {
2691
- this.outputHelp();
2692
- // (Do not have all displayed text available so only passing placeholder.)
2693
- this._exit(0, 'commander.helpDisplayed', '(outputHelp)');
2694
- }
2695
- }
2696
- }
2697
-
2698
- /**
2699
- * Scan arguments and increment port number for inspect calls (to avoid conflicts when spawning new command).
2700
- *
2701
- * @param {string[]} args - array of arguments from node.execArgv
2702
- * @returns {string[]}
2703
- * @private
2704
- */
2705
-
2706
- function incrementNodeInspectorPort(args) {
2707
- // Testing for these options:
2708
- // --inspect[=[host:]port]
2709
- // --inspect-brk[=[host:]port]
2710
- // --inspect-port=[host:]port
2711
- return args.map((arg) => {
2712
- if (!arg.startsWith('--inspect')) {
2713
- return arg;
2714
- }
2715
- let debugOption;
2716
- let debugHost = '127.0.0.1';
2717
- let debugPort = '9229';
2718
- let match;
2719
- if ((match = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
2720
- // e.g. --inspect
2721
- debugOption = match[1];
2722
- } else if (
2723
- (match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null
2724
- ) {
2725
- debugOption = match[1];
2726
- if (/^\d+$/.test(match[3])) {
2727
- // e.g. --inspect=1234
2728
- debugPort = match[3];
2729
- } else {
2730
- // e.g. --inspect=localhost
2731
- debugHost = match[3];
2732
- }
2733
- } else if (
2734
- (match = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null
2735
- ) {
2736
- // e.g. --inspect=localhost:1234
2737
- debugOption = match[1];
2738
- debugHost = match[3];
2739
- debugPort = match[4];
2740
- }
2741
-
2742
- if (debugOption && debugPort !== '0') {
2743
- return `${debugOption}=${debugHost}:${parseInt(debugPort) + 1}`;
2744
- }
2745
- return arg;
2746
- });
2747
- }
2748
-
2749
- /**
2750
- * @returns {boolean | undefined}
2751
- * @package
2752
- */
2753
- function useColor() {
2754
- // Test for common conventions.
2755
- // NB: the observed behaviour is in combination with how author adds color! For example:
2756
- // - we do not test NODE_DISABLE_COLORS, but util:styletext does
2757
- // - we do test NO_COLOR, but Chalk does not
2758
- //
2759
- // References:
2760
- // https://no-color.org
2761
- // https://bixense.com/clicolors/
2762
- // https://github.com/nodejs/node/blob/0a00217a5f67ef4a22384cfc80eb6dd9a917fdc1/lib/internal/tty.js#L109
2763
- // https://github.com/chalk/supports-color/blob/c214314a14bcb174b12b3014b2b0a8de375029ae/index.js#L33
2764
- // (https://force-color.org recent web page from 2023, does not match major javascript implementations)
2765
-
2766
- if (
2767
- process.env.NO_COLOR ||
2768
- process.env.FORCE_COLOR === '0' ||
2769
- process.env.FORCE_COLOR === 'false'
2770
- )
2771
- return false;
2772
- if (process.env.FORCE_COLOR || process.env.CLICOLOR_FORCE !== undefined)
2773
- return true;
2774
- return undefined;
2775
- }
2776
-
2777
- exports.Command = Command;
2778
- exports.useColor = useColor; // exporting for tests