create-yss-spec 2.1.5 → 2.1.6

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 (3257) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/template/.agents/skills/yss-audit-log/references/source-index.md +4 -3
  4. package/template/.agents/skills/yss-cache/references/source-index.md +4 -3
  5. package/template/.agents/skills/yss-components/references/frontend-docs.md +1 -1
  6. package/template/.agents/skills/yss-db2mybatis/SKILL.md +6 -5
  7. package/template/.agents/skills/yss-db2mybatis/scripts/db2mybatis.mjs +145 -0
  8. package/template/.agents/skills/yss-db2mybatis/scripts/db2mybatis.test.mjs +32 -0
  9. package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +5 -5
  10. package/template/.agents/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +2 -2
  11. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  12. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  13. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  14. package/template/.agents/skills/yss-design-system/SKILL.md +2 -2
  15. package/template/.agents/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  16. package/template/.agents/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  17. package/template/.agents/skills/yss-dictionary/references/source-index.md +25 -25
  18. package/template/.agents/skills/yss-distributed-id/references/source-index.md +6 -6
  19. package/template/.agents/skills/yss-dto/references/source-index.md +7 -4
  20. package/template/.agents/skills/yss-excel-mvc/references/source-index.md +3 -3
  21. package/template/.agents/skills/yss-exception/references/source-index.md +3 -3
  22. package/template/.agents/skills/yss-hook/references/frontend-docs.md +1 -1
  23. package/template/.agents/skills/yss-jdbc/references/source-index.md +3 -3
  24. package/template/.agents/skills/yss-log/references/source-index.md +3 -3
  25. package/template/.agents/skills/yss-mybatis/references/source-index.md +3 -3
  26. package/template/.agents/skills/yss-page-module-development/references/frontend-docs.md +1 -1
  27. package/template/.agents/skills/yss-product-lifecycle/SKILL.md +2 -0
  28. package/template/.agents/skills/yss-resilience4j/references/source-index.md +3 -3
  29. package/template/.agents/skills/yss-security-algorithm/references/source-index.md +3 -3
  30. package/template/.agents/skills/yss-source-index/SKILL.md +3 -3
  31. package/template/.agents/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  32. package/template/.agents/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  33. package/template/.agents/skills/yss-taskflow/references/source-index.md +3 -3
  34. package/template/.agents/skills/yss-ui/references/frontend-docs.md +1 -1
  35. package/template/.agents/skills/yss-use-table-height/references/frontend-docs.md +1 -1
  36. package/template/.agents/skills/yss-use-tree-height/references/frontend-docs.md +1 -1
  37. package/template/.agents/skills/yss-userinfo/references/source-index.md +3 -3
  38. package/template/.agents/skills/yss-validation/references/source-index.md +5 -24
  39. package/template/.agents/skills/yss-valuation/references/source-index.md +3 -3
  40. package/template/.agents/skills/yss-variable/references/source-index.md +6 -34
  41. package/template/.agents/skills/yss-web-controller/SKILL.md +4 -4
  42. package/template/.agents/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  43. package/template/.agents/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  44. package/template/.claude/skills/yss-audit-log/references/source-index.md +4 -3
  45. package/template/.claude/skills/yss-cache/references/source-index.md +4 -3
  46. package/template/.claude/skills/yss-components/references/frontend-docs.md +1 -1
  47. package/template/.claude/skills/yss-db2mybatis/SKILL.md +6 -5
  48. package/template/.claude/skills/yss-db2mybatis/scripts/db2mybatis.mjs +145 -0
  49. package/template/.claude/skills/yss-db2mybatis/scripts/db2mybatis.test.mjs +32 -0
  50. package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +5 -5
  51. package/template/.claude/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +2 -2
  52. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  53. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  54. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  55. package/template/.claude/skills/yss-design-system/SKILL.md +2 -2
  56. package/template/.claude/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  57. package/template/.claude/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  58. package/template/.claude/skills/yss-dictionary/references/source-index.md +25 -25
  59. package/template/.claude/skills/yss-distributed-id/references/source-index.md +6 -6
  60. package/template/.claude/skills/yss-dto/references/source-index.md +7 -4
  61. package/template/.claude/skills/yss-excel-mvc/references/source-index.md +3 -3
  62. package/template/.claude/skills/yss-exception/references/source-index.md +3 -3
  63. package/template/.claude/skills/yss-hook/references/frontend-docs.md +1 -1
  64. package/template/.claude/skills/yss-jdbc/references/source-index.md +3 -3
  65. package/template/.claude/skills/yss-log/references/source-index.md +3 -3
  66. package/template/.claude/skills/yss-mybatis/references/source-index.md +3 -3
  67. package/template/.claude/skills/yss-page-module-development/references/frontend-docs.md +1 -1
  68. package/template/.claude/skills/yss-product-lifecycle/SKILL.md +2 -0
  69. package/template/.claude/skills/yss-resilience4j/references/source-index.md +3 -3
  70. package/template/.claude/skills/yss-security-algorithm/references/source-index.md +3 -3
  71. package/template/.claude/skills/yss-source-index/SKILL.md +3 -3
  72. package/template/.claude/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  73. package/template/.claude/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  74. package/template/.claude/skills/yss-taskflow/references/source-index.md +3 -3
  75. package/template/.claude/skills/yss-ui/references/frontend-docs.md +1 -1
  76. package/template/.claude/skills/yss-use-table-height/references/frontend-docs.md +1 -1
  77. package/template/.claude/skills/yss-use-tree-height/references/frontend-docs.md +1 -1
  78. package/template/.claude/skills/yss-userinfo/references/source-index.md +3 -3
  79. package/template/.claude/skills/yss-validation/references/source-index.md +5 -24
  80. package/template/.claude/skills/yss-valuation/references/source-index.md +3 -3
  81. package/template/.claude/skills/yss-variable/references/source-index.md +6 -34
  82. package/template/.claude/skills/yss-web-controller/SKILL.md +4 -4
  83. package/template/.claude/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  84. package/template/.claude/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  85. package/template/.codex/skills/yss-audit-log/references/source-index.md +4 -3
  86. package/template/.codex/skills/yss-cache/references/source-index.md +4 -3
  87. package/template/.codex/skills/yss-components/references/frontend-docs.md +1 -1
  88. package/template/.codex/skills/yss-db2mybatis/SKILL.md +6 -5
  89. package/template/.codex/skills/yss-db2mybatis/scripts/db2mybatis.mjs +145 -0
  90. package/template/.codex/skills/yss-db2mybatis/scripts/db2mybatis.test.mjs +32 -0
  91. package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +5 -5
  92. package/template/.codex/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +2 -2
  93. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  94. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  95. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  96. package/template/.codex/skills/yss-design-system/SKILL.md +2 -2
  97. package/template/.codex/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  98. package/template/.codex/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  99. package/template/.codex/skills/yss-dictionary/references/source-index.md +25 -25
  100. package/template/.codex/skills/yss-distributed-id/references/source-index.md +6 -6
  101. package/template/.codex/skills/yss-dto/references/source-index.md +7 -4
  102. package/template/.codex/skills/yss-excel-mvc/references/source-index.md +3 -3
  103. package/template/.codex/skills/yss-exception/references/source-index.md +3 -3
  104. package/template/.codex/skills/yss-hook/references/frontend-docs.md +1 -1
  105. package/template/.codex/skills/yss-jdbc/references/source-index.md +3 -3
  106. package/template/.codex/skills/yss-log/references/source-index.md +3 -3
  107. package/template/.codex/skills/yss-mybatis/references/source-index.md +3 -3
  108. package/template/.codex/skills/yss-page-module-development/references/frontend-docs.md +1 -1
  109. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +2 -0
  110. package/template/.codex/skills/yss-resilience4j/references/source-index.md +3 -3
  111. package/template/.codex/skills/yss-security-algorithm/references/source-index.md +3 -3
  112. package/template/.codex/skills/yss-source-index/SKILL.md +3 -3
  113. package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  114. package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  115. package/template/.codex/skills/yss-taskflow/references/source-index.md +3 -3
  116. package/template/.codex/skills/yss-ui/references/frontend-docs.md +1 -1
  117. package/template/.codex/skills/yss-use-table-height/references/frontend-docs.md +1 -1
  118. package/template/.codex/skills/yss-use-tree-height/references/frontend-docs.md +1 -1
  119. package/template/.codex/skills/yss-userinfo/references/source-index.md +3 -3
  120. package/template/.codex/skills/yss-validation/references/source-index.md +5 -24
  121. package/template/.codex/skills/yss-valuation/references/source-index.md +3 -3
  122. package/template/.codex/skills/yss-variable/references/source-index.md +6 -34
  123. package/template/.codex/skills/yss-web-controller/SKILL.md +4 -4
  124. package/template/.codex/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  125. package/template/.codex/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  126. package/template/.github/workflows/template-node-tooling.yml +59 -0
  127. package/template/.hermes/skills/yss-audit-log/references/source-index.md +4 -3
  128. package/template/.hermes/skills/yss-cache/references/source-index.md +4 -3
  129. package/template/.hermes/skills/yss-components/references/frontend-docs.md +1 -1
  130. package/template/.hermes/skills/yss-db2mybatis/SKILL.md +6 -5
  131. package/template/.hermes/skills/yss-db2mybatis/scripts/db2mybatis.mjs +145 -0
  132. package/template/.hermes/skills/yss-db2mybatis/scripts/db2mybatis.test.mjs +32 -0
  133. package/template/.hermes/skills/yss-ddd-scaffold-generator/SKILL.md +5 -5
  134. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +2 -2
  135. package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  136. package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  137. package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  138. package/template/.hermes/skills/yss-design-system/SKILL.md +2 -2
  139. package/template/.hermes/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  140. package/template/.hermes/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  141. package/template/.hermes/skills/yss-dictionary/references/source-index.md +25 -25
  142. package/template/.hermes/skills/yss-distributed-id/references/source-index.md +6 -6
  143. package/template/.hermes/skills/yss-dto/references/source-index.md +7 -4
  144. package/template/.hermes/skills/yss-excel-mvc/references/source-index.md +3 -3
  145. package/template/.hermes/skills/yss-exception/references/source-index.md +3 -3
  146. package/template/.hermes/skills/yss-hook/references/frontend-docs.md +1 -1
  147. package/template/.hermes/skills/yss-jdbc/references/source-index.md +3 -3
  148. package/template/.hermes/skills/yss-log/references/source-index.md +3 -3
  149. package/template/.hermes/skills/yss-mybatis/references/source-index.md +3 -3
  150. package/template/.hermes/skills/yss-page-module-development/references/frontend-docs.md +1 -1
  151. package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +2 -0
  152. package/template/.hermes/skills/yss-resilience4j/references/source-index.md +3 -3
  153. package/template/.hermes/skills/yss-security-algorithm/references/source-index.md +3 -3
  154. package/template/.hermes/skills/yss-source-index/SKILL.md +3 -3
  155. package/template/.hermes/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  156. package/template/.hermes/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  157. package/template/.hermes/skills/yss-taskflow/references/source-index.md +3 -3
  158. package/template/.hermes/skills/yss-ui/references/frontend-docs.md +1 -1
  159. package/template/.hermes/skills/yss-use-table-height/references/frontend-docs.md +1 -1
  160. package/template/.hermes/skills/yss-use-tree-height/references/frontend-docs.md +1 -1
  161. package/template/.hermes/skills/yss-userinfo/references/source-index.md +3 -3
  162. package/template/.hermes/skills/yss-validation/references/source-index.md +5 -24
  163. package/template/.hermes/skills/yss-valuation/references/source-index.md +3 -3
  164. package/template/.hermes/skills/yss-variable/references/source-index.md +6 -34
  165. package/template/.hermes/skills/yss-web-controller/SKILL.md +4 -4
  166. package/template/.hermes/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  167. package/template/.hermes/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  168. package/template/.nvmrc +1 -0
  169. package/template/.pi/skills/yss-audit-log/references/source-index.md +4 -3
  170. package/template/.pi/skills/yss-cache/references/source-index.md +4 -3
  171. package/template/.pi/skills/yss-components/references/frontend-docs.md +1 -1
  172. package/template/.pi/skills/yss-db2mybatis/SKILL.md +6 -5
  173. package/template/.pi/skills/yss-db2mybatis/scripts/db2mybatis.mjs +145 -0
  174. package/template/.pi/skills/yss-db2mybatis/scripts/db2mybatis.test.mjs +32 -0
  175. package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +5 -5
  176. package/template/.pi/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +2 -2
  177. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  178. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  179. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  180. package/template/.pi/skills/yss-design-system/SKILL.md +2 -2
  181. package/template/.pi/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  182. package/template/.pi/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  183. package/template/.pi/skills/yss-dictionary/references/source-index.md +25 -25
  184. package/template/.pi/skills/yss-distributed-id/references/source-index.md +6 -6
  185. package/template/.pi/skills/yss-dto/references/source-index.md +7 -4
  186. package/template/.pi/skills/yss-excel-mvc/references/source-index.md +3 -3
  187. package/template/.pi/skills/yss-exception/references/source-index.md +3 -3
  188. package/template/.pi/skills/yss-hook/references/frontend-docs.md +1 -1
  189. package/template/.pi/skills/yss-jdbc/references/source-index.md +3 -3
  190. package/template/.pi/skills/yss-log/references/source-index.md +3 -3
  191. package/template/.pi/skills/yss-mybatis/references/source-index.md +3 -3
  192. package/template/.pi/skills/yss-page-module-development/references/frontend-docs.md +1 -1
  193. package/template/.pi/skills/yss-product-lifecycle/SKILL.md +2 -0
  194. package/template/.pi/skills/yss-resilience4j/references/source-index.md +3 -3
  195. package/template/.pi/skills/yss-security-algorithm/references/source-index.md +3 -3
  196. package/template/.pi/skills/yss-source-index/SKILL.md +3 -3
  197. package/template/.pi/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  198. package/template/.pi/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  199. package/template/.pi/skills/yss-taskflow/references/source-index.md +3 -3
  200. package/template/.pi/skills/yss-ui/references/frontend-docs.md +1 -1
  201. package/template/.pi/skills/yss-use-table-height/references/frontend-docs.md +1 -1
  202. package/template/.pi/skills/yss-use-tree-height/references/frontend-docs.md +1 -1
  203. package/template/.pi/skills/yss-userinfo/references/source-index.md +3 -3
  204. package/template/.pi/skills/yss-validation/references/source-index.md +5 -24
  205. package/template/.pi/skills/yss-valuation/references/source-index.md +3 -3
  206. package/template/.pi/skills/yss-variable/references/source-index.md +6 -34
  207. package/template/.pi/skills/yss-web-controller/SKILL.md +4 -4
  208. package/template/.pi/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  209. package/template/.pi/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  210. package/template/.qoder/skills/yss-audit-log/references/source-index.md +4 -3
  211. package/template/.qoder/skills/yss-cache/references/source-index.md +4 -3
  212. package/template/.qoder/skills/yss-components/references/frontend-docs.md +1 -1
  213. package/template/.qoder/skills/yss-db2mybatis/SKILL.md +6 -5
  214. package/template/.qoder/skills/yss-db2mybatis/scripts/db2mybatis.mjs +145 -0
  215. package/template/.qoder/skills/yss-db2mybatis/scripts/db2mybatis.test.mjs +32 -0
  216. package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +5 -5
  217. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +2 -2
  218. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  219. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  220. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  221. package/template/.qoder/skills/yss-design-system/SKILL.md +2 -2
  222. package/template/.qoder/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  223. package/template/.qoder/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  224. package/template/.qoder/skills/yss-dictionary/references/source-index.md +25 -25
  225. package/template/.qoder/skills/yss-distributed-id/references/source-index.md +6 -6
  226. package/template/.qoder/skills/yss-dto/references/source-index.md +7 -4
  227. package/template/.qoder/skills/yss-excel-mvc/references/source-index.md +3 -3
  228. package/template/.qoder/skills/yss-exception/references/source-index.md +3 -3
  229. package/template/.qoder/skills/yss-hook/references/frontend-docs.md +1 -1
  230. package/template/.qoder/skills/yss-jdbc/references/source-index.md +3 -3
  231. package/template/.qoder/skills/yss-log/references/source-index.md +3 -3
  232. package/template/.qoder/skills/yss-mybatis/references/source-index.md +3 -3
  233. package/template/.qoder/skills/yss-page-module-development/references/frontend-docs.md +1 -1
  234. package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +2 -0
  235. package/template/.qoder/skills/yss-resilience4j/references/source-index.md +3 -3
  236. package/template/.qoder/skills/yss-security-algorithm/references/source-index.md +3 -3
  237. package/template/.qoder/skills/yss-source-index/SKILL.md +3 -3
  238. package/template/.qoder/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  239. package/template/.qoder/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  240. package/template/.qoder/skills/yss-taskflow/references/source-index.md +3 -3
  241. package/template/.qoder/skills/yss-ui/references/frontend-docs.md +1 -1
  242. package/template/.qoder/skills/yss-use-table-height/references/frontend-docs.md +1 -1
  243. package/template/.qoder/skills/yss-use-tree-height/references/frontend-docs.md +1 -1
  244. package/template/.qoder/skills/yss-userinfo/references/source-index.md +3 -3
  245. package/template/.qoder/skills/yss-validation/references/source-index.md +5 -24
  246. package/template/.qoder/skills/yss-valuation/references/source-index.md +3 -3
  247. package/template/.qoder/skills/yss-variable/references/source-index.md +6 -34
  248. package/template/.qoder/skills/yss-web-controller/SKILL.md +4 -4
  249. package/template/.qoder/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  250. package/template/.qoder/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  251. package/template/.trae/skills/yss-audit-log/references/source-index.md +4 -3
  252. package/template/.trae/skills/yss-cache/references/source-index.md +4 -3
  253. package/template/.trae/skills/yss-components/references/frontend-docs.md +1 -1
  254. package/template/.trae/skills/yss-db2mybatis/SKILL.md +6 -5
  255. package/template/.trae/skills/yss-db2mybatis/scripts/db2mybatis.mjs +145 -0
  256. package/template/.trae/skills/yss-db2mybatis/scripts/db2mybatis.test.mjs +32 -0
  257. package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +5 -5
  258. package/template/.trae/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +2 -2
  259. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  260. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  261. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  262. package/template/.trae/skills/yss-design-system/SKILL.md +2 -2
  263. package/template/.trae/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  264. package/template/.trae/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  265. package/template/.trae/skills/yss-dictionary/references/source-index.md +25 -25
  266. package/template/.trae/skills/yss-distributed-id/references/source-index.md +6 -6
  267. package/template/.trae/skills/yss-dto/references/source-index.md +7 -4
  268. package/template/.trae/skills/yss-excel-mvc/references/source-index.md +3 -3
  269. package/template/.trae/skills/yss-exception/references/source-index.md +3 -3
  270. package/template/.trae/skills/yss-hook/references/frontend-docs.md +1 -1
  271. package/template/.trae/skills/yss-jdbc/references/source-index.md +3 -3
  272. package/template/.trae/skills/yss-log/references/source-index.md +3 -3
  273. package/template/.trae/skills/yss-mybatis/references/source-index.md +3 -3
  274. package/template/.trae/skills/yss-page-module-development/references/frontend-docs.md +1 -1
  275. package/template/.trae/skills/yss-product-lifecycle/SKILL.md +2 -0
  276. package/template/.trae/skills/yss-resilience4j/references/source-index.md +3 -3
  277. package/template/.trae/skills/yss-security-algorithm/references/source-index.md +3 -3
  278. package/template/.trae/skills/yss-source-index/SKILL.md +3 -3
  279. package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  280. package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  281. package/template/.trae/skills/yss-taskflow/references/source-index.md +3 -3
  282. package/template/.trae/skills/yss-ui/references/frontend-docs.md +1 -1
  283. package/template/.trae/skills/yss-use-table-height/references/frontend-docs.md +1 -1
  284. package/template/.trae/skills/yss-use-tree-height/references/frontend-docs.md +1 -1
  285. package/template/.trae/skills/yss-userinfo/references/source-index.md +3 -3
  286. package/template/.trae/skills/yss-validation/references/source-index.md +5 -24
  287. package/template/.trae/skills/yss-valuation/references/source-index.md +3 -3
  288. package/template/.trae/skills/yss-variable/references/source-index.md +6 -34
  289. package/template/.trae/skills/yss-web-controller/SKILL.md +4 -4
  290. package/template/.trae/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  291. package/template/.trae/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  292. package/template/CONTEXT.md +2 -0
  293. package/template/README.md +0 -2
  294. package/template/__yss_dotfile__.gitignore +2 -17
  295. package/template/docs/agents/skills-maintenance.md +2 -0
  296. package/template/docs/architecture/README.md +1 -18
  297. package/template/docs/design/README.md +1 -2
  298. package/template/docs/user-guide//345/244/226/351/203/250/345/221/275/344/273/244/350/241/214/345/267/245/345/205/267/345/256/236/350/267/265/346/214/207/345/215/227.md +1 -1
  299. package/template/docs/user-guide//350/247/204/346/240/274/344/270/216/344/273/273/345/212/241/350/277/201/347/247/273/346/214/207/345/215/227.md +4 -0
  300. package/template/scripts/export-yss-skills +3 -385
  301. package/template/scripts/generate-lifecycle-artifacts +2 -26
  302. package/template/scripts/implementation-path-policy +6 -0
  303. package/template/scripts/lib/export-skills.mjs +186 -0
  304. package/template/scripts/lib/implementation-path-policy.mjs +32 -0
  305. package/template/scripts/lib/lifecycle-registry.mjs +175 -0
  306. package/template/scripts/lib/repository-mode.mjs +39 -0
  307. package/template/scripts/lib/scenario-checks.mjs +54 -0
  308. package/template/scripts/lib/skill-supply-chain.mjs +124 -0
  309. package/template/scripts/node-generate-lifecycle-artifacts.mjs +33 -0
  310. package/template/scripts/node-verify-lifecycle-registry.mjs +61 -0
  311. package/template/scripts/repository-mode +9 -0
  312. package/template/scripts/sync-skills +9 -154
  313. package/template/scripts/update-skill-lock +8 -254
  314. package/template/scripts/vendor/NOTICES.md +45 -0
  315. package/template/scripts/vendor/manifest.json +563 -0
  316. package/template/scripts/vendor/xml.mjs +4103 -0
  317. package/template/scripts/vendor/yaml.mjs +6311 -0
  318. package/template/scripts/verify-governance-release +37 -38
  319. package/template/scripts/verify-implementation-path-scenarios +36 -39
  320. package/template/scripts/verify-lifecycle-registry +2 -67
  321. package/template/scripts/verify-lifecycle-scenarios +4 -694
  322. package/template/scripts/verify-matt-yss-integration-scenarios +3 -801
  323. package/template/scripts/verify-openapi-json-handoff-scenarios +3 -270
  324. package/template/scripts/verify-openapi-yaml-first-scenarios +3 -120
  325. package/template/scripts/verify-prototype-backend-scaffold-scenarios +3 -261
  326. package/template/scripts/verify-scaffold-generator-scenarios +4 -4
  327. package/template/scripts/verify-template +18 -277
  328. package/template/scripts/verify-yss-router-scenarios +3 -942
  329. package/template/scripts/verify-yss-ui-scenarios +54 -65
  330. package/template/skills-lock.json +88 -163
  331. package/template/wiki/raw/README.md +0 -2
  332. package/template/wiki/raw/skills-lock.json +0 -75
  333. package/template.manifest.json +1 -0
  334. package/template.snapshot.json +5 -26
  335. package/template/.agents/skills/beautiful-article/README.md +0 -450
  336. package/template/.agents/skills/beautiful-article/README.zh-CN.md +0 -450
  337. package/template/.agents/skills/beautiful-article/SKILL.md +0 -466
  338. package/template/.agents/skills/beautiful-article/assets/scaffold-template/__yss_dotfile__.npmrc +0 -1
  339. package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +0 -69
  340. package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +0 -172
  341. package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/main.tsx +0 -26
  342. package/template/.agents/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +0 -30
  343. package/template/.agents/skills/beautiful-article/assets/scaffold-template/index.html +0 -19
  344. package/template/.agents/skills/beautiful-article/assets/scaffold-template/package.json +0 -26
  345. package/template/.agents/skills/beautiful-article/assets/scaffold-template/tsconfig.json +0 -20
  346. package/template/.agents/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +0 -11
  347. package/template/.agents/skills/beautiful-article/assets/scaffold-template/vite.config.ts +0 -18
  348. package/template/.agents/skills/beautiful-article/manifest.json +0 -15
  349. package/template/.agents/skills/beautiful-article/references/article-types/briefing.md +0 -32
  350. package/template/.agents/skills/beautiful-article/references/article-types/dialogue.md +0 -30
  351. package/template/.agents/skills/beautiful-article/references/article-types/essay.md +0 -31
  352. package/template/.agents/skills/beautiful-article/references/article-types/explainer.md +0 -32
  353. package/template/.agents/skills/beautiful-article/references/article-types/full-report.md +0 -32
  354. package/template/.agents/skills/beautiful-article/references/article-types/interactive-explainer.md +0 -66
  355. package/template/.agents/skills/beautiful-article/references/article-types/longform.md +0 -32
  356. package/template/.agents/skills/beautiful-article/references/article-types/review.md +0 -32
  357. package/template/.agents/skills/beautiful-article/references/article-types/tutorial.md +0 -30
  358. package/template/.agents/skills/beautiful-article/references/article-types/visual-essay.md +0 -33
  359. package/template/.agents/skills/beautiful-article/references/article-types.md +0 -42
  360. package/template/.agents/skills/beautiful-article/references/asset-policy.md +0 -71
  361. package/template/.agents/skills/beautiful-article/references/component-policy.md +0 -103
  362. package/template/.agents/skills/beautiful-article/references/cover.md +0 -208
  363. package/template/.agents/skills/beautiful-article/references/harness.md +0 -35
  364. package/template/.agents/skills/beautiful-article/references/html-output.md +0 -42
  365. package/template/.agents/skills/beautiful-article/references/information-density.md +0 -50
  366. package/template/.agents/skills/beautiful-article/references/layout.md +0 -46
  367. package/template/.agents/skills/beautiful-article/references/pdf-output.md +0 -208
  368. package/template/.agents/skills/beautiful-article/references/plan-template.md +0 -109
  369. package/template/.agents/skills/beautiful-article/references/raw-policy.md +0 -86
  370. package/template/.agents/skills/beautiful-article/references/repair-policy.md +0 -35
  371. package/template/.agents/skills/beautiful-article/references/review-checklist.md +0 -133
  372. package/template/.agents/skills/beautiful-article/references/scaffold.md +0 -77
  373. package/template/.agents/skills/beautiful-article/references/section-build.md +0 -100
  374. package/template/.agents/skills/beautiful-article/references/source-to-markdown.md +0 -118
  375. package/template/.agents/skills/beautiful-article/references/theme-selection.md +0 -48
  376. package/template/.agents/skills/beautiful-article/scripts/html-to-pdf.sh +0 -160
  377. package/template/.agents/skills/beautiful-article/scripts/pdf-print-overrides.css +0 -192
  378. package/template/.agents/skills/beautiful-article/scripts/scaffold.sh +0 -172
  379. package/template/.agents/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +0 -100
  380. package/template/.agents/skills/beautiful-article/scripts/source-to-markdown.py +0 -174
  381. package/template/.agents/skills/beautiful-article/theme-profiles/andy.md +0 -57
  382. package/template/.agents/skills/beautiful-article/theme-profiles/bayer.md +0 -57
  383. package/template/.agents/skills/beautiful-article/theme-profiles/bodoni.md +0 -57
  384. package/template/.agents/skills/beautiful-article/theme-profiles/freddie.md +0 -57
  385. package/template/.agents/skills/beautiful-article/theme-profiles/fuller.md +0 -56
  386. package/template/.agents/skills/beautiful-article/theme-profiles/index.json +0 -112
  387. package/template/.agents/skills/beautiful-article/theme-profiles/knuth.md +0 -60
  388. package/template/.agents/skills/beautiful-article/theme-profiles/press.md +0 -61
  389. package/template/.agents/skills/beautiful-article/theme-profiles/shannon.md +0 -64
  390. package/template/.agents/skills/beautiful-article/theme-profiles/sottsass.md +0 -57
  391. package/template/.agents/skills/beautiful-article/theme-profiles/tufte.md +0 -64
  392. package/template/.agents/skills/beautiful-article/theme-profiles/vignelli.md +0 -63
  393. package/template/.agents/skills/drawio/.mcp.json +0 -8
  394. package/template/.agents/skills/drawio/CHANGELOG.md +0 -216
  395. package/template/.agents/skills/drawio/SKILL.md +0 -157
  396. package/template/.agents/skills/drawio/agents/interface.yaml +0 -26
  397. package/template/.agents/skills/drawio/agents/openai.yaml +0 -26
  398. package/template/.agents/skills/drawio/assets/catalog/ai-icons.json.gz +0 -0
  399. package/template/.agents/skills/drawio/assets/catalog/shape-catalog.json.gz +0 -0
  400. package/template/.agents/skills/drawio/assets/catalog/shape-index.json.gz +0 -0
  401. package/template/.agents/skills/drawio/assets/examples/login-flow-test.drawio +0 -6
  402. package/template/.agents/skills/drawio/assets/examples/login-flow.drawio +0 -6
  403. package/template/.agents/skills/drawio/assets/examples/microservices.drawio +0 -6
  404. package/template/.agents/skills/drawio/assets/examples/neural-network.drawio +0 -6
  405. package/template/.agents/skills/drawio/assets/licenses/architecture-diagram-generator-MIT.txt +0 -26
  406. package/template/.agents/skills/drawio/assets/licenses/drawio-mcp-shape-index-Apache-2.0.txt +0 -8
  407. package/template/.agents/skills/drawio/assets/licenses/lobe-icons-MIT.txt +0 -26
  408. package/template/.agents/skills/drawio/assets/licenses/lucide-ISC.txt +0 -41
  409. package/template/.agents/skills/drawio/assets/palettes/c4-blue.json +0 -29
  410. package/template/.agents/skills/drawio/assets/palettes/cloud-aws.json +0 -30
  411. package/template/.agents/skills/drawio/assets/palettes/drawio-classic.json +0 -21
  412. package/template/.agents/skills/drawio/assets/palettes/ieee-bw.json +0 -26
  413. package/template/.agents/skills/drawio/assets/palettes/ieee-color.json +0 -17
  414. package/template/.agents/skills/drawio/assets/palettes/journal-jama.json +0 -20
  415. package/template/.agents/skills/drawio/assets/palettes/journal-npg.json +0 -23
  416. package/template/.agents/skills/drawio/assets/palettes/matlab-lines.json +0 -20
  417. package/template/.agents/skills/drawio/assets/palettes/morandi.json +0 -21
  418. package/template/.agents/skills/drawio/assets/palettes/okabe-ito.json +0 -21
  419. package/template/.agents/skills/drawio/assets/palettes/seaborn-colorblind.json +0 -23
  420. package/template/.agents/skills/drawio/assets/palettes/tol-bright.json +0 -20
  421. package/template/.agents/skills/drawio/assets/palettes/tol-high-contrast.json +0 -18
  422. package/template/.agents/skills/drawio/assets/palettes/tol-light-fill.json +0 -22
  423. package/template/.agents/skills/drawio/assets/palettes/tol-muted.json +0 -22
  424. package/template/.agents/skills/drawio/assets/schemas/graph-projection.schema.json +0 -135
  425. package/template/.agents/skills/drawio/assets/schemas/spec.schema.json +0 -620
  426. package/template/.agents/skills/drawio/assets/themes/academic-color.json +0 -299
  427. package/template/.agents/skills/drawio/assets/themes/academic.json +0 -245
  428. package/template/.agents/skills/drawio/assets/themes/arch-dark.json +0 -253
  429. package/template/.agents/skills/drawio/assets/themes/blueprint.json +0 -246
  430. package/template/.agents/skills/drawio/assets/themes/dark-luxury.json +0 -246
  431. package/template/.agents/skills/drawio/assets/themes/dark-terminal.json +0 -244
  432. package/template/.agents/skills/drawio/assets/themes/dark.json +0 -220
  433. package/template/.agents/skills/drawio/assets/themes/high-contrast.json +0 -220
  434. package/template/.agents/skills/drawio/assets/themes/nature.json +0 -220
  435. package/template/.agents/skills/drawio/assets/themes/notion-clean.json +0 -246
  436. package/template/.agents/skills/drawio/assets/themes/tech-blue.json +0 -220
  437. package/template/.agents/skills/drawio/evals/README.md +0 -17
  438. package/template/.agents/skills/drawio/evals/ai-icon-catalog-cases.json +0 -89
  439. package/template/.agents/skills/drawio/evals/baseline-prompts.json +0 -122
  440. package/template/.agents/skills/drawio/evals/darwin-results.tsv +0 -4
  441. package/template/.agents/skills/drawio/evals/evals.json +0 -223
  442. package/template/.agents/skills/drawio/evals/evidence/ai-icon-catalog-desktop.json +0 -134
  443. package/template/.agents/skills/drawio/evals/fixtures/ai-icons-advanced-svg.yaml +0 -25
  444. package/template/.agents/skills/drawio/evals/fixtures/ai-icons-cjk-agent-rag.yaml +0 -55
  445. package/template/.agents/skills/drawio/evals/fixtures/ai-icons-core-aliases.yaml +0 -50
  446. package/template/.agents/skills/drawio/evals/fixtures/ai-icons-current-color.yaml +0 -25
  447. package/template/.agents/skills/drawio/evals/fixtures/ai-icons-gradients.yaml +0 -25
  448. package/template/.agents/skills/drawio/evals/fixtures/import-simple-compressed.drawio +0 -5
  449. package/template/.agents/skills/drawio/evals/fixtures/import-simple.drawio +0 -28
  450. package/template/.agents/skills/drawio/evals/fixtures/industrial-architecture.yaml +0 -239
  451. package/template/.agents/skills/drawio/evals/fixtures/replicate-academic-highlight.svg +0 -13
  452. package/template/.agents/skills/drawio/evals/fixtures/replicate-brand-architecture.svg +0 -14
  453. package/template/.agents/skills/drawio/evals/fixtures/replicate-warm-approval.svg +0 -13
  454. package/template/.agents/skills/drawio/evals/fixtures/vision-tall-workflow.yaml +0 -47
  455. package/template/.agents/skills/drawio/evals/upstream-integration-cases.json +0 -78
  456. package/template/.agents/skills/drawio/evals/vision-preview-cases.json +0 -147
  457. package/template/.agents/skills/drawio/references/docs/agent-diagrams.md +0 -164
  458. package/template/.agents/skills/drawio/references/docs/ah-format.md +0 -322
  459. package/template/.agents/skills/drawio/references/docs/architecture-diagrams.md +0 -159
  460. package/template/.agents/skills/drawio/references/docs/canonical-graph-projection.md +0 -54
  461. package/template/.agents/skills/drawio/references/docs/code-importers.md +0 -53
  462. package/template/.agents/skills/drawio/references/docs/config-importers.md +0 -68
  463. package/template/.agents/skills/drawio/references/docs/design-system/README.md +0 -204
  464. package/template/.agents/skills/drawio/references/docs/design-system/color-guide.md +0 -255
  465. package/template/.agents/skills/drawio/references/docs/design-system/connectors.md +0 -388
  466. package/template/.agents/skills/drawio/references/docs/design-system/formulas.md +0 -196
  467. package/template/.agents/skills/drawio/references/docs/design-system/icons.md +0 -332
  468. package/template/.agents/skills/drawio/references/docs/design-system/shapes.md +0 -269
  469. package/template/.agents/skills/drawio/references/docs/design-system/specification.md +0 -754
  470. package/template/.agents/skills/drawio/references/docs/design-system/themes.md +0 -441
  471. package/template/.agents/skills/drawio/references/docs/design-system/tokens.md +0 -232
  472. package/template/.agents/skills/drawio/references/docs/edge-quality-rules.md +0 -65
  473. package/template/.agents/skills/drawio/references/docs/ieee-network-diagrams.md +0 -145
  474. package/template/.agents/skills/drawio/references/docs/live-snapshots-drift.md +0 -72
  475. package/template/.agents/skills/drawio/references/docs/math-typesetting.md +0 -258
  476. package/template/.agents/skills/drawio/references/docs/mcp-tools.md +0 -85
  477. package/template/.agents/skills/drawio/references/docs/migration-readiness.md +0 -73
  478. package/template/.agents/skills/drawio/references/docs/stencil-library-guide.md +0 -97
  479. package/template/.agents/skills/drawio/references/docs/style-extraction.md +0 -261
  480. package/template/.agents/skills/drawio/references/docs/style-presets.md +0 -126
  481. package/template/.agents/skills/drawio/references/docs/upstream-capability-compatibility.md +0 -61
  482. package/template/.agents/skills/drawio/references/docs/xml-format.md +0 -53
  483. package/template/.agents/skills/drawio/references/examples/README.md +0 -33
  484. package/template/.agents/skills/drawio/references/examples/agentic-rag.yaml +0 -71
  485. package/template/.agents/skills/drawio/references/examples/arch-dark-aws-serverless.yaml +0 -103
  486. package/template/.agents/skills/drawio/references/examples/arch-dark-microservices.yaml +0 -146
  487. package/template/.agents/skills/drawio/references/examples/arch-dark-web-app.yaml +0 -62
  488. package/template/.agents/skills/drawio/references/examples/auto-layout-workflow.yaml +0 -81
  489. package/template/.agents/skills/drawio/references/examples/aws-vpc-topology.yaml +0 -66
  490. package/template/.agents/skills/drawio/references/examples/campus-lan-topology.yaml +0 -89
  491. package/template/.agents/skills/drawio/references/examples/cloud-reference-architecture.yaml +0 -34
  492. package/template/.agents/skills/drawio/references/examples/e-commerce.yaml +0 -141
  493. package/template/.agents/skills/drawio/references/examples/importers/README.md +0 -10
  494. package/template/.agents/skills/drawio/references/examples/importers/live/compose-drift-evidence.json +0 -49
  495. package/template/.agents/skills/drawio/references/examples/importers/live/compose-drift-report.json +0 -300
  496. package/template/.agents/skills/drawio/references/examples/importers/live/compose-drift.spec.yaml +0 -75
  497. package/template/.agents/skills/drawio/references/examples/importers/live/docker-inspect.json +0 -55
  498. package/template/.agents/skills/drawio/references/examples/importers/live/drift-declared-compose.yaml +0 -13
  499. package/template/.agents/skills/drawio/references/examples/importers/live/kubernetes-live.json +0 -71
  500. package/template/.agents/skills/drawio/references/examples/importers/live/terraform-state.json +0 -70
  501. package/template/.agents/skills/drawio/references/examples/importers/schema.sql +0 -10
  502. package/template/.agents/skills/drawio/references/examples/importers/terraform.tf +0 -9
  503. package/template/.agents/skills/drawio/references/examples/login-flow.yaml +0 -65
  504. package/template/.agents/skills/drawio/references/examples/mem0-memory-layer.yaml +0 -63
  505. package/template/.agents/skills/drawio/references/examples/microservices.yaml +0 -58
  506. package/template/.agents/skills/drawio/references/examples/multi-agent-orchestration.yaml +0 -67
  507. package/template/.agents/skills/drawio/references/examples/neural-network.yaml +0 -66
  508. package/template/.agents/skills/drawio/references/examples/onprem-dmz-topology.yaml +0 -62
  509. package/template/.agents/skills/drawio/references/examples/palettes/README.md +0 -29
  510. package/template/.agents/skills/drawio/references/examples/palettes/c4-blue.drawio +0 -6
  511. package/template/.agents/skills/drawio/references/examples/palettes/c4-blue.svg +0 -36
  512. package/template/.agents/skills/drawio/references/examples/palettes/cloud-aws.drawio +0 -6
  513. package/template/.agents/skills/drawio/references/examples/palettes/cloud-aws.svg +0 -36
  514. package/template/.agents/skills/drawio/references/examples/palettes/drawio-classic.drawio +0 -6
  515. package/template/.agents/skills/drawio/references/examples/palettes/drawio-classic.svg +0 -36
  516. package/template/.agents/skills/drawio/references/examples/palettes/ieee-bw.drawio +0 -6
  517. package/template/.agents/skills/drawio/references/examples/palettes/ieee-bw.svg +0 -36
  518. package/template/.agents/skills/drawio/references/examples/palettes/ieee-color.drawio +0 -6
  519. package/template/.agents/skills/drawio/references/examples/palettes/ieee-color.svg +0 -36
  520. package/template/.agents/skills/drawio/references/examples/palettes/journal-jama.drawio +0 -6
  521. package/template/.agents/skills/drawio/references/examples/palettes/journal-jama.svg +0 -36
  522. package/template/.agents/skills/drawio/references/examples/palettes/journal-npg.drawio +0 -6
  523. package/template/.agents/skills/drawio/references/examples/palettes/journal-npg.svg +0 -36
  524. package/template/.agents/skills/drawio/references/examples/palettes/matlab-lines.drawio +0 -6
  525. package/template/.agents/skills/drawio/references/examples/palettes/matlab-lines.svg +0 -36
  526. package/template/.agents/skills/drawio/references/examples/palettes/morandi.drawio +0 -6
  527. package/template/.agents/skills/drawio/references/examples/palettes/morandi.svg +0 -36
  528. package/template/.agents/skills/drawio/references/examples/palettes/okabe-ito.drawio +0 -6
  529. package/template/.agents/skills/drawio/references/examples/palettes/okabe-ito.svg +0 -36
  530. package/template/.agents/skills/drawio/references/examples/palettes/palette-swatch.template.yaml +0 -56
  531. package/template/.agents/skills/drawio/references/examples/palettes/seaborn-colorblind.drawio +0 -6
  532. package/template/.agents/skills/drawio/references/examples/palettes/seaborn-colorblind.svg +0 -36
  533. package/template/.agents/skills/drawio/references/examples/palettes/tol-bright.drawio +0 -6
  534. package/template/.agents/skills/drawio/references/examples/palettes/tol-bright.svg +0 -36
  535. package/template/.agents/skills/drawio/references/examples/palettes/tol-high-contrast.drawio +0 -6
  536. package/template/.agents/skills/drawio/references/examples/palettes/tol-high-contrast.svg +0 -36
  537. package/template/.agents/skills/drawio/references/examples/palettes/tol-light-fill.drawio +0 -6
  538. package/template/.agents/skills/drawio/references/examples/palettes/tol-light-fill.svg +0 -36
  539. package/template/.agents/skills/drawio/references/examples/palettes/tol-muted.drawio +0 -6
  540. package/template/.agents/skills/drawio/references/examples/palettes/tol-muted.svg +0 -36
  541. package/template/.agents/skills/drawio/references/examples/rag-pipeline.yaml +0 -67
  542. package/template/.agents/skills/drawio/references/examples/replicated-brand-flow.yaml +0 -89
  543. package/template/.agents/skills/drawio/references/examples/swimlane-engineering-review.yaml +0 -44
  544. package/template/.agents/skills/drawio/references/examples/tiered-network-topology.yaml +0 -59
  545. package/template/.agents/skills/drawio/references/examples/tool-call-loop.yaml +0 -63
  546. package/template/.agents/skills/drawio/references/examples/vendor-device-mapping.yaml +0 -46
  547. package/template/.agents/skills/drawio/references/official/style-reference.md +0 -936
  548. package/template/.agents/skills/drawio/references/official/xml-reference.md +0 -262
  549. package/template/.agents/skills/drawio/references/palette.schema.json +0 -59
  550. package/template/.agents/skills/drawio/references/theme.schema.json +0 -249
  551. package/template/.agents/skills/drawio/references/upstream/pure-drawio-skill.md +0 -615
  552. package/template/.agents/skills/drawio/references/workflows/create.md +0 -195
  553. package/template/.agents/skills/drawio/references/workflows/edit.md +0 -174
  554. package/template/.agents/skills/drawio/references/workflows/replicate.md +0 -239
  555. package/template/.agents/skills/drawio/references/workflows/visual-review.md +0 -108
  556. package/template/.agents/skills/drawio/reports/output_quality_scorecard.md +0 -106
  557. package/template/.agents/skills/drawio/reports/upstream-port-release-evidence.md +0 -43
  558. package/template/.agents/skills/drawio/scripts/adapters/ci.js +0 -139
  559. package/template/.agents/skills/drawio/scripts/adapters/ci.test.js +0 -41
  560. package/template/.agents/skills/drawio/scripts/adapters/code-common.js +0 -171
  561. package/template/.agents/skills/drawio/scripts/adapters/code-imports.test.js +0 -80
  562. package/template/.agents/skills/drawio/scripts/adapters/code-parsers.integration.test.js +0 -71
  563. package/template/.agents/skills/drawio/scripts/adapters/compose.js +0 -134
  564. package/template/.agents/skills/drawio/scripts/adapters/compose.test.js +0 -54
  565. package/template/.agents/skills/drawio/scripts/adapters/config-adapters.integration.test.js +0 -58
  566. package/template/.agents/skills/drawio/scripts/adapters/config-common.js +0 -131
  567. package/template/.agents/skills/drawio/scripts/adapters/config-common.test.js +0 -32
  568. package/template/.agents/skills/drawio/scripts/adapters/docker-inspect.js +0 -127
  569. package/template/.agents/skills/drawio/scripts/adapters/docker-inspect.test.js +0 -62
  570. package/template/.agents/skills/drawio/scripts/adapters/fixtures/raster-extraction.json +0 -31
  571. package/template/.agents/skills/drawio/scripts/adapters/go-code-adapter.test.js +0 -59
  572. package/template/.agents/skills/drawio/scripts/adapters/go-code.js +0 -168
  573. package/template/.agents/skills/drawio/scripts/adapters/graph-drift.file.test.js +0 -67
  574. package/template/.agents/skills/drawio/scripts/adapters/graph-drift.js +0 -358
  575. package/template/.agents/skills/drawio/scripts/adapters/graph-drift.test.js +0 -272
  576. package/template/.agents/skills/drawio/scripts/adapters/graph-projection.js +0 -335
  577. package/template/.agents/skills/drawio/scripts/adapters/graph-projection.test.js +0 -141
  578. package/template/.agents/skills/drawio/scripts/adapters/identity.js +0 -244
  579. package/template/.agents/skills/drawio/scripts/adapters/identity.test.js +0 -123
  580. package/template/.agents/skills/drawio/scripts/adapters/index.js +0 -489
  581. package/template/.agents/skills/drawio/scripts/adapters/index.test.js +0 -152
  582. package/template/.agents/skills/drawio/scripts/adapters/js-code-adapter.test.js +0 -42
  583. package/template/.agents/skills/drawio/scripts/adapters/js-code.js +0 -141
  584. package/template/.agents/skills/drawio/scripts/adapters/kubernetes-live.test.js +0 -46
  585. package/template/.agents/skills/drawio/scripts/adapters/kubernetes.js +0 -258
  586. package/template/.agents/skills/drawio/scripts/adapters/kubernetes.test.js +0 -81
  587. package/template/.agents/skills/drawio/scripts/adapters/openapi.js +0 -98
  588. package/template/.agents/skills/drawio/scripts/adapters/openapi.test.js +0 -46
  589. package/template/.agents/skills/drawio/scripts/adapters/optional-python-code.js +0 -16
  590. package/template/.agents/skills/drawio/scripts/adapters/optional-python.integration.test.js +0 -32
  591. package/template/.agents/skills/drawio/scripts/adapters/optional-python.js +0 -127
  592. package/template/.agents/skills/drawio/scripts/adapters/optional-python.test.js +0 -55
  593. package/template/.agents/skills/drawio/scripts/adapters/projection-to-spec.js +0 -116
  594. package/template/.agents/skills/drawio/scripts/adapters/projection-to-spec.test.js +0 -139
  595. package/template/.agents/skills/drawio/scripts/adapters/python/code-parser-worker.py +0 -93
  596. package/template/.agents/skills/drawio/scripts/adapters/python/config-parser-worker.py +0 -237
  597. package/template/.agents/skills/drawio/scripts/adapters/python/requirements.txt +0 -2
  598. package/template/.agents/skills/drawio/scripts/adapters/python-code-adapter.test.js +0 -127
  599. package/template/.agents/skills/drawio/scripts/adapters/python-code.js +0 -246
  600. package/template/.agents/skills/drawio/scripts/adapters/raster-extraction.js +0 -258
  601. package/template/.agents/skills/drawio/scripts/adapters/raster-extraction.test.js +0 -308
  602. package/template/.agents/skills/drawio/scripts/adapters/rust-code-adapter.test.js +0 -64
  603. package/template/.agents/skills/drawio/scripts/adapters/rust-code.js +0 -207
  604. package/template/.agents/skills/drawio/scripts/adapters/sql-ddl.js +0 -118
  605. package/template/.agents/skills/drawio/scripts/adapters/sql-ddl.test.js +0 -56
  606. package/template/.agents/skills/drawio/scripts/adapters/terraform-config.js +0 -141
  607. package/template/.agents/skills/drawio/scripts/adapters/terraform-config.test.js +0 -67
  608. package/template/.agents/skills/drawio/scripts/adapters/terraform-state.js +0 -157
  609. package/template/.agents/skills/drawio/scripts/adapters/terraform-state.test.js +0 -69
  610. package/template/.agents/skills/drawio/scripts/cli.js +0 -700
  611. package/template/.agents/skills/drawio/scripts/dsl/ah-to-drawio.js +0 -276
  612. package/template/.agents/skills/drawio/scripts/dsl/ah-to-drawio.test.js +0 -77
  613. package/template/.agents/skills/drawio/scripts/dsl/ai-icon-catalog.js +0 -126
  614. package/template/.agents/skills/drawio/scripts/dsl/ai-icon-catalog.test.js +0 -86
  615. package/template/.agents/skills/drawio/scripts/dsl/auto-layout.js +0 -206
  616. package/template/.agents/skills/drawio/scripts/dsl/auto-layout.test.js +0 -249
  617. package/template/.agents/skills/drawio/scripts/dsl/catalog-ranking.js +0 -54
  618. package/template/.agents/skills/drawio/scripts/dsl/catalog-search.js +0 -58
  619. package/template/.agents/skills/drawio/scripts/dsl/catalog-search.test.js +0 -44
  620. package/template/.agents/skills/drawio/scripts/dsl/document-spec.js +0 -256
  621. package/template/.agents/skills/drawio/scripts/dsl/document-spec.test.js +0 -147
  622. package/template/.agents/skills/drawio/scripts/dsl/drawio-to-spec.js +0 -497
  623. package/template/.agents/skills/drawio/scripts/dsl/examples-baseline.test.js +0 -30
  624. package/template/.agents/skills/drawio/scripts/dsl/icon-mappings.js +0 -65
  625. package/template/.agents/skills/drawio/scripts/dsl/icon-mappings.test.js +0 -19
  626. package/template/.agents/skills/drawio/scripts/dsl/icon-resolver.js +0 -153
  627. package/template/.agents/skills/drawio/scripts/dsl/icon-resolver.test.js +0 -62
  628. package/template/.agents/skills/drawio/scripts/dsl/multi-page.js +0 -224
  629. package/template/.agents/skills/drawio/scripts/dsl/multi-page.test.js +0 -107
  630. package/template/.agents/skills/drawio/scripts/dsl/palette-catalog.test.js +0 -138
  631. package/template/.agents/skills/drawio/scripts/dsl/palette-integration.test.js +0 -182
  632. package/template/.agents/skills/drawio/scripts/dsl/palette-validate.js +0 -91
  633. package/template/.agents/skills/drawio/scripts/dsl/palette.js +0 -302
  634. package/template/.agents/skills/drawio/scripts/dsl/palette.test.js +0 -197
  635. package/template/.agents/skills/drawio/scripts/dsl/shape-catalog.js +0 -89
  636. package/template/.agents/skills/drawio/scripts/dsl/shape-catalog.test.js +0 -21
  637. package/template/.agents/skills/drawio/scripts/dsl/spec-to-drawio.js +0 -3739
  638. package/template/.agents/skills/drawio/scripts/dsl/spec-to-drawio.test.js +0 -3022
  639. package/template/.agents/skills/drawio/scripts/generate-palette-swatches.js +0 -87
  640. package/template/.agents/skills/drawio/scripts/install.bat +0 -64
  641. package/template/.agents/skills/drawio/scripts/install.sh +0 -44
  642. package/template/.agents/skills/drawio/scripts/math/index.js +0 -317
  643. package/template/.agents/skills/drawio/scripts/math/index.test.js +0 -62
  644. package/template/.agents/skills/drawio/scripts/package.json +0 -1
  645. package/template/.agents/skills/drawio/scripts/postprocess/artifacts.js +0 -142
  646. package/template/.agents/skills/drawio/scripts/postprocess/artifacts.test.js +0 -86
  647. package/template/.agents/skills/drawio/scripts/postprocess/cli.js +0 -228
  648. package/template/.agents/skills/drawio/scripts/postprocess/cli.test.js +0 -129
  649. package/template/.agents/skills/drawio/scripts/postprocess/fixtures/bundle.yaml +0 -75
  650. package/template/.agents/skills/drawio/scripts/postprocess/fixtures/legacy.yaml +0 -21
  651. package/template/.agents/skills/drawio/scripts/postprocess/html.js +0 -197
  652. package/template/.agents/skills/drawio/scripts/postprocess/html.test.js +0 -50
  653. package/template/.agents/skills/drawio/scripts/postprocess/index.js +0 -5
  654. package/template/.agents/skills/drawio/scripts/postprocess/input.js +0 -112
  655. package/template/.agents/skills/drawio/scripts/postprocess/input.test.js +0 -73
  656. package/template/.agents/skills/drawio/scripts/postprocess/mutate.js +0 -584
  657. package/template/.agents/skills/drawio/scripts/postprocess/mutate.test.js +0 -193
  658. package/template/.agents/skills/drawio/scripts/postprocess/projection.js +0 -178
  659. package/template/.agents/skills/drawio/scripts/postprocess/projection.test.js +0 -67
  660. package/template/.agents/skills/drawio/scripts/runtime/artifacts.js +0 -283
  661. package/template/.agents/skills/drawio/scripts/runtime/desktop.js +0 -204
  662. package/template/.agents/skills/drawio/scripts/runtime/desktop.test.js +0 -121
  663. package/template/.agents/skills/drawio/scripts/runtime/diagrams-net-url.js +0 -122
  664. package/template/.agents/skills/drawio/scripts/runtime/export-stability.js +0 -75
  665. package/template/.agents/skills/drawio/scripts/runtime/export-stability.test.js +0 -81
  666. package/template/.agents/skills/drawio/scripts/runtime/png-inspection.js +0 -157
  667. package/template/.agents/skills/drawio/scripts/runtime/png-inspection.test.js +0 -120
  668. package/template/.agents/skills/drawio/scripts/runtime/vision-preview.js +0 -77
  669. package/template/.agents/skills/drawio/scripts/runtime/vision-preview.test.js +0 -103
  670. package/template/.agents/skills/drawio/scripts/shared/ai-icon-contract.js +0 -13
  671. package/template/.agents/skills/drawio/scripts/shared/xml-utils.js +0 -241
  672. package/template/.agents/skills/drawio/scripts/svg/drawio-to-svg.js +0 -918
  673. package/template/.agents/skills/drawio/scripts/svg/drawio-to-svg.test.js +0 -763
  674. package/template/.agents/skills/drawio/scripts/tools/build-ai-icon-catalog.js +0 -208
  675. package/template/.agents/skills/drawio/scripts/tools/build-ai-icon-catalog.test.js +0 -107
  676. package/template/.agents/skills/drawio/scripts/tools/build-shape-catalog.js +0 -84
  677. package/template/.agents/skills/drawio/scripts/tools/build-shape-catalog.test.js +0 -43
  678. package/template/.agents/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha-color.svg +0 -1
  679. package/template/.agents/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha.svg +0 -1
  680. package/template/.agents/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta-brand-color.svg +0 -1
  681. package/template/.agents/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta.svg +0 -1
  682. package/template/.agents/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai-text-color.svg +0 -1
  683. package/template/.agents/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai.svg +0 -1
  684. package/template/.agents/skills/drawio/scripts/tools/fixtures/ai-icons-package/package.json +0 -5
  685. package/template/.agents/skills/drawio/scripts/vendor/elkjs/LICENSE.md +0 -264
  686. package/template/.agents/skills/drawio/scripts/vendor/elkjs/README.md +0 -18
  687. package/template/.agents/skills/drawio/scripts/vendor/elkjs/elk.bundled.cjs +0 -6589
  688. package/template/.agents/skills/drawio/styles/built-in/corporate.json +0 -49
  689. package/template/.agents/skills/drawio/styles/built-in/default.json +0 -49
  690. package/template/.agents/skills/drawio/styles/built-in/handdrawn.json +0 -49
  691. package/template/.agents/skills/drawio/styles/schema.json +0 -112
  692. package/template/.agents/skills/drawio-academic-skills/CHANGELOG.md +0 -67
  693. package/template/.agents/skills/drawio-academic-skills/README.md +0 -103
  694. package/template/.agents/skills/drawio-academic-skills/README_CN.md +0 -103
  695. package/template/.agents/skills/drawio-academic-skills/SKILL.md +0 -161
  696. package/template/.agents/skills/drawio-academic-skills/__yss_dotfile__.gitignore +0 -12
  697. package/template/.agents/skills/drawio-academic-skills/agents/interface.yaml +0 -25
  698. package/template/.agents/skills/drawio-academic-skills/agents/openai.yaml +0 -24
  699. package/template/.agents/skills/drawio-academic-skills/evals/README.md +0 -13
  700. package/template/.agents/skills/drawio-academic-skills/evals/baseline-prompts.json +0 -52
  701. package/template/.agents/skills/drawio-academic-skills/evals/darwin-results.tsv +0 -3
  702. package/template/.agents/skills/drawio-academic-skills/evals/evals.json +0 -228
  703. package/template/.agents/skills/drawio-academic-skills/evals/test-prompts.json +0 -17
  704. package/template/.agents/skills/drawio-academic-skills/references/docs/academic-export-checklist.md +0 -45
  705. package/template/.agents/skills/drawio-academic-skills/references/docs/academic-figure-playbook.md +0 -349
  706. package/template/.agents/skills/drawio-academic-skills/references/docs/publication-overlay.md +0 -206
  707. package/template/.agents/skills/drawio-academic-skills/references/examples/ablation-study-pipeline.yaml +0 -39
  708. package/template/.agents/skills/drawio-academic-skills/references/examples/ieee-network-paper.yaml +0 -44
  709. package/template/.agents/skills/drawio-academic-skills/references/examples/industrial-architecture-cn-paper.yaml +0 -106
  710. package/template/.agents/skills/drawio-academic-skills/references/examples/max-pooling-operation-paper.yaml +0 -75
  711. package/template/.agents/skills/drawio-academic-skills/references/examples/research-pipeline.yaml +0 -54
  712. package/template/.agents/skills/drawio-academic-skills/references/examples/system-architecture-paper.yaml +0 -45
  713. package/template/.agents/skills/drawio-academic-skills/references/examples/technical-roadmap-paper.yaml +0 -54
  714. package/template/.agents/skills/drawio-academic-skills/references/examples/yolo-model-architecture-paper.yaml +0 -118
  715. package/template/.agents/skills/drawio-academic-skills/references/templates/multi-module-system-compact.yaml +0 -251
  716. package/template/.agents/skills/drawio-academic-skills/references/templates/neural-network-architecture-compact.yaml +0 -267
  717. package/template/.agents/skills/excalidraw-diagram-generator/SKILL.md +0 -634
  718. package/template/.agents/skills/excalidraw-diagram-generator/references/element-types.md +0 -497
  719. package/template/.agents/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +0 -350
  720. package/template/.agents/skills/excalidraw-diagram-generator/scripts/README.md +0 -193
  721. package/template/.agents/skills/excalidraw-diagram-generator/scripts/__yss_dotfile__.gitignore +0 -34
  722. package/template/.agents/skills/excalidraw-diagram-generator/scripts/add-arrow.py +0 -315
  723. package/template/.agents/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +0 -406
  724. package/template/.agents/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +0 -183
  725. package/template/.agents/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +0 -334
  726. package/template/.agents/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +0 -558
  727. package/template/.agents/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +0 -279
  728. package/template/.agents/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +0 -662
  729. package/template/.agents/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +0 -179
  730. package/template/.agents/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +0 -244
  731. package/template/.agents/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +0 -145
  732. package/template/.agents/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +0 -509
  733. package/template/.agents/skills/kb-retriever/README.md +0 -197
  734. package/template/.agents/skills/kb-retriever/README.zh-CN.md +0 -197
  735. package/template/.agents/skills/kb-retriever/SKILL.md +0 -250
  736. package/template/.agents/skills/kb-retriever/manifest.json +0 -15
  737. package/template/.agents/skills/kb-retriever/references/excel_analysis.md +0 -129
  738. package/template/.agents/skills/kb-retriever/references/excel_reading.md +0 -72
  739. package/template/.agents/skills/kb-retriever/references/pdf_reading.md +0 -362
  740. package/template/.agents/skills/kb-retriever/scripts/convert_pdf_to_images.py +0 -35
  741. package/template/.agents/skills/yss-db2mybatis/requirements.txt +0 -4
  742. package/template/.agents/skills/yss-db2mybatis/scripts/db2mybatis.py +0 -1494
  743. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +0 -728
  744. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.py +0 -155
  745. package/template/.agents/skills/yss-design-system/scripts/validate-frontmatter.py +0 -50
  746. package/template/.agents/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -371
  747. package/template/.agents/skills/yss-web-controller/scripts/generate_controller.py +0 -293
  748. package/template/.agents/skills/yss-web-controller/scripts/test_generate_controller.py +0 -68
  749. package/template/.claude/skills/beautiful-article/README.md +0 -450
  750. package/template/.claude/skills/beautiful-article/README.zh-CN.md +0 -450
  751. package/template/.claude/skills/beautiful-article/SKILL.md +0 -466
  752. package/template/.claude/skills/beautiful-article/assets/scaffold-template/__yss_dotfile__.npmrc +0 -1
  753. package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +0 -69
  754. package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +0 -172
  755. package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/main.tsx +0 -26
  756. package/template/.claude/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +0 -30
  757. package/template/.claude/skills/beautiful-article/assets/scaffold-template/index.html +0 -19
  758. package/template/.claude/skills/beautiful-article/assets/scaffold-template/package.json +0 -26
  759. package/template/.claude/skills/beautiful-article/assets/scaffold-template/tsconfig.json +0 -20
  760. package/template/.claude/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +0 -11
  761. package/template/.claude/skills/beautiful-article/assets/scaffold-template/vite.config.ts +0 -18
  762. package/template/.claude/skills/beautiful-article/manifest.json +0 -15
  763. package/template/.claude/skills/beautiful-article/references/article-types/briefing.md +0 -32
  764. package/template/.claude/skills/beautiful-article/references/article-types/dialogue.md +0 -30
  765. package/template/.claude/skills/beautiful-article/references/article-types/essay.md +0 -31
  766. package/template/.claude/skills/beautiful-article/references/article-types/explainer.md +0 -32
  767. package/template/.claude/skills/beautiful-article/references/article-types/full-report.md +0 -32
  768. package/template/.claude/skills/beautiful-article/references/article-types/interactive-explainer.md +0 -66
  769. package/template/.claude/skills/beautiful-article/references/article-types/longform.md +0 -32
  770. package/template/.claude/skills/beautiful-article/references/article-types/review.md +0 -32
  771. package/template/.claude/skills/beautiful-article/references/article-types/tutorial.md +0 -30
  772. package/template/.claude/skills/beautiful-article/references/article-types/visual-essay.md +0 -33
  773. package/template/.claude/skills/beautiful-article/references/article-types.md +0 -42
  774. package/template/.claude/skills/beautiful-article/references/asset-policy.md +0 -71
  775. package/template/.claude/skills/beautiful-article/references/component-policy.md +0 -103
  776. package/template/.claude/skills/beautiful-article/references/cover.md +0 -208
  777. package/template/.claude/skills/beautiful-article/references/harness.md +0 -35
  778. package/template/.claude/skills/beautiful-article/references/html-output.md +0 -42
  779. package/template/.claude/skills/beautiful-article/references/information-density.md +0 -50
  780. package/template/.claude/skills/beautiful-article/references/layout.md +0 -46
  781. package/template/.claude/skills/beautiful-article/references/pdf-output.md +0 -208
  782. package/template/.claude/skills/beautiful-article/references/plan-template.md +0 -109
  783. package/template/.claude/skills/beautiful-article/references/raw-policy.md +0 -86
  784. package/template/.claude/skills/beautiful-article/references/repair-policy.md +0 -35
  785. package/template/.claude/skills/beautiful-article/references/review-checklist.md +0 -133
  786. package/template/.claude/skills/beautiful-article/references/scaffold.md +0 -77
  787. package/template/.claude/skills/beautiful-article/references/section-build.md +0 -100
  788. package/template/.claude/skills/beautiful-article/references/source-to-markdown.md +0 -118
  789. package/template/.claude/skills/beautiful-article/references/theme-selection.md +0 -48
  790. package/template/.claude/skills/beautiful-article/scripts/html-to-pdf.sh +0 -160
  791. package/template/.claude/skills/beautiful-article/scripts/pdf-print-overrides.css +0 -192
  792. package/template/.claude/skills/beautiful-article/scripts/scaffold.sh +0 -172
  793. package/template/.claude/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +0 -100
  794. package/template/.claude/skills/beautiful-article/scripts/source-to-markdown.py +0 -174
  795. package/template/.claude/skills/beautiful-article/theme-profiles/andy.md +0 -57
  796. package/template/.claude/skills/beautiful-article/theme-profiles/bayer.md +0 -57
  797. package/template/.claude/skills/beautiful-article/theme-profiles/bodoni.md +0 -57
  798. package/template/.claude/skills/beautiful-article/theme-profiles/freddie.md +0 -57
  799. package/template/.claude/skills/beautiful-article/theme-profiles/fuller.md +0 -56
  800. package/template/.claude/skills/beautiful-article/theme-profiles/index.json +0 -112
  801. package/template/.claude/skills/beautiful-article/theme-profiles/knuth.md +0 -60
  802. package/template/.claude/skills/beautiful-article/theme-profiles/press.md +0 -61
  803. package/template/.claude/skills/beautiful-article/theme-profiles/shannon.md +0 -64
  804. package/template/.claude/skills/beautiful-article/theme-profiles/sottsass.md +0 -57
  805. package/template/.claude/skills/beautiful-article/theme-profiles/tufte.md +0 -64
  806. package/template/.claude/skills/beautiful-article/theme-profiles/vignelli.md +0 -63
  807. package/template/.claude/skills/drawio/.mcp.json +0 -8
  808. package/template/.claude/skills/drawio/CHANGELOG.md +0 -216
  809. package/template/.claude/skills/drawio/SKILL.md +0 -157
  810. package/template/.claude/skills/drawio/agents/interface.yaml +0 -26
  811. package/template/.claude/skills/drawio/agents/openai.yaml +0 -26
  812. package/template/.claude/skills/drawio/assets/catalog/ai-icons.json.gz +0 -0
  813. package/template/.claude/skills/drawio/assets/catalog/shape-catalog.json.gz +0 -0
  814. package/template/.claude/skills/drawio/assets/catalog/shape-index.json.gz +0 -0
  815. package/template/.claude/skills/drawio/assets/examples/login-flow-test.drawio +0 -6
  816. package/template/.claude/skills/drawio/assets/examples/login-flow.drawio +0 -6
  817. package/template/.claude/skills/drawio/assets/examples/microservices.drawio +0 -6
  818. package/template/.claude/skills/drawio/assets/examples/neural-network.drawio +0 -6
  819. package/template/.claude/skills/drawio/assets/licenses/architecture-diagram-generator-MIT.txt +0 -26
  820. package/template/.claude/skills/drawio/assets/licenses/drawio-mcp-shape-index-Apache-2.0.txt +0 -8
  821. package/template/.claude/skills/drawio/assets/licenses/lobe-icons-MIT.txt +0 -26
  822. package/template/.claude/skills/drawio/assets/licenses/lucide-ISC.txt +0 -41
  823. package/template/.claude/skills/drawio/assets/palettes/c4-blue.json +0 -29
  824. package/template/.claude/skills/drawio/assets/palettes/cloud-aws.json +0 -30
  825. package/template/.claude/skills/drawio/assets/palettes/drawio-classic.json +0 -21
  826. package/template/.claude/skills/drawio/assets/palettes/ieee-bw.json +0 -26
  827. package/template/.claude/skills/drawio/assets/palettes/ieee-color.json +0 -17
  828. package/template/.claude/skills/drawio/assets/palettes/journal-jama.json +0 -20
  829. package/template/.claude/skills/drawio/assets/palettes/journal-npg.json +0 -23
  830. package/template/.claude/skills/drawio/assets/palettes/matlab-lines.json +0 -20
  831. package/template/.claude/skills/drawio/assets/palettes/morandi.json +0 -21
  832. package/template/.claude/skills/drawio/assets/palettes/okabe-ito.json +0 -21
  833. package/template/.claude/skills/drawio/assets/palettes/seaborn-colorblind.json +0 -23
  834. package/template/.claude/skills/drawio/assets/palettes/tol-bright.json +0 -20
  835. package/template/.claude/skills/drawio/assets/palettes/tol-high-contrast.json +0 -18
  836. package/template/.claude/skills/drawio/assets/palettes/tol-light-fill.json +0 -22
  837. package/template/.claude/skills/drawio/assets/palettes/tol-muted.json +0 -22
  838. package/template/.claude/skills/drawio/assets/schemas/graph-projection.schema.json +0 -135
  839. package/template/.claude/skills/drawio/assets/schemas/spec.schema.json +0 -620
  840. package/template/.claude/skills/drawio/assets/themes/academic-color.json +0 -299
  841. package/template/.claude/skills/drawio/assets/themes/academic.json +0 -245
  842. package/template/.claude/skills/drawio/assets/themes/arch-dark.json +0 -253
  843. package/template/.claude/skills/drawio/assets/themes/blueprint.json +0 -246
  844. package/template/.claude/skills/drawio/assets/themes/dark-luxury.json +0 -246
  845. package/template/.claude/skills/drawio/assets/themes/dark-terminal.json +0 -244
  846. package/template/.claude/skills/drawio/assets/themes/dark.json +0 -220
  847. package/template/.claude/skills/drawio/assets/themes/high-contrast.json +0 -220
  848. package/template/.claude/skills/drawio/assets/themes/nature.json +0 -220
  849. package/template/.claude/skills/drawio/assets/themes/notion-clean.json +0 -246
  850. package/template/.claude/skills/drawio/assets/themes/tech-blue.json +0 -220
  851. package/template/.claude/skills/drawio/evals/README.md +0 -17
  852. package/template/.claude/skills/drawio/evals/ai-icon-catalog-cases.json +0 -89
  853. package/template/.claude/skills/drawio/evals/baseline-prompts.json +0 -122
  854. package/template/.claude/skills/drawio/evals/darwin-results.tsv +0 -4
  855. package/template/.claude/skills/drawio/evals/evals.json +0 -223
  856. package/template/.claude/skills/drawio/evals/evidence/ai-icon-catalog-desktop.json +0 -134
  857. package/template/.claude/skills/drawio/evals/fixtures/ai-icons-advanced-svg.yaml +0 -25
  858. package/template/.claude/skills/drawio/evals/fixtures/ai-icons-cjk-agent-rag.yaml +0 -55
  859. package/template/.claude/skills/drawio/evals/fixtures/ai-icons-core-aliases.yaml +0 -50
  860. package/template/.claude/skills/drawio/evals/fixtures/ai-icons-current-color.yaml +0 -25
  861. package/template/.claude/skills/drawio/evals/fixtures/ai-icons-gradients.yaml +0 -25
  862. package/template/.claude/skills/drawio/evals/fixtures/import-simple-compressed.drawio +0 -5
  863. package/template/.claude/skills/drawio/evals/fixtures/import-simple.drawio +0 -28
  864. package/template/.claude/skills/drawio/evals/fixtures/industrial-architecture.yaml +0 -239
  865. package/template/.claude/skills/drawio/evals/fixtures/replicate-academic-highlight.svg +0 -13
  866. package/template/.claude/skills/drawio/evals/fixtures/replicate-brand-architecture.svg +0 -14
  867. package/template/.claude/skills/drawio/evals/fixtures/replicate-warm-approval.svg +0 -13
  868. package/template/.claude/skills/drawio/evals/fixtures/vision-tall-workflow.yaml +0 -47
  869. package/template/.claude/skills/drawio/evals/upstream-integration-cases.json +0 -78
  870. package/template/.claude/skills/drawio/evals/vision-preview-cases.json +0 -147
  871. package/template/.claude/skills/drawio/references/docs/agent-diagrams.md +0 -164
  872. package/template/.claude/skills/drawio/references/docs/ah-format.md +0 -322
  873. package/template/.claude/skills/drawio/references/docs/architecture-diagrams.md +0 -159
  874. package/template/.claude/skills/drawio/references/docs/canonical-graph-projection.md +0 -54
  875. package/template/.claude/skills/drawio/references/docs/code-importers.md +0 -53
  876. package/template/.claude/skills/drawio/references/docs/config-importers.md +0 -68
  877. package/template/.claude/skills/drawio/references/docs/design-system/README.md +0 -204
  878. package/template/.claude/skills/drawio/references/docs/design-system/color-guide.md +0 -255
  879. package/template/.claude/skills/drawio/references/docs/design-system/connectors.md +0 -388
  880. package/template/.claude/skills/drawio/references/docs/design-system/formulas.md +0 -196
  881. package/template/.claude/skills/drawio/references/docs/design-system/icons.md +0 -332
  882. package/template/.claude/skills/drawio/references/docs/design-system/shapes.md +0 -269
  883. package/template/.claude/skills/drawio/references/docs/design-system/specification.md +0 -754
  884. package/template/.claude/skills/drawio/references/docs/design-system/themes.md +0 -441
  885. package/template/.claude/skills/drawio/references/docs/design-system/tokens.md +0 -232
  886. package/template/.claude/skills/drawio/references/docs/edge-quality-rules.md +0 -65
  887. package/template/.claude/skills/drawio/references/docs/ieee-network-diagrams.md +0 -145
  888. package/template/.claude/skills/drawio/references/docs/live-snapshots-drift.md +0 -72
  889. package/template/.claude/skills/drawio/references/docs/math-typesetting.md +0 -258
  890. package/template/.claude/skills/drawio/references/docs/mcp-tools.md +0 -85
  891. package/template/.claude/skills/drawio/references/docs/migration-readiness.md +0 -73
  892. package/template/.claude/skills/drawio/references/docs/stencil-library-guide.md +0 -97
  893. package/template/.claude/skills/drawio/references/docs/style-extraction.md +0 -261
  894. package/template/.claude/skills/drawio/references/docs/style-presets.md +0 -126
  895. package/template/.claude/skills/drawio/references/docs/upstream-capability-compatibility.md +0 -61
  896. package/template/.claude/skills/drawio/references/docs/xml-format.md +0 -53
  897. package/template/.claude/skills/drawio/references/examples/README.md +0 -33
  898. package/template/.claude/skills/drawio/references/examples/agentic-rag.yaml +0 -71
  899. package/template/.claude/skills/drawio/references/examples/arch-dark-aws-serverless.yaml +0 -103
  900. package/template/.claude/skills/drawio/references/examples/arch-dark-microservices.yaml +0 -146
  901. package/template/.claude/skills/drawio/references/examples/arch-dark-web-app.yaml +0 -62
  902. package/template/.claude/skills/drawio/references/examples/auto-layout-workflow.yaml +0 -81
  903. package/template/.claude/skills/drawio/references/examples/aws-vpc-topology.yaml +0 -66
  904. package/template/.claude/skills/drawio/references/examples/campus-lan-topology.yaml +0 -89
  905. package/template/.claude/skills/drawio/references/examples/cloud-reference-architecture.yaml +0 -34
  906. package/template/.claude/skills/drawio/references/examples/e-commerce.yaml +0 -141
  907. package/template/.claude/skills/drawio/references/examples/importers/README.md +0 -10
  908. package/template/.claude/skills/drawio/references/examples/importers/live/compose-drift-evidence.json +0 -49
  909. package/template/.claude/skills/drawio/references/examples/importers/live/compose-drift-report.json +0 -300
  910. package/template/.claude/skills/drawio/references/examples/importers/live/compose-drift.spec.yaml +0 -75
  911. package/template/.claude/skills/drawio/references/examples/importers/live/docker-inspect.json +0 -55
  912. package/template/.claude/skills/drawio/references/examples/importers/live/drift-declared-compose.yaml +0 -13
  913. package/template/.claude/skills/drawio/references/examples/importers/live/kubernetes-live.json +0 -71
  914. package/template/.claude/skills/drawio/references/examples/importers/live/terraform-state.json +0 -70
  915. package/template/.claude/skills/drawio/references/examples/importers/schema.sql +0 -10
  916. package/template/.claude/skills/drawio/references/examples/importers/terraform.tf +0 -9
  917. package/template/.claude/skills/drawio/references/examples/login-flow.yaml +0 -65
  918. package/template/.claude/skills/drawio/references/examples/mem0-memory-layer.yaml +0 -63
  919. package/template/.claude/skills/drawio/references/examples/microservices.yaml +0 -58
  920. package/template/.claude/skills/drawio/references/examples/multi-agent-orchestration.yaml +0 -67
  921. package/template/.claude/skills/drawio/references/examples/neural-network.yaml +0 -66
  922. package/template/.claude/skills/drawio/references/examples/onprem-dmz-topology.yaml +0 -62
  923. package/template/.claude/skills/drawio/references/examples/palettes/README.md +0 -29
  924. package/template/.claude/skills/drawio/references/examples/palettes/c4-blue.drawio +0 -6
  925. package/template/.claude/skills/drawio/references/examples/palettes/c4-blue.svg +0 -36
  926. package/template/.claude/skills/drawio/references/examples/palettes/cloud-aws.drawio +0 -6
  927. package/template/.claude/skills/drawio/references/examples/palettes/cloud-aws.svg +0 -36
  928. package/template/.claude/skills/drawio/references/examples/palettes/drawio-classic.drawio +0 -6
  929. package/template/.claude/skills/drawio/references/examples/palettes/drawio-classic.svg +0 -36
  930. package/template/.claude/skills/drawio/references/examples/palettes/ieee-bw.drawio +0 -6
  931. package/template/.claude/skills/drawio/references/examples/palettes/ieee-bw.svg +0 -36
  932. package/template/.claude/skills/drawio/references/examples/palettes/ieee-color.drawio +0 -6
  933. package/template/.claude/skills/drawio/references/examples/palettes/ieee-color.svg +0 -36
  934. package/template/.claude/skills/drawio/references/examples/palettes/journal-jama.drawio +0 -6
  935. package/template/.claude/skills/drawio/references/examples/palettes/journal-jama.svg +0 -36
  936. package/template/.claude/skills/drawio/references/examples/palettes/journal-npg.drawio +0 -6
  937. package/template/.claude/skills/drawio/references/examples/palettes/journal-npg.svg +0 -36
  938. package/template/.claude/skills/drawio/references/examples/palettes/matlab-lines.drawio +0 -6
  939. package/template/.claude/skills/drawio/references/examples/palettes/matlab-lines.svg +0 -36
  940. package/template/.claude/skills/drawio/references/examples/palettes/morandi.drawio +0 -6
  941. package/template/.claude/skills/drawio/references/examples/palettes/morandi.svg +0 -36
  942. package/template/.claude/skills/drawio/references/examples/palettes/okabe-ito.drawio +0 -6
  943. package/template/.claude/skills/drawio/references/examples/palettes/okabe-ito.svg +0 -36
  944. package/template/.claude/skills/drawio/references/examples/palettes/palette-swatch.template.yaml +0 -56
  945. package/template/.claude/skills/drawio/references/examples/palettes/seaborn-colorblind.drawio +0 -6
  946. package/template/.claude/skills/drawio/references/examples/palettes/seaborn-colorblind.svg +0 -36
  947. package/template/.claude/skills/drawio/references/examples/palettes/tol-bright.drawio +0 -6
  948. package/template/.claude/skills/drawio/references/examples/palettes/tol-bright.svg +0 -36
  949. package/template/.claude/skills/drawio/references/examples/palettes/tol-high-contrast.drawio +0 -6
  950. package/template/.claude/skills/drawio/references/examples/palettes/tol-high-contrast.svg +0 -36
  951. package/template/.claude/skills/drawio/references/examples/palettes/tol-light-fill.drawio +0 -6
  952. package/template/.claude/skills/drawio/references/examples/palettes/tol-light-fill.svg +0 -36
  953. package/template/.claude/skills/drawio/references/examples/palettes/tol-muted.drawio +0 -6
  954. package/template/.claude/skills/drawio/references/examples/palettes/tol-muted.svg +0 -36
  955. package/template/.claude/skills/drawio/references/examples/rag-pipeline.yaml +0 -67
  956. package/template/.claude/skills/drawio/references/examples/replicated-brand-flow.yaml +0 -89
  957. package/template/.claude/skills/drawio/references/examples/swimlane-engineering-review.yaml +0 -44
  958. package/template/.claude/skills/drawio/references/examples/tiered-network-topology.yaml +0 -59
  959. package/template/.claude/skills/drawio/references/examples/tool-call-loop.yaml +0 -63
  960. package/template/.claude/skills/drawio/references/examples/vendor-device-mapping.yaml +0 -46
  961. package/template/.claude/skills/drawio/references/official/style-reference.md +0 -936
  962. package/template/.claude/skills/drawio/references/official/xml-reference.md +0 -262
  963. package/template/.claude/skills/drawio/references/palette.schema.json +0 -59
  964. package/template/.claude/skills/drawio/references/theme.schema.json +0 -249
  965. package/template/.claude/skills/drawio/references/upstream/pure-drawio-skill.md +0 -615
  966. package/template/.claude/skills/drawio/references/workflows/create.md +0 -195
  967. package/template/.claude/skills/drawio/references/workflows/edit.md +0 -174
  968. package/template/.claude/skills/drawio/references/workflows/replicate.md +0 -239
  969. package/template/.claude/skills/drawio/references/workflows/visual-review.md +0 -108
  970. package/template/.claude/skills/drawio/reports/output_quality_scorecard.md +0 -106
  971. package/template/.claude/skills/drawio/reports/upstream-port-release-evidence.md +0 -43
  972. package/template/.claude/skills/drawio/scripts/adapters/ci.js +0 -139
  973. package/template/.claude/skills/drawio/scripts/adapters/ci.test.js +0 -41
  974. package/template/.claude/skills/drawio/scripts/adapters/code-common.js +0 -171
  975. package/template/.claude/skills/drawio/scripts/adapters/code-imports.test.js +0 -80
  976. package/template/.claude/skills/drawio/scripts/adapters/code-parsers.integration.test.js +0 -71
  977. package/template/.claude/skills/drawio/scripts/adapters/compose.js +0 -134
  978. package/template/.claude/skills/drawio/scripts/adapters/compose.test.js +0 -54
  979. package/template/.claude/skills/drawio/scripts/adapters/config-adapters.integration.test.js +0 -58
  980. package/template/.claude/skills/drawio/scripts/adapters/config-common.js +0 -131
  981. package/template/.claude/skills/drawio/scripts/adapters/config-common.test.js +0 -32
  982. package/template/.claude/skills/drawio/scripts/adapters/docker-inspect.js +0 -127
  983. package/template/.claude/skills/drawio/scripts/adapters/docker-inspect.test.js +0 -62
  984. package/template/.claude/skills/drawio/scripts/adapters/fixtures/raster-extraction.json +0 -31
  985. package/template/.claude/skills/drawio/scripts/adapters/go-code-adapter.test.js +0 -59
  986. package/template/.claude/skills/drawio/scripts/adapters/go-code.js +0 -168
  987. package/template/.claude/skills/drawio/scripts/adapters/graph-drift.file.test.js +0 -67
  988. package/template/.claude/skills/drawio/scripts/adapters/graph-drift.js +0 -358
  989. package/template/.claude/skills/drawio/scripts/adapters/graph-drift.test.js +0 -272
  990. package/template/.claude/skills/drawio/scripts/adapters/graph-projection.js +0 -335
  991. package/template/.claude/skills/drawio/scripts/adapters/graph-projection.test.js +0 -141
  992. package/template/.claude/skills/drawio/scripts/adapters/identity.js +0 -244
  993. package/template/.claude/skills/drawio/scripts/adapters/identity.test.js +0 -123
  994. package/template/.claude/skills/drawio/scripts/adapters/index.js +0 -489
  995. package/template/.claude/skills/drawio/scripts/adapters/index.test.js +0 -152
  996. package/template/.claude/skills/drawio/scripts/adapters/js-code-adapter.test.js +0 -42
  997. package/template/.claude/skills/drawio/scripts/adapters/js-code.js +0 -141
  998. package/template/.claude/skills/drawio/scripts/adapters/kubernetes-live.test.js +0 -46
  999. package/template/.claude/skills/drawio/scripts/adapters/kubernetes.js +0 -258
  1000. package/template/.claude/skills/drawio/scripts/adapters/kubernetes.test.js +0 -81
  1001. package/template/.claude/skills/drawio/scripts/adapters/openapi.js +0 -98
  1002. package/template/.claude/skills/drawio/scripts/adapters/openapi.test.js +0 -46
  1003. package/template/.claude/skills/drawio/scripts/adapters/optional-python-code.js +0 -16
  1004. package/template/.claude/skills/drawio/scripts/adapters/optional-python.integration.test.js +0 -32
  1005. package/template/.claude/skills/drawio/scripts/adapters/optional-python.js +0 -127
  1006. package/template/.claude/skills/drawio/scripts/adapters/optional-python.test.js +0 -55
  1007. package/template/.claude/skills/drawio/scripts/adapters/projection-to-spec.js +0 -116
  1008. package/template/.claude/skills/drawio/scripts/adapters/projection-to-spec.test.js +0 -139
  1009. package/template/.claude/skills/drawio/scripts/adapters/python/code-parser-worker.py +0 -93
  1010. package/template/.claude/skills/drawio/scripts/adapters/python/config-parser-worker.py +0 -237
  1011. package/template/.claude/skills/drawio/scripts/adapters/python/requirements.txt +0 -2
  1012. package/template/.claude/skills/drawio/scripts/adapters/python-code-adapter.test.js +0 -127
  1013. package/template/.claude/skills/drawio/scripts/adapters/python-code.js +0 -246
  1014. package/template/.claude/skills/drawio/scripts/adapters/raster-extraction.js +0 -258
  1015. package/template/.claude/skills/drawio/scripts/adapters/raster-extraction.test.js +0 -308
  1016. package/template/.claude/skills/drawio/scripts/adapters/rust-code-adapter.test.js +0 -64
  1017. package/template/.claude/skills/drawio/scripts/adapters/rust-code.js +0 -207
  1018. package/template/.claude/skills/drawio/scripts/adapters/sql-ddl.js +0 -118
  1019. package/template/.claude/skills/drawio/scripts/adapters/sql-ddl.test.js +0 -56
  1020. package/template/.claude/skills/drawio/scripts/adapters/terraform-config.js +0 -141
  1021. package/template/.claude/skills/drawio/scripts/adapters/terraform-config.test.js +0 -67
  1022. package/template/.claude/skills/drawio/scripts/adapters/terraform-state.js +0 -157
  1023. package/template/.claude/skills/drawio/scripts/adapters/terraform-state.test.js +0 -69
  1024. package/template/.claude/skills/drawio/scripts/cli.js +0 -700
  1025. package/template/.claude/skills/drawio/scripts/dsl/ah-to-drawio.js +0 -276
  1026. package/template/.claude/skills/drawio/scripts/dsl/ah-to-drawio.test.js +0 -77
  1027. package/template/.claude/skills/drawio/scripts/dsl/ai-icon-catalog.js +0 -126
  1028. package/template/.claude/skills/drawio/scripts/dsl/ai-icon-catalog.test.js +0 -86
  1029. package/template/.claude/skills/drawio/scripts/dsl/auto-layout.js +0 -206
  1030. package/template/.claude/skills/drawio/scripts/dsl/auto-layout.test.js +0 -249
  1031. package/template/.claude/skills/drawio/scripts/dsl/catalog-ranking.js +0 -54
  1032. package/template/.claude/skills/drawio/scripts/dsl/catalog-search.js +0 -58
  1033. package/template/.claude/skills/drawio/scripts/dsl/catalog-search.test.js +0 -44
  1034. package/template/.claude/skills/drawio/scripts/dsl/document-spec.js +0 -256
  1035. package/template/.claude/skills/drawio/scripts/dsl/document-spec.test.js +0 -147
  1036. package/template/.claude/skills/drawio/scripts/dsl/drawio-to-spec.js +0 -497
  1037. package/template/.claude/skills/drawio/scripts/dsl/examples-baseline.test.js +0 -30
  1038. package/template/.claude/skills/drawio/scripts/dsl/icon-mappings.js +0 -65
  1039. package/template/.claude/skills/drawio/scripts/dsl/icon-mappings.test.js +0 -19
  1040. package/template/.claude/skills/drawio/scripts/dsl/icon-resolver.js +0 -153
  1041. package/template/.claude/skills/drawio/scripts/dsl/icon-resolver.test.js +0 -62
  1042. package/template/.claude/skills/drawio/scripts/dsl/multi-page.js +0 -224
  1043. package/template/.claude/skills/drawio/scripts/dsl/multi-page.test.js +0 -107
  1044. package/template/.claude/skills/drawio/scripts/dsl/palette-catalog.test.js +0 -138
  1045. package/template/.claude/skills/drawio/scripts/dsl/palette-integration.test.js +0 -182
  1046. package/template/.claude/skills/drawio/scripts/dsl/palette-validate.js +0 -91
  1047. package/template/.claude/skills/drawio/scripts/dsl/palette.js +0 -302
  1048. package/template/.claude/skills/drawio/scripts/dsl/palette.test.js +0 -197
  1049. package/template/.claude/skills/drawio/scripts/dsl/shape-catalog.js +0 -89
  1050. package/template/.claude/skills/drawio/scripts/dsl/shape-catalog.test.js +0 -21
  1051. package/template/.claude/skills/drawio/scripts/dsl/spec-to-drawio.js +0 -3739
  1052. package/template/.claude/skills/drawio/scripts/dsl/spec-to-drawio.test.js +0 -3022
  1053. package/template/.claude/skills/drawio/scripts/generate-palette-swatches.js +0 -87
  1054. package/template/.claude/skills/drawio/scripts/install.bat +0 -64
  1055. package/template/.claude/skills/drawio/scripts/install.sh +0 -44
  1056. package/template/.claude/skills/drawio/scripts/math/index.js +0 -317
  1057. package/template/.claude/skills/drawio/scripts/math/index.test.js +0 -62
  1058. package/template/.claude/skills/drawio/scripts/package.json +0 -1
  1059. package/template/.claude/skills/drawio/scripts/postprocess/artifacts.js +0 -142
  1060. package/template/.claude/skills/drawio/scripts/postprocess/artifacts.test.js +0 -86
  1061. package/template/.claude/skills/drawio/scripts/postprocess/cli.js +0 -228
  1062. package/template/.claude/skills/drawio/scripts/postprocess/cli.test.js +0 -129
  1063. package/template/.claude/skills/drawio/scripts/postprocess/fixtures/bundle.yaml +0 -75
  1064. package/template/.claude/skills/drawio/scripts/postprocess/fixtures/legacy.yaml +0 -21
  1065. package/template/.claude/skills/drawio/scripts/postprocess/html.js +0 -197
  1066. package/template/.claude/skills/drawio/scripts/postprocess/html.test.js +0 -50
  1067. package/template/.claude/skills/drawio/scripts/postprocess/index.js +0 -5
  1068. package/template/.claude/skills/drawio/scripts/postprocess/input.js +0 -112
  1069. package/template/.claude/skills/drawio/scripts/postprocess/input.test.js +0 -73
  1070. package/template/.claude/skills/drawio/scripts/postprocess/mutate.js +0 -584
  1071. package/template/.claude/skills/drawio/scripts/postprocess/mutate.test.js +0 -193
  1072. package/template/.claude/skills/drawio/scripts/postprocess/projection.js +0 -178
  1073. package/template/.claude/skills/drawio/scripts/postprocess/projection.test.js +0 -67
  1074. package/template/.claude/skills/drawio/scripts/runtime/artifacts.js +0 -283
  1075. package/template/.claude/skills/drawio/scripts/runtime/desktop.js +0 -204
  1076. package/template/.claude/skills/drawio/scripts/runtime/desktop.test.js +0 -121
  1077. package/template/.claude/skills/drawio/scripts/runtime/diagrams-net-url.js +0 -122
  1078. package/template/.claude/skills/drawio/scripts/runtime/export-stability.js +0 -75
  1079. package/template/.claude/skills/drawio/scripts/runtime/export-stability.test.js +0 -81
  1080. package/template/.claude/skills/drawio/scripts/runtime/png-inspection.js +0 -157
  1081. package/template/.claude/skills/drawio/scripts/runtime/png-inspection.test.js +0 -120
  1082. package/template/.claude/skills/drawio/scripts/runtime/vision-preview.js +0 -77
  1083. package/template/.claude/skills/drawio/scripts/runtime/vision-preview.test.js +0 -103
  1084. package/template/.claude/skills/drawio/scripts/shared/ai-icon-contract.js +0 -13
  1085. package/template/.claude/skills/drawio/scripts/shared/xml-utils.js +0 -241
  1086. package/template/.claude/skills/drawio/scripts/svg/drawio-to-svg.js +0 -918
  1087. package/template/.claude/skills/drawio/scripts/svg/drawio-to-svg.test.js +0 -763
  1088. package/template/.claude/skills/drawio/scripts/tools/build-ai-icon-catalog.js +0 -208
  1089. package/template/.claude/skills/drawio/scripts/tools/build-ai-icon-catalog.test.js +0 -107
  1090. package/template/.claude/skills/drawio/scripts/tools/build-shape-catalog.js +0 -84
  1091. package/template/.claude/skills/drawio/scripts/tools/build-shape-catalog.test.js +0 -43
  1092. package/template/.claude/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha-color.svg +0 -1
  1093. package/template/.claude/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha.svg +0 -1
  1094. package/template/.claude/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta-brand-color.svg +0 -1
  1095. package/template/.claude/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta.svg +0 -1
  1096. package/template/.claude/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai-text-color.svg +0 -1
  1097. package/template/.claude/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai.svg +0 -1
  1098. package/template/.claude/skills/drawio/scripts/tools/fixtures/ai-icons-package/package.json +0 -5
  1099. package/template/.claude/skills/drawio/scripts/vendor/elkjs/LICENSE.md +0 -264
  1100. package/template/.claude/skills/drawio/scripts/vendor/elkjs/README.md +0 -18
  1101. package/template/.claude/skills/drawio/scripts/vendor/elkjs/elk.bundled.cjs +0 -6589
  1102. package/template/.claude/skills/drawio/styles/built-in/corporate.json +0 -49
  1103. package/template/.claude/skills/drawio/styles/built-in/default.json +0 -49
  1104. package/template/.claude/skills/drawio/styles/built-in/handdrawn.json +0 -49
  1105. package/template/.claude/skills/drawio/styles/schema.json +0 -112
  1106. package/template/.claude/skills/drawio-academic-skills/CHANGELOG.md +0 -67
  1107. package/template/.claude/skills/drawio-academic-skills/README.md +0 -103
  1108. package/template/.claude/skills/drawio-academic-skills/README_CN.md +0 -103
  1109. package/template/.claude/skills/drawio-academic-skills/SKILL.md +0 -161
  1110. package/template/.claude/skills/drawio-academic-skills/__yss_dotfile__.gitignore +0 -12
  1111. package/template/.claude/skills/drawio-academic-skills/agents/interface.yaml +0 -25
  1112. package/template/.claude/skills/drawio-academic-skills/agents/openai.yaml +0 -24
  1113. package/template/.claude/skills/drawio-academic-skills/evals/README.md +0 -13
  1114. package/template/.claude/skills/drawio-academic-skills/evals/baseline-prompts.json +0 -52
  1115. package/template/.claude/skills/drawio-academic-skills/evals/darwin-results.tsv +0 -3
  1116. package/template/.claude/skills/drawio-academic-skills/evals/evals.json +0 -228
  1117. package/template/.claude/skills/drawio-academic-skills/evals/test-prompts.json +0 -17
  1118. package/template/.claude/skills/drawio-academic-skills/references/docs/academic-export-checklist.md +0 -45
  1119. package/template/.claude/skills/drawio-academic-skills/references/docs/academic-figure-playbook.md +0 -349
  1120. package/template/.claude/skills/drawio-academic-skills/references/docs/publication-overlay.md +0 -206
  1121. package/template/.claude/skills/drawio-academic-skills/references/examples/ablation-study-pipeline.yaml +0 -39
  1122. package/template/.claude/skills/drawio-academic-skills/references/examples/ieee-network-paper.yaml +0 -44
  1123. package/template/.claude/skills/drawio-academic-skills/references/examples/industrial-architecture-cn-paper.yaml +0 -106
  1124. package/template/.claude/skills/drawio-academic-skills/references/examples/max-pooling-operation-paper.yaml +0 -75
  1125. package/template/.claude/skills/drawio-academic-skills/references/examples/research-pipeline.yaml +0 -54
  1126. package/template/.claude/skills/drawio-academic-skills/references/examples/system-architecture-paper.yaml +0 -45
  1127. package/template/.claude/skills/drawio-academic-skills/references/examples/technical-roadmap-paper.yaml +0 -54
  1128. package/template/.claude/skills/drawio-academic-skills/references/examples/yolo-model-architecture-paper.yaml +0 -118
  1129. package/template/.claude/skills/drawio-academic-skills/references/templates/multi-module-system-compact.yaml +0 -251
  1130. package/template/.claude/skills/drawio-academic-skills/references/templates/neural-network-architecture-compact.yaml +0 -267
  1131. package/template/.claude/skills/excalidraw-diagram-generator/SKILL.md +0 -634
  1132. package/template/.claude/skills/excalidraw-diagram-generator/references/element-types.md +0 -497
  1133. package/template/.claude/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +0 -350
  1134. package/template/.claude/skills/excalidraw-diagram-generator/scripts/README.md +0 -193
  1135. package/template/.claude/skills/excalidraw-diagram-generator/scripts/__yss_dotfile__.gitignore +0 -34
  1136. package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-arrow.py +0 -315
  1137. package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +0 -406
  1138. package/template/.claude/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +0 -183
  1139. package/template/.claude/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +0 -334
  1140. package/template/.claude/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +0 -558
  1141. package/template/.claude/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +0 -279
  1142. package/template/.claude/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +0 -662
  1143. package/template/.claude/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +0 -179
  1144. package/template/.claude/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +0 -244
  1145. package/template/.claude/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +0 -145
  1146. package/template/.claude/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +0 -509
  1147. package/template/.claude/skills/kb-retriever/README.md +0 -197
  1148. package/template/.claude/skills/kb-retriever/README.zh-CN.md +0 -197
  1149. package/template/.claude/skills/kb-retriever/SKILL.md +0 -250
  1150. package/template/.claude/skills/kb-retriever/manifest.json +0 -15
  1151. package/template/.claude/skills/kb-retriever/references/excel_analysis.md +0 -129
  1152. package/template/.claude/skills/kb-retriever/references/excel_reading.md +0 -72
  1153. package/template/.claude/skills/kb-retriever/references/pdf_reading.md +0 -362
  1154. package/template/.claude/skills/kb-retriever/scripts/convert_pdf_to_images.py +0 -35
  1155. package/template/.claude/skills/yss-db2mybatis/requirements.txt +0 -4
  1156. package/template/.claude/skills/yss-db2mybatis/scripts/db2mybatis.py +0 -1494
  1157. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +0 -728
  1158. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.py +0 -155
  1159. package/template/.claude/skills/yss-design-system/scripts/validate-frontmatter.py +0 -50
  1160. package/template/.claude/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -371
  1161. package/template/.claude/skills/yss-web-controller/scripts/generate_controller.py +0 -293
  1162. package/template/.claude/skills/yss-web-controller/scripts/test_generate_controller.py +0 -68
  1163. package/template/.codex/skills/beautiful-article/README.md +0 -450
  1164. package/template/.codex/skills/beautiful-article/README.zh-CN.md +0 -450
  1165. package/template/.codex/skills/beautiful-article/SKILL.md +0 -466
  1166. package/template/.codex/skills/beautiful-article/assets/scaffold-template/__yss_dotfile__.npmrc +0 -1
  1167. package/template/.codex/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +0 -69
  1168. package/template/.codex/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +0 -172
  1169. package/template/.codex/skills/beautiful-article/assets/scaffold-template/article/main.tsx +0 -26
  1170. package/template/.codex/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +0 -30
  1171. package/template/.codex/skills/beautiful-article/assets/scaffold-template/index.html +0 -19
  1172. package/template/.codex/skills/beautiful-article/assets/scaffold-template/package.json +0 -26
  1173. package/template/.codex/skills/beautiful-article/assets/scaffold-template/tsconfig.json +0 -20
  1174. package/template/.codex/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +0 -11
  1175. package/template/.codex/skills/beautiful-article/assets/scaffold-template/vite.config.ts +0 -18
  1176. package/template/.codex/skills/beautiful-article/manifest.json +0 -15
  1177. package/template/.codex/skills/beautiful-article/references/article-types/briefing.md +0 -32
  1178. package/template/.codex/skills/beautiful-article/references/article-types/dialogue.md +0 -30
  1179. package/template/.codex/skills/beautiful-article/references/article-types/essay.md +0 -31
  1180. package/template/.codex/skills/beautiful-article/references/article-types/explainer.md +0 -32
  1181. package/template/.codex/skills/beautiful-article/references/article-types/full-report.md +0 -32
  1182. package/template/.codex/skills/beautiful-article/references/article-types/interactive-explainer.md +0 -66
  1183. package/template/.codex/skills/beautiful-article/references/article-types/longform.md +0 -32
  1184. package/template/.codex/skills/beautiful-article/references/article-types/review.md +0 -32
  1185. package/template/.codex/skills/beautiful-article/references/article-types/tutorial.md +0 -30
  1186. package/template/.codex/skills/beautiful-article/references/article-types/visual-essay.md +0 -33
  1187. package/template/.codex/skills/beautiful-article/references/article-types.md +0 -42
  1188. package/template/.codex/skills/beautiful-article/references/asset-policy.md +0 -71
  1189. package/template/.codex/skills/beautiful-article/references/component-policy.md +0 -103
  1190. package/template/.codex/skills/beautiful-article/references/cover.md +0 -208
  1191. package/template/.codex/skills/beautiful-article/references/harness.md +0 -35
  1192. package/template/.codex/skills/beautiful-article/references/html-output.md +0 -42
  1193. package/template/.codex/skills/beautiful-article/references/information-density.md +0 -50
  1194. package/template/.codex/skills/beautiful-article/references/layout.md +0 -46
  1195. package/template/.codex/skills/beautiful-article/references/pdf-output.md +0 -208
  1196. package/template/.codex/skills/beautiful-article/references/plan-template.md +0 -109
  1197. package/template/.codex/skills/beautiful-article/references/raw-policy.md +0 -86
  1198. package/template/.codex/skills/beautiful-article/references/repair-policy.md +0 -35
  1199. package/template/.codex/skills/beautiful-article/references/review-checklist.md +0 -133
  1200. package/template/.codex/skills/beautiful-article/references/scaffold.md +0 -77
  1201. package/template/.codex/skills/beautiful-article/references/section-build.md +0 -100
  1202. package/template/.codex/skills/beautiful-article/references/source-to-markdown.md +0 -118
  1203. package/template/.codex/skills/beautiful-article/references/theme-selection.md +0 -48
  1204. package/template/.codex/skills/beautiful-article/scripts/html-to-pdf.sh +0 -160
  1205. package/template/.codex/skills/beautiful-article/scripts/pdf-print-overrides.css +0 -192
  1206. package/template/.codex/skills/beautiful-article/scripts/scaffold.sh +0 -172
  1207. package/template/.codex/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +0 -100
  1208. package/template/.codex/skills/beautiful-article/scripts/source-to-markdown.py +0 -174
  1209. package/template/.codex/skills/beautiful-article/theme-profiles/andy.md +0 -57
  1210. package/template/.codex/skills/beautiful-article/theme-profiles/bayer.md +0 -57
  1211. package/template/.codex/skills/beautiful-article/theme-profiles/bodoni.md +0 -57
  1212. package/template/.codex/skills/beautiful-article/theme-profiles/freddie.md +0 -57
  1213. package/template/.codex/skills/beautiful-article/theme-profiles/fuller.md +0 -56
  1214. package/template/.codex/skills/beautiful-article/theme-profiles/index.json +0 -112
  1215. package/template/.codex/skills/beautiful-article/theme-profiles/knuth.md +0 -60
  1216. package/template/.codex/skills/beautiful-article/theme-profiles/press.md +0 -61
  1217. package/template/.codex/skills/beautiful-article/theme-profiles/shannon.md +0 -64
  1218. package/template/.codex/skills/beautiful-article/theme-profiles/sottsass.md +0 -57
  1219. package/template/.codex/skills/beautiful-article/theme-profiles/tufte.md +0 -64
  1220. package/template/.codex/skills/beautiful-article/theme-profiles/vignelli.md +0 -63
  1221. package/template/.codex/skills/drawio/.mcp.json +0 -8
  1222. package/template/.codex/skills/drawio/CHANGELOG.md +0 -216
  1223. package/template/.codex/skills/drawio/SKILL.md +0 -157
  1224. package/template/.codex/skills/drawio/agents/interface.yaml +0 -26
  1225. package/template/.codex/skills/drawio/agents/openai.yaml +0 -26
  1226. package/template/.codex/skills/drawio/assets/catalog/ai-icons.json.gz +0 -0
  1227. package/template/.codex/skills/drawio/assets/catalog/shape-catalog.json.gz +0 -0
  1228. package/template/.codex/skills/drawio/assets/catalog/shape-index.json.gz +0 -0
  1229. package/template/.codex/skills/drawio/assets/examples/login-flow-test.drawio +0 -6
  1230. package/template/.codex/skills/drawio/assets/examples/login-flow.drawio +0 -6
  1231. package/template/.codex/skills/drawio/assets/examples/microservices.drawio +0 -6
  1232. package/template/.codex/skills/drawio/assets/examples/neural-network.drawio +0 -6
  1233. package/template/.codex/skills/drawio/assets/licenses/architecture-diagram-generator-MIT.txt +0 -26
  1234. package/template/.codex/skills/drawio/assets/licenses/drawio-mcp-shape-index-Apache-2.0.txt +0 -8
  1235. package/template/.codex/skills/drawio/assets/licenses/lobe-icons-MIT.txt +0 -26
  1236. package/template/.codex/skills/drawio/assets/licenses/lucide-ISC.txt +0 -41
  1237. package/template/.codex/skills/drawio/assets/palettes/c4-blue.json +0 -29
  1238. package/template/.codex/skills/drawio/assets/palettes/cloud-aws.json +0 -30
  1239. package/template/.codex/skills/drawio/assets/palettes/drawio-classic.json +0 -21
  1240. package/template/.codex/skills/drawio/assets/palettes/ieee-bw.json +0 -26
  1241. package/template/.codex/skills/drawio/assets/palettes/ieee-color.json +0 -17
  1242. package/template/.codex/skills/drawio/assets/palettes/journal-jama.json +0 -20
  1243. package/template/.codex/skills/drawio/assets/palettes/journal-npg.json +0 -23
  1244. package/template/.codex/skills/drawio/assets/palettes/matlab-lines.json +0 -20
  1245. package/template/.codex/skills/drawio/assets/palettes/morandi.json +0 -21
  1246. package/template/.codex/skills/drawio/assets/palettes/okabe-ito.json +0 -21
  1247. package/template/.codex/skills/drawio/assets/palettes/seaborn-colorblind.json +0 -23
  1248. package/template/.codex/skills/drawio/assets/palettes/tol-bright.json +0 -20
  1249. package/template/.codex/skills/drawio/assets/palettes/tol-high-contrast.json +0 -18
  1250. package/template/.codex/skills/drawio/assets/palettes/tol-light-fill.json +0 -22
  1251. package/template/.codex/skills/drawio/assets/palettes/tol-muted.json +0 -22
  1252. package/template/.codex/skills/drawio/assets/schemas/graph-projection.schema.json +0 -135
  1253. package/template/.codex/skills/drawio/assets/schemas/spec.schema.json +0 -620
  1254. package/template/.codex/skills/drawio/assets/themes/academic-color.json +0 -299
  1255. package/template/.codex/skills/drawio/assets/themes/academic.json +0 -245
  1256. package/template/.codex/skills/drawio/assets/themes/arch-dark.json +0 -253
  1257. package/template/.codex/skills/drawio/assets/themes/blueprint.json +0 -246
  1258. package/template/.codex/skills/drawio/assets/themes/dark-luxury.json +0 -246
  1259. package/template/.codex/skills/drawio/assets/themes/dark-terminal.json +0 -244
  1260. package/template/.codex/skills/drawio/assets/themes/dark.json +0 -220
  1261. package/template/.codex/skills/drawio/assets/themes/high-contrast.json +0 -220
  1262. package/template/.codex/skills/drawio/assets/themes/nature.json +0 -220
  1263. package/template/.codex/skills/drawio/assets/themes/notion-clean.json +0 -246
  1264. package/template/.codex/skills/drawio/assets/themes/tech-blue.json +0 -220
  1265. package/template/.codex/skills/drawio/evals/README.md +0 -17
  1266. package/template/.codex/skills/drawio/evals/ai-icon-catalog-cases.json +0 -89
  1267. package/template/.codex/skills/drawio/evals/baseline-prompts.json +0 -122
  1268. package/template/.codex/skills/drawio/evals/darwin-results.tsv +0 -4
  1269. package/template/.codex/skills/drawio/evals/evals.json +0 -223
  1270. package/template/.codex/skills/drawio/evals/evidence/ai-icon-catalog-desktop.json +0 -134
  1271. package/template/.codex/skills/drawio/evals/fixtures/ai-icons-advanced-svg.yaml +0 -25
  1272. package/template/.codex/skills/drawio/evals/fixtures/ai-icons-cjk-agent-rag.yaml +0 -55
  1273. package/template/.codex/skills/drawio/evals/fixtures/ai-icons-core-aliases.yaml +0 -50
  1274. package/template/.codex/skills/drawio/evals/fixtures/ai-icons-current-color.yaml +0 -25
  1275. package/template/.codex/skills/drawio/evals/fixtures/ai-icons-gradients.yaml +0 -25
  1276. package/template/.codex/skills/drawio/evals/fixtures/import-simple-compressed.drawio +0 -5
  1277. package/template/.codex/skills/drawio/evals/fixtures/import-simple.drawio +0 -28
  1278. package/template/.codex/skills/drawio/evals/fixtures/industrial-architecture.yaml +0 -239
  1279. package/template/.codex/skills/drawio/evals/fixtures/replicate-academic-highlight.svg +0 -13
  1280. package/template/.codex/skills/drawio/evals/fixtures/replicate-brand-architecture.svg +0 -14
  1281. package/template/.codex/skills/drawio/evals/fixtures/replicate-warm-approval.svg +0 -13
  1282. package/template/.codex/skills/drawio/evals/fixtures/vision-tall-workflow.yaml +0 -47
  1283. package/template/.codex/skills/drawio/evals/upstream-integration-cases.json +0 -78
  1284. package/template/.codex/skills/drawio/evals/vision-preview-cases.json +0 -147
  1285. package/template/.codex/skills/drawio/references/docs/agent-diagrams.md +0 -164
  1286. package/template/.codex/skills/drawio/references/docs/ah-format.md +0 -322
  1287. package/template/.codex/skills/drawio/references/docs/architecture-diagrams.md +0 -159
  1288. package/template/.codex/skills/drawio/references/docs/canonical-graph-projection.md +0 -54
  1289. package/template/.codex/skills/drawio/references/docs/code-importers.md +0 -53
  1290. package/template/.codex/skills/drawio/references/docs/config-importers.md +0 -68
  1291. package/template/.codex/skills/drawio/references/docs/design-system/README.md +0 -204
  1292. package/template/.codex/skills/drawio/references/docs/design-system/color-guide.md +0 -255
  1293. package/template/.codex/skills/drawio/references/docs/design-system/connectors.md +0 -388
  1294. package/template/.codex/skills/drawio/references/docs/design-system/formulas.md +0 -196
  1295. package/template/.codex/skills/drawio/references/docs/design-system/icons.md +0 -332
  1296. package/template/.codex/skills/drawio/references/docs/design-system/shapes.md +0 -269
  1297. package/template/.codex/skills/drawio/references/docs/design-system/specification.md +0 -754
  1298. package/template/.codex/skills/drawio/references/docs/design-system/themes.md +0 -441
  1299. package/template/.codex/skills/drawio/references/docs/design-system/tokens.md +0 -232
  1300. package/template/.codex/skills/drawio/references/docs/edge-quality-rules.md +0 -65
  1301. package/template/.codex/skills/drawio/references/docs/ieee-network-diagrams.md +0 -145
  1302. package/template/.codex/skills/drawio/references/docs/live-snapshots-drift.md +0 -72
  1303. package/template/.codex/skills/drawio/references/docs/math-typesetting.md +0 -258
  1304. package/template/.codex/skills/drawio/references/docs/mcp-tools.md +0 -85
  1305. package/template/.codex/skills/drawio/references/docs/migration-readiness.md +0 -73
  1306. package/template/.codex/skills/drawio/references/docs/stencil-library-guide.md +0 -97
  1307. package/template/.codex/skills/drawio/references/docs/style-extraction.md +0 -261
  1308. package/template/.codex/skills/drawio/references/docs/style-presets.md +0 -126
  1309. package/template/.codex/skills/drawio/references/docs/upstream-capability-compatibility.md +0 -61
  1310. package/template/.codex/skills/drawio/references/docs/xml-format.md +0 -53
  1311. package/template/.codex/skills/drawio/references/examples/README.md +0 -33
  1312. package/template/.codex/skills/drawio/references/examples/agentic-rag.yaml +0 -71
  1313. package/template/.codex/skills/drawio/references/examples/arch-dark-aws-serverless.yaml +0 -103
  1314. package/template/.codex/skills/drawio/references/examples/arch-dark-microservices.yaml +0 -146
  1315. package/template/.codex/skills/drawio/references/examples/arch-dark-web-app.yaml +0 -62
  1316. package/template/.codex/skills/drawio/references/examples/auto-layout-workflow.yaml +0 -81
  1317. package/template/.codex/skills/drawio/references/examples/aws-vpc-topology.yaml +0 -66
  1318. package/template/.codex/skills/drawio/references/examples/campus-lan-topology.yaml +0 -89
  1319. package/template/.codex/skills/drawio/references/examples/cloud-reference-architecture.yaml +0 -34
  1320. package/template/.codex/skills/drawio/references/examples/e-commerce.yaml +0 -141
  1321. package/template/.codex/skills/drawio/references/examples/importers/README.md +0 -10
  1322. package/template/.codex/skills/drawio/references/examples/importers/live/compose-drift-evidence.json +0 -49
  1323. package/template/.codex/skills/drawio/references/examples/importers/live/compose-drift-report.json +0 -300
  1324. package/template/.codex/skills/drawio/references/examples/importers/live/compose-drift.spec.yaml +0 -75
  1325. package/template/.codex/skills/drawio/references/examples/importers/live/docker-inspect.json +0 -55
  1326. package/template/.codex/skills/drawio/references/examples/importers/live/drift-declared-compose.yaml +0 -13
  1327. package/template/.codex/skills/drawio/references/examples/importers/live/kubernetes-live.json +0 -71
  1328. package/template/.codex/skills/drawio/references/examples/importers/live/terraform-state.json +0 -70
  1329. package/template/.codex/skills/drawio/references/examples/importers/schema.sql +0 -10
  1330. package/template/.codex/skills/drawio/references/examples/importers/terraform.tf +0 -9
  1331. package/template/.codex/skills/drawio/references/examples/login-flow.yaml +0 -65
  1332. package/template/.codex/skills/drawio/references/examples/mem0-memory-layer.yaml +0 -63
  1333. package/template/.codex/skills/drawio/references/examples/microservices.yaml +0 -58
  1334. package/template/.codex/skills/drawio/references/examples/multi-agent-orchestration.yaml +0 -67
  1335. package/template/.codex/skills/drawio/references/examples/neural-network.yaml +0 -66
  1336. package/template/.codex/skills/drawio/references/examples/onprem-dmz-topology.yaml +0 -62
  1337. package/template/.codex/skills/drawio/references/examples/palettes/README.md +0 -29
  1338. package/template/.codex/skills/drawio/references/examples/palettes/c4-blue.drawio +0 -6
  1339. package/template/.codex/skills/drawio/references/examples/palettes/c4-blue.svg +0 -36
  1340. package/template/.codex/skills/drawio/references/examples/palettes/cloud-aws.drawio +0 -6
  1341. package/template/.codex/skills/drawio/references/examples/palettes/cloud-aws.svg +0 -36
  1342. package/template/.codex/skills/drawio/references/examples/palettes/drawio-classic.drawio +0 -6
  1343. package/template/.codex/skills/drawio/references/examples/palettes/drawio-classic.svg +0 -36
  1344. package/template/.codex/skills/drawio/references/examples/palettes/ieee-bw.drawio +0 -6
  1345. package/template/.codex/skills/drawio/references/examples/palettes/ieee-bw.svg +0 -36
  1346. package/template/.codex/skills/drawio/references/examples/palettes/ieee-color.drawio +0 -6
  1347. package/template/.codex/skills/drawio/references/examples/palettes/ieee-color.svg +0 -36
  1348. package/template/.codex/skills/drawio/references/examples/palettes/journal-jama.drawio +0 -6
  1349. package/template/.codex/skills/drawio/references/examples/palettes/journal-jama.svg +0 -36
  1350. package/template/.codex/skills/drawio/references/examples/palettes/journal-npg.drawio +0 -6
  1351. package/template/.codex/skills/drawio/references/examples/palettes/journal-npg.svg +0 -36
  1352. package/template/.codex/skills/drawio/references/examples/palettes/matlab-lines.drawio +0 -6
  1353. package/template/.codex/skills/drawio/references/examples/palettes/matlab-lines.svg +0 -36
  1354. package/template/.codex/skills/drawio/references/examples/palettes/morandi.drawio +0 -6
  1355. package/template/.codex/skills/drawio/references/examples/palettes/morandi.svg +0 -36
  1356. package/template/.codex/skills/drawio/references/examples/palettes/okabe-ito.drawio +0 -6
  1357. package/template/.codex/skills/drawio/references/examples/palettes/okabe-ito.svg +0 -36
  1358. package/template/.codex/skills/drawio/references/examples/palettes/palette-swatch.template.yaml +0 -56
  1359. package/template/.codex/skills/drawio/references/examples/palettes/seaborn-colorblind.drawio +0 -6
  1360. package/template/.codex/skills/drawio/references/examples/palettes/seaborn-colorblind.svg +0 -36
  1361. package/template/.codex/skills/drawio/references/examples/palettes/tol-bright.drawio +0 -6
  1362. package/template/.codex/skills/drawio/references/examples/palettes/tol-bright.svg +0 -36
  1363. package/template/.codex/skills/drawio/references/examples/palettes/tol-high-contrast.drawio +0 -6
  1364. package/template/.codex/skills/drawio/references/examples/palettes/tol-high-contrast.svg +0 -36
  1365. package/template/.codex/skills/drawio/references/examples/palettes/tol-light-fill.drawio +0 -6
  1366. package/template/.codex/skills/drawio/references/examples/palettes/tol-light-fill.svg +0 -36
  1367. package/template/.codex/skills/drawio/references/examples/palettes/tol-muted.drawio +0 -6
  1368. package/template/.codex/skills/drawio/references/examples/palettes/tol-muted.svg +0 -36
  1369. package/template/.codex/skills/drawio/references/examples/rag-pipeline.yaml +0 -67
  1370. package/template/.codex/skills/drawio/references/examples/replicated-brand-flow.yaml +0 -89
  1371. package/template/.codex/skills/drawio/references/examples/swimlane-engineering-review.yaml +0 -44
  1372. package/template/.codex/skills/drawio/references/examples/tiered-network-topology.yaml +0 -59
  1373. package/template/.codex/skills/drawio/references/examples/tool-call-loop.yaml +0 -63
  1374. package/template/.codex/skills/drawio/references/examples/vendor-device-mapping.yaml +0 -46
  1375. package/template/.codex/skills/drawio/references/official/style-reference.md +0 -936
  1376. package/template/.codex/skills/drawio/references/official/xml-reference.md +0 -262
  1377. package/template/.codex/skills/drawio/references/palette.schema.json +0 -59
  1378. package/template/.codex/skills/drawio/references/theme.schema.json +0 -249
  1379. package/template/.codex/skills/drawio/references/upstream/pure-drawio-skill.md +0 -615
  1380. package/template/.codex/skills/drawio/references/workflows/create.md +0 -195
  1381. package/template/.codex/skills/drawio/references/workflows/edit.md +0 -174
  1382. package/template/.codex/skills/drawio/references/workflows/replicate.md +0 -239
  1383. package/template/.codex/skills/drawio/references/workflows/visual-review.md +0 -108
  1384. package/template/.codex/skills/drawio/reports/output_quality_scorecard.md +0 -106
  1385. package/template/.codex/skills/drawio/reports/upstream-port-release-evidence.md +0 -43
  1386. package/template/.codex/skills/drawio/scripts/adapters/ci.js +0 -139
  1387. package/template/.codex/skills/drawio/scripts/adapters/ci.test.js +0 -41
  1388. package/template/.codex/skills/drawio/scripts/adapters/code-common.js +0 -171
  1389. package/template/.codex/skills/drawio/scripts/adapters/code-imports.test.js +0 -80
  1390. package/template/.codex/skills/drawio/scripts/adapters/code-parsers.integration.test.js +0 -71
  1391. package/template/.codex/skills/drawio/scripts/adapters/compose.js +0 -134
  1392. package/template/.codex/skills/drawio/scripts/adapters/compose.test.js +0 -54
  1393. package/template/.codex/skills/drawio/scripts/adapters/config-adapters.integration.test.js +0 -58
  1394. package/template/.codex/skills/drawio/scripts/adapters/config-common.js +0 -131
  1395. package/template/.codex/skills/drawio/scripts/adapters/config-common.test.js +0 -32
  1396. package/template/.codex/skills/drawio/scripts/adapters/docker-inspect.js +0 -127
  1397. package/template/.codex/skills/drawio/scripts/adapters/docker-inspect.test.js +0 -62
  1398. package/template/.codex/skills/drawio/scripts/adapters/fixtures/raster-extraction.json +0 -31
  1399. package/template/.codex/skills/drawio/scripts/adapters/go-code-adapter.test.js +0 -59
  1400. package/template/.codex/skills/drawio/scripts/adapters/go-code.js +0 -168
  1401. package/template/.codex/skills/drawio/scripts/adapters/graph-drift.file.test.js +0 -67
  1402. package/template/.codex/skills/drawio/scripts/adapters/graph-drift.js +0 -358
  1403. package/template/.codex/skills/drawio/scripts/adapters/graph-drift.test.js +0 -272
  1404. package/template/.codex/skills/drawio/scripts/adapters/graph-projection.js +0 -335
  1405. package/template/.codex/skills/drawio/scripts/adapters/graph-projection.test.js +0 -141
  1406. package/template/.codex/skills/drawio/scripts/adapters/identity.js +0 -244
  1407. package/template/.codex/skills/drawio/scripts/adapters/identity.test.js +0 -123
  1408. package/template/.codex/skills/drawio/scripts/adapters/index.js +0 -489
  1409. package/template/.codex/skills/drawio/scripts/adapters/index.test.js +0 -152
  1410. package/template/.codex/skills/drawio/scripts/adapters/js-code-adapter.test.js +0 -42
  1411. package/template/.codex/skills/drawio/scripts/adapters/js-code.js +0 -141
  1412. package/template/.codex/skills/drawio/scripts/adapters/kubernetes-live.test.js +0 -46
  1413. package/template/.codex/skills/drawio/scripts/adapters/kubernetes.js +0 -258
  1414. package/template/.codex/skills/drawio/scripts/adapters/kubernetes.test.js +0 -81
  1415. package/template/.codex/skills/drawio/scripts/adapters/openapi.js +0 -98
  1416. package/template/.codex/skills/drawio/scripts/adapters/openapi.test.js +0 -46
  1417. package/template/.codex/skills/drawio/scripts/adapters/optional-python-code.js +0 -16
  1418. package/template/.codex/skills/drawio/scripts/adapters/optional-python.integration.test.js +0 -32
  1419. package/template/.codex/skills/drawio/scripts/adapters/optional-python.js +0 -127
  1420. package/template/.codex/skills/drawio/scripts/adapters/optional-python.test.js +0 -55
  1421. package/template/.codex/skills/drawio/scripts/adapters/projection-to-spec.js +0 -116
  1422. package/template/.codex/skills/drawio/scripts/adapters/projection-to-spec.test.js +0 -139
  1423. package/template/.codex/skills/drawio/scripts/adapters/python/code-parser-worker.py +0 -93
  1424. package/template/.codex/skills/drawio/scripts/adapters/python/config-parser-worker.py +0 -237
  1425. package/template/.codex/skills/drawio/scripts/adapters/python/requirements.txt +0 -2
  1426. package/template/.codex/skills/drawio/scripts/adapters/python-code-adapter.test.js +0 -127
  1427. package/template/.codex/skills/drawio/scripts/adapters/python-code.js +0 -246
  1428. package/template/.codex/skills/drawio/scripts/adapters/raster-extraction.js +0 -258
  1429. package/template/.codex/skills/drawio/scripts/adapters/raster-extraction.test.js +0 -308
  1430. package/template/.codex/skills/drawio/scripts/adapters/rust-code-adapter.test.js +0 -64
  1431. package/template/.codex/skills/drawio/scripts/adapters/rust-code.js +0 -207
  1432. package/template/.codex/skills/drawio/scripts/adapters/sql-ddl.js +0 -118
  1433. package/template/.codex/skills/drawio/scripts/adapters/sql-ddl.test.js +0 -56
  1434. package/template/.codex/skills/drawio/scripts/adapters/terraform-config.js +0 -141
  1435. package/template/.codex/skills/drawio/scripts/adapters/terraform-config.test.js +0 -67
  1436. package/template/.codex/skills/drawio/scripts/adapters/terraform-state.js +0 -157
  1437. package/template/.codex/skills/drawio/scripts/adapters/terraform-state.test.js +0 -69
  1438. package/template/.codex/skills/drawio/scripts/cli.js +0 -700
  1439. package/template/.codex/skills/drawio/scripts/dsl/ah-to-drawio.js +0 -276
  1440. package/template/.codex/skills/drawio/scripts/dsl/ah-to-drawio.test.js +0 -77
  1441. package/template/.codex/skills/drawio/scripts/dsl/ai-icon-catalog.js +0 -126
  1442. package/template/.codex/skills/drawio/scripts/dsl/ai-icon-catalog.test.js +0 -86
  1443. package/template/.codex/skills/drawio/scripts/dsl/auto-layout.js +0 -206
  1444. package/template/.codex/skills/drawio/scripts/dsl/auto-layout.test.js +0 -249
  1445. package/template/.codex/skills/drawio/scripts/dsl/catalog-ranking.js +0 -54
  1446. package/template/.codex/skills/drawio/scripts/dsl/catalog-search.js +0 -58
  1447. package/template/.codex/skills/drawio/scripts/dsl/catalog-search.test.js +0 -44
  1448. package/template/.codex/skills/drawio/scripts/dsl/document-spec.js +0 -256
  1449. package/template/.codex/skills/drawio/scripts/dsl/document-spec.test.js +0 -147
  1450. package/template/.codex/skills/drawio/scripts/dsl/drawio-to-spec.js +0 -497
  1451. package/template/.codex/skills/drawio/scripts/dsl/examples-baseline.test.js +0 -30
  1452. package/template/.codex/skills/drawio/scripts/dsl/icon-mappings.js +0 -65
  1453. package/template/.codex/skills/drawio/scripts/dsl/icon-mappings.test.js +0 -19
  1454. package/template/.codex/skills/drawio/scripts/dsl/icon-resolver.js +0 -153
  1455. package/template/.codex/skills/drawio/scripts/dsl/icon-resolver.test.js +0 -62
  1456. package/template/.codex/skills/drawio/scripts/dsl/multi-page.js +0 -224
  1457. package/template/.codex/skills/drawio/scripts/dsl/multi-page.test.js +0 -107
  1458. package/template/.codex/skills/drawio/scripts/dsl/palette-catalog.test.js +0 -138
  1459. package/template/.codex/skills/drawio/scripts/dsl/palette-integration.test.js +0 -182
  1460. package/template/.codex/skills/drawio/scripts/dsl/palette-validate.js +0 -91
  1461. package/template/.codex/skills/drawio/scripts/dsl/palette.js +0 -302
  1462. package/template/.codex/skills/drawio/scripts/dsl/palette.test.js +0 -197
  1463. package/template/.codex/skills/drawio/scripts/dsl/shape-catalog.js +0 -89
  1464. package/template/.codex/skills/drawio/scripts/dsl/shape-catalog.test.js +0 -21
  1465. package/template/.codex/skills/drawio/scripts/dsl/spec-to-drawio.js +0 -3739
  1466. package/template/.codex/skills/drawio/scripts/dsl/spec-to-drawio.test.js +0 -3022
  1467. package/template/.codex/skills/drawio/scripts/generate-palette-swatches.js +0 -87
  1468. package/template/.codex/skills/drawio/scripts/install.bat +0 -64
  1469. package/template/.codex/skills/drawio/scripts/install.sh +0 -44
  1470. package/template/.codex/skills/drawio/scripts/math/index.js +0 -317
  1471. package/template/.codex/skills/drawio/scripts/math/index.test.js +0 -62
  1472. package/template/.codex/skills/drawio/scripts/package.json +0 -1
  1473. package/template/.codex/skills/drawio/scripts/postprocess/artifacts.js +0 -142
  1474. package/template/.codex/skills/drawio/scripts/postprocess/artifacts.test.js +0 -86
  1475. package/template/.codex/skills/drawio/scripts/postprocess/cli.js +0 -228
  1476. package/template/.codex/skills/drawio/scripts/postprocess/cli.test.js +0 -129
  1477. package/template/.codex/skills/drawio/scripts/postprocess/fixtures/bundle.yaml +0 -75
  1478. package/template/.codex/skills/drawio/scripts/postprocess/fixtures/legacy.yaml +0 -21
  1479. package/template/.codex/skills/drawio/scripts/postprocess/html.js +0 -197
  1480. package/template/.codex/skills/drawio/scripts/postprocess/html.test.js +0 -50
  1481. package/template/.codex/skills/drawio/scripts/postprocess/index.js +0 -5
  1482. package/template/.codex/skills/drawio/scripts/postprocess/input.js +0 -112
  1483. package/template/.codex/skills/drawio/scripts/postprocess/input.test.js +0 -73
  1484. package/template/.codex/skills/drawio/scripts/postprocess/mutate.js +0 -584
  1485. package/template/.codex/skills/drawio/scripts/postprocess/mutate.test.js +0 -193
  1486. package/template/.codex/skills/drawio/scripts/postprocess/projection.js +0 -178
  1487. package/template/.codex/skills/drawio/scripts/postprocess/projection.test.js +0 -67
  1488. package/template/.codex/skills/drawio/scripts/runtime/artifacts.js +0 -283
  1489. package/template/.codex/skills/drawio/scripts/runtime/desktop.js +0 -204
  1490. package/template/.codex/skills/drawio/scripts/runtime/desktop.test.js +0 -121
  1491. package/template/.codex/skills/drawio/scripts/runtime/diagrams-net-url.js +0 -122
  1492. package/template/.codex/skills/drawio/scripts/runtime/export-stability.js +0 -75
  1493. package/template/.codex/skills/drawio/scripts/runtime/export-stability.test.js +0 -81
  1494. package/template/.codex/skills/drawio/scripts/runtime/png-inspection.js +0 -157
  1495. package/template/.codex/skills/drawio/scripts/runtime/png-inspection.test.js +0 -120
  1496. package/template/.codex/skills/drawio/scripts/runtime/vision-preview.js +0 -77
  1497. package/template/.codex/skills/drawio/scripts/runtime/vision-preview.test.js +0 -103
  1498. package/template/.codex/skills/drawio/scripts/shared/ai-icon-contract.js +0 -13
  1499. package/template/.codex/skills/drawio/scripts/shared/xml-utils.js +0 -241
  1500. package/template/.codex/skills/drawio/scripts/svg/drawio-to-svg.js +0 -918
  1501. package/template/.codex/skills/drawio/scripts/svg/drawio-to-svg.test.js +0 -763
  1502. package/template/.codex/skills/drawio/scripts/tools/build-ai-icon-catalog.js +0 -208
  1503. package/template/.codex/skills/drawio/scripts/tools/build-ai-icon-catalog.test.js +0 -107
  1504. package/template/.codex/skills/drawio/scripts/tools/build-shape-catalog.js +0 -84
  1505. package/template/.codex/skills/drawio/scripts/tools/build-shape-catalog.test.js +0 -43
  1506. package/template/.codex/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha-color.svg +0 -1
  1507. package/template/.codex/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha.svg +0 -1
  1508. package/template/.codex/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta-brand-color.svg +0 -1
  1509. package/template/.codex/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta.svg +0 -1
  1510. package/template/.codex/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai-text-color.svg +0 -1
  1511. package/template/.codex/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai.svg +0 -1
  1512. package/template/.codex/skills/drawio/scripts/tools/fixtures/ai-icons-package/package.json +0 -5
  1513. package/template/.codex/skills/drawio/scripts/vendor/elkjs/LICENSE.md +0 -264
  1514. package/template/.codex/skills/drawio/scripts/vendor/elkjs/README.md +0 -18
  1515. package/template/.codex/skills/drawio/scripts/vendor/elkjs/elk.bundled.cjs +0 -6589
  1516. package/template/.codex/skills/drawio/styles/built-in/corporate.json +0 -49
  1517. package/template/.codex/skills/drawio/styles/built-in/default.json +0 -49
  1518. package/template/.codex/skills/drawio/styles/built-in/handdrawn.json +0 -49
  1519. package/template/.codex/skills/drawio/styles/schema.json +0 -112
  1520. package/template/.codex/skills/drawio-academic-skills/CHANGELOG.md +0 -67
  1521. package/template/.codex/skills/drawio-academic-skills/README.md +0 -103
  1522. package/template/.codex/skills/drawio-academic-skills/README_CN.md +0 -103
  1523. package/template/.codex/skills/drawio-academic-skills/SKILL.md +0 -161
  1524. package/template/.codex/skills/drawio-academic-skills/__yss_dotfile__.gitignore +0 -12
  1525. package/template/.codex/skills/drawio-academic-skills/agents/interface.yaml +0 -25
  1526. package/template/.codex/skills/drawio-academic-skills/agents/openai.yaml +0 -24
  1527. package/template/.codex/skills/drawio-academic-skills/evals/README.md +0 -13
  1528. package/template/.codex/skills/drawio-academic-skills/evals/baseline-prompts.json +0 -52
  1529. package/template/.codex/skills/drawio-academic-skills/evals/darwin-results.tsv +0 -3
  1530. package/template/.codex/skills/drawio-academic-skills/evals/evals.json +0 -228
  1531. package/template/.codex/skills/drawio-academic-skills/evals/test-prompts.json +0 -17
  1532. package/template/.codex/skills/drawio-academic-skills/references/docs/academic-export-checklist.md +0 -45
  1533. package/template/.codex/skills/drawio-academic-skills/references/docs/academic-figure-playbook.md +0 -349
  1534. package/template/.codex/skills/drawio-academic-skills/references/docs/publication-overlay.md +0 -206
  1535. package/template/.codex/skills/drawio-academic-skills/references/examples/ablation-study-pipeline.yaml +0 -39
  1536. package/template/.codex/skills/drawio-academic-skills/references/examples/ieee-network-paper.yaml +0 -44
  1537. package/template/.codex/skills/drawio-academic-skills/references/examples/industrial-architecture-cn-paper.yaml +0 -106
  1538. package/template/.codex/skills/drawio-academic-skills/references/examples/max-pooling-operation-paper.yaml +0 -75
  1539. package/template/.codex/skills/drawio-academic-skills/references/examples/research-pipeline.yaml +0 -54
  1540. package/template/.codex/skills/drawio-academic-skills/references/examples/system-architecture-paper.yaml +0 -45
  1541. package/template/.codex/skills/drawio-academic-skills/references/examples/technical-roadmap-paper.yaml +0 -54
  1542. package/template/.codex/skills/drawio-academic-skills/references/examples/yolo-model-architecture-paper.yaml +0 -118
  1543. package/template/.codex/skills/drawio-academic-skills/references/templates/multi-module-system-compact.yaml +0 -251
  1544. package/template/.codex/skills/drawio-academic-skills/references/templates/neural-network-architecture-compact.yaml +0 -267
  1545. package/template/.codex/skills/excalidraw-diagram-generator/SKILL.md +0 -634
  1546. package/template/.codex/skills/excalidraw-diagram-generator/references/element-types.md +0 -497
  1547. package/template/.codex/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +0 -350
  1548. package/template/.codex/skills/excalidraw-diagram-generator/scripts/README.md +0 -193
  1549. package/template/.codex/skills/excalidraw-diagram-generator/scripts/__yss_dotfile__.gitignore +0 -34
  1550. package/template/.codex/skills/excalidraw-diagram-generator/scripts/add-arrow.py +0 -315
  1551. package/template/.codex/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +0 -406
  1552. package/template/.codex/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +0 -183
  1553. package/template/.codex/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +0 -334
  1554. package/template/.codex/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +0 -558
  1555. package/template/.codex/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +0 -279
  1556. package/template/.codex/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +0 -662
  1557. package/template/.codex/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +0 -179
  1558. package/template/.codex/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +0 -244
  1559. package/template/.codex/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +0 -145
  1560. package/template/.codex/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +0 -509
  1561. package/template/.codex/skills/kb-retriever/README.md +0 -197
  1562. package/template/.codex/skills/kb-retriever/README.zh-CN.md +0 -197
  1563. package/template/.codex/skills/kb-retriever/SKILL.md +0 -250
  1564. package/template/.codex/skills/kb-retriever/manifest.json +0 -15
  1565. package/template/.codex/skills/kb-retriever/references/excel_analysis.md +0 -129
  1566. package/template/.codex/skills/kb-retriever/references/excel_reading.md +0 -72
  1567. package/template/.codex/skills/kb-retriever/references/pdf_reading.md +0 -362
  1568. package/template/.codex/skills/kb-retriever/scripts/convert_pdf_to_images.py +0 -35
  1569. package/template/.codex/skills/yss-db2mybatis/requirements.txt +0 -4
  1570. package/template/.codex/skills/yss-db2mybatis/scripts/db2mybatis.py +0 -1494
  1571. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +0 -728
  1572. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.py +0 -155
  1573. package/template/.codex/skills/yss-design-system/scripts/validate-frontmatter.py +0 -50
  1574. package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -371
  1575. package/template/.codex/skills/yss-web-controller/scripts/generate_controller.py +0 -293
  1576. package/template/.codex/skills/yss-web-controller/scripts/test_generate_controller.py +0 -68
  1577. package/template/.hermes/skills/beautiful-article/README.md +0 -450
  1578. package/template/.hermes/skills/beautiful-article/README.zh-CN.md +0 -450
  1579. package/template/.hermes/skills/beautiful-article/SKILL.md +0 -466
  1580. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/__yss_dotfile__.npmrc +0 -1
  1581. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +0 -69
  1582. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +0 -172
  1583. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/main.tsx +0 -26
  1584. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +0 -30
  1585. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/index.html +0 -19
  1586. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/package.json +0 -26
  1587. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/tsconfig.json +0 -20
  1588. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +0 -11
  1589. package/template/.hermes/skills/beautiful-article/assets/scaffold-template/vite.config.ts +0 -18
  1590. package/template/.hermes/skills/beautiful-article/manifest.json +0 -15
  1591. package/template/.hermes/skills/beautiful-article/references/article-types/briefing.md +0 -32
  1592. package/template/.hermes/skills/beautiful-article/references/article-types/dialogue.md +0 -30
  1593. package/template/.hermes/skills/beautiful-article/references/article-types/essay.md +0 -31
  1594. package/template/.hermes/skills/beautiful-article/references/article-types/explainer.md +0 -32
  1595. package/template/.hermes/skills/beautiful-article/references/article-types/full-report.md +0 -32
  1596. package/template/.hermes/skills/beautiful-article/references/article-types/interactive-explainer.md +0 -66
  1597. package/template/.hermes/skills/beautiful-article/references/article-types/longform.md +0 -32
  1598. package/template/.hermes/skills/beautiful-article/references/article-types/review.md +0 -32
  1599. package/template/.hermes/skills/beautiful-article/references/article-types/tutorial.md +0 -30
  1600. package/template/.hermes/skills/beautiful-article/references/article-types/visual-essay.md +0 -33
  1601. package/template/.hermes/skills/beautiful-article/references/article-types.md +0 -42
  1602. package/template/.hermes/skills/beautiful-article/references/asset-policy.md +0 -71
  1603. package/template/.hermes/skills/beautiful-article/references/component-policy.md +0 -103
  1604. package/template/.hermes/skills/beautiful-article/references/cover.md +0 -208
  1605. package/template/.hermes/skills/beautiful-article/references/harness.md +0 -35
  1606. package/template/.hermes/skills/beautiful-article/references/html-output.md +0 -42
  1607. package/template/.hermes/skills/beautiful-article/references/information-density.md +0 -50
  1608. package/template/.hermes/skills/beautiful-article/references/layout.md +0 -46
  1609. package/template/.hermes/skills/beautiful-article/references/pdf-output.md +0 -208
  1610. package/template/.hermes/skills/beautiful-article/references/plan-template.md +0 -109
  1611. package/template/.hermes/skills/beautiful-article/references/raw-policy.md +0 -86
  1612. package/template/.hermes/skills/beautiful-article/references/repair-policy.md +0 -35
  1613. package/template/.hermes/skills/beautiful-article/references/review-checklist.md +0 -133
  1614. package/template/.hermes/skills/beautiful-article/references/scaffold.md +0 -77
  1615. package/template/.hermes/skills/beautiful-article/references/section-build.md +0 -100
  1616. package/template/.hermes/skills/beautiful-article/references/source-to-markdown.md +0 -118
  1617. package/template/.hermes/skills/beautiful-article/references/theme-selection.md +0 -48
  1618. package/template/.hermes/skills/beautiful-article/scripts/html-to-pdf.sh +0 -160
  1619. package/template/.hermes/skills/beautiful-article/scripts/pdf-print-overrides.css +0 -192
  1620. package/template/.hermes/skills/beautiful-article/scripts/scaffold.sh +0 -172
  1621. package/template/.hermes/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +0 -100
  1622. package/template/.hermes/skills/beautiful-article/scripts/source-to-markdown.py +0 -174
  1623. package/template/.hermes/skills/beautiful-article/theme-profiles/andy.md +0 -57
  1624. package/template/.hermes/skills/beautiful-article/theme-profiles/bayer.md +0 -57
  1625. package/template/.hermes/skills/beautiful-article/theme-profiles/bodoni.md +0 -57
  1626. package/template/.hermes/skills/beautiful-article/theme-profiles/freddie.md +0 -57
  1627. package/template/.hermes/skills/beautiful-article/theme-profiles/fuller.md +0 -56
  1628. package/template/.hermes/skills/beautiful-article/theme-profiles/index.json +0 -112
  1629. package/template/.hermes/skills/beautiful-article/theme-profiles/knuth.md +0 -60
  1630. package/template/.hermes/skills/beautiful-article/theme-profiles/press.md +0 -61
  1631. package/template/.hermes/skills/beautiful-article/theme-profiles/shannon.md +0 -64
  1632. package/template/.hermes/skills/beautiful-article/theme-profiles/sottsass.md +0 -57
  1633. package/template/.hermes/skills/beautiful-article/theme-profiles/tufte.md +0 -64
  1634. package/template/.hermes/skills/beautiful-article/theme-profiles/vignelli.md +0 -63
  1635. package/template/.hermes/skills/drawio/.mcp.json +0 -8
  1636. package/template/.hermes/skills/drawio/CHANGELOG.md +0 -216
  1637. package/template/.hermes/skills/drawio/SKILL.md +0 -157
  1638. package/template/.hermes/skills/drawio/agents/interface.yaml +0 -26
  1639. package/template/.hermes/skills/drawio/agents/openai.yaml +0 -26
  1640. package/template/.hermes/skills/drawio/assets/catalog/ai-icons.json.gz +0 -0
  1641. package/template/.hermes/skills/drawio/assets/catalog/shape-catalog.json.gz +0 -0
  1642. package/template/.hermes/skills/drawio/assets/catalog/shape-index.json.gz +0 -0
  1643. package/template/.hermes/skills/drawio/assets/examples/login-flow-test.drawio +0 -6
  1644. package/template/.hermes/skills/drawio/assets/examples/login-flow.drawio +0 -6
  1645. package/template/.hermes/skills/drawio/assets/examples/microservices.drawio +0 -6
  1646. package/template/.hermes/skills/drawio/assets/examples/neural-network.drawio +0 -6
  1647. package/template/.hermes/skills/drawio/assets/licenses/architecture-diagram-generator-MIT.txt +0 -26
  1648. package/template/.hermes/skills/drawio/assets/licenses/drawio-mcp-shape-index-Apache-2.0.txt +0 -8
  1649. package/template/.hermes/skills/drawio/assets/licenses/lobe-icons-MIT.txt +0 -26
  1650. package/template/.hermes/skills/drawio/assets/licenses/lucide-ISC.txt +0 -41
  1651. package/template/.hermes/skills/drawio/assets/palettes/c4-blue.json +0 -29
  1652. package/template/.hermes/skills/drawio/assets/palettes/cloud-aws.json +0 -30
  1653. package/template/.hermes/skills/drawio/assets/palettes/drawio-classic.json +0 -21
  1654. package/template/.hermes/skills/drawio/assets/palettes/ieee-bw.json +0 -26
  1655. package/template/.hermes/skills/drawio/assets/palettes/ieee-color.json +0 -17
  1656. package/template/.hermes/skills/drawio/assets/palettes/journal-jama.json +0 -20
  1657. package/template/.hermes/skills/drawio/assets/palettes/journal-npg.json +0 -23
  1658. package/template/.hermes/skills/drawio/assets/palettes/matlab-lines.json +0 -20
  1659. package/template/.hermes/skills/drawio/assets/palettes/morandi.json +0 -21
  1660. package/template/.hermes/skills/drawio/assets/palettes/okabe-ito.json +0 -21
  1661. package/template/.hermes/skills/drawio/assets/palettes/seaborn-colorblind.json +0 -23
  1662. package/template/.hermes/skills/drawio/assets/palettes/tol-bright.json +0 -20
  1663. package/template/.hermes/skills/drawio/assets/palettes/tol-high-contrast.json +0 -18
  1664. package/template/.hermes/skills/drawio/assets/palettes/tol-light-fill.json +0 -22
  1665. package/template/.hermes/skills/drawio/assets/palettes/tol-muted.json +0 -22
  1666. package/template/.hermes/skills/drawio/assets/schemas/graph-projection.schema.json +0 -135
  1667. package/template/.hermes/skills/drawio/assets/schemas/spec.schema.json +0 -620
  1668. package/template/.hermes/skills/drawio/assets/themes/academic-color.json +0 -299
  1669. package/template/.hermes/skills/drawio/assets/themes/academic.json +0 -245
  1670. package/template/.hermes/skills/drawio/assets/themes/arch-dark.json +0 -253
  1671. package/template/.hermes/skills/drawio/assets/themes/blueprint.json +0 -246
  1672. package/template/.hermes/skills/drawio/assets/themes/dark-luxury.json +0 -246
  1673. package/template/.hermes/skills/drawio/assets/themes/dark-terminal.json +0 -244
  1674. package/template/.hermes/skills/drawio/assets/themes/dark.json +0 -220
  1675. package/template/.hermes/skills/drawio/assets/themes/high-contrast.json +0 -220
  1676. package/template/.hermes/skills/drawio/assets/themes/nature.json +0 -220
  1677. package/template/.hermes/skills/drawio/assets/themes/notion-clean.json +0 -246
  1678. package/template/.hermes/skills/drawio/assets/themes/tech-blue.json +0 -220
  1679. package/template/.hermes/skills/drawio/evals/README.md +0 -17
  1680. package/template/.hermes/skills/drawio/evals/ai-icon-catalog-cases.json +0 -89
  1681. package/template/.hermes/skills/drawio/evals/baseline-prompts.json +0 -122
  1682. package/template/.hermes/skills/drawio/evals/darwin-results.tsv +0 -4
  1683. package/template/.hermes/skills/drawio/evals/evals.json +0 -223
  1684. package/template/.hermes/skills/drawio/evals/evidence/ai-icon-catalog-desktop.json +0 -134
  1685. package/template/.hermes/skills/drawio/evals/fixtures/ai-icons-advanced-svg.yaml +0 -25
  1686. package/template/.hermes/skills/drawio/evals/fixtures/ai-icons-cjk-agent-rag.yaml +0 -55
  1687. package/template/.hermes/skills/drawio/evals/fixtures/ai-icons-core-aliases.yaml +0 -50
  1688. package/template/.hermes/skills/drawio/evals/fixtures/ai-icons-current-color.yaml +0 -25
  1689. package/template/.hermes/skills/drawio/evals/fixtures/ai-icons-gradients.yaml +0 -25
  1690. package/template/.hermes/skills/drawio/evals/fixtures/import-simple-compressed.drawio +0 -5
  1691. package/template/.hermes/skills/drawio/evals/fixtures/import-simple.drawio +0 -28
  1692. package/template/.hermes/skills/drawio/evals/fixtures/industrial-architecture.yaml +0 -239
  1693. package/template/.hermes/skills/drawio/evals/fixtures/replicate-academic-highlight.svg +0 -13
  1694. package/template/.hermes/skills/drawio/evals/fixtures/replicate-brand-architecture.svg +0 -14
  1695. package/template/.hermes/skills/drawio/evals/fixtures/replicate-warm-approval.svg +0 -13
  1696. package/template/.hermes/skills/drawio/evals/fixtures/vision-tall-workflow.yaml +0 -47
  1697. package/template/.hermes/skills/drawio/evals/upstream-integration-cases.json +0 -78
  1698. package/template/.hermes/skills/drawio/evals/vision-preview-cases.json +0 -147
  1699. package/template/.hermes/skills/drawio/references/docs/agent-diagrams.md +0 -164
  1700. package/template/.hermes/skills/drawio/references/docs/ah-format.md +0 -322
  1701. package/template/.hermes/skills/drawio/references/docs/architecture-diagrams.md +0 -159
  1702. package/template/.hermes/skills/drawio/references/docs/canonical-graph-projection.md +0 -54
  1703. package/template/.hermes/skills/drawio/references/docs/code-importers.md +0 -53
  1704. package/template/.hermes/skills/drawio/references/docs/config-importers.md +0 -68
  1705. package/template/.hermes/skills/drawio/references/docs/design-system/README.md +0 -204
  1706. package/template/.hermes/skills/drawio/references/docs/design-system/color-guide.md +0 -255
  1707. package/template/.hermes/skills/drawio/references/docs/design-system/connectors.md +0 -388
  1708. package/template/.hermes/skills/drawio/references/docs/design-system/formulas.md +0 -196
  1709. package/template/.hermes/skills/drawio/references/docs/design-system/icons.md +0 -332
  1710. package/template/.hermes/skills/drawio/references/docs/design-system/shapes.md +0 -269
  1711. package/template/.hermes/skills/drawio/references/docs/design-system/specification.md +0 -754
  1712. package/template/.hermes/skills/drawio/references/docs/design-system/themes.md +0 -441
  1713. package/template/.hermes/skills/drawio/references/docs/design-system/tokens.md +0 -232
  1714. package/template/.hermes/skills/drawio/references/docs/edge-quality-rules.md +0 -65
  1715. package/template/.hermes/skills/drawio/references/docs/ieee-network-diagrams.md +0 -145
  1716. package/template/.hermes/skills/drawio/references/docs/live-snapshots-drift.md +0 -72
  1717. package/template/.hermes/skills/drawio/references/docs/math-typesetting.md +0 -258
  1718. package/template/.hermes/skills/drawio/references/docs/mcp-tools.md +0 -85
  1719. package/template/.hermes/skills/drawio/references/docs/migration-readiness.md +0 -73
  1720. package/template/.hermes/skills/drawio/references/docs/stencil-library-guide.md +0 -97
  1721. package/template/.hermes/skills/drawio/references/docs/style-extraction.md +0 -261
  1722. package/template/.hermes/skills/drawio/references/docs/style-presets.md +0 -126
  1723. package/template/.hermes/skills/drawio/references/docs/upstream-capability-compatibility.md +0 -61
  1724. package/template/.hermes/skills/drawio/references/docs/xml-format.md +0 -53
  1725. package/template/.hermes/skills/drawio/references/examples/README.md +0 -33
  1726. package/template/.hermes/skills/drawio/references/examples/agentic-rag.yaml +0 -71
  1727. package/template/.hermes/skills/drawio/references/examples/arch-dark-aws-serverless.yaml +0 -103
  1728. package/template/.hermes/skills/drawio/references/examples/arch-dark-microservices.yaml +0 -146
  1729. package/template/.hermes/skills/drawio/references/examples/arch-dark-web-app.yaml +0 -62
  1730. package/template/.hermes/skills/drawio/references/examples/auto-layout-workflow.yaml +0 -81
  1731. package/template/.hermes/skills/drawio/references/examples/aws-vpc-topology.yaml +0 -66
  1732. package/template/.hermes/skills/drawio/references/examples/campus-lan-topology.yaml +0 -89
  1733. package/template/.hermes/skills/drawio/references/examples/cloud-reference-architecture.yaml +0 -34
  1734. package/template/.hermes/skills/drawio/references/examples/e-commerce.yaml +0 -141
  1735. package/template/.hermes/skills/drawio/references/examples/importers/README.md +0 -10
  1736. package/template/.hermes/skills/drawio/references/examples/importers/live/compose-drift-evidence.json +0 -49
  1737. package/template/.hermes/skills/drawio/references/examples/importers/live/compose-drift-report.json +0 -300
  1738. package/template/.hermes/skills/drawio/references/examples/importers/live/compose-drift.spec.yaml +0 -75
  1739. package/template/.hermes/skills/drawio/references/examples/importers/live/docker-inspect.json +0 -55
  1740. package/template/.hermes/skills/drawio/references/examples/importers/live/drift-declared-compose.yaml +0 -13
  1741. package/template/.hermes/skills/drawio/references/examples/importers/live/kubernetes-live.json +0 -71
  1742. package/template/.hermes/skills/drawio/references/examples/importers/live/terraform-state.json +0 -70
  1743. package/template/.hermes/skills/drawio/references/examples/importers/schema.sql +0 -10
  1744. package/template/.hermes/skills/drawio/references/examples/importers/terraform.tf +0 -9
  1745. package/template/.hermes/skills/drawio/references/examples/login-flow.yaml +0 -65
  1746. package/template/.hermes/skills/drawio/references/examples/mem0-memory-layer.yaml +0 -63
  1747. package/template/.hermes/skills/drawio/references/examples/microservices.yaml +0 -58
  1748. package/template/.hermes/skills/drawio/references/examples/multi-agent-orchestration.yaml +0 -67
  1749. package/template/.hermes/skills/drawio/references/examples/neural-network.yaml +0 -66
  1750. package/template/.hermes/skills/drawio/references/examples/onprem-dmz-topology.yaml +0 -62
  1751. package/template/.hermes/skills/drawio/references/examples/palettes/README.md +0 -29
  1752. package/template/.hermes/skills/drawio/references/examples/palettes/c4-blue.drawio +0 -6
  1753. package/template/.hermes/skills/drawio/references/examples/palettes/c4-blue.svg +0 -36
  1754. package/template/.hermes/skills/drawio/references/examples/palettes/cloud-aws.drawio +0 -6
  1755. package/template/.hermes/skills/drawio/references/examples/palettes/cloud-aws.svg +0 -36
  1756. package/template/.hermes/skills/drawio/references/examples/palettes/drawio-classic.drawio +0 -6
  1757. package/template/.hermes/skills/drawio/references/examples/palettes/drawio-classic.svg +0 -36
  1758. package/template/.hermes/skills/drawio/references/examples/palettes/ieee-bw.drawio +0 -6
  1759. package/template/.hermes/skills/drawio/references/examples/palettes/ieee-bw.svg +0 -36
  1760. package/template/.hermes/skills/drawio/references/examples/palettes/ieee-color.drawio +0 -6
  1761. package/template/.hermes/skills/drawio/references/examples/palettes/ieee-color.svg +0 -36
  1762. package/template/.hermes/skills/drawio/references/examples/palettes/journal-jama.drawio +0 -6
  1763. package/template/.hermes/skills/drawio/references/examples/palettes/journal-jama.svg +0 -36
  1764. package/template/.hermes/skills/drawio/references/examples/palettes/journal-npg.drawio +0 -6
  1765. package/template/.hermes/skills/drawio/references/examples/palettes/journal-npg.svg +0 -36
  1766. package/template/.hermes/skills/drawio/references/examples/palettes/matlab-lines.drawio +0 -6
  1767. package/template/.hermes/skills/drawio/references/examples/palettes/matlab-lines.svg +0 -36
  1768. package/template/.hermes/skills/drawio/references/examples/palettes/morandi.drawio +0 -6
  1769. package/template/.hermes/skills/drawio/references/examples/palettes/morandi.svg +0 -36
  1770. package/template/.hermes/skills/drawio/references/examples/palettes/okabe-ito.drawio +0 -6
  1771. package/template/.hermes/skills/drawio/references/examples/palettes/okabe-ito.svg +0 -36
  1772. package/template/.hermes/skills/drawio/references/examples/palettes/palette-swatch.template.yaml +0 -56
  1773. package/template/.hermes/skills/drawio/references/examples/palettes/seaborn-colorblind.drawio +0 -6
  1774. package/template/.hermes/skills/drawio/references/examples/palettes/seaborn-colorblind.svg +0 -36
  1775. package/template/.hermes/skills/drawio/references/examples/palettes/tol-bright.drawio +0 -6
  1776. package/template/.hermes/skills/drawio/references/examples/palettes/tol-bright.svg +0 -36
  1777. package/template/.hermes/skills/drawio/references/examples/palettes/tol-high-contrast.drawio +0 -6
  1778. package/template/.hermes/skills/drawio/references/examples/palettes/tol-high-contrast.svg +0 -36
  1779. package/template/.hermes/skills/drawio/references/examples/palettes/tol-light-fill.drawio +0 -6
  1780. package/template/.hermes/skills/drawio/references/examples/palettes/tol-light-fill.svg +0 -36
  1781. package/template/.hermes/skills/drawio/references/examples/palettes/tol-muted.drawio +0 -6
  1782. package/template/.hermes/skills/drawio/references/examples/palettes/tol-muted.svg +0 -36
  1783. package/template/.hermes/skills/drawio/references/examples/rag-pipeline.yaml +0 -67
  1784. package/template/.hermes/skills/drawio/references/examples/replicated-brand-flow.yaml +0 -89
  1785. package/template/.hermes/skills/drawio/references/examples/swimlane-engineering-review.yaml +0 -44
  1786. package/template/.hermes/skills/drawio/references/examples/tiered-network-topology.yaml +0 -59
  1787. package/template/.hermes/skills/drawio/references/examples/tool-call-loop.yaml +0 -63
  1788. package/template/.hermes/skills/drawio/references/examples/vendor-device-mapping.yaml +0 -46
  1789. package/template/.hermes/skills/drawio/references/official/style-reference.md +0 -936
  1790. package/template/.hermes/skills/drawio/references/official/xml-reference.md +0 -262
  1791. package/template/.hermes/skills/drawio/references/palette.schema.json +0 -59
  1792. package/template/.hermes/skills/drawio/references/theme.schema.json +0 -249
  1793. package/template/.hermes/skills/drawio/references/upstream/pure-drawio-skill.md +0 -615
  1794. package/template/.hermes/skills/drawio/references/workflows/create.md +0 -195
  1795. package/template/.hermes/skills/drawio/references/workflows/edit.md +0 -174
  1796. package/template/.hermes/skills/drawio/references/workflows/replicate.md +0 -239
  1797. package/template/.hermes/skills/drawio/references/workflows/visual-review.md +0 -108
  1798. package/template/.hermes/skills/drawio/reports/output_quality_scorecard.md +0 -106
  1799. package/template/.hermes/skills/drawio/reports/upstream-port-release-evidence.md +0 -43
  1800. package/template/.hermes/skills/drawio/scripts/adapters/ci.js +0 -139
  1801. package/template/.hermes/skills/drawio/scripts/adapters/ci.test.js +0 -41
  1802. package/template/.hermes/skills/drawio/scripts/adapters/code-common.js +0 -171
  1803. package/template/.hermes/skills/drawio/scripts/adapters/code-imports.test.js +0 -80
  1804. package/template/.hermes/skills/drawio/scripts/adapters/code-parsers.integration.test.js +0 -71
  1805. package/template/.hermes/skills/drawio/scripts/adapters/compose.js +0 -134
  1806. package/template/.hermes/skills/drawio/scripts/adapters/compose.test.js +0 -54
  1807. package/template/.hermes/skills/drawio/scripts/adapters/config-adapters.integration.test.js +0 -58
  1808. package/template/.hermes/skills/drawio/scripts/adapters/config-common.js +0 -131
  1809. package/template/.hermes/skills/drawio/scripts/adapters/config-common.test.js +0 -32
  1810. package/template/.hermes/skills/drawio/scripts/adapters/docker-inspect.js +0 -127
  1811. package/template/.hermes/skills/drawio/scripts/adapters/docker-inspect.test.js +0 -62
  1812. package/template/.hermes/skills/drawio/scripts/adapters/fixtures/raster-extraction.json +0 -31
  1813. package/template/.hermes/skills/drawio/scripts/adapters/go-code-adapter.test.js +0 -59
  1814. package/template/.hermes/skills/drawio/scripts/adapters/go-code.js +0 -168
  1815. package/template/.hermes/skills/drawio/scripts/adapters/graph-drift.file.test.js +0 -67
  1816. package/template/.hermes/skills/drawio/scripts/adapters/graph-drift.js +0 -358
  1817. package/template/.hermes/skills/drawio/scripts/adapters/graph-drift.test.js +0 -272
  1818. package/template/.hermes/skills/drawio/scripts/adapters/graph-projection.js +0 -335
  1819. package/template/.hermes/skills/drawio/scripts/adapters/graph-projection.test.js +0 -141
  1820. package/template/.hermes/skills/drawio/scripts/adapters/identity.js +0 -244
  1821. package/template/.hermes/skills/drawio/scripts/adapters/identity.test.js +0 -123
  1822. package/template/.hermes/skills/drawio/scripts/adapters/index.js +0 -489
  1823. package/template/.hermes/skills/drawio/scripts/adapters/index.test.js +0 -152
  1824. package/template/.hermes/skills/drawio/scripts/adapters/js-code-adapter.test.js +0 -42
  1825. package/template/.hermes/skills/drawio/scripts/adapters/js-code.js +0 -141
  1826. package/template/.hermes/skills/drawio/scripts/adapters/kubernetes-live.test.js +0 -46
  1827. package/template/.hermes/skills/drawio/scripts/adapters/kubernetes.js +0 -258
  1828. package/template/.hermes/skills/drawio/scripts/adapters/kubernetes.test.js +0 -81
  1829. package/template/.hermes/skills/drawio/scripts/adapters/openapi.js +0 -98
  1830. package/template/.hermes/skills/drawio/scripts/adapters/openapi.test.js +0 -46
  1831. package/template/.hermes/skills/drawio/scripts/adapters/optional-python-code.js +0 -16
  1832. package/template/.hermes/skills/drawio/scripts/adapters/optional-python.integration.test.js +0 -32
  1833. package/template/.hermes/skills/drawio/scripts/adapters/optional-python.js +0 -127
  1834. package/template/.hermes/skills/drawio/scripts/adapters/optional-python.test.js +0 -55
  1835. package/template/.hermes/skills/drawio/scripts/adapters/projection-to-spec.js +0 -116
  1836. package/template/.hermes/skills/drawio/scripts/adapters/projection-to-spec.test.js +0 -139
  1837. package/template/.hermes/skills/drawio/scripts/adapters/python/code-parser-worker.py +0 -93
  1838. package/template/.hermes/skills/drawio/scripts/adapters/python/config-parser-worker.py +0 -237
  1839. package/template/.hermes/skills/drawio/scripts/adapters/python/requirements.txt +0 -2
  1840. package/template/.hermes/skills/drawio/scripts/adapters/python-code-adapter.test.js +0 -127
  1841. package/template/.hermes/skills/drawio/scripts/adapters/python-code.js +0 -246
  1842. package/template/.hermes/skills/drawio/scripts/adapters/raster-extraction.js +0 -258
  1843. package/template/.hermes/skills/drawio/scripts/adapters/raster-extraction.test.js +0 -308
  1844. package/template/.hermes/skills/drawio/scripts/adapters/rust-code-adapter.test.js +0 -64
  1845. package/template/.hermes/skills/drawio/scripts/adapters/rust-code.js +0 -207
  1846. package/template/.hermes/skills/drawio/scripts/adapters/sql-ddl.js +0 -118
  1847. package/template/.hermes/skills/drawio/scripts/adapters/sql-ddl.test.js +0 -56
  1848. package/template/.hermes/skills/drawio/scripts/adapters/terraform-config.js +0 -141
  1849. package/template/.hermes/skills/drawio/scripts/adapters/terraform-config.test.js +0 -67
  1850. package/template/.hermes/skills/drawio/scripts/adapters/terraform-state.js +0 -157
  1851. package/template/.hermes/skills/drawio/scripts/adapters/terraform-state.test.js +0 -69
  1852. package/template/.hermes/skills/drawio/scripts/cli.js +0 -700
  1853. package/template/.hermes/skills/drawio/scripts/dsl/ah-to-drawio.js +0 -276
  1854. package/template/.hermes/skills/drawio/scripts/dsl/ah-to-drawio.test.js +0 -77
  1855. package/template/.hermes/skills/drawio/scripts/dsl/ai-icon-catalog.js +0 -126
  1856. package/template/.hermes/skills/drawio/scripts/dsl/ai-icon-catalog.test.js +0 -86
  1857. package/template/.hermes/skills/drawio/scripts/dsl/auto-layout.js +0 -206
  1858. package/template/.hermes/skills/drawio/scripts/dsl/auto-layout.test.js +0 -249
  1859. package/template/.hermes/skills/drawio/scripts/dsl/catalog-ranking.js +0 -54
  1860. package/template/.hermes/skills/drawio/scripts/dsl/catalog-search.js +0 -58
  1861. package/template/.hermes/skills/drawio/scripts/dsl/catalog-search.test.js +0 -44
  1862. package/template/.hermes/skills/drawio/scripts/dsl/document-spec.js +0 -256
  1863. package/template/.hermes/skills/drawio/scripts/dsl/document-spec.test.js +0 -147
  1864. package/template/.hermes/skills/drawio/scripts/dsl/drawio-to-spec.js +0 -497
  1865. package/template/.hermes/skills/drawio/scripts/dsl/examples-baseline.test.js +0 -30
  1866. package/template/.hermes/skills/drawio/scripts/dsl/icon-mappings.js +0 -65
  1867. package/template/.hermes/skills/drawio/scripts/dsl/icon-mappings.test.js +0 -19
  1868. package/template/.hermes/skills/drawio/scripts/dsl/icon-resolver.js +0 -153
  1869. package/template/.hermes/skills/drawio/scripts/dsl/icon-resolver.test.js +0 -62
  1870. package/template/.hermes/skills/drawio/scripts/dsl/multi-page.js +0 -224
  1871. package/template/.hermes/skills/drawio/scripts/dsl/multi-page.test.js +0 -107
  1872. package/template/.hermes/skills/drawio/scripts/dsl/palette-catalog.test.js +0 -138
  1873. package/template/.hermes/skills/drawio/scripts/dsl/palette-integration.test.js +0 -182
  1874. package/template/.hermes/skills/drawio/scripts/dsl/palette-validate.js +0 -91
  1875. package/template/.hermes/skills/drawio/scripts/dsl/palette.js +0 -302
  1876. package/template/.hermes/skills/drawio/scripts/dsl/palette.test.js +0 -197
  1877. package/template/.hermes/skills/drawio/scripts/dsl/shape-catalog.js +0 -89
  1878. package/template/.hermes/skills/drawio/scripts/dsl/shape-catalog.test.js +0 -21
  1879. package/template/.hermes/skills/drawio/scripts/dsl/spec-to-drawio.js +0 -3739
  1880. package/template/.hermes/skills/drawio/scripts/dsl/spec-to-drawio.test.js +0 -3022
  1881. package/template/.hermes/skills/drawio/scripts/generate-palette-swatches.js +0 -87
  1882. package/template/.hermes/skills/drawio/scripts/install.bat +0 -64
  1883. package/template/.hermes/skills/drawio/scripts/install.sh +0 -44
  1884. package/template/.hermes/skills/drawio/scripts/math/index.js +0 -317
  1885. package/template/.hermes/skills/drawio/scripts/math/index.test.js +0 -62
  1886. package/template/.hermes/skills/drawio/scripts/package.json +0 -1
  1887. package/template/.hermes/skills/drawio/scripts/postprocess/artifacts.js +0 -142
  1888. package/template/.hermes/skills/drawio/scripts/postprocess/artifacts.test.js +0 -86
  1889. package/template/.hermes/skills/drawio/scripts/postprocess/cli.js +0 -228
  1890. package/template/.hermes/skills/drawio/scripts/postprocess/cli.test.js +0 -129
  1891. package/template/.hermes/skills/drawio/scripts/postprocess/fixtures/bundle.yaml +0 -75
  1892. package/template/.hermes/skills/drawio/scripts/postprocess/fixtures/legacy.yaml +0 -21
  1893. package/template/.hermes/skills/drawio/scripts/postprocess/html.js +0 -197
  1894. package/template/.hermes/skills/drawio/scripts/postprocess/html.test.js +0 -50
  1895. package/template/.hermes/skills/drawio/scripts/postprocess/index.js +0 -5
  1896. package/template/.hermes/skills/drawio/scripts/postprocess/input.js +0 -112
  1897. package/template/.hermes/skills/drawio/scripts/postprocess/input.test.js +0 -73
  1898. package/template/.hermes/skills/drawio/scripts/postprocess/mutate.js +0 -584
  1899. package/template/.hermes/skills/drawio/scripts/postprocess/mutate.test.js +0 -193
  1900. package/template/.hermes/skills/drawio/scripts/postprocess/projection.js +0 -178
  1901. package/template/.hermes/skills/drawio/scripts/postprocess/projection.test.js +0 -67
  1902. package/template/.hermes/skills/drawio/scripts/runtime/artifacts.js +0 -283
  1903. package/template/.hermes/skills/drawio/scripts/runtime/desktop.js +0 -204
  1904. package/template/.hermes/skills/drawio/scripts/runtime/desktop.test.js +0 -121
  1905. package/template/.hermes/skills/drawio/scripts/runtime/diagrams-net-url.js +0 -122
  1906. package/template/.hermes/skills/drawio/scripts/runtime/export-stability.js +0 -75
  1907. package/template/.hermes/skills/drawio/scripts/runtime/export-stability.test.js +0 -81
  1908. package/template/.hermes/skills/drawio/scripts/runtime/png-inspection.js +0 -157
  1909. package/template/.hermes/skills/drawio/scripts/runtime/png-inspection.test.js +0 -120
  1910. package/template/.hermes/skills/drawio/scripts/runtime/vision-preview.js +0 -77
  1911. package/template/.hermes/skills/drawio/scripts/runtime/vision-preview.test.js +0 -103
  1912. package/template/.hermes/skills/drawio/scripts/shared/ai-icon-contract.js +0 -13
  1913. package/template/.hermes/skills/drawio/scripts/shared/xml-utils.js +0 -241
  1914. package/template/.hermes/skills/drawio/scripts/svg/drawio-to-svg.js +0 -918
  1915. package/template/.hermes/skills/drawio/scripts/svg/drawio-to-svg.test.js +0 -763
  1916. package/template/.hermes/skills/drawio/scripts/tools/build-ai-icon-catalog.js +0 -208
  1917. package/template/.hermes/skills/drawio/scripts/tools/build-ai-icon-catalog.test.js +0 -107
  1918. package/template/.hermes/skills/drawio/scripts/tools/build-shape-catalog.js +0 -84
  1919. package/template/.hermes/skills/drawio/scripts/tools/build-shape-catalog.test.js +0 -43
  1920. package/template/.hermes/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha-color.svg +0 -1
  1921. package/template/.hermes/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha.svg +0 -1
  1922. package/template/.hermes/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta-brand-color.svg +0 -1
  1923. package/template/.hermes/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta.svg +0 -1
  1924. package/template/.hermes/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai-text-color.svg +0 -1
  1925. package/template/.hermes/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai.svg +0 -1
  1926. package/template/.hermes/skills/drawio/scripts/tools/fixtures/ai-icons-package/package.json +0 -5
  1927. package/template/.hermes/skills/drawio/scripts/vendor/elkjs/LICENSE.md +0 -264
  1928. package/template/.hermes/skills/drawio/scripts/vendor/elkjs/README.md +0 -18
  1929. package/template/.hermes/skills/drawio/scripts/vendor/elkjs/elk.bundled.cjs +0 -6589
  1930. package/template/.hermes/skills/drawio/styles/built-in/corporate.json +0 -49
  1931. package/template/.hermes/skills/drawio/styles/built-in/default.json +0 -49
  1932. package/template/.hermes/skills/drawio/styles/built-in/handdrawn.json +0 -49
  1933. package/template/.hermes/skills/drawio/styles/schema.json +0 -112
  1934. package/template/.hermes/skills/drawio-academic-skills/CHANGELOG.md +0 -67
  1935. package/template/.hermes/skills/drawio-academic-skills/README.md +0 -103
  1936. package/template/.hermes/skills/drawio-academic-skills/README_CN.md +0 -103
  1937. package/template/.hermes/skills/drawio-academic-skills/SKILL.md +0 -161
  1938. package/template/.hermes/skills/drawio-academic-skills/__yss_dotfile__.gitignore +0 -12
  1939. package/template/.hermes/skills/drawio-academic-skills/agents/interface.yaml +0 -25
  1940. package/template/.hermes/skills/drawio-academic-skills/agents/openai.yaml +0 -24
  1941. package/template/.hermes/skills/drawio-academic-skills/evals/README.md +0 -13
  1942. package/template/.hermes/skills/drawio-academic-skills/evals/baseline-prompts.json +0 -52
  1943. package/template/.hermes/skills/drawio-academic-skills/evals/darwin-results.tsv +0 -3
  1944. package/template/.hermes/skills/drawio-academic-skills/evals/evals.json +0 -228
  1945. package/template/.hermes/skills/drawio-academic-skills/evals/test-prompts.json +0 -17
  1946. package/template/.hermes/skills/drawio-academic-skills/references/docs/academic-export-checklist.md +0 -45
  1947. package/template/.hermes/skills/drawio-academic-skills/references/docs/academic-figure-playbook.md +0 -349
  1948. package/template/.hermes/skills/drawio-academic-skills/references/docs/publication-overlay.md +0 -206
  1949. package/template/.hermes/skills/drawio-academic-skills/references/examples/ablation-study-pipeline.yaml +0 -39
  1950. package/template/.hermes/skills/drawio-academic-skills/references/examples/ieee-network-paper.yaml +0 -44
  1951. package/template/.hermes/skills/drawio-academic-skills/references/examples/industrial-architecture-cn-paper.yaml +0 -106
  1952. package/template/.hermes/skills/drawio-academic-skills/references/examples/max-pooling-operation-paper.yaml +0 -75
  1953. package/template/.hermes/skills/drawio-academic-skills/references/examples/research-pipeline.yaml +0 -54
  1954. package/template/.hermes/skills/drawio-academic-skills/references/examples/system-architecture-paper.yaml +0 -45
  1955. package/template/.hermes/skills/drawio-academic-skills/references/examples/technical-roadmap-paper.yaml +0 -54
  1956. package/template/.hermes/skills/drawio-academic-skills/references/examples/yolo-model-architecture-paper.yaml +0 -118
  1957. package/template/.hermes/skills/drawio-academic-skills/references/templates/multi-module-system-compact.yaml +0 -251
  1958. package/template/.hermes/skills/drawio-academic-skills/references/templates/neural-network-architecture-compact.yaml +0 -267
  1959. package/template/.hermes/skills/excalidraw-diagram-generator/SKILL.md +0 -634
  1960. package/template/.hermes/skills/excalidraw-diagram-generator/references/element-types.md +0 -497
  1961. package/template/.hermes/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +0 -350
  1962. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/README.md +0 -193
  1963. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/__yss_dotfile__.gitignore +0 -34
  1964. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-arrow.py +0 -315
  1965. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +0 -406
  1966. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +0 -183
  1967. package/template/.hermes/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +0 -334
  1968. package/template/.hermes/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +0 -558
  1969. package/template/.hermes/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +0 -279
  1970. package/template/.hermes/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +0 -662
  1971. package/template/.hermes/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +0 -179
  1972. package/template/.hermes/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +0 -244
  1973. package/template/.hermes/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +0 -145
  1974. package/template/.hermes/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +0 -509
  1975. package/template/.hermes/skills/kb-retriever/README.md +0 -197
  1976. package/template/.hermes/skills/kb-retriever/README.zh-CN.md +0 -197
  1977. package/template/.hermes/skills/kb-retriever/SKILL.md +0 -250
  1978. package/template/.hermes/skills/kb-retriever/manifest.json +0 -15
  1979. package/template/.hermes/skills/kb-retriever/references/excel_analysis.md +0 -129
  1980. package/template/.hermes/skills/kb-retriever/references/excel_reading.md +0 -72
  1981. package/template/.hermes/skills/kb-retriever/references/pdf_reading.md +0 -362
  1982. package/template/.hermes/skills/kb-retriever/scripts/convert_pdf_to_images.py +0 -35
  1983. package/template/.hermes/skills/yss-db2mybatis/requirements.txt +0 -4
  1984. package/template/.hermes/skills/yss-db2mybatis/scripts/db2mybatis.py +0 -1494
  1985. package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +0 -728
  1986. package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.py +0 -155
  1987. package/template/.hermes/skills/yss-design-system/scripts/validate-frontmatter.py +0 -50
  1988. package/template/.hermes/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -371
  1989. package/template/.hermes/skills/yss-web-controller/scripts/generate_controller.py +0 -293
  1990. package/template/.hermes/skills/yss-web-controller/scripts/test_generate_controller.py +0 -68
  1991. package/template/.pi/skills/beautiful-article/README.md +0 -450
  1992. package/template/.pi/skills/beautiful-article/README.zh-CN.md +0 -450
  1993. package/template/.pi/skills/beautiful-article/SKILL.md +0 -466
  1994. package/template/.pi/skills/beautiful-article/assets/scaffold-template/__yss_dotfile__.npmrc +0 -1
  1995. package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +0 -69
  1996. package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +0 -172
  1997. package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/main.tsx +0 -26
  1998. package/template/.pi/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +0 -30
  1999. package/template/.pi/skills/beautiful-article/assets/scaffold-template/index.html +0 -19
  2000. package/template/.pi/skills/beautiful-article/assets/scaffold-template/package.json +0 -26
  2001. package/template/.pi/skills/beautiful-article/assets/scaffold-template/tsconfig.json +0 -20
  2002. package/template/.pi/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +0 -11
  2003. package/template/.pi/skills/beautiful-article/assets/scaffold-template/vite.config.ts +0 -18
  2004. package/template/.pi/skills/beautiful-article/manifest.json +0 -15
  2005. package/template/.pi/skills/beautiful-article/references/article-types/briefing.md +0 -32
  2006. package/template/.pi/skills/beautiful-article/references/article-types/dialogue.md +0 -30
  2007. package/template/.pi/skills/beautiful-article/references/article-types/essay.md +0 -31
  2008. package/template/.pi/skills/beautiful-article/references/article-types/explainer.md +0 -32
  2009. package/template/.pi/skills/beautiful-article/references/article-types/full-report.md +0 -32
  2010. package/template/.pi/skills/beautiful-article/references/article-types/interactive-explainer.md +0 -66
  2011. package/template/.pi/skills/beautiful-article/references/article-types/longform.md +0 -32
  2012. package/template/.pi/skills/beautiful-article/references/article-types/review.md +0 -32
  2013. package/template/.pi/skills/beautiful-article/references/article-types/tutorial.md +0 -30
  2014. package/template/.pi/skills/beautiful-article/references/article-types/visual-essay.md +0 -33
  2015. package/template/.pi/skills/beautiful-article/references/article-types.md +0 -42
  2016. package/template/.pi/skills/beautiful-article/references/asset-policy.md +0 -71
  2017. package/template/.pi/skills/beautiful-article/references/component-policy.md +0 -103
  2018. package/template/.pi/skills/beautiful-article/references/cover.md +0 -208
  2019. package/template/.pi/skills/beautiful-article/references/harness.md +0 -35
  2020. package/template/.pi/skills/beautiful-article/references/html-output.md +0 -42
  2021. package/template/.pi/skills/beautiful-article/references/information-density.md +0 -50
  2022. package/template/.pi/skills/beautiful-article/references/layout.md +0 -46
  2023. package/template/.pi/skills/beautiful-article/references/pdf-output.md +0 -208
  2024. package/template/.pi/skills/beautiful-article/references/plan-template.md +0 -109
  2025. package/template/.pi/skills/beautiful-article/references/raw-policy.md +0 -86
  2026. package/template/.pi/skills/beautiful-article/references/repair-policy.md +0 -35
  2027. package/template/.pi/skills/beautiful-article/references/review-checklist.md +0 -133
  2028. package/template/.pi/skills/beautiful-article/references/scaffold.md +0 -77
  2029. package/template/.pi/skills/beautiful-article/references/section-build.md +0 -100
  2030. package/template/.pi/skills/beautiful-article/references/source-to-markdown.md +0 -118
  2031. package/template/.pi/skills/beautiful-article/references/theme-selection.md +0 -48
  2032. package/template/.pi/skills/beautiful-article/scripts/html-to-pdf.sh +0 -160
  2033. package/template/.pi/skills/beautiful-article/scripts/pdf-print-overrides.css +0 -192
  2034. package/template/.pi/skills/beautiful-article/scripts/scaffold.sh +0 -172
  2035. package/template/.pi/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +0 -100
  2036. package/template/.pi/skills/beautiful-article/scripts/source-to-markdown.py +0 -174
  2037. package/template/.pi/skills/beautiful-article/theme-profiles/andy.md +0 -57
  2038. package/template/.pi/skills/beautiful-article/theme-profiles/bayer.md +0 -57
  2039. package/template/.pi/skills/beautiful-article/theme-profiles/bodoni.md +0 -57
  2040. package/template/.pi/skills/beautiful-article/theme-profiles/freddie.md +0 -57
  2041. package/template/.pi/skills/beautiful-article/theme-profiles/fuller.md +0 -56
  2042. package/template/.pi/skills/beautiful-article/theme-profiles/index.json +0 -112
  2043. package/template/.pi/skills/beautiful-article/theme-profiles/knuth.md +0 -60
  2044. package/template/.pi/skills/beautiful-article/theme-profiles/press.md +0 -61
  2045. package/template/.pi/skills/beautiful-article/theme-profiles/shannon.md +0 -64
  2046. package/template/.pi/skills/beautiful-article/theme-profiles/sottsass.md +0 -57
  2047. package/template/.pi/skills/beautiful-article/theme-profiles/tufte.md +0 -64
  2048. package/template/.pi/skills/beautiful-article/theme-profiles/vignelli.md +0 -63
  2049. package/template/.pi/skills/drawio/.mcp.json +0 -8
  2050. package/template/.pi/skills/drawio/CHANGELOG.md +0 -216
  2051. package/template/.pi/skills/drawio/SKILL.md +0 -157
  2052. package/template/.pi/skills/drawio/agents/interface.yaml +0 -26
  2053. package/template/.pi/skills/drawio/agents/openai.yaml +0 -26
  2054. package/template/.pi/skills/drawio/assets/catalog/ai-icons.json.gz +0 -0
  2055. package/template/.pi/skills/drawio/assets/catalog/shape-catalog.json.gz +0 -0
  2056. package/template/.pi/skills/drawio/assets/catalog/shape-index.json.gz +0 -0
  2057. package/template/.pi/skills/drawio/assets/examples/login-flow-test.drawio +0 -6
  2058. package/template/.pi/skills/drawio/assets/examples/login-flow.drawio +0 -6
  2059. package/template/.pi/skills/drawio/assets/examples/microservices.drawio +0 -6
  2060. package/template/.pi/skills/drawio/assets/examples/neural-network.drawio +0 -6
  2061. package/template/.pi/skills/drawio/assets/licenses/architecture-diagram-generator-MIT.txt +0 -26
  2062. package/template/.pi/skills/drawio/assets/licenses/drawio-mcp-shape-index-Apache-2.0.txt +0 -8
  2063. package/template/.pi/skills/drawio/assets/licenses/lobe-icons-MIT.txt +0 -26
  2064. package/template/.pi/skills/drawio/assets/licenses/lucide-ISC.txt +0 -41
  2065. package/template/.pi/skills/drawio/assets/palettes/c4-blue.json +0 -29
  2066. package/template/.pi/skills/drawio/assets/palettes/cloud-aws.json +0 -30
  2067. package/template/.pi/skills/drawio/assets/palettes/drawio-classic.json +0 -21
  2068. package/template/.pi/skills/drawio/assets/palettes/ieee-bw.json +0 -26
  2069. package/template/.pi/skills/drawio/assets/palettes/ieee-color.json +0 -17
  2070. package/template/.pi/skills/drawio/assets/palettes/journal-jama.json +0 -20
  2071. package/template/.pi/skills/drawio/assets/palettes/journal-npg.json +0 -23
  2072. package/template/.pi/skills/drawio/assets/palettes/matlab-lines.json +0 -20
  2073. package/template/.pi/skills/drawio/assets/palettes/morandi.json +0 -21
  2074. package/template/.pi/skills/drawio/assets/palettes/okabe-ito.json +0 -21
  2075. package/template/.pi/skills/drawio/assets/palettes/seaborn-colorblind.json +0 -23
  2076. package/template/.pi/skills/drawio/assets/palettes/tol-bright.json +0 -20
  2077. package/template/.pi/skills/drawio/assets/palettes/tol-high-contrast.json +0 -18
  2078. package/template/.pi/skills/drawio/assets/palettes/tol-light-fill.json +0 -22
  2079. package/template/.pi/skills/drawio/assets/palettes/tol-muted.json +0 -22
  2080. package/template/.pi/skills/drawio/assets/schemas/graph-projection.schema.json +0 -135
  2081. package/template/.pi/skills/drawio/assets/schemas/spec.schema.json +0 -620
  2082. package/template/.pi/skills/drawio/assets/themes/academic-color.json +0 -299
  2083. package/template/.pi/skills/drawio/assets/themes/academic.json +0 -245
  2084. package/template/.pi/skills/drawio/assets/themes/arch-dark.json +0 -253
  2085. package/template/.pi/skills/drawio/assets/themes/blueprint.json +0 -246
  2086. package/template/.pi/skills/drawio/assets/themes/dark-luxury.json +0 -246
  2087. package/template/.pi/skills/drawio/assets/themes/dark-terminal.json +0 -244
  2088. package/template/.pi/skills/drawio/assets/themes/dark.json +0 -220
  2089. package/template/.pi/skills/drawio/assets/themes/high-contrast.json +0 -220
  2090. package/template/.pi/skills/drawio/assets/themes/nature.json +0 -220
  2091. package/template/.pi/skills/drawio/assets/themes/notion-clean.json +0 -246
  2092. package/template/.pi/skills/drawio/assets/themes/tech-blue.json +0 -220
  2093. package/template/.pi/skills/drawio/evals/README.md +0 -17
  2094. package/template/.pi/skills/drawio/evals/ai-icon-catalog-cases.json +0 -89
  2095. package/template/.pi/skills/drawio/evals/baseline-prompts.json +0 -122
  2096. package/template/.pi/skills/drawio/evals/darwin-results.tsv +0 -4
  2097. package/template/.pi/skills/drawio/evals/evals.json +0 -223
  2098. package/template/.pi/skills/drawio/evals/evidence/ai-icon-catalog-desktop.json +0 -134
  2099. package/template/.pi/skills/drawio/evals/fixtures/ai-icons-advanced-svg.yaml +0 -25
  2100. package/template/.pi/skills/drawio/evals/fixtures/ai-icons-cjk-agent-rag.yaml +0 -55
  2101. package/template/.pi/skills/drawio/evals/fixtures/ai-icons-core-aliases.yaml +0 -50
  2102. package/template/.pi/skills/drawio/evals/fixtures/ai-icons-current-color.yaml +0 -25
  2103. package/template/.pi/skills/drawio/evals/fixtures/ai-icons-gradients.yaml +0 -25
  2104. package/template/.pi/skills/drawio/evals/fixtures/import-simple-compressed.drawio +0 -5
  2105. package/template/.pi/skills/drawio/evals/fixtures/import-simple.drawio +0 -28
  2106. package/template/.pi/skills/drawio/evals/fixtures/industrial-architecture.yaml +0 -239
  2107. package/template/.pi/skills/drawio/evals/fixtures/replicate-academic-highlight.svg +0 -13
  2108. package/template/.pi/skills/drawio/evals/fixtures/replicate-brand-architecture.svg +0 -14
  2109. package/template/.pi/skills/drawio/evals/fixtures/replicate-warm-approval.svg +0 -13
  2110. package/template/.pi/skills/drawio/evals/fixtures/vision-tall-workflow.yaml +0 -47
  2111. package/template/.pi/skills/drawio/evals/upstream-integration-cases.json +0 -78
  2112. package/template/.pi/skills/drawio/evals/vision-preview-cases.json +0 -147
  2113. package/template/.pi/skills/drawio/references/docs/agent-diagrams.md +0 -164
  2114. package/template/.pi/skills/drawio/references/docs/ah-format.md +0 -322
  2115. package/template/.pi/skills/drawio/references/docs/architecture-diagrams.md +0 -159
  2116. package/template/.pi/skills/drawio/references/docs/canonical-graph-projection.md +0 -54
  2117. package/template/.pi/skills/drawio/references/docs/code-importers.md +0 -53
  2118. package/template/.pi/skills/drawio/references/docs/config-importers.md +0 -68
  2119. package/template/.pi/skills/drawio/references/docs/design-system/README.md +0 -204
  2120. package/template/.pi/skills/drawio/references/docs/design-system/color-guide.md +0 -255
  2121. package/template/.pi/skills/drawio/references/docs/design-system/connectors.md +0 -388
  2122. package/template/.pi/skills/drawio/references/docs/design-system/formulas.md +0 -196
  2123. package/template/.pi/skills/drawio/references/docs/design-system/icons.md +0 -332
  2124. package/template/.pi/skills/drawio/references/docs/design-system/shapes.md +0 -269
  2125. package/template/.pi/skills/drawio/references/docs/design-system/specification.md +0 -754
  2126. package/template/.pi/skills/drawio/references/docs/design-system/themes.md +0 -441
  2127. package/template/.pi/skills/drawio/references/docs/design-system/tokens.md +0 -232
  2128. package/template/.pi/skills/drawio/references/docs/edge-quality-rules.md +0 -65
  2129. package/template/.pi/skills/drawio/references/docs/ieee-network-diagrams.md +0 -145
  2130. package/template/.pi/skills/drawio/references/docs/live-snapshots-drift.md +0 -72
  2131. package/template/.pi/skills/drawio/references/docs/math-typesetting.md +0 -258
  2132. package/template/.pi/skills/drawio/references/docs/mcp-tools.md +0 -85
  2133. package/template/.pi/skills/drawio/references/docs/migration-readiness.md +0 -73
  2134. package/template/.pi/skills/drawio/references/docs/stencil-library-guide.md +0 -97
  2135. package/template/.pi/skills/drawio/references/docs/style-extraction.md +0 -261
  2136. package/template/.pi/skills/drawio/references/docs/style-presets.md +0 -126
  2137. package/template/.pi/skills/drawio/references/docs/upstream-capability-compatibility.md +0 -61
  2138. package/template/.pi/skills/drawio/references/docs/xml-format.md +0 -53
  2139. package/template/.pi/skills/drawio/references/examples/README.md +0 -33
  2140. package/template/.pi/skills/drawio/references/examples/agentic-rag.yaml +0 -71
  2141. package/template/.pi/skills/drawio/references/examples/arch-dark-aws-serverless.yaml +0 -103
  2142. package/template/.pi/skills/drawio/references/examples/arch-dark-microservices.yaml +0 -146
  2143. package/template/.pi/skills/drawio/references/examples/arch-dark-web-app.yaml +0 -62
  2144. package/template/.pi/skills/drawio/references/examples/auto-layout-workflow.yaml +0 -81
  2145. package/template/.pi/skills/drawio/references/examples/aws-vpc-topology.yaml +0 -66
  2146. package/template/.pi/skills/drawio/references/examples/campus-lan-topology.yaml +0 -89
  2147. package/template/.pi/skills/drawio/references/examples/cloud-reference-architecture.yaml +0 -34
  2148. package/template/.pi/skills/drawio/references/examples/e-commerce.yaml +0 -141
  2149. package/template/.pi/skills/drawio/references/examples/importers/README.md +0 -10
  2150. package/template/.pi/skills/drawio/references/examples/importers/live/compose-drift-evidence.json +0 -49
  2151. package/template/.pi/skills/drawio/references/examples/importers/live/compose-drift-report.json +0 -300
  2152. package/template/.pi/skills/drawio/references/examples/importers/live/compose-drift.spec.yaml +0 -75
  2153. package/template/.pi/skills/drawio/references/examples/importers/live/docker-inspect.json +0 -55
  2154. package/template/.pi/skills/drawio/references/examples/importers/live/drift-declared-compose.yaml +0 -13
  2155. package/template/.pi/skills/drawio/references/examples/importers/live/kubernetes-live.json +0 -71
  2156. package/template/.pi/skills/drawio/references/examples/importers/live/terraform-state.json +0 -70
  2157. package/template/.pi/skills/drawio/references/examples/importers/schema.sql +0 -10
  2158. package/template/.pi/skills/drawio/references/examples/importers/terraform.tf +0 -9
  2159. package/template/.pi/skills/drawio/references/examples/login-flow.yaml +0 -65
  2160. package/template/.pi/skills/drawio/references/examples/mem0-memory-layer.yaml +0 -63
  2161. package/template/.pi/skills/drawio/references/examples/microservices.yaml +0 -58
  2162. package/template/.pi/skills/drawio/references/examples/multi-agent-orchestration.yaml +0 -67
  2163. package/template/.pi/skills/drawio/references/examples/neural-network.yaml +0 -66
  2164. package/template/.pi/skills/drawio/references/examples/onprem-dmz-topology.yaml +0 -62
  2165. package/template/.pi/skills/drawio/references/examples/palettes/README.md +0 -29
  2166. package/template/.pi/skills/drawio/references/examples/palettes/c4-blue.drawio +0 -6
  2167. package/template/.pi/skills/drawio/references/examples/palettes/c4-blue.svg +0 -36
  2168. package/template/.pi/skills/drawio/references/examples/palettes/cloud-aws.drawio +0 -6
  2169. package/template/.pi/skills/drawio/references/examples/palettes/cloud-aws.svg +0 -36
  2170. package/template/.pi/skills/drawio/references/examples/palettes/drawio-classic.drawio +0 -6
  2171. package/template/.pi/skills/drawio/references/examples/palettes/drawio-classic.svg +0 -36
  2172. package/template/.pi/skills/drawio/references/examples/palettes/ieee-bw.drawio +0 -6
  2173. package/template/.pi/skills/drawio/references/examples/palettes/ieee-bw.svg +0 -36
  2174. package/template/.pi/skills/drawio/references/examples/palettes/ieee-color.drawio +0 -6
  2175. package/template/.pi/skills/drawio/references/examples/palettes/ieee-color.svg +0 -36
  2176. package/template/.pi/skills/drawio/references/examples/palettes/journal-jama.drawio +0 -6
  2177. package/template/.pi/skills/drawio/references/examples/palettes/journal-jama.svg +0 -36
  2178. package/template/.pi/skills/drawio/references/examples/palettes/journal-npg.drawio +0 -6
  2179. package/template/.pi/skills/drawio/references/examples/palettes/journal-npg.svg +0 -36
  2180. package/template/.pi/skills/drawio/references/examples/palettes/matlab-lines.drawio +0 -6
  2181. package/template/.pi/skills/drawio/references/examples/palettes/matlab-lines.svg +0 -36
  2182. package/template/.pi/skills/drawio/references/examples/palettes/morandi.drawio +0 -6
  2183. package/template/.pi/skills/drawio/references/examples/palettes/morandi.svg +0 -36
  2184. package/template/.pi/skills/drawio/references/examples/palettes/okabe-ito.drawio +0 -6
  2185. package/template/.pi/skills/drawio/references/examples/palettes/okabe-ito.svg +0 -36
  2186. package/template/.pi/skills/drawio/references/examples/palettes/palette-swatch.template.yaml +0 -56
  2187. package/template/.pi/skills/drawio/references/examples/palettes/seaborn-colorblind.drawio +0 -6
  2188. package/template/.pi/skills/drawio/references/examples/palettes/seaborn-colorblind.svg +0 -36
  2189. package/template/.pi/skills/drawio/references/examples/palettes/tol-bright.drawio +0 -6
  2190. package/template/.pi/skills/drawio/references/examples/palettes/tol-bright.svg +0 -36
  2191. package/template/.pi/skills/drawio/references/examples/palettes/tol-high-contrast.drawio +0 -6
  2192. package/template/.pi/skills/drawio/references/examples/palettes/tol-high-contrast.svg +0 -36
  2193. package/template/.pi/skills/drawio/references/examples/palettes/tol-light-fill.drawio +0 -6
  2194. package/template/.pi/skills/drawio/references/examples/palettes/tol-light-fill.svg +0 -36
  2195. package/template/.pi/skills/drawio/references/examples/palettes/tol-muted.drawio +0 -6
  2196. package/template/.pi/skills/drawio/references/examples/palettes/tol-muted.svg +0 -36
  2197. package/template/.pi/skills/drawio/references/examples/rag-pipeline.yaml +0 -67
  2198. package/template/.pi/skills/drawio/references/examples/replicated-brand-flow.yaml +0 -89
  2199. package/template/.pi/skills/drawio/references/examples/swimlane-engineering-review.yaml +0 -44
  2200. package/template/.pi/skills/drawio/references/examples/tiered-network-topology.yaml +0 -59
  2201. package/template/.pi/skills/drawio/references/examples/tool-call-loop.yaml +0 -63
  2202. package/template/.pi/skills/drawio/references/examples/vendor-device-mapping.yaml +0 -46
  2203. package/template/.pi/skills/drawio/references/official/style-reference.md +0 -936
  2204. package/template/.pi/skills/drawio/references/official/xml-reference.md +0 -262
  2205. package/template/.pi/skills/drawio/references/palette.schema.json +0 -59
  2206. package/template/.pi/skills/drawio/references/theme.schema.json +0 -249
  2207. package/template/.pi/skills/drawio/references/upstream/pure-drawio-skill.md +0 -615
  2208. package/template/.pi/skills/drawio/references/workflows/create.md +0 -195
  2209. package/template/.pi/skills/drawio/references/workflows/edit.md +0 -174
  2210. package/template/.pi/skills/drawio/references/workflows/replicate.md +0 -239
  2211. package/template/.pi/skills/drawio/references/workflows/visual-review.md +0 -108
  2212. package/template/.pi/skills/drawio/reports/output_quality_scorecard.md +0 -106
  2213. package/template/.pi/skills/drawio/reports/upstream-port-release-evidence.md +0 -43
  2214. package/template/.pi/skills/drawio/scripts/adapters/ci.js +0 -139
  2215. package/template/.pi/skills/drawio/scripts/adapters/ci.test.js +0 -41
  2216. package/template/.pi/skills/drawio/scripts/adapters/code-common.js +0 -171
  2217. package/template/.pi/skills/drawio/scripts/adapters/code-imports.test.js +0 -80
  2218. package/template/.pi/skills/drawio/scripts/adapters/code-parsers.integration.test.js +0 -71
  2219. package/template/.pi/skills/drawio/scripts/adapters/compose.js +0 -134
  2220. package/template/.pi/skills/drawio/scripts/adapters/compose.test.js +0 -54
  2221. package/template/.pi/skills/drawio/scripts/adapters/config-adapters.integration.test.js +0 -58
  2222. package/template/.pi/skills/drawio/scripts/adapters/config-common.js +0 -131
  2223. package/template/.pi/skills/drawio/scripts/adapters/config-common.test.js +0 -32
  2224. package/template/.pi/skills/drawio/scripts/adapters/docker-inspect.js +0 -127
  2225. package/template/.pi/skills/drawio/scripts/adapters/docker-inspect.test.js +0 -62
  2226. package/template/.pi/skills/drawio/scripts/adapters/fixtures/raster-extraction.json +0 -31
  2227. package/template/.pi/skills/drawio/scripts/adapters/go-code-adapter.test.js +0 -59
  2228. package/template/.pi/skills/drawio/scripts/adapters/go-code.js +0 -168
  2229. package/template/.pi/skills/drawio/scripts/adapters/graph-drift.file.test.js +0 -67
  2230. package/template/.pi/skills/drawio/scripts/adapters/graph-drift.js +0 -358
  2231. package/template/.pi/skills/drawio/scripts/adapters/graph-drift.test.js +0 -272
  2232. package/template/.pi/skills/drawio/scripts/adapters/graph-projection.js +0 -335
  2233. package/template/.pi/skills/drawio/scripts/adapters/graph-projection.test.js +0 -141
  2234. package/template/.pi/skills/drawio/scripts/adapters/identity.js +0 -244
  2235. package/template/.pi/skills/drawio/scripts/adapters/identity.test.js +0 -123
  2236. package/template/.pi/skills/drawio/scripts/adapters/index.js +0 -489
  2237. package/template/.pi/skills/drawio/scripts/adapters/index.test.js +0 -152
  2238. package/template/.pi/skills/drawio/scripts/adapters/js-code-adapter.test.js +0 -42
  2239. package/template/.pi/skills/drawio/scripts/adapters/js-code.js +0 -141
  2240. package/template/.pi/skills/drawio/scripts/adapters/kubernetes-live.test.js +0 -46
  2241. package/template/.pi/skills/drawio/scripts/adapters/kubernetes.js +0 -258
  2242. package/template/.pi/skills/drawio/scripts/adapters/kubernetes.test.js +0 -81
  2243. package/template/.pi/skills/drawio/scripts/adapters/openapi.js +0 -98
  2244. package/template/.pi/skills/drawio/scripts/adapters/openapi.test.js +0 -46
  2245. package/template/.pi/skills/drawio/scripts/adapters/optional-python-code.js +0 -16
  2246. package/template/.pi/skills/drawio/scripts/adapters/optional-python.integration.test.js +0 -32
  2247. package/template/.pi/skills/drawio/scripts/adapters/optional-python.js +0 -127
  2248. package/template/.pi/skills/drawio/scripts/adapters/optional-python.test.js +0 -55
  2249. package/template/.pi/skills/drawio/scripts/adapters/projection-to-spec.js +0 -116
  2250. package/template/.pi/skills/drawio/scripts/adapters/projection-to-spec.test.js +0 -139
  2251. package/template/.pi/skills/drawio/scripts/adapters/python/code-parser-worker.py +0 -93
  2252. package/template/.pi/skills/drawio/scripts/adapters/python/config-parser-worker.py +0 -237
  2253. package/template/.pi/skills/drawio/scripts/adapters/python/requirements.txt +0 -2
  2254. package/template/.pi/skills/drawio/scripts/adapters/python-code-adapter.test.js +0 -127
  2255. package/template/.pi/skills/drawio/scripts/adapters/python-code.js +0 -246
  2256. package/template/.pi/skills/drawio/scripts/adapters/raster-extraction.js +0 -258
  2257. package/template/.pi/skills/drawio/scripts/adapters/raster-extraction.test.js +0 -308
  2258. package/template/.pi/skills/drawio/scripts/adapters/rust-code-adapter.test.js +0 -64
  2259. package/template/.pi/skills/drawio/scripts/adapters/rust-code.js +0 -207
  2260. package/template/.pi/skills/drawio/scripts/adapters/sql-ddl.js +0 -118
  2261. package/template/.pi/skills/drawio/scripts/adapters/sql-ddl.test.js +0 -56
  2262. package/template/.pi/skills/drawio/scripts/adapters/terraform-config.js +0 -141
  2263. package/template/.pi/skills/drawio/scripts/adapters/terraform-config.test.js +0 -67
  2264. package/template/.pi/skills/drawio/scripts/adapters/terraform-state.js +0 -157
  2265. package/template/.pi/skills/drawio/scripts/adapters/terraform-state.test.js +0 -69
  2266. package/template/.pi/skills/drawio/scripts/cli.js +0 -700
  2267. package/template/.pi/skills/drawio/scripts/dsl/ah-to-drawio.js +0 -276
  2268. package/template/.pi/skills/drawio/scripts/dsl/ah-to-drawio.test.js +0 -77
  2269. package/template/.pi/skills/drawio/scripts/dsl/ai-icon-catalog.js +0 -126
  2270. package/template/.pi/skills/drawio/scripts/dsl/ai-icon-catalog.test.js +0 -86
  2271. package/template/.pi/skills/drawio/scripts/dsl/auto-layout.js +0 -206
  2272. package/template/.pi/skills/drawio/scripts/dsl/auto-layout.test.js +0 -249
  2273. package/template/.pi/skills/drawio/scripts/dsl/catalog-ranking.js +0 -54
  2274. package/template/.pi/skills/drawio/scripts/dsl/catalog-search.js +0 -58
  2275. package/template/.pi/skills/drawio/scripts/dsl/catalog-search.test.js +0 -44
  2276. package/template/.pi/skills/drawio/scripts/dsl/document-spec.js +0 -256
  2277. package/template/.pi/skills/drawio/scripts/dsl/document-spec.test.js +0 -147
  2278. package/template/.pi/skills/drawio/scripts/dsl/drawio-to-spec.js +0 -497
  2279. package/template/.pi/skills/drawio/scripts/dsl/examples-baseline.test.js +0 -30
  2280. package/template/.pi/skills/drawio/scripts/dsl/icon-mappings.js +0 -65
  2281. package/template/.pi/skills/drawio/scripts/dsl/icon-mappings.test.js +0 -19
  2282. package/template/.pi/skills/drawio/scripts/dsl/icon-resolver.js +0 -153
  2283. package/template/.pi/skills/drawio/scripts/dsl/icon-resolver.test.js +0 -62
  2284. package/template/.pi/skills/drawio/scripts/dsl/multi-page.js +0 -224
  2285. package/template/.pi/skills/drawio/scripts/dsl/multi-page.test.js +0 -107
  2286. package/template/.pi/skills/drawio/scripts/dsl/palette-catalog.test.js +0 -138
  2287. package/template/.pi/skills/drawio/scripts/dsl/palette-integration.test.js +0 -182
  2288. package/template/.pi/skills/drawio/scripts/dsl/palette-validate.js +0 -91
  2289. package/template/.pi/skills/drawio/scripts/dsl/palette.js +0 -302
  2290. package/template/.pi/skills/drawio/scripts/dsl/palette.test.js +0 -197
  2291. package/template/.pi/skills/drawio/scripts/dsl/shape-catalog.js +0 -89
  2292. package/template/.pi/skills/drawio/scripts/dsl/shape-catalog.test.js +0 -21
  2293. package/template/.pi/skills/drawio/scripts/dsl/spec-to-drawio.js +0 -3739
  2294. package/template/.pi/skills/drawio/scripts/dsl/spec-to-drawio.test.js +0 -3022
  2295. package/template/.pi/skills/drawio/scripts/generate-palette-swatches.js +0 -87
  2296. package/template/.pi/skills/drawio/scripts/install.bat +0 -64
  2297. package/template/.pi/skills/drawio/scripts/install.sh +0 -44
  2298. package/template/.pi/skills/drawio/scripts/math/index.js +0 -317
  2299. package/template/.pi/skills/drawio/scripts/math/index.test.js +0 -62
  2300. package/template/.pi/skills/drawio/scripts/package.json +0 -1
  2301. package/template/.pi/skills/drawio/scripts/postprocess/artifacts.js +0 -142
  2302. package/template/.pi/skills/drawio/scripts/postprocess/artifacts.test.js +0 -86
  2303. package/template/.pi/skills/drawio/scripts/postprocess/cli.js +0 -228
  2304. package/template/.pi/skills/drawio/scripts/postprocess/cli.test.js +0 -129
  2305. package/template/.pi/skills/drawio/scripts/postprocess/fixtures/bundle.yaml +0 -75
  2306. package/template/.pi/skills/drawio/scripts/postprocess/fixtures/legacy.yaml +0 -21
  2307. package/template/.pi/skills/drawio/scripts/postprocess/html.js +0 -197
  2308. package/template/.pi/skills/drawio/scripts/postprocess/html.test.js +0 -50
  2309. package/template/.pi/skills/drawio/scripts/postprocess/index.js +0 -5
  2310. package/template/.pi/skills/drawio/scripts/postprocess/input.js +0 -112
  2311. package/template/.pi/skills/drawio/scripts/postprocess/input.test.js +0 -73
  2312. package/template/.pi/skills/drawio/scripts/postprocess/mutate.js +0 -584
  2313. package/template/.pi/skills/drawio/scripts/postprocess/mutate.test.js +0 -193
  2314. package/template/.pi/skills/drawio/scripts/postprocess/projection.js +0 -178
  2315. package/template/.pi/skills/drawio/scripts/postprocess/projection.test.js +0 -67
  2316. package/template/.pi/skills/drawio/scripts/runtime/artifacts.js +0 -283
  2317. package/template/.pi/skills/drawio/scripts/runtime/desktop.js +0 -204
  2318. package/template/.pi/skills/drawio/scripts/runtime/desktop.test.js +0 -121
  2319. package/template/.pi/skills/drawio/scripts/runtime/diagrams-net-url.js +0 -122
  2320. package/template/.pi/skills/drawio/scripts/runtime/export-stability.js +0 -75
  2321. package/template/.pi/skills/drawio/scripts/runtime/export-stability.test.js +0 -81
  2322. package/template/.pi/skills/drawio/scripts/runtime/png-inspection.js +0 -157
  2323. package/template/.pi/skills/drawio/scripts/runtime/png-inspection.test.js +0 -120
  2324. package/template/.pi/skills/drawio/scripts/runtime/vision-preview.js +0 -77
  2325. package/template/.pi/skills/drawio/scripts/runtime/vision-preview.test.js +0 -103
  2326. package/template/.pi/skills/drawio/scripts/shared/ai-icon-contract.js +0 -13
  2327. package/template/.pi/skills/drawio/scripts/shared/xml-utils.js +0 -241
  2328. package/template/.pi/skills/drawio/scripts/svg/drawio-to-svg.js +0 -918
  2329. package/template/.pi/skills/drawio/scripts/svg/drawio-to-svg.test.js +0 -763
  2330. package/template/.pi/skills/drawio/scripts/tools/build-ai-icon-catalog.js +0 -208
  2331. package/template/.pi/skills/drawio/scripts/tools/build-ai-icon-catalog.test.js +0 -107
  2332. package/template/.pi/skills/drawio/scripts/tools/build-shape-catalog.js +0 -84
  2333. package/template/.pi/skills/drawio/scripts/tools/build-shape-catalog.test.js +0 -43
  2334. package/template/.pi/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha-color.svg +0 -1
  2335. package/template/.pi/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha.svg +0 -1
  2336. package/template/.pi/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta-brand-color.svg +0 -1
  2337. package/template/.pi/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta.svg +0 -1
  2338. package/template/.pi/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai-text-color.svg +0 -1
  2339. package/template/.pi/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai.svg +0 -1
  2340. package/template/.pi/skills/drawio/scripts/tools/fixtures/ai-icons-package/package.json +0 -5
  2341. package/template/.pi/skills/drawio/scripts/vendor/elkjs/LICENSE.md +0 -264
  2342. package/template/.pi/skills/drawio/scripts/vendor/elkjs/README.md +0 -18
  2343. package/template/.pi/skills/drawio/scripts/vendor/elkjs/elk.bundled.cjs +0 -6589
  2344. package/template/.pi/skills/drawio/styles/built-in/corporate.json +0 -49
  2345. package/template/.pi/skills/drawio/styles/built-in/default.json +0 -49
  2346. package/template/.pi/skills/drawio/styles/built-in/handdrawn.json +0 -49
  2347. package/template/.pi/skills/drawio/styles/schema.json +0 -112
  2348. package/template/.pi/skills/drawio-academic-skills/CHANGELOG.md +0 -67
  2349. package/template/.pi/skills/drawio-academic-skills/README.md +0 -103
  2350. package/template/.pi/skills/drawio-academic-skills/README_CN.md +0 -103
  2351. package/template/.pi/skills/drawio-academic-skills/SKILL.md +0 -161
  2352. package/template/.pi/skills/drawio-academic-skills/__yss_dotfile__.gitignore +0 -12
  2353. package/template/.pi/skills/drawio-academic-skills/agents/interface.yaml +0 -25
  2354. package/template/.pi/skills/drawio-academic-skills/agents/openai.yaml +0 -24
  2355. package/template/.pi/skills/drawio-academic-skills/evals/README.md +0 -13
  2356. package/template/.pi/skills/drawio-academic-skills/evals/baseline-prompts.json +0 -52
  2357. package/template/.pi/skills/drawio-academic-skills/evals/darwin-results.tsv +0 -3
  2358. package/template/.pi/skills/drawio-academic-skills/evals/evals.json +0 -228
  2359. package/template/.pi/skills/drawio-academic-skills/evals/test-prompts.json +0 -17
  2360. package/template/.pi/skills/drawio-academic-skills/references/docs/academic-export-checklist.md +0 -45
  2361. package/template/.pi/skills/drawio-academic-skills/references/docs/academic-figure-playbook.md +0 -349
  2362. package/template/.pi/skills/drawio-academic-skills/references/docs/publication-overlay.md +0 -206
  2363. package/template/.pi/skills/drawio-academic-skills/references/examples/ablation-study-pipeline.yaml +0 -39
  2364. package/template/.pi/skills/drawio-academic-skills/references/examples/ieee-network-paper.yaml +0 -44
  2365. package/template/.pi/skills/drawio-academic-skills/references/examples/industrial-architecture-cn-paper.yaml +0 -106
  2366. package/template/.pi/skills/drawio-academic-skills/references/examples/max-pooling-operation-paper.yaml +0 -75
  2367. package/template/.pi/skills/drawio-academic-skills/references/examples/research-pipeline.yaml +0 -54
  2368. package/template/.pi/skills/drawio-academic-skills/references/examples/system-architecture-paper.yaml +0 -45
  2369. package/template/.pi/skills/drawio-academic-skills/references/examples/technical-roadmap-paper.yaml +0 -54
  2370. package/template/.pi/skills/drawio-academic-skills/references/examples/yolo-model-architecture-paper.yaml +0 -118
  2371. package/template/.pi/skills/drawio-academic-skills/references/templates/multi-module-system-compact.yaml +0 -251
  2372. package/template/.pi/skills/drawio-academic-skills/references/templates/neural-network-architecture-compact.yaml +0 -267
  2373. package/template/.pi/skills/excalidraw-diagram-generator/SKILL.md +0 -634
  2374. package/template/.pi/skills/excalidraw-diagram-generator/references/element-types.md +0 -497
  2375. package/template/.pi/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +0 -350
  2376. package/template/.pi/skills/excalidraw-diagram-generator/scripts/README.md +0 -193
  2377. package/template/.pi/skills/excalidraw-diagram-generator/scripts/__yss_dotfile__.gitignore +0 -34
  2378. package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-arrow.py +0 -315
  2379. package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +0 -406
  2380. package/template/.pi/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +0 -183
  2381. package/template/.pi/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +0 -334
  2382. package/template/.pi/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +0 -558
  2383. package/template/.pi/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +0 -279
  2384. package/template/.pi/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +0 -662
  2385. package/template/.pi/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +0 -179
  2386. package/template/.pi/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +0 -244
  2387. package/template/.pi/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +0 -145
  2388. package/template/.pi/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +0 -509
  2389. package/template/.pi/skills/kb-retriever/README.md +0 -197
  2390. package/template/.pi/skills/kb-retriever/README.zh-CN.md +0 -197
  2391. package/template/.pi/skills/kb-retriever/SKILL.md +0 -250
  2392. package/template/.pi/skills/kb-retriever/manifest.json +0 -15
  2393. package/template/.pi/skills/kb-retriever/references/excel_analysis.md +0 -129
  2394. package/template/.pi/skills/kb-retriever/references/excel_reading.md +0 -72
  2395. package/template/.pi/skills/kb-retriever/references/pdf_reading.md +0 -362
  2396. package/template/.pi/skills/kb-retriever/scripts/convert_pdf_to_images.py +0 -35
  2397. package/template/.pi/skills/yss-db2mybatis/requirements.txt +0 -4
  2398. package/template/.pi/skills/yss-db2mybatis/scripts/db2mybatis.py +0 -1494
  2399. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +0 -728
  2400. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.py +0 -155
  2401. package/template/.pi/skills/yss-design-system/scripts/validate-frontmatter.py +0 -50
  2402. package/template/.pi/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -371
  2403. package/template/.pi/skills/yss-web-controller/scripts/generate_controller.py +0 -293
  2404. package/template/.pi/skills/yss-web-controller/scripts/test_generate_controller.py +0 -68
  2405. package/template/.qoder/skills/beautiful-article/README.md +0 -450
  2406. package/template/.qoder/skills/beautiful-article/README.zh-CN.md +0 -450
  2407. package/template/.qoder/skills/beautiful-article/SKILL.md +0 -466
  2408. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/__yss_dotfile__.npmrc +0 -1
  2409. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +0 -69
  2410. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +0 -172
  2411. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/article/main.tsx +0 -26
  2412. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +0 -30
  2413. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/index.html +0 -19
  2414. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/package.json +0 -26
  2415. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/tsconfig.json +0 -20
  2416. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +0 -11
  2417. package/template/.qoder/skills/beautiful-article/assets/scaffold-template/vite.config.ts +0 -18
  2418. package/template/.qoder/skills/beautiful-article/manifest.json +0 -15
  2419. package/template/.qoder/skills/beautiful-article/references/article-types/briefing.md +0 -32
  2420. package/template/.qoder/skills/beautiful-article/references/article-types/dialogue.md +0 -30
  2421. package/template/.qoder/skills/beautiful-article/references/article-types/essay.md +0 -31
  2422. package/template/.qoder/skills/beautiful-article/references/article-types/explainer.md +0 -32
  2423. package/template/.qoder/skills/beautiful-article/references/article-types/full-report.md +0 -32
  2424. package/template/.qoder/skills/beautiful-article/references/article-types/interactive-explainer.md +0 -66
  2425. package/template/.qoder/skills/beautiful-article/references/article-types/longform.md +0 -32
  2426. package/template/.qoder/skills/beautiful-article/references/article-types/review.md +0 -32
  2427. package/template/.qoder/skills/beautiful-article/references/article-types/tutorial.md +0 -30
  2428. package/template/.qoder/skills/beautiful-article/references/article-types/visual-essay.md +0 -33
  2429. package/template/.qoder/skills/beautiful-article/references/article-types.md +0 -42
  2430. package/template/.qoder/skills/beautiful-article/references/asset-policy.md +0 -71
  2431. package/template/.qoder/skills/beautiful-article/references/component-policy.md +0 -103
  2432. package/template/.qoder/skills/beautiful-article/references/cover.md +0 -208
  2433. package/template/.qoder/skills/beautiful-article/references/harness.md +0 -35
  2434. package/template/.qoder/skills/beautiful-article/references/html-output.md +0 -42
  2435. package/template/.qoder/skills/beautiful-article/references/information-density.md +0 -50
  2436. package/template/.qoder/skills/beautiful-article/references/layout.md +0 -46
  2437. package/template/.qoder/skills/beautiful-article/references/pdf-output.md +0 -208
  2438. package/template/.qoder/skills/beautiful-article/references/plan-template.md +0 -109
  2439. package/template/.qoder/skills/beautiful-article/references/raw-policy.md +0 -86
  2440. package/template/.qoder/skills/beautiful-article/references/repair-policy.md +0 -35
  2441. package/template/.qoder/skills/beautiful-article/references/review-checklist.md +0 -133
  2442. package/template/.qoder/skills/beautiful-article/references/scaffold.md +0 -77
  2443. package/template/.qoder/skills/beautiful-article/references/section-build.md +0 -100
  2444. package/template/.qoder/skills/beautiful-article/references/source-to-markdown.md +0 -118
  2445. package/template/.qoder/skills/beautiful-article/references/theme-selection.md +0 -48
  2446. package/template/.qoder/skills/beautiful-article/scripts/html-to-pdf.sh +0 -160
  2447. package/template/.qoder/skills/beautiful-article/scripts/pdf-print-overrides.css +0 -192
  2448. package/template/.qoder/skills/beautiful-article/scripts/scaffold.sh +0 -172
  2449. package/template/.qoder/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +0 -100
  2450. package/template/.qoder/skills/beautiful-article/scripts/source-to-markdown.py +0 -174
  2451. package/template/.qoder/skills/beautiful-article/theme-profiles/andy.md +0 -57
  2452. package/template/.qoder/skills/beautiful-article/theme-profiles/bayer.md +0 -57
  2453. package/template/.qoder/skills/beautiful-article/theme-profiles/bodoni.md +0 -57
  2454. package/template/.qoder/skills/beautiful-article/theme-profiles/freddie.md +0 -57
  2455. package/template/.qoder/skills/beautiful-article/theme-profiles/fuller.md +0 -56
  2456. package/template/.qoder/skills/beautiful-article/theme-profiles/index.json +0 -112
  2457. package/template/.qoder/skills/beautiful-article/theme-profiles/knuth.md +0 -60
  2458. package/template/.qoder/skills/beautiful-article/theme-profiles/press.md +0 -61
  2459. package/template/.qoder/skills/beautiful-article/theme-profiles/shannon.md +0 -64
  2460. package/template/.qoder/skills/beautiful-article/theme-profiles/sottsass.md +0 -57
  2461. package/template/.qoder/skills/beautiful-article/theme-profiles/tufte.md +0 -64
  2462. package/template/.qoder/skills/beautiful-article/theme-profiles/vignelli.md +0 -63
  2463. package/template/.qoder/skills/drawio/.mcp.json +0 -8
  2464. package/template/.qoder/skills/drawio/CHANGELOG.md +0 -216
  2465. package/template/.qoder/skills/drawio/SKILL.md +0 -157
  2466. package/template/.qoder/skills/drawio/agents/interface.yaml +0 -26
  2467. package/template/.qoder/skills/drawio/agents/openai.yaml +0 -26
  2468. package/template/.qoder/skills/drawio/assets/catalog/ai-icons.json.gz +0 -0
  2469. package/template/.qoder/skills/drawio/assets/catalog/shape-catalog.json.gz +0 -0
  2470. package/template/.qoder/skills/drawio/assets/catalog/shape-index.json.gz +0 -0
  2471. package/template/.qoder/skills/drawio/assets/examples/login-flow-test.drawio +0 -6
  2472. package/template/.qoder/skills/drawio/assets/examples/login-flow.drawio +0 -6
  2473. package/template/.qoder/skills/drawio/assets/examples/microservices.drawio +0 -6
  2474. package/template/.qoder/skills/drawio/assets/examples/neural-network.drawio +0 -6
  2475. package/template/.qoder/skills/drawio/assets/licenses/architecture-diagram-generator-MIT.txt +0 -26
  2476. package/template/.qoder/skills/drawio/assets/licenses/drawio-mcp-shape-index-Apache-2.0.txt +0 -8
  2477. package/template/.qoder/skills/drawio/assets/licenses/lobe-icons-MIT.txt +0 -26
  2478. package/template/.qoder/skills/drawio/assets/licenses/lucide-ISC.txt +0 -41
  2479. package/template/.qoder/skills/drawio/assets/palettes/c4-blue.json +0 -29
  2480. package/template/.qoder/skills/drawio/assets/palettes/cloud-aws.json +0 -30
  2481. package/template/.qoder/skills/drawio/assets/palettes/drawio-classic.json +0 -21
  2482. package/template/.qoder/skills/drawio/assets/palettes/ieee-bw.json +0 -26
  2483. package/template/.qoder/skills/drawio/assets/palettes/ieee-color.json +0 -17
  2484. package/template/.qoder/skills/drawio/assets/palettes/journal-jama.json +0 -20
  2485. package/template/.qoder/skills/drawio/assets/palettes/journal-npg.json +0 -23
  2486. package/template/.qoder/skills/drawio/assets/palettes/matlab-lines.json +0 -20
  2487. package/template/.qoder/skills/drawio/assets/palettes/morandi.json +0 -21
  2488. package/template/.qoder/skills/drawio/assets/palettes/okabe-ito.json +0 -21
  2489. package/template/.qoder/skills/drawio/assets/palettes/seaborn-colorblind.json +0 -23
  2490. package/template/.qoder/skills/drawio/assets/palettes/tol-bright.json +0 -20
  2491. package/template/.qoder/skills/drawio/assets/palettes/tol-high-contrast.json +0 -18
  2492. package/template/.qoder/skills/drawio/assets/palettes/tol-light-fill.json +0 -22
  2493. package/template/.qoder/skills/drawio/assets/palettes/tol-muted.json +0 -22
  2494. package/template/.qoder/skills/drawio/assets/schemas/graph-projection.schema.json +0 -135
  2495. package/template/.qoder/skills/drawio/assets/schemas/spec.schema.json +0 -620
  2496. package/template/.qoder/skills/drawio/assets/themes/academic-color.json +0 -299
  2497. package/template/.qoder/skills/drawio/assets/themes/academic.json +0 -245
  2498. package/template/.qoder/skills/drawio/assets/themes/arch-dark.json +0 -253
  2499. package/template/.qoder/skills/drawio/assets/themes/blueprint.json +0 -246
  2500. package/template/.qoder/skills/drawio/assets/themes/dark-luxury.json +0 -246
  2501. package/template/.qoder/skills/drawio/assets/themes/dark-terminal.json +0 -244
  2502. package/template/.qoder/skills/drawio/assets/themes/dark.json +0 -220
  2503. package/template/.qoder/skills/drawio/assets/themes/high-contrast.json +0 -220
  2504. package/template/.qoder/skills/drawio/assets/themes/nature.json +0 -220
  2505. package/template/.qoder/skills/drawio/assets/themes/notion-clean.json +0 -246
  2506. package/template/.qoder/skills/drawio/assets/themes/tech-blue.json +0 -220
  2507. package/template/.qoder/skills/drawio/evals/README.md +0 -17
  2508. package/template/.qoder/skills/drawio/evals/ai-icon-catalog-cases.json +0 -89
  2509. package/template/.qoder/skills/drawio/evals/baseline-prompts.json +0 -122
  2510. package/template/.qoder/skills/drawio/evals/darwin-results.tsv +0 -4
  2511. package/template/.qoder/skills/drawio/evals/evals.json +0 -223
  2512. package/template/.qoder/skills/drawio/evals/evidence/ai-icon-catalog-desktop.json +0 -134
  2513. package/template/.qoder/skills/drawio/evals/fixtures/ai-icons-advanced-svg.yaml +0 -25
  2514. package/template/.qoder/skills/drawio/evals/fixtures/ai-icons-cjk-agent-rag.yaml +0 -55
  2515. package/template/.qoder/skills/drawio/evals/fixtures/ai-icons-core-aliases.yaml +0 -50
  2516. package/template/.qoder/skills/drawio/evals/fixtures/ai-icons-current-color.yaml +0 -25
  2517. package/template/.qoder/skills/drawio/evals/fixtures/ai-icons-gradients.yaml +0 -25
  2518. package/template/.qoder/skills/drawio/evals/fixtures/import-simple-compressed.drawio +0 -5
  2519. package/template/.qoder/skills/drawio/evals/fixtures/import-simple.drawio +0 -28
  2520. package/template/.qoder/skills/drawio/evals/fixtures/industrial-architecture.yaml +0 -239
  2521. package/template/.qoder/skills/drawio/evals/fixtures/replicate-academic-highlight.svg +0 -13
  2522. package/template/.qoder/skills/drawio/evals/fixtures/replicate-brand-architecture.svg +0 -14
  2523. package/template/.qoder/skills/drawio/evals/fixtures/replicate-warm-approval.svg +0 -13
  2524. package/template/.qoder/skills/drawio/evals/fixtures/vision-tall-workflow.yaml +0 -47
  2525. package/template/.qoder/skills/drawio/evals/upstream-integration-cases.json +0 -78
  2526. package/template/.qoder/skills/drawio/evals/vision-preview-cases.json +0 -147
  2527. package/template/.qoder/skills/drawio/references/docs/agent-diagrams.md +0 -164
  2528. package/template/.qoder/skills/drawio/references/docs/ah-format.md +0 -322
  2529. package/template/.qoder/skills/drawio/references/docs/architecture-diagrams.md +0 -159
  2530. package/template/.qoder/skills/drawio/references/docs/canonical-graph-projection.md +0 -54
  2531. package/template/.qoder/skills/drawio/references/docs/code-importers.md +0 -53
  2532. package/template/.qoder/skills/drawio/references/docs/config-importers.md +0 -68
  2533. package/template/.qoder/skills/drawio/references/docs/design-system/README.md +0 -204
  2534. package/template/.qoder/skills/drawio/references/docs/design-system/color-guide.md +0 -255
  2535. package/template/.qoder/skills/drawio/references/docs/design-system/connectors.md +0 -388
  2536. package/template/.qoder/skills/drawio/references/docs/design-system/formulas.md +0 -196
  2537. package/template/.qoder/skills/drawio/references/docs/design-system/icons.md +0 -332
  2538. package/template/.qoder/skills/drawio/references/docs/design-system/shapes.md +0 -269
  2539. package/template/.qoder/skills/drawio/references/docs/design-system/specification.md +0 -754
  2540. package/template/.qoder/skills/drawio/references/docs/design-system/themes.md +0 -441
  2541. package/template/.qoder/skills/drawio/references/docs/design-system/tokens.md +0 -232
  2542. package/template/.qoder/skills/drawio/references/docs/edge-quality-rules.md +0 -65
  2543. package/template/.qoder/skills/drawio/references/docs/ieee-network-diagrams.md +0 -145
  2544. package/template/.qoder/skills/drawio/references/docs/live-snapshots-drift.md +0 -72
  2545. package/template/.qoder/skills/drawio/references/docs/math-typesetting.md +0 -258
  2546. package/template/.qoder/skills/drawio/references/docs/mcp-tools.md +0 -85
  2547. package/template/.qoder/skills/drawio/references/docs/migration-readiness.md +0 -73
  2548. package/template/.qoder/skills/drawio/references/docs/stencil-library-guide.md +0 -97
  2549. package/template/.qoder/skills/drawio/references/docs/style-extraction.md +0 -261
  2550. package/template/.qoder/skills/drawio/references/docs/style-presets.md +0 -126
  2551. package/template/.qoder/skills/drawio/references/docs/upstream-capability-compatibility.md +0 -61
  2552. package/template/.qoder/skills/drawio/references/docs/xml-format.md +0 -53
  2553. package/template/.qoder/skills/drawio/references/examples/README.md +0 -33
  2554. package/template/.qoder/skills/drawio/references/examples/agentic-rag.yaml +0 -71
  2555. package/template/.qoder/skills/drawio/references/examples/arch-dark-aws-serverless.yaml +0 -103
  2556. package/template/.qoder/skills/drawio/references/examples/arch-dark-microservices.yaml +0 -146
  2557. package/template/.qoder/skills/drawio/references/examples/arch-dark-web-app.yaml +0 -62
  2558. package/template/.qoder/skills/drawio/references/examples/auto-layout-workflow.yaml +0 -81
  2559. package/template/.qoder/skills/drawio/references/examples/aws-vpc-topology.yaml +0 -66
  2560. package/template/.qoder/skills/drawio/references/examples/campus-lan-topology.yaml +0 -89
  2561. package/template/.qoder/skills/drawio/references/examples/cloud-reference-architecture.yaml +0 -34
  2562. package/template/.qoder/skills/drawio/references/examples/e-commerce.yaml +0 -141
  2563. package/template/.qoder/skills/drawio/references/examples/importers/README.md +0 -10
  2564. package/template/.qoder/skills/drawio/references/examples/importers/live/compose-drift-evidence.json +0 -49
  2565. package/template/.qoder/skills/drawio/references/examples/importers/live/compose-drift-report.json +0 -300
  2566. package/template/.qoder/skills/drawio/references/examples/importers/live/compose-drift.spec.yaml +0 -75
  2567. package/template/.qoder/skills/drawio/references/examples/importers/live/docker-inspect.json +0 -55
  2568. package/template/.qoder/skills/drawio/references/examples/importers/live/drift-declared-compose.yaml +0 -13
  2569. package/template/.qoder/skills/drawio/references/examples/importers/live/kubernetes-live.json +0 -71
  2570. package/template/.qoder/skills/drawio/references/examples/importers/live/terraform-state.json +0 -70
  2571. package/template/.qoder/skills/drawio/references/examples/importers/schema.sql +0 -10
  2572. package/template/.qoder/skills/drawio/references/examples/importers/terraform.tf +0 -9
  2573. package/template/.qoder/skills/drawio/references/examples/login-flow.yaml +0 -65
  2574. package/template/.qoder/skills/drawio/references/examples/mem0-memory-layer.yaml +0 -63
  2575. package/template/.qoder/skills/drawio/references/examples/microservices.yaml +0 -58
  2576. package/template/.qoder/skills/drawio/references/examples/multi-agent-orchestration.yaml +0 -67
  2577. package/template/.qoder/skills/drawio/references/examples/neural-network.yaml +0 -66
  2578. package/template/.qoder/skills/drawio/references/examples/onprem-dmz-topology.yaml +0 -62
  2579. package/template/.qoder/skills/drawio/references/examples/palettes/README.md +0 -29
  2580. package/template/.qoder/skills/drawio/references/examples/palettes/c4-blue.drawio +0 -6
  2581. package/template/.qoder/skills/drawio/references/examples/palettes/c4-blue.svg +0 -36
  2582. package/template/.qoder/skills/drawio/references/examples/palettes/cloud-aws.drawio +0 -6
  2583. package/template/.qoder/skills/drawio/references/examples/palettes/cloud-aws.svg +0 -36
  2584. package/template/.qoder/skills/drawio/references/examples/palettes/drawio-classic.drawio +0 -6
  2585. package/template/.qoder/skills/drawio/references/examples/palettes/drawio-classic.svg +0 -36
  2586. package/template/.qoder/skills/drawio/references/examples/palettes/ieee-bw.drawio +0 -6
  2587. package/template/.qoder/skills/drawio/references/examples/palettes/ieee-bw.svg +0 -36
  2588. package/template/.qoder/skills/drawio/references/examples/palettes/ieee-color.drawio +0 -6
  2589. package/template/.qoder/skills/drawio/references/examples/palettes/ieee-color.svg +0 -36
  2590. package/template/.qoder/skills/drawio/references/examples/palettes/journal-jama.drawio +0 -6
  2591. package/template/.qoder/skills/drawio/references/examples/palettes/journal-jama.svg +0 -36
  2592. package/template/.qoder/skills/drawio/references/examples/palettes/journal-npg.drawio +0 -6
  2593. package/template/.qoder/skills/drawio/references/examples/palettes/journal-npg.svg +0 -36
  2594. package/template/.qoder/skills/drawio/references/examples/palettes/matlab-lines.drawio +0 -6
  2595. package/template/.qoder/skills/drawio/references/examples/palettes/matlab-lines.svg +0 -36
  2596. package/template/.qoder/skills/drawio/references/examples/palettes/morandi.drawio +0 -6
  2597. package/template/.qoder/skills/drawio/references/examples/palettes/morandi.svg +0 -36
  2598. package/template/.qoder/skills/drawio/references/examples/palettes/okabe-ito.drawio +0 -6
  2599. package/template/.qoder/skills/drawio/references/examples/palettes/okabe-ito.svg +0 -36
  2600. package/template/.qoder/skills/drawio/references/examples/palettes/palette-swatch.template.yaml +0 -56
  2601. package/template/.qoder/skills/drawio/references/examples/palettes/seaborn-colorblind.drawio +0 -6
  2602. package/template/.qoder/skills/drawio/references/examples/palettes/seaborn-colorblind.svg +0 -36
  2603. package/template/.qoder/skills/drawio/references/examples/palettes/tol-bright.drawio +0 -6
  2604. package/template/.qoder/skills/drawio/references/examples/palettes/tol-bright.svg +0 -36
  2605. package/template/.qoder/skills/drawio/references/examples/palettes/tol-high-contrast.drawio +0 -6
  2606. package/template/.qoder/skills/drawio/references/examples/palettes/tol-high-contrast.svg +0 -36
  2607. package/template/.qoder/skills/drawio/references/examples/palettes/tol-light-fill.drawio +0 -6
  2608. package/template/.qoder/skills/drawio/references/examples/palettes/tol-light-fill.svg +0 -36
  2609. package/template/.qoder/skills/drawio/references/examples/palettes/tol-muted.drawio +0 -6
  2610. package/template/.qoder/skills/drawio/references/examples/palettes/tol-muted.svg +0 -36
  2611. package/template/.qoder/skills/drawio/references/examples/rag-pipeline.yaml +0 -67
  2612. package/template/.qoder/skills/drawio/references/examples/replicated-brand-flow.yaml +0 -89
  2613. package/template/.qoder/skills/drawio/references/examples/swimlane-engineering-review.yaml +0 -44
  2614. package/template/.qoder/skills/drawio/references/examples/tiered-network-topology.yaml +0 -59
  2615. package/template/.qoder/skills/drawio/references/examples/tool-call-loop.yaml +0 -63
  2616. package/template/.qoder/skills/drawio/references/examples/vendor-device-mapping.yaml +0 -46
  2617. package/template/.qoder/skills/drawio/references/official/style-reference.md +0 -936
  2618. package/template/.qoder/skills/drawio/references/official/xml-reference.md +0 -262
  2619. package/template/.qoder/skills/drawio/references/palette.schema.json +0 -59
  2620. package/template/.qoder/skills/drawio/references/theme.schema.json +0 -249
  2621. package/template/.qoder/skills/drawio/references/upstream/pure-drawio-skill.md +0 -615
  2622. package/template/.qoder/skills/drawio/references/workflows/create.md +0 -195
  2623. package/template/.qoder/skills/drawio/references/workflows/edit.md +0 -174
  2624. package/template/.qoder/skills/drawio/references/workflows/replicate.md +0 -239
  2625. package/template/.qoder/skills/drawio/references/workflows/visual-review.md +0 -108
  2626. package/template/.qoder/skills/drawio/reports/output_quality_scorecard.md +0 -106
  2627. package/template/.qoder/skills/drawio/reports/upstream-port-release-evidence.md +0 -43
  2628. package/template/.qoder/skills/drawio/scripts/adapters/ci.js +0 -139
  2629. package/template/.qoder/skills/drawio/scripts/adapters/ci.test.js +0 -41
  2630. package/template/.qoder/skills/drawio/scripts/adapters/code-common.js +0 -171
  2631. package/template/.qoder/skills/drawio/scripts/adapters/code-imports.test.js +0 -80
  2632. package/template/.qoder/skills/drawio/scripts/adapters/code-parsers.integration.test.js +0 -71
  2633. package/template/.qoder/skills/drawio/scripts/adapters/compose.js +0 -134
  2634. package/template/.qoder/skills/drawio/scripts/adapters/compose.test.js +0 -54
  2635. package/template/.qoder/skills/drawio/scripts/adapters/config-adapters.integration.test.js +0 -58
  2636. package/template/.qoder/skills/drawio/scripts/adapters/config-common.js +0 -131
  2637. package/template/.qoder/skills/drawio/scripts/adapters/config-common.test.js +0 -32
  2638. package/template/.qoder/skills/drawio/scripts/adapters/docker-inspect.js +0 -127
  2639. package/template/.qoder/skills/drawio/scripts/adapters/docker-inspect.test.js +0 -62
  2640. package/template/.qoder/skills/drawio/scripts/adapters/fixtures/raster-extraction.json +0 -31
  2641. package/template/.qoder/skills/drawio/scripts/adapters/go-code-adapter.test.js +0 -59
  2642. package/template/.qoder/skills/drawio/scripts/adapters/go-code.js +0 -168
  2643. package/template/.qoder/skills/drawio/scripts/adapters/graph-drift.file.test.js +0 -67
  2644. package/template/.qoder/skills/drawio/scripts/adapters/graph-drift.js +0 -358
  2645. package/template/.qoder/skills/drawio/scripts/adapters/graph-drift.test.js +0 -272
  2646. package/template/.qoder/skills/drawio/scripts/adapters/graph-projection.js +0 -335
  2647. package/template/.qoder/skills/drawio/scripts/adapters/graph-projection.test.js +0 -141
  2648. package/template/.qoder/skills/drawio/scripts/adapters/identity.js +0 -244
  2649. package/template/.qoder/skills/drawio/scripts/adapters/identity.test.js +0 -123
  2650. package/template/.qoder/skills/drawio/scripts/adapters/index.js +0 -489
  2651. package/template/.qoder/skills/drawio/scripts/adapters/index.test.js +0 -152
  2652. package/template/.qoder/skills/drawio/scripts/adapters/js-code-adapter.test.js +0 -42
  2653. package/template/.qoder/skills/drawio/scripts/adapters/js-code.js +0 -141
  2654. package/template/.qoder/skills/drawio/scripts/adapters/kubernetes-live.test.js +0 -46
  2655. package/template/.qoder/skills/drawio/scripts/adapters/kubernetes.js +0 -258
  2656. package/template/.qoder/skills/drawio/scripts/adapters/kubernetes.test.js +0 -81
  2657. package/template/.qoder/skills/drawio/scripts/adapters/openapi.js +0 -98
  2658. package/template/.qoder/skills/drawio/scripts/adapters/openapi.test.js +0 -46
  2659. package/template/.qoder/skills/drawio/scripts/adapters/optional-python-code.js +0 -16
  2660. package/template/.qoder/skills/drawio/scripts/adapters/optional-python.integration.test.js +0 -32
  2661. package/template/.qoder/skills/drawio/scripts/adapters/optional-python.js +0 -127
  2662. package/template/.qoder/skills/drawio/scripts/adapters/optional-python.test.js +0 -55
  2663. package/template/.qoder/skills/drawio/scripts/adapters/projection-to-spec.js +0 -116
  2664. package/template/.qoder/skills/drawio/scripts/adapters/projection-to-spec.test.js +0 -139
  2665. package/template/.qoder/skills/drawio/scripts/adapters/python/code-parser-worker.py +0 -93
  2666. package/template/.qoder/skills/drawio/scripts/adapters/python/config-parser-worker.py +0 -237
  2667. package/template/.qoder/skills/drawio/scripts/adapters/python/requirements.txt +0 -2
  2668. package/template/.qoder/skills/drawio/scripts/adapters/python-code-adapter.test.js +0 -127
  2669. package/template/.qoder/skills/drawio/scripts/adapters/python-code.js +0 -246
  2670. package/template/.qoder/skills/drawio/scripts/adapters/raster-extraction.js +0 -258
  2671. package/template/.qoder/skills/drawio/scripts/adapters/raster-extraction.test.js +0 -308
  2672. package/template/.qoder/skills/drawio/scripts/adapters/rust-code-adapter.test.js +0 -64
  2673. package/template/.qoder/skills/drawio/scripts/adapters/rust-code.js +0 -207
  2674. package/template/.qoder/skills/drawio/scripts/adapters/sql-ddl.js +0 -118
  2675. package/template/.qoder/skills/drawio/scripts/adapters/sql-ddl.test.js +0 -56
  2676. package/template/.qoder/skills/drawio/scripts/adapters/terraform-config.js +0 -141
  2677. package/template/.qoder/skills/drawio/scripts/adapters/terraform-config.test.js +0 -67
  2678. package/template/.qoder/skills/drawio/scripts/adapters/terraform-state.js +0 -157
  2679. package/template/.qoder/skills/drawio/scripts/adapters/terraform-state.test.js +0 -69
  2680. package/template/.qoder/skills/drawio/scripts/cli.js +0 -700
  2681. package/template/.qoder/skills/drawio/scripts/dsl/ah-to-drawio.js +0 -276
  2682. package/template/.qoder/skills/drawio/scripts/dsl/ah-to-drawio.test.js +0 -77
  2683. package/template/.qoder/skills/drawio/scripts/dsl/ai-icon-catalog.js +0 -126
  2684. package/template/.qoder/skills/drawio/scripts/dsl/ai-icon-catalog.test.js +0 -86
  2685. package/template/.qoder/skills/drawio/scripts/dsl/auto-layout.js +0 -206
  2686. package/template/.qoder/skills/drawio/scripts/dsl/auto-layout.test.js +0 -249
  2687. package/template/.qoder/skills/drawio/scripts/dsl/catalog-ranking.js +0 -54
  2688. package/template/.qoder/skills/drawio/scripts/dsl/catalog-search.js +0 -58
  2689. package/template/.qoder/skills/drawio/scripts/dsl/catalog-search.test.js +0 -44
  2690. package/template/.qoder/skills/drawio/scripts/dsl/document-spec.js +0 -256
  2691. package/template/.qoder/skills/drawio/scripts/dsl/document-spec.test.js +0 -147
  2692. package/template/.qoder/skills/drawio/scripts/dsl/drawio-to-spec.js +0 -497
  2693. package/template/.qoder/skills/drawio/scripts/dsl/examples-baseline.test.js +0 -30
  2694. package/template/.qoder/skills/drawio/scripts/dsl/icon-mappings.js +0 -65
  2695. package/template/.qoder/skills/drawio/scripts/dsl/icon-mappings.test.js +0 -19
  2696. package/template/.qoder/skills/drawio/scripts/dsl/icon-resolver.js +0 -153
  2697. package/template/.qoder/skills/drawio/scripts/dsl/icon-resolver.test.js +0 -62
  2698. package/template/.qoder/skills/drawio/scripts/dsl/multi-page.js +0 -224
  2699. package/template/.qoder/skills/drawio/scripts/dsl/multi-page.test.js +0 -107
  2700. package/template/.qoder/skills/drawio/scripts/dsl/palette-catalog.test.js +0 -138
  2701. package/template/.qoder/skills/drawio/scripts/dsl/palette-integration.test.js +0 -182
  2702. package/template/.qoder/skills/drawio/scripts/dsl/palette-validate.js +0 -91
  2703. package/template/.qoder/skills/drawio/scripts/dsl/palette.js +0 -302
  2704. package/template/.qoder/skills/drawio/scripts/dsl/palette.test.js +0 -197
  2705. package/template/.qoder/skills/drawio/scripts/dsl/shape-catalog.js +0 -89
  2706. package/template/.qoder/skills/drawio/scripts/dsl/shape-catalog.test.js +0 -21
  2707. package/template/.qoder/skills/drawio/scripts/dsl/spec-to-drawio.js +0 -3739
  2708. package/template/.qoder/skills/drawio/scripts/dsl/spec-to-drawio.test.js +0 -3022
  2709. package/template/.qoder/skills/drawio/scripts/generate-palette-swatches.js +0 -87
  2710. package/template/.qoder/skills/drawio/scripts/install.bat +0 -64
  2711. package/template/.qoder/skills/drawio/scripts/install.sh +0 -44
  2712. package/template/.qoder/skills/drawio/scripts/math/index.js +0 -317
  2713. package/template/.qoder/skills/drawio/scripts/math/index.test.js +0 -62
  2714. package/template/.qoder/skills/drawio/scripts/package.json +0 -1
  2715. package/template/.qoder/skills/drawio/scripts/postprocess/artifacts.js +0 -142
  2716. package/template/.qoder/skills/drawio/scripts/postprocess/artifacts.test.js +0 -86
  2717. package/template/.qoder/skills/drawio/scripts/postprocess/cli.js +0 -228
  2718. package/template/.qoder/skills/drawio/scripts/postprocess/cli.test.js +0 -129
  2719. package/template/.qoder/skills/drawio/scripts/postprocess/fixtures/bundle.yaml +0 -75
  2720. package/template/.qoder/skills/drawio/scripts/postprocess/fixtures/legacy.yaml +0 -21
  2721. package/template/.qoder/skills/drawio/scripts/postprocess/html.js +0 -197
  2722. package/template/.qoder/skills/drawio/scripts/postprocess/html.test.js +0 -50
  2723. package/template/.qoder/skills/drawio/scripts/postprocess/index.js +0 -5
  2724. package/template/.qoder/skills/drawio/scripts/postprocess/input.js +0 -112
  2725. package/template/.qoder/skills/drawio/scripts/postprocess/input.test.js +0 -73
  2726. package/template/.qoder/skills/drawio/scripts/postprocess/mutate.js +0 -584
  2727. package/template/.qoder/skills/drawio/scripts/postprocess/mutate.test.js +0 -193
  2728. package/template/.qoder/skills/drawio/scripts/postprocess/projection.js +0 -178
  2729. package/template/.qoder/skills/drawio/scripts/postprocess/projection.test.js +0 -67
  2730. package/template/.qoder/skills/drawio/scripts/runtime/artifacts.js +0 -283
  2731. package/template/.qoder/skills/drawio/scripts/runtime/desktop.js +0 -204
  2732. package/template/.qoder/skills/drawio/scripts/runtime/desktop.test.js +0 -121
  2733. package/template/.qoder/skills/drawio/scripts/runtime/diagrams-net-url.js +0 -122
  2734. package/template/.qoder/skills/drawio/scripts/runtime/export-stability.js +0 -75
  2735. package/template/.qoder/skills/drawio/scripts/runtime/export-stability.test.js +0 -81
  2736. package/template/.qoder/skills/drawio/scripts/runtime/png-inspection.js +0 -157
  2737. package/template/.qoder/skills/drawio/scripts/runtime/png-inspection.test.js +0 -120
  2738. package/template/.qoder/skills/drawio/scripts/runtime/vision-preview.js +0 -77
  2739. package/template/.qoder/skills/drawio/scripts/runtime/vision-preview.test.js +0 -103
  2740. package/template/.qoder/skills/drawio/scripts/shared/ai-icon-contract.js +0 -13
  2741. package/template/.qoder/skills/drawio/scripts/shared/xml-utils.js +0 -241
  2742. package/template/.qoder/skills/drawio/scripts/svg/drawio-to-svg.js +0 -918
  2743. package/template/.qoder/skills/drawio/scripts/svg/drawio-to-svg.test.js +0 -763
  2744. package/template/.qoder/skills/drawio/scripts/tools/build-ai-icon-catalog.js +0 -208
  2745. package/template/.qoder/skills/drawio/scripts/tools/build-ai-icon-catalog.test.js +0 -107
  2746. package/template/.qoder/skills/drawio/scripts/tools/build-shape-catalog.js +0 -84
  2747. package/template/.qoder/skills/drawio/scripts/tools/build-shape-catalog.test.js +0 -43
  2748. package/template/.qoder/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha-color.svg +0 -1
  2749. package/template/.qoder/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha.svg +0 -1
  2750. package/template/.qoder/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta-brand-color.svg +0 -1
  2751. package/template/.qoder/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta.svg +0 -1
  2752. package/template/.qoder/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai-text-color.svg +0 -1
  2753. package/template/.qoder/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai.svg +0 -1
  2754. package/template/.qoder/skills/drawio/scripts/tools/fixtures/ai-icons-package/package.json +0 -5
  2755. package/template/.qoder/skills/drawio/scripts/vendor/elkjs/LICENSE.md +0 -264
  2756. package/template/.qoder/skills/drawio/scripts/vendor/elkjs/README.md +0 -18
  2757. package/template/.qoder/skills/drawio/scripts/vendor/elkjs/elk.bundled.cjs +0 -6589
  2758. package/template/.qoder/skills/drawio/styles/built-in/corporate.json +0 -49
  2759. package/template/.qoder/skills/drawio/styles/built-in/default.json +0 -49
  2760. package/template/.qoder/skills/drawio/styles/built-in/handdrawn.json +0 -49
  2761. package/template/.qoder/skills/drawio/styles/schema.json +0 -112
  2762. package/template/.qoder/skills/drawio-academic-skills/CHANGELOG.md +0 -67
  2763. package/template/.qoder/skills/drawio-academic-skills/README.md +0 -103
  2764. package/template/.qoder/skills/drawio-academic-skills/README_CN.md +0 -103
  2765. package/template/.qoder/skills/drawio-academic-skills/SKILL.md +0 -161
  2766. package/template/.qoder/skills/drawio-academic-skills/__yss_dotfile__.gitignore +0 -12
  2767. package/template/.qoder/skills/drawio-academic-skills/agents/interface.yaml +0 -25
  2768. package/template/.qoder/skills/drawio-academic-skills/agents/openai.yaml +0 -24
  2769. package/template/.qoder/skills/drawio-academic-skills/evals/README.md +0 -13
  2770. package/template/.qoder/skills/drawio-academic-skills/evals/baseline-prompts.json +0 -52
  2771. package/template/.qoder/skills/drawio-academic-skills/evals/darwin-results.tsv +0 -3
  2772. package/template/.qoder/skills/drawio-academic-skills/evals/evals.json +0 -228
  2773. package/template/.qoder/skills/drawio-academic-skills/evals/test-prompts.json +0 -17
  2774. package/template/.qoder/skills/drawio-academic-skills/references/docs/academic-export-checklist.md +0 -45
  2775. package/template/.qoder/skills/drawio-academic-skills/references/docs/academic-figure-playbook.md +0 -349
  2776. package/template/.qoder/skills/drawio-academic-skills/references/docs/publication-overlay.md +0 -206
  2777. package/template/.qoder/skills/drawio-academic-skills/references/examples/ablation-study-pipeline.yaml +0 -39
  2778. package/template/.qoder/skills/drawio-academic-skills/references/examples/ieee-network-paper.yaml +0 -44
  2779. package/template/.qoder/skills/drawio-academic-skills/references/examples/industrial-architecture-cn-paper.yaml +0 -106
  2780. package/template/.qoder/skills/drawio-academic-skills/references/examples/max-pooling-operation-paper.yaml +0 -75
  2781. package/template/.qoder/skills/drawio-academic-skills/references/examples/research-pipeline.yaml +0 -54
  2782. package/template/.qoder/skills/drawio-academic-skills/references/examples/system-architecture-paper.yaml +0 -45
  2783. package/template/.qoder/skills/drawio-academic-skills/references/examples/technical-roadmap-paper.yaml +0 -54
  2784. package/template/.qoder/skills/drawio-academic-skills/references/examples/yolo-model-architecture-paper.yaml +0 -118
  2785. package/template/.qoder/skills/drawio-academic-skills/references/templates/multi-module-system-compact.yaml +0 -251
  2786. package/template/.qoder/skills/drawio-academic-skills/references/templates/neural-network-architecture-compact.yaml +0 -267
  2787. package/template/.qoder/skills/excalidraw-diagram-generator/SKILL.md +0 -634
  2788. package/template/.qoder/skills/excalidraw-diagram-generator/references/element-types.md +0 -497
  2789. package/template/.qoder/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +0 -350
  2790. package/template/.qoder/skills/excalidraw-diagram-generator/scripts/README.md +0 -193
  2791. package/template/.qoder/skills/excalidraw-diagram-generator/scripts/__yss_dotfile__.gitignore +0 -34
  2792. package/template/.qoder/skills/excalidraw-diagram-generator/scripts/add-arrow.py +0 -315
  2793. package/template/.qoder/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +0 -406
  2794. package/template/.qoder/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +0 -183
  2795. package/template/.qoder/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +0 -334
  2796. package/template/.qoder/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +0 -558
  2797. package/template/.qoder/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +0 -279
  2798. package/template/.qoder/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +0 -662
  2799. package/template/.qoder/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +0 -179
  2800. package/template/.qoder/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +0 -244
  2801. package/template/.qoder/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +0 -145
  2802. package/template/.qoder/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +0 -509
  2803. package/template/.qoder/skills/kb-retriever/README.md +0 -197
  2804. package/template/.qoder/skills/kb-retriever/README.zh-CN.md +0 -197
  2805. package/template/.qoder/skills/kb-retriever/SKILL.md +0 -250
  2806. package/template/.qoder/skills/kb-retriever/manifest.json +0 -15
  2807. package/template/.qoder/skills/kb-retriever/references/excel_analysis.md +0 -129
  2808. package/template/.qoder/skills/kb-retriever/references/excel_reading.md +0 -72
  2809. package/template/.qoder/skills/kb-retriever/references/pdf_reading.md +0 -362
  2810. package/template/.qoder/skills/kb-retriever/scripts/convert_pdf_to_images.py +0 -35
  2811. package/template/.qoder/skills/yss-db2mybatis/requirements.txt +0 -4
  2812. package/template/.qoder/skills/yss-db2mybatis/scripts/db2mybatis.py +0 -1494
  2813. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +0 -728
  2814. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.py +0 -155
  2815. package/template/.qoder/skills/yss-design-system/scripts/validate-frontmatter.py +0 -50
  2816. package/template/.qoder/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -371
  2817. package/template/.qoder/skills/yss-web-controller/scripts/generate_controller.py +0 -293
  2818. package/template/.qoder/skills/yss-web-controller/scripts/test_generate_controller.py +0 -68
  2819. package/template/.trae/skills/beautiful-article/README.md +0 -450
  2820. package/template/.trae/skills/beautiful-article/README.zh-CN.md +0 -450
  2821. package/template/.trae/skills/beautiful-article/SKILL.md +0 -466
  2822. package/template/.trae/skills/beautiful-article/assets/scaffold-template/__yss_dotfile__.npmrc +0 -1
  2823. package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/Article.tsx +0 -69
  2824. package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/Cover.tsx +0 -172
  2825. package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/main.tsx +0 -26
  2826. package/template/.trae/skills/beautiful-article/assets/scaffold-template/article/sections/01-opening.tsx +0 -30
  2827. package/template/.trae/skills/beautiful-article/assets/scaffold-template/index.html +0 -19
  2828. package/template/.trae/skills/beautiful-article/assets/scaffold-template/package.json +0 -26
  2829. package/template/.trae/skills/beautiful-article/assets/scaffold-template/tsconfig.json +0 -20
  2830. package/template/.trae/skills/beautiful-article/assets/scaffold-template/tsconfig.node.json +0 -11
  2831. package/template/.trae/skills/beautiful-article/assets/scaffold-template/vite.config.ts +0 -18
  2832. package/template/.trae/skills/beautiful-article/manifest.json +0 -15
  2833. package/template/.trae/skills/beautiful-article/references/article-types/briefing.md +0 -32
  2834. package/template/.trae/skills/beautiful-article/references/article-types/dialogue.md +0 -30
  2835. package/template/.trae/skills/beautiful-article/references/article-types/essay.md +0 -31
  2836. package/template/.trae/skills/beautiful-article/references/article-types/explainer.md +0 -32
  2837. package/template/.trae/skills/beautiful-article/references/article-types/full-report.md +0 -32
  2838. package/template/.trae/skills/beautiful-article/references/article-types/interactive-explainer.md +0 -66
  2839. package/template/.trae/skills/beautiful-article/references/article-types/longform.md +0 -32
  2840. package/template/.trae/skills/beautiful-article/references/article-types/review.md +0 -32
  2841. package/template/.trae/skills/beautiful-article/references/article-types/tutorial.md +0 -30
  2842. package/template/.trae/skills/beautiful-article/references/article-types/visual-essay.md +0 -33
  2843. package/template/.trae/skills/beautiful-article/references/article-types.md +0 -42
  2844. package/template/.trae/skills/beautiful-article/references/asset-policy.md +0 -71
  2845. package/template/.trae/skills/beautiful-article/references/component-policy.md +0 -103
  2846. package/template/.trae/skills/beautiful-article/references/cover.md +0 -208
  2847. package/template/.trae/skills/beautiful-article/references/harness.md +0 -35
  2848. package/template/.trae/skills/beautiful-article/references/html-output.md +0 -42
  2849. package/template/.trae/skills/beautiful-article/references/information-density.md +0 -50
  2850. package/template/.trae/skills/beautiful-article/references/layout.md +0 -46
  2851. package/template/.trae/skills/beautiful-article/references/pdf-output.md +0 -208
  2852. package/template/.trae/skills/beautiful-article/references/plan-template.md +0 -109
  2853. package/template/.trae/skills/beautiful-article/references/raw-policy.md +0 -86
  2854. package/template/.trae/skills/beautiful-article/references/repair-policy.md +0 -35
  2855. package/template/.trae/skills/beautiful-article/references/review-checklist.md +0 -133
  2856. package/template/.trae/skills/beautiful-article/references/scaffold.md +0 -77
  2857. package/template/.trae/skills/beautiful-article/references/section-build.md +0 -100
  2858. package/template/.trae/skills/beautiful-article/references/source-to-markdown.md +0 -118
  2859. package/template/.trae/skills/beautiful-article/references/theme-selection.md +0 -48
  2860. package/template/.trae/skills/beautiful-article/scripts/html-to-pdf.sh +0 -160
  2861. package/template/.trae/skills/beautiful-article/scripts/pdf-print-overrides.css +0 -192
  2862. package/template/.trae/skills/beautiful-article/scripts/scaffold.sh +0 -172
  2863. package/template/.trae/skills/beautiful-article/scripts/source-to-markdown-markitdown.py +0 -100
  2864. package/template/.trae/skills/beautiful-article/scripts/source-to-markdown.py +0 -174
  2865. package/template/.trae/skills/beautiful-article/theme-profiles/andy.md +0 -57
  2866. package/template/.trae/skills/beautiful-article/theme-profiles/bayer.md +0 -57
  2867. package/template/.trae/skills/beautiful-article/theme-profiles/bodoni.md +0 -57
  2868. package/template/.trae/skills/beautiful-article/theme-profiles/freddie.md +0 -57
  2869. package/template/.trae/skills/beautiful-article/theme-profiles/fuller.md +0 -56
  2870. package/template/.trae/skills/beautiful-article/theme-profiles/index.json +0 -112
  2871. package/template/.trae/skills/beautiful-article/theme-profiles/knuth.md +0 -60
  2872. package/template/.trae/skills/beautiful-article/theme-profiles/press.md +0 -61
  2873. package/template/.trae/skills/beautiful-article/theme-profiles/shannon.md +0 -64
  2874. package/template/.trae/skills/beautiful-article/theme-profiles/sottsass.md +0 -57
  2875. package/template/.trae/skills/beautiful-article/theme-profiles/tufte.md +0 -64
  2876. package/template/.trae/skills/beautiful-article/theme-profiles/vignelli.md +0 -63
  2877. package/template/.trae/skills/drawio/.mcp.json +0 -8
  2878. package/template/.trae/skills/drawio/CHANGELOG.md +0 -216
  2879. package/template/.trae/skills/drawio/SKILL.md +0 -157
  2880. package/template/.trae/skills/drawio/agents/interface.yaml +0 -26
  2881. package/template/.trae/skills/drawio/agents/openai.yaml +0 -26
  2882. package/template/.trae/skills/drawio/assets/catalog/ai-icons.json.gz +0 -0
  2883. package/template/.trae/skills/drawio/assets/catalog/shape-catalog.json.gz +0 -0
  2884. package/template/.trae/skills/drawio/assets/catalog/shape-index.json.gz +0 -0
  2885. package/template/.trae/skills/drawio/assets/examples/login-flow-test.drawio +0 -6
  2886. package/template/.trae/skills/drawio/assets/examples/login-flow.drawio +0 -6
  2887. package/template/.trae/skills/drawio/assets/examples/microservices.drawio +0 -6
  2888. package/template/.trae/skills/drawio/assets/examples/neural-network.drawio +0 -6
  2889. package/template/.trae/skills/drawio/assets/licenses/architecture-diagram-generator-MIT.txt +0 -26
  2890. package/template/.trae/skills/drawio/assets/licenses/drawio-mcp-shape-index-Apache-2.0.txt +0 -8
  2891. package/template/.trae/skills/drawio/assets/licenses/lobe-icons-MIT.txt +0 -26
  2892. package/template/.trae/skills/drawio/assets/licenses/lucide-ISC.txt +0 -41
  2893. package/template/.trae/skills/drawio/assets/palettes/c4-blue.json +0 -29
  2894. package/template/.trae/skills/drawio/assets/palettes/cloud-aws.json +0 -30
  2895. package/template/.trae/skills/drawio/assets/palettes/drawio-classic.json +0 -21
  2896. package/template/.trae/skills/drawio/assets/palettes/ieee-bw.json +0 -26
  2897. package/template/.trae/skills/drawio/assets/palettes/ieee-color.json +0 -17
  2898. package/template/.trae/skills/drawio/assets/palettes/journal-jama.json +0 -20
  2899. package/template/.trae/skills/drawio/assets/palettes/journal-npg.json +0 -23
  2900. package/template/.trae/skills/drawio/assets/palettes/matlab-lines.json +0 -20
  2901. package/template/.trae/skills/drawio/assets/palettes/morandi.json +0 -21
  2902. package/template/.trae/skills/drawio/assets/palettes/okabe-ito.json +0 -21
  2903. package/template/.trae/skills/drawio/assets/palettes/seaborn-colorblind.json +0 -23
  2904. package/template/.trae/skills/drawio/assets/palettes/tol-bright.json +0 -20
  2905. package/template/.trae/skills/drawio/assets/palettes/tol-high-contrast.json +0 -18
  2906. package/template/.trae/skills/drawio/assets/palettes/tol-light-fill.json +0 -22
  2907. package/template/.trae/skills/drawio/assets/palettes/tol-muted.json +0 -22
  2908. package/template/.trae/skills/drawio/assets/schemas/graph-projection.schema.json +0 -135
  2909. package/template/.trae/skills/drawio/assets/schemas/spec.schema.json +0 -620
  2910. package/template/.trae/skills/drawio/assets/themes/academic-color.json +0 -299
  2911. package/template/.trae/skills/drawio/assets/themes/academic.json +0 -245
  2912. package/template/.trae/skills/drawio/assets/themes/arch-dark.json +0 -253
  2913. package/template/.trae/skills/drawio/assets/themes/blueprint.json +0 -246
  2914. package/template/.trae/skills/drawio/assets/themes/dark-luxury.json +0 -246
  2915. package/template/.trae/skills/drawio/assets/themes/dark-terminal.json +0 -244
  2916. package/template/.trae/skills/drawio/assets/themes/dark.json +0 -220
  2917. package/template/.trae/skills/drawio/assets/themes/high-contrast.json +0 -220
  2918. package/template/.trae/skills/drawio/assets/themes/nature.json +0 -220
  2919. package/template/.trae/skills/drawio/assets/themes/notion-clean.json +0 -246
  2920. package/template/.trae/skills/drawio/assets/themes/tech-blue.json +0 -220
  2921. package/template/.trae/skills/drawio/evals/README.md +0 -17
  2922. package/template/.trae/skills/drawio/evals/ai-icon-catalog-cases.json +0 -89
  2923. package/template/.trae/skills/drawio/evals/baseline-prompts.json +0 -122
  2924. package/template/.trae/skills/drawio/evals/darwin-results.tsv +0 -4
  2925. package/template/.trae/skills/drawio/evals/evals.json +0 -223
  2926. package/template/.trae/skills/drawio/evals/evidence/ai-icon-catalog-desktop.json +0 -134
  2927. package/template/.trae/skills/drawio/evals/fixtures/ai-icons-advanced-svg.yaml +0 -25
  2928. package/template/.trae/skills/drawio/evals/fixtures/ai-icons-cjk-agent-rag.yaml +0 -55
  2929. package/template/.trae/skills/drawio/evals/fixtures/ai-icons-core-aliases.yaml +0 -50
  2930. package/template/.trae/skills/drawio/evals/fixtures/ai-icons-current-color.yaml +0 -25
  2931. package/template/.trae/skills/drawio/evals/fixtures/ai-icons-gradients.yaml +0 -25
  2932. package/template/.trae/skills/drawio/evals/fixtures/import-simple-compressed.drawio +0 -5
  2933. package/template/.trae/skills/drawio/evals/fixtures/import-simple.drawio +0 -28
  2934. package/template/.trae/skills/drawio/evals/fixtures/industrial-architecture.yaml +0 -239
  2935. package/template/.trae/skills/drawio/evals/fixtures/replicate-academic-highlight.svg +0 -13
  2936. package/template/.trae/skills/drawio/evals/fixtures/replicate-brand-architecture.svg +0 -14
  2937. package/template/.trae/skills/drawio/evals/fixtures/replicate-warm-approval.svg +0 -13
  2938. package/template/.trae/skills/drawio/evals/fixtures/vision-tall-workflow.yaml +0 -47
  2939. package/template/.trae/skills/drawio/evals/upstream-integration-cases.json +0 -78
  2940. package/template/.trae/skills/drawio/evals/vision-preview-cases.json +0 -147
  2941. package/template/.trae/skills/drawio/references/docs/agent-diagrams.md +0 -164
  2942. package/template/.trae/skills/drawio/references/docs/ah-format.md +0 -322
  2943. package/template/.trae/skills/drawio/references/docs/architecture-diagrams.md +0 -159
  2944. package/template/.trae/skills/drawio/references/docs/canonical-graph-projection.md +0 -54
  2945. package/template/.trae/skills/drawio/references/docs/code-importers.md +0 -53
  2946. package/template/.trae/skills/drawio/references/docs/config-importers.md +0 -68
  2947. package/template/.trae/skills/drawio/references/docs/design-system/README.md +0 -204
  2948. package/template/.trae/skills/drawio/references/docs/design-system/color-guide.md +0 -255
  2949. package/template/.trae/skills/drawio/references/docs/design-system/connectors.md +0 -388
  2950. package/template/.trae/skills/drawio/references/docs/design-system/formulas.md +0 -196
  2951. package/template/.trae/skills/drawio/references/docs/design-system/icons.md +0 -332
  2952. package/template/.trae/skills/drawio/references/docs/design-system/shapes.md +0 -269
  2953. package/template/.trae/skills/drawio/references/docs/design-system/specification.md +0 -754
  2954. package/template/.trae/skills/drawio/references/docs/design-system/themes.md +0 -441
  2955. package/template/.trae/skills/drawio/references/docs/design-system/tokens.md +0 -232
  2956. package/template/.trae/skills/drawio/references/docs/edge-quality-rules.md +0 -65
  2957. package/template/.trae/skills/drawio/references/docs/ieee-network-diagrams.md +0 -145
  2958. package/template/.trae/skills/drawio/references/docs/live-snapshots-drift.md +0 -72
  2959. package/template/.trae/skills/drawio/references/docs/math-typesetting.md +0 -258
  2960. package/template/.trae/skills/drawio/references/docs/mcp-tools.md +0 -85
  2961. package/template/.trae/skills/drawio/references/docs/migration-readiness.md +0 -73
  2962. package/template/.trae/skills/drawio/references/docs/stencil-library-guide.md +0 -97
  2963. package/template/.trae/skills/drawio/references/docs/style-extraction.md +0 -261
  2964. package/template/.trae/skills/drawio/references/docs/style-presets.md +0 -126
  2965. package/template/.trae/skills/drawio/references/docs/upstream-capability-compatibility.md +0 -61
  2966. package/template/.trae/skills/drawio/references/docs/xml-format.md +0 -53
  2967. package/template/.trae/skills/drawio/references/examples/README.md +0 -33
  2968. package/template/.trae/skills/drawio/references/examples/agentic-rag.yaml +0 -71
  2969. package/template/.trae/skills/drawio/references/examples/arch-dark-aws-serverless.yaml +0 -103
  2970. package/template/.trae/skills/drawio/references/examples/arch-dark-microservices.yaml +0 -146
  2971. package/template/.trae/skills/drawio/references/examples/arch-dark-web-app.yaml +0 -62
  2972. package/template/.trae/skills/drawio/references/examples/auto-layout-workflow.yaml +0 -81
  2973. package/template/.trae/skills/drawio/references/examples/aws-vpc-topology.yaml +0 -66
  2974. package/template/.trae/skills/drawio/references/examples/campus-lan-topology.yaml +0 -89
  2975. package/template/.trae/skills/drawio/references/examples/cloud-reference-architecture.yaml +0 -34
  2976. package/template/.trae/skills/drawio/references/examples/e-commerce.yaml +0 -141
  2977. package/template/.trae/skills/drawio/references/examples/importers/README.md +0 -10
  2978. package/template/.trae/skills/drawio/references/examples/importers/live/compose-drift-evidence.json +0 -49
  2979. package/template/.trae/skills/drawio/references/examples/importers/live/compose-drift-report.json +0 -300
  2980. package/template/.trae/skills/drawio/references/examples/importers/live/compose-drift.spec.yaml +0 -75
  2981. package/template/.trae/skills/drawio/references/examples/importers/live/docker-inspect.json +0 -55
  2982. package/template/.trae/skills/drawio/references/examples/importers/live/drift-declared-compose.yaml +0 -13
  2983. package/template/.trae/skills/drawio/references/examples/importers/live/kubernetes-live.json +0 -71
  2984. package/template/.trae/skills/drawio/references/examples/importers/live/terraform-state.json +0 -70
  2985. package/template/.trae/skills/drawio/references/examples/importers/schema.sql +0 -10
  2986. package/template/.trae/skills/drawio/references/examples/importers/terraform.tf +0 -9
  2987. package/template/.trae/skills/drawio/references/examples/login-flow.yaml +0 -65
  2988. package/template/.trae/skills/drawio/references/examples/mem0-memory-layer.yaml +0 -63
  2989. package/template/.trae/skills/drawio/references/examples/microservices.yaml +0 -58
  2990. package/template/.trae/skills/drawio/references/examples/multi-agent-orchestration.yaml +0 -67
  2991. package/template/.trae/skills/drawio/references/examples/neural-network.yaml +0 -66
  2992. package/template/.trae/skills/drawio/references/examples/onprem-dmz-topology.yaml +0 -62
  2993. package/template/.trae/skills/drawio/references/examples/palettes/README.md +0 -29
  2994. package/template/.trae/skills/drawio/references/examples/palettes/c4-blue.drawio +0 -6
  2995. package/template/.trae/skills/drawio/references/examples/palettes/c4-blue.svg +0 -36
  2996. package/template/.trae/skills/drawio/references/examples/palettes/cloud-aws.drawio +0 -6
  2997. package/template/.trae/skills/drawio/references/examples/palettes/cloud-aws.svg +0 -36
  2998. package/template/.trae/skills/drawio/references/examples/palettes/drawio-classic.drawio +0 -6
  2999. package/template/.trae/skills/drawio/references/examples/palettes/drawio-classic.svg +0 -36
  3000. package/template/.trae/skills/drawio/references/examples/palettes/ieee-bw.drawio +0 -6
  3001. package/template/.trae/skills/drawio/references/examples/palettes/ieee-bw.svg +0 -36
  3002. package/template/.trae/skills/drawio/references/examples/palettes/ieee-color.drawio +0 -6
  3003. package/template/.trae/skills/drawio/references/examples/palettes/ieee-color.svg +0 -36
  3004. package/template/.trae/skills/drawio/references/examples/palettes/journal-jama.drawio +0 -6
  3005. package/template/.trae/skills/drawio/references/examples/palettes/journal-jama.svg +0 -36
  3006. package/template/.trae/skills/drawio/references/examples/palettes/journal-npg.drawio +0 -6
  3007. package/template/.trae/skills/drawio/references/examples/palettes/journal-npg.svg +0 -36
  3008. package/template/.trae/skills/drawio/references/examples/palettes/matlab-lines.drawio +0 -6
  3009. package/template/.trae/skills/drawio/references/examples/palettes/matlab-lines.svg +0 -36
  3010. package/template/.trae/skills/drawio/references/examples/palettes/morandi.drawio +0 -6
  3011. package/template/.trae/skills/drawio/references/examples/palettes/morandi.svg +0 -36
  3012. package/template/.trae/skills/drawio/references/examples/palettes/okabe-ito.drawio +0 -6
  3013. package/template/.trae/skills/drawio/references/examples/palettes/okabe-ito.svg +0 -36
  3014. package/template/.trae/skills/drawio/references/examples/palettes/palette-swatch.template.yaml +0 -56
  3015. package/template/.trae/skills/drawio/references/examples/palettes/seaborn-colorblind.drawio +0 -6
  3016. package/template/.trae/skills/drawio/references/examples/palettes/seaborn-colorblind.svg +0 -36
  3017. package/template/.trae/skills/drawio/references/examples/palettes/tol-bright.drawio +0 -6
  3018. package/template/.trae/skills/drawio/references/examples/palettes/tol-bright.svg +0 -36
  3019. package/template/.trae/skills/drawio/references/examples/palettes/tol-high-contrast.drawio +0 -6
  3020. package/template/.trae/skills/drawio/references/examples/palettes/tol-high-contrast.svg +0 -36
  3021. package/template/.trae/skills/drawio/references/examples/palettes/tol-light-fill.drawio +0 -6
  3022. package/template/.trae/skills/drawio/references/examples/palettes/tol-light-fill.svg +0 -36
  3023. package/template/.trae/skills/drawio/references/examples/palettes/tol-muted.drawio +0 -6
  3024. package/template/.trae/skills/drawio/references/examples/palettes/tol-muted.svg +0 -36
  3025. package/template/.trae/skills/drawio/references/examples/rag-pipeline.yaml +0 -67
  3026. package/template/.trae/skills/drawio/references/examples/replicated-brand-flow.yaml +0 -89
  3027. package/template/.trae/skills/drawio/references/examples/swimlane-engineering-review.yaml +0 -44
  3028. package/template/.trae/skills/drawio/references/examples/tiered-network-topology.yaml +0 -59
  3029. package/template/.trae/skills/drawio/references/examples/tool-call-loop.yaml +0 -63
  3030. package/template/.trae/skills/drawio/references/examples/vendor-device-mapping.yaml +0 -46
  3031. package/template/.trae/skills/drawio/references/official/style-reference.md +0 -936
  3032. package/template/.trae/skills/drawio/references/official/xml-reference.md +0 -262
  3033. package/template/.trae/skills/drawio/references/palette.schema.json +0 -59
  3034. package/template/.trae/skills/drawio/references/theme.schema.json +0 -249
  3035. package/template/.trae/skills/drawio/references/upstream/pure-drawio-skill.md +0 -615
  3036. package/template/.trae/skills/drawio/references/workflows/create.md +0 -195
  3037. package/template/.trae/skills/drawio/references/workflows/edit.md +0 -174
  3038. package/template/.trae/skills/drawio/references/workflows/replicate.md +0 -239
  3039. package/template/.trae/skills/drawio/references/workflows/visual-review.md +0 -108
  3040. package/template/.trae/skills/drawio/reports/output_quality_scorecard.md +0 -106
  3041. package/template/.trae/skills/drawio/reports/upstream-port-release-evidence.md +0 -43
  3042. package/template/.trae/skills/drawio/scripts/adapters/ci.js +0 -139
  3043. package/template/.trae/skills/drawio/scripts/adapters/ci.test.js +0 -41
  3044. package/template/.trae/skills/drawio/scripts/adapters/code-common.js +0 -171
  3045. package/template/.trae/skills/drawio/scripts/adapters/code-imports.test.js +0 -80
  3046. package/template/.trae/skills/drawio/scripts/adapters/code-parsers.integration.test.js +0 -71
  3047. package/template/.trae/skills/drawio/scripts/adapters/compose.js +0 -134
  3048. package/template/.trae/skills/drawio/scripts/adapters/compose.test.js +0 -54
  3049. package/template/.trae/skills/drawio/scripts/adapters/config-adapters.integration.test.js +0 -58
  3050. package/template/.trae/skills/drawio/scripts/adapters/config-common.js +0 -131
  3051. package/template/.trae/skills/drawio/scripts/adapters/config-common.test.js +0 -32
  3052. package/template/.trae/skills/drawio/scripts/adapters/docker-inspect.js +0 -127
  3053. package/template/.trae/skills/drawio/scripts/adapters/docker-inspect.test.js +0 -62
  3054. package/template/.trae/skills/drawio/scripts/adapters/fixtures/raster-extraction.json +0 -31
  3055. package/template/.trae/skills/drawio/scripts/adapters/go-code-adapter.test.js +0 -59
  3056. package/template/.trae/skills/drawio/scripts/adapters/go-code.js +0 -168
  3057. package/template/.trae/skills/drawio/scripts/adapters/graph-drift.file.test.js +0 -67
  3058. package/template/.trae/skills/drawio/scripts/adapters/graph-drift.js +0 -358
  3059. package/template/.trae/skills/drawio/scripts/adapters/graph-drift.test.js +0 -272
  3060. package/template/.trae/skills/drawio/scripts/adapters/graph-projection.js +0 -335
  3061. package/template/.trae/skills/drawio/scripts/adapters/graph-projection.test.js +0 -141
  3062. package/template/.trae/skills/drawio/scripts/adapters/identity.js +0 -244
  3063. package/template/.trae/skills/drawio/scripts/adapters/identity.test.js +0 -123
  3064. package/template/.trae/skills/drawio/scripts/adapters/index.js +0 -489
  3065. package/template/.trae/skills/drawio/scripts/adapters/index.test.js +0 -152
  3066. package/template/.trae/skills/drawio/scripts/adapters/js-code-adapter.test.js +0 -42
  3067. package/template/.trae/skills/drawio/scripts/adapters/js-code.js +0 -141
  3068. package/template/.trae/skills/drawio/scripts/adapters/kubernetes-live.test.js +0 -46
  3069. package/template/.trae/skills/drawio/scripts/adapters/kubernetes.js +0 -258
  3070. package/template/.trae/skills/drawio/scripts/adapters/kubernetes.test.js +0 -81
  3071. package/template/.trae/skills/drawio/scripts/adapters/openapi.js +0 -98
  3072. package/template/.trae/skills/drawio/scripts/adapters/openapi.test.js +0 -46
  3073. package/template/.trae/skills/drawio/scripts/adapters/optional-python-code.js +0 -16
  3074. package/template/.trae/skills/drawio/scripts/adapters/optional-python.integration.test.js +0 -32
  3075. package/template/.trae/skills/drawio/scripts/adapters/optional-python.js +0 -127
  3076. package/template/.trae/skills/drawio/scripts/adapters/optional-python.test.js +0 -55
  3077. package/template/.trae/skills/drawio/scripts/adapters/projection-to-spec.js +0 -116
  3078. package/template/.trae/skills/drawio/scripts/adapters/projection-to-spec.test.js +0 -139
  3079. package/template/.trae/skills/drawio/scripts/adapters/python/code-parser-worker.py +0 -93
  3080. package/template/.trae/skills/drawio/scripts/adapters/python/config-parser-worker.py +0 -237
  3081. package/template/.trae/skills/drawio/scripts/adapters/python/requirements.txt +0 -2
  3082. package/template/.trae/skills/drawio/scripts/adapters/python-code-adapter.test.js +0 -127
  3083. package/template/.trae/skills/drawio/scripts/adapters/python-code.js +0 -246
  3084. package/template/.trae/skills/drawio/scripts/adapters/raster-extraction.js +0 -258
  3085. package/template/.trae/skills/drawio/scripts/adapters/raster-extraction.test.js +0 -308
  3086. package/template/.trae/skills/drawio/scripts/adapters/rust-code-adapter.test.js +0 -64
  3087. package/template/.trae/skills/drawio/scripts/adapters/rust-code.js +0 -207
  3088. package/template/.trae/skills/drawio/scripts/adapters/sql-ddl.js +0 -118
  3089. package/template/.trae/skills/drawio/scripts/adapters/sql-ddl.test.js +0 -56
  3090. package/template/.trae/skills/drawio/scripts/adapters/terraform-config.js +0 -141
  3091. package/template/.trae/skills/drawio/scripts/adapters/terraform-config.test.js +0 -67
  3092. package/template/.trae/skills/drawio/scripts/adapters/terraform-state.js +0 -157
  3093. package/template/.trae/skills/drawio/scripts/adapters/terraform-state.test.js +0 -69
  3094. package/template/.trae/skills/drawio/scripts/cli.js +0 -700
  3095. package/template/.trae/skills/drawio/scripts/dsl/ah-to-drawio.js +0 -276
  3096. package/template/.trae/skills/drawio/scripts/dsl/ah-to-drawio.test.js +0 -77
  3097. package/template/.trae/skills/drawio/scripts/dsl/ai-icon-catalog.js +0 -126
  3098. package/template/.trae/skills/drawio/scripts/dsl/ai-icon-catalog.test.js +0 -86
  3099. package/template/.trae/skills/drawio/scripts/dsl/auto-layout.js +0 -206
  3100. package/template/.trae/skills/drawio/scripts/dsl/auto-layout.test.js +0 -249
  3101. package/template/.trae/skills/drawio/scripts/dsl/catalog-ranking.js +0 -54
  3102. package/template/.trae/skills/drawio/scripts/dsl/catalog-search.js +0 -58
  3103. package/template/.trae/skills/drawio/scripts/dsl/catalog-search.test.js +0 -44
  3104. package/template/.trae/skills/drawio/scripts/dsl/document-spec.js +0 -256
  3105. package/template/.trae/skills/drawio/scripts/dsl/document-spec.test.js +0 -147
  3106. package/template/.trae/skills/drawio/scripts/dsl/drawio-to-spec.js +0 -497
  3107. package/template/.trae/skills/drawio/scripts/dsl/examples-baseline.test.js +0 -30
  3108. package/template/.trae/skills/drawio/scripts/dsl/icon-mappings.js +0 -65
  3109. package/template/.trae/skills/drawio/scripts/dsl/icon-mappings.test.js +0 -19
  3110. package/template/.trae/skills/drawio/scripts/dsl/icon-resolver.js +0 -153
  3111. package/template/.trae/skills/drawio/scripts/dsl/icon-resolver.test.js +0 -62
  3112. package/template/.trae/skills/drawio/scripts/dsl/multi-page.js +0 -224
  3113. package/template/.trae/skills/drawio/scripts/dsl/multi-page.test.js +0 -107
  3114. package/template/.trae/skills/drawio/scripts/dsl/palette-catalog.test.js +0 -138
  3115. package/template/.trae/skills/drawio/scripts/dsl/palette-integration.test.js +0 -182
  3116. package/template/.trae/skills/drawio/scripts/dsl/palette-validate.js +0 -91
  3117. package/template/.trae/skills/drawio/scripts/dsl/palette.js +0 -302
  3118. package/template/.trae/skills/drawio/scripts/dsl/palette.test.js +0 -197
  3119. package/template/.trae/skills/drawio/scripts/dsl/shape-catalog.js +0 -89
  3120. package/template/.trae/skills/drawio/scripts/dsl/shape-catalog.test.js +0 -21
  3121. package/template/.trae/skills/drawio/scripts/dsl/spec-to-drawio.js +0 -3739
  3122. package/template/.trae/skills/drawio/scripts/dsl/spec-to-drawio.test.js +0 -3022
  3123. package/template/.trae/skills/drawio/scripts/generate-palette-swatches.js +0 -87
  3124. package/template/.trae/skills/drawio/scripts/install.bat +0 -64
  3125. package/template/.trae/skills/drawio/scripts/install.sh +0 -44
  3126. package/template/.trae/skills/drawio/scripts/math/index.js +0 -317
  3127. package/template/.trae/skills/drawio/scripts/math/index.test.js +0 -62
  3128. package/template/.trae/skills/drawio/scripts/package.json +0 -1
  3129. package/template/.trae/skills/drawio/scripts/postprocess/artifacts.js +0 -142
  3130. package/template/.trae/skills/drawio/scripts/postprocess/artifacts.test.js +0 -86
  3131. package/template/.trae/skills/drawio/scripts/postprocess/cli.js +0 -228
  3132. package/template/.trae/skills/drawio/scripts/postprocess/cli.test.js +0 -129
  3133. package/template/.trae/skills/drawio/scripts/postprocess/fixtures/bundle.yaml +0 -75
  3134. package/template/.trae/skills/drawio/scripts/postprocess/fixtures/legacy.yaml +0 -21
  3135. package/template/.trae/skills/drawio/scripts/postprocess/html.js +0 -197
  3136. package/template/.trae/skills/drawio/scripts/postprocess/html.test.js +0 -50
  3137. package/template/.trae/skills/drawio/scripts/postprocess/index.js +0 -5
  3138. package/template/.trae/skills/drawio/scripts/postprocess/input.js +0 -112
  3139. package/template/.trae/skills/drawio/scripts/postprocess/input.test.js +0 -73
  3140. package/template/.trae/skills/drawio/scripts/postprocess/mutate.js +0 -584
  3141. package/template/.trae/skills/drawio/scripts/postprocess/mutate.test.js +0 -193
  3142. package/template/.trae/skills/drawio/scripts/postprocess/projection.js +0 -178
  3143. package/template/.trae/skills/drawio/scripts/postprocess/projection.test.js +0 -67
  3144. package/template/.trae/skills/drawio/scripts/runtime/artifacts.js +0 -283
  3145. package/template/.trae/skills/drawio/scripts/runtime/desktop.js +0 -204
  3146. package/template/.trae/skills/drawio/scripts/runtime/desktop.test.js +0 -121
  3147. package/template/.trae/skills/drawio/scripts/runtime/diagrams-net-url.js +0 -122
  3148. package/template/.trae/skills/drawio/scripts/runtime/export-stability.js +0 -75
  3149. package/template/.trae/skills/drawio/scripts/runtime/export-stability.test.js +0 -81
  3150. package/template/.trae/skills/drawio/scripts/runtime/png-inspection.js +0 -157
  3151. package/template/.trae/skills/drawio/scripts/runtime/png-inspection.test.js +0 -120
  3152. package/template/.trae/skills/drawio/scripts/runtime/vision-preview.js +0 -77
  3153. package/template/.trae/skills/drawio/scripts/runtime/vision-preview.test.js +0 -103
  3154. package/template/.trae/skills/drawio/scripts/shared/ai-icon-contract.js +0 -13
  3155. package/template/.trae/skills/drawio/scripts/shared/xml-utils.js +0 -241
  3156. package/template/.trae/skills/drawio/scripts/svg/drawio-to-svg.js +0 -918
  3157. package/template/.trae/skills/drawio/scripts/svg/drawio-to-svg.test.js +0 -763
  3158. package/template/.trae/skills/drawio/scripts/tools/build-ai-icon-catalog.js +0 -208
  3159. package/template/.trae/skills/drawio/scripts/tools/build-ai-icon-catalog.test.js +0 -107
  3160. package/template/.trae/skills/drawio/scripts/tools/build-shape-catalog.js +0 -84
  3161. package/template/.trae/skills/drawio/scripts/tools/build-shape-catalog.test.js +0 -43
  3162. package/template/.trae/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha-color.svg +0 -1
  3163. package/template/.trae/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/alpha.svg +0 -1
  3164. package/template/.trae/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta-brand-color.svg +0 -1
  3165. package/template/.trae/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/beta.svg +0 -1
  3166. package/template/.trae/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai-text-color.svg +0 -1
  3167. package/template/.trae/skills/drawio/scripts/tools/fixtures/ai-icons-package/icons/civitai.svg +0 -1
  3168. package/template/.trae/skills/drawio/scripts/tools/fixtures/ai-icons-package/package.json +0 -5
  3169. package/template/.trae/skills/drawio/scripts/vendor/elkjs/LICENSE.md +0 -264
  3170. package/template/.trae/skills/drawio/scripts/vendor/elkjs/README.md +0 -18
  3171. package/template/.trae/skills/drawio/scripts/vendor/elkjs/elk.bundled.cjs +0 -6589
  3172. package/template/.trae/skills/drawio/styles/built-in/corporate.json +0 -49
  3173. package/template/.trae/skills/drawio/styles/built-in/default.json +0 -49
  3174. package/template/.trae/skills/drawio/styles/built-in/handdrawn.json +0 -49
  3175. package/template/.trae/skills/drawio/styles/schema.json +0 -112
  3176. package/template/.trae/skills/drawio-academic-skills/CHANGELOG.md +0 -67
  3177. package/template/.trae/skills/drawio-academic-skills/README.md +0 -103
  3178. package/template/.trae/skills/drawio-academic-skills/README_CN.md +0 -103
  3179. package/template/.trae/skills/drawio-academic-skills/SKILL.md +0 -161
  3180. package/template/.trae/skills/drawio-academic-skills/__yss_dotfile__.gitignore +0 -12
  3181. package/template/.trae/skills/drawio-academic-skills/agents/interface.yaml +0 -25
  3182. package/template/.trae/skills/drawio-academic-skills/agents/openai.yaml +0 -24
  3183. package/template/.trae/skills/drawio-academic-skills/evals/README.md +0 -13
  3184. package/template/.trae/skills/drawio-academic-skills/evals/baseline-prompts.json +0 -52
  3185. package/template/.trae/skills/drawio-academic-skills/evals/darwin-results.tsv +0 -3
  3186. package/template/.trae/skills/drawio-academic-skills/evals/evals.json +0 -228
  3187. package/template/.trae/skills/drawio-academic-skills/evals/test-prompts.json +0 -17
  3188. package/template/.trae/skills/drawio-academic-skills/references/docs/academic-export-checklist.md +0 -45
  3189. package/template/.trae/skills/drawio-academic-skills/references/docs/academic-figure-playbook.md +0 -349
  3190. package/template/.trae/skills/drawio-academic-skills/references/docs/publication-overlay.md +0 -206
  3191. package/template/.trae/skills/drawio-academic-skills/references/examples/ablation-study-pipeline.yaml +0 -39
  3192. package/template/.trae/skills/drawio-academic-skills/references/examples/ieee-network-paper.yaml +0 -44
  3193. package/template/.trae/skills/drawio-academic-skills/references/examples/industrial-architecture-cn-paper.yaml +0 -106
  3194. package/template/.trae/skills/drawio-academic-skills/references/examples/max-pooling-operation-paper.yaml +0 -75
  3195. package/template/.trae/skills/drawio-academic-skills/references/examples/research-pipeline.yaml +0 -54
  3196. package/template/.trae/skills/drawio-academic-skills/references/examples/system-architecture-paper.yaml +0 -45
  3197. package/template/.trae/skills/drawio-academic-skills/references/examples/technical-roadmap-paper.yaml +0 -54
  3198. package/template/.trae/skills/drawio-academic-skills/references/examples/yolo-model-architecture-paper.yaml +0 -118
  3199. package/template/.trae/skills/drawio-academic-skills/references/templates/multi-module-system-compact.yaml +0 -251
  3200. package/template/.trae/skills/drawio-academic-skills/references/templates/neural-network-architecture-compact.yaml +0 -267
  3201. package/template/.trae/skills/excalidraw-diagram-generator/SKILL.md +0 -634
  3202. package/template/.trae/skills/excalidraw-diagram-generator/references/element-types.md +0 -497
  3203. package/template/.trae/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +0 -350
  3204. package/template/.trae/skills/excalidraw-diagram-generator/scripts/README.md +0 -193
  3205. package/template/.trae/skills/excalidraw-diagram-generator/scripts/__yss_dotfile__.gitignore +0 -34
  3206. package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-arrow.py +0 -315
  3207. package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +0 -406
  3208. package/template/.trae/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +0 -183
  3209. package/template/.trae/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +0 -334
  3210. package/template/.trae/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +0 -558
  3211. package/template/.trae/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +0 -279
  3212. package/template/.trae/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +0 -662
  3213. package/template/.trae/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +0 -179
  3214. package/template/.trae/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +0 -244
  3215. package/template/.trae/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +0 -145
  3216. package/template/.trae/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +0 -509
  3217. package/template/.trae/skills/kb-retriever/README.md +0 -197
  3218. package/template/.trae/skills/kb-retriever/README.zh-CN.md +0 -197
  3219. package/template/.trae/skills/kb-retriever/SKILL.md +0 -250
  3220. package/template/.trae/skills/kb-retriever/manifest.json +0 -15
  3221. package/template/.trae/skills/kb-retriever/references/excel_analysis.md +0 -129
  3222. package/template/.trae/skills/kb-retriever/references/excel_reading.md +0 -72
  3223. package/template/.trae/skills/kb-retriever/references/pdf_reading.md +0 -362
  3224. package/template/.trae/skills/kb-retriever/scripts/convert_pdf_to_images.py +0 -35
  3225. package/template/.trae/skills/yss-db2mybatis/requirements.txt +0 -4
  3226. package/template/.trae/skills/yss-db2mybatis/scripts/db2mybatis.py +0 -1494
  3227. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.py +0 -728
  3228. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.py +0 -155
  3229. package/template/.trae/skills/yss-design-system/scripts/validate-frontmatter.py +0 -50
  3230. package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -371
  3231. package/template/.trae/skills/yss-web-controller/scripts/generate_controller.py +0 -293
  3232. package/template/.trae/skills/yss-web-controller/scripts/test_generate_controller.py +0 -68
  3233. package/template/docs/adr/0004-split-lifecycle-and-router-registry-domains.md +0 -5
  3234. package/template/docs/adr/0005-cross-repository-ecosystem-release-manifest.md +0 -5
  3235. package/template/docs/adr/0007-separate-skill-routing-registry-from-integrity-lock.md +0 -5
  3236. package/template/docs/implementation/create-yss-spec-repository-mode-contract.md +0 -90
  3237. package/template/docs/process/harness-optimization-backlog.md +0 -9
  3238. package/template/docs/process/harness-work-unit-map.md +0 -16
  3239. package/template/docs/releases/next-major-template-governance.md +0 -32
  3240. package/template/docs/reviews/lifecycle-registry-phase0-1-red-green-2026-08-17.md +0 -61
  3241. package/template/docs/reviews/matt-yss-p0-ticket-review-git-red-green-2026-08-17.md +0 -91
  3242. package/template/docs/reviews/openapi-skill-primary-source-research-2026-08-16.md +0 -76
  3243. package/template/docs/reviews/openapi-yaml-first-independent-review-2026-08-16.md +0 -121
  3244. package/template/docs/reviews/openapi-yaml-first-pressure-scenarios-2026-08-16.md +0 -191
  3245. package/template/docs/reviews/openapi-yaml-first-red-green-2026-08-16.md +0 -76
  3246. package/template/docs/reviews/openapi-yaml-json-output-independent-review-2026-08-16.md +0 -30
  3247. package/template/docs/reviews/openapi-yaml-json-output-scope-red-green-2026-08-16.md +0 -154
  3248. package/template/docs/reviews/research-create-yss-spec-2026-08-10.md +0 -141
  3249. package/template/docs/reviews/research-create-yss-spec-refresh-2026-08-16.md +0 -164
  3250. package/template/docs/reviews/security-permission-lifecycle-simplification-red-green-2026-08-16.md +0 -43
  3251. package/template/docs/reviews/template-release-review-remediation-red-green-2026-08-17.md +0 -41
  3252. package/template/docs/reviews/yss-local-tracker-red-green-2026-08-10.md +0 -50
  3253. package/template/docs/user-guide//345/233/276/347/244/272/347/224/237/346/210/220/345/231/250/344/275/277/347/224/250/346/214/207/345/215/227.md +0 -143
  3254. package/template/scripts/implementation-path-policy.rb +0 -50
  3255. package/template/scripts/lifecycle-registry.rb +0 -194
  3256. package/template/scripts/test-export-yss-skills.rb +0 -132
  3257. package/template/scripts/test-lifecycle-registry.rb +0 -74
@@ -0,0 +1,4103 @@
1
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/util.js
2
+ var nameStartChar = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
3
+ var nameChar = nameStartChar + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";
4
+ var nameRegexp = "[" + nameStartChar + "][" + nameChar + "]*";
5
+ var regexName = new RegExp("^" + nameRegexp + "$");
6
+ function getAllMatches(string, regex) {
7
+ const matches = [];
8
+ let match = regex.exec(string);
9
+ while (match) {
10
+ const allmatches = [];
11
+ allmatches.startIndex = regex.lastIndex - match[0].length;
12
+ const len = match.length;
13
+ for (let index = 0; index < len; index++) {
14
+ allmatches.push(match[index]);
15
+ }
16
+ matches.push(allmatches);
17
+ match = regex.exec(string);
18
+ }
19
+ return matches;
20
+ }
21
+ var isName = function(string) {
22
+ const match = regexName.exec(string);
23
+ return !(match === null || typeof match === "undefined");
24
+ };
25
+ function isExist(v) {
26
+ return typeof v !== "undefined";
27
+ }
28
+ var DANGEROUS_PROPERTY_NAMES = [
29
+ // '__proto__',
30
+ // 'constructor',
31
+ // 'prototype',
32
+ "hasOwnProperty",
33
+ "toString",
34
+ "valueOf",
35
+ "__defineGetter__",
36
+ "__defineSetter__",
37
+ "__lookupGetter__",
38
+ "__lookupSetter__"
39
+ ];
40
+ var criticalProperties = ["__proto__", "constructor", "prototype"];
41
+
42
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/validator.js
43
+ var defaultOptions = {
44
+ allowBooleanAttributes: false,
45
+ //A tag can have attributes without any value
46
+ unpairedTags: []
47
+ };
48
+ function validate(xmlData, options) {
49
+ options = Object.assign({}, defaultOptions, options);
50
+ const tags = [];
51
+ let tagFound = false;
52
+ let reachedRoot = false;
53
+ if (xmlData[0] === "\uFEFF") {
54
+ xmlData = xmlData.substr(1);
55
+ }
56
+ for (let i = 0; i < xmlData.length; i++) {
57
+ if (xmlData[i] === "<" && xmlData[i + 1] === "?") {
58
+ i += 2;
59
+ i = readPI(xmlData, i);
60
+ if (i.err) return i;
61
+ } else if (xmlData[i] === "<") {
62
+ let tagStartPos = i;
63
+ i++;
64
+ if (xmlData[i] === "!") {
65
+ i = readCommentAndCDATA(xmlData, i);
66
+ continue;
67
+ } else {
68
+ let closingTag = false;
69
+ if (xmlData[i] === "/") {
70
+ closingTag = true;
71
+ i++;
72
+ }
73
+ let tagName = "";
74
+ for (; i < xmlData.length && xmlData[i] !== ">" && xmlData[i] !== " " && xmlData[i] !== " " && xmlData[i] !== "\n" && xmlData[i] !== "\r"; i++) {
75
+ tagName += xmlData[i];
76
+ }
77
+ tagName = tagName.trim();
78
+ if (tagName[tagName.length - 1] === "/") {
79
+ tagName = tagName.substring(0, tagName.length - 1);
80
+ i--;
81
+ }
82
+ if (!validateTagName(tagName)) {
83
+ let msg;
84
+ if (tagName.trim().length === 0) {
85
+ msg = "Invalid space after '<'.";
86
+ } else {
87
+ msg = "Tag '" + tagName + "' is an invalid name.";
88
+ }
89
+ return getErrorObject("InvalidTag", msg, getLineNumberForPosition(xmlData, i));
90
+ }
91
+ const result = readAttributeStr(xmlData, i);
92
+ if (result === false) {
93
+ return getErrorObject("InvalidAttr", "Attributes for '" + tagName + "' have open quote.", getLineNumberForPosition(xmlData, i));
94
+ }
95
+ let attrStr = result.value;
96
+ i = result.index;
97
+ if (attrStr[attrStr.length - 1] === "/") {
98
+ const attrStrStart = i - attrStr.length;
99
+ attrStr = attrStr.substring(0, attrStr.length - 1);
100
+ const isValid = validateAttributeString(attrStr, options);
101
+ if (isValid === true) {
102
+ tagFound = true;
103
+ } else {
104
+ return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line));
105
+ }
106
+ } else if (closingTag) {
107
+ if (!result.tagClosed) {
108
+ return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' doesn't have proper closing.", getLineNumberForPosition(xmlData, i));
109
+ } else if (attrStr.trim().length > 0) {
110
+ return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos));
111
+ } else if (tags.length === 0) {
112
+ return getErrorObject("InvalidTag", "Closing tag '" + tagName + "' has not been opened.", getLineNumberForPosition(xmlData, tagStartPos));
113
+ } else {
114
+ const otg = tags.pop();
115
+ if (tagName !== otg.tagName) {
116
+ let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos);
117
+ return getErrorObject(
118
+ "InvalidTag",
119
+ "Expected closing tag '" + otg.tagName + "' (opened in line " + openPos.line + ", col " + openPos.col + ") instead of closing tag '" + tagName + "'.",
120
+ getLineNumberForPosition(xmlData, tagStartPos)
121
+ );
122
+ }
123
+ if (tags.length == 0) {
124
+ reachedRoot = true;
125
+ }
126
+ }
127
+ } else {
128
+ const isValid = validateAttributeString(attrStr, options);
129
+ if (isValid !== true) {
130
+ return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));
131
+ }
132
+ if (reachedRoot === true) {
133
+ return getErrorObject("InvalidXml", "Multiple possible root nodes found.", getLineNumberForPosition(xmlData, i));
134
+ } else if (options.unpairedTags.indexOf(tagName) !== -1) {
135
+ } else {
136
+ tags.push({ tagName, tagStartPos });
137
+ }
138
+ tagFound = true;
139
+ }
140
+ for (i++; i < xmlData.length; i++) {
141
+ if (xmlData[i] === "<") {
142
+ if (xmlData[i + 1] === "!") {
143
+ i++;
144
+ i = readCommentAndCDATA(xmlData, i);
145
+ continue;
146
+ } else if (xmlData[i + 1] === "?") {
147
+ i = readPI(xmlData, ++i);
148
+ if (i.err) return i;
149
+ } else {
150
+ break;
151
+ }
152
+ } else if (xmlData[i] === "&") {
153
+ const afterAmp = validateAmpersand(xmlData, i);
154
+ if (afterAmp == -1)
155
+ return getErrorObject("InvalidChar", "char '&' is not expected.", getLineNumberForPosition(xmlData, i));
156
+ i = afterAmp;
157
+ } else {
158
+ if (reachedRoot === true && !isWhiteSpace(xmlData[i])) {
159
+ return getErrorObject("InvalidXml", "Extra text at the end", getLineNumberForPosition(xmlData, i));
160
+ }
161
+ }
162
+ }
163
+ if (xmlData[i] === "<") {
164
+ i--;
165
+ }
166
+ }
167
+ } else {
168
+ if (isWhiteSpace(xmlData[i])) {
169
+ continue;
170
+ }
171
+ return getErrorObject("InvalidChar", "char '" + xmlData[i] + "' is not expected.", getLineNumberForPosition(xmlData, i));
172
+ }
173
+ }
174
+ if (!tagFound) {
175
+ return getErrorObject("InvalidXml", "Start tag expected.", 1);
176
+ } else if (tags.length == 1) {
177
+ return getErrorObject("InvalidTag", "Unclosed tag '" + tags[0].tagName + "'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos));
178
+ } else if (tags.length > 0) {
179
+ return getErrorObject("InvalidXml", "Invalid '" + JSON.stringify(tags.map((t) => t.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 });
180
+ }
181
+ return true;
182
+ }
183
+ function isWhiteSpace(char) {
184
+ return char === " " || char === " " || char === "\n" || char === "\r";
185
+ }
186
+ function readPI(xmlData, i) {
187
+ const start = i;
188
+ for (; i < xmlData.length; i++) {
189
+ if (xmlData[i] == "?" || xmlData[i] == " ") {
190
+ const tagname = xmlData.substr(start, i - start);
191
+ if (i > 5 && tagname === "xml") {
192
+ return getErrorObject("InvalidXml", "XML declaration allowed only at the start of the document.", getLineNumberForPosition(xmlData, i));
193
+ } else if (xmlData[i] == "?" && xmlData[i + 1] == ">") {
194
+ i++;
195
+ break;
196
+ } else {
197
+ continue;
198
+ }
199
+ }
200
+ }
201
+ return i;
202
+ }
203
+ function readCommentAndCDATA(xmlData, i) {
204
+ if (xmlData.length > i + 5 && xmlData[i + 1] === "-" && xmlData[i + 2] === "-") {
205
+ for (i += 3; i < xmlData.length; i++) {
206
+ if (xmlData[i] === "-" && xmlData[i + 1] === "-" && xmlData[i + 2] === ">") {
207
+ i += 2;
208
+ break;
209
+ }
210
+ }
211
+ } else if (xmlData.length > i + 8 && xmlData[i + 1] === "D" && xmlData[i + 2] === "O" && xmlData[i + 3] === "C" && xmlData[i + 4] === "T" && xmlData[i + 5] === "Y" && xmlData[i + 6] === "P" && xmlData[i + 7] === "E") {
212
+ let angleBracketsCount = 1;
213
+ for (i += 8; i < xmlData.length; i++) {
214
+ if (xmlData[i] === "<") {
215
+ angleBracketsCount++;
216
+ } else if (xmlData[i] === ">") {
217
+ angleBracketsCount--;
218
+ if (angleBracketsCount === 0) {
219
+ break;
220
+ }
221
+ }
222
+ }
223
+ } else if (xmlData.length > i + 9 && xmlData[i + 1] === "[" && xmlData[i + 2] === "C" && xmlData[i + 3] === "D" && xmlData[i + 4] === "A" && xmlData[i + 5] === "T" && xmlData[i + 6] === "A" && xmlData[i + 7] === "[") {
224
+ for (i += 8; i < xmlData.length; i++) {
225
+ if (xmlData[i] === "]" && xmlData[i + 1] === "]" && xmlData[i + 2] === ">") {
226
+ i += 2;
227
+ break;
228
+ }
229
+ }
230
+ }
231
+ return i;
232
+ }
233
+ var doubleQuote = '"';
234
+ var singleQuote = "'";
235
+ function readAttributeStr(xmlData, i) {
236
+ let attrStr = "";
237
+ let startChar = "";
238
+ let tagClosed = false;
239
+ for (; i < xmlData.length; i++) {
240
+ if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) {
241
+ if (startChar === "") {
242
+ startChar = xmlData[i];
243
+ } else if (startChar !== xmlData[i]) {
244
+ } else {
245
+ startChar = "";
246
+ }
247
+ } else if (xmlData[i] === ">") {
248
+ if (startChar === "") {
249
+ tagClosed = true;
250
+ break;
251
+ }
252
+ }
253
+ attrStr += xmlData[i];
254
+ }
255
+ if (startChar !== "") {
256
+ return false;
257
+ }
258
+ return {
259
+ value: attrStr,
260
+ index: i,
261
+ tagClosed
262
+ };
263
+ }
264
+ var validAttrStrRegxp = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g");
265
+ function validateAttributeString(attrStr, options) {
266
+ const matches = getAllMatches(attrStr, validAttrStrRegxp);
267
+ const attrNames = {};
268
+ for (let i = 0; i < matches.length; i++) {
269
+ if (matches[i][1].length === 0) {
270
+ return getErrorObject("InvalidAttr", "Attribute '" + matches[i][2] + "' has no space in starting.", getPositionFromMatch(matches[i]));
271
+ } else if (matches[i][3] !== void 0 && matches[i][4] === void 0) {
272
+ return getErrorObject("InvalidAttr", "Attribute '" + matches[i][2] + "' is without value.", getPositionFromMatch(matches[i]));
273
+ } else if (matches[i][3] === void 0 && !options.allowBooleanAttributes) {
274
+ return getErrorObject("InvalidAttr", "boolean attribute '" + matches[i][2] + "' is not allowed.", getPositionFromMatch(matches[i]));
275
+ }
276
+ const attrName = matches[i][2];
277
+ if (!validateAttrName(attrName)) {
278
+ return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is an invalid name.", getPositionFromMatch(matches[i]));
279
+ }
280
+ if (!Object.prototype.hasOwnProperty.call(attrNames, attrName)) {
281
+ attrNames[attrName] = 1;
282
+ } else {
283
+ return getErrorObject("InvalidAttr", "Attribute '" + attrName + "' is repeated.", getPositionFromMatch(matches[i]));
284
+ }
285
+ }
286
+ return true;
287
+ }
288
+ function validateNumberAmpersand(xmlData, i) {
289
+ let re = /\d/;
290
+ if (xmlData[i] === "x") {
291
+ i++;
292
+ re = /[\da-fA-F]/;
293
+ }
294
+ for (; i < xmlData.length; i++) {
295
+ if (xmlData[i] === ";")
296
+ return i;
297
+ if (!xmlData[i].match(re))
298
+ break;
299
+ }
300
+ return -1;
301
+ }
302
+ function validateAmpersand(xmlData, i) {
303
+ i++;
304
+ if (xmlData[i] === ";")
305
+ return -1;
306
+ if (xmlData[i] === "#") {
307
+ i++;
308
+ return validateNumberAmpersand(xmlData, i);
309
+ }
310
+ let count = 0;
311
+ for (; i < xmlData.length; i++, count++) {
312
+ if (xmlData[i].match(/\w/) && count < 20)
313
+ continue;
314
+ if (xmlData[i] === ";")
315
+ break;
316
+ return -1;
317
+ }
318
+ return i;
319
+ }
320
+ function getErrorObject(code, message, lineNumber) {
321
+ return {
322
+ err: {
323
+ code,
324
+ msg: message,
325
+ line: lineNumber.line || lineNumber,
326
+ col: lineNumber.col
327
+ }
328
+ };
329
+ }
330
+ function validateAttrName(attrName) {
331
+ return isName(attrName);
332
+ }
333
+ function validateTagName(tagname) {
334
+ return isName(tagname);
335
+ }
336
+ function getLineNumberForPosition(xmlData, index) {
337
+ const lines = xmlData.substring(0, index).split(/\r?\n/);
338
+ return {
339
+ line: lines.length,
340
+ // column number is last line's length + 1, because column numbering starts at 1:
341
+ col: lines[lines.length - 1].length + 1
342
+ };
343
+ }
344
+ function getPositionFromMatch(match) {
345
+ return match.startIndex + match[1].length;
346
+ }
347
+
348
+ // node_modules/.pnpm/@nodable+entities@3.0.0/node_modules/@nodable/entities/src/entities.js
349
+ var CURRENCY = {
350
+ cent: "\xA2",
351
+ pound: "\xA3",
352
+ curren: "\xA4",
353
+ yen: "\xA5",
354
+ euro: "\u20AC",
355
+ dollar: "$",
356
+ fnof: "\u0192",
357
+ inr: "\u20B9",
358
+ af: "\u060B",
359
+ birr: "\u1265\u122D",
360
+ peso: "\u20B1",
361
+ rub: "\u20BD",
362
+ won: "\u20A9",
363
+ yuan: "\xA5",
364
+ cedil: "\xB8"
365
+ };
366
+ var XML = {
367
+ amp: "&",
368
+ apos: "'",
369
+ gt: ">",
370
+ lt: "<",
371
+ quot: '"'
372
+ };
373
+ var COMMON_HTML = {
374
+ nbsp: "\xA0",
375
+ copy: "\xA9",
376
+ reg: "\xAE",
377
+ trade: "\u2122",
378
+ mdash: "\u2014",
379
+ ndash: "\u2013",
380
+ hellip: "\u2026",
381
+ laquo: "\xAB",
382
+ raquo: "\xBB",
383
+ lsquo: "\u2018",
384
+ rsquo: "\u2019",
385
+ ldquo: "\u201C",
386
+ rdquo: "\u201D",
387
+ bull: "\u2022",
388
+ para: "\xB6",
389
+ sect: "\xA7",
390
+ deg: "\xB0",
391
+ frac12: "\xBD",
392
+ frac14: "\xBC",
393
+ frac34: "\xBE"
394
+ };
395
+
396
+ // node_modules/.pnpm/@nodable+entities@3.0.0/node_modules/@nodable/entities/src/EntityDecoder.js
397
+ var ENTITY_ACTION = Object.freeze({
398
+ /** Resolve and expand the entity normally. */
399
+ ALLOW: "allow",
400
+ /** Silently skip this entity — it will not be registered. */
401
+ BLOCK: "block",
402
+ /** Throw an error, aborting entity registration entirely. */
403
+ THROW: "throw"
404
+ });
405
+ var SPECIAL_CHARS = new Set("!?\\\\/[]$%{}^&*()<>|+");
406
+ function validateEntityName(name) {
407
+ if (name[0] === "#") {
408
+ throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${name}"`);
409
+ }
410
+ for (const ch of name) {
411
+ if (SPECIAL_CHARS.has(ch)) {
412
+ throw new Error(`[EntityReplacer] Invalid character '${ch}' in entity name: "${name}"`);
413
+ }
414
+ }
415
+ return name;
416
+ }
417
+ function mergeEntityMaps(...maps) {
418
+ const out = /* @__PURE__ */ Object.create(null);
419
+ for (const map of maps) {
420
+ if (!map) continue;
421
+ for (const key of Object.keys(map)) {
422
+ const raw = map[key];
423
+ if (typeof raw === "string") {
424
+ out[key] = raw;
425
+ } else if (raw && typeof raw === "object" && raw.val !== void 0) {
426
+ const val = raw.val;
427
+ if (typeof val === "string") {
428
+ out[key] = val;
429
+ }
430
+ }
431
+ }
432
+ }
433
+ return out;
434
+ }
435
+ var LIMIT_TIER_EXTERNAL = "external";
436
+ var LIMIT_TIER_BASE = "base";
437
+ var LIMIT_TIER_ALL = "all";
438
+ function parseLimitTiers(raw) {
439
+ if (!raw || raw === LIMIT_TIER_EXTERNAL) return /* @__PURE__ */ new Set([LIMIT_TIER_EXTERNAL]);
440
+ if (raw === LIMIT_TIER_ALL) return /* @__PURE__ */ new Set([LIMIT_TIER_ALL]);
441
+ if (raw === LIMIT_TIER_BASE) return /* @__PURE__ */ new Set([LIMIT_TIER_BASE]);
442
+ if (Array.isArray(raw)) return new Set(raw);
443
+ return /* @__PURE__ */ new Set([LIMIT_TIER_EXTERNAL]);
444
+ }
445
+ var NCR_LEVEL = Object.freeze({ allow: 0, leave: 1, remove: 2, throw: 3 });
446
+ var XML10_ALLOWED_C0 = /* @__PURE__ */ new Set([9, 10, 13]);
447
+ function parseNCRConfig(ncr) {
448
+ if (!ncr) {
449
+ return { xmlVersion: 1, onLevel: NCR_LEVEL.allow, nullLevel: NCR_LEVEL.remove };
450
+ }
451
+ const xmlVersion = ncr.xmlVersion === 1.1 ? 1.1 : 1;
452
+ const onLevel = NCR_LEVEL[ncr.onNCR] ?? NCR_LEVEL.allow;
453
+ const nullLevel = NCR_LEVEL[ncr.nullNCR] ?? NCR_LEVEL.remove;
454
+ const clampedNull = Math.max(nullLevel, NCR_LEVEL.remove);
455
+ return { xmlVersion, onLevel, nullLevel: clampedNull };
456
+ }
457
+ var EntityDecoder = class {
458
+ /**
459
+ * @param {object} [options]
460
+ * @param {object|null} [options.namedEntities] — extra named entities merged into base map
461
+ * @param {object} [options.limit] — security limits
462
+ * @param {number} [options.limit.maxTotalExpansions=0] — 0 = unlimited
463
+ * @param {number} [options.limit.maxExpandedLength=0] — 0 = unlimited
464
+ * @param {'external'|'base'|'all'|string[]} [options.limit.applyLimitsTo='external']
465
+ * Which entity tiers count against the security limits:
466
+ * - 'external' (default) — only input/runtime + persistent external entities
467
+ * - 'base' — only DEFAULT_XML_ENTITIES + namedEntities
468
+ * - 'all' — every entity regardless of tier
469
+ * - string[] — explicit combination, e.g. ['external', 'base']
470
+ * @param {((resolved: string, original: string) => string)|null} [options.postCheck=null]
471
+ * @param {string[]} [options.remove=[]] — entity names (e.g. ['nbsp', '#13']) to delete (replace with empty string)
472
+ * @param {string[]} [options.leave=[]] — entity names to keep as literal (unchanged in output)
473
+ * @param {object} [options.ncr] — Numeric Character Reference controls
474
+ * @param {1.0|1.1} [options.ncr.xmlVersion=1.0]
475
+ * XML version governing which codepoint ranges are restricted:
476
+ * - 1.0 — C0 controls U+0001–U+001F (except U+0009/000A/000D) are prohibited
477
+ * - 1.1 — C0 controls are allowed when written as NCRs; C1 (U+007F–U+009F) decoded as-is
478
+ * @param {'allow'|'leave'|'remove'|'throw'} [options.ncr.onNCR='allow']
479
+ * Base action for numeric references. Severity order: allow < leave < remove < throw.
480
+ * For codepoint ranges that carry a minimum level (surrogates → remove, XML 1.0 C0 → remove),
481
+ * the effective action is max(onNCR, rangeMinimum).
482
+ * @param {'remove'|'throw'} [options.ncr.nullNCR='remove']
483
+ * Action for U+0000 (null). 'allow' and 'leave' are clamped to 'remove' since null is never safe.
484
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onExternalEntity=null]
485
+ * Hook called when an external entity is registered via `setExternalEntities()` or
486
+ * `addExternalEntity()`. Return `ENTITY_ACTION.ALLOW` to accept the entity,
487
+ * `ENTITY_ACTION.BLOCK` to silently skip it, or `ENTITY_ACTION.THROW` to abort with an error.
488
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onInputEntity=null]
489
+ * Hook called when an input entity is registered via `addInputEntities()`. Return
490
+ * `ENTITY_ACTION.ALLOW` to accept, `ENTITY_ACTION.BLOCK` to silently skip, or
491
+ * `ENTITY_ACTION.THROW` to abort with an error.
492
+ */
493
+ constructor(options = {}) {
494
+ this._limit = options.limit || {};
495
+ this._maxTotalExpansions = this._limit.maxTotalExpansions || 0;
496
+ this._maxExpandedLength = this._limit.maxExpandedLength || 0;
497
+ this._postCheck = typeof options.postCheck === "function" ? options.postCheck : (r) => r;
498
+ this._limitTiers = parseLimitTiers(this._limit.applyLimitsTo ?? LIMIT_TIER_EXTERNAL);
499
+ this._numericAllowed = options.numericAllowed ?? true;
500
+ this._baseMap = mergeEntityMaps(XML, options.namedEntities || null);
501
+ this._externalMap = /* @__PURE__ */ Object.create(null);
502
+ this._inputMap = /* @__PURE__ */ Object.create(null);
503
+ this._totalExpansions = 0;
504
+ this._expandedLength = 0;
505
+ this._removeSet = new Set(options.remove && Array.isArray(options.remove) ? options.remove : []);
506
+ this._leaveSet = new Set(options.leave && Array.isArray(options.leave) ? options.leave : []);
507
+ const ncrCfg = parseNCRConfig(options.ncr);
508
+ this._ncrXmlVersion = ncrCfg.xmlVersion;
509
+ this._ncrOnLevel = ncrCfg.onLevel;
510
+ this._ncrNullLevel = ncrCfg.nullLevel;
511
+ this._onExternalEntity = typeof options.onExternalEntity === "function" ? options.onExternalEntity : null;
512
+ this._onInputEntity = typeof options.onInputEntity === "function" ? options.onInputEntity : null;
513
+ }
514
+ // -------------------------------------------------------------------------
515
+ // Private: registration hook dispatch
516
+ // -------------------------------------------------------------------------
517
+ /**
518
+ * Invoke a registration hook for a single entity name/value pair.
519
+ * Returns true when the entity should be accepted, false when it should be
520
+ * silently skipped (BLOCK), and throws when the hook returns THROW.
521
+ *
522
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} hook
523
+ * @param {string} name
524
+ * @param {string} value
525
+ * @param {string} context — used in error messages ('external' | 'input')
526
+ * @returns {boolean} true = accept, false = skip
527
+ */
528
+ _applyRegistrationHook(hook, name, value, context) {
529
+ if (!hook) return true;
530
+ const action = hook(name, value);
531
+ if (action === ENTITY_ACTION.BLOCK) return false;
532
+ if (action === ENTITY_ACTION.THROW) {
533
+ throw new Error(
534
+ `[EntityDecoder] Registration of ${context} entity "&${name};" was rejected by hook`
535
+ );
536
+ }
537
+ return true;
538
+ }
539
+ // -------------------------------------------------------------------------
540
+ // Persistent external entity registration
541
+ // -------------------------------------------------------------------------
542
+ /**
543
+ * Replace the full set of persistent external entities.
544
+ * All keys are validated — throws on invalid characters.
545
+ * If `onExternalEntity` is set, it is called once per entry; entries that
546
+ * return `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW`
547
+ * aborts the whole call.
548
+ * @param {Record<string, string | { regex?: RegExp, val: string }>} map
549
+ */
550
+ setExternalEntities(map) {
551
+ if (map) {
552
+ for (const key of Object.keys(map)) {
553
+ validateEntityName(key);
554
+ }
555
+ }
556
+ if (!this._onExternalEntity) {
557
+ this._externalMap = mergeEntityMaps(map);
558
+ return;
559
+ }
560
+ const flat = mergeEntityMaps(map);
561
+ const filtered = /* @__PURE__ */ Object.create(null);
562
+ for (const [name, value] of Object.entries(flat)) {
563
+ if (this._applyRegistrationHook(this._onExternalEntity, name, value, "external")) {
564
+ filtered[name] = value;
565
+ }
566
+ }
567
+ this._externalMap = filtered;
568
+ }
569
+ /**
570
+ * Add a single persistent external entity.
571
+ * If `onExternalEntity` is set it is called before the entity is stored;
572
+ * `ENTITY_ACTION.BLOCK` silently skips storage, `ENTITY_ACTION.THROW` raises.
573
+ * @param {string} key
574
+ * @param {string} value
575
+ */
576
+ addExternalEntity(key, value) {
577
+ validateEntityName(key);
578
+ if (typeof value === "string" && value.indexOf("&") === -1) {
579
+ if (this._applyRegistrationHook(this._onExternalEntity, key, value, "external")) {
580
+ this._externalMap[key] = value;
581
+ }
582
+ }
583
+ }
584
+ // -------------------------------------------------------------------------
585
+ // Input / runtime entity registration (per document)
586
+ // -------------------------------------------------------------------------
587
+ /**
588
+ * Inject DOCTYPE entities for the current document.
589
+ * Also resets per-document expansion counters.
590
+ * If `onInputEntity` is set it is called once per entry; entries returning
591
+ * `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW` aborts.
592
+ * @param {Record<string, string | { regx?: RegExp, regex?: RegExp, val: string }>} map
593
+ */
594
+ addInputEntities(map) {
595
+ this._totalExpansions = 0;
596
+ this._expandedLength = 0;
597
+ if (!this._onInputEntity) {
598
+ this._inputMap = mergeEntityMaps(map);
599
+ return;
600
+ }
601
+ const flat = mergeEntityMaps(map);
602
+ const filtered = /* @__PURE__ */ Object.create(null);
603
+ for (const [name, value] of Object.entries(flat)) {
604
+ if (this._applyRegistrationHook(this._onInputEntity, name, value, "input")) {
605
+ filtered[name] = value;
606
+ }
607
+ }
608
+ this._inputMap = filtered;
609
+ }
610
+ // -------------------------------------------------------------------------
611
+ // Per-document reset
612
+ // -------------------------------------------------------------------------
613
+ /**
614
+ * Wipe input/runtime entities and reset counters.
615
+ * Call this before processing each new document.
616
+ * @returns {this}
617
+ */
618
+ reset() {
619
+ this._inputMap = /* @__PURE__ */ Object.create(null);
620
+ this._totalExpansions = 0;
621
+ this._expandedLength = 0;
622
+ return this;
623
+ }
624
+ // -------------------------------------------------------------------------
625
+ // XML version (can be set after construction, e.g. once parser reads <?xml?>)
626
+ // -------------------------------------------------------------------------
627
+ /**
628
+ * Update the XML version used for NCR classification.
629
+ * Call this as soon as the document's `<?xml version="...">` declaration is parsed.
630
+ * @param {1.0|1.1|number} version
631
+ */
632
+ setXmlVersion(version) {
633
+ this._ncrXmlVersion = version === 1.1 ? 1.1 : 1;
634
+ }
635
+ // -------------------------------------------------------------------------
636
+ // Primary API
637
+ // -------------------------------------------------------------------------
638
+ /**
639
+ * Replace all entity references in `str` in a single pass.
640
+ *
641
+ * @param {string} str
642
+ * @returns {string}
643
+ */
644
+ decode(str) {
645
+ if (typeof str !== "string" || str.length === 0) return str;
646
+ if (str.indexOf("&") === -1) return str;
647
+ const original = str;
648
+ const chunks = [];
649
+ const len = str.length;
650
+ let last = 0;
651
+ let i = 0;
652
+ const limitExpansions = this._maxTotalExpansions > 0;
653
+ const limitLength = this._maxExpandedLength > 0;
654
+ const checkLimits = limitExpansions || limitLength;
655
+ while (i < len) {
656
+ if (str.charCodeAt(i) !== 38) {
657
+ i++;
658
+ continue;
659
+ }
660
+ let j = i + 1;
661
+ while (j < len && str.charCodeAt(j) !== 59 && j - i <= 32) j++;
662
+ if (j >= len || str.charCodeAt(j) !== 59) {
663
+ i++;
664
+ continue;
665
+ }
666
+ const token = str.slice(i + 1, j);
667
+ if (token.length === 0) {
668
+ i++;
669
+ continue;
670
+ }
671
+ let replacement;
672
+ let tier;
673
+ if (this._removeSet.has(token)) {
674
+ replacement = "";
675
+ if (tier === void 0) {
676
+ tier = LIMIT_TIER_EXTERNAL;
677
+ }
678
+ } else if (this._leaveSet.has(token)) {
679
+ i++;
680
+ continue;
681
+ } else if (token.charCodeAt(0) === 35) {
682
+ const ncrResult = this._resolveNCR(token);
683
+ if (ncrResult === void 0) {
684
+ i++;
685
+ continue;
686
+ }
687
+ replacement = ncrResult;
688
+ tier = LIMIT_TIER_BASE;
689
+ } else {
690
+ const resolved = this._resolveName(token);
691
+ replacement = resolved?.value;
692
+ tier = resolved?.tier;
693
+ }
694
+ if (replacement === void 0) {
695
+ i++;
696
+ continue;
697
+ }
698
+ if (i > last) chunks.push(str.slice(last, i));
699
+ chunks.push(replacement);
700
+ last = j + 1;
701
+ i = last;
702
+ if (checkLimits && this._tierCounts(tier)) {
703
+ if (limitExpansions) {
704
+ this._totalExpansions++;
705
+ if (this._totalExpansions > this._maxTotalExpansions) {
706
+ throw new Error(
707
+ `[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`
708
+ );
709
+ }
710
+ }
711
+ if (limitLength) {
712
+ const delta = replacement.length - (token.length + 2);
713
+ if (delta > 0) {
714
+ this._expandedLength += delta;
715
+ if (this._expandedLength > this._maxExpandedLength) {
716
+ throw new Error(
717
+ `[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`
718
+ );
719
+ }
720
+ }
721
+ }
722
+ }
723
+ }
724
+ if (last < len) chunks.push(str.slice(last));
725
+ const result = chunks.length === 0 ? str : chunks.join("");
726
+ return this._postCheck(result, original);
727
+ }
728
+ // -------------------------------------------------------------------------
729
+ // Private: limit tier check
730
+ // -------------------------------------------------------------------------
731
+ /**
732
+ * Returns true if a resolved entity of the given tier should count
733
+ * against the expansion/length limits.
734
+ * @param {string} tier — LIMIT_TIER_EXTERNAL | LIMIT_TIER_BASE
735
+ * @returns {boolean}
736
+ */
737
+ _tierCounts(tier) {
738
+ if (this._limitTiers.has(LIMIT_TIER_ALL)) return true;
739
+ return this._limitTiers.has(tier);
740
+ }
741
+ // -------------------------------------------------------------------------
742
+ // Private: entity resolution
743
+ // -------------------------------------------------------------------------
744
+ /**
745
+ * Resolve a named entity token (without & and ;).
746
+ * Priority: inputMap > externalMap > baseMap
747
+ * Returns the resolved value tagged with its limit tier.
748
+ *
749
+ * @param {string} name
750
+ * @returns {{ value: string, tier: string }|undefined}
751
+ */
752
+ _resolveName(name) {
753
+ if (name in this._inputMap) return { value: this._inputMap[name], tier: LIMIT_TIER_EXTERNAL };
754
+ if (name in this._externalMap) return { value: this._externalMap[name], tier: LIMIT_TIER_EXTERNAL };
755
+ if (name in this._baseMap) return { value: this._baseMap[name], tier: LIMIT_TIER_BASE };
756
+ return void 0;
757
+ }
758
+ /**
759
+ * Classify a codepoint and return the minimum action level that must be applied.
760
+ * Returns -1 when no minimum is imposed (normal allow path).
761
+ *
762
+ * Ranges checked (in priority order):
763
+ * 1. U+0000 — null, governed by nullNCR (always ≥ remove)
764
+ * 2. U+D800–U+DFFF — surrogates, always prohibited (min: remove)
765
+ * 3. U+0001–U+001F \ {0x09,0x0A,0x0D} — XML 1.0 restricted C0 (min: remove)
766
+ * (skipped in XML 1.1 — C0 controls are allowed when written as NCRs)
767
+ *
768
+ * @param {number} cp — codepoint
769
+ * @returns {number} — minimum NCR_LEVEL value, or -1 for no restriction
770
+ */
771
+ _classifyNCR(cp) {
772
+ if (cp === 0) return this._ncrNullLevel;
773
+ if (cp >= 55296 && cp <= 57343) return NCR_LEVEL.remove;
774
+ if (this._ncrXmlVersion === 1) {
775
+ if (cp >= 1 && cp <= 31 && !XML10_ALLOWED_C0.has(cp)) return NCR_LEVEL.remove;
776
+ }
777
+ return -1;
778
+ }
779
+ /**
780
+ * Execute a resolved NCR action.
781
+ *
782
+ * @param {number} action — NCR_LEVEL value
783
+ * @param {string} token — raw token (e.g. '#38') for error messages
784
+ * @param {number} cp — codepoint, used only for error messages
785
+ * @returns {string|undefined}
786
+ * - decoded character string → 'allow'
787
+ * - '' → 'remove'
788
+ * - undefined → 'leave' (caller must skip past '&' only)
789
+ * - throws Error → 'throw'
790
+ */
791
+ _applyNCRAction(action, token, cp) {
792
+ switch (action) {
793
+ case NCR_LEVEL.allow:
794
+ return String.fromCodePoint(cp);
795
+ case NCR_LEVEL.remove:
796
+ return "";
797
+ case NCR_LEVEL.leave:
798
+ return void 0;
799
+ // signal: keep literal
800
+ case NCR_LEVEL.throw:
801
+ throw new Error(
802
+ `[EntityDecoder] Prohibited numeric character reference &${token}; (U+${cp.toString(16).toUpperCase().padStart(4, "0")})`
803
+ );
804
+ default:
805
+ return String.fromCodePoint(cp);
806
+ }
807
+ }
808
+ /**
809
+ * Full NCR resolution pipeline for a numeric token.
810
+ *
811
+ * Steps:
812
+ * 1. Parse the codepoint (decimal or hex).
813
+ * 2. Validate the raw codepoint range (NaN, <0, >0x10FFFF).
814
+ * 3. If numericAllowed is false and no minimum restriction applies → leave as-is.
815
+ * 4. Classify the codepoint to find the minimum required action level.
816
+ * 5. Resolve effective action = max(onNCR, minimum).
817
+ * 6. Apply and return.
818
+ *
819
+ * @param {string} token — e.g. '#38', '#x26', '#X26'
820
+ * @returns {string|undefined}
821
+ * - string (incl. '') — replacement ('' = remove)
822
+ * - undefined — leave original &token; as-is
823
+ */
824
+ _resolveNCR(token) {
825
+ const second = token.charCodeAt(1);
826
+ let cp;
827
+ if (second === 120 || second === 88) {
828
+ cp = parseInt(token.slice(2), 16);
829
+ } else {
830
+ cp = parseInt(token.slice(1), 10);
831
+ }
832
+ if (Number.isNaN(cp) || cp < 0 || cp > 1114111) return void 0;
833
+ const minimum = this._classifyNCR(cp);
834
+ if (!this._numericAllowed && minimum < NCR_LEVEL.remove) return void 0;
835
+ const effective = minimum === -1 ? this._ncrOnLevel : Math.max(this._ncrOnLevel, minimum);
836
+ return this._applyNCRAction(effective, token, cp);
837
+ }
838
+ };
839
+
840
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js
841
+ var defaultOnDangerousProperty = (name) => {
842
+ if (DANGEROUS_PROPERTY_NAMES.includes(name)) {
843
+ return "__" + name;
844
+ }
845
+ return name;
846
+ };
847
+ var defaultOptions2 = {
848
+ preserveOrder: false,
849
+ attributeNamePrefix: "@_",
850
+ attributesGroupName: false,
851
+ textNodeName: "#text",
852
+ ignoreAttributes: true,
853
+ removeNSPrefix: false,
854
+ // remove NS from tag name or attribute name if true
855
+ allowBooleanAttributes: false,
856
+ //a tag can have attributes without any value
857
+ //ignoreRootElement : false,
858
+ parseTagValue: true,
859
+ parseAttributeValue: false,
860
+ trimValues: true,
861
+ //Trim string values of tag and attributes
862
+ cdataPropName: false,
863
+ numberParseOptions: {
864
+ hex: true,
865
+ leadingZeros: true,
866
+ eNotation: true,
867
+ unicode: false
868
+ },
869
+ tagValueProcessor: function(tagName, val) {
870
+ return val;
871
+ },
872
+ attributeValueProcessor: function(attrName, val) {
873
+ return val;
874
+ },
875
+ stopNodes: [],
876
+ //nested tags will not be parsed even for errors
877
+ alwaysCreateTextNode: false,
878
+ isArray: () => false,
879
+ commentPropName: false,
880
+ unpairedTags: [],
881
+ processEntities: true,
882
+ htmlEntities: false,
883
+ entityDecoder: null,
884
+ ignoreDeclaration: false,
885
+ ignorePiTags: false,
886
+ transformTagName: false,
887
+ transformAttributeName: false,
888
+ updateTag: function(tagName, jPath, attrs) {
889
+ return tagName;
890
+ },
891
+ // skipEmptyListItem: false
892
+ captureMetaData: false,
893
+ maxNestedTags: 100,
894
+ strictReservedNames: true,
895
+ jPath: true,
896
+ // if true, pass jPath string to callbacks; if false, pass matcher instance
897
+ onDangerousProperty: defaultOnDangerousProperty
898
+ };
899
+ function validatePropertyName(propertyName, optionName) {
900
+ if (typeof propertyName !== "string") {
901
+ return;
902
+ }
903
+ const normalized = propertyName.toLowerCase();
904
+ if (DANGEROUS_PROPERTY_NAMES.some((dangerous) => normalized === dangerous.toLowerCase())) {
905
+ throw new Error(
906
+ `[SECURITY] Invalid ${optionName}: "${propertyName}" is a reserved JavaScript keyword that could cause prototype pollution`
907
+ );
908
+ }
909
+ if (criticalProperties.some((dangerous) => normalized === dangerous.toLowerCase())) {
910
+ throw new Error(
911
+ `[SECURITY] Invalid ${optionName}: "${propertyName}" is a reserved JavaScript keyword that could cause prototype pollution`
912
+ );
913
+ }
914
+ }
915
+ function normalizeProcessEntities(value, htmlEntities) {
916
+ if (typeof value === "boolean") {
917
+ return {
918
+ enabled: value,
919
+ // true or false
920
+ maxEntitySize: 1e4,
921
+ maxExpansionDepth: 1e4,
922
+ maxTotalExpansions: Infinity,
923
+ maxExpandedLength: 1e5,
924
+ maxEntityCount: 1e3,
925
+ allowedTags: null,
926
+ tagFilter: null,
927
+ appliesTo: "all"
928
+ };
929
+ }
930
+ if (typeof value === "object" && value !== null) {
931
+ return {
932
+ enabled: value.enabled !== false,
933
+ maxEntitySize: Math.max(1, value.maxEntitySize ?? 1e4),
934
+ maxExpansionDepth: Math.max(1, value.maxExpansionDepth ?? 1e4),
935
+ maxTotalExpansions: Math.max(1, value.maxTotalExpansions ?? Infinity),
936
+ maxExpandedLength: Math.max(1, value.maxExpandedLength ?? 1e5),
937
+ maxEntityCount: Math.max(1, value.maxEntityCount ?? 1e3),
938
+ allowedTags: value.allowedTags ?? null,
939
+ tagFilter: value.tagFilter ?? null,
940
+ appliesTo: value.appliesTo ?? "all"
941
+ };
942
+ }
943
+ return normalizeProcessEntities(true);
944
+ }
945
+ var buildOptions = function(options) {
946
+ const built = Object.assign({}, defaultOptions2, options);
947
+ const propertyNameOptions = [
948
+ { value: built.attributeNamePrefix, name: "attributeNamePrefix" },
949
+ { value: built.attributesGroupName, name: "attributesGroupName" },
950
+ { value: built.textNodeName, name: "textNodeName" },
951
+ { value: built.cdataPropName, name: "cdataPropName" },
952
+ { value: built.commentPropName, name: "commentPropName" }
953
+ ];
954
+ for (const { value, name } of propertyNameOptions) {
955
+ if (value) {
956
+ validatePropertyName(value, name);
957
+ }
958
+ }
959
+ if (built.onDangerousProperty === null) {
960
+ built.onDangerousProperty = defaultOnDangerousProperty;
961
+ }
962
+ built.processEntities = normalizeProcessEntities(built.processEntities, built.htmlEntities);
963
+ built.unpairedTagsSet = new Set(built.unpairedTags);
964
+ if (built.stopNodes && Array.isArray(built.stopNodes)) {
965
+ built.stopNodes = built.stopNodes.map((node) => {
966
+ if (typeof node === "string" && node.startsWith("*.")) {
967
+ return ".." + node.substring(2);
968
+ }
969
+ return node;
970
+ });
971
+ }
972
+ return built;
973
+ };
974
+
975
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js
976
+ var METADATA_SYMBOL;
977
+ if (typeof Symbol !== "function") {
978
+ METADATA_SYMBOL = "@@xmlMetadata";
979
+ } else {
980
+ METADATA_SYMBOL = /* @__PURE__ */ Symbol("XML Node Metadata");
981
+ }
982
+ var XmlNode = class {
983
+ constructor(tagname) {
984
+ this.tagname = tagname;
985
+ this.child = [];
986
+ this[":@"] = /* @__PURE__ */ Object.create(null);
987
+ }
988
+ add(key, val) {
989
+ if (key === "__proto__") key = "#__proto__";
990
+ this.child.push({ [key]: val });
991
+ }
992
+ addChild(node, startIndex) {
993
+ if (node.tagname === "__proto__") node.tagname = "#__proto__";
994
+ if (node[":@"] && Object.keys(node[":@"]).length > 0) {
995
+ this.child.push({ [node.tagname]: node.child, [":@"]: node[":@"] });
996
+ } else {
997
+ this.child.push({ [node.tagname]: node.child });
998
+ }
999
+ this.addStartIndex(startIndex);
1000
+ }
1001
+ addStartIndex(startIndex) {
1002
+ if (startIndex !== void 0) {
1003
+ this.child[this.child.length - 1][METADATA_SYMBOL] = { startIndex };
1004
+ }
1005
+ }
1006
+ addEndIndex(endIndex) {
1007
+ const lastChild = this.child[this.child.length - 1];
1008
+ if (lastChild !== void 0 && lastChild[METADATA_SYMBOL] !== void 0 && lastChild[METADATA_SYMBOL].endIndex === void 0) {
1009
+ lastChild[METADATA_SYMBOL].endIndex = endIndex;
1010
+ }
1011
+ }
1012
+ /** symbol used for metadata */
1013
+ static getMetaDataSymbol() {
1014
+ return METADATA_SYMBOL;
1015
+ }
1016
+ };
1017
+
1018
+ // node_modules/.pnpm/xml-naming@0.3.0/node_modules/xml-naming/src/index.js
1019
+ var nameStartChar10 = ":A-Za-z_\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD";
1020
+ var nameChar10 = nameStartChar10 + "\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040";
1021
+ var nameStartChar11 = ":A-Za-z_\xC0-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}";
1022
+ var nameChar11 = nameStartChar11 + "\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040";
1023
+ var buildRegexes = (startChar, char, flags = "") => {
1024
+ const ncStart = startChar.replace(":", "");
1025
+ const ncChar = char.replace(":", "");
1026
+ const ncNamePat = `[${ncStart}][${ncChar}]*`;
1027
+ return {
1028
+ name: new RegExp(`^[${startChar}][${char}]*$`, flags),
1029
+ ncName: new RegExp(`^${ncNamePat}$`, flags),
1030
+ qName: new RegExp(`^${ncNamePat}(?::${ncNamePat})?$`, flags),
1031
+ nmToken: new RegExp(`^[${char}]+$`, flags),
1032
+ nmTokens: new RegExp(`^[${char}]+(?:\\s+[${char}]+)*$`, flags)
1033
+ };
1034
+ };
1035
+ var regexes10 = buildRegexes(nameStartChar10, nameChar10);
1036
+ var regexes11 = buildRegexes(nameStartChar11, nameChar11, "u");
1037
+ var nameStartCharAscii = ":A-Za-z_";
1038
+ var nameCharAscii = nameStartCharAscii + "\\-\\.\\d";
1039
+ var regexesAscii = buildRegexes(nameStartCharAscii, nameCharAscii);
1040
+ var getRegexes = (xmlVersion = "1.0", asciiOnly = false) => {
1041
+ if (asciiOnly) return regexesAscii;
1042
+ return xmlVersion === "1.1" ? regexes11 : regexes10;
1043
+ };
1044
+ var qName = (str, { xmlVersion = "1.0", asciiOnly = false } = {}) => getRegexes(xmlVersion, asciiOnly).qName.test(str);
1045
+
1046
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js
1047
+ var DocTypeReader = class {
1048
+ constructor(options, xmlVersion) {
1049
+ this.suppressValidationErr = !options;
1050
+ this.options = options;
1051
+ this.xmlVersion = xmlVersion || 1;
1052
+ }
1053
+ setXmlVersion(xmlVersion = 1) {
1054
+ this.xmlVersion = xmlVersion;
1055
+ }
1056
+ readDocType(xmlData, i) {
1057
+ const entities = /* @__PURE__ */ Object.create(null);
1058
+ let entityCount = 0;
1059
+ if (xmlData[i + 3] === "O" && xmlData[i + 4] === "C" && xmlData[i + 5] === "T" && xmlData[i + 6] === "Y" && xmlData[i + 7] === "P" && xmlData[i + 8] === "E") {
1060
+ i = i + 9;
1061
+ let angleBracketsCount = 1;
1062
+ let hasBody = false, comment = false;
1063
+ let quoteChar = null;
1064
+ let exp = "";
1065
+ for (; i < xmlData.length; i++) {
1066
+ if (quoteChar !== null) {
1067
+ if (xmlData[i] === quoteChar) quoteChar = null;
1068
+ exp += xmlData[i];
1069
+ continue;
1070
+ }
1071
+ if (!hasBody && !comment && (xmlData[i] === '"' || xmlData[i] === "'")) {
1072
+ quoteChar = xmlData[i];
1073
+ exp += xmlData[i];
1074
+ continue;
1075
+ }
1076
+ if (xmlData[i] === "<" && !comment) {
1077
+ if (hasBody && hasSeq(xmlData, "!ENTITY", i)) {
1078
+ i += 7;
1079
+ let entityName, val;
1080
+ [entityName, val, i] = this.readEntityExp(xmlData, i + 1, this.suppressValidationErr);
1081
+ if (val.indexOf("&") === -1) {
1082
+ if (this.options.enabled !== false && this.options.maxEntityCount != null && entityCount >= this.options.maxEntityCount) {
1083
+ throw new Error(
1084
+ `Entity count (${entityCount + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`
1085
+ );
1086
+ }
1087
+ entities[entityName] = val;
1088
+ entityCount++;
1089
+ }
1090
+ } else if (hasBody && hasSeq(xmlData, "!ELEMENT", i)) {
1091
+ i += 8;
1092
+ const { index } = this.readElementExp(xmlData, i + 1);
1093
+ i = index;
1094
+ } else if (hasBody && hasSeq(xmlData, "!ATTLIST", i)) {
1095
+ i += 8;
1096
+ } else if (hasBody && hasSeq(xmlData, "!NOTATION", i)) {
1097
+ i += 9;
1098
+ const { index } = this.readNotationExp(xmlData, i + 1, this.suppressValidationErr);
1099
+ i = index;
1100
+ } else if (hasSeq(xmlData, "!--", i)) comment = true;
1101
+ else throw new Error(`Invalid DOCTYPE`);
1102
+ angleBracketsCount++;
1103
+ exp = "";
1104
+ } else if (xmlData[i] === ">") {
1105
+ if (comment) {
1106
+ if (xmlData[i - 1] === "-" && xmlData[i - 2] === "-") {
1107
+ comment = false;
1108
+ angleBracketsCount--;
1109
+ }
1110
+ } else {
1111
+ angleBracketsCount--;
1112
+ }
1113
+ if (angleBracketsCount === 0) {
1114
+ break;
1115
+ }
1116
+ } else if (xmlData[i] === "[") {
1117
+ hasBody = true;
1118
+ } else {
1119
+ exp += xmlData[i];
1120
+ }
1121
+ }
1122
+ if (quoteChar !== null || angleBracketsCount !== 0) {
1123
+ throw new Error(`Unclosed DOCTYPE`);
1124
+ }
1125
+ } else {
1126
+ throw new Error(`Invalid Tag instead of DOCTYPE`);
1127
+ }
1128
+ return { entities, i };
1129
+ }
1130
+ readEntityExp(xmlData, i) {
1131
+ i = skipWhitespace(xmlData, i);
1132
+ const startIndex = i;
1133
+ while (i < xmlData.length && !/\s/.test(xmlData[i]) && xmlData[i] !== '"' && xmlData[i] !== "'") {
1134
+ i++;
1135
+ }
1136
+ let entityName = xmlData.substring(startIndex, i);
1137
+ validateEntityName2(entityName, { xmlVersion: this.xmlVersion });
1138
+ i = skipWhitespace(xmlData, i);
1139
+ if (!this.suppressValidationErr) {
1140
+ if (xmlData.substring(i, i + 6).toUpperCase() === "SYSTEM") {
1141
+ throw new Error("External entities are not supported");
1142
+ } else if (xmlData[i] === "%") {
1143
+ throw new Error("Parameter entities are not supported");
1144
+ }
1145
+ }
1146
+ let entityValue = "";
1147
+ [i, entityValue] = this.readIdentifierVal(xmlData, i, "entity");
1148
+ if (this.options.enabled !== false && this.options.maxEntitySize != null && entityValue.length > this.options.maxEntitySize) {
1149
+ throw new Error(
1150
+ `Entity "${entityName}" size (${entityValue.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`
1151
+ );
1152
+ }
1153
+ i--;
1154
+ return [entityName, entityValue, i];
1155
+ }
1156
+ readNotationExp(xmlData, i) {
1157
+ i = skipWhitespace(xmlData, i);
1158
+ const startIndex = i;
1159
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
1160
+ i++;
1161
+ }
1162
+ let notationName = xmlData.substring(startIndex, i);
1163
+ !this.suppressValidationErr && validateEntityName2(notationName, { xmlVersion: this.xmlVersion });
1164
+ i = skipWhitespace(xmlData, i);
1165
+ const identifierType = xmlData.substring(i, i + 6).toUpperCase();
1166
+ if (!this.suppressValidationErr && identifierType !== "SYSTEM" && identifierType !== "PUBLIC") {
1167
+ throw new Error(`Expected SYSTEM or PUBLIC, found "${identifierType}"`);
1168
+ }
1169
+ i += identifierType.length;
1170
+ i = skipWhitespace(xmlData, i);
1171
+ let publicIdentifier = null;
1172
+ let systemIdentifier = null;
1173
+ if (identifierType === "PUBLIC") {
1174
+ [i, publicIdentifier] = this.readIdentifierVal(xmlData, i, "publicIdentifier");
1175
+ i = skipWhitespace(xmlData, i);
1176
+ if (xmlData[i] === '"' || xmlData[i] === "'") {
1177
+ [i, systemIdentifier] = this.readIdentifierVal(xmlData, i, "systemIdentifier");
1178
+ }
1179
+ } else if (identifierType === "SYSTEM") {
1180
+ [i, systemIdentifier] = this.readIdentifierVal(xmlData, i, "systemIdentifier");
1181
+ if (!this.suppressValidationErr && !systemIdentifier) {
1182
+ throw new Error("Missing mandatory system identifier for SYSTEM notation");
1183
+ }
1184
+ }
1185
+ return { notationName, publicIdentifier, systemIdentifier, index: --i };
1186
+ }
1187
+ readIdentifierVal(xmlData, i, type) {
1188
+ let identifierVal = "";
1189
+ const startChar = xmlData[i];
1190
+ if (startChar !== '"' && startChar !== "'") {
1191
+ throw new Error(`Expected quoted string, found "${startChar}"`);
1192
+ }
1193
+ i++;
1194
+ const startIndex = i;
1195
+ while (i < xmlData.length && xmlData[i] !== startChar) {
1196
+ i++;
1197
+ }
1198
+ identifierVal = xmlData.substring(startIndex, i);
1199
+ if (xmlData[i] !== startChar) {
1200
+ throw new Error(`Unterminated ${type} value`);
1201
+ }
1202
+ i++;
1203
+ return [i, identifierVal];
1204
+ }
1205
+ readElementExp(xmlData, i) {
1206
+ i = skipWhitespace(xmlData, i);
1207
+ const startIndex = i;
1208
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
1209
+ i++;
1210
+ }
1211
+ let elementName = xmlData.substring(startIndex, i);
1212
+ if (!this.suppressValidationErr && !qName(elementName, { xmlVersion: this.xmlVersion })) {
1213
+ throw new Error(`Invalid element name: "${elementName}"`);
1214
+ }
1215
+ i = skipWhitespace(xmlData, i);
1216
+ let contentModel = "";
1217
+ if (xmlData[i] === "E" && hasSeq(xmlData, "MPTY", i)) i += 4;
1218
+ else if (xmlData[i] === "A" && hasSeq(xmlData, "NY", i)) i += 2;
1219
+ else if (xmlData[i] === "(") {
1220
+ i++;
1221
+ const startIndex2 = i;
1222
+ while (i < xmlData.length && xmlData[i] !== ")") {
1223
+ i++;
1224
+ }
1225
+ contentModel = xmlData.substring(startIndex2, i);
1226
+ if (xmlData[i] !== ")") {
1227
+ throw new Error("Unterminated content model");
1228
+ }
1229
+ } else if (!this.suppressValidationErr) {
1230
+ throw new Error(`Invalid Element Expression, found "${xmlData[i]}"`);
1231
+ }
1232
+ return {
1233
+ elementName,
1234
+ contentModel: contentModel.trim(),
1235
+ index: i
1236
+ };
1237
+ }
1238
+ readAttlistExp(xmlData, i) {
1239
+ i = skipWhitespace(xmlData, i);
1240
+ let startIndex = i;
1241
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
1242
+ i++;
1243
+ }
1244
+ let elementName = xmlData.substring(startIndex, i);
1245
+ validateEntityName2(elementName, { xmlVersion: this.xmlVersion });
1246
+ i = skipWhitespace(xmlData, i);
1247
+ startIndex = i;
1248
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
1249
+ i++;
1250
+ }
1251
+ let attributeName = xmlData.substring(startIndex, i);
1252
+ if (!validateEntityName2(attributeName, { xmlVersion: this.xmlVersion })) {
1253
+ throw new Error(`Invalid attribute name: "${attributeName}"`);
1254
+ }
1255
+ i = skipWhitespace(xmlData, i);
1256
+ let attributeType = "";
1257
+ if (xmlData.substring(i, i + 8).toUpperCase() === "NOTATION") {
1258
+ attributeType = "NOTATION";
1259
+ i += 8;
1260
+ i = skipWhitespace(xmlData, i);
1261
+ if (xmlData[i] !== "(") {
1262
+ throw new Error(`Expected '(', found "${xmlData[i]}"`);
1263
+ }
1264
+ i++;
1265
+ let allowedNotations = [];
1266
+ while (i < xmlData.length && xmlData[i] !== ")") {
1267
+ const startIndex2 = i;
1268
+ while (i < xmlData.length && xmlData[i] !== "|" && xmlData[i] !== ")") {
1269
+ i++;
1270
+ }
1271
+ let notation = xmlData.substring(startIndex2, i);
1272
+ notation = notation.trim();
1273
+ if (!validateEntityName2(notation, { xmlVersion: this.xmlVersion })) {
1274
+ throw new Error(`Invalid notation name: "${notation}"`);
1275
+ }
1276
+ allowedNotations.push(notation);
1277
+ if (xmlData[i] === "|") {
1278
+ i++;
1279
+ i = skipWhitespace(xmlData, i);
1280
+ }
1281
+ }
1282
+ if (xmlData[i] !== ")") {
1283
+ throw new Error("Unterminated list of notations");
1284
+ }
1285
+ i++;
1286
+ attributeType += " (" + allowedNotations.join("|") + ")";
1287
+ } else {
1288
+ const startIndex2 = i;
1289
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
1290
+ i++;
1291
+ }
1292
+ attributeType += xmlData.substring(startIndex2, i);
1293
+ const validTypes = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
1294
+ if (!this.suppressValidationErr && !validTypes.includes(attributeType.toUpperCase())) {
1295
+ throw new Error(`Invalid attribute type: "${attributeType}"`);
1296
+ }
1297
+ }
1298
+ i = skipWhitespace(xmlData, i);
1299
+ let defaultValue = "";
1300
+ if (xmlData.substring(i, i + 8).toUpperCase() === "#REQUIRED") {
1301
+ defaultValue = "#REQUIRED";
1302
+ i += 8;
1303
+ } else if (xmlData.substring(i, i + 7).toUpperCase() === "#IMPLIED") {
1304
+ defaultValue = "#IMPLIED";
1305
+ i += 7;
1306
+ } else {
1307
+ [i, defaultValue] = this.readIdentifierVal(xmlData, i, "ATTLIST");
1308
+ }
1309
+ return {
1310
+ elementName,
1311
+ attributeName,
1312
+ attributeType,
1313
+ defaultValue,
1314
+ index: i
1315
+ };
1316
+ }
1317
+ };
1318
+ var skipWhitespace = (data, index) => {
1319
+ while (index < data.length && /\s/.test(data[index])) {
1320
+ index++;
1321
+ }
1322
+ return index;
1323
+ };
1324
+ function hasSeq(data, seq, i) {
1325
+ for (let j = 0; j < seq.length; j++) {
1326
+ if (seq[j] !== data[i + j + 1]) return false;
1327
+ }
1328
+ return true;
1329
+ }
1330
+ function validateEntityName2(name, xmlVersion) {
1331
+ if (qName(name, { xmlVersion }))
1332
+ return name;
1333
+ else
1334
+ throw new Error(`Invalid entity name ${name}`);
1335
+ }
1336
+
1337
+ // node_modules/.pnpm/anynum@1.0.1/node_modules/anynum/digitTable.js
1338
+ var SCRIPT_ZEROS = [
1339
+ // Basic Latin (ASCII) — included for completeness / pass-through
1340
+ 48,
1341
+ // 0-9
1342
+ // Arabic scripts
1343
+ 1632,
1344
+ // Arabic-Indic ٠١٢٣٤٥٦٧٨٩
1345
+ 1776,
1346
+ // Extended Arabic-Indic (Urdu/Persian/Sindhi) ۰۱۲۳
1347
+ // Indic scripts
1348
+ 2406,
1349
+ // Devanagari ०१२३४५६७८९
1350
+ 2534,
1351
+ // Bengali ০১২৩৪৫৬৭৮৯
1352
+ 2662,
1353
+ // Gurmukhi ੦੧੨੩੪੫੬੭੮੯
1354
+ 2790,
1355
+ // Gujarati ૦૧૨૩૪૫૬૭૮૯
1356
+ 2918,
1357
+ // Odia ୦୧୨୩୪୫୬୭୮୯
1358
+ 3046,
1359
+ // Tamil ௦௧௨௩௪௫௬௭௮௯
1360
+ 3174,
1361
+ // Telugu ౦౧౨౩౪౫౬౭౮౯
1362
+ 3302,
1363
+ // Kannada ೦೧೨೩೪೫೬೭೮೯
1364
+ 3430,
1365
+ // Malayalam ൦൧൨൩൪൫൬൭൮൯
1366
+ 3558,
1367
+ // Sinhala Archaic ෦෧෨෩෪෫෬෭෮෯
1368
+ // Southeast Asian scripts
1369
+ 3664,
1370
+ // Thai ๐๑๒๓๔๕๖๗๘๙
1371
+ 3792,
1372
+ // Lao ໐໑໒໓໔໕໖໗໘໙
1373
+ 3872,
1374
+ // Tibetan ༠༡༢༣༤༥༦༧༨༩
1375
+ 4160,
1376
+ // Myanmar ၀၁၂၃၄၅၆၇၈၉
1377
+ 4240,
1378
+ // Myanmar Shan ႐႑႒႓႔႕႖႗႘႙
1379
+ 6112,
1380
+ // Khmer ០១២៣៤៥៦៧៨៩
1381
+ 6160,
1382
+ // Mongolian ᠐᠑᠒᠓᠔᠕᠖᠗᠘᠙
1383
+ 6470,
1384
+ // Limbu ᥆᥇᥈᥉᥊᥋᥌᥍᥎᥏
1385
+ 6608,
1386
+ // New Tai Lue ᧐᧑᧒᧓᧔᧕᧖᧗᧘᧙
1387
+ 6784,
1388
+ // Tai Tham Hora ᪀᪁᪂᪃᪄᪅᪆᪇᪈᪉
1389
+ 6800,
1390
+ // Tai Tham Tham ᪐᪑᪒᪓᪔᪕᪖᪗᪘᪙
1391
+ 6992,
1392
+ // Balinese ᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙
1393
+ 7088,
1394
+ // Sundanese ᮰᮱᮲᮳᮴᮵᮶᮷᮸᮹
1395
+ 7232,
1396
+ // Lepcha ᱀᱁᱂᱃᱄᱅᱆᱇᱈᱉
1397
+ 7248,
1398
+ // Ol Chiki ᱐᱑᱒᱓᱔᱕᱖᱗᱘᱙
1399
+ // Fullwidth (CJK context)
1400
+ 65296,
1401
+ // Fullwidth 0123456789
1402
+ // Mathematical digit variants (Unicode math block)
1403
+ 120782,
1404
+ // Mathematical Bold
1405
+ 120792,
1406
+ // Mathematical Double-Struck
1407
+ 120802,
1408
+ // Mathematical Sans-Serif
1409
+ 120812,
1410
+ // Mathematical Sans-Serif Bold
1411
+ 120822,
1412
+ // Mathematical Monospace
1413
+ // Other scripts
1414
+ 66720,
1415
+ // Osmanya 𐒠𐒡𐒢𐒣𐒤𐒥𐒦𐒧𐒨𐒩
1416
+ 68912,
1417
+ // Hanifi Rohingya 𐴰𐴱𐴲𐴳𐴴𐴵𐴶𐴷𐴸𐴹
1418
+ 69734,
1419
+ // Brahmi 𑁦𑁧𑁨𑁩𑁪𑁫𑁬𑁭𑁮𑁯
1420
+ 69872,
1421
+ // Sora Sompeng 𑃰𑃱𑃲𑃳𑃴𑃵𑃶𑃷𑃸𑃹
1422
+ 69942,
1423
+ // Chakma 𑄶𑄷𑄸𑄹𑄺𑄻𑄼𑄽𑄾𑄿
1424
+ 70096,
1425
+ // Sharada 𑇐𑇑𑇒𑇓𑇔𑇕𑇖𑇗𑇘𑇙
1426
+ 70384,
1427
+ // Khudawadi 𑋰𑋱𑋲𑋳𑋴𑋵𑋶𑋷𑋸𑋹
1428
+ 70736,
1429
+ // Newa 𑑐𑑑𑑒𑑓𑑔𑑕𑑖𑑗𑑘𑑙
1430
+ 70864,
1431
+ // Tirhuta 𑓐𑓑𑓒𑓓𑓔𑓕𑓖𑓗𑓘𑓙
1432
+ 71248,
1433
+ // Modi 𑙐𑙑𑙒𑙓𑙔𑙕𑙖𑙗𑙘𑙙
1434
+ 71360,
1435
+ // Takri 𑛀𑛁𑛂𑛃𑛄𑛅𑛆𑛇𑛈𑛉
1436
+ 71472,
1437
+ // Ahom 𑜰𑜱𑜲𑜳𑜴𑜵𑜶𑜷𑜸𑜹
1438
+ 71904,
1439
+ // Warang Citi 𑣠𑣡𑣢𑣣𑣤𑣥𑣦𑣧𑣨𑣩
1440
+ 72016,
1441
+ // Dives Akuru 𑥐𑥑𑥒𑥓𑥔𑥕𑥖𑥗𑥘𑥙
1442
+ 72688,
1443
+ // Khitan Small Script 𑯰𑯱𑯲𑯳𑯴𑯵𑯶𑯷𑯸𑯹
1444
+ 72784,
1445
+ // Bhaiksuki 𑱐𑱑𑱒𑱓𑱔𑱕𑱖𑱗𑱘𑱙
1446
+ 73040,
1447
+ // Masaram Gondi 𑵐𑵑𑵒𑵓𑵔𑵕𑵖𑵗𑵘𑵙
1448
+ 73120,
1449
+ // Gunjala Gondi 𑶠𑶡𑶢𑶣𑶤𑶥𑶦𑶧𑶨𑶩
1450
+ 73552,
1451
+ // Kawi 𑽐𑽑𑽒𑽓𑽔𑽕𑽖𑽗𑽘𑽙
1452
+ 92768,
1453
+ // Mro 𖩠𖩡𖩢𖩣𖩤𖩥𖩦𖩧𖩨𖩩
1454
+ 92864,
1455
+ // Tangsa 𖫀𖫁𖫂𖫃𖫄𖫅𖫆𖫇𖫈𖫉
1456
+ 93008,
1457
+ // Pahawh Hmong 𖭐𖭑𖭒𖭓𖭔𖭕𖭖𖭗𖭘𖭙
1458
+ 123200,
1459
+ // Nyiakeng Puachue Hmong 𞅀𞅁𞅂𞅃𞅄𞅅𞅆𞅇𞅈𞅉
1460
+ 123632,
1461
+ // Wancho 𞋰𞋱𞋲𞋳𞋴𞋵𞋶𞋷𞋸𞋹
1462
+ 124144,
1463
+ // Nag Mundari 𞓰𞓱𞓲𞓳𞓴𞓵𞓶𞓷𞓸𞓹
1464
+ 125264,
1465
+ // Adlam 𞥐𞥑𞥒𞥓𞥔𞥕𞥖𞥗𞥘𞥙
1466
+ 130032
1467
+ // Segmented digit symbols 🯰🯱🯲🯳🯴🯵🯶🯷🯸🯹
1468
+ ];
1469
+ var NOT_DIGIT = 255;
1470
+ var HIGH_MAP = /* @__PURE__ */ new Map();
1471
+ var LOW_MAX = 65535;
1472
+ var LOW_MIN = 1632;
1473
+ var TABLE_OFFSET = LOW_MIN;
1474
+ var TABLE_SIZE = LOW_MAX - LOW_MIN + 1;
1475
+ var TABLE = new Uint8Array(TABLE_SIZE).fill(NOT_DIGIT);
1476
+ for (const zero of SCRIPT_ZEROS) {
1477
+ for (let d = 0; d < 10; d++) {
1478
+ const cp = zero + d;
1479
+ if (cp <= LOW_MAX) {
1480
+ TABLE[cp - TABLE_OFFSET] = d;
1481
+ } else {
1482
+ HIGH_MAP.set(cp, d);
1483
+ }
1484
+ }
1485
+ }
1486
+
1487
+ // node_modules/.pnpm/anynum@1.0.1/node_modules/anynum/anynum.js
1488
+ var CHAR_0 = 48;
1489
+ var CHAR_9 = 57;
1490
+ var CHAR_MINUS = 45;
1491
+ var MINUS_SET = /* @__PURE__ */ new Set([8722, 65293, 65123]);
1492
+ function anynum(str) {
1493
+ if (typeof str !== "string") return str;
1494
+ const len = str.length;
1495
+ if (len === 0) return str;
1496
+ let firstHit = -1;
1497
+ for (let i = 0; i < len; i++) {
1498
+ const cc = str.charCodeAt(i);
1499
+ if (cc >= CHAR_0 && cc <= CHAR_9 || cc === CHAR_MINUS) continue;
1500
+ if (cc < TABLE_OFFSET) {
1501
+ if (MINUS_SET.has(cc)) {
1502
+ firstHit = i;
1503
+ break;
1504
+ }
1505
+ continue;
1506
+ }
1507
+ if (cc >= 55296 && cc <= 56319) {
1508
+ if (i + 1 < len) {
1509
+ const low = str.charCodeAt(i + 1);
1510
+ if (low >= 56320 && low <= 57343) {
1511
+ const cp = 65536 + (cc - 55296 << 10) + (low - 56320);
1512
+ if (HIGH_MAP.has(cp)) {
1513
+ firstHit = i;
1514
+ break;
1515
+ }
1516
+ }
1517
+ }
1518
+ continue;
1519
+ }
1520
+ if (TABLE[cc - TABLE_OFFSET] !== NOT_DIGIT || MINUS_SET.has(cc)) {
1521
+ firstHit = i;
1522
+ break;
1523
+ }
1524
+ }
1525
+ if (firstHit === -1) return str;
1526
+ const chars = [];
1527
+ if (firstHit > 0) chars.push(str.slice(0, firstHit));
1528
+ for (let i = firstHit; i < len; i++) {
1529
+ const cc = str.charCodeAt(i);
1530
+ if (cc >= CHAR_0 && cc <= CHAR_9 || cc === CHAR_MINUS) {
1531
+ chars.push(str[i]);
1532
+ continue;
1533
+ }
1534
+ if (cc < TABLE_OFFSET) {
1535
+ chars.push(MINUS_SET.has(cc) ? "-" : str[i]);
1536
+ continue;
1537
+ }
1538
+ if (cc >= 55296 && cc <= 56319) {
1539
+ if (i + 1 < len) {
1540
+ const low = str.charCodeAt(i + 1);
1541
+ if (low >= 56320 && low <= 57343) {
1542
+ const cp = 65536 + (cc - 55296 << 10) + (low - 56320);
1543
+ const d2 = HIGH_MAP.get(cp);
1544
+ if (d2 !== void 0) {
1545
+ chars.push(String.fromCharCode(d2 + 48));
1546
+ i++;
1547
+ continue;
1548
+ }
1549
+ }
1550
+ }
1551
+ chars.push(str[i]);
1552
+ continue;
1553
+ }
1554
+ if (MINUS_SET.has(cc)) {
1555
+ chars.push("-");
1556
+ continue;
1557
+ }
1558
+ const d = TABLE[cc - TABLE_OFFSET];
1559
+ chars.push(d !== NOT_DIGIT ? String.fromCharCode(d + 48) : str[i]);
1560
+ }
1561
+ return chars.join("");
1562
+ }
1563
+ var anynum_default = anynum;
1564
+
1565
+ // node_modules/.pnpm/strnum@2.4.2/node_modules/strnum/strnum.js
1566
+ var hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;
1567
+ var binRegex = /^0b[01]+$/;
1568
+ var octRegex = /^0o[0-7]+$/;
1569
+ var numRegex = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/;
1570
+ var consider = {
1571
+ hex: true,
1572
+ binary: false,
1573
+ octal: false,
1574
+ leadingZeros: true,
1575
+ decimalPoint: ".",
1576
+ eNotation: true,
1577
+ //skipLike: /regex/,
1578
+ infinity: "original",
1579
+ // "null", "infinity" (Infinity type), "string" ("Infinity" (the string literal))
1580
+ unicode: false
1581
+ };
1582
+ function toNumber(str, options = {}) {
1583
+ options = Object.assign({}, consider, options);
1584
+ if (!str || typeof str !== "string") return str;
1585
+ let trimmedStr = str.trim();
1586
+ if (trimmedStr.length === 0) return str;
1587
+ else if (options.skipLike !== void 0 && options.skipLike.test(trimmedStr)) return str;
1588
+ else if (trimmedStr === "0") return 0;
1589
+ if (options.unicode) {
1590
+ trimmedStr = anynum_default(trimmedStr);
1591
+ if (trimmedStr === "0") return 0;
1592
+ }
1593
+ if (options.hex && hexRegex.test(trimmedStr)) {
1594
+ return parse_int(trimmedStr, 16);
1595
+ } else if (options.binary && binRegex.test(trimmedStr)) {
1596
+ return parse_int(trimmedStr, 2);
1597
+ } else if (options.octal && octRegex.test(trimmedStr)) {
1598
+ return parse_int(trimmedStr, 8);
1599
+ } else if (!isFinite(trimmedStr)) {
1600
+ return handleInfinity(str, Number(trimmedStr), options);
1601
+ } else if (trimmedStr.includes("e") || trimmedStr.includes("E")) {
1602
+ return resolveEnotation(str, trimmedStr, options);
1603
+ } else {
1604
+ const match = numRegex.exec(trimmedStr);
1605
+ if (match) {
1606
+ const sign = match[1] || "";
1607
+ const leadingZeros = match[2];
1608
+ let numTrimmedByZeros = trimZeros(match[3]);
1609
+ const decimalAdjacentToLeadingZeros = sign ? (
1610
+ // 0., -00., 000.
1611
+ str[leadingZeros.length + 1] === "."
1612
+ ) : str[leadingZeros.length] === ".";
1613
+ if (!options.leadingZeros && (leadingZeros.length > 1 || leadingZeros.length === 1 && !decimalAdjacentToLeadingZeros)) {
1614
+ return str;
1615
+ } else {
1616
+ const num = Number(trimmedStr);
1617
+ const parsedStr = String(num);
1618
+ if (num === 0) return num;
1619
+ if (parsedStr.search(/[eE]/) !== -1) {
1620
+ if (options.eNotation) return num;
1621
+ else return str;
1622
+ } else if (trimmedStr.indexOf(".") !== -1) {
1623
+ if (parsedStr === "0") return num;
1624
+ else if (parsedStr === numTrimmedByZeros) return num;
1625
+ else if (parsedStr === `${sign}${numTrimmedByZeros}`) return num;
1626
+ else return str;
1627
+ }
1628
+ let n = leadingZeros ? numTrimmedByZeros : trimmedStr;
1629
+ if (leadingZeros) {
1630
+ return n === parsedStr || sign + n === parsedStr ? num : str;
1631
+ } else {
1632
+ return n === parsedStr || n === sign + parsedStr ? num : str;
1633
+ }
1634
+ }
1635
+ } else {
1636
+ return str;
1637
+ }
1638
+ }
1639
+ }
1640
+ var eNotationRegx = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
1641
+ function resolveEnotation(str, trimmedStr, options) {
1642
+ if (!options.eNotation) return str;
1643
+ const notation = trimmedStr.match(eNotationRegx);
1644
+ if (notation) {
1645
+ let sign = notation[1] || "";
1646
+ const eChar = notation[3].indexOf("e") === -1 ? "E" : "e";
1647
+ const leadingZeros = notation[2];
1648
+ const eAdjacentToLeadingZeros = sign ? (
1649
+ // 0E.
1650
+ str[leadingZeros.length + 1] === eChar
1651
+ ) : str[leadingZeros.length] === eChar;
1652
+ if (leadingZeros.length > 1 && eAdjacentToLeadingZeros) return str;
1653
+ else if (leadingZeros.length === 1 && (notation[3].startsWith(`.${eChar}`) || notation[3][0] === eChar)) {
1654
+ return Number(trimmedStr);
1655
+ } else if (leadingZeros.length > 0) {
1656
+ if (options.leadingZeros && !eAdjacentToLeadingZeros) {
1657
+ trimmedStr = (notation[1] || "") + notation[3];
1658
+ return Number(trimmedStr);
1659
+ } else return str;
1660
+ } else {
1661
+ return Number(trimmedStr);
1662
+ }
1663
+ } else {
1664
+ return str;
1665
+ }
1666
+ }
1667
+ function trimZeros(numStr) {
1668
+ if (numStr && numStr.indexOf(".") !== -1) {
1669
+ let end = numStr.length;
1670
+ while (end > 0 && numStr.charCodeAt(end - 1) === 48) end--;
1671
+ numStr = numStr.slice(0, end);
1672
+ if (numStr === ".") numStr = "0";
1673
+ else if (numStr[0] === ".") numStr = "0" + numStr;
1674
+ else if (numStr[numStr.length - 1] === ".") numStr = numStr.substring(0, numStr.length - 1);
1675
+ return numStr;
1676
+ }
1677
+ return numStr;
1678
+ }
1679
+ function parse_int(numStr, base) {
1680
+ const str = numStr.trim();
1681
+ if (base === 2 || base === 8) numStr = str.substring(2);
1682
+ if (parseInt) return parseInt(numStr, base);
1683
+ else if (Number.parseInt) return Number.parseInt(numStr, base);
1684
+ else if (window && window.parseInt) return window.parseInt(numStr, base);
1685
+ else throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
1686
+ }
1687
+ function handleInfinity(str, num, options) {
1688
+ const isPositive = num === Infinity;
1689
+ switch (options.infinity.toLowerCase()) {
1690
+ case "null":
1691
+ return null;
1692
+ case "infinity":
1693
+ return num;
1694
+ // Return Infinity or -Infinity
1695
+ case "string":
1696
+ return isPositive ? "Infinity" : "-Infinity";
1697
+ case "original":
1698
+ default:
1699
+ return str;
1700
+ }
1701
+ }
1702
+
1703
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/ignoreAttributes.js
1704
+ function getIgnoreAttributesFn(ignoreAttributes) {
1705
+ if (typeof ignoreAttributes === "function") {
1706
+ return ignoreAttributes;
1707
+ }
1708
+ if (Array.isArray(ignoreAttributes)) {
1709
+ return (attrName) => {
1710
+ for (const pattern of ignoreAttributes) {
1711
+ if (typeof pattern === "string" && attrName === pattern) {
1712
+ return true;
1713
+ }
1714
+ if (pattern instanceof RegExp && pattern.test(attrName)) {
1715
+ return true;
1716
+ }
1717
+ }
1718
+ };
1719
+ }
1720
+ return () => false;
1721
+ }
1722
+
1723
+ // node_modules/.pnpm/path-expression-matcher@1.6.2/node_modules/path-expression-matcher/src/Expression.js
1724
+ var Expression = class {
1725
+ /**
1726
+ * Create a new Expression
1727
+ * @param {string} pattern - Pattern string (e.g., "root.users.user", "..user[id]")
1728
+ * @param {Object} options - Configuration options
1729
+ * @param {string} options.separator - Path separator (default: '.')
1730
+ */
1731
+ constructor(pattern, options = {}, data) {
1732
+ this.pattern = pattern;
1733
+ this.separator = options.separator || ".";
1734
+ this.segments = this._parse(pattern);
1735
+ this.data = data;
1736
+ this._hasDeepWildcard = this.segments.some((seg) => seg.type === "deep-wildcard");
1737
+ this._hasAttributeCondition = this.segments.some((seg) => seg.attrName !== void 0);
1738
+ this._hasPositionSelector = this.segments.some((seg) => seg.position !== void 0);
1739
+ }
1740
+ /**
1741
+ * Parse pattern string into segments
1742
+ * @private
1743
+ * @param {string} pattern - Pattern to parse
1744
+ * @returns {Array} Array of segment objects
1745
+ */
1746
+ _parse(pattern) {
1747
+ const segments = [];
1748
+ let i = 0;
1749
+ let currentPart = "";
1750
+ while (i < pattern.length) {
1751
+ if (pattern[i] === this.separator) {
1752
+ if (i + 1 < pattern.length && pattern[i + 1] === this.separator) {
1753
+ if (currentPart.trim()) {
1754
+ segments.push(this._parseSegment(currentPart.trim()));
1755
+ currentPart = "";
1756
+ }
1757
+ segments.push({ type: "deep-wildcard" });
1758
+ i += 2;
1759
+ } else {
1760
+ if (currentPart.trim()) {
1761
+ segments.push(this._parseSegment(currentPart.trim()));
1762
+ }
1763
+ currentPart = "";
1764
+ i++;
1765
+ }
1766
+ } else {
1767
+ currentPart += pattern[i];
1768
+ i++;
1769
+ }
1770
+ }
1771
+ if (currentPart.trim()) {
1772
+ segments.push(this._parseSegment(currentPart.trim()));
1773
+ }
1774
+ return segments;
1775
+ }
1776
+ /**
1777
+ * Parse a single segment
1778
+ * @private
1779
+ * @param {string} part - Segment string (e.g., "user", "ns::user", "user[id]", "ns::user:first")
1780
+ * @returns {Object} Segment object
1781
+ */
1782
+ _parseSegment(part) {
1783
+ const segment = { type: "tag" };
1784
+ let bracketContent = null;
1785
+ let withoutBrackets = part;
1786
+ const bracketMatch = part.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);
1787
+ if (bracketMatch) {
1788
+ withoutBrackets = bracketMatch[1] + bracketMatch[3];
1789
+ if (bracketMatch[2]) {
1790
+ const content = bracketMatch[2].slice(1, -1);
1791
+ if (content) {
1792
+ bracketContent = content;
1793
+ }
1794
+ }
1795
+ }
1796
+ let namespace = void 0;
1797
+ let tagAndPosition = withoutBrackets;
1798
+ if (withoutBrackets.includes("::")) {
1799
+ const nsIndex = withoutBrackets.indexOf("::");
1800
+ namespace = withoutBrackets.substring(0, nsIndex).trim();
1801
+ tagAndPosition = withoutBrackets.substring(nsIndex + 2).trim();
1802
+ if (!namespace) {
1803
+ throw new Error(`Invalid namespace in pattern: ${part}`);
1804
+ }
1805
+ }
1806
+ let tag = void 0;
1807
+ let positionMatch = null;
1808
+ if (tagAndPosition.includes(":")) {
1809
+ const colonIndex = tagAndPosition.lastIndexOf(":");
1810
+ const tagPart = tagAndPosition.substring(0, colonIndex).trim();
1811
+ const posPart = tagAndPosition.substring(colonIndex + 1).trim();
1812
+ const isPositionKeyword = ["first", "last", "odd", "even"].includes(posPart) || /^nth\(\d+\)$/.test(posPart);
1813
+ if (isPositionKeyword) {
1814
+ tag = tagPart;
1815
+ positionMatch = posPart;
1816
+ } else {
1817
+ tag = tagAndPosition;
1818
+ }
1819
+ } else {
1820
+ tag = tagAndPosition;
1821
+ }
1822
+ if (!tag) {
1823
+ throw new Error(`Invalid segment pattern: ${part}`);
1824
+ }
1825
+ segment.tag = tag;
1826
+ if (namespace) {
1827
+ segment.namespace = namespace;
1828
+ }
1829
+ if (bracketContent) {
1830
+ if (bracketContent.includes("=")) {
1831
+ const eqIndex = bracketContent.indexOf("=");
1832
+ segment.attrName = bracketContent.substring(0, eqIndex).trim();
1833
+ segment.attrValue = bracketContent.substring(eqIndex + 1).trim();
1834
+ } else {
1835
+ segment.attrName = bracketContent.trim();
1836
+ }
1837
+ }
1838
+ if (positionMatch) {
1839
+ const nthMatch = positionMatch.match(/^nth\((\d+)\)$/);
1840
+ if (nthMatch) {
1841
+ segment.position = "nth";
1842
+ segment.positionValue = parseInt(nthMatch[1], 10);
1843
+ } else {
1844
+ segment.position = positionMatch;
1845
+ }
1846
+ }
1847
+ return segment;
1848
+ }
1849
+ /**
1850
+ * Get the number of segments
1851
+ * @returns {number}
1852
+ */
1853
+ get length() {
1854
+ return this.segments.length;
1855
+ }
1856
+ /**
1857
+ * Check if expression contains deep wildcard
1858
+ * @returns {boolean}
1859
+ */
1860
+ hasDeepWildcard() {
1861
+ return this._hasDeepWildcard;
1862
+ }
1863
+ /**
1864
+ * Check if expression has attribute conditions
1865
+ * @returns {boolean}
1866
+ */
1867
+ hasAttributeCondition() {
1868
+ return this._hasAttributeCondition;
1869
+ }
1870
+ /**
1871
+ * Check if expression has position selectors
1872
+ * @returns {boolean}
1873
+ */
1874
+ hasPositionSelector() {
1875
+ return this._hasPositionSelector;
1876
+ }
1877
+ /**
1878
+ * Get string representation
1879
+ * @returns {string}
1880
+ */
1881
+ toString() {
1882
+ return this.pattern;
1883
+ }
1884
+ };
1885
+
1886
+ // node_modules/.pnpm/path-expression-matcher@1.6.2/node_modules/path-expression-matcher/src/ExpressionSet.js
1887
+ var ExpressionSet = class {
1888
+ constructor() {
1889
+ this._byDepthAndTag = /* @__PURE__ */ new Map();
1890
+ this._wildcardByDepth = /* @__PURE__ */ new Map();
1891
+ this._deepWildcards = [];
1892
+ this._deepByTerminalTag = /* @__PURE__ */ new Map();
1893
+ this._patterns = /* @__PURE__ */ new Set();
1894
+ this._sealed = false;
1895
+ }
1896
+ /**
1897
+ * Add an Expression to the set.
1898
+ * Duplicate patterns (same pattern string) are silently ignored.
1899
+ *
1900
+ * @param {import('./Expression.js').default} expression - A pre-constructed Expression instance
1901
+ * @returns {this} for chaining
1902
+ * @throws {TypeError} if called after seal()
1903
+ *
1904
+ * @example
1905
+ * set.add(new Expression('root.users.user'));
1906
+ * set.add(new Expression('..script'));
1907
+ */
1908
+ add(expression) {
1909
+ if (this._sealed) {
1910
+ throw new TypeError(
1911
+ "ExpressionSet is sealed. Create a new ExpressionSet to add more expressions."
1912
+ );
1913
+ }
1914
+ if (this._patterns.has(expression.pattern)) return this;
1915
+ this._patterns.add(expression.pattern);
1916
+ if (expression.hasDeepWildcard()) {
1917
+ const lastSeg2 = expression.segments[expression.segments.length - 1];
1918
+ if (lastSeg2 && lastSeg2.type !== "deep-wildcard" && lastSeg2.tag !== "*") {
1919
+ const tag2 = lastSeg2.tag;
1920
+ if (!this._deepByTerminalTag.has(tag2)) this._deepByTerminalTag.set(tag2, []);
1921
+ this._deepByTerminalTag.get(tag2).push(expression);
1922
+ } else {
1923
+ this._deepWildcards.push(expression);
1924
+ }
1925
+ return this;
1926
+ }
1927
+ const depth = expression.length;
1928
+ const lastSeg = expression.segments[expression.segments.length - 1];
1929
+ const tag = lastSeg?.tag;
1930
+ if (!tag || tag === "*") {
1931
+ if (!this._wildcardByDepth.has(depth)) this._wildcardByDepth.set(depth, []);
1932
+ this._wildcardByDepth.get(depth).push(expression);
1933
+ } else {
1934
+ const key = `${depth}:${tag}`;
1935
+ if (!this._byDepthAndTag.has(key)) this._byDepthAndTag.set(key, []);
1936
+ this._byDepthAndTag.get(key).push(expression);
1937
+ }
1938
+ return this;
1939
+ }
1940
+ /**
1941
+ * Add multiple expressions at once.
1942
+ *
1943
+ * @param {import('./Expression.js').default[]} expressions - Array of Expression instances
1944
+ * @returns {this} for chaining
1945
+ *
1946
+ * @example
1947
+ * set.addAll([
1948
+ * new Expression('root.users.user'),
1949
+ * new Expression('root.config.setting'),
1950
+ * ]);
1951
+ */
1952
+ addAll(expressions) {
1953
+ for (const expr of expressions) this.add(expr);
1954
+ return this;
1955
+ }
1956
+ /**
1957
+ * Check whether a pattern string is already present in the set.
1958
+ *
1959
+ * @param {import('./Expression.js').default} expression
1960
+ * @returns {boolean}
1961
+ */
1962
+ has(expression) {
1963
+ return this._patterns.has(expression.pattern);
1964
+ }
1965
+ /**
1966
+ * Number of expressions in the set.
1967
+ * @type {number}
1968
+ */
1969
+ get size() {
1970
+ return this._patterns.size;
1971
+ }
1972
+ /**
1973
+ * Seal the set against further modifications.
1974
+ * Useful to prevent accidental mutations after config is built.
1975
+ * Calling add() or addAll() on a sealed set throws a TypeError.
1976
+ *
1977
+ * @returns {this}
1978
+ */
1979
+ seal() {
1980
+ this._sealed = true;
1981
+ return this;
1982
+ }
1983
+ /**
1984
+ * Whether the set has been sealed.
1985
+ * @type {boolean}
1986
+ */
1987
+ get isSealed() {
1988
+ return this._sealed;
1989
+ }
1990
+ /**
1991
+ * Test whether the matcher's current path matches any expression in the set.
1992
+ *
1993
+ * Evaluation order (cheapest → most expensive):
1994
+ * 1. Exact depth + tag bucket — O(1) lookup, typically 0–2 expressions
1995
+ * 2. Depth-only wildcard bucket — O(1) lookup, rare
1996
+ * 3. Deep-wildcard list — always checked, but usually small
1997
+ *
1998
+ * @param {import('./Matcher.js').default} matcher - Matcher instance (or readOnly view)
1999
+ * @returns {boolean} true if any expression matches the current path
2000
+ *
2001
+ * @example
2002
+ * if (stopNodes.matchesAny(matcher)) {
2003
+ * // handle stop node
2004
+ * }
2005
+ */
2006
+ matchesAny(matcher) {
2007
+ return this.findMatch(matcher) !== null;
2008
+ }
2009
+ /**
2010
+ * Find and return the first Expression that matches the matcher's current path.
2011
+ *
2012
+ * Uses the same evaluation order as matchesAny (cheapest → most expensive):
2013
+ * 1. Exact depth + tag bucket
2014
+ * 2. Depth-only wildcard bucket
2015
+ * 3. Deep-wildcard list
2016
+ *
2017
+ * @param {import('./Matcher.js').default} matcher - Matcher instance (or readOnly view)
2018
+ * @returns {import('./Expression.js').default | null} the first matching Expression, or null
2019
+ *
2020
+ * @example
2021
+ * const expr = stopNodes.findMatch(matcher);
2022
+ * if (expr) {
2023
+ * // access expr.config, expr.pattern, etc.
2024
+ * }
2025
+ */
2026
+ findMatch(matcher) {
2027
+ const depth = matcher.getDepth();
2028
+ const tag = matcher.getCurrentTag();
2029
+ const exactKey = `${depth}:${tag}`;
2030
+ const exactBucket = this._byDepthAndTag.get(exactKey);
2031
+ if (exactBucket) {
2032
+ for (let i = 0; i < exactBucket.length; i++) {
2033
+ if (matcher.matches(exactBucket[i])) return exactBucket[i];
2034
+ }
2035
+ }
2036
+ const wildcardBucket = this._wildcardByDepth.get(depth);
2037
+ if (wildcardBucket) {
2038
+ for (let i = 0; i < wildcardBucket.length; i++) {
2039
+ if (matcher.matches(wildcardBucket[i])) return wildcardBucket[i];
2040
+ }
2041
+ }
2042
+ const deepBucket = this._deepByTerminalTag.get(tag);
2043
+ if (deepBucket) {
2044
+ for (let i = 0; i < deepBucket.length; i++) {
2045
+ if (matcher.matches(deepBucket[i])) return deepBucket[i];
2046
+ }
2047
+ }
2048
+ for (let i = 0; i < this._deepWildcards.length; i++) {
2049
+ if (matcher.matches(this._deepWildcards[i])) return this._deepWildcards[i];
2050
+ }
2051
+ return null;
2052
+ }
2053
+ };
2054
+
2055
+ // node_modules/.pnpm/path-expression-matcher@1.6.2/node_modules/path-expression-matcher/src/Matcher.js
2056
+ var MatcherView = class {
2057
+ /**
2058
+ * @param {Matcher} matcher - The parent Matcher instance to read from.
2059
+ */
2060
+ constructor(matcher) {
2061
+ this._matcher = matcher;
2062
+ }
2063
+ /**
2064
+ * Get the path separator used by the parent matcher.
2065
+ * @returns {string}
2066
+ */
2067
+ get separator() {
2068
+ return this._matcher.separator;
2069
+ }
2070
+ /**
2071
+ * Get current tag name.
2072
+ * @returns {string|undefined}
2073
+ */
2074
+ getCurrentTag() {
2075
+ const path = this._matcher.path;
2076
+ return path.length > 0 ? path[path.length - 1].tag : void 0;
2077
+ }
2078
+ /**
2079
+ * Get current namespace.
2080
+ * @returns {string|undefined}
2081
+ */
2082
+ getCurrentNamespace() {
2083
+ const path = this._matcher.path;
2084
+ return path.length > 0 ? path[path.length - 1].namespace : void 0;
2085
+ }
2086
+ /**
2087
+ * Get current node's attribute value.
2088
+ * @param {string} attrName
2089
+ * @returns {*}
2090
+ */
2091
+ getAttrValue(attrName) {
2092
+ const path = this._matcher.path;
2093
+ if (path.length === 0) return void 0;
2094
+ return path[path.length - 1].values?.[attrName];
2095
+ }
2096
+ /**
2097
+ * Check if current node has an attribute.
2098
+ * @param {string} attrName
2099
+ * @returns {boolean}
2100
+ */
2101
+ hasAttr(attrName) {
2102
+ const path = this._matcher.path;
2103
+ if (path.length === 0) return false;
2104
+ const current = path[path.length - 1];
2105
+ return current.values !== void 0 && attrName in current.values;
2106
+ }
2107
+ /**
2108
+ * Get the value of a "kept" attribute from the nearest ancestor (or
2109
+ * current node) that declared it via `push(tag, attrs, ns, { keep: [...] })`.
2110
+ * @param {string} attrName
2111
+ * @returns {*}
2112
+ */
2113
+ getAnyParentAttr(attrName) {
2114
+ return this._matcher.getAnyParentAttr(attrName);
2115
+ }
2116
+ /**
2117
+ * Check whether any ancestor (or the current node) kept the given
2118
+ * attribute via `push(tag, attrs, ns, { keep: [...] })`.
2119
+ * @param {string} attrName
2120
+ * @returns {boolean}
2121
+ */
2122
+ hasAnyParentAttr(attrName) {
2123
+ return this._matcher.hasAnyParentAttr(attrName);
2124
+ }
2125
+ /**
2126
+ * Get current node's sibling position (child index in parent).
2127
+ * @returns {number}
2128
+ */
2129
+ getPosition() {
2130
+ const path = this._matcher.path;
2131
+ if (path.length === 0) return -1;
2132
+ return path[path.length - 1].position ?? 0;
2133
+ }
2134
+ /**
2135
+ * Get current node's repeat counter (occurrence count of this tag name).
2136
+ * @returns {number}
2137
+ */
2138
+ getCounter() {
2139
+ const path = this._matcher.path;
2140
+ if (path.length === 0) return -1;
2141
+ return path[path.length - 1].counter ?? 0;
2142
+ }
2143
+ /**
2144
+ * Get current node's sibling index (alias for getPosition).
2145
+ * @returns {number}
2146
+ * @deprecated Use getPosition() or getCounter() instead
2147
+ */
2148
+ getIndex() {
2149
+ return this.getPosition();
2150
+ }
2151
+ /**
2152
+ * Get current path depth.
2153
+ * @returns {number}
2154
+ */
2155
+ getDepth() {
2156
+ return this._matcher.path.length;
2157
+ }
2158
+ /**
2159
+ * Get path as string.
2160
+ * @param {string} [separator] - Optional separator (uses default if not provided)
2161
+ * @param {boolean} [includeNamespace=true]
2162
+ * @returns {string}
2163
+ */
2164
+ toString(separator, includeNamespace = true) {
2165
+ return this._matcher.toString(separator, includeNamespace);
2166
+ }
2167
+ /**
2168
+ * Get path as array of tag names.
2169
+ * @returns {string[]}
2170
+ */
2171
+ toArray() {
2172
+ return this._matcher.path.map((n) => n.tag);
2173
+ }
2174
+ /**
2175
+ * Match current path against an Expression.
2176
+ * @param {Expression} expression
2177
+ * @returns {boolean}
2178
+ */
2179
+ matches(expression) {
2180
+ return this._matcher.matches(expression);
2181
+ }
2182
+ /**
2183
+ * Match any expression in the given set against the current path.
2184
+ * @param {ExpressionSet} exprSet
2185
+ * @returns {boolean}
2186
+ */
2187
+ matchesAny(exprSet) {
2188
+ return exprSet.matchesAny(this._matcher);
2189
+ }
2190
+ };
2191
+ var Matcher = class {
2192
+ /**
2193
+ * Create a new Matcher.
2194
+ * @param {Object} [options={}]
2195
+ * @param {string} [options.separator='.'] - Default path separator
2196
+ */
2197
+ constructor(options = {}) {
2198
+ this.separator = options.separator || ".";
2199
+ this.path = [];
2200
+ this.siblingStacks = [];
2201
+ this._pathStringCache = null;
2202
+ this._view = new MatcherView(this);
2203
+ this._keptAttrs = [];
2204
+ }
2205
+ /**
2206
+ * Push a new tag onto the path.
2207
+ * @param {string} tagName
2208
+ * @param {Object|null} [attrValues=null]
2209
+ * @param {string|null} [namespace=null]
2210
+ * @param {Object|null} [options=null]
2211
+ * @param {string[]} [options.keep] - Names of attributes (from attrValues)
2212
+ */
2213
+ push(tagName, attrValues = null, namespace = null, options = null) {
2214
+ this._pathStringCache = null;
2215
+ if (this.path.length > 0) {
2216
+ this.path[this.path.length - 1].values = void 0;
2217
+ }
2218
+ const currentLevel = this.path.length;
2219
+ let level = this.siblingStacks[currentLevel];
2220
+ if (!level) {
2221
+ level = { counts: /* @__PURE__ */ new Map(), total: 0 };
2222
+ this.siblingStacks[currentLevel] = level;
2223
+ }
2224
+ const siblingKey = namespace ? `${namespace}:${tagName}` : tagName;
2225
+ const counter = level.counts.get(siblingKey) || 0;
2226
+ const position = level.total;
2227
+ level.counts.set(siblingKey, counter + 1);
2228
+ level.total++;
2229
+ const node = {
2230
+ tag: tagName,
2231
+ position,
2232
+ counter
2233
+ };
2234
+ if (namespace !== null && namespace !== void 0) {
2235
+ node.namespace = namespace;
2236
+ }
2237
+ if (attrValues !== null && attrValues !== void 0) {
2238
+ node.values = attrValues;
2239
+ }
2240
+ this.path.push(node);
2241
+ const depth = this.path.length;
2242
+ const keep = options !== null ? options.keep : null;
2243
+ if (keep !== null && keep !== void 0 && keep.length > 0 && attrValues) {
2244
+ for (let i = 0; i < keep.length; i++) {
2245
+ const name = keep[i];
2246
+ if (attrValues[name] !== void 0) {
2247
+ this._keptAttrs.push({ depth, name, value: attrValues[name] });
2248
+ }
2249
+ }
2250
+ }
2251
+ }
2252
+ /**
2253
+ * Pop the last tag from the path.
2254
+ * @returns {Object|undefined} The popped node
2255
+ */
2256
+ pop() {
2257
+ if (this.path.length === 0) return void 0;
2258
+ this._pathStringCache = null;
2259
+ const node = this.path.pop();
2260
+ if (this.siblingStacks.length > this.path.length + 1) {
2261
+ this.siblingStacks.length = this.path.length + 1;
2262
+ }
2263
+ const poppedDepth = this.path.length + 1;
2264
+ while (this._keptAttrs.length > 0 && this._keptAttrs[this._keptAttrs.length - 1].depth >= poppedDepth) {
2265
+ this._keptAttrs.pop();
2266
+ }
2267
+ return node;
2268
+ }
2269
+ /**
2270
+ * Update current node's attribute values.
2271
+ * Useful when attributes are parsed after push.
2272
+ * @param {Object} attrValues
2273
+ */
2274
+ updateCurrent(attrValues) {
2275
+ if (this.path.length > 0) {
2276
+ const current = this.path[this.path.length - 1];
2277
+ if (attrValues !== null && attrValues !== void 0) {
2278
+ current.values = attrValues;
2279
+ }
2280
+ }
2281
+ }
2282
+ /**
2283
+ * Get current tag name.
2284
+ * @returns {string|undefined}
2285
+ */
2286
+ getCurrentTag() {
2287
+ return this.path.length > 0 ? this.path[this.path.length - 1].tag : void 0;
2288
+ }
2289
+ /**
2290
+ * Get current namespace.
2291
+ * @returns {string|undefined}
2292
+ */
2293
+ getCurrentNamespace() {
2294
+ return this.path.length > 0 ? this.path[this.path.length - 1].namespace : void 0;
2295
+ }
2296
+ /**
2297
+ * Get current node's attribute value.
2298
+ * @param {string} attrName
2299
+ * @returns {*}
2300
+ */
2301
+ getAttrValue(attrName) {
2302
+ if (this.path.length === 0) return void 0;
2303
+ return this.path[this.path.length - 1].values?.[attrName];
2304
+ }
2305
+ /**
2306
+ * Check if current node has an attribute.
2307
+ * @param {string} attrName
2308
+ * @returns {boolean}
2309
+ */
2310
+ hasAttr(attrName) {
2311
+ if (this.path.length === 0) return false;
2312
+ const current = this.path[this.path.length - 1];
2313
+ return current.values !== void 0 && attrName in current.values;
2314
+ }
2315
+ /**
2316
+ * Get the value of a "kept" attribute from the nearest ancestor (or
2317
+ * current node) that declared it via `push(tag, attrs, ns, { keep: [...] })`.
2318
+ * Unlike getAttrValue(), this works regardless of how deep the path has
2319
+ * gone since the attribute was pushed — but only for attribute names that
2320
+ * were explicitly marked with `keep` at push time. Cost is proportional to
2321
+ * the number of currently-kept attributes (typically 0-3), not path depth.
2322
+ * @param {string} attrName
2323
+ * @returns {*} the value, or undefined if no ancestor kept this attribute
2324
+ */
2325
+ getAnyParentAttr(attrName) {
2326
+ const kept = this._keptAttrs;
2327
+ for (let i = kept.length - 1; i >= 0; i--) {
2328
+ if (kept[i].name === attrName) return kept[i].value;
2329
+ }
2330
+ return void 0;
2331
+ }
2332
+ /**
2333
+ * Check whether any ancestor (or the current node) kept the given
2334
+ * attribute via `push(tag, attrs, ns, { keep: [...] })`.
2335
+ * @param {string} attrName
2336
+ * @returns {boolean}
2337
+ */
2338
+ hasAnyParentAttr(attrName) {
2339
+ const kept = this._keptAttrs;
2340
+ for (let i = kept.length - 1; i >= 0; i--) {
2341
+ if (kept[i].name === attrName) return true;
2342
+ }
2343
+ return false;
2344
+ }
2345
+ /**
2346
+ * Get current node's sibling position (child index in parent).
2347
+ * @returns {number}
2348
+ */
2349
+ getPosition() {
2350
+ if (this.path.length === 0) return -1;
2351
+ return this.path[this.path.length - 1].position ?? 0;
2352
+ }
2353
+ /**
2354
+ * Get current node's repeat counter (occurrence count of this tag name).
2355
+ * @returns {number}
2356
+ */
2357
+ getCounter() {
2358
+ if (this.path.length === 0) return -1;
2359
+ return this.path[this.path.length - 1].counter ?? 0;
2360
+ }
2361
+ /**
2362
+ * Get current node's sibling index (alias for getPosition).
2363
+ * @returns {number}
2364
+ * @deprecated Use getPosition() or getCounter() instead
2365
+ */
2366
+ getIndex() {
2367
+ return this.getPosition();
2368
+ }
2369
+ /**
2370
+ * Get current path depth.
2371
+ * @returns {number}
2372
+ */
2373
+ getDepth() {
2374
+ return this.path.length;
2375
+ }
2376
+ /**
2377
+ * Get path as string.
2378
+ * @param {string} [separator] - Optional separator (uses default if not provided)
2379
+ * @param {boolean} [includeNamespace=true]
2380
+ * @returns {string}
2381
+ */
2382
+ toString(separator, includeNamespace = true) {
2383
+ const sep2 = separator || this.separator;
2384
+ const isDefault = sep2 === this.separator && includeNamespace === true;
2385
+ if (isDefault) {
2386
+ if (this._pathStringCache !== null) {
2387
+ return this._pathStringCache;
2388
+ }
2389
+ const result = this.path.map(
2390
+ (n) => n.namespace ? `${n.namespace}:${n.tag}` : n.tag
2391
+ ).join(sep2);
2392
+ this._pathStringCache = result;
2393
+ return result;
2394
+ }
2395
+ return this.path.map(
2396
+ (n) => includeNamespace && n.namespace ? `${n.namespace}:${n.tag}` : n.tag
2397
+ ).join(sep2);
2398
+ }
2399
+ /**
2400
+ * Get path as array of tag names.
2401
+ * @returns {string[]}
2402
+ */
2403
+ toArray() {
2404
+ return this.path.map((n) => n.tag);
2405
+ }
2406
+ /**
2407
+ * Reset the path to empty.
2408
+ */
2409
+ reset() {
2410
+ this._pathStringCache = null;
2411
+ this.path = [];
2412
+ this.siblingStacks = [];
2413
+ this._keptAttrs = [];
2414
+ }
2415
+ /**
2416
+ * Match current path against an Expression.
2417
+ * @param {Expression} expression
2418
+ * @returns {boolean}
2419
+ */
2420
+ matches(expression) {
2421
+ const segments = expression.segments;
2422
+ if (segments.length === 0) {
2423
+ return false;
2424
+ }
2425
+ if (expression.hasDeepWildcard()) {
2426
+ return this._matchWithDeepWildcard(segments);
2427
+ }
2428
+ return this._matchSimple(segments);
2429
+ }
2430
+ /**
2431
+ * @private
2432
+ */
2433
+ _matchSimple(segments) {
2434
+ if (this.path.length !== segments.length) {
2435
+ return false;
2436
+ }
2437
+ for (let i = 0; i < segments.length; i++) {
2438
+ if (!this._matchSegment(segments[i], this.path[i], i === this.path.length - 1)) {
2439
+ return false;
2440
+ }
2441
+ }
2442
+ return true;
2443
+ }
2444
+ /**
2445
+ * @private
2446
+ */
2447
+ _matchWithDeepWildcard(segments) {
2448
+ let pathIdx = this.path.length - 1;
2449
+ let segIdx = segments.length - 1;
2450
+ while (segIdx >= 0 && pathIdx >= 0) {
2451
+ const segment = segments[segIdx];
2452
+ if (segment.type === "deep-wildcard") {
2453
+ segIdx--;
2454
+ if (segIdx < 0) {
2455
+ return true;
2456
+ }
2457
+ const nextSeg = segments[segIdx];
2458
+ let found = false;
2459
+ for (let i = pathIdx; i >= 0; i--) {
2460
+ if (this._matchSegment(nextSeg, this.path[i], i === this.path.length - 1)) {
2461
+ pathIdx = i - 1;
2462
+ segIdx--;
2463
+ found = true;
2464
+ break;
2465
+ }
2466
+ }
2467
+ if (!found) {
2468
+ return false;
2469
+ }
2470
+ } else {
2471
+ if (!this._matchSegment(segment, this.path[pathIdx], pathIdx === this.path.length - 1)) {
2472
+ return false;
2473
+ }
2474
+ pathIdx--;
2475
+ segIdx--;
2476
+ }
2477
+ }
2478
+ return segIdx < 0;
2479
+ }
2480
+ /**
2481
+ * @private
2482
+ */
2483
+ _matchSegment(segment, node, isCurrentNode) {
2484
+ if (segment.tag !== "*" && segment.tag !== node.tag) {
2485
+ return false;
2486
+ }
2487
+ if (segment.namespace !== void 0) {
2488
+ if (segment.namespace !== "*" && segment.namespace !== node.namespace) {
2489
+ return false;
2490
+ }
2491
+ }
2492
+ if (segment.attrName !== void 0) {
2493
+ if (!isCurrentNode) {
2494
+ return false;
2495
+ }
2496
+ if (!node.values || !(segment.attrName in node.values)) {
2497
+ return false;
2498
+ }
2499
+ if (segment.attrValue !== void 0) {
2500
+ if (String(node.values[segment.attrName]) !== String(segment.attrValue)) {
2501
+ return false;
2502
+ }
2503
+ }
2504
+ }
2505
+ if (segment.position !== void 0) {
2506
+ if (!isCurrentNode) {
2507
+ return false;
2508
+ }
2509
+ const counter = node.counter ?? 0;
2510
+ if (segment.position === "first" && counter !== 0) {
2511
+ return false;
2512
+ } else if (segment.position === "odd" && counter % 2 !== 1) {
2513
+ return false;
2514
+ } else if (segment.position === "even" && counter % 2 !== 0) {
2515
+ return false;
2516
+ } else if (segment.position === "nth" && counter !== segment.positionValue) {
2517
+ return false;
2518
+ }
2519
+ }
2520
+ return true;
2521
+ }
2522
+ /**
2523
+ * Match any expression in the given set against the current path.
2524
+ * @param {ExpressionSet} exprSet
2525
+ * @returns {boolean}
2526
+ */
2527
+ matchesAny(exprSet) {
2528
+ return exprSet.matchesAny(this);
2529
+ }
2530
+ /**
2531
+ * Create a snapshot of current state.
2532
+ * @returns {Object}
2533
+ */
2534
+ snapshot() {
2535
+ return {
2536
+ path: this.path.map((node) => ({ ...node })),
2537
+ siblingStacks: this.siblingStacks.map((level) => level ? { counts: new Map(level.counts), total: level.total } : level),
2538
+ keptAttrs: this._keptAttrs.map((entry) => ({ ...entry }))
2539
+ };
2540
+ }
2541
+ /**
2542
+ * Restore state from snapshot.
2543
+ * @param {Object} snapshot
2544
+ */
2545
+ restore(snapshot) {
2546
+ this._pathStringCache = null;
2547
+ this.path = snapshot.path.map((node) => ({ ...node }));
2548
+ this.siblingStacks = snapshot.siblingStacks.map((level) => level ? { counts: new Map(level.counts), total: level.total } : level);
2549
+ this._keptAttrs = (snapshot.keptAttrs || []).map((entry) => ({ ...entry }));
2550
+ }
2551
+ /**
2552
+ * Return the read-only {@link MatcherView} for this matcher.
2553
+ *
2554
+ * The same instance is returned on every call — no allocation occurs.
2555
+ * It always reflects the current parser state and is safe to pass to
2556
+ * user callbacks without risk of accidental mutation.
2557
+ *
2558
+ * @returns {MatcherView}
2559
+ *
2560
+ * @example
2561
+ * const view = matcher.readOnly();
2562
+ * // pass view to callbacks — it stays in sync automatically
2563
+ * view.matches(expr); // ✓
2564
+ * view.getCurrentTag(); // ✓
2565
+ * // view.push(...) // ✗ method does not exist — caught by TypeScript
2566
+ */
2567
+ readOnly() {
2568
+ return this._view;
2569
+ }
2570
+ };
2571
+
2572
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/html.js
2573
+ var HTML_PATTERNS = [
2574
+ {
2575
+ id: "html-script-open",
2576
+ description: "<script opening tag",
2577
+ pattern: /<script[\s>/]/i
2578
+ },
2579
+ {
2580
+ id: "html-script-close",
2581
+ description: "</script closing tag",
2582
+ pattern: /<\/script[\s>]/i
2583
+ },
2584
+ {
2585
+ id: "html-javascript-protocol",
2586
+ description: "javascript: URI scheme (with optional whitespace/encoding)",
2587
+ // Handles j&#x61;vascript:, j\u0061vascript:, and whitespace variants
2588
+ pattern: /j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i
2589
+ },
2590
+ {
2591
+ id: "html-vbscript-protocol",
2592
+ description: "vbscript: URI scheme",
2593
+ pattern: /vbscript[\t\n\r ]*:/i
2594
+ },
2595
+ {
2596
+ id: "html-data-html",
2597
+ description: "data:text/html URI \u2014 can execute scripts in browsers",
2598
+ pattern: /data[\t\n\r ]*:[\t\n\r ]*text\/html/i
2599
+ },
2600
+ {
2601
+ id: "html-data-xhtml",
2602
+ description: "data:application/xhtml+xml URI",
2603
+ pattern: /data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i
2604
+ },
2605
+ {
2606
+ id: "html-data-svg",
2607
+ description: "data:image/svg+xml URI \u2014 can execute scripts",
2608
+ pattern: /data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i
2609
+ },
2610
+ {
2611
+ id: "html-inline-event-handler",
2612
+ description: "Inline event handler attributes: onclick=, onerror=, onload=, etc.",
2613
+ // \bon ensures we match a word boundary so "phonetic=" is not caught
2614
+ pattern: /\bon\w{1,30}\s*=/i
2615
+ },
2616
+ {
2617
+ id: "html-entity-obfuscated-script",
2618
+ description: "HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",
2619
+ // Entities include optional trailing semicolon: &#x3C; or &#x3C (both valid in HTML5)
2620
+ pattern: /(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i
2621
+ },
2622
+ {
2623
+ id: "html-entity-obfuscated-javascript",
2624
+ description: 'HTML-entity-encoded javascript: (partial \u2014 catches common &#106; or &#x6a; for "j")',
2625
+ pattern: /(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i
2626
+ },
2627
+ {
2628
+ id: "html-style-expression",
2629
+ description: "CSS expression() \u2014 IE-era code execution in style attributes",
2630
+ pattern: /style[\s\S]{0,20}expression\s*\(/i
2631
+ },
2632
+ {
2633
+ id: "html-object-embed",
2634
+ description: "<object or <embed tags that can load active content",
2635
+ pattern: /<(?:object|embed)[\s>/]/i
2636
+ },
2637
+ {
2638
+ id: "html-base-tag",
2639
+ description: "<base href= \u2014 can hijack all relative URLs on a page",
2640
+ pattern: /<base[\s>]/i
2641
+ },
2642
+ {
2643
+ id: "html-meta-refresh",
2644
+ description: '<meta http-equiv="refresh" \u2014 can redirect users',
2645
+ pattern: /<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i
2646
+ },
2647
+ {
2648
+ id: "html-srcdoc",
2649
+ description: "srcdoc= attribute on iframes \u2014 embeds HTML that can run scripts",
2650
+ pattern: /srcdoc\s*=/i
2651
+ },
2652
+ {
2653
+ id: "html-iframe",
2654
+ description: "<iframe tag",
2655
+ pattern: /<iframe[\s>/]/i
2656
+ },
2657
+ {
2658
+ id: "html-form",
2659
+ description: "<form tag \u2014 can be used for phishing / credential harvesting injection",
2660
+ pattern: /<form[\s>/]/i
2661
+ }
2662
+ ];
2663
+ var html_default = HTML_PATTERNS;
2664
+
2665
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/xml.js
2666
+ var XML_PATTERNS = [
2667
+ {
2668
+ id: "xml-cdata-injection",
2669
+ description: "CDATA section injection: <![CDATA[ breaks out of text node context",
2670
+ pattern: /<!\[CDATA\[/i
2671
+ },
2672
+ {
2673
+ id: "xml-cdata-close",
2674
+ description: "CDATA close sequence: ]]> can terminate an enclosing CDATA section",
2675
+ pattern: /\]\]>/
2676
+ },
2677
+ {
2678
+ id: "xml-processing-instruction",
2679
+ description: "XML processing instruction: <?xml-stylesheet or <?php etc.",
2680
+ pattern: /<\?(?:xml[\- ]|php|asp)/i
2681
+ },
2682
+ {
2683
+ id: "xml-doctype-injection",
2684
+ description: "DOCTYPE declaration embedded in content \u2014 can define entities",
2685
+ // Match <!DOCTYPE followed by end-of-string, whitespace, or [ (internal subset)
2686
+ pattern: /<!DOCTYPE(?:[\s[]|$)/i
2687
+ },
2688
+ {
2689
+ id: "xml-entity-system",
2690
+ description: "SYSTEM keyword \u2014 used in external entity declarations (XXE)",
2691
+ pattern: /\bSYSTEM\s+["']/i
2692
+ },
2693
+ {
2694
+ id: "xml-entity-public",
2695
+ description: "PUBLIC keyword \u2014 used in external entity declarations (XXE)",
2696
+ pattern: /\bPUBLIC\s+["']/i
2697
+ },
2698
+ {
2699
+ id: "xml-entity-declaration",
2700
+ description: "<!ENTITY declaration \u2014 defines entities, potential XXE or entity expansion",
2701
+ pattern: /<!ENTITY[\s%]/i
2702
+ },
2703
+ {
2704
+ id: "xml-billion-laughs",
2705
+ description: "Entity reference chaining / billion laughs: repeated &eX; style references",
2706
+ // Heuristic: 3+ consecutive entity refs suggests expansion attack
2707
+ pattern: /(?:&\w{1,20};){3,}/
2708
+ },
2709
+ {
2710
+ id: "xml-namespace-confusion",
2711
+ description: "xmlns: attribute injection \u2014 can redefine namespaces to confuse parsers",
2712
+ pattern: /\bxmlns\s*(?::\w{1,40})?\s*=/i
2713
+ },
2714
+ {
2715
+ id: "xml-comment-injection",
2716
+ description: "<!-- comment injection \u2014 can hide content from some parsers",
2717
+ pattern: /<!--/
2718
+ },
2719
+ {
2720
+ id: "xml-comment-close",
2721
+ description: "--> closes an enclosing XML comment",
2722
+ pattern: /-->/
2723
+ },
2724
+ {
2725
+ id: "xml-pi-close",
2726
+ description: "?> closes an enclosing processing instruction",
2727
+ pattern: /\?>/
2728
+ }
2729
+ ];
2730
+ var xml_default = XML_PATTERNS;
2731
+
2732
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/svg.js
2733
+ var SVG_PATTERNS = [
2734
+ {
2735
+ id: "svg-script-element",
2736
+ description: "<script element inside SVG executes JavaScript",
2737
+ pattern: /<script[\s>/]/i
2738
+ },
2739
+ {
2740
+ id: "svg-xlink-href-javascript",
2741
+ description: "xlink:href with javascript: \u2014 classic SVG XSS via <a> or <use>",
2742
+ pattern: /xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i
2743
+ },
2744
+ {
2745
+ id: "svg-href-javascript",
2746
+ description: "href= with javascript: in SVG context (<a>, <animate>, etc.)",
2747
+ pattern: /href\s*=\s*["']?\s*javascript\s*:/i
2748
+ },
2749
+ {
2750
+ id: "svg-foreignobject",
2751
+ description: "<foreignObject embeds HTML inside SVG \u2014 can execute scripts",
2752
+ pattern: /<foreignObject[\s>/]/i
2753
+ },
2754
+ {
2755
+ id: "svg-use-external",
2756
+ description: "<use xlink:href or href pointing to external resource (non-fragment URL)",
2757
+ // Match <use with href= where the value starts with a non-# character (external URL)
2758
+ // [\"'][^#] catches quoted values not starting with #; [^\"'#\s>] catches unquoted
2759
+ pattern: /<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i
2760
+ },
2761
+ {
2762
+ id: "svg-animate-href",
2763
+ description: '<animate attributeName="href" \u2014 can dynamically change href to javascript:',
2764
+ pattern: /<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i
2765
+ },
2766
+ {
2767
+ id: "svg-animate-xlinkhref",
2768
+ description: '<animate attributeName="xlink:href"',
2769
+ pattern: /<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i
2770
+ },
2771
+ {
2772
+ id: "svg-set-javascript",
2773
+ description: '<set to="javascript:..." \u2014 sets an attribute to a javascript: URI',
2774
+ pattern: /<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i
2775
+ },
2776
+ {
2777
+ id: "svg-event-handler",
2778
+ description: "SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",
2779
+ pattern: /\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i
2780
+ },
2781
+ {
2782
+ id: "svg-handler-generic",
2783
+ description: "Generic on* handler catch-all for SVG attributes",
2784
+ pattern: /\bon\w{1,30}\s*=/i
2785
+ },
2786
+ {
2787
+ id: "svg-filter-feimage",
2788
+ description: "<feImage href= \u2014 filter primitive that can load external resources",
2789
+ pattern: /<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i
2790
+ },
2791
+ {
2792
+ id: "svg-image-external",
2793
+ description: "<image xlink:href with http/https or javascript protocol",
2794
+ pattern: /<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i
2795
+ },
2796
+ {
2797
+ id: "svg-style-javascript",
2798
+ description: "style= attribute containing javascript: (e.g. background:url(javascript:...))",
2799
+ pattern: /style\s*=[\s\S]{0,60}javascript\s*:/i
2800
+ }
2801
+ ];
2802
+ var svg_default = SVG_PATTERNS;
2803
+
2804
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/sql.js
2805
+ var SQL_PATTERNS = [
2806
+ {
2807
+ id: "sql-block-comment-open",
2808
+ description: "SQL block comment open: /* ... */ \u2014 unusual in legitimate user text",
2809
+ pattern: /\/\*/
2810
+ },
2811
+ {
2812
+ id: "sql-union-select",
2813
+ description: "UNION SELECT \u2014 most common SQL injection aggregation attack",
2814
+ pattern: /\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i
2815
+ },
2816
+ {
2817
+ id: "sql-drop-table",
2818
+ description: "DROP TABLE \u2014 destructive DDL injection",
2819
+ pattern: /\bDROP\s{1,20}TABLE\b/i
2820
+ },
2821
+ {
2822
+ id: "sql-drop-database",
2823
+ description: "DROP DATABASE \u2014 destructive DDL injection",
2824
+ pattern: /\bDROP\s{1,20}DATABASE\b/i
2825
+ },
2826
+ {
2827
+ id: "sql-insert-into",
2828
+ description: "INSERT INTO \u2014 data injection",
2829
+ pattern: /\bINSERT\s{1,20}INTO\b/i
2830
+ },
2831
+ {
2832
+ id: "sql-delete-from",
2833
+ description: "DELETE FROM \u2014 data deletion injection",
2834
+ pattern: /\bDELETE\s{1,20}FROM\b/i
2835
+ },
2836
+ {
2837
+ id: "sql-update-set",
2838
+ description: "UPDATE ... SET \u2014 data modification injection",
2839
+ // Allows arbitrary content between UPDATE and SET (table name, alias, etc.)
2840
+ pattern: /\bUPDATE\b[\s\S]{1,60}\bSET\b/i
2841
+ },
2842
+ {
2843
+ id: "sql-exec-xp",
2844
+ description: "EXEC xp_ \u2014 MSSQL extended stored procedure execution",
2845
+ pattern: /\bEXEC(?:UTE)?\s{1,20}xp_/i
2846
+ },
2847
+ {
2848
+ id: "sql-tautology-string",
2849
+ description: `Classic string tautology: ' OR '1'='1 or " OR "1"="1"`,
2850
+ // Last quote is optional — injection may truncate it: ' OR '1'='1--
2851
+ pattern: /'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i
2852
+ },
2853
+ {
2854
+ id: "sql-tautology-numeric",
2855
+ description: "Numeric tautology: OR 1=1",
2856
+ pattern: /\bOR\s{1,10}1\s*=\s*1\b/i
2857
+ },
2858
+ {
2859
+ id: "sql-always-true-zero",
2860
+ description: "Numeric tautology: OR 0=0",
2861
+ pattern: /\bOR\s{1,10}0\s*=\s*0\b/i
2862
+ },
2863
+ {
2864
+ id: "sql-sleep-benchmark",
2865
+ description: "Time-based blind injection: SLEEP() or BENCHMARK()",
2866
+ pattern: /\b(?:SLEEP|BENCHMARK)\s*\(/i
2867
+ },
2868
+ {
2869
+ id: "sql-waitfor-delay",
2870
+ description: "MSSQL time-based blind injection: WAITFOR DELAY",
2871
+ pattern: /\bWAITFOR\s{1,20}DELAY\b/i
2872
+ },
2873
+ {
2874
+ id: "sql-char-function",
2875
+ description: "CHAR() function \u2014 used to obfuscate injected strings",
2876
+ pattern: /\bCHAR\s*\(\s*\d{1,3}/i
2877
+ },
2878
+ {
2879
+ id: "sql-information-schema",
2880
+ description: "INFORMATION_SCHEMA \u2014 reconnaissance query for table/column enumeration",
2881
+ pattern: /\bINFORMATION_SCHEMA\b/i
2882
+ }
2883
+ ];
2884
+ var sql_default = SQL_PATTERNS;
2885
+
2886
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/shell.js
2887
+ var SHELL_PATTERNS = [
2888
+ {
2889
+ id: "shell-path-traversal-unix",
2890
+ description: "Unix path traversal: ../ \u2014 climbing the directory tree",
2891
+ pattern: /\.\.\//
2892
+ },
2893
+ {
2894
+ id: "shell-path-traversal-windows",
2895
+ description: "Windows path traversal: ..\\ \u2014 climbing the directory tree",
2896
+ pattern: /\.\.\\/
2897
+ },
2898
+ {
2899
+ id: "shell-path-traversal-encoded",
2900
+ description: "URL-encoded path traversal: %2e%2e or %2f variants",
2901
+ pattern: /%2e%2e|%2f\.\.|\.\.%2f/i
2902
+ },
2903
+ {
2904
+ id: "shell-null-byte",
2905
+ description: "Null byte injection: \\x00 or %00 \u2014 truncates strings in C-backed functions",
2906
+ pattern: /\x00|%00/
2907
+ },
2908
+ {
2909
+ id: "shell-semicolon",
2910
+ description: "Semicolon command separator: cmd1; cmd2",
2911
+ pattern: /;/
2912
+ },
2913
+ {
2914
+ id: "shell-pipe",
2915
+ description: "Pipe operator: cmd1 | cmd2",
2916
+ pattern: /\|/
2917
+ },
2918
+ {
2919
+ id: "shell-and-operator",
2920
+ description: "AND operator: cmd1 && cmd2",
2921
+ pattern: /&&/
2922
+ },
2923
+ {
2924
+ id: "shell-or-operator",
2925
+ description: "OR operator: cmd1 || cmd2",
2926
+ pattern: /\|\|/
2927
+ },
2928
+ {
2929
+ id: "shell-backtick",
2930
+ description: "Backtick command substitution: `cmd`",
2931
+ pattern: /`/
2932
+ },
2933
+ {
2934
+ id: "shell-dollar-paren",
2935
+ description: "Dollar-paren command substitution: $(cmd)",
2936
+ pattern: /\$\(/
2937
+ },
2938
+ {
2939
+ id: "shell-dollar-brace",
2940
+ description: "Dollar-brace variable expansion: ${var} \u2014 can be abused for injection",
2941
+ pattern: /\$\{/
2942
+ },
2943
+ {
2944
+ id: "shell-redirect-out",
2945
+ description: "Output redirection: cmd > file or cmd >> file",
2946
+ pattern: />{1,2}/
2947
+ },
2948
+ {
2949
+ id: "shell-redirect-in",
2950
+ description: "Input redirection: cmd < file",
2951
+ pattern: /</
2952
+ },
2953
+ {
2954
+ id: "shell-newline-injection",
2955
+ description: "Newline injection: \\n or \\r \u2014 can inject new shell commands",
2956
+ pattern: /[\n\r]/
2957
+ },
2958
+ {
2959
+ id: "shell-glob-star",
2960
+ description: "Glob expansion: * or ? \u2014 can expand to unintended files",
2961
+ // Only flag when combined with path separators to reduce false positives
2962
+ pattern: /[/\\][*?]/
2963
+ },
2964
+ {
2965
+ id: "shell-absolute-root",
2966
+ description: "Absolute root path injection: string starting with / or \\ (Windows UNC)",
2967
+ pattern: /^(?:\/|\\\\)/
2968
+ },
2969
+ {
2970
+ id: "shell-windows-drive",
2971
+ description: "Windows drive letter path injection: C:\\ or D:/",
2972
+ pattern: /^[a-zA-Z]:[/\\]/
2973
+ },
2974
+ {
2975
+ id: "shell-curl-wget",
2976
+ description: "curl/wget with URL or flags \u2014 can exfiltrate data or download payloads",
2977
+ // Require a URL scheme (http/https/ftp) or a flag (-) to reduce false positives
2978
+ // "curl is a tool" won't match; "curl http://..." or "curl -s ..." will
2979
+ pattern: /\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i
2980
+ }
2981
+ ];
2982
+ var shell_default = SHELL_PATTERNS;
2983
+
2984
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/redos.js
2985
+ var REDOS_PATTERNS = [
2986
+ {
2987
+ id: "redos-nested-quantifier-plus",
2988
+ description: "Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",
2989
+ // Matches any group containing a + quantifier, with an outer * or + — catches (a+)+, (.+b)*, etc.
2990
+ pattern: /\([^)]*\+[^)]*\)[+*]/
2991
+ },
2992
+ {
2993
+ id: "redos-nested-quantifier-star",
2994
+ description: "Nested * quantifier: (a*)* or (a*)+ \u2014 catastrophic backtracking",
2995
+ pattern: /\([^)]*\*[^)]*\)[*+]/
2996
+ },
2997
+ {
2998
+ id: "redos-nested-groups",
2999
+ description: "Doubly nested quantified groups: ((a+)+) \u2014 guaranteed catastrophic",
3000
+ pattern: /\(\([^)]{0,40}\)[+*]\)[+*]/
3001
+ },
3002
+ {
3003
+ id: "redos-alternation-overlap",
3004
+ description: "Overlapping alternation under quantifier: (a|a)+ \u2014 ambiguous NFA paths",
3005
+ // Detect repeated identical alternatives under a quantifier
3006
+ pattern: /\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/
3007
+ },
3008
+ {
3009
+ id: "redos-star-plus-concat",
3010
+ description: "(x*x)+ pattern \u2014 triggers super-linear backtracking",
3011
+ pattern: /\([^)]{0,10}\*[^)]{0,10}\)[+*]/
3012
+ },
3013
+ {
3014
+ id: "redos-dot-star-greedy",
3015
+ description: "(.*){n,} or (.+){n,} \u2014 repeated greedy dot quantifiers",
3016
+ pattern: /\(\.[*+]\)\{?\d/
3017
+ },
3018
+ {
3019
+ id: "redos-large-repetition",
3020
+ description: "Very large fixed or range repetition count {1000,} or {1000,n} \u2014 denial of service via backtracking",
3021
+ // Matches { followed by 4+ digits (≥1000), then optional ,digits }
3022
+ pattern: /\{\d{4,}(?:,\d*)?\}/
3023
+ },
3024
+ {
3025
+ id: "redos-catastrophic-alternation",
3026
+ description: "Long alternation with many similar branches \u2014 polynomial backtracking risk",
3027
+ // Heuristic: 10+ pipe-separated alternatives in a single group
3028
+ pattern: /\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/
3029
+ }
3030
+ ];
3031
+ var redos_default = REDOS_PATTERNS;
3032
+
3033
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/nosql.js
3034
+ var sep = `["'\\s]*:`;
3035
+ var NOSQL_PATTERNS = [
3036
+ // ─── MongoDB $ operator injection ────────────────────────────────────────
3037
+ {
3038
+ id: "nosql-where-operator",
3039
+ description: "$where \u2014 executes arbitrary JavaScript server-side in MongoDB",
3040
+ pattern: new RegExp(`\\$where${sep}`, "i")
3041
+ },
3042
+ {
3043
+ id: "nosql-ne-operator",
3044
+ description: '$ne \u2014 "not equal" operator used to bypass equality checks',
3045
+ pattern: new RegExp(`\\$ne${sep}`, "i")
3046
+ },
3047
+ {
3048
+ id: "nosql-gt-operator",
3049
+ description: '$gt \u2014 "greater than" used to bypass password/value checks',
3050
+ pattern: new RegExp(`\\$gte?${sep}`, "i")
3051
+ },
3052
+ {
3053
+ id: "nosql-lt-operator",
3054
+ description: '$lt / $lte \u2014 "less than" bypass variants',
3055
+ pattern: new RegExp(`\\$lte?${sep}`, "i")
3056
+ },
3057
+ {
3058
+ id: "nosql-regex-operator",
3059
+ description: "$regex \u2014 can be used to extract data character by character (blind injection)",
3060
+ pattern: new RegExp(`\\$regex${sep}`, "i")
3061
+ },
3062
+ {
3063
+ id: "nosql-or-operator",
3064
+ description: "$or \u2014 logical OR; used to create always-true conditions",
3065
+ pattern: new RegExp(`\\$or${sep}\\s*\\[`, "i")
3066
+ },
3067
+ {
3068
+ id: "nosql-and-operator",
3069
+ description: "$and \u2014 logical AND operator injection",
3070
+ pattern: new RegExp(`\\$and${sep}\\s*\\[`, "i")
3071
+ },
3072
+ {
3073
+ id: "nosql-nor-operator",
3074
+ description: "$nor \u2014 logical NOR operator injection",
3075
+ pattern: new RegExp(`\\$nor${sep}\\s*\\[`, "i")
3076
+ },
3077
+ {
3078
+ id: "nosql-exists-operator",
3079
+ description: "$exists \u2014 can enumerate fields to determine schema",
3080
+ pattern: new RegExp(`\\$exists${sep}`, "i")
3081
+ },
3082
+ {
3083
+ id: "nosql-in-operator",
3084
+ description: "$in \u2014 matches any value in a list; can enumerate values",
3085
+ pattern: new RegExp(`\\$in${sep}\\s*\\[`, "i")
3086
+ },
3087
+ {
3088
+ id: "nosql-expr-operator",
3089
+ description: "$expr \u2014 allows aggregation expressions in queries (MongoDB 3.6+)",
3090
+ pattern: new RegExp(`\\$expr${sep}`, "i")
3091
+ },
3092
+ {
3093
+ id: "nosql-function-operator",
3094
+ description: "$function \u2014 executes arbitrary JavaScript in MongoDB 4.4+",
3095
+ pattern: new RegExp(`\\$function${sep}`, "i")
3096
+ },
3097
+ {
3098
+ id: "nosql-accumulator-operator",
3099
+ description: "$accumulator \u2014 custom aggregation with arbitrary JS execution",
3100
+ pattern: new RegExp(`\\$accumulator${sep}`, "i")
3101
+ },
3102
+ // ─── Prototype pollution ─────────────────────────────────────────────────
3103
+ {
3104
+ id: "nosql-proto-pollution",
3105
+ description: "__proto__ \u2014 prototype pollution via object key injection",
3106
+ pattern: /__proto__/
3107
+ },
3108
+ {
3109
+ id: "nosql-constructor-prototype",
3110
+ description: "constructor.prototype \u2014 alternative prototype pollution vector (dot notation or JSON key)",
3111
+ // Matches dot-notation (obj.constructor.prototype) and JSON key adjacency
3112
+ // ("constructor": {"prototype": ...})
3113
+ pattern: /constructor[\s"':.,{\[]*prototype/i
3114
+ },
3115
+ {
3116
+ id: "nosql-proto-bracket",
3117
+ description: '["__proto__"] \u2014 bracket-notation prototype pollution',
3118
+ pattern: /\[["']__proto__["']\]/
3119
+ }
3120
+ ];
3121
+ var nosql_default = NOSQL_PATTERNS;
3122
+
3123
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/log.js
3124
+ var LOG_PATTERNS = [
3125
+ // ─── CRLF / newline injection ─────────────────────────────────────────────
3126
+ {
3127
+ id: "log-crlf-injection",
3128
+ description: "CRLF injection: literal \\r or \\n embeds fake log lines",
3129
+ pattern: /[\r\n]/
3130
+ },
3131
+ {
3132
+ id: "log-url-encoded-crlf",
3133
+ description: "URL-encoded CRLF: %0d, %0a, %0D, %0A \u2014 decoded by some log parsers",
3134
+ pattern: /%0[dDaA]/
3135
+ },
3136
+ {
3137
+ id: "log-unicode-newline",
3138
+ description: "Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",
3139
+ pattern: /[\u2028\u2029]/
3140
+ },
3141
+ // ─── Log4Shell / JNDI injection (CVE-2021-44228) ─────────────────────────
3142
+ {
3143
+ id: "log-log4shell-jndi",
3144
+ description: "Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",
3145
+ pattern: /\$\{jndi\s*:/i
3146
+ },
3147
+ {
3148
+ id: "log-log4shell-obfuscated",
3149
+ description: "Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",
3150
+ // ${::- is the Log4j lookup-bypass escape sequence; presence alone is suspicious
3151
+ pattern: /\$\{::-/
3152
+ },
3153
+ {
3154
+ id: "log-log4j-lookup",
3155
+ description: "Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} \u2014 data exfiltration",
3156
+ pattern: /\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i
3157
+ },
3158
+ // ─── Server-Side Template Injection (SSTI) in log messages ───────────────
3159
+ {
3160
+ id: "log-ssti-double-brace",
3161
+ description: "SSTI double-brace: {{expression}} \u2014 Jinja2, Twig, Handlebars, etc.",
3162
+ pattern: /\{\{[\s\S]{0,80}\}\}/
3163
+ },
3164
+ {
3165
+ id: "log-ssti-hash-brace",
3166
+ description: "SSTI hash-brace: #{expression} \u2014 Thymeleaf, Velocity, Ruby ERB",
3167
+ pattern: /#\{[\s\S]{0,80}\}/
3168
+ },
3169
+ {
3170
+ id: "log-ssti-dollar-brace",
3171
+ description: "SSTI/EL injection: ${expression with operators or method calls} \u2014 JSP EL, Freemarker, SpEL",
3172
+ // Require that the ${...} content looks like an expression, not a plain variable name.
3173
+ // Flags if the content contains: . ( * + operators, or known SSTI keywords.
3174
+ // This avoids flagging ${PATH}, ${HOME} etc. (plain shell variables).
3175
+ pattern: /\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i
3176
+ },
3177
+ {
3178
+ id: "log-ssti-percent-tag",
3179
+ description: "SSTI ERB/ASP tag: <%= expression %> \u2014 Ruby ERB, ASP",
3180
+ pattern: /<%=[\s\S]{0,80}%>/
3181
+ },
3182
+ // ─── Null byte ────────────────────────────────────────────────────────────
3183
+ {
3184
+ id: "log-null-byte",
3185
+ description: "Null byte: \\x00 or %00 \u2014 can truncate log entries in C-backed loggers",
3186
+ pattern: /\x00|%00/
3187
+ },
3188
+ // ─── ANSI escape injection ────────────────────────────────────────────────
3189
+ {
3190
+ id: "log-ansi-escape",
3191
+ description: "ANSI escape sequence: ESC[ \u2014 can manipulate terminal output when logs are tailed",
3192
+ pattern: /\x1b\[/
3193
+ }
3194
+ ];
3195
+ var log_default = LOG_PATTERNS;
3196
+
3197
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/contexts/sql-strict.js
3198
+ var SQL_STRICT_EXTRA = [
3199
+ {
3200
+ id: "sql-line-comment",
3201
+ description: "SQL line comment: -- followed by whitespace or end of string",
3202
+ pattern: /--(?:\s|$)/
3203
+ },
3204
+ {
3205
+ id: "sql-stacked-query",
3206
+ description: "Stacked queries: semicolon immediately followed by a SQL keyword",
3207
+ pattern: /;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i
3208
+ },
3209
+ {
3210
+ id: "sql-hex-encoding",
3211
+ description: "Hex-encoded string injection: 0x41414141 style (MySQL)",
3212
+ pattern: /\b0x[0-9a-f]{4,}/i
3213
+ }
3214
+ ];
3215
+ var SQL_STRICT_PATTERNS = [...sql_default, ...SQL_STRICT_EXTRA];
3216
+ var sql_strict_default = SQL_STRICT_PATTERNS;
3217
+
3218
+ // node_modules/.pnpm/is-unsafe@2.0.0/node_modules/is-unsafe/src/index.js
3219
+ html_default.label = "HTML";
3220
+ xml_default.label = "XML";
3221
+ svg_default.label = "SVG";
3222
+ sql_default.label = "SQL";
3223
+ sql_strict_default.label = "SQL-STRICT";
3224
+ shell_default.label = "SHELL";
3225
+ redos_default.label = "REDOS";
3226
+ nosql_default.label = "NOSQL";
3227
+ log_default.label = "LOG";
3228
+ var VALID_CONTEXTS = Object.freeze({
3229
+ HTML: html_default,
3230
+ XML: xml_default,
3231
+ SVG: svg_default,
3232
+ SQL: sql_default,
3233
+ "SQL-STRICT": sql_strict_default,
3234
+ SHELL: shell_default,
3235
+ REDOS: redos_default,
3236
+ NOSQL: nosql_default,
3237
+ LOG: log_default
3238
+ });
3239
+ function assertString(value) {
3240
+ if (typeof value !== "string") {
3241
+ throw new TypeError(
3242
+ `is-unsafe: first argument must be a string, got ${typeof value}`
3243
+ );
3244
+ }
3245
+ }
3246
+ function assertContext(context) {
3247
+ if (context instanceof RegExp) return;
3248
+ if (Array.isArray(context)) {
3249
+ if (context.length === 0) {
3250
+ throw new TypeError("is-unsafe: context must not be an empty array");
3251
+ }
3252
+ if (Array.isArray(context[0])) {
3253
+ for (const list of context) {
3254
+ if (!Array.isArray(list) || list.length === 0) {
3255
+ throw new TypeError(
3256
+ "is-unsafe: each context in the array must be a non-empty pattern array (PatternList)"
3257
+ );
3258
+ }
3259
+ }
3260
+ }
3261
+ return;
3262
+ }
3263
+ throw new TypeError(
3264
+ `is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof context}`
3265
+ );
3266
+ }
3267
+ function normalise(context) {
3268
+ if (context instanceof RegExp) return { lists: null, regex: context };
3269
+ if (Array.isArray(context[0])) return { lists: context, regex: null };
3270
+ return { lists: [context], regex: null };
3271
+ }
3272
+ function matchList(value, list) {
3273
+ const label = list.label ?? "CUSTOM";
3274
+ for (const rule of list) {
3275
+ if (rule.pattern.test(value)) {
3276
+ return { context: label, id: rule.id, description: rule.description, pattern: rule.pattern };
3277
+ }
3278
+ }
3279
+ return null;
3280
+ }
3281
+ function isUnsafe(value, context) {
3282
+ assertString(value);
3283
+ assertContext(context);
3284
+ const { lists, regex } = normalise(context);
3285
+ if (regex) return regex.test(value);
3286
+ for (const list of lists) {
3287
+ if (matchList(value, list) !== null) return true;
3288
+ }
3289
+ return false;
3290
+ }
3291
+
3292
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js
3293
+ function extractRawAttributes(prefixedAttrs, options) {
3294
+ if (!prefixedAttrs) return {};
3295
+ const attrs = options.attributesGroupName ? prefixedAttrs[options.attributesGroupName] : prefixedAttrs;
3296
+ if (!attrs) return {};
3297
+ const rawAttrs = {};
3298
+ for (const key in attrs) {
3299
+ if (key.startsWith(options.attributeNamePrefix)) {
3300
+ const rawName = key.substring(options.attributeNamePrefix.length);
3301
+ rawAttrs[rawName] = attrs[key];
3302
+ } else {
3303
+ rawAttrs[key] = attrs[key];
3304
+ }
3305
+ }
3306
+ return rawAttrs;
3307
+ }
3308
+ function extractNamespace(rawTagName) {
3309
+ if (!rawTagName || typeof rawTagName !== "string") return void 0;
3310
+ const colonIndex = rawTagName.indexOf(":");
3311
+ if (colonIndex !== -1 && colonIndex > 0) {
3312
+ const ns = rawTagName.substring(0, colonIndex);
3313
+ if (ns !== "xmlns") {
3314
+ return ns;
3315
+ }
3316
+ }
3317
+ return void 0;
3318
+ }
3319
+ var OrderedObjParser = class {
3320
+ constructor(options, externalEntities) {
3321
+ this.options = options;
3322
+ this.currentNode = null;
3323
+ this.tagsNodeStack = [];
3324
+ this.parseXml = parseXml;
3325
+ this.parseTextData = parseTextData;
3326
+ this.resolveNameSpace = resolveNameSpace;
3327
+ this.buildAttributesMap = buildAttributesMap;
3328
+ this.isItStopNode = isItStopNode;
3329
+ this.replaceEntitiesValue = replaceEntitiesValue;
3330
+ this.readStopNodeData = readStopNodeData;
3331
+ this.saveTextToParentTag = saveTextToParentTag;
3332
+ this.addChild = addChild;
3333
+ this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes);
3334
+ this.entityExpansionCount = 0;
3335
+ this.currentExpandedLength = 0;
3336
+ this.doctypefound = false;
3337
+ let namedEntities = { ...XML };
3338
+ if (this.options.entityDecoder) {
3339
+ this.entityDecoder = this.options.entityDecoder;
3340
+ } else {
3341
+ if (typeof this.options.htmlEntities === "object") namedEntities = this.options.htmlEntities;
3342
+ else if (this.options.htmlEntities === true) namedEntities = { ...COMMON_HTML, ...CURRENCY };
3343
+ this.entityDecoder = new EntityDecoder({
3344
+ namedEntities: { ...namedEntities, ...externalEntities },
3345
+ numericAllowed: this.options.htmlEntities,
3346
+ limit: {
3347
+ maxTotalExpansions: this.options.processEntities.maxTotalExpansions,
3348
+ maxExpandedLength: this.options.processEntities.maxExpandedLength,
3349
+ applyLimitsTo: this.options.processEntities.appliesTo
3350
+ },
3351
+ // onExternalEntity: (name, value) => isUnsafe(value) ? 'block' : 'allow',
3352
+ onInputEntity: (name, value) => (
3353
+ //TODO: VALID_CONTEXTS.HTML should be set only if this.options.htmlEntities
3354
+ isUnsafe(value, [html_default, xml_default]) ? ENTITY_ACTION.BLOCK : ENTITY_ACTION.ALLOW
3355
+ )
3356
+ //postCheck: resolved => resolved
3357
+ });
3358
+ }
3359
+ this.matcher = new Matcher();
3360
+ this.readonlyMatcher = this.matcher.readOnly();
3361
+ this.isCurrentNodeStopNode = false;
3362
+ this.stopNodeExpressionsSet = new ExpressionSet();
3363
+ const stopNodesOpts = this.options.stopNodes;
3364
+ if (stopNodesOpts && stopNodesOpts.length > 0) {
3365
+ for (let i = 0; i < stopNodesOpts.length; i++) {
3366
+ const stopNodeExp = stopNodesOpts[i];
3367
+ if (typeof stopNodeExp === "string") {
3368
+ this.stopNodeExpressionsSet.add(new Expression(stopNodeExp));
3369
+ } else if (stopNodeExp instanceof Expression) {
3370
+ this.stopNodeExpressionsSet.add(stopNodeExp);
3371
+ }
3372
+ }
3373
+ this.stopNodeExpressionsSet.seal();
3374
+ }
3375
+ }
3376
+ };
3377
+ function parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) {
3378
+ const options = this.options;
3379
+ if (val !== void 0) {
3380
+ if (options.trimValues && !dontTrim) {
3381
+ val = val.trim();
3382
+ }
3383
+ if (val.length > 0) {
3384
+ if (!escapeEntities) val = this.replaceEntitiesValue(val, tagName, jPath);
3385
+ const jPathOrMatcher = options.jPath ? jPath.toString() : jPath;
3386
+ const newval = options.tagValueProcessor(tagName, val, jPathOrMatcher, hasAttributes, isLeafNode);
3387
+ if (newval === null || newval === void 0) {
3388
+ return val;
3389
+ } else if (typeof newval !== typeof val || newval !== val) {
3390
+ return newval;
3391
+ } else if (options.trimValues) {
3392
+ return parseValue(val, options.parseTagValue, options.numberParseOptions);
3393
+ } else {
3394
+ const trimmedVal = val.trim();
3395
+ if (trimmedVal === val) {
3396
+ return parseValue(val, options.parseTagValue, options.numberParseOptions);
3397
+ } else {
3398
+ return val;
3399
+ }
3400
+ }
3401
+ }
3402
+ }
3403
+ }
3404
+ function resolveNameSpace(tagname) {
3405
+ if (this.options.removeNSPrefix) {
3406
+ const tags = tagname.split(":");
3407
+ const prefix = tagname.charAt(0) === "/" ? "/" : "";
3408
+ if (tags[0] === "xmlns") {
3409
+ return "";
3410
+ }
3411
+ if (tags.length === 2) {
3412
+ tagname = prefix + tags[1];
3413
+ }
3414
+ }
3415
+ return tagname;
3416
+ }
3417
+ var attrsRegx = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
3418
+ function buildAttributesMap(attrStr, jPath, tagName, force = false) {
3419
+ const options = this.options;
3420
+ if (force === true || options.ignoreAttributes !== true && typeof attrStr === "string") {
3421
+ const matches = getAllMatches(attrStr, attrsRegx);
3422
+ const len = matches.length;
3423
+ const attrs = {};
3424
+ const processedVals = new Array(len);
3425
+ let hasRawAttrs = false;
3426
+ const rawAttrsForMatcher = {};
3427
+ for (let i = 0; i < len; i++) {
3428
+ const attrName = this.resolveNameSpace(matches[i][1]);
3429
+ const oldVal = matches[i][4];
3430
+ if (attrName.length && oldVal !== void 0) {
3431
+ let val = oldVal;
3432
+ if (options.trimValues) val = val.trim();
3433
+ val = this.replaceEntitiesValue(val, tagName, this.readonlyMatcher);
3434
+ processedVals[i] = val;
3435
+ rawAttrsForMatcher[attrName] = val;
3436
+ hasRawAttrs = true;
3437
+ }
3438
+ }
3439
+ if (hasRawAttrs && typeof jPath === "object" && jPath.updateCurrent) {
3440
+ jPath.updateCurrent(rawAttrsForMatcher);
3441
+ }
3442
+ const jPathStr = options.jPath ? jPath.toString() : this.readonlyMatcher;
3443
+ let hasAttrs = false;
3444
+ for (let i = 0; i < len; i++) {
3445
+ const attrName = this.resolveNameSpace(matches[i][1]);
3446
+ if (this.ignoreAttributesFn(attrName, jPathStr)) continue;
3447
+ let aName = options.attributeNamePrefix + attrName;
3448
+ if (attrName.length) {
3449
+ if (options.transformAttributeName) {
3450
+ aName = options.transformAttributeName(aName);
3451
+ }
3452
+ aName = sanitizeName(aName, options);
3453
+ if (matches[i][4] !== void 0) {
3454
+ const oldVal = processedVals[i];
3455
+ const newVal = options.attributeValueProcessor(attrName, oldVal, jPathStr);
3456
+ if (newVal === null || newVal === void 0) {
3457
+ attrs[aName] = oldVal;
3458
+ } else if (typeof newVal !== typeof oldVal || newVal !== oldVal) {
3459
+ attrs[aName] = newVal;
3460
+ } else {
3461
+ attrs[aName] = parseValue(oldVal, options.parseAttributeValue, options.numberParseOptions);
3462
+ }
3463
+ hasAttrs = true;
3464
+ } else if (options.allowBooleanAttributes) {
3465
+ attrs[aName] = true;
3466
+ hasAttrs = true;
3467
+ }
3468
+ }
3469
+ }
3470
+ if (!hasAttrs) return;
3471
+ if (options.attributesGroupName && !options.preserveOrder) {
3472
+ const attrCollection = {};
3473
+ attrCollection[options.attributesGroupName] = attrs;
3474
+ return attrCollection;
3475
+ }
3476
+ return attrs;
3477
+ }
3478
+ }
3479
+ var parseXml = function(xmlData) {
3480
+ xmlData = xmlData.replace(/\r\n?/g, "\n");
3481
+ const xmlObj = new XmlNode("!xml");
3482
+ let currentNode = xmlObj;
3483
+ let textData = "";
3484
+ this.matcher.reset();
3485
+ this.entityDecoder.reset();
3486
+ this.entityExpansionCount = 0;
3487
+ this.currentExpandedLength = 0;
3488
+ this.doctypefound = false;
3489
+ const options = this.options;
3490
+ const docTypeReader = new DocTypeReader(options.processEntities);
3491
+ const xmlLen = xmlData.length;
3492
+ for (let i = 0; i < xmlLen; i++) {
3493
+ const ch = xmlData[i];
3494
+ if (ch === "<") {
3495
+ const c1 = xmlData.charCodeAt(i + 1);
3496
+ if (c1 === 47) {
3497
+ const closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed.");
3498
+ let tagName = xmlData.substring(i + 2, closeIndex).trim();
3499
+ if (options.removeNSPrefix) {
3500
+ const colonIndex = tagName.indexOf(":");
3501
+ if (colonIndex !== -1) {
3502
+ tagName = tagName.substr(colonIndex + 1);
3503
+ }
3504
+ }
3505
+ tagName = transformTagName(options.transformTagName, tagName, "", options).tagName;
3506
+ if (currentNode) {
3507
+ textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);
3508
+ }
3509
+ const lastTagName = this.matcher.getCurrentTag();
3510
+ if (tagName && options.unpairedTagsSet.has(tagName)) {
3511
+ throw new Error(`Unpaired tag can not be used as closing tag: </${tagName}>`);
3512
+ }
3513
+ if (lastTagName && options.unpairedTagsSet.has(lastTagName)) {
3514
+ this.matcher.pop();
3515
+ this.tagsNodeStack.pop();
3516
+ }
3517
+ this.matcher.pop();
3518
+ this.isCurrentNodeStopNode = false;
3519
+ currentNode = this.tagsNodeStack.pop() || xmlObj;
3520
+ if (options.captureMetaData && currentNode) {
3521
+ currentNode.addEndIndex(closeIndex + 1);
3522
+ }
3523
+ textData = "";
3524
+ i = closeIndex;
3525
+ } else if (c1 === 63) {
3526
+ let tagData = readTagExp(xmlData, i, false, "?>");
3527
+ if (!tagData) throw new Error("Pi Tag is not closed.");
3528
+ textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);
3529
+ const attsMap = this.buildAttributesMap(tagData.tagExp, this.matcher, tagData.tagName, true);
3530
+ if (attsMap) {
3531
+ const ver = attsMap[this.options.attributeNamePrefix + "version"];
3532
+ this.entityDecoder.setXmlVersion(Number(ver) || 1);
3533
+ docTypeReader.setXmlVersion(Number(ver) || 1);
3534
+ }
3535
+ if (options.ignoreDeclaration && tagData.tagName === "?xml" || options.ignorePiTags) {
3536
+ } else {
3537
+ const childNode = new XmlNode(tagData.tagName);
3538
+ childNode.add(options.textNodeName, "");
3539
+ if (tagData.tagName !== tagData.tagExp && tagData.attrExpPresent && options.ignoreAttributes !== true) {
3540
+ childNode[":@"] = attsMap;
3541
+ }
3542
+ this.addChild(currentNode, childNode, this.readonlyMatcher, i);
3543
+ if (options.captureMetaData) {
3544
+ currentNode.addEndIndex(tagData.closeIndex + 2);
3545
+ }
3546
+ }
3547
+ i = tagData.closeIndex + 1;
3548
+ } else if (c1 === 33 && xmlData.charCodeAt(i + 2) === 45 && xmlData.charCodeAt(i + 3) === 45) {
3549
+ const endIndex = findClosingIndex(xmlData, "-->", i + 4, "Comment is not closed.");
3550
+ if (options.commentPropName) {
3551
+ const comment = xmlData.substring(i + 4, endIndex - 2);
3552
+ textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);
3553
+ currentNode.add(options.commentPropName, [{ [options.textNodeName]: comment }]);
3554
+ }
3555
+ i = endIndex;
3556
+ } else if (c1 === 33 && xmlData.charCodeAt(i + 2) === 68) {
3557
+ if (this.doctypefound) throw new Error("Multiple DOCTYPE declarations found.");
3558
+ this.doctypefound = true;
3559
+ const result = docTypeReader.readDocType(xmlData, i);
3560
+ this.entityDecoder.addInputEntities(result.entities);
3561
+ i = result.i;
3562
+ } else if (c1 === 33 && xmlData.charCodeAt(i + 2) === 91) {
3563
+ const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2;
3564
+ const tagExp = xmlData.substring(i + 9, closeIndex);
3565
+ textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher);
3566
+ let val = this.parseTextData(tagExp, currentNode.tagname, this.readonlyMatcher, true, false, true, true);
3567
+ if (val == void 0) val = "";
3568
+ if (options.cdataPropName) {
3569
+ currentNode.add(options.cdataPropName, [{ [options.textNodeName]: tagExp }]);
3570
+ } else {
3571
+ currentNode.add(options.textNodeName, val);
3572
+ }
3573
+ i = closeIndex + 2;
3574
+ } else {
3575
+ let result = readTagExp(xmlData, i, options.removeNSPrefix);
3576
+ if (!result) {
3577
+ const context = xmlData.substring(Math.max(0, i - 50), Math.min(xmlLen, i + 50));
3578
+ throw new Error(`readTagExp returned undefined at position ${i}. Context: "${context}"`);
3579
+ }
3580
+ let tagName = result.tagName;
3581
+ const rawTagName = result.rawTagName;
3582
+ let tagExp = result.tagExp;
3583
+ let attrExpPresent = result.attrExpPresent;
3584
+ let closeIndex = result.closeIndex;
3585
+ ({ tagName, tagExp } = transformTagName(options.transformTagName, tagName, tagExp, options));
3586
+ if (options.strictReservedNames && (tagName === options.commentPropName || tagName === options.cdataPropName || tagName === options.textNodeName || tagName === options.attributesGroupName)) {
3587
+ throw new Error(`Invalid tag name: ${tagName}`);
3588
+ }
3589
+ if (currentNode && textData) {
3590
+ if (currentNode.tagname !== "!xml") {
3591
+ textData = this.saveTextToParentTag(textData, currentNode, this.readonlyMatcher, false);
3592
+ }
3593
+ }
3594
+ const lastTag = currentNode;
3595
+ if (lastTag && options.unpairedTagsSet.has(lastTag.tagname)) {
3596
+ currentNode = this.tagsNodeStack.pop();
3597
+ this.matcher.pop();
3598
+ }
3599
+ let isSelfClosing = false;
3600
+ if (tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1) {
3601
+ isSelfClosing = true;
3602
+ if (tagName[tagName.length - 1] === "/") {
3603
+ tagName = tagName.substr(0, tagName.length - 1);
3604
+ tagExp = tagName;
3605
+ } else {
3606
+ tagExp = tagExp.substr(0, tagExp.length - 1);
3607
+ }
3608
+ attrExpPresent = tagName !== tagExp;
3609
+ }
3610
+ let prefixedAttrs = null;
3611
+ let rawAttrs = {};
3612
+ let namespace = void 0;
3613
+ namespace = extractNamespace(rawTagName);
3614
+ if (tagName !== xmlObj.tagname) {
3615
+ this.matcher.push(tagName, {}, namespace);
3616
+ }
3617
+ if (tagName !== tagExp && attrExpPresent) {
3618
+ prefixedAttrs = this.buildAttributesMap(tagExp, this.matcher, tagName);
3619
+ if (prefixedAttrs) {
3620
+ rawAttrs = extractRawAttributes(prefixedAttrs, options);
3621
+ }
3622
+ }
3623
+ if (tagName !== xmlObj.tagname) {
3624
+ this.isCurrentNodeStopNode = this.isItStopNode();
3625
+ }
3626
+ const startIndex = i;
3627
+ if (this.isCurrentNodeStopNode) {
3628
+ let tagContent = "";
3629
+ if (isSelfClosing) {
3630
+ i = result.closeIndex;
3631
+ } else if (options.unpairedTagsSet.has(tagName)) {
3632
+ i = result.closeIndex;
3633
+ } else {
3634
+ const result2 = this.readStopNodeData(xmlData, rawTagName, closeIndex + 1);
3635
+ if (!result2) throw new Error(`Unexpected end of ${rawTagName}`);
3636
+ i = result2.i;
3637
+ tagContent = result2.tagContent;
3638
+ }
3639
+ const childNode = new XmlNode(tagName);
3640
+ if (prefixedAttrs) {
3641
+ childNode[":@"] = prefixedAttrs;
3642
+ }
3643
+ childNode.add(options.textNodeName, tagContent);
3644
+ this.matcher.pop();
3645
+ this.isCurrentNodeStopNode = false;
3646
+ this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);
3647
+ if (options.captureMetaData) {
3648
+ currentNode.addEndIndex(i + 1);
3649
+ }
3650
+ } else {
3651
+ if (isSelfClosing) {
3652
+ ({ tagName, tagExp } = transformTagName(options.transformTagName, tagName, tagExp, options));
3653
+ const childNode = new XmlNode(tagName);
3654
+ if (prefixedAttrs) {
3655
+ childNode[":@"] = prefixedAttrs;
3656
+ }
3657
+ this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);
3658
+ if (options.captureMetaData) {
3659
+ currentNode.addEndIndex(closeIndex + 1);
3660
+ }
3661
+ this.matcher.pop();
3662
+ this.isCurrentNodeStopNode = false;
3663
+ } else if (options.unpairedTagsSet.has(tagName)) {
3664
+ const childNode = new XmlNode(tagName);
3665
+ if (prefixedAttrs) {
3666
+ childNode[":@"] = prefixedAttrs;
3667
+ }
3668
+ this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);
3669
+ if (options.captureMetaData) {
3670
+ currentNode.addEndIndex(result.closeIndex + 1);
3671
+ }
3672
+ this.matcher.pop();
3673
+ this.isCurrentNodeStopNode = false;
3674
+ i = result.closeIndex;
3675
+ continue;
3676
+ } else {
3677
+ const childNode = new XmlNode(tagName);
3678
+ if (this.tagsNodeStack.length > options.maxNestedTags) {
3679
+ throw new Error("Maximum nested tags exceeded");
3680
+ }
3681
+ this.tagsNodeStack.push(currentNode);
3682
+ if (prefixedAttrs) {
3683
+ childNode[":@"] = prefixedAttrs;
3684
+ }
3685
+ this.addChild(currentNode, childNode, this.readonlyMatcher, startIndex);
3686
+ currentNode = childNode;
3687
+ }
3688
+ textData = "";
3689
+ i = closeIndex;
3690
+ }
3691
+ }
3692
+ } else {
3693
+ textData += xmlData[i];
3694
+ }
3695
+ }
3696
+ return xmlObj.child;
3697
+ };
3698
+ function addChild(currentNode, childNode, matcher, startIndex) {
3699
+ if (!this.options.captureMetaData) startIndex = void 0;
3700
+ const jPathOrMatcher = this.options.jPath ? matcher.toString() : matcher;
3701
+ const result = this.options.updateTag(childNode.tagname, jPathOrMatcher, childNode[":@"]);
3702
+ if (result === false) {
3703
+ } else if (typeof result === "string") {
3704
+ childNode.tagname = result;
3705
+ currentNode.addChild(childNode, startIndex);
3706
+ } else {
3707
+ currentNode.addChild(childNode, startIndex);
3708
+ }
3709
+ }
3710
+ function replaceEntitiesValue(val, tagName, jPath) {
3711
+ const entityConfig = this.options.processEntities;
3712
+ if (!entityConfig || !entityConfig.enabled) {
3713
+ return val;
3714
+ }
3715
+ if (entityConfig.allowedTags) {
3716
+ const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;
3717
+ const allowed = Array.isArray(entityConfig.allowedTags) ? entityConfig.allowedTags.includes(tagName) : entityConfig.allowedTags(tagName, jPathOrMatcher);
3718
+ if (!allowed) {
3719
+ return val;
3720
+ }
3721
+ }
3722
+ if (entityConfig.tagFilter) {
3723
+ const jPathOrMatcher = this.options.jPath ? jPath.toString() : jPath;
3724
+ if (!entityConfig.tagFilter(tagName, jPathOrMatcher)) {
3725
+ return val;
3726
+ }
3727
+ }
3728
+ return this.entityDecoder.decode(val);
3729
+ }
3730
+ function saveTextToParentTag(textData, parentNode, matcher, isLeafNode) {
3731
+ if (textData) {
3732
+ if (isLeafNode === void 0) isLeafNode = parentNode.child.length === 0;
3733
+ textData = this.parseTextData(
3734
+ textData,
3735
+ parentNode.tagname,
3736
+ matcher,
3737
+ false,
3738
+ parentNode[":@"] ? Object.keys(parentNode[":@"]).length !== 0 : false,
3739
+ isLeafNode
3740
+ );
3741
+ if (textData !== void 0 && textData !== "")
3742
+ parentNode.add(this.options.textNodeName, textData);
3743
+ textData = "";
3744
+ }
3745
+ return textData;
3746
+ }
3747
+ function isItStopNode() {
3748
+ if (this.stopNodeExpressionsSet.size === 0) return false;
3749
+ return this.matcher.matchesAny(this.stopNodeExpressionsSet);
3750
+ }
3751
+ function tagExpWithClosingIndex(xmlData, i, closingChar = ">") {
3752
+ let attrBoundary = 0;
3753
+ const len = xmlData.length;
3754
+ const closeCode0 = closingChar.charCodeAt(0);
3755
+ const closeCode1 = closingChar.length > 1 ? closingChar.charCodeAt(1) : -1;
3756
+ let result = "";
3757
+ let segmentStart = i;
3758
+ for (let index = i; index < len; index++) {
3759
+ const code = xmlData.charCodeAt(index);
3760
+ if (attrBoundary) {
3761
+ if (code === attrBoundary) attrBoundary = 0;
3762
+ } else if (code === 34 || code === 39) {
3763
+ attrBoundary = code;
3764
+ } else if (code === closeCode0) {
3765
+ if (closeCode1 !== -1) {
3766
+ if (xmlData.charCodeAt(index + 1) === closeCode1) {
3767
+ result += xmlData.substring(segmentStart, index);
3768
+ return { data: result, index };
3769
+ }
3770
+ } else {
3771
+ result += xmlData.substring(segmentStart, index);
3772
+ return { data: result, index };
3773
+ }
3774
+ } else if (code === 9 && !attrBoundary) {
3775
+ result += xmlData.substring(segmentStart, index) + " ";
3776
+ segmentStart = index + 1;
3777
+ }
3778
+ }
3779
+ }
3780
+ function findClosingIndex(xmlData, str, i, errMsg) {
3781
+ const closingIndex = xmlData.indexOf(str, i);
3782
+ if (closingIndex === -1) {
3783
+ throw new Error(errMsg);
3784
+ } else {
3785
+ return closingIndex + str.length - 1;
3786
+ }
3787
+ }
3788
+ function findClosingChar(xmlData, char, i, errMsg) {
3789
+ const closingIndex = xmlData.indexOf(char, i);
3790
+ if (closingIndex === -1) throw new Error(errMsg);
3791
+ return closingIndex;
3792
+ }
3793
+ function readTagExp(xmlData, i, removeNSPrefix, closingChar = ">") {
3794
+ const result = tagExpWithClosingIndex(xmlData, i + 1, closingChar);
3795
+ if (!result) return;
3796
+ let tagExp = result.data;
3797
+ const closeIndex = result.index;
3798
+ const separatorIndex = tagExp.search(/\s/);
3799
+ let tagName = tagExp;
3800
+ let attrExpPresent = true;
3801
+ if (separatorIndex !== -1) {
3802
+ tagName = tagExp.substring(0, separatorIndex);
3803
+ tagExp = tagExp.substring(separatorIndex + 1).trimStart();
3804
+ }
3805
+ const rawTagName = tagName;
3806
+ if (removeNSPrefix) {
3807
+ const colonIndex = tagName.indexOf(":");
3808
+ if (colonIndex !== -1) {
3809
+ tagName = tagName.substr(colonIndex + 1);
3810
+ attrExpPresent = tagName !== result.data.substr(colonIndex + 1);
3811
+ }
3812
+ }
3813
+ return {
3814
+ tagName,
3815
+ tagExp,
3816
+ closeIndex,
3817
+ attrExpPresent,
3818
+ rawTagName
3819
+ };
3820
+ }
3821
+ function readStopNodeData(xmlData, tagName, i) {
3822
+ const startIndex = i;
3823
+ let openTagCount = 1;
3824
+ const xmllen = xmlData.length;
3825
+ for (; i < xmllen; i++) {
3826
+ if (xmlData[i] === "<") {
3827
+ const c1 = xmlData.charCodeAt(i + 1);
3828
+ if (c1 === 47) {
3829
+ const closeIndex = findClosingChar(xmlData, ">", i, `${tagName} is not closed`);
3830
+ let closeTagName = xmlData.substring(i + 2, closeIndex).trim();
3831
+ if (closeTagName === tagName) {
3832
+ openTagCount--;
3833
+ if (openTagCount === 0) {
3834
+ return {
3835
+ tagContent: xmlData.substring(startIndex, i),
3836
+ i: closeIndex
3837
+ };
3838
+ }
3839
+ }
3840
+ i = closeIndex;
3841
+ } else if (c1 === 63) {
3842
+ const closeIndex = findClosingIndex(xmlData, "?>", i + 1, "StopNode is not closed.");
3843
+ i = closeIndex;
3844
+ } else if (c1 === 33 && xmlData.charCodeAt(i + 2) === 45 && xmlData.charCodeAt(i + 3) === 45) {
3845
+ const closeIndex = findClosingIndex(xmlData, "-->", i + 3, "StopNode is not closed.");
3846
+ i = closeIndex;
3847
+ } else if (c1 === 33 && xmlData.charCodeAt(i + 2) === 91) {
3848
+ const closeIndex = findClosingIndex(xmlData, "]]>", i, "StopNode is not closed.") - 2;
3849
+ i = closeIndex;
3850
+ } else {
3851
+ const tagData = readTagExp(xmlData, i, false);
3852
+ if (tagData) {
3853
+ const openTagName = tagData && tagData.tagName;
3854
+ if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length - 1] !== "/") {
3855
+ openTagCount++;
3856
+ }
3857
+ i = tagData.closeIndex;
3858
+ }
3859
+ }
3860
+ }
3861
+ }
3862
+ }
3863
+ function parseValue(val, shouldParse, options) {
3864
+ if (shouldParse && typeof val === "string") {
3865
+ const newval = val.trim();
3866
+ if (newval === "true") return true;
3867
+ else if (newval === "false") return false;
3868
+ else return toNumber(val, options);
3869
+ } else {
3870
+ if (isExist(val)) {
3871
+ return val;
3872
+ } else {
3873
+ return "";
3874
+ }
3875
+ }
3876
+ }
3877
+ function transformTagName(fn, tagName, tagExp, options) {
3878
+ if (fn) {
3879
+ const newTagName = fn(tagName);
3880
+ if (tagExp === tagName) {
3881
+ tagExp = newTagName;
3882
+ }
3883
+ tagName = newTagName;
3884
+ }
3885
+ tagName = sanitizeName(tagName, options);
3886
+ return { tagName, tagExp };
3887
+ }
3888
+ function sanitizeName(name, options) {
3889
+ if (criticalProperties.includes(name)) {
3890
+ throw new Error(`[SECURITY] Invalid name: "${name}" is a reserved JavaScript keyword that could cause prototype pollution`);
3891
+ } else if (DANGEROUS_PROPERTY_NAMES.includes(name)) {
3892
+ return options.onDangerousProperty(name);
3893
+ }
3894
+ return name;
3895
+ }
3896
+
3897
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/xmlparser/node2json.js
3898
+ var METADATA_SYMBOL2 = XmlNode.getMetaDataSymbol();
3899
+ function stripAttributePrefix(attrs, prefix) {
3900
+ if (!attrs || typeof attrs !== "object") return {};
3901
+ if (!prefix) return attrs;
3902
+ const rawAttrs = {};
3903
+ for (const key in attrs) {
3904
+ if (key.startsWith(prefix)) {
3905
+ const rawName = key.substring(prefix.length);
3906
+ rawAttrs[rawName] = attrs[key];
3907
+ } else {
3908
+ rawAttrs[key] = attrs[key];
3909
+ }
3910
+ }
3911
+ return rawAttrs;
3912
+ }
3913
+ function prettify(node, options, matcher, readonlyMatcher) {
3914
+ return compress(node, options, matcher, readonlyMatcher);
3915
+ }
3916
+ function compress(arr, options, matcher, readonlyMatcher) {
3917
+ let text;
3918
+ const compressedObj = {};
3919
+ for (let i = 0; i < arr.length; i++) {
3920
+ const tagObj = arr[i];
3921
+ const property = propName(tagObj);
3922
+ if (property !== void 0 && property !== options.textNodeName) {
3923
+ const rawAttrs = stripAttributePrefix(
3924
+ tagObj[":@"] || {},
3925
+ options.attributeNamePrefix
3926
+ );
3927
+ matcher.push(property, rawAttrs);
3928
+ }
3929
+ if (property === options.textNodeName) {
3930
+ if (text === void 0) text = tagObj[property];
3931
+ else text += "" + tagObj[property];
3932
+ } else if (property === void 0) {
3933
+ continue;
3934
+ } else if (tagObj[property]) {
3935
+ let val = compress(tagObj[property], options, matcher, readonlyMatcher);
3936
+ const isLeaf = isLeafTag(val, options);
3937
+ if (Object.keys(val).length === 0 && options.alwaysCreateTextNode) {
3938
+ val[options.textNodeName] = "";
3939
+ }
3940
+ if (tagObj[":@"]) {
3941
+ assignAttributes(val, tagObj[":@"], readonlyMatcher, options);
3942
+ } else if (Object.keys(val).length === 1 && val[options.textNodeName] !== void 0 && !options.alwaysCreateTextNode) {
3943
+ val = val[options.textNodeName];
3944
+ } else if (Object.keys(val).length === 0) {
3945
+ if (options.alwaysCreateTextNode) val[options.textNodeName] = "";
3946
+ else val = "";
3947
+ }
3948
+ if (tagObj[METADATA_SYMBOL2] !== void 0 && typeof val === "object" && val !== null) {
3949
+ val[METADATA_SYMBOL2] = tagObj[METADATA_SYMBOL2];
3950
+ }
3951
+ if (compressedObj[property] !== void 0 && Object.prototype.hasOwnProperty.call(compressedObj, property)) {
3952
+ if (!Array.isArray(compressedObj[property])) {
3953
+ compressedObj[property] = [compressedObj[property]];
3954
+ }
3955
+ compressedObj[property].push(val);
3956
+ } else {
3957
+ const jPathOrMatcher = options.jPath ? readonlyMatcher.toString() : readonlyMatcher;
3958
+ if (options.isArray(property, jPathOrMatcher, isLeaf)) {
3959
+ compressedObj[property] = [val];
3960
+ } else {
3961
+ compressedObj[property] = val;
3962
+ }
3963
+ }
3964
+ if (property !== void 0 && property !== options.textNodeName) {
3965
+ matcher.pop();
3966
+ }
3967
+ }
3968
+ }
3969
+ if (typeof text === "string") {
3970
+ if (text.length > 0) compressedObj[options.textNodeName] = text;
3971
+ } else if (text !== void 0) compressedObj[options.textNodeName] = text;
3972
+ return compressedObj;
3973
+ }
3974
+ function propName(obj) {
3975
+ const keys = Object.keys(obj);
3976
+ for (let i = 0; i < keys.length; i++) {
3977
+ const key = keys[i];
3978
+ if (key !== ":@") return key;
3979
+ }
3980
+ }
3981
+ function assignAttributes(obj, attrMap, readonlyMatcher, options) {
3982
+ if (attrMap) {
3983
+ const keys = Object.keys(attrMap);
3984
+ const len = keys.length;
3985
+ for (let i = 0; i < len; i++) {
3986
+ const atrrName = keys[i];
3987
+ const rawAttrName = atrrName.startsWith(options.attributeNamePrefix) ? atrrName.substring(options.attributeNamePrefix.length) : atrrName;
3988
+ const jPathOrMatcher = options.jPath ? readonlyMatcher.toString() + "." + rawAttrName : readonlyMatcher;
3989
+ if (options.isArray(atrrName, jPathOrMatcher, true, true)) {
3990
+ obj[atrrName] = [attrMap[atrrName]];
3991
+ } else {
3992
+ obj[atrrName] = attrMap[atrrName];
3993
+ }
3994
+ }
3995
+ }
3996
+ }
3997
+ function isLeafTag(obj, options) {
3998
+ const { textNodeName } = options;
3999
+ const propCount = Object.keys(obj).length;
4000
+ if (propCount === 0) {
4001
+ return true;
4002
+ }
4003
+ if (propCount === 1 && (obj[textNodeName] || typeof obj[textNodeName] === "boolean" || obj[textNodeName] === 0)) {
4004
+ return true;
4005
+ }
4006
+ return false;
4007
+ }
4008
+
4009
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
4010
+ var XMLParser = class {
4011
+ constructor(options) {
4012
+ this.externalEntities = {};
4013
+ this.options = buildOptions(options);
4014
+ }
4015
+ /**
4016
+ * Parse XML dats to JS object
4017
+ * @param {string|Uint8Array} xmlData
4018
+ * @param {boolean|Object} validationOption
4019
+ */
4020
+ parse(xmlData, validationOption) {
4021
+ if (typeof xmlData !== "string" && xmlData.toString) {
4022
+ xmlData = xmlData.toString();
4023
+ } else if (typeof xmlData !== "string") {
4024
+ throw new Error("XML data is accepted in String or Bytes[] form.");
4025
+ }
4026
+ if (validationOption) {
4027
+ if (validationOption === true) validationOption = {};
4028
+ const result = validate(xmlData, validationOption);
4029
+ if (result !== true) {
4030
+ throw Error(`${result.err.msg}:${result.err.line}:${result.err.col}`);
4031
+ }
4032
+ }
4033
+ const orderedObjParser = new OrderedObjParser(this.options, this.externalEntities);
4034
+ const orderedResult = orderedObjParser.parseXml(xmlData);
4035
+ if (this.options.preserveOrder || orderedResult === void 0) return orderedResult;
4036
+ else return prettify(orderedResult, this.options, orderedObjParser.matcher, orderedObjParser.readonlyMatcher);
4037
+ }
4038
+ /**
4039
+ * Add Entity which is not by default supported by this library
4040
+ * @param {string} key
4041
+ * @param {string} value
4042
+ */
4043
+ addEntity(key, value) {
4044
+ if (value.indexOf("&") !== -1) {
4045
+ throw new Error("Entity value can't have '&'");
4046
+ } else if (key.indexOf("&") !== -1 || key.indexOf(";") !== -1) {
4047
+ throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");
4048
+ } else if (value === "&") {
4049
+ throw new Error("An entity with value '&' is not permitted");
4050
+ } else {
4051
+ this.externalEntities[key] = value;
4052
+ }
4053
+ }
4054
+ /**
4055
+ * Returns a Symbol that can be used to access the metadata
4056
+ * property on a node.
4057
+ *
4058
+ * If Symbol is not available in the environment, an ordinary property is used
4059
+ * and the name of the property is here returned.
4060
+ *
4061
+ * The XMLMetaData property is only present when `captureMetaData`
4062
+ * is true in the options.
4063
+ */
4064
+ static getMetaDataSymbol() {
4065
+ return XmlNode.getMetaDataSymbol();
4066
+ }
4067
+ };
4068
+
4069
+ // node_modules/.pnpm/fast-xml-parser@5.11.0/node_modules/fast-xml-parser/src/fxp.js
4070
+ var XMLValidator = {
4071
+ validate
4072
+ };
4073
+
4074
+ // vendor-entry-xml.mjs
4075
+ function rootDeclaration(source) {
4076
+ const match = source.match(/<([A-Za-z_][\w:.-]*)(\s[^>]*)?>/);
4077
+ if (!match) throw new TypeError("XML \u7F3A\u5C11\u6839\u5143\u7D20");
4078
+ return { name: match[1], attributes: match[2] ?? "" };
4079
+ }
4080
+ function parseXmlDocument(source, { expectedRoot, expectedNamespace } = {}) {
4081
+ if (typeof source !== "string") throw new TypeError("XML \u8F93\u5165\u5FC5\u987B\u662F UTF-8 \u5B57\u7B26\u4E32");
4082
+ if (/<!DOCTYPE/i.test(source)) throw new TypeError("XML \u4E0D\u5141\u8BB8 DOCTYPE");
4083
+ const validation = XMLValidator.validate(source);
4084
+ if (validation !== true) throw new TypeError(`XML \u65E0\u6CD5\u89E3\u6790: ${validation.err.msg}`);
4085
+ const root = rootDeclaration(source);
4086
+ if (expectedRoot && root.name.split(":").at(-1) !== expectedRoot) throw new TypeError(`XML \u6839\u5143\u7D20\u5FC5\u987B\u662F ${expectedRoot}`);
4087
+ if (expectedNamespace) {
4088
+ const namespace = root.attributes.match(/\sxmlns\s*=\s*["']([^"']+)["']/)?.[1];
4089
+ if (namespace !== expectedNamespace) throw new TypeError(`XML \u9ED8\u8BA4\u547D\u540D\u7A7A\u95F4\u5FC5\u987B\u662F ${expectedNamespace}`);
4090
+ }
4091
+ return new XMLParser({
4092
+ allowBooleanAttributes: false,
4093
+ ignoreAttributes: false,
4094
+ parseAttributeValue: false,
4095
+ parseTagValue: false,
4096
+ processEntities: false,
4097
+ removeNSPrefix: false,
4098
+ trimValues: false
4099
+ }).parse(source);
4100
+ }
4101
+ export {
4102
+ parseXmlDocument
4103
+ };