@litfamily/litgravity 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +78 -10
- package/README_ko-KR.md +79 -11
- package/bin/litgravity.mjs +3 -7
- package/lib/doctor.mjs +22 -18
- package/lib/host-tools.mjs +9 -36
- package/lib/install.mjs +18 -5
- package/lib/list.mjs +8 -16
- package/lib/paths.mjs +0 -1
- package/package.json +2 -2
- package/plugin/hooks/lib/extensions.mjs +53 -0
- package/plugin/hooks/lib/reentry.mjs +5 -4
- package/plugin/hooks/lib/routes.mjs +26 -9
- package/plugin/hooks/post-tool-use.mjs +0 -2
- package/plugin/hooks/pre-invocation.mjs +0 -2
- package/plugin/hooks/session-start.mjs +7 -0
- package/plugin/hooks/stop.mjs +2 -8
- package/plugin/plugin.json +1 -1
- package/plugin/skills/autoconference/SKILL.md +1 -1
- package/plugin/skills/autoconference/modes/core.md +1 -1
- package/plugin/skills/autoconference/references/visualization-guide.md +6 -6
- package/plugin/skills/autoconference/scripts/style_presets.py +6 -6
- package/plugin/skills/autoresearch/references/type-checklists.md +1 -1
- package/plugin/skills/autoresearch/references/visualization-guide.md +11 -5
- package/plugin/skills/frontend-ui-ux/SKILL.md +18 -147
- package/plugin/skills/lit-code/references/core/agy-surfaces-and-verification.md +1 -1
- package/plugin/skills/lit-code/references/engineering-risk-signals.md +2 -2
- package/plugin/skills/lit-diagram-drawer/SKILL.md +20 -164
- package/plugin/skills/lit-docx/SKILL.md +20 -122
- package/plugin/skills/lit-loop/SKILL.md +1 -1
- package/plugin/skills/lit-pptx/SKILL.md +18 -130
- package/plugin/skills/lit-schematic/SKILL.md +19 -98
- package/plugin/skills/lit-scientific-visualization/SKILL.md +19 -160
- package/plugin/skills/lit-typographic-motion/SKILL.md +19 -188
- package/plugin/skills/readme-studio/SKILL.md +20 -98
- package/plugin/skills/visual-qa/SKILL.md +20 -121
- package/lib/runtime.mjs +0 -81
- package/plugin/hooks/lib/motion.mjs +0 -171
- package/plugin/lib/python-pick.mjs +0 -63
- package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +0 -23
- package/plugin/skills/frontend-ui-ux/LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/PROVENANCE.json +0 -38
- package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +0 -1060
- package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -14
- package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +0 -1
- package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +0 -186
- package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +0 -9
- package/plugin/skills/frontend-ui-ux/kit/components.css +0 -417
- package/plugin/skills/frontend-ui-ux/kit/fonts.json +0 -22
- package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
- package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
- package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
- package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
- package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
- package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
- package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
- package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
- package/plugin/skills/frontend-ui-ux/kit/ui.js +0 -226
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +0 -217
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +0 -201
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +0 -873
- package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +0 -103
- package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -415
- package/plugin/skills/frontend-ui-ux/references/composition.md +0 -93
- package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -203
- package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -27
- package/plugin/skills/frontend-ui-ux/references/design/README.md +0 -248
- package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +0 -191
- package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +0 -393
- package/plugin/skills/frontend-ui-ux/references/design/airtable.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/design/apple.md +0 -250
- package/plugin/skills/frontend-ui-ux/references/design/aside.md +0 -209
- package/plugin/skills/frontend-ui-ux/references/design/binance.md +0 -348
- package/plugin/skills/frontend-ui-ux/references/design/bmw.md +0 -183
- package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +0 -271
- package/plugin/skills/frontend-ui-ux/references/design/cal.md +0 -262
- package/plugin/skills/frontend-ui-ux/references/design/claude.md +0 -315
- package/plugin/skills/frontend-ui-ux/references/design/clay.md +0 -307
- package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/design/cohere.md +0 -269
- package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +0 -132
- package/plugin/skills/frontend-ui-ux/references/design/composio.md +0 -310
- package/plugin/skills/frontend-ui-ux/references/design/cursor.md +0 -312
- package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +0 -244
- package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +0 -268
- package/plugin/skills/frontend-ui-ux/references/design/expo.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +0 -317
- package/plugin/skills/frontend-ui-ux/references/design/figma.md +0 -223
- package/plugin/skills/frontend-ui-ux/references/design/framer.md +0 -249
- package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +0 -74
- package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +0 -281
- package/plugin/skills/frontend-ui-ux/references/design/ibm.md +0 -335
- package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +0 -1228
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +0 -798
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +0 -1465
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +0 -987
- package/plugin/skills/frontend-ui-ux/references/design/intercom.md +0 -149
- package/plugin/skills/frontend-ui-ux/references/design/kraken.md +0 -128
- package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +0 -291
- package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +0 -77
- package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +0 -370
- package/plugin/skills/frontend-ui-ux/references/design/lovable.md +0 -301
- package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +0 -368
- package/plugin/skills/frontend-ui-ux/references/design/meta.md +0 -369
- package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +0 -85
- package/plugin/skills/frontend-ui-ux/references/design/minimax.md +0 -260
- package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +0 -329
- package/plugin/skills/frontend-ui-ux/references/design/miro.md +0 -111
- package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +0 -264
- package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +0 -269
- package/plugin/skills/frontend-ui-ux/references/design/nike.md +0 -366
- package/plugin/skills/frontend-ui-ux/references/design/notion.md +0 -312
- package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +0 -296
- package/plugin/skills/frontend-ui-ux/references/design/ollama.md +0 -270
- package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +0 -49
- package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +0 -233
- package/plugin/skills/frontend-ui-ux/references/design/playstation.md +0 -367
- package/plugin/skills/frontend-ui-ux/references/design/posthog.md +0 -259
- package/plugin/skills/frontend-ui-ux/references/design/raycast.md +0 -271
- package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +0 -230
- package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +0 -178
- package/plugin/skills/frontend-ui-ux/references/design/renault.md +0 -314
- package/plugin/skills/frontend-ui-ux/references/design/replicate.md +0 -264
- package/plugin/skills/frontend-ui-ux/references/design/resend.md +0 -306
- package/plugin/skills/frontend-ui-ux/references/design/revolut.md +0 -188
- package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +0 -247
- package/plugin/skills/frontend-ui-ux/references/design/sanity.md +0 -360
- package/plugin/skills/frontend-ui-ux/references/design/sentry.md +0 -265
- package/plugin/skills/frontend-ui-ux/references/design/shopify.md +0 -353
- package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/design/spacex.md +0 -197
- package/plugin/skills/frontend-ui-ux/references/design/spotify.md +0 -249
- package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +0 -583
- package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +0 -121
- package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +0 -184
- package/plugin/skills/frontend-ui-ux/references/design/stripe.md +0 -325
- package/plugin/skills/frontend-ui-ux/references/design/supabase.md +0 -258
- package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +0 -255
- package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +0 -1206
- package/plugin/skills/frontend-ui-ux/references/design/tesla.md +0 -289
- package/plugin/skills/frontend-ui-ux/references/design/theverge.md +0 -342
- package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +0 -266
- package/plugin/skills/frontend-ui-ux/references/design/uber.md +0 -298
- package/plugin/skills/frontend-ui-ux/references/design/vercel.md +0 -313
- package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +0 -426
- package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +0 -326
- package/plugin/skills/frontend-ui-ux/references/design/warp.md +0 -256
- package/plugin/skills/frontend-ui-ux/references/design/webflow.md +0 -95
- package/plugin/skills/frontend-ui-ux/references/design/wired.md +0 -281
- package/plugin/skills/frontend-ui-ux/references/design/wise.md +0 -176
- package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +0 -260
- package/plugin/skills/frontend-ui-ux/references/design/zapier.md +0 -331
- package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +0 -97
- package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +0 -48
- package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +0 -80
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +0 -64
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +0 -83
- package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +0 -80
- package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +0 -132
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +0 -109
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +0 -89
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +0 -113
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +0 -121
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +0 -120
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +0 -101
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +0 -199
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +0 -125
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +0 -106
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +0 -123
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +0 -122
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +0 -75
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +0 -117
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
- package/plugin/skills/frontend-ui-ux/references/evidence-review.md +0 -119
- package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
- package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -115
- package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -48
- package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -153
- package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -101
- package/plugin/skills/frontend-ui-ux/references/perfection/README.md +0 -160
- package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +0 -127
- package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +0 -91
- package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -71
- package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -103
- package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -139
- package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -90
- package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +0 -659
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +0 -26
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +0 -106
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +0 -35
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +0 -45
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +0 -52
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +0 -61
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +0 -51
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +0 -50
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +0 -85
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +0 -74
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +0 -100
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +0 -31
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +0 -262
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +0 -1148
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +0 -114
- package/plugin/skills/frontend-ui-ux/references/visual-language.md +0 -90
- package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -55
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +0 -306
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +0 -291
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +0 -311
- package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +0 -217
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +0 -286
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +0 -354
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +0 -361
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +0 -313
- package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +0 -68
- package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
- package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +0 -12
- package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +0 -124
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +0 -196
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +0 -1555
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +0 -153
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +0 -57
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +0 -129
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -322
- package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +0 -63
- package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
- package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +0 -106
- package/plugin/skills/frontend-ui-ux/scripts/search.mjs +0 -43
- package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +0 -153
- package/plugin/skills/frontend-ui-ux/scripts/strict-json.mjs +0 -143
- package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -52
- package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +0 -90
- package/plugin/skills/lit-diagram-drawer/NOTICE +0 -33
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
- package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
- package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
- package/plugin/skills/lit-diagram-drawer/assets/icons.html +0 -231
- package/plugin/skills/lit-diagram-drawer/assets/index.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
- package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
- package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/references/accessibility.md +0 -37
- package/plugin/skills/lit-diagram-drawer/references/drawing-rules.md +0 -86
- package/plugin/skills/lit-diagram-drawer/references/export.md +0 -34
- package/plugin/skills/lit-diagram-drawer/references/failure-codes.md +0 -66
- package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
- package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
- package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
- package/plugin/skills/lit-diagram-drawer/references/import-schema.md +0 -28
- package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
- package/plugin/skills/lit-diagram-drawer/references/motion.md +0 -29
- package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
- package/plugin/skills/lit-diagram-drawer/references/output-spec.md +0 -48
- package/plugin/skills/lit-diagram-drawer/references/playbooks.md +0 -67
- package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
- package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
- package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
- package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
- package/plugin/skills/lit-diagram-drawer/references/profiles.md +0 -24
- package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
- package/plugin/skills/lit-diagram-drawer/references/style-guide.md +0 -76
- package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-bar.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-bump.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
- package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-er.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-journey.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-layers.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-line.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-loop.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-nested.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
- package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
- package/plugin/skills/lit-diagram-drawer/references/type-polar.md +0 -67
- package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
- package/plugin/skills/lit-diagram-drawer/references/type-process.md +0 -58
- package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
- package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-radar.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
- package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
- package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
- package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
- package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-state.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-tree.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-venn.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +0 -76
- package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
- package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
- package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +0 -9
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +0 -277
- package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -25
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
- package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +0 -119
- package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
- package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
- package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
- package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
- package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
- package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -11
- package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
- package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
- package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
- package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
- package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
- package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
- package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
- package/plugin/skills/lit-docx/NOTICE +0 -35
- package/plugin/skills/lit-docx/references/build-loop.md +0 -96
- package/plugin/skills/lit-docx/references/components.md +0 -287
- package/plugin/skills/lit-docx/references/direction-step.md +0 -339
- package/plugin/skills/lit-docx/references/examples/01-report-ko.md +0 -166
- package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +0 -96
- package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -170
- package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -141
- package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -56
- package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -129
- package/plugin/skills/lit-docx/references/examples/07-report-en.md +0 -123
- package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +0 -122
- package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -40
- package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -94
- package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -89
- package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -43
- package/plugin/skills/lit-docx/references/page-composition.md +0 -319
- package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
- package/plugin/skills/lit-docx/references/slop_rules.md +0 -88
- package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -170
- package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -173
- package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -182
- package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -171
- package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -181
- package/plugin/skills/lit-docx/references/tonalities/report.md +0 -199
- package/plugin/skills/lit-docx/scripts/clean_markdown.py +0 -95
- package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1395
- package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -301
- package/plugin/skills/lit-docx/scripts/convert_pdf.py +0 -139
- package/plugin/skills/lit-docx/scripts/docx_design.py +0 -2449
- package/plugin/skills/lit-docx/scripts/docx_layout.py +0 -959
- package/plugin/skills/lit-docx/scripts/edit_docx.py +0 -306
- package/plugin/skills/lit-docx/scripts/embed_images.py +0 -78
- package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +0 -500
- package/plugin/skills/lit-docx/scripts/pdf_fonts.py +0 -83
- package/plugin/skills/lit-docx/scripts/qa_docx.py +0 -234
- package/plugin/skills/lit-docx/scripts/slop_lint.py +0 -573
- package/plugin/skills/lit-docx/scripts/visual_audit.py +0 -48
- package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
- package/plugin/skills/lit-docx/templates/latex/acs/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/acs/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +0 -42
- package/plugin/skills/lit-docx/templates/latex/ieee/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/nature/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/nature/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/registry.yaml +0 -1366
- package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +0 -28
- package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
- package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/report.yaml +0 -26
- package/plugin/skills/lit-pptx/NOTICE +0 -35
- package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-a.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-b.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-c.png +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +0 -94
- package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +0 -29
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
- package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +0 -94
- package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/provenance.json +0 -109
- package/plugin/skills/lit-pptx/references/agents/analyst.md +0 -49
- package/plugin/skills/lit-pptx/references/agents/antithesis.md +0 -59
- package/plugin/skills/lit-pptx/references/agents/architect.md +0 -44
- package/plugin/skills/lit-pptx/references/agents/critic.md +0 -42
- package/plugin/skills/lit-pptx/references/agents/synthesizer.md +0 -47
- package/plugin/skills/lit-pptx/references/agents/thesis.md +0 -33
- package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +0 -131
- package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
- package/plugin/skills/lit-pptx/references/build-loop.md +0 -117
- package/plugin/skills/lit-pptx/references/consensus-protocol.md +0 -125
- package/plugin/skills/lit-pptx/references/data-display-cookbook.md +0 -52
- package/plugin/skills/lit-pptx/references/density-and-fill.md +0 -163
- package/plugin/skills/lit-pptx/references/design-system-azure.md +0 -61
- package/plugin/skills/lit-pptx/references/direction-step.md +0 -203
- package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -210
- package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +0 -147
- package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -199
- package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +0 -203
- package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +0 -178
- package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -199
- package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -194
- package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +0 -175
- package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -204
- package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +0 -179
- package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +0 -164
- package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +0 -174
- package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +0 -173
- package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +0 -154
- package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +0 -139
- package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +0 -158
- package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +0 -179
- package/plugin/skills/lit-pptx/references/interview-protocol.md +0 -113
- package/plugin/skills/lit-pptx/references/layout-families.md +0 -194
- package/plugin/skills/lit-pptx/references/stages/autopilot.md +0 -48
- package/plugin/skills/lit-pptx/references/stages/interview.md +0 -52
- package/plugin/skills/lit-pptx/references/stages/plan.md +0 -42
- package/plugin/skills/lit-pptx/references/title-treatments.md +0 -113
- package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
- package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -140
- package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
- package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -150
- package/plugin/skills/lit-pptx/references/tonalities/gazette.md +0 -149
- package/plugin/skills/lit-pptx/references/tonalities/ledger.md +0 -149
- package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -161
- package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -144
- package/plugin/skills/lit-pptx/references/tonalities/night.md +0 -147
- package/plugin/skills/lit-pptx/references/tonalities/paper.md +0 -151
- package/plugin/skills/lit-pptx/references/tonalities/riso.md +0 -137
- package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
- package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -131
- package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
- package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1077
- package/plugin/skills/lit-pptx/scripts/deck_craft.py +0 -363
- package/plugin/skills/lit-pptx/scripts/embed_fonts.py +0 -227
- package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +0 -55
- package/plugin/skills/lit-pptx/scripts/layout_inventory.py +0 -418
- package/plugin/skills/lit-pptx/scripts/learn_template.py +0 -446
- package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
- package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
- package/plugin/skills/lit-pptx/scripts/lib/font-map.js +0 -79
- package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +0 -86
- package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -37
- package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -512
- package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
- package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
- package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -356
- package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2240
- package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +0 -3366
- package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +0 -28
- package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
- package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
- package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
- package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package-lock.json +0 -793
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package.json +0 -12
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/requirements.lock +0 -15
- package/plugin/skills/lit-pptx/scripts/office-runtime.mjs +0 -279
- package/plugin/skills/lit-pptx/scripts/office_data.py +0 -493
- package/plugin/skills/lit-pptx/scripts/office_runtime_bootstrap.py +0 -73
- package/plugin/skills/lit-pptx/scripts/ooxml_integrity.py +0 -199
- package/plugin/skills/lit-pptx/scripts/package.json +0 -4
- package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
- package/plugin/skills/lit-pptx/scripts/render_pages.py +0 -147
- package/plugin/skills/lit-pptx/scripts/validate_pptx.py +0 -230
- package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
- package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -214
- package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
- package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
- package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +0 -382
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -475
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
- package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
- package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
- package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
- package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -93
- package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -94
- package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
- package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
- package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
- package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
- package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
- package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -38
- package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -133
- package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -87
- package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -85
- package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -70
- package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -101
- package/plugin/skills/lit-schematic/references/journal-figures.md +0 -72
- package/plugin/skills/lit-schematic/references/kit-api.md +0 -134
- package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -53
- package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -103
- package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -163
- package/plugin/skills/lit-schematic/references/verification.md +0 -100
- package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -57
- package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -81
- package/plugin/skills/lit-schematic/scripts/lib/fonts.mjs +0 -27
- package/plugin/skills/lit-schematic/scripts/lib/geom.mjs +0 -113
- package/plugin/skills/lit-schematic/scripts/lib/interactive.mjs +0 -292
- package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -115
- package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -719
- package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -162
- package/plugin/skills/lit-schematic/scripts/lib/pid.mjs +0 -937
- package/plugin/skills/lit-schematic/scripts/lib/png.mjs +0 -132
- package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -658
- package/plugin/skills/lit-schematic/scripts/lib/route.mjs +0 -218
- package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -890
- package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -82
- package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -115
- package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -129
- package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -92
- package/plugin/skills/lit-schematic/scripts/render.mjs +0 -233
- package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -60
- package/plugin/skills/lit-scientific-visualization/LICENSE +0 -21
- package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +0 -197
- package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +0 -75
- package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +0 -74
- package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +0 -78
- package/plugin/skills/lit-scientific-visualization/evals/evals.json +0 -158
- package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +0 -278
- package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +0 -380
- package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +0 -359
- package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +0 -608
- package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
- package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +0 -217
- package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +0 -293
- package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +0 -238
- package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +0 -23
- package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +0 -230
- package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +0 -467
- package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +0 -51
- package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +0 -114
- package/plugin/skills/lit-typographic-motion/engine/NOTICE +0 -23
- package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -73
- package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +0 -56
- package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +0 -1084
- package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +0 -218
- package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +0 -246
- package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +0 -90
- package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +0 -46
- package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +0 -211
- package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +0 -550
- package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +0 -123
- package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +0 -100
- package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +0 -142
- package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +0 -167
- package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +0 -19
- package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +0 -198
- package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +0 -172
- package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -298
- package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -143
- package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
- package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -164
- package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -328
- package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -104
- package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -210
- package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -347
- package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +0 -141
- package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +0 -76
- package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +0 -139
- package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
- package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -385
- package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +0 -83
- package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +0 -209
- package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +0 -105
- package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -38
- package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -121
- package/plugin/skills/lit-typographic-motion/engine/node/host.mjs +0 -34
- package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
- package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -178
- package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +0 -603
- package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +0 -112
- package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +0 -66
- package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +0 -349
- package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +0 -210
- package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +0 -639
- package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +0 -145
- package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +0 -77
- package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +0 -740
- package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +0 -180
- package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -177
- package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -427
- package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -428
- package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +0 -572
- package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +0 -100
- package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +0 -213
- package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
- package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -146
- package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +0 -132
- package/plugin/skills/lit-typographic-motion/engine/package-lock.json +0 -25
- package/plugin/skills/lit-typographic-motion/engine/package.json +0 -10
- package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +0 -49
- package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -298
- package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
- package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -162
- package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -823
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
- package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +0 -123
- package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +0 -281
- package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +0 -319
- package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +0 -78
- package/plugin/skills/lit-typographic-motion/engine/web/index.html +0 -6
- package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +0 -112
- package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +0 -98
- package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +0 -49
- package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +0 -77
- package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +0 -61
- package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +0 -88
- package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +0 -86
- package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +0 -165
- package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +0 -15
- package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +0 -82
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +0 -30
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +0 -16
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +0 -47
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +0 -45
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +0 -29
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +0 -73
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +0 -73
- package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +0 -236
- package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +0 -180
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/manifest.json +0 -455
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -42
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
- package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -91
- package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
- package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
- package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -27
- package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
- package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -18
- package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -30
- package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -152
- package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -97
- package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -202
- package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -100
- package/plugin/skills/lit-typographic-motion/references/brief-schema.md +0 -119
- package/plugin/skills/lit-typographic-motion/references/cover.md +0 -424
- package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -70
- package/plugin/skills/lit-typographic-motion/references/depth.md +0 -122
- package/plugin/skills/lit-typographic-motion/references/engine-contract.md +0 -124
- package/plugin/skills/lit-typographic-motion/references/look.md +0 -122
- package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -67
- package/plugin/skills/lit-typographic-motion/references/sound.md +0 -152
- package/plugin/skills/lit-typographic-motion/references/stage.md +0 -256
- package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
- package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -141
- package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -214
- package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
- package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -111
- package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
- package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -205
- package/plugin/skills/lit-typographic-motion/styles/paper.json +0 -41
- package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +0 -41
- package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +0 -42
- package/plugin/skills/lit-typographic-motion/styles/tidal.json +0 -41
- package/plugin/skills/readme-studio/references/decoration-and-navigation.md +0 -55
- package/plugin/skills/readme-studio/references/facts-and-assembly.md +0 -19
- package/plugin/skills/readme-studio/references/production-interview.md +0 -11
- package/plugin/skills/readme-studio/references/render-and-deliver.md +0 -44
- package/plugin/skills/readme-studio/references/type-and-background.md +0 -23
- package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +0 -133
- package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +0 -6
- package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +0 -77
- package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -28
- package/plugin/skills/readme-studio/templates/cover-source.json +0 -21
- package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +0 -30
- package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -1
- package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
- package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +0 -8
- package/plugin/skills/readme-studio/templates/readme-cover-section.md +0 -75
- package/plugin/skills/readme-studio/templates/readme-facts.json +0 -4
- package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
- package/plugin/skills/readme-studio/templates/remotion-cover/package.json +0 -7
- package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -36
- package/plugin/skills/readme-studio/templates/typography/package-lock.json +0 -133
- package/plugin/skills/readme-studio/templates/typography/package.json +0 -6
- package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +0 -57
- package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -63
- package/plugin/skills/visual-qa/references/breakage-catalogue.md +0 -70
- package/plugin/skills/visual-qa/references/capture-playbook.md +0 -96
- package/plugin/skills/visual-qa/references/complete-contract.md +0 -411
- package/plugin/skills/visual-qa/references/korean-and-mixed-script-checks.md +0 -50
- package/plugin/skills/visual-qa/references/reviewer-charters.md +0 -70
- package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +0 -305
- package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +0 -291
- package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +0 -311
- package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +0 -235
- package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +0 -208
- package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +0 -66
- package/plugin/skills/visual-qa/scripts/ansi.ts +0 -17
- package/plugin/skills/visual-qa/scripts/cli.mjs +0 -101
- package/plugin/skills/visual-qa/scripts/cli.ts +0 -96
- package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +0 -448
- package/plugin/skills/visual-qa/scripts/east-asian-width.ts +0 -72
- package/plugin/skills/visual-qa/scripts/errors.mjs +0 -12
- package/plugin/skills/visual-qa/scripts/evidence-io.mjs +0 -184
- package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +0 -95
- package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +0 -163
- package/plugin/skills/visual-qa/scripts/evidence.mjs +0 -421
- package/plugin/skills/visual-qa/scripts/image-diff.mjs +0 -89
- package/plugin/skills/visual-qa/scripts/image-diff.ts +0 -109
- package/plugin/skills/visual-qa/scripts/png-chunks.mjs +0 -107
- package/plugin/skills/visual-qa/scripts/png-crc.ts +0 -27
- package/plugin/skills/visual-qa/scripts/png-decode.mjs +0 -143
- package/plugin/skills/visual-qa/scripts/png-decode.ts +0 -206
- package/plugin/skills/visual-qa/scripts/png-synth.ts +0 -57
- package/plugin/skills/visual-qa/scripts/review-rules.mjs +0 -137
- package/plugin/skills/visual-qa/scripts/strict-json.mjs +0 -143
- package/plugin/skills/visual-qa/scripts/terminal-text.mjs +0 -117
- package/plugin/skills/visual-qa/scripts/tui-check.mjs +0 -74
- package/plugin/skills/visual-qa/scripts/tui-grid.ts +0 -88
- package/plugin/skills/visual-qa/scripts/types.ts +0 -54
|
@@ -1,603 +0,0 @@
|
|
|
1
|
-
// Render modes and the one end-to-end craft round (MO-A-45, MO-C-15/16, Build 7 of the family
|
|
2
|
-
// brief): timeline -> pre-flight gate -> stills -> contact sheet -> [--stills-only stops] -> master,
|
|
3
|
-
// preview, poster, reduced-motion still into .run/stage -> determinism re-render and perf in a second
|
|
4
|
-
// Chrome process -> full gate -> promote, or withhold on a flash-audit FAIL.
|
|
5
|
-
import { createHash } from "node:crypto";
|
|
6
|
-
import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, statSync, writeFileSync, createWriteStream } from "node:fs";
|
|
7
|
-
import path from "node:path";
|
|
8
|
-
import { spawnSync } from "node:child_process";
|
|
9
|
-
import { EXIT, SAMPLING, PREVIEW, GATE, CREDIT_LINE, ENGINE_CREDIT, MAX_ROUNDS } from "../core/constants.mjs";
|
|
10
|
-
import { FlashDetector, cellsFromRgba, detectSequence } from "../core/flash.mjs";
|
|
11
|
-
import { evaluateGate, evaluatePreflight, isSoftware } from "../core/gate-rules.mjs";
|
|
12
|
-
import { measureContrast, screenBox } from "../core/contrast.mjs";
|
|
13
|
-
import { passSeed } from "../core/util.mjs";
|
|
14
|
-
import { PRESETS } from "../core/presets.mjs";
|
|
15
|
-
import { BlockedError } from "./chrome.mjs";
|
|
16
|
-
import { loadBrief, planFromBrief, BriefError } from "./brief.mjs";
|
|
17
|
-
import { openSession } from "./session.mjs";
|
|
18
|
-
import { analyzeFrame, areaDownscale } from "./analysis.mjs";
|
|
19
|
-
import { encodePng, rgbaToRgb, decodePng } from "./png.mjs";
|
|
20
|
-
import { findFfmpeg, findFfprobe, findImg2webp, previewRungs, startMaster, encodePreview, probeVideo } from "./encode.mjs";
|
|
21
|
-
import { checkCoverage, planFontKeys } from "./coverage.mjs";
|
|
22
|
-
import { nodeStatus, checkFont, loadFontManifest, audioStatus, AUDIO_WARNING, wordTimingStatus, INSTALL_COMMAND, ENGINE_ROOT } from "./runtime.mjs";
|
|
23
|
-
import { formatReport, formatPreflightReport } from "./report.mjs";
|
|
24
|
-
import { loadTreatment, TreatmentError } from "./treatment.mjs";
|
|
25
|
-
import { viewedCount } from "./look.mjs";
|
|
26
|
-
import { stillsPlan, writeStills } from "./stills.mjs";
|
|
27
|
-
import { addToStills, writeBoard } from "./board.mjs";
|
|
28
|
-
import { recordHouse } from "./house.mjs";
|
|
29
|
-
import { treatmentSha } from "./done.mjs";
|
|
30
|
-
import { auditMuxed } from "./sound.mjs";
|
|
31
|
-
import { soundTrackFor } from "./sound-cli.mjs";
|
|
32
|
-
|
|
33
|
-
export const DELIVERABLES = ["film.mp4", "preview.webp", "preview.gif", "poster.png", "reduced-motion.png"];
|
|
34
|
-
|
|
35
|
-
const writeJson = (file, value) => {
|
|
36
|
-
mkdirSync(path.dirname(file), { recursive: true });
|
|
37
|
-
writeFileSync(file, `${JSON.stringify(value, null, 2)}\n`);
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
class JsonLines {
|
|
41
|
-
constructor(file) {
|
|
42
|
-
mkdirSync(path.dirname(file), { recursive: true });
|
|
43
|
-
this.stream = createWriteStream(file);
|
|
44
|
-
}
|
|
45
|
-
write(value) {
|
|
46
|
-
this.stream.write(`${JSON.stringify(value)}\n`);
|
|
47
|
-
}
|
|
48
|
-
close() {
|
|
49
|
-
return new Promise((resolve) => this.stream.end(resolve));
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/** Load the brief, choose the audio tier, build the plan, and check the runtime (14/15). */
|
|
54
|
-
export async function prepare({ briefPath, out, env = process.env, wordTiming = false, log = () => {} }) {
|
|
55
|
-
// The treatment comes first on the type path too: validated before the brief, the runtime or Chrome.
|
|
56
|
-
const treatment = asBlocked(() => loadTreatment(out, { pathName: "type" }));
|
|
57
|
-
let brief;
|
|
58
|
-
try {
|
|
59
|
-
brief = loadBrief(briefPath);
|
|
60
|
-
} catch (error) {
|
|
61
|
-
if (error instanceof BriefError) throw new BlockedError(EXIT.USAGE, error.message);
|
|
62
|
-
throw error;
|
|
63
|
-
}
|
|
64
|
-
const warnings = [];
|
|
65
|
-
if (wordTiming || brief.wordTiming) {
|
|
66
|
-
const status = wordTimingStatus();
|
|
67
|
-
if (status.state !== "ready") throw new BlockedError(EXIT.BLOCKED_DEPS_NOT_PREWARMED, `BLOCKED_DEPS_NOT_PREWARMED: word timing (--word-timing) needs its pinned models and aligner runtime (${status.reason}); run ${INSTALL_COMMAND} --word-timing`);
|
|
68
|
-
}
|
|
69
|
-
const node = nodeStatus(env);
|
|
70
|
-
if (!node.ready) throw new BlockedError(EXIT.BLOCKED_DEPS_NOT_PREWARMED, `BLOCKED_DEPS_NOT_PREWARMED: the pinned engine dependencies are not in the LitGravity cache (${node.problem}); run ${INSTALL_COMMAND} outside this session`);
|
|
71
|
-
const runDir = path.join(out, ".run");
|
|
72
|
-
mkdirSync(runDir, { recursive: true });
|
|
73
|
-
let beatGrid = null;
|
|
74
|
-
let audioTier = "text-reading-time";
|
|
75
|
-
let audioFile = null;
|
|
76
|
-
const analysed = brief.audio ? path.resolve(brief._dir, String(brief.audio))
|
|
77
|
-
: treatment.sound.mode === "supplied" ? path.resolve(out, treatment.sound.file) : null;
|
|
78
|
-
if (analysed) {
|
|
79
|
-
audioFile = analysed;
|
|
80
|
-
const audio = audioStatus(env);
|
|
81
|
-
if (audio.state !== "ready") warnings.push(AUDIO_WARNING);
|
|
82
|
-
else if (!existsSync(audioFile)) warnings.push(`audio file not found (${audioFile}); Tier 1 text reading-time is used`);
|
|
83
|
-
else {
|
|
84
|
-
const gridFile = path.join(runDir, "beat-grid.json");
|
|
85
|
-
const result = spawnSync(audio.python, [path.join(ENGINE_ROOT, "audio", "beat_grid.py"), audioFile, gridFile], { encoding: "utf8" });
|
|
86
|
-
if (result.status === 0 && existsSync(gridFile)) {
|
|
87
|
-
const grid = JSON.parse(readFileSync(gridFile, "utf8"));
|
|
88
|
-
if (grid.beats?.length >= 2) {
|
|
89
|
-
beatGrid = grid.beats;
|
|
90
|
-
audioTier = "librosa-beat-grid";
|
|
91
|
-
log(`beat grid: ${grid.beats.length} beats at ${grid.tempo} BPM`);
|
|
92
|
-
} else warnings.push("audio analysis found fewer than two beats; Tier 1 text reading-time is used");
|
|
93
|
-
} else warnings.push(`audio analysis failed (${(result.stderr || "").trim().split("\n").pop()}); Tier 1 text reading-time is used`);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
const plan = asBlocked(() => planFromBrief(brief, { beatGrid, targetSec: treatment.durationSec, treatment }));
|
|
97
|
-
warnings.push(...plan.warnings);
|
|
98
|
-
for (const warning of warnings) log(`warning: ${warning}`);
|
|
99
|
-
plan.audioTier = audioTier;
|
|
100
|
-
// The beat grid only times the cuts; the track itself is muxed by the treatment's sound plan.
|
|
101
|
-
const fontKeys = planFontKeys(plan);
|
|
102
|
-
const manifest = loadFontManifest();
|
|
103
|
-
for (const key of fontKeys) {
|
|
104
|
-
const check = checkFont(key, manifest.fonts[key], env);
|
|
105
|
-
if (!check.ok) throw new BlockedError(EXIT.BLOCKED_FONT_FETCH, `BLOCKED_FONT_FETCH: font ${key} is ${check.problem} in the cache (${check.path}); run ${INSTALL_COMMAND} outside this session`);
|
|
106
|
-
}
|
|
107
|
-
writeJson(path.join(runDir, "brief.json"), brief);
|
|
108
|
-
return { brief, plan, fontKeys, warnings, runDir, treatment };
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/** Run a treatment or brief step, turning a TreatmentError into exit 16 with the field name. */
|
|
112
|
-
export function asBlocked(fn) {
|
|
113
|
-
try {
|
|
114
|
-
return fn();
|
|
115
|
-
} catch (error) {
|
|
116
|
-
if (error instanceof TreatmentError) throw new BlockedError(EXIT.BLOCKED_TREATMENT_INVALID, error.message);
|
|
117
|
-
throw error;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/** Frames viewed: the latest look round wins, then the count given on the command line, then the last report's. */
|
|
122
|
-
export function resolveViewed(out, cli = 0) {
|
|
123
|
-
const looked = viewedCount(out);
|
|
124
|
-
if (looked > 0) return looked;
|
|
125
|
-
if (cli > 0) return cli;
|
|
126
|
-
const report = path.join(out, "gate-report.txt");
|
|
127
|
-
const m = existsSync(report) ? /frames actually viewed this run: (\d+)/u.exec(readFileSync(report, "utf8")) : null;
|
|
128
|
-
return m ? Number(m[1]) : 0;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
function manifestFor(plan, extra) {
|
|
132
|
-
return {
|
|
133
|
-
schemaVersion: 1,
|
|
134
|
-
engineCredit: ENGINE_CREDIT,
|
|
135
|
-
presetId: plan.presetId,
|
|
136
|
-
seed: plan.seed,
|
|
137
|
-
fps: plan.fps,
|
|
138
|
-
resolution: [1920, 1080],
|
|
139
|
-
scale: 1,
|
|
140
|
-
samples: extra.samples,
|
|
141
|
-
shutter: extra.shutter,
|
|
142
|
-
renderer: extra.renderer,
|
|
143
|
-
softwareRenderer: isSoftware(extra.renderer),
|
|
144
|
-
chromeFlags: extra.chromeFlags,
|
|
145
|
-
previewEncoder: extra.previewEncoder ?? null,
|
|
146
|
-
audioTier: plan.audioTier ?? "text-reading-time",
|
|
147
|
-
...(plan.beatGrid ? { beatGrid: plan.beatGrid } : { bpm: plan.bpm }),
|
|
148
|
-
durationSec: +plan.durationSec.toFixed(6),
|
|
149
|
-
generatedAt: new Date().toISOString(),
|
|
150
|
-
passRanges: extra.passRanges,
|
|
151
|
-
timeline: plan.timeline,
|
|
152
|
-
warnings: extra.warnings ?? [],
|
|
153
|
-
frameCount: plan.frameCount,
|
|
154
|
-
round: extra.round,
|
|
155
|
-
sound: extra.sound ?? null,
|
|
156
|
-
treatmentSha256: extra.treatmentSha256 ?? null,
|
|
157
|
-
stillOverrides: { grain: 0, noise: 0 },
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/** Pre-flight gate: timeline rules + glyph coverage. Writes the report and returns the verdict. */
|
|
162
|
-
export async function preflight({ plan, out, env }) {
|
|
163
|
-
const coverage = await checkCoverage(plan, env);
|
|
164
|
-
const manifestLike = { fps: plan.fps, bpm: plan.bpm, beatGrid: plan.beatGrid, timeline: plan.timeline };
|
|
165
|
-
const result = evaluatePreflight({ manifest: manifestLike, coverage });
|
|
166
|
-
writeJson(path.join(out, ".run", "preflight.json"), { ...result, coverage });
|
|
167
|
-
if (!result.pass) writeFileSync(path.join(out, "gate-report.txt"), formatPreflightReport({ preflight: result, reason: plan.reason, presetId: plan.presetId }));
|
|
168
|
-
return { ...result, coverage };
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
const stillFrame = (plan, shot) => Math.min(plan.frameCount - 1, Math.round((shot.start + 0.7 * (shot.end - shot.start)) * plan.fps));
|
|
172
|
-
|
|
173
|
-
/** Frames around every cut (two before, the cut, one after) plus the first and last frames. */
|
|
174
|
-
export function cutFrames(plan) {
|
|
175
|
-
const rows = [[0, 6, Math.round(plan.frameCount * 0.02), Math.round(plan.frameCount * 0.04)].map((f) => Math.min(plan.frameCount - 1, f)).sort((a, b) => a - b)];
|
|
176
|
-
for (const shot of plan.shots.slice(1)) {
|
|
177
|
-
const c = Math.round(shot.start * plan.fps);
|
|
178
|
-
rows.push([c - 6, c - 1, c, c + 6].map((f) => Math.max(0, Math.min(plan.frameCount - 1, f))));
|
|
179
|
-
}
|
|
180
|
-
rows.push([plan.frameCount - 7, plan.frameCount - 3, plan.frameCount - 2, plan.frameCount - 1].map((f) => Math.max(0, f)));
|
|
181
|
-
return rows;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* The stills set on the type path (the same set the stage path writes): the treatment's beat
|
|
186
|
-
* midpoints, a -6/0/+6 strip at each of the engine's cuts, and a 12-frame sheet. Returns the frames
|
|
187
|
-
* so a full render can rewrite the index with the delivered poster.
|
|
188
|
-
*/
|
|
189
|
-
async function renderStillsSet({ session, plan, treatment, out, round, stillsOnly, env = process.env, log = () => {} }) {
|
|
190
|
-
const beats = treatment.beats.map((b) => ({ t0: Math.min(b.t0, plan.durationSec), t1: Math.min(b.t1, plan.durationSec) }));
|
|
191
|
-
const cuts = plan.shots.slice(1).map((sh) => Math.round(sh.start * plan.fps)).filter((c) => c > 0 && c < plan.frameCount);
|
|
192
|
-
const layout = stillsPlan({ beats, fps: plan.fps, frameCount: plan.frameCount, cuts, posterBeat: treatment.posterBeat });
|
|
193
|
-
const frames = new Map();
|
|
194
|
-
for (const n of [...layout.all].sort((x, y) => x - y)) {
|
|
195
|
-
await session.render({ from: n, to: n + 1, fps: plan.fps, samples: SAMPLING.stillSamples, shutter: SAMPLING.masterShutter, tag: "still" }, async (meta, bytes) => {
|
|
196
|
-
analyzeFrame(bytes, meta.width, meta.height);
|
|
197
|
-
frames.set(n, Buffer.from(bytes));
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
// Every stills set carries the storyboard (references/studio.md), drawn from its beat stills.
|
|
201
|
-
const write = async (posterFile = null) => {
|
|
202
|
-
const stills = writeStills({ out, plan: layout, frames, width: 1920, height: 1080, fps: plan.fps, frameCount: plan.frameCount, round, stillsOnly, path: "type", posterFile });
|
|
203
|
-
const beatFiles = stills.index.files.filter((f) => f.kind === "beat").sort((a, b) => a.beat - b.beat).map((f) => path.join(out, f.file));
|
|
204
|
-
await writeBoard({ out, treatment, beatFiles, env, log });
|
|
205
|
-
stills.sha256 = addToStills(out, { file: "stills/board.png", kind: "board", frames: layout.beats }, { sha256: (b) => createHash("sha256").update(b).digest("hex") });
|
|
206
|
-
return stills;
|
|
207
|
-
};
|
|
208
|
-
return { layout, frames, stills: await write(), write };
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
function contrastFrames(plan) {
|
|
212
|
-
const set = new Set();
|
|
213
|
-
for (const shot of plan.shots) {
|
|
214
|
-
set.add(stillFrame(plan, shot));
|
|
215
|
-
set.add(Math.round(shot.end * plan.fps) - 1);
|
|
216
|
-
}
|
|
217
|
-
for (const row of cutFrames(plan)) for (const f of row) set.add(f);
|
|
218
|
-
return set;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/** The master render: every frame analysed, logged, audited and piped to ffmpeg. */
|
|
222
|
-
async function renderMaster({ session, plan, out, ffmpeg, samples, shutter, audio = null }) {
|
|
223
|
-
const runDir = path.join(out, ".run");
|
|
224
|
-
const samplesDir = path.join(runDir, "samples");
|
|
225
|
-
rmSync(samplesDir, { recursive: true, force: true });
|
|
226
|
-
mkdirSync(samplesDir, { recursive: true });
|
|
227
|
-
const stage = path.join(runDir, "stage");
|
|
228
|
-
mkdirSync(stage, { recursive: true });
|
|
229
|
-
const filmPath = path.join(stage, "film.mp4");
|
|
230
|
-
const encoder = startMaster({ ffmpeg, width: 1920, height: 1080, fps: plan.fps, out: filmPath, audio });
|
|
231
|
-
const log = new JsonLines(path.join(out, "render.jsonl"));
|
|
232
|
-
const detector = new FlashDetector();
|
|
233
|
-
const keep = contrastFrames(plan);
|
|
234
|
-
const frames = [];
|
|
235
|
-
const masterFlash = [];
|
|
236
|
-
const t0 = Date.now();
|
|
237
|
-
await session.render({ from: 0, to: plan.frameCount, fps: plan.fps, samples, shutter, tag: "master" }, async (meta, bytes) => {
|
|
238
|
-
const n = meta.frame;
|
|
239
|
-
const a = analyzeFrame(bytes, meta.width, meta.height, { keepMask: keep.has(n) });
|
|
240
|
-
const flash = detector.push(a.cells);
|
|
241
|
-
await encoder.write(bytes);
|
|
242
|
-
for (const p of meta.passes) log.write({ frame: n, pass: p.pass, draws: p.draws, uniforms: p.uniforms });
|
|
243
|
-
const line = {
|
|
244
|
-
frame: n, pass: null, artifact: "master", rgbaSha256: a.rgbaSha256, inkPx: a.inkPx, luminanceP995: a.luminanceP995,
|
|
245
|
-
textBoxes: meta.textBoxes, elements: meta.elements, fills: meta.fills, post: meta.post, shot: meta.shot, flash,
|
|
246
|
-
};
|
|
247
|
-
log.write(line);
|
|
248
|
-
frames.push(line);
|
|
249
|
-
masterFlash.push(flash);
|
|
250
|
-
if (a.mask) {
|
|
251
|
-
writeFileSync(path.join(samplesDir, `f${n}.png`), encodePng(rgbaToRgb(bytes, meta.width, meta.height), meta.width, meta.height, 3, { level: 1 }));
|
|
252
|
-
writeFileSync(path.join(samplesDir, `f${n}.mask.png`), encodePng(a.mask, meta.width, meta.height, 1, { level: 1 }));
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
|
-
const encoded = await encoder.finish();
|
|
256
|
-
await log.close();
|
|
257
|
-
if (encoded.code !== 0) throw new Error(`ffmpeg master encode failed (${encoded.code}): ${encoded.stderr.slice(-400)}`);
|
|
258
|
-
return { frames, masterFlash, filmPath, seconds: (Date.now() - t0) / 1000, encodeArgs: encoder.args };
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/** The preview ladder: re-render at the rung's fps, downscale, audit (looping), encode, check size. */
|
|
262
|
-
async function renderPreview({ session, plan, out, ffmpeg, env, minGlyphPx }) {
|
|
263
|
-
const runDir = path.join(out, ".run");
|
|
264
|
-
const encoders = previewRungs(ffmpeg, env);
|
|
265
|
-
const img2webp = findImg2webp(env);
|
|
266
|
-
const attempts = [];
|
|
267
|
-
for (const rung of PREVIEW.rungs) {
|
|
268
|
-
const scale = rung.width / 1920;
|
|
269
|
-
if (rung.width < PREVIEW.minWidth || minGlyphPx * scale < PREVIEW.minGlyphPx) {
|
|
270
|
-
attempts.push({ ...rung, skipped: `smallest glyph ${(minGlyphPx * scale).toFixed(1)} px < 10 px` });
|
|
271
|
-
continue;
|
|
272
|
-
}
|
|
273
|
-
const height = Math.round((rung.width * 9) / 16);
|
|
274
|
-
const dir = path.join(runDir, "preview", `${rung.width}x${rung.fps}`);
|
|
275
|
-
rmSync(dir, { recursive: true, force: true });
|
|
276
|
-
mkdirSync(dir, { recursive: true });
|
|
277
|
-
const count = Math.round(plan.durationSec * rung.fps);
|
|
278
|
-
const cells = [];
|
|
279
|
-
let i = 0;
|
|
280
|
-
await session.render({ from: 0, to: count, fps: rung.fps, samples: SAMPLING.previewSamples, shutter: SAMPLING.masterShutter, tag: "preview" }, async (meta, bytes) => {
|
|
281
|
-
analyzeFrame(bytes, meta.width, meta.height);
|
|
282
|
-
const small = areaDownscale(bytes, meta.width, meta.height, rung.width, height);
|
|
283
|
-
cells.push(cellsFromRgba(small, rung.width, height));
|
|
284
|
-
writeFileSync(path.join(dir, `${String(i).padStart(5, "0")}.png`), encodePng(rgbaToRgb(small, rung.width, height), rung.width, height, 3, { level: 1 }));
|
|
285
|
-
i += 1;
|
|
286
|
-
});
|
|
287
|
-
const records = detectSequence(cells, { loop: true });
|
|
288
|
-
for (const encoder of encoders) {
|
|
289
|
-
const outFile = path.join(runDir, "stage", encoder === "gif" ? "preview.gif" : "preview.webp");
|
|
290
|
-
const result = encodePreview({ encoder, ffmpeg, img2webp, dir, fps: rung.fps, out: outFile });
|
|
291
|
-
if (result.code !== 0 || !existsSync(outFile)) {
|
|
292
|
-
attempts.push({ ...rung, encoder, error: result.stderr.slice(-200) });
|
|
293
|
-
continue;
|
|
294
|
-
}
|
|
295
|
-
const bytes = statSync(outFile).size;
|
|
296
|
-
attempts.push({ ...rung, encoder, bytes });
|
|
297
|
-
if (bytes <= GATE.previewCapBytes) {
|
|
298
|
-
rmSync(dir, { recursive: true, force: true });
|
|
299
|
-
return { file: outFile, encoder, rung, bytes, records, attempts };
|
|
300
|
-
}
|
|
301
|
-
rmSync(outFile, { force: true });
|
|
302
|
-
}
|
|
303
|
-
rmSync(dir, { recursive: true, force: true });
|
|
304
|
-
}
|
|
305
|
-
return { file: null, encoder: null, rung: null, bytes: null, records: null, attempts };
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
async function renderStillExport({ session, plan, frame, file, samples, shutter }) {
|
|
309
|
-
let result = null;
|
|
310
|
-
await session.render({ from: frame, to: frame + 1, fps: plan.fps, samples, shutter, stillOverrides: { grain: 0, noise: 0 }, tag: "still-export" }, async (meta, bytes) => {
|
|
311
|
-
const a = analyzeFrame(bytes, meta.width, meta.height, { keepMask: true });
|
|
312
|
-
writeFileSync(file, encodePng(rgbaToRgb(bytes, meta.width, meta.height), meta.width, meta.height, 3, { level: 9 }));
|
|
313
|
-
result = { frame, inkPx: a.inkPx, rgbaSha256: a.rgbaSha256, bytes: statSync(file).size };
|
|
314
|
-
});
|
|
315
|
-
return result;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/** MO-C-09 / MO-A-25: re-render the cut frames seeked, in a fresh Chrome, and compare hashes. */
|
|
319
|
-
export async function determinismCheck({ plan, fontKeys, out, env, frames, samples, shutter, expected, renderer, log }) {
|
|
320
|
-
const pick = [...new Set(cutFrames(plan).flat())].slice(0, 12);
|
|
321
|
-
const renderSet = async (softwareOnly) => {
|
|
322
|
-
const session = await openSession({ plan, fontKeys, runDir: path.join(out, ".run"), env, softwareOnly, log });
|
|
323
|
-
const hashes = new Map();
|
|
324
|
-
try {
|
|
325
|
-
for (const n of [...pick].reverse()) {
|
|
326
|
-
await session.render({ from: n, to: n + 1, fps: plan.fps, samples, shutter, tag: "determinism" }, async (meta, bytes) => {
|
|
327
|
-
hashes.set(n, analyzeFrame(bytes, meta.width, meta.height).rgbaSha256);
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
} finally {
|
|
331
|
-
await session.close();
|
|
332
|
-
}
|
|
333
|
-
return { hashes, renderer: session.renderer };
|
|
334
|
-
};
|
|
335
|
-
const second = await renderSet(false);
|
|
336
|
-
const rows = pick.map((n) => ({ frame: n, sequential: expected.get(n), seeked: second.hashes.get(n), match: expected.get(n) === second.hashes.get(n) }));
|
|
337
|
-
if (rows.every((x) => x.match)) return { status: "PASS", samples, shutter, renderer, frames: rows };
|
|
338
|
-
if (isSoftware(renderer)) return { status: "FAIL", samples, shutter, renderer, frames: rows };
|
|
339
|
-
// Hardware pair differed: re-check the same frames under SwiftShader in two fresh processes.
|
|
340
|
-
const a = await renderSet(true);
|
|
341
|
-
const b = await renderSet(true);
|
|
342
|
-
const sw = pick.map((n) => ({ frame: n, a: a.hashes.get(n), b: b.hashes.get(n), match: a.hashes.get(n) === b.hashes.get(n) }));
|
|
343
|
-
return { status: sw.every((x) => x.match) ? "WARN" : "FAIL", samples, shutter, renderer, frames: rows, swiftshader: sw };
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/** MO-D-02: >= 120 evenly spaced frames at samples 1, render call to readback complete. */
|
|
347
|
-
export async function perfCheck({ session, plan }) {
|
|
348
|
-
const count = Math.max(GATE.perfMinFrames, 120);
|
|
349
|
-
const frames = Array.from({ length: count }, (_, i) => Math.min(plan.frameCount - 1, Math.round((i * (plan.frameCount - 1)) / (count - 1))));
|
|
350
|
-
const ms = await session.perf(frames, plan.fps);
|
|
351
|
-
const sorted = [...ms].sort((a, b) => a - b);
|
|
352
|
-
return { frames: ms.length, p50: sorted[Math.floor(sorted.length * 0.5)], p95: sorted[Math.floor(sorted.length * 0.95)], max: sorted[sorted.length - 1] };
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
function readJsonLines(file) {
|
|
356
|
-
if (!existsSync(file)) return [];
|
|
357
|
-
return readFileSync(file, "utf8").split("\n").filter(Boolean).map((l) => JSON.parse(l));
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/** Collect the gate's data from an output directory and evaluate it. */
|
|
361
|
-
export function collectAndEvaluate({ out, previewRecords, previewFps, determinism, perf, coverage, still, exportDir = path.join(out, ".run", "stage"), extraRules = [] }) {
|
|
362
|
-
const manifest = JSON.parse(readFileSync(path.join(out, "manifest.json"), "utf8"));
|
|
363
|
-
const lines = readJsonLines(path.join(out, "render.jsonl"));
|
|
364
|
-
const frames = lines.filter((l) => l.pass === null && l.artifact === "master").sort((a, b) => a.frame - b.frame);
|
|
365
|
-
const passLines = lines.filter((l) => l.pass !== null && l.pass !== undefined);
|
|
366
|
-
const shotEvents = lines.filter((l) => l.type === "shot-events").flatMap((l) => l.shots);
|
|
367
|
-
const stage = exportDir;
|
|
368
|
-
const stat = (f) => (existsSync(f) ? { bytes: statSync(f).size } : null);
|
|
369
|
-
const previewFile = ["preview.webp", "preview.gif"].map((f) => path.join(stage, f)).find(existsSync);
|
|
370
|
-
const exports = {
|
|
371
|
-
film: stat(path.join(stage, "film.mp4")),
|
|
372
|
-
preview: previewFile ? { ...stat(previewFile), kind: path.extname(previewFile).slice(1) } : null,
|
|
373
|
-
poster: stat(path.join(stage, "poster.png")),
|
|
374
|
-
reducedMotion: stat(path.join(stage, "reduced-motion.png")),
|
|
375
|
-
};
|
|
376
|
-
const probe = exports.film ? probeVideo(path.join(stage, "film.mp4")) : null;
|
|
377
|
-
const contrastSamples = [];
|
|
378
|
-
const samplesDir = path.join(out, ".run", "samples");
|
|
379
|
-
for (const fr of frames) {
|
|
380
|
-
const img = path.join(samplesDir, `f${fr.frame}.png`);
|
|
381
|
-
const mask = path.join(samplesDir, `f${fr.frame}.mask.png`);
|
|
382
|
-
if (!existsSync(img) || !existsSync(mask) || !(fr.textBoxes ?? []).length) continue;
|
|
383
|
-
const rgb = decodePng(readFileSync(img));
|
|
384
|
-
const m = decodePng(readFileSync(mask));
|
|
385
|
-
const rgba = Buffer.alloc(rgb.width * rgb.height * 4);
|
|
386
|
-
for (let i = 0, j = 0; i < rgba.length; i += 4, j += 3) {
|
|
387
|
-
rgba[i] = rgb.pixels[j]; rgba[i + 1] = rgb.pixels[j + 1]; rgba[i + 2] = rgb.pixels[j + 2]; rgba[i + 3] = 255;
|
|
388
|
-
}
|
|
389
|
-
const crt = (manifest.passRanges ?? []).find((p) => p.pass === "crt" && fr.frame >= p.frameStart && fr.frame <= p.frameEnd);
|
|
390
|
-
for (const box of fr.textBoxes) {
|
|
391
|
-
if ((box.alpha ?? 1) < 0.99) continue;
|
|
392
|
-
const bbox = screenBox(box.bbox, crt?.params?.curvature ?? 0);
|
|
393
|
-
const c = measureContrast({ rgba, mask: m.pixels, width: rgb.width, height: rgb.height, bbox, capHeightPx: box.capHeightPx, gradient: box.fill === "gradient" });
|
|
394
|
-
if (c) contrastSamples.push({ frame: fr.frame, text: box.text, fontSizePx: box.fontSizePx, weight: box.weight, ratio: c.ratio });
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
const preset = PRESETS[manifest.presetId];
|
|
398
|
-
const allowedHangulFonts = [...new Set(Object.values(preset.voices).flatMap((v) => [v.hangul, ...(v.weightSteps ?? [])]))]
|
|
399
|
-
.map((k) => loadFontManifest().fonts[k]).filter(Boolean).map((f) => path.basename(f.path ?? f.file));
|
|
400
|
-
const data = {
|
|
401
|
-
manifest, frames, passLines, masterFlash: frames.map((f) => f.flash), previewFlash: previewRecords ? { records: previewRecords, fps: previewFps } : null,
|
|
402
|
-
shotEvents, exports, probe, still, contrastSamples, determinism, perf, coverage, preset, seedOf: passSeed, allowedHangulFonts,
|
|
403
|
-
};
|
|
404
|
-
const gate = evaluateGate(data);
|
|
405
|
-
if (extraRules.length) {
|
|
406
|
-
gate.rules.push(...extraRules);
|
|
407
|
-
gate.failed = gate.rules.filter((x) => x.status === "FAIL").map((x) => x.id);
|
|
408
|
-
gate.pass = gate.failed.length === 0;
|
|
409
|
-
}
|
|
410
|
-
return { gate, manifest, exports, probe };
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
export function promote({ out, gate }) {
|
|
414
|
-
const stage = path.join(out, ".run", "stage");
|
|
415
|
-
const withheldDir = path.join(out, "withheld");
|
|
416
|
-
const names = readdirSync(stage).filter((f) => DELIVERABLES.includes(f));
|
|
417
|
-
if (gate.flashFail) {
|
|
418
|
-
mkdirSync(withheldDir, { recursive: true });
|
|
419
|
-
for (const name of names) renameSync(path.join(stage, name), path.join(withheldDir, name));
|
|
420
|
-
return { withheld: true, delivered: [] };
|
|
421
|
-
}
|
|
422
|
-
for (const name of names) renameSync(path.join(stage, name), path.join(out, name));
|
|
423
|
-
return { withheld: false, delivered: names };
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/** Remove deliverables and withheld diagnostics from an earlier round before a new full render. */
|
|
427
|
-
function clearOutputs(out) {
|
|
428
|
-
for (const name of [...DELIVERABLES, "manifest.json", "render.jsonl", "gate-report.txt"]) rmSync(path.join(out, name), { force: true });
|
|
429
|
-
rmSync(path.join(out, "withheld"), { recursive: true, force: true });
|
|
430
|
-
rmSync(path.join(out, ".run", "stage"), { recursive: true, force: true });
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* The end-to-end command. Returns { code, message, ... }. `stillsOnly` stops after the contact
|
|
435
|
-
* sheet with exit 0 so the agent can look before paying for the full render.
|
|
436
|
-
*/
|
|
437
|
-
export async function make({ briefPath, out, round = 1, stillsOnly = false, viewed = 0, env = process.env, wordTiming = false, gate: runGate = true, log = () => {} }) {
|
|
438
|
-
if (!(round >= 1 && round <= MAX_ROUNDS)) throw new BlockedError(EXIT.USAGE, `--round must be 1..${MAX_ROUNDS}`);
|
|
439
|
-
mkdirSync(out, { recursive: true });
|
|
440
|
-
const prep = await prepare({ briefPath, out, env, wordTiming, log });
|
|
441
|
-
const { plan, fontKeys, warnings } = prep;
|
|
442
|
-
const pre = await preflight({ plan, out, env });
|
|
443
|
-
if (!pre.pass) return { code: EXIT.GATE_FAIL_QA, message: `GATE_FAIL_QA (pre-flight): ${pre.failed.join(", ")}; see ${path.join(out, "gate-report.txt")}`, plan };
|
|
444
|
-
const ffmpeg = findFfmpeg(env);
|
|
445
|
-
if (!stillsOnly) clearOutputs(out);
|
|
446
|
-
const session = await openSession({ plan, fontKeys, runDir: prep.runDir, env, log });
|
|
447
|
-
const software = isSoftware(session.renderer);
|
|
448
|
-
const samples = software ? 1 : SAMPLING.masterSamples;
|
|
449
|
-
const shutter = SAMPLING.masterShutter;
|
|
450
|
-
let master;
|
|
451
|
-
let sound;
|
|
452
|
-
let stillsSet;
|
|
453
|
-
let preview;
|
|
454
|
-
let poster;
|
|
455
|
-
let still;
|
|
456
|
-
try {
|
|
457
|
-
stillsSet = await renderStillsSet({ session, plan, treatment: prep.treatment, out, round, stillsOnly: stillsOnly || !ffmpeg, env, log });
|
|
458
|
-
log(`stills: ${stillsSet.stills.files.length} files in ${path.join(out, "stills")}`);
|
|
459
|
-
if (stillsOnly) {
|
|
460
|
-
return { code: EXIT.OK, message: `STILLS_ONLY: open the storyboard ${path.join(out, "stills", "board.png")} and every file in ${path.join(out, "stills")} (index.json lists them), record the round with look --round ${round}, make the change, then render the film with --round ${round + 1} (no --stills-only)`, plan, stills: stillsSet.stills, egress: session.egress, renderer: session.renderer };
|
|
461
|
-
}
|
|
462
|
-
if (!ffmpeg) {
|
|
463
|
-
return { code: EXIT.BLOCKED_NO_FFMPEG_FOR_VIDEO, message: `BLOCKED_NO_FFMPEG_FOR_VIDEO: ffmpeg is not on PATH; the stills and contact sheet are in ${path.join(out, "stills")}; install ffmpeg for the MP4, preview and poster`, plan };
|
|
464
|
-
}
|
|
465
|
-
sound = soundTrackFor({ treatment: prep.treatment, out, frameCount: plan.frameCount, fps: plan.fps, cutTimes: plan.shots.slice(1).map((sh) => sh.start), ffmpeg });
|
|
466
|
-
master = await renderMaster({ session, plan, out, ffmpeg, samples, shutter, audio: sound.file });
|
|
467
|
-
log(`master: ${plan.frameCount} frames in ${master.seconds.toFixed(1)} s`);
|
|
468
|
-
const minGlyph = Math.min(...master.frames.flatMap((f) => (f.textBoxes ?? []).map((b) => b.fontSizePx)).filter((v) => v > 0), 1000);
|
|
469
|
-
preview = await renderPreview({ session, plan, out, ffmpeg, env, minGlyphPx: minGlyph });
|
|
470
|
-
const posterShot = plan.shots.find((s) => (s.text || s.items)) ?? plan.shots[0];
|
|
471
|
-
const posterFrame = Number.isInteger(prep.brief.posterFrame) ? prep.brief.posterFrame : Math.round(((posterShot.start + posterShot.end) / 2) * plan.fps);
|
|
472
|
-
poster = await renderStillExport({ session, plan, frame: posterFrame, file: path.join(out, ".run", "stage", "poster.png"), samples, shutter });
|
|
473
|
-
const lastText = [...plan.timeline].reverse().find((u) => (u.kind === "line" || u.kind === "scene") && u.text);
|
|
474
|
-
const stillFrameN = Math.round(lastText.end * plan.fps) - 1;
|
|
475
|
-
still = await renderStillExport({ session, plan, frame: stillFrameN, file: path.join(out, ".run", "stage", "reduced-motion.png"), samples, shutter });
|
|
476
|
-
const info = session.info;
|
|
477
|
-
const manifest = manifestFor(plan, {
|
|
478
|
-
samples, shutter, renderer: session.renderer, chromeFlags: session.flags, previewEncoder: preview.encoder, passRanges: info.passRanges, warnings, round,
|
|
479
|
-
sound: { mode: sound.mode, label: sound.label, file: sound.file ? path.relative(out, sound.file) : null },
|
|
480
|
-
treatmentSha256: treatmentSha(out),
|
|
481
|
-
});
|
|
482
|
-
writeJson(path.join(out, "manifest.json"), manifest);
|
|
483
|
-
} finally {
|
|
484
|
-
await session.close();
|
|
485
|
-
}
|
|
486
|
-
// The frame log needs the shot-event schedule for MO-SH-03.
|
|
487
|
-
appendShotEvents(out, session.info.shotEvents);
|
|
488
|
-
writeJson(path.join(out, ".run", "exports.json"), { preview: preview.attempts, poster, still, egress: session.egress, encodeArgs: master.encodeArgs, previewRung: preview.rung, previewFlash: preview.records });
|
|
489
|
-
if (!runGate) {
|
|
490
|
-
const stage = path.join(out, ".run", "stage");
|
|
491
|
-
for (const name of readdirSync(stage).filter((f) => DELIVERABLES.includes(f))) renameSync(path.join(stage, name), path.join(out, name));
|
|
492
|
-
return { code: EXIT.OK, message: `VIDEO: exports written to ${out} without the QA gate; run the gate command before delivering`, plan };
|
|
493
|
-
}
|
|
494
|
-
const expected = new Map(master.frames.map((f) => [f.frame, f.rgbaSha256]));
|
|
495
|
-
const determinism = await determinismCheck({ plan, fontKeys, out, env, samples, shutter, expected, renderer: session.renderer, log });
|
|
496
|
-
writeJson(path.join(out, ".run", "determinism.json"), determinism);
|
|
497
|
-
const perfSession = await openSession({ plan, fontKeys, runDir: prep.runDir, env, log });
|
|
498
|
-
let perf;
|
|
499
|
-
try {
|
|
500
|
-
perf = await perfCheck({ session: perfSession, plan });
|
|
501
|
-
} finally {
|
|
502
|
-
await perfSession.close();
|
|
503
|
-
}
|
|
504
|
-
writeJson(path.join(out, ".run", "perf.json"), perf);
|
|
505
|
-
const soundAudit = typeSoundAudit({ out, treatment: prep.treatment, plan, ffmpeg, env });
|
|
506
|
-
const { gate, manifest } = collectAndEvaluate({ out, previewRecords: preview.records, previewFps: preview.rung?.fps, determinism, perf, coverage: pre.coverage, still, extraRules: soundAudit.rules });
|
|
507
|
-
const promoted = promote({ out, gate });
|
|
508
|
-
const loc = (name) => (promoted.withheld ? path.join(out, "withheld", name) : path.join(out, name));
|
|
509
|
-
if (existsSync(loc("poster.png"))) await stillsSet.write(loc("poster.png"));
|
|
510
|
-
if (gate.pass && !promoted.withheld) recordHouse(out, { style: prep.treatment.style, path: "type", format: prep.treatment.format, durationSec: prep.treatment.durationSec });
|
|
511
|
-
const report = formatReport({
|
|
512
|
-
manifest, reason: plan.reason, gate, round, framesViewed: resolveViewed(out, viewed), software: manifest.softwareRenderer, withheld: promoted.withheld,
|
|
513
|
-
outputs: { film: loc("film.mp4"), preview: preview.file ? loc(path.basename(preview.file)) : "(no preview under 3 MB)", poster: loc("poster.png"), still: loc("reduced-motion.png") },
|
|
514
|
-
});
|
|
515
|
-
writeFileSync(path.join(out, "gate-report.txt"), `${report}\n${CREDIT_LINE}\nrender egress: ${session.egress}\n${warnings.map((w) => `warning: ${w}`).join("\n")}\n`);
|
|
516
|
-
const code = soundAudit.exitCode ?? (gate.pass ? EXIT.OK : EXIT.GATE_FAIL_QA);
|
|
517
|
-
const message = soundAudit.exitCode ? `SOUND_INVALID: ${soundAudit.rules.filter((x) => x.status === "FAIL").map((x) => `${x.id} ${x.detail}`).join("; ")}` : gate.pass
|
|
518
|
-
? `OK: gate PASS; film ${path.join(out, "film.mp4")}`
|
|
519
|
-
: promoted.withheld
|
|
520
|
-
? `GATE_FAIL_QA: MO-C-03 flash audit failed; exports are WITHHELD in ${path.join(out, "withheld")} (diagnostics, not deliverables). Failed: ${gate.failed.join(", ")}`
|
|
521
|
-
: `GATE_FAIL_QA: ${gate.failed.join(", ")}; artifacts kept for inspection; see ${path.join(out, "gate-report.txt")}`;
|
|
522
|
-
return { code, message, gate, plan, withheld: promoted.withheld, round };
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* `gate` mode: rerun the full gate on an existing output directory, including a fresh determinism
|
|
527
|
-
* re-render and perf run, then deliver or withhold the exports exactly as the end-to-end command.
|
|
528
|
-
*/
|
|
529
|
-
export async function gateOnly({ out, round = null, viewed = 0, env = process.env, log = () => {} }) {
|
|
530
|
-
const briefPath = path.join(out, ".run", "brief.json");
|
|
531
|
-
if (!existsSync(path.join(out, "manifest.json")) || !existsSync(briefPath)) throw new BlockedError(EXIT.USAGE, `no finished render in ${out} (manifest.json and .run/brief.json are required)`);
|
|
532
|
-
const prep = await prepare({ briefPath, out, env, log });
|
|
533
|
-
const { plan, fontKeys } = prep;
|
|
534
|
-
const coverage = await checkCoverage(plan, env);
|
|
535
|
-
const before = JSON.parse(readFileSync(path.join(out, "manifest.json"), "utf8"));
|
|
536
|
-
const exportsInfo = existsSync(path.join(out, ".run", "exports.json")) ? JSON.parse(readFileSync(path.join(out, ".run", "exports.json"), "utf8")) : {};
|
|
537
|
-
const lines = readJsonLines(path.join(out, "render.jsonl"));
|
|
538
|
-
const expected = new Map(lines.filter((l) => l.pass === null && l.artifact === "master").map((f) => [f.frame, f.rgbaSha256]));
|
|
539
|
-
const determinism = await determinismCheck({ plan, fontKeys, out, env, samples: before.samples, shutter: before.shutter, expected, renderer: before.renderer, log });
|
|
540
|
-
writeJson(path.join(out, ".run", "determinism.json"), determinism);
|
|
541
|
-
const session = await openSession({ plan, fontKeys, runDir: prep.runDir, env, log });
|
|
542
|
-
let perf;
|
|
543
|
-
try {
|
|
544
|
-
perf = await perfCheck({ session, plan });
|
|
545
|
-
} finally {
|
|
546
|
-
await session.close();
|
|
547
|
-
}
|
|
548
|
-
writeJson(path.join(out, ".run", "perf.json"), perf);
|
|
549
|
-
// Exports may sit at their deliverable names (an earlier PASS), in withheld/, or still staged.
|
|
550
|
-
const stage = path.join(out, ".run", "stage");
|
|
551
|
-
mkdirSync(stage, { recursive: true });
|
|
552
|
-
for (const dir of [out, path.join(out, "withheld")]) {
|
|
553
|
-
if (!existsSync(dir)) continue;
|
|
554
|
-
for (const name of readdirSync(dir).filter((f) => DELIVERABLES.includes(f))) renameSync(path.join(dir, name), path.join(stage, name));
|
|
555
|
-
}
|
|
556
|
-
const soundAudit = typeSoundAudit({ out, treatment: prep.treatment, plan, ffmpeg: findFfmpeg(env), env });
|
|
557
|
-
const { gate, manifest } = collectAndEvaluate({ out, previewRecords: exportsInfo.previewFlash ?? null, previewFps: exportsInfo.previewRung?.fps, determinism, perf, coverage, still: exportsInfo.still ?? null, extraRules: soundAudit.rules });
|
|
558
|
-
const promoted = promote({ out, gate });
|
|
559
|
-
const loc = (name) => (promoted.withheld ? path.join(out, "withheld", name) : path.join(out, name));
|
|
560
|
-
const previewName = ["preview.webp", "preview.gif"].find((f) => existsSync(loc(f))) ?? "preview.webp";
|
|
561
|
-
const framesViewed = resolveViewed(out, viewed);
|
|
562
|
-
const report = formatReport({
|
|
563
|
-
manifest, reason: plan.reason, gate, round: round ?? manifest.round ?? 1, framesViewed, software: manifest.softwareRenderer, withheld: promoted.withheld,
|
|
564
|
-
outputs: { film: loc("film.mp4"), preview: loc(previewName), poster: loc("poster.png"), still: loc("reduced-motion.png") },
|
|
565
|
-
});
|
|
566
|
-
writeFileSync(path.join(out, "gate-report.txt"), `${report}\n${CREDIT_LINE}\n`);
|
|
567
|
-
return {
|
|
568
|
-
code: gate.pass ? EXIT.OK : EXIT.GATE_FAIL_QA,
|
|
569
|
-
message: gate.pass ? "OK: gate PASS" : `GATE_FAIL_QA: ${gate.failed.join(", ")}${promoted.withheld ? " (flash audit failed: exports withheld)" : ""}`,
|
|
570
|
-
gate,
|
|
571
|
-
};
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
/** `stills`, `sheet` and `perf` as standalone modes. */
|
|
575
|
-
export async function partial({ mode, briefPath, out, env = process.env, log = () => {} }) {
|
|
576
|
-
const prep = await prepare({ briefPath, out, env, log });
|
|
577
|
-
const pre = await preflight({ plan: prep.plan, out, env });
|
|
578
|
-
if (!pre.pass) return { code: EXIT.GATE_FAIL_QA, message: `GATE_FAIL_QA (pre-flight): ${pre.failed.join(", ")}` };
|
|
579
|
-
const session = await openSession({ plan: prep.plan, fontKeys: prep.fontKeys, runDir: prep.runDir, env, log });
|
|
580
|
-
try {
|
|
581
|
-
if (mode === "stills" || mode === "sheet") {
|
|
582
|
-
const set = await renderStillsSet({ session, plan: prep.plan, treatment: prep.treatment, out, round: 1, stillsOnly: true, env, log });
|
|
583
|
-
return { code: EXIT.OK, message: `STILLS: ${set.stills.files.length} files in ${path.join(out, "stills")} (the sheet is stills/sheet.png)` };
|
|
584
|
-
}
|
|
585
|
-
const perf = await perfCheck({ session, plan: prep.plan });
|
|
586
|
-
writeJson(path.join(out, ".run", "perf.json"), perf);
|
|
587
|
-
return { code: EXIT.OK, message: `PERF: p50 ${perf.p50.toFixed(1)} ms, p95 ${perf.p95.toFixed(1)} ms over ${perf.frames} frames at --samples 1 (${session.renderer})` };
|
|
588
|
-
} finally {
|
|
589
|
-
await session.close();
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
/** Audit the staged master's audio against the treatment's sound plan (exit 20 for a generated bed). */
|
|
594
|
-
function typeSoundAudit({ out, treatment, plan, ffmpeg, env }) {
|
|
595
|
-
const film = path.join(out, ".run", "stage", "film.mp4");
|
|
596
|
-
return auditMuxed({ ffmpeg, ffprobe: findFfprobe(env), film, videoDurationSec: plan.frameCount / plan.fps, mode: treatment.sound.mode });
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
function appendShotEvents(out, shotEvents) {
|
|
600
|
-
writeFileSync(path.join(out, "render.jsonl"), `${JSON.stringify({ type: "shot-events", pass: undefined, shots: shotEvents })}\n`, { flag: "a" });
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
export { readJsonLines };
|