@litfamily/litgravity 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +79 -11
- package/README_ko-KR.md +80 -12
- package/bin/litgravity.mjs +3 -7
- package/lib/doctor.mjs +22 -18
- package/lib/host-tools.mjs +9 -36
- package/lib/install.mjs +18 -5
- package/lib/list.mjs +8 -16
- package/lib/paths.mjs +0 -1
- package/package.json +2 -2
- package/plugin/hooks/lib/extensions.mjs +53 -0
- package/plugin/hooks/lib/reentry.mjs +6 -5
- package/plugin/hooks/lib/rewind/board.mjs +295 -0
- package/plugin/hooks/lib/rewind/brief.mjs +26 -18
- package/plugin/hooks/lib/rewind/collect.mjs +42 -4
- package/plugin/hooks/lib/routes.mjs +36 -11
- package/plugin/hooks/post-tool-use.mjs +0 -2
- package/plugin/hooks/pre-invocation.mjs +0 -2
- package/plugin/hooks/session-start.mjs +7 -0
- package/plugin/hooks/stop.mjs +2 -8
- package/plugin/plugin.json +1 -1
- package/plugin/skills/autoconference/SKILL.md +1 -1
- package/plugin/skills/autoconference/modes/core.md +1 -1
- package/plugin/skills/autoconference/references/visualization-guide.md +6 -6
- package/plugin/skills/autoconference/scripts/style_presets.py +6 -6
- package/plugin/skills/autoresearch/references/type-checklists.md +1 -1
- package/plugin/skills/autoresearch/references/visualization-guide.md +11 -5
- package/plugin/skills/frontend-ui-ux/SKILL.md +18 -147
- package/plugin/skills/lit-adhd/SKILL.md +45 -20
- package/plugin/skills/lit-adhd/references/card-examples.md +99 -1
- package/plugin/skills/lit-adhd/references/status-taxonomy.md +17 -8
- package/plugin/skills/lit-code/references/core/agy-surfaces-and-verification.md +1 -1
- package/plugin/skills/lit-code/references/engineering-risk-signals.md +2 -2
- package/plugin/skills/lit-diagram-drawer/SKILL.md +20 -164
- package/plugin/skills/lit-docx/SKILL.md +20 -122
- package/plugin/skills/lit-loop/SKILL.md +1 -1
- package/plugin/skills/lit-pptx/SKILL.md +18 -130
- package/plugin/skills/lit-schematic/SKILL.md +19 -98
- package/plugin/skills/lit-scientific-visualization/SKILL.md +19 -160
- package/plugin/skills/lit-typographic-motion/SKILL.md +19 -188
- package/plugin/skills/readme-studio/SKILL.md +20 -98
- package/plugin/skills/visual-qa/SKILL.md +20 -121
- package/lib/runtime.mjs +0 -81
- package/plugin/hooks/lib/motion.mjs +0 -171
- package/plugin/lib/python-pick.mjs +0 -63
- package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +0 -23
- package/plugin/skills/frontend-ui-ux/LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/PROVENANCE.json +0 -38
- package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +0 -1060
- package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -14
- package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +0 -1
- package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +0 -186
- package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +0 -9
- package/plugin/skills/frontend-ui-ux/kit/components.css +0 -417
- package/plugin/skills/frontend-ui-ux/kit/fonts.json +0 -22
- package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
- package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
- package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
- package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
- package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
- package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
- package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
- package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
- package/plugin/skills/frontend-ui-ux/kit/ui.js +0 -226
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +0 -217
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +0 -201
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +0 -873
- package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +0 -103
- package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -415
- package/plugin/skills/frontend-ui-ux/references/composition.md +0 -93
- package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -203
- package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -27
- package/plugin/skills/frontend-ui-ux/references/design/README.md +0 -248
- package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +0 -191
- package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +0 -393
- package/plugin/skills/frontend-ui-ux/references/design/airtable.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/design/apple.md +0 -250
- package/plugin/skills/frontend-ui-ux/references/design/aside.md +0 -209
- package/plugin/skills/frontend-ui-ux/references/design/binance.md +0 -348
- package/plugin/skills/frontend-ui-ux/references/design/bmw.md +0 -183
- package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +0 -271
- package/plugin/skills/frontend-ui-ux/references/design/cal.md +0 -262
- package/plugin/skills/frontend-ui-ux/references/design/claude.md +0 -315
- package/plugin/skills/frontend-ui-ux/references/design/clay.md +0 -307
- package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/design/cohere.md +0 -269
- package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +0 -132
- package/plugin/skills/frontend-ui-ux/references/design/composio.md +0 -310
- package/plugin/skills/frontend-ui-ux/references/design/cursor.md +0 -312
- package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +0 -244
- package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +0 -268
- package/plugin/skills/frontend-ui-ux/references/design/expo.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +0 -317
- package/plugin/skills/frontend-ui-ux/references/design/figma.md +0 -223
- package/plugin/skills/frontend-ui-ux/references/design/framer.md +0 -249
- package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +0 -74
- package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +0 -281
- package/plugin/skills/frontend-ui-ux/references/design/ibm.md +0 -335
- package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +0 -1228
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +0 -798
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +0 -1465
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +0 -987
- package/plugin/skills/frontend-ui-ux/references/design/intercom.md +0 -149
- package/plugin/skills/frontend-ui-ux/references/design/kraken.md +0 -128
- package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +0 -291
- package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +0 -77
- package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +0 -370
- package/plugin/skills/frontend-ui-ux/references/design/lovable.md +0 -301
- package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +0 -368
- package/plugin/skills/frontend-ui-ux/references/design/meta.md +0 -369
- package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +0 -85
- package/plugin/skills/frontend-ui-ux/references/design/minimax.md +0 -260
- package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +0 -329
- package/plugin/skills/frontend-ui-ux/references/design/miro.md +0 -111
- package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +0 -264
- package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +0 -269
- package/plugin/skills/frontend-ui-ux/references/design/nike.md +0 -366
- package/plugin/skills/frontend-ui-ux/references/design/notion.md +0 -312
- package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +0 -296
- package/plugin/skills/frontend-ui-ux/references/design/ollama.md +0 -270
- package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +0 -49
- package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +0 -233
- package/plugin/skills/frontend-ui-ux/references/design/playstation.md +0 -367
- package/plugin/skills/frontend-ui-ux/references/design/posthog.md +0 -259
- package/plugin/skills/frontend-ui-ux/references/design/raycast.md +0 -271
- package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +0 -230
- package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +0 -178
- package/plugin/skills/frontend-ui-ux/references/design/renault.md +0 -314
- package/plugin/skills/frontend-ui-ux/references/design/replicate.md +0 -264
- package/plugin/skills/frontend-ui-ux/references/design/resend.md +0 -306
- package/plugin/skills/frontend-ui-ux/references/design/revolut.md +0 -188
- package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +0 -247
- package/plugin/skills/frontend-ui-ux/references/design/sanity.md +0 -360
- package/plugin/skills/frontend-ui-ux/references/design/sentry.md +0 -265
- package/plugin/skills/frontend-ui-ux/references/design/shopify.md +0 -353
- package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/design/spacex.md +0 -197
- package/plugin/skills/frontend-ui-ux/references/design/spotify.md +0 -249
- package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +0 -583
- package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +0 -121
- package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +0 -184
- package/plugin/skills/frontend-ui-ux/references/design/stripe.md +0 -325
- package/plugin/skills/frontend-ui-ux/references/design/supabase.md +0 -258
- package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +0 -255
- package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +0 -1206
- package/plugin/skills/frontend-ui-ux/references/design/tesla.md +0 -289
- package/plugin/skills/frontend-ui-ux/references/design/theverge.md +0 -342
- package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +0 -266
- package/plugin/skills/frontend-ui-ux/references/design/uber.md +0 -298
- package/plugin/skills/frontend-ui-ux/references/design/vercel.md +0 -313
- package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +0 -426
- package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +0 -326
- package/plugin/skills/frontend-ui-ux/references/design/warp.md +0 -256
- package/plugin/skills/frontend-ui-ux/references/design/webflow.md +0 -95
- package/plugin/skills/frontend-ui-ux/references/design/wired.md +0 -281
- package/plugin/skills/frontend-ui-ux/references/design/wise.md +0 -176
- package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +0 -260
- package/plugin/skills/frontend-ui-ux/references/design/zapier.md +0 -331
- package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +0 -97
- package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +0 -48
- package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +0 -80
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +0 -64
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +0 -83
- package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +0 -80
- package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +0 -132
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +0 -109
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +0 -89
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +0 -113
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +0 -121
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +0 -120
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +0 -101
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +0 -199
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +0 -125
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +0 -106
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +0 -123
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +0 -122
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +0 -75
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +0 -117
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
- package/plugin/skills/frontend-ui-ux/references/evidence-review.md +0 -119
- package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
- package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -115
- package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -48
- package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -153
- package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -101
- package/plugin/skills/frontend-ui-ux/references/perfection/README.md +0 -160
- package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +0 -127
- package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +0 -91
- package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -71
- package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -103
- package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -139
- package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -90
- package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +0 -659
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +0 -26
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +0 -106
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +0 -35
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +0 -45
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +0 -52
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +0 -61
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +0 -51
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +0 -50
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +0 -85
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +0 -74
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +0 -100
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +0 -31
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +0 -262
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +0 -1148
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +0 -114
- package/plugin/skills/frontend-ui-ux/references/visual-language.md +0 -90
- package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -55
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +0 -306
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +0 -291
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +0 -311
- package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +0 -217
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +0 -286
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +0 -354
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +0 -361
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +0 -313
- package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +0 -68
- package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
- package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +0 -12
- package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +0 -124
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +0 -196
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +0 -1555
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +0 -153
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +0 -57
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +0 -129
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -322
- package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +0 -63
- package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
- package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +0 -106
- package/plugin/skills/frontend-ui-ux/scripts/search.mjs +0 -43
- package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +0 -153
- package/plugin/skills/frontend-ui-ux/scripts/strict-json.mjs +0 -143
- package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -52
- package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +0 -90
- package/plugin/skills/lit-diagram-drawer/NOTICE +0 -33
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
- package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
- package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
- package/plugin/skills/lit-diagram-drawer/assets/icons.html +0 -231
- package/plugin/skills/lit-diagram-drawer/assets/index.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
- package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
- package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/references/accessibility.md +0 -37
- package/plugin/skills/lit-diagram-drawer/references/drawing-rules.md +0 -86
- package/plugin/skills/lit-diagram-drawer/references/export.md +0 -34
- package/plugin/skills/lit-diagram-drawer/references/failure-codes.md +0 -66
- package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
- package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
- package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
- package/plugin/skills/lit-diagram-drawer/references/import-schema.md +0 -28
- package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
- package/plugin/skills/lit-diagram-drawer/references/motion.md +0 -29
- package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
- package/plugin/skills/lit-diagram-drawer/references/output-spec.md +0 -48
- package/plugin/skills/lit-diagram-drawer/references/playbooks.md +0 -67
- package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
- package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
- package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
- package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
- package/plugin/skills/lit-diagram-drawer/references/profiles.md +0 -24
- package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
- package/plugin/skills/lit-diagram-drawer/references/style-guide.md +0 -76
- package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-bar.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-bump.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
- package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-er.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-journey.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-layers.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-line.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-loop.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-nested.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
- package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
- package/plugin/skills/lit-diagram-drawer/references/type-polar.md +0 -67
- package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
- package/plugin/skills/lit-diagram-drawer/references/type-process.md +0 -58
- package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
- package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-radar.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
- package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
- package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
- package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
- package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-state.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-tree.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-venn.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +0 -76
- package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
- package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
- package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +0 -9
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +0 -277
- package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -25
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
- package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +0 -119
- package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
- package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
- package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
- package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
- package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
- package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -11
- package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
- package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
- package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
- package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
- package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
- package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
- package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
- package/plugin/skills/lit-docx/NOTICE +0 -35
- package/plugin/skills/lit-docx/references/build-loop.md +0 -96
- package/plugin/skills/lit-docx/references/components.md +0 -287
- package/plugin/skills/lit-docx/references/direction-step.md +0 -339
- package/plugin/skills/lit-docx/references/examples/01-report-ko.md +0 -166
- package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +0 -96
- package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -170
- package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -141
- package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -56
- package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -129
- package/plugin/skills/lit-docx/references/examples/07-report-en.md +0 -123
- package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +0 -122
- package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -40
- package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -94
- package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -89
- package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -43
- package/plugin/skills/lit-docx/references/page-composition.md +0 -319
- package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
- package/plugin/skills/lit-docx/references/slop_rules.md +0 -88
- package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -170
- package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -173
- package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -182
- package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -171
- package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -181
- package/plugin/skills/lit-docx/references/tonalities/report.md +0 -199
- package/plugin/skills/lit-docx/scripts/clean_markdown.py +0 -95
- package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1395
- package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -301
- package/plugin/skills/lit-docx/scripts/convert_pdf.py +0 -139
- package/plugin/skills/lit-docx/scripts/docx_design.py +0 -2449
- package/plugin/skills/lit-docx/scripts/docx_layout.py +0 -959
- package/plugin/skills/lit-docx/scripts/edit_docx.py +0 -306
- package/plugin/skills/lit-docx/scripts/embed_images.py +0 -78
- package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +0 -500
- package/plugin/skills/lit-docx/scripts/pdf_fonts.py +0 -83
- package/plugin/skills/lit-docx/scripts/qa_docx.py +0 -234
- package/plugin/skills/lit-docx/scripts/slop_lint.py +0 -573
- package/plugin/skills/lit-docx/scripts/visual_audit.py +0 -48
- package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
- package/plugin/skills/lit-docx/templates/latex/acs/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/acs/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +0 -42
- package/plugin/skills/lit-docx/templates/latex/ieee/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/nature/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/nature/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/registry.yaml +0 -1366
- package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +0 -28
- package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
- package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/report.yaml +0 -26
- package/plugin/skills/lit-pptx/NOTICE +0 -35
- package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-a.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-b.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-c.png +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +0 -94
- package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +0 -29
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
- package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +0 -94
- package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/provenance.json +0 -109
- package/plugin/skills/lit-pptx/references/agents/analyst.md +0 -49
- package/plugin/skills/lit-pptx/references/agents/antithesis.md +0 -59
- package/plugin/skills/lit-pptx/references/agents/architect.md +0 -44
- package/plugin/skills/lit-pptx/references/agents/critic.md +0 -42
- package/plugin/skills/lit-pptx/references/agents/synthesizer.md +0 -47
- package/plugin/skills/lit-pptx/references/agents/thesis.md +0 -33
- package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +0 -131
- package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
- package/plugin/skills/lit-pptx/references/build-loop.md +0 -117
- package/plugin/skills/lit-pptx/references/consensus-protocol.md +0 -125
- package/plugin/skills/lit-pptx/references/data-display-cookbook.md +0 -52
- package/plugin/skills/lit-pptx/references/density-and-fill.md +0 -163
- package/plugin/skills/lit-pptx/references/design-system-azure.md +0 -61
- package/plugin/skills/lit-pptx/references/direction-step.md +0 -203
- package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -210
- package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +0 -147
- package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -199
- package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +0 -203
- package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +0 -178
- package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -199
- package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -194
- package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +0 -175
- package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -204
- package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +0 -179
- package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +0 -164
- package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +0 -174
- package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +0 -173
- package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +0 -154
- package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +0 -139
- package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +0 -158
- package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +0 -179
- package/plugin/skills/lit-pptx/references/interview-protocol.md +0 -113
- package/plugin/skills/lit-pptx/references/layout-families.md +0 -194
- package/plugin/skills/lit-pptx/references/stages/autopilot.md +0 -48
- package/plugin/skills/lit-pptx/references/stages/interview.md +0 -52
- package/plugin/skills/lit-pptx/references/stages/plan.md +0 -42
- package/plugin/skills/lit-pptx/references/title-treatments.md +0 -113
- package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
- package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -140
- package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
- package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -150
- package/plugin/skills/lit-pptx/references/tonalities/gazette.md +0 -149
- package/plugin/skills/lit-pptx/references/tonalities/ledger.md +0 -149
- package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -161
- package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -144
- package/plugin/skills/lit-pptx/references/tonalities/night.md +0 -147
- package/plugin/skills/lit-pptx/references/tonalities/paper.md +0 -151
- package/plugin/skills/lit-pptx/references/tonalities/riso.md +0 -137
- package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
- package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -131
- package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
- package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1077
- package/plugin/skills/lit-pptx/scripts/deck_craft.py +0 -363
- package/plugin/skills/lit-pptx/scripts/embed_fonts.py +0 -227
- package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +0 -55
- package/plugin/skills/lit-pptx/scripts/layout_inventory.py +0 -418
- package/plugin/skills/lit-pptx/scripts/learn_template.py +0 -446
- package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
- package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
- package/plugin/skills/lit-pptx/scripts/lib/font-map.js +0 -79
- package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +0 -86
- package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -37
- package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -512
- package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
- package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
- package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -356
- package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2240
- package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +0 -3366
- package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +0 -28
- package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
- package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
- package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
- package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package-lock.json +0 -793
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package.json +0 -12
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/requirements.lock +0 -15
- package/plugin/skills/lit-pptx/scripts/office-runtime.mjs +0 -279
- package/plugin/skills/lit-pptx/scripts/office_data.py +0 -493
- package/plugin/skills/lit-pptx/scripts/office_runtime_bootstrap.py +0 -73
- package/plugin/skills/lit-pptx/scripts/ooxml_integrity.py +0 -199
- package/plugin/skills/lit-pptx/scripts/package.json +0 -4
- package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
- package/plugin/skills/lit-pptx/scripts/render_pages.py +0 -147
- package/plugin/skills/lit-pptx/scripts/validate_pptx.py +0 -230
- package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
- package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -214
- package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
- package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
- package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +0 -382
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -475
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
- package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
- package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
- package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
- package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -93
- package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -94
- package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
- package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
- package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
- package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
- package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
- package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -38
- package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -133
- package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -87
- package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -85
- package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -70
- package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -101
- package/plugin/skills/lit-schematic/references/journal-figures.md +0 -72
- package/plugin/skills/lit-schematic/references/kit-api.md +0 -134
- package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -53
- package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -103
- package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -163
- package/plugin/skills/lit-schematic/references/verification.md +0 -100
- package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -57
- package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -81
- package/plugin/skills/lit-schematic/scripts/lib/fonts.mjs +0 -27
- package/plugin/skills/lit-schematic/scripts/lib/geom.mjs +0 -113
- package/plugin/skills/lit-schematic/scripts/lib/interactive.mjs +0 -292
- package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -115
- package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -719
- package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -162
- package/plugin/skills/lit-schematic/scripts/lib/pid.mjs +0 -937
- package/plugin/skills/lit-schematic/scripts/lib/png.mjs +0 -132
- package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -658
- package/plugin/skills/lit-schematic/scripts/lib/route.mjs +0 -218
- package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -890
- package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -82
- package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -115
- package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -129
- package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -92
- package/plugin/skills/lit-schematic/scripts/render.mjs +0 -233
- package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -60
- package/plugin/skills/lit-scientific-visualization/LICENSE +0 -21
- package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +0 -197
- package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +0 -75
- package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +0 -74
- package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +0 -78
- package/plugin/skills/lit-scientific-visualization/evals/evals.json +0 -158
- package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +0 -278
- package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +0 -380
- package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +0 -359
- package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +0 -608
- package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
- package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +0 -217
- package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +0 -293
- package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +0 -238
- package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +0 -23
- package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +0 -230
- package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +0 -467
- package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +0 -51
- package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +0 -114
- package/plugin/skills/lit-typographic-motion/engine/NOTICE +0 -23
- package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -73
- package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +0 -56
- package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +0 -1084
- package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +0 -218
- package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +0 -246
- package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +0 -90
- package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +0 -46
- package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +0 -211
- package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +0 -550
- package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +0 -123
- package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +0 -100
- package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +0 -142
- package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +0 -167
- package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +0 -19
- package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +0 -198
- package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +0 -172
- package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -298
- package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -143
- package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
- package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -164
- package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -328
- package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -104
- package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -210
- package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -347
- package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +0 -141
- package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +0 -76
- package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +0 -139
- package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
- package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -385
- package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +0 -83
- package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +0 -209
- package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +0 -105
- package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -38
- package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -121
- package/plugin/skills/lit-typographic-motion/engine/node/host.mjs +0 -34
- package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
- package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -178
- package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +0 -603
- package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +0 -112
- package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +0 -66
- package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +0 -349
- package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +0 -210
- package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +0 -639
- package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +0 -145
- package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +0 -77
- package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +0 -740
- package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +0 -180
- package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -177
- package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -427
- package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -428
- package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +0 -572
- package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +0 -100
- package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +0 -213
- package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
- package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -146
- package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +0 -132
- package/plugin/skills/lit-typographic-motion/engine/package-lock.json +0 -25
- package/plugin/skills/lit-typographic-motion/engine/package.json +0 -10
- package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +0 -49
- package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -298
- package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
- package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -162
- package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -823
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
- package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +0 -123
- package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +0 -281
- package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +0 -319
- package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +0 -78
- package/plugin/skills/lit-typographic-motion/engine/web/index.html +0 -6
- package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +0 -112
- package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +0 -98
- package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +0 -49
- package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +0 -77
- package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +0 -61
- package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +0 -88
- package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +0 -86
- package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +0 -165
- package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +0 -15
- package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +0 -82
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +0 -30
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +0 -16
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +0 -47
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +0 -45
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +0 -29
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +0 -73
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +0 -73
- package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +0 -236
- package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +0 -180
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/manifest.json +0 -455
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -42
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
- package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -91
- package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
- package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
- package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -27
- package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
- package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -18
- package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -30
- package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -152
- package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -97
- package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -202
- package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -100
- package/plugin/skills/lit-typographic-motion/references/brief-schema.md +0 -119
- package/plugin/skills/lit-typographic-motion/references/cover.md +0 -424
- package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -70
- package/plugin/skills/lit-typographic-motion/references/depth.md +0 -122
- package/plugin/skills/lit-typographic-motion/references/engine-contract.md +0 -124
- package/plugin/skills/lit-typographic-motion/references/look.md +0 -122
- package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -67
- package/plugin/skills/lit-typographic-motion/references/sound.md +0 -152
- package/plugin/skills/lit-typographic-motion/references/stage.md +0 -256
- package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
- package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -141
- package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -214
- package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
- package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -111
- package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
- package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -205
- package/plugin/skills/lit-typographic-motion/styles/paper.json +0 -41
- package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +0 -41
- package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +0 -42
- package/plugin/skills/lit-typographic-motion/styles/tidal.json +0 -41
- package/plugin/skills/readme-studio/references/decoration-and-navigation.md +0 -55
- package/plugin/skills/readme-studio/references/facts-and-assembly.md +0 -19
- package/plugin/skills/readme-studio/references/production-interview.md +0 -11
- package/plugin/skills/readme-studio/references/render-and-deliver.md +0 -44
- package/plugin/skills/readme-studio/references/type-and-background.md +0 -23
- package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +0 -133
- package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +0 -6
- package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +0 -77
- package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -28
- package/plugin/skills/readme-studio/templates/cover-source.json +0 -21
- package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +0 -30
- package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -1
- package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
- package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +0 -8
- package/plugin/skills/readme-studio/templates/readme-cover-section.md +0 -75
- package/plugin/skills/readme-studio/templates/readme-facts.json +0 -4
- package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
- package/plugin/skills/readme-studio/templates/remotion-cover/package.json +0 -7
- package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -36
- package/plugin/skills/readme-studio/templates/typography/package-lock.json +0 -133
- package/plugin/skills/readme-studio/templates/typography/package.json +0 -6
- package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +0 -57
- package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -63
- package/plugin/skills/visual-qa/references/breakage-catalogue.md +0 -70
- package/plugin/skills/visual-qa/references/capture-playbook.md +0 -96
- package/plugin/skills/visual-qa/references/complete-contract.md +0 -411
- package/plugin/skills/visual-qa/references/korean-and-mixed-script-checks.md +0 -50
- package/plugin/skills/visual-qa/references/reviewer-charters.md +0 -70
- package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +0 -305
- package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +0 -291
- package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +0 -311
- package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +0 -235
- package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +0 -208
- package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +0 -66
- package/plugin/skills/visual-qa/scripts/ansi.ts +0 -17
- package/plugin/skills/visual-qa/scripts/cli.mjs +0 -101
- package/plugin/skills/visual-qa/scripts/cli.ts +0 -96
- package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +0 -448
- package/plugin/skills/visual-qa/scripts/east-asian-width.ts +0 -72
- package/plugin/skills/visual-qa/scripts/errors.mjs +0 -12
- package/plugin/skills/visual-qa/scripts/evidence-io.mjs +0 -184
- package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +0 -95
- package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +0 -163
- package/plugin/skills/visual-qa/scripts/evidence.mjs +0 -421
- package/plugin/skills/visual-qa/scripts/image-diff.mjs +0 -89
- package/plugin/skills/visual-qa/scripts/image-diff.ts +0 -109
- package/plugin/skills/visual-qa/scripts/png-chunks.mjs +0 -107
- package/plugin/skills/visual-qa/scripts/png-crc.ts +0 -27
- package/plugin/skills/visual-qa/scripts/png-decode.mjs +0 -143
- package/plugin/skills/visual-qa/scripts/png-decode.ts +0 -206
- package/plugin/skills/visual-qa/scripts/png-synth.ts +0 -57
- package/plugin/skills/visual-qa/scripts/review-rules.mjs +0 -137
- package/plugin/skills/visual-qa/scripts/strict-json.mjs +0 -143
- package/plugin/skills/visual-qa/scripts/terminal-text.mjs +0 -117
- package/plugin/skills/visual-qa/scripts/tui-check.mjs +0 -74
- package/plugin/skills/visual-qa/scripts/tui-grid.ts +0 -88
- package/plugin/skills/visual-qa/scripts/types.ts +0 -54
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
// SVG string building for lit-schematic. Every drawing is authored in millimetres: the
|
|
2
|
-
// viewBox unit is 1 mm at final print size, so stroke widths and font sizes are physical
|
|
3
|
-
// and the QA gate can check them without knowing the page.
|
|
4
|
-
|
|
5
|
-
export const MM_PER_PT = 25.4 / 72;
|
|
6
|
-
export const PT_PER_MM = 72 / 25.4;
|
|
7
|
-
export const ptToMm = (pt) => pt * MM_PER_PT;
|
|
8
|
-
export const mmToPt = (mm) => mm * PT_PER_MM;
|
|
9
|
-
|
|
10
|
-
export function n(value) {
|
|
11
|
-
if (!Number.isFinite(value)) throw new Error(`lit-schematic: non-finite coordinate ${value}`);
|
|
12
|
-
const text = (Math.round(value * 100) / 100).toFixed(2).replace(/\.?0+$/u, "");
|
|
13
|
-
return text === "-0" ? "0" : text;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export const esc = (text) => String(text)
|
|
17
|
-
.replaceAll("&", "&")
|
|
18
|
-
.replaceAll("<", "<")
|
|
19
|
-
.replaceAll(">", ">")
|
|
20
|
-
.replaceAll('"', """);
|
|
21
|
-
|
|
22
|
-
export function attrs(pairs = {}) {
|
|
23
|
-
return Object.entries(pairs)
|
|
24
|
-
.filter(([, value]) => value !== undefined && value !== null && value !== false)
|
|
25
|
-
.map(([key, value]) => ` ${key}="${esc(typeof value === "number" ? n(value) : String(value))}"`)
|
|
26
|
-
.join("");
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export const el = (tag, pairs, ...children) => {
|
|
30
|
-
const body = children.flat().filter((child) => child !== undefined && child !== null && child !== false).join("");
|
|
31
|
-
return body ? `<${tag}${attrs(pairs)}>${body}</${tag}>` : `<${tag}${attrs(pairs)}/>`;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export function pathOf(points, closed = false) {
|
|
35
|
-
if (!points.length) return "";
|
|
36
|
-
return points.map(([x, y], index) => `${index ? "L" : "M"}${n(x)} ${n(y)}`).join("") + (closed ? "Z" : "");
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export const hasHangul = (text) => /[ᄀ-ᇿ-가-]/u.test(String(text));
|
|
40
|
-
|
|
41
|
-
// A conservative width estimate in em units, used for label placement and by the QA gate.
|
|
42
|
-
// Arial-like Latin and Pretendard Hangul; it overestimates slightly so a pass is safe.
|
|
43
|
-
export function textWidthEm(text) {
|
|
44
|
-
let units = 0;
|
|
45
|
-
for (const ch of String(text)) {
|
|
46
|
-
if (/\s/u.test(ch)) units += 0.28;
|
|
47
|
-
else if (hasHangul(ch)) units += 0.96;
|
|
48
|
-
else if (/[ilIj.,:;!|'`]/u.test(ch)) units += 0.3;
|
|
49
|
-
else if (/[ftr()[\]{}/\\-]/u.test(ch)) units += 0.38;
|
|
50
|
-
else if (/[MWmw@%]/u.test(ch)) units += 0.86;
|
|
51
|
-
else if (/[A-Z0-9#&]/u.test(ch)) units += 0.68;
|
|
52
|
-
else units += 0.56;
|
|
53
|
-
}
|
|
54
|
-
return units;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Box of a single-line label: [x0, y0, x1, y1] for a baseline at y with the given anchor.
|
|
58
|
-
export function textBox(x, y, text, size, anchor = "start") {
|
|
59
|
-
const width = textWidthEm(text) * size;
|
|
60
|
-
const left = anchor === "middle" ? x - width / 2 : anchor === "end" ? x - width : x;
|
|
61
|
-
return [left, y - size * 0.8, left + width, y + size * 0.22];
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function svgDocument({ width, height, title, desc = "", mode, lang = "en", body, defs = "", style = "", extra = {} }) {
|
|
65
|
-
if (!title) throw new Error("lit-schematic: a drawing needs a title (accessible name)");
|
|
66
|
-
const head = [
|
|
67
|
-
`<title id="schematic-title">${esc(title)}</title>`,
|
|
68
|
-
desc ? `<desc id="schematic-desc">${esc(desc)}</desc>` : "",
|
|
69
|
-
style ? `<style>${style}</style>` : "",
|
|
70
|
-
defs ? `<defs>${defs}</defs>` : "",
|
|
71
|
-
].join("");
|
|
72
|
-
return `<?xml version="1.0" encoding="UTF-8"?>\n<svg xmlns="http://www.w3.org/2000/svg"${attrs({
|
|
73
|
-
width: `${n(width)}mm`,
|
|
74
|
-
height: `${n(height)}mm`,
|
|
75
|
-
viewBox: `0 0 ${n(width)} ${n(height)}`,
|
|
76
|
-
role: "img",
|
|
77
|
-
"aria-labelledby": desc ? "schematic-title schematic-desc" : "schematic-title",
|
|
78
|
-
"xml:lang": lang,
|
|
79
|
-
"data-schematic-mode": mode,
|
|
80
|
-
...extra,
|
|
81
|
-
})}>${head}${body}</svg>\n`;
|
|
82
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { hasHangul, ptToMm } from "./svg.mjs";
|
|
2
|
-
|
|
3
|
-
// Latin text defaults to a TrueType face because Chrome embeds TrueType in a PDF as real text
|
|
4
|
-
// (CID TrueType), while CFF and variable fonts such as Pretendard become Type 3 glyphs, which
|
|
5
|
-
// some journal checkers reject. Hangul labels use Pretendard for every glyph of the label.
|
|
6
|
-
export const FONT_LATIN = "Arial, Helvetica, 'Liberation Sans', sans-serif";
|
|
7
|
-
export const FONT_KOREAN = "Pretendard, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif";
|
|
8
|
-
export const fontFor = (text) => (hasHangul(text) ? FONT_KOREAN : FONT_LATIN);
|
|
9
|
-
|
|
10
|
-
// P&ID ink on an ISO A-series sheet drawn at 1:1, in millimetres. Line weight is the tone
|
|
11
|
-
// hierarchy of a P&ID: equipment and main process lines carry the sheet, signals stay light.
|
|
12
|
-
// Pipe classes step down the ISO 128 width series (0.7, 0.5, 0.35, 0.18) so a main process
|
|
13
|
-
// line, a minor process line, a utility line and an instrument connection never look alike.
|
|
14
|
-
export const PID = Object.freeze({
|
|
15
|
-
ink: "#000000",
|
|
16
|
-
paper: "#ffffff",
|
|
17
|
-
weight: Object.freeze({
|
|
18
|
-
frame: 0.7,
|
|
19
|
-
equipment: 0.5,
|
|
20
|
-
major: 0.7,
|
|
21
|
-
minor: 0.5,
|
|
22
|
-
utility: 0.35,
|
|
23
|
-
symbol: 0.35,
|
|
24
|
-
signal: 0.25,
|
|
25
|
-
connection: 0.18,
|
|
26
|
-
leader: 0.18,
|
|
27
|
-
grid: 0.18,
|
|
28
|
-
detail: 0.18,
|
|
29
|
-
}),
|
|
30
|
-
text: Object.freeze({ tag: 2.5, label: 2.5, line: 2.2, equipment: 3.0, note: 2.5, title: 5, small: 2.2 }),
|
|
31
|
-
minTextMm: 2.0,
|
|
32
|
-
minStrokeMm: 0.13,
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
// Okabe–Ito: eight hues that stay distinct for the common colour-vision deficiencies.
|
|
36
|
-
export const OKABE_ITO = Object.freeze({
|
|
37
|
-
black: "#000000",
|
|
38
|
-
orange: "#E69F00",
|
|
39
|
-
sky: "#56B4E9",
|
|
40
|
-
green: "#009E73",
|
|
41
|
-
yellow: "#F0E442",
|
|
42
|
-
blue: "#0072B2",
|
|
43
|
-
vermillion: "#D55E00",
|
|
44
|
-
purple: "#CC79A7",
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
export const GREYS = Object.freeze(["#000000", "#333333", "#555555", "#777777", "#999999", "#BBBBBB", "#DDDDDD", "#F2F2F2", "#FFFFFF"]);
|
|
48
|
-
|
|
49
|
-
// Stream roles for apparatus figures. A role keeps one colour across every panel of a figure,
|
|
50
|
-
// and every role is distinguishable under deuteranopia and protanopia (checked by PALETTE.CVD).
|
|
51
|
-
export const STREAM = Object.freeze({
|
|
52
|
-
gas: Object.freeze({ color: OKABE_ITO.blue, dash: null, label: "Gas" }),
|
|
53
|
-
liquid: Object.freeze({ color: OKABE_ITO.sky, dash: null, label: "Liquid" }),
|
|
54
|
-
coolant: Object.freeze({ color: OKABE_ITO.green, dash: null, label: "Coolant" }),
|
|
55
|
-
heating: Object.freeze({ color: OKABE_ITO.vermillion, dash: null, label: "Heating medium" }),
|
|
56
|
-
vent: Object.freeze({ color: "#777777", dash: "1.2 0.8", label: "Vent" }),
|
|
57
|
-
signal: Object.freeze({ color: "#555555", dash: "0.9 0.6", label: "Signal" }),
|
|
58
|
-
sample: Object.freeze({ color: OKABE_ITO.purple, dash: null, label: "Sample" }),
|
|
59
|
-
vacuum: Object.freeze({ color: OKABE_ITO.orange, dash: "2 0.8", label: "Vacuum" }),
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
// Journal figures: type and line sizes at final print size.
|
|
63
|
-
export const JOURNAL = Object.freeze({
|
|
64
|
-
width: Object.freeze({ single: 85, onehalf: 120, double: 178 }),
|
|
65
|
-
maxHeight: 230,
|
|
66
|
-
textPt: 7,
|
|
67
|
-
minTextPt: 6,
|
|
68
|
-
panelPt: 8,
|
|
69
|
-
linePt: 0.75,
|
|
70
|
-
minLinePt: 0.35,
|
|
71
|
-
get text() { return ptToMm(this.textPt); },
|
|
72
|
-
get panel() { return ptToMm(this.panelPt); },
|
|
73
|
-
get line() { return ptToMm(this.linePt); },
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
// Isometric illustration tokens, light paper. These are the grey palette's shades (the opt-in
|
|
77
|
-
// quiet look) and the strokes, outlines and halo shared by every palette.
|
|
78
|
-
export const ISO = Object.freeze({
|
|
79
|
-
paper: "#ffffff",
|
|
80
|
-
face: "#ffffff",
|
|
81
|
-
top: "#fbfbf9",
|
|
82
|
-
shade: Object.freeze(["#d6d6d2", "#e1e1dd", "#eaeae6", "#f3f3f0"]),
|
|
83
|
-
section: "#c9c9c4",
|
|
84
|
-
cavity: Object.freeze(["#b9bcbf", "#c6c9cc", "#d2d4d6", "#dcdee0"]),
|
|
85
|
-
hi: "#222226",
|
|
86
|
-
mid: "#6f6f75",
|
|
87
|
-
lo: "#a9a9ae",
|
|
88
|
-
faint: "#d0d0d3",
|
|
89
|
-
lit: "#000000",
|
|
90
|
-
accent: OKABE_ITO.blue,
|
|
91
|
-
halo: "#7d7d74",
|
|
92
|
-
haloOpacity: 0.28,
|
|
93
|
-
liquid: "#cfe3ee",
|
|
94
|
-
liquidEdge: "#8fb6cc",
|
|
95
|
-
gas: "#eef4f8",
|
|
96
|
-
weight: 0.2,
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
// Material palette, the isometric default: each base is the mid tone of a real finish, and the
|
|
100
|
-
// view derives a light-to-shadow ramp from it. Colour names what a part is made of; the accent
|
|
101
|
-
// is signal red, a hue no common finish uses, for the one part the text is about.
|
|
102
|
-
export const MATERIAL = Object.freeze({
|
|
103
|
-
concrete: "#b9b2a3",
|
|
104
|
-
steel: "#4f86b5",
|
|
105
|
-
stainless: "#aab6c2",
|
|
106
|
-
frame: "#5f8f4e",
|
|
107
|
-
copper: "#c8743a",
|
|
108
|
-
brass: "#c9a227",
|
|
109
|
-
cast: "#4a4f57",
|
|
110
|
-
insulation: "#d3d7d4",
|
|
111
|
-
rubber: "#2f3133",
|
|
112
|
-
glass: "#bfe0e8",
|
|
113
|
-
accent: "#d1493f",
|
|
114
|
-
liquid: "#8cc3e0",
|
|
115
|
-
});
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// Turns a drawing that moves into a short loop: MP4 for slides and players, an animated WebP
|
|
3
|
-
// and a GIF for READMEs and chat.
|
|
4
|
-
//
|
|
5
|
-
// node motion.mjs <scene.mjs> --out <dir> [--name loop] [--seconds 4] [--fps 24] [--width 1280]
|
|
6
|
-
// [--small 720] [--formats mp4,webp,gif]
|
|
7
|
-
//
|
|
8
|
-
// <scene.mjs> exports frame(t) -> SVG string for t in [0, 1); frame(0) must equal the frame
|
|
9
|
-
// after the last one, so the loop closes without a jump. Every frame is drawn by the kit and
|
|
10
|
-
// rasterised by headless Chrome, so the film is deterministic: the same scene gives the same
|
|
11
|
-
// frames. Encoding uses ffmpeg (MP4, GIF) and img2webp (WebP). Nothing is installed: a missing
|
|
12
|
-
// tool stops the run with ENCODER_REQUIRED and the line for the user to run.
|
|
13
|
-
|
|
14
|
-
import { spawnSync } from "node:child_process";
|
|
15
|
-
import { existsSync, mkdirSync, mkdtempSync, readdirSync, rmSync, statSync } from "node:fs";
|
|
16
|
-
import { tmpdir } from "node:os";
|
|
17
|
-
import { join, resolve } from "node:path";
|
|
18
|
-
import { pathToFileURL } from "node:url";
|
|
19
|
-
import { findChrome, renderPng, svgSize } from "./render.mjs";
|
|
20
|
-
|
|
21
|
-
export function findTool(name, env = process.env) {
|
|
22
|
-
const dirs = (env.PATH ?? "").split(process.platform === "win32" ? ";" : ":").filter(Boolean);
|
|
23
|
-
for (const dir of [...dirs, "/opt/homebrew/bin", "/usr/local/bin", "/usr/bin"]) {
|
|
24
|
-
const file = join(dir, process.platform === "win32" ? `${name}.exe` : name);
|
|
25
|
-
if (existsSync(file)) return file;
|
|
26
|
-
}
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const INSTALL = {
|
|
31
|
-
ffmpeg: "macOS: brew install ffmpeg · Debian/Ubuntu: sudo apt install ffmpeg · Windows: winget install ffmpeg",
|
|
32
|
-
img2webp: "macOS: brew install webp · Debian/Ubuntu: sudo apt install webp · Windows: winget install Google.Libwebp",
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
function run(bin, args) {
|
|
36
|
-
const result = spawnSync(bin, args, { encoding: "utf8", timeout: 600_000 });
|
|
37
|
-
if (result.error) throw new Error(`ENCODE_FAILED ${bin}: ${result.error.message}`);
|
|
38
|
-
if (result.status !== 0) throw new Error(`ENCODE_FAILED ${bin} exited ${result.status}: ${(result.stderr || "").split("\n").filter(Boolean).slice(-2).join(" ")}`);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function renderMotion({ frame, out, name = "loop", seconds = 4, fps = 24, width = 1280, small = 720, formats = ["mp4", "webp", "gif"], onFrame = null, which = findTool, chromePath = findChrome() }) {
|
|
42
|
-
const chrome = chromePath;
|
|
43
|
-
if (!chrome) throw new Error("RENDERER_REQUIRED no Chrome or Chromium found. Install Google Chrome or set CHROME_PATH, then retry.");
|
|
44
|
-
const need = new Set(formats.flatMap((f) => (f === "webp" ? ["ffmpeg", "img2webp"] : ["ffmpeg"])));
|
|
45
|
-
const tools = {};
|
|
46
|
-
for (const tool of need) {
|
|
47
|
-
tools[tool] = which(tool);
|
|
48
|
-
if (!tools[tool]) throw new Error(`ENCODER_REQUIRED ${tool} not found. This script never installs software. ${INSTALL[tool]}`);
|
|
49
|
-
}
|
|
50
|
-
mkdirSync(out, { recursive: true });
|
|
51
|
-
const work = mkdtempSync(join(tmpdir(), "lit-schematic-motion-"));
|
|
52
|
-
try {
|
|
53
|
-
const count = Math.round(seconds * fps);
|
|
54
|
-
const frames = join(work, "frames");
|
|
55
|
-
mkdirSync(frames);
|
|
56
|
-
let size = null;
|
|
57
|
-
for (let i = 0; i < count; i++) {
|
|
58
|
-
const svg = frame(i / count);
|
|
59
|
-
size ??= svgSize(svg);
|
|
60
|
-
const dpi = (width / size.width) * 25.4;
|
|
61
|
-
renderPng({ chrome, svg, out: join(frames, `f${String(i).padStart(4, "0")}.png`), dpi, verify: false });
|
|
62
|
-
onFrame?.(i + 1, count);
|
|
63
|
-
}
|
|
64
|
-
const even = "scale=trunc(iw/2)*2:trunc(ih/2)*2";
|
|
65
|
-
const results = {};
|
|
66
|
-
const input = ["-y", "-loglevel", "error", "-framerate", String(fps), "-i", join(frames, "f%04d.png")];
|
|
67
|
-
if (formats.includes("mp4")) {
|
|
68
|
-
const file = join(out, `${name}.mp4`);
|
|
69
|
-
run(tools.ffmpeg, [...input, "-vf", `${even},format=yuv420p`, "-c:v", "libx264", "-crf", "18", "-preset", "slow", "-movflags", "+faststart", file]);
|
|
70
|
-
results.mp4 = file;
|
|
71
|
-
}
|
|
72
|
-
if (formats.includes("gif")) {
|
|
73
|
-
const file = join(out, `${name}.gif`);
|
|
74
|
-
run(tools.ffmpeg, [...input, "-vf", `scale=${small}:-1:flags=lanczos,split[a][b];[a]palettegen=max_colors=128:stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=4`, "-loop", "0", file]);
|
|
75
|
-
results.gif = file;
|
|
76
|
-
}
|
|
77
|
-
if (formats.includes("webp")) {
|
|
78
|
-
const smallDir = join(work, "small");
|
|
79
|
-
mkdirSync(smallDir);
|
|
80
|
-
run(tools.ffmpeg, [...input, "-vf", `scale=${small}:-1:flags=lanczos`, join(smallDir, "s%04d.png")]);
|
|
81
|
-
const file = join(out, `${name}.webp`);
|
|
82
|
-
const delay = String(Math.round(1000 / fps));
|
|
83
|
-
const list = readdirSync(smallDir).filter((f) => f.endsWith(".png")).sort();
|
|
84
|
-
run(tools.img2webp, ["-loop", "0", "-lossy", "-q", "78", "-m", "4", ...list.flatMap((f) => ["-d", delay, join(smallDir, f)]), "-o", file]);
|
|
85
|
-
results.webp = file;
|
|
86
|
-
}
|
|
87
|
-
return { frames: count, fps, seconds, width, files: Object.fromEntries(Object.entries(results).map(([k, f]) => [k, { file: f, bytes: statSync(f).size }])) };
|
|
88
|
-
} finally {
|
|
89
|
-
rmSync(work, { recursive: true, force: true });
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
async function main(argv) {
|
|
94
|
-
const args = argv.slice(2);
|
|
95
|
-
const value = (flag, fallback) => { const i = args.indexOf(flag); return i >= 0 ? args[i + 1] : fallback; };
|
|
96
|
-
const scene = args[0];
|
|
97
|
-
if (!scene || scene.startsWith("--") || !value("--out")) {
|
|
98
|
-
console.error("Usage: node motion.mjs <scene.mjs exporting frame(t)> --out <dir> [--name loop] [--seconds 4] [--fps 24] [--width 1280] [--small 720] [--formats mp4,webp,gif]");
|
|
99
|
-
return 2;
|
|
100
|
-
}
|
|
101
|
-
const mod = await import(pathToFileURL(resolve(scene)).href);
|
|
102
|
-
if (typeof mod.frame !== "function") {
|
|
103
|
-
console.error(`MOTION_SCENE ${scene} must export frame(t) returning an SVG string`);
|
|
104
|
-
return 2;
|
|
105
|
-
}
|
|
106
|
-
try {
|
|
107
|
-
const result = renderMotion({
|
|
108
|
-
frame: mod.frame,
|
|
109
|
-
out: resolve(value("--out")),
|
|
110
|
-
name: value("--name", "loop"),
|
|
111
|
-
seconds: Number(value("--seconds", 4)),
|
|
112
|
-
fps: Number(value("--fps", 24)),
|
|
113
|
-
width: Number(value("--width", 1280)),
|
|
114
|
-
small: Number(value("--small", 720)),
|
|
115
|
-
formats: value("--formats", "mp4,webp,gif").split(","),
|
|
116
|
-
onFrame: (i, n) => { if (i === n || i % 24 === 0) console.error(`frame ${i}/${n}`); },
|
|
117
|
-
});
|
|
118
|
-
for (const [kind, { file, bytes }] of Object.entries(result.files)) console.log(`MOTION_${kind.toUpperCase()} ${file} ${(bytes / 1024).toFixed(0)} KB`);
|
|
119
|
-
console.log(`MOTION_DONE ${result.frames} frames at ${result.fps} fps (${result.seconds} s)`);
|
|
120
|
-
return 0;
|
|
121
|
-
} catch (error) {
|
|
122
|
-
console.error(error.message);
|
|
123
|
-
return /REQUIRED/u.test(error.message) ? 2 : 1;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
|
|
128
|
-
main(process.argv).then((code) => { process.exitCode = code; });
|
|
129
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// The lit-schematic QA gate.
|
|
3
|
-
//
|
|
4
|
-
// node qa.mjs drawing.svg static checks; exit 1 on any FAIL
|
|
5
|
-
// node qa.mjs drawing.svg --json the same result as JSON
|
|
6
|
-
// node qa.mjs drawing.svg --png d.png --pdf d.pdf [--dpi 600]
|
|
7
|
-
// also checks the exports are whole, the PNG
|
|
8
|
-
// says its resolution and the PDF has the SVG's size
|
|
9
|
-
// node qa.mjs --codes list every check code and what it means
|
|
10
|
-
//
|
|
11
|
-
// Options: --mode pid|pfd|journal|iso|figure (default: the root's data-schematic-mode),
|
|
12
|
-
// --min-pt <n> minimum text size at print, --min-stroke-mm <n>.
|
|
13
|
-
|
|
14
|
-
import { readFileSync } from "node:fs";
|
|
15
|
-
import { resolve } from "node:path";
|
|
16
|
-
import { pathToFileURL } from "node:url";
|
|
17
|
-
import { CODES, check, formatReport } from "./lib/qa-core.mjs";
|
|
18
|
-
import { pngInfo } from "./lib/png.mjs";
|
|
19
|
-
import { svgSize } from "./render.mjs";
|
|
20
|
-
|
|
21
|
-
export function checkExports({ svg, png, pdf, dpi = 600 }) {
|
|
22
|
-
const findings = [];
|
|
23
|
-
const add = (code, message) => findings.push({ code, level: "FAIL", message });
|
|
24
|
-
const size = svgSize(svg);
|
|
25
|
-
if (png) {
|
|
26
|
-
try {
|
|
27
|
-
const info = pngInfo(readFileSync(png));
|
|
28
|
-
if (!info.closed) add("PNG.CLOSED", `${png} is truncated or has a bad chunk checksum`);
|
|
29
|
-
if (!info.dpi || info.dpi + 0.5 < dpi) add("PNG.DPI", `${png} declares ${info.dpi ?? "no"} dpi; ${dpi} dpi is required`);
|
|
30
|
-
const expected = Math.round((size.width / 25.4) * (info.dpi ?? dpi));
|
|
31
|
-
if (info.dpi && Math.abs(info.width - expected) > Math.max(3, expected * 0.01)) add("PNG.DPI", `${png} is ${info.width} px wide; ${expected} px is the drawing width at ${info.dpi} dpi`);
|
|
32
|
-
} catch (error) {
|
|
33
|
-
add("PNG.CLOSED", `${png}: ${error.message}`);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
if (pdf) {
|
|
37
|
-
try {
|
|
38
|
-
const bytes = readFileSync(pdf);
|
|
39
|
-
const head = bytes.subarray(0, 5).toString("latin1");
|
|
40
|
-
const tail = bytes.subarray(Math.max(0, bytes.length - 1024)).toString("latin1");
|
|
41
|
-
if (head !== "%PDF-" || !tail.includes("%%EOF")) add("PDF.CLOSED", `${pdf} lacks a PDF header or end-of-file marker`);
|
|
42
|
-
const box = /\/MediaBox\s*\[\s*([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)\s+([-\d.]+)\s*\]/u.exec(bytes.toString("latin1"));
|
|
43
|
-
if (!box) add("PDF.SIZE", `${pdf} has no readable MediaBox`);
|
|
44
|
-
else {
|
|
45
|
-
const w = ((Number(box[3]) - Number(box[1])) * 25.4) / 72;
|
|
46
|
-
const h = ((Number(box[4]) - Number(box[2])) * 25.4) / 72;
|
|
47
|
-
if (Math.abs(w - size.width) > 1 || Math.abs(h - size.height) > 1) add("PDF.SIZE", `${pdf} page is ${w.toFixed(1)} x ${h.toFixed(1)} mm; the drawing is ${size.width.toFixed(1)} x ${size.height.toFixed(1)} mm`);
|
|
48
|
-
}
|
|
49
|
-
} catch (error) {
|
|
50
|
-
add("PDF.CLOSED", `${pdf}: ${error.message}`);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
return findings;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function main(argv) {
|
|
57
|
-
const args = argv.slice(2);
|
|
58
|
-
const value = (flag) => { const i = args.indexOf(flag); return i >= 0 ? args[i + 1] : undefined; };
|
|
59
|
-
if (args.includes("--codes")) {
|
|
60
|
-
for (const [code, meaning] of Object.entries(CODES)) console.log(`${code.padEnd(20)} ${meaning}`);
|
|
61
|
-
console.log(`${"PNG.CLOSED".padEnd(20)} The PNG is truncated or a chunk checksum is wrong.`);
|
|
62
|
-
console.log(`${"PNG.DPI".padEnd(20)} The PNG does not declare the required resolution or is the wrong pixel width.`);
|
|
63
|
-
console.log(`${"PDF.CLOSED".padEnd(20)} The PDF lacks its header or end-of-file marker.`);
|
|
64
|
-
console.log(`${"PDF.SIZE".padEnd(20)} The PDF page size differs from the drawing size.`);
|
|
65
|
-
return 0;
|
|
66
|
-
}
|
|
67
|
-
const flagged = new Set(["--mode", "--min-pt", "--min-stroke-mm", "--png", "--pdf", "--dpi"]);
|
|
68
|
-
const input = args.find((a, i) => !a.startsWith("--") && !flagged.has(args[i - 1]));
|
|
69
|
-
if (!input) {
|
|
70
|
-
console.error("Usage: node qa.mjs drawing.svg [--json] [--mode pid|pfd|journal|iso|figure] [--min-pt 6] [--png file --pdf file --dpi 600] | --codes");
|
|
71
|
-
return 2;
|
|
72
|
-
}
|
|
73
|
-
const svg = readFileSync(resolve(input), "utf8");
|
|
74
|
-
const result = check(svg, {
|
|
75
|
-
mode: value("--mode"),
|
|
76
|
-
minTextPt: value("--min-pt") ? Number(value("--min-pt")) : undefined,
|
|
77
|
-
minStrokeMm: value("--min-stroke-mm") ? Number(value("--min-stroke-mm")) : undefined,
|
|
78
|
-
});
|
|
79
|
-
if (value("--png") || value("--pdf")) {
|
|
80
|
-
const extra = checkExports({ svg, png: value("--png") && resolve(value("--png")), pdf: value("--pdf") && resolve(value("--pdf")), dpi: Number(value("--dpi") ?? 600) });
|
|
81
|
-
result.findings.push(...extra);
|
|
82
|
-
result.fails += extra.length;
|
|
83
|
-
if (extra.length) result.verdict = "FAIL";
|
|
84
|
-
}
|
|
85
|
-
if (args.includes("--json")) console.log(JSON.stringify({ file: input, ...result }, null, 2));
|
|
86
|
-
else console.log(formatReport(result, input));
|
|
87
|
-
return result.verdict === "PASS" ? 0 : 1;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
|
|
91
|
-
process.exitCode = main(process.argv);
|
|
92
|
-
}
|
|
@@ -1,233 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// Renders a lit-schematic SVG through headless Chrome.
|
|
3
|
-
//
|
|
4
|
-
// node render.mjs drawing.svg --png drawing.png [--dpi 600] raster at print size, pHYs written
|
|
5
|
-
// node render.mjs drawing.svg --pdf drawing.pdf vector PDF at the SVG's mm size
|
|
6
|
-
// node render.mjs drawing.svg --crop x,y,w,h --png close.png one region (viewBox mm) at --dpi
|
|
7
|
-
// node render.mjs drawing.svg --sheet sweep.png [--grid 3x2] close-up contact sheet of the whole drawing
|
|
8
|
-
//
|
|
9
|
-
// It never installs anything. Without Chrome it exits 2 with RENDERER_REQUIRED and the setup
|
|
10
|
-
// line for the user to run. Every launch uses a throwaway profile, a mock keychain and a basic
|
|
11
|
-
// password store, so no keychain dialog reaches the desktop, and the profile is removed after.
|
|
12
|
-
|
|
13
|
-
import { spawnSync } from "node:child_process";
|
|
14
|
-
import { existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
15
|
-
import { tmpdir } from "node:os";
|
|
16
|
-
import { basename, join, resolve } from "node:path";
|
|
17
|
-
import { pathToFileURL } from "node:url";
|
|
18
|
-
import { findPretendard } from "./lib/fonts.mjs";
|
|
19
|
-
import { inkGrid, missingInk, pngInfo, withDpi } from "./lib/png.mjs";
|
|
20
|
-
|
|
21
|
-
export const CHROME_FLAGS = Object.freeze([
|
|
22
|
-
"--headless=new", "--use-mock-keychain", "--password-store=basic", "--no-first-run",
|
|
23
|
-
"--no-default-browser-check", "--disable-gpu", "--hide-scrollbars", "--disable-extensions",
|
|
24
|
-
]);
|
|
25
|
-
const PX_PER_MM = 96 / 25.4;
|
|
26
|
-
const MAX_SIDE = 16000;
|
|
27
|
-
// Headless Chrome returns a screenshot larger than about 100 million pixels with only its first
|
|
28
|
-
// tiles painted and no error (an A2 sheet at 600 dpi is 139 Mpx). Stay well under that.
|
|
29
|
-
const MAX_PIXELS = 80e6;
|
|
30
|
-
|
|
31
|
-
// The device scale and the dpi actually used for a page of cssW x cssH CSS pixels.
|
|
32
|
-
export function rasterScale(cssW, cssH, dpi) {
|
|
33
|
-
let scale = dpi / 96;
|
|
34
|
-
if (Math.max(cssW, cssH) * scale > MAX_SIDE) scale = MAX_SIDE / Math.max(cssW, cssH);
|
|
35
|
-
if (cssW * cssH * scale * scale > MAX_PIXELS) scale = Math.sqrt(MAX_PIXELS / (cssW * cssH));
|
|
36
|
-
const used = Math.min(dpi, Math.floor(scale * 96));
|
|
37
|
-
return { scale: used / 96, dpi: used };
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function findChrome(env = process.env) {
|
|
41
|
-
const candidates = [
|
|
42
|
-
env.CHROME_PATH,
|
|
43
|
-
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
|
|
44
|
-
"/Applications/Chromium.app/Contents/MacOS/Chromium",
|
|
45
|
-
"/Applications/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing",
|
|
46
|
-
"/usr/bin/google-chrome", "/usr/bin/google-chrome-stable", "/usr/bin/chromium", "/usr/bin/chromium-browser",
|
|
47
|
-
"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
|
|
48
|
-
"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
|
|
49
|
-
].filter(Boolean);
|
|
50
|
-
return candidates.find((file) => existsSync(file)) ?? null;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function svgSize(svg) {
|
|
54
|
-
const root = svg.match(/<svg\b[^>]*>/u)?.[0];
|
|
55
|
-
if (!root) throw new Error("SVG_MISSING no <svg> root");
|
|
56
|
-
const get = (name) => root.match(new RegExp(`\\s${name}="([^"]+)"`, "u"))?.[1];
|
|
57
|
-
const view = get("viewBox")?.trim().split(/[\s,]+/u).map(Number);
|
|
58
|
-
const toMm = (value) => {
|
|
59
|
-
const m = /^([\d.]+)\s*(mm|cm|in|pt|px)?$/u.exec(value ?? "");
|
|
60
|
-
if (!m) return null;
|
|
61
|
-
const v = Number(m[1]);
|
|
62
|
-
return { mm: v, cm: v * 10, in: v * 25.4, pt: (v * 25.4) / 72, px: v / PX_PER_MM, undefined: v / PX_PER_MM }[m[2]];
|
|
63
|
-
};
|
|
64
|
-
const width = toMm(get("width"));
|
|
65
|
-
const height = toMm(get("height"));
|
|
66
|
-
if (!view || view.length !== 4 || !width || !height) throw new Error("SVG_SIZE the root needs a viewBox and a physical width and height (for example width=\"178mm\")");
|
|
67
|
-
return { width, height, view };
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function fontFace() {
|
|
71
|
-
const font = findPretendard();
|
|
72
|
-
if (!font) return "";
|
|
73
|
-
return `@font-face{font-family:Pretendard;src:url("${pathToFileURL(font.file).href}");font-weight:100 900}`;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
const stripProlog = (svg) => svg.replace(/^\s*<\?xml[^>]*>\s*/u, "");
|
|
77
|
-
|
|
78
|
-
function page({ svg, widthMm, heightMm, body }) {
|
|
79
|
-
return `<!doctype html><html><head><meta charset="utf-8"><style>${fontFace()}@page{size:${widthMm}mm ${heightMm}mm;margin:0}html,body{margin:0;padding:0;background:#ffffff}svg{display:block}</style></head><body>${body ?? stripProlog(svg)}</body></html>`;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
function runChrome(chrome, args, html, work) {
|
|
83
|
-
const file = join(work, "page.html");
|
|
84
|
-
writeFileSync(file, html);
|
|
85
|
-
const profile = mkdtempSync(join(work, "profile-"));
|
|
86
|
-
try {
|
|
87
|
-
const result = spawnSync(chrome, [...CHROME_FLAGS, `--user-data-dir=${profile}`, ...args, pathToFileURL(file).href], { encoding: "utf8", timeout: 180_000 });
|
|
88
|
-
if (result.error) throw new Error(`RENDER_FAILED ${result.error.message}`);
|
|
89
|
-
if (result.status !== 0) throw new Error(`RENDER_FAILED chrome exited ${result.status}: ${(result.stderr || "").split("\n").slice(-3).join(" ")}`);
|
|
90
|
-
} finally {
|
|
91
|
-
rmSync(profile, { recursive: true, force: true });
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// `verify: false` skips the reference render, for film frames far below the size that can fail.
|
|
96
|
-
export function renderPng({ chrome, svg, out, dpi = 600, crop = null, verify = true }) {
|
|
97
|
-
const size = svgSize(svg);
|
|
98
|
-
let source = svg;
|
|
99
|
-
let widthMm = size.width;
|
|
100
|
-
let heightMm = size.height;
|
|
101
|
-
if (crop) {
|
|
102
|
-
const [x, y, w, h] = crop;
|
|
103
|
-
const sx = size.width / size.view[2];
|
|
104
|
-
widthMm = w * sx;
|
|
105
|
-
heightMm = h * sx;
|
|
106
|
-
source = svg.replace(/<svg\b[^>]*>/u, (root) => root
|
|
107
|
-
.replace(/\sviewBox="[^"]*"/u, ` viewBox="${x} ${y} ${w} ${h}"`)
|
|
108
|
-
.replace(/\swidth="[^"]*"/u, ` width="${widthMm}mm"`)
|
|
109
|
-
.replace(/\sheight="[^"]*"/u, ` height="${heightMm}mm"`));
|
|
110
|
-
}
|
|
111
|
-
const cssW = Math.ceil(widthMm * PX_PER_MM);
|
|
112
|
-
const cssH = Math.ceil(heightMm * PX_PER_MM);
|
|
113
|
-
const work = mkdtempSync(join(tmpdir(), "lit-schematic-render-"));
|
|
114
|
-
try {
|
|
115
|
-
const raw = join(work, "raw.png");
|
|
116
|
-
const html = page({ svg: source, widthMm, heightMm });
|
|
117
|
-
// A small reference render shows where ink belongs; a cell inked there and blank in the full
|
|
118
|
-
// render means the browser stopped painting part of the page. That limit depends on the
|
|
119
|
-
// drawing as well as the size, so step the dpi down until the whole page arrives.
|
|
120
|
-
const ref = join(work, "ref.png");
|
|
121
|
-
if (verify) runChrome(chrome, ["--force-device-scale-factor=0.5", `--window-size=${cssW},${cssH}`, `--screenshot=${ref}`], html, work);
|
|
122
|
-
const reference = verify ? inkGrid(readFileSync(ref)) : null;
|
|
123
|
-
let { dpi: used } = rasterScale(cssW, cssH, dpi);
|
|
124
|
-
for (let attempt = 0; ; attempt++) {
|
|
125
|
-
runChrome(chrome, [`--force-device-scale-factor=${used / 96}`, `--window-size=${cssW},${cssH}`, `--screenshot=${raw}`], html, work);
|
|
126
|
-
const blank = verify ? missingInk(reference, inkGrid(readFileSync(raw))) : [];
|
|
127
|
-
if (!blank.length) break;
|
|
128
|
-
if (attempt === 3) throw new Error(`RENDER_INCOMPLETE ${blank.length} of 36 regions came out blank at ${used} dpi though they hold ink; render --crop regions instead`);
|
|
129
|
-
used = Math.floor(used * 0.85);
|
|
130
|
-
}
|
|
131
|
-
const png = withDpi(readFileSync(raw), used);
|
|
132
|
-
writeFileSync(out, png);
|
|
133
|
-
return { out, ...pngInfo(png), requestedDpi: dpi };
|
|
134
|
-
} finally {
|
|
135
|
-
rmSync(work, { recursive: true, force: true });
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export function renderPdf({ chrome, svg, out }) {
|
|
140
|
-
const size = svgSize(svg);
|
|
141
|
-
const work = mkdtempSync(join(tmpdir(), "lit-schematic-render-"));
|
|
142
|
-
try {
|
|
143
|
-
runChrome(chrome, ["--no-pdf-header-footer", `--print-to-pdf=${resolve(out)}`], page({ svg, widthMm: size.width, heightMm: size.height }), work);
|
|
144
|
-
return { out, widthMm: size.width, heightMm: size.height };
|
|
145
|
-
} finally {
|
|
146
|
-
rmSync(work, { recursive: true, force: true });
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
// One image of every region of the drawing enlarged, labelled with its viewBox box, so the
|
|
151
|
-
// close-up sweep is a single file to read.
|
|
152
|
-
export function renderSheet({ chrome, svg, out, grid = [3, 2], cellPx = 640 }) {
|
|
153
|
-
const size = svgSize(svg);
|
|
154
|
-
const [vx, vy, vw, vh] = size.view;
|
|
155
|
-
const [cols, rows] = grid;
|
|
156
|
-
const cw = vw / cols;
|
|
157
|
-
const ch = vh / rows;
|
|
158
|
-
const cellH = Math.round((cellPx * ch) / cw);
|
|
159
|
-
const inner = stripProlog(svg);
|
|
160
|
-
const cells = [];
|
|
161
|
-
for (let r = 0; r < rows; r++) {
|
|
162
|
-
for (let c = 0; c < cols; c++) {
|
|
163
|
-
const box = [vx + c * cw, vy + r * ch, cw, ch].map((v) => Math.round(v * 10) / 10);
|
|
164
|
-
const copy = inner.replace(/<svg\b[^>]*>/u, (root) => root
|
|
165
|
-
.replace(/\sviewBox="[^"]*"/u, ` viewBox="${box.join(" ")}"`)
|
|
166
|
-
.replace(/\swidth="[^"]*"/u, ` width="${cellPx}px"`)
|
|
167
|
-
.replace(/\sheight="[^"]*"/u, ` height="${cellH}px"`))
|
|
168
|
-
.replaceAll(/\sid="([^"]+)"/gu, ` id="$1-${r}-${c}"`);
|
|
169
|
-
cells.push(`<figure style="margin:0;border:1px solid #999"><figcaption style="font:12px Arial;padding:2px 4px;background:#f2f2f2">crop ${box.join(",")}</figcaption>${copy}</figure>`);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
const body = `<div style="display:grid;grid-template-columns:repeat(${cols},${cellPx + 2}px);gap:8px;padding:8px">${cells.join("")}</div>`;
|
|
173
|
-
const cssW = cols * (cellPx + 10) + 16;
|
|
174
|
-
const cssH = rows * (cellH + 30) + 16;
|
|
175
|
-
const work = mkdtempSync(join(tmpdir(), "lit-schematic-render-"));
|
|
176
|
-
try {
|
|
177
|
-
const raw = join(work, "raw.png");
|
|
178
|
-
runChrome(chrome, ["--force-device-scale-factor=1.5", `--window-size=${cssW},${cssH}`, `--screenshot=${raw}`], page({ svg, widthMm: cssW / PX_PER_MM, heightMm: cssH / PX_PER_MM, body }), work);
|
|
179
|
-
writeFileSync(out, readFileSync(raw));
|
|
180
|
-
return { out, cells: cols * rows };
|
|
181
|
-
} finally {
|
|
182
|
-
rmSync(work, { recursive: true, force: true });
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
function main(argv) {
|
|
187
|
-
const args = argv.slice(2);
|
|
188
|
-
const value = (flag) => { const i = args.indexOf(flag); return i >= 0 ? args[i + 1] : undefined; };
|
|
189
|
-
const input = args.find((a, i) => !a.startsWith("--") && !(i > 0 && args[i - 1].startsWith("--") && args[i - 1] !== "--help"));
|
|
190
|
-
if (!input || args.includes("--help")) {
|
|
191
|
-
console.error("Usage: node render.mjs drawing.svg [--png out.png] [--dpi 600] [--pdf out.pdf] [--crop x,y,w,h] [--sheet sweep.png --grid 3x2]");
|
|
192
|
-
return 2;
|
|
193
|
-
}
|
|
194
|
-
const chrome = findChrome();
|
|
195
|
-
if (!chrome) {
|
|
196
|
-
console.error("RENDERER_REQUIRED no Chrome or Chromium found. This script never installs software. Install Google Chrome, or set CHROME_PATH to a Chrome/Chromium binary, then retry.");
|
|
197
|
-
return 2;
|
|
198
|
-
}
|
|
199
|
-
const svg = readFileSync(resolve(input), "utf8");
|
|
200
|
-
const dpi = Number(value("--dpi") ?? 600);
|
|
201
|
-
const crop = value("--crop")?.split(",").map(Number);
|
|
202
|
-
let did = false;
|
|
203
|
-
if (value("--png")) {
|
|
204
|
-
const r = renderPng({ chrome, svg, out: resolve(value("--png")), dpi, crop });
|
|
205
|
-
console.log(`RENDER_PNG ${r.out} ${r.width}x${r.height} px ${r.dpi} dpi${r.dpi < dpi ? ` (reduced from ${dpi}: the image would exceed what one browser frame paints; render crops for more)` : ""}`);
|
|
206
|
-
did = true;
|
|
207
|
-
}
|
|
208
|
-
if (value("--pdf")) {
|
|
209
|
-
const r = renderPdf({ chrome, svg, out: resolve(value("--pdf")) });
|
|
210
|
-
console.log(`RENDER_PDF ${r.out} ${Math.round(r.widthMm * 10) / 10} x ${Math.round(r.heightMm * 10) / 10} mm`);
|
|
211
|
-
did = true;
|
|
212
|
-
}
|
|
213
|
-
if (value("--sheet")) {
|
|
214
|
-
const grid = (value("--grid") ?? "3x2").split("x").map(Number);
|
|
215
|
-
const r = renderSheet({ chrome, svg, out: resolve(value("--sheet")), grid });
|
|
216
|
-
console.log(`RENDER_SHEET ${r.out} ${r.cells} close-ups of ${basename(input)}`);
|
|
217
|
-
did = true;
|
|
218
|
-
}
|
|
219
|
-
if (!did) {
|
|
220
|
-
console.error("Nothing to do: pass --png, --pdf or --sheet.");
|
|
221
|
-
return 2;
|
|
222
|
-
}
|
|
223
|
-
return 0;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
if (import.meta.url === pathToFileURL(process.argv[1] ?? "").href) {
|
|
227
|
-
try {
|
|
228
|
-
process.exitCode = main(process.argv);
|
|
229
|
-
} catch (error) {
|
|
230
|
-
console.error(error.message);
|
|
231
|
-
process.exitCode = 1;
|
|
232
|
-
}
|
|
233
|
-
}
|