@litfamily/litgravity 0.1.8 → 0.1.10
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 +41 -0
- package/README.md +185 -97
- package/README_ko-KR.md +186 -98
- package/bin/litgravity.mjs +19 -8
- package/lib/agent-file.mjs +9 -7
- package/lib/doctor.mjs +31 -19
- package/lib/extension-manager.mjs +641 -0
- package/lib/host-tools.mjs +9 -36
- package/lib/install.mjs +21 -5
- package/lib/list.mjs +11 -16
- package/lib/paths.mjs +0 -1
- package/package.json +2 -2
- package/plugin/hooks/lib/extensions.mjs +58 -0
- package/plugin/hooks/lib/reentry.mjs +5 -4
- package/plugin/hooks/lib/routes.mjs +52 -9
- package/plugin/hooks/post-tool-use.mjs +0 -2
- package/plugin/hooks/pre-invocation.mjs +0 -2
- package/plugin/hooks/session-start.mjs +8 -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 +14 -5
- package/plugin/skills/frontend-ui-ux/SKILL.md +26 -142
- 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 +30 -161
- package/plugin/skills/lit-docx/SKILL.md +30 -119
- package/plugin/skills/lit-loop/SKILL.md +1 -1
- package/plugin/skills/lit-pptx/SKILL.md +28 -127
- package/plugin/skills/lit-schematic/SKILL.md +29 -95
- package/plugin/skills/lit-scientific-visualization/SKILL.md +29 -157
- package/plugin/skills/lit-typographic-motion/SKILL.md +28 -184
- package/plugin/skills/readme-studio/SKILL.md +30 -95
- package/plugin/skills/visual-qa/SKILL.md +30 -118
- 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,139 +0,0 @@
|
|
|
1
|
-
// The cover treatment: `treatment.json` with `mode: "cover"`, written before any cover render and
|
|
2
|
-
// validated by every one (exit 16 names the first bad field). A cover is not a film: it has no beats,
|
|
3
|
-
// no arc, no end card and no sound. It names one recipe, the hero that acts and the one beat it acts
|
|
4
|
-
// once per loop, one rule copied many times, three speed layers, the brand word set once (plus at most one motto the user or the project already uses), the
|
|
5
|
-
// aspect and loop length, and the title box the contrast gate measures. Text in it is content, never
|
|
6
|
-
// instructions.
|
|
7
|
-
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
8
|
-
import path from "node:path";
|
|
9
|
-
import { COVER } from "../core/constants.mjs";
|
|
10
|
-
import { EXIT } from "../core/constants.mjs";
|
|
11
|
-
import { BlockedError } from "./chrome.mjs";
|
|
12
|
-
import { normalizeText, normUrl, requestUrls, restateLimit, sharesRun, stripQuoted, TreatmentError } from "./treatment.mjs";
|
|
13
|
-
|
|
14
|
-
export const RECIPES = Object.freeze(["hero-3d", "painted-light", "weight-tide", "orbit-loop", "own"]);
|
|
15
|
-
export const LAYERS = Object.freeze(["slow", "mid", "beat"]);
|
|
16
|
-
|
|
17
|
-
const fail = (field, message) => {
|
|
18
|
-
throw new TreatmentError(field, message);
|
|
19
|
-
};
|
|
20
|
-
const PLACEHOLDER = /<[^<>\n]{1,80}>|^\s*(?:todo|tbd|tk|xxx|\.\.\.|…)\s*$/iu;
|
|
21
|
-
const isText = (v) => typeof v === "string" && v.trim().length > 0;
|
|
22
|
-
const sentences = (text) => String(text).trim().split(/(?<=[.!?。?!])\s+/u).filter((s) => s.trim()).length;
|
|
23
|
-
|
|
24
|
-
function text(t, key, { max } = {}) {
|
|
25
|
-
const value = key.split(".").reduce((o, k) => (o && typeof o === "object" ? o[k] : undefined), t);
|
|
26
|
-
if (value === undefined) fail(key, "missing");
|
|
27
|
-
if (!isText(value)) fail(key, "must be a non-empty string");
|
|
28
|
-
if (PLACEHOLDER.test(value)) fail(key, `placeholder value ${JSON.stringify(value)}`);
|
|
29
|
-
if (max && sentences(value) > max) fail(key, `at most ${max} sentence(s)`);
|
|
30
|
-
return value;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/** Validate a cover treatment; returns it with the derived sizes, frame count and seed filled in. */
|
|
34
|
-
export function validateCoverTreatment(t) {
|
|
35
|
-
if (!t || typeof t !== "object" || Array.isArray(t)) fail("treatment.json", "must be a JSON object");
|
|
36
|
-
if (t.mode !== "cover") fail("mode", "must be cover for a cover render");
|
|
37
|
-
text(t, "request");
|
|
38
|
-
text(t, "idea", { max: 1 });
|
|
39
|
-
const quoteFree = normalizeText(stripQuoted(t.request));
|
|
40
|
-
const restated = sharesRun(normalizeText(t.idea), quoteFree, restateLimit(t.request));
|
|
41
|
-
if (restated) fail("idea", `the idea restates the request ("${restated}"); say what the loop does`);
|
|
42
|
-
if (!RECIPES.includes(t.recipe)) fail("recipe", `must be one of ${RECIPES.join(", ")} (references/cover.md)`);
|
|
43
|
-
text(t, "recipeReason", { max: 2 });
|
|
44
|
-
text(t, "hero", { max: 2 });
|
|
45
|
-
text(t, "beat", { max: 2 });
|
|
46
|
-
text(t, "brandWord");
|
|
47
|
-
checkCoverProduct(t);
|
|
48
|
-
if (t.brandWord.trim().split(/\s+/u).length > 3) fail("brandWord", "is the name set once: at most three words");
|
|
49
|
-
if ("motto" in t) {
|
|
50
|
-
const m = t.motto;
|
|
51
|
-
if (!m || typeof m !== "object") fail("motto", "must be an object { text, source }");
|
|
52
|
-
text(t, "motto.text");
|
|
53
|
-
if (m.text.trim().split(/\s+/u).length > 6) fail("motto.text", "at most six words");
|
|
54
|
-
if (!["user", "project"].includes(m.source)) fail("motto.source", "must be user (found in the request) or project (the project's own line, with from)");
|
|
55
|
-
if (m.source === "user" && !normalizeText(t.request).includes(normalizeText(m.text))) fail("motto.text", "a user motto must appear in the request; a cover never invents a tagline");
|
|
56
|
-
if (m.source === "project") text(t, "motto.from");
|
|
57
|
-
}
|
|
58
|
-
for (const key of ["copy", "beats", "lines"]) if (key in t) fail(key, "a cover has no copy lines and no beats: the brand word is set once and never swapped (references/cover.md)");
|
|
59
|
-
if ("sound" in t && t.sound !== "none") fail("sound", "a cover is silent: leave sound out or set it to none");
|
|
60
|
-
if (!(t.aspect in COVER.aspects)) fail("aspect", `must be ${Object.keys(COVER.aspects).join(" or ")}`);
|
|
61
|
-
if (typeof t.loopSec !== "number" || t.loopSec < COVER.minSec || t.loopSec > COVER.maxSec) fail("loopSec", `must be ${COVER.minSec}-${COVER.maxSec} seconds`);
|
|
62
|
-
if (!COVER.fps.includes(t.fps)) fail("fps", `must be one of ${COVER.fps.join(", ")}`);
|
|
63
|
-
if (!t.layers || typeof t.layers !== "object") fail("layers", "missing: name the slow, mid and beat layers");
|
|
64
|
-
for (const k of LAYERS) text(t, `layers.${k}`, { max: 2 });
|
|
65
|
-
if (!t.system || typeof t.system !== "object") fail("system", "missing: the one rule, its copies and their offset");
|
|
66
|
-
for (const k of ["rule", "copies", "offset"]) text(t, `system.${k}`, { max: 2 });
|
|
67
|
-
const title = t.title;
|
|
68
|
-
if (!title || typeof title !== "object") fail("title", "missing: { box: [x, y, w, h] as fractions of the cover, kind: live or painted }");
|
|
69
|
-
if (!Array.isArray(title.box) || title.box.length !== 4 || title.box.some((v) => typeof v !== "number" || v < 0 || v > 1)) fail("title.box", "must be [x, y, w, h], each a fraction 0..1 of the cover");
|
|
70
|
-
if (title.box[0] + title.box[2] > 1 + 1e-9 || title.box[1] + title.box[3] > 1 + 1e-9 || title.box[2] <= 0 || title.box[3] <= 0) fail("title.box", "must lie inside the cover");
|
|
71
|
-
if (!["live", "painted"].includes(title.kind)) fail("title.kind", "must be live (set as text) or painted (part of the base art)");
|
|
72
|
-
if ("palette" in t) {
|
|
73
|
-
if (!Array.isArray(t.palette) || t.palette.length < 2 || t.palette.length > 6) fail("palette", "2-6 { color, role } entries");
|
|
74
|
-
t.palette.forEach((p, i) => {
|
|
75
|
-
if (!/^#[0-9a-f]{6}$/iu.test(p?.color ?? "")) fail(`palette[${i}].color`, "must be #rrggbb");
|
|
76
|
-
if (!isText(p?.role)) fail(`palette[${i}].role`, "must say the colour's job");
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
if ("encode" in t) {
|
|
80
|
-
const e = t.encode;
|
|
81
|
-
if (!e || typeof e !== "object") fail("encode", "must be an object { q, edgeQ, edgeFrames }");
|
|
82
|
-
for (const [k, lo, hi] of [["q", 50, 100], ["edgeQ", 50, 100], ["edgeFrames", 0, 60]]) {
|
|
83
|
-
if (k in e && !(Number.isInteger(e[k]) && e[k] >= lo && e[k] <= hi)) fail(`encode.${k}`, `an integer ${lo}-${hi}`);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
text(t, "ambition", { max: 2 });
|
|
87
|
-
const { page, out } = COVER.aspects[t.aspect];
|
|
88
|
-
const frames = Math.round(t.loopSec * t.fps);
|
|
89
|
-
const encode = { ...COVER.encode, ...(t.encode ?? {}) };
|
|
90
|
-
return { ...t, page, out, frames, encode, seed: Number.isInteger(t.seed) ? t.seed >>> 0 : 0 };
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// A link in the request names the product: the cover is built from its real logo, images and words,
|
|
94
|
-
// fetched by `motion.mjs assets --cover` before the treatment, never from the name alone.
|
|
95
|
-
function checkCoverProduct(t) {
|
|
96
|
-
const urls = requestUrls(t.request);
|
|
97
|
-
if (!("product" in t)) {
|
|
98
|
-
if (urls.length) fail("product", `missing: the request links ${urls[0]}; fetch its real assets first with motion.mjs assets --out <dir> --url <link> --cover, look at them, and set product { name, url } (cover.md, Named products)`);
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
const p = t.product;
|
|
102
|
-
if (!p || typeof p !== "object") fail("product", "must be an object { name, url }");
|
|
103
|
-
text(t, "product.name");
|
|
104
|
-
if (urls.length && !urls.includes(normUrl(p.url))) fail("product.url", `must be the link the request gives (${urls.join(", ")})`);
|
|
105
|
-
if ("unreachable" in p) text(t, "product.unreachable");
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/** Load and validate `<out>/treatment.json` as a cover; keeps the first valid one for the done-check. */
|
|
109
|
-
export function loadCoverTreatment(out) {
|
|
110
|
-
const file = path.join(out, "treatment.json");
|
|
111
|
-
if (!existsSync(file)) fail("treatment.json", `missing: write ${file} before rendering (see references/cover.md)`);
|
|
112
|
-
let raw;
|
|
113
|
-
try {
|
|
114
|
-
raw = JSON.parse(readFileSync(file, "utf8"));
|
|
115
|
-
} catch (error) {
|
|
116
|
-
fail("treatment.json", `not valid JSON (${error.message})`);
|
|
117
|
-
}
|
|
118
|
-
if (raw?.mode !== "cover") fail("mode", "this treatment is a film: render it with stage or make (references/treatment.md); a cover sets mode: cover");
|
|
119
|
-
const treatment = validateCoverTreatment(raw);
|
|
120
|
-
const p = treatment.product;
|
|
121
|
-
if (p?.unreachable) throw new BlockedError(EXIT.BLOCKED_ASSET_MISSING, `BLOCKED_ASSET_MISSING: ${p.name}'s real assets could not be reached (${p.unreachable}); ask the user for its logo or README images, put them in ${path.join(out, "cover", "assets")} and list them in assets.json`);
|
|
122
|
-
if (p && !existsSync(path.join(out, "product.json"))) fail("product", `no ${path.join(out, "product.json")}: run motion.mjs assets --out ${out} --url ${p.url} --cover first`);
|
|
123
|
-
if (p) {
|
|
124
|
-
let fetched = [];
|
|
125
|
-
try {
|
|
126
|
-
fetched = JSON.parse(readFileSync(path.join(out, "product.json"), "utf8"))?.product?.assets ?? [];
|
|
127
|
-
} catch (error) {
|
|
128
|
-
fail("product", `${path.join(out, "product.json")} is not valid JSON (${error.message}); run motion.mjs assets --out ${out} --url ${p.url} --cover again`);
|
|
129
|
-
}
|
|
130
|
-
const astray = fetched.filter((a) => !String(a?.path ?? "").startsWith("cover/assets/"));
|
|
131
|
-
if (astray.length) fail("product", `${astray[0].path} sits outside cover/assets/, where the cover page cannot load it; run motion.mjs assets --out ${out} --url ${p.url} --cover again`);
|
|
132
|
-
}
|
|
133
|
-
const first = path.join(out, ".run", "treatment.first.json");
|
|
134
|
-
if (!existsSync(first)) {
|
|
135
|
-
mkdirSync(path.dirname(first), { recursive: true });
|
|
136
|
-
writeFileSync(first, `${JSON.stringify(raw, null, 2)}\n`);
|
|
137
|
-
}
|
|
138
|
-
return treatment;
|
|
139
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// One cover frame off the capture thread: decode the 2x screenshot, Lanczos-downsample it to the
|
|
2
|
-
// cover size, write it as an RGB PNG (the encoder's input and the G0 / seek-order hash source) and
|
|
3
|
-
// return the SHA-256 of that PNG.
|
|
4
|
-
import { createHash } from "node:crypto";
|
|
5
|
-
import { writeFileSync } from "node:fs";
|
|
6
|
-
import { parentPort } from "node:worker_threads";
|
|
7
|
-
import { lanczosResize } from "./cover-image.mjs";
|
|
8
|
-
import { decodePng, encodePng, rgbaToRgb } from "./png.mjs";
|
|
9
|
-
|
|
10
|
-
parentPort.on("message", ({ id, png, width, height, file }) => {
|
|
11
|
-
try {
|
|
12
|
-
const src = decodePng(Buffer.from(png));
|
|
13
|
-
const rgba = src.channels === 4 ? src.pixels : Buffer.from(rgbaFromRgb(src.pixels, src.width, src.height));
|
|
14
|
-
const small = lanczosResize(rgba, src.width, src.height, width, height);
|
|
15
|
-
const bytes = encodePng(rgbaToRgb(small, width, height), width, height, 3, { level: 1 });
|
|
16
|
-
if (file) writeFileSync(file, bytes);
|
|
17
|
-
parentPort.postMessage({ id, sha256: createHash("sha256").update(bytes).digest("hex"), captured: `${src.width}x${src.height}` });
|
|
18
|
-
} catch (error) {
|
|
19
|
-
parentPort.postMessage({ id, error: error.message });
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
function rgbaFromRgb(rgb, width, height) {
|
|
24
|
-
const out = new Uint8Array(width * height * 4);
|
|
25
|
-
for (let i = 0; i < width * height; i++) {
|
|
26
|
-
out[i * 4] = rgb[i * 3];
|
|
27
|
-
out[i * 4 + 1] = rgb[i * 3 + 1];
|
|
28
|
-
out[i * 4 + 2] = rgb[i * 3 + 2];
|
|
29
|
-
out[i * 4 + 3] = 255;
|
|
30
|
-
}
|
|
31
|
-
return out;
|
|
32
|
-
}
|
|
@@ -1,385 +0,0 @@
|
|
|
1
|
-
// Cover mode: a seamless README cover loop. One round: cover treatment check -> static scan of the
|
|
2
|
-
// page -> the asset list (exit 22 for a missing asset, before any capture) -> fonts -> master Chrome
|
|
3
|
-
// seeks t = i / N for every frame at 2x and the pool downsamples (Lanczos) to the cover size -> the
|
|
4
|
-
// title-mask pass in the same browser -> a fresh Chrome repeats every frame for G0 -> another fresh
|
|
5
|
-
// Chrome renders a seeded shuffle of frames, which must match the master (a page that keeps state
|
|
6
|
-
// between frames fails here) -> flash audit on the frames (looped) -> img2webp (frame 0 and the
|
|
7
|
-
// frames before the seam at a higher quality), or gifski when img2webp is missing -> the cover gate
|
|
8
|
-
// on the DECODED file, with the title's glyph height and frame 0's base art -> stills (decoded sheet
|
|
9
|
-
// frames, poster, seam pair) and the contact sheet with the frame-difference plot -> manifest and
|
|
10
|
-
// report. A flash-audit FAIL withholds the cover. `--window t0,t1` renders and sheets only the frames
|
|
11
|
-
// around a logged defect, before the next full render; it never counts as done.
|
|
12
|
-
import { createHash } from "node:crypto";
|
|
13
|
-
import { spawnSync } from "node:child_process";
|
|
14
|
-
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
15
|
-
import path from "node:path";
|
|
16
|
-
import { COVER, EXIT } from "../core/constants.mjs";
|
|
17
|
-
import { auditRecords, cellsFromRgba, detectSequence, gridFor } from "../core/flash.mjs";
|
|
18
|
-
import { BlockedError } from "./chrome.mjs";
|
|
19
|
-
import { artCheck, checkAssets } from "./cover-assets.mjs";
|
|
20
|
-
import { capturePass, CoverBrowser, CoverPool } from "./cover-capture.mjs";
|
|
21
|
-
import { coverGate, formatCoverReport, pngFrames, readPngRgba } from "./cover-gate.mjs";
|
|
22
|
-
import { lumaGrid } from "./cover-image.mjs";
|
|
23
|
-
import { renderSheet } from "./cover-sheet.mjs";
|
|
24
|
-
import { loadCoverTreatment } from "./cover-treatment.mjs";
|
|
25
|
-
import { findFfmpeg, findImg2webp, which } from "./encode.mjs";
|
|
26
|
-
import { asBlocked } from "./pipeline.mjs";
|
|
27
|
-
import { encodePng, rgbaToRgb } from "./png.mjs";
|
|
28
|
-
import { rasterInfo, scanStage, stageFonts } from "./stage-serve.mjs";
|
|
29
|
-
import { STILLS_DIR, INDEX_FILE } from "./stills.mjs";
|
|
30
|
-
import { findDwebp } from "./webp.mjs";
|
|
31
|
-
|
|
32
|
-
export const COVER_STAGE = "cover";
|
|
33
|
-
export const COVER_OUTPUTS = Object.freeze(["cover.webp", "cover.gif", "poster.png"]);
|
|
34
|
-
export const SHEET_TILES = 12;
|
|
35
|
-
|
|
36
|
-
const sha256 = (bytes) => createHash("sha256").update(bytes).digest("hex");
|
|
37
|
-
const writeJson = (file, value) => {
|
|
38
|
-
mkdirSync(path.dirname(file), { recursive: true });
|
|
39
|
-
writeFileSync(file, `${JSON.stringify(value, null, 2)}\n`);
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
/** Per-frame display time in ms: whole milliseconds, as img2webp writes them. */
|
|
43
|
-
export const frameMs = (fps) => Math.round(1000 / fps);
|
|
44
|
-
|
|
45
|
-
/** img2webp arguments: lossy, loop forever, frame 0 and the last `edgeFrames` at `edgeQ`. */
|
|
46
|
-
export function img2webpArgs({ files, fps, encode, out }) {
|
|
47
|
-
const ms = frameMs(fps);
|
|
48
|
-
const args = ["-loop", "0", "-lossy", "-q", String(encode.q), "-m", String(encode.method)];
|
|
49
|
-
files.forEach((file, i) => {
|
|
50
|
-
const q = i === 0 || i >= files.length - encode.edgeFrames ? encode.edgeQ : encode.q;
|
|
51
|
-
args.push("-d", String(ms), "-q", String(q), file);
|
|
52
|
-
});
|
|
53
|
-
args.push("-o", out);
|
|
54
|
-
return args;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/** Encode the frames: img2webp first; gifski is the fallback; nothing else is a cover. */
|
|
58
|
-
export function encodeCover({ files, fps, encode, out, env = process.env }) {
|
|
59
|
-
const img2webp = findImg2webp(env);
|
|
60
|
-
const dwebp = findDwebp(env);
|
|
61
|
-
if (img2webp && dwebp) {
|
|
62
|
-
const file = path.join(out, "cover.webp");
|
|
63
|
-
const r = spawnSync(img2webp, img2webpArgs({ files, fps, encode, out: file }), { encoding: "utf8", maxBuffer: 64 * 1024 * 1024 });
|
|
64
|
-
if (r.status !== 0) throw new Error(`img2webp failed: ${(r.stderr || r.error?.message || "").trim().split("\n").slice(-1)[0]}`);
|
|
65
|
-
return { file, encoder: "img2webp" };
|
|
66
|
-
}
|
|
67
|
-
const gifski = which("gifski", env);
|
|
68
|
-
if (gifski) {
|
|
69
|
-
const file = path.join(out, "cover.gif");
|
|
70
|
-
const r = spawnSync(gifski, ["--fps", String(fps), "--quality", "90", "--repeat", "0", "-o", file, ...files], { encoding: "utf8", maxBuffer: 64 * 1024 * 1024 });
|
|
71
|
-
if (r.status !== 0) throw new Error(`gifski failed: ${(r.stderr || r.error?.message || "").trim().split("\n").slice(-1)[0]}`);
|
|
72
|
-
return { file, encoder: "gifski" };
|
|
73
|
-
}
|
|
74
|
-
throw new BlockedError(EXIT.BLOCKED_NO_COVER_ENCODER, "BLOCKED_NO_COVER_ENCODER: install libwebp (img2webp and dwebp) or gifski; a cover is never an MP4");
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/** Loop times on the master grid: frame i shows t = i / N. */
|
|
78
|
-
export const loopTimes = (frames) => Array.from({ length: frames }, (_, i) => [i, i / frames]);
|
|
79
|
-
|
|
80
|
-
/** The decoded frame shown at `ms` given per-frame durations. */
|
|
81
|
-
export function frameAt(durations, ms) {
|
|
82
|
-
let acc = 0;
|
|
83
|
-
for (let i = 0; i < durations.length; i++) {
|
|
84
|
-
acc += durations[i];
|
|
85
|
-
if (ms < acc) return i;
|
|
86
|
-
}
|
|
87
|
-
return durations.length - 1;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/** Flash audit (WCAG 2.3.1, the film gate's own detector) on the cover frames, looped. */
|
|
91
|
-
function flashAudit(files, fps) {
|
|
92
|
-
const first = readPngRgba(files[0]);
|
|
93
|
-
const grid = gridFor(first.width, first.height);
|
|
94
|
-
const cells = files.map((f) => {
|
|
95
|
-
const img = readPngRgba(f);
|
|
96
|
-
return cellsFromRgba(img.rgba, img.width, img.height, undefined, grid);
|
|
97
|
-
});
|
|
98
|
-
return auditRecords(detectSequence(cells, { loop: true, grid }), fps, { loop: true });
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/** Write the cover stills set (decoded frames) and its index; the sheet is rendered after. */
|
|
102
|
-
function writeCoverStills({ out, round, gate, durations, kept, width, height }) {
|
|
103
|
-
const dir = path.join(out, STILLS_DIR);
|
|
104
|
-
rmSync(dir, { recursive: true, force: true });
|
|
105
|
-
mkdirSync(dir, { recursive: true });
|
|
106
|
-
const total = durations.reduce((a, b) => a + b, 0);
|
|
107
|
-
const entries = [];
|
|
108
|
-
const put = (name, bytes, extra) => {
|
|
109
|
-
writeFileSync(path.join(dir, name), bytes);
|
|
110
|
-
entries.push({ file: `${STILLS_DIR}/${name}`, sha256: sha256(bytes), ...extra });
|
|
111
|
-
};
|
|
112
|
-
const png = (rgba) => encodePng(rgbaToRgb(rgba, width, height), width, height, 3, { level: 6 });
|
|
113
|
-
const tiles = [];
|
|
114
|
-
for (let k = 0; k < SHEET_TILES; k++) {
|
|
115
|
-
const t = k / SHEET_TILES;
|
|
116
|
-
const idx = frameAt(durations, t * total);
|
|
117
|
-
const name = `frame-${String(k).padStart(2, "0")}.png`;
|
|
118
|
-
put(name, png(kept.get(idx)), { kind: "frame", t: +t.toFixed(4), decodedFrame: idx });
|
|
119
|
-
tiles.push({ file: path.join(dir, name), caption: `t=${t.toFixed(3)} frame ${idx}` });
|
|
120
|
-
}
|
|
121
|
-
const last = durations.length - 1;
|
|
122
|
-
put("poster.png", png(kept.get(0)), { kind: "poster", decodedFrame: 0 });
|
|
123
|
-
const seam = Buffer.alloc(width * 2 * height * 4);
|
|
124
|
-
for (let y = 0; y < height; y++) {
|
|
125
|
-
kept.get(last).copy(seam, y * width * 2 * 4, y * width * 4, (y + 1) * width * 4);
|
|
126
|
-
kept.get(0).copy(seam, (y * width * 2 + width) * 4, y * width * 4, (y + 1) * width * 4);
|
|
127
|
-
}
|
|
128
|
-
put("seam.png", encodePng(rgbaToRgb(seam, width * 2, height), width * 2, height, 3, { level: 6 }), { kind: "seam", decodedFrames: [last, 0] });
|
|
129
|
-
return { dir, entries, tiles, finish(sheetFile) {
|
|
130
|
-
const bytes = readFileSync(sheetFile);
|
|
131
|
-
entries.push({ file: `${STILLS_DIR}/sheet.png`, sha256: sha256(bytes), kind: "sheet" });
|
|
132
|
-
const index = { schema: "litgravity.motion-stills/v1", path: "cover", mode: "cover", round, stillsOnly: false, width, height, durationSec: gate.sourceDurationSec, files: entries, gate: { pass: gate.pass, target: gate.target } };
|
|
133
|
-
const indexBytes = Buffer.from(`${JSON.stringify(index, null, 2)}\n`);
|
|
134
|
-
writeFileSync(path.join(dir, INDEX_FILE), indexBytes);
|
|
135
|
-
return { index, sha256: sha256(indexBytes) };
|
|
136
|
-
} };
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/** Seeded shuffle (mulberry32, the loop kit's generator) of `count` distinct frame indices. */
|
|
140
|
-
export function seekOrder(frames, seed, count = COVER.seekSamples) {
|
|
141
|
-
let a = seed >>> 0;
|
|
142
|
-
const r = () => {
|
|
143
|
-
a = (a + 0x6d2b79f5) >>> 0;
|
|
144
|
-
let x = Math.imul(a ^ (a >>> 15), 1 | a);
|
|
145
|
-
x = (x + Math.imul(x ^ (x >>> 7), 61 | x)) ^ x;
|
|
146
|
-
return ((x ^ (x >>> 14)) >>> 0) / 4294967296;
|
|
147
|
-
};
|
|
148
|
-
const all = Array.from({ length: frames }, (_, i) => i);
|
|
149
|
-
for (let i = frames - 1; i > 0; i--) {
|
|
150
|
-
const j = Math.floor(r() * (i + 1));
|
|
151
|
-
[all[i], all[j]] = [all[j], all[i]];
|
|
152
|
-
}
|
|
153
|
-
return all.slice(0, Math.min(count, frames));
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/** The seek-order check's tolerance: the one-level rounding of the software rasterizer. */
|
|
157
|
-
export const SEEK_LEVELS = 1;
|
|
158
|
-
|
|
159
|
-
/** The largest per-channel difference between two same-size PNG frames. */
|
|
160
|
-
export function maxLevelDiff(a, b) {
|
|
161
|
-
const x = readPngRgba(a);
|
|
162
|
-
const y = readPngRgba(b);
|
|
163
|
-
if (x.width !== y.width || x.height !== y.height) return 255;
|
|
164
|
-
let max = 0;
|
|
165
|
-
for (let i = 0; i < x.rgba.length; i++) {
|
|
166
|
-
const d = Math.abs(x.rgba[i] - y.rgba[i]);
|
|
167
|
-
if (d > max) max = d;
|
|
168
|
-
}
|
|
169
|
-
return max;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/** Read a raster's pixels: PNG in JS, anything else through ffmpeg. */
|
|
173
|
-
function readRaster(file, env) {
|
|
174
|
-
try {
|
|
175
|
-
return readPngRgba(file);
|
|
176
|
-
} catch {
|
|
177
|
-
const info = rasterInfo(file);
|
|
178
|
-
const ffmpeg = findFfmpeg(env);
|
|
179
|
-
if (!info || !ffmpeg) return null;
|
|
180
|
-
const raw = spawnSync(ffmpeg, ["-v", "error", "-i", file, "-frames:v", "1", "-f", "rawvideo", "-pix_fmt", "rgba", "pipe:1"], { maxBuffer: 2 ** 30 });
|
|
181
|
-
return raw.status === 0 ? { width: info.width, height: info.height, rgba: raw.stdout } : null;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/** Everything a cover round checks before the first capture: treatment, page, scan, assets, fonts. */
|
|
186
|
-
function prepare({ out, env, log }) {
|
|
187
|
-
const treatment = asBlocked(() => loadCoverTreatment(out));
|
|
188
|
-
const stageDir = path.join(out, COVER_STAGE);
|
|
189
|
-
if (!existsSync(path.join(stageDir, "index.html"))) throw new BlockedError(EXIT.STAGE_CONTRACT_ERROR, `STAGE_CONTRACT_ERROR: ${path.join(stageDir, "index.html")} is missing; write the cover page first (references/cover.md)`);
|
|
190
|
-
const scan = scanStage(stageDir, { clips: false });
|
|
191
|
-
for (const w of scan.warnings) log(`warning: ${w}`);
|
|
192
|
-
const { assets } = checkAssets({ out, treatment, rasters: scan.rasters, coverDir: COVER_STAGE });
|
|
193
|
-
return { treatment, stageDir, assets, faces: stageFonts(env) };
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Render one cover round. Returns { code, message, gate }. Exit 13 when the decoded cover misses a
|
|
198
|
-
* FLOOR or TARGET gate (the cover mode goal is TARGET) or the flash audit fails.
|
|
199
|
-
*/
|
|
200
|
-
export async function renderCover({ out, round = 1, env = process.env, log = () => {} }) {
|
|
201
|
-
const { treatment, stageDir, assets, faces } = prepare({ out, env, log });
|
|
202
|
-
if (!(findImg2webp(env) && findDwebp(env)) && !which("gifski", env)) encodeCover({ files: [], fps: treatment.fps, encode: treatment.encode, out, env });
|
|
203
|
-
const [pw, ph] = treatment.page;
|
|
204
|
-
const [w, h] = treatment.out;
|
|
205
|
-
const runDir = path.join(out, ".run", "cover");
|
|
206
|
-
rmSync(runDir, { recursive: true, force: true });
|
|
207
|
-
const dirs = { frames: path.join(runDir, "frames"), masks: path.join(runDir, "masks"), frames2: path.join(runDir, "frames2"), seek: path.join(runDir, "seek") };
|
|
208
|
-
for (const d of Object.values(dirs)) mkdirSync(d, { recursive: true });
|
|
209
|
-
const times = loopTimes(treatment.frames);
|
|
210
|
-
const pool = new CoverPool();
|
|
211
|
-
const started = Date.now();
|
|
212
|
-
let master;
|
|
213
|
-
let replay;
|
|
214
|
-
let sought;
|
|
215
|
-
const order = seekOrder(times.length, treatment.seed || 20261020);
|
|
216
|
-
let rung = treatment.recipe === "hero-3d" ? "gpu" : "software";
|
|
217
|
-
const notices = [];
|
|
218
|
-
try {
|
|
219
|
-
const open = (label) => CoverBrowser.open({ stageDir, faces, width: pw, height: ph, scale: COVER.captureScale, profileDir: path.join(runDir, `chrome-${label}`), rung, env, log });
|
|
220
|
-
let a;
|
|
221
|
-
try {
|
|
222
|
-
a = await open("master");
|
|
223
|
-
} catch (error) {
|
|
224
|
-
// The 3D hero asks for the GPU rung; when it cannot start or draw there, all three passes take
|
|
225
|
-
// the software rung (they must share one) and the report says so.
|
|
226
|
-
if (rung !== "gpu" || error.code === EXIT.BLOCKED_NO_CHROME || error.code === EXIT.STAGE_NETWORK_REQUEST || error.code === EXIT.STAGE_NONDETERMINISTIC) throw error;
|
|
227
|
-
notices.push(`the 3D hero asked for the GPU rung and it failed there (${String(error.message).slice(0, 120)}); rendered on the software rung (SwiftShader), slower, same frames`);
|
|
228
|
-
rung = "software";
|
|
229
|
-
a = await open("master");
|
|
230
|
-
}
|
|
231
|
-
try {
|
|
232
|
-
master = await capturePass({ browser: a, pool, times, dir: dirs.frames, prefix: "f", width: w, height: h });
|
|
233
|
-
await capturePass({ browser: a, pool, times, dir: dirs.masks, prefix: "m", mask: true, width: w, height: h });
|
|
234
|
-
} finally {
|
|
235
|
-
await a.close();
|
|
236
|
-
}
|
|
237
|
-
const b = await open("replay");
|
|
238
|
-
try {
|
|
239
|
-
replay = await capturePass({ browser: b, pool, times, dir: dirs.frames2, prefix: "f", width: w, height: h });
|
|
240
|
-
} finally {
|
|
241
|
-
await b.close();
|
|
242
|
-
}
|
|
243
|
-
const c = await open("seek");
|
|
244
|
-
try {
|
|
245
|
-
sought = await capturePass({ browser: c, pool, times: order.map((i) => times[i]), dir: dirs.seek, prefix: "s", width: w, height: h });
|
|
246
|
-
} finally {
|
|
247
|
-
await c.close();
|
|
248
|
-
}
|
|
249
|
-
} finally {
|
|
250
|
-
await pool.close();
|
|
251
|
-
}
|
|
252
|
-
const captureSec = (Date.now() - started) / 1000;
|
|
253
|
-
const differing = times.filter(([i]) => master.get(i) !== replay.get(i)).map(([i, t]) => `frame ${i} (t = ${t.toFixed(4)})`);
|
|
254
|
-
if (differing.length) throw new BlockedError(EXIT.STAGE_NONDETERMINISTIC, `STAGE_NONDETERMINISTIC: a fresh capture differs at ${differing.slice(0, 4).join(", ")}${differing.length > 4 ? ` (+${differing.length - 4})` : ""}; draw every pixel from t and LitLoop.rng(seed)`);
|
|
255
|
-
const ms = frameMs(treatment.fps);
|
|
256
|
-
// A frame that differs by at most one level per channel is the renderer's known rounding when
|
|
257
|
-
// opacity and transform change together (it depends on which frames were painted before);
|
|
258
|
-
// state kept between frames differs by far more.
|
|
259
|
-
let oneLevel = 0;
|
|
260
|
-
for (let off = 0; off < order.length; off++) {
|
|
261
|
-
const i = order[off];
|
|
262
|
-
if (sought.get(i) === master.get(i)) continue;
|
|
263
|
-
const step = maxLevelDiff(path.join(dirs.frames, `f${String(i).padStart(4, "0")}.png`), path.join(dirs.seek, `s${String(i).padStart(4, "0")}.png`));
|
|
264
|
-
if (step <= SEEK_LEVELS) {
|
|
265
|
-
oneLevel += 1;
|
|
266
|
-
continue;
|
|
267
|
-
}
|
|
268
|
-
throw new BlockedError(EXIT.STAGE_NONDETERMINISTIC, `STAGE_NONDETERMINISTIC: frame ${i} (t = ${((i * ms) / 1000).toFixed(3)} s) differs when sought out of order by up to ${step} levels (a fresh page drew it ${off ? `after frame ${order[off - 1]}` : "first"}); the page keeps state between frames: clear every canvas and draw each frame from t alone`);
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
const files = pngFrames(dirs.frames, "f");
|
|
272
|
-
const flash = flashAudit(files, treatment.fps);
|
|
273
|
-
const encoded = encodeCover({ files, fps: treatment.fps, encode: treatment.encode, out, env });
|
|
274
|
-
for (const stale of COVER_OUTPUTS.filter((f) => path.join(out, f) !== encoded.file)) rmSync(path.join(out, stale), { force: true });
|
|
275
|
-
const planned = times.length * ms;
|
|
276
|
-
const wanted = new Set([0, ...Array.from({ length: SHEET_TILES }, (_, k) => (k / SHEET_TILES) * planned)]);
|
|
277
|
-
let elapsed = 0;
|
|
278
|
-
const keep = (i, dur) => {
|
|
279
|
-
const start = elapsed;
|
|
280
|
-
elapsed += dur;
|
|
281
|
-
return i === 0 || start + dur >= planned || [...wanted].some((x) => x >= start && x < start + dur);
|
|
282
|
-
};
|
|
283
|
-
const paintedIn = treatment.title.kind === "painted" ? assets.find((a) => a.role === "base-art" && a.title) : null;
|
|
284
|
-
const glyph = { displayWidth: COVER.displayWidth, exempt: paintedIn ? `painted into the base art ${paintedIn.path}` : null };
|
|
285
|
-
const gate = coverGate(encoded.file, { frames: dirs.frames, frames2: dirs.frames2, masks: dirs.masks, title: treatment.title.box, glyph, fps: treatment.fps, keep, env });
|
|
286
|
-
gate.gates.SEEK = { pass: true, sampled: order.length, identical: order.length - oneLevel, oneLevel };
|
|
287
|
-
for (const a of assets.filter((x) => x.role === "base-art")) {
|
|
288
|
-
const art = readRaster(path.join(out, a.path), env);
|
|
289
|
-
const check = art ? artCheck({ frame0: gate.kept.get(0), width: gate.width, height: gate.height, art, box: a.box, checkBox: a.checkBox }) : null;
|
|
290
|
-
gate.gates.ART = check ? { pass: check.pass, ssim: check.ssim, checked: check.checked.join(",") } : { pass: false, reason: `${a.path} could not be decoded to compare with frame 0` };
|
|
291
|
-
}
|
|
292
|
-
gate.gates.FLASH = { pass: flash.pass, generalFlashes: flash.general.flashes, redFlashes: flash.red.flashes, worstAtSec: flash.general.startSec };
|
|
293
|
-
gate.pass = Object.values(gate.gates).every((v) => v.pass !== false);
|
|
294
|
-
gate.target = gate.target && gate.pass;
|
|
295
|
-
const stills = writeCoverStills({ out, round, gate, durations: gate.durations, kept: gate.kept, width: gate.width, height: gate.height });
|
|
296
|
-
const status = Object.entries(gate.gates).map(([k, v]) => `${k}:${v.pass === false ? "FAIL" : v.target === false ? "floor" : "ok"}`).join(" ");
|
|
297
|
-
const sheetFile = path.join(stills.dir, "sheet.png");
|
|
298
|
-
await renderSheet({
|
|
299
|
-
file: sheetFile, tiles: stills.tiles, diffs: gate.diffs, medianD: gate.medianD, durationSec: gate.durationSec, faces, env, log,
|
|
300
|
-
label: `median d ${gate.medianD.toFixed(5)} | moving ${(100 * gate.movingFrac).toFixed(0)}% | longest still ${gate.longestStillSec.toFixed(2)}s | spike ${gate.spike.toFixed(1)} | seam ${gate.seamLocal.toFixed(2)}x local | ${(gate.bytes / 1048576).toFixed(2)} MiB`,
|
|
301
|
-
status, workDir: path.join(runDir, "sheet"),
|
|
302
|
-
});
|
|
303
|
-
const indexed = stills.finish(sheetFile);
|
|
304
|
-
writeFileSync(path.join(out, "poster.png"), readFileSync(path.join(stills.dir, "poster.png")));
|
|
305
|
-
const report = `${formatCoverReport(gate, { strict: true })}${notices.map((n) => `warning: ${n}\n`).join("")}`;
|
|
306
|
-
writeFileSync(path.join(out, "gate-report.txt"), report);
|
|
307
|
-
const manifest = {
|
|
308
|
-
schema: "litgravity.motion-cover/v1", mode: "cover", round, recipe: treatment.recipe,
|
|
309
|
-
treatmentSha256: sha256(readFileSync(path.join(out, "treatment.json"))), stillsSha256: indexed.sha256,
|
|
310
|
-
page: treatment.page, size: treatment.out, scale: COVER.captureScale, rung, warnings: notices, fps: treatment.fps, frames: times.length, frameMs: ms,
|
|
311
|
-
encoder: encoded.encoder, encode: treatment.encode, file: path.basename(encoded.file), bytes: statSync(encoded.file).size, captureSec,
|
|
312
|
-
gate: { pass: gate.pass, target: gate.target, medianD: gate.medianD, movingFrac: gate.movingFrac, longestStillSec: gate.longestStillSec, spike: gate.spike, seamLocal: gate.seamLocal, gates: gate.gates },
|
|
313
|
-
};
|
|
314
|
-
writeJson(path.join(out, "manifest.json"), manifest);
|
|
315
|
-
if (!flash.pass) {
|
|
316
|
-
const held = path.join(out, "withheld");
|
|
317
|
-
mkdirSync(held, { recursive: true });
|
|
318
|
-
renameSync(encoded.file, path.join(held, path.basename(encoded.file)));
|
|
319
|
-
rmSync(path.join(out, "poster.png"), { force: true });
|
|
320
|
-
}
|
|
321
|
-
const verdict = gate.target ? "PASS+TARGET" : gate.pass ? "PASS(floor)" : "FAIL";
|
|
322
|
-
const failed = Object.entries(gate.gates).filter(([, v]) => v.pass === false || v.target === false).map(([k]) => k);
|
|
323
|
-
const message = `${report}cover: ${path.basename(encoded.file)} ${manifest.bytes} bytes, ${times.length} frames at ${treatment.fps} fps, ${w}x${h} (captured ${pw * COVER.captureScale}x${ph * COVER.captureScale}) in ${captureSec.toFixed(0)} s; stills and sheet in ${path.join(out, STILLS_DIR)}`;
|
|
324
|
-
if (verdict === "PASS+TARGET") return { code: EXIT.OK, message, gate: manifest.gate };
|
|
325
|
-
return { code: EXIT.GATE_FAIL_QA, message: `${message}\nGATE_FAIL_QA: ${failed.join(", ")} ${gate.pass ? "miss the cover TARGET" : "fail"}${flash.pass ? "" : " (flash audit failed: the cover is withheld)"}; see ${path.join(out, "gate-report.txt")}`, gate: manifest.gate };
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* `--window t0,t1` (seconds into the loop): capture only the frames from t0 - 0.5 s to t1 + 0.5 s
|
|
331
|
-
* (wrapping at the seam) in a fresh page and sheet them, with the span itself shaded on the plot.
|
|
332
|
-
* It reads the same treatment, page and asset list as a full render and writes only under
|
|
333
|
-
* `windows/round-N/`; the stills, the cover file, the report and the manifest stay untouched, so a
|
|
334
|
-
* window render never counts as done.
|
|
335
|
-
*/
|
|
336
|
-
export async function renderCoverWindow({ out, round = 1, window: [t0, t1], env = process.env, log = () => {} }) {
|
|
337
|
-
const { treatment, stageDir, faces } = prepare({ out, env, log });
|
|
338
|
-
const ms = frameMs(treatment.fps);
|
|
339
|
-
const total = (treatment.frames * ms) / 1000;
|
|
340
|
-
if (!(Number.isFinite(t0) && Number.isFinite(t1) && t0 >= 0 && t1 >= t0 && t1 <= total)) throw new BlockedError(EXIT.USAGE, `--window takes t0,t1 in seconds with 0 <= t0 <= t1 <= ${total.toFixed(3)}`);
|
|
341
|
-
const lo = t0 - COVER.windowPadSec;
|
|
342
|
-
const hi = t1 + COVER.windowPadSec;
|
|
343
|
-
const picks = [];
|
|
344
|
-
for (let i = 0; i < treatment.frames; i++) {
|
|
345
|
-
for (const k of [-1, 0, 1]) {
|
|
346
|
-
const t = (i * ms) / 1000 + k * total;
|
|
347
|
-
if (t >= lo - 1e-9 && t <= hi + 1e-9) picks.push({ index: i, t: +t.toFixed(3) });
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
picks.sort((a, b) => a.t - b.t);
|
|
351
|
-
const dir = path.join(out, "windows", `round-${round}`, `${t0.toFixed(3)}-${t1.toFixed(3)}`);
|
|
352
|
-
rmSync(dir, { recursive: true, force: true });
|
|
353
|
-
mkdirSync(dir, { recursive: true });
|
|
354
|
-
const [w, h] = treatment.out;
|
|
355
|
-
const pool = new CoverPool();
|
|
356
|
-
const browser = await CoverBrowser.open({ stageDir, faces, width: treatment.page[0], height: treatment.page[1], scale: COVER.captureScale, profileDir: path.join(out, ".run", "cover-window-chrome"), rung: treatment.recipe === "hero-3d" ? "gpu" : "software", env, log });
|
|
357
|
-
try {
|
|
358
|
-
await capturePass({ browser, pool, times: [...new Set(picks.map((p) => p.index))].map((i) => [i, i / treatment.frames]), dir, prefix: "f", width: w, height: h });
|
|
359
|
-
} finally {
|
|
360
|
-
await browser.close();
|
|
361
|
-
await pool.close();
|
|
362
|
-
}
|
|
363
|
-
const file = (i) => path.join(dir, `f${String(i).padStart(4, "0")}.png`);
|
|
364
|
-
const lumas = picks.map((p) => {
|
|
365
|
-
const img = readPngRgba(file(p.index));
|
|
366
|
-
return lumaGrid(img.rgba, img.width, img.height).luma;
|
|
367
|
-
});
|
|
368
|
-
const diffs = lumas.slice(1).map((l, k) => {
|
|
369
|
-
let sum = 0;
|
|
370
|
-
for (let i = 0; i < l.length; i++) sum += Math.abs(l[i] - lumas[k][i]);
|
|
371
|
-
return sum / l.length / 255;
|
|
372
|
-
});
|
|
373
|
-
const sorted = [...diffs].sort((a, b) => a - b);
|
|
374
|
-
const medianD = sorted.length ? sorted[sorted.length >> 1] : 0;
|
|
375
|
-
const tileCount = Math.min(SHEET_TILES, picks.length);
|
|
376
|
-
const tiles = Array.from({ length: tileCount }, (_, k) => picks[Math.round((k * (picks.length - 1)) / Math.max(1, tileCount - 1))])
|
|
377
|
-
.map((p) => ({ file: file(p.index), caption: `t=${p.t.toFixed(3)} s frame ${p.index}` }));
|
|
378
|
-
await renderSheet({
|
|
379
|
-
file: path.join(dir, "sheet.png"), tiles, diffs, medianD, durationSec: hi - lo, marks: [{ t0: t0 - lo, t1: t1 - lo }], faces, env, log,
|
|
380
|
-
label: `window ${t0.toFixed(3)}-${t1.toFixed(3)} s (shaded) with ${COVER.windowPadSec} s on each side | ${picks.length} frames before encoding`,
|
|
381
|
-
status: "a window render never counts as done", workDir: path.join(out, ".run", "cover-window-sheet"),
|
|
382
|
-
});
|
|
383
|
-
writeJson(path.join(dir, "window.json"), { schema: "litgravity.motion-cover-window/v1", round, t0, t1, padSec: COVER.windowPadSec, frames: picks, note: "frames before encoding; a window render never counts as done" });
|
|
384
|
-
return { code: EXIT.OK, message: `WINDOW round ${round}: ${picks.length} frames from ${lo.toFixed(3)} to ${hi.toFixed(3)} s; sheet in ${path.join(dir, "sheet.png")}\na window render never counts as done: fix the cause, then render the full cover` };
|
|
385
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
// MO-D-04 glyph coverage, run before the first frame: every codepoint of every string a shot shows
|
|
2
|
-
// must resolve in the cmap of the font its script run uses (the same run-to-font mapping the page
|
|
3
|
-
// type kit uses). A missing glyph is a pre-flight FAIL naming the font and the character, never a
|
|
4
|
-
// blank glyph found later in a still.
|
|
5
|
-
import { readFileSync } from "node:fs";
|
|
6
|
-
import { scriptRuns } from "../core/text.mjs";
|
|
7
|
-
import { runFontKey } from "../core/voices.mjs";
|
|
8
|
-
import { loadFontManifest, fontLocation, opentypeModule } from "./runtime.mjs";
|
|
9
|
-
|
|
10
|
-
/** The strings each shot shows, with the voice they are set in. */
|
|
11
|
-
export function shotStrings(plan) {
|
|
12
|
-
const out = [];
|
|
13
|
-
const add = (shot, voice, text) => {
|
|
14
|
-
if (text) out.push({ shot: shot.id ?? shot.scene, voice, text });
|
|
15
|
-
};
|
|
16
|
-
for (const shot of plan.shots) {
|
|
17
|
-
if (shot.scene === "signature") {
|
|
18
|
-
out.push({ shot: shot.id ?? shot.scene, voice: "signature", text: shot.text, strokeFont: shot.font ?? "ems-readability" });
|
|
19
|
-
continue;
|
|
20
|
-
}
|
|
21
|
-
add(shot, "display", shot.text);
|
|
22
|
-
add(shot, "display", shot.heading);
|
|
23
|
-
add(shot, "machine", shot.sub);
|
|
24
|
-
add(shot, "body", shot.label);
|
|
25
|
-
add(shot, "machine", shot.display);
|
|
26
|
-
for (const item of shot.items ?? []) add(shot, "body", item);
|
|
27
|
-
}
|
|
28
|
-
if (plan.preset.passes.includes("terminal-ui")) {
|
|
29
|
-
out.push({ shot: "terminal-ui", voice: "chrome", text: plan.label });
|
|
30
|
-
out.push({ shot: "terminal-ui", voice: "machine", text: "T+0123456789." });
|
|
31
|
-
}
|
|
32
|
-
return out;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/** Font keys a plan needs: every run font plus any stroke font. */
|
|
36
|
-
export function planFontKeys(plan) {
|
|
37
|
-
const keys = new Set();
|
|
38
|
-
for (const s of shotStrings(plan)) {
|
|
39
|
-
if (s.strokeFont) {
|
|
40
|
-
keys.add(s.strokeFont);
|
|
41
|
-
continue;
|
|
42
|
-
}
|
|
43
|
-
for (const run of scriptRuns(s.text)) {
|
|
44
|
-
keys.add(runFontKey(plan.preset.voices, s.voice, run.script));
|
|
45
|
-
const v = plan.preset.voices[s.voice];
|
|
46
|
-
if (run.script === "latin" && v.latin.startsWith("archivo-")) for (const w of v.latinWidths ?? [100]) keys.add(runFontKey(plan.preset.voices, s.voice, "latin", { widthPct: w }));
|
|
47
|
-
if (run.script === "hangul" && v.weightSteps) v.weightSteps.forEach((k) => keys.add(k));
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
return [...keys];
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export async function checkCoverage(plan, env = process.env) {
|
|
54
|
-
const manifest = loadFontManifest();
|
|
55
|
-
const { parse } = await import(opentypeModule(env));
|
|
56
|
-
const cache = new Map();
|
|
57
|
-
const cmap = (key) => {
|
|
58
|
-
if (!cache.has(key)) {
|
|
59
|
-
const font = manifest.fonts[key];
|
|
60
|
-
const bytes = readFileSync(fontLocation(key, font, env));
|
|
61
|
-
if (font.format === "svg") {
|
|
62
|
-
const chars = new Set([...bytes.toString("utf8").matchAll(/<glyph[^>]*\sunicode="([^"]*)"/gu)].map((m) => m[1].replace(/&#x([0-9a-f]+);/giu, (_, h) => String.fromCodePoint(Number.parseInt(h, 16))).replace(/"/gu, '"').replace(/&/gu, "&").replace(/</gu, "<").replace(/>/gu, ">").replace(/'/gu, "'")));
|
|
63
|
-
cache.set(key, (ch) => chars.has(ch) || ch === " ");
|
|
64
|
-
} else {
|
|
65
|
-
const ot = parse(bytes.buffer.slice(bytes.byteOffset, bytes.byteOffset + bytes.length));
|
|
66
|
-
cache.set(key, (ch) => ot.charToGlyphIndex(ch) > 0);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
return cache.get(key);
|
|
70
|
-
};
|
|
71
|
-
const missing = [];
|
|
72
|
-
for (const s of shotStrings(plan)) {
|
|
73
|
-
const runs = s.strokeFont ? [{ script: "latin", text: s.text, key: s.strokeFont }] : scriptRuns(s.text).map((run) => ({ ...run, key: runFontKey(plan.preset.voices, s.voice, run.script) }));
|
|
74
|
-
for (const run of runs) {
|
|
75
|
-
const has = cmap(run.key);
|
|
76
|
-
for (const ch of new Set(Array.from(run.text))) {
|
|
77
|
-
if (/\s/u.test(ch)) continue;
|
|
78
|
-
if (!has(ch)) missing.push(`${run.key} lacks "${ch}" (U+${ch.codePointAt(0).toString(16).toUpperCase().padStart(4, "0")}) in ${s.shot}/${s.voice}`);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return { ok: missing.length === 0, missing };
|
|
83
|
-
}
|