@litfamily/litgravity 0.1.8 → 0.1.9

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 (1064) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +78 -10
  3. package/README_ko-KR.md +79 -11
  4. package/bin/litgravity.mjs +3 -7
  5. package/lib/doctor.mjs +22 -18
  6. package/lib/host-tools.mjs +9 -36
  7. package/lib/install.mjs +18 -5
  8. package/lib/list.mjs +8 -16
  9. package/lib/paths.mjs +0 -1
  10. package/package.json +2 -2
  11. package/plugin/hooks/lib/extensions.mjs +53 -0
  12. package/plugin/hooks/lib/reentry.mjs +5 -4
  13. package/plugin/hooks/lib/routes.mjs +26 -9
  14. package/plugin/hooks/post-tool-use.mjs +0 -2
  15. package/plugin/hooks/pre-invocation.mjs +0 -2
  16. package/plugin/hooks/session-start.mjs +7 -0
  17. package/plugin/hooks/stop.mjs +2 -8
  18. package/plugin/plugin.json +1 -1
  19. package/plugin/skills/autoconference/SKILL.md +1 -1
  20. package/plugin/skills/autoconference/modes/core.md +1 -1
  21. package/plugin/skills/autoconference/references/visualization-guide.md +6 -6
  22. package/plugin/skills/autoconference/scripts/style_presets.py +6 -6
  23. package/plugin/skills/autoresearch/references/type-checklists.md +1 -1
  24. package/plugin/skills/autoresearch/references/visualization-guide.md +11 -5
  25. package/plugin/skills/frontend-ui-ux/SKILL.md +18 -147
  26. package/plugin/skills/lit-code/references/core/agy-surfaces-and-verification.md +1 -1
  27. package/plugin/skills/lit-code/references/engineering-risk-signals.md +2 -2
  28. package/plugin/skills/lit-diagram-drawer/SKILL.md +20 -164
  29. package/plugin/skills/lit-docx/SKILL.md +20 -122
  30. package/plugin/skills/lit-loop/SKILL.md +1 -1
  31. package/plugin/skills/lit-pptx/SKILL.md +18 -130
  32. package/plugin/skills/lit-schematic/SKILL.md +19 -98
  33. package/plugin/skills/lit-scientific-visualization/SKILL.md +19 -160
  34. package/plugin/skills/lit-typographic-motion/SKILL.md +19 -188
  35. package/plugin/skills/readme-studio/SKILL.md +20 -98
  36. package/plugin/skills/visual-qa/SKILL.md +20 -121
  37. package/lib/runtime.mjs +0 -81
  38. package/plugin/hooks/lib/motion.mjs +0 -171
  39. package/plugin/lib/python-pick.mjs +0 -63
  40. package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +0 -23
  41. package/plugin/skills/frontend-ui-ux/LICENSE +0 -21
  42. package/plugin/skills/frontend-ui-ux/PROVENANCE.json +0 -38
  43. package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +0 -1060
  44. package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -14
  45. package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +0 -1
  46. package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +0 -186
  47. package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +0 -9
  48. package/plugin/skills/frontend-ui-ux/kit/components.css +0 -417
  49. package/plugin/skills/frontend-ui-ux/kit/fonts.json +0 -22
  50. package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
  51. package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
  52. package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
  53. package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
  54. package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
  55. package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
  56. package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
  57. package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
  58. package/plugin/skills/frontend-ui-ux/kit/ui.js +0 -226
  59. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +0 -217
  60. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +0 -201
  61. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +0 -21
  62. package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +0 -873
  63. package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +0 -103
  64. package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -96
  65. package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -415
  66. package/plugin/skills/frontend-ui-ux/references/composition.md +0 -93
  67. package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -203
  68. package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -96
  69. package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -27
  70. package/plugin/skills/frontend-ui-ux/references/design/README.md +0 -248
  71. package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +0 -191
  72. package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +0 -393
  73. package/plugin/skills/frontend-ui-ux/references/design/airtable.md +0 -92
  74. package/plugin/skills/frontend-ui-ux/references/design/apple.md +0 -250
  75. package/plugin/skills/frontend-ui-ux/references/design/aside.md +0 -209
  76. package/plugin/skills/frontend-ui-ux/references/design/binance.md +0 -348
  77. package/plugin/skills/frontend-ui-ux/references/design/bmw.md +0 -183
  78. package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +0 -92
  79. package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +0 -271
  80. package/plugin/skills/frontend-ui-ux/references/design/cal.md +0 -262
  81. package/plugin/skills/frontend-ui-ux/references/design/claude.md +0 -315
  82. package/plugin/skills/frontend-ui-ux/references/design/clay.md +0 -307
  83. package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +0 -284
  84. package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +0 -65
  85. package/plugin/skills/frontend-ui-ux/references/design/cohere.md +0 -269
  86. package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +0 -132
  87. package/plugin/skills/frontend-ui-ux/references/design/composio.md +0 -310
  88. package/plugin/skills/frontend-ui-ux/references/design/cursor.md +0 -312
  89. package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +0 -244
  90. package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +0 -268
  91. package/plugin/skills/frontend-ui-ux/references/design/expo.md +0 -284
  92. package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +0 -317
  93. package/plugin/skills/frontend-ui-ux/references/design/figma.md +0 -223
  94. package/plugin/skills/frontend-ui-ux/references/design/framer.md +0 -249
  95. package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +0 -74
  96. package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +0 -281
  97. package/plugin/skills/frontend-ui-ux/references/design/ibm.md +0 -335
  98. package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +0 -1228
  99. package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +0 -798
  100. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +0 -1465
  101. package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +0 -987
  102. package/plugin/skills/frontend-ui-ux/references/design/intercom.md +0 -149
  103. package/plugin/skills/frontend-ui-ux/references/design/kraken.md +0 -128
  104. package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +0 -291
  105. package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +0 -107
  106. package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +0 -77
  107. package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +0 -370
  108. package/plugin/skills/frontend-ui-ux/references/design/lovable.md +0 -301
  109. package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +0 -368
  110. package/plugin/skills/frontend-ui-ux/references/design/meta.md +0 -369
  111. package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +0 -85
  112. package/plugin/skills/frontend-ui-ux/references/design/minimax.md +0 -260
  113. package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +0 -329
  114. package/plugin/skills/frontend-ui-ux/references/design/miro.md +0 -111
  115. package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +0 -264
  116. package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +0 -269
  117. package/plugin/skills/frontend-ui-ux/references/design/nike.md +0 -366
  118. package/plugin/skills/frontend-ui-ux/references/design/notion.md +0 -312
  119. package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +0 -296
  120. package/plugin/skills/frontend-ui-ux/references/design/ollama.md +0 -270
  121. package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +0 -284
  122. package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +0 -49
  123. package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +0 -233
  124. package/plugin/skills/frontend-ui-ux/references/design/playstation.md +0 -367
  125. package/plugin/skills/frontend-ui-ux/references/design/posthog.md +0 -259
  126. package/plugin/skills/frontend-ui-ux/references/design/raycast.md +0 -271
  127. package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +0 -230
  128. package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +0 -178
  129. package/plugin/skills/frontend-ui-ux/references/design/renault.md +0 -314
  130. package/plugin/skills/frontend-ui-ux/references/design/replicate.md +0 -264
  131. package/plugin/skills/frontend-ui-ux/references/design/resend.md +0 -306
  132. package/plugin/skills/frontend-ui-ux/references/design/revolut.md +0 -188
  133. package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +0 -247
  134. package/plugin/skills/frontend-ui-ux/references/design/sanity.md +0 -360
  135. package/plugin/skills/frontend-ui-ux/references/design/sentry.md +0 -265
  136. package/plugin/skills/frontend-ui-ux/references/design/shopify.md +0 -353
  137. package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +0 -98
  138. package/plugin/skills/frontend-ui-ux/references/design/spacex.md +0 -197
  139. package/plugin/skills/frontend-ui-ux/references/design/spotify.md +0 -249
  140. package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +0 -583
  141. package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +0 -121
  142. package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +0 -184
  143. package/plugin/skills/frontend-ui-ux/references/design/stripe.md +0 -325
  144. package/plugin/skills/frontend-ui-ux/references/design/supabase.md +0 -258
  145. package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +0 -255
  146. package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +0 -1206
  147. package/plugin/skills/frontend-ui-ux/references/design/tesla.md +0 -289
  148. package/plugin/skills/frontend-ui-ux/references/design/theverge.md +0 -342
  149. package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +0 -266
  150. package/plugin/skills/frontend-ui-ux/references/design/uber.md +0 -298
  151. package/plugin/skills/frontend-ui-ux/references/design/vercel.md +0 -313
  152. package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +0 -426
  153. package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +0 -326
  154. package/plugin/skills/frontend-ui-ux/references/design/warp.md +0 -256
  155. package/plugin/skills/frontend-ui-ux/references/design/webflow.md +0 -95
  156. package/plugin/skills/frontend-ui-ux/references/design/wired.md +0 -281
  157. package/plugin/skills/frontend-ui-ux/references/design/wise.md +0 -176
  158. package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +0 -260
  159. package/plugin/skills/frontend-ui-ux/references/design/zapier.md +0 -331
  160. package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +0 -97
  161. package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +0 -48
  162. package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +0 -80
  163. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +0 -64
  164. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +0 -65
  165. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +0 -65
  166. package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +0 -83
  167. package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +0 -80
  168. package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +0 -79
  169. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +0 -21
  170. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
  171. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +0 -132
  172. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +0 -109
  173. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +0 -89
  174. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +0 -113
  175. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +0 -78
  176. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +0 -121
  177. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
  178. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +0 -107
  179. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +0 -120
  180. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +0 -101
  181. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
  182. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
  183. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +0 -199
  184. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
  185. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +0 -125
  186. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +0 -106
  187. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
  188. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +0 -123
  189. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
  190. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
  191. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
  192. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
  193. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
  194. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +0 -122
  195. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
  196. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +0 -96
  197. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
  198. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
  199. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
  200. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +0 -78
  201. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +0 -75
  202. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +0 -117
  203. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +0 -78
  204. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
  205. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
  206. package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
  207. package/plugin/skills/frontend-ui-ux/references/evidence-review.md +0 -119
  208. package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
  209. package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -115
  210. package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -98
  211. package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -48
  212. package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -153
  213. package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -101
  214. package/plugin/skills/frontend-ui-ux/references/perfection/README.md +0 -160
  215. package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +0 -127
  216. package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +0 -91
  217. package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -92
  218. package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -71
  219. package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -103
  220. package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -139
  221. package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -90
  222. package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -79
  223. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +0 -659
  224. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +0 -26
  225. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +0 -162
  226. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +0 -106
  227. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +0 -35
  228. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +0 -162
  229. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +0 -45
  230. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +0 -54
  231. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +0 -53
  232. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
  233. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
  234. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +0 -53
  235. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
  236. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
  237. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +0 -52
  238. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +0 -54
  239. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +0 -61
  240. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +0 -54
  241. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +0 -51
  242. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +0 -50
  243. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +0 -85
  244. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +0 -74
  245. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +0 -162
  246. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +0 -100
  247. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +0 -31
  248. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +0 -262
  249. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +0 -1148
  250. package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +0 -114
  251. package/plugin/skills/frontend-ui-ux/references/visual-language.md +0 -90
  252. package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -55
  253. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +0 -306
  254. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +0 -291
  255. package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +0 -311
  256. package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +0 -217
  257. package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +0 -286
  258. package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +0 -354
  259. package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +0 -361
  260. package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +0 -313
  261. package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +0 -68
  262. package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
  263. package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +0 -12
  264. package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +0 -124
  265. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +0 -196
  266. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +0 -1555
  267. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +0 -153
  268. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +0 -57
  269. package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +0 -129
  270. package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -322
  271. package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +0 -63
  272. package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
  273. package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +0 -106
  274. package/plugin/skills/frontend-ui-ux/scripts/search.mjs +0 -43
  275. package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +0 -153
  276. package/plugin/skills/frontend-ui-ux/scripts/strict-json.mjs +0 -143
  277. package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -52
  278. package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +0 -90
  279. package/plugin/skills/lit-diagram-drawer/NOTICE +0 -33
  280. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
  281. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
  282. package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
  283. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
  284. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
  285. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
  286. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
  287. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
  288. package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
  289. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
  290. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
  291. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
  292. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
  293. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
  294. package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
  295. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
  296. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
  297. package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
  298. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
  299. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
  300. package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
  301. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
  302. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
  303. package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
  304. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
  305. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
  306. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
  307. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
  308. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
  309. package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
  310. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
  311. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
  312. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
  313. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
  314. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
  315. package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
  316. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
  317. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
  318. package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
  319. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
  320. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
  321. package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
  322. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
  323. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
  324. package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
  325. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
  326. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
  327. package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
  328. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
  329. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
  330. package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
  331. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
  332. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
  333. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
  334. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
  335. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
  336. package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
  337. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
  338. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
  339. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
  340. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
  341. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
  342. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
  343. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
  344. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
  345. package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
  346. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
  347. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
  348. package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
  349. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
  350. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
  351. package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
  352. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
  353. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
  354. package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
  355. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
  356. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
  357. package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
  358. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
  359. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
  360. package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
  361. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
  362. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
  363. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
  364. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
  365. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
  366. package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
  367. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
  368. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
  369. package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
  370. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
  371. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
  372. package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
  373. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
  374. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
  375. package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
  376. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
  377. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
  378. package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
  379. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
  380. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
  381. package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
  382. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
  383. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
  384. package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
  385. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
  386. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
  387. package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
  388. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
  389. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
  390. package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
  391. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
  392. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
  393. package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
  394. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
  395. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
  396. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
  397. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
  398. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
  399. package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
  400. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
  401. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
  402. package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
  403. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
  404. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
  405. package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
  406. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
  407. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
  408. package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
  409. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
  410. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
  411. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
  412. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
  413. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
  414. package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
  415. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
  416. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
  417. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
  418. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
  419. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
  420. package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
  421. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
  422. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
  423. package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
  424. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
  425. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
  426. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
  427. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
  428. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
  429. package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
  430. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
  431. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
  432. package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
  433. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
  434. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
  435. package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
  436. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
  437. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
  438. package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
  439. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
  440. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
  441. package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
  442. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
  443. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
  444. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
  445. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
  446. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
  447. package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
  448. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
  449. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
  450. package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
  451. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
  452. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
  453. package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
  454. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
  455. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
  456. package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
  457. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
  458. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
  459. package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
  460. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
  461. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
  462. package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
  463. package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
  464. package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  465. package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
  466. package/plugin/skills/lit-diagram-drawer/assets/icons.html +0 -231
  467. package/plugin/skills/lit-diagram-drawer/assets/index.html +0 -1
  468. package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
  469. package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
  470. package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
  471. package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
  472. package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
  473. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
  474. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
  475. package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
  476. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
  477. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
  478. package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
  479. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
  480. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
  481. package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
  482. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
  483. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
  484. package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
  485. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
  486. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
  487. package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
  488. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
  489. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
  490. package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
  491. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
  492. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
  493. package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
  494. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
  495. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
  496. package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
  497. package/plugin/skills/lit-diagram-drawer/references/accessibility.md +0 -37
  498. package/plugin/skills/lit-diagram-drawer/references/drawing-rules.md +0 -86
  499. package/plugin/skills/lit-diagram-drawer/references/export.md +0 -34
  500. package/plugin/skills/lit-diagram-drawer/references/failure-codes.md +0 -66
  501. package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
  502. package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
  503. package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
  504. package/plugin/skills/lit-diagram-drawer/references/import-schema.md +0 -28
  505. package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
  506. package/plugin/skills/lit-diagram-drawer/references/motion.md +0 -29
  507. package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
  508. package/plugin/skills/lit-diagram-drawer/references/output-spec.md +0 -48
  509. package/plugin/skills/lit-diagram-drawer/references/playbooks.md +0 -67
  510. package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
  511. package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
  512. package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
  513. package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
  514. package/plugin/skills/lit-diagram-drawer/references/profiles.md +0 -24
  515. package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
  516. package/plugin/skills/lit-diagram-drawer/references/style-guide.md +0 -76
  517. package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
  518. package/plugin/skills/lit-diagram-drawer/references/type-bar.md +0 -51
  519. package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
  520. package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
  521. package/plugin/skills/lit-diagram-drawer/references/type-bump.md +0 -49
  522. package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
  523. package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
  524. package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
  525. package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
  526. package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
  527. package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
  528. package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
  529. package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
  530. package/plugin/skills/lit-diagram-drawer/references/type-er.md +0 -49
  531. package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
  532. package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
  533. package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
  534. package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
  535. package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
  536. package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
  537. package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
  538. package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
  539. package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
  540. package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
  541. package/plugin/skills/lit-diagram-drawer/references/type-journey.md +0 -54
  542. package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
  543. package/plugin/skills/lit-diagram-drawer/references/type-layers.md +0 -54
  544. package/plugin/skills/lit-diagram-drawer/references/type-line.md +0 -54
  545. package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
  546. package/plugin/skills/lit-diagram-drawer/references/type-loop.md +0 -54
  547. package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
  548. package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
  549. package/plugin/skills/lit-diagram-drawer/references/type-nested.md +0 -59
  550. package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
  551. package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
  552. package/plugin/skills/lit-diagram-drawer/references/type-polar.md +0 -67
  553. package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
  554. package/plugin/skills/lit-diagram-drawer/references/type-process.md +0 -58
  555. package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
  556. package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
  557. package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
  558. package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
  559. package/plugin/skills/lit-diagram-drawer/references/type-radar.md +0 -57
  560. package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
  561. package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
  562. package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
  563. package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
  564. package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
  565. package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
  566. package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
  567. package/plugin/skills/lit-diagram-drawer/references/type-state.md +0 -59
  568. package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
  569. package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
  570. package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
  571. package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
  572. package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
  573. package/plugin/skills/lit-diagram-drawer/references/type-tree.md +0 -54
  574. package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
  575. package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
  576. package/plugin/skills/lit-diagram-drawer/references/type-venn.md +0 -51
  577. package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
  578. package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
  579. package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +0 -76
  580. package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
  581. package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
  582. package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
  583. package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
  584. package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
  585. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +0 -9
  586. package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +0 -277
  587. package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -25
  588. package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
  589. package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
  590. package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
  591. package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +0 -119
  592. package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
  593. package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
  594. package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
  595. package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
  596. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
  597. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
  598. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
  599. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
  600. package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
  601. package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
  602. package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -11
  603. package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
  604. package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
  605. package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
  606. package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
  607. package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
  608. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
  609. package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
  610. package/plugin/skills/lit-docx/NOTICE +0 -35
  611. package/plugin/skills/lit-docx/references/build-loop.md +0 -96
  612. package/plugin/skills/lit-docx/references/components.md +0 -287
  613. package/plugin/skills/lit-docx/references/direction-step.md +0 -339
  614. package/plugin/skills/lit-docx/references/examples/01-report-ko.md +0 -166
  615. package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +0 -96
  616. package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -170
  617. package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -141
  618. package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -56
  619. package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -129
  620. package/plugin/skills/lit-docx/references/examples/07-report-en.md +0 -123
  621. package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +0 -122
  622. package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -40
  623. package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -94
  624. package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -89
  625. package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -43
  626. package/plugin/skills/lit-docx/references/page-composition.md +0 -319
  627. package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
  628. package/plugin/skills/lit-docx/references/slop_rules.md +0 -88
  629. package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -170
  630. package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -173
  631. package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -182
  632. package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -171
  633. package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -181
  634. package/plugin/skills/lit-docx/references/tonalities/report.md +0 -199
  635. package/plugin/skills/lit-docx/scripts/clean_markdown.py +0 -95
  636. package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1395
  637. package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -301
  638. package/plugin/skills/lit-docx/scripts/convert_pdf.py +0 -139
  639. package/plugin/skills/lit-docx/scripts/docx_design.py +0 -2449
  640. package/plugin/skills/lit-docx/scripts/docx_layout.py +0 -959
  641. package/plugin/skills/lit-docx/scripts/edit_docx.py +0 -306
  642. package/plugin/skills/lit-docx/scripts/embed_images.py +0 -78
  643. package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +0 -500
  644. package/plugin/skills/lit-docx/scripts/pdf_fonts.py +0 -83
  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 -41
  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 -42
  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 -41
  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 -41
  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 -41
  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 -35
  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/assets/example-a.png +0 -0
  675. package/plugin/skills/lit-pptx/assets/example-b.png +0 -0
  676. package/plugin/skills/lit-pptx/assets/example-c.png +0 -0
  677. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
  678. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
  679. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
  680. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
  681. package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
  682. package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +0 -94
  683. package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +0 -29
  684. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  685. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  686. package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
  687. package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +0 -94
  688. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
  689. package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
  690. package/plugin/skills/lit-pptx/fonts/provenance.json +0 -109
  691. package/plugin/skills/lit-pptx/references/agents/analyst.md +0 -49
  692. package/plugin/skills/lit-pptx/references/agents/antithesis.md +0 -59
  693. package/plugin/skills/lit-pptx/references/agents/architect.md +0 -44
  694. package/plugin/skills/lit-pptx/references/agents/critic.md +0 -42
  695. package/plugin/skills/lit-pptx/references/agents/synthesizer.md +0 -47
  696. package/plugin/skills/lit-pptx/references/agents/thesis.md +0 -33
  697. package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +0 -131
  698. package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
  699. package/plugin/skills/lit-pptx/references/build-loop.md +0 -117
  700. package/plugin/skills/lit-pptx/references/consensus-protocol.md +0 -125
  701. package/plugin/skills/lit-pptx/references/data-display-cookbook.md +0 -52
  702. package/plugin/skills/lit-pptx/references/density-and-fill.md +0 -163
  703. package/plugin/skills/lit-pptx/references/design-system-azure.md +0 -61
  704. package/plugin/skills/lit-pptx/references/direction-step.md +0 -203
  705. package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -210
  706. package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +0 -147
  707. package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -199
  708. package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +0 -203
  709. package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +0 -178
  710. package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -199
  711. package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -194
  712. package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +0 -175
  713. package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -204
  714. package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +0 -179
  715. package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +0 -164
  716. package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +0 -174
  717. package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +0 -173
  718. package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +0 -154
  719. package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +0 -139
  720. package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +0 -158
  721. package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +0 -179
  722. package/plugin/skills/lit-pptx/references/interview-protocol.md +0 -113
  723. package/plugin/skills/lit-pptx/references/layout-families.md +0 -194
  724. package/plugin/skills/lit-pptx/references/stages/autopilot.md +0 -48
  725. package/plugin/skills/lit-pptx/references/stages/interview.md +0 -52
  726. package/plugin/skills/lit-pptx/references/stages/plan.md +0 -42
  727. package/plugin/skills/lit-pptx/references/title-treatments.md +0 -113
  728. package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
  729. package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -140
  730. package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
  731. package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -150
  732. package/plugin/skills/lit-pptx/references/tonalities/gazette.md +0 -149
  733. package/plugin/skills/lit-pptx/references/tonalities/ledger.md +0 -149
  734. package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -161
  735. package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -144
  736. package/plugin/skills/lit-pptx/references/tonalities/night.md +0 -147
  737. package/plugin/skills/lit-pptx/references/tonalities/paper.md +0 -151
  738. package/plugin/skills/lit-pptx/references/tonalities/riso.md +0 -137
  739. package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
  740. package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -131
  741. package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
  742. package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1077
  743. package/plugin/skills/lit-pptx/scripts/deck_craft.py +0 -363
  744. package/plugin/skills/lit-pptx/scripts/embed_fonts.py +0 -227
  745. package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +0 -55
  746. package/plugin/skills/lit-pptx/scripts/layout_inventory.py +0 -418
  747. package/plugin/skills/lit-pptx/scripts/learn_template.py +0 -446
  748. package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
  749. package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
  750. package/plugin/skills/lit-pptx/scripts/lib/font-map.js +0 -79
  751. package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +0 -86
  752. package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -37
  753. package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -512
  754. package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
  755. package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
  756. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -356
  757. package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2240
  758. package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +0 -3366
  759. package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +0 -28
  760. package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
  761. package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
  762. package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
  763. package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
  764. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package-lock.json +0 -793
  765. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package.json +0 -12
  766. package/plugin/skills/lit-pptx/scripts/office-runtime-lock/requirements.lock +0 -15
  767. package/plugin/skills/lit-pptx/scripts/office-runtime.mjs +0 -279
  768. package/plugin/skills/lit-pptx/scripts/office_data.py +0 -493
  769. package/plugin/skills/lit-pptx/scripts/office_runtime_bootstrap.py +0 -73
  770. package/plugin/skills/lit-pptx/scripts/ooxml_integrity.py +0 -199
  771. package/plugin/skills/lit-pptx/scripts/package.json +0 -4
  772. package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
  773. package/plugin/skills/lit-pptx/scripts/render_pages.py +0 -147
  774. package/plugin/skills/lit-pptx/scripts/validate_pptx.py +0 -230
  775. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
  776. package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -214
  777. package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
  778. package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
  779. package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +0 -382
  780. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
  781. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
  782. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
  783. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
  784. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -475
  785. package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
  786. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
  787. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
  788. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
  789. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
  790. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
  791. package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
  792. package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
  793. package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
  794. package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
  795. package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -99
  796. package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -93
  797. package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -94
  798. package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
  799. package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
  800. package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
  801. package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
  802. package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
  803. package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
  804. package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
  805. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -38
  806. package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -133
  807. package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -87
  808. package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -85
  809. package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -70
  810. package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -101
  811. package/plugin/skills/lit-schematic/references/journal-figures.md +0 -72
  812. package/plugin/skills/lit-schematic/references/kit-api.md +0 -134
  813. package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -53
  814. package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -103
  815. package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -163
  816. package/plugin/skills/lit-schematic/references/verification.md +0 -100
  817. package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -57
  818. package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -81
  819. package/plugin/skills/lit-schematic/scripts/lib/fonts.mjs +0 -27
  820. package/plugin/skills/lit-schematic/scripts/lib/geom.mjs +0 -113
  821. package/plugin/skills/lit-schematic/scripts/lib/interactive.mjs +0 -292
  822. package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -115
  823. package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -719
  824. package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -162
  825. package/plugin/skills/lit-schematic/scripts/lib/pid.mjs +0 -937
  826. package/plugin/skills/lit-schematic/scripts/lib/png.mjs +0 -132
  827. package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -658
  828. package/plugin/skills/lit-schematic/scripts/lib/route.mjs +0 -218
  829. package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -890
  830. package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -82
  831. package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -115
  832. package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -129
  833. package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -92
  834. package/plugin/skills/lit-schematic/scripts/render.mjs +0 -233
  835. package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -60
  836. package/plugin/skills/lit-scientific-visualization/LICENSE +0 -21
  837. package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +0 -197
  838. package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +0 -75
  839. package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +0 -74
  840. package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +0 -78
  841. package/plugin/skills/lit-scientific-visualization/evals/evals.json +0 -158
  842. package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +0 -278
  843. package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +0 -380
  844. package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +0 -359
  845. package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +0 -608
  846. package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  847. package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +0 -217
  848. package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +0 -293
  849. package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +0 -238
  850. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +0 -23
  851. package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +0 -230
  852. package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +0 -467
  853. package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +0 -51
  854. package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +0 -114
  855. package/plugin/skills/lit-typographic-motion/engine/NOTICE +0 -23
  856. package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -73
  857. package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +0 -56
  858. package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +0 -1084
  859. package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +0 -218
  860. package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +0 -246
  861. package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +0 -90
  862. package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +0 -46
  863. package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +0 -211
  864. package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +0 -550
  865. package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +0 -123
  866. package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +0 -100
  867. package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +0 -142
  868. package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +0 -167
  869. package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +0 -19
  870. package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +0 -198
  871. package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +0 -172
  872. package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -298
  873. package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -143
  874. package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
  875. package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -164
  876. package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -328
  877. package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -104
  878. package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -210
  879. package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -347
  880. package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +0 -141
  881. package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +0 -76
  882. package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +0 -139
  883. package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
  884. package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -385
  885. package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +0 -83
  886. package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +0 -209
  887. package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +0 -105
  888. package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -38
  889. package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -121
  890. package/plugin/skills/lit-typographic-motion/engine/node/host.mjs +0 -34
  891. package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
  892. package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -178
  893. package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +0 -603
  894. package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +0 -112
  895. package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +0 -66
  896. package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +0 -349
  897. package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +0 -210
  898. package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +0 -639
  899. package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +0 -145
  900. package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +0 -77
  901. package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +0 -740
  902. package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +0 -180
  903. package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -177
  904. package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -427
  905. package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -428
  906. package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +0 -572
  907. package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +0 -100
  908. package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +0 -213
  909. package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
  910. package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -146
  911. package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +0 -132
  912. package/plugin/skills/lit-typographic-motion/engine/package-lock.json +0 -25
  913. package/plugin/skills/lit-typographic-motion/engine/package.json +0 -10
  914. package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +0 -49
  915. package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -298
  916. package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
  917. package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -162
  918. package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -823
  919. package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
  920. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
  921. package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
  922. package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
  923. package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +0 -123
  924. package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +0 -281
  925. package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +0 -319
  926. package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +0 -78
  927. package/plugin/skills/lit-typographic-motion/engine/web/index.html +0 -6
  928. package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +0 -112
  929. package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +0 -98
  930. package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +0 -49
  931. package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +0 -77
  932. package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +0 -61
  933. package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +0 -88
  934. package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +0 -86
  935. package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +0 -165
  936. package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +0 -15
  937. package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +0 -82
  938. package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +0 -30
  939. package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +0 -16
  940. package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +0 -47
  941. package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +0 -45
  942. package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +0 -29
  943. package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +0 -73
  944. package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +0 -73
  945. package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +0 -236
  946. package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +0 -180
  947. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
  948. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
  949. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
  950. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
  951. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
  952. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
  953. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
  954. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
  955. package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
  956. package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
  957. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  958. package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
  959. package/plugin/skills/lit-typographic-motion/fonts/manifest.json +0 -455
  960. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +0 -93
  961. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
  962. package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
  963. package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -42
  964. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
  965. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
  966. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
  967. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
  968. package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
  969. package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -91
  970. package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
  971. package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  972. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -69
  973. package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
  974. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
  975. package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -27
  976. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
  977. package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -17
  978. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
  979. package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -18
  980. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
  981. package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -30
  982. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -69
  983. package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -152
  984. package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -97
  985. package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -202
  986. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -69
  987. package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -100
  988. package/plugin/skills/lit-typographic-motion/references/brief-schema.md +0 -119
  989. package/plugin/skills/lit-typographic-motion/references/cover.md +0 -424
  990. package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -70
  991. package/plugin/skills/lit-typographic-motion/references/depth.md +0 -122
  992. package/plugin/skills/lit-typographic-motion/references/engine-contract.md +0 -124
  993. package/plugin/skills/lit-typographic-motion/references/look.md +0 -122
  994. package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -67
  995. package/plugin/skills/lit-typographic-motion/references/sound.md +0 -152
  996. package/plugin/skills/lit-typographic-motion/references/stage.md +0 -256
  997. package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
  998. package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -141
  999. package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -214
  1000. package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
  1001. package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -111
  1002. package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
  1003. package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -205
  1004. package/plugin/skills/lit-typographic-motion/styles/paper.json +0 -41
  1005. package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +0 -41
  1006. package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +0 -42
  1007. package/plugin/skills/lit-typographic-motion/styles/tidal.json +0 -41
  1008. package/plugin/skills/readme-studio/references/decoration-and-navigation.md +0 -55
  1009. package/plugin/skills/readme-studio/references/facts-and-assembly.md +0 -19
  1010. package/plugin/skills/readme-studio/references/production-interview.md +0 -11
  1011. package/plugin/skills/readme-studio/references/render-and-deliver.md +0 -44
  1012. package/plugin/skills/readme-studio/references/type-and-background.md +0 -23
  1013. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +0 -133
  1014. package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +0 -6
  1015. package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +0 -77
  1016. package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -28
  1017. package/plugin/skills/readme-studio/templates/cover-source.json +0 -21
  1018. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +0 -30
  1019. package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -1
  1020. package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
  1021. package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +0 -8
  1022. package/plugin/skills/readme-studio/templates/readme-cover-section.md +0 -75
  1023. package/plugin/skills/readme-studio/templates/readme-facts.json +0 -4
  1024. package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
  1025. package/plugin/skills/readme-studio/templates/remotion-cover/package.json +0 -7
  1026. package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -36
  1027. package/plugin/skills/readme-studio/templates/typography/package-lock.json +0 -133
  1028. package/plugin/skills/readme-studio/templates/typography/package.json +0 -6
  1029. package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +0 -57
  1030. package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -63
  1031. package/plugin/skills/visual-qa/references/breakage-catalogue.md +0 -70
  1032. package/plugin/skills/visual-qa/references/capture-playbook.md +0 -96
  1033. package/plugin/skills/visual-qa/references/complete-contract.md +0 -411
  1034. package/plugin/skills/visual-qa/references/korean-and-mixed-script-checks.md +0 -50
  1035. package/plugin/skills/visual-qa/references/reviewer-charters.md +0 -70
  1036. package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +0 -305
  1037. package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +0 -291
  1038. package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +0 -311
  1039. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +0 -235
  1040. package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +0 -208
  1041. package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +0 -66
  1042. package/plugin/skills/visual-qa/scripts/ansi.ts +0 -17
  1043. package/plugin/skills/visual-qa/scripts/cli.mjs +0 -101
  1044. package/plugin/skills/visual-qa/scripts/cli.ts +0 -96
  1045. package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +0 -448
  1046. package/plugin/skills/visual-qa/scripts/east-asian-width.ts +0 -72
  1047. package/plugin/skills/visual-qa/scripts/errors.mjs +0 -12
  1048. package/plugin/skills/visual-qa/scripts/evidence-io.mjs +0 -184
  1049. package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +0 -95
  1050. package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +0 -163
  1051. package/plugin/skills/visual-qa/scripts/evidence.mjs +0 -421
  1052. package/plugin/skills/visual-qa/scripts/image-diff.mjs +0 -89
  1053. package/plugin/skills/visual-qa/scripts/image-diff.ts +0 -109
  1054. package/plugin/skills/visual-qa/scripts/png-chunks.mjs +0 -107
  1055. package/plugin/skills/visual-qa/scripts/png-crc.ts +0 -27
  1056. package/plugin/skills/visual-qa/scripts/png-decode.mjs +0 -143
  1057. package/plugin/skills/visual-qa/scripts/png-decode.ts +0 -206
  1058. package/plugin/skills/visual-qa/scripts/png-synth.ts +0 -57
  1059. package/plugin/skills/visual-qa/scripts/review-rules.mjs +0 -137
  1060. package/plugin/skills/visual-qa/scripts/strict-json.mjs +0 -143
  1061. package/plugin/skills/visual-qa/scripts/terminal-text.mjs +0 -117
  1062. package/plugin/skills/visual-qa/scripts/tui-check.mjs +0 -74
  1063. package/plugin/skills/visual-qa/scripts/tui-grid.ts +0 -88
  1064. package/plugin/skills/visual-qa/scripts/types.ts +0 -54
@@ -1,645 +0,0 @@
1
- // The treatment: the film director's plan, written by the model into the run's output directory as
2
- // `treatment.json` before any render. Every render (stills-only too) validates it first and stops
3
- // with exit 16 BLOCKED_TREATMENT_INVALID naming the field. Text in it is the film's content and the
4
- // user's words; nothing in it is ever executed or obeyed.
5
- //
6
- // Normalization for every comparison: NFC, lowercase, then no whitespace, punctuation or symbols.
7
- // Quoted spans are removed from the request before an `idea` or invented copy is compared with it.
8
- //
9
- // The forks that used to be the model's to flip on every run are rules here: the house style (named,
10
- // auto-pick), the format (9:16 only for a vertical request), the length (the genre's band unless the
11
- // user names one) and the genre (a genre word in the request fixes it). Concept fields stay free.
12
- import { createHash } from "node:crypto";
13
- import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
14
- import path from "node:path";
15
- import { fileURLToPath } from "node:url";
16
- import { EXIT } from "../core/constants.mjs";
17
- import { BlockedError } from "./chrome.mjs";
18
- import { readHouse } from "./house.mjs";
19
- import { LAYOUT_IDS, STYLE_IDS, styleBeds, styleColors, styleFamilies, pickStyle, readStyle } from "./styles.mjs";
20
- import { SCORE_GENRES } from "./score.mjs";
21
- import { EVENT_SOUNDS, normalizePalette, SoundError } from "./sound.mjs";
22
-
23
- export const GENRES = Object.freeze(["announcement", "brand-mood", "event", "explainer", "motion-graphics", "type-led", "other"]);
24
- /** Minimum beats per genre arc; `type-led` needs one per supplied line instead. */
25
- export const ARC_STAGES = Object.freeze({ announcement: 5, "brand-mood": 4, event: 4, explainer: 4, "motion-graphics": 5, other: 3 });
26
- export const TEN_SECOND_FLOOR = Object.freeze(["announcement", "event", "explainer", "motion-graphics"]);
27
- /** Length bands in seconds when the user names no length; `type-led` scales with its lines. */
28
- export const GENRE_BANDS = Object.freeze({ announcement: [12, 18], "brand-mood": [10, 15], event: [10, 15], explainer: [16, 24], "motion-graphics": [12, 18], other: [10, 15] });
29
- export const typeLedBand = (lines) => [Math.max(4, 2 * lines), Math.max(8, 6 * lines)];
30
- export const DEVICE_KINDS = Object.freeze(["illustration", "diagram", "chart", "icon", "shape", "path", "mask", "depth3d", "screen", "particles", "grid", "gradient", "photo-texture"]);
31
- export const TEXTURE_KINDS = Object.freeze(["grid", "gradient", "particles", "photo-texture"]);
32
- export const FACES = Object.freeze(["Pretendard", "Archivo", "VT323", "Silkscreen", "Galmuri9", "MesloLGS NF"]);
33
- export const FORMATS = Object.freeze({ "16:9": [1920, 1080], "9:16": [1080, 1920] });
34
- export const MIN_BEAT_SEC = 1.2;
35
- export const MAX_GAP_SEC = 0.25;
36
- export const PROTAGONIST_KINDS = Object.freeze(["character", "object"]);
37
- /** What a product asset is; `screen` devices need one of the last three. */
38
- export const ASSET_ROLES = Object.freeze(["logo", "wordmark", "icon", "photo", "screenshot", "ui", "readme-image"]);
39
- const SCREEN_ROLES = new Set(["screenshot", "ui", "readme-image"]);
40
- /** An event hit counts as off the cut when it is at least this far from every cut. */
41
- export const EVENT_OFF_CUT_SEC = 0.1;
42
- /** How dense a film is. Rich is the default; minimal only when the request asks for calm or minimal. */
43
- export const REGISTERS = Object.freeze(["rich", "minimal"]);
44
- /** What a rich stage film's world plans at least: depth layers, labelled parts, a share of moving shots. */
45
- export const RICH_WORLD = Object.freeze({ layers: 3, labels: 6, labelWords: 4, cameraShare: 0.5 });
46
- const LOCKED_CAMERA = /^\s*(?:none|locked|static|still|hold|fixed|no move)\s*\.?\s*$/iu;
47
-
48
- const TREATMENT_MD = fileURLToPath(new URL("../../references/treatment.md", import.meta.url));
49
-
50
- export class TreatmentError extends Error {
51
- constructor(field, message) {
52
- super(`BLOCKED_TREATMENT_INVALID: ${field}: ${message}`);
53
- this.field = field;
54
- }
55
- }
56
-
57
- const fail = (field, message) => {
58
- throw new TreatmentError(field, message);
59
- };
60
-
61
- export const normalizeText = (text) => String(text ?? "").normalize("NFC").toLowerCase().replace(/[\s\p{P}\p{S}]/gu, "");
62
-
63
- const QUOTED = /"([^"\n]+)"|“([^”\n]+)”|'([^'\n]+)'|‘([^’\n]+)’|「([^」\n]+)」|『([^』\n]+)』/gu;
64
-
65
- /** The contents of every quoted span in the request. */
66
- export const quotedSpans = (text) => [...String(text ?? "").matchAll(QUOTED)].map((m) => m.slice(1).find((g) => g !== undefined));
67
- export const stripQuoted = (text) => String(text ?? "").replace(QUOTED, " ");
68
-
69
- // A type-led cue: a type compound, an explicit kinetic-type or lyric request, or a quoted span of two
70
- // or more words. Detecting a quote is cue detection only; nothing inside it is followed. The hook's
71
- // router hint uses the same rule (kept in step by the director test).
72
- const TYPE_COMPOUND = /타이포\s?모션|키네틱\s?타이포|타이포그래피\s?(?:영상|비디오)|(?:가사|리릭)\s?(?:영상|비디오)|타이틀\s?시퀀스|오프닝\s?타이틀|\bkinetic\s+(?:type|typography)\b|\btypographic\s+motion\b|\blyric\s+videos?\b|\btitle\s+sequences?\b|\bopening\s+titles?\b/iu;
73
-
74
- export function typeLedCue(request) {
75
- const text = String(request ?? "");
76
- const compound = TYPE_COMPOUND.exec(text);
77
- if (compound) return compound[0];
78
- const span = quotedSpans(text).find((q) => q.trim().split(/\s+/u).filter(Boolean).length >= 2);
79
- return span ? `"${span.trim()}"` : null;
80
- }
81
-
82
- const SILENCE_ASKED = /무음|소리\s?없|음악\s?없|소리\s?끄|\bsilent\b|\bsilence\b|\bno\s+(?:sound|music|audio)\b|\bwithout\s+(?:sound|music|audio)\b|\bmuted?\b/iu;
83
- const MUTED_CHANNEL = /\bmuted\b|\bmute\b|\bsilent\b|\bno\s+sound\b|무음|소리\s?없이|음소거/iu;
84
- const LENGTH_ASKED = /\d+(?:\.\d+)?\s*(?:초|분|s\b|sec\b|secs\b|seconds?\b|min\b|mins\b|minutes?\b)/iu;
85
- const LENGTH_VALUE = /(\d+(?:\.\d+)?)\s*(초|분|s\b|sec\b|secs\b|seconds?\b|min\b|mins\b|minutes?\b)/iu;
86
- const VERTICAL = /세로|숏폼|쇼츠|릴스|틱톡|인스타(?:그램)?\s?스토리|\bvertical\b|\bportrait\s+(?:format|mode|video|orientation)\b|9\s?:\s?16|\bshorts\b|\breels?\b|\btiktok\b|\binsta(?:gram)?\s+stor(?:y|ies)\b/iu;
87
- const MINIMAL_ASKED = /미니멀|잔잔|차분|조용|심플|절제|단순하게|고요|\bminimal(?:ist|ism)?\b|\bcalm\b|\bquiet\b|\bsimple\b|\bunderstated\b|\brestrained\b|\bsparse\b|\bserene\b/iu;
88
- const PREVIEW_ASKED = /미리\s?보기|스토리보드|콘티|\bpreview\b|\bstoryboard\b/iu;
89
- const FPS30_ASKED = /30\s?(?:fps|프레임|frames?\s+(?:a|per)\s+second)|\b30\s?p\b/iu;
90
- // A link in the request names a real product, repository or site: the film uses its real assets.
91
- const URL_IN_REQUEST = /\bhttps?:\/\/[^\s"'<>)\]]+/giu;
92
- // A genre word in the request fixes the genre; checked in order, first hit wins.
93
- const GENRE_CUES = Object.freeze([
94
- ["explainer", /설명|원리|\bexplain(?:er|s|ing)?\b/iu],
95
- ["announcement", /출시|런칭|론칭|티저|신제품|\blaunch(?:es|ing)?\b|\bteaser\b|\bannounce(?:ment|s)?\b|\bintroducing\b/iu],
96
- ["event", /행사|공연|축제|모집|세미나|콘서트|음악회|전시회|\bevent\b|\bfestival\b|\bconcert\b|\bmeetup\b|\bconference\b|\bexhibition\b/iu],
97
- ["explainer", /어떻게|과정|\bhow\s+(?:it|they|a|an|the|to|\w+\s+works?)\b/iu],
98
- ]);
99
-
100
- /** The length the request asks for, in seconds, or null. */
101
- export function askedSeconds(request) {
102
- const m = LENGTH_VALUE.exec(String(request ?? ""));
103
- if (!m) return null;
104
- const value = Number(m[1]);
105
- return /^(?:분|min|mins|minutes?)$/iu.test(m[2]) ? value * 60 : value;
106
- }
107
-
108
- /** The genre a request's own words fix, or null when it names none. */
109
- export function cuedGenre(request) {
110
- const text = String(request ?? "");
111
- const compound = TYPE_COMPOUND.exec(text);
112
- if (compound) return { genre: "type-led", word: compound[0] };
113
- for (const [genre, re] of GENRE_CUES) {
114
- const m = re.exec(text);
115
- if (m) return { genre, word: m[0] };
116
- }
117
- return null;
118
- }
119
- export const asksVertical = (request) => VERTICAL.test(String(request ?? ""));
120
- /** The request asks for a calm, quiet or minimal film: the one case the minimal register is for. */
121
- export const asksMinimal = (request) => MINIMAL_ASKED.test(String(request ?? ""));
122
- export const asksPreview = (request) => PREVIEW_ASKED.test(String(request ?? ""));
123
- // High-quality, cinematic or photoreal 3D: the words that send a 3D film to the Blender rung when
124
- // Blender is installed (scaffold.mjs says so; references/depth.md).
125
- const PATH_TRACED_ASKED = /고퀄|고품질|하이엔드|시네마틱|실사|포토리얼|레이\s?트레이싱|블렌더|\b(?:high[- ]?(?:quality|end)|cinematic|photo-?real(?:istic)?|path[- ]?trac\w*|ray[- ]?trac\w*|blender|cycles)\b/iu;
126
- /** The request asks for path-traced quality in its 3D. */
127
- export const asksPathTraced = (request) => PATH_TRACED_ASKED.test(String(request ?? ""));
128
- export const asks30fps = (request) => FPS30_ASKED.test(String(request ?? ""));
129
- export const normUrl = (u) => String(u ?? "").trim().replace(/[.,;:!?]+$/u, "").replace(/\/+$/u, "").replace(/\.git$/u, "").toLowerCase();
130
- /** Every link in the request, normalized (no trailing slash, punctuation or .git). */
131
- export const requestUrls = (request) => [...String(request ?? "").matchAll(URL_IN_REQUEST)].map((m) => normUrl(m[0]));
132
- const PLACEHOLDER = /<[^<>\n]{1,80}>|^\s*(?:todo|tbd|tk|xxx|\.\.\.|…)\s*$/iu;
133
-
134
- const isText = (v) => typeof v === "string" && v.trim().length > 0;
135
- const sentenceCount = (text) => String(text).trim().split(/(?<=[.!?。?!])\s+/u).filter((s) => s.trim()).length;
136
-
137
- /** The free-text leaves compared by the copiedExample rule, as [field, value] pairs. */
138
- export function freeTextLeaves(t) {
139
- const leaves = [["idea", t.idea], ["audience", t.audience], ["channel", t.channel], ["ambition", t.ambition]];
140
- (Array.isArray(t.beats) ? t.beats : []).forEach((b, i) => {
141
- for (const k of ["purpose", "onScreen", "motion", "sound", "hero"]) leaves.push([`beats[${i}].${k}`, b?.[k]]);
142
- });
143
- for (const k of ["expect", "turn", "payoff"]) leaves.push([`story.${k}`, t.story?.[k]]);
144
- leaves.push(["protagonist.look", t.protagonist?.look]);
145
- (Array.isArray(t.protagonist?.acts) ? t.protagonist.acts : []).forEach((a, i) => leaves.push([`protagonist.acts[${i}].action`, a?.action]));
146
- (Array.isArray(t.copy?.lines) ? t.copy.lines : []).forEach((line, i) => leaves.push([`copy.lines[${i}]`, line]));
147
- (Array.isArray(t.palette) ? t.palette : []).forEach((p, i) => leaves.push([`palette[${i}].role`, p?.role]));
148
- return leaves.filter(([, v]) => typeof v === "string");
149
- }
150
-
151
- /** Every JSON example shipped in references/treatment.md. */
152
- export function shippedExamples(file = TREATMENT_MD) {
153
- if (!existsSync(file)) return [];
154
- const blocks = [...readFileSync(file, "utf8").matchAll(/```json\n([\s\S]*?)\n```/gu)];
155
- const examples = [];
156
- for (const block of blocks) {
157
- try {
158
- const value = JSON.parse(block[1]);
159
- if (value && typeof value === "object" && "idea" in value) examples.push(value);
160
- } catch {
161
- // A partial snippet in the reference is prose, not an example treatment.
162
- }
163
- }
164
- return examples;
165
- }
166
-
167
- /** Longest common substring length of two normalized strings (small inputs only). */
168
- export function sharesRun(a, b, length) {
169
- if (length <= 0 || a.length < length || b.length < length) return null;
170
- for (let i = 0; i + length <= a.length; i++) {
171
- const piece = a.slice(i, i + length);
172
- if (b.includes(piece)) return piece;
173
- }
174
- return null;
175
- }
176
-
177
- /** The restatement limit: min(10, half the normalized quote-free request), never below 3. */
178
- export function restateLimit(request) {
179
- const n = normalizeText(stripQuoted(request)).length;
180
- return Math.max(3, Math.min(10, Math.floor(n / 2)));
181
- }
182
-
183
- function checkText(t, key, { sentences } = {}) {
184
- if (!(key in t)) fail(key, "missing");
185
- if (!isText(t[key])) fail(key, "must be a non-empty string");
186
- if (PLACEHOLDER.test(t[key])) fail(key, `placeholder value ${JSON.stringify(t[key])}`);
187
- if (sentences && sentenceCount(t[key]) > sentences) fail(key, `at most ${sentences} sentence(s)`);
188
- }
189
-
190
- function checkLeafPlaceholders(t) {
191
- for (const [field, value] of freeTextLeaves(t)) if (PLACEHOLDER.test(value)) fail(field, `placeholder value ${JSON.stringify(value)}`);
192
- }
193
-
194
- function checkCopiedExample(t, examples) {
195
- const leaves = freeTextLeaves(t).map(([, v]) => normalizeText(v)).filter(Boolean);
196
- if (!leaves.length) return;
197
- for (const example of examples) {
198
- const known = new Set(freeTextLeaves(example).map(([, v]) => normalizeText(v)).filter(Boolean));
199
- const same = leaves.filter((v) => known.has(v)).length;
200
- if (same * 2 >= leaves.length) fail("copiedExample", `${same} of ${leaves.length} free-text values equal a shipped example's; write this film's own treatment`);
201
- }
202
- }
203
-
204
- /**
205
- * Validate a treatment. Returns it with `seed` filled in. Throws TreatmentError(field) on the first
206
- * problem, in field order, so the model fixes one named thing at a time.
207
- */
208
- export function validateTreatment(t, { examples = shippedExamples(), house = null } = {}) {
209
- if (!t || typeof t !== "object" || Array.isArray(t)) fail("treatment.json", "must be a JSON object");
210
- if (t.mode === "cover") fail("mode", "this is a cover treatment: render it with motion.mjs cover --out <dir> (references/cover.md)");
211
- checkText(t, "request");
212
- if (!("genre" in t)) fail("genre", "missing");
213
- if (!GENRES.includes(t.genre)) fail("genre", `must be one of ${GENRES.join(", ")}`);
214
- const cue = cuedGenre(t.request);
215
- if (cue && cue.genre !== t.genre) fail("genre", `the request says "${cue.word}", which makes this a ${cue.genre} film`);
216
- if (!("path" in t)) fail("path", "missing");
217
- if (!["type", "stage"].includes(t.path)) fail("path", "must be type or stage");
218
- checkText(t, "pathReason");
219
- checkStyle(t, house);
220
- t = { ...t, register: checkRegister(t) };
221
- checkText(t, "idea", { sentences: 1 });
222
- checkText(t, "audience");
223
- checkText(t, "channel");
224
- if (!("format" in t)) fail("format", "missing");
225
- if (!FORMATS[t.format]) fail("format", "must be 16:9 or 9:16");
226
- if (asksVertical(t.request) && t.format !== "9:16") fail("format", "the request asks for a vertical film: 9:16");
227
- if (!asksVertical(t.request) && t.format === "9:16") fail("format", "9:16 only when the request asks for a vertical film (vertical, 세로, shorts, reels); otherwise 16:9");
228
- checkText(t, "formatReason");
229
- if (!("durationSec" in t)) fail("durationSec", "missing");
230
- if (typeof t.durationSec !== "number" || !Number.isFinite(t.durationSec)) fail("durationSec", "must be a number of seconds");
231
- if (t.durationSec < 4 || t.durationSec > 90) fail("durationSec", "must be 4-90");
232
- checkLength(t);
233
- if ("fps" in t && t.fps !== 60 && t.fps !== 30) fail("fps", "60 (the default) or 30");
234
- if (t.fps === 30 && !asks30fps(t.request)) fail("fps", "60; 30 only when the request asks for 30 fps");
235
- if ("preview" in t && typeof t.preview !== "boolean") fail("preview", "true or false");
236
- if (t.preview === true && !asksPreview(t.request)) fail("preview", "true only when the request asks for a preview or storyboard first");
237
- checkBeats(t);
238
- if ("posterBeat" in t && !(Number.isInteger(t.posterBeat) && t.posterBeat >= 0 && t.posterBeat < t.beats.length)) fail("posterBeat", "must be a beat index");
239
- checkStory(t);
240
- checkProtagonist(t);
241
- checkSubject(t);
242
- checkProduct(t);
243
- checkDevices(t);
244
- checkDepth(t);
245
- checkWorld(t);
246
- checkTypePlan(t);
247
- checkPalette(t);
248
- checkSound(t);
249
- checkCopy(t);
250
- checkInventions(t);
251
- checkText(t, "ambition", { sentences: 2 });
252
- checkLeafPlaceholders(t);
253
- checkCopiedExample(t, examples);
254
- checkPath(t);
255
- return { ...t, seed: Number.isInteger(t.seed) ? t.seed >>> 0 : seedOf(t.request) };
256
- }
257
-
258
- function seedOf(text) {
259
- let h = 0x811c9dc5;
260
- for (const b of Buffer.from(String(text), "utf8")) h = Math.imul(h ^ b, 0x01000193) >>> 0;
261
- return h;
262
- }
263
-
264
- function checkStyle(t, house) {
265
- if (!("style" in t)) fail("style", `missing: one of ${STYLE_IDS.join(", ")} (references/studio.md)`);
266
- if (!STYLE_IDS.includes(t.style)) fail("style", `must be one of ${STYLE_IDS.join(", ")}`);
267
- const pick = pickStyle({ request: t.request, copy: Array.isArray(t.copy?.lines) ? t.copy.lines : [], path: t.path, house, genre: t.genre });
268
- if (t.style !== pick.id) fail("style", `${pick.reason}; this film takes the ${pick.id} style`);
269
- }
270
-
271
- // Maximal is the default: a film is rich unless the request asks for calm or minimal, and then it is
272
- // minimal. The register is the request's, like the format, never a choice the model makes alone.
273
- function checkRegister(t) {
274
- const register = t.register ?? "rich";
275
- if (!REGISTERS.includes(register)) fail("register", "rich (the default) or minimal");
276
- const calm = asksMinimal(t.request);
277
- if (register === "minimal" && !calm) fail("register", "minimal only when the request asks for a calm, quiet or minimal film; the default is rich (studio.md, Register)");
278
- if (register === "rich" && calm) fail("register", "the request asks for a calm or minimal film: register minimal");
279
- return register;
280
- }
281
-
282
- function checkLength(t) {
283
- const asked = askedSeconds(t.request);
284
- if (asked !== null && LENGTH_ASKED.test(t.request)) {
285
- if (Math.abs(t.durationSec - asked) > Math.max(1, asked * 0.1)) fail("durationSec", `the request asks for ${asked} s; keep the film within 10 % of it`);
286
- return;
287
- }
288
- const lines = Array.isArray(t.copy?.lines) ? t.copy.lines.length : 1;
289
- const [lo, hi] = t.genre === "type-led" ? typeLedBand(lines) : GENRE_BANDS[t.genre];
290
- if (t.durationSec < lo - 1e-9 || t.durationSec > hi + 1e-9) fail("durationSec", `a ${t.genre} film runs ${lo}-${hi} s unless the user names a length (${t.durationSec} s)`);
291
- }
292
-
293
- function checkBeats(t) {
294
- if (!("beats" in t)) fail("beats", "missing");
295
- if (!Array.isArray(t.beats) || t.beats.length === 0) fail("beats", "must be a non-empty array");
296
- t.beats.forEach((b, i) => {
297
- const f = `beats[${i}]`;
298
- if (!b || typeof b !== "object") fail(f, "must be an object");
299
- for (const k of ["t0", "t1"]) if (typeof b[k] !== "number" || !Number.isFinite(b[k])) fail(`${f}.${k}`, "must be a number");
300
- for (const k of ["purpose", "onScreen", "motion", "sound"]) {
301
- if (!isText(b[k])) fail(`${f}.${k}`, "must be a non-empty string");
302
- if (PLACEHOLDER.test(b[k])) fail(`${f}.${k}`, `placeholder value ${JSON.stringify(b[k])}`);
303
- }
304
- if (t.path === "stage") checkShot(t, b, i, f);
305
- if (b.t1 - b.t0 < MIN_BEAT_SEC - 1e-9) fail(f, `a beat lasts at least ${MIN_BEAT_SEC} s (${(b.t1 - b.t0).toFixed(2)} s)`);
306
- const prevEnd = i === 0 ? 0 : t.beats[i - 1].t1;
307
- if (b.t0 - prevEnd > MAX_GAP_SEC + 1e-9) fail(f, `gap of ${(b.t0 - prevEnd).toFixed(2)} s before this beat (max ${MAX_GAP_SEC} s)`);
308
- if (b.t0 < prevEnd - 1e-6) fail(f, "overlaps the previous beat");
309
- });
310
- const last = t.beats[t.beats.length - 1];
311
- if (Math.abs(last.t1 - t.durationSec) > MAX_GAP_SEC + 1e-9) fail(`beats[${t.beats.length - 1}]`, `the beats must end at durationSec (${t.durationSec} s), not ${last.t1} s`);
312
- const lines = Array.isArray(t.copy?.lines) ? t.copy.lines.length : 0;
313
- const need = t.genre === "type-led" ? Math.max(1, lines) : ARC_STAGES[t.genre];
314
- if (t.beats.length < need) fail("beats", `a ${t.genre} arc needs at least ${need} beats (${t.beats.length} given); length comes from the arc`);
315
- if (t.path === "stage") checkVariety(t);
316
- }
317
-
318
- // Composition changes with the story: two adjacent shots never share a layout, and a film of four or
319
- // more shots uses at least three, so the eye is not parked on one split for the whole film.
320
- function checkVariety(t) {
321
- for (let i = 1; i < t.beats.length; i++) {
322
- if (t.beats[i].layout === t.beats[i - 1].layout) fail(`beats[${i}].layout`, `shots ${i} and ${i + 1} both use ${t.beats[i].layout}; adjacent shots change layout (studio.md, Shots and layouts)`);
323
- }
324
- const used = new Set(t.beats.map((b) => b.layout));
325
- if (t.beats.length >= 4 && used.size < 3) fail("beats", `${t.beats.length} shots use only ${[...used].join(" and ")}; a film of four or more shots uses at least three layouts`);
326
- }
327
-
328
- // The story: what the viewer expects, the turn they do not, the shot where it lands, and the payoff.
329
- // A genre arc alone is an information order, not a story.
330
- function checkStory(t) {
331
- if (!("story" in t)) fail("story", "missing: { expect, turn, beat, payoff }: what the viewer expects, what happens instead, the shot where it lands, what the ending gives (treatment.md, Story)");
332
- const s = t.story;
333
- if (!s || typeof s !== "object") fail("story", "must be an object { expect, turn, beat, payoff }");
334
- for (const k of ["expect", "turn", "payoff"]) {
335
- if (!isText(s[k])) fail(`story.${k}`, "must be a non-empty string");
336
- if (PLACEHOLDER.test(s[k])) fail(`story.${k}`, `placeholder value ${JSON.stringify(s[k])}`);
337
- if (sentenceCount(s[k]) > 2) fail(`story.${k}`, "at most 2 sentences");
338
- }
339
- if (normalizeText(s.turn) === normalizeText(s.expect)) fail("story.turn", "the turn is what the viewer does not expect; it cannot equal story.expect");
340
- if (!Number.isInteger(s.beat) || s.beat < 1 || s.beat >= t.beats.length) fail("story.beat", `the index of the shot where the turn lands: after the opening, before the end (1-${t.beats.length - 1})`);
341
- }
342
-
343
- // The protagonist: one drawn character or hero object that acts across the film (stage path).
344
- function checkProtagonist(t) {
345
- if (t.path !== "stage") return;
346
- if (!("protagonist" in t)) fail("protagonist", "missing: { name, kind, look, acts[] }: the character or hero object that acts across the film (treatment.md, Protagonist)");
347
- const p = t.protagonist;
348
- if (!p || typeof p !== "object") fail("protagonist", "must be an object { name, kind, look, acts }");
349
- if (!isText(p.name) || PLACEHOLDER.test(p.name)) fail("protagonist.name", "must name it");
350
- if (!PROTAGONIST_KINDS.includes(p.kind)) fail("protagonist.kind", `must be ${PROTAGONIST_KINDS.join(" or ")}`);
351
- if (!isText(p.look) || PLACEHOLDER.test(p.look)) fail("protagonist.look", "say what it looks like on screen: shape, material, colour role, scale in the frame");
352
- if (!Array.isArray(p.acts) || !p.acts.length) fail("protagonist.acts", "list what it does, shot by shot: [{ beat, action }]");
353
- const seen = new Set();
354
- p.acts.forEach((a, i) => {
355
- if (!Number.isInteger(a?.beat) || a.beat < 0 || a.beat >= t.beats.length) fail(`protagonist.acts[${i}].beat`, "must be a beat index");
356
- if (seen.has(a.beat)) fail(`protagonist.acts[${i}].beat`, "one act per shot");
357
- seen.add(a.beat);
358
- if (!isText(a.action) || PLACEHOLDER.test(a.action)) fail(`protagonist.acts[${i}].action`, "say what it does in this shot, as a viewer would see it");
359
- });
360
- const covered = beatSpan(t, [...seen]);
361
- if (covered < 0.5 * t.durationSec - 1e-9) fail("protagonist.acts", `it acts for ${covered.toFixed(1)} s, under half the film; it carries the film, not one shot`);
362
- if (!seen.has(t.story.beat)) fail("protagonist.acts", `the turn lands at shot ${t.story.beat + 1}, and the protagonist has no act there`);
363
- }
364
-
365
- // A named product, repository or site: its real logo, images, UI and words, never invented ones. The
366
- // request's link makes it required; `motion.mjs assets` fetches what it can reach.
367
- function checkProduct(t) {
368
- const urls = requestUrls(t.request);
369
- if (!("product" in t)) {
370
- if (urls.length) fail("product", `missing: the request links ${urls[0]}; fetch its real assets with motion.mjs assets --out <dir> --url <link> and list them (treatment.md, Named products)`);
371
- return;
372
- }
373
- const p = t.product;
374
- if (!p || typeof p !== "object") fail("product", "must be an object { name, url, assets }");
375
- if (!isText(p.name) || PLACEHOLDER.test(p.name)) fail("product.name", "must name the product");
376
- if (urls.length && !urls.includes(normUrl(p.url))) fail("product.url", `must be the link the request gives (${urls.join(", ")})`);
377
- if ("unreachable" in p) {
378
- if (!isText(p.unreachable)) fail("product.unreachable", "say what could not be reached and why");
379
- return;
380
- }
381
- if (!Array.isArray(p.assets) || !p.assets.length) fail("product.assets", "list the real assets the film uses: [{ path, role, source, sha256 }]; when none can be reached set unreachable and ask the user");
382
- p.assets.forEach((a, i) => {
383
- const f = `product.assets[${i}]`;
384
- if (typeof a?.path !== "string" || !a.path.startsWith("stage/assets/") || a.path.split("/").includes("..")) fail(`${f}.path`, "must be a file under stage/assets/, relative to the output directory");
385
- if (!ASSET_ROLES.includes(a.role)) fail(`${f}.role`, `must be one of ${ASSET_ROLES.join(", ")}`);
386
- if (!["fetched", "user"].includes(a.source)) fail(`${f}.source`, "must be fetched (by motion.mjs assets) or user (supplied)");
387
- if (!/^[0-9a-f]{64}$/u.test(a.sha256 ?? "")) fail(`${f}.sha256`, "must be the file's SHA-256");
388
- });
389
- if (t.subject?.source === "invented") fail("subject.source", "the product is real: the subject is the product (source user), its specifics from its own words");
390
- }
391
-
392
- // The 3D route: a depth3d subject is drawn with the pinned three.js on the GPU rung (references/depth.md).
393
- function checkDepth(t) {
394
- if ("depth" in t && !["2d", "3d"].includes(t.depth)) fail("depth", "2d (the default) or 3d");
395
- const solid = Array.isArray(t.visualDevices) && t.visualDevices.some((d) => d.kind === "depth3d" && d.role === "subject");
396
- if (t.path !== "stage") {
397
- if (t.depth === "3d") fail("depth", "3d is a stage-path route");
398
- return;
399
- }
400
- if (solid && t.depth !== "3d") fail("depth", "the subject is a depth3d device: set depth to 3d, so the film takes the 3D route (references/depth.md)");
401
- if (t.depth === "3d" && !solid) fail("depth", "3d needs the subject drawn as a depth3d device (role subject)");
402
- if ("render3d" in t && !["three", "blender"].includes(t.render3d)) fail("render3d", "three (the GPU rung, the default) or blender (the offline Cycles rung)");
403
- if (t.render3d === "blender" && t.depth !== "3d") fail("render3d", "the Blender rung renders a 3D world: set depth to 3d with a depth3d subject");
404
- }
405
-
406
- // A rich stage film plans its density before any page exists: the depth layers of its world, the
407
- // labelled parts the viewer reads in it and the shots where the camera moves (references/studio.md).
408
- function checkWorld(t) {
409
- if (t.path !== "stage" || t.register !== "rich") return;
410
- const w = t.world;
411
- if (!w || typeof w !== "object") fail("world", "missing: { layers, labels, camera }: a rich film plans its layered world, its labelled parts and its camera moves (studio.md, Register)");
412
- if (!Array.isArray(w.layers) || w.layers.filter(isText).length < RICH_WORLD.layers) fail("world.layers", `at least ${RICH_WORLD.layers} depth layers, back to front, each saying what lives there`);
413
- if (!Array.isArray(w.labels) || w.labels.length < RICH_WORLD.labels) fail("world.labels", `at least ${RICH_WORLD.labels} labelled parts the viewer reads on screen (real names from the product when there is one)`);
414
- w.labels.forEach((l, i) => {
415
- if (!isText(l) || PLACEHOLDER.test(l)) fail(`world.labels[${i}]`, "the label as it appears on screen");
416
- if (l.trim().split(/\s+/u).length > RICH_WORLD.labelWords) fail(`world.labels[${i}]`, `a label is at most ${RICH_WORLD.labelWords} words; longer text is copy`);
417
- });
418
- if (!Array.isArray(w.camera)) fail("world.camera", "list the camera moves: [{ beat, move }]");
419
- const moving = new Set();
420
- w.camera.forEach((c, i) => {
421
- if (!Number.isInteger(c?.beat) || c.beat < 0 || c.beat >= t.beats.length) fail(`world.camera[${i}].beat`, "must be a beat index");
422
- if (!isText(c.move) || PLACEHOLDER.test(c.move) || LOCKED_CAMERA.test(c.move)) fail(`world.camera[${i}].move`, "name the move (push-in, truck, crane, orbit, rack focus); a locked shot is not listed");
423
- moving.add(c.beat);
424
- });
425
- if (moving.size < RICH_WORLD.cameraShare * t.beats.length - 1e-9) fail("world.camera", `the camera moves in ${moving.size} of ${t.beats.length} shots; a rich film moves it in at least half (keep the flash audit with slow light changes, not a locked camera)`);
426
- }
427
-
428
- // A stage shot: which layout its type and subject take, the one move the eye follows, and how it hands
429
- // off to the next shot (a word from the style's transitions; the last shot ends).
430
- function checkShot(t, b, i, f) {
431
- const style = readStyle(t.style);
432
- if (!LAYOUT_IDS.includes(b.layout)) fail(`${f}.layout`, `must be one of ${LAYOUT_IDS.join(", ")}`);
433
- if (!isText(b.hero) || PLACEHOLDER.test(b.hero)) fail(`${f}.hero`, "name the one move the eye follows in this shot");
434
- const last = i === t.beats.length - 1;
435
- if (last && b.transition !== "end") fail(`${f}.transition`, "the last shot's transition is end");
436
- if (!last && !style.transitions.includes(b.transition)) fail(`${f}.transition`, `the ${style.id} style hands off with ${style.transitions.join(", ")}`);
437
- if ("lines" in b) {
438
- const n = Array.isArray(t.copy?.lines) ? t.copy.lines.length : 0;
439
- if (!Array.isArray(b.lines) || b.lines.some((k) => !Number.isInteger(k) || k < 0 || k >= n)) fail(`${f}.lines`, "the indices of the copy lines this shot shows");
440
- if (b.layout === "full" && b.lines.length) fail(`${f}.lines`, "a full shot has no type zone, so it shows no copy");
441
- }
442
- }
443
-
444
- function checkSubject(t) {
445
- if (!("subject" in t)) fail("subject", "missing");
446
- const s = t.subject;
447
- if (!s || typeof s !== "object") fail("subject", "must be an object");
448
- if (!isText(s.name)) fail("subject.name", "must be a non-empty string");
449
- if (PLACEHOLDER.test(s.name)) fail("subject.name", "placeholder value");
450
- if (!["user", "invented"].includes(s.source)) fail("subject.source", "must be user or invented");
451
- const specifics = Array.isArray(s.specifics) ? s.specifics.filter(isText) : [];
452
- const need = s.source === "invented" ? 2 : 1;
453
- if (specifics.length < need) fail("subject.specifics", `needs at least ${need} concrete specific(s): what it is or does, for whom, one distinctive detail`);
454
- if (specifics.some((x) => PLACEHOLDER.test(x))) fail("subject.specifics", "placeholder value");
455
- }
456
-
457
- function beatSpan(t, indices) {
458
- let covered = 0;
459
- for (const i of new Set(indices)) covered += t.beats[i].t1 - t.beats[i].t0;
460
- return covered;
461
- }
462
-
463
- function checkDevices(t) {
464
- if (!("visualDevices" in t)) fail("visualDevices", "missing");
465
- if (!Array.isArray(t.visualDevices)) fail("visualDevices", "must be an array");
466
- t.visualDevices.forEach((d, i) => {
467
- const f = `visualDevices[${i}]`;
468
- if (!DEVICE_KINDS.includes(d?.kind)) fail(`${f}.kind`, `must be one of ${DEVICE_KINDS.join(", ")}`);
469
- if (!["subject", "support", "texture"].includes(d.role)) fail(`${f}.role`, "must be subject, support or texture");
470
- if (TEXTURE_KINDS.includes(d.kind) && d.role !== "texture") fail(`${f}.role`, `${d.kind} is always texture`);
471
- if (!Array.isArray(d.beats) || !d.beats.length || d.beats.some((b) => !Number.isInteger(b) || b < 0 || b >= t.beats.length)) fail(`${f}.beats`, "must list beat indices");
472
- if (d.kind === "screen") {
473
- const assets = Array.isArray(t.product?.assets) ? t.product.assets : [];
474
- const real = assets.find((a) => a.path === d.asset);
475
- if (!real || !SCREEN_ROLES.has(real.role)) fail(`${f}.asset`, "a product screen shows the product's real screenshot, UI or README image: name one listed in product.assets; never draw an invented one");
476
- }
477
- });
478
- if (t.path !== "stage") return;
479
- const subjects = t.visualDevices.filter((d) => d.role === "subject");
480
- if (!subjects.length) fail("visualDevices", "the stage path needs a role: subject device, a drawn depiction of what the film is about");
481
- const covered = beatSpan(t, subjects.flatMap((d) => d.beats));
482
- if (covered < 0.5 * t.durationSec - 1e-9) fail("visualDevices", `the subject is on screen for ${covered.toFixed(1)} s, under half the film`);
483
- const kinds = new Set(t.visualDevices.filter((d) => !TEXTURE_KINDS.includes(d.kind)).map((d) => d.kind));
484
- if (kinds.size < 2) fail("visualDevices", "needs at least 2 distinct non-texture kinds (grid, gradient, particles and photo-texture never count)");
485
- }
486
-
487
- function checkTypePlan(t) {
488
- if (!("typePlan" in t)) fail("typePlan", "missing");
489
- const p = t.typePlan;
490
- if (!p || typeof p !== "object") fail("typePlan", "must be an object");
491
- if (!Array.isArray(p.faces) || !p.faces.length || p.faces.some((f) => !FACES.includes(f))) fail("typePlan.faces", `faces come from the verified set: ${FACES.join(", ")}`);
492
- if (t.path === "stage") {
493
- const families = styleFamilies(readStyle(t.style));
494
- const off = p.faces.find((f) => !families.has(f));
495
- if (off) fail("typePlan.faces", `${off} is not a face of the ${t.style} style (${[...families].join(", ")})`);
496
- }
497
- if (!isText(p.hierarchy)) fail("typePlan.hierarchy", "must be a non-empty string");
498
- if (!Number.isInteger(p.maxWordsOnScreen) || p.maxWordsOnScreen < 1) fail("typePlan.maxWordsOnScreen", "must be a positive integer");
499
- if ("index" in p && typeof p.index !== "boolean") fail("typePlan.index", "must be true or false");
500
- }
501
-
502
- function checkPalette(t) {
503
- if (t.path === "stage") {
504
- if (!("palette" in t)) return;
505
- const rich = t.register === "rich";
506
- const allowed = new Set(styleColors(readStyle(t.style), { rich }));
507
- if (!Array.isArray(t.palette) || t.palette.length > (rich ? 14 : 9)) fail("palette", "a list of the style's colours with their roles");
508
- t.palette.forEach((p, i) => {
509
- if (!allowed.has(String(p?.color ?? "").toLowerCase())) fail(`palette[${i}].color`, `${p?.color} is not a colour of the ${t.style} style${rich ? " or one of its role accents" : " (a minimal film keeps to the core palette)"}; the stage palette comes from the style`);
510
- if (!isText(p.role)) fail(`palette[${i}].role`, "must be a non-empty string");
511
- });
512
- return;
513
- }
514
- if (!("palette" in t)) fail("palette", "missing");
515
- if (!Array.isArray(t.palette) || t.palette.length < 3 || t.palette.length > 6) fail("palette", "needs 3-6 colours, each with a role");
516
- t.palette.forEach((p, i) => {
517
- if (!/^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/iu.test(p?.color ?? "")) fail(`palette[${i}].color`, "must be #rgb or #rrggbb");
518
- if (!isText(p.role)) fail(`palette[${i}].role`, "must be a non-empty string");
519
- });
520
- }
521
-
522
- function checkSound(t) {
523
- if (!("sound" in t)) fail("sound", "missing");
524
- const s = t.sound;
525
- if (!s || typeof s !== "object") fail("sound", "must be an object");
526
- if (!["score", "generated", "supplied", "authored", "none"].includes(s.mode)) fail("sound.mode", "must be score, generated, supplied, authored or none");
527
- if (!isText(s.plan)) fail("sound.plan", "must be a non-empty string");
528
- if (s.mode === "none" && !SILENCE_ASKED.test(t.request) && !MUTED_CHANNEL.test(t.channel)) {
529
- fail("sound.mode", "none only when the user asked for silence or the channel plays muted by design; the default is a score");
530
- }
531
- if (s.mode === "generated" && t.register === "rich") fail("sound.mode", "a rich film scores its own music (mode score); the style's preset beds are for minimal films (sound.md)");
532
- if ("genre" in s && !SCORE_GENRES.includes(s.genre)) fail("sound.genre", `must be one of ${SCORE_GENRES.join(", ")}`);
533
- if (s.mode === "generated") {
534
- try {
535
- normalizePalette(s.palette);
536
- } catch (error) {
537
- if (error instanceof SoundError) fail(error.field.startsWith("sound.") ? error.field : `sound.palette.${error.field}`, error.message);
538
- throw error;
539
- }
540
- const beds = styleBeds(readStyle(t.style));
541
- const same = (b) => ["timbre", "key", "mode", "tempo"].every((k) => String(s.palette[k]).toLowerCase() === String(b[k]).toLowerCase());
542
- if (!beds.some(same)) fail("sound.palette", `pick one of the ${t.style} style's beds: ${beds.map((b) => `${b.timbre} ${b.key} ${b.mode} ${b.tempo} BPM`).join("; ")}`);
543
- }
544
- if ((s.mode === "generated" || s.mode === "score") && t.path === "stage" && !("events" in s)) fail("sound.events", "list the on-screen events that make a sound: [{ t, on, kind }], at least 2, half of them away from the cuts (sound.md, Events)");
545
- if ("events" in s) checkEvents(t, s.events);
546
- if ((s.mode === "supplied" || s.mode === "authored") && !isText(s.file)) fail("sound.file", `a ${s.mode} track needs its file path`);
547
- }
548
-
549
- function checkEvents(t, events) {
550
- if (!Array.isArray(events) || events.length < 2) fail("sound.events", "at least 2 on-screen events that make a sound: [{ t, on, kind }]");
551
- const cuts = t.beats.slice(1).map((b) => b.t0);
552
- let offCut = 0;
553
- events.forEach((e, i) => {
554
- const f = `sound.events[${i}]`;
555
- if (typeof e?.t !== "number" || !(e.t > 0 && e.t < t.durationSec)) fail(`${f}.t`, `the second the event happens on screen, inside the film (0-${t.durationSec})`);
556
- if (!isText(e.on) || PLACEHOLDER.test(e.on)) fail(`${f}.on`, "what happens on screen at that moment, as a viewer would see it");
557
- if (!EVENT_SOUNDS.includes(e.kind)) fail(`${f}.kind`, `must be one of ${EVENT_SOUNDS.join(", ")}`);
558
- if (cuts.every((c) => Math.abs(c - e.t) >= EVENT_OFF_CUT_SEC - 1e-9)) offCut += 1;
559
- });
560
- if (offCut * 2 < events.length) fail("sound.events", `${events.length - offCut} of ${events.length} events sit on a cut; at least half sync to something moving inside a shot`);
561
- }
562
-
563
- function checkCopy(t) {
564
- if (!("copy" in t)) fail("copy", "missing");
565
- const c = t.copy;
566
- if (!c || typeof c !== "object") fail("copy", "must be an object");
567
- if (!["user", "invented"].includes(c.source)) fail("copy.source", "must be user or invented");
568
- if (!Array.isArray(c.lines) || !c.lines.length) fail("copy.lines", "needs at least one line");
569
- const request = normalizeText(t.request);
570
- const quoteFree = normalizeText(stripQuoted(t.request));
571
- const limit = restateLimit(t.request);
572
- c.lines.forEach((line, i) => {
573
- const f = `copy.lines[${i}]`;
574
- if (!isText(line)) fail(f, "must be a non-empty string");
575
- if (PLACEHOLDER.test(line)) fail(f, `placeholder value ${JSON.stringify(line)}`);
576
- if (c.source === "user" && !request.includes(normalizeText(line))) fail(f, "a user copy line must be the user's own words, found in the request");
577
- if (c.source === "invented") {
578
- const shared = sharesRun(normalizeText(line), quoteFree, limit);
579
- if (shared) fail(f, `invented copy restates the request ("${shared}"); write the copy from subject.specifics`);
580
- }
581
- });
582
- const idea = sharesRun(normalizeText(t.idea), quoteFree, limit);
583
- if (idea) fail("idea", `the idea restates the request ("${idea}"); say what the film does, not what was asked`);
584
- }
585
-
586
- function checkInventions(t) {
587
- const invented = t.copy.source === "invented" || t.subject.source === "invented";
588
- if (!("inventions" in t)) {
589
- if (invented) fail("inventions", "missing: list every invented part (the subject name, specifics, copy)");
590
- return;
591
- }
592
- if (!Array.isArray(t.inventions) || t.inventions.some((x) => !isText(x))) fail("inventions", "must be an array of strings");
593
- if (invented && !t.inventions.length) fail("inventions", "must list every invented part");
594
- if (t.subject.source === "invented") {
595
- const name = normalizeText(t.subject.name);
596
- if (!t.inventions.some((x) => normalizeText(x).includes(name))) fail("inventions", `must include the invented subject name "${t.subject.name}"`);
597
- }
598
- }
599
-
600
- function checkPath(t) {
601
- if (t.path !== "type") return;
602
- if (t.format !== "16:9") fail("path", "a 9:16 film always takes the stage path");
603
- if (t.copy.source !== "user" && !typeLedCue(t.request)) fail("path", "the type path is for films whose words are the film: user-supplied copy or a type-led cue in the request");
604
- }
605
-
606
- /**
607
- * The product's files on disk: each listed asset exists and still has its hash. An unreachable product
608
- * is exit 22: the film stops and the reply asks the user for the logo, screens and words.
609
- */
610
- export function checkProductFiles(out, t) {
611
- const p = t.product;
612
- if (!p) return;
613
- if (p.unreachable) throw new BlockedError(EXIT.BLOCKED_ASSET_MISSING, `BLOCKED_ASSET_MISSING: ${p.name}'s real assets could not be reached (${p.unreachable}); ask the user for its logo, a screenshot or the README images, put them in ${path.join(out, "stage", "assets")} and list them; never draw invented product screens`);
614
- for (const a of p.assets) {
615
- const file = path.join(out, a.path);
616
- if (!existsSync(file)) throw new BlockedError(EXIT.BLOCKED_ASSET_MISSING, `BLOCKED_ASSET_MISSING: ${a.path} is listed in product.assets and missing; fetch or supply it, never draw a stand-in`);
617
- if (createHash("sha256").update(readFileSync(file)).digest("hex") !== a.sha256) throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: ${a.path} does not match its sha256 in product.assets; list it again after changing it`);
618
- }
619
- }
620
-
621
- /**
622
- * Load and validate `<out>/treatment.json` for a render on `pathName`. The first valid treatment of
623
- * an output directory is kept in .run/treatment.first.json for the done-check's downgrade test.
624
- */
625
- export function loadTreatment(out, { pathName } = {}) {
626
- const file = path.join(out, "treatment.json");
627
- if (!existsSync(file)) fail("treatment.json", `missing: write ${file} before rendering (see references/treatment.md)`);
628
- let raw;
629
- try {
630
- raw = JSON.parse(readFileSync(file, "utf8"));
631
- } catch (error) {
632
- fail("treatment.json", `not valid JSON (${error.message})`);
633
- }
634
- const treatment = validateTreatment(raw, { house: readHouse(out) });
635
- checkProductFiles(out, treatment);
636
- if (pathName && treatment.path !== pathName) {
637
- fail("path", treatment.path === "stage" ? "this treatment takes the stage path: render it with the stage subcommand" : "this treatment takes the type path: render it with make <brief.json>");
638
- }
639
- const first = path.join(out, ".run", "treatment.first.json");
640
- if (!existsSync(first)) {
641
- mkdirSync(path.dirname(first), { recursive: true });
642
- writeFileSync(first, `${JSON.stringify(raw, null, 2)}\n`);
643
- }
644
- return treatment;
645
- }