@harness-engineering/cli 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2263) hide show
  1. package/dist/agents/agents/personas/architecture-enforcer.yaml +27 -0
  2. package/dist/agents/agents/personas/documentation-maintainer.yaml +25 -0
  3. package/dist/agents/agents/personas/entropy-cleaner.yaml +21 -0
  4. package/dist/agents/agents/skills/.turbo/turbo-test.log +16 -0
  5. package/dist/agents/agents/skills/README.md +64 -0
  6. package/dist/agents/agents/skills/claude-code/add-harness-component/SKILL.md +182 -0
  7. package/dist/agents/agents/skills/claude-code/add-harness-component/skill.yaml +32 -0
  8. package/dist/agents/agents/skills/claude-code/align-documentation/SKILL.md +181 -0
  9. package/dist/agents/agents/skills/claude-code/align-documentation/skill.yaml +31 -0
  10. package/dist/agents/agents/skills/claude-code/check-mechanical-constraints/SKILL.md +191 -0
  11. package/dist/agents/agents/skills/claude-code/check-mechanical-constraints/skill.yaml +32 -0
  12. package/dist/agents/agents/skills/claude-code/cleanup-dead-code/SKILL.md +202 -0
  13. package/dist/agents/agents/skills/claude-code/cleanup-dead-code/skill.yaml +30 -0
  14. package/dist/agents/agents/skills/claude-code/detect-doc-drift/SKILL.md +159 -0
  15. package/dist/agents/agents/skills/claude-code/detect-doc-drift/skill.yaml +30 -0
  16. package/dist/agents/agents/skills/claude-code/enforce-architecture/SKILL.md +165 -0
  17. package/dist/agents/agents/skills/claude-code/enforce-architecture/skill.yaml +31 -0
  18. package/dist/agents/agents/skills/claude-code/harness-architecture-advisor/SKILL.md +388 -0
  19. package/dist/agents/agents/skills/claude-code/harness-architecture-advisor/skill.yaml +48 -0
  20. package/dist/agents/agents/skills/claude-code/harness-brainstorming/SKILL.md +247 -0
  21. package/dist/agents/agents/skills/claude-code/harness-brainstorming/skill.yaml +47 -0
  22. package/dist/agents/agents/skills/claude-code/harness-code-review/SKILL.md +403 -0
  23. package/dist/agents/agents/skills/claude-code/harness-code-review/skill.yaml +32 -0
  24. package/dist/agents/agents/skills/claude-code/harness-debugging/SKILL.md +356 -0
  25. package/dist/agents/agents/skills/claude-code/harness-debugging/skill.yaml +47 -0
  26. package/dist/agents/agents/skills/claude-code/harness-diagnostics/SKILL.md +318 -0
  27. package/dist/agents/agents/skills/claude-code/harness-diagnostics/skill.yaml +50 -0
  28. package/dist/agents/agents/skills/claude-code/harness-execution/SKILL.md +298 -0
  29. package/dist/agents/agents/skills/claude-code/harness-execution/skill.yaml +50 -0
  30. package/dist/agents/agents/skills/claude-code/harness-git-workflow/SKILL.md +268 -0
  31. package/dist/agents/agents/skills/claude-code/harness-git-workflow/skill.yaml +31 -0
  32. package/dist/agents/agents/skills/claude-code/harness-integrity/SKILL.md +119 -0
  33. package/dist/agents/agents/skills/claude-code/harness-integrity/skill.yaml +47 -0
  34. package/dist/agents/agents/skills/claude-code/harness-onboarding/SKILL.md +260 -0
  35. package/dist/agents/agents/skills/claude-code/harness-onboarding/skill.yaml +30 -0
  36. package/dist/agents/agents/skills/claude-code/harness-parallel-agents/SKILL.md +162 -0
  37. package/dist/agents/agents/skills/claude-code/harness-parallel-agents/skill.yaml +33 -0
  38. package/dist/agents/agents/skills/claude-code/harness-planning/SKILL.md +326 -0
  39. package/dist/agents/agents/skills/claude-code/harness-planning/skill.yaml +47 -0
  40. package/dist/agents/agents/skills/claude-code/harness-pre-commit-review/SKILL.md +231 -0
  41. package/dist/agents/agents/skills/claude-code/harness-pre-commit-review/skill.yaml +33 -0
  42. package/dist/agents/agents/skills/claude-code/harness-refactoring/SKILL.md +150 -0
  43. package/dist/agents/agents/skills/claude-code/harness-refactoring/skill.yaml +33 -0
  44. package/dist/agents/agents/skills/claude-code/harness-skill-authoring/SKILL.md +292 -0
  45. package/dist/agents/agents/skills/claude-code/harness-skill-authoring/skill.yaml +32 -0
  46. package/dist/agents/agents/skills/claude-code/harness-state-management/SKILL.md +295 -0
  47. package/dist/agents/agents/skills/claude-code/harness-state-management/skill.yaml +32 -0
  48. package/dist/agents/agents/skills/claude-code/harness-tdd/SKILL.md +167 -0
  49. package/dist/agents/agents/skills/claude-code/harness-tdd/skill.yaml +48 -0
  50. package/dist/agents/agents/skills/claude-code/harness-verification/SKILL.md +262 -0
  51. package/dist/agents/agents/skills/claude-code/harness-verification/skill.yaml +41 -0
  52. package/dist/agents/agents/skills/claude-code/harness-verify/SKILL.md +122 -0
  53. package/dist/agents/agents/skills/claude-code/harness-verify/skill.yaml +40 -0
  54. package/dist/agents/agents/skills/claude-code/initialize-harness-project/SKILL.md +200 -0
  55. package/dist/agents/agents/skills/claude-code/initialize-harness-project/skill.yaml +31 -0
  56. package/dist/agents/agents/skills/claude-code/validate-context-engineering/SKILL.md +129 -0
  57. package/dist/agents/agents/skills/claude-code/validate-context-engineering/skill.yaml +31 -0
  58. package/dist/agents/agents/skills/gemini-cli/add-harness-component/SKILL.md +182 -0
  59. package/dist/agents/agents/skills/gemini-cli/add-harness-component/skill.yaml +32 -0
  60. package/dist/agents/agents/skills/gemini-cli/align-documentation/SKILL.md +181 -0
  61. package/dist/agents/agents/skills/gemini-cli/align-documentation/skill.yaml +31 -0
  62. package/dist/agents/agents/skills/gemini-cli/check-mechanical-constraints/SKILL.md +191 -0
  63. package/dist/agents/agents/skills/gemini-cli/check-mechanical-constraints/skill.yaml +32 -0
  64. package/dist/agents/agents/skills/gemini-cli/cleanup-dead-code/SKILL.md +202 -0
  65. package/dist/agents/agents/skills/gemini-cli/cleanup-dead-code/skill.yaml +30 -0
  66. package/dist/agents/agents/skills/gemini-cli/detect-doc-drift/SKILL.md +159 -0
  67. package/dist/agents/agents/skills/gemini-cli/detect-doc-drift/skill.yaml +30 -0
  68. package/dist/agents/agents/skills/gemini-cli/enforce-architecture/SKILL.md +165 -0
  69. package/dist/agents/agents/skills/gemini-cli/enforce-architecture/skill.yaml +31 -0
  70. package/dist/agents/agents/skills/gemini-cli/harness-architecture-advisor/SKILL.md +388 -0
  71. package/dist/agents/agents/skills/gemini-cli/harness-architecture-advisor/skill.yaml +48 -0
  72. package/dist/agents/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +247 -0
  73. package/dist/agents/agents/skills/gemini-cli/harness-brainstorming/skill.yaml +47 -0
  74. package/dist/agents/agents/skills/gemini-cli/harness-code-review/SKILL.md +403 -0
  75. package/dist/agents/agents/skills/gemini-cli/harness-code-review/skill.yaml +32 -0
  76. package/dist/agents/agents/skills/gemini-cli/harness-debugging/SKILL.md +356 -0
  77. package/dist/agents/agents/skills/gemini-cli/harness-debugging/skill.yaml +47 -0
  78. package/dist/agents/agents/skills/gemini-cli/harness-diagnostics/SKILL.md +318 -0
  79. package/dist/agents/agents/skills/gemini-cli/harness-diagnostics/skill.yaml +50 -0
  80. package/dist/agents/agents/skills/gemini-cli/harness-execution/SKILL.md +298 -0
  81. package/dist/agents/agents/skills/gemini-cli/harness-execution/skill.yaml +50 -0
  82. package/dist/agents/agents/skills/gemini-cli/harness-git-workflow/SKILL.md +268 -0
  83. package/dist/agents/agents/skills/gemini-cli/harness-git-workflow/skill.yaml +31 -0
  84. package/dist/agents/agents/skills/gemini-cli/harness-integrity/SKILL.md +119 -0
  85. package/dist/agents/agents/skills/gemini-cli/harness-integrity/skill.yaml +47 -0
  86. package/dist/agents/agents/skills/gemini-cli/harness-onboarding/SKILL.md +260 -0
  87. package/dist/agents/agents/skills/gemini-cli/harness-onboarding/skill.yaml +30 -0
  88. package/dist/agents/agents/skills/gemini-cli/harness-parallel-agents/SKILL.md +162 -0
  89. package/dist/agents/agents/skills/gemini-cli/harness-parallel-agents/skill.yaml +33 -0
  90. package/dist/agents/agents/skills/gemini-cli/harness-planning/SKILL.md +326 -0
  91. package/dist/agents/agents/skills/gemini-cli/harness-planning/skill.yaml +47 -0
  92. package/dist/agents/agents/skills/gemini-cli/harness-pre-commit-review/SKILL.md +231 -0
  93. package/dist/agents/agents/skills/gemini-cli/harness-pre-commit-review/skill.yaml +33 -0
  94. package/dist/agents/agents/skills/gemini-cli/harness-refactoring/SKILL.md +150 -0
  95. package/dist/agents/agents/skills/gemini-cli/harness-refactoring/skill.yaml +33 -0
  96. package/dist/agents/agents/skills/gemini-cli/harness-skill-authoring/SKILL.md +292 -0
  97. package/dist/agents/agents/skills/gemini-cli/harness-skill-authoring/skill.yaml +32 -0
  98. package/dist/agents/agents/skills/gemini-cli/harness-state-management/SKILL.md +295 -0
  99. package/dist/agents/agents/skills/gemini-cli/harness-state-management/skill.yaml +32 -0
  100. package/dist/agents/agents/skills/gemini-cli/harness-tdd/SKILL.md +167 -0
  101. package/dist/agents/agents/skills/gemini-cli/harness-tdd/skill.yaml +48 -0
  102. package/dist/agents/agents/skills/gemini-cli/harness-verification/SKILL.md +262 -0
  103. package/dist/agents/agents/skills/gemini-cli/harness-verification/skill.yaml +41 -0
  104. package/dist/agents/agents/skills/gemini-cli/harness-verify/SKILL.md +122 -0
  105. package/dist/agents/agents/skills/gemini-cli/harness-verify/skill.yaml +40 -0
  106. package/dist/agents/agents/skills/gemini-cli/initialize-harness-project/SKILL.md +200 -0
  107. package/dist/agents/agents/skills/gemini-cli/initialize-harness-project/skill.yaml +31 -0
  108. package/dist/agents/agents/skills/gemini-cli/validate-context-engineering/SKILL.md +129 -0
  109. package/dist/agents/agents/skills/gemini-cli/validate-context-engineering/skill.yaml +31 -0
  110. package/dist/agents/agents/skills/node_modules/.bin/glob +17 -0
  111. package/dist/agents/agents/skills/node_modules/.bin/vitest +17 -0
  112. package/dist/agents/agents/skills/node_modules/.bin/yaml +17 -0
  113. package/dist/agents/agents/skills/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  114. package/dist/agents/agents/skills/node_modules/glob/LICENSE +15 -0
  115. package/dist/agents/agents/skills/node_modules/glob/README.md +1265 -0
  116. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
  117. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
  118. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/glob.js +247 -0
  119. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/glob.js.map +1 -0
  120. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
  121. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
  122. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  123. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
  124. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
  125. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
  126. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/ignore.js +119 -0
  127. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
  128. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/index.d.ts +97 -0
  129. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
  130. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/index.js +68 -0
  131. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/index.js.map +1 -0
  132. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/package.json +3 -0
  133. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
  134. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
  135. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/pattern.js +219 -0
  136. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
  137. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
  138. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
  139. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/processor.js +301 -0
  140. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/processor.js.map +1 -0
  141. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
  142. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
  143. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/walker.js +387 -0
  144. package/dist/agents/agents/skills/node_modules/glob/dist/commonjs/walker.js.map +1 -0
  145. package/dist/agents/agents/skills/node_modules/glob/dist/esm/bin.d.mts +3 -0
  146. package/dist/agents/agents/skills/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
  147. package/dist/agents/agents/skills/node_modules/glob/dist/esm/bin.mjs +346 -0
  148. package/dist/agents/agents/skills/node_modules/glob/dist/esm/bin.mjs.map +1 -0
  149. package/dist/agents/agents/skills/node_modules/glob/dist/esm/glob.d.ts +388 -0
  150. package/dist/agents/agents/skills/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
  151. package/dist/agents/agents/skills/node_modules/glob/dist/esm/glob.js +243 -0
  152. package/dist/agents/agents/skills/node_modules/glob/dist/esm/glob.js.map +1 -0
  153. package/dist/agents/agents/skills/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
  154. package/dist/agents/agents/skills/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
  155. package/dist/agents/agents/skills/node_modules/glob/dist/esm/has-magic.js +23 -0
  156. package/dist/agents/agents/skills/node_modules/glob/dist/esm/has-magic.js.map +1 -0
  157. package/dist/agents/agents/skills/node_modules/glob/dist/esm/ignore.d.ts +24 -0
  158. package/dist/agents/agents/skills/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
  159. package/dist/agents/agents/skills/node_modules/glob/dist/esm/ignore.js +115 -0
  160. package/dist/agents/agents/skills/node_modules/glob/dist/esm/ignore.js.map +1 -0
  161. package/dist/agents/agents/skills/node_modules/glob/dist/esm/index.d.ts +97 -0
  162. package/dist/agents/agents/skills/node_modules/glob/dist/esm/index.d.ts.map +1 -0
  163. package/dist/agents/agents/skills/node_modules/glob/dist/esm/index.js +55 -0
  164. package/dist/agents/agents/skills/node_modules/glob/dist/esm/index.js.map +1 -0
  165. package/dist/agents/agents/skills/node_modules/glob/dist/esm/package.json +3 -0
  166. package/dist/agents/agents/skills/node_modules/glob/dist/esm/pattern.d.ts +76 -0
  167. package/dist/agents/agents/skills/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
  168. package/dist/agents/agents/skills/node_modules/glob/dist/esm/pattern.js +215 -0
  169. package/dist/agents/agents/skills/node_modules/glob/dist/esm/pattern.js.map +1 -0
  170. package/dist/agents/agents/skills/node_modules/glob/dist/esm/processor.d.ts +59 -0
  171. package/dist/agents/agents/skills/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
  172. package/dist/agents/agents/skills/node_modules/glob/dist/esm/processor.js +294 -0
  173. package/dist/agents/agents/skills/node_modules/glob/dist/esm/processor.js.map +1 -0
  174. package/dist/agents/agents/skills/node_modules/glob/dist/esm/walker.d.ts +97 -0
  175. package/dist/agents/agents/skills/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
  176. package/dist/agents/agents/skills/node_modules/glob/dist/esm/walker.js +381 -0
  177. package/dist/agents/agents/skills/node_modules/glob/dist/esm/walker.js.map +1 -0
  178. package/dist/agents/agents/skills/node_modules/glob/node_modules/.bin/glob +17 -0
  179. package/dist/agents/agents/skills/node_modules/glob/package.json +99 -0
  180. package/dist/agents/agents/skills/node_modules/vitest/LICENSE.md +691 -0
  181. package/dist/agents/agents/skills/node_modules/vitest/README.md +7 -0
  182. package/dist/agents/agents/skills/node_modules/vitest/browser/context.d.ts +7 -0
  183. package/dist/agents/agents/skills/node_modules/vitest/browser/context.js +20 -0
  184. package/dist/agents/agents/skills/node_modules/vitest/config.d.ts +3 -0
  185. package/dist/agents/agents/skills/node_modules/vitest/coverage.d.ts +1 -0
  186. package/dist/agents/agents/skills/node_modules/vitest/dist/browser.d.ts +46 -0
  187. package/dist/agents/agents/skills/node_modules/vitest/dist/browser.js +20 -0
  188. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +6 -0
  189. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/base.CJ0Y4ePK.js +165 -0
  190. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/benchmark.B3N2zMcH.js +40 -0
  191. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts +24 -0
  192. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/browser.d.ChKACdzH.d.ts +59 -0
  193. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/cac.DVeoLl0M.js +1409 -0
  194. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js +13657 -0
  195. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/config.d.Cy95HiCx.d.ts +210 -0
  196. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/console.Cf-YriPC.js +146 -0
  197. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/constants.D_Q9UYh-.js +36 -0
  198. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/coverage.AVPTjMgw.js +3292 -0
  199. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/coverage.D_JHT54q.js +25 -0
  200. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/coverage.d.BZtK59WP.d.ts +37 -0
  201. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/creator.DAmOKTvJ.js +673 -0
  202. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +73 -0
  203. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/defaults.BOqNVLsY.js +74 -0
  204. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/env.D4Lgay0q.js +8 -0
  205. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts +29 -0
  206. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/evaluatedModules.Dg1zASAC.js +17 -0
  207. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts +7 -0
  208. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/git.Bm2pzPAa.js +71 -0
  209. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/global.d.B15mdLcR.d.ts +99 -0
  210. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/globals.DOayXfHP.js +30 -0
  211. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/index.6Qv1eEA6.js +109 -0
  212. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/index.C5r1PdPD.js +231 -0
  213. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/index.Chj8NDwU.js +206 -0
  214. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/index.CyBMJtT7.js +727 -0
  215. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/index.D3XRDfWc.js +213 -0
  216. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/index.D4KonVSU.js +6343 -0
  217. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/index.M8mOzt4Y.js +3839 -0
  218. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/index.Z5E_ObnR.js +37 -0
  219. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/init-forks._y3TW739.js +41 -0
  220. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/init-threads.DBO2kn-p.js +18 -0
  221. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/init.B6MLFIaN.js +334 -0
  222. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/inspector.CvyFGlXm.js +53 -0
  223. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js +36 -0
  224. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/node.Ce0vMQM7.js +14 -0
  225. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/plugin.d.CtqpEehP.d.ts +38 -0
  226. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/reporters.d.CWXNI2jG.d.ts +3271 -0
  227. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/rpc.BoxB0q7B.js +76 -0
  228. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/rpc.d.RH3apGEf.d.ts +64 -0
  229. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/setup-common.Cm-kSBVi.js +60 -0
  230. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/startModuleRunner.DEj0jb3e.js +861 -0
  231. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/suite.d.BJWk38HB.d.ts +10 -0
  232. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/test.B8ej_ZHS.js +254 -0
  233. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/traces.CCmnQaNT.js +217 -0
  234. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/traces.d.402V_yFI.d.ts +18 -0
  235. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/utils.DvEY5TfP.js +52 -0
  236. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/vi.2VT5v0um.js +3919 -0
  237. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/vm.D3epNOPZ.js +744 -0
  238. package/dist/agents/agents/skills/node_modules/vitest/dist/chunks/worker.d.Dyxm8DEL.d.ts +255 -0
  239. package/dist/agents/agents/skills/node_modules/vitest/dist/cli.js +28 -0
  240. package/dist/agents/agents/skills/node_modules/vitest/dist/config.cjs +94 -0
  241. package/dist/agents/agents/skills/node_modules/vitest/dist/config.d.ts +104 -0
  242. package/dist/agents/agents/skills/node_modules/vitest/dist/config.js +15 -0
  243. package/dist/agents/agents/skills/node_modules/vitest/dist/coverage.d.ts +118 -0
  244. package/dist/agents/agents/skills/node_modules/vitest/dist/coverage.js +23 -0
  245. package/dist/agents/agents/skills/node_modules/vitest/dist/environments.d.ts +22 -0
  246. package/dist/agents/agents/skills/node_modules/vitest/dist/environments.js +3 -0
  247. package/dist/agents/agents/skills/node_modules/vitest/dist/index.d.ts +510 -0
  248. package/dist/agents/agents/skills/node_modules/vitest/dist/index.js +20 -0
  249. package/dist/agents/agents/skills/node_modules/vitest/dist/mocker.d.ts +1 -0
  250. package/dist/agents/agents/skills/node_modules/vitest/dist/mocker.js +1 -0
  251. package/dist/agents/agents/skills/node_modules/vitest/dist/module-evaluator.d.ts +124 -0
  252. package/dist/agents/agents/skills/node_modules/vitest/dist/module-evaluator.js +343 -0
  253. package/dist/agents/agents/skills/node_modules/vitest/dist/module-runner.js +17 -0
  254. package/dist/agents/agents/skills/node_modules/vitest/dist/node.d.ts +251 -0
  255. package/dist/agents/agents/skills/node_modules/vitest/dist/node.js +98 -0
  256. package/dist/agents/agents/skills/node_modules/vitest/dist/path.js +7 -0
  257. package/dist/agents/agents/skills/node_modules/vitest/dist/reporters.d.ts +27 -0
  258. package/dist/agents/agents/skills/node_modules/vitest/dist/reporters.js +24 -0
  259. package/dist/agents/agents/skills/node_modules/vitest/dist/runners.d.ts +50 -0
  260. package/dist/agents/agents/skills/node_modules/vitest/dist/runners.js +19 -0
  261. package/dist/agents/agents/skills/node_modules/vitest/dist/snapshot.d.ts +9 -0
  262. package/dist/agents/agents/skills/node_modules/vitest/dist/snapshot.js +4 -0
  263. package/dist/agents/agents/skills/node_modules/vitest/dist/spy.js +1 -0
  264. package/dist/agents/agents/skills/node_modules/vitest/dist/suite.d.ts +5 -0
  265. package/dist/agents/agents/skills/node_modules/vitest/dist/suite.js +6 -0
  266. package/dist/agents/agents/skills/node_modules/vitest/dist/worker.d.ts +32 -0
  267. package/dist/agents/agents/skills/node_modules/vitest/dist/worker.js +48 -0
  268. package/dist/agents/agents/skills/node_modules/vitest/dist/workers/forks.js +54 -0
  269. package/dist/agents/agents/skills/node_modules/vitest/dist/workers/runVmTests.js +95 -0
  270. package/dist/agents/agents/skills/node_modules/vitest/dist/workers/threads.js +55 -0
  271. package/dist/agents/agents/skills/node_modules/vitest/dist/workers/vmForks.js +36 -0
  272. package/dist/agents/agents/skills/node_modules/vitest/dist/workers/vmThreads.js +37 -0
  273. package/dist/agents/agents/skills/node_modules/vitest/environments.d.ts +1 -0
  274. package/dist/agents/agents/skills/node_modules/vitest/globals.d.ts +20 -0
  275. package/dist/agents/agents/skills/node_modules/vitest/import-meta.d.ts +5 -0
  276. package/dist/agents/agents/skills/node_modules/vitest/importMeta.d.ts +4 -0
  277. package/dist/agents/agents/skills/node_modules/vitest/index.cjs +5 -0
  278. package/dist/agents/agents/skills/node_modules/vitest/index.d.cts +1 -0
  279. package/dist/agents/agents/skills/node_modules/vitest/jsdom.d.ts +6 -0
  280. package/dist/agents/agents/skills/node_modules/vitest/mocker.d.ts +1 -0
  281. package/dist/agents/agents/skills/node_modules/vitest/node.d.ts +1 -0
  282. package/dist/agents/agents/skills/node_modules/vitest/node_modules/.bin/vite +17 -0
  283. package/dist/agents/agents/skills/node_modules/vitest/node_modules/.bin/why-is-node-running +17 -0
  284. package/dist/agents/agents/skills/node_modules/vitest/optional-types.d.ts +7 -0
  285. package/dist/agents/agents/skills/node_modules/vitest/package.json +224 -0
  286. package/dist/agents/agents/skills/node_modules/vitest/reporters.d.ts +1 -0
  287. package/dist/agents/agents/skills/node_modules/vitest/runners.d.ts +1 -0
  288. package/dist/agents/agents/skills/node_modules/vitest/snapshot.d.ts +1 -0
  289. package/dist/agents/agents/skills/node_modules/vitest/suite.d.ts +1 -0
  290. package/dist/agents/agents/skills/node_modules/vitest/suppress-warnings.cjs +21 -0
  291. package/dist/agents/agents/skills/node_modules/vitest/vitest.mjs +2 -0
  292. package/dist/agents/agents/skills/node_modules/vitest/worker.d.ts +1 -0
  293. package/dist/agents/agents/skills/node_modules/yaml/LICENSE +13 -0
  294. package/dist/agents/agents/skills/node_modules/yaml/README.md +172 -0
  295. package/dist/agents/agents/skills/node_modules/yaml/bin.mjs +11 -0
  296. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  297. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  298. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/compose-node.js +102 -0
  299. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  300. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/composer.js +217 -0
  301. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  302. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  303. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  304. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  305. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  306. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
  307. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  308. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  309. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  310. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  311. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  312. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  313. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  314. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  315. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  316. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  317. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/errors.js +57 -0
  318. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/index.js +17 -0
  319. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/log.js +11 -0
  320. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
  321. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  322. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  323. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  324. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  325. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  326. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  327. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  328. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  329. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  330. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  331. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  332. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  333. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  334. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
  335. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  336. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/parse/parser.js +967 -0
  337. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/public-api.js +102 -0
  338. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  339. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  340. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  341. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  342. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  343. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  344. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  345. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  346. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  347. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  348. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  349. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  350. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  351. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  352. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  353. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
  354. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  355. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  356. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  357. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  358. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  359. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  360. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/stringify/stringify.js +128 -0
  361. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +143 -0
  362. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  363. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  364. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
  365. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  366. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  367. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/util.js +11 -0
  368. package/dist/agents/agents/skills/node_modules/yaml/browser/dist/visit.js +233 -0
  369. package/dist/agents/agents/skills/node_modules/yaml/browser/index.js +5 -0
  370. package/dist/agents/agents/skills/node_modules/yaml/browser/package.json +3 -0
  371. package/dist/agents/agents/skills/node_modules/yaml/dist/cli.d.ts +8 -0
  372. package/dist/agents/agents/skills/node_modules/yaml/dist/cli.mjs +201 -0
  373. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  374. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  375. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  376. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  377. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  378. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/compose-node.js +105 -0
  379. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  380. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  381. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  382. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/composer.js +222 -0
  383. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  384. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  385. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  386. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  387. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  388. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  389. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  390. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  391. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  392. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  393. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  394. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
  395. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  396. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  397. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  398. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  399. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  400. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  401. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  402. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  403. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  404. package/dist/agents/agents/skills/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  405. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  406. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/Document.js +337 -0
  407. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  408. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/anchors.js +76 -0
  409. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  410. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  411. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  412. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/createNode.js +90 -0
  413. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  414. package/dist/agents/agents/skills/node_modules/yaml/dist/doc/directives.js +178 -0
  415. package/dist/agents/agents/skills/node_modules/yaml/dist/errors.d.ts +21 -0
  416. package/dist/agents/agents/skills/node_modules/yaml/dist/errors.js +62 -0
  417. package/dist/agents/agents/skills/node_modules/yaml/dist/index.d.ts +25 -0
  418. package/dist/agents/agents/skills/node_modules/yaml/dist/index.js +50 -0
  419. package/dist/agents/agents/skills/node_modules/yaml/dist/log.d.ts +3 -0
  420. package/dist/agents/agents/skills/node_modules/yaml/dist/log.js +19 -0
  421. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  422. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Alias.js +116 -0
  423. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  424. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Collection.js +151 -0
  425. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  426. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Node.js +40 -0
  427. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  428. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Pair.js +39 -0
  429. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Scalar.d.ts +43 -0
  430. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  431. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  432. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  433. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  434. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  435. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  436. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  437. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  438. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/identity.js +53 -0
  439. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  440. package/dist/agents/agents/skills/node_modules/yaml/dist/nodes/toJS.js +39 -0
  441. package/dist/agents/agents/skills/node_modules/yaml/dist/options.d.ts +344 -0
  442. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  443. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  444. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  445. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  446. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  447. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  448. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  449. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/cst.js +112 -0
  450. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  451. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/lexer.js +719 -0
  452. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  453. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/line-counter.js +41 -0
  454. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  455. package/dist/agents/agents/skills/node_modules/yaml/dist/parse/parser.js +972 -0
  456. package/dist/agents/agents/skills/node_modules/yaml/dist/public-api.d.ts +44 -0
  457. package/dist/agents/agents/skills/node_modules/yaml/dist/public-api.js +107 -0
  458. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  459. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/Schema.js +39 -0
  460. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  461. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/common/map.js +19 -0
  462. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  463. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/common/null.js +17 -0
  464. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  465. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/common/seq.js +19 -0
  466. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  467. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/common/string.js +16 -0
  468. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  469. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/core/bool.js +21 -0
  470. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  471. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/core/float.js +47 -0
  472. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  473. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/core/int.js +42 -0
  474. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  475. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/core/schema.js +25 -0
  476. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  477. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/json/schema.js +64 -0
  478. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  479. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  480. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/tags.js +99 -0
  481. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/types.d.ts +92 -0
  482. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  483. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  484. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  485. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  486. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  487. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  488. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  489. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  490. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  491. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
  492. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  493. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  494. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  495. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  496. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  497. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  498. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  499. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  500. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  501. package/dist/agents/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  502. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  503. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  504. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  505. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringify.js +131 -0
  506. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  507. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
  508. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  509. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  510. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  511. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  512. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  513. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
  514. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  515. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  516. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  517. package/dist/agents/agents/skills/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  518. package/dist/agents/agents/skills/node_modules/yaml/dist/test-events.d.ts +4 -0
  519. package/dist/agents/agents/skills/node_modules/yaml/dist/test-events.js +134 -0
  520. package/dist/agents/agents/skills/node_modules/yaml/dist/util.d.ts +16 -0
  521. package/dist/agents/agents/skills/node_modules/yaml/dist/util.js +28 -0
  522. package/dist/agents/agents/skills/node_modules/yaml/dist/visit.d.ts +102 -0
  523. package/dist/agents/agents/skills/node_modules/yaml/dist/visit.js +236 -0
  524. package/dist/agents/agents/skills/node_modules/yaml/node_modules/.bin/yaml +17 -0
  525. package/dist/agents/agents/skills/node_modules/yaml/package.json +97 -0
  526. package/dist/agents/agents/skills/node_modules/yaml/util.js +2 -0
  527. package/{LICENSE → dist/agents/agents/skills/node_modules/zod/LICENSE} +1 -1
  528. package/dist/agents/agents/skills/node_modules/zod/README.md +208 -0
  529. package/dist/agents/agents/skills/node_modules/zod/index.cjs +33 -0
  530. package/dist/agents/agents/skills/node_modules/zod/index.d.cts +4 -0
  531. package/dist/agents/agents/skills/node_modules/zod/index.d.ts +4 -0
  532. package/dist/agents/agents/skills/node_modules/zod/index.js +4 -0
  533. package/dist/agents/agents/skills/node_modules/zod/package.json +118 -0
  534. package/dist/agents/agents/skills/node_modules/zod/src/index.ts +4 -0
  535. package/dist/agents/agents/skills/node_modules/zod/src/v3/ZodError.ts +330 -0
  536. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  537. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  538. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  539. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  540. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  541. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  542. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  543. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  544. package/dist/agents/agents/skills/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  545. package/dist/agents/agents/skills/node_modules/zod/src/v3/errors.ts +13 -0
  546. package/dist/agents/agents/skills/node_modules/zod/src/v3/external.ts +6 -0
  547. package/dist/agents/agents/skills/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  548. package/dist/agents/agents/skills/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  549. package/dist/agents/agents/skills/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  550. package/dist/agents/agents/skills/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  551. package/dist/agents/agents/skills/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  552. package/dist/agents/agents/skills/node_modules/zod/src/v3/helpers/util.ts +224 -0
  553. package/dist/agents/agents/skills/node_modules/zod/src/v3/index.ts +4 -0
  554. package/dist/agents/agents/skills/node_modules/zod/src/v3/locales/en.ts +124 -0
  555. package/dist/agents/agents/skills/node_modules/zod/src/v3/standard-schema.ts +113 -0
  556. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  557. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  558. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  559. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  560. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  561. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  562. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  563. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  564. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  565. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  566. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  567. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
  568. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  569. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  570. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  571. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  572. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  573. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  574. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  575. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  576. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  577. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  578. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/function.test.ts +257 -0
  579. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  580. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  581. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  582. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  583. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  584. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  585. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  586. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  587. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  588. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
  589. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  590. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  591. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  592. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  593. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  594. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  595. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  596. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  597. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  598. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  599. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  600. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  601. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  602. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  603. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  604. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  605. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  606. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  607. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  608. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  609. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  610. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  611. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  612. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  613. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  614. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  615. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  616. package/dist/agents/agents/skills/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  617. package/dist/agents/agents/skills/node_modules/zod/src/v3/types.ts +5136 -0
  618. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/checks.ts +30 -0
  619. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  620. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/compat.ts +66 -0
  621. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/errors.ts +75 -0
  622. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/external.ts +50 -0
  623. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/index.ts +5 -0
  624. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/iso.ts +90 -0
  625. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/parse.ts +33 -0
  626. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
  627. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  628. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  629. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  630. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  631. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  632. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  633. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  634. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
  635. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
  636. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  637. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  638. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
  639. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  640. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
  641. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
  642. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
  643. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  644. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
  645. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  646. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
  647. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  648. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
  649. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
  650. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
  651. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  652. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
  653. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
  654. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
  655. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
  656. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  657. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
  658. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
  659. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  660. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  661. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
  662. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  663. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
  664. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
  665. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
  666. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
  667. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
  668. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
  669. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
  670. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
  671. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  672. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  673. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  674. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  675. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
  676. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
  677. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
  678. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
  679. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
  680. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
  681. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
  682. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
  683. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
  684. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
  685. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
  686. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
  687. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
  688. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
  689. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  690. package/dist/agents/agents/skills/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  691. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/api.ts +1594 -0
  692. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/checks.ts +1283 -0
  693. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/config.ts +15 -0
  694. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/core.ts +134 -0
  695. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/doc.ts +44 -0
  696. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/errors.ts +424 -0
  697. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/function.ts +176 -0
  698. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/index.ts +15 -0
  699. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/json-schema.ts +143 -0
  700. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/parse.ts +94 -0
  701. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/regexes.ts +135 -0
  702. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/registries.ts +96 -0
  703. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/schemas.ts +3842 -0
  704. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
  705. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  706. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  707. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  708. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  709. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  710. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
  711. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/util.ts +775 -0
  712. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/versions.ts +5 -0
  713. package/dist/agents/agents/skills/node_modules/zod/src/v4/core/zsf.ts +323 -0
  714. package/dist/agents/agents/skills/node_modules/zod/src/v4/index.ts +4 -0
  715. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ar.ts +125 -0
  716. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/az.ts +121 -0
  717. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/be.ts +184 -0
  718. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ca.ts +127 -0
  719. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/cs.ts +142 -0
  720. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/de.ts +124 -0
  721. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/en.ts +127 -0
  722. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/eo.ts +125 -0
  723. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/es.ts +125 -0
  724. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/fa.ts +134 -0
  725. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/fi.ts +131 -0
  726. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
  727. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/fr.ts +124 -0
  728. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/he.ts +125 -0
  729. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/hu.ts +126 -0
  730. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/id.ts +125 -0
  731. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/index.ts +39 -0
  732. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/it.ts +125 -0
  733. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ja.ts +122 -0
  734. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/kh.ts +126 -0
  735. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ko.ts +131 -0
  736. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/mk.ts +127 -0
  737. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ms.ts +124 -0
  738. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/nl.ts +126 -0
  739. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/no.ts +124 -0
  740. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ota.ts +125 -0
  741. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/pl.ts +126 -0
  742. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ps.ts +133 -0
  743. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/pt.ts +123 -0
  744. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ru.ts +184 -0
  745. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/sl.ts +126 -0
  746. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/sv.ts +127 -0
  747. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ta.ts +125 -0
  748. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/th.ts +126 -0
  749. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/tr.ts +121 -0
  750. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ua.ts +126 -0
  751. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/ur.ts +126 -0
  752. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/vi.ts +125 -0
  753. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
  754. package/dist/agents/agents/skills/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
  755. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/checks.ts +32 -0
  756. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/coerce.ts +22 -0
  757. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/external.ts +40 -0
  758. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/index.ts +3 -0
  759. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/iso.ts +62 -0
  760. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/parse.ts +1 -0
  761. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
  762. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  763. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
  764. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  765. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  766. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  767. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
  768. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
  769. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  770. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
  771. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  772. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  773. package/dist/agents/agents/skills/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
  774. package/dist/agents/agents/skills/node_modules/zod/src/v4-mini/index.ts +1 -0
  775. package/dist/agents/agents/skills/node_modules/zod/v3/ZodError.cjs +138 -0
  776. package/dist/agents/agents/skills/node_modules/zod/v3/ZodError.d.cts +164 -0
  777. package/dist/agents/agents/skills/node_modules/zod/v3/ZodError.d.ts +164 -0
  778. package/dist/agents/agents/skills/node_modules/zod/v3/ZodError.js +133 -0
  779. package/dist/agents/agents/skills/node_modules/zod/v3/errors.cjs +17 -0
  780. package/dist/agents/agents/skills/node_modules/zod/v3/errors.d.cts +5 -0
  781. package/dist/agents/agents/skills/node_modules/zod/v3/errors.d.ts +5 -0
  782. package/dist/agents/agents/skills/node_modules/zod/v3/errors.js +9 -0
  783. package/dist/agents/agents/skills/node_modules/zod/v3/external.cjs +22 -0
  784. package/dist/agents/agents/skills/node_modules/zod/v3/external.d.cts +6 -0
  785. package/dist/agents/agents/skills/node_modules/zod/v3/external.d.ts +6 -0
  786. package/dist/agents/agents/skills/node_modules/zod/v3/external.js +6 -0
  787. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  788. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  789. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  790. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  791. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  792. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  793. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  794. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  795. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  796. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  797. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  798. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  799. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  800. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  801. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  802. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  803. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  804. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  805. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  806. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  807. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/util.cjs +137 -0
  808. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/util.d.cts +85 -0
  809. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/util.d.ts +85 -0
  810. package/dist/agents/agents/skills/node_modules/zod/v3/helpers/util.js +133 -0
  811. package/dist/agents/agents/skills/node_modules/zod/v3/index.cjs +33 -0
  812. package/dist/agents/agents/skills/node_modules/zod/v3/index.d.cts +4 -0
  813. package/dist/agents/agents/skills/node_modules/zod/v3/index.d.ts +4 -0
  814. package/dist/agents/agents/skills/node_modules/zod/v3/index.js +4 -0
  815. package/dist/agents/agents/skills/node_modules/zod/v3/locales/en.cjs +111 -0
  816. package/dist/agents/agents/skills/node_modules/zod/v3/locales/en.d.cts +3 -0
  817. package/dist/agents/agents/skills/node_modules/zod/v3/locales/en.d.ts +3 -0
  818. package/dist/agents/agents/skills/node_modules/zod/v3/locales/en.js +109 -0
  819. package/dist/agents/agents/skills/node_modules/zod/v3/standard-schema.cjs +2 -0
  820. package/dist/agents/agents/skills/node_modules/zod/v3/standard-schema.d.cts +102 -0
  821. package/dist/agents/agents/skills/node_modules/zod/v3/standard-schema.d.ts +102 -0
  822. package/dist/agents/agents/skills/node_modules/zod/v3/standard-schema.js +1 -0
  823. package/dist/agents/agents/skills/node_modules/zod/v3/types.cjs +3775 -0
  824. package/dist/agents/agents/skills/node_modules/zod/v3/types.d.cts +1031 -0
  825. package/dist/agents/agents/skills/node_modules/zod/v3/types.d.ts +1031 -0
  826. package/dist/agents/agents/skills/node_modules/zod/v3/types.js +3693 -0
  827. package/dist/agents/agents/skills/node_modules/zod/v4/classic/checks.cjs +32 -0
  828. package/dist/agents/agents/skills/node_modules/zod/v4/classic/checks.d.cts +1 -0
  829. package/dist/agents/agents/skills/node_modules/zod/v4/classic/checks.d.ts +1 -0
  830. package/dist/agents/agents/skills/node_modules/zod/v4/classic/checks.js +1 -0
  831. package/dist/agents/agents/skills/node_modules/zod/v4/classic/coerce.cjs +47 -0
  832. package/dist/agents/agents/skills/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  833. package/dist/agents/agents/skills/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  834. package/dist/agents/agents/skills/node_modules/zod/v4/classic/coerce.js +17 -0
  835. package/dist/agents/agents/skills/node_modules/zod/v4/classic/compat.cjs +57 -0
  836. package/dist/agents/agents/skills/node_modules/zod/v4/classic/compat.d.cts +46 -0
  837. package/dist/agents/agents/skills/node_modules/zod/v4/classic/compat.d.ts +46 -0
  838. package/dist/agents/agents/skills/node_modules/zod/v4/classic/compat.js +27 -0
  839. package/dist/agents/agents/skills/node_modules/zod/v4/classic/errors.cjs +67 -0
  840. package/dist/agents/agents/skills/node_modules/zod/v4/classic/errors.d.cts +30 -0
  841. package/dist/agents/agents/skills/node_modules/zod/v4/classic/errors.d.ts +30 -0
  842. package/dist/agents/agents/skills/node_modules/zod/v4/classic/errors.js +41 -0
  843. package/dist/agents/agents/skills/node_modules/zod/v4/classic/external.cjs +70 -0
  844. package/dist/agents/agents/skills/node_modules/zod/v4/classic/external.d.cts +13 -0
  845. package/dist/agents/agents/skills/node_modules/zod/v4/classic/external.d.ts +13 -0
  846. package/dist/agents/agents/skills/node_modules/zod/v4/classic/external.js +18 -0
  847. package/dist/agents/agents/skills/node_modules/zod/v4/classic/index.cjs +33 -0
  848. package/dist/agents/agents/skills/node_modules/zod/v4/classic/index.d.cts +4 -0
  849. package/dist/agents/agents/skills/node_modules/zod/v4/classic/index.d.ts +4 -0
  850. package/dist/agents/agents/skills/node_modules/zod/v4/classic/index.js +4 -0
  851. package/dist/agents/agents/skills/node_modules/zod/v4/classic/iso.cjs +60 -0
  852. package/dist/agents/agents/skills/node_modules/zod/v4/classic/iso.d.cts +22 -0
  853. package/dist/agents/agents/skills/node_modules/zod/v4/classic/iso.d.ts +22 -0
  854. package/dist/agents/agents/skills/node_modules/zod/v4/classic/iso.js +30 -0
  855. package/dist/agents/agents/skills/node_modules/zod/v4/classic/parse.cjs +32 -0
  856. package/dist/agents/agents/skills/node_modules/zod/v4/classic/parse.d.cts +23 -0
  857. package/dist/agents/agents/skills/node_modules/zod/v4/classic/parse.d.ts +23 -0
  858. package/dist/agents/agents/skills/node_modules/zod/v4/classic/parse.js +6 -0
  859. package/dist/agents/agents/skills/node_modules/zod/v4/classic/schemas.cjs +1109 -0
  860. package/dist/agents/agents/skills/node_modules/zod/v4/classic/schemas.d.cts +630 -0
  861. package/dist/agents/agents/skills/node_modules/zod/v4/classic/schemas.d.ts +630 -0
  862. package/dist/agents/agents/skills/node_modules/zod/v4/classic/schemas.js +1006 -0
  863. package/dist/agents/agents/skills/node_modules/zod/v4/core/api.cjs +1039 -0
  864. package/dist/agents/agents/skills/node_modules/zod/v4/core/api.d.cts +284 -0
  865. package/dist/agents/agents/skills/node_modules/zod/v4/core/api.d.ts +284 -0
  866. package/dist/agents/agents/skills/node_modules/zod/v4/core/api.js +906 -0
  867. package/dist/agents/agents/skills/node_modules/zod/v4/core/checks.cjs +591 -0
  868. package/dist/agents/agents/skills/node_modules/zod/v4/core/checks.d.cts +278 -0
  869. package/dist/agents/agents/skills/node_modules/zod/v4/core/checks.d.ts +278 -0
  870. package/dist/agents/agents/skills/node_modules/zod/v4/core/checks.js +565 -0
  871. package/dist/agents/agents/skills/node_modules/zod/v4/core/core.cjs +67 -0
  872. package/dist/agents/agents/skills/node_modules/zod/v4/core/core.d.cts +49 -0
  873. package/dist/agents/agents/skills/node_modules/zod/v4/core/core.d.ts +49 -0
  874. package/dist/agents/agents/skills/node_modules/zod/v4/core/core.js +61 -0
  875. package/dist/agents/agents/skills/node_modules/zod/v4/core/doc.cjs +39 -0
  876. package/dist/agents/agents/skills/node_modules/zod/v4/core/doc.d.cts +14 -0
  877. package/dist/agents/agents/skills/node_modules/zod/v4/core/doc.d.ts +14 -0
  878. package/dist/agents/agents/skills/node_modules/zod/v4/core/doc.js +35 -0
  879. package/dist/agents/agents/skills/node_modules/zod/v4/core/errors.cjs +226 -0
  880. package/dist/agents/agents/skills/node_modules/zod/v4/core/errors.d.cts +208 -0
  881. package/dist/agents/agents/skills/node_modules/zod/v4/core/errors.d.ts +208 -0
  882. package/dist/agents/agents/skills/node_modules/zod/v4/core/errors.js +195 -0
  883. package/dist/agents/agents/skills/node_modules/zod/v4/core/function.cjs +102 -0
  884. package/dist/agents/agents/skills/node_modules/zod/v4/core/function.d.cts +52 -0
  885. package/dist/agents/agents/skills/node_modules/zod/v4/core/function.d.ts +52 -0
  886. package/dist/agents/agents/skills/node_modules/zod/v4/core/function.js +75 -0
  887. package/dist/agents/agents/skills/node_modules/zod/v4/core/index.cjs +44 -0
  888. package/dist/agents/agents/skills/node_modules/zod/v4/core/index.d.cts +15 -0
  889. package/dist/agents/agents/skills/node_modules/zod/v4/core/index.d.ts +15 -0
  890. package/dist/agents/agents/skills/node_modules/zod/v4/core/index.js +15 -0
  891. package/dist/agents/agents/skills/node_modules/zod/v4/core/json-schema.cjs +2 -0
  892. package/dist/agents/agents/skills/node_modules/zod/v4/core/json-schema.d.cts +87 -0
  893. package/dist/agents/agents/skills/node_modules/zod/v4/core/json-schema.d.ts +87 -0
  894. package/dist/agents/agents/skills/node_modules/zod/v4/core/json-schema.js +1 -0
  895. package/dist/agents/agents/skills/node_modules/zod/v4/core/parse.cjs +87 -0
  896. package/dist/agents/agents/skills/node_modules/zod/v4/core/parse.d.cts +25 -0
  897. package/dist/agents/agents/skills/node_modules/zod/v4/core/parse.d.ts +25 -0
  898. package/dist/agents/agents/skills/node_modules/zod/v4/core/parse.js +57 -0
  899. package/dist/agents/agents/skills/node_modules/zod/v4/core/regexes.cjs +103 -0
  900. package/dist/agents/agents/skills/node_modules/zod/v4/core/regexes.d.cts +62 -0
  901. package/dist/agents/agents/skills/node_modules/zod/v4/core/regexes.d.ts +62 -0
  902. package/dist/agents/agents/skills/node_modules/zod/v4/core/regexes.js +95 -0
  903. package/dist/agents/agents/skills/node_modules/zod/v4/core/registries.cjs +56 -0
  904. package/dist/agents/agents/skills/node_modules/zod/v4/core/registries.d.cts +35 -0
  905. package/dist/agents/agents/skills/node_modules/zod/v4/core/registries.d.ts +35 -0
  906. package/dist/agents/agents/skills/node_modules/zod/v4/core/registries.js +51 -0
  907. package/dist/agents/agents/skills/node_modules/zod/v4/core/schemas.cjs +1748 -0
  908. package/dist/agents/agents/skills/node_modules/zod/v4/core/schemas.d.cts +1041 -0
  909. package/dist/agents/agents/skills/node_modules/zod/v4/core/schemas.d.ts +1041 -0
  910. package/dist/agents/agents/skills/node_modules/zod/v4/core/schemas.js +1717 -0
  911. package/dist/agents/agents/skills/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  912. package/dist/agents/agents/skills/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
  913. package/dist/agents/agents/skills/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
  914. package/dist/agents/agents/skills/node_modules/zod/v4/core/standard-schema.js +1 -0
  915. package/dist/agents/agents/skills/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
  916. package/dist/agents/agents/skills/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
  917. package/dist/agents/agents/skills/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
  918. package/dist/agents/agents/skills/node_modules/zod/v4/core/to-json-schema.js +849 -0
  919. package/dist/agents/agents/skills/node_modules/zod/v4/core/util.cjs +539 -0
  920. package/dist/agents/agents/skills/node_modules/zod/v4/core/util.d.cts +183 -0
  921. package/dist/agents/agents/skills/node_modules/zod/v4/core/util.d.ts +183 -0
  922. package/dist/agents/agents/skills/node_modules/zod/v4/core/util.js +493 -0
  923. package/dist/agents/agents/skills/node_modules/zod/v4/core/versions.cjs +8 -0
  924. package/dist/agents/agents/skills/node_modules/zod/v4/core/versions.d.cts +5 -0
  925. package/dist/agents/agents/skills/node_modules/zod/v4/core/versions.d.ts +5 -0
  926. package/dist/agents/agents/skills/node_modules/zod/v4/core/versions.js +5 -0
  927. package/dist/agents/agents/skills/node_modules/zod/v4/index.cjs +22 -0
  928. package/dist/agents/agents/skills/node_modules/zod/v4/index.d.cts +3 -0
  929. package/dist/agents/agents/skills/node_modules/zod/v4/index.d.ts +3 -0
  930. package/dist/agents/agents/skills/node_modules/zod/v4/index.js +3 -0
  931. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ar.cjs +142 -0
  932. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ar.d.cts +4 -0
  933. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ar.d.ts +4 -0
  934. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ar.js +116 -0
  935. package/dist/agents/agents/skills/node_modules/zod/v4/locales/az.cjs +141 -0
  936. package/dist/agents/agents/skills/node_modules/zod/v4/locales/az.d.cts +4 -0
  937. package/dist/agents/agents/skills/node_modules/zod/v4/locales/az.d.ts +4 -0
  938. package/dist/agents/agents/skills/node_modules/zod/v4/locales/az.js +115 -0
  939. package/dist/agents/agents/skills/node_modules/zod/v4/locales/be.cjs +190 -0
  940. package/dist/agents/agents/skills/node_modules/zod/v4/locales/be.d.cts +4 -0
  941. package/dist/agents/agents/skills/node_modules/zod/v4/locales/be.d.ts +4 -0
  942. package/dist/agents/agents/skills/node_modules/zod/v4/locales/be.js +164 -0
  943. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ca.cjs +144 -0
  944. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ca.d.cts +4 -0
  945. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ca.d.ts +4 -0
  946. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ca.js +118 -0
  947. package/dist/agents/agents/skills/node_modules/zod/v4/locales/cs.cjs +161 -0
  948. package/dist/agents/agents/skills/node_modules/zod/v4/locales/cs.d.cts +4 -0
  949. package/dist/agents/agents/skills/node_modules/zod/v4/locales/cs.d.ts +4 -0
  950. package/dist/agents/agents/skills/node_modules/zod/v4/locales/cs.js +135 -0
  951. package/dist/agents/agents/skills/node_modules/zod/v4/locales/de.cjs +142 -0
  952. package/dist/agents/agents/skills/node_modules/zod/v4/locales/de.d.cts +4 -0
  953. package/dist/agents/agents/skills/node_modules/zod/v4/locales/de.d.ts +4 -0
  954. package/dist/agents/agents/skills/node_modules/zod/v4/locales/de.js +116 -0
  955. package/dist/agents/agents/skills/node_modules/zod/v4/locales/en.cjs +145 -0
  956. package/dist/agents/agents/skills/node_modules/zod/v4/locales/en.d.cts +5 -0
  957. package/dist/agents/agents/skills/node_modules/zod/v4/locales/en.d.ts +5 -0
  958. package/dist/agents/agents/skills/node_modules/zod/v4/locales/en.js +117 -0
  959. package/dist/agents/agents/skills/node_modules/zod/v4/locales/eo.cjs +144 -0
  960. package/dist/agents/agents/skills/node_modules/zod/v4/locales/eo.d.cts +5 -0
  961. package/dist/agents/agents/skills/node_modules/zod/v4/locales/eo.d.ts +5 -0
  962. package/dist/agents/agents/skills/node_modules/zod/v4/locales/eo.js +116 -0
  963. package/dist/agents/agents/skills/node_modules/zod/v4/locales/es.cjs +143 -0
  964. package/dist/agents/agents/skills/node_modules/zod/v4/locales/es.d.cts +4 -0
  965. package/dist/agents/agents/skills/node_modules/zod/v4/locales/es.d.ts +4 -0
  966. package/dist/agents/agents/skills/node_modules/zod/v4/locales/es.js +117 -0
  967. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fa.cjs +148 -0
  968. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fa.d.cts +4 -0
  969. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fa.d.ts +4 -0
  970. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fa.js +122 -0
  971. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fi.cjs +148 -0
  972. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fi.d.cts +4 -0
  973. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fi.d.ts +4 -0
  974. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fi.js +122 -0
  975. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
  976. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
  977. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  978. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fr-CA.js +117 -0
  979. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fr.cjs +142 -0
  980. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fr.d.cts +4 -0
  981. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fr.d.ts +4 -0
  982. package/dist/agents/agents/skills/node_modules/zod/v4/locales/fr.js +116 -0
  983. package/dist/agents/agents/skills/node_modules/zod/v4/locales/he.cjs +143 -0
  984. package/dist/agents/agents/skills/node_modules/zod/v4/locales/he.d.cts +4 -0
  985. package/dist/agents/agents/skills/node_modules/zod/v4/locales/he.d.ts +4 -0
  986. package/dist/agents/agents/skills/node_modules/zod/v4/locales/he.js +117 -0
  987. package/dist/agents/agents/skills/node_modules/zod/v4/locales/hu.cjs +143 -0
  988. package/dist/agents/agents/skills/node_modules/zod/v4/locales/hu.d.cts +4 -0
  989. package/dist/agents/agents/skills/node_modules/zod/v4/locales/hu.d.ts +4 -0
  990. package/dist/agents/agents/skills/node_modules/zod/v4/locales/hu.js +117 -0
  991. package/dist/agents/agents/skills/node_modules/zod/v4/locales/id.cjs +142 -0
  992. package/dist/agents/agents/skills/node_modules/zod/v4/locales/id.d.cts +4 -0
  993. package/dist/agents/agents/skills/node_modules/zod/v4/locales/id.d.ts +4 -0
  994. package/dist/agents/agents/skills/node_modules/zod/v4/locales/id.js +116 -0
  995. package/dist/agents/agents/skills/node_modules/zod/v4/locales/index.cjs +84 -0
  996. package/dist/agents/agents/skills/node_modules/zod/v4/locales/index.d.cts +39 -0
  997. package/dist/agents/agents/skills/node_modules/zod/v4/locales/index.d.ts +39 -0
  998. package/dist/agents/agents/skills/node_modules/zod/v4/locales/index.js +39 -0
  999. package/dist/agents/agents/skills/node_modules/zod/v4/locales/it.cjs +143 -0
  1000. package/dist/agents/agents/skills/node_modules/zod/v4/locales/it.d.cts +4 -0
  1001. package/dist/agents/agents/skills/node_modules/zod/v4/locales/it.d.ts +4 -0
  1002. package/dist/agents/agents/skills/node_modules/zod/v4/locales/it.js +117 -0
  1003. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ja.cjs +141 -0
  1004. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ja.d.cts +4 -0
  1005. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ja.d.ts +4 -0
  1006. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ja.js +115 -0
  1007. package/dist/agents/agents/skills/node_modules/zod/v4/locales/kh.cjs +143 -0
  1008. package/dist/agents/agents/skills/node_modules/zod/v4/locales/kh.d.cts +4 -0
  1009. package/dist/agents/agents/skills/node_modules/zod/v4/locales/kh.d.ts +4 -0
  1010. package/dist/agents/agents/skills/node_modules/zod/v4/locales/kh.js +117 -0
  1011. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ko.cjs +147 -0
  1012. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ko.d.cts +4 -0
  1013. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ko.d.ts +4 -0
  1014. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ko.js +121 -0
  1015. package/dist/agents/agents/skills/node_modules/zod/v4/locales/mk.cjs +144 -0
  1016. package/dist/agents/agents/skills/node_modules/zod/v4/locales/mk.d.cts +4 -0
  1017. package/dist/agents/agents/skills/node_modules/zod/v4/locales/mk.d.ts +4 -0
  1018. package/dist/agents/agents/skills/node_modules/zod/v4/locales/mk.js +118 -0
  1019. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ms.cjs +142 -0
  1020. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ms.d.cts +4 -0
  1021. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ms.d.ts +4 -0
  1022. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ms.js +116 -0
  1023. package/dist/agents/agents/skills/node_modules/zod/v4/locales/nl.cjs +143 -0
  1024. package/dist/agents/agents/skills/node_modules/zod/v4/locales/nl.d.cts +4 -0
  1025. package/dist/agents/agents/skills/node_modules/zod/v4/locales/nl.d.ts +4 -0
  1026. package/dist/agents/agents/skills/node_modules/zod/v4/locales/nl.js +117 -0
  1027. package/dist/agents/agents/skills/node_modules/zod/v4/locales/no.cjs +142 -0
  1028. package/dist/agents/agents/skills/node_modules/zod/v4/locales/no.d.cts +4 -0
  1029. package/dist/agents/agents/skills/node_modules/zod/v4/locales/no.d.ts +4 -0
  1030. package/dist/agents/agents/skills/node_modules/zod/v4/locales/no.js +116 -0
  1031. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ota.cjs +143 -0
  1032. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ota.d.cts +4 -0
  1033. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ota.d.ts +4 -0
  1034. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ota.js +117 -0
  1035. package/dist/agents/agents/skills/node_modules/zod/v4/locales/pl.cjs +143 -0
  1036. package/dist/agents/agents/skills/node_modules/zod/v4/locales/pl.d.cts +4 -0
  1037. package/dist/agents/agents/skills/node_modules/zod/v4/locales/pl.d.ts +4 -0
  1038. package/dist/agents/agents/skills/node_modules/zod/v4/locales/pl.js +117 -0
  1039. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ps.cjs +148 -0
  1040. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ps.d.cts +4 -0
  1041. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ps.d.ts +4 -0
  1042. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ps.js +122 -0
  1043. package/dist/agents/agents/skills/node_modules/zod/v4/locales/pt.cjs +142 -0
  1044. package/dist/agents/agents/skills/node_modules/zod/v4/locales/pt.d.cts +4 -0
  1045. package/dist/agents/agents/skills/node_modules/zod/v4/locales/pt.d.ts +4 -0
  1046. package/dist/agents/agents/skills/node_modules/zod/v4/locales/pt.js +116 -0
  1047. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ru.cjs +190 -0
  1048. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ru.d.cts +4 -0
  1049. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ru.d.ts +4 -0
  1050. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ru.js +164 -0
  1051. package/dist/agents/agents/skills/node_modules/zod/v4/locales/sl.cjs +143 -0
  1052. package/dist/agents/agents/skills/node_modules/zod/v4/locales/sl.d.cts +4 -0
  1053. package/dist/agents/agents/skills/node_modules/zod/v4/locales/sl.d.ts +4 -0
  1054. package/dist/agents/agents/skills/node_modules/zod/v4/locales/sl.js +117 -0
  1055. package/dist/agents/agents/skills/node_modules/zod/v4/locales/sv.cjs +144 -0
  1056. package/dist/agents/agents/skills/node_modules/zod/v4/locales/sv.d.cts +4 -0
  1057. package/dist/agents/agents/skills/node_modules/zod/v4/locales/sv.d.ts +4 -0
  1058. package/dist/agents/agents/skills/node_modules/zod/v4/locales/sv.js +118 -0
  1059. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ta.cjs +143 -0
  1060. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ta.d.cts +4 -0
  1061. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1062. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ta.js +117 -0
  1063. package/dist/agents/agents/skills/node_modules/zod/v4/locales/th.cjs +143 -0
  1064. package/dist/agents/agents/skills/node_modules/zod/v4/locales/th.d.cts +4 -0
  1065. package/dist/agents/agents/skills/node_modules/zod/v4/locales/th.d.ts +4 -0
  1066. package/dist/agents/agents/skills/node_modules/zod/v4/locales/th.js +117 -0
  1067. package/dist/agents/agents/skills/node_modules/zod/v4/locales/tr.cjs +143 -0
  1068. package/dist/agents/agents/skills/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1069. package/dist/agents/agents/skills/node_modules/zod/v4/locales/tr.d.ts +5 -0
  1070. package/dist/agents/agents/skills/node_modules/zod/v4/locales/tr.js +115 -0
  1071. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ua.cjs +143 -0
  1072. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ua.d.cts +4 -0
  1073. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ua.d.ts +4 -0
  1074. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ua.js +117 -0
  1075. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ur.cjs +143 -0
  1076. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ur.d.cts +4 -0
  1077. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1078. package/dist/agents/agents/skills/node_modules/zod/v4/locales/ur.js +117 -0
  1079. package/dist/agents/agents/skills/node_modules/zod/v4/locales/vi.cjs +142 -0
  1080. package/dist/agents/agents/skills/node_modules/zod/v4/locales/vi.d.cts +4 -0
  1081. package/dist/agents/agents/skills/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1082. package/dist/agents/agents/skills/node_modules/zod/v4/locales/vi.js +116 -0
  1083. package/dist/agents/agents/skills/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
  1084. package/dist/agents/agents/skills/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
  1085. package/dist/agents/agents/skills/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1086. package/dist/agents/agents/skills/node_modules/zod/v4/locales/zh-CN.js +116 -0
  1087. package/dist/agents/agents/skills/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
  1088. package/dist/agents/agents/skills/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
  1089. package/dist/agents/agents/skills/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1090. package/dist/agents/agents/skills/node_modules/zod/v4/locales/zh-TW.js +117 -0
  1091. package/dist/agents/agents/skills/node_modules/zod/v4/mini/checks.cjs +34 -0
  1092. package/dist/agents/agents/skills/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1093. package/dist/agents/agents/skills/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1094. package/dist/agents/agents/skills/node_modules/zod/v4/mini/checks.js +1 -0
  1095. package/dist/agents/agents/skills/node_modules/zod/v4/mini/coerce.cjs +47 -0
  1096. package/dist/agents/agents/skills/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1097. package/dist/agents/agents/skills/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1098. package/dist/agents/agents/skills/node_modules/zod/v4/mini/coerce.js +17 -0
  1099. package/dist/agents/agents/skills/node_modules/zod/v4/mini/external.cjs +62 -0
  1100. package/dist/agents/agents/skills/node_modules/zod/v4/mini/external.d.cts +11 -0
  1101. package/dist/agents/agents/skills/node_modules/zod/v4/mini/external.d.ts +11 -0
  1102. package/dist/agents/agents/skills/node_modules/zod/v4/mini/external.js +13 -0
  1103. package/dist/agents/agents/skills/node_modules/zod/v4/mini/index.cjs +32 -0
  1104. package/dist/agents/agents/skills/node_modules/zod/v4/mini/index.d.cts +3 -0
  1105. package/dist/agents/agents/skills/node_modules/zod/v4/mini/index.d.ts +3 -0
  1106. package/dist/agents/agents/skills/node_modules/zod/v4/mini/index.js +3 -0
  1107. package/dist/agents/agents/skills/node_modules/zod/v4/mini/iso.cjs +60 -0
  1108. package/dist/agents/agents/skills/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1109. package/dist/agents/agents/skills/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1110. package/dist/agents/agents/skills/node_modules/zod/v4/mini/iso.js +30 -0
  1111. package/dist/agents/agents/skills/node_modules/zod/v4/mini/parse.cjs +8 -0
  1112. package/dist/agents/agents/skills/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1113. package/dist/agents/agents/skills/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1114. package/dist/agents/agents/skills/node_modules/zod/v4/mini/parse.js +1 -0
  1115. package/dist/agents/agents/skills/node_modules/zod/v4/mini/schemas.cjs +839 -0
  1116. package/dist/agents/agents/skills/node_modules/zod/v4/mini/schemas.d.cts +356 -0
  1117. package/dist/agents/agents/skills/node_modules/zod/v4/mini/schemas.d.ts +356 -0
  1118. package/dist/agents/agents/skills/node_modules/zod/v4/mini/schemas.js +732 -0
  1119. package/dist/agents/agents/skills/node_modules/zod/v4-mini/index.cjs +17 -0
  1120. package/dist/agents/agents/skills/node_modules/zod/v4-mini/index.d.cts +1 -0
  1121. package/dist/agents/agents/skills/node_modules/zod/v4-mini/index.d.ts +1 -0
  1122. package/dist/agents/agents/skills/node_modules/zod/v4-mini/index.js +1 -0
  1123. package/dist/agents/agents/skills/package.json +17 -0
  1124. package/dist/agents/agents/skills/tests/references.test.ts +85 -0
  1125. package/dist/agents/agents/skills/tests/schema.test.ts +95 -0
  1126. package/dist/agents/agents/skills/tests/schema.ts +66 -0
  1127. package/dist/agents/agents/skills/tests/structure.test.ts +82 -0
  1128. package/dist/agents/agents/skills/tsconfig.json +12 -0
  1129. package/dist/agents/agents/skills/vitest.config.mts +9 -0
  1130. package/dist/agents/personas/architecture-enforcer.yaml +27 -0
  1131. package/dist/agents/personas/documentation-maintainer.yaml +25 -0
  1132. package/dist/agents/personas/entropy-cleaner.yaml +21 -0
  1133. package/dist/agents/skills/.turbo/turbo-test.log +16 -0
  1134. package/dist/agents/skills/README.md +64 -0
  1135. package/dist/agents/skills/claude-code/add-harness-component/SKILL.md +182 -0
  1136. package/dist/agents/skills/claude-code/add-harness-component/skill.yaml +32 -0
  1137. package/dist/agents/skills/claude-code/align-documentation/SKILL.md +181 -0
  1138. package/dist/agents/skills/claude-code/align-documentation/skill.yaml +31 -0
  1139. package/dist/agents/skills/claude-code/check-mechanical-constraints/SKILL.md +191 -0
  1140. package/dist/agents/skills/claude-code/check-mechanical-constraints/skill.yaml +32 -0
  1141. package/dist/agents/skills/claude-code/cleanup-dead-code/SKILL.md +202 -0
  1142. package/dist/agents/skills/claude-code/cleanup-dead-code/skill.yaml +30 -0
  1143. package/dist/agents/skills/claude-code/detect-doc-drift/SKILL.md +159 -0
  1144. package/dist/agents/skills/claude-code/detect-doc-drift/skill.yaml +30 -0
  1145. package/dist/agents/skills/claude-code/enforce-architecture/SKILL.md +165 -0
  1146. package/dist/agents/skills/claude-code/enforce-architecture/skill.yaml +31 -0
  1147. package/dist/agents/skills/claude-code/harness-architecture-advisor/SKILL.md +388 -0
  1148. package/dist/agents/skills/claude-code/harness-architecture-advisor/skill.yaml +48 -0
  1149. package/dist/agents/skills/claude-code/harness-brainstorming/SKILL.md +247 -0
  1150. package/dist/agents/skills/claude-code/harness-brainstorming/skill.yaml +47 -0
  1151. package/dist/agents/skills/claude-code/harness-code-review/SKILL.md +403 -0
  1152. package/dist/agents/skills/claude-code/harness-code-review/skill.yaml +32 -0
  1153. package/dist/agents/skills/claude-code/harness-debugging/SKILL.md +356 -0
  1154. package/dist/agents/skills/claude-code/harness-debugging/skill.yaml +47 -0
  1155. package/dist/agents/skills/claude-code/harness-diagnostics/SKILL.md +318 -0
  1156. package/dist/agents/skills/claude-code/harness-diagnostics/skill.yaml +50 -0
  1157. package/dist/agents/skills/claude-code/harness-execution/SKILL.md +298 -0
  1158. package/dist/agents/skills/claude-code/harness-execution/skill.yaml +50 -0
  1159. package/dist/agents/skills/claude-code/harness-git-workflow/SKILL.md +268 -0
  1160. package/dist/agents/skills/claude-code/harness-git-workflow/skill.yaml +31 -0
  1161. package/dist/agents/skills/claude-code/harness-integrity/SKILL.md +119 -0
  1162. package/dist/agents/skills/claude-code/harness-integrity/skill.yaml +47 -0
  1163. package/dist/agents/skills/claude-code/harness-onboarding/SKILL.md +260 -0
  1164. package/dist/agents/skills/claude-code/harness-onboarding/skill.yaml +30 -0
  1165. package/dist/agents/skills/claude-code/harness-parallel-agents/SKILL.md +162 -0
  1166. package/dist/agents/skills/claude-code/harness-parallel-agents/skill.yaml +33 -0
  1167. package/dist/agents/skills/claude-code/harness-planning/SKILL.md +326 -0
  1168. package/dist/agents/skills/claude-code/harness-planning/skill.yaml +47 -0
  1169. package/dist/agents/skills/claude-code/harness-pre-commit-review/SKILL.md +231 -0
  1170. package/dist/agents/skills/claude-code/harness-pre-commit-review/skill.yaml +33 -0
  1171. package/dist/agents/skills/claude-code/harness-refactoring/SKILL.md +150 -0
  1172. package/dist/agents/skills/claude-code/harness-refactoring/skill.yaml +33 -0
  1173. package/dist/agents/skills/claude-code/harness-skill-authoring/SKILL.md +292 -0
  1174. package/dist/agents/skills/claude-code/harness-skill-authoring/skill.yaml +32 -0
  1175. package/dist/agents/skills/claude-code/harness-state-management/SKILL.md +295 -0
  1176. package/dist/agents/skills/claude-code/harness-state-management/skill.yaml +32 -0
  1177. package/dist/agents/skills/claude-code/harness-tdd/SKILL.md +167 -0
  1178. package/dist/agents/skills/claude-code/harness-tdd/skill.yaml +48 -0
  1179. package/dist/agents/skills/claude-code/harness-verification/SKILL.md +262 -0
  1180. package/dist/agents/skills/claude-code/harness-verification/skill.yaml +41 -0
  1181. package/dist/agents/skills/claude-code/harness-verify/SKILL.md +122 -0
  1182. package/dist/agents/skills/claude-code/harness-verify/skill.yaml +40 -0
  1183. package/dist/agents/skills/claude-code/initialize-harness-project/SKILL.md +200 -0
  1184. package/dist/agents/skills/claude-code/initialize-harness-project/skill.yaml +31 -0
  1185. package/dist/agents/skills/claude-code/validate-context-engineering/SKILL.md +129 -0
  1186. package/dist/agents/skills/claude-code/validate-context-engineering/skill.yaml +31 -0
  1187. package/dist/agents/skills/gemini-cli/add-harness-component/SKILL.md +182 -0
  1188. package/dist/agents/skills/gemini-cli/add-harness-component/skill.yaml +32 -0
  1189. package/dist/agents/skills/gemini-cli/align-documentation/SKILL.md +181 -0
  1190. package/dist/agents/skills/gemini-cli/align-documentation/skill.yaml +31 -0
  1191. package/dist/agents/skills/gemini-cli/check-mechanical-constraints/SKILL.md +191 -0
  1192. package/dist/agents/skills/gemini-cli/check-mechanical-constraints/skill.yaml +32 -0
  1193. package/dist/agents/skills/gemini-cli/cleanup-dead-code/SKILL.md +202 -0
  1194. package/dist/agents/skills/gemini-cli/cleanup-dead-code/skill.yaml +30 -0
  1195. package/dist/agents/skills/gemini-cli/detect-doc-drift/SKILL.md +159 -0
  1196. package/dist/agents/skills/gemini-cli/detect-doc-drift/skill.yaml +30 -0
  1197. package/dist/agents/skills/gemini-cli/enforce-architecture/SKILL.md +165 -0
  1198. package/dist/agents/skills/gemini-cli/enforce-architecture/skill.yaml +31 -0
  1199. package/dist/agents/skills/gemini-cli/harness-architecture-advisor/SKILL.md +388 -0
  1200. package/dist/agents/skills/gemini-cli/harness-architecture-advisor/skill.yaml +48 -0
  1201. package/dist/agents/skills/gemini-cli/harness-brainstorming/SKILL.md +247 -0
  1202. package/dist/agents/skills/gemini-cli/harness-brainstorming/skill.yaml +47 -0
  1203. package/dist/agents/skills/gemini-cli/harness-code-review/SKILL.md +403 -0
  1204. package/dist/agents/skills/gemini-cli/harness-code-review/skill.yaml +32 -0
  1205. package/dist/agents/skills/gemini-cli/harness-debugging/SKILL.md +356 -0
  1206. package/dist/agents/skills/gemini-cli/harness-debugging/skill.yaml +47 -0
  1207. package/dist/agents/skills/gemini-cli/harness-diagnostics/SKILL.md +318 -0
  1208. package/dist/agents/skills/gemini-cli/harness-diagnostics/skill.yaml +50 -0
  1209. package/dist/agents/skills/gemini-cli/harness-execution/SKILL.md +298 -0
  1210. package/dist/agents/skills/gemini-cli/harness-execution/skill.yaml +50 -0
  1211. package/dist/agents/skills/gemini-cli/harness-git-workflow/SKILL.md +268 -0
  1212. package/dist/agents/skills/gemini-cli/harness-git-workflow/skill.yaml +31 -0
  1213. package/dist/agents/skills/gemini-cli/harness-integrity/SKILL.md +119 -0
  1214. package/dist/agents/skills/gemini-cli/harness-integrity/skill.yaml +47 -0
  1215. package/dist/agents/skills/gemini-cli/harness-onboarding/SKILL.md +260 -0
  1216. package/dist/agents/skills/gemini-cli/harness-onboarding/skill.yaml +30 -0
  1217. package/dist/agents/skills/gemini-cli/harness-parallel-agents/SKILL.md +162 -0
  1218. package/dist/agents/skills/gemini-cli/harness-parallel-agents/skill.yaml +33 -0
  1219. package/dist/agents/skills/gemini-cli/harness-planning/SKILL.md +326 -0
  1220. package/dist/agents/skills/gemini-cli/harness-planning/skill.yaml +47 -0
  1221. package/dist/agents/skills/gemini-cli/harness-pre-commit-review/SKILL.md +231 -0
  1222. package/dist/agents/skills/gemini-cli/harness-pre-commit-review/skill.yaml +33 -0
  1223. package/dist/agents/skills/gemini-cli/harness-refactoring/SKILL.md +150 -0
  1224. package/dist/agents/skills/gemini-cli/harness-refactoring/skill.yaml +33 -0
  1225. package/dist/agents/skills/gemini-cli/harness-skill-authoring/SKILL.md +292 -0
  1226. package/dist/agents/skills/gemini-cli/harness-skill-authoring/skill.yaml +32 -0
  1227. package/dist/agents/skills/gemini-cli/harness-state-management/SKILL.md +295 -0
  1228. package/dist/agents/skills/gemini-cli/harness-state-management/skill.yaml +32 -0
  1229. package/dist/agents/skills/gemini-cli/harness-tdd/SKILL.md +167 -0
  1230. package/dist/agents/skills/gemini-cli/harness-tdd/skill.yaml +48 -0
  1231. package/dist/agents/skills/gemini-cli/harness-verification/SKILL.md +262 -0
  1232. package/dist/agents/skills/gemini-cli/harness-verification/skill.yaml +41 -0
  1233. package/dist/agents/skills/gemini-cli/harness-verify/SKILL.md +122 -0
  1234. package/dist/agents/skills/gemini-cli/harness-verify/skill.yaml +40 -0
  1235. package/dist/agents/skills/gemini-cli/initialize-harness-project/SKILL.md +200 -0
  1236. package/dist/agents/skills/gemini-cli/initialize-harness-project/skill.yaml +31 -0
  1237. package/dist/agents/skills/gemini-cli/validate-context-engineering/SKILL.md +129 -0
  1238. package/dist/agents/skills/gemini-cli/validate-context-engineering/skill.yaml +31 -0
  1239. package/dist/agents/skills/node_modules/.bin/glob +17 -0
  1240. package/dist/agents/skills/node_modules/.bin/vitest +17 -0
  1241. package/dist/agents/skills/node_modules/.bin/yaml +17 -0
  1242. package/dist/agents/skills/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  1243. package/dist/agents/skills/node_modules/glob/LICENSE +15 -0
  1244. package/dist/agents/skills/node_modules/glob/README.md +1265 -0
  1245. package/dist/agents/skills/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
  1246. package/dist/agents/skills/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
  1247. package/dist/agents/skills/node_modules/glob/dist/commonjs/glob.js +247 -0
  1248. package/dist/agents/skills/node_modules/glob/dist/commonjs/glob.js.map +1 -0
  1249. package/dist/agents/skills/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
  1250. package/dist/agents/skills/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
  1251. package/dist/agents/skills/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  1252. package/dist/agents/skills/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
  1253. package/dist/agents/skills/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
  1254. package/dist/agents/skills/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
  1255. package/dist/agents/skills/node_modules/glob/dist/commonjs/ignore.js +119 -0
  1256. package/dist/agents/skills/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
  1257. package/dist/agents/skills/node_modules/glob/dist/commonjs/index.d.ts +97 -0
  1258. package/dist/agents/skills/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
  1259. package/dist/agents/skills/node_modules/glob/dist/commonjs/index.js +68 -0
  1260. package/dist/agents/skills/node_modules/glob/dist/commonjs/index.js.map +1 -0
  1261. package/dist/agents/skills/node_modules/glob/dist/commonjs/package.json +3 -0
  1262. package/dist/agents/skills/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
  1263. package/dist/agents/skills/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
  1264. package/dist/agents/skills/node_modules/glob/dist/commonjs/pattern.js +219 -0
  1265. package/dist/agents/skills/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
  1266. package/dist/agents/skills/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
  1267. package/dist/agents/skills/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
  1268. package/dist/agents/skills/node_modules/glob/dist/commonjs/processor.js +301 -0
  1269. package/dist/agents/skills/node_modules/glob/dist/commonjs/processor.js.map +1 -0
  1270. package/dist/agents/skills/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
  1271. package/dist/agents/skills/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
  1272. package/dist/agents/skills/node_modules/glob/dist/commonjs/walker.js +387 -0
  1273. package/dist/agents/skills/node_modules/glob/dist/commonjs/walker.js.map +1 -0
  1274. package/dist/agents/skills/node_modules/glob/dist/esm/bin.d.mts +3 -0
  1275. package/dist/agents/skills/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
  1276. package/dist/agents/skills/node_modules/glob/dist/esm/bin.mjs +346 -0
  1277. package/dist/agents/skills/node_modules/glob/dist/esm/bin.mjs.map +1 -0
  1278. package/dist/agents/skills/node_modules/glob/dist/esm/glob.d.ts +388 -0
  1279. package/dist/agents/skills/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
  1280. package/dist/agents/skills/node_modules/glob/dist/esm/glob.js +243 -0
  1281. package/dist/agents/skills/node_modules/glob/dist/esm/glob.js.map +1 -0
  1282. package/dist/agents/skills/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
  1283. package/dist/agents/skills/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
  1284. package/dist/agents/skills/node_modules/glob/dist/esm/has-magic.js +23 -0
  1285. package/dist/agents/skills/node_modules/glob/dist/esm/has-magic.js.map +1 -0
  1286. package/dist/agents/skills/node_modules/glob/dist/esm/ignore.d.ts +24 -0
  1287. package/dist/agents/skills/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
  1288. package/dist/agents/skills/node_modules/glob/dist/esm/ignore.js +115 -0
  1289. package/dist/agents/skills/node_modules/glob/dist/esm/ignore.js.map +1 -0
  1290. package/dist/agents/skills/node_modules/glob/dist/esm/index.d.ts +97 -0
  1291. package/dist/agents/skills/node_modules/glob/dist/esm/index.d.ts.map +1 -0
  1292. package/dist/agents/skills/node_modules/glob/dist/esm/index.js +55 -0
  1293. package/dist/agents/skills/node_modules/glob/dist/esm/index.js.map +1 -0
  1294. package/dist/agents/skills/node_modules/glob/dist/esm/package.json +3 -0
  1295. package/dist/agents/skills/node_modules/glob/dist/esm/pattern.d.ts +76 -0
  1296. package/dist/agents/skills/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
  1297. package/dist/agents/skills/node_modules/glob/dist/esm/pattern.js +215 -0
  1298. package/dist/agents/skills/node_modules/glob/dist/esm/pattern.js.map +1 -0
  1299. package/dist/agents/skills/node_modules/glob/dist/esm/processor.d.ts +59 -0
  1300. package/dist/agents/skills/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
  1301. package/dist/agents/skills/node_modules/glob/dist/esm/processor.js +294 -0
  1302. package/dist/agents/skills/node_modules/glob/dist/esm/processor.js.map +1 -0
  1303. package/dist/agents/skills/node_modules/glob/dist/esm/walker.d.ts +97 -0
  1304. package/dist/agents/skills/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
  1305. package/dist/agents/skills/node_modules/glob/dist/esm/walker.js +381 -0
  1306. package/dist/agents/skills/node_modules/glob/dist/esm/walker.js.map +1 -0
  1307. package/dist/agents/skills/node_modules/glob/node_modules/.bin/glob +17 -0
  1308. package/dist/agents/skills/node_modules/glob/package.json +99 -0
  1309. package/dist/agents/skills/node_modules/vitest/LICENSE.md +691 -0
  1310. package/dist/agents/skills/node_modules/vitest/README.md +7 -0
  1311. package/dist/agents/skills/node_modules/vitest/browser/context.d.ts +7 -0
  1312. package/dist/agents/skills/node_modules/vitest/browser/context.js +20 -0
  1313. package/dist/agents/skills/node_modules/vitest/config.d.ts +3 -0
  1314. package/dist/agents/skills/node_modules/vitest/coverage.d.ts +1 -0
  1315. package/dist/agents/skills/node_modules/vitest/dist/browser.d.ts +46 -0
  1316. package/dist/agents/skills/node_modules/vitest/dist/browser.js +20 -0
  1317. package/dist/agents/skills/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +6 -0
  1318. package/dist/agents/skills/node_modules/vitest/dist/chunks/base.CJ0Y4ePK.js +165 -0
  1319. package/dist/agents/skills/node_modules/vitest/dist/chunks/benchmark.B3N2zMcH.js +40 -0
  1320. package/dist/agents/skills/node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts +24 -0
  1321. package/dist/agents/skills/node_modules/vitest/dist/chunks/browser.d.ChKACdzH.d.ts +59 -0
  1322. package/dist/agents/skills/node_modules/vitest/dist/chunks/cac.DVeoLl0M.js +1409 -0
  1323. package/dist/agents/skills/node_modules/vitest/dist/chunks/cli-api.B7PN_QUv.js +13657 -0
  1324. package/dist/agents/skills/node_modules/vitest/dist/chunks/config.d.Cy95HiCx.d.ts +210 -0
  1325. package/dist/agents/skills/node_modules/vitest/dist/chunks/console.Cf-YriPC.js +146 -0
  1326. package/dist/agents/skills/node_modules/vitest/dist/chunks/constants.D_Q9UYh-.js +36 -0
  1327. package/dist/agents/skills/node_modules/vitest/dist/chunks/coverage.AVPTjMgw.js +3292 -0
  1328. package/dist/agents/skills/node_modules/vitest/dist/chunks/coverage.D_JHT54q.js +25 -0
  1329. package/dist/agents/skills/node_modules/vitest/dist/chunks/coverage.d.BZtK59WP.d.ts +37 -0
  1330. package/dist/agents/skills/node_modules/vitest/dist/chunks/creator.DAmOKTvJ.js +673 -0
  1331. package/dist/agents/skills/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +73 -0
  1332. package/dist/agents/skills/node_modules/vitest/dist/chunks/defaults.BOqNVLsY.js +74 -0
  1333. package/dist/agents/skills/node_modules/vitest/dist/chunks/env.D4Lgay0q.js +8 -0
  1334. package/dist/agents/skills/node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts +29 -0
  1335. package/dist/agents/skills/node_modules/vitest/dist/chunks/evaluatedModules.Dg1zASAC.js +17 -0
  1336. package/dist/agents/skills/node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts +7 -0
  1337. package/dist/agents/skills/node_modules/vitest/dist/chunks/git.Bm2pzPAa.js +71 -0
  1338. package/dist/agents/skills/node_modules/vitest/dist/chunks/global.d.B15mdLcR.d.ts +99 -0
  1339. package/dist/agents/skills/node_modules/vitest/dist/chunks/globals.DOayXfHP.js +30 -0
  1340. package/dist/agents/skills/node_modules/vitest/dist/chunks/index.6Qv1eEA6.js +109 -0
  1341. package/dist/agents/skills/node_modules/vitest/dist/chunks/index.C5r1PdPD.js +231 -0
  1342. package/dist/agents/skills/node_modules/vitest/dist/chunks/index.Chj8NDwU.js +206 -0
  1343. package/dist/agents/skills/node_modules/vitest/dist/chunks/index.CyBMJtT7.js +727 -0
  1344. package/dist/agents/skills/node_modules/vitest/dist/chunks/index.D3XRDfWc.js +213 -0
  1345. package/dist/agents/skills/node_modules/vitest/dist/chunks/index.D4KonVSU.js +6343 -0
  1346. package/dist/agents/skills/node_modules/vitest/dist/chunks/index.M8mOzt4Y.js +3839 -0
  1347. package/dist/agents/skills/node_modules/vitest/dist/chunks/index.Z5E_ObnR.js +37 -0
  1348. package/dist/agents/skills/node_modules/vitest/dist/chunks/init-forks._y3TW739.js +41 -0
  1349. package/dist/agents/skills/node_modules/vitest/dist/chunks/init-threads.DBO2kn-p.js +18 -0
  1350. package/dist/agents/skills/node_modules/vitest/dist/chunks/init.B6MLFIaN.js +334 -0
  1351. package/dist/agents/skills/node_modules/vitest/dist/chunks/inspector.CvyFGlXm.js +53 -0
  1352. package/dist/agents/skills/node_modules/vitest/dist/chunks/modules.BJuCwlRJ.js +36 -0
  1353. package/dist/agents/skills/node_modules/vitest/dist/chunks/node.Ce0vMQM7.js +14 -0
  1354. package/dist/agents/skills/node_modules/vitest/dist/chunks/plugin.d.CtqpEehP.d.ts +38 -0
  1355. package/dist/agents/skills/node_modules/vitest/dist/chunks/reporters.d.CWXNI2jG.d.ts +3271 -0
  1356. package/dist/agents/skills/node_modules/vitest/dist/chunks/rpc.BoxB0q7B.js +76 -0
  1357. package/dist/agents/skills/node_modules/vitest/dist/chunks/rpc.d.RH3apGEf.d.ts +64 -0
  1358. package/dist/agents/skills/node_modules/vitest/dist/chunks/setup-common.Cm-kSBVi.js +60 -0
  1359. package/dist/agents/skills/node_modules/vitest/dist/chunks/startModuleRunner.DEj0jb3e.js +861 -0
  1360. package/dist/agents/skills/node_modules/vitest/dist/chunks/suite.d.BJWk38HB.d.ts +10 -0
  1361. package/dist/agents/skills/node_modules/vitest/dist/chunks/test.B8ej_ZHS.js +254 -0
  1362. package/dist/agents/skills/node_modules/vitest/dist/chunks/traces.CCmnQaNT.js +217 -0
  1363. package/dist/agents/skills/node_modules/vitest/dist/chunks/traces.d.402V_yFI.d.ts +18 -0
  1364. package/dist/agents/skills/node_modules/vitest/dist/chunks/utils.DvEY5TfP.js +52 -0
  1365. package/dist/agents/skills/node_modules/vitest/dist/chunks/vi.2VT5v0um.js +3919 -0
  1366. package/dist/agents/skills/node_modules/vitest/dist/chunks/vm.D3epNOPZ.js +744 -0
  1367. package/dist/agents/skills/node_modules/vitest/dist/chunks/worker.d.Dyxm8DEL.d.ts +255 -0
  1368. package/dist/agents/skills/node_modules/vitest/dist/cli.js +28 -0
  1369. package/dist/agents/skills/node_modules/vitest/dist/config.cjs +94 -0
  1370. package/dist/agents/skills/node_modules/vitest/dist/config.d.ts +104 -0
  1371. package/dist/agents/skills/node_modules/vitest/dist/config.js +15 -0
  1372. package/dist/agents/skills/node_modules/vitest/dist/coverage.d.ts +118 -0
  1373. package/dist/agents/skills/node_modules/vitest/dist/coverage.js +23 -0
  1374. package/dist/agents/skills/node_modules/vitest/dist/environments.d.ts +22 -0
  1375. package/dist/agents/skills/node_modules/vitest/dist/environments.js +3 -0
  1376. package/dist/agents/skills/node_modules/vitest/dist/index.d.ts +510 -0
  1377. package/dist/agents/skills/node_modules/vitest/dist/index.js +20 -0
  1378. package/dist/agents/skills/node_modules/vitest/dist/mocker.d.ts +1 -0
  1379. package/dist/agents/skills/node_modules/vitest/dist/mocker.js +1 -0
  1380. package/dist/agents/skills/node_modules/vitest/dist/module-evaluator.d.ts +124 -0
  1381. package/dist/agents/skills/node_modules/vitest/dist/module-evaluator.js +343 -0
  1382. package/dist/agents/skills/node_modules/vitest/dist/module-runner.js +17 -0
  1383. package/dist/agents/skills/node_modules/vitest/dist/node.d.ts +251 -0
  1384. package/dist/agents/skills/node_modules/vitest/dist/node.js +98 -0
  1385. package/dist/agents/skills/node_modules/vitest/dist/path.js +7 -0
  1386. package/dist/agents/skills/node_modules/vitest/dist/reporters.d.ts +27 -0
  1387. package/dist/agents/skills/node_modules/vitest/dist/reporters.js +24 -0
  1388. package/dist/agents/skills/node_modules/vitest/dist/runners.d.ts +50 -0
  1389. package/dist/agents/skills/node_modules/vitest/dist/runners.js +19 -0
  1390. package/dist/agents/skills/node_modules/vitest/dist/snapshot.d.ts +9 -0
  1391. package/dist/agents/skills/node_modules/vitest/dist/snapshot.js +4 -0
  1392. package/dist/agents/skills/node_modules/vitest/dist/spy.js +1 -0
  1393. package/dist/agents/skills/node_modules/vitest/dist/suite.d.ts +5 -0
  1394. package/dist/agents/skills/node_modules/vitest/dist/suite.js +6 -0
  1395. package/dist/agents/skills/node_modules/vitest/dist/worker.d.ts +32 -0
  1396. package/dist/agents/skills/node_modules/vitest/dist/worker.js +48 -0
  1397. package/dist/agents/skills/node_modules/vitest/dist/workers/forks.js +54 -0
  1398. package/dist/agents/skills/node_modules/vitest/dist/workers/runVmTests.js +95 -0
  1399. package/dist/agents/skills/node_modules/vitest/dist/workers/threads.js +55 -0
  1400. package/dist/agents/skills/node_modules/vitest/dist/workers/vmForks.js +36 -0
  1401. package/dist/agents/skills/node_modules/vitest/dist/workers/vmThreads.js +37 -0
  1402. package/dist/agents/skills/node_modules/vitest/environments.d.ts +1 -0
  1403. package/dist/agents/skills/node_modules/vitest/globals.d.ts +20 -0
  1404. package/dist/agents/skills/node_modules/vitest/import-meta.d.ts +5 -0
  1405. package/dist/agents/skills/node_modules/vitest/importMeta.d.ts +4 -0
  1406. package/dist/agents/skills/node_modules/vitest/index.cjs +5 -0
  1407. package/dist/agents/skills/node_modules/vitest/index.d.cts +1 -0
  1408. package/dist/agents/skills/node_modules/vitest/jsdom.d.ts +6 -0
  1409. package/dist/agents/skills/node_modules/vitest/mocker.d.ts +1 -0
  1410. package/dist/agents/skills/node_modules/vitest/node.d.ts +1 -0
  1411. package/dist/agents/skills/node_modules/vitest/node_modules/.bin/vite +17 -0
  1412. package/dist/agents/skills/node_modules/vitest/node_modules/.bin/why-is-node-running +17 -0
  1413. package/dist/agents/skills/node_modules/vitest/optional-types.d.ts +7 -0
  1414. package/dist/agents/skills/node_modules/vitest/package.json +224 -0
  1415. package/dist/agents/skills/node_modules/vitest/reporters.d.ts +1 -0
  1416. package/dist/agents/skills/node_modules/vitest/runners.d.ts +1 -0
  1417. package/dist/agents/skills/node_modules/vitest/snapshot.d.ts +1 -0
  1418. package/dist/agents/skills/node_modules/vitest/suite.d.ts +1 -0
  1419. package/dist/agents/skills/node_modules/vitest/suppress-warnings.cjs +21 -0
  1420. package/dist/agents/skills/node_modules/vitest/vitest.mjs +2 -0
  1421. package/dist/agents/skills/node_modules/vitest/worker.d.ts +1 -0
  1422. package/dist/agents/skills/node_modules/yaml/LICENSE +13 -0
  1423. package/dist/agents/skills/node_modules/yaml/README.md +172 -0
  1424. package/dist/agents/skills/node_modules/yaml/bin.mjs +11 -0
  1425. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  1426. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  1427. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/compose-node.js +102 -0
  1428. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  1429. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/composer.js +217 -0
  1430. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  1431. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  1432. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  1433. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  1434. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  1435. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
  1436. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  1437. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  1438. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  1439. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  1440. package/dist/agents/skills/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  1441. package/dist/agents/skills/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  1442. package/dist/agents/skills/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  1443. package/dist/agents/skills/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  1444. package/dist/agents/skills/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  1445. package/dist/agents/skills/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  1446. package/dist/agents/skills/node_modules/yaml/browser/dist/errors.js +57 -0
  1447. package/dist/agents/skills/node_modules/yaml/browser/dist/index.js +17 -0
  1448. package/dist/agents/skills/node_modules/yaml/browser/dist/log.js +11 -0
  1449. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
  1450. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  1451. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  1452. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  1453. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  1454. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  1455. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  1456. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  1457. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  1458. package/dist/agents/skills/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  1459. package/dist/agents/skills/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  1460. package/dist/agents/skills/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  1461. package/dist/agents/skills/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  1462. package/dist/agents/skills/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  1463. package/dist/agents/skills/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
  1464. package/dist/agents/skills/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  1465. package/dist/agents/skills/node_modules/yaml/browser/dist/parse/parser.js +967 -0
  1466. package/dist/agents/skills/node_modules/yaml/browser/dist/public-api.js +102 -0
  1467. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  1468. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  1469. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  1470. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  1471. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  1472. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  1473. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  1474. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  1475. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  1476. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  1477. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  1478. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  1479. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  1480. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  1481. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  1482. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
  1483. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  1484. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  1485. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  1486. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  1487. package/dist/agents/skills/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  1488. package/dist/agents/skills/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  1489. package/dist/agents/skills/node_modules/yaml/browser/dist/stringify/stringify.js +128 -0
  1490. package/dist/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +143 -0
  1491. package/dist/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  1492. package/dist/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  1493. package/dist/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
  1494. package/dist/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  1495. package/dist/agents/skills/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  1496. package/dist/agents/skills/node_modules/yaml/browser/dist/util.js +11 -0
  1497. package/dist/agents/skills/node_modules/yaml/browser/dist/visit.js +233 -0
  1498. package/dist/agents/skills/node_modules/yaml/browser/index.js +5 -0
  1499. package/dist/agents/skills/node_modules/yaml/browser/package.json +3 -0
  1500. package/dist/agents/skills/node_modules/yaml/dist/cli.d.ts +8 -0
  1501. package/dist/agents/skills/node_modules/yaml/dist/cli.mjs +201 -0
  1502. package/dist/agents/skills/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
  1503. package/dist/agents/skills/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  1504. package/dist/agents/skills/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
  1505. package/dist/agents/skills/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  1506. package/dist/agents/skills/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
  1507. package/dist/agents/skills/node_modules/yaml/dist/compose/compose-node.js +105 -0
  1508. package/dist/agents/skills/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
  1509. package/dist/agents/skills/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  1510. package/dist/agents/skills/node_modules/yaml/dist/compose/composer.d.ts +63 -0
  1511. package/dist/agents/skills/node_modules/yaml/dist/compose/composer.js +222 -0
  1512. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
  1513. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  1514. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
  1515. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  1516. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
  1517. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  1518. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
  1519. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  1520. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
  1521. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  1522. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
  1523. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
  1524. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
  1525. package/dist/agents/skills/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  1526. package/dist/agents/skills/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
  1527. package/dist/agents/skills/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  1528. package/dist/agents/skills/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
  1529. package/dist/agents/skills/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  1530. package/dist/agents/skills/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
  1531. package/dist/agents/skills/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  1532. package/dist/agents/skills/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
  1533. package/dist/agents/skills/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  1534. package/dist/agents/skills/node_modules/yaml/dist/doc/Document.d.ts +141 -0
  1535. package/dist/agents/skills/node_modules/yaml/dist/doc/Document.js +337 -0
  1536. package/dist/agents/skills/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
  1537. package/dist/agents/skills/node_modules/yaml/dist/doc/anchors.js +76 -0
  1538. package/dist/agents/skills/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
  1539. package/dist/agents/skills/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  1540. package/dist/agents/skills/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
  1541. package/dist/agents/skills/node_modules/yaml/dist/doc/createNode.js +90 -0
  1542. package/dist/agents/skills/node_modules/yaml/dist/doc/directives.d.ts +49 -0
  1543. package/dist/agents/skills/node_modules/yaml/dist/doc/directives.js +178 -0
  1544. package/dist/agents/skills/node_modules/yaml/dist/errors.d.ts +21 -0
  1545. package/dist/agents/skills/node_modules/yaml/dist/errors.js +62 -0
  1546. package/dist/agents/skills/node_modules/yaml/dist/index.d.ts +25 -0
  1547. package/dist/agents/skills/node_modules/yaml/dist/index.js +50 -0
  1548. package/dist/agents/skills/node_modules/yaml/dist/log.d.ts +3 -0
  1549. package/dist/agents/skills/node_modules/yaml/dist/log.js +19 -0
  1550. package/dist/agents/skills/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
  1551. package/dist/agents/skills/node_modules/yaml/dist/nodes/Alias.js +116 -0
  1552. package/dist/agents/skills/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
  1553. package/dist/agents/skills/node_modules/yaml/dist/nodes/Collection.js +151 -0
  1554. package/dist/agents/skills/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
  1555. package/dist/agents/skills/node_modules/yaml/dist/nodes/Node.js +40 -0
  1556. package/dist/agents/skills/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
  1557. package/dist/agents/skills/node_modules/yaml/dist/nodes/Pair.js +39 -0
  1558. package/dist/agents/skills/node_modules/yaml/dist/nodes/Scalar.d.ts +43 -0
  1559. package/dist/agents/skills/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  1560. package/dist/agents/skills/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
  1561. package/dist/agents/skills/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  1562. package/dist/agents/skills/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
  1563. package/dist/agents/skills/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  1564. package/dist/agents/skills/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
  1565. package/dist/agents/skills/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  1566. package/dist/agents/skills/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
  1567. package/dist/agents/skills/node_modules/yaml/dist/nodes/identity.js +53 -0
  1568. package/dist/agents/skills/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
  1569. package/dist/agents/skills/node_modules/yaml/dist/nodes/toJS.js +39 -0
  1570. package/dist/agents/skills/node_modules/yaml/dist/options.d.ts +344 -0
  1571. package/dist/agents/skills/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
  1572. package/dist/agents/skills/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  1573. package/dist/agents/skills/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
  1574. package/dist/agents/skills/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  1575. package/dist/agents/skills/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
  1576. package/dist/agents/skills/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  1577. package/dist/agents/skills/node_modules/yaml/dist/parse/cst.d.ts +109 -0
  1578. package/dist/agents/skills/node_modules/yaml/dist/parse/cst.js +112 -0
  1579. package/dist/agents/skills/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
  1580. package/dist/agents/skills/node_modules/yaml/dist/parse/lexer.js +719 -0
  1581. package/dist/agents/skills/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
  1582. package/dist/agents/skills/node_modules/yaml/dist/parse/line-counter.js +41 -0
  1583. package/dist/agents/skills/node_modules/yaml/dist/parse/parser.d.ts +84 -0
  1584. package/dist/agents/skills/node_modules/yaml/dist/parse/parser.js +972 -0
  1585. package/dist/agents/skills/node_modules/yaml/dist/public-api.d.ts +44 -0
  1586. package/dist/agents/skills/node_modules/yaml/dist/public-api.js +107 -0
  1587. package/dist/agents/skills/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
  1588. package/dist/agents/skills/node_modules/yaml/dist/schema/Schema.js +39 -0
  1589. package/dist/agents/skills/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
  1590. package/dist/agents/skills/node_modules/yaml/dist/schema/common/map.js +19 -0
  1591. package/dist/agents/skills/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
  1592. package/dist/agents/skills/node_modules/yaml/dist/schema/common/null.js +17 -0
  1593. package/dist/agents/skills/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
  1594. package/dist/agents/skills/node_modules/yaml/dist/schema/common/seq.js +19 -0
  1595. package/dist/agents/skills/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
  1596. package/dist/agents/skills/node_modules/yaml/dist/schema/common/string.js +16 -0
  1597. package/dist/agents/skills/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
  1598. package/dist/agents/skills/node_modules/yaml/dist/schema/core/bool.js +21 -0
  1599. package/dist/agents/skills/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
  1600. package/dist/agents/skills/node_modules/yaml/dist/schema/core/float.js +47 -0
  1601. package/dist/agents/skills/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
  1602. package/dist/agents/skills/node_modules/yaml/dist/schema/core/int.js +42 -0
  1603. package/dist/agents/skills/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
  1604. package/dist/agents/skills/node_modules/yaml/dist/schema/core/schema.js +25 -0
  1605. package/dist/agents/skills/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
  1606. package/dist/agents/skills/node_modules/yaml/dist/schema/json/schema.js +64 -0
  1607. package/dist/agents/skills/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
  1608. package/dist/agents/skills/node_modules/yaml/dist/schema/tags.d.ts +48 -0
  1609. package/dist/agents/skills/node_modules/yaml/dist/schema/tags.js +99 -0
  1610. package/dist/agents/skills/node_modules/yaml/dist/schema/types.d.ts +92 -0
  1611. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
  1612. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  1613. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
  1614. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  1615. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
  1616. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  1617. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
  1618. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  1619. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
  1620. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
  1621. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
  1622. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  1623. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
  1624. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  1625. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
  1626. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  1627. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
  1628. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  1629. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
  1630. package/dist/agents/skills/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  1631. package/dist/agents/skills/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
  1632. package/dist/agents/skills/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  1633. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
  1634. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringify.js +131 -0
  1635. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
  1636. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
  1637. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
  1638. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  1639. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
  1640. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  1641. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
  1642. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
  1643. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
  1644. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  1645. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
  1646. package/dist/agents/skills/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  1647. package/dist/agents/skills/node_modules/yaml/dist/test-events.d.ts +4 -0
  1648. package/dist/agents/skills/node_modules/yaml/dist/test-events.js +134 -0
  1649. package/dist/agents/skills/node_modules/yaml/dist/util.d.ts +16 -0
  1650. package/dist/agents/skills/node_modules/yaml/dist/util.js +28 -0
  1651. package/dist/agents/skills/node_modules/yaml/dist/visit.d.ts +102 -0
  1652. package/dist/agents/skills/node_modules/yaml/dist/visit.js +236 -0
  1653. package/dist/agents/skills/node_modules/yaml/node_modules/.bin/yaml +17 -0
  1654. package/dist/agents/skills/node_modules/yaml/package.json +97 -0
  1655. package/dist/agents/skills/node_modules/yaml/util.js +2 -0
  1656. package/dist/agents/skills/node_modules/zod/LICENSE +21 -0
  1657. package/dist/agents/skills/node_modules/zod/README.md +208 -0
  1658. package/dist/agents/skills/node_modules/zod/index.cjs +33 -0
  1659. package/dist/agents/skills/node_modules/zod/index.d.cts +4 -0
  1660. package/dist/agents/skills/node_modules/zod/index.d.ts +4 -0
  1661. package/dist/agents/skills/node_modules/zod/index.js +4 -0
  1662. package/dist/agents/skills/node_modules/zod/package.json +118 -0
  1663. package/dist/agents/skills/node_modules/zod/src/index.ts +4 -0
  1664. package/dist/agents/skills/node_modules/zod/src/v3/ZodError.ts +330 -0
  1665. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  1666. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  1667. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  1668. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  1669. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  1670. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  1671. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  1672. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  1673. package/dist/agents/skills/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  1674. package/dist/agents/skills/node_modules/zod/src/v3/errors.ts +13 -0
  1675. package/dist/agents/skills/node_modules/zod/src/v3/external.ts +6 -0
  1676. package/dist/agents/skills/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  1677. package/dist/agents/skills/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  1678. package/dist/agents/skills/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  1679. package/dist/agents/skills/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  1680. package/dist/agents/skills/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  1681. package/dist/agents/skills/node_modules/zod/src/v3/helpers/util.ts +224 -0
  1682. package/dist/agents/skills/node_modules/zod/src/v3/index.ts +4 -0
  1683. package/dist/agents/skills/node_modules/zod/src/v3/locales/en.ts +124 -0
  1684. package/dist/agents/skills/node_modules/zod/src/v3/standard-schema.ts +113 -0
  1685. package/dist/agents/skills/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  1686. package/dist/agents/skills/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  1687. package/dist/agents/skills/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  1688. package/dist/agents/skills/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  1689. package/dist/agents/skills/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  1690. package/dist/agents/skills/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  1691. package/dist/agents/skills/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  1692. package/dist/agents/skills/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  1693. package/dist/agents/skills/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  1694. package/dist/agents/skills/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  1695. package/dist/agents/skills/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  1696. package/dist/agents/skills/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
  1697. package/dist/agents/skills/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  1698. package/dist/agents/skills/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  1699. package/dist/agents/skills/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  1700. package/dist/agents/skills/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  1701. package/dist/agents/skills/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  1702. package/dist/agents/skills/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  1703. package/dist/agents/skills/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  1704. package/dist/agents/skills/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  1705. package/dist/agents/skills/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  1706. package/dist/agents/skills/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  1707. package/dist/agents/skills/node_modules/zod/src/v3/tests/function.test.ts +257 -0
  1708. package/dist/agents/skills/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  1709. package/dist/agents/skills/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  1710. package/dist/agents/skills/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  1711. package/dist/agents/skills/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  1712. package/dist/agents/skills/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  1713. package/dist/agents/skills/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  1714. package/dist/agents/skills/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  1715. package/dist/agents/skills/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  1716. package/dist/agents/skills/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  1717. package/dist/agents/skills/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
  1718. package/dist/agents/skills/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  1719. package/dist/agents/skills/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  1720. package/dist/agents/skills/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  1721. package/dist/agents/skills/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  1722. package/dist/agents/skills/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  1723. package/dist/agents/skills/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  1724. package/dist/agents/skills/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  1725. package/dist/agents/skills/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  1726. package/dist/agents/skills/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  1727. package/dist/agents/skills/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  1728. package/dist/agents/skills/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  1729. package/dist/agents/skills/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  1730. package/dist/agents/skills/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  1731. package/dist/agents/skills/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  1732. package/dist/agents/skills/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  1733. package/dist/agents/skills/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  1734. package/dist/agents/skills/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  1735. package/dist/agents/skills/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  1736. package/dist/agents/skills/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  1737. package/dist/agents/skills/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  1738. package/dist/agents/skills/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  1739. package/dist/agents/skills/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  1740. package/dist/agents/skills/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  1741. package/dist/agents/skills/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  1742. package/dist/agents/skills/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  1743. package/dist/agents/skills/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  1744. package/dist/agents/skills/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  1745. package/dist/agents/skills/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  1746. package/dist/agents/skills/node_modules/zod/src/v3/types.ts +5136 -0
  1747. package/dist/agents/skills/node_modules/zod/src/v4/classic/checks.ts +30 -0
  1748. package/dist/agents/skills/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  1749. package/dist/agents/skills/node_modules/zod/src/v4/classic/compat.ts +66 -0
  1750. package/dist/agents/skills/node_modules/zod/src/v4/classic/errors.ts +75 -0
  1751. package/dist/agents/skills/node_modules/zod/src/v4/classic/external.ts +50 -0
  1752. package/dist/agents/skills/node_modules/zod/src/v4/classic/index.ts +5 -0
  1753. package/dist/agents/skills/node_modules/zod/src/v4/classic/iso.ts +90 -0
  1754. package/dist/agents/skills/node_modules/zod/src/v4/classic/parse.ts +33 -0
  1755. package/dist/agents/skills/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
  1756. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  1757. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  1758. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  1759. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  1760. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  1761. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  1762. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  1763. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
  1764. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
  1765. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  1766. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  1767. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
  1768. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  1769. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
  1770. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
  1771. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
  1772. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  1773. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
  1774. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  1775. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
  1776. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  1777. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
  1778. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
  1779. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
  1780. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  1781. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
  1782. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
  1783. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
  1784. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
  1785. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  1786. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
  1787. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
  1788. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  1789. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  1790. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
  1791. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  1792. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
  1793. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
  1794. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
  1795. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
  1796. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
  1797. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
  1798. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
  1799. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
  1800. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  1801. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  1802. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  1803. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  1804. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
  1805. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
  1806. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
  1807. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
  1808. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
  1809. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
  1810. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
  1811. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
  1812. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
  1813. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
  1814. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
  1815. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
  1816. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
  1817. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
  1818. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  1819. package/dist/agents/skills/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  1820. package/dist/agents/skills/node_modules/zod/src/v4/core/api.ts +1594 -0
  1821. package/dist/agents/skills/node_modules/zod/src/v4/core/checks.ts +1283 -0
  1822. package/dist/agents/skills/node_modules/zod/src/v4/core/config.ts +15 -0
  1823. package/dist/agents/skills/node_modules/zod/src/v4/core/core.ts +134 -0
  1824. package/dist/agents/skills/node_modules/zod/src/v4/core/doc.ts +44 -0
  1825. package/dist/agents/skills/node_modules/zod/src/v4/core/errors.ts +424 -0
  1826. package/dist/agents/skills/node_modules/zod/src/v4/core/function.ts +176 -0
  1827. package/dist/agents/skills/node_modules/zod/src/v4/core/index.ts +15 -0
  1828. package/dist/agents/skills/node_modules/zod/src/v4/core/json-schema.ts +143 -0
  1829. package/dist/agents/skills/node_modules/zod/src/v4/core/parse.ts +94 -0
  1830. package/dist/agents/skills/node_modules/zod/src/v4/core/regexes.ts +135 -0
  1831. package/dist/agents/skills/node_modules/zod/src/v4/core/registries.ts +96 -0
  1832. package/dist/agents/skills/node_modules/zod/src/v4/core/schemas.ts +3842 -0
  1833. package/dist/agents/skills/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
  1834. package/dist/agents/skills/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  1835. package/dist/agents/skills/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  1836. package/dist/agents/skills/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  1837. package/dist/agents/skills/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  1838. package/dist/agents/skills/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  1839. package/dist/agents/skills/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
  1840. package/dist/agents/skills/node_modules/zod/src/v4/core/util.ts +775 -0
  1841. package/dist/agents/skills/node_modules/zod/src/v4/core/versions.ts +5 -0
  1842. package/dist/agents/skills/node_modules/zod/src/v4/core/zsf.ts +323 -0
  1843. package/dist/agents/skills/node_modules/zod/src/v4/index.ts +4 -0
  1844. package/dist/agents/skills/node_modules/zod/src/v4/locales/ar.ts +125 -0
  1845. package/dist/agents/skills/node_modules/zod/src/v4/locales/az.ts +121 -0
  1846. package/dist/agents/skills/node_modules/zod/src/v4/locales/be.ts +184 -0
  1847. package/dist/agents/skills/node_modules/zod/src/v4/locales/ca.ts +127 -0
  1848. package/dist/agents/skills/node_modules/zod/src/v4/locales/cs.ts +142 -0
  1849. package/dist/agents/skills/node_modules/zod/src/v4/locales/de.ts +124 -0
  1850. package/dist/agents/skills/node_modules/zod/src/v4/locales/en.ts +127 -0
  1851. package/dist/agents/skills/node_modules/zod/src/v4/locales/eo.ts +125 -0
  1852. package/dist/agents/skills/node_modules/zod/src/v4/locales/es.ts +125 -0
  1853. package/dist/agents/skills/node_modules/zod/src/v4/locales/fa.ts +134 -0
  1854. package/dist/agents/skills/node_modules/zod/src/v4/locales/fi.ts +131 -0
  1855. package/dist/agents/skills/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
  1856. package/dist/agents/skills/node_modules/zod/src/v4/locales/fr.ts +124 -0
  1857. package/dist/agents/skills/node_modules/zod/src/v4/locales/he.ts +125 -0
  1858. package/dist/agents/skills/node_modules/zod/src/v4/locales/hu.ts +126 -0
  1859. package/dist/agents/skills/node_modules/zod/src/v4/locales/id.ts +125 -0
  1860. package/dist/agents/skills/node_modules/zod/src/v4/locales/index.ts +39 -0
  1861. package/dist/agents/skills/node_modules/zod/src/v4/locales/it.ts +125 -0
  1862. package/dist/agents/skills/node_modules/zod/src/v4/locales/ja.ts +122 -0
  1863. package/dist/agents/skills/node_modules/zod/src/v4/locales/kh.ts +126 -0
  1864. package/dist/agents/skills/node_modules/zod/src/v4/locales/ko.ts +131 -0
  1865. package/dist/agents/skills/node_modules/zod/src/v4/locales/mk.ts +127 -0
  1866. package/dist/agents/skills/node_modules/zod/src/v4/locales/ms.ts +124 -0
  1867. package/dist/agents/skills/node_modules/zod/src/v4/locales/nl.ts +126 -0
  1868. package/dist/agents/skills/node_modules/zod/src/v4/locales/no.ts +124 -0
  1869. package/dist/agents/skills/node_modules/zod/src/v4/locales/ota.ts +125 -0
  1870. package/dist/agents/skills/node_modules/zod/src/v4/locales/pl.ts +126 -0
  1871. package/dist/agents/skills/node_modules/zod/src/v4/locales/ps.ts +133 -0
  1872. package/dist/agents/skills/node_modules/zod/src/v4/locales/pt.ts +123 -0
  1873. package/dist/agents/skills/node_modules/zod/src/v4/locales/ru.ts +184 -0
  1874. package/dist/agents/skills/node_modules/zod/src/v4/locales/sl.ts +126 -0
  1875. package/dist/agents/skills/node_modules/zod/src/v4/locales/sv.ts +127 -0
  1876. package/dist/agents/skills/node_modules/zod/src/v4/locales/ta.ts +125 -0
  1877. package/dist/agents/skills/node_modules/zod/src/v4/locales/th.ts +126 -0
  1878. package/dist/agents/skills/node_modules/zod/src/v4/locales/tr.ts +121 -0
  1879. package/dist/agents/skills/node_modules/zod/src/v4/locales/ua.ts +126 -0
  1880. package/dist/agents/skills/node_modules/zod/src/v4/locales/ur.ts +126 -0
  1881. package/dist/agents/skills/node_modules/zod/src/v4/locales/vi.ts +125 -0
  1882. package/dist/agents/skills/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
  1883. package/dist/agents/skills/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
  1884. package/dist/agents/skills/node_modules/zod/src/v4/mini/checks.ts +32 -0
  1885. package/dist/agents/skills/node_modules/zod/src/v4/mini/coerce.ts +22 -0
  1886. package/dist/agents/skills/node_modules/zod/src/v4/mini/external.ts +40 -0
  1887. package/dist/agents/skills/node_modules/zod/src/v4/mini/index.ts +3 -0
  1888. package/dist/agents/skills/node_modules/zod/src/v4/mini/iso.ts +62 -0
  1889. package/dist/agents/skills/node_modules/zod/src/v4/mini/parse.ts +1 -0
  1890. package/dist/agents/skills/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
  1891. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  1892. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
  1893. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  1894. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  1895. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  1896. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
  1897. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
  1898. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  1899. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
  1900. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  1901. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  1902. package/dist/agents/skills/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
  1903. package/dist/agents/skills/node_modules/zod/src/v4-mini/index.ts +1 -0
  1904. package/dist/agents/skills/node_modules/zod/v3/ZodError.cjs +138 -0
  1905. package/dist/agents/skills/node_modules/zod/v3/ZodError.d.cts +164 -0
  1906. package/dist/agents/skills/node_modules/zod/v3/ZodError.d.ts +164 -0
  1907. package/dist/agents/skills/node_modules/zod/v3/ZodError.js +133 -0
  1908. package/dist/agents/skills/node_modules/zod/v3/errors.cjs +17 -0
  1909. package/dist/agents/skills/node_modules/zod/v3/errors.d.cts +5 -0
  1910. package/dist/agents/skills/node_modules/zod/v3/errors.d.ts +5 -0
  1911. package/dist/agents/skills/node_modules/zod/v3/errors.js +9 -0
  1912. package/dist/agents/skills/node_modules/zod/v3/external.cjs +22 -0
  1913. package/dist/agents/skills/node_modules/zod/v3/external.d.cts +6 -0
  1914. package/dist/agents/skills/node_modules/zod/v3/external.d.ts +6 -0
  1915. package/dist/agents/skills/node_modules/zod/v3/external.js +6 -0
  1916. package/dist/agents/skills/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  1917. package/dist/agents/skills/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  1918. package/dist/agents/skills/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  1919. package/dist/agents/skills/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  1920. package/dist/agents/skills/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  1921. package/dist/agents/skills/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  1922. package/dist/agents/skills/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  1923. package/dist/agents/skills/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  1924. package/dist/agents/skills/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  1925. package/dist/agents/skills/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  1926. package/dist/agents/skills/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  1927. package/dist/agents/skills/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  1928. package/dist/agents/skills/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  1929. package/dist/agents/skills/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  1930. package/dist/agents/skills/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  1931. package/dist/agents/skills/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  1932. package/dist/agents/skills/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  1933. package/dist/agents/skills/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  1934. package/dist/agents/skills/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  1935. package/dist/agents/skills/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  1936. package/dist/agents/skills/node_modules/zod/v3/helpers/util.cjs +137 -0
  1937. package/dist/agents/skills/node_modules/zod/v3/helpers/util.d.cts +85 -0
  1938. package/dist/agents/skills/node_modules/zod/v3/helpers/util.d.ts +85 -0
  1939. package/dist/agents/skills/node_modules/zod/v3/helpers/util.js +133 -0
  1940. package/dist/agents/skills/node_modules/zod/v3/index.cjs +33 -0
  1941. package/dist/agents/skills/node_modules/zod/v3/index.d.cts +4 -0
  1942. package/dist/agents/skills/node_modules/zod/v3/index.d.ts +4 -0
  1943. package/dist/agents/skills/node_modules/zod/v3/index.js +4 -0
  1944. package/dist/agents/skills/node_modules/zod/v3/locales/en.cjs +111 -0
  1945. package/dist/agents/skills/node_modules/zod/v3/locales/en.d.cts +3 -0
  1946. package/dist/agents/skills/node_modules/zod/v3/locales/en.d.ts +3 -0
  1947. package/dist/agents/skills/node_modules/zod/v3/locales/en.js +109 -0
  1948. package/dist/agents/skills/node_modules/zod/v3/standard-schema.cjs +2 -0
  1949. package/dist/agents/skills/node_modules/zod/v3/standard-schema.d.cts +102 -0
  1950. package/dist/agents/skills/node_modules/zod/v3/standard-schema.d.ts +102 -0
  1951. package/dist/agents/skills/node_modules/zod/v3/standard-schema.js +1 -0
  1952. package/dist/agents/skills/node_modules/zod/v3/types.cjs +3775 -0
  1953. package/dist/agents/skills/node_modules/zod/v3/types.d.cts +1031 -0
  1954. package/dist/agents/skills/node_modules/zod/v3/types.d.ts +1031 -0
  1955. package/dist/agents/skills/node_modules/zod/v3/types.js +3693 -0
  1956. package/dist/agents/skills/node_modules/zod/v4/classic/checks.cjs +32 -0
  1957. package/dist/agents/skills/node_modules/zod/v4/classic/checks.d.cts +1 -0
  1958. package/dist/agents/skills/node_modules/zod/v4/classic/checks.d.ts +1 -0
  1959. package/dist/agents/skills/node_modules/zod/v4/classic/checks.js +1 -0
  1960. package/dist/agents/skills/node_modules/zod/v4/classic/coerce.cjs +47 -0
  1961. package/dist/agents/skills/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  1962. package/dist/agents/skills/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  1963. package/dist/agents/skills/node_modules/zod/v4/classic/coerce.js +17 -0
  1964. package/dist/agents/skills/node_modules/zod/v4/classic/compat.cjs +57 -0
  1965. package/dist/agents/skills/node_modules/zod/v4/classic/compat.d.cts +46 -0
  1966. package/dist/agents/skills/node_modules/zod/v4/classic/compat.d.ts +46 -0
  1967. package/dist/agents/skills/node_modules/zod/v4/classic/compat.js +27 -0
  1968. package/dist/agents/skills/node_modules/zod/v4/classic/errors.cjs +67 -0
  1969. package/dist/agents/skills/node_modules/zod/v4/classic/errors.d.cts +30 -0
  1970. package/dist/agents/skills/node_modules/zod/v4/classic/errors.d.ts +30 -0
  1971. package/dist/agents/skills/node_modules/zod/v4/classic/errors.js +41 -0
  1972. package/dist/agents/skills/node_modules/zod/v4/classic/external.cjs +70 -0
  1973. package/dist/agents/skills/node_modules/zod/v4/classic/external.d.cts +13 -0
  1974. package/dist/agents/skills/node_modules/zod/v4/classic/external.d.ts +13 -0
  1975. package/dist/agents/skills/node_modules/zod/v4/classic/external.js +18 -0
  1976. package/dist/agents/skills/node_modules/zod/v4/classic/index.cjs +33 -0
  1977. package/dist/agents/skills/node_modules/zod/v4/classic/index.d.cts +4 -0
  1978. package/dist/agents/skills/node_modules/zod/v4/classic/index.d.ts +4 -0
  1979. package/dist/agents/skills/node_modules/zod/v4/classic/index.js +4 -0
  1980. package/dist/agents/skills/node_modules/zod/v4/classic/iso.cjs +60 -0
  1981. package/dist/agents/skills/node_modules/zod/v4/classic/iso.d.cts +22 -0
  1982. package/dist/agents/skills/node_modules/zod/v4/classic/iso.d.ts +22 -0
  1983. package/dist/agents/skills/node_modules/zod/v4/classic/iso.js +30 -0
  1984. package/dist/agents/skills/node_modules/zod/v4/classic/parse.cjs +32 -0
  1985. package/dist/agents/skills/node_modules/zod/v4/classic/parse.d.cts +23 -0
  1986. package/dist/agents/skills/node_modules/zod/v4/classic/parse.d.ts +23 -0
  1987. package/dist/agents/skills/node_modules/zod/v4/classic/parse.js +6 -0
  1988. package/dist/agents/skills/node_modules/zod/v4/classic/schemas.cjs +1109 -0
  1989. package/dist/agents/skills/node_modules/zod/v4/classic/schemas.d.cts +630 -0
  1990. package/dist/agents/skills/node_modules/zod/v4/classic/schemas.d.ts +630 -0
  1991. package/dist/agents/skills/node_modules/zod/v4/classic/schemas.js +1006 -0
  1992. package/dist/agents/skills/node_modules/zod/v4/core/api.cjs +1039 -0
  1993. package/dist/agents/skills/node_modules/zod/v4/core/api.d.cts +284 -0
  1994. package/dist/agents/skills/node_modules/zod/v4/core/api.d.ts +284 -0
  1995. package/dist/agents/skills/node_modules/zod/v4/core/api.js +906 -0
  1996. package/dist/agents/skills/node_modules/zod/v4/core/checks.cjs +591 -0
  1997. package/dist/agents/skills/node_modules/zod/v4/core/checks.d.cts +278 -0
  1998. package/dist/agents/skills/node_modules/zod/v4/core/checks.d.ts +278 -0
  1999. package/dist/agents/skills/node_modules/zod/v4/core/checks.js +565 -0
  2000. package/dist/agents/skills/node_modules/zod/v4/core/core.cjs +67 -0
  2001. package/dist/agents/skills/node_modules/zod/v4/core/core.d.cts +49 -0
  2002. package/dist/agents/skills/node_modules/zod/v4/core/core.d.ts +49 -0
  2003. package/dist/agents/skills/node_modules/zod/v4/core/core.js +61 -0
  2004. package/dist/agents/skills/node_modules/zod/v4/core/doc.cjs +39 -0
  2005. package/dist/agents/skills/node_modules/zod/v4/core/doc.d.cts +14 -0
  2006. package/dist/agents/skills/node_modules/zod/v4/core/doc.d.ts +14 -0
  2007. package/dist/agents/skills/node_modules/zod/v4/core/doc.js +35 -0
  2008. package/dist/agents/skills/node_modules/zod/v4/core/errors.cjs +226 -0
  2009. package/dist/agents/skills/node_modules/zod/v4/core/errors.d.cts +208 -0
  2010. package/dist/agents/skills/node_modules/zod/v4/core/errors.d.ts +208 -0
  2011. package/dist/agents/skills/node_modules/zod/v4/core/errors.js +195 -0
  2012. package/dist/agents/skills/node_modules/zod/v4/core/function.cjs +102 -0
  2013. package/dist/agents/skills/node_modules/zod/v4/core/function.d.cts +52 -0
  2014. package/dist/agents/skills/node_modules/zod/v4/core/function.d.ts +52 -0
  2015. package/dist/agents/skills/node_modules/zod/v4/core/function.js +75 -0
  2016. package/dist/agents/skills/node_modules/zod/v4/core/index.cjs +44 -0
  2017. package/dist/agents/skills/node_modules/zod/v4/core/index.d.cts +15 -0
  2018. package/dist/agents/skills/node_modules/zod/v4/core/index.d.ts +15 -0
  2019. package/dist/agents/skills/node_modules/zod/v4/core/index.js +15 -0
  2020. package/dist/agents/skills/node_modules/zod/v4/core/json-schema.cjs +2 -0
  2021. package/dist/agents/skills/node_modules/zod/v4/core/json-schema.d.cts +87 -0
  2022. package/dist/agents/skills/node_modules/zod/v4/core/json-schema.d.ts +87 -0
  2023. package/dist/agents/skills/node_modules/zod/v4/core/json-schema.js +1 -0
  2024. package/dist/agents/skills/node_modules/zod/v4/core/parse.cjs +87 -0
  2025. package/dist/agents/skills/node_modules/zod/v4/core/parse.d.cts +25 -0
  2026. package/dist/agents/skills/node_modules/zod/v4/core/parse.d.ts +25 -0
  2027. package/dist/agents/skills/node_modules/zod/v4/core/parse.js +57 -0
  2028. package/dist/agents/skills/node_modules/zod/v4/core/regexes.cjs +103 -0
  2029. package/dist/agents/skills/node_modules/zod/v4/core/regexes.d.cts +62 -0
  2030. package/dist/agents/skills/node_modules/zod/v4/core/regexes.d.ts +62 -0
  2031. package/dist/agents/skills/node_modules/zod/v4/core/regexes.js +95 -0
  2032. package/dist/agents/skills/node_modules/zod/v4/core/registries.cjs +56 -0
  2033. package/dist/agents/skills/node_modules/zod/v4/core/registries.d.cts +35 -0
  2034. package/dist/agents/skills/node_modules/zod/v4/core/registries.d.ts +35 -0
  2035. package/dist/agents/skills/node_modules/zod/v4/core/registries.js +51 -0
  2036. package/dist/agents/skills/node_modules/zod/v4/core/schemas.cjs +1748 -0
  2037. package/dist/agents/skills/node_modules/zod/v4/core/schemas.d.cts +1041 -0
  2038. package/dist/agents/skills/node_modules/zod/v4/core/schemas.d.ts +1041 -0
  2039. package/dist/agents/skills/node_modules/zod/v4/core/schemas.js +1717 -0
  2040. package/dist/agents/skills/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  2041. package/dist/agents/skills/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
  2042. package/dist/agents/skills/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
  2043. package/dist/agents/skills/node_modules/zod/v4/core/standard-schema.js +1 -0
  2044. package/dist/agents/skills/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
  2045. package/dist/agents/skills/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
  2046. package/dist/agents/skills/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
  2047. package/dist/agents/skills/node_modules/zod/v4/core/to-json-schema.js +849 -0
  2048. package/dist/agents/skills/node_modules/zod/v4/core/util.cjs +539 -0
  2049. package/dist/agents/skills/node_modules/zod/v4/core/util.d.cts +183 -0
  2050. package/dist/agents/skills/node_modules/zod/v4/core/util.d.ts +183 -0
  2051. package/dist/agents/skills/node_modules/zod/v4/core/util.js +493 -0
  2052. package/dist/agents/skills/node_modules/zod/v4/core/versions.cjs +8 -0
  2053. package/dist/agents/skills/node_modules/zod/v4/core/versions.d.cts +5 -0
  2054. package/dist/agents/skills/node_modules/zod/v4/core/versions.d.ts +5 -0
  2055. package/dist/agents/skills/node_modules/zod/v4/core/versions.js +5 -0
  2056. package/dist/agents/skills/node_modules/zod/v4/index.cjs +22 -0
  2057. package/dist/agents/skills/node_modules/zod/v4/index.d.cts +3 -0
  2058. package/dist/agents/skills/node_modules/zod/v4/index.d.ts +3 -0
  2059. package/dist/agents/skills/node_modules/zod/v4/index.js +3 -0
  2060. package/dist/agents/skills/node_modules/zod/v4/locales/ar.cjs +142 -0
  2061. package/dist/agents/skills/node_modules/zod/v4/locales/ar.d.cts +4 -0
  2062. package/dist/agents/skills/node_modules/zod/v4/locales/ar.d.ts +4 -0
  2063. package/dist/agents/skills/node_modules/zod/v4/locales/ar.js +116 -0
  2064. package/dist/agents/skills/node_modules/zod/v4/locales/az.cjs +141 -0
  2065. package/dist/agents/skills/node_modules/zod/v4/locales/az.d.cts +4 -0
  2066. package/dist/agents/skills/node_modules/zod/v4/locales/az.d.ts +4 -0
  2067. package/dist/agents/skills/node_modules/zod/v4/locales/az.js +115 -0
  2068. package/dist/agents/skills/node_modules/zod/v4/locales/be.cjs +190 -0
  2069. package/dist/agents/skills/node_modules/zod/v4/locales/be.d.cts +4 -0
  2070. package/dist/agents/skills/node_modules/zod/v4/locales/be.d.ts +4 -0
  2071. package/dist/agents/skills/node_modules/zod/v4/locales/be.js +164 -0
  2072. package/dist/agents/skills/node_modules/zod/v4/locales/ca.cjs +144 -0
  2073. package/dist/agents/skills/node_modules/zod/v4/locales/ca.d.cts +4 -0
  2074. package/dist/agents/skills/node_modules/zod/v4/locales/ca.d.ts +4 -0
  2075. package/dist/agents/skills/node_modules/zod/v4/locales/ca.js +118 -0
  2076. package/dist/agents/skills/node_modules/zod/v4/locales/cs.cjs +161 -0
  2077. package/dist/agents/skills/node_modules/zod/v4/locales/cs.d.cts +4 -0
  2078. package/dist/agents/skills/node_modules/zod/v4/locales/cs.d.ts +4 -0
  2079. package/dist/agents/skills/node_modules/zod/v4/locales/cs.js +135 -0
  2080. package/dist/agents/skills/node_modules/zod/v4/locales/de.cjs +142 -0
  2081. package/dist/agents/skills/node_modules/zod/v4/locales/de.d.cts +4 -0
  2082. package/dist/agents/skills/node_modules/zod/v4/locales/de.d.ts +4 -0
  2083. package/dist/agents/skills/node_modules/zod/v4/locales/de.js +116 -0
  2084. package/dist/agents/skills/node_modules/zod/v4/locales/en.cjs +145 -0
  2085. package/dist/agents/skills/node_modules/zod/v4/locales/en.d.cts +5 -0
  2086. package/dist/agents/skills/node_modules/zod/v4/locales/en.d.ts +5 -0
  2087. package/dist/agents/skills/node_modules/zod/v4/locales/en.js +117 -0
  2088. package/dist/agents/skills/node_modules/zod/v4/locales/eo.cjs +144 -0
  2089. package/dist/agents/skills/node_modules/zod/v4/locales/eo.d.cts +5 -0
  2090. package/dist/agents/skills/node_modules/zod/v4/locales/eo.d.ts +5 -0
  2091. package/dist/agents/skills/node_modules/zod/v4/locales/eo.js +116 -0
  2092. package/dist/agents/skills/node_modules/zod/v4/locales/es.cjs +143 -0
  2093. package/dist/agents/skills/node_modules/zod/v4/locales/es.d.cts +4 -0
  2094. package/dist/agents/skills/node_modules/zod/v4/locales/es.d.ts +4 -0
  2095. package/dist/agents/skills/node_modules/zod/v4/locales/es.js +117 -0
  2096. package/dist/agents/skills/node_modules/zod/v4/locales/fa.cjs +148 -0
  2097. package/dist/agents/skills/node_modules/zod/v4/locales/fa.d.cts +4 -0
  2098. package/dist/agents/skills/node_modules/zod/v4/locales/fa.d.ts +4 -0
  2099. package/dist/agents/skills/node_modules/zod/v4/locales/fa.js +122 -0
  2100. package/dist/agents/skills/node_modules/zod/v4/locales/fi.cjs +148 -0
  2101. package/dist/agents/skills/node_modules/zod/v4/locales/fi.d.cts +4 -0
  2102. package/dist/agents/skills/node_modules/zod/v4/locales/fi.d.ts +4 -0
  2103. package/dist/agents/skills/node_modules/zod/v4/locales/fi.js +122 -0
  2104. package/dist/agents/skills/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
  2105. package/dist/agents/skills/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
  2106. package/dist/agents/skills/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  2107. package/dist/agents/skills/node_modules/zod/v4/locales/fr-CA.js +117 -0
  2108. package/dist/agents/skills/node_modules/zod/v4/locales/fr.cjs +142 -0
  2109. package/dist/agents/skills/node_modules/zod/v4/locales/fr.d.cts +4 -0
  2110. package/dist/agents/skills/node_modules/zod/v4/locales/fr.d.ts +4 -0
  2111. package/dist/agents/skills/node_modules/zod/v4/locales/fr.js +116 -0
  2112. package/dist/agents/skills/node_modules/zod/v4/locales/he.cjs +143 -0
  2113. package/dist/agents/skills/node_modules/zod/v4/locales/he.d.cts +4 -0
  2114. package/dist/agents/skills/node_modules/zod/v4/locales/he.d.ts +4 -0
  2115. package/dist/agents/skills/node_modules/zod/v4/locales/he.js +117 -0
  2116. package/dist/agents/skills/node_modules/zod/v4/locales/hu.cjs +143 -0
  2117. package/dist/agents/skills/node_modules/zod/v4/locales/hu.d.cts +4 -0
  2118. package/dist/agents/skills/node_modules/zod/v4/locales/hu.d.ts +4 -0
  2119. package/dist/agents/skills/node_modules/zod/v4/locales/hu.js +117 -0
  2120. package/dist/agents/skills/node_modules/zod/v4/locales/id.cjs +142 -0
  2121. package/dist/agents/skills/node_modules/zod/v4/locales/id.d.cts +4 -0
  2122. package/dist/agents/skills/node_modules/zod/v4/locales/id.d.ts +4 -0
  2123. package/dist/agents/skills/node_modules/zod/v4/locales/id.js +116 -0
  2124. package/dist/agents/skills/node_modules/zod/v4/locales/index.cjs +84 -0
  2125. package/dist/agents/skills/node_modules/zod/v4/locales/index.d.cts +39 -0
  2126. package/dist/agents/skills/node_modules/zod/v4/locales/index.d.ts +39 -0
  2127. package/dist/agents/skills/node_modules/zod/v4/locales/index.js +39 -0
  2128. package/dist/agents/skills/node_modules/zod/v4/locales/it.cjs +143 -0
  2129. package/dist/agents/skills/node_modules/zod/v4/locales/it.d.cts +4 -0
  2130. package/dist/agents/skills/node_modules/zod/v4/locales/it.d.ts +4 -0
  2131. package/dist/agents/skills/node_modules/zod/v4/locales/it.js +117 -0
  2132. package/dist/agents/skills/node_modules/zod/v4/locales/ja.cjs +141 -0
  2133. package/dist/agents/skills/node_modules/zod/v4/locales/ja.d.cts +4 -0
  2134. package/dist/agents/skills/node_modules/zod/v4/locales/ja.d.ts +4 -0
  2135. package/dist/agents/skills/node_modules/zod/v4/locales/ja.js +115 -0
  2136. package/dist/agents/skills/node_modules/zod/v4/locales/kh.cjs +143 -0
  2137. package/dist/agents/skills/node_modules/zod/v4/locales/kh.d.cts +4 -0
  2138. package/dist/agents/skills/node_modules/zod/v4/locales/kh.d.ts +4 -0
  2139. package/dist/agents/skills/node_modules/zod/v4/locales/kh.js +117 -0
  2140. package/dist/agents/skills/node_modules/zod/v4/locales/ko.cjs +147 -0
  2141. package/dist/agents/skills/node_modules/zod/v4/locales/ko.d.cts +4 -0
  2142. package/dist/agents/skills/node_modules/zod/v4/locales/ko.d.ts +4 -0
  2143. package/dist/agents/skills/node_modules/zod/v4/locales/ko.js +121 -0
  2144. package/dist/agents/skills/node_modules/zod/v4/locales/mk.cjs +144 -0
  2145. package/dist/agents/skills/node_modules/zod/v4/locales/mk.d.cts +4 -0
  2146. package/dist/agents/skills/node_modules/zod/v4/locales/mk.d.ts +4 -0
  2147. package/dist/agents/skills/node_modules/zod/v4/locales/mk.js +118 -0
  2148. package/dist/agents/skills/node_modules/zod/v4/locales/ms.cjs +142 -0
  2149. package/dist/agents/skills/node_modules/zod/v4/locales/ms.d.cts +4 -0
  2150. package/dist/agents/skills/node_modules/zod/v4/locales/ms.d.ts +4 -0
  2151. package/dist/agents/skills/node_modules/zod/v4/locales/ms.js +116 -0
  2152. package/dist/agents/skills/node_modules/zod/v4/locales/nl.cjs +143 -0
  2153. package/dist/agents/skills/node_modules/zod/v4/locales/nl.d.cts +4 -0
  2154. package/dist/agents/skills/node_modules/zod/v4/locales/nl.d.ts +4 -0
  2155. package/dist/agents/skills/node_modules/zod/v4/locales/nl.js +117 -0
  2156. package/dist/agents/skills/node_modules/zod/v4/locales/no.cjs +142 -0
  2157. package/dist/agents/skills/node_modules/zod/v4/locales/no.d.cts +4 -0
  2158. package/dist/agents/skills/node_modules/zod/v4/locales/no.d.ts +4 -0
  2159. package/dist/agents/skills/node_modules/zod/v4/locales/no.js +116 -0
  2160. package/dist/agents/skills/node_modules/zod/v4/locales/ota.cjs +143 -0
  2161. package/dist/agents/skills/node_modules/zod/v4/locales/ota.d.cts +4 -0
  2162. package/dist/agents/skills/node_modules/zod/v4/locales/ota.d.ts +4 -0
  2163. package/dist/agents/skills/node_modules/zod/v4/locales/ota.js +117 -0
  2164. package/dist/agents/skills/node_modules/zod/v4/locales/pl.cjs +143 -0
  2165. package/dist/agents/skills/node_modules/zod/v4/locales/pl.d.cts +4 -0
  2166. package/dist/agents/skills/node_modules/zod/v4/locales/pl.d.ts +4 -0
  2167. package/dist/agents/skills/node_modules/zod/v4/locales/pl.js +117 -0
  2168. package/dist/agents/skills/node_modules/zod/v4/locales/ps.cjs +148 -0
  2169. package/dist/agents/skills/node_modules/zod/v4/locales/ps.d.cts +4 -0
  2170. package/dist/agents/skills/node_modules/zod/v4/locales/ps.d.ts +4 -0
  2171. package/dist/agents/skills/node_modules/zod/v4/locales/ps.js +122 -0
  2172. package/dist/agents/skills/node_modules/zod/v4/locales/pt.cjs +142 -0
  2173. package/dist/agents/skills/node_modules/zod/v4/locales/pt.d.cts +4 -0
  2174. package/dist/agents/skills/node_modules/zod/v4/locales/pt.d.ts +4 -0
  2175. package/dist/agents/skills/node_modules/zod/v4/locales/pt.js +116 -0
  2176. package/dist/agents/skills/node_modules/zod/v4/locales/ru.cjs +190 -0
  2177. package/dist/agents/skills/node_modules/zod/v4/locales/ru.d.cts +4 -0
  2178. package/dist/agents/skills/node_modules/zod/v4/locales/ru.d.ts +4 -0
  2179. package/dist/agents/skills/node_modules/zod/v4/locales/ru.js +164 -0
  2180. package/dist/agents/skills/node_modules/zod/v4/locales/sl.cjs +143 -0
  2181. package/dist/agents/skills/node_modules/zod/v4/locales/sl.d.cts +4 -0
  2182. package/dist/agents/skills/node_modules/zod/v4/locales/sl.d.ts +4 -0
  2183. package/dist/agents/skills/node_modules/zod/v4/locales/sl.js +117 -0
  2184. package/dist/agents/skills/node_modules/zod/v4/locales/sv.cjs +144 -0
  2185. package/dist/agents/skills/node_modules/zod/v4/locales/sv.d.cts +4 -0
  2186. package/dist/agents/skills/node_modules/zod/v4/locales/sv.d.ts +4 -0
  2187. package/dist/agents/skills/node_modules/zod/v4/locales/sv.js +118 -0
  2188. package/dist/agents/skills/node_modules/zod/v4/locales/ta.cjs +143 -0
  2189. package/dist/agents/skills/node_modules/zod/v4/locales/ta.d.cts +4 -0
  2190. package/dist/agents/skills/node_modules/zod/v4/locales/ta.d.ts +4 -0
  2191. package/dist/agents/skills/node_modules/zod/v4/locales/ta.js +117 -0
  2192. package/dist/agents/skills/node_modules/zod/v4/locales/th.cjs +143 -0
  2193. package/dist/agents/skills/node_modules/zod/v4/locales/th.d.cts +4 -0
  2194. package/dist/agents/skills/node_modules/zod/v4/locales/th.d.ts +4 -0
  2195. package/dist/agents/skills/node_modules/zod/v4/locales/th.js +117 -0
  2196. package/dist/agents/skills/node_modules/zod/v4/locales/tr.cjs +143 -0
  2197. package/dist/agents/skills/node_modules/zod/v4/locales/tr.d.cts +5 -0
  2198. package/dist/agents/skills/node_modules/zod/v4/locales/tr.d.ts +5 -0
  2199. package/dist/agents/skills/node_modules/zod/v4/locales/tr.js +115 -0
  2200. package/dist/agents/skills/node_modules/zod/v4/locales/ua.cjs +143 -0
  2201. package/dist/agents/skills/node_modules/zod/v4/locales/ua.d.cts +4 -0
  2202. package/dist/agents/skills/node_modules/zod/v4/locales/ua.d.ts +4 -0
  2203. package/dist/agents/skills/node_modules/zod/v4/locales/ua.js +117 -0
  2204. package/dist/agents/skills/node_modules/zod/v4/locales/ur.cjs +143 -0
  2205. package/dist/agents/skills/node_modules/zod/v4/locales/ur.d.cts +4 -0
  2206. package/dist/agents/skills/node_modules/zod/v4/locales/ur.d.ts +4 -0
  2207. package/dist/agents/skills/node_modules/zod/v4/locales/ur.js +117 -0
  2208. package/dist/agents/skills/node_modules/zod/v4/locales/vi.cjs +142 -0
  2209. package/dist/agents/skills/node_modules/zod/v4/locales/vi.d.cts +4 -0
  2210. package/dist/agents/skills/node_modules/zod/v4/locales/vi.d.ts +4 -0
  2211. package/dist/agents/skills/node_modules/zod/v4/locales/vi.js +116 -0
  2212. package/dist/agents/skills/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
  2213. package/dist/agents/skills/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
  2214. package/dist/agents/skills/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  2215. package/dist/agents/skills/node_modules/zod/v4/locales/zh-CN.js +116 -0
  2216. package/dist/agents/skills/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
  2217. package/dist/agents/skills/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
  2218. package/dist/agents/skills/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  2219. package/dist/agents/skills/node_modules/zod/v4/locales/zh-TW.js +117 -0
  2220. package/dist/agents/skills/node_modules/zod/v4/mini/checks.cjs +34 -0
  2221. package/dist/agents/skills/node_modules/zod/v4/mini/checks.d.cts +1 -0
  2222. package/dist/agents/skills/node_modules/zod/v4/mini/checks.d.ts +1 -0
  2223. package/dist/agents/skills/node_modules/zod/v4/mini/checks.js +1 -0
  2224. package/dist/agents/skills/node_modules/zod/v4/mini/coerce.cjs +47 -0
  2225. package/dist/agents/skills/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  2226. package/dist/agents/skills/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  2227. package/dist/agents/skills/node_modules/zod/v4/mini/coerce.js +17 -0
  2228. package/dist/agents/skills/node_modules/zod/v4/mini/external.cjs +62 -0
  2229. package/dist/agents/skills/node_modules/zod/v4/mini/external.d.cts +11 -0
  2230. package/dist/agents/skills/node_modules/zod/v4/mini/external.d.ts +11 -0
  2231. package/dist/agents/skills/node_modules/zod/v4/mini/external.js +13 -0
  2232. package/dist/agents/skills/node_modules/zod/v4/mini/index.cjs +32 -0
  2233. package/dist/agents/skills/node_modules/zod/v4/mini/index.d.cts +3 -0
  2234. package/dist/agents/skills/node_modules/zod/v4/mini/index.d.ts +3 -0
  2235. package/dist/agents/skills/node_modules/zod/v4/mini/index.js +3 -0
  2236. package/dist/agents/skills/node_modules/zod/v4/mini/iso.cjs +60 -0
  2237. package/dist/agents/skills/node_modules/zod/v4/mini/iso.d.cts +22 -0
  2238. package/dist/agents/skills/node_modules/zod/v4/mini/iso.d.ts +22 -0
  2239. package/dist/agents/skills/node_modules/zod/v4/mini/iso.js +30 -0
  2240. package/dist/agents/skills/node_modules/zod/v4/mini/parse.cjs +8 -0
  2241. package/dist/agents/skills/node_modules/zod/v4/mini/parse.d.cts +1 -0
  2242. package/dist/agents/skills/node_modules/zod/v4/mini/parse.d.ts +1 -0
  2243. package/dist/agents/skills/node_modules/zod/v4/mini/parse.js +1 -0
  2244. package/dist/agents/skills/node_modules/zod/v4/mini/schemas.cjs +839 -0
  2245. package/dist/agents/skills/node_modules/zod/v4/mini/schemas.d.cts +356 -0
  2246. package/dist/agents/skills/node_modules/zod/v4/mini/schemas.d.ts +356 -0
  2247. package/dist/agents/skills/node_modules/zod/v4/mini/schemas.js +732 -0
  2248. package/dist/agents/skills/node_modules/zod/v4-mini/index.cjs +17 -0
  2249. package/dist/agents/skills/node_modules/zod/v4-mini/index.d.cts +1 -0
  2250. package/dist/agents/skills/node_modules/zod/v4-mini/index.d.ts +1 -0
  2251. package/dist/agents/skills/node_modules/zod/v4-mini/index.js +1 -0
  2252. package/dist/agents/skills/package.json +17 -0
  2253. package/dist/agents/skills/tests/references.test.ts +85 -0
  2254. package/dist/agents/skills/tests/schema.test.ts +95 -0
  2255. package/dist/agents/skills/tests/schema.ts +66 -0
  2256. package/dist/agents/skills/tests/structure.test.ts +82 -0
  2257. package/dist/agents/skills/tsconfig.json +12 -0
  2258. package/dist/agents/skills/vitest.config.mts +9 -0
  2259. package/dist/bin/harness.js +1 -1
  2260. package/dist/chunk-JR7ZYYNL.js +2744 -0
  2261. package/dist/chunk-ZW7OXJCM.js +2639 -0
  2262. package/dist/index.js +1 -1
  2263. package/package.json +4 -4
@@ -0,0 +1,3292 @@
1
+ import fs, { statSync, realpathSync, existsSync, promises, readdirSync, writeFileSync } from 'node:fs';
2
+ import path, { win32, dirname, join } from 'node:path';
3
+ import { slash, shuffle, toArray } from '@vitest/utils/helpers';
4
+ import { isAbsolute, resolve, relative, normalize } from 'pathe';
5
+ import pm from 'picomatch';
6
+ import { glob } from 'tinyglobby';
7
+ import c from 'tinyrainbow';
8
+ import { c as configDefaults, e as benchmarkConfigDefaults, a as coverageConfigDefaults } from './defaults.BOqNVLsY.js';
9
+ import crypto from 'node:crypto';
10
+ import { fileURLToPath as fileURLToPath$1, pathToFileURL as pathToFileURL$1, URL as URL$1 } from 'node:url';
11
+ import { builtinModules, createRequire } from 'node:module';
12
+ import process$1 from 'node:process';
13
+ import fs$1 from 'node:fs/promises';
14
+ import assert from 'node:assert';
15
+ import v8 from 'node:v8';
16
+ import { format, inspect } from 'node:util';
17
+ import { mergeConfig } from 'vite';
18
+ import { c as configFiles, d as defaultBrowserPort, b as defaultInspectPort, a as defaultPort } from './constants.D_Q9UYh-.js';
19
+ import './env.D4Lgay0q.js';
20
+ import nodeos__default from 'node:os';
21
+ import { isCI, provider } from 'std-env';
22
+ import { r as resolveCoverageProviderModule } from './coverage.D_JHT54q.js';
23
+
24
+ const hash = crypto.hash ?? ((algorithm, data, outputEncoding) => crypto.createHash(algorithm).update(data).digest(outputEncoding));
25
+
26
+ const JOIN_LEADING_SLASH_RE = /^\.?\//;
27
+ function withTrailingSlash(input = "", respectQueryAndFragment) {
28
+ {
29
+ return input.endsWith("/") ? input : input + "/";
30
+ }
31
+ }
32
+ function isNonEmptyURL(url) {
33
+ return url && url !== "/";
34
+ }
35
+ function joinURL(base, ...input) {
36
+ let url = base || "";
37
+ for (const segment of input.filter((url2) => isNonEmptyURL(url2))) {
38
+ if (url) {
39
+ const _segment = segment.replace(JOIN_LEADING_SLASH_RE, "");
40
+ url = withTrailingSlash(url) + _segment;
41
+ } else {
42
+ url = segment;
43
+ }
44
+ }
45
+ return url;
46
+ }
47
+
48
+ const BUILTIN_MODULES = new Set(builtinModules);
49
+ function normalizeSlash(path) {
50
+ return path.replace(/\\/g, "/");
51
+ }
52
+
53
+ /**
54
+ * @typedef ErrnoExceptionFields
55
+ * @property {number | undefined} [errnode]
56
+ * @property {string | undefined} [code]
57
+ * @property {string | undefined} [path]
58
+ * @property {string | undefined} [syscall]
59
+ * @property {string | undefined} [url]
60
+ *
61
+ * @typedef {Error & ErrnoExceptionFields} ErrnoException
62
+ */
63
+
64
+
65
+ const own$1 = {}.hasOwnProperty;
66
+
67
+ const classRegExp = /^([A-Z][a-z\d]*)+$/;
68
+ // Sorted by a rough estimate on most frequently used entries.
69
+ const kTypes = new Set([
70
+ 'string',
71
+ 'function',
72
+ 'number',
73
+ 'object',
74
+ // Accept 'Function' and 'Object' as alternative to the lower cased version.
75
+ 'Function',
76
+ 'Object',
77
+ 'boolean',
78
+ 'bigint',
79
+ 'symbol'
80
+ ]);
81
+
82
+ const codes = {};
83
+
84
+ /**
85
+ * Create a list string in the form like 'A and B' or 'A, B, ..., and Z'.
86
+ * We cannot use Intl.ListFormat because it's not available in
87
+ * --without-intl builds.
88
+ *
89
+ * @param {Array<string>} array
90
+ * An array of strings.
91
+ * @param {string} [type]
92
+ * The list type to be inserted before the last element.
93
+ * @returns {string}
94
+ */
95
+ function formatList(array, type = 'and') {
96
+ return array.length < 3
97
+ ? array.join(` ${type} `)
98
+ : `${array.slice(0, -1).join(', ')}, ${type} ${array[array.length - 1]}`
99
+ }
100
+
101
+ /** @type {Map<string, MessageFunction | string>} */
102
+ const messages = new Map();
103
+ const nodeInternalPrefix = '__node_internal_';
104
+ /** @type {number} */
105
+ let userStackTraceLimit;
106
+
107
+ codes.ERR_INVALID_ARG_TYPE = createError(
108
+ 'ERR_INVALID_ARG_TYPE',
109
+ /**
110
+ * @param {string} name
111
+ * @param {Array<string> | string} expected
112
+ * @param {unknown} actual
113
+ */
114
+ (name, expected, actual) => {
115
+ assert(typeof name === 'string', "'name' must be a string");
116
+ if (!Array.isArray(expected)) {
117
+ expected = [expected];
118
+ }
119
+
120
+ let message = 'The ';
121
+ if (name.endsWith(' argument')) {
122
+ // For cases like 'first argument'
123
+ message += `${name} `;
124
+ } else {
125
+ const type = name.includes('.') ? 'property' : 'argument';
126
+ message += `"${name}" ${type} `;
127
+ }
128
+
129
+ message += 'must be ';
130
+
131
+ /** @type {Array<string>} */
132
+ const types = [];
133
+ /** @type {Array<string>} */
134
+ const instances = [];
135
+ /** @type {Array<string>} */
136
+ const other = [];
137
+
138
+ for (const value of expected) {
139
+ assert(
140
+ typeof value === 'string',
141
+ 'All expected entries have to be of type string'
142
+ );
143
+
144
+ if (kTypes.has(value)) {
145
+ types.push(value.toLowerCase());
146
+ } else if (classRegExp.exec(value) === null) {
147
+ assert(
148
+ value !== 'object',
149
+ 'The value "object" should be written as "Object"'
150
+ );
151
+ other.push(value);
152
+ } else {
153
+ instances.push(value);
154
+ }
155
+ }
156
+
157
+ // Special handle `object` in case other instances are allowed to outline
158
+ // the differences between each other.
159
+ if (instances.length > 0) {
160
+ const pos = types.indexOf('object');
161
+ if (pos !== -1) {
162
+ types.slice(pos, 1);
163
+ instances.push('Object');
164
+ }
165
+ }
166
+
167
+ if (types.length > 0) {
168
+ message += `${types.length > 1 ? 'one of type' : 'of type'} ${formatList(
169
+ types,
170
+ 'or'
171
+ )}`;
172
+ if (instances.length > 0 || other.length > 0) message += ' or ';
173
+ }
174
+
175
+ if (instances.length > 0) {
176
+ message += `an instance of ${formatList(instances, 'or')}`;
177
+ if (other.length > 0) message += ' or ';
178
+ }
179
+
180
+ if (other.length > 0) {
181
+ if (other.length > 1) {
182
+ message += `one of ${formatList(other, 'or')}`;
183
+ } else {
184
+ if (other[0].toLowerCase() !== other[0]) message += 'an ';
185
+ message += `${other[0]}`;
186
+ }
187
+ }
188
+
189
+ message += `. Received ${determineSpecificType(actual)}`;
190
+
191
+ return message
192
+ },
193
+ TypeError
194
+ );
195
+
196
+ codes.ERR_INVALID_MODULE_SPECIFIER = createError(
197
+ 'ERR_INVALID_MODULE_SPECIFIER',
198
+ /**
199
+ * @param {string} request
200
+ * @param {string} reason
201
+ * @param {string} [base]
202
+ */
203
+ (request, reason, base = undefined) => {
204
+ return `Invalid module "${request}" ${reason}${
205
+ base ? ` imported from ${base}` : ''
206
+ }`
207
+ },
208
+ TypeError
209
+ );
210
+
211
+ codes.ERR_INVALID_PACKAGE_CONFIG = createError(
212
+ 'ERR_INVALID_PACKAGE_CONFIG',
213
+ /**
214
+ * @param {string} path
215
+ * @param {string} [base]
216
+ * @param {string} [message]
217
+ */
218
+ (path, base, message) => {
219
+ return `Invalid package config ${path}${
220
+ base ? ` while importing ${base}` : ''
221
+ }${message ? `. ${message}` : ''}`
222
+ },
223
+ Error
224
+ );
225
+
226
+ codes.ERR_INVALID_PACKAGE_TARGET = createError(
227
+ 'ERR_INVALID_PACKAGE_TARGET',
228
+ /**
229
+ * @param {string} packagePath
230
+ * @param {string} key
231
+ * @param {unknown} target
232
+ * @param {boolean} [isImport=false]
233
+ * @param {string} [base]
234
+ */
235
+ (packagePath, key, target, isImport = false, base = undefined) => {
236
+ const relatedError =
237
+ typeof target === 'string' &&
238
+ !isImport &&
239
+ target.length > 0 &&
240
+ !target.startsWith('./');
241
+ if (key === '.') {
242
+ assert(isImport === false);
243
+ return (
244
+ `Invalid "exports" main target ${JSON.stringify(target)} defined ` +
245
+ `in the package config ${packagePath}package.json${
246
+ base ? ` imported from ${base}` : ''
247
+ }${relatedError ? '; targets must start with "./"' : ''}`
248
+ )
249
+ }
250
+
251
+ return `Invalid "${
252
+ isImport ? 'imports' : 'exports'
253
+ }" target ${JSON.stringify(
254
+ target
255
+ )} defined for '${key}' in the package config ${packagePath}package.json${
256
+ base ? ` imported from ${base}` : ''
257
+ }${relatedError ? '; targets must start with "./"' : ''}`
258
+ },
259
+ Error
260
+ );
261
+
262
+ codes.ERR_MODULE_NOT_FOUND = createError(
263
+ 'ERR_MODULE_NOT_FOUND',
264
+ /**
265
+ * @param {string} path
266
+ * @param {string} base
267
+ * @param {boolean} [exactUrl]
268
+ */
269
+ (path, base, exactUrl = false) => {
270
+ return `Cannot find ${
271
+ exactUrl ? 'module' : 'package'
272
+ } '${path}' imported from ${base}`
273
+ },
274
+ Error
275
+ );
276
+
277
+ codes.ERR_NETWORK_IMPORT_DISALLOWED = createError(
278
+ 'ERR_NETWORK_IMPORT_DISALLOWED',
279
+ "import of '%s' by %s is not supported: %s",
280
+ Error
281
+ );
282
+
283
+ codes.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError(
284
+ 'ERR_PACKAGE_IMPORT_NOT_DEFINED',
285
+ /**
286
+ * @param {string} specifier
287
+ * @param {string} packagePath
288
+ * @param {string} base
289
+ */
290
+ (specifier, packagePath, base) => {
291
+ return `Package import specifier "${specifier}" is not defined${
292
+ packagePath ? ` in package ${packagePath}package.json` : ''
293
+ } imported from ${base}`
294
+ },
295
+ TypeError
296
+ );
297
+
298
+ codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError(
299
+ 'ERR_PACKAGE_PATH_NOT_EXPORTED',
300
+ /**
301
+ * @param {string} packagePath
302
+ * @param {string} subpath
303
+ * @param {string} [base]
304
+ */
305
+ (packagePath, subpath, base = undefined) => {
306
+ if (subpath === '.')
307
+ return `No "exports" main defined in ${packagePath}package.json${
308
+ base ? ` imported from ${base}` : ''
309
+ }`
310
+ return `Package subpath '${subpath}' is not defined by "exports" in ${packagePath}package.json${
311
+ base ? ` imported from ${base}` : ''
312
+ }`
313
+ },
314
+ Error
315
+ );
316
+
317
+ codes.ERR_UNSUPPORTED_DIR_IMPORT = createError(
318
+ 'ERR_UNSUPPORTED_DIR_IMPORT',
319
+ "Directory import '%s' is not supported " +
320
+ 'resolving ES modules imported from %s',
321
+ Error
322
+ );
323
+
324
+ codes.ERR_UNSUPPORTED_RESOLVE_REQUEST = createError(
325
+ 'ERR_UNSUPPORTED_RESOLVE_REQUEST',
326
+ 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',
327
+ TypeError
328
+ );
329
+
330
+ codes.ERR_UNKNOWN_FILE_EXTENSION = createError(
331
+ 'ERR_UNKNOWN_FILE_EXTENSION',
332
+ /**
333
+ * @param {string} extension
334
+ * @param {string} path
335
+ */
336
+ (extension, path) => {
337
+ return `Unknown file extension "${extension}" for ${path}`
338
+ },
339
+ TypeError
340
+ );
341
+
342
+ codes.ERR_INVALID_ARG_VALUE = createError(
343
+ 'ERR_INVALID_ARG_VALUE',
344
+ /**
345
+ * @param {string} name
346
+ * @param {unknown} value
347
+ * @param {string} [reason='is invalid']
348
+ */
349
+ (name, value, reason = 'is invalid') => {
350
+ let inspected = inspect(value);
351
+
352
+ if (inspected.length > 128) {
353
+ inspected = `${inspected.slice(0, 128)}...`;
354
+ }
355
+
356
+ const type = name.includes('.') ? 'property' : 'argument';
357
+
358
+ return `The ${type} '${name}' ${reason}. Received ${inspected}`
359
+ },
360
+ TypeError
361
+ // Note: extra classes have been shaken out.
362
+ // , RangeError
363
+ );
364
+
365
+ /**
366
+ * Utility function for registering the error codes. Only used here. Exported
367
+ * *only* to allow for testing.
368
+ * @param {string} sym
369
+ * @param {MessageFunction | string} value
370
+ * @param {ErrorConstructor} constructor
371
+ * @returns {new (...parameters: Array<any>) => Error}
372
+ */
373
+ function createError(sym, value, constructor) {
374
+ // Special case for SystemError that formats the error message differently
375
+ // The SystemErrors only have SystemError as their base classes.
376
+ messages.set(sym, value);
377
+
378
+ return makeNodeErrorWithCode(constructor, sym)
379
+ }
380
+
381
+ /**
382
+ * @param {ErrorConstructor} Base
383
+ * @param {string} key
384
+ * @returns {ErrorConstructor}
385
+ */
386
+ function makeNodeErrorWithCode(Base, key) {
387
+ // @ts-expect-error It’s a Node error.
388
+ return NodeError
389
+ /**
390
+ * @param {Array<unknown>} parameters
391
+ */
392
+ function NodeError(...parameters) {
393
+ const limit = Error.stackTraceLimit;
394
+ if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = 0;
395
+ const error = new Base();
396
+ // Reset the limit and setting the name property.
397
+ if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = limit;
398
+ const message = getMessage(key, parameters, error);
399
+ Object.defineProperties(error, {
400
+ // Note: no need to implement `kIsNodeError` symbol, would be hard,
401
+ // probably.
402
+ message: {
403
+ value: message,
404
+ enumerable: false,
405
+ writable: true,
406
+ configurable: true
407
+ },
408
+ toString: {
409
+ /** @this {Error} */
410
+ value() {
411
+ return `${this.name} [${key}]: ${this.message}`
412
+ },
413
+ enumerable: false,
414
+ writable: true,
415
+ configurable: true
416
+ }
417
+ });
418
+
419
+ captureLargerStackTrace(error);
420
+ // @ts-expect-error It’s a Node error.
421
+ error.code = key;
422
+ return error
423
+ }
424
+ }
425
+
426
+ /**
427
+ * @returns {boolean}
428
+ */
429
+ function isErrorStackTraceLimitWritable() {
430
+ // Do no touch Error.stackTraceLimit as V8 would attempt to install
431
+ // it again during deserialization.
432
+ try {
433
+ if (v8.startupSnapshot.isBuildingSnapshot()) {
434
+ return false
435
+ }
436
+ } catch {}
437
+
438
+ const desc = Object.getOwnPropertyDescriptor(Error, 'stackTraceLimit');
439
+ if (desc === undefined) {
440
+ return Object.isExtensible(Error)
441
+ }
442
+
443
+ return own$1.call(desc, 'writable') && desc.writable !== undefined
444
+ ? desc.writable
445
+ : desc.set !== undefined
446
+ }
447
+
448
+ /**
449
+ * This function removes unnecessary frames from Node.js core errors.
450
+ * @template {(...parameters: unknown[]) => unknown} T
451
+ * @param {T} wrappedFunction
452
+ * @returns {T}
453
+ */
454
+ function hideStackFrames(wrappedFunction) {
455
+ // We rename the functions that will be hidden to cut off the stacktrace
456
+ // at the outermost one
457
+ const hidden = nodeInternalPrefix + wrappedFunction.name;
458
+ Object.defineProperty(wrappedFunction, 'name', {value: hidden});
459
+ return wrappedFunction
460
+ }
461
+
462
+ const captureLargerStackTrace = hideStackFrames(
463
+ /**
464
+ * @param {Error} error
465
+ * @returns {Error}
466
+ */
467
+ // @ts-expect-error: fine
468
+ function (error) {
469
+ const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable();
470
+ if (stackTraceLimitIsWritable) {
471
+ userStackTraceLimit = Error.stackTraceLimit;
472
+ Error.stackTraceLimit = Number.POSITIVE_INFINITY;
473
+ }
474
+
475
+ Error.captureStackTrace(error);
476
+
477
+ // Reset the limit
478
+ if (stackTraceLimitIsWritable) Error.stackTraceLimit = userStackTraceLimit;
479
+
480
+ return error
481
+ }
482
+ );
483
+
484
+ /**
485
+ * @param {string} key
486
+ * @param {Array<unknown>} parameters
487
+ * @param {Error} self
488
+ * @returns {string}
489
+ */
490
+ function getMessage(key, parameters, self) {
491
+ const message = messages.get(key);
492
+ assert(message !== undefined, 'expected `message` to be found');
493
+
494
+ if (typeof message === 'function') {
495
+ assert(
496
+ message.length <= parameters.length, // Default options do not count.
497
+ `Code: ${key}; The provided arguments length (${parameters.length}) does not ` +
498
+ `match the required ones (${message.length}).`
499
+ );
500
+ return Reflect.apply(message, self, parameters)
501
+ }
502
+
503
+ const regex = /%[dfijoOs]/g;
504
+ let expectedLength = 0;
505
+ while (regex.exec(message) !== null) expectedLength++;
506
+ assert(
507
+ expectedLength === parameters.length,
508
+ `Code: ${key}; The provided arguments length (${parameters.length}) does not ` +
509
+ `match the required ones (${expectedLength}).`
510
+ );
511
+ if (parameters.length === 0) return message
512
+
513
+ parameters.unshift(message);
514
+ return Reflect.apply(format, null, parameters)
515
+ }
516
+
517
+ /**
518
+ * Determine the specific type of a value for type-mismatch errors.
519
+ * @param {unknown} value
520
+ * @returns {string}
521
+ */
522
+ function determineSpecificType(value) {
523
+ if (value === null || value === undefined) {
524
+ return String(value)
525
+ }
526
+
527
+ if (typeof value === 'function' && value.name) {
528
+ return `function ${value.name}`
529
+ }
530
+
531
+ if (typeof value === 'object') {
532
+ if (value.constructor && value.constructor.name) {
533
+ return `an instance of ${value.constructor.name}`
534
+ }
535
+
536
+ return `${inspect(value, {depth: -1})}`
537
+ }
538
+
539
+ let inspected = inspect(value, {colors: false});
540
+
541
+ if (inspected.length > 28) {
542
+ inspected = `${inspected.slice(0, 25)}...`;
543
+ }
544
+
545
+ return `type ${typeof value} (${inspected})`
546
+ }
547
+
548
+ // Manually “tree shaken” from:
549
+ // <https://github.com/nodejs/node/blob/7c3dce0/lib/internal/modules/package_json_reader.js>
550
+ // Last checked on: Apr 29, 2023.
551
+ // Removed the native dependency.
552
+ // Also: no need to cache, we do that in resolve already.
553
+
554
+
555
+ const hasOwnProperty$1 = {}.hasOwnProperty;
556
+
557
+ const {ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1} = codes;
558
+
559
+ /** @type {Map<string, PackageConfig>} */
560
+ const cache = new Map();
561
+
562
+ /**
563
+ * @param {string} jsonPath
564
+ * @param {{specifier: URL | string, base?: URL}} options
565
+ * @returns {PackageConfig}
566
+ */
567
+ function read(jsonPath, {base, specifier}) {
568
+ const existing = cache.get(jsonPath);
569
+
570
+ if (existing) {
571
+ return existing
572
+ }
573
+
574
+ /** @type {string | undefined} */
575
+ let string;
576
+
577
+ try {
578
+ string = fs.readFileSync(path.toNamespacedPath(jsonPath), 'utf8');
579
+ } catch (error) {
580
+ const exception = /** @type {ErrnoException} */ (error);
581
+
582
+ if (exception.code !== 'ENOENT') {
583
+ throw exception
584
+ }
585
+ }
586
+
587
+ /** @type {PackageConfig} */
588
+ const result = {
589
+ exists: false,
590
+ pjsonPath: jsonPath,
591
+ main: undefined,
592
+ name: undefined,
593
+ type: 'none', // Ignore unknown types for forwards compatibility
594
+ exports: undefined,
595
+ imports: undefined
596
+ };
597
+
598
+ if (string !== undefined) {
599
+ /** @type {Record<string, unknown>} */
600
+ let parsed;
601
+
602
+ try {
603
+ parsed = JSON.parse(string);
604
+ } catch (error_) {
605
+ const cause = /** @type {ErrnoException} */ (error_);
606
+ const error = new ERR_INVALID_PACKAGE_CONFIG$1(
607
+ jsonPath,
608
+ (base ? `"${specifier}" from ` : '') + fileURLToPath$1(base || specifier),
609
+ cause.message
610
+ );
611
+ error.cause = cause;
612
+ throw error
613
+ }
614
+
615
+ result.exists = true;
616
+
617
+ if (
618
+ hasOwnProperty$1.call(parsed, 'name') &&
619
+ typeof parsed.name === 'string'
620
+ ) {
621
+ result.name = parsed.name;
622
+ }
623
+
624
+ if (
625
+ hasOwnProperty$1.call(parsed, 'main') &&
626
+ typeof parsed.main === 'string'
627
+ ) {
628
+ result.main = parsed.main;
629
+ }
630
+
631
+ if (hasOwnProperty$1.call(parsed, 'exports')) {
632
+ // @ts-expect-error: assume valid.
633
+ result.exports = parsed.exports;
634
+ }
635
+
636
+ if (hasOwnProperty$1.call(parsed, 'imports')) {
637
+ // @ts-expect-error: assume valid.
638
+ result.imports = parsed.imports;
639
+ }
640
+
641
+ // Ignore unknown types for forwards compatibility
642
+ if (
643
+ hasOwnProperty$1.call(parsed, 'type') &&
644
+ (parsed.type === 'commonjs' || parsed.type === 'module')
645
+ ) {
646
+ result.type = parsed.type;
647
+ }
648
+ }
649
+
650
+ cache.set(jsonPath, result);
651
+
652
+ return result
653
+ }
654
+
655
+ /**
656
+ * @param {URL | string} resolved
657
+ * @returns {PackageConfig}
658
+ */
659
+ function getPackageScopeConfig(resolved) {
660
+ // Note: in Node, this is now a native module.
661
+ let packageJSONUrl = new URL('package.json', resolved);
662
+
663
+ while (true) {
664
+ const packageJSONPath = packageJSONUrl.pathname;
665
+ if (packageJSONPath.endsWith('node_modules/package.json')) {
666
+ break
667
+ }
668
+
669
+ const packageConfig = read(fileURLToPath$1(packageJSONUrl), {
670
+ specifier: resolved
671
+ });
672
+
673
+ if (packageConfig.exists) {
674
+ return packageConfig
675
+ }
676
+
677
+ const lastPackageJSONUrl = packageJSONUrl;
678
+ packageJSONUrl = new URL('../package.json', packageJSONUrl);
679
+
680
+ // Terminates at root where ../package.json equals ../../package.json
681
+ // (can't just check "/package.json" for Windows support).
682
+ if (packageJSONUrl.pathname === lastPackageJSONUrl.pathname) {
683
+ break
684
+ }
685
+ }
686
+
687
+ const packageJSONPath = fileURLToPath$1(packageJSONUrl);
688
+ // ^^ Note: in Node, this is now a native module.
689
+
690
+ return {
691
+ pjsonPath: packageJSONPath,
692
+ exists: false,
693
+ type: 'none'
694
+ }
695
+ }
696
+
697
+ /**
698
+ * Returns the package type for a given URL.
699
+ * @param {URL} url - The URL to get the package type for.
700
+ * @returns {PackageType}
701
+ */
702
+ function getPackageType(url) {
703
+ // To do @anonrig: Write a C++ function that returns only "type".
704
+ return getPackageScopeConfig(url).type
705
+ }
706
+
707
+ // Manually “tree shaken” from:
708
+ // <https://github.com/nodejs/node/blob/7c3dce0/lib/internal/modules/esm/get_format.js>
709
+ // Last checked on: Apr 29, 2023.
710
+
711
+
712
+ const {ERR_UNKNOWN_FILE_EXTENSION} = codes;
713
+
714
+ const hasOwnProperty = {}.hasOwnProperty;
715
+
716
+ /** @type {Record<string, string>} */
717
+ const extensionFormatMap = {
718
+ // @ts-expect-error: hush.
719
+ __proto__: null,
720
+ '.cjs': 'commonjs',
721
+ '.js': 'module',
722
+ '.json': 'json',
723
+ '.mjs': 'module'
724
+ };
725
+
726
+ /**
727
+ * @param {string | null} mime
728
+ * @returns {string | null}
729
+ */
730
+ function mimeToFormat(mime) {
731
+ if (
732
+ mime &&
733
+ /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime)
734
+ )
735
+ return 'module'
736
+ if (mime === 'application/json') return 'json'
737
+ return null
738
+ }
739
+
740
+ /**
741
+ * @callback ProtocolHandler
742
+ * @param {URL} parsed
743
+ * @param {{parentURL: string, source?: Buffer}} context
744
+ * @param {boolean} ignoreErrors
745
+ * @returns {string | null | void}
746
+ */
747
+
748
+ /**
749
+ * @type {Record<string, ProtocolHandler>}
750
+ */
751
+ const protocolHandlers = {
752
+ // @ts-expect-error: hush.
753
+ __proto__: null,
754
+ 'data:': getDataProtocolModuleFormat,
755
+ 'file:': getFileProtocolModuleFormat,
756
+ 'http:': getHttpProtocolModuleFormat,
757
+ 'https:': getHttpProtocolModuleFormat,
758
+ 'node:'() {
759
+ return 'builtin'
760
+ }
761
+ };
762
+
763
+ /**
764
+ * @param {URL} parsed
765
+ */
766
+ function getDataProtocolModuleFormat(parsed) {
767
+ const {1: mime} = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(
768
+ parsed.pathname
769
+ ) || [null, null, null];
770
+ return mimeToFormat(mime)
771
+ }
772
+
773
+ /**
774
+ * Returns the file extension from a URL.
775
+ *
776
+ * Should give similar result to
777
+ * `require('node:path').extname(require('node:url').fileURLToPath(url))`
778
+ * when used with a `file:` URL.
779
+ *
780
+ * @param {URL} url
781
+ * @returns {string}
782
+ */
783
+ function extname(url) {
784
+ const pathname = url.pathname;
785
+ let index = pathname.length;
786
+
787
+ while (index--) {
788
+ const code = pathname.codePointAt(index);
789
+
790
+ if (code === 47 /* `/` */) {
791
+ return ''
792
+ }
793
+
794
+ if (code === 46 /* `.` */) {
795
+ return pathname.codePointAt(index - 1) === 47 /* `/` */
796
+ ? ''
797
+ : pathname.slice(index)
798
+ }
799
+ }
800
+
801
+ return ''
802
+ }
803
+
804
+ /**
805
+ * @type {ProtocolHandler}
806
+ */
807
+ function getFileProtocolModuleFormat(url, _context, ignoreErrors) {
808
+ const value = extname(url);
809
+
810
+ if (value === '.js') {
811
+ const packageType = getPackageType(url);
812
+
813
+ if (packageType !== 'none') {
814
+ return packageType
815
+ }
816
+
817
+ return 'commonjs'
818
+ }
819
+
820
+ if (value === '') {
821
+ const packageType = getPackageType(url);
822
+
823
+ // Legacy behavior
824
+ if (packageType === 'none' || packageType === 'commonjs') {
825
+ return 'commonjs'
826
+ }
827
+
828
+ // Note: we don’t implement WASM, so we don’t need
829
+ // `getFormatOfExtensionlessFile` from `formats`.
830
+ return 'module'
831
+ }
832
+
833
+ const format = extensionFormatMap[value];
834
+ if (format) return format
835
+
836
+ // Explicit undefined return indicates load hook should rerun format check
837
+ if (ignoreErrors) {
838
+ return undefined
839
+ }
840
+
841
+ const filepath = fileURLToPath$1(url);
842
+ throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath)
843
+ }
844
+
845
+ function getHttpProtocolModuleFormat() {
846
+ // To do: HTTPS imports.
847
+ }
848
+
849
+ /**
850
+ * @param {URL} url
851
+ * @param {{parentURL: string}} context
852
+ * @returns {string | null}
853
+ */
854
+ function defaultGetFormatWithoutErrors(url, context) {
855
+ const protocol = url.protocol;
856
+
857
+ if (!hasOwnProperty.call(protocolHandlers, protocol)) {
858
+ return null
859
+ }
860
+
861
+ return protocolHandlers[protocol](url, context, true) || null
862
+ }
863
+
864
+ // Manually “tree shaken” from:
865
+ // <https://github.com/nodejs/node/blob/81a9a97/lib/internal/modules/esm/resolve.js>
866
+ // Last checked on: Apr 29, 2023.
867
+
868
+
869
+ const RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace];
870
+
871
+ const {
872
+ ERR_INVALID_MODULE_SPECIFIER,
873
+ ERR_INVALID_PACKAGE_CONFIG,
874
+ ERR_INVALID_PACKAGE_TARGET,
875
+ ERR_MODULE_NOT_FOUND,
876
+ ERR_PACKAGE_IMPORT_NOT_DEFINED,
877
+ ERR_PACKAGE_PATH_NOT_EXPORTED,
878
+ ERR_UNSUPPORTED_DIR_IMPORT,
879
+ ERR_UNSUPPORTED_RESOLVE_REQUEST
880
+ } = codes;
881
+
882
+ const own = {}.hasOwnProperty;
883
+
884
+ const invalidSegmentRegEx =
885
+ /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i;
886
+ const deprecatedInvalidSegmentRegEx =
887
+ /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i;
888
+ const invalidPackageNameRegEx = /^\.|%|\\/;
889
+ const patternRegEx = /\*/g;
890
+ const encodedSeparatorRegEx = /%2f|%5c/i;
891
+ /** @type {Set<string>} */
892
+ const emittedPackageWarnings = new Set();
893
+
894
+ const doubleSlashRegEx = /[/\\]{2}/;
895
+
896
+ /**
897
+ *
898
+ * @param {string} target
899
+ * @param {string} request
900
+ * @param {string} match
901
+ * @param {URL} packageJsonUrl
902
+ * @param {boolean} internal
903
+ * @param {URL} base
904
+ * @param {boolean} isTarget
905
+ */
906
+ function emitInvalidSegmentDeprecation(
907
+ target,
908
+ request,
909
+ match,
910
+ packageJsonUrl,
911
+ internal,
912
+ base,
913
+ isTarget
914
+ ) {
915
+ // @ts-expect-error: apparently it does exist, TS.
916
+ if (process$1.noDeprecation) {
917
+ return
918
+ }
919
+
920
+ const pjsonPath = fileURLToPath$1(packageJsonUrl);
921
+ const double = doubleSlashRegEx.exec(isTarget ? target : request) !== null;
922
+ process$1.emitWarning(
923
+ `Use of deprecated ${
924
+ double ? 'double slash' : 'leading or trailing slash matching'
925
+ } resolving "${target}" for module ` +
926
+ `request "${request}" ${
927
+ request === match ? '' : `matched to "${match}" `
928
+ }in the "${
929
+ internal ? 'imports' : 'exports'
930
+ }" field module resolution of the package at ${pjsonPath}${
931
+ base ? ` imported from ${fileURLToPath$1(base)}` : ''
932
+ }.`,
933
+ 'DeprecationWarning',
934
+ 'DEP0166'
935
+ );
936
+ }
937
+
938
+ /**
939
+ * @param {URL} url
940
+ * @param {URL} packageJsonUrl
941
+ * @param {URL} base
942
+ * @param {string} [main]
943
+ * @returns {void}
944
+ */
945
+ function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
946
+ // @ts-expect-error: apparently it does exist, TS.
947
+ if (process$1.noDeprecation) {
948
+ return
949
+ }
950
+
951
+ const format = defaultGetFormatWithoutErrors(url, {parentURL: base.href});
952
+ if (format !== 'module') return
953
+ const urlPath = fileURLToPath$1(url.href);
954
+ const packagePath = fileURLToPath$1(new URL$1('.', packageJsonUrl));
955
+ const basePath = fileURLToPath$1(base);
956
+ if (!main) {
957
+ process$1.emitWarning(
958
+ `No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(
959
+ packagePath.length
960
+ )}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`,
961
+ 'DeprecationWarning',
962
+ 'DEP0151'
963
+ );
964
+ } else if (path.resolve(packagePath, main) !== urlPath) {
965
+ process$1.emitWarning(
966
+ `Package ${packagePath} has a "main" field set to "${main}", ` +
967
+ `excluding the full filename and extension to the resolved file at "${urlPath.slice(
968
+ packagePath.length
969
+ )}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is ` +
970
+ 'deprecated for ES modules.',
971
+ 'DeprecationWarning',
972
+ 'DEP0151'
973
+ );
974
+ }
975
+ }
976
+
977
+ /**
978
+ * @param {string} path
979
+ * @returns {Stats | undefined}
980
+ */
981
+ function tryStatSync(path) {
982
+ // Note: from Node 15 onwards we can use `throwIfNoEntry: false` instead.
983
+ try {
984
+ return statSync(path)
985
+ } catch {
986
+ // Note: in Node code this returns `new Stats`,
987
+ // but in Node 22 that’s marked as a deprecated internal API.
988
+ // Which, well, we kinda are, but still to prevent that warning,
989
+ // just yield `undefined`.
990
+ }
991
+ }
992
+
993
+ /**
994
+ * Legacy CommonJS main resolution:
995
+ * 1. let M = pkg_url + (json main field)
996
+ * 2. TRY(M, M.js, M.json, M.node)
997
+ * 3. TRY(M/index.js, M/index.json, M/index.node)
998
+ * 4. TRY(pkg_url/index.js, pkg_url/index.json, pkg_url/index.node)
999
+ * 5. NOT_FOUND
1000
+ *
1001
+ * @param {URL} url
1002
+ * @returns {boolean}
1003
+ */
1004
+ function fileExists(url) {
1005
+ const stats = statSync(url, {throwIfNoEntry: false});
1006
+ const isFile = stats ? stats.isFile() : undefined;
1007
+ return isFile === null || isFile === undefined ? false : isFile
1008
+ }
1009
+
1010
+ /**
1011
+ * @param {URL} packageJsonUrl
1012
+ * @param {PackageConfig} packageConfig
1013
+ * @param {URL} base
1014
+ * @returns {URL}
1015
+ */
1016
+ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
1017
+ /** @type {URL | undefined} */
1018
+ let guess;
1019
+ if (packageConfig.main !== undefined) {
1020
+ guess = new URL$1(packageConfig.main, packageJsonUrl);
1021
+ // Note: fs check redundances will be handled by Descriptor cache here.
1022
+ if (fileExists(guess)) return guess
1023
+
1024
+ const tries = [
1025
+ `./${packageConfig.main}.js`,
1026
+ `./${packageConfig.main}.json`,
1027
+ `./${packageConfig.main}.node`,
1028
+ `./${packageConfig.main}/index.js`,
1029
+ `./${packageConfig.main}/index.json`,
1030
+ `./${packageConfig.main}/index.node`
1031
+ ];
1032
+ let i = -1;
1033
+
1034
+ while (++i < tries.length) {
1035
+ guess = new URL$1(tries[i], packageJsonUrl);
1036
+ if (fileExists(guess)) break
1037
+ guess = undefined;
1038
+ }
1039
+
1040
+ if (guess) {
1041
+ emitLegacyIndexDeprecation(
1042
+ guess,
1043
+ packageJsonUrl,
1044
+ base,
1045
+ packageConfig.main
1046
+ );
1047
+ return guess
1048
+ }
1049
+ // Fallthrough.
1050
+ }
1051
+
1052
+ const tries = ['./index.js', './index.json', './index.node'];
1053
+ let i = -1;
1054
+
1055
+ while (++i < tries.length) {
1056
+ guess = new URL$1(tries[i], packageJsonUrl);
1057
+ if (fileExists(guess)) break
1058
+ guess = undefined;
1059
+ }
1060
+
1061
+ if (guess) {
1062
+ emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);
1063
+ return guess
1064
+ }
1065
+
1066
+ // Not found.
1067
+ throw new ERR_MODULE_NOT_FOUND(
1068
+ fileURLToPath$1(new URL$1('.', packageJsonUrl)),
1069
+ fileURLToPath$1(base)
1070
+ )
1071
+ }
1072
+
1073
+ /**
1074
+ * @param {URL} resolved
1075
+ * @param {URL} base
1076
+ * @param {boolean} [preserveSymlinks]
1077
+ * @returns {URL}
1078
+ */
1079
+ function finalizeResolution(resolved, base, preserveSymlinks) {
1080
+ if (encodedSeparatorRegEx.exec(resolved.pathname) !== null) {
1081
+ throw new ERR_INVALID_MODULE_SPECIFIER(
1082
+ resolved.pathname,
1083
+ 'must not include encoded "/" or "\\" characters',
1084
+ fileURLToPath$1(base)
1085
+ )
1086
+ }
1087
+
1088
+ /** @type {string} */
1089
+ let filePath;
1090
+
1091
+ try {
1092
+ filePath = fileURLToPath$1(resolved);
1093
+ } catch (error) {
1094
+ const cause = /** @type {ErrnoException} */ (error);
1095
+ Object.defineProperty(cause, 'input', {value: String(resolved)});
1096
+ Object.defineProperty(cause, 'module', {value: String(base)});
1097
+ throw cause
1098
+ }
1099
+
1100
+ const stats = tryStatSync(
1101
+ filePath.endsWith('/') ? filePath.slice(-1) : filePath
1102
+ );
1103
+
1104
+ if (stats && stats.isDirectory()) {
1105
+ const error = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, fileURLToPath$1(base));
1106
+ // @ts-expect-error Add this for `import.meta.resolve`.
1107
+ error.url = String(resolved);
1108
+ throw error
1109
+ }
1110
+
1111
+ if (!stats || !stats.isFile()) {
1112
+ const error = new ERR_MODULE_NOT_FOUND(
1113
+ filePath || resolved.pathname,
1114
+ base && fileURLToPath$1(base),
1115
+ true
1116
+ );
1117
+ // @ts-expect-error Add this for `import.meta.resolve`.
1118
+ error.url = String(resolved);
1119
+ throw error
1120
+ }
1121
+
1122
+ {
1123
+ const real = realpathSync(filePath);
1124
+ const {search, hash} = resolved;
1125
+ resolved = pathToFileURL$1(real + (filePath.endsWith(path.sep) ? '/' : ''));
1126
+ resolved.search = search;
1127
+ resolved.hash = hash;
1128
+ }
1129
+
1130
+ return resolved
1131
+ }
1132
+
1133
+ /**
1134
+ * @param {string} specifier
1135
+ * @param {URL | undefined} packageJsonUrl
1136
+ * @param {URL} base
1137
+ * @returns {Error}
1138
+ */
1139
+ function importNotDefined(specifier, packageJsonUrl, base) {
1140
+ return new ERR_PACKAGE_IMPORT_NOT_DEFINED(
1141
+ specifier,
1142
+ packageJsonUrl && fileURLToPath$1(new URL$1('.', packageJsonUrl)),
1143
+ fileURLToPath$1(base)
1144
+ )
1145
+ }
1146
+
1147
+ /**
1148
+ * @param {string} subpath
1149
+ * @param {URL} packageJsonUrl
1150
+ * @param {URL} base
1151
+ * @returns {Error}
1152
+ */
1153
+ function exportsNotFound(subpath, packageJsonUrl, base) {
1154
+ return new ERR_PACKAGE_PATH_NOT_EXPORTED(
1155
+ fileURLToPath$1(new URL$1('.', packageJsonUrl)),
1156
+ subpath,
1157
+ base && fileURLToPath$1(base)
1158
+ )
1159
+ }
1160
+
1161
+ /**
1162
+ * @param {string} request
1163
+ * @param {string} match
1164
+ * @param {URL} packageJsonUrl
1165
+ * @param {boolean} internal
1166
+ * @param {URL} [base]
1167
+ * @returns {never}
1168
+ */
1169
+ function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {
1170
+ const reason = `request is not a valid match in pattern "${match}" for the "${
1171
+ internal ? 'imports' : 'exports'
1172
+ }" resolution of ${fileURLToPath$1(packageJsonUrl)}`;
1173
+ throw new ERR_INVALID_MODULE_SPECIFIER(
1174
+ request,
1175
+ reason,
1176
+ base && fileURLToPath$1(base)
1177
+ )
1178
+ }
1179
+
1180
+ /**
1181
+ * @param {string} subpath
1182
+ * @param {unknown} target
1183
+ * @param {URL} packageJsonUrl
1184
+ * @param {boolean} internal
1185
+ * @param {URL} [base]
1186
+ * @returns {Error}
1187
+ */
1188
+ function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
1189
+ target =
1190
+ typeof target === 'object' && target !== null
1191
+ ? JSON.stringify(target, null, '')
1192
+ : `${target}`;
1193
+
1194
+ return new ERR_INVALID_PACKAGE_TARGET(
1195
+ fileURLToPath$1(new URL$1('.', packageJsonUrl)),
1196
+ subpath,
1197
+ target,
1198
+ internal,
1199
+ base && fileURLToPath$1(base)
1200
+ )
1201
+ }
1202
+
1203
+ /**
1204
+ * @param {string} target
1205
+ * @param {string} subpath
1206
+ * @param {string} match
1207
+ * @param {URL} packageJsonUrl
1208
+ * @param {URL} base
1209
+ * @param {boolean} pattern
1210
+ * @param {boolean} internal
1211
+ * @param {boolean} isPathMap
1212
+ * @param {Set<string> | undefined} conditions
1213
+ * @returns {URL}
1214
+ */
1215
+ function resolvePackageTargetString(
1216
+ target,
1217
+ subpath,
1218
+ match,
1219
+ packageJsonUrl,
1220
+ base,
1221
+ pattern,
1222
+ internal,
1223
+ isPathMap,
1224
+ conditions
1225
+ ) {
1226
+ if (subpath !== '' && !pattern && target[target.length - 1] !== '/')
1227
+ throw invalidPackageTarget(match, target, packageJsonUrl, internal, base)
1228
+
1229
+ if (!target.startsWith('./')) {
1230
+ if (internal && !target.startsWith('../') && !target.startsWith('/')) {
1231
+ let isURL = false;
1232
+
1233
+ try {
1234
+ new URL$1(target);
1235
+ isURL = true;
1236
+ } catch {
1237
+ // Continue regardless of error.
1238
+ }
1239
+
1240
+ if (!isURL) {
1241
+ const exportTarget = pattern
1242
+ ? RegExpPrototypeSymbolReplace.call(
1243
+ patternRegEx,
1244
+ target,
1245
+ () => subpath
1246
+ )
1247
+ : target + subpath;
1248
+
1249
+ return packageResolve(exportTarget, packageJsonUrl, conditions)
1250
+ }
1251
+ }
1252
+
1253
+ throw invalidPackageTarget(match, target, packageJsonUrl, internal, base)
1254
+ }
1255
+
1256
+ if (invalidSegmentRegEx.exec(target.slice(2)) !== null) {
1257
+ if (deprecatedInvalidSegmentRegEx.exec(target.slice(2)) === null) {
1258
+ if (!isPathMap) {
1259
+ const request = pattern
1260
+ ? match.replace('*', () => subpath)
1261
+ : match + subpath;
1262
+ const resolvedTarget = pattern
1263
+ ? RegExpPrototypeSymbolReplace.call(
1264
+ patternRegEx,
1265
+ target,
1266
+ () => subpath
1267
+ )
1268
+ : target;
1269
+ emitInvalidSegmentDeprecation(
1270
+ resolvedTarget,
1271
+ request,
1272
+ match,
1273
+ packageJsonUrl,
1274
+ internal,
1275
+ base,
1276
+ true
1277
+ );
1278
+ }
1279
+ } else {
1280
+ throw invalidPackageTarget(match, target, packageJsonUrl, internal, base)
1281
+ }
1282
+ }
1283
+
1284
+ const resolved = new URL$1(target, packageJsonUrl);
1285
+ const resolvedPath = resolved.pathname;
1286
+ const packagePath = new URL$1('.', packageJsonUrl).pathname;
1287
+
1288
+ if (!resolvedPath.startsWith(packagePath))
1289
+ throw invalidPackageTarget(match, target, packageJsonUrl, internal, base)
1290
+
1291
+ if (subpath === '') return resolved
1292
+
1293
+ if (invalidSegmentRegEx.exec(subpath) !== null) {
1294
+ const request = pattern
1295
+ ? match.replace('*', () => subpath)
1296
+ : match + subpath;
1297
+ if (deprecatedInvalidSegmentRegEx.exec(subpath) === null) {
1298
+ if (!isPathMap) {
1299
+ const resolvedTarget = pattern
1300
+ ? RegExpPrototypeSymbolReplace.call(
1301
+ patternRegEx,
1302
+ target,
1303
+ () => subpath
1304
+ )
1305
+ : target;
1306
+ emitInvalidSegmentDeprecation(
1307
+ resolvedTarget,
1308
+ request,
1309
+ match,
1310
+ packageJsonUrl,
1311
+ internal,
1312
+ base,
1313
+ false
1314
+ );
1315
+ }
1316
+ } else {
1317
+ throwInvalidSubpath(request, match, packageJsonUrl, internal, base);
1318
+ }
1319
+ }
1320
+
1321
+ if (pattern) {
1322
+ return new URL$1(
1323
+ RegExpPrototypeSymbolReplace.call(
1324
+ patternRegEx,
1325
+ resolved.href,
1326
+ () => subpath
1327
+ )
1328
+ )
1329
+ }
1330
+
1331
+ return new URL$1(subpath, resolved)
1332
+ }
1333
+
1334
+ /**
1335
+ * @param {string} key
1336
+ * @returns {boolean}
1337
+ */
1338
+ function isArrayIndex(key) {
1339
+ const keyNumber = Number(key);
1340
+ if (`${keyNumber}` !== key) return false
1341
+ return keyNumber >= 0 && keyNumber < 0xff_ff_ff_ff
1342
+ }
1343
+
1344
+ /**
1345
+ * @param {URL} packageJsonUrl
1346
+ * @param {unknown} target
1347
+ * @param {string} subpath
1348
+ * @param {string} packageSubpath
1349
+ * @param {URL} base
1350
+ * @param {boolean} pattern
1351
+ * @param {boolean} internal
1352
+ * @param {boolean} isPathMap
1353
+ * @param {Set<string> | undefined} conditions
1354
+ * @returns {URL | null}
1355
+ */
1356
+ function resolvePackageTarget(
1357
+ packageJsonUrl,
1358
+ target,
1359
+ subpath,
1360
+ packageSubpath,
1361
+ base,
1362
+ pattern,
1363
+ internal,
1364
+ isPathMap,
1365
+ conditions
1366
+ ) {
1367
+ if (typeof target === 'string') {
1368
+ return resolvePackageTargetString(
1369
+ target,
1370
+ subpath,
1371
+ packageSubpath,
1372
+ packageJsonUrl,
1373
+ base,
1374
+ pattern,
1375
+ internal,
1376
+ isPathMap,
1377
+ conditions
1378
+ )
1379
+ }
1380
+
1381
+ if (Array.isArray(target)) {
1382
+ /** @type {Array<unknown>} */
1383
+ const targetList = target;
1384
+ if (targetList.length === 0) return null
1385
+
1386
+ /** @type {ErrnoException | null | undefined} */
1387
+ let lastException;
1388
+ let i = -1;
1389
+
1390
+ while (++i < targetList.length) {
1391
+ const targetItem = targetList[i];
1392
+ /** @type {URL | null} */
1393
+ let resolveResult;
1394
+ try {
1395
+ resolveResult = resolvePackageTarget(
1396
+ packageJsonUrl,
1397
+ targetItem,
1398
+ subpath,
1399
+ packageSubpath,
1400
+ base,
1401
+ pattern,
1402
+ internal,
1403
+ isPathMap,
1404
+ conditions
1405
+ );
1406
+ } catch (error) {
1407
+ const exception = /** @type {ErrnoException} */ (error);
1408
+ lastException = exception;
1409
+ if (exception.code === 'ERR_INVALID_PACKAGE_TARGET') continue
1410
+ throw error
1411
+ }
1412
+
1413
+ if (resolveResult === undefined) continue
1414
+
1415
+ if (resolveResult === null) {
1416
+ lastException = null;
1417
+ continue
1418
+ }
1419
+
1420
+ return resolveResult
1421
+ }
1422
+
1423
+ if (lastException === undefined || lastException === null) {
1424
+ return null
1425
+ }
1426
+
1427
+ throw lastException
1428
+ }
1429
+
1430
+ if (typeof target === 'object' && target !== null) {
1431
+ const keys = Object.getOwnPropertyNames(target);
1432
+ let i = -1;
1433
+
1434
+ while (++i < keys.length) {
1435
+ const key = keys[i];
1436
+ if (isArrayIndex(key)) {
1437
+ throw new ERR_INVALID_PACKAGE_CONFIG(
1438
+ fileURLToPath$1(packageJsonUrl),
1439
+ base,
1440
+ '"exports" cannot contain numeric property keys.'
1441
+ )
1442
+ }
1443
+ }
1444
+
1445
+ i = -1;
1446
+
1447
+ while (++i < keys.length) {
1448
+ const key = keys[i];
1449
+ if (key === 'default' || (conditions && conditions.has(key))) {
1450
+ // @ts-expect-error: indexable.
1451
+ const conditionalTarget = /** @type {unknown} */ (target[key]);
1452
+ const resolveResult = resolvePackageTarget(
1453
+ packageJsonUrl,
1454
+ conditionalTarget,
1455
+ subpath,
1456
+ packageSubpath,
1457
+ base,
1458
+ pattern,
1459
+ internal,
1460
+ isPathMap,
1461
+ conditions
1462
+ );
1463
+ if (resolveResult === undefined) continue
1464
+ return resolveResult
1465
+ }
1466
+ }
1467
+
1468
+ return null
1469
+ }
1470
+
1471
+ if (target === null) {
1472
+ return null
1473
+ }
1474
+
1475
+ throw invalidPackageTarget(
1476
+ packageSubpath,
1477
+ target,
1478
+ packageJsonUrl,
1479
+ internal,
1480
+ base
1481
+ )
1482
+ }
1483
+
1484
+ /**
1485
+ * @param {unknown} exports
1486
+ * @param {URL} packageJsonUrl
1487
+ * @param {URL} base
1488
+ * @returns {boolean}
1489
+ */
1490
+ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
1491
+ if (typeof exports$1 === 'string' || Array.isArray(exports$1)) return true
1492
+ if (typeof exports$1 !== 'object' || exports$1 === null) return false
1493
+
1494
+ const keys = Object.getOwnPropertyNames(exports$1);
1495
+ let isConditionalSugar = false;
1496
+ let i = 0;
1497
+ let keyIndex = -1;
1498
+ while (++keyIndex < keys.length) {
1499
+ const key = keys[keyIndex];
1500
+ const currentIsConditionalSugar = key === '' || key[0] !== '.';
1501
+ if (i++ === 0) {
1502
+ isConditionalSugar = currentIsConditionalSugar;
1503
+ } else if (isConditionalSugar !== currentIsConditionalSugar) {
1504
+ throw new ERR_INVALID_PACKAGE_CONFIG(
1505
+ fileURLToPath$1(packageJsonUrl),
1506
+ base,
1507
+ '"exports" cannot contain some keys starting with \'.\' and some not.' +
1508
+ ' The exports object must either be an object of package subpath keys' +
1509
+ ' or an object of main entry condition name keys only.'
1510
+ )
1511
+ }
1512
+ }
1513
+
1514
+ return isConditionalSugar
1515
+ }
1516
+
1517
+ /**
1518
+ * @param {string} match
1519
+ * @param {URL} pjsonUrl
1520
+ * @param {URL} base
1521
+ */
1522
+ function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
1523
+ // @ts-expect-error: apparently it does exist, TS.
1524
+ if (process$1.noDeprecation) {
1525
+ return
1526
+ }
1527
+
1528
+ const pjsonPath = fileURLToPath$1(pjsonUrl);
1529
+ if (emittedPackageWarnings.has(pjsonPath + '|' + match)) return
1530
+ emittedPackageWarnings.add(pjsonPath + '|' + match);
1531
+ process$1.emitWarning(
1532
+ `Use of deprecated trailing slash pattern mapping "${match}" in the ` +
1533
+ `"exports" field module resolution of the package at ${pjsonPath}${
1534
+ base ? ` imported from ${fileURLToPath$1(base)}` : ''
1535
+ }. Mapping specifiers ending in "/" is no longer supported.`,
1536
+ 'DeprecationWarning',
1537
+ 'DEP0155'
1538
+ );
1539
+ }
1540
+
1541
+ /**
1542
+ * @param {URL} packageJsonUrl
1543
+ * @param {string} packageSubpath
1544
+ * @param {Record<string, unknown>} packageConfig
1545
+ * @param {URL} base
1546
+ * @param {Set<string> | undefined} conditions
1547
+ * @returns {URL}
1548
+ */
1549
+ function packageExportsResolve(
1550
+ packageJsonUrl,
1551
+ packageSubpath,
1552
+ packageConfig,
1553
+ base,
1554
+ conditions
1555
+ ) {
1556
+ let exports$1 = packageConfig.exports;
1557
+
1558
+ if (isConditionalExportsMainSugar(exports$1, packageJsonUrl, base)) {
1559
+ exports$1 = {'.': exports$1};
1560
+ }
1561
+
1562
+ if (
1563
+ own.call(exports$1, packageSubpath) &&
1564
+ !packageSubpath.includes('*') &&
1565
+ !packageSubpath.endsWith('/')
1566
+ ) {
1567
+ // @ts-expect-error: indexable.
1568
+ const target = exports$1[packageSubpath];
1569
+ const resolveResult = resolvePackageTarget(
1570
+ packageJsonUrl,
1571
+ target,
1572
+ '',
1573
+ packageSubpath,
1574
+ base,
1575
+ false,
1576
+ false,
1577
+ false,
1578
+ conditions
1579
+ );
1580
+ if (resolveResult === null || resolveResult === undefined) {
1581
+ throw exportsNotFound(packageSubpath, packageJsonUrl, base)
1582
+ }
1583
+
1584
+ return resolveResult
1585
+ }
1586
+
1587
+ let bestMatch = '';
1588
+ let bestMatchSubpath = '';
1589
+ const keys = Object.getOwnPropertyNames(exports$1);
1590
+ let i = -1;
1591
+
1592
+ while (++i < keys.length) {
1593
+ const key = keys[i];
1594
+ const patternIndex = key.indexOf('*');
1595
+
1596
+ if (
1597
+ patternIndex !== -1 &&
1598
+ packageSubpath.startsWith(key.slice(0, patternIndex))
1599
+ ) {
1600
+ // When this reaches EOL, this can throw at the top of the whole function:
1601
+ //
1602
+ // if (StringPrototypeEndsWith(packageSubpath, '/'))
1603
+ // throwInvalidSubpath(packageSubpath)
1604
+ //
1605
+ // To match "imports" and the spec.
1606
+ if (packageSubpath.endsWith('/')) {
1607
+ emitTrailingSlashPatternDeprecation(
1608
+ packageSubpath,
1609
+ packageJsonUrl,
1610
+ base
1611
+ );
1612
+ }
1613
+
1614
+ const patternTrailer = key.slice(patternIndex + 1);
1615
+
1616
+ if (
1617
+ packageSubpath.length >= key.length &&
1618
+ packageSubpath.endsWith(patternTrailer) &&
1619
+ patternKeyCompare(bestMatch, key) === 1 &&
1620
+ key.lastIndexOf('*') === patternIndex
1621
+ ) {
1622
+ bestMatch = key;
1623
+ bestMatchSubpath = packageSubpath.slice(
1624
+ patternIndex,
1625
+ packageSubpath.length - patternTrailer.length
1626
+ );
1627
+ }
1628
+ }
1629
+ }
1630
+
1631
+ if (bestMatch) {
1632
+ // @ts-expect-error: indexable.
1633
+ const target = /** @type {unknown} */ (exports$1[bestMatch]);
1634
+ const resolveResult = resolvePackageTarget(
1635
+ packageJsonUrl,
1636
+ target,
1637
+ bestMatchSubpath,
1638
+ bestMatch,
1639
+ base,
1640
+ true,
1641
+ false,
1642
+ packageSubpath.endsWith('/'),
1643
+ conditions
1644
+ );
1645
+
1646
+ if (resolveResult === null || resolveResult === undefined) {
1647
+ throw exportsNotFound(packageSubpath, packageJsonUrl, base)
1648
+ }
1649
+
1650
+ return resolveResult
1651
+ }
1652
+
1653
+ throw exportsNotFound(packageSubpath, packageJsonUrl, base)
1654
+ }
1655
+
1656
+ /**
1657
+ * @param {string} a
1658
+ * @param {string} b
1659
+ */
1660
+ function patternKeyCompare(a, b) {
1661
+ const aPatternIndex = a.indexOf('*');
1662
+ const bPatternIndex = b.indexOf('*');
1663
+ const baseLengthA = aPatternIndex === -1 ? a.length : aPatternIndex + 1;
1664
+ const baseLengthB = bPatternIndex === -1 ? b.length : bPatternIndex + 1;
1665
+ if (baseLengthA > baseLengthB) return -1
1666
+ if (baseLengthB > baseLengthA) return 1
1667
+ if (aPatternIndex === -1) return 1
1668
+ if (bPatternIndex === -1) return -1
1669
+ if (a.length > b.length) return -1
1670
+ if (b.length > a.length) return 1
1671
+ return 0
1672
+ }
1673
+
1674
+ /**
1675
+ * @param {string} name
1676
+ * @param {URL} base
1677
+ * @param {Set<string>} [conditions]
1678
+ * @returns {URL}
1679
+ */
1680
+ function packageImportsResolve(name, base, conditions) {
1681
+ if (name === '#' || name.startsWith('#/') || name.endsWith('/')) {
1682
+ const reason = 'is not a valid internal imports specifier name';
1683
+ throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, fileURLToPath$1(base))
1684
+ }
1685
+
1686
+ /** @type {URL | undefined} */
1687
+ let packageJsonUrl;
1688
+
1689
+ const packageConfig = getPackageScopeConfig(base);
1690
+
1691
+ if (packageConfig.exists) {
1692
+ packageJsonUrl = pathToFileURL$1(packageConfig.pjsonPath);
1693
+ const imports = packageConfig.imports;
1694
+ if (imports) {
1695
+ if (own.call(imports, name) && !name.includes('*')) {
1696
+ const resolveResult = resolvePackageTarget(
1697
+ packageJsonUrl,
1698
+ imports[name],
1699
+ '',
1700
+ name,
1701
+ base,
1702
+ false,
1703
+ true,
1704
+ false,
1705
+ conditions
1706
+ );
1707
+ if (resolveResult !== null && resolveResult !== undefined) {
1708
+ return resolveResult
1709
+ }
1710
+ } else {
1711
+ let bestMatch = '';
1712
+ let bestMatchSubpath = '';
1713
+ const keys = Object.getOwnPropertyNames(imports);
1714
+ let i = -1;
1715
+
1716
+ while (++i < keys.length) {
1717
+ const key = keys[i];
1718
+ const patternIndex = key.indexOf('*');
1719
+
1720
+ if (patternIndex !== -1 && name.startsWith(key.slice(0, -1))) {
1721
+ const patternTrailer = key.slice(patternIndex + 1);
1722
+ if (
1723
+ name.length >= key.length &&
1724
+ name.endsWith(patternTrailer) &&
1725
+ patternKeyCompare(bestMatch, key) === 1 &&
1726
+ key.lastIndexOf('*') === patternIndex
1727
+ ) {
1728
+ bestMatch = key;
1729
+ bestMatchSubpath = name.slice(
1730
+ patternIndex,
1731
+ name.length - patternTrailer.length
1732
+ );
1733
+ }
1734
+ }
1735
+ }
1736
+
1737
+ if (bestMatch) {
1738
+ const target = imports[bestMatch];
1739
+ const resolveResult = resolvePackageTarget(
1740
+ packageJsonUrl,
1741
+ target,
1742
+ bestMatchSubpath,
1743
+ bestMatch,
1744
+ base,
1745
+ true,
1746
+ true,
1747
+ false,
1748
+ conditions
1749
+ );
1750
+
1751
+ if (resolveResult !== null && resolveResult !== undefined) {
1752
+ return resolveResult
1753
+ }
1754
+ }
1755
+ }
1756
+ }
1757
+ }
1758
+
1759
+ throw importNotDefined(name, packageJsonUrl, base)
1760
+ }
1761
+
1762
+ /**
1763
+ * @param {string} specifier
1764
+ * @param {URL} base
1765
+ */
1766
+ function parsePackageName(specifier, base) {
1767
+ let separatorIndex = specifier.indexOf('/');
1768
+ let validPackageName = true;
1769
+ let isScoped = false;
1770
+ if (specifier[0] === '@') {
1771
+ isScoped = true;
1772
+ if (separatorIndex === -1 || specifier.length === 0) {
1773
+ validPackageName = false;
1774
+ } else {
1775
+ separatorIndex = specifier.indexOf('/', separatorIndex + 1);
1776
+ }
1777
+ }
1778
+
1779
+ const packageName =
1780
+ separatorIndex === -1 ? specifier : specifier.slice(0, separatorIndex);
1781
+
1782
+ // Package name cannot have leading . and cannot have percent-encoding or
1783
+ // \\ separators.
1784
+ if (invalidPackageNameRegEx.exec(packageName) !== null) {
1785
+ validPackageName = false;
1786
+ }
1787
+
1788
+ if (!validPackageName) {
1789
+ throw new ERR_INVALID_MODULE_SPECIFIER(
1790
+ specifier,
1791
+ 'is not a valid package name',
1792
+ fileURLToPath$1(base)
1793
+ )
1794
+ }
1795
+
1796
+ const packageSubpath =
1797
+ '.' + (separatorIndex === -1 ? '' : specifier.slice(separatorIndex));
1798
+
1799
+ return {packageName, packageSubpath, isScoped}
1800
+ }
1801
+
1802
+ /**
1803
+ * @param {string} specifier
1804
+ * @param {URL} base
1805
+ * @param {Set<string> | undefined} conditions
1806
+ * @returns {URL}
1807
+ */
1808
+ function packageResolve(specifier, base, conditions) {
1809
+ if (builtinModules.includes(specifier)) {
1810
+ return new URL$1('node:' + specifier)
1811
+ }
1812
+
1813
+ const {packageName, packageSubpath, isScoped} = parsePackageName(
1814
+ specifier,
1815
+ base
1816
+ );
1817
+
1818
+ // ResolveSelf
1819
+ const packageConfig = getPackageScopeConfig(base);
1820
+
1821
+ // Can’t test.
1822
+ /* c8 ignore next 16 */
1823
+ if (packageConfig.exists) {
1824
+ const packageJsonUrl = pathToFileURL$1(packageConfig.pjsonPath);
1825
+ if (
1826
+ packageConfig.name === packageName &&
1827
+ packageConfig.exports !== undefined &&
1828
+ packageConfig.exports !== null
1829
+ ) {
1830
+ return packageExportsResolve(
1831
+ packageJsonUrl,
1832
+ packageSubpath,
1833
+ packageConfig,
1834
+ base,
1835
+ conditions
1836
+ )
1837
+ }
1838
+ }
1839
+
1840
+ let packageJsonUrl = new URL$1(
1841
+ './node_modules/' + packageName + '/package.json',
1842
+ base
1843
+ );
1844
+ let packageJsonPath = fileURLToPath$1(packageJsonUrl);
1845
+ /** @type {string} */
1846
+ let lastPath;
1847
+ do {
1848
+ const stat = tryStatSync(packageJsonPath.slice(0, -13));
1849
+ if (!stat || !stat.isDirectory()) {
1850
+ lastPath = packageJsonPath;
1851
+ packageJsonUrl = new URL$1(
1852
+ (isScoped ? '../../../../node_modules/' : '../../../node_modules/') +
1853
+ packageName +
1854
+ '/package.json',
1855
+ packageJsonUrl
1856
+ );
1857
+ packageJsonPath = fileURLToPath$1(packageJsonUrl);
1858
+ continue
1859
+ }
1860
+
1861
+ // Package match.
1862
+ const packageConfig = read(packageJsonPath, {base, specifier});
1863
+ if (packageConfig.exports !== undefined && packageConfig.exports !== null) {
1864
+ return packageExportsResolve(
1865
+ packageJsonUrl,
1866
+ packageSubpath,
1867
+ packageConfig,
1868
+ base,
1869
+ conditions
1870
+ )
1871
+ }
1872
+
1873
+ if (packageSubpath === '.') {
1874
+ return legacyMainResolve(packageJsonUrl, packageConfig, base)
1875
+ }
1876
+
1877
+ return new URL$1(packageSubpath, packageJsonUrl)
1878
+ // Cross-platform root check.
1879
+ } while (packageJsonPath.length !== lastPath.length)
1880
+
1881
+ throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath$1(base), false)
1882
+ }
1883
+
1884
+ /**
1885
+ * @param {string} specifier
1886
+ * @returns {boolean}
1887
+ */
1888
+ function isRelativeSpecifier(specifier) {
1889
+ if (specifier[0] === '.') {
1890
+ if (specifier.length === 1 || specifier[1] === '/') return true
1891
+ if (
1892
+ specifier[1] === '.' &&
1893
+ (specifier.length === 2 || specifier[2] === '/')
1894
+ ) {
1895
+ return true
1896
+ }
1897
+ }
1898
+
1899
+ return false
1900
+ }
1901
+
1902
+ /**
1903
+ * @param {string} specifier
1904
+ * @returns {boolean}
1905
+ */
1906
+ function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {
1907
+ if (specifier === '') return false
1908
+ if (specifier[0] === '/') return true
1909
+ return isRelativeSpecifier(specifier)
1910
+ }
1911
+
1912
+ /**
1913
+ * The “Resolver Algorithm Specification” as detailed in the Node docs (which is
1914
+ * sync and slightly lower-level than `resolve`).
1915
+ *
1916
+ * @param {string} specifier
1917
+ * `/example.js`, `./example.js`, `../example.js`, `some-package`, `fs`, etc.
1918
+ * @param {URL} base
1919
+ * Full URL (to a file) that `specifier` is resolved relative from.
1920
+ * @param {Set<string>} [conditions]
1921
+ * Conditions.
1922
+ * @param {boolean} [preserveSymlinks]
1923
+ * Keep symlinks instead of resolving them.
1924
+ * @returns {URL}
1925
+ * A URL object to the found thing.
1926
+ */
1927
+ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
1928
+ // Note: The Node code supports `base` as a string (in this internal API) too,
1929
+ // we don’t.
1930
+ const protocol = base.protocol;
1931
+ const isData = protocol === 'data:';
1932
+ const isRemote = isData || protocol === 'http:' || protocol === 'https:';
1933
+ // Order swapped from spec for minor perf gain.
1934
+ // Ok since relative URLs cannot parse as URLs.
1935
+ /** @type {URL | undefined} */
1936
+ let resolved;
1937
+
1938
+ if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) {
1939
+ try {
1940
+ resolved = new URL$1(specifier, base);
1941
+ } catch (error_) {
1942
+ const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
1943
+ error.cause = error_;
1944
+ throw error
1945
+ }
1946
+ } else if (protocol === 'file:' && specifier[0] === '#') {
1947
+ resolved = packageImportsResolve(specifier, base, conditions);
1948
+ } else {
1949
+ try {
1950
+ resolved = new URL$1(specifier);
1951
+ } catch (error_) {
1952
+ // Note: actual code uses `canBeRequiredWithoutScheme`.
1953
+ if (isRemote && !builtinModules.includes(specifier)) {
1954
+ const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
1955
+ error.cause = error_;
1956
+ throw error
1957
+ }
1958
+
1959
+ resolved = packageResolve(specifier, base, conditions);
1960
+ }
1961
+ }
1962
+
1963
+ assert(resolved !== undefined, 'expected to be defined');
1964
+
1965
+ if (resolved.protocol !== 'file:') {
1966
+ return resolved
1967
+ }
1968
+
1969
+ return finalizeResolution(resolved, base)
1970
+ }
1971
+
1972
+ function fileURLToPath(id) {
1973
+ if (typeof id === "string" && !id.startsWith("file://")) {
1974
+ return normalizeSlash(id);
1975
+ }
1976
+ return normalizeSlash(fileURLToPath$1(id));
1977
+ }
1978
+ function pathToFileURL(id) {
1979
+ return pathToFileURL$1(fileURLToPath(id)).toString();
1980
+ }
1981
+ function normalizeid(id) {
1982
+ if (typeof id !== "string") {
1983
+ id = id.toString();
1984
+ }
1985
+ if (/(?:node|data|http|https|file):/.test(id)) {
1986
+ return id;
1987
+ }
1988
+ if (BUILTIN_MODULES.has(id)) {
1989
+ return "node:" + id;
1990
+ }
1991
+ return "file://" + encodeURI(normalizeSlash(id));
1992
+ }
1993
+
1994
+ const DEFAULT_CONDITIONS_SET = /* @__PURE__ */ new Set(["node", "import"]);
1995
+ const DEFAULT_EXTENSIONS = [".mjs", ".cjs", ".js", ".json"];
1996
+ const NOT_FOUND_ERRORS = /* @__PURE__ */ new Set([
1997
+ "ERR_MODULE_NOT_FOUND",
1998
+ "ERR_UNSUPPORTED_DIR_IMPORT",
1999
+ "MODULE_NOT_FOUND",
2000
+ "ERR_PACKAGE_PATH_NOT_EXPORTED"
2001
+ ]);
2002
+ function _tryModuleResolve(id, url, conditions) {
2003
+ try {
2004
+ return moduleResolve(id, url, conditions);
2005
+ } catch (error) {
2006
+ if (!NOT_FOUND_ERRORS.has(error?.code)) {
2007
+ throw error;
2008
+ }
2009
+ }
2010
+ }
2011
+ function _resolve$1(id, options = {}) {
2012
+ if (typeof id !== "string") {
2013
+ if (id instanceof URL) {
2014
+ id = fileURLToPath(id);
2015
+ } else {
2016
+ throw new TypeError("input must be a `string` or `URL`");
2017
+ }
2018
+ }
2019
+ if (/(?:node|data|http|https):/.test(id)) {
2020
+ return id;
2021
+ }
2022
+ if (BUILTIN_MODULES.has(id)) {
2023
+ return "node:" + id;
2024
+ }
2025
+ if (id.startsWith("file://")) {
2026
+ id = fileURLToPath(id);
2027
+ }
2028
+ if (isAbsolute(id)) {
2029
+ try {
2030
+ const stat = statSync(id);
2031
+ if (stat.isFile()) {
2032
+ return pathToFileURL(id);
2033
+ }
2034
+ } catch (error) {
2035
+ if (error?.code !== "ENOENT") {
2036
+ throw error;
2037
+ }
2038
+ }
2039
+ }
2040
+ const conditionsSet = options.conditions ? new Set(options.conditions) : DEFAULT_CONDITIONS_SET;
2041
+ const _urls = (Array.isArray(options.url) ? options.url : [options.url]).filter(Boolean).map((url) => new URL(normalizeid(url.toString())));
2042
+ if (_urls.length === 0) {
2043
+ _urls.push(new URL(pathToFileURL(process.cwd())));
2044
+ }
2045
+ const urls = [..._urls];
2046
+ for (const url of _urls) {
2047
+ if (url.protocol === "file:") {
2048
+ urls.push(
2049
+ new URL("./", url),
2050
+ // If url is directory
2051
+ new URL(joinURL(url.pathname, "_index.js"), url),
2052
+ // TODO: Remove in next major version?
2053
+ new URL("node_modules", url)
2054
+ );
2055
+ }
2056
+ }
2057
+ let resolved;
2058
+ for (const url of urls) {
2059
+ resolved = _tryModuleResolve(id, url, conditionsSet);
2060
+ if (resolved) {
2061
+ break;
2062
+ }
2063
+ for (const prefix of ["", "/index"]) {
2064
+ for (const extension of options.extensions || DEFAULT_EXTENSIONS) {
2065
+ resolved = _tryModuleResolve(
2066
+ joinURL(id, prefix) + extension,
2067
+ url,
2068
+ conditionsSet
2069
+ );
2070
+ if (resolved) {
2071
+ break;
2072
+ }
2073
+ }
2074
+ if (resolved) {
2075
+ break;
2076
+ }
2077
+ }
2078
+ if (resolved) {
2079
+ break;
2080
+ }
2081
+ }
2082
+ if (!resolved) {
2083
+ const error = new Error(
2084
+ `Cannot find module ${id} imported from ${urls.join(", ")}`
2085
+ );
2086
+ error.code = "ERR_MODULE_NOT_FOUND";
2087
+ throw error;
2088
+ }
2089
+ return pathToFileURL(resolved);
2090
+ }
2091
+ function resolveSync(id, options) {
2092
+ return _resolve$1(id, options);
2093
+ }
2094
+ function resolvePathSync(id, options) {
2095
+ return fileURLToPath(resolveSync(id, options));
2096
+ }
2097
+
2098
+ const GET_IS_ASYNC = Symbol.for("quansync.getIsAsync");
2099
+ class QuansyncError extends Error {
2100
+ constructor(message = "Unexpected promise in sync context") {
2101
+ super(message);
2102
+ this.name = "QuansyncError";
2103
+ }
2104
+ }
2105
+ function isThenable(value) {
2106
+ return value && typeof value === "object" && typeof value.then === "function";
2107
+ }
2108
+ function isQuansyncGenerator(value) {
2109
+ return value && typeof value === "object" && typeof value[Symbol.iterator] === "function" && "__quansync" in value;
2110
+ }
2111
+ function fromObject(options) {
2112
+ const generator = function* (...args) {
2113
+ const isAsync = yield GET_IS_ASYNC;
2114
+ if (isAsync)
2115
+ return yield options.async.apply(this, args);
2116
+ return options.sync.apply(this, args);
2117
+ };
2118
+ function fn(...args) {
2119
+ const iter = generator.apply(this, args);
2120
+ iter.then = (...thenArgs) => options.async.apply(this, args).then(...thenArgs);
2121
+ iter.__quansync = true;
2122
+ return iter;
2123
+ }
2124
+ fn.sync = options.sync;
2125
+ fn.async = options.async;
2126
+ return fn;
2127
+ }
2128
+ function fromPromise(promise) {
2129
+ return fromObject({
2130
+ async: () => Promise.resolve(promise),
2131
+ sync: () => {
2132
+ if (isThenable(promise))
2133
+ throw new QuansyncError();
2134
+ return promise;
2135
+ }
2136
+ });
2137
+ }
2138
+ function unwrapYield(value, isAsync) {
2139
+ if (value === GET_IS_ASYNC)
2140
+ return isAsync;
2141
+ if (isQuansyncGenerator(value))
2142
+ return isAsync ? iterateAsync(value) : iterateSync(value);
2143
+ if (!isAsync && isThenable(value))
2144
+ throw new QuansyncError();
2145
+ return value;
2146
+ }
2147
+ const DEFAULT_ON_YIELD = (value) => value;
2148
+ function iterateSync(generator, onYield = DEFAULT_ON_YIELD) {
2149
+ let current = generator.next();
2150
+ while (!current.done) {
2151
+ try {
2152
+ current = generator.next(unwrapYield(onYield(current.value, false)));
2153
+ } catch (err) {
2154
+ current = generator.throw(err);
2155
+ }
2156
+ }
2157
+ return unwrapYield(current.value);
2158
+ }
2159
+ async function iterateAsync(generator, onYield = DEFAULT_ON_YIELD) {
2160
+ let current = generator.next();
2161
+ while (!current.done) {
2162
+ try {
2163
+ current = generator.next(await unwrapYield(onYield(current.value, true), true));
2164
+ } catch (err) {
2165
+ current = generator.throw(err);
2166
+ }
2167
+ }
2168
+ return current.value;
2169
+ }
2170
+ function fromGeneratorFn(generatorFn, options) {
2171
+ return fromObject({
2172
+ name: generatorFn.name,
2173
+ async(...args) {
2174
+ return iterateAsync(generatorFn.apply(this, args), options?.onYield);
2175
+ },
2176
+ sync(...args) {
2177
+ return iterateSync(generatorFn.apply(this, args), options?.onYield);
2178
+ }
2179
+ });
2180
+ }
2181
+ function quansync$1(input, options) {
2182
+ if (isThenable(input))
2183
+ return fromPromise(input);
2184
+ if (typeof input === "function")
2185
+ return fromGeneratorFn(input, options);
2186
+ else
2187
+ return fromObject(input);
2188
+ }
2189
+ quansync$1({
2190
+ async: () => Promise.resolve(true),
2191
+ sync: () => false
2192
+ });
2193
+
2194
+ const quansync = quansync$1;
2195
+
2196
+ const toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath$1(urlOrPath) : urlOrPath;
2197
+
2198
+ async function findUp$1(name, {
2199
+ cwd = process$1.cwd(),
2200
+ type = 'file',
2201
+ stopAt,
2202
+ } = {}) {
2203
+ let directory = path.resolve(toPath(cwd) ?? '');
2204
+ const {root} = path.parse(directory);
2205
+ stopAt = path.resolve(directory, toPath(stopAt ?? root));
2206
+ const isAbsoluteName = path.isAbsolute(name);
2207
+
2208
+ while (directory) {
2209
+ const filePath = isAbsoluteName ? name : path.join(directory, name);
2210
+ try {
2211
+ const stats = await fs$1.stat(filePath); // eslint-disable-line no-await-in-loop
2212
+ if ((type === 'file' && stats.isFile()) || (type === 'directory' && stats.isDirectory())) {
2213
+ return filePath;
2214
+ }
2215
+ } catch {}
2216
+
2217
+ if (directory === stopAt || directory === root) {
2218
+ break;
2219
+ }
2220
+
2221
+ directory = path.dirname(directory);
2222
+ }
2223
+ }
2224
+
2225
+ function findUpSync(name, {
2226
+ cwd = process$1.cwd(),
2227
+ type = 'file',
2228
+ stopAt,
2229
+ } = {}) {
2230
+ let directory = path.resolve(toPath(cwd) ?? '');
2231
+ const {root} = path.parse(directory);
2232
+ stopAt = path.resolve(directory, toPath(stopAt) ?? root);
2233
+ const isAbsoluteName = path.isAbsolute(name);
2234
+
2235
+ while (directory) {
2236
+ const filePath = isAbsoluteName ? name : path.join(directory, name);
2237
+
2238
+ try {
2239
+ const stats = fs.statSync(filePath, {throwIfNoEntry: false});
2240
+ if ((type === 'file' && stats?.isFile()) || (type === 'directory' && stats?.isDirectory())) {
2241
+ return filePath;
2242
+ }
2243
+ } catch {}
2244
+
2245
+ if (directory === stopAt || directory === root) {
2246
+ break;
2247
+ }
2248
+
2249
+ directory = path.dirname(directory);
2250
+ }
2251
+ }
2252
+
2253
+ function _resolve(path, options = {}) {
2254
+ if (options.platform === "auto" || !options.platform)
2255
+ options.platform = process$1.platform === "win32" ? "win32" : "posix";
2256
+ if (process$1.versions.pnp) {
2257
+ const paths = options.paths || [];
2258
+ if (paths.length === 0)
2259
+ paths.push(process$1.cwd());
2260
+ const targetRequire = createRequire(import.meta.url);
2261
+ try {
2262
+ return targetRequire.resolve(path, { paths });
2263
+ } catch {
2264
+ }
2265
+ }
2266
+ const modulePath = resolvePathSync(path, {
2267
+ url: options.paths
2268
+ });
2269
+ if (options.platform === "win32")
2270
+ return win32.normalize(modulePath);
2271
+ return modulePath;
2272
+ }
2273
+ function resolveModule(name, options = {}) {
2274
+ try {
2275
+ return _resolve(name, options);
2276
+ } catch {
2277
+ return void 0;
2278
+ }
2279
+ }
2280
+ function isPackageExists(name, options = {}) {
2281
+ return !!resolvePackage(name, options);
2282
+ }
2283
+ function getPackageJsonPath(name, options = {}) {
2284
+ const entry = resolvePackage(name, options);
2285
+ if (!entry)
2286
+ return;
2287
+ return searchPackageJSON(entry);
2288
+ }
2289
+ const readFile = quansync({
2290
+ async: (id) => fs.promises.readFile(id, "utf8"),
2291
+ sync: (id) => fs.readFileSync(id, "utf8")
2292
+ });
2293
+ const getPackageInfo = quansync(function* (name, options = {}) {
2294
+ const packageJsonPath = getPackageJsonPath(name, options);
2295
+ if (!packageJsonPath)
2296
+ return;
2297
+ const packageJson = JSON.parse(yield readFile(packageJsonPath));
2298
+ return {
2299
+ name,
2300
+ version: packageJson.version,
2301
+ rootPath: dirname(packageJsonPath),
2302
+ packageJsonPath,
2303
+ packageJson
2304
+ };
2305
+ });
2306
+ getPackageInfo.sync;
2307
+ function resolvePackage(name, options = {}) {
2308
+ try {
2309
+ return _resolve(`${name}/package.json`, options);
2310
+ } catch {
2311
+ }
2312
+ try {
2313
+ return _resolve(name, options);
2314
+ } catch (e) {
2315
+ if (e.code !== "MODULE_NOT_FOUND" && e.code !== "ERR_MODULE_NOT_FOUND")
2316
+ console.error(e);
2317
+ return false;
2318
+ }
2319
+ }
2320
+ function searchPackageJSON(dir) {
2321
+ let packageJsonPath;
2322
+ while (true) {
2323
+ if (!dir)
2324
+ return;
2325
+ const newDir = dirname(dir);
2326
+ if (newDir === dir)
2327
+ return;
2328
+ dir = newDir;
2329
+ packageJsonPath = join(dir, "package.json");
2330
+ if (fs.existsSync(packageJsonPath))
2331
+ break;
2332
+ }
2333
+ return packageJsonPath;
2334
+ }
2335
+ const findUp = quansync({
2336
+ sync: findUpSync,
2337
+ async: findUp$1
2338
+ });
2339
+ const loadPackageJSON = quansync(function* (cwd = process$1.cwd()) {
2340
+ const path = yield findUp("package.json", { cwd });
2341
+ if (!path || !fs.existsSync(path))
2342
+ return null;
2343
+ return JSON.parse(yield readFile(path));
2344
+ });
2345
+ loadPackageJSON.sync;
2346
+ const isPackageListed = quansync(function* (name, cwd) {
2347
+ const pkg = (yield loadPackageJSON(cwd)) || {};
2348
+ return name in (pkg.dependencies || {}) || name in (pkg.devDependencies || {});
2349
+ });
2350
+ isPackageListed.sync;
2351
+
2352
+ function getWorkersCountByPercentage(percent) {
2353
+ const maxWorkersCount = nodeos__default.availableParallelism?.() ?? nodeos__default.cpus().length;
2354
+ const workersCountByPercentage = Math.round(Number.parseInt(percent) / 100 * maxWorkersCount);
2355
+ return Math.max(1, Math.min(maxWorkersCount, workersCountByPercentage));
2356
+ }
2357
+
2358
+ class BaseSequencer {
2359
+ ctx;
2360
+ constructor(ctx) {
2361
+ this.ctx = ctx;
2362
+ }
2363
+ // async so it can be extended by other sequelizers
2364
+ async shard(files) {
2365
+ const { config } = this.ctx;
2366
+ const { index, count } = config.shard;
2367
+ const [shardStart, shardEnd] = this.calculateShardRange(files.length, index, count);
2368
+ return [...files].map((spec) => {
2369
+ const specPath = resolve(slash(config.root), slash(spec.moduleId))?.slice(config.root.length);
2370
+ return {
2371
+ spec,
2372
+ hash: hash("sha1", specPath, "hex")
2373
+ };
2374
+ }).sort((a, b) => a.hash < b.hash ? -1 : a.hash > b.hash ? 1 : 0).slice(shardStart, shardEnd).map(({ spec }) => spec);
2375
+ }
2376
+ // async so it can be extended by other sequelizers
2377
+ async sort(files) {
2378
+ const cache = this.ctx.cache;
2379
+ return [...files].sort((a, b) => {
2380
+ // "sequence.groupOrder" is higher priority
2381
+ const groupOrderDiff = a.project.config.sequence.groupOrder - b.project.config.sequence.groupOrder;
2382
+ if (groupOrderDiff !== 0) return groupOrderDiff;
2383
+ // Projects run sequential
2384
+ if (a.project.name !== b.project.name) return a.project.name < b.project.name ? -1 : 1;
2385
+ // Isolated run first
2386
+ if (a.project.config.isolate && !b.project.config.isolate) return -1;
2387
+ if (!a.project.config.isolate && b.project.config.isolate) return 1;
2388
+ const keyA = `${a.project.name}:${relative(this.ctx.config.root, a.moduleId)}`;
2389
+ const keyB = `${b.project.name}:${relative(this.ctx.config.root, b.moduleId)}`;
2390
+ const aState = cache.getFileTestResults(keyA);
2391
+ const bState = cache.getFileTestResults(keyB);
2392
+ if (!aState || !bState) {
2393
+ const statsA = cache.getFileStats(keyA);
2394
+ const statsB = cache.getFileStats(keyB);
2395
+ // run unknown first
2396
+ if (!statsA || !statsB) return !statsA && statsB ? -1 : !statsB && statsA ? 1 : 0;
2397
+ // run larger files first
2398
+ return statsB.size - statsA.size;
2399
+ }
2400
+ // run failed first
2401
+ if (aState.failed && !bState.failed) return -1;
2402
+ if (!aState.failed && bState.failed) return 1;
2403
+ // run longer first
2404
+ return bState.duration - aState.duration;
2405
+ });
2406
+ }
2407
+ // Calculate distributed shard range [start, end] distributed equally
2408
+ calculateShardRange(filesCount, index, count) {
2409
+ const baseShardSize = Math.floor(filesCount / count);
2410
+ const remainderTestFilesCount = filesCount % count;
2411
+ if (remainderTestFilesCount >= index) {
2412
+ const shardSize = baseShardSize + 1;
2413
+ return [shardSize * (index - 1), shardSize * index];
2414
+ }
2415
+ const shardStart = remainderTestFilesCount * (baseShardSize + 1) + (index - remainderTestFilesCount - 1) * baseShardSize;
2416
+ return [shardStart, shardStart + baseShardSize];
2417
+ }
2418
+ }
2419
+
2420
+ class RandomSequencer extends BaseSequencer {
2421
+ async sort(files) {
2422
+ const { sequence } = this.ctx.config;
2423
+ return shuffle(files, sequence.seed);
2424
+ }
2425
+ }
2426
+
2427
+ function resolvePath(path, root) {
2428
+ return normalize(/* @__PURE__ */ resolveModule(path, { paths: [root] }) ?? resolve(root, path));
2429
+ }
2430
+ function parseInspector(inspect) {
2431
+ if (typeof inspect === "boolean" || inspect === void 0) return {};
2432
+ if (typeof inspect === "number") return { port: inspect };
2433
+ if (inspect.match(/https?:\//)) throw new Error(`Inspector host cannot be a URL. Use "host:port" instead of "${inspect}"`);
2434
+ const [host, port] = inspect.split(":");
2435
+ if (!port) return { host };
2436
+ return {
2437
+ host,
2438
+ port: Number(port) || defaultInspectPort
2439
+ };
2440
+ }
2441
+ function resolveApiServerConfig(options, defaultPort) {
2442
+ let api;
2443
+ if (options.ui && !options.api) api = { port: defaultPort };
2444
+ else if (options.api === true) api = { port: defaultPort };
2445
+ else if (typeof options.api === "number") api = { port: options.api };
2446
+ if (typeof options.api === "object") if (api) {
2447
+ if (options.api.port) api.port = options.api.port;
2448
+ if (options.api.strictPort) api.strictPort = options.api.strictPort;
2449
+ if (options.api.host) api.host = options.api.host;
2450
+ } else api = { ...options.api };
2451
+ if (api) {
2452
+ if (!api.port && !api.middlewareMode) api.port = defaultPort;
2453
+ } else api = { middlewareMode: true };
2454
+ return api;
2455
+ }
2456
+ function resolveInlineWorkerOption(value) {
2457
+ if (typeof value === "string" && value.trim().endsWith("%")) return getWorkersCountByPercentage(value);
2458
+ else return Number(value);
2459
+ }
2460
+ function resolveConfig$1(vitest, options, viteConfig) {
2461
+ const mode = vitest.mode;
2462
+ const logger = vitest.logger;
2463
+ if (options.dom) {
2464
+ if (viteConfig.test?.environment != null && viteConfig.test.environment !== "happy-dom") logger.console.warn(c.yellow(`${c.inverse(c.yellow(" Vitest "))} Your config.test.environment ("${viteConfig.test.environment}") conflicts with --dom flag ("happy-dom"), ignoring "${viteConfig.test.environment}"`));
2465
+ options.environment = "happy-dom";
2466
+ }
2467
+ const resolved = {
2468
+ ...configDefaults,
2469
+ ...options,
2470
+ root: viteConfig.root,
2471
+ mode
2472
+ };
2473
+ if (options.pool && typeof options.pool !== "string") {
2474
+ resolved.pool = options.pool.name;
2475
+ resolved.poolRunner = options.pool;
2476
+ }
2477
+ if ("poolOptions" in resolved) logger.deprecate("`test.poolOptions` was removed in Vitest 4. All previous `poolOptions` are now top-level options. Please, refer to the migration guide: https://vitest.dev/guide/migration#pool-rework");
2478
+ resolved.pool ??= "forks";
2479
+ resolved.project = toArray(resolved.project);
2480
+ resolved.provide ??= {};
2481
+ resolved.name = typeof options.name === "string" ? options.name : options.name?.label || "";
2482
+ resolved.color = typeof options.name !== "string" ? options.name?.color : void 0;
2483
+ if (resolved.environment === "browser") throw new Error(`Looks like you set "test.environment" to "browser". To enable Browser Mode, use "test.browser.enabled" instead.`);
2484
+ const inspector = resolved.inspect || resolved.inspectBrk;
2485
+ resolved.inspector = {
2486
+ ...resolved.inspector,
2487
+ ...parseInspector(inspector),
2488
+ enabled: !!inspector,
2489
+ waitForDebugger: options.inspector?.waitForDebugger ?? !!resolved.inspectBrk
2490
+ };
2491
+ if (viteConfig.base !== "/") resolved.base = viteConfig.base;
2492
+ resolved.clearScreen = resolved.clearScreen ?? viteConfig.clearScreen ?? true;
2493
+ if (options.shard) {
2494
+ if (resolved.watch) throw new Error("You cannot use --shard option with enabled watch");
2495
+ const [indexString, countString] = options.shard.split("/");
2496
+ const index = Math.abs(Number.parseInt(indexString, 10));
2497
+ const count = Math.abs(Number.parseInt(countString, 10));
2498
+ if (Number.isNaN(count) || count <= 0) throw new Error("--shard <count> must be a positive number");
2499
+ if (Number.isNaN(index) || index <= 0 || index > count) throw new Error("--shard <index> must be a positive number less then <count>");
2500
+ resolved.shard = {
2501
+ index,
2502
+ count
2503
+ };
2504
+ }
2505
+ if (resolved.standalone && !resolved.watch) throw new Error(`Vitest standalone mode requires --watch`);
2506
+ if (resolved.mergeReports && resolved.watch) throw new Error(`Cannot merge reports with --watch enabled`);
2507
+ if (resolved.maxWorkers) resolved.maxWorkers = resolveInlineWorkerOption(resolved.maxWorkers);
2508
+ if (!(options.fileParallelism ?? mode !== "benchmark"))
2509
+ // ignore user config, parallelism cannot be implemented without limiting workers
2510
+ resolved.maxWorkers = 1;
2511
+ if (resolved.maxConcurrency === 0) {
2512
+ logger.console.warn(c.yellow(`The option "maxConcurrency" cannot be set to 0. Using default value ${configDefaults.maxConcurrency} instead.`));
2513
+ resolved.maxConcurrency = configDefaults.maxConcurrency;
2514
+ }
2515
+ if (resolved.inspect || resolved.inspectBrk) {
2516
+ if (resolved.maxWorkers !== 1) {
2517
+ const inspectOption = `--inspect${resolved.inspectBrk ? "-brk" : ""}`;
2518
+ throw new Error(`You cannot use ${inspectOption} without "--no-file-parallelism"`);
2519
+ }
2520
+ }
2521
+ // apply browser CLI options only if the config already has the browser config and not disabled manually
2522
+ if (vitest._cliOptions.browser && resolved.browser && (resolved.browser.enabled !== false || vitest._cliOptions.browser.enabled)) resolved.browser = mergeConfig(resolved.browser, vitest._cliOptions.browser);
2523
+ resolved.browser ??= {};
2524
+ const browser = resolved.browser;
2525
+ if (browser.enabled) {
2526
+ const instances = browser.instances;
2527
+ if (!browser.instances) browser.instances = [];
2528
+ // use `chromium` by default when the preview provider is specified
2529
+ // for a smoother experience. if chromium is not available, it will
2530
+ // open the default browser anyway
2531
+ if (!browser.instances.length && browser.provider?.name === "preview") browser.instances = [{ browser: "chromium" }];
2532
+ if (browser.name && instances?.length) {
2533
+ // --browser=chromium filters configs to a single one
2534
+ browser.instances = browser.instances.filter((instance) => instance.browser === browser.name);
2535
+ // if `instances` were defined, but now they are empty,
2536
+ // let's throw an error because the filter is invalid
2537
+ if (!browser.instances.length) throw new Error([`"browser.instances" was set in the config, but the array is empty. Define at least one browser config.`, ` The "browser.name" was set to "${browser.name}" which filtered all configs (${instances.map((c) => c.browser).join(", ")}). Did you mean to use another name?`].join(""));
2538
+ }
2539
+ }
2540
+ const containsChromium = hasBrowserChromium(vitest, resolved);
2541
+ const hasOnlyChromium = hasOnlyBrowserChromium(vitest, resolved);
2542
+ // Browser-mode "Chromium" only features:
2543
+ if (browser.enabled && (!containsChromium || !hasOnlyChromium)) {
2544
+ const browserConfig = `
2545
+ {
2546
+ browser: {
2547
+ provider: ${browser.provider?.name || "preview"}(),
2548
+ instances: [
2549
+ ${(browser.instances || []).map((i) => `{ browser: '${i.browser}' }`).join(",\n ")}
2550
+ ],
2551
+ },
2552
+ }
2553
+ `.trim();
2554
+ const preferredProvider = !browser.provider?.name || browser.provider.name === "preview" ? "playwright" : browser.provider.name;
2555
+ const correctExample = `
2556
+ {
2557
+ browser: {
2558
+ provider: ${preferredProvider}(),
2559
+ instances: [
2560
+ { browser: '${preferredProvider === "playwright" ? "chromium" : "chrome"}' }
2561
+ ],
2562
+ },
2563
+ }
2564
+ `.trim();
2565
+ // requires all projects to be chromium
2566
+ if (!hasOnlyChromium && resolved.coverage.enabled && resolved.coverage.provider === "v8") {
2567
+ const coverageExample = `
2568
+ {
2569
+ coverage: {
2570
+ provider: 'istanbul',
2571
+ },
2572
+ }
2573
+ `.trim();
2574
+ throw new Error(`@vitest/coverage-v8 does not work with\n${browserConfig}\n\nUse either:\n${correctExample}\n\n...or change your coverage provider to:\n${coverageExample}\n`);
2575
+ }
2576
+ // ignores non-chromium browsers when there is at least one chromium project
2577
+ if (!containsChromium && (resolved.inspect || resolved.inspectBrk)) {
2578
+ const inspectOption = `--inspect${resolved.inspectBrk ? "-brk" : ""}`;
2579
+ throw new Error(`${inspectOption} does not work with\n${browserConfig}\n\nUse either:\n${correctExample}\n\n...or disable ${inspectOption}\n`);
2580
+ }
2581
+ }
2582
+ resolved.coverage.reporter = resolveCoverageReporters(resolved.coverage.reporter);
2583
+ if (resolved.coverage.enabled && resolved.coverage.reportsDirectory) {
2584
+ const reportsDirectory = resolve(resolved.root, resolved.coverage.reportsDirectory);
2585
+ if (reportsDirectory === resolved.root || reportsDirectory === process.cwd()) throw new Error(`You cannot set "coverage.reportsDirectory" as ${reportsDirectory}. Vitest needs to be able to remove this directory before test run`);
2586
+ }
2587
+ if (resolved.coverage.enabled && resolved.coverage.provider === "custom" && resolved.coverage.customProviderModule) resolved.coverage.customProviderModule = resolvePath(resolved.coverage.customProviderModule, resolved.root);
2588
+ resolved.expect ??= {};
2589
+ resolved.deps ??= {};
2590
+ resolved.deps.moduleDirectories ??= [];
2591
+ resolved.deps.optimizer ??= {};
2592
+ resolved.deps.optimizer.ssr ??= {};
2593
+ resolved.deps.optimizer.ssr.enabled ??= false;
2594
+ resolved.deps.optimizer.client ??= {};
2595
+ resolved.deps.optimizer.client.enabled ??= false;
2596
+ resolved.deps.web ??= {};
2597
+ resolved.deps.web.transformAssets ??= true;
2598
+ resolved.deps.web.transformCss ??= true;
2599
+ resolved.deps.web.transformGlobPattern ??= [];
2600
+ resolved.setupFiles = toArray(resolved.setupFiles || []).map((file) => resolvePath(file, resolved.root));
2601
+ resolved.globalSetup = toArray(resolved.globalSetup || []).map((file) => resolvePath(file, resolved.root));
2602
+ // Add hard-coded default coverage exclusions. These cannot be overidden by user config.
2603
+ // Override original exclude array for cases where user re-uses same object in test.exclude.
2604
+ resolved.coverage.exclude = [
2605
+ ...resolved.coverage.exclude,
2606
+ ...resolved.setupFiles.map((file) => `${resolved.coverage.allowExternal ? "**/" : ""}${relative(resolved.root, file)}`),
2607
+ ...resolved.include,
2608
+ resolved.config && slash(resolved.config),
2609
+ ...configFiles,
2610
+ "**/virtual:*",
2611
+ "**/__x00__*",
2612
+ "**/node_modules/**"
2613
+ ].filter((pattern) => typeof pattern === "string");
2614
+ resolved.forceRerunTriggers = [...resolved.forceRerunTriggers, ...resolved.setupFiles];
2615
+ if (resolved.cliExclude) resolved.exclude.push(...resolved.cliExclude);
2616
+ if (resolved.runner) resolved.runner = resolvePath(resolved.runner, resolved.root);
2617
+ resolved.attachmentsDir = resolve(resolved.root, resolved.attachmentsDir ?? ".vitest-attachments");
2618
+ if (resolved.snapshotEnvironment) resolved.snapshotEnvironment = resolvePath(resolved.snapshotEnvironment, resolved.root);
2619
+ resolved.testNamePattern = resolved.testNamePattern ? resolved.testNamePattern instanceof RegExp ? resolved.testNamePattern : new RegExp(resolved.testNamePattern) : void 0;
2620
+ if (resolved.snapshotFormat && "plugins" in resolved.snapshotFormat) {
2621
+ resolved.snapshotFormat.plugins = [];
2622
+ // TODO: support it via separate config (like DiffOptions) or via `Function.toString()`
2623
+ if (typeof resolved.snapshotFormat.compareKeys === "function") throw new TypeError(`"snapshotFormat.compareKeys" function is not supported.`);
2624
+ }
2625
+ const UPDATE_SNAPSHOT = resolved.update || process.env.UPDATE_SNAPSHOT;
2626
+ resolved.snapshotOptions = {
2627
+ expand: resolved.expandSnapshotDiff ?? false,
2628
+ snapshotFormat: resolved.snapshotFormat || {},
2629
+ updateSnapshot: isCI && !UPDATE_SNAPSHOT ? "none" : UPDATE_SNAPSHOT ? "all" : "new",
2630
+ resolveSnapshotPath: options.resolveSnapshotPath,
2631
+ snapshotEnvironment: null
2632
+ };
2633
+ resolved.snapshotSerializers ??= [];
2634
+ resolved.snapshotSerializers = resolved.snapshotSerializers.map((file) => resolvePath(file, resolved.root));
2635
+ resolved.forceRerunTriggers.push(...resolved.snapshotSerializers);
2636
+ if (options.resolveSnapshotPath) delete resolved.resolveSnapshotPath;
2637
+ resolved.execArgv ??= [];
2638
+ resolved.pool ??= "threads";
2639
+ if (resolved.pool === "vmForks" || resolved.pool === "vmThreads" || resolved.pool === "typescript") resolved.isolate = false;
2640
+ if (process.env.VITEST_MAX_WORKERS) resolved.maxWorkers = Number.parseInt(process.env.VITEST_MAX_WORKERS);
2641
+ if (mode === "benchmark") {
2642
+ resolved.benchmark = {
2643
+ ...benchmarkConfigDefaults,
2644
+ ...resolved.benchmark
2645
+ };
2646
+ // override test config
2647
+ resolved.coverage.enabled = false;
2648
+ resolved.typecheck.enabled = false;
2649
+ resolved.include = resolved.benchmark.include;
2650
+ resolved.exclude = resolved.benchmark.exclude;
2651
+ resolved.includeSource = resolved.benchmark.includeSource;
2652
+ const reporters = Array.from(new Set([...toArray(resolved.benchmark.reporters), ...toArray(options.reporter)])).filter(Boolean);
2653
+ if (reporters.length) resolved.benchmark.reporters = reporters;
2654
+ else resolved.benchmark.reporters = ["default"];
2655
+ if (options.outputFile) resolved.benchmark.outputFile = options.outputFile;
2656
+ // --compare from cli
2657
+ if (options.compare) resolved.benchmark.compare = options.compare;
2658
+ if (options.outputJson) resolved.benchmark.outputJson = options.outputJson;
2659
+ }
2660
+ if (typeof resolved.diff === "string") {
2661
+ resolved.diff = resolvePath(resolved.diff, resolved.root);
2662
+ resolved.forceRerunTriggers.push(resolved.diff);
2663
+ }
2664
+ resolved.api = {
2665
+ ...resolveApiServerConfig(options, defaultPort),
2666
+ token: crypto.randomUUID()
2667
+ };
2668
+ if (options.related) resolved.related = toArray(options.related).map((file) => resolve(resolved.root, file));
2669
+ /*
2670
+ * Reporters can be defined in many different ways:
2671
+ * { reporter: 'json' }
2672
+ * { reporter: { onFinish() { method() } } }
2673
+ * { reporter: ['json', { onFinish() { method() } }] }
2674
+ * { reporter: [[ 'json' ]] }
2675
+ * { reporter: [[ 'json' ], 'html'] }
2676
+ * { reporter: [[ 'json', { outputFile: 'test.json' } ], 'html'] }
2677
+ */
2678
+ if (options.reporters) if (!Array.isArray(options.reporters))
2679
+ // Reporter name, e.g. { reporters: 'json' }
2680
+ if (typeof options.reporters === "string") resolved.reporters = [[options.reporters, {}]];
2681
+ else resolved.reporters = [options.reporters];
2682
+ else {
2683
+ resolved.reporters = [];
2684
+ for (const reporter of options.reporters) if (Array.isArray(reporter))
2685
+ // Reporter with options, e.g. { reporters: [ [ 'json', { outputFile: 'test.json' } ] ] }
2686
+ resolved.reporters.push([reporter[0], reporter[1] || {}]);
2687
+ else if (typeof reporter === "string")
2688
+ // Reporter name in array, e.g. { reporters: ["html", "json"]}
2689
+ resolved.reporters.push([reporter, {}]);
2690
+ else
2691
+ // Inline reporter, e.g. { reporter: [{ onFinish() { method() } }] }
2692
+ resolved.reporters.push(reporter);
2693
+ }
2694
+ if (mode !== "benchmark") {
2695
+ // @ts-expect-error "reporter" is from CLI, should be absolute to the running directory
2696
+ // it is passed down as "vitest --reporter ../reporter.js"
2697
+ const reportersFromCLI = resolved.reporter;
2698
+ const cliReporters = toArray(reportersFromCLI || []).map((reporter) => {
2699
+ // ./reporter.js || ../reporter.js, but not .reporters/reporter.js
2700
+ if (/^\.\.?\//.test(reporter)) return resolve(process.cwd(), reporter);
2701
+ return reporter;
2702
+ });
2703
+ if (cliReporters.length) {
2704
+ // When CLI reporters are specified, preserve options from config file
2705
+ const configReportersMap = /* @__PURE__ */ new Map();
2706
+ // Build a map of reporter names to their options from the config
2707
+ for (const reporter of resolved.reporters) if (Array.isArray(reporter)) {
2708
+ const [reporterName, reporterOptions] = reporter;
2709
+ if (typeof reporterName === "string") configReportersMap.set(reporterName, reporterOptions);
2710
+ }
2711
+ resolved.reporters = Array.from(new Set(toArray(cliReporters))).filter(Boolean).map((reporter) => [reporter, configReportersMap.get(reporter) || {}]);
2712
+ }
2713
+ }
2714
+ if (!resolved.reporters.length) {
2715
+ resolved.reporters.push(["default", {}]);
2716
+ // also enable github-actions reporter as a default
2717
+ if (process.env.GITHUB_ACTIONS === "true") resolved.reporters.push(["github-actions", {}]);
2718
+ }
2719
+ if (resolved.changed) resolved.passWithNoTests ??= true;
2720
+ resolved.css ??= {};
2721
+ if (typeof resolved.css === "object") {
2722
+ resolved.css.modules ??= {};
2723
+ resolved.css.modules.classNameStrategy ??= "stable";
2724
+ }
2725
+ if (resolved.cache !== false) {
2726
+ if (resolved.cache && typeof resolved.cache.dir === "string") vitest.logger.deprecate(`"cache.dir" is deprecated, use Vite's "cacheDir" instead if you want to change the cache director. Note caches will be written to "cacheDir\/vitest"`);
2727
+ resolved.cache = { dir: viteConfig.cacheDir };
2728
+ }
2729
+ resolved.sequence ??= {};
2730
+ if (resolved.sequence.shuffle && typeof resolved.sequence.shuffle === "object") {
2731
+ const { files, tests } = resolved.sequence.shuffle;
2732
+ resolved.sequence.sequencer ??= files ? RandomSequencer : BaseSequencer;
2733
+ resolved.sequence.shuffle = tests;
2734
+ }
2735
+ if (!resolved.sequence?.sequencer)
2736
+ // CLI flag has higher priority
2737
+ resolved.sequence.sequencer = resolved.sequence.shuffle ? RandomSequencer : BaseSequencer;
2738
+ resolved.sequence.groupOrder ??= 0;
2739
+ resolved.sequence.hooks ??= "stack";
2740
+ if (resolved.sequence.sequencer === RandomSequencer) resolved.sequence.seed ??= Date.now();
2741
+ resolved.typecheck = {
2742
+ ...configDefaults.typecheck,
2743
+ ...resolved.typecheck
2744
+ };
2745
+ resolved.typecheck ??= {};
2746
+ resolved.typecheck.enabled ??= false;
2747
+ if (resolved.typecheck.enabled) logger.console.warn(c.yellow("Testing types with tsc and vue-tsc is an experimental feature.\nBreaking changes might not follow SemVer, please pin Vitest's version when using it."));
2748
+ resolved.browser.enabled ??= false;
2749
+ resolved.browser.headless ??= isCI;
2750
+ resolved.browser.isolate ??= resolved.isolate ?? true;
2751
+ resolved.browser.fileParallelism ??= options.fileParallelism ?? mode !== "benchmark";
2752
+ // disable in headless mode by default, and if CI is detected
2753
+ resolved.browser.ui ??= resolved.browser.headless === true ? false : !isCI;
2754
+ resolved.browser.commands ??= {};
2755
+ if (resolved.browser.screenshotDirectory) resolved.browser.screenshotDirectory = resolve(resolved.root, resolved.browser.screenshotDirectory);
2756
+ if (resolved.inspector.enabled) resolved.browser.trackUnhandledErrors ??= false;
2757
+ resolved.browser.viewport ??= {};
2758
+ resolved.browser.viewport.width ??= 414;
2759
+ resolved.browser.viewport.height ??= 896;
2760
+ resolved.browser.locators ??= {};
2761
+ resolved.browser.locators.testIdAttribute ??= "data-testid";
2762
+ if (typeof resolved.browser.provider === "string") {
2763
+ const source = `@vitest/browser-${resolved.browser.provider}`;
2764
+ throw new TypeError(`The \`browser.provider\` configuration was changed to accept a factory instead of a string. Add an import of "${resolved.browser.provider}" from "${source}" instead. See: https://vitest.dev/config/browser/provider`);
2765
+ }
2766
+ const isPreview = resolved.browser.provider?.name === "preview";
2767
+ if (!isPreview && resolved.browser.enabled && provider === "stackblitz") throw new Error(`stackblitz environment does not support the ${resolved.browser.provider?.name} provider. Please, use "@vitest/browser-preview" instead.`);
2768
+ if (isPreview && resolved.browser.screenshotFailures === true) {
2769
+ console.warn(c.yellow([
2770
+ `Browser provider "preview" doesn't support screenshots, `,
2771
+ `so "browser.screenshotFailures" option is forcefully disabled. `,
2772
+ `Set "browser.screenshotFailures" to false or remove it from the config to suppress this warning.`
2773
+ ].join("")));
2774
+ resolved.browser.screenshotFailures = false;
2775
+ } else resolved.browser.screenshotFailures ??= !isPreview && !resolved.browser.ui;
2776
+ if (resolved.browser.provider && resolved.browser.provider.options == null) resolved.browser.provider.options = {};
2777
+ resolved.browser.api = resolveApiServerConfig(resolved.browser, defaultBrowserPort) || { port: defaultBrowserPort };
2778
+ // enable includeTaskLocation by default in UI mode
2779
+ if (resolved.browser.enabled) {
2780
+ if (resolved.browser.ui) resolved.includeTaskLocation ??= true;
2781
+ } else if (resolved.ui) resolved.includeTaskLocation ??= true;
2782
+ if (typeof resolved.browser.trace === "string" || !resolved.browser.trace) resolved.browser.trace = { mode: resolved.browser.trace || "off" };
2783
+ if (resolved.browser.trace.tracesDir != null) resolved.browser.trace.tracesDir = resolvePath(resolved.browser.trace.tracesDir, resolved.root);
2784
+ if (toArray(resolved.reporters).some((reporter) => {
2785
+ if (Array.isArray(reporter)) return reporter[0] === "html";
2786
+ return false;
2787
+ })) resolved.includeTaskLocation ??= true;
2788
+ resolved.server ??= {};
2789
+ resolved.server.deps ??= {};
2790
+ if (resolved.server.debug?.dump || process.env.VITEST_DEBUG_DUMP) {
2791
+ const userFolder = resolved.server.debug?.dump || process.env.VITEST_DEBUG_DUMP;
2792
+ resolved.dumpDir = resolve(resolved.root, typeof userFolder === "string" && userFolder !== "true" ? userFolder : ".vitest-dump", resolved.name || "root");
2793
+ }
2794
+ resolved.testTimeout ??= resolved.browser.enabled ? 15e3 : 5e3;
2795
+ resolved.hookTimeout ??= resolved.browser.enabled ? 3e4 : 1e4;
2796
+ resolved.experimental ??= {};
2797
+ if (resolved.experimental.openTelemetry?.sdkPath) {
2798
+ const sdkPath = resolve(resolved.root, resolved.experimental.openTelemetry.sdkPath);
2799
+ resolved.experimental.openTelemetry.sdkPath = pathToFileURL$1(sdkPath).toString();
2800
+ }
2801
+ if (resolved.experimental.openTelemetry?.browserSdkPath) {
2802
+ const browserSdkPath = resolve(resolved.root, resolved.experimental.openTelemetry.browserSdkPath);
2803
+ resolved.experimental.openTelemetry.browserSdkPath = browserSdkPath;
2804
+ }
2805
+ if (resolved.experimental.fsModuleCachePath) resolved.experimental.fsModuleCachePath = resolve(resolved.root, resolved.experimental.fsModuleCachePath);
2806
+ return resolved;
2807
+ }
2808
+ function isBrowserEnabled(config) {
2809
+ return Boolean(config.browser?.enabled);
2810
+ }
2811
+ function resolveCoverageReporters(configReporters) {
2812
+ // E.g. { reporter: "html" }
2813
+ if (!Array.isArray(configReporters)) return [[configReporters, {}]];
2814
+ const resolvedReporters = [];
2815
+ for (const reporter of configReporters) if (Array.isArray(reporter))
2816
+ // E.g. { reporter: [ ["html", { skipEmpty: true }], ["lcov"], ["json", { file: "map.json" }] ]}
2817
+ resolvedReporters.push([reporter[0], reporter[1] || {}]);
2818
+ else
2819
+ // E.g. { reporter: ["html", "json"]}
2820
+ resolvedReporters.push([reporter, {}]);
2821
+ return resolvedReporters;
2822
+ }
2823
+ function isChromiumName(provider, name) {
2824
+ if (provider === "playwright") return name === "chromium";
2825
+ return name === "chrome" || name === "edge";
2826
+ }
2827
+ function hasBrowserChromium(vitest, config) {
2828
+ const browser = config.browser;
2829
+ if (!browser || !browser.provider || browser.provider.name === "preview" || !browser.enabled) return false;
2830
+ if (browser.name) return isChromiumName(browser.provider.name, browser.name);
2831
+ if (!browser.instances) return false;
2832
+ return browser.instances.some((instance) => {
2833
+ const name = instance.name || (config.name ? `${config.name} (${instance.browser})` : instance.browser);
2834
+ // browser config is filtered out
2835
+ if (!vitest.matchesProjectFilter(name)) return false;
2836
+ return isChromiumName(browser.provider.name, instance.browser);
2837
+ });
2838
+ }
2839
+ function hasOnlyBrowserChromium(vitest, config) {
2840
+ const browser = config.browser;
2841
+ if (!browser || !browser.provider || browser.provider.name === "preview" || !browser.enabled) return false;
2842
+ if (browser.name) return isChromiumName(browser.provider.name, browser.name);
2843
+ if (!browser.instances) return false;
2844
+ return browser.instances.every((instance) => {
2845
+ const name = instance.name || (config.name ? `${config.name} (${instance.browser})` : instance.browser);
2846
+ // browser config is filtered out
2847
+ if (!vitest.matchesProjectFilter(name)) return true;
2848
+ return isChromiumName(browser.provider.name, instance.browser);
2849
+ });
2850
+ }
2851
+
2852
+ const THRESHOLD_KEYS = [
2853
+ "lines",
2854
+ "functions",
2855
+ "statements",
2856
+ "branches"
2857
+ ];
2858
+ const GLOBAL_THRESHOLDS_KEY = "global";
2859
+ const DEFAULT_PROJECT = Symbol.for("default-project");
2860
+ let uniqueId = 0;
2861
+ async function getCoverageProvider(options, loader) {
2862
+ const coverageModule = await resolveCoverageProviderModule(options, loader);
2863
+ if (coverageModule) return coverageModule.getProvider();
2864
+ return null;
2865
+ }
2866
+ class BaseCoverageProvider {
2867
+ ctx;
2868
+ name;
2869
+ version;
2870
+ options;
2871
+ globCache = /* @__PURE__ */ new Map();
2872
+ coverageFiles = /* @__PURE__ */ new Map();
2873
+ pendingPromises = [];
2874
+ coverageFilesDirectory;
2875
+ roots = [];
2876
+ _initialize(ctx) {
2877
+ this.ctx = ctx;
2878
+ if (ctx.version !== this.version) ctx.logger.warn(c.yellow(`Loaded ${c.inverse(c.yellow(` vitest@${ctx.version} `))} and ${c.inverse(c.yellow(` @vitest/coverage-${this.name}@${this.version} `))}.
2879
+ Running mixed versions is not supported and may lead into bugs
2880
+ Update your dependencies and make sure the versions match.`));
2881
+ const config = ctx._coverageOptions;
2882
+ this.options = {
2883
+ ...coverageConfigDefaults,
2884
+ ...config,
2885
+ provider: this.name,
2886
+ reportsDirectory: resolve(ctx.config.root, config.reportsDirectory || coverageConfigDefaults.reportsDirectory),
2887
+ reporter: resolveCoverageReporters(config.reporter || coverageConfigDefaults.reporter),
2888
+ thresholds: config.thresholds && {
2889
+ ...config.thresholds,
2890
+ lines: config.thresholds["100"] ? 100 : config.thresholds.lines,
2891
+ branches: config.thresholds["100"] ? 100 : config.thresholds.branches,
2892
+ functions: config.thresholds["100"] ? 100 : config.thresholds.functions,
2893
+ statements: config.thresholds["100"] ? 100 : config.thresholds.statements
2894
+ }
2895
+ };
2896
+ const shard = this.ctx.config.shard;
2897
+ const tempDirectory = `.tmp${shard ? `-${shard.index}-${shard.count}` : ""}`;
2898
+ this.coverageFilesDirectory = resolve(this.options.reportsDirectory, tempDirectory);
2899
+ // If --project filter is set pick only roots of resolved projects
2900
+ this.roots = ctx.config.project?.length ? [...new Set(ctx.projects.map((project) => project.config.root))] : [ctx.config.root];
2901
+ }
2902
+ /**
2903
+ * Check if file matches `coverage.include` but not `coverage.exclude`
2904
+ */
2905
+ isIncluded(_filename, root) {
2906
+ const roots = root ? [root] : this.roots;
2907
+ const filename = slash(_filename);
2908
+ const cacheHit = this.globCache.get(filename);
2909
+ if (cacheHit !== void 0) return cacheHit;
2910
+ // File outside project root with default allowExternal
2911
+ if (this.options.allowExternal === false && roots.every((root) => !filename.startsWith(root))) {
2912
+ this.globCache.set(filename, false);
2913
+ return false;
2914
+ }
2915
+ // By default `coverage.include` matches all files, except "coverage.exclude"
2916
+ const glob = this.options.include || "**";
2917
+ const included = pm.isMatch(filename, glob, {
2918
+ contains: true,
2919
+ dot: true,
2920
+ ignore: this.options.exclude
2921
+ });
2922
+ this.globCache.set(filename, included);
2923
+ return included;
2924
+ }
2925
+ async getUntestedFilesByRoot(testedFiles, include, root) {
2926
+ let includedFiles = await glob(include, {
2927
+ cwd: root,
2928
+ ignore: [...this.options.exclude, ...testedFiles.map((file) => slash(file))],
2929
+ absolute: true,
2930
+ dot: true,
2931
+ onlyFiles: true
2932
+ });
2933
+ // Run again through picomatch as tinyglobby's exclude pattern is different ({ "exclude": ["math"] } should ignore "src/math.ts")
2934
+ includedFiles = includedFiles.filter((file) => this.isIncluded(file, root));
2935
+ if (this.ctx.config.changed) includedFiles = (this.ctx.config.related || []).filter((file) => includedFiles.includes(file));
2936
+ return includedFiles.map((file) => slash(path.resolve(root, file)));
2937
+ }
2938
+ async getUntestedFiles(testedFiles) {
2939
+ if (this.options.include == null) return [];
2940
+ const rootMapper = this.getUntestedFilesByRoot.bind(this, testedFiles, this.options.include);
2941
+ return (await Promise.all(this.roots.map(rootMapper))).flatMap((files) => files);
2942
+ }
2943
+ createCoverageMap() {
2944
+ throw new Error("BaseReporter's createCoverageMap was not overwritten");
2945
+ }
2946
+ async generateReports(_, __) {
2947
+ throw new Error("BaseReporter's generateReports was not overwritten");
2948
+ }
2949
+ async parseConfigModule(_) {
2950
+ throw new Error("BaseReporter's parseConfigModule was not overwritten");
2951
+ }
2952
+ resolveOptions() {
2953
+ return this.options;
2954
+ }
2955
+ async clean(clean = true) {
2956
+ if (clean && existsSync(this.options.reportsDirectory)) await promises.rm(this.options.reportsDirectory, {
2957
+ recursive: true,
2958
+ force: true,
2959
+ maxRetries: 10
2960
+ });
2961
+ if (existsSync(this.coverageFilesDirectory)) await promises.rm(this.coverageFilesDirectory, {
2962
+ recursive: true,
2963
+ force: true,
2964
+ maxRetries: 10
2965
+ });
2966
+ await promises.mkdir(this.coverageFilesDirectory, { recursive: true });
2967
+ this.coverageFiles = /* @__PURE__ */ new Map();
2968
+ this.pendingPromises = [];
2969
+ }
2970
+ onAfterSuiteRun({ coverage, environment, projectName, testFiles }) {
2971
+ if (!coverage) return;
2972
+ let entry = this.coverageFiles.get(projectName || DEFAULT_PROJECT);
2973
+ if (!entry) {
2974
+ entry = {};
2975
+ this.coverageFiles.set(projectName || DEFAULT_PROJECT, entry);
2976
+ }
2977
+ const testFilenames = testFiles.join();
2978
+ const filename = resolve(this.coverageFilesDirectory, `coverage-${uniqueId++}.json`);
2979
+ entry[environment] ??= {};
2980
+ // If there's a result from previous run, overwrite it
2981
+ entry[environment][testFilenames] = filename;
2982
+ const promise = promises.writeFile(filename, JSON.stringify(coverage), "utf-8");
2983
+ this.pendingPromises.push(promise);
2984
+ }
2985
+ async readCoverageFiles({ onFileRead, onFinished, onDebug }) {
2986
+ let index = 0;
2987
+ const total = this.pendingPromises.length;
2988
+ await Promise.all(this.pendingPromises);
2989
+ this.pendingPromises = [];
2990
+ for (const [projectName, coveragePerProject] of this.coverageFiles.entries()) for (const [environment, coverageByTestfiles] of Object.entries(coveragePerProject)) {
2991
+ const filenames = Object.values(coverageByTestfiles);
2992
+ const project = this.ctx.getProjectByName(projectName);
2993
+ for (const chunk of this.toSlices(filenames, this.options.processingConcurrency)) {
2994
+ if (onDebug.enabled) {
2995
+ index += chunk.length;
2996
+ onDebug(`Reading coverage results ${index}/${total}`);
2997
+ }
2998
+ await Promise.all(chunk.map(async (filename) => {
2999
+ const contents = await promises.readFile(filename, "utf-8");
3000
+ onFileRead(JSON.parse(contents));
3001
+ }));
3002
+ }
3003
+ await onFinished(project, environment);
3004
+ }
3005
+ }
3006
+ async cleanAfterRun() {
3007
+ this.coverageFiles = /* @__PURE__ */ new Map();
3008
+ await promises.rm(this.coverageFilesDirectory, { recursive: true });
3009
+ // Remove empty reports directory, e.g. when only text-reporter is used
3010
+ if (readdirSync(this.options.reportsDirectory).length === 0) await promises.rm(this.options.reportsDirectory, { recursive: true });
3011
+ }
3012
+ async onTestFailure() {
3013
+ if (!this.options.reportOnFailure) await this.cleanAfterRun();
3014
+ }
3015
+ async reportCoverage(coverageMap, { allTestsRun }) {
3016
+ await this.generateReports(coverageMap || this.createCoverageMap(), allTestsRun);
3017
+ if (!(!this.options.cleanOnRerun && this.ctx.config.watch)) await this.cleanAfterRun();
3018
+ }
3019
+ async reportThresholds(coverageMap, allTestsRun) {
3020
+ const resolvedThresholds = this.resolveThresholds(coverageMap);
3021
+ this.checkThresholds(resolvedThresholds);
3022
+ if (this.options.thresholds?.autoUpdate && allTestsRun) {
3023
+ if (!this.ctx.vite.config.configFile) throw new Error("Missing configurationFile. The \"coverage.thresholds.autoUpdate\" can only be enabled when configuration file is used.");
3024
+ const configFilePath = this.ctx.vite.config.configFile;
3025
+ const configModule = await this.parseConfigModule(configFilePath);
3026
+ await this.updateThresholds({
3027
+ thresholds: resolvedThresholds,
3028
+ configurationFile: configModule,
3029
+ onUpdate: () => writeFileSync(configFilePath, configModule.generate().code, "utf-8")
3030
+ });
3031
+ }
3032
+ }
3033
+ /**
3034
+ * Constructs collected coverage and users' threshold options into separate sets
3035
+ * where each threshold set holds their own coverage maps. Threshold set is either
3036
+ * for specific files defined by glob pattern or global for all other files.
3037
+ */
3038
+ resolveThresholds(coverageMap) {
3039
+ const resolvedThresholds = [];
3040
+ const files = coverageMap.files();
3041
+ const globalCoverageMap = this.createCoverageMap();
3042
+ for (const key of Object.keys(this.options.thresholds)) {
3043
+ if (key === "perFile" || key === "autoUpdate" || key === "100" || THRESHOLD_KEYS.includes(key)) continue;
3044
+ const glob = key;
3045
+ const globThresholds = resolveGlobThresholds(this.options.thresholds[glob]);
3046
+ const globCoverageMap = this.createCoverageMap();
3047
+ const matcher = pm(glob);
3048
+ const matchingFiles = files.filter((file) => matcher(relative(this.ctx.config.root, file)));
3049
+ for (const file of matchingFiles) {
3050
+ const fileCoverage = coverageMap.fileCoverageFor(file);
3051
+ globCoverageMap.addFileCoverage(fileCoverage);
3052
+ }
3053
+ resolvedThresholds.push({
3054
+ name: glob,
3055
+ coverageMap: globCoverageMap,
3056
+ thresholds: globThresholds
3057
+ });
3058
+ }
3059
+ // Global threshold is for all files, even if they are included by glob patterns
3060
+ for (const file of files) {
3061
+ const fileCoverage = coverageMap.fileCoverageFor(file);
3062
+ globalCoverageMap.addFileCoverage(fileCoverage);
3063
+ }
3064
+ resolvedThresholds.unshift({
3065
+ name: GLOBAL_THRESHOLDS_KEY,
3066
+ coverageMap: globalCoverageMap,
3067
+ thresholds: {
3068
+ branches: this.options.thresholds?.branches,
3069
+ functions: this.options.thresholds?.functions,
3070
+ lines: this.options.thresholds?.lines,
3071
+ statements: this.options.thresholds?.statements
3072
+ }
3073
+ });
3074
+ return resolvedThresholds;
3075
+ }
3076
+ /**
3077
+ * Check collected coverage against configured thresholds. Sets exit code to 1 when thresholds not reached.
3078
+ */
3079
+ checkThresholds(allThresholds) {
3080
+ for (const { coverageMap, thresholds, name } of allThresholds) {
3081
+ if (thresholds.branches === void 0 && thresholds.functions === void 0 && thresholds.lines === void 0 && thresholds.statements === void 0) continue;
3082
+ // Construct list of coverage summaries where thresholds are compared against
3083
+ const summaries = this.options.thresholds?.perFile ? coverageMap.files().map((file) => ({
3084
+ file,
3085
+ summary: coverageMap.fileCoverageFor(file).toSummary()
3086
+ })) : [{
3087
+ file: null,
3088
+ summary: coverageMap.getCoverageSummary()
3089
+ }];
3090
+ // Check thresholds of each summary
3091
+ for (const { summary, file } of summaries) for (const thresholdKey of THRESHOLD_KEYS) {
3092
+ const threshold = thresholds[thresholdKey];
3093
+ if (threshold === void 0) continue;
3094
+ /**
3095
+ * Positive thresholds are treated as minimum coverage percentages (X means: X% of lines must be covered),
3096
+ * while negative thresholds are treated as maximum uncovered counts (-X means: X lines may be uncovered).
3097
+ */
3098
+ if (threshold >= 0) {
3099
+ const coverage = summary.data[thresholdKey].pct;
3100
+ if (coverage < threshold) {
3101
+ process.exitCode = 1;
3102
+ /**
3103
+ * Generate error message based on perFile flag:
3104
+ * - ERROR: Coverage for statements (33.33%) does not meet threshold (85%) for src/math.ts
3105
+ * - ERROR: Coverage for statements (50%) does not meet global threshold (85%)
3106
+ */
3107
+ let errorMessage = `ERROR: Coverage for ${thresholdKey} (${coverage}%) does not meet ${name === GLOBAL_THRESHOLDS_KEY ? name : `"${name}"`} threshold (${threshold}%)`;
3108
+ if (this.options.thresholds?.perFile && file) errorMessage += ` for ${relative("./", file).replace(/\\/g, "/")}`;
3109
+ this.ctx.logger.error(errorMessage);
3110
+ }
3111
+ } else {
3112
+ const uncovered = summary.data[thresholdKey].total - summary.data[thresholdKey].covered;
3113
+ const absoluteThreshold = threshold * -1;
3114
+ if (uncovered > absoluteThreshold) {
3115
+ process.exitCode = 1;
3116
+ /**
3117
+ * Generate error message based on perFile flag:
3118
+ * - ERROR: Uncovered statements (33) exceed threshold (30) for src/math.ts
3119
+ * - ERROR: Uncovered statements (33) exceed global threshold (30)
3120
+ */
3121
+ let errorMessage = `ERROR: Uncovered ${thresholdKey} (${uncovered}) exceed ${name === GLOBAL_THRESHOLDS_KEY ? name : `"${name}"`} threshold (${absoluteThreshold})`;
3122
+ if (this.options.thresholds?.perFile && file) errorMessage += ` for ${relative("./", file).replace(/\\/g, "/")}`;
3123
+ this.ctx.logger.error(errorMessage);
3124
+ }
3125
+ }
3126
+ }
3127
+ }
3128
+ }
3129
+ /**
3130
+ * Check if current coverage is above configured thresholds and bump the thresholds if needed
3131
+ */
3132
+ async updateThresholds({ thresholds: allThresholds, onUpdate, configurationFile }) {
3133
+ let updatedThresholds = false;
3134
+ const config = resolveConfig(configurationFile);
3135
+ assertConfigurationModule(config);
3136
+ for (const { coverageMap, thresholds, name } of allThresholds) {
3137
+ const summaries = this.options.thresholds?.perFile ? coverageMap.files().map((file) => coverageMap.fileCoverageFor(file).toSummary()) : [coverageMap.getCoverageSummary()];
3138
+ const thresholdsToUpdate = [];
3139
+ for (const key of THRESHOLD_KEYS) {
3140
+ const threshold = thresholds[key] ?? 100;
3141
+ /**
3142
+ * Positive thresholds are treated as minimum coverage percentages (X means: X% of lines must be covered),
3143
+ * while negative thresholds are treated as maximum uncovered counts (-X means: X lines may be uncovered).
3144
+ */
3145
+ if (threshold >= 0) {
3146
+ const actual = Math.min(...summaries.map((summary) => summary[key].pct));
3147
+ if (actual > threshold) thresholdsToUpdate.push([key, actual]);
3148
+ } else {
3149
+ const absoluteThreshold = threshold * -1;
3150
+ const actual = Math.max(...summaries.map((summary) => summary[key].total - summary[key].covered));
3151
+ if (actual < absoluteThreshold) {
3152
+ // If everything was covered, set new threshold to 100% (since a threshold of 0 would be considered as 0%)
3153
+ const updatedThreshold = actual === 0 ? 100 : actual * -1;
3154
+ thresholdsToUpdate.push([key, updatedThreshold]);
3155
+ }
3156
+ }
3157
+ }
3158
+ if (thresholdsToUpdate.length === 0) continue;
3159
+ updatedThresholds = true;
3160
+ const thresholdFormatter = typeof this.options.thresholds?.autoUpdate === "function" ? this.options.thresholds?.autoUpdate : (value) => value;
3161
+ for (const [threshold, newValue] of thresholdsToUpdate) {
3162
+ const formattedValue = thresholdFormatter(newValue);
3163
+ if (name === GLOBAL_THRESHOLDS_KEY) config.test.coverage.thresholds[threshold] = formattedValue;
3164
+ else {
3165
+ const glob = config.test.coverage.thresholds[name];
3166
+ glob[threshold] = formattedValue;
3167
+ }
3168
+ }
3169
+ }
3170
+ if (updatedThresholds) {
3171
+ this.ctx.logger.log("Updating thresholds to configuration file. You may want to push with updated coverage thresholds.");
3172
+ onUpdate();
3173
+ }
3174
+ }
3175
+ async mergeReports(coverageMaps) {
3176
+ const coverageMap = this.createCoverageMap();
3177
+ for (const coverage of coverageMaps) coverageMap.merge(coverage);
3178
+ await this.generateReports(coverageMap, true);
3179
+ }
3180
+ hasTerminalReporter(reporters) {
3181
+ return reporters.some(([reporter]) => reporter === "text" || reporter === "text-summary" || reporter === "text-lcov" || reporter === "teamcity");
3182
+ }
3183
+ toSlices(array, size) {
3184
+ return array.reduce((chunks, item) => {
3185
+ const index = Math.max(0, chunks.length - 1);
3186
+ const lastChunk = chunks[index] || [];
3187
+ chunks[index] = lastChunk;
3188
+ if (lastChunk.length >= size) chunks.push([item]);
3189
+ else lastChunk.push(item);
3190
+ return chunks;
3191
+ }, []);
3192
+ }
3193
+ createUncoveredFileTransformer(ctx) {
3194
+ const servers = [...ctx.projects.map((project) => ({
3195
+ root: project.config.root,
3196
+ isBrowserEnabled: project.isBrowserEnabled(),
3197
+ vite: project.vite
3198
+ })), (
3199
+ // Check core last as it will match all files anyway
3200
+ {
3201
+ root: ctx.config.root,
3202
+ vite: ctx.vite,
3203
+ isBrowserEnabled: ctx.getRootProject().isBrowserEnabled()
3204
+ })];
3205
+ return async function transformFile(filename) {
3206
+ let lastError;
3207
+ for (const { root, vite, isBrowserEnabled } of servers) {
3208
+ // On Windows root doesn't start with "/" while filenames do
3209
+ if (!filename.startsWith(root) && !filename.startsWith(`/${root}`)) continue;
3210
+ if (isBrowserEnabled) {
3211
+ const result = await vite.environments.client.transformRequest(filename).catch(() => null);
3212
+ if (result) return result;
3213
+ }
3214
+ try {
3215
+ return await vite.environments.ssr.transformRequest(filename);
3216
+ } catch (error) {
3217
+ lastError = error;
3218
+ }
3219
+ }
3220
+ // All vite-node servers failed to transform the file
3221
+ throw lastError;
3222
+ };
3223
+ }
3224
+ }
3225
+ /**
3226
+ * Narrow down `unknown` glob thresholds to resolved ones
3227
+ */
3228
+ function resolveGlobThresholds(thresholds) {
3229
+ if (!thresholds || typeof thresholds !== "object") return {};
3230
+ if (100 in thresholds && thresholds[100] === true) return {
3231
+ lines: 100,
3232
+ branches: 100,
3233
+ functions: 100,
3234
+ statements: 100
3235
+ };
3236
+ return {
3237
+ lines: "lines" in thresholds && typeof thresholds.lines === "number" ? thresholds.lines : void 0,
3238
+ branches: "branches" in thresholds && typeof thresholds.branches === "number" ? thresholds.branches : void 0,
3239
+ functions: "functions" in thresholds && typeof thresholds.functions === "number" ? thresholds.functions : void 0,
3240
+ statements: "statements" in thresholds && typeof thresholds.statements === "number" ? thresholds.statements : void 0
3241
+ };
3242
+ }
3243
+ function assertConfigurationModule(config) {
3244
+ try {
3245
+ // @ts-expect-error -- Intentional unsafe null pointer check as wrapped in try-catch
3246
+ if (typeof config.test.coverage.thresholds !== "object") throw new TypeError("Expected config.test.coverage.thresholds to be an object");
3247
+ } catch (error) {
3248
+ const message = error instanceof Error ? error.message : String(error);
3249
+ throw new Error(`Unable to parse thresholds from configuration file: ${message}`);
3250
+ }
3251
+ }
3252
+ function resolveConfig(configModule) {
3253
+ const mod = configModule.exports.default;
3254
+ try {
3255
+ // Check for "export default { test: {...} }"
3256
+ if (mod.$type === "object") return mod;
3257
+ // "export default defineConfig(...)"
3258
+ let config = resolveDefineConfig(mod);
3259
+ if (config) return config;
3260
+ // "export default mergeConfig(..., defineConfig(...))"
3261
+ if (mod.$type === "function-call" && mod.$callee === "mergeConfig") {
3262
+ config = resolveMergeConfig(mod);
3263
+ if (config) return config;
3264
+ }
3265
+ } catch (error) {
3266
+ // Reduce magicast's verbose errors to readable ones
3267
+ throw new Error(error instanceof Error ? error.message : String(error));
3268
+ }
3269
+ throw new Error("Failed to update coverage thresholds. Configuration file is too complex.");
3270
+ }
3271
+ function resolveDefineConfig(mod) {
3272
+ if (mod.$type === "function-call" && mod.$callee === "defineConfig") {
3273
+ // "export default defineConfig({ test: {...} })"
3274
+ if (mod.$args[0].$type === "object") return mod.$args[0];
3275
+ if (mod.$args[0].$type === "arrow-function-expression") {
3276
+ if (mod.$args[0].$body.$type === "object")
3277
+ // "export default defineConfig(() => ({ test: {...} }))"
3278
+ return mod.$args[0].$body;
3279
+ // "export default defineConfig(() => mergeConfig({...}, ...))"
3280
+ const config = resolveMergeConfig(mod.$args[0].$body);
3281
+ if (config) return config;
3282
+ }
3283
+ }
3284
+ }
3285
+ function resolveMergeConfig(mod) {
3286
+ if (mod.$type === "function-call" && mod.$callee === "mergeConfig") for (const arg of mod.$args) {
3287
+ const config = resolveDefineConfig(arg);
3288
+ if (config) return config;
3289
+ }
3290
+ }
3291
+
3292
+ export { BaseCoverageProvider as B, RandomSequencer as R, resolveApiServerConfig as a, BaseSequencer as b, isBrowserEnabled as c, resolveModule as d, getCoverageProvider as g, hash as h, isPackageExists as i, resolveConfig$1 as r };