@litfamily/litcodex 1.0.38 → 1.0.39

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 (1071) hide show
  1. package/README-Ko-KR.md +29 -9
  2. package/README.md +28 -10
  3. package/dist/cli.js +0 -62
  4. package/dist/install/bundled-skill-manifests.d.ts +0 -19
  5. package/dist/install/bundled-skill-manifests.js +0 -19
  6. package/dist/install/bundled-skills.d.ts +0 -1
  7. package/dist/install/bundled-skills.js +2 -13
  8. package/dist/install/development-marketplace.js +0 -5
  9. package/dist/install/doctor-render.js +0 -1
  10. package/dist/install/doctor.js +0 -4
  11. package/dist/install/execute.d.ts +3 -0
  12. package/dist/install/execute.js +8 -1
  13. package/dist/install/extensions-notice.d.ts +27 -0
  14. package/dist/install/extensions-notice.js +57 -0
  15. package/dist/install/generated-skill-payload-hashes.d.ts +13 -948
  16. package/dist/install/generated-skill-payload-hashes.js +13 -948
  17. package/dist/install/index.js +17 -24
  18. package/dist/install/marketplace-payload.d.ts +13 -0
  19. package/dist/install/marketplace-payload.js +55 -6
  20. package/dist/install/shipped-skill-digests.d.ts +1 -0
  21. package/dist/install/shipped-skill-digests.js +1681 -0
  22. package/dist/install/skill-backup.d.ts +19 -0
  23. package/dist/install/skill-backup.js +114 -0
  24. package/dist/install/types.d.ts +0 -1
  25. package/dist/postinstall.js +2 -16
  26. package/marketplace/plugins/litcodex/.codex-plugin/plugin.json +1 -1
  27. package/marketplace/plugins/litcodex/components/auto-update/dist/cli.js +13 -4
  28. package/marketplace/plugins/litcodex/components/auto-update/dist/extensions-notice.d.ts +2 -0
  29. package/marketplace/plugins/litcodex/components/auto-update/dist/extensions-notice.js +37 -0
  30. package/marketplace/plugins/litcodex/components/auto-update/package.json +1 -1
  31. package/marketplace/plugins/litcodex/components/comment-checker/package.json +1 -1
  32. package/marketplace/plugins/litcodex/components/git-bash/package.json +1 -1
  33. package/marketplace/plugins/litcodex/components/lit-loop/directive.md +14 -5
  34. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-schematic.md +44 -128
  35. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-scientific-visualization.md +33 -83
  36. package/marketplace/plugins/litcodex/components/lit-loop/directives/litwork.md +4 -3
  37. package/marketplace/plugins/litcodex/components/lit-loop/dist/codex-hook.d.ts +0 -2
  38. package/marketplace/plugins/litcodex/components/lit-loop/dist/codex-hook.js +2 -3
  39. package/marketplace/plugins/litcodex/components/lit-loop/dist/hook-cli.d.ts +0 -3
  40. package/marketplace/plugins/litcodex/components/lit-loop/dist/hook-cli.js +0 -20
  41. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-route.d.ts +3 -9
  42. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-route.js +8 -51
  43. package/marketplace/plugins/litcodex/components/lit-loop/dist/route-heads.js +13 -18
  44. package/marketplace/plugins/litcodex/components/lit-loop/package.json +1 -1
  45. package/marketplace/plugins/litcodex/components/lsp/package.json +1 -1
  46. package/marketplace/plugins/litcodex/components/rules/package.json +1 -1
  47. package/marketplace/plugins/litcodex/components/start-work-continuation/package.json +1 -1
  48. package/marketplace/plugins/litcodex/components/telemetry/package.json +1 -1
  49. package/marketplace/plugins/litcodex/components/wikify-knowledge/package.json +1 -1
  50. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/SKILL.md +32 -28
  51. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/SKILL.md +29 -133
  52. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/agents/openai.yaml +1 -1
  53. package/marketplace/plugins/litcodex/skills/lit-docx/SKILL.md +32 -73
  54. package/marketplace/plugins/litcodex/skills/lit-docx/agents/openai.yaml +1 -1
  55. package/marketplace/plugins/litcodex/skills/lit-loop/SKILL.md +15 -7
  56. package/marketplace/plugins/litcodex/skills/lit-loop/references/full-workflow.md +3 -2
  57. package/marketplace/plugins/litcodex/skills/lit-pptx/SKILL.md +32 -88
  58. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/openai.yaml +1 -1
  59. package/marketplace/plugins/litcodex/skills/lit-schematic/SKILL.md +28 -152
  60. package/marketplace/plugins/litcodex/skills/lit-schematic/agents/openai.yaml +1 -1
  61. package/marketplace/plugins/litcodex/skills/lit-scientific-visualization/SKILL.md +30 -239
  62. package/marketplace/plugins/litcodex/skills/lit-scientific-visualization/agents/openai.yaml +1 -1
  63. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/SKILL.md +29 -34
  64. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/agents/openai.yaml +1 -1
  65. package/marketplace/plugins/litcodex/skills/litwork/SKILL.md +4 -3
  66. package/marketplace/plugins/litcodex/skills/litwork/references/delivery-playbook.md +3 -2
  67. package/marketplace/plugins/litcodex/skills/readme-studio/SKILL.md +31 -61
  68. package/marketplace/plugins/litcodex/skills/visual-qa/SKILL.md +40 -34
  69. package/marketplace/plugins/litcodex/vendor/NOTICE +7 -17
  70. package/node_modules/@litcodex/lit-loop/CHANGELOG.md +4 -0
  71. package/node_modules/@litcodex/lit-loop/README.md +4 -2
  72. package/node_modules/@litcodex/lit-loop/directive.md +14 -5
  73. package/node_modules/@litcodex/lit-loop/directives/lit-schematic.md +44 -128
  74. package/node_modules/@litcodex/lit-loop/directives/lit-scientific-visualization.md +33 -83
  75. package/node_modules/@litcodex/lit-loop/directives/litwork.md +4 -3
  76. package/node_modules/@litcodex/lit-loop/dist/codex-hook.d.ts +0 -2
  77. package/node_modules/@litcodex/lit-loop/dist/codex-hook.js +2 -3
  78. package/node_modules/@litcodex/lit-loop/dist/hook-cli.d.ts +0 -3
  79. package/node_modules/@litcodex/lit-loop/dist/hook-cli.js +0 -20
  80. package/node_modules/@litcodex/lit-loop/dist/motion-route.d.ts +3 -9
  81. package/node_modules/@litcodex/lit-loop/dist/motion-route.js +8 -51
  82. package/node_modules/@litcodex/lit-loop/dist/route-heads.js +13 -18
  83. package/node_modules/@litcodex/lit-loop/package.json +1 -1
  84. package/node_modules/@litcodex/lit-loop/skills/lit-loop/SKILL.md +15 -7
  85. package/node_modules/@litcodex/lit-loop/skills/lit-schematic/SKILL.md +28 -152
  86. package/node_modules/@litcodex/lit-loop/skills/lit-scientific-visualization/SKILL.md +30 -239
  87. package/node_modules/@litcodex/lit-loop/skills/litwork/SKILL.md +4 -3
  88. package/node_modules/@litcodex/lit-loop/vendor/NOTICE +7 -17
  89. package/package.json +2 -2
  90. package/readme-assets/badge-version.svg +1 -1
  91. package/dist/install/motion-runtime.d.ts +0 -39
  92. package/dist/install/motion-runtime.js +0 -93
  93. package/dist/install/office-runtime.d.ts +0 -20
  94. package/dist/install/office-runtime.js +0 -42
  95. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-gate.d.ts +0 -79
  96. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-gate.js +0 -310
  97. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -5
  98. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/examples/readme-ab/README.md +0 -13
  99. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/components.css +0 -414
  100. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/fonts.json +0 -22
  101. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
  102. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
  103. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
  104. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
  105. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
  106. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
  107. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
  108. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
  109. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/ui.js +0 -228
  110. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ATTRIBUTION.md +0 -217
  111. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/LICENSE +0 -21
  112. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/LICENSE-Apache-2.0.txt +0 -201
  113. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/MANIFEST.json +0 -869
  114. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/PROVENANCE.md +0 -24
  115. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/README.md +0 -248
  116. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/_INDEX.md +0 -191
  117. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/airbnb.md +0 -393
  118. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/airtable.md +0 -92
  119. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/apple.md +0 -250
  120. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/aside.md +0 -209
  121. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/binance.md +0 -348
  122. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/bmw.md +0 -183
  123. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/brutalist-skill.md +0 -92
  124. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/bugatti.md +0 -271
  125. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/cal.md +0 -262
  126. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/claude.md +0 -315
  127. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/clay.md +0 -307
  128. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/clickhouse.md +0 -284
  129. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/clone-from-url.md +0 -65
  130. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/cohere.md +0 -269
  131. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/coinbase.md +0 -132
  132. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/composio.md +0 -310
  133. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/cursor.md +0 -312
  134. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/design-system-architecture.md +0 -244
  135. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/elevenlabs.md +0 -268
  136. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/expo.md +0 -284
  137. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/ferrari.md +0 -317
  138. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/figma.md +0 -223
  139. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/framer.md +0 -249
  140. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/gpt-tasteskill.md +0 -74
  141. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/hashicorp.md +0 -281
  142. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/ibm.md +0 -335
  143. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/image-to-code-skill.md +0 -1228
  144. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/imagegen-brandkit.md +0 -798
  145. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/imagegen-frontend-mobile.md +0 -1465
  146. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/imagegen-frontend-web.md +0 -987
  147. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/intercom.md +0 -149
  148. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/kraken.md +0 -128
  149. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/lamborghini.md +0 -291
  150. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/layout-skill.md +0 -107
  151. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/lazyweb.md +0 -77
  152. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/linear.app.md +0 -370
  153. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/lovable.md +0 -301
  154. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/mastercard.md +0 -368
  155. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/meta.md +0 -369
  156. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/minimalist-skill.md +0 -85
  157. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/minimax.md +0 -260
  158. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/mintlify.md +0 -329
  159. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/miro.md +0 -111
  160. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/mistral.ai.md +0 -264
  161. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/mongodb.md +0 -269
  162. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/nike.md +0 -366
  163. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/notion.md +0 -312
  164. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/nvidia.md +0 -296
  165. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/ollama.md +0 -270
  166. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/opencode.ai.md +0 -284
  167. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/output-skill.md +0 -49
  168. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/pinterest.md +0 -233
  169. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/playstation.md +0 -367
  170. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/posthog.md +0 -259
  171. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/raycast.md +0 -271
  172. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/react-dev-tooling-skill.md +0 -230
  173. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/redesign-skill.md +0 -178
  174. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/renault.md +0 -314
  175. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/replicate.md +0 -264
  176. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/resend.md +0 -306
  177. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/revolut.md +0 -188
  178. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/runwayml.md +0 -247
  179. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/sanity.md +0 -360
  180. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/sentry.md +0 -265
  181. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/shopify.md +0 -353
  182. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/soft-skill.md +0 -98
  183. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/spacex.md +0 -197
  184. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/spotify.md +0 -249
  185. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/starbucks.md +0 -583
  186. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/stitch-design-example.md +0 -121
  187. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/stitch-skill.md +0 -184
  188. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/stripe.md +0 -325
  189. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/supabase.md +0 -258
  190. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/superhuman.md +0 -255
  191. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/taste-skill.md +0 -1206
  192. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/tesla.md +0 -289
  193. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/theverge.md +0 -342
  194. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/together.ai.md +0 -266
  195. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/uber.md +0 -298
  196. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/vercel.md +0 -313
  197. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/vodafone.md +0 -426
  198. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/voltagent.md +0 -326
  199. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/warp.md +0 -256
  200. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/webflow.md +0 -95
  201. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/wired.md +0 -281
  202. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/wise.md +0 -176
  203. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/x.ai.md +0 -260
  204. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/design/zapier.md +0 -331
  205. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/EVIDENCE.md +0 -97
  206. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/README.md +0 -48
  207. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/UPSTREAM.md +0 -80
  208. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/lane-a-direction.md +0 -64
  209. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/lane-b-execution.md +0 -65
  210. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/lane-c-review.md +0 -65
  211. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/lane-d-memory.md +0 -83
  212. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/orchestration.md +0 -80
  213. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/routing.md +0 -79
  214. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/LICENSE +0 -21
  215. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
  216. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/content-writer.md +0 -132
  217. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-builder.md +0 -109
  218. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-critic.md +0 -89
  219. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-lead.md +0 -113
  220. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-scout.md +0 -78
  221. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/design-strategist.md +0 -121
  222. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
  223. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/inspiration-scout.md +0 -107
  224. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/agents/motion-designer.md +0 -120
  225. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/accessible-content/reference.md +0 -101
  226. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
  227. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
  228. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-debate/reference.md +0 -199
  229. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
  230. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-handoff/reference.md +0 -125
  231. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-md/reference.md +0 -106
  232. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
  233. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-review/reference.md +0 -123
  234. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
  235. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
  236. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
  237. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
  238. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
  239. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/interaction-design/reference.md +0 -122
  240. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
  241. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/research-planning/reference.md +0 -96
  242. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
  243. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
  244. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
  245. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/taste-report/reference.md +0 -78
  246. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/token-architecture/reference.md +0 -75
  247. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/ui-composition/reference.md +0 -117
  248. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/usability-testing/reference.md +0 -78
  249. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
  250. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
  251. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
  252. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/perfection/README.md +0 -160
  253. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/perfection/react-perf-tooling.md +0 -127
  254. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/README.md +0 -659
  255. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/charts.csv +0 -26
  256. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/colors.csv +0 -162
  257. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/icons.csv +0 -106
  258. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/landing.csv +0 -35
  259. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/products.csv +0 -162
  260. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/react-performance.csv +0 -45
  261. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/astro.csv +0 -54
  262. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/flutter.csv +0 -53
  263. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
  264. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
  265. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/nextjs.csv +0 -53
  266. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
  267. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
  268. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/react-native.csv +0 -52
  269. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/react.csv +0 -54
  270. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/shadcn.csv +0 -61
  271. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/svelte.csv +0 -54
  272. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/swiftui.csv +0 -51
  273. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/stacks/vue.csv +0 -50
  274. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/styles.csv +0 -85
  275. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/typography.csv +0 -74
  276. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/ui-reasoning.csv +0 -162
  277. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/ux-guidelines.csv +0 -100
  278. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/data/web-interface.csv +0 -31
  279. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/scripts/core.py +0 -262
  280. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/scripts/design_system.py +0 -1148
  281. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/_canonical-corpus/ui-ux-db/scripts/search.py +0 -114
  282. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/adaptive-layout.md +0 -23
  283. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -29
  284. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/canonical-library.md +0 -42
  285. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/complete-contract.md +0 -391
  286. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/composition.md +0 -24
  287. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/craft-floor.md +0 -103
  288. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/creative-directions.md +0 -20
  289. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -71
  290. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/design-choice.md +0 -19
  291. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/evidence-review.md +0 -29
  292. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/house-styles.md +0 -235
  293. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/implementation-platforms.md +0 -25
  294. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/inclusive-interface.md +0 -23
  295. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/interaction-motion.md +0 -27
  296. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/motion-guide.md +0 -123
  297. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/operating-lanes.md +0 -22
  298. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/performance-delivery.md +0 -23
  299. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/probe-and-review.md +0 -47
  300. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/product-direction.md +0 -23
  301. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/production-interview.md +0 -25
  302. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/redesign-playbook.md +0 -29
  303. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/slop-register.md +0 -98
  304. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/system-foundations.md +0 -27
  305. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/taste-direction.md +0 -27
  306. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/visual-language.md +0 -23
  307. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -19
  308. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/schemas/design-contract.v1alpha1.json +0 -299
  309. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/schemas/design-contract.v1beta1.json +0 -32
  310. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/schemas/design-contract.v1beta2.json +0 -34
  311. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/canonical-json.mjs +0 -186
  312. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
  313. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/hover-probe.mjs +0 -28
  314. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/lock-probe.mjs +0 -196
  315. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/page-probe.mjs +0 -441
  316. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
  317. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/probe.mjs +0 -307
  318. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/route-mode.mjs +0 -19
  319. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/rule-data.mjs +0 -149
  320. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/serve-static.mjs +0 -24
  321. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/stable-file-read.mjs +0 -201
  322. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -555
  323. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/verify-canonical-corpus.mjs +0 -354
  324. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/NOTICE +0 -33
  325. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
  326. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
  327. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
  328. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
  329. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
  330. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
  331. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
  332. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
  333. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
  334. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
  335. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
  336. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
  337. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
  338. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
  339. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
  340. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
  341. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
  342. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
  343. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
  344. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
  345. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
  346. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
  347. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
  348. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
  349. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
  350. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
  351. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
  352. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
  353. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
  354. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
  355. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
  356. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
  357. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
  358. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
  359. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
  360. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
  361. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
  362. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
  363. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
  364. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
  365. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
  366. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
  367. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
  368. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
  369. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
  370. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
  371. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
  372. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
  373. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
  374. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
  375. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
  376. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
  377. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
  378. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
  379. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
  380. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
  381. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
  382. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
  383. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
  384. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
  385. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
  386. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
  387. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
  388. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
  389. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
  390. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
  391. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
  392. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
  393. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
  394. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
  395. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
  396. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
  397. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
  398. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
  399. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
  400. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
  401. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
  402. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
  403. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
  404. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
  405. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
  406. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
  407. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
  408. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
  409. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
  410. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
  411. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
  412. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
  413. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
  414. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
  415. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
  416. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
  417. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
  418. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
  419. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
  420. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
  421. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
  422. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
  423. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
  424. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
  425. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
  426. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
  427. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
  428. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
  429. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
  430. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
  431. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
  432. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
  433. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
  434. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
  435. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
  436. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
  437. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
  438. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
  439. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
  440. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
  441. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
  442. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
  443. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
  444. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
  445. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
  446. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
  447. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
  448. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
  449. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
  450. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
  451. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
  452. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
  453. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
  454. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
  455. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
  456. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
  457. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
  458. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
  459. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
  460. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
  461. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
  462. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
  463. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
  464. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
  465. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
  466. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
  467. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
  468. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
  469. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
  470. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
  471. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
  472. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
  473. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
  474. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
  475. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
  476. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
  477. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
  478. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
  479. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
  480. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
  481. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
  482. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
  483. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
  484. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
  485. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
  486. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
  487. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
  488. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
  489. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
  490. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
  491. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
  492. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
  493. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
  494. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
  495. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
  496. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
  497. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
  498. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
  499. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
  500. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
  501. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
  502. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
  503. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
  504. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
  505. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
  506. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
  507. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
  508. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
  509. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
  510. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
  511. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/icons.html +0 -231
  512. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/index.html +0 -1
  513. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
  514. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
  515. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
  516. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
  517. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
  518. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
  519. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
  520. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
  521. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
  522. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
  523. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
  524. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
  525. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
  526. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
  527. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
  528. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
  529. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
  530. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
  531. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
  532. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
  533. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
  534. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
  535. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
  536. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
  537. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
  538. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
  539. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
  540. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
  541. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
  542. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/accessibility.md +0 -37
  543. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/export.md +0 -29
  544. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
  545. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
  546. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
  547. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/import-schema.md +0 -28
  548. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
  549. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/motion.md +0 -29
  550. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
  551. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/output-spec.md +0 -48
  552. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
  553. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
  554. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
  555. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
  556. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/profiles.md +0 -24
  557. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
  558. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/style-guide.md +0 -76
  559. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
  560. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-bar.md +0 -51
  561. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
  562. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
  563. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-bump.md +0 -49
  564. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
  565. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
  566. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
  567. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
  568. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
  569. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
  570. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
  571. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
  572. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-er.md +0 -49
  573. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
  574. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
  575. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
  576. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
  577. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
  578. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
  579. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
  580. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
  581. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
  582. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
  583. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-journey.md +0 -54
  584. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
  585. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-layers.md +0 -54
  586. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-line.md +0 -54
  587. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
  588. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-loop.md +0 -54
  589. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
  590. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
  591. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-nested.md +0 -59
  592. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
  593. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
  594. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-polar.md +0 -67
  595. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
  596. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-process.md +0 -58
  597. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
  598. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
  599. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
  600. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
  601. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-radar.md +0 -57
  602. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
  603. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
  604. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
  605. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
  606. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
  607. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
  608. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
  609. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-state.md +0 -59
  610. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
  611. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
  612. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
  613. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
  614. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
  615. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-tree.md +0 -54
  616. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
  617. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
  618. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-venn.md +0 -51
  619. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
  620. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
  621. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/verifier-guide.md +0 -60
  622. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
  623. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
  624. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
  625. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
  626. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
  627. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -29
  628. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
  629. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
  630. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
  631. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/export.mjs +0 -123
  632. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
  633. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
  634. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
  635. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
  636. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
  637. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
  638. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
  639. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
  640. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
  641. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
  642. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -36
  643. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
  644. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
  645. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
  646. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
  647. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
  648. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
  649. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
  650. package/marketplace/plugins/litcodex/skills/lit-docx/LICENSE +0 -21
  651. package/marketplace/plugins/litcodex/skills/lit-docx/NOTICE +0 -3
  652. package/marketplace/plugins/litcodex/skills/lit-docx/references/components.md +0 -113
  653. package/marketplace/plugins/litcodex/skills/lit-docx/references/direction-step.md +0 -167
  654. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/01-report-ko.md +0 -95
  655. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/02-brief-ko.md +0 -45
  656. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/03-manual-ko.md +0 -105
  657. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/04-proposal-ko.md +0 -97
  658. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/05-memo-en.md +0 -34
  659. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/06-journal-en.md +0 -89
  660. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/07-report-en.md +0 -101
  661. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/08-proposal-en.md +0 -94
  662. package/marketplace/plugins/litcodex/skills/lit-docx/references/examples/09-memo-ko.md +0 -34
  663. package/marketplace/plugins/litcodex/skills/lit-docx/references/frontmatter_schema.md +0 -42
  664. package/marketplace/plugins/litcodex/skills/lit-docx/references/journal_style_spec.md +0 -17
  665. package/marketplace/plugins/litcodex/skills/lit-docx/references/markdown_quality_checklist.md +0 -37
  666. package/marketplace/plugins/litcodex/skills/lit-docx/references/page-composition.md +0 -141
  667. package/marketplace/plugins/litcodex/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
  668. package/marketplace/plugins/litcodex/skills/lit-docx/references/slop_rules.md +0 -35
  669. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/brief.md +0 -70
  670. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/journal.md +0 -73
  671. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/manual.md +0 -70
  672. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/memo.md +0 -75
  673. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/proposal.md +0 -71
  674. package/marketplace/plugins/litcodex/skills/lit-docx/references/tonalities/report.md +0 -83
  675. package/marketplace/plugins/litcodex/skills/lit-docx/runtime/requirements.in +0 -5
  676. package/marketplace/plugins/litcodex/skills/lit-docx/runtime/requirements.lock +0 -20
  677. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/clean_markdown.py +0 -95
  678. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1389
  679. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -311
  680. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/convert_pdf.py +0 -130
  681. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/docx_craft.py +0 -218
  682. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/docx_design.py +0 -2446
  683. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/docx_layout.py +0 -960
  684. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/edit_docx.py +0 -297
  685. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/embed_images.py +0 -78
  686. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/generate_docx_templates.py +0 -491
  687. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/slop_lint.py +0 -488
  688. package/marketplace/plugins/litcodex/skills/lit-docx/scripts/visual_audit.py +0 -41
  689. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/acs.docx +0 -0
  690. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/elsevier.docx +0 -0
  691. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/ieee.docx +0 -0
  692. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
  693. package/marketplace/plugins/litcodex/skills/lit-docx/templates/docx/nature.docx +0 -0
  694. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/acs/README.md +0 -5
  695. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/acs/template.tex +0 -39
  696. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
  697. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/elsevier/template.tex +0 -40
  698. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/ieee/README.md +0 -5
  699. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/ieee/template.tex +0 -39
  700. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
  701. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -39
  702. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/nature/README.md +0 -5
  703. package/marketplace/plugins/litcodex/skills/lit-docx/templates/latex/nature/template.tex +0 -39
  704. package/marketplace/plugins/litcodex/skills/lit-docx/templates/registry.yaml +0 -1366
  705. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/brief.yaml +0 -27
  706. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
  707. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/manual.yaml +0 -25
  708. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
  709. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
  710. package/marketplace/plugins/litcodex/skills/lit-docx/templates/tonalities/report.yaml +0 -26
  711. package/marketplace/plugins/litcodex/skills/lit-pptx/FORBIDDEN_TERMS.json +0 -55
  712. package/marketplace/plugins/litcodex/skills/lit-pptx/NOTICE +0 -8
  713. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/analyst.md +0 -49
  714. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/antithesis.md +0 -59
  715. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/architect.md +0 -44
  716. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/critic.md +0 -42
  717. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/synthesizer.md +0 -47
  718. package/marketplace/plugins/litcodex/skills/lit-pptx/agents/thesis.md +0 -33
  719. package/marketplace/plugins/litcodex/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
  720. package/marketplace/plugins/litcodex/skills/lit-pptx/assets/azure/circle-md.png +0 -0
  721. package/marketplace/plugins/litcodex/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
  722. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Black.otf +0 -0
  723. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Bold.otf +0 -0
  724. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Light.otf +0 -0
  725. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Medium.otf +0 -0
  726. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/A2Z-Regular.otf +0 -0
  727. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/OFL.txt +0 -94
  728. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/a2z-font/SOURCE.md +0 -29
  729. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  730. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  731. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
  732. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/SOURCE.md +0 -21
  733. package/marketplace/plugins/litcodex/skills/lit-pptx/pretendard-font/LICENSE.txt +0 -94
  734. package/marketplace/plugins/litcodex/skills/lit-pptx/pretendard-font/public/static/Pretendard-Bold.otf +0 -0
  735. package/marketplace/plugins/litcodex/skills/lit-pptx/pretendard-font/public/static/Pretendard-Regular.otf +0 -0
  736. package/marketplace/plugins/litcodex/skills/lit-pptx/references/anti-slop-checklist.md +0 -78
  737. package/marketplace/plugins/litcodex/skills/lit-pptx/references/authoring-guide.md +0 -148
  738. package/marketplace/plugins/litcodex/skills/lit-pptx/references/consensus-protocol.md +0 -125
  739. package/marketplace/plugins/litcodex/skills/lit-pptx/references/data-display-cookbook.md +0 -45
  740. package/marketplace/plugins/litcodex/skills/lit-pptx/references/density-and-fill.md +0 -193
  741. package/marketplace/plugins/litcodex/skills/lit-pptx/references/design-system-azure.md +0 -58
  742. package/marketplace/plugins/litcodex/skills/lit-pptx/references/direction-step.md +0 -221
  743. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -185
  744. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/02-pitch-studio-en.md +0 -162
  745. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -229
  746. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/04-research-talk-paper-en.md +0 -212
  747. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/05-research-keynote-night-ko.md +0 -191
  748. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -175
  749. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -241
  750. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/08-field-report-atlas-ko.md +0 -168
  751. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -219
  752. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/10-status-update-ledger-en.md +0 -157
  753. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/11-portfolio-studio-ko.md +0 -183
  754. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/12-tutorial-chalk-en.md +0 -176
  755. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/13-status-update-gazette-ko.md +0 -157
  756. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/14-engineering-review-computational-brutalism-ko.md +0 -173
  757. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/15-launch-pitch-neo-brutalism-ko.md +0 -154
  758. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/16-design-lecture-bauhaus-ko.md +0 -139
  759. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/17-community-programme-riso-ko.md +0 -158
  760. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/18-public-data-briefing-newsroom-ko.md +0 -179
  761. package/marketplace/plugins/litcodex/skills/lit-pptx/references/interview-protocol.md +0 -113
  762. package/marketplace/plugins/litcodex/skills/lit-pptx/references/layout-families.md +0 -225
  763. package/marketplace/plugins/litcodex/skills/lit-pptx/references/title-treatments.md +0 -150
  764. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/atlas.md +0 -113
  765. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/bauhaus.md +0 -136
  766. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/chalk.md +0 -115
  767. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -145
  768. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/gazette.md +0 -118
  769. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/ledger.md +0 -129
  770. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -155
  771. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/newsroom.md +0 -141
  772. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/night.md +0 -126
  773. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/paper.md +0 -109
  774. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/riso.md +0 -133
  775. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/signal.md +0 -121
  776. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/studio.md +0 -111
  777. package/marketplace/plugins/litcodex/skills/lit-pptx/runtime/package-lock.json +0 -795
  778. package/marketplace/plugins/litcodex/skills/lit-pptx/runtime/package.json +0 -13
  779. package/marketplace/plugins/litcodex/skills/lit-pptx/runtime/requirements.in +0 -2
  780. package/marketplace/plugins/litcodex/skills/lit-pptx/runtime/requirements.lock +0 -14
  781. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/check_ooxml.py +0 -40
  782. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/compile-deck.js +0 -447
  783. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/craft_extras.py +0 -931
  784. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/embed_fonts.py +0 -213
  785. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/inventory.py +0 -125
  786. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/learn_template.py +0 -433
  787. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
  788. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
  789. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/font-map.js +0 -79
  790. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/gen-bg.js +0 -85
  791. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -36
  792. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -512
  793. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
  794. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
  795. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -358
  796. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2238
  797. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/render-pack.js +0 -3365
  798. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
  799. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
  800. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
  801. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
  802. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/office-run.mjs +0 -177
  803. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/package.json +0 -1
  804. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/qa_deck.py +0 -869
  805. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/render_pages.py +0 -124
  806. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/validate_pptx.py +0 -221
  807. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
  808. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -207
  809. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
  810. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
  811. package/marketplace/plugins/litcodex/skills/lit-pptx/specs/template-enrollment-contract.md +0 -379
  812. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/bauhaus_light.css +0 -4
  813. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/boilerplate_professional.css +0 -508
  814. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
  815. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
  816. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
  817. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
  818. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -464
  819. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
  820. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
  821. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
  822. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
  823. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
  824. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
  825. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
  826. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
  827. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
  828. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
  829. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -100
  830. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -92
  831. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -93
  832. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
  833. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
  834. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
  835. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
  836. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
  837. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
  838. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
  839. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -38
  840. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -133
  841. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -87
  842. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -85
  843. package/marketplace/plugins/litcodex/skills/lit-schematic/references/cutaway-outputs.md +0 -70
  844. package/marketplace/plugins/litcodex/skills/lit-schematic/references/isometric-craft.md +0 -101
  845. package/marketplace/plugins/litcodex/skills/lit-schematic/references/journal-figures.md +0 -72
  846. package/marketplace/plugins/litcodex/skills/lit-schematic/references/kit-api.md +0 -134
  847. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pfd-and-layout.md +0 -53
  848. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pid-drafting.md +0 -103
  849. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pid-symbols.md +0 -163
  850. package/marketplace/plugins/litcodex/skills/lit-schematic/references/verification.md +0 -100
  851. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/doctor.mjs +0 -57
  852. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/figure.mjs +0 -81
  853. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/fonts.mjs +0 -28
  854. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/geom.mjs +0 -113
  855. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/interactive.mjs +0 -292
  856. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/isa.mjs +0 -115
  857. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/iso.mjs +0 -719
  858. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -162
  859. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/pid.mjs +0 -937
  860. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/png.mjs +0 -132
  861. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -658
  862. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/route.mjs +0 -218
  863. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/sheet.mjs +0 -890
  864. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/svg.mjs +0 -82
  865. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/theme.mjs +0 -115
  866. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/motion.mjs +0 -129
  867. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/qa.mjs +0 -92
  868. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/render.mjs +0 -233
  869. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/scaffold.mjs +0 -60
  870. package/marketplace/plugins/litcodex/skills/lit-scientific-visualization/scripts/dependency-preflight.py +0 -233
  871. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/NOTICE +0 -23
  872. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -48
  873. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/assets.mjs +0 -388
  874. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/blender/runner.py +0 -221
  875. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/blender.mjs +0 -132
  876. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/board.mjs +0 -142
  877. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/browser-app.js +0 -735
  878. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/completion.mjs +0 -9
  879. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/compose.mjs +0 -255
  880. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/constants.mjs +0 -308
  881. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-assets.mjs +0 -116
  882. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-capture.mjs +0 -162
  883. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-gate.mjs +0 -327
  884. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-image.mjs +0 -136
  885. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-init.js +0 -55
  886. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-sheet.mjs +0 -69
  887. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-treatment.mjs +0 -137
  888. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-worker.mjs +0 -21
  889. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover.mjs +0 -367
  890. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/driver.mjs +0 -187
  891. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/encode.mjs +0 -163
  892. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/flash.mjs +0 -251
  893. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/fonts.mjs +0 -180
  894. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/gallery.mjs +0 -147
  895. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/gate.mjs +0 -466
  896. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/house.mjs +0 -45
  897. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/image.mjs +0 -356
  898. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/look.mjs +0 -341
  899. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/loop-kit.js +0 -104
  900. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/passes.mjs +0 -181
  901. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/presets.mjs +0 -110
  902. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/report.mjs +0 -56
  903. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/runtime.mjs +0 -410
  904. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/safe-read.mjs +0 -32
  905. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/scaffold.mjs +0 -208
  906. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/scenes.mjs +0 -309
  907. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/score.mjs +0 -668
  908. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/sound.mjs +0 -606
  909. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-gate.mjs +0 -198
  910. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-init.js +0 -215
  911. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-kit.js +0 -655
  912. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-qa.js +0 -154
  913. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-qa.mjs +0 -412
  914. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-render.mjs +0 -366
  915. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-worker.mjs +0 -29
  916. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage.mjs +0 -527
  917. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stroke.mjs +0 -264
  918. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/styles.mjs +0 -233
  919. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/timeline.mjs +0 -153
  920. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/treatment.mjs +0 -558
  921. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/type.mjs +0 -234
  922. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/util.mjs +0 -198
  923. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
  924. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
  925. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
  926. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
  927. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/webp.mjs +0 -140
  928. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-wt400.ttf +0 -0
  929. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-wt700.ttf +0 -0
  930. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-wt900.ttf +0 -0
  931. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-wt400.ttf +0 -0
  932. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-wt700.ttf +0 -0
  933. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-wt900.ttf +0 -0
  934. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-wt400.ttf +0 -0
  935. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-wt700.ttf +0 -0
  936. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-wt900.ttf +0 -0
  937. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
  938. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/archivo/SHA256SUMS +0 -16
  939. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
  940. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
  941. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -6
  942. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
  943. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
  944. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
  945. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
  946. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
  947. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -86
  948. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
  949. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
  950. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -33
  951. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
  952. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
  953. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -42
  954. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
  955. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -27
  956. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
  957. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -29
  958. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
  959. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -44
  960. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -67
  961. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -182
  962. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -95
  963. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -231
  964. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -67
  965. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -103
  966. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/cover.md +0 -426
  967. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/depth.md +0 -156
  968. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/design-choice.md +0 -22
  969. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/quality-gate.md +0 -163
  970. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/runtime.md +0 -69
  971. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/scene-author.md +0 -57
  972. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/sound.md +0 -87
  973. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/stage.md +0 -213
  974. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/studio.md +0 -246
  975. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/style-bibles.md +0 -103
  976. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/treatment.md +0 -141
  977. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/type-and-timing.md +0 -83
  978. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/package-lock.json +0 -59
  979. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/package.json +0 -1
  980. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/requirements-audio.txt +0 -1085
  981. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/word-timing-models.json +0 -11
  982. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/scripts/beat-grid.py +0 -50
  983. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/scripts/render.mjs +0 -886
  984. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/scripts/runtime.mjs +0 -43
  985. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/paper.json +0 -185
  986. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/swiss-signal.json +0 -188
  987. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/terminalcore.json +0 -182
  988. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/tidal.json +0 -187
  989. package/marketplace/plugins/litcodex/skills/readme-studio/references/decoration-patterns.md +0 -36
  990. package/marketplace/plugins/litcodex/skills/readme-studio/references/facts-and-assembly.md +0 -36
  991. package/marketplace/plugins/litcodex/skills/readme-studio/references/motion-and-delivery.md +0 -47
  992. package/marketplace/plugins/litcodex/skills/readme-studio/references/typography-and-imagery.md +0 -34
  993. package/marketplace/plugins/litcodex/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -130
  994. package/marketplace/plugins/litcodex/skills/readme-studio/templates/cover-source.json +0 -35
  995. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/index.html +0 -61
  996. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -6
  997. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
  998. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/package.json +0 -14
  999. package/marketplace/plugins/litcodex/skills/readme-studio/templates/readme-cover-section.md +0 -85
  1000. package/marketplace/plugins/litcodex/skills/readme-studio/templates/readme-facts.json +0 -11
  1001. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
  1002. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/package.json +0 -18
  1003. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/ReadmeCover.tsx +0 -102
  1004. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/Root.tsx +0 -48
  1005. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -4
  1006. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/layout.ts +0 -35
  1007. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/motion.ts +0 -25
  1008. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/package-lock.json +0 -133
  1009. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/package.json +0 -8
  1010. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -238
  1011. package/marketplace/plugins/litcodex/skills/visual-qa/references/capture-playbook.md +0 -141
  1012. package/marketplace/plugins/litcodex/skills/visual-qa/references/complete-contract.md +0 -389
  1013. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/design-contract.v1alpha1.json +0 -299
  1014. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/design-contract.v1beta1.json +0 -32
  1015. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/design-contract.v1beta2.json +0 -34
  1016. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/evidence-manifest.v1alpha1.json +0 -117
  1017. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/evidence-manifest.v1beta1.json +0 -80
  1018. package/marketplace/plugins/litcodex/skills/visual-qa/schemas/review-receipt.v1alpha1.json +0 -57
  1019. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/ansi.mjs +0 -71
  1020. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/cli.mjs +0 -54
  1021. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/east-asian-width.mjs +0 -31
  1022. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/entrypoint.mjs +0 -1
  1023. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/evidence-bytes.mjs +0 -61
  1024. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/image-diff.mjs +0 -63
  1025. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/png-crc.mjs +0 -19
  1026. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/png-decode.mjs +0 -169
  1027. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/strict-input.mjs +0 -241
  1028. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/tui-grid.mjs +0 -117
  1029. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/types.mjs +0 -7
  1030. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/validate-design-contract.mjs +0 -547
  1031. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/validate-evidence.mjs +0 -392
  1032. package/marketplace/plugins/litcodex/skills/visual-qa/scripts/validate-review-receipt.mjs +0 -79
  1033. package/marketplace/plugins/litcodex/vendor/licenses/045_scientific-visualization-MIT.txt +0 -21
  1034. package/marketplace/plugins/litcodex/vendor/provenance/045_scientific-visualization.md +0 -42
  1035. package/marketplace/plugins/litcodex/vendor/scientific-visualization/SKILL.md +0 -283
  1036. package/marketplace/plugins/litcodex/vendor/scientific-visualization/assets/color_palettes.py +0 -197
  1037. package/marketplace/plugins/litcodex/vendor/scientific-visualization/assets/nature.mplstyle +0 -75
  1038. package/marketplace/plugins/litcodex/vendor/scientific-visualization/assets/presentation.mplstyle +0 -74
  1039. package/marketplace/plugins/litcodex/vendor/scientific-visualization/assets/publication.mplstyle +0 -78
  1040. package/marketplace/plugins/litcodex/vendor/scientific-visualization/evals/evals.json +0 -158
  1041. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/color_palettes.md +0 -380
  1042. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/journal_requirements.md +0 -359
  1043. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/matplotlib_examples.md +0 -608
  1044. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  1045. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/publication_guidelines.md +0 -217
  1046. package/marketplace/plugins/litcodex/vendor/scientific-visualization/references/seaborn_for_publications.md +0 -293
  1047. package/marketplace/plugins/litcodex/vendor/scientific-visualization/scripts/figure_export.py +0 -238
  1048. package/marketplace/plugins/litcodex/vendor/scientific-visualization/scripts/style_presets.py +0 -467
  1049. package/marketplace/plugins/litcodex/vendor/scientific-visualization/tests/test_figure_export.py +0 -51
  1050. package/marketplace/plugins/litcodex/vendor/scientific-visualization/tests/test_style_presets.py +0 -114
  1051. package/node_modules/@litcodex/lit-loop/dist/motion-gate.d.ts +0 -79
  1052. package/node_modules/@litcodex/lit-loop/dist/motion-gate.js +0 -310
  1053. package/node_modules/@litcodex/lit-loop/skills/lit-scientific-visualization/scripts/dependency-preflight.py +0 -233
  1054. package/node_modules/@litcodex/lit-loop/vendor/licenses/045_scientific-visualization-MIT.txt +0 -21
  1055. package/node_modules/@litcodex/lit-loop/vendor/provenance/045_scientific-visualization.md +0 -42
  1056. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/SKILL.md +0 -283
  1057. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/assets/color_palettes.py +0 -197
  1058. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/assets/nature.mplstyle +0 -75
  1059. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/assets/presentation.mplstyle +0 -74
  1060. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/assets/publication.mplstyle +0 -78
  1061. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/evals/evals.json +0 -158
  1062. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/color_palettes.md +0 -380
  1063. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/journal_requirements.md +0 -359
  1064. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/matplotlib_examples.md +0 -608
  1065. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
  1066. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/publication_guidelines.md +0 -217
  1067. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/references/seaborn_for_publications.md +0 -293
  1068. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/scripts/figure_export.py +0 -238
  1069. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/scripts/style_presets.py +0 -467
  1070. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/tests/test_figure_export.py +0 -51
  1071. package/node_modules/@litcodex/lit-loop/vendor/scientific-visualization/tests/test_style_presets.py +0 -114
@@ -1,890 +0,0 @@
1
- // Canvas and drawing sheet for P&IDs, PFDs and 2D apparatus panels.
2
- //
3
- // A canvas owns symbols and lines in one millimetre space: it routes pipes between ports,
4
- // places inline valves by splitting the pipe under them, hops later process lines over
5
- // earlier ones, puts junction dots on branches, places line numbers and equipment tags
6
- // where they collide with nothing, and records a warning for anything it could not place.
7
- // A sheet is a canvas on an ISO A-series page with a zone frame, an equipment header band,
8
- // a legend built from what was drawn, numbered notes and an ISO 7200 style title block.
9
-
10
- import { boxesOverlap, contains, dist, grow, pathLength, pointAlong, segmentIntersection, segmentsOf } from "./geom.mjs";
11
- import { parseInstrumentTag } from "./isa.mjs";
12
- import * as pid from "./pid.mjs";
13
- import { orthogonal, routeOrthogonal } from "./route.mjs";
14
- import { el, esc, n, pathOf, svgDocument, textBox, textWidthEm } from "./svg.mjs";
15
- import { FONT_LATIN, PID, STREAM, fontFor } from "./theme.mjs";
16
-
17
- const W = PID.weight;
18
-
19
- // Pipe classes differ by weight (PID.weight); instrument lines follow ANSI/ISA-5.1-2009
20
- // Table 5.3.1 (instrument to process: thin solid) and Table 5.3.2 (instrument to instrument:
21
- // each signal medium has its own mark).
22
- export const LINE_KINDS = Object.freeze({
23
- "process-major": { width: W.major, label: "Main process line" },
24
- "process-minor": { width: W.minor, label: "Minor process line" },
25
- utility: { width: W.utility, label: "Utility line" },
26
- connection: { width: W.connection, label: "Instrument supply or process connection" },
27
- "signal-electric": { width: W.signal, dash: "1.6 0.9", label: "Electric or electronic signal" },
28
- "signal-pneumatic": { width: W.signal, marks: "slash", label: "Pneumatic signal" },
29
- "signal-hydraulic": { width: W.signal, marks: "ell", label: "Hydraulic signal" },
30
- "signal-capillary": { width: W.signal, marks: "cross", label: "Filled-system capillary tube" },
31
- "signal-guided": { width: W.signal, marks: "wave", label: "Guided electromagnetic or sonic signal" },
32
- "signal-unguided": { width: W.signal, marks: "wave-gap", label: "Unguided electromagnetic signal (radio)" },
33
- "signal-data": { width: W.signal, marks: "circle", label: "Data link within a control system" },
34
- "signal-mechanical": { width: W.signal, marks: "dot", label: "Mechanical link" },
35
- stream: { width: 0.35, label: "Process stream" },
36
- });
37
-
38
- // Round-1 names that builds may still pass.
39
- const SIGNAL_ALIASES = Object.freeze({ software: "data" });
40
-
41
- const isProcess = (kind) => kind === "process-major" || kind === "process-minor" || kind === "utility" || kind === "stream";
42
- const isWave = (kind) => LINE_KINDS[kind]?.marks === "wave" || LINE_KINDS[kind]?.marks === "wave-gap";
43
-
44
- // A sine wave riding a polyline, for electromagnetic and sonic signals. With gaps, every other
45
- // period is left out so the wave reads as broken (unguided).
46
- function wavePath(points, { amplitude = 0.7, period = 2.4, gaps = false } = {}) {
47
- const total = pathLength(points);
48
- const step = period / 12;
49
- let d = "";
50
- let pen = false;
51
- for (let s = 0; s <= total + 1e-6; s += step) {
52
- const { point: [x, y], direction: [dx, dy] } = pointAlong(points, Math.min(s, total));
53
- const phase = (s / period) * Math.PI * 2;
54
- const visible = !gaps || Math.floor(s / period) % 2 === 0 || s < 0.5 || s > total - 0.5;
55
- const off = s < 0.6 || s > total - 0.6 ? 0 : Math.sin(phase) * amplitude;
56
- const px = x - dy * off;
57
- const py = y + dx * off;
58
- if (!visible) { pen = false; continue; }
59
- d += `${pen ? "L" : "M"}${n(px)} ${n(py)}`;
60
- pen = true;
61
- }
62
- return d;
63
- }
64
-
65
- export const SHEETS = Object.freeze({ A4: [297, 210], A3: [420, 297], A2: [594, 420], A1: [841, 594] });
66
-
67
- function wrap(text, width, size) {
68
- const words = String(text).split(/\s+/u).filter(Boolean);
69
- const lines = [];
70
- let current = "";
71
- for (const word of words) {
72
- const next = current ? `${current} ${word}` : word;
73
- if (current && textWidthEm(next) * size > width) {
74
- lines.push(current);
75
- current = word;
76
- } else current = next;
77
- }
78
- if (current) lines.push(current);
79
- return lines;
80
- }
81
-
82
- const textEl = (x, y, text, size, extra = {}) =>
83
- el("text", { x, y, "font-family": fontFor(text), "font-size": size, fill: PID.ink, ...extra }, esc(text));
84
-
85
- function rotatedBox(x, y, text, size, anchor, rotate) {
86
- const box = textBox(x, y, text, size, anchor);
87
- if (!rotate) return box;
88
- // rotate(-90) about (x, y): local (dx, dy) -> (dy, -dx)
89
- const pts = [[box[0], box[1]], [box[2], box[1]], [box[2], box[3]], [box[0], box[3]]].map(([px, py]) => {
90
- const dx = px - x;
91
- const dy = py - y;
92
- return rotate === -90 ? [x + dy, y - dx] : [x - dy, y + dx];
93
- });
94
- return [Math.min(...pts.map((p) => p[0])), Math.min(...pts.map((p) => p[1])), Math.max(...pts.map((p) => p[0])), Math.max(...pts.map((p) => p[1]))];
95
- }
96
-
97
- // Arc length along a polyline of the point nearest to p.
98
- function nearestArc(points, p) {
99
- let best = { d: Infinity, s: 0 };
100
- let s0 = 0;
101
- for (const [a, b] of segmentsOf(points)) {
102
- const len = dist(a, b);
103
- const t = len ? Math.max(0, Math.min(1, ((p[0] - a[0]) * (b[0] - a[0]) + (p[1] - a[1]) * (b[1] - a[1])) / (len * len))) : 0;
104
- const d = dist([a[0] + (b[0] - a[0]) * t, a[1] + (b[1] - a[1]) * t], p);
105
- if (d < best.d) best = { d, s: s0 + len * t };
106
- s0 += len;
107
- }
108
- return best.s;
109
- }
110
-
111
- // The marks that name a line class: hash marks, crosses, ells, circles, dots or a wave.
112
- export function lineMarks(points, kind, stroke, { first = 4, every = 6 } = {}) {
113
- const spec = LINE_KINDS[kind];
114
- if (!spec.marks) return "";
115
- if (isWave(kind)) {
116
- return el("path", { d: wavePath(points, spec.marks === "wave-gap" ? { gaps: true, period: 3.6, amplitude: 0.8 } : {}), stroke, "stroke-width": spec.width, fill: "none", "stroke-linejoin": "round", "data-line-mark": kind });
117
- }
118
- const total = pathLength(points);
119
- const out = [];
120
- for (let s = first; s <= total - Math.min(3, first); s += every) {
121
- const { point: [x, y], direction: [dx, dy] } = pointAlong(points, s);
122
- const nx = -dy;
123
- const ny = dx;
124
- if (spec.marks === "slash") {
125
- for (const o of [-0.5, 0.5]) {
126
- const cx = x + dx * o;
127
- const cy = y + dy * o;
128
- out.push(pathOf([[cx - nx * 1.1 - dx * 0.6, cy - ny * 1.1 - dy * 0.6], [cx + nx * 1.1 + dx * 0.6, cy + ny * 1.1 + dy * 0.6]]));
129
- }
130
- } else if (spec.marks === "cross") {
131
- out.push(pathOf([[x - nx - dx, y - ny - dy], [x + nx + dx, y + ny + dy]]), pathOf([[x - nx + dx, y - ny + dy], [x + nx - dx, y + ny - dy]]));
132
- } else if (spec.marks === "ell") {
133
- out.push(pathOf([[x + nx * 1.2, y + ny * 1.2], [x, y], [x + dx * 1.2, y + dy * 1.2]]));
134
- } else if (spec.marks === "circle" || spec.marks === "dot") {
135
- out.push(`M${n(x + 0.55)} ${n(y)}A0.55 0.55 0 1 0 ${n(x - 0.55)} ${n(y)}A0.55 0.55 0 1 0 ${n(x + 0.55)} ${n(y)}`);
136
- }
137
- }
138
- const fill = spec.marks === "circle" ? "#ffffff" : spec.marks === "dot" ? stroke : "none";
139
- return out.length ? el("path", { d: out.join(""), stroke, "stroke-width": spec.width, fill, "data-line-mark": kind }) : "";
140
- }
141
-
142
- export function createCanvas({ box, style = "pid", grid = style === "pid" ? 2.5 : 1, clearance = style === "pid" ? 2.2 : 1.2, stub = style === "pid" ? 6.2 : 3, labelSize = 2.47 } = {}) {
143
- if (!box) throw new Error("createCanvas: box [x0, y0, x1, y1] in millimetres is required");
144
- const symbols = [];
145
- const lines = [];
146
- const labels = [];
147
- const fixedLabels = [];
148
- const extras = [];
149
- const warnings = [];
150
- const junctions = [];
151
- let lineCounter = 0;
152
-
153
- const occupiedBoxes = () => symbols.flatMap((s) => s.boxes);
154
- const labelBoxes = () => labels.map((l) => l.box);
155
- const zoneSegments = [];
156
- const drawnSegments = () => [...lines.flatMap((l) => l.pieces.flatMap((p) => segmentsOf(p))), ...zoneSegments];
157
-
158
- function add(sym) {
159
- for (const other of symbols) {
160
- for (const a of sym.boxes) for (const b of other.boxes) {
161
- if (boxesOverlap(a, b, -0.01)) warnings.push(`symbols overlap: ${sym.kind}${sym.tag ? ` ${sym.tag}` : ""} and ${other.kind}${other.tag ? ` ${other.tag}` : ""}`);
162
- }
163
- }
164
- if (!sym.boxes.every((b) => contains(box, b, 0.01))) warnings.push(`symbol outside the canvas: ${sym.kind}${sym.tag ? ` ${sym.tag}` : ""}`);
165
- symbols.push(sym);
166
- return sym;
167
- }
168
-
169
- function buildLine({ from, to, via = [], points = null, kind, number = null, role = null, color = null, arrows = "auto", label = null }) {
170
- if (!LINE_KINDS[kind]) throw new Error(`line kind must be one of ${Object.keys(LINE_KINDS).join(", ")}`);
171
- let path;
172
- const existing = lines.map((l) => l.points);
173
- if (points) {
174
- path = orthogonal([[from.x, from.y], ...points, [to.x, to.y]], { from, to });
175
- } else {
176
- const stops = [from, ...via.map(([x, y]) => ({ x, y, dir: null })), to];
177
- path = [];
178
- for (let i = 0; i < stops.length - 1; i++) {
179
- const a = stops[i];
180
- const b = stops[i + 1];
181
- const dirA = a.dir ?? (i > 0 ? null : [1, 0]);
182
- const dirB = b.dir ?? null;
183
- const leg = routeOrthogonal({
184
- from: { x: a.x, y: a.y, dir: dirA ?? guessDir(a, b) },
185
- to: { x: b.x, y: b.y, dir: dirB ?? guessDir(b, a) },
186
- obstacles: [...occupiedBoxes(), ...fixedLabels.map((l) => l.box)],
187
- exempt: symbols.filter((sym) => sym.id === a.owner || sym.id === b.owner).flatMap((sym) => sym.boxes),
188
- lines: [...existing, path],
189
- bounds: box,
190
- grid,
191
- clearance,
192
- stub: a.dir ? stub : 0.0001,
193
- });
194
- path = path.length ? [...path, ...leg.slice(1)] : leg;
195
- }
196
- }
197
- const id = `L${++lineCounter}`;
198
- const line = { id, kind, number, role, color, points: path, gaps: [], arrows, label, pieces: [path], from, to, taps: [] };
199
- line.tap = (at = 0.5) => {
200
- const total = pathLength(line.points);
201
- const s = Array.isArray(at) ? nearestArc(line.points, at) : at <= 1 ? at * total : at;
202
- const { point, direction } = pointAlong(line.points, s);
203
- if (Array.isArray(at) && dist(point, at) > 1) {
204
- throw new Error(`tap: (${at}) is ${n(dist(point, at))} mm from ${line.id}; the nearest point on it is (${n(point[0])}, ${n(point[1])})`);
205
- }
206
- const corners = line.points.slice(1, -1);
207
- if (corners.some((c) => dist(c, point) < 3)) {
208
- throw new Error(`tap: (${n(point[0])}, ${n(point[1])}) is within 3 mm of a bend in ${line.id}; a branch must leave a straight run`);
209
- }
210
- const side = [-direction[1], direction[0]];
211
- const tapPort = { x: point[0], y: point[1], dir: [Math.round(side[0]), Math.round(side[1])], owner: id, name: "tap" };
212
- tapPort.flip = () => ({ ...tapPort, dir: [-tapPort.dir[0], -tapPort.dir[1]] });
213
- junctions.push(point);
214
- line.taps.push(point);
215
- return tapPort;
216
- };
217
- line.at = (fraction) => pointAlong(line.points, fraction * pathLength(line.points));
218
- lines.push(line);
219
- return line;
220
- }
221
-
222
- const guessDir = (a, b) => {
223
- const dx = b.x - a.x;
224
- const dy = b.y - a.y;
225
- return Math.abs(dx) >= Math.abs(dy) ? [Math.sign(dx) || 1, 0] : [0, Math.sign(dy) || 1];
226
- };
227
-
228
- // Places an inline symbol on a straight run of `line` and gaps the line under it.
229
- function inline(lineObj, factory, options = {}) {
230
- const total = pathLength(lineObj.points);
231
- let at = options.at ?? 0.5;
232
- if (Array.isArray(at)) at = nearestArc(lineObj.points, at) / total;
233
- const wanted = at * total;
234
- // Measure the symbol once at the origin to learn how far its ports reach along the line.
235
- const probe = factory({ ...options, x: 0, y: 0, orient: "right" });
236
- const reachA = Math.abs(probe.port("a").x);
237
- const reachB = Math.abs(probe.port("b").x);
238
- const margin = 1.5;
239
- let s = null;
240
- let corner = 0;
241
- for (const [a, b] of segmentsOf(lineObj.points)) {
242
- const len = dist(a, b);
243
- const lo = corner + reachA + margin;
244
- const hi = corner + len - reachB - margin;
245
- if (hi >= lo) {
246
- const candidate = Math.min(hi, Math.max(lo, wanted));
247
- if (s === null || Math.abs(candidate - wanted) < Math.abs(s - wanted)) s = candidate;
248
- }
249
- corner += len;
250
- }
251
- if (s === null) throw new Error(`inline: no straight run of ${lineObj.id} is long enough for ${probe.kind}; lengthen the line or use a smaller symbol`);
252
- const { point, direction } = pointAlong(lineObj.points, s);
253
- const orient = direction[0] > 0.5 ? "right" : direction[0] < -0.5 ? "left" : direction[1] > 0.5 ? "down" : "up";
254
- const sym = factory({ ...options, x: point[0], y: point[1], orient: options.orient ?? orient });
255
- const sa = s - reachA;
256
- const sb = s + reachB;
257
- lineObj.gaps.push([sa, sb]);
258
- symbols.push(sym);
259
- return sym;
260
- }
261
-
262
- function finalizePieces(lineObj) {
263
- const total = pathLength(lineObj.points);
264
- const gaps = [...lineObj.gaps].sort((a, b) => a[0] - b[0]);
265
- const spans = [];
266
- let cursor = 0;
267
- for (const [g0, g1] of gaps) {
268
- if (g0 > cursor + 1e-6) spans.push([cursor, g0]);
269
- cursor = Math.max(cursor, g1);
270
- }
271
- if (total > cursor + 1e-6) spans.push([cursor, total]);
272
- lineObj.pieces = spans.map(([a, b]) => cut(lineObj.points, a, b));
273
- }
274
-
275
- function cut(points, from, to) {
276
- const out = [pointAlong(points, from).point];
277
- let s = 0;
278
- for (const [a, b] of segmentsOf(points)) {
279
- const len = dist(a, b);
280
- if (s + len > from + 1e-6 && s + len < to - 1e-6) out.push(b);
281
- s += len;
282
- }
283
- out.push(pointAlong(points, to).point);
284
- return out;
285
- }
286
-
287
- // Draws a polyline with hops where it crosses earlier process lines.
288
- function hopped(points, earlier) {
289
- const r = 1.2;
290
- let d = `M${n(points[0][0])} ${n(points[0][1])}`;
291
- for (const [a, b] of segmentsOf(points)) {
292
- const len = dist(a, b);
293
- const ux = (b[0] - a[0]) / len;
294
- const uy = (b[1] - a[1]) / len;
295
- const hits = [];
296
- for (const [c, e] of earlier) {
297
- const hit = segmentIntersection(a, b, c, e);
298
- if (hit && hit.t * len > r + 0.2 && (1 - hit.t) * len > r + 0.2) hits.push(hit.t * len);
299
- }
300
- hits.sort((p, q) => p - q);
301
- for (const s of hits) {
302
- const p0 = [a[0] + ux * (s - r), a[1] + uy * (s - r)];
303
- const p1 = [a[0] + ux * (s + r), a[1] + uy * (s + r)];
304
- const sweep = Math.abs(uy) > 0.5 ? (uy > 0 ? 0 : 1) : ux > 0 ? 1 : 0;
305
- d += `L${n(p0[0])} ${n(p0[1])}A${n(r)} ${n(r)} 0 0 ${sweep} ${n(p1[0])} ${n(p1[1])}`;
306
- }
307
- d += `L${n(b[0])} ${n(b[1])}`;
308
- }
309
- return d;
310
- }
311
-
312
- function arrowsFor(lineObj, stroke) {
313
- if (lineObj.arrows === false || !isProcess(lineObj.kind)) return "";
314
- const out = [];
315
- const wanted = Array.isArray(lineObj.arrows) ? lineObj.arrows : null;
316
- const pieces = lineObj.pieces;
317
- const candidates = [];
318
- for (const piece of pieces) for (const [a, b] of segmentsOf(piece)) candidates.push([a, b, dist(a, b)]);
319
- // An arrow keeps clear of junction dots, symbols and the line's own taps.
320
- const crowded = (p) => junctions.some((j) => dist(j, p) < 3.5) || occupiedBoxes().some((b) => boxesOverlap(grow(b, 1.5), [p[0], p[1], p[0], p[1]]));
321
- const auto = () => {
322
- for (const [a, b, len] of candidates.filter((c) => c[2] >= 10).sort((p, q) => q[2] - p[2])) {
323
- for (const f of [0.5, 0.35, 0.65, 0.25, 0.75]) {
324
- const p = [a[0] + (b[0] - a[0]) * f, a[1] + (b[1] - a[1]) * f];
325
- if (!crowded(p)) return [[p, [(b[0] - a[0]) / len, (b[1] - a[1]) / len]]];
326
- }
327
- }
328
- return [];
329
- };
330
- // An asked-for arrow that lands on a valve or instrument slides along the line to open pipe.
331
- const inSymbol = (p) => occupiedBoxes().some((b) => boxesOverlap(grow(b, 1.5), [p[0], p[1], p[0], p[1]]));
332
- const total = pathLength(lineObj.points);
333
- const asked = (f) => {
334
- for (let k = 0; k <= 60; k++) {
335
- for (const sign of k ? [1, -1] : [1]) {
336
- const g = f + (sign * k * 0.5) / total;
337
- if (g < 0 || g > 1) continue;
338
- const { point, direction } = lineObj.at(g);
339
- if (!inSymbol(point)) return [point, direction];
340
- }
341
- }
342
- warnings.push(`flow arrow at ${f} on ${lineObj.id} has no open pipe within 30 mm; drop it or move it`);
343
- const { point, direction } = lineObj.at(f);
344
- return [point, direction];
345
- };
346
- const chosen = wanted ? wanted.map(asked) : auto();
347
- for (const [[x, y], [dx, dy]] of chosen) {
348
- const nx = -dy;
349
- const ny = dx;
350
- const tip = [x + dx * 1.3, y + dy * 1.3];
351
- out.push(el("path", { d: pathOf([tip, [x - dx * 1.3 + nx * 0.95, y - dy * 1.3 + ny * 0.95], [x - dx * 1.3 - nx * 0.95, y - dy * 1.3 - ny * 0.95]], true), fill: stroke, stroke: "none", "data-arrow": lineObj.id }));
352
- }
353
- return out.join("");
354
- }
355
-
356
- function placeLabel({ text, size, candidates, owner, extra = {}, bold = false }) {
357
- const syms = occupiedBoxes();
358
- const segs = drawnSegments();
359
- for (const c of candidates) {
360
- const b = rotatedBox(c.x, c.y, text, size, c.anchor, c.rotate);
361
- if (!contains(box, b, 0.01)) continue;
362
- if (syms.some((s) => boxesOverlap(grow(b, 0.4), s))) continue;
363
- if (labelBoxes().some((l) => boxesOverlap(grow(b, 0.5), l))) continue;
364
- if (segs.some(([a, e]) => segmentHitsBox(a, e, grow(b, 0.3)))) continue;
365
- labels.push({ box: b, owner });
366
- return textEl(c.x, c.y, text, size, {
367
- "text-anchor": c.anchor,
368
- transform: c.rotate ? `rotate(${c.rotate} ${n(c.x)} ${n(c.y)})` : undefined,
369
- "font-weight": bold ? "bold" : undefined,
370
- ...extra,
371
- });
372
- }
373
- warnings.push(`no clear place for label "${text}" (${owner}); move nearby symbols or shorten it`);
374
- const c = candidates[0];
375
- labels.push({ box: rotatedBox(c.x, c.y, text, size, c.anchor, c.rotate), owner });
376
- return textEl(c.x, c.y, text, size, { "text-anchor": c.anchor, transform: c.rotate ? `rotate(${c.rotate} ${n(c.x)} ${n(c.y)})` : undefined, "font-weight": bold ? "bold" : undefined, ...extra });
377
- }
378
-
379
- const segmentHitsBox = (a, b, [x0, y0, x1, y1]) => {
380
- const inside = (p) => p[0] > x0 && p[0] < x1 && p[1] > y0 && p[1] < y1;
381
- if (inside(a) || inside(b)) return true;
382
- const edges = [[[x0, y0], [x1, y0]], [[x1, y0], [x1, y1]], [[x1, y1], [x0, y1]], [[x0, y1], [x0, y0]]];
383
- return edges.some(([c, d]) => segmentIntersection(a, b, c, d, true));
384
- };
385
-
386
- function lineNumberLabel(lineObj) {
387
- if (!lineObj.number) return "";
388
- const size = PID.text.line;
389
- const candidates = [];
390
- const segs = lineObj.pieces.flatMap((p) => segmentsOf(p)).map(([a, b]) => [a, b, dist(a, b)]).sort((p, q) => q[2] - p[2]);
391
- for (const [a, b, len] of segs) {
392
- if (len < textWidthEm(lineObj.number) * size + 4) continue;
393
- const horizontal = Math.abs(a[1] - b[1]) < 1e-6;
394
- for (const f of [0.5, 0.3, 0.7, 0.2, 0.8]) {
395
- const mx = a[0] + (b[0] - a[0]) * f;
396
- const my = a[1] + (b[1] - a[1]) * f;
397
- if (horizontal) {
398
- candidates.push({ x: mx, y: my - 1.3, anchor: "middle" }, { x: mx, y: my + size + 0.9, anchor: "middle" });
399
- } else {
400
- candidates.push({ x: mx - 1.3, y: my, anchor: "middle", rotate: -90 }, { x: mx + size + 0.9, y: my, anchor: "middle", rotate: -90 });
401
- }
402
- }
403
- }
404
- if (!candidates.length) {
405
- warnings.push(`line ${lineObj.id} (${lineObj.number}) has no straight run long enough for its number`);
406
- return "";
407
- }
408
- return placeLabel({ text: lineObj.number, size, candidates, owner: lineObj.id, extra: { "data-label": "line-number", "data-for-line": lineObj.id } });
409
- }
410
-
411
- function equipmentLabel(sym) {
412
- const text = style === "pid" ? sym.tag : sym.label ?? sym.tag;
413
- if (!text || /^(?:instrument|valve|relief|flow|line|terminal|logic)\./u.test(sym.kind)) return "";
414
- const size = style === "pid" ? PID.text.equipment : labelSize;
415
- const [x0, y0, x1, y1] = sym.box;
416
- const cx = (x0 + x1) / 2;
417
- const cy = (y0 + y1) / 2;
418
- const candidates = [
419
- { x: cx, y: y1 + size + 1.2, anchor: "middle" },
420
- { x: cx, y: y0 - 1.4, anchor: "middle" },
421
- { x: x1 + 1.6, y: cy + size * 0.35, anchor: "start" },
422
- { x: x0 - 1.6, y: cy + size * 0.35, anchor: "end" },
423
- { x: x1 + 1.6, y: y1, anchor: "start" },
424
- { x: x0 - 1.6, y: y1, anchor: "end" },
425
- ...[0.3, 0.7, 0.15, 0.85].flatMap((f) => [
426
- { x: x1 + 1.6, y: y0 + (y1 - y0) * f + size * 0.35, anchor: "start" },
427
- { x: x0 - 1.6, y: y0 + (y1 - y0) * f + size * 0.35, anchor: "end" },
428
- ]),
429
- ];
430
- return placeLabel({ text, size, candidates, owner: sym.id, bold: style === "pid", extra: { "data-label": "equipment-tag", "data-for-sym": sym.id } });
431
- }
432
-
433
- function valveTagLabel(sym) {
434
- if (!sym.tag || !(sym.kind.startsWith("valve.") || sym.kind.startsWith("relief.") || sym.kind.startsWith("flow."))) return "";
435
- const size = PID.text.small;
436
- const [x0, y0, x1, y1] = sym.box;
437
- const cx = (x0 + x1) / 2;
438
- const cy = (y0 + y1) / 2;
439
- const candidates = [
440
- { x: cx, y: y1 + size + 0.8, anchor: "middle" },
441
- { x: cx, y: y0 - 0.9, anchor: "middle" },
442
- { x: x1 + 1.2, y: cy + size * 0.35, anchor: "start" },
443
- { x: x0 - 1.2, y: cy + size * 0.35, anchor: "end" },
444
- ];
445
- return placeLabel({ text: sym.tag, size, candidates, owner: sym.id, extra: { "data-label": "valve-tag", "data-for-sym": sym.id } });
446
- }
447
-
448
- function lineStroke(lineObj) {
449
- if (style === "pid") return PID.ink;
450
- if (lineObj.color) return lineObj.color;
451
- if (lineObj.role && STREAM[lineObj.role]) return STREAM[lineObj.role].color;
452
- return PID.ink;
453
- }
454
-
455
- function renderLines() {
456
- const out = [];
457
- const drawnProcess = [];
458
- for (const lineObj of lines) finalizePieces(lineObj);
459
- for (const lineObj of lines) {
460
- const spec = LINE_KINDS[lineObj.kind];
461
- const stroke = lineStroke(lineObj);
462
- const dash = lineObj.role && STREAM[lineObj.role]?.dash && style !== "pid" ? STREAM[lineObj.role].dash : spec.dash;
463
- const width = lineObj.kind === "stream" && lineObj.width ? lineObj.width : spec.width;
464
- for (const piece of lineObj.pieces) {
465
- const d = isProcess(lineObj.kind) ? hopped(piece, drawnProcess) : pathOf(piece);
466
- // A wave signal keeps its route as an unstroked carrier; the wave itself is the mark.
467
- out.push(el("path", {
468
- d, fill: "none", stroke: isWave(lineObj.kind) ? "none" : stroke, "stroke-width": width, "stroke-dasharray": dash, "stroke-linejoin": "round", "stroke-linecap": "butt",
469
- "data-line": lineObj.kind, "data-line-id": lineObj.id, "data-role": lineObj.role ?? undefined, "data-number": lineObj.number ?? undefined,
470
- }));
471
- out.push(lineMarks(piece, lineObj.kind, stroke));
472
- }
473
- out.push(arrowsFor(lineObj, stroke));
474
- if (isProcess(lineObj.kind)) for (const piece of lineObj.pieces) drawnProcess.push(...segmentsOf(piece));
475
- }
476
- for (const [x, y] of junctions) out.push(el("circle", { cx: x, cy: y, r: 0.65, fill: PID.ink, stroke: "none", "data-junction": "1" }));
477
- return out.join("");
478
- }
479
-
480
- function render() {
481
- labels.length = 0;
482
- labels.push(...fixedLabels);
483
- const lineSvg = renderLines();
484
- const symbolSvg = symbols.map((s) => s.svg()).join("");
485
- const tagSvg = [
486
- ...symbols.map(equipmentLabel),
487
- ...symbols.map(valveTagLabel),
488
- ...lines.map(lineNumberLabel),
489
- ].join("");
490
- return `<g data-canvas="${esc(style)}" data-canvas-box="${box.map(n).join(" ")}">${lineSvg}${symbolSvg}${tagSvg}${extras.join("")}</g>`;
491
- }
492
-
493
- return {
494
- box,
495
- style,
496
- symbols,
497
- lines,
498
- warnings,
499
- add,
500
- inline,
501
- pipe: (opts) => buildLine({ kind: opts.kind ?? "process-major", ...opts }),
502
- signal: (opts) => buildLine({ kind: opts.type ? `signal-${SIGNAL_ALIASES[opts.type] ?? opts.type}` : "signal-electric", arrows: false, ...opts }),
503
- connect: (opts) => buildLine({ kind: "connection", arrows: false, ...opts }),
504
- stream: (opts) => buildLine({ kind: "stream", ...opts }),
505
- text: (x, y, text, { size = PID.text.label, anchor = "start", bold = false, color = PID.ink, kind = "note" } = {}) => {
506
- const b = textBox(x, y, text, size, anchor);
507
- fixedLabels.push({ box: b, owner: "text" });
508
- extras.push(textEl(x, y, text, size, { "text-anchor": anchor, "font-weight": bold ? "bold" : undefined, fill: color, "data-label": kind }));
509
- },
510
- raw: (svg) => extras.push(svg),
511
- streamNumbers: () => extras.some((x) => x.includes("data-stream-number")),
512
- // PFD stream number: a diamond on a straight run of the line with the number inside.
513
- streamNumber: (lineObj, number, { at = 0.5 } = {}) => {
514
- const total = pathLength(lineObj.points);
515
- let s = at * total;
516
- const segs = [];
517
- let s0 = 0;
518
- for (const [a, b] of segmentsOf(lineObj.points)) { const len = dist(a, b); segs.push([s0, s0 + len]); s0 += len; }
519
- const fits = segs.filter(([lo, hi]) => hi - lo > 12);
520
- if (!fits.length) throw new Error(`streamNumber: ${lineObj.id} has no straight run of 12 mm for the marker`);
521
- const best = fits.reduce((p, q) => (Math.abs((p[0] + p[1]) / 2 - s) < Math.abs((q[0] + q[1]) / 2 - s) ? p : q));
522
- s = Math.min(best[1] - 6, Math.max(best[0] + 6, s));
523
- const { point: [x, y] } = pointAlong(lineObj.points, s);
524
- const r = 3.2;
525
- const size = style === "pid" ? PID.text.small : labelSize;
526
- fixedLabels.push({ box: [x - r, y - r, x + r, y + r], owner: "stream" });
527
- extras.push(el("g", { "data-stream-number": String(number), "data-for-line": lineObj.id },
528
- el("path", { d: pathOf([[x, y - r], [x + r, y], [x, y + r], [x - r, y]], true), fill: "#ffffff", stroke: PID.ink, "stroke-width": W.symbol, "data-line-mark": "stream-number" }),
529
- textEl(x, y + size * 0.36, String(number), size, { "text-anchor": "middle", "data-label": "stream-number" })));
530
- },
531
- // A stream table: one column per stream number, one row per property, inside `box`.
532
- streamTable: ({ box: [x0, y0, x1], streams, rows, title = "STREAM TABLE" }) => {
533
- const size = style === "pid" ? PID.text.small : labelSize;
534
- const rowH = size + 2;
535
- const headW = Math.max(...rows.map((r) => textWidthEm(r.label) * size)) + 3;
536
- const colW = (x1 - x0 - headW) / streams.length;
537
- const out = [textEl(x0, y0 + size, title, size, { "font-weight": "bold", "data-label": "stream-table" })];
538
- const top = y0 + size + 1.5;
539
- const cell = (cx, cy, w, text, bold = false) => {
540
- const within = [cx, cy, cx + w, cy + rowH];
541
- out.push(el("path", { d: pathOf([[cx, cy], [cx + w, cy], [cx + w, cy + rowH], [cx, cy + rowH]], true), fill: "none", stroke: PID.ink, "stroke-width": W.detail }));
542
- out.push(textEl(cx + 1, cy + rowH - 1.1, text, size, { "data-label": "stream-table", "data-within": within.map(n).join(" "), "font-weight": bold ? "bold" : undefined }));
543
- };
544
- cell(x0, top, headW, "Stream", true);
545
- streams.forEach((st, i) => cell(x0 + headW + i * colW, top, colW, String(st), true));
546
- rows.forEach((row, j) => {
547
- cell(x0, top + (j + 1) * rowH, headW, row.label);
548
- row.values.forEach((v, i) => cell(x0 + headW + i * colW, top + (j + 1) * rowH, colW, String(v)));
549
- });
550
- const y1 = top + (rows.length + 1) * rowH;
551
- fixedLabels.push({ box: [x0, y0, x1, y1], owner: "table" });
552
- extras.push(el("g", { "data-stream-table": "1" }, out));
553
- return y1;
554
- },
555
- // A dashed boundary around equipment that shares an enclosure (oven, cold box, skid, fume
556
- // hood). It is not a symbol: lines may cross it, and its name sits inside its top-left corner.
557
- zone: ([x0, y0, x1, y1], name, { color = "#555555" } = {}) => {
558
- zoneSegments.push(...segmentsOf([[x0, y0], [x1, y0], [x1, y1], [x0, y1], [x0, y0]]));
559
- extras.push(el("path", { d: pathOf([[x0, y0], [x1, y0], [x1, y1], [x0, y1]], true), fill: "none", stroke: color, "stroke-width": 0.25, "stroke-dasharray": "1.6 0.9", "data-zone": name }));
560
- if (name) {
561
- const size = style === "pid" ? PID.text.small : labelSize;
562
- fixedLabels.push({ box: textBox(x0 + 1.2, y0 + size + 0.8, name, size, "start"), owner: "zone" });
563
- extras.push(textEl(x0 + 1.2, y0 + size + 0.8, name, size, { "data-label": "zone", fill: color }));
564
- }
565
- },
566
- render,
567
- };
568
- }
569
-
570
- // ------------------------------------------------------------------ sheet
571
-
572
- // A legend sample of any kind the library draws, built at (x, y). Composed kinds (a valve body
573
- // with its actuator, an instrument function at a location) are rebuilt from their names, so
574
- // the legend always shows the symbol as drawn.
575
- export function legendSample(kind, x, y) {
576
- const fixed = {
577
- "vessel.vertical": () => pid.vessel({ x, y, w: 5, h: 8 }),
578
- "vessel.reactor": () => pid.vessel({ x, y: y + 1, w: 5, h: 7, agitator: "turbine", jacket: true }),
579
- "vessel.jacketed": () => pid.vessel({ x, y, w: 5, h: 8, jacket: true }),
580
- "vessel.horizontal": () => pid.drum({ x, y, w: 9, h: 4.4, saddles: false }),
581
- "vessel.column": () => pid.vessel({ x, y, w: 4, h: 9, trays: 3, kind: "vessel.column" }),
582
- "vessel.tank": () => pid.tank({ x, y, w: 7, h: 7 }),
583
- "gas.cylinder": () => pid.gasCylinder({ x, y: y + 0.8, w: 3.4, h: 7 }),
584
- "pump.centrifugal": () => pid.pump({ x, y, r: 2.6 }),
585
- "pump.positive": () => pid.pump({ x, y, r: 2.6, type: "positive" }),
586
- "pump.metering": () => pid.pump({ x, y, r: 2.6, type: "metering" }),
587
- "compressor.centrifugal": () => pid.compressor({ x, y, r: 3.2 }),
588
- "compressor.reciprocating": () => pid.compressor({ x, y, r: 3.2, type: "reciprocating" }),
589
- "exchanger.general": () => pid.exchanger({ x, y, r: 3.2 }),
590
- "exchanger.shelltube": () => pid.shellTube({ x, y, w: 12, h: 4.4 }),
591
- "exchanger.floating": () => pid.shellTube({ x, y, w: 12, h: 4.4, type: "floating" }),
592
- "exchanger.utube": () => pid.shellTube({ x, y, w: 12, h: 4.4, type: "utube" }),
593
- "exchanger.plate": () => pid.plateExchanger({ x, y, w: 9, h: 5 }),
594
- "exchanger.aircooler": () => pid.airCooler({ x, y: y - 3, w: 12, h: 3.4 }),
595
- "package.unit": () => pid.unit({ x, y, w: 9, h: 6 }),
596
- "drive.motor": () => pid.motor({ x, y, r: 2.6 }),
597
- "valve.angle": () => pid.angleValve({ x: x - 1.5, y: y - 1.5, inlet: "down", outlet: "right" }),
598
- "valve.regulator": () => pid.regulator({ x, y: y + 2 }),
599
- "valve.backpressure": () => pid.regulator({ x, y: y + 2, backPressure: true }),
600
- "valve.safety": () => pid.safetyValve({ x, y: y + 1 }),
601
- "relief.rupture": () => pid.ruptureDisk({ x, y, orient: "right" }),
602
- "flow.orifice": () => pid.orifice({ x, y }),
603
- "flow.rotameter": () => pid.rotameter({ x, y, orient: "right" }),
604
- "flow.mfc": () => pid.mfc({ x, y }),
605
- "line.filter": () => pid.filter({ x, y }),
606
- "line.reducer": () => pid.reducer({ x, y }),
607
- "line.reducer-eccentric": () => pid.reducer({ x, y, eccentric: true }),
608
- "line.flange": () => pid.flange({ x, y }),
609
- "line.sightglass": () => pid.sightGlass({ x, y }),
610
- "line.blind": () => pid.blind({ x, y: y + 2.5 }),
611
- "line.blind-open": () => pid.blind({ x, y: y + 2.5, state: "open" }),
612
- "logic.interlock": () => pid.interlock({ x, y, r: 3 }),
613
- "terminal.vent": () => pid.vent({ x: x - 2, y: y + 2.6, text: "" }),
614
- "terminal.drain": () => pid.drain({ x, y: y - 2, text: "" }),
615
- "terminal.sample": () => pid.samplePoint({ x: x - 1, y: y - 2.4, text: "" }),
616
- "terminal.offpage": () => pid.offPage({ x: x - 6, y, text: "" }),
617
- "terminal.utility": () => pid.utility({ x: x - 5, y, text: "" }),
618
- }[kind];
619
- if (fixed) return fixed();
620
- const body = /^valve\.([a-z]+)(?:\.([a-z]+))?$/u.exec(kind);
621
- if (body) {
622
- const [, type, actuator = null] = body;
623
- if (type === "angle") return pid.angleValve({ x: x - 1.5, y: y + 1, inlet: "down", outlet: "right", actuator });
624
- return pid.valve({ x, y: y + (actuator ? 2.5 : type === "needle" ? 1 : type === "threeway" ? -1 : 0), type, actuator });
625
- }
626
- const flow = /^flow\.([a-z]+)$/u.exec(kind);
627
- if (flow) return pid.flowElement({ x, y, type: flow[1] });
628
- const bubble = /^instrument\.([a-z]+)-([a-z-]+)$/u.exec(kind);
629
- if (bubble) return pid.instrument({ x, y, tag: "TI-1", r: 3, fn: bubble[1], location: bubble[2] });
630
- return null;
631
- }
632
-
633
- // Lettering that belongs to one drawn item (tag, loop number, set pressure, fail position) is
634
- // not part of the symbol, so a legend sample drops it and keeps letters that are (M, S, MAG).
635
- const ITEM_TEXT = /<text\b[^>]*data-label="(?:tag-letters|tag-loop|fail|set)"[^>]*>[^<]*<\/text>/gu;
636
-
637
- export function legendGlyph(kind, x, y, { maxW = 13, maxH = 10 } = {}) {
638
- const sym = legendSample(kind, x, y);
639
- if (!sym) return null;
640
- // A legend glyph is a picture of a symbol, not a symbol on the drawing: rename its markers,
641
- // drop item lettering and scale it into its cell.
642
- const [x0, y0, x1, y1] = sym.box;
643
- const k = Math.min(1, maxW / (x1 - x0), maxH / (y1 - y0));
644
- const cx = (x0 + x1) / 2;
645
- const cy = (y0 + y1) / 2;
646
- const inner = sym.svg()
647
- .replace(/ data-sym="([^"]+)"/u, ' data-legend-glyph="$1"')
648
- .replace(/ data-sym-id="[^"]*"| data-tag="[^"]*"| data-box="[^"]*"| data-ports="[^"]*"/gu, "")
649
- .replace(ITEM_TEXT, "")
650
- // Letters that would print under the sheet minimum once scaled are left out.
651
- .replace(/<text\b[^>]*font-size="([\d.]+)"[^>]*>[^<]*<\/text>/gu, (text, size) => (Number(size) * k < PID.minTextMm ? "" : text))
652
- // Keep every glyph stroke printable after scaling.
653
- .replace(/ stroke-width="([\d.]+)"/gu, (_, w) => ` stroke-width="${n(Math.max(Number(w) * k, 0.12) / k)}"`);
654
- return { svg: el("g", { transform: `translate(${n(x - cx * k)} ${n(y - cy * k)}) scale(${n(k)})` }, inner), h: (y1 - y0) * k };
655
- }
656
-
657
- export function legendLine(kind, x0, x1, y) {
658
- const spec = LINE_KINDS[kind];
659
- const points = [[x0, y], [x1, y]];
660
- const carrier = el("path", { d: pathOf(points), fill: "none", stroke: isWave(kind) ? "none" : PID.ink, "stroke-width": spec.width, "stroke-dasharray": spec.dash, "data-legend-line": kind });
661
- return carrier + lineMarks(points, kind, PID.ink, { first: (x1 - x0) / 2, every: x1 - x0 }).replace(" data-line-mark=", " data-legend-mark=");
662
- }
663
-
664
- export function createSheet({
665
- mode = "pid", size = "A3", title, subtitle = "", number = "", rev = "0", date = "", scale = "NTS", sheet = "1 OF 1",
666
- project = "", owner = "", drawn = "", checked = "", approved = "", lang = "en", notes = [], legendTitle = "LEGEND",
667
- legendColumn = true, headerBand = true,
668
- } = {}) {
669
- if (!title) throw new Error("createSheet: title is required");
670
- const [width, height] = SHEETS[size] ?? size;
671
- const frame = [20, 10, width - 10, height - 10];
672
- const legendWidth = legendColumn ? 74 : 0;
673
- const titleBlock = [frame[2] - 180, frame[3] - 38, frame[2], frame[3]];
674
- const legendBox = [frame[2] - legendWidth, frame[1], frame[2], titleBlock[1]];
675
- const headerBox = [frame[0], frame[1], legendBox[0], frame[1] + (headerBand ? 26 : 0)];
676
- const notesBox = [frame[0], titleBlock[1], titleBlock[0], frame[3]];
677
- const drawing = [frame[0] + 4, headerBox[3] + 3, legendBox[0] - 4, titleBlock[1] - 3];
678
- const canvas = createCanvas({ box: drawing, style: "pid" });
679
- const info = [];
680
-
681
- function equipmentInfo(sym, specLines = []) {
682
- info.push({ sym, lines: specLines });
683
- return sym;
684
- }
685
-
686
- function header() {
687
- if (!headerBand) return "";
688
- const out = [el("path", { d: pathOf([[headerBox[0], headerBox[3]], [headerBox[2], headerBox[3]]]), stroke: PID.ink, "stroke-width": W.symbol, fill: "none", "data-frame": "header" })];
689
- const blocks = info.map(({ sym, lines }) => {
690
- const rows = [
691
- { text: sym.tag ?? "", size: PID.text.equipment, bold: true },
692
- { text: sym.label ?? "", size: PID.text.label },
693
- ...lines.map((t) => ({ text: t, size: PID.text.small })),
694
- ].filter((r) => r.text);
695
- const w = Math.max(...rows.map((r) => textWidthEm(r.text) * r.size)) + 2;
696
- return { sym, rows, w, cx: (sym.box[0] + sym.box[2]) / 2 };
697
- }).sort((a, b) => a.cx - b.cx);
698
- for (let i = 0; i < blocks.length; i++) {
699
- const b = blocks[i];
700
- const left = i ? blocks[i - 1].cx + blocks[i - 1].w / 2 + 3 : headerBox[0] + 2;
701
- b.cx = Math.max(b.cx, left + b.w / 2);
702
- }
703
- for (let i = blocks.length - 1; i >= 0; i--) {
704
- const b = blocks[i];
705
- const right = i < blocks.length - 1 ? blocks[i + 1].cx - blocks[i + 1].w / 2 - 3 : headerBox[2] - 2;
706
- b.cx = Math.min(b.cx, right - b.w / 2);
707
- }
708
- for (const b of blocks) {
709
- let y = headerBox[1] + 5;
710
- const g = [];
711
- for (const r of b.rows) {
712
- g.push(textEl(b.cx, y, r.text, r.size, { "text-anchor": "middle", "font-weight": r.bold ? "bold" : undefined, "data-label": "equipment-info", "data-within": headerBox.map(n).join(" ") }));
713
- y += r.size + 1.1;
714
- }
715
- out.push(el("g", { "data-equipment-info": b.sym.tag ?? b.sym.id }, g));
716
- }
717
- return out.join("");
718
- }
719
-
720
- const instrumentLetters = () => [...new Set(canvas.symbols.filter((s) => s.kind.startsWith("instrument.")).map((s) => s.tag.split("-")[0]))].sort();
721
- const tagItem = (letters, x, y, gap, within) => {
722
- const parsed = parseInstrumentTag(`${letters}-1`);
723
- return el("g", { "data-legend-item": `tag:${letters}` },
724
- textEl(x, y, letters, PID.text.small, { "font-weight": "bold", "data-label": "legend", "data-within": within }),
725
- textEl(x + gap, y, parsed.ok ? parsed.meaning : "", PID.text.small, { "data-label": "legend", "data-within": within }));
726
- };
727
-
728
- // The legend column: line classes, then every symbol kind drawn, then (when it fits) the
729
- // instrument identification letters. Returns how far it runs past its column.
730
- function legend({ withTags = true } = {}) {
731
- if (!legendColumn) return { svg: "", over: 0 };
732
- const kinds = [...new Set(canvas.symbols.map((s) => s.kind))].sort();
733
- const lineKinds = [...new Set(canvas.lines.map((l) => l.kind))];
734
- const tags = withTags ? instrumentLetters() : [];
735
- const out = [];
736
- const [x0, y0, x1, y1] = legendBox;
737
- let y = y0 + 6;
738
- const within = legendBox.map(n).join(" ");
739
- out.push(textEl(x0 + 3, y, legendTitle, PID.text.label + 0.5, { "font-weight": "bold", "data-label": "legend-title", "data-within": within }));
740
- y += 3;
741
- // Each row is as tall as its sample needs; the text sits centred on the sample.
742
- const row = (key, draw, text, sampleHeight = 4) => {
743
- const lines = wrap(text, x1 - x0 - 20, PID.text.small);
744
- const step = Math.max(6.2, sampleHeight + 2, lines.length * 2.5 + 1.6);
745
- const cy = y + step / 2;
746
- out.push(el("g", { "data-legend-item": key }, draw(cy), lines.map((t, i) => textEl(x0 + 18, cy + 0.8 + (i - (lines.length - 1) / 2) * 2.5, t, PID.text.small, { "data-label": "legend", "data-within": within }))));
747
- y += step;
748
- };
749
- for (const kind of lineKinds) row(`line:${kind}`, (cy) => legendLine(kind, x0 + 3, x0 + 15, cy), LINE_KINDS[kind].label, 3);
750
- if (canvas.streamNumbers()) row("stream-number", (cy) => el("path", { d: pathOf([[x0 + 9, cy - 2.4], [x0 + 11.4, cy], [x0 + 9, cy + 2.4], [x0 + 6.6, cy]], true), fill: "#ffffff", stroke: PID.ink, "stroke-width": W.symbol, "data-legend-mark": "stream-number" }), "Stream number", 4.8);
751
- for (const kind of kinds) {
752
- const probe = legendGlyph(kind, 0, 0);
753
- row(kind, (cy) => legendGlyph(kind, x0 + 9, cy)?.svg ?? "", pid.describeKind(kind, { short: true }) ?? kind, probe?.h ?? 4);
754
- }
755
- if (tags.length) {
756
- y += 5;
757
- out.push(textEl(x0 + 3, y, "INSTRUMENT IDENTIFICATION", PID.text.small, { "font-weight": "bold", "data-label": "legend-title", "data-within": within }));
758
- for (const letters of tags) {
759
- y += 3.2;
760
- out.push(tagItem(letters, x0 + 3, y, 13, within));
761
- }
762
- }
763
- return { svg: out.join(""), over: y - (y1 - 2) };
764
- }
765
-
766
- // Numbered notes; when the legend column is full, the instrument identification letters
767
- // take the right half of this block in two columns.
768
- function noteBlock({ tags = [] } = {}) {
769
- if (!notes.length && !tags.length) return "";
770
- const [x0, y0, x1] = notesBox;
771
- const within = notesBox.map(n).join(" ");
772
- const split = tags.length ? x0 + (x1 - x0) * 0.48 : x1;
773
- const out = [];
774
- if (tags.length) {
775
- const tx = split + 3;
776
- const colW = (x1 - tx - 2) / 2;
777
- const rows = Math.ceil(tags.length / 2);
778
- out.push(textEl(tx, y0 + 5, "INSTRUMENT IDENTIFICATION", PID.text.label, { "font-weight": "bold", "data-label": "legend-title", "data-within": within }));
779
- tags.forEach((letters, i) => out.push(tagItem(letters, tx + Math.floor(i / rows) * colW, y0 + 9 + (i % rows) * 2.9, 9, within)));
780
- if (y0 + 9 + (rows - 1) * 2.9 > notesBox[3] - 1) canvas.warnings.push("the instrument identification table runs past the notes block");
781
- }
782
- if (!notes.length) return out.join("");
783
- out.push(textEl(x0 + 3, y0 + 5, "NOTES", PID.text.label, { "font-weight": "bold", "data-label": "notes", "data-within": within }));
784
- let y = y0 + 9;
785
- notes.forEach((note, i) => {
786
- const lines = wrap(`${i + 1}. ${note}`, split - x0 - 8, PID.text.small);
787
- for (const t of lines) {
788
- out.push(textEl(x0 + 3, y, t, PID.text.small, { "data-label": "notes", "data-within": within }));
789
- y += 2.7;
790
- }
791
- });
792
- if (y > notesBox[3] + 1) canvas.warnings.push("the notes run past their block; shorten them");
793
- return out.join("");
794
- }
795
-
796
- function legendAndNotes() {
797
- let column = legend();
798
- let tags = [];
799
- if (column.over > 0 && instrumentLetters().length) {
800
- const without = legend({ withTags: false });
801
- if (without.over < column.over) { column = without; tags = instrumentLetters(); }
802
- }
803
- if (column.over > 0) canvas.warnings.push(`the legend runs ${n(column.over)} mm past its column; use a larger sheet or fewer symbol kinds`);
804
- return [column.svg, noteBlock({ tags })];
805
- }
806
-
807
- function titleBlockSvg() {
808
- const [x0, y0, x1, y1] = titleBlock;
809
- const cells = [];
810
- const cell = (field, box, caption, value, valueSize) => {
811
- const within = box.map(n).join(" ");
812
- const lines = [];
813
- let sizeNow = valueSize;
814
- let wrapped = wrap(value, box[2] - box[0] - 3, sizeNow);
815
- while (wrapped.length > Math.max(1, Math.floor((box[3] - box[1] - 4) / (sizeNow + 0.8))) && sizeNow > PID.text.small) {
816
- sizeNow -= 0.25;
817
- wrapped = wrap(value, box[2] - box[0] - 3, sizeNow);
818
- }
819
- wrapped.forEach((t, i) => lines.push(textEl(box[0] + 1.5, box[1] + 3.6 + sizeNow + i * (sizeNow + 0.8), t, sizeNow, { "data-titleblock-value": field, "data-within": within, "font-weight": field === "title" ? "bold" : undefined })));
820
- cells.push(el("g", { "data-titleblock-field": field },
821
- el("path", { d: pathOf([[box[0], box[1]], [box[2], box[1]], [box[2], box[3]], [box[0], box[3]]], true), fill: "none", stroke: PID.ink, "stroke-width": W.detail }),
822
- textEl(box[0] + 1.2, box[1] + 2.5, caption, 2.0, { "data-label": "titleblock-caption", "data-within": within, fill: "#444444" }),
823
- lines));
824
- };
825
- const titleText = subtitle ? `${title}` : title;
826
- cell("title", [x0, y0, x1 - 70, y0 + 18], "TITLE", titleText, 4);
827
- if (subtitle) cells.push(textEl(x0 + 1.5, y0 + 16.4, subtitle, PID.text.small, { "data-label": "titleblock-subtitle", "data-within": [x0, y0, x1 - 70, y0 + 18].map(n).join(" ") }));
828
- cell("number", [x1 - 70, y0, x1, y0 + 10], "DRAWING NO.", number || "-", 3.2);
829
- cell("rev", [x1 - 70, y0 + 10, x1 - 46, y0 + 18], "REV", rev, 3);
830
- cell("sheet", [x1 - 46, y0 + 10, x1, y0 + 18], "SHEET", sheet, 2.6);
831
- cell("project", [x0, y0 + 18, x0 + 90, y0 + 28], "PROJECT", project || "-", 2.5);
832
- cell("owner", [x0 + 90, y0 + 28 - 10, x1, y0 + 28], "OWNER", owner || "-", 2.5);
833
- const w5 = 180 / 5;
834
- [["drawn", "DRAWN", drawn], ["checked", "CHECKED", checked], ["approved", "APPROVED", approved], ["date", "DATE", date || "-"], ["scale", "SCALE", scale]].forEach(([field, caption, value], i) => {
835
- cell(field, [x0 + i * w5, y0 + 28, x0 + (i + 1) * w5, y1], caption, value || "-", 2.4);
836
- });
837
- return el("g", { "data-titleblock": "1" }, el("path", { d: pathOf([[x0, y0], [x1, y0], [x1, y1], [x0, y1]], true), fill: "none", stroke: PID.ink, "stroke-width": W.frame }), cells);
838
- }
839
-
840
- function frameSvg() {
841
- const [x0, y0, x1, y1] = frame;
842
- const out = [el("path", { d: pathOf([[x0, y0], [x1, y0], [x1, y1], [x0, y1]], true), fill: "none", stroke: PID.ink, "stroke-width": W.frame, "data-frame": "border" })];
843
- if (legendColumn) out.push(el("path", { d: pathOf([[legendBox[0], legendBox[1]], [legendBox[0], legendBox[3]]]), fill: "none", stroke: PID.ink, "stroke-width": W.symbol, "data-frame": "legend" }));
844
- out.push(el("path", { d: pathOf([[notesBox[0], notesBox[1]], [titleBlock[0], notesBox[1]]]), fill: "none", stroke: PID.ink, "stroke-width": W.symbol, "data-frame": "notes" }));
845
- const cols = Math.round((x1 - x0) / 50);
846
- const rows = Math.round((y1 - y0) / 50);
847
- const ticks = [];
848
- for (let i = 0; i <= cols; i++) {
849
- const x = x0 + ((x1 - x0) * i) / cols;
850
- ticks.push(pathOf([[x, y0], [x, y0 - 4]]), pathOf([[x, y1], [x, y1 + 4]]));
851
- if (i < cols) {
852
- const cx = x0 + ((x1 - x0) * (i + 0.5)) / cols;
853
- out.push(textEl(cx, y0 - 3.4, String(i + 1), 2.5, { "text-anchor": "middle", "data-label": "zone" }), textEl(cx, y1 + 6.6, String(i + 1), 2.5, { "text-anchor": "middle", "data-label": "zone" }));
854
- }
855
- }
856
- for (let j = 0; j <= rows; j++) {
857
- const y = y0 + ((y1 - y0) * j) / rows;
858
- ticks.push(pathOf([[x0, y], [x0 - 4, y]]), pathOf([[x1, y], [x1 + 4, y]]));
859
- if (j < rows) {
860
- const cy = y0 + ((y1 - y0) * (j + 0.5)) / rows + 0.9;
861
- const letter = String.fromCharCode(65 + j);
862
- out.push(textEl(x0 - 6, cy, letter, 2.5, { "text-anchor": "middle", "data-label": "zone" }), textEl(x1 + 5, cy, letter, 2.5, { "text-anchor": "middle", "data-label": "zone" }));
863
- }
864
- }
865
- out.push(el("path", { d: ticks.join(""), fill: "none", stroke: PID.ink, "stroke-width": W.detail, "data-frame": "zones" }));
866
- return out.join("");
867
- }
868
-
869
- return {
870
- ...canvas,
871
- width,
872
- height,
873
- frame,
874
- drawing,
875
- equipmentInfo,
876
- render({ desc = "" } = {}) {
877
- const body = [
878
- el("rect", { x: 0, y: 0, width, height, fill: PID.paper, "data-frame": "paper" }),
879
- frameSvg(),
880
- header(),
881
- canvas.render(),
882
- ...legendAndNotes(),
883
- titleBlockSvg(),
884
- ].join("");
885
- return svgDocument({ width, height, title: `${title}${number ? ` (${number})` : ""}`, desc, mode, lang, body });
886
- },
887
- };
888
- }
889
-
890
- export { FONT_LATIN };