@litfamily/litmuse 0.1.10 → 0.1.12

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 (1041) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +77 -11
  3. package/README_ko-KR.md +77 -11
  4. package/bin/litmuse.mjs +1 -5
  5. package/lib/bundle.mjs +1 -1
  6. package/lib/doctor.mjs +20 -31
  7. package/lib/install.mjs +26 -1
  8. package/lib/paths.mjs +1 -0
  9. package/lib/safe-write.mjs +1 -1
  10. package/package.json +2 -2
  11. package/plugin/.muse-plugin/plugin.json +11 -11
  12. package/plugin/hooks/lib/digest.mjs +4 -7
  13. package/plugin/hooks/lib/extensions.mjs +80 -0
  14. package/plugin/hooks/lib/moved.mjs +42 -0
  15. package/plugin/hooks/post-tool-use.mjs +0 -4
  16. package/plugin/hooks/session-start.mjs +6 -1
  17. package/plugin/hooks/stop.mjs +1 -7
  18. package/plugin/hooks/user-prompt-submit.mjs +6 -6
  19. package/plugin/lib/rewind/board.mjs +309 -0
  20. package/plugin/lib/rewind/collect.mjs +69 -15
  21. package/plugin/skills/frontend-ui-ux/SKILL.md +33 -228
  22. package/plugin/skills/lit-adhd/SKILL.md +50 -22
  23. package/plugin/skills/lit-adhd/references/card-examples.md +98 -0
  24. package/plugin/skills/lit-adhd/references/status-taxonomy.md +15 -0
  25. package/plugin/skills/lit-adhd/scripts/rewind.mjs +1 -1
  26. package/plugin/skills/lit-diagram-drawer/SKILL.md +35 -212
  27. package/plugin/skills/lit-docx/SKILL.md +33 -239
  28. package/plugin/skills/lit-pptx/SKILL.md +33 -281
  29. package/plugin/skills/lit-schematic/SKILL.md +35 -224
  30. package/plugin/skills/lit-scientific-visualization/SKILL.md +34 -219
  31. package/plugin/skills/lit-typographic-motion/SKILL.md +33 -165
  32. package/plugin/skills/readme-studio/SKILL.md +35 -100
  33. package/plugin/skills/visual-qa/SKILL.md +35 -175
  34. package/lib/runtime.mjs +0 -73
  35. package/plugin/hooks/lib/motion.mjs +0 -156
  36. package/plugin/lib/office-runtime-lock/package-lock.json +0 -793
  37. package/plugin/lib/office-runtime-lock/package.json +0 -12
  38. package/plugin/lib/office-runtime-lock/requirements.lock +0 -15
  39. package/plugin/lib/office-runtime.mjs +0 -274
  40. package/plugin/lib/office_data.py +0 -493
  41. package/plugin/lib/office_runtime_bootstrap.py +0 -76
  42. package/plugin/lib/ooxml_integrity.py +0 -199
  43. package/plugin/lib/pdf_fonts.py +0 -91
  44. package/plugin/lib/render_pages.py +0 -133
  45. package/plugin/lib/strict-json.mjs +0 -143
  46. package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +0 -23
  47. package/plugin/skills/frontend-ui-ux/LICENSE +0 -21
  48. package/plugin/skills/frontend-ui-ux/PROVENANCE.json +0 -38
  49. package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +0 -1060
  50. package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -14
  51. package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +0 -1
  52. package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +0 -186
  53. package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +0 -9
  54. package/plugin/skills/frontend-ui-ux/kit/components.css +0 -414
  55. package/plugin/skills/frontend-ui-ux/kit/fonts.json +0 -22
  56. package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
  57. package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
  58. package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
  59. package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
  60. package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
  61. package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
  62. package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
  63. package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
  64. package/plugin/skills/frontend-ui-ux/kit/ui.js +0 -226
  65. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +0 -217
  66. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +0 -201
  67. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +0 -21
  68. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +0 -873
  69. package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +0 -92
  70. package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -93
  71. package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -579
  72. package/plugin/skills/frontend-ui-ux/references/composition.md +0 -85
  73. package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -264
  74. package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -80
  75. package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -79
  76. package/plugin/skills/frontend-ui-ux/references/design/README.md +0 -248
  77. package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +0 -191
  78. package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +0 -393
  79. package/plugin/skills/frontend-ui-ux/references/design/airtable.md +0 -92
  80. package/plugin/skills/frontend-ui-ux/references/design/apple.md +0 -250
  81. package/plugin/skills/frontend-ui-ux/references/design/aside.md +0 -209
  82. package/plugin/skills/frontend-ui-ux/references/design/binance.md +0 -348
  83. package/plugin/skills/frontend-ui-ux/references/design/bmw.md +0 -183
  84. package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +0 -92
  85. package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +0 -271
  86. package/plugin/skills/frontend-ui-ux/references/design/cal.md +0 -262
  87. package/plugin/skills/frontend-ui-ux/references/design/claude.md +0 -315
  88. package/plugin/skills/frontend-ui-ux/references/design/clay.md +0 -307
  89. package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +0 -284
  90. package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +0 -65
  91. package/plugin/skills/frontend-ui-ux/references/design/cohere.md +0 -269
  92. package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +0 -132
  93. package/plugin/skills/frontend-ui-ux/references/design/composio.md +0 -310
  94. package/plugin/skills/frontend-ui-ux/references/design/cursor.md +0 -312
  95. package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +0 -244
  96. package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +0 -268
  97. package/plugin/skills/frontend-ui-ux/references/design/expo.md +0 -284
  98. package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +0 -317
  99. package/plugin/skills/frontend-ui-ux/references/design/figma.md +0 -223
  100. package/plugin/skills/frontend-ui-ux/references/design/framer.md +0 -249
  101. package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +0 -74
  102. package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +0 -281
  103. package/plugin/skills/frontend-ui-ux/references/design/ibm.md +0 -335
  104. package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +0 -1228
  105. package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +0 -798
  106. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +0 -1465
  107. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +0 -987
  108. package/plugin/skills/frontend-ui-ux/references/design/intercom.md +0 -149
  109. package/plugin/skills/frontend-ui-ux/references/design/kraken.md +0 -128
  110. package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +0 -291
  111. package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +0 -107
  112. package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +0 -77
  113. package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +0 -370
  114. package/plugin/skills/frontend-ui-ux/references/design/lovable.md +0 -301
  115. package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +0 -368
  116. package/plugin/skills/frontend-ui-ux/references/design/meta.md +0 -369
  117. package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +0 -85
  118. package/plugin/skills/frontend-ui-ux/references/design/minimax.md +0 -260
  119. package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +0 -329
  120. package/plugin/skills/frontend-ui-ux/references/design/miro.md +0 -111
  121. package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +0 -264
  122. package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +0 -269
  123. package/plugin/skills/frontend-ui-ux/references/design/nike.md +0 -366
  124. package/plugin/skills/frontend-ui-ux/references/design/notion.md +0 -312
  125. package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +0 -296
  126. package/plugin/skills/frontend-ui-ux/references/design/ollama.md +0 -270
  127. package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +0 -284
  128. package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +0 -49
  129. package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +0 -233
  130. package/plugin/skills/frontend-ui-ux/references/design/playstation.md +0 -367
  131. package/plugin/skills/frontend-ui-ux/references/design/posthog.md +0 -259
  132. package/plugin/skills/frontend-ui-ux/references/design/raycast.md +0 -271
  133. package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +0 -230
  134. package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +0 -178
  135. package/plugin/skills/frontend-ui-ux/references/design/renault.md +0 -314
  136. package/plugin/skills/frontend-ui-ux/references/design/replicate.md +0 -264
  137. package/plugin/skills/frontend-ui-ux/references/design/resend.md +0 -306
  138. package/plugin/skills/frontend-ui-ux/references/design/revolut.md +0 -188
  139. package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +0 -247
  140. package/plugin/skills/frontend-ui-ux/references/design/sanity.md +0 -360
  141. package/plugin/skills/frontend-ui-ux/references/design/sentry.md +0 -265
  142. package/plugin/skills/frontend-ui-ux/references/design/shopify.md +0 -353
  143. package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +0 -98
  144. package/plugin/skills/frontend-ui-ux/references/design/spacex.md +0 -197
  145. package/plugin/skills/frontend-ui-ux/references/design/spotify.md +0 -249
  146. package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +0 -583
  147. package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +0 -121
  148. package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +0 -184
  149. package/plugin/skills/frontend-ui-ux/references/design/stripe.md +0 -325
  150. package/plugin/skills/frontend-ui-ux/references/design/supabase.md +0 -258
  151. package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +0 -255
  152. package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +0 -1206
  153. package/plugin/skills/frontend-ui-ux/references/design/tesla.md +0 -289
  154. package/plugin/skills/frontend-ui-ux/references/design/theverge.md +0 -342
  155. package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +0 -266
  156. package/plugin/skills/frontend-ui-ux/references/design/uber.md +0 -298
  157. package/plugin/skills/frontend-ui-ux/references/design/vercel.md +0 -313
  158. package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +0 -426
  159. package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +0 -326
  160. package/plugin/skills/frontend-ui-ux/references/design/warp.md +0 -256
  161. package/plugin/skills/frontend-ui-ux/references/design/webflow.md +0 -95
  162. package/plugin/skills/frontend-ui-ux/references/design/wired.md +0 -281
  163. package/plugin/skills/frontend-ui-ux/references/design/wise.md +0 -176
  164. package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +0 -260
  165. package/plugin/skills/frontend-ui-ux/references/design/zapier.md +0 -331
  166. package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +0 -97
  167. package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +0 -48
  168. package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +0 -80
  169. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +0 -64
  170. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +0 -65
  171. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +0 -65
  172. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +0 -83
  173. package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +0 -80
  174. package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +0 -79
  175. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +0 -21
  176. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
  177. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +0 -132
  178. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +0 -109
  179. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +0 -89
  180. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +0 -113
  181. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +0 -78
  182. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +0 -121
  183. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
  184. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +0 -107
  185. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +0 -120
  186. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +0 -101
  187. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
  188. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
  189. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +0 -199
  190. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
  191. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +0 -125
  192. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +0 -106
  193. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
  194. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +0 -123
  195. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
  196. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
  197. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
  198. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
  199. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
  200. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +0 -122
  201. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
  202. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +0 -96
  203. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
  204. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
  205. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
  206. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +0 -78
  207. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +0 -75
  208. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +0 -117
  209. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +0 -78
  210. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
  211. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
  212. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
  213. package/plugin/skills/frontend-ui-ux/references/evidence-review.md +0 -126
  214. package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
  215. package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -109
  216. package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -92
  217. package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -47
  218. package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -130
  219. package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -92
  220. package/plugin/skills/frontend-ui-ux/references/perfection/README.md +0 -160
  221. package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +0 -127
  222. package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +0 -93
  223. package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -84
  224. package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -17
  225. package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -97
  226. package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -150
  227. package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -84
  228. package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -86
  229. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +0 -659
  230. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +0 -26
  231. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +0 -162
  232. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +0 -106
  233. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +0 -35
  234. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +0 -162
  235. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +0 -45
  236. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +0 -54
  237. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +0 -53
  238. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
  239. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
  240. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +0 -53
  241. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
  242. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
  243. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +0 -52
  244. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +0 -54
  245. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +0 -61
  246. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +0 -54
  247. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +0 -51
  248. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +0 -50
  249. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +0 -85
  250. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +0 -74
  251. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +0 -162
  252. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +0 -100
  253. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +0 -31
  254. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +0 -262
  255. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +0 -1148
  256. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +0 -114
  257. package/plugin/skills/frontend-ui-ux/references/visual-language.md +0 -84
  258. package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -51
  259. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +0 -306
  260. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +0 -291
  261. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +0 -311
  262. package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +0 -202
  263. package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +0 -286
  264. package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +0 -354
  265. package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +0 -361
  266. package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +0 -313
  267. package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +0 -68
  268. package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
  269. package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +0 -12
  270. package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +0 -124
  271. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +0 -196
  272. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +0 -1555
  273. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +0 -153
  274. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +0 -57
  275. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +0 -133
  276. package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -341
  277. package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +0 -63
  278. package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
  279. package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +0 -106
  280. package/plugin/skills/frontend-ui-ux/scripts/search.mjs +0 -43
  281. package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +0 -153
  282. package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -52
  283. package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +0 -90
  284. package/plugin/skills/lit-diagram-drawer/NOTICE +0 -33
  285. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
  286. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
  287. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
  288. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
  289. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
  290. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
  291. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
  292. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
  293. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
  294. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
  295. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
  296. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
  297. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
  298. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
  299. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
  300. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
  301. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
  302. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
  303. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
  304. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
  305. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
  306. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
  307. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
  308. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
  309. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
  310. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
  311. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
  312. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
  313. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
  314. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
  315. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
  316. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
  317. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
  318. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
  319. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
  320. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
  321. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
  322. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
  323. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
  324. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
  325. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
  326. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
  327. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
  328. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
  329. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
  330. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
  331. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
  332. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
  333. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
  334. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
  335. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
  336. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
  337. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
  338. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
  339. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
  340. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
  341. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
  342. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
  343. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
  344. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
  345. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
  346. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
  347. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
  348. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
  349. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
  350. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
  351. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
  352. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
  353. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
  354. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
  355. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
  356. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
  357. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
  358. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
  359. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
  360. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
  361. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
  362. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
  363. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
  364. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
  365. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
  366. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
  367. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
  368. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
  369. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
  370. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
  371. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
  372. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
  373. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
  374. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
  375. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
  376. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
  377. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
  378. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
  379. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
  380. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
  381. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
  382. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
  383. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
  384. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
  385. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
  386. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
  387. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
  388. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
  389. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
  390. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
  391. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
  392. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
  393. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
  394. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
  395. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
  396. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
  397. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
  398. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
  399. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
  400. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
  401. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
  402. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
  403. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
  404. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
  405. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
  406. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
  407. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
  408. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
  409. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
  410. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
  411. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
  412. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
  413. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
  414. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
  415. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
  416. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
  417. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
  418. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
  419. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
  420. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
  421. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
  422. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
  423. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
  424. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
  425. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
  426. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
  427. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
  428. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
  429. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
  430. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
  431. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
  432. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
  433. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
  434. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
  435. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
  436. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
  437. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
  438. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
  439. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
  440. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
  441. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
  442. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
  443. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
  444. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
  445. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
  446. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
  447. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
  448. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
  449. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
  450. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
  451. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
  452. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
  453. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
  454. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
  455. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
  456. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
  457. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
  458. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
  459. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
  460. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
  461. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
  462. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
  463. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
  464. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
  465. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
  466. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
  467. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
  468. package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
  469. package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  470. package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
  471. package/plugin/skills/lit-diagram-drawer/assets/icons.html +0 -231
  472. package/plugin/skills/lit-diagram-drawer/assets/index.html +0 -1
  473. package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
  474. package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
  475. package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
  476. package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
  477. package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
  478. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
  479. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
  480. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
  481. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
  482. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
  483. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
  484. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
  485. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
  486. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
  487. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
  488. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
  489. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
  490. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
  491. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
  492. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
  493. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
  494. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
  495. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
  496. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
  497. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
  498. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
  499. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
  500. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
  501. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
  502. package/plugin/skills/lit-diagram-drawer/references/accessibility.md +0 -37
  503. package/plugin/skills/lit-diagram-drawer/references/export.md +0 -29
  504. package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
  505. package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
  506. package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
  507. package/plugin/skills/lit-diagram-drawer/references/import-schema.md +0 -28
  508. package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
  509. package/plugin/skills/lit-diagram-drawer/references/motion.md +0 -29
  510. package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
  511. package/plugin/skills/lit-diagram-drawer/references/output-spec.md +0 -48
  512. package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
  513. package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
  514. package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
  515. package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
  516. package/plugin/skills/lit-diagram-drawer/references/profiles.md +0 -24
  517. package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
  518. package/plugin/skills/lit-diagram-drawer/references/style-guide.md +0 -67
  519. package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
  520. package/plugin/skills/lit-diagram-drawer/references/type-bar.md +0 -51
  521. package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
  522. package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
  523. package/plugin/skills/lit-diagram-drawer/references/type-bump.md +0 -49
  524. package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
  525. package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
  526. package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
  527. package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
  528. package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
  529. package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
  530. package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
  531. package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
  532. package/plugin/skills/lit-diagram-drawer/references/type-er.md +0 -49
  533. package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
  534. package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
  535. package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
  536. package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
  537. package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
  538. package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
  539. package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
  540. package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
  541. package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
  542. package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
  543. package/plugin/skills/lit-diagram-drawer/references/type-journey.md +0 -54
  544. package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
  545. package/plugin/skills/lit-diagram-drawer/references/type-layers.md +0 -54
  546. package/plugin/skills/lit-diagram-drawer/references/type-line.md +0 -54
  547. package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
  548. package/plugin/skills/lit-diagram-drawer/references/type-loop.md +0 -54
  549. package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
  550. package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
  551. package/plugin/skills/lit-diagram-drawer/references/type-nested.md +0 -59
  552. package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
  553. package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
  554. package/plugin/skills/lit-diagram-drawer/references/type-polar.md +0 -67
  555. package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
  556. package/plugin/skills/lit-diagram-drawer/references/type-process.md +0 -58
  557. package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
  558. package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
  559. package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
  560. package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
  561. package/plugin/skills/lit-diagram-drawer/references/type-radar.md +0 -57
  562. package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
  563. package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
  564. package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
  565. package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
  566. package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
  567. package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
  568. package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
  569. package/plugin/skills/lit-diagram-drawer/references/type-state.md +0 -59
  570. package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
  571. package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
  572. package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
  573. package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
  574. package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
  575. package/plugin/skills/lit-diagram-drawer/references/type-tree.md +0 -54
  576. package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
  577. package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
  578. package/plugin/skills/lit-diagram-drawer/references/type-venn.md +0 -51
  579. package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
  580. package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
  581. package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +0 -59
  582. package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
  583. package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
  584. package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
  585. package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
  586. package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
  587. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +0 -9
  588. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +0 -275
  589. package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -25
  590. package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
  591. package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
  592. package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
  593. package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +0 -119
  594. package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
  595. package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
  596. package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
  597. package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
  598. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
  599. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
  600. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
  601. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
  602. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
  603. package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
  604. package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -11
  605. package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
  606. package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
  607. package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
  608. package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
  609. package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
  610. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
  611. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
  612. package/plugin/skills/lit-docx/NOTICE +0 -33
  613. package/plugin/skills/lit-docx/references/components.md +0 -207
  614. package/plugin/skills/lit-docx/references/direction-step.md +0 -277
  615. package/plugin/skills/lit-docx/references/examples/01-report-ko.md +0 -166
  616. package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +0 -105
  617. package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -164
  618. package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -138
  619. package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -55
  620. package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -130
  621. package/plugin/skills/lit-docx/references/examples/07-report-en.md +0 -123
  622. package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +0 -123
  623. package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -45
  624. package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -42
  625. package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -17
  626. package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -37
  627. package/plugin/skills/lit-docx/references/page-composition.md +0 -221
  628. package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
  629. package/plugin/skills/lit-docx/references/slop_rules.md +0 -35
  630. package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -143
  631. package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -142
  632. package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -148
  633. package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -137
  634. package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -140
  635. package/plugin/skills/lit-docx/references/tonalities/report.md +0 -156
  636. package/plugin/skills/lit-docx/scripts/clean_markdown.py +0 -95
  637. package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1395
  638. package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -302
  639. package/plugin/skills/lit-docx/scripts/convert_pdf.py +0 -139
  640. package/plugin/skills/lit-docx/scripts/docx_design.py +0 -2449
  641. package/plugin/skills/lit-docx/scripts/docx_layout.py +0 -959
  642. package/plugin/skills/lit-docx/scripts/edit_docx.py +0 -306
  643. package/plugin/skills/lit-docx/scripts/embed_images.py +0 -78
  644. package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +0 -500
  645. package/plugin/skills/lit-docx/scripts/qa_docx.py +0 -234
  646. package/plugin/skills/lit-docx/scripts/slop_lint.py +0 -573
  647. package/plugin/skills/lit-docx/scripts/visual_audit.py +0 -48
  648. package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
  649. package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
  650. package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
  651. package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
  652. package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
  653. package/plugin/skills/lit-docx/templates/latex/acs/README.md +0 -5
  654. package/plugin/skills/lit-docx/templates/latex/acs/template.tex +0 -39
  655. package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
  656. package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +0 -40
  657. package/plugin/skills/lit-docx/templates/latex/ieee/README.md +0 -5
  658. package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +0 -39
  659. package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
  660. package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -39
  661. package/plugin/skills/lit-docx/templates/latex/nature/README.md +0 -5
  662. package/plugin/skills/lit-docx/templates/latex/nature/template.tex +0 -39
  663. package/plugin/skills/lit-docx/templates/registry.yaml +0 -1366
  664. package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +0 -28
  665. package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
  666. package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +0 -26
  667. package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
  668. package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
  669. package/plugin/skills/lit-docx/templates/tonalities/report.yaml +0 -26
  670. package/plugin/skills/lit-pptx/NOTICE +0 -38
  671. package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
  672. package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
  673. package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
  674. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
  675. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
  676. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
  677. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
  678. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
  679. package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +0 -94
  680. package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +0 -29
  681. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  682. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  683. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
  684. package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +0 -94
  685. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
  686. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
  687. package/plugin/skills/lit-pptx/fonts/provenance.json +0 -109
  688. package/plugin/skills/lit-pptx/references/agents/analyst.md +0 -49
  689. package/plugin/skills/lit-pptx/references/agents/antithesis.md +0 -59
  690. package/plugin/skills/lit-pptx/references/agents/architect.md +0 -44
  691. package/plugin/skills/lit-pptx/references/agents/critic.md +0 -42
  692. package/plugin/skills/lit-pptx/references/agents/synthesizer.md +0 -47
  693. package/plugin/skills/lit-pptx/references/agents/thesis.md +0 -33
  694. package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +0 -110
  695. package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
  696. package/plugin/skills/lit-pptx/references/consensus-protocol.md +0 -125
  697. package/plugin/skills/lit-pptx/references/data-display-cookbook.md +0 -52
  698. package/plugin/skills/lit-pptx/references/density-and-fill.md +0 -164
  699. package/plugin/skills/lit-pptx/references/design-system-azure.md +0 -61
  700. package/plugin/skills/lit-pptx/references/direction-step.md +0 -203
  701. package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -210
  702. package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +0 -147
  703. package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -199
  704. package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +0 -203
  705. package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +0 -178
  706. package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -199
  707. package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -194
  708. package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +0 -175
  709. package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -204
  710. package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +0 -179
  711. package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +0 -164
  712. package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +0 -174
  713. package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +0 -173
  714. package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +0 -154
  715. package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +0 -139
  716. package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +0 -158
  717. package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +0 -179
  718. package/plugin/skills/lit-pptx/references/interview-protocol.md +0 -113
  719. package/plugin/skills/lit-pptx/references/layout-families.md +0 -198
  720. package/plugin/skills/lit-pptx/references/stages/autopilot.md +0 -48
  721. package/plugin/skills/lit-pptx/references/stages/interview.md +0 -52
  722. package/plugin/skills/lit-pptx/references/stages/plan.md +0 -42
  723. package/plugin/skills/lit-pptx/references/title-treatments.md +0 -109
  724. package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
  725. package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -112
  726. package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
  727. package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -118
  728. package/plugin/skills/lit-pptx/references/tonalities/gazette.md +0 -149
  729. package/plugin/skills/lit-pptx/references/tonalities/ledger.md +0 -149
  730. package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -125
  731. package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -115
  732. package/plugin/skills/lit-pptx/references/tonalities/night.md +0 -147
  733. package/plugin/skills/lit-pptx/references/tonalities/paper.md +0 -151
  734. package/plugin/skills/lit-pptx/references/tonalities/riso.md +0 -109
  735. package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
  736. package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -132
  737. package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
  738. package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1078
  739. package/plugin/skills/lit-pptx/scripts/deck_craft.py +0 -363
  740. package/plugin/skills/lit-pptx/scripts/embed_fonts.py +0 -227
  741. package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +0 -55
  742. package/plugin/skills/lit-pptx/scripts/layout_inventory.py +0 -418
  743. package/plugin/skills/lit-pptx/scripts/learn_template.py +0 -446
  744. package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
  745. package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
  746. package/plugin/skills/lit-pptx/scripts/lib/font-map.js +0 -79
  747. package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +0 -86
  748. package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -37
  749. package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -510
  750. package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
  751. package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
  752. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -356
  753. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2240
  754. package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +0 -3366
  755. package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +0 -28
  756. package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
  757. package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
  758. package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
  759. package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
  760. package/plugin/skills/lit-pptx/scripts/package.json +0 -4
  761. package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
  762. package/plugin/skills/lit-pptx/scripts/validate_pptx.py +0 -230
  763. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
  764. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -214
  765. package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
  766. package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
  767. package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +0 -382
  768. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
  769. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
  770. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
  771. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
  772. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -475
  773. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
  774. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
  775. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
  776. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
  777. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
  778. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
  779. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
  780. package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
  781. package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
  782. package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
  783. package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -99
  784. package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -93
  785. package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -94
  786. package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
  787. package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
  788. package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
  789. package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
  790. package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
  791. package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
  792. package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
  793. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -14
  794. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -8
  795. package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -22
  796. package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -81
  797. package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -25
  798. package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -24
  799. package/plugin/skills/lit-schematic/references/journal-figures.md +0 -19
  800. package/plugin/skills/lit-schematic/references/kit-api.md +0 -42
  801. package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -20
  802. package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -30
  803. package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -35
  804. package/plugin/skills/lit-schematic/references/verification.md +0 -31
  805. package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -13
  806. package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -49
  807. package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -18
  808. package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -58
  809. package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -10
  810. package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -349
  811. package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -497
  812. package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -39
  813. package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -25
  814. package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -8
  815. package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -21
  816. package/plugin/skills/lit-schematic/scripts/render.mjs +0 -38
  817. package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -73
  818. package/plugin/skills/lit-scientific-visualization/LICENSE +0 -21
  819. package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +0 -197
  820. package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +0 -75
  821. package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +0 -74
  822. package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +0 -78
  823. package/plugin/skills/lit-scientific-visualization/evals/evals.json +0 -158
  824. package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +0 -283
  825. package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +0 -380
  826. package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +0 -359
  827. package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +0 -608
  828. package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  829. package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +0 -217
  830. package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +0 -293
  831. package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +0 -238
  832. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +0 -23
  833. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +0 -225
  834. package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +0 -467
  835. package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +0 -51
  836. package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +0 -114
  837. package/plugin/skills/lit-typographic-motion/engine/NOTICE +0 -23
  838. package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -73
  839. package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +0 -56
  840. package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +0 -1084
  841. package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +0 -218
  842. package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +0 -246
  843. package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +0 -90
  844. package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +0 -46
  845. package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +0 -211
  846. package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +0 -550
  847. package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +0 -123
  848. package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +0 -100
  849. package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +0 -142
  850. package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +0 -167
  851. package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +0 -19
  852. package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +0 -198
  853. package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +0 -108
  854. package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -218
  855. package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -144
  856. package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
  857. package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -158
  858. package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -330
  859. package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -102
  860. package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -213
  861. package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -346
  862. package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +0 -141
  863. package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +0 -76
  864. package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +0 -106
  865. package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
  866. package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -373
  867. package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +0 -83
  868. package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +0 -209
  869. package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +0 -102
  870. package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -36
  871. package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -120
  872. package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
  873. package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -164
  874. package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +0 -603
  875. package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +0 -112
  876. package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +0 -66
  877. package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +0 -348
  878. package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +0 -210
  879. package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +0 -639
  880. package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +0 -145
  881. package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +0 -77
  882. package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +0 -740
  883. package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +0 -179
  884. package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -123
  885. package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -295
  886. package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -430
  887. package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +0 -572
  888. package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +0 -100
  889. package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +0 -214
  890. package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
  891. package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -145
  892. package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +0 -132
  893. package/plugin/skills/lit-typographic-motion/engine/package-lock.json +0 -25
  894. package/plugin/skills/lit-typographic-motion/engine/package.json +0 -10
  895. package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +0 -37
  896. package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -288
  897. package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
  898. package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -157
  899. package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -741
  900. package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
  901. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
  902. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
  903. package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
  904. package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +0 -123
  905. package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +0 -281
  906. package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +0 -319
  907. package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +0 -78
  908. package/plugin/skills/lit-typographic-motion/engine/web/index.html +0 -6
  909. package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +0 -112
  910. package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +0 -98
  911. package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +0 -49
  912. package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +0 -77
  913. package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +0 -61
  914. package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +0 -88
  915. package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +0 -86
  916. package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +0 -165
  917. package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +0 -15
  918. package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +0 -82
  919. package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +0 -30
  920. package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +0 -16
  921. package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +0 -47
  922. package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +0 -45
  923. package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +0 -29
  924. package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +0 -73
  925. package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +0 -73
  926. package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +0 -236
  927. package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +0 -180
  928. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
  929. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
  930. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
  931. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
  932. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
  933. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
  934. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
  935. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
  936. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
  937. package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
  938. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  939. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
  940. package/plugin/skills/lit-typographic-motion/fonts/manifest.json +0 -455
  941. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +0 -93
  942. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
  943. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
  944. package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -42
  945. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
  946. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
  947. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
  948. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
  949. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
  950. package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -91
  951. package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
  952. package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  953. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -69
  954. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
  955. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
  956. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -27
  957. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
  958. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -17
  959. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
  960. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -18
  961. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
  962. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -30
  963. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -67
  964. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -152
  965. package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -95
  966. package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -202
  967. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -67
  968. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -100
  969. package/plugin/skills/lit-typographic-motion/references/brief-schema.md +0 -119
  970. package/plugin/skills/lit-typographic-motion/references/cover.md +0 -475
  971. package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -100
  972. package/plugin/skills/lit-typographic-motion/references/depth.md +0 -122
  973. package/plugin/skills/lit-typographic-motion/references/engine-contract.md +0 -124
  974. package/plugin/skills/lit-typographic-motion/references/look.md +0 -157
  975. package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -98
  976. package/plugin/skills/lit-typographic-motion/references/sound.md +0 -181
  977. package/plugin/skills/lit-typographic-motion/references/stage.md +0 -310
  978. package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
  979. package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -130
  980. package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -189
  981. package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
  982. package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -99
  983. package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
  984. package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -206
  985. package/plugin/skills/lit-typographic-motion/styles/paper.json +0 -41
  986. package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +0 -41
  987. package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +0 -42
  988. package/plugin/skills/lit-typographic-motion/styles/tidal.json +0 -41
  989. package/plugin/skills/readme-studio/references/decoration-and-navigation.md +0 -55
  990. package/plugin/skills/readme-studio/references/facts-and-assembly.md +0 -19
  991. package/plugin/skills/readme-studio/references/production-interview.md +0 -11
  992. package/plugin/skills/readme-studio/references/render-and-deliver.md +0 -44
  993. package/plugin/skills/readme-studio/references/type-and-background.md +0 -23
  994. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +0 -133
  995. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +0 -6
  996. package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +0 -77
  997. package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -28
  998. package/plugin/skills/readme-studio/templates/cover-source.json +0 -21
  999. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +0 -30
  1000. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -1
  1001. package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
  1002. package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +0 -8
  1003. package/plugin/skills/readme-studio/templates/readme-cover-section.md +0 -75
  1004. package/plugin/skills/readme-studio/templates/readme-facts.json +0 -4
  1005. package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
  1006. package/plugin/skills/readme-studio/templates/remotion-cover/package.json +0 -7
  1007. package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -36
  1008. package/plugin/skills/readme-studio/templates/typography/package-lock.json +0 -133
  1009. package/plugin/skills/readme-studio/templates/typography/package.json +0 -6
  1010. package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +0 -57
  1011. package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -63
  1012. package/plugin/skills/visual-qa/references/capture-playbook.md +0 -126
  1013. package/plugin/skills/visual-qa/references/complete-contract.md +0 -677
  1014. package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +0 -305
  1015. package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +0 -291
  1016. package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +0 -311
  1017. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +0 -235
  1018. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +0 -208
  1019. package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +0 -66
  1020. package/plugin/skills/visual-qa/scripts/ansi.ts +0 -17
  1021. package/plugin/skills/visual-qa/scripts/cli.mjs +0 -101
  1022. package/plugin/skills/visual-qa/scripts/cli.ts +0 -96
  1023. package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +0 -448
  1024. package/plugin/skills/visual-qa/scripts/east-asian-width.ts +0 -72
  1025. package/plugin/skills/visual-qa/scripts/errors.mjs +0 -12
  1026. package/plugin/skills/visual-qa/scripts/evidence-io.mjs +0 -184
  1027. package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +0 -95
  1028. package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +0 -163
  1029. package/plugin/skills/visual-qa/scripts/evidence.mjs +0 -421
  1030. package/plugin/skills/visual-qa/scripts/image-diff.mjs +0 -89
  1031. package/plugin/skills/visual-qa/scripts/image-diff.ts +0 -109
  1032. package/plugin/skills/visual-qa/scripts/png-chunks.mjs +0 -107
  1033. package/plugin/skills/visual-qa/scripts/png-crc.ts +0 -27
  1034. package/plugin/skills/visual-qa/scripts/png-decode.mjs +0 -143
  1035. package/plugin/skills/visual-qa/scripts/png-decode.ts +0 -206
  1036. package/plugin/skills/visual-qa/scripts/png-synth.ts +0 -57
  1037. package/plugin/skills/visual-qa/scripts/review-rules.mjs +0 -137
  1038. package/plugin/skills/visual-qa/scripts/terminal-text.mjs +0 -117
  1039. package/plugin/skills/visual-qa/scripts/tui-check.mjs +0 -74
  1040. package/plugin/skills/visual-qa/scripts/tui-grid.ts +0 -88
  1041. package/plugin/skills/visual-qa/scripts/types.ts +0 -54
@@ -1,330 +0,0 @@
1
- // Headless Chrome over the DevTools pipe transport (fd 3/4, NUL-delimited JSON), so no control
2
- // port ever listens. Re-expresses the driver mechanism of mexicat/pdoom-video app/scripts/render.ts
3
- // (MIT, see ../NOTICE) without a driver package. Launch walks the MO-A-51 flag ladder and a rung
4
- // only counts when a real page gets a WebGL2 context; the page is served from disk through CDP
5
- // Fetch interception, so nothing listens for it either.
6
- import { spawn, spawnSync } from "node:child_process";
7
- import { existsSync, mkdirSync, readFileSync, rmSync } from "node:fs";
8
- import { homedir } from "node:os";
9
- import path from "node:path";
10
- import { CHROME_ALWAYS, CHROME_RUNGS, EXIT, UNKNOWN_RENDERER } from "../core/constants.mjs";
11
-
12
- export class BlockedError extends Error {
13
- constructor(code, message) {
14
- super(message);
15
- this.code = code;
16
- }
17
- }
18
-
19
- const CANDIDATES = {
20
- darwin: [
21
- "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
22
- "/Applications/Chromium.app/Contents/MacOS/Chromium",
23
- "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary",
24
- path.join(homedir(), "Applications/Google Chrome.app/Contents/MacOS/Google Chrome"),
25
- ],
26
- linux: ["google-chrome", "google-chrome-stable", "chromium", "chromium-browser"],
27
- win32: [
28
- "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
29
- "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
30
- ],
31
- };
32
-
33
- function onPath(name) {
34
- const probe = spawnSync(process.platform === "win32" ? "where" : "which", [name], { encoding: "utf8" });
35
- return probe.status === 0 ? probe.stdout.trim().split("\n")[0] : null;
36
- }
37
-
38
- /** Resolve Chrome: $CHROME_PATH, then the platform's usual locations. Returns null when absent. */
39
- export function findChrome(env = process.env) {
40
- if (env.CHROME_PATH) return existsSync(env.CHROME_PATH) ? env.CHROME_PATH : null;
41
- for (const candidate of CANDIDATES[process.platform] ?? []) {
42
- if (path.isAbsolute(candidate)) {
43
- if (existsSync(candidate)) return candidate;
44
- } else {
45
- const found = onPath(candidate);
46
- if (found) return found;
47
- }
48
- }
49
- return null;
50
- }
51
-
52
- export function chromeVersion(chrome) {
53
- const probe = spawnSync(chrome, ["--version"], { encoding: "utf8", timeout: 15000 });
54
- return probe.status === 0 ? probe.stdout.trim() : `unknown (${(probe.stderr || probe.error?.message || "").trim().split("\n")[0]})`;
55
- }
56
-
57
- /**
58
- * The stage path's flag set (director brief 6d): the software rung only (SwiftShader, CPU raster),
59
- * the compositor and animation flags that keep a captured frame a function of the page's state,
60
- * sRGB at scale 1, the window at the format's size, no background networking, and a resolver rule
61
- * that leaves only the synthetic stage origin resolvable.
62
- */
63
- export function stageFlags({ width, height }) {
64
- return [
65
- ...CHROME_RUNGS.software, "--disable-gpu-rasterization", "--disable-partial-raster",
66
- "--run-all-compositor-stages-before-draw", "--disable-checker-imaging", "--disable-new-content-rendering-timeout",
67
- "--disable-threaded-animation", "--disable-threaded-scrolling", "--disable-image-animation-resync", "--disable-lcd-text",
68
- "--force-color-profile=srgb", "--hide-scrollbars", "--mute-audio", "--force-device-scale-factor=1", `--window-size=${width},${height}`,
69
- "--disable-background-networking", "--disable-component-update", "--disable-sync", "--no-pings", "--metrics-recording-only",
70
- "--host-resolver-rules=MAP * ~NOTFOUND , EXCLUDE lit.stage",
71
- ...CHROME_ALWAYS,
72
- ];
73
- }
74
-
75
- /** The ladder for this platform: GPU rung(s) first, SwiftShader last (MO-A-51). */
76
- export function flagLadder({ softwareOnly = false } = {}) {
77
- const gpu = CHROME_RUNGS[process.platform] ?? [];
78
- const rungs = softwareOnly ? [CHROME_RUNGS.software] : [...gpu, CHROME_RUNGS.software];
79
- return rungs.map((rung) => [...rung, ...CHROME_ALWAYS]);
80
- }
81
-
82
- // Messages arrive as raw bytes: each chunk is scanned once for the NUL terminator and kept as a
83
- // Buffer until its message is complete, so a large screenshot never rescans what came before and a
84
- // multi-byte character split across two chunks is decoded whole.
85
- export class Pipe {
86
- constructor(child) {
87
- this.child = child;
88
- this.id = 0;
89
- this.pending = new Map();
90
- this.listeners = new Map();
91
- this.parts = [];
92
- this.closed = false;
93
- child.stdio[4].on("data", (chunk) => this.receive(chunk));
94
- child.stdio[4].on("error", () => {});
95
- child.stdio[3].on("error", () => {});
96
- child.on("exit", () => {
97
- this.closed = true;
98
- for (const { reject } of this.pending.values()) reject(new Error("Chrome exited"));
99
- this.pending.clear();
100
- });
101
- }
102
- receive(chunk) {
103
- let start = 0;
104
- for (;;) {
105
- const end = chunk.indexOf(0, start);
106
- if (end < 0) {
107
- if (start < chunk.length) this.parts.push(chunk.subarray(start));
108
- return;
109
- }
110
- this.parts.push(chunk.subarray(start, end));
111
- start = end + 1;
112
- const message = JSON.parse(Buffer.concat(this.parts).toString("utf8"));
113
- this.parts = [];
114
- if (message.id !== undefined && this.pending.has(message.id)) {
115
- const { resolve, reject } = this.pending.get(message.id);
116
- this.pending.delete(message.id);
117
- if (message.error) reject(new Error(`${message.error.message}${message.error.data ? `: ${message.error.data}` : ""}`));
118
- else resolve(message.result);
119
- } else if (message.method) {
120
- for (const fn of this.listeners.get(message.method) ?? []) fn(message.params, message.sessionId);
121
- }
122
- }
123
- }
124
- send(method, params = {}, sessionId) {
125
- if (this.closed) return Promise.reject(new Error("Chrome pipe closed"));
126
- const id = ++this.id;
127
- return new Promise((resolve, reject) => {
128
- this.pending.set(id, { resolve, reject });
129
- this.child.stdio[3].write(`${JSON.stringify({ id, method, params, ...(sessionId ? { sessionId } : {}) })}\0`);
130
- });
131
- }
132
- on(method, fn) {
133
- if (!this.listeners.has(method)) this.listeners.set(method, []);
134
- this.listeners.get(method).push(fn);
135
- }
136
- }
137
-
138
- const withTimeout = (promise, ms, message) => Promise.race([
139
- promise,
140
- new Promise((_, reject) => setTimeout(() => reject(new Error(message)), ms).unref()),
141
- ]);
142
-
143
- const CONTENT_TYPES = { ".html": "text/html", ".mjs": "text/javascript", ".js": "text/javascript", ".json": "application/json", ".ttf": "font/ttf", ".otf": "font/otf", ".svg": "image/svg+xml" };
144
-
145
- // A loopback origin: the page may then open its WebSocket to 127.0.0.1 without tripping Chrome's
146
- // private-network rules. Every request to it is fulfilled by Fetch interception, so nothing is
147
- // ever sent to a real localhost server.
148
- export const APP_ORIGIN = "http://localhost";
149
-
150
- /**
151
- * One headless Chrome with one page. `routes(pathname)` returns a file path or { body, type } for a
152
- * request under APP_ORIGIN, or null for 404.
153
- */
154
- /**
155
- * The full argument list for one headless launch. `--use-mock-keychain` and `--password-store=basic`
156
- * keep Chrome away from the OS keychain: with a fresh profile (or an isolated HOME) it would
157
- * otherwise look for its safe-storage item and macOS would put a keychain dialog on screen.
158
- */
159
- export function launchArgs(profileDir, flags) {
160
- return [
161
- "--headless", `--user-data-dir=${profileDir}`, "--remote-debugging-pipe", "--no-first-run", "--no-default-browser-check",
162
- "--use-mock-keychain", "--password-store=basic",
163
- "--disable-extensions", "--hide-scrollbars", "--mute-audio", ...flags, "about:blank",
164
- ];
165
- }
166
-
167
- export class ChromeSession {
168
- static async launch({ chrome, flags, profileDir, routes, timeoutMs = 30000 }) {
169
- mkdirSync(profileDir, { recursive: true });
170
- const args = launchArgs(profileDir, flags);
171
- let child;
172
- try {
173
- child = spawn(chrome, args, { stdio: ["ignore", "ignore", "pipe", "pipe", "pipe"] });
174
- } catch (error) {
175
- throw new BlockedError(EXIT.BLOCKED_NO_CHROME, `BLOCKED_NO_CHROME: Chrome failed to launch: ${error.message}`);
176
- }
177
- let stderr = "";
178
- child.stderr.on("data", (d) => { stderr += d.toString(); });
179
- const spawnError = new Promise((_, reject) => child.on("error", (error) => reject(error)));
180
- const session = new ChromeSession(child, profileDir, routes, flags);
181
- try {
182
- await withTimeout(Promise.race([session.pipe.send("Browser.getVersion"), spawnError]), timeoutMs, "Chrome did not answer on the DevTools pipe");
183
- } catch (error) {
184
- session.kill();
185
- const first = stderr.split("\n").map((l) => l.trim()).find(Boolean) ?? error.message;
186
- throw new BlockedError(EXIT.BLOCKED_NO_CHROME, `BLOCKED_NO_CHROME: Chrome failed to launch headless: ${first}`);
187
- }
188
- session.stderr = () => stderr;
189
- return session;
190
- }
191
-
192
- constructor(child, profileDir, routes, flags) {
193
- this.child = child;
194
- this.profileDir = profileDir;
195
- this.routes = routes;
196
- this.flags = flags;
197
- this.pipe = new Pipe(child);
198
- this.logs = [];
199
- }
200
-
201
- async openPage() {
202
- const { targetId } = await this.pipe.send("Target.createTarget", { url: "about:blank" });
203
- const { sessionId } = await this.pipe.send("Target.attachToTarget", { targetId, flatten: true });
204
- this.sessionId = sessionId;
205
- this.pipe.on("Runtime.exceptionThrown", (p) => this.logs.push(`[exception] ${p.exceptionDetails?.exception?.description ?? p.exceptionDetails?.text}`));
206
- this.pipe.on("Runtime.consoleAPICalled", (p) => {
207
- if (p.type === "error" || p.type === "warning") this.logs.push(`[${p.type}] ${p.args.map((a) => a.value ?? a.description).join(" ")}`);
208
- });
209
- this.pipe.on("Fetch.requestPaused", (p, sid) => this.serve(p, sid));
210
- // Chrome gates a page's connections to 127.0.0.1 behind a loopback-network permission; grant
211
- // it for the app origin only (older builds do not know the name, which is fine).
212
- await this.pipe.send("Browser.grantPermissions", { permissions: ["loopbackNetwork"], origin: APP_ORIGIN }).catch(() => {});
213
- await this.send("Runtime.enable");
214
- await this.send("Fetch.enable", { patterns: [{ urlPattern: `${APP_ORIGIN}/*`, requestStage: "Request" }] });
215
- await this.send("Emulation.setDeviceMetricsOverride", { width: 1920, height: 1080, deviceScaleFactor: 1, mobile: false });
216
- }
217
-
218
- async serve(params, sid) {
219
- const url = new URL(params.request.url);
220
- let resolved = null;
221
- try {
222
- resolved = this.routes(decodeURIComponent(url.pathname));
223
- } catch {
224
- resolved = null;
225
- }
226
- try {
227
- if (!resolved) {
228
- await this.pipe.send("Fetch.fulfillRequest", { requestId: params.requestId, responseCode: 404, body: "" }, sid);
229
- return;
230
- }
231
- const body = typeof resolved === "string" ? readFileSync(resolved) : Buffer.from(resolved.body);
232
- const type = typeof resolved === "string" ? CONTENT_TYPES[path.extname(resolved)] ?? "application/octet-stream" : resolved.type;
233
- await this.pipe.send("Fetch.fulfillRequest", {
234
- requestId: params.requestId, responseCode: 200,
235
- responseHeaders: [{ name: "Content-Type", value: type }, { name: "Cache-Control", value: "no-store" }],
236
- body: body.toString("base64"),
237
- }, sid);
238
- } catch (error) {
239
- this.logs.push(`[serve] ${url.pathname}: ${error.message}`);
240
- }
241
- }
242
-
243
- send(method, params = {}) {
244
- return this.pipe.send(method, params, this.sessionId);
245
- }
246
-
247
- /** Evaluate an expression in the page; resolves promises and returns the JSON value. */
248
- async evaluate(expression, { timeoutMs = 600000 } = {}) {
249
- const result = await withTimeout(this.send("Runtime.evaluate", { expression, awaitPromise: true, returnByValue: true }), timeoutMs, `page evaluation timed out: ${expression.slice(0, 80)}`);
250
- if (result.exceptionDetails) throw new Error(`page error: ${result.exceptionDetails.exception?.description ?? result.exceptionDetails.text}`);
251
- return result.result.value;
252
- }
253
-
254
- /** WebGL2 in a blank page: { webgl2, renderer } (MO-A-51 rung check). */
255
- async probeWebgl2() {
256
- return this.evaluate(`(() => {
257
- const gl = document.createElement('canvas').getContext('webgl2');
258
- if (!gl) return { webgl2: false, renderer: null };
259
- const ext = gl.getExtension('WEBGL_debug_renderer_info');
260
- return { webgl2: true, renderer: ext ? String(gl.getParameter(ext.UNMASKED_RENDERER_WEBGL)) : ${JSON.stringify(UNKNOWN_RENDERER)} };
261
- })()`);
262
- }
263
-
264
- async navigate(url) {
265
- await this.send("Page.enable");
266
- await this.send("Page.navigate", { url });
267
- }
268
-
269
- kill() {
270
- try {
271
- this.child.kill("SIGKILL");
272
- } catch {
273
- // already gone
274
- }
275
- }
276
-
277
- async close() {
278
- try {
279
- await withTimeout(this.pipe.send("Browser.close"), 5000, "close timed out");
280
- } catch {
281
- this.kill();
282
- }
283
- const exited = (ms) => new Promise((resolve) => {
284
- if (this.child.exitCode !== null || this.child.signalCode) resolve();
285
- else this.child.once("exit", resolve);
286
- setTimeout(resolve, ms).unref();
287
- });
288
- await exited(5000);
289
- // A browser that acknowledged Browser.close but is still alive would keep this process open.
290
- if (this.child.exitCode === null && !this.child.signalCode) {
291
- this.kill();
292
- await exited(2000);
293
- }
294
- rmSync(this.profileDir, { recursive: true, force: true });
295
- }
296
- }
297
-
298
- /**
299
- * Walk the ladder: launch, check WebGL2 in a real page, keep the first rung that has it. Throws
300
- * BlockedError 10 when Chrome itself cannot run, 11 when Chrome runs on every rung but no WebGL2.
301
- */
302
- export async function launchWithLadder({ chrome, profileRoot, routes, softwareOnly = false, log = () => {} }) {
303
- if (!chrome) throw new BlockedError(EXIT.BLOCKED_NO_CHROME, "BLOCKED_NO_CHROME: Chrome/Chromium not found (set CHROME_PATH or install Google Chrome)");
304
- const failures = [];
305
- let index = 0;
306
- for (const flags of flagLadder({ softwareOnly })) {
307
- const profileDir = path.join(profileRoot, `c${process.pid % 100000}-${index++}`);
308
- let session;
309
- try {
310
- session = await ChromeSession.launch({ chrome, flags, profileDir, routes });
311
- } catch (error) {
312
- rmSync(profileDir, { recursive: true, force: true });
313
- if (error instanceof BlockedError) throw error;
314
- throw new BlockedError(EXIT.BLOCKED_NO_CHROME, `BLOCKED_NO_CHROME: ${error.message}`);
315
- }
316
- try {
317
- await session.openPage();
318
- const probe = await session.probeWebgl2();
319
- if (probe.webgl2) {
320
- log(`chrome rung ok: ${flags.join(" ")} -> ${probe.renderer}`);
321
- return { session, flags, renderer: probe.renderer };
322
- }
323
- failures.push(`${flags[0]}: getContext('webgl2') returned null`);
324
- } catch (error) {
325
- failures.push(`${flags[0]}: ${error.message}`);
326
- }
327
- await session.close();
328
- }
329
- throw new BlockedError(EXIT.BLOCKED_NO_WEBGL2, `BLOCKED_NO_WEBGL2: Chrome ran but no rung produced a WebGL2 context (${failures.join("; ")})`);
330
- }
@@ -1,102 +0,0 @@
1
- // Cover assets: every raster a cover page loads (base art, logo, wordmark, texture) is listed in
2
- // `<out>/assets.json` with its path, role, source (user or generated) and SHA-256, and the renderer
3
- // checks the list before any capture. A listed file that is missing is BLOCKED_ASSET_MISSING
4
- // (exit 22): the art is supplied or generated, never replaced by a drawn stand-in. The painted-light
5
- // recipe needs its base art listed. After the render, frame 0 must show that art: the SSIM of its
6
- // check box in the decoded frame 0 against the source scaled into the art box.
7
- import { createHash } from "node:crypto";
8
- import { existsSync, readFileSync } from "node:fs";
9
- import path from "node:path";
10
- import { COVER, EXIT } from "../core/constants.mjs";
11
- import { BlockedError } from "./chrome.mjs";
12
- import { crop, lanczosResize, ssim } from "./cover-image.mjs";
13
-
14
- export const ASSETS_FILE = "assets.json";
15
- export const ASSET_ROLES = Object.freeze(["base-art", "logo", "wordmark", "texture"]);
16
-
17
- const sha256 = (bytes) => createHash("sha256").update(bytes).digest("hex");
18
- const invalid = (field, message) => new BlockedError(EXIT.BLOCKED_TREATMENT_INVALID, `BLOCKED_TREATMENT_INVALID: assets.json: ${field}: ${message}`);
19
- const isBox = (b) => Array.isArray(b) && b.length === 4 && b.every((v) => typeof v === "number" && v >= 0 && v <= 1) && b[2] > 0 && b[3] > 0 && b[0] + b[2] <= 1 + 1e-9 && b[1] + b[3] <= 1 + 1e-9;
20
-
21
- /**
22
- * Check `<out>/assets.json` against the cover folder before capture. `rasters` are the static scan's
23
- * rasters (paths relative to the cover folder). Returns { assets } (empty when there is no list and
24
- * the recipe needs none). Exit 22 for a missing listed file or a painted recipe without base art,
25
- * exit 17 for an unlisted raster or a file that no longer matches its hash, exit 16 for a bad entry.
26
- */
27
- export function checkAssets({ out, treatment, rasters, coverDir = "cover" }) {
28
- const file = path.join(out, ASSETS_FILE);
29
- const needsArt = treatment.recipe === "painted-light";
30
- const blockedArt = new BlockedError(EXIT.BLOCKED_ASSET_MISSING, "BLOCKED_ASSET_MISSING: the painted-light recipe needs its base art listed in assets.json ({ path, role: base-art, source: user or generated, sha256, box }); supply or generate the art, never draw a stand-in");
31
- let assets = [];
32
- if (existsSync(file)) {
33
- let doc;
34
- try {
35
- doc = JSON.parse(readFileSync(file, "utf8"));
36
- } catch (error) {
37
- throw invalid("assets.json", `not valid JSON (${error.message})`);
38
- }
39
- if (!doc || !Array.isArray(doc.assets)) throw invalid("assets", "must be an array of { path, role, source, sha256 }");
40
- assets = doc.assets.map((a, i) => {
41
- const f = `assets[${i}]`;
42
- if (!a || typeof a !== "object") throw invalid(f, "must be an object");
43
- if (typeof a.path !== "string" || !a.path.startsWith(`${coverDir}/`) || a.path.split("/").includes("..")) throw invalid(`${f}.path`, `must be a path inside ${coverDir}/, relative to the output directory`);
44
- if (!ASSET_ROLES.includes(a.role)) throw invalid(`${f}.role`, `must be one of ${ASSET_ROLES.join(", ")}`);
45
- if (!["user", "generated"].includes(a.source)) throw invalid(`${f}.source`, "must be user (supplied) or generated");
46
- if (!/^[0-9a-f]{64}$/u.test(a.sha256 ?? "")) throw invalid(`${f}.sha256`, "must be the file's SHA-256 (64 hex)");
47
- if ("box" in a && !isBox(a.box)) throw invalid(`${f}.box`, "must be [x, y, w, h], fractions of the cover, inside it");
48
- if ("checkBox" in a) {
49
- if (!isBox(a.checkBox)) throw invalid(`${f}.checkBox`, "must be [x, y, w, h], fractions of the cover, inside it");
50
- if (!a.box) throw invalid(`${f}.checkBox`, "needs the art's box");
51
- const [bx, by, bw, bh] = a.box;
52
- const [cx, cy, cw, ch] = a.checkBox;
53
- if (cx < bx - 1e-9 || cy < by - 1e-9 || cx + cw > bx + bw + 1e-9 || cy + ch > by + bh + 1e-9) throw invalid(`${f}.checkBox`, "must lie inside the art's box");
54
- if (cw * ch < COVER.artMinShare * bw * bh) throw invalid(`${f}.checkBox`, `must cover at least ${COVER.artMinShare * 100} % of the art's box`);
55
- }
56
- if (a.role === "base-art" && !a.box) throw invalid(`${f}.box`, "base art needs the box it fills on the cover");
57
- return { path: a.path, role: a.role, source: a.source, sha256: a.sha256, box: a.box ?? null, checkBox: a.checkBox ?? null, title: a.title === true };
58
- });
59
- for (const a of assets) {
60
- const real = path.join(out, a.path);
61
- if (!existsSync(real)) throw new BlockedError(EXIT.BLOCKED_ASSET_MISSING, `BLOCKED_ASSET_MISSING: ${a.path} is listed in assets.json and missing; supply it, never draw a stand-in`);
62
- if (sha256(readFileSync(real)) !== a.sha256) throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: ${a.path} does not match its sha256 in assets.json; list it again after changing it`);
63
- }
64
- }
65
- if (needsArt && !assets.some((a) => a.role === "base-art")) throw blockedArt;
66
- const listed = new Set(assets.map((a) => a.path));
67
- for (const r of rasters) {
68
- const rel = `${coverDir}/${r.rel.split(path.sep).join("/")}`;
69
- if (!listed.has(rel)) throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: ${rel} is a raster the page can load but assets.json does not list; list it with its role, source and sha256`);
70
- }
71
- return { assets };
72
- }
73
-
74
- const px = (box, W, H) => box.map((v, k) => Math.round(v * (k % 2 ? H : W)));
75
-
76
- /**
77
- * Frame 0 shows the base art: crop the check box (default: the art box) out of decoded frame 0 and
78
- * compare it with the same region of the source scaled into the art box. `art` is { rgba, width,
79
- * height }; boxes are fractions of the cover.
80
- */
81
- export function artCheck({ frame0, width, height, art, box, checkBox = null }) {
82
- const [bx, by, bw, bh] = px(box, width, height);
83
- const scaled = lanczosResize(art.rgba, art.width, art.height, bw, bh);
84
- const [cx, cy, cw, ch] = px(checkBox ?? box, width, height);
85
- const a = crop(frame0, width, [cx, cy, cw, ch]);
86
- const b = crop(scaled, bw, [cx - bx, cy - by, cw, ch]);
87
- const value = ssim(a, b, cw, ch);
88
- return { ssim: value, pass: value >= COVER.artSsim, box: [bx, by, bw, bh], checked: [cx, cy, cw, ch] };
89
- }
90
-
91
- /** The reply labels a generated asset needs (the Stop hook's finished-cover notice carries them). */
92
- export function generatedLabels(out) {
93
- const file = path.join(out, ASSETS_FILE);
94
- if (!existsSync(file)) return [];
95
- try {
96
- const doc = JSON.parse(readFileSync(file, "utf8"));
97
- return (doc.assets ?? []).filter((a) => a?.source === "generated" && typeof a.path === "string")
98
- .map((a) => `the ${String(a.role ?? "asset").replace("-", " ")} ${a.path} is generated, not supplied: label it as generated in the reply`);
99
- } catch {
100
- return [];
101
- }
102
- }
@@ -1,213 +0,0 @@
1
- // Cover capture: one headless Chrome on the stage path's software rung, laid out at the cover's CSS
2
- // size and captured at twice that (device scale 2), the page served from disk on the synthetic stage
3
- // origin, the cover init script injected before any page script. The renderer SEEKS: it calls
4
- // window.renderFrame(t, { mask }) for any t in [0, 1) in any order, captures, and a worker pool
5
- // downsamples each capture to the cover size. The master, the determinism pass and the seek-order
6
- // check each open their own CoverBrowser.
7
- import { readFileSync } from "node:fs";
8
- import { cpus } from "node:os";
9
- import { Worker } from "node:worker_threads";
10
- import { EXIT } from "../core/constants.mjs";
11
- import { BlockedError, ChromeSession, findChrome, stageFlags } from "./chrome.mjs";
12
- import { COVER_INIT_FILE, STAGE_ORIGIN, stageRouter } from "./stage-serve.mjs";
13
-
14
- const withTimeout = (promise, ms, message) => Promise.race([
15
- promise,
16
- new Promise((_, reject) => setTimeout(() => reject(new Error(message)), ms).unref()),
17
- ]);
18
- const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
19
- const ERROR_GRACE_MS = 500;
20
-
21
- /** The stage flag set at the cover's device scale. */
22
- export const coverFlags = ({ width, height, scale }) => stageFlags({ width, height }).map((f) => (f === "--force-device-scale-factor=1" ? `--force-device-scale-factor=${scale}` : f));
23
-
24
- export class CoverBrowser {
25
- static async open({ stageDir, faces, width, height, scale, profileDir, env = process.env, log = () => {}, page = "index.html" }) {
26
- const chrome = findChrome(env);
27
- if (!chrome) throw new BlockedError(EXIT.BLOCKED_NO_CHROME, "BLOCKED_NO_CHROME: Chrome/Chromium not found (set CHROME_PATH or install Google Chrome)");
28
- const session = await ChromeSession.launch({ chrome, flags: coverFlags({ width, height, scale }), profileDir, routes: () => null });
29
- const browser = new CoverBrowser(session, { stageDir, faces, width, height, scale, log });
30
- try {
31
- await browser.#attach();
32
- await browser.#load(page);
33
- } catch (error) {
34
- await browser.close();
35
- throw error;
36
- }
37
- return browser;
38
- }
39
-
40
- constructor(session, { stageDir, faces, width, height, scale, log }) {
41
- this.session = session;
42
- this.width = width;
43
- this.height = height;
44
- this.scale = scale;
45
- this.log = log;
46
- this.router = stageRouter({ stageDir, faces });
47
- this.errors = [];
48
- }
49
-
50
- send(method, params = {}) {
51
- return this.session.pipe.send(method, params, this.sessionId);
52
- }
53
-
54
- async evaluate(expression, { timeoutMs = 120000 } = {}) {
55
- const result = await withTimeout(this.send("Runtime.evaluate", { expression, awaitPromise: true, returnByValue: true }), timeoutMs, `cover page evaluation timed out: ${expression.slice(0, 60)}`);
56
- if (result.exceptionDetails) throw new Error(result.exceptionDetails.exception?.description?.split("\n")[0] ?? result.exceptionDetails.text);
57
- return result.result.value;
58
- }
59
-
60
- async #attach() {
61
- const pipe = this.session.pipe;
62
- const { targetId } = await pipe.send("Target.createTarget", { url: "about:blank" });
63
- const { sessionId } = await pipe.send("Target.attachToTarget", { targetId, flatten: true });
64
- this.sessionId = sessionId;
65
- pipe.on("Fetch.requestPaused", (p, sid) => {
66
- if (sid === sessionId) this.#serve(p);
67
- });
68
- pipe.on("Runtime.exceptionThrown", (p, sid) => {
69
- if (sid === sessionId) this.errors.push(p.exceptionDetails?.exception?.description?.split("\n")[0] ?? p.exceptionDetails?.text ?? "error");
70
- });
71
- await this.send("Page.enable");
72
- await this.send("Runtime.enable");
73
- await this.send("Emulation.setDeviceMetricsOverride", { width: this.width, height: this.height, deviceScaleFactor: this.scale, mobile: false });
74
- await this.send("Fetch.enable", { patterns: [{ urlPattern: "*", requestStage: "Request" }] });
75
- await this.send("Page.addScriptToEvaluateOnNewDocument", { source: readFileSync(COVER_INIT_FILE, "utf8") });
76
- }
77
-
78
- async #serve(params) {
79
- const answer = this.router.route(params.request.url);
80
- try {
81
- if (answer.kind === "blocked") await this.send("Fetch.failRequest", { requestId: params.requestId, errorReason: "BlockedByClient" });
82
- else if (answer.kind === "missing") await this.send("Fetch.fulfillRequest", { requestId: params.requestId, responseCode: 404, body: "" });
83
- else {
84
- const body = answer.kind === "file" ? readFileSync(answer.file) : Buffer.from(answer.body);
85
- await this.send("Fetch.fulfillRequest", {
86
- requestId: params.requestId, responseCode: 200,
87
- responseHeaders: [{ name: "Content-Type", value: answer.type }, { name: "Cache-Control", value: "no-store" }],
88
- body: body.toString("base64"),
89
- });
90
- }
91
- } catch (error) {
92
- this.log(`cover serve ${params.request.url}: ${error.message}`);
93
- }
94
- }
95
-
96
- /** Throw the named exit for anything the page did that a cover page may not do. */
97
- async check(context) {
98
- if (this.router.refused.length) {
99
- const first = this.router.refused[0];
100
- throw new BlockedError(EXIT.STAGE_NETWORK_REQUEST, `STAGE_NETWORK_REQUEST: the cover page requested ${first.url.slice(0, 160)} (${first.reason}); everything is local`);
101
- }
102
- const misuse = await this.evaluate("window.__litCoverMisuse ? window.__litCoverMisuse() : []").catch(() => []);
103
- if (misuse.length) throw new BlockedError(EXIT.STAGE_NONDETERMINISTIC, `STAGE_NONDETERMINISTIC: the cover page called ${misuse.join(", ")}${context ? ` ${context}` : ""}; a cover frame is a function of t only (LitLoop.rng(seed) for layout)`);
104
- }
105
-
106
- async #load(page) {
107
- await this.send("Page.navigate", { url: `${STAGE_ORIGIN}/${page}` });
108
- const deadline = Date.now() + 60000;
109
- let errorSeenAt = 0;
110
- for (;;) {
111
- const state = await this.evaluate("[document.readyState, window.ready === true, typeof window.renderFrame]").catch(() => ["loading", false, "undefined"]);
112
- if (state[0] === "complete" && state[1]) {
113
- await this.check("while loading");
114
- if (state[2] !== "function") throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, "STAGE_CONTRACT_ERROR: the cover page set window.ready but defines no window.renderFrame(t)");
115
- return;
116
- }
117
- // A page that threw while loading will not recover, so report its own message now instead of after the
118
- // ready wait. The short grace lets a harmless early error be followed by the ready flag.
119
- if (this.errors.length && !errorSeenAt) errorSeenAt = Date.now();
120
- if (errorSeenAt && Date.now() - errorSeenAt >= ERROR_GRACE_MS) {
121
- await this.check("while loading");
122
- throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: the cover page threw while loading and never set window.ready; first page error: ${this.errors[0]}`);
123
- }
124
- if (Date.now() > deadline) {
125
- await this.check("while loading");
126
- const why = this.errors[0] ? `; first page error: ${this.errors[0]}` : state[0] === "complete" ? "; it never set window.ready = true" : "";
127
- throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: the cover page was not ready within 60 s${why}`);
128
- }
129
- await sleep(50);
130
- }
131
- }
132
-
133
- /** Draw loop time t (and the mask variant) and wait for the frame to settle. */
134
- async frame(t, { mask = false } = {}) {
135
- try {
136
- await this.evaluate(`(async () => { await window.renderFrame(${t}, ${JSON.stringify({ mask })}); if (document.fonts) await document.fonts.ready; return true; })()`);
137
- } catch (error) {
138
- await this.check(`at t = ${t.toFixed(4)}`);
139
- throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: renderFrame(${t.toFixed(4)}${mask ? ", { mask: true }" : ""}) threw: ${error.message}`);
140
- }
141
- await this.check(`at t = ${t.toFixed(4)}`);
142
- }
143
-
144
- /** The viewport at device scale: a PNG of (width x scale) by (height x scale). */
145
- async capture() {
146
- const shot = await this.send("Page.captureScreenshot", {
147
- format: "png", optimizeForSpeed: true, captureBeyondViewport: false, fromSurface: true,
148
- clip: { x: 0, y: 0, width: this.width, height: this.height, scale: 1 },
149
- });
150
- return Buffer.from(shot.data, "base64");
151
- }
152
-
153
- async close() {
154
- await this.session.close();
155
- }
156
- }
157
-
158
- /** Workers that downsample and write captured frames; results come back per job. */
159
- export class CoverPool {
160
- constructor(size = Math.max(2, Math.min(6, cpus().length - 2))) {
161
- this.workers = Array.from({ length: size }, () => new Worker(new URL("./cover-worker.mjs", import.meta.url)));
162
- this.next = 0;
163
- this.id = 0;
164
- this.waiting = new Map();
165
- for (const w of this.workers) {
166
- w.on("message", (msg) => {
167
- const done = this.waiting.get(msg.id);
168
- this.waiting.delete(msg.id);
169
- if (msg.error) done.reject(new Error(msg.error));
170
- else done.resolve(msg);
171
- });
172
- w.on("error", (error) => {
173
- for (const p of this.waiting.values()) p.reject(error);
174
- this.waiting.clear();
175
- });
176
- }
177
- }
178
-
179
- process(png, width, height, file = null) {
180
- const id = ++this.id;
181
- const worker = this.workers[this.next++ % this.workers.length];
182
- const copy = png.buffer.slice(png.byteOffset, png.byteOffset + png.byteLength);
183
- return new Promise((resolve, reject) => {
184
- this.waiting.set(id, { resolve, reject });
185
- worker.postMessage({ id, png: copy, width, height, file }, [copy]);
186
- });
187
- }
188
-
189
- async close() {
190
- await Promise.all(this.workers.map((w) => w.terminate()));
191
- }
192
- }
193
-
194
- /**
195
- * Capture loop times `times` (an array of [index, t]) in the given order into `dir` as
196
- * `<prefix><index>.png` at the cover size. Returns Map index -> sha256 of the written PNG.
197
- */
198
- export async function capturePass({ browser, pool, times, dir, prefix = "f", mask = false, width, height }) {
199
- const out = new Map();
200
- const pending = [];
201
- const expected = `${browser.width * browser.scale}x${browser.height * browser.scale}`;
202
- for (const [index, t] of times) {
203
- await browser.frame(t, { mask });
204
- const png = await browser.capture();
205
- const file = dir ? `${dir}/${prefix}${String(index).padStart(4, "0")}.png` : null;
206
- pending.push(pool.process(png, width, height, file).then((r) => {
207
- if (r.captured !== expected) throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: captured ${r.captured}, expected ${expected} (the page must not resize its viewport)`);
208
- out.set(index, r.sha256);
209
- }));
210
- }
211
- await Promise.all(pending);
212
- return out;
213
- }