@litfamily/litgravity 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +185 -97
- package/README_ko-KR.md +186 -98
- package/bin/litgravity.mjs +19 -8
- package/lib/agent-file.mjs +9 -7
- package/lib/doctor.mjs +31 -19
- package/lib/extension-manager.mjs +641 -0
- package/lib/host-tools.mjs +9 -36
- package/lib/install.mjs +21 -5
- package/lib/list.mjs +11 -16
- package/lib/paths.mjs +0 -1
- package/package.json +2 -2
- package/plugin/hooks/lib/extensions.mjs +58 -0
- package/plugin/hooks/lib/reentry.mjs +5 -4
- package/plugin/hooks/lib/routes.mjs +52 -9
- package/plugin/hooks/post-tool-use.mjs +0 -2
- package/plugin/hooks/pre-invocation.mjs +0 -2
- package/plugin/hooks/session-start.mjs +8 -0
- package/plugin/hooks/stop.mjs +2 -8
- package/plugin/plugin.json +1 -1
- package/plugin/skills/autoconference/SKILL.md +1 -1
- package/plugin/skills/autoconference/modes/core.md +1 -1
- package/plugin/skills/autoconference/references/visualization-guide.md +6 -6
- package/plugin/skills/autoconference/scripts/style_presets.py +6 -6
- package/plugin/skills/autoresearch/references/type-checklists.md +1 -1
- package/plugin/skills/autoresearch/references/visualization-guide.md +14 -5
- package/plugin/skills/frontend-ui-ux/SKILL.md +26 -142
- package/plugin/skills/lit-code/references/core/agy-surfaces-and-verification.md +1 -1
- package/plugin/skills/lit-code/references/engineering-risk-signals.md +2 -2
- package/plugin/skills/lit-diagram-drawer/SKILL.md +30 -161
- package/plugin/skills/lit-docx/SKILL.md +30 -119
- package/plugin/skills/lit-loop/SKILL.md +1 -1
- package/plugin/skills/lit-pptx/SKILL.md +28 -127
- package/plugin/skills/lit-schematic/SKILL.md +29 -95
- package/plugin/skills/lit-scientific-visualization/SKILL.md +29 -157
- package/plugin/skills/lit-typographic-motion/SKILL.md +28 -184
- package/plugin/skills/readme-studio/SKILL.md +30 -95
- package/plugin/skills/visual-qa/SKILL.md +30 -118
- package/lib/runtime.mjs +0 -81
- package/plugin/hooks/lib/motion.mjs +0 -171
- package/plugin/lib/python-pick.mjs +0 -63
- package/plugin/skills/frontend-ui-ux/ATTRIBUTION.md +0 -23
- package/plugin/skills/frontend-ui-ux/LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/PROVENANCE.json +0 -38
- package/plugin/skills/frontend-ui-ux/SOURCE-MANIFEST.json +0 -1060
- package/plugin/skills/frontend-ui-ux/THIRD-PARTY-NOTICE.txt +0 -14
- package/plugin/skills/frontend-ui-ux/data/design-intelligence.json +0 -1
- package/plugin/skills/frontend-ui-ux/examples/design-contract.example.json +0 -186
- package/plugin/skills/frontend-ui-ux/examples/phase-3-readme-ab/README.md +0 -9
- package/plugin/skills/frontend-ui-ux/kit/components.css +0 -417
- package/plugin/skills/frontend-ui-ux/kit/fonts.json +0 -22
- package/plugin/skills/frontend-ui-ux/kit/layouts/landing.html +0 -164
- package/plugin/skills/frontend-ui-ux/kit/layouts/settings.html +0 -114
- package/plugin/skills/frontend-ui-ux/kit/layouts/workspace.html +0 -115
- package/plugin/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +0 -227
- package/plugin/skills/frontend-ui-ux/kit/styles/field-notes.json +0 -205
- package/plugin/skills/frontend-ui-ux/kit/styles/graphite.json +0 -200
- package/plugin/skills/frontend-ui-ux/kit/styles/meadow.json +0 -199
- package/plugin/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +0 -222
- package/plugin/skills/frontend-ui-ux/kit/ui.js +0 -226
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-ATTRIBUTION.md +0 -217
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/frontend-LICENSE-Apache-2.0.txt +0 -201
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/root-LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +0 -873
- package/plugin/skills/frontend-ui-ux/references/adaptive-layout.md +0 -103
- package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -415
- package/plugin/skills/frontend-ui-ux/references/composition.md +0 -93
- package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -203
- package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -27
- package/plugin/skills/frontend-ui-ux/references/design/README.md +0 -248
- package/plugin/skills/frontend-ui-ux/references/design/_INDEX.md +0 -191
- package/plugin/skills/frontend-ui-ux/references/design/airbnb.md +0 -393
- package/plugin/skills/frontend-ui-ux/references/design/airtable.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/design/apple.md +0 -250
- package/plugin/skills/frontend-ui-ux/references/design/aside.md +0 -209
- package/plugin/skills/frontend-ui-ux/references/design/binance.md +0 -348
- package/plugin/skills/frontend-ui-ux/references/design/bmw.md +0 -183
- package/plugin/skills/frontend-ui-ux/references/design/brutalist-skill.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/design/bugatti.md +0 -271
- package/plugin/skills/frontend-ui-ux/references/design/cal.md +0 -262
- package/plugin/skills/frontend-ui-ux/references/design/claude.md +0 -315
- package/plugin/skills/frontend-ui-ux/references/design/clay.md +0 -307
- package/plugin/skills/frontend-ui-ux/references/design/clickhouse.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/clone-from-url.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/design/cohere.md +0 -269
- package/plugin/skills/frontend-ui-ux/references/design/coinbase.md +0 -132
- package/plugin/skills/frontend-ui-ux/references/design/composio.md +0 -310
- package/plugin/skills/frontend-ui-ux/references/design/cursor.md +0 -312
- package/plugin/skills/frontend-ui-ux/references/design/design-system-architecture.md +0 -244
- package/plugin/skills/frontend-ui-ux/references/design/elevenlabs.md +0 -268
- package/plugin/skills/frontend-ui-ux/references/design/expo.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/ferrari.md +0 -317
- package/plugin/skills/frontend-ui-ux/references/design/figma.md +0 -223
- package/plugin/skills/frontend-ui-ux/references/design/framer.md +0 -249
- package/plugin/skills/frontend-ui-ux/references/design/gpt-tasteskill.md +0 -74
- package/plugin/skills/frontend-ui-ux/references/design/hashicorp.md +0 -281
- package/plugin/skills/frontend-ui-ux/references/design/ibm.md +0 -335
- package/plugin/skills/frontend-ui-ux/references/design/image-to-code-skill.md +0 -1228
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-brandkit.md +0 -798
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-mobile.md +0 -1465
- package/plugin/skills/frontend-ui-ux/references/design/imagegen-frontend-web.md +0 -987
- package/plugin/skills/frontend-ui-ux/references/design/intercom.md +0 -149
- package/plugin/skills/frontend-ui-ux/references/design/kraken.md +0 -128
- package/plugin/skills/frontend-ui-ux/references/design/lamborghini.md +0 -291
- package/plugin/skills/frontend-ui-ux/references/design/layout-skill.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/design/lazyweb.md +0 -77
- package/plugin/skills/frontend-ui-ux/references/design/linear.app.md +0 -370
- package/plugin/skills/frontend-ui-ux/references/design/lovable.md +0 -301
- package/plugin/skills/frontend-ui-ux/references/design/mastercard.md +0 -368
- package/plugin/skills/frontend-ui-ux/references/design/meta.md +0 -369
- package/plugin/skills/frontend-ui-ux/references/design/minimalist-skill.md +0 -85
- package/plugin/skills/frontend-ui-ux/references/design/minimax.md +0 -260
- package/plugin/skills/frontend-ui-ux/references/design/mintlify.md +0 -329
- package/plugin/skills/frontend-ui-ux/references/design/miro.md +0 -111
- package/plugin/skills/frontend-ui-ux/references/design/mistral.ai.md +0 -264
- package/plugin/skills/frontend-ui-ux/references/design/mongodb.md +0 -269
- package/plugin/skills/frontend-ui-ux/references/design/nike.md +0 -366
- package/plugin/skills/frontend-ui-ux/references/design/notion.md +0 -312
- package/plugin/skills/frontend-ui-ux/references/design/nvidia.md +0 -296
- package/plugin/skills/frontend-ui-ux/references/design/ollama.md +0 -270
- package/plugin/skills/frontend-ui-ux/references/design/opencode.ai.md +0 -284
- package/plugin/skills/frontend-ui-ux/references/design/output-skill.md +0 -49
- package/plugin/skills/frontend-ui-ux/references/design/pinterest.md +0 -233
- package/plugin/skills/frontend-ui-ux/references/design/playstation.md +0 -367
- package/plugin/skills/frontend-ui-ux/references/design/posthog.md +0 -259
- package/plugin/skills/frontend-ui-ux/references/design/raycast.md +0 -271
- package/plugin/skills/frontend-ui-ux/references/design/react-dev-tooling-skill.md +0 -230
- package/plugin/skills/frontend-ui-ux/references/design/redesign-skill.md +0 -178
- package/plugin/skills/frontend-ui-ux/references/design/renault.md +0 -314
- package/plugin/skills/frontend-ui-ux/references/design/replicate.md +0 -264
- package/plugin/skills/frontend-ui-ux/references/design/resend.md +0 -306
- package/plugin/skills/frontend-ui-ux/references/design/revolut.md +0 -188
- package/plugin/skills/frontend-ui-ux/references/design/runwayml.md +0 -247
- package/plugin/skills/frontend-ui-ux/references/design/sanity.md +0 -360
- package/plugin/skills/frontend-ui-ux/references/design/sentry.md +0 -265
- package/plugin/skills/frontend-ui-ux/references/design/shopify.md +0 -353
- package/plugin/skills/frontend-ui-ux/references/design/soft-skill.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/design/spacex.md +0 -197
- package/plugin/skills/frontend-ui-ux/references/design/spotify.md +0 -249
- package/plugin/skills/frontend-ui-ux/references/design/starbucks.md +0 -583
- package/plugin/skills/frontend-ui-ux/references/design/stitch-design-example.md +0 -121
- package/plugin/skills/frontend-ui-ux/references/design/stitch-skill.md +0 -184
- package/plugin/skills/frontend-ui-ux/references/design/stripe.md +0 -325
- package/plugin/skills/frontend-ui-ux/references/design/supabase.md +0 -258
- package/plugin/skills/frontend-ui-ux/references/design/superhuman.md +0 -255
- package/plugin/skills/frontend-ui-ux/references/design/taste-skill.md +0 -1206
- package/plugin/skills/frontend-ui-ux/references/design/tesla.md +0 -289
- package/plugin/skills/frontend-ui-ux/references/design/theverge.md +0 -342
- package/plugin/skills/frontend-ui-ux/references/design/together.ai.md +0 -266
- package/plugin/skills/frontend-ui-ux/references/design/uber.md +0 -298
- package/plugin/skills/frontend-ui-ux/references/design/vercel.md +0 -313
- package/plugin/skills/frontend-ui-ux/references/design/vodafone.md +0 -426
- package/plugin/skills/frontend-ui-ux/references/design/voltagent.md +0 -326
- package/plugin/skills/frontend-ui-ux/references/design/warp.md +0 -256
- package/plugin/skills/frontend-ui-ux/references/design/webflow.md +0 -95
- package/plugin/skills/frontend-ui-ux/references/design/wired.md +0 -281
- package/plugin/skills/frontend-ui-ux/references/design/wise.md +0 -176
- package/plugin/skills/frontend-ui-ux/references/design/x.ai.md +0 -260
- package/plugin/skills/frontend-ui-ux/references/design/zapier.md +0 -331
- package/plugin/skills/frontend-ui-ux/references/designpowers/EVIDENCE.md +0 -97
- package/plugin/skills/frontend-ui-ux/references/designpowers/README.md +0 -48
- package/plugin/skills/frontend-ui-ux/references/designpowers/UPSTREAM.md +0 -80
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-a-direction.md +0 -64
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-b-execution.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-c-review.md +0 -65
- package/plugin/skills/frontend-ui-ux/references/designpowers/lane-d-memory.md +0 -83
- package/plugin/skills/frontend-ui-ux/references/designpowers/orchestration.md +0 -80
- package/plugin/skills/frontend-ui-ux/references/designpowers/routing.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/LICENSE +0 -21
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/accessibility-reviewer.md +0 -83
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/content-writer.md +0 -132
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-builder.md +0 -109
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-critic.md +0 -89
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-lead.md +0 -113
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-scout.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/design-strategist.md +0 -121
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/heuristic-evaluator.md +0 -268
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/inspiration-scout.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/agents/motion-designer.md +0 -120
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/accessible-content/reference.md +0 -101
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/adaptive-interfaces/reference.md +0 -109
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/cognitive-accessibility/reference.md +0 -107
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debate/reference.md +0 -199
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-debt-tracker/reference.md +0 -174
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-handoff/reference.md +0 -125
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-md/reference.md +0 -106
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-retrospective/reference.md +0 -266
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-review/reference.md +0 -123
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/design-system-alignment/reference.md +0 -120
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/designpowers-critique/reference.md +0 -164
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/heuristic-evaluation/reference.md +0 -85
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inclusive-personas/reference.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/inspiration-scouting/reference.md +0 -165
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/interaction-design/reference.md +0 -122
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/motion-choreography/reference.md +0 -81
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/research-planning/reference.md +0 -96
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/responsive-patterns/reference.md +0 -77
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/synthetic-user-testing/reference.md +0 -192
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-feedback/reference.md +0 -165
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/taste-report/reference.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/token-architecture/reference.md +0 -75
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/ui-composition/reference.md +0 -117
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/usability-testing/reference.md +0 -78
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/verification-before-shipping/reference.md +0 -125
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/voice-and-tone/reference.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/designpowers/vendor/skills/writing-design-plans/reference.md +0 -119
- package/plugin/skills/frontend-ui-ux/references/evidence-review.md +0 -119
- package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
- package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -115
- package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -98
- package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -48
- package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -153
- package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -101
- package/plugin/skills/frontend-ui-ux/references/perfection/README.md +0 -160
- package/plugin/skills/frontend-ui-ux/references/perfection/react-perf-tooling.md +0 -127
- package/plugin/skills/frontend-ui-ux/references/performance-delivery.md +0 -91
- package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -71
- package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -103
- package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -139
- package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -90
- package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -79
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/README.md +0 -659
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/charts.csv +0 -26
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/colors.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/icons.csv +0 -106
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/landing.csv +0 -35
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/products.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/react-performance.csv +0 -45
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/astro.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/flutter.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/html-tailwind.csv +0 -56
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/jetpack-compose.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nextjs.csv +0 -53
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxt-ui.csv +0 -51
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/nuxtjs.csv +0 -59
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react-native.csv +0 -52
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/react.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/shadcn.csv +0 -61
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/svelte.csv +0 -54
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/swiftui.csv +0 -51
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/stacks/vue.csv +0 -50
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/styles.csv +0 -85
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/typography.csv +0 -74
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ui-reasoning.csv +0 -162
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/ux-guidelines.csv +0 -100
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/data/web-interface.csv +0 -31
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/core.py +0 -262
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/design_system.py +0 -1148
- package/plugin/skills/frontend-ui-ux/references/ui-ux-db/scripts/search.py +0 -114
- package/plugin/skills/frontend-ui-ux/references/visual-language.md +0 -90
- package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -55
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +0 -306
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +0 -291
- package/plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +0 -311
- package/plugin/skills/frontend-ui-ux/scripts/chrome-driver.mjs +0 -217
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-format.mjs +0 -286
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-inventory-rules.mjs +0 -354
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-rules.mjs +0 -361
- package/plugin/skills/frontend-ui-ux/scripts/design-contract-surface-rules.mjs +0 -313
- package/plugin/skills/frontend-ui-ux/scripts/design-data.mjs +0 -68
- package/plugin/skills/frontend-ui-ux/scripts/design-lock.mjs +0 -400
- package/plugin/skills/frontend-ui-ux/scripts/errors.mjs +0 -12
- package/plugin/skills/frontend-ui-ux/scripts/import-design-intelligence.mjs +0 -124
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-lock.mjs +0 -196
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-page.mjs +0 -1555
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-rules.mjs +0 -153
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-server.mjs +0 -57
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe-static.mjs +0 -129
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -322
- package/plugin/skills/frontend-ui-ux/scripts/json-boundary.mjs +0 -63
- package/plugin/skills/frontend-ui-ux/scripts/pixel-art.mjs +0 -60
- package/plugin/skills/frontend-ui-ux/scripts/query-design-intelligence.mjs +0 -106
- package/plugin/skills/frontend-ui-ux/scripts/search.mjs +0 -43
- package/plugin/skills/frontend-ui-ux/scripts/source-replay.mjs +0 -153
- package/plugin/skills/frontend-ui-ux/scripts/strict-json.mjs +0 -143
- package/plugin/skills/frontend-ui-ux/scripts/validate-design-contract.mjs +0 -52
- package/plugin/skills/frontend-ui-ux/scripts/verify-corpus.mjs +0 -90
- package/plugin/skills/lit-diagram-drawer/NOTICE +0 -33
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-architecture-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-beeswarm-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bubble-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-bump-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-data-flow-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-datalake-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-db-schema-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dependency-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-deployment-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-integration-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-dp-security-matrix-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-er-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-fishbone-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-flowchart-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-gantt-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-heatmap-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-high-level-vertical-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-drawio-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-excalidraw-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-import-mermaid-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-it-state-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-journey-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-kanban-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-layers-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-line-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-loop-terminal-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-marimekko-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-medallion-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-nested-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-org-chart-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-paved-road-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-polar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-policy-trace-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-process-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-pyramid-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-consultant-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-quadrant-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-queue-animated-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-radar-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-ridgeline-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sankey-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-scatter-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-sequence-oauth-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-slopegraph-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-lifecycle-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-state-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-story-map-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-streamgraph-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-swimlane-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-timeline-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-block-decomposition-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-tree-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-treemap-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-uml-class-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-venn-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-wardley-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-dark.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-full.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/examples/type-waterfall-light.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/fonts/OFL.txt +0 -94
- package/plugin/skills/lit-diagram-drawer/assets/fonts/PretendardVariable.woff2 +0 -0
- package/plugin/skills/lit-diagram-drawer/assets/fonts/provenance.json +0 -22
- package/plugin/skills/lit-diagram-drawer/assets/icons.html +0 -231
- package/plugin/skills/lit-diagram-drawer/assets/index.html +0 -1
- package/plugin/skills/lit-diagram-drawer/assets/licenses/devicon-MIT.txt +0 -20
- package/plugin/skills/lit-diagram-drawer/assets/licenses/diagram-design-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/assets/licenses/log-z-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/assets/licenses/simple-icons-CC0.md +0 -30
- package/plugin/skills/lit-diagram-drawer/assets/licenses/tabler-MIT.txt +0 -21
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/brief.md +0 -33
- package/plugin/skills/lit-diagram-drawer/examples/01-service-architecture/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/brief.md +0 -18
- package/plugin/skills/lit-diagram-drawer/examples/02-release-decision/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/brief.md +0 -19
- package/plugin/skills/lit-diagram-drawer/examples/03-data-retention/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/04-oauth-sequence/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/05-review-lanes/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/brief.md +0 -17
- package/plugin/skills/lit-diagram-drawer/examples/06-rollout-gates/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/brief.md +0 -19
- package/plugin/skills/lit-diagram-drawer/examples/07-deployment-boundary/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/after.html +0 -1
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/brief.md +0 -20
- package/plugin/skills/lit-diagram-drawer/examples/08-policy-traces/constructed-naive-foil.html +0 -1
- package/plugin/skills/lit-diagram-drawer/references/accessibility.md +0 -37
- package/plugin/skills/lit-diagram-drawer/references/drawing-rules.md +0 -86
- package/plugin/skills/lit-diagram-drawer/references/export.md +0 -34
- package/plugin/skills/lit-diagram-drawer/references/failure-codes.md +0 -66
- package/plugin/skills/lit-diagram-drawer/references/import-drawio.md +0 -21
- package/plugin/skills/lit-diagram-drawer/references/import-excalidraw.md +0 -14
- package/plugin/skills/lit-diagram-drawer/references/import-mermaid.md +0 -18
- package/plugin/skills/lit-diagram-drawer/references/import-schema.md +0 -28
- package/plugin/skills/lit-diagram-drawer/references/korean-typography.md +0 -34
- package/plugin/skills/lit-diagram-drawer/references/motion.md +0 -29
- package/plugin/skills/lit-diagram-drawer/references/office-pptx-docx.md +0 -42
- package/plugin/skills/lit-diagram-drawer/references/output-spec.md +0 -48
- package/plugin/skills/lit-diagram-drawer/references/playbooks.md +0 -67
- package/plugin/skills/lit-diagram-drawer/references/primitive-annotation.md +0 -12
- package/plugin/skills/lit-diagram-drawer/references/primitive-icons.md +0 -21
- package/plugin/skills/lit-diagram-drawer/references/primitive-sketchy.md +0 -11
- package/plugin/skills/lit-diagram-drawer/references/primitive-terminal.md +0 -11
- package/plugin/skills/lit-diagram-drawer/references/profiles.md +0 -24
- package/plugin/skills/lit-diagram-drawer/references/semantic-patterns.md +0 -27
- package/plugin/skills/lit-diagram-drawer/references/style-guide.md +0 -76
- package/plugin/skills/lit-diagram-drawer/references/type-architecture.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-bar.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-beeswarm.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-bubble.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-bump.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-catalog.json +0 -1433
- package/plugin/skills/lit-diagram-drawer/references/type-data-flow.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-datalake.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-db-schema.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dependency.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-deployment.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dp-integration.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-dp-security-matrix.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-er.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-fishbone.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-flowchart.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-gantt.md +0 -49
- package/plugin/skills/lit-diagram-drawer/references/type-heatmap.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-high-level-vertical.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-high-level.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-drawio.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-excalidraw.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-import-mermaid.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-it-state.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-journey.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-kanban.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-layers.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-line.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-loop-terminal.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-loop.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-marimekko.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-medallion.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-nested.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-org-chart.md +0 -58
- package/plugin/skills/lit-diagram-drawer/references/type-paved-road-animated.md +0 -72
- package/plugin/skills/lit-diagram-drawer/references/type-polar.md +0 -67
- package/plugin/skills/lit-diagram-drawer/references/type-policy-trace-animated.md +0 -69
- package/plugin/skills/lit-diagram-drawer/references/type-process.md +0 -58
- package/plugin/skills/lit-diagram-drawer/references/type-pyramid.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-quadrant-consultant.md +0 -60
- package/plugin/skills/lit-diagram-drawer/references/type-quadrant.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-queue-animated.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-radar.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-ridgeline.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-sankey.md +0 -68
- package/plugin/skills/lit-diagram-drawer/references/type-scatter.md +0 -60
- package/plugin/skills/lit-diagram-drawer/references/type-sequence-oauth.md +0 -66
- package/plugin/skills/lit-diagram-drawer/references/type-sequence.md +0 -63
- package/plugin/skills/lit-diagram-drawer/references/type-slopegraph.md +0 -65
- package/plugin/skills/lit-diagram-drawer/references/type-state-lifecycle.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-state.md +0 -59
- package/plugin/skills/lit-diagram-drawer/references/type-story-map.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-streamgraph.md +0 -53
- package/plugin/skills/lit-diagram-drawer/references/type-swimlane.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-timeline.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +0 -57
- package/plugin/skills/lit-diagram-drawer/references/type-tree.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-treemap.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/type-uml-class.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-venn.md +0 -51
- package/plugin/skills/lit-diagram-drawer/references/type-wardley.md +0 -52
- package/plugin/skills/lit-diagram-drawer/references/type-waterfall.md +0 -54
- package/plugin/skills/lit-diagram-drawer/references/verifier-guide.md +0 -76
- package/plugin/skills/lit-diagram-drawer/scripts/block-registry.mjs +0 -43
- package/plugin/skills/lit-diagram-drawer/scripts/brief-contract.mjs +0 -94
- package/plugin/skills/lit-diagram-drawer/scripts/check-visible-text.mjs +0 -15
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +0 -13
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-metrics.mjs +0 -219
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime-lock/package.json +0 -9
- package/plugin/skills/lit-diagram-drawer/scripts/diagram-runtime.mjs +0 -277
- package/plugin/skills/lit-diagram-drawer/scripts/doctor.mjs +0 -25
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-model.mjs +0 -162
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-source.mjs +0 -147
- package/plugin/skills/lit-diagram-drawer/scripts/drawio-xml.mjs +0 -148
- package/plugin/skills/lit-diagram-drawer/scripts/export.mjs +0 -119
- package/plugin/skills/lit-diagram-drawer/scripts/import-common.mjs +0 -85
- package/plugin/skills/lit-diagram-drawer/scripts/import-drawio.mjs +0 -48
- package/plugin/skills/lit-diagram-drawer/scripts/import-excalidraw.mjs +0 -234
- package/plugin/skills/lit-diagram-drawer/scripts/import-mermaid.mjs +0 -104
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-common.mjs +0 -115
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-er.mjs +0 -70
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-flowchart.mjs +0 -178
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-sequence.mjs +0 -137
- package/plugin/skills/lit-diagram-drawer/scripts/mermaid-state.mjs +0 -80
- package/plugin/skills/lit-diagram-drawer/scripts/office-safety.mjs +0 -54
- package/plugin/skills/lit-diagram-drawer/scripts/runtime-probes.mjs +0 -11
- package/plugin/skills/lit-diagram-drawer/scripts/verify-all.mjs +0 -85
- package/plugin/skills/lit-diagram-drawer/scripts/verify-brief.mjs +0 -16
- package/plugin/skills/lit-diagram-drawer/scripts/verify-diagram.mjs +0 -27
- package/plugin/skills/lit-diagram-drawer/scripts/verify-motion.mjs +0 -12
- package/plugin/skills/lit-diagram-drawer/scripts/verify-type.mjs +0 -48
- package/plugin/skills/lit-diagram-drawer/scripts/visual-quality-geometry.mjs +0 -226
- package/plugin/skills/lit-diagram-drawer/scripts/visual-quality.mjs +0 -146
- package/plugin/skills/lit-docx/NOTICE +0 -35
- package/plugin/skills/lit-docx/references/build-loop.md +0 -96
- package/plugin/skills/lit-docx/references/components.md +0 -287
- package/plugin/skills/lit-docx/references/direction-step.md +0 -339
- package/plugin/skills/lit-docx/references/examples/01-report-ko.md +0 -166
- package/plugin/skills/lit-docx/references/examples/02-brief-ko.md +0 -96
- package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -170
- package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -141
- package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -56
- package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -129
- package/plugin/skills/lit-docx/references/examples/07-report-en.md +0 -123
- package/plugin/skills/lit-docx/references/examples/08-proposal-en.md +0 -122
- package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -40
- package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -94
- package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -89
- package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -43
- package/plugin/skills/lit-docx/references/page-composition.md +0 -319
- package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
- package/plugin/skills/lit-docx/references/slop_rules.md +0 -88
- package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -170
- package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -173
- package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -182
- package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -171
- package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -181
- package/plugin/skills/lit-docx/references/tonalities/report.md +0 -199
- package/plugin/skills/lit-docx/scripts/clean_markdown.py +0 -95
- package/plugin/skills/lit-docx/scripts/convert_md_to_docx.py +0 -1395
- package/plugin/skills/lit-docx/scripts/convert_md_to_pdf.py +0 -301
- package/plugin/skills/lit-docx/scripts/convert_pdf.py +0 -139
- package/plugin/skills/lit-docx/scripts/docx_design.py +0 -2449
- package/plugin/skills/lit-docx/scripts/docx_layout.py +0 -959
- package/plugin/skills/lit-docx/scripts/edit_docx.py +0 -306
- package/plugin/skills/lit-docx/scripts/embed_images.py +0 -78
- package/plugin/skills/lit-docx/scripts/generate_docx_templates.py +0 -500
- package/plugin/skills/lit-docx/scripts/pdf_fonts.py +0 -83
- package/plugin/skills/lit-docx/scripts/qa_docx.py +0 -234
- package/plugin/skills/lit-docx/scripts/slop_lint.py +0 -573
- package/plugin/skills/lit-docx/scripts/visual_audit.py +0 -48
- package/plugin/skills/lit-docx/templates/docx/acs.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/elsevier.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/ieee.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/korean-generic.docx +0 -0
- package/plugin/skills/lit-docx/templates/docx/nature.docx +0 -0
- package/plugin/skills/lit-docx/templates/latex/acs/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/acs/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +0 -42
- package/plugin/skills/lit-docx/templates/latex/ieee/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/korean-generic/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/korean-generic/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/latex/nature/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/nature/template.tex +0 -41
- package/plugin/skills/lit-docx/templates/registry.yaml +0 -1366
- package/plugin/skills/lit-docx/templates/tonalities/brief.yaml +0 -28
- package/plugin/skills/lit-docx/templates/tonalities/journal.yaml +0 -25
- package/plugin/skills/lit-docx/templates/tonalities/manual.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/memo.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/proposal.yaml +0 -26
- package/plugin/skills/lit-docx/templates/tonalities/report.yaml +0 -26
- package/plugin/skills/lit-pptx/NOTICE +0 -35
- package/plugin/skills/lit-pptx/assets/azure/circle-lg.png +0 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-md.png +0 -0
- package/plugin/skills/lit-pptx/assets/azure/circle-sm.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-a.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-b.png +0 -0
- package/plugin/skills/lit-pptx/assets/example-c.png +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Black.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Bold.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Light.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Medium.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/A2Z-Regular.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/a2z/OFL.txt +0 -94
- package/plugin/skills/lit-pptx/fonts/a2z/SOURCE.md +0 -29
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
- package/plugin/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +0 -93
- package/plugin/skills/lit-pptx/fonts/pretendard/OFL.txt +0 -94
- package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Bold.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/pretendard/Pretendard-Regular.otf +0 -0
- package/plugin/skills/lit-pptx/fonts/provenance.json +0 -109
- package/plugin/skills/lit-pptx/references/agents/analyst.md +0 -49
- package/plugin/skills/lit-pptx/references/agents/antithesis.md +0 -59
- package/plugin/skills/lit-pptx/references/agents/architect.md +0 -44
- package/plugin/skills/lit-pptx/references/agents/critic.md +0 -42
- package/plugin/skills/lit-pptx/references/agents/synthesizer.md +0 -47
- package/plugin/skills/lit-pptx/references/agents/thesis.md +0 -33
- package/plugin/skills/lit-pptx/references/anti-slop-checklist.md +0 -131
- package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
- package/plugin/skills/lit-pptx/references/build-loop.md +0 -117
- package/plugin/skills/lit-pptx/references/consensus-protocol.md +0 -125
- package/plugin/skills/lit-pptx/references/data-display-cookbook.md +0 -52
- package/plugin/skills/lit-pptx/references/density-and-fill.md +0 -163
- package/plugin/skills/lit-pptx/references/design-system-azure.md +0 -61
- package/plugin/skills/lit-pptx/references/direction-step.md +0 -203
- package/plugin/skills/lit-pptx/references/examples/01-pitch-signal-ko.md +0 -210
- package/plugin/skills/lit-pptx/references/examples/02-pitch-studio-ko.md +0 -147
- package/plugin/skills/lit-pptx/references/examples/03-business-review-ledger-ko.md +0 -199
- package/plugin/skills/lit-pptx/references/examples/04-business-review-night-en.md +0 -203
- package/plugin/skills/lit-pptx/references/examples/05-research-talk-paper-en.md +0 -178
- package/plugin/skills/lit-pptx/references/examples/06-lecture-chalk-ko.md +0 -199
- package/plugin/skills/lit-pptx/references/examples/07-data-review-night-en.md +0 -194
- package/plugin/skills/lit-pptx/references/examples/08-image-led-atlas-ko.md +0 -175
- package/plugin/skills/lit-pptx/references/examples/09-briefing-gazette-ko.md +0 -204
- package/plugin/skills/lit-pptx/references/examples/10-status-update-ledger-ko.md +0 -179
- package/plugin/skills/lit-pptx/references/examples/11-portfolio-studio-en.md +0 -164
- package/plugin/skills/lit-pptx/references/examples/12-research-tutorial-chalk-en.md +0 -174
- package/plugin/skills/lit-pptx/references/examples/13-engineering-review-computational-brutalism-ko.md +0 -173
- package/plugin/skills/lit-pptx/references/examples/14-launch-pitch-neo-brutalism-ko.md +0 -154
- package/plugin/skills/lit-pptx/references/examples/15-design-lecture-bauhaus-ko.md +0 -139
- package/plugin/skills/lit-pptx/references/examples/16-community-programme-riso-ko.md +0 -158
- package/plugin/skills/lit-pptx/references/examples/17-public-data-briefing-newsroom-ko.md +0 -179
- package/plugin/skills/lit-pptx/references/interview-protocol.md +0 -113
- package/plugin/skills/lit-pptx/references/layout-families.md +0 -194
- package/plugin/skills/lit-pptx/references/stages/autopilot.md +0 -48
- package/plugin/skills/lit-pptx/references/stages/interview.md +0 -52
- package/plugin/skills/lit-pptx/references/stages/plan.md +0 -42
- package/plugin/skills/lit-pptx/references/title-treatments.md +0 -113
- package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
- package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -140
- package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
- package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -150
- package/plugin/skills/lit-pptx/references/tonalities/gazette.md +0 -149
- package/plugin/skills/lit-pptx/references/tonalities/ledger.md +0 -149
- package/plugin/skills/lit-pptx/references/tonalities/neo-brutalism.md +0 -161
- package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -144
- package/plugin/skills/lit-pptx/references/tonalities/night.md +0 -147
- package/plugin/skills/lit-pptx/references/tonalities/paper.md +0 -151
- package/plugin/skills/lit-pptx/references/tonalities/riso.md +0 -137
- package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
- package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -131
- package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
- package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1077
- package/plugin/skills/lit-pptx/scripts/deck_craft.py +0 -363
- package/plugin/skills/lit-pptx/scripts/embed_fonts.py +0 -227
- package/plugin/skills/lit-pptx/scripts/forbidden-terms.json +0 -55
- package/plugin/skills/lit-pptx/scripts/layout_inventory.py +0 -418
- package/plugin/skills/lit-pptx/scripts/learn_template.py +0 -446
- package/plugin/skills/lit-pptx/scripts/lib/derive-palette.js +0 -176
- package/plugin/skills/lit-pptx/scripts/lib/directive-parser.js +0 -244
- package/plugin/skills/lit-pptx/scripts/lib/font-map.js +0 -79
- package/plugin/skills/lit-pptx/scripts/lib/gen-bg.js +0 -86
- package/plugin/skills/lit-pptx/scripts/lib/gen-gradient-assets.js +0 -37
- package/plugin/skills/lit-pptx/scripts/lib/grid-resolver.js +0 -512
- package/plugin/skills/lit-pptx/scripts/lib/layout-resolver.js +0 -1113
- package/plugin/skills/lit-pptx/scripts/lib/markdown-loader.js +0 -138
- package/plugin/skills/lit-pptx/scripts/lib/render-adapter-html.js +0 -356
- package/plugin/skills/lit-pptx/scripts/lib/render-adapter-pptx.js +0 -2240
- package/plugin/skills/lit-pptx/scripts/lib/render-pack.js +0 -3366
- package/plugin/skills/lit-pptx/scripts/lib/runtime-require.js +0 -28
- package/plugin/skills/lit-pptx/scripts/lib/slide-ast.js +0 -565
- package/plugin/skills/lit-pptx/scripts/lib/slide-grid.js +0 -104
- package/plugin/skills/lit-pptx/scripts/lib/spec-validator.js +0 -94
- package/plugin/skills/lit-pptx/scripts/lib/template-registry.js +0 -730
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package-lock.json +0 -793
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/package.json +0 -12
- package/plugin/skills/lit-pptx/scripts/office-runtime-lock/requirements.lock +0 -15
- package/plugin/skills/lit-pptx/scripts/office-runtime.mjs +0 -279
- package/plugin/skills/lit-pptx/scripts/office_data.py +0 -493
- package/plugin/skills/lit-pptx/scripts/office_runtime_bootstrap.py +0 -73
- package/plugin/skills/lit-pptx/scripts/ooxml_integrity.py +0 -199
- package/plugin/skills/lit-pptx/scripts/package.json +0 -4
- package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
- package/plugin/skills/lit-pptx/scripts/render_pages.py +0 -147
- package/plugin/skills/lit-pptx/scripts/validate_pptx.py +0 -230
- package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v1.md +0 -251
- package/plugin/skills/lit-pptx/specs/markdown-slide-spec-v2.md +0 -214
- package/plugin/skills/lit-pptx/specs/slide-ast-v1.schema.json +0 -229
- package/plugin/skills/lit-pptx/specs/slide-ast-v2.schema.json +0 -144
- package/plugin/skills/lit-pptx/specs/template-enrollment-contract.md +0 -382
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/capabilities.yaml +0 -146
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/layout-mapping.yaml +0 -454
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-A2Z/template.yaml +0 -40
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/capabilities.yaml +0 -154
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/layout-mapping.yaml +0 -475
- package/plugin/skills/lit-pptx/templates/enrolled/AZURE-PRO/template.yaml +0 -40
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/capabilities.yaml +0 -179
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/layout-mapping.yaml +0 -299
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-A2Z/template.yaml +0 -45
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/capabilities.yaml +0 -181
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/layout-mapping.yaml +0 -299
- package/plugin/skills/lit-pptx/templates/enrolled/BOILERPLATE-PRETENDARD/template.yaml +0 -44
- package/plugin/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +0 -92
- package/plugin/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +0 -98
- package/plugin/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +0 -97
- package/plugin/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +0 -93
- package/plugin/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +0 -94
- package/plugin/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +0 -107
- package/plugin/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/night/pack.yaml +0 -93
- package/plugin/skills/lit-pptx/templates/tonalities/paper/pack.yaml +0 -98
- package/plugin/skills/lit-pptx/templates/tonalities/riso/pack.yaml +0 -99
- package/plugin/skills/lit-pptx/templates/tonalities/signal/pack.yaml +0 -94
- package/plugin/skills/lit-pptx/templates/tonalities/studio/pack.yaml +0 -92
- package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +0 -38
- package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -133
- package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -87
- package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -85
- package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -70
- package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -101
- package/plugin/skills/lit-schematic/references/journal-figures.md +0 -72
- package/plugin/skills/lit-schematic/references/kit-api.md +0 -134
- package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -53
- package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -103
- package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -163
- package/plugin/skills/lit-schematic/references/verification.md +0 -100
- package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -57
- package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -81
- package/plugin/skills/lit-schematic/scripts/lib/fonts.mjs +0 -27
- package/plugin/skills/lit-schematic/scripts/lib/geom.mjs +0 -113
- package/plugin/skills/lit-schematic/scripts/lib/interactive.mjs +0 -292
- package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -115
- package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -719
- package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -162
- package/plugin/skills/lit-schematic/scripts/lib/pid.mjs +0 -937
- package/plugin/skills/lit-schematic/scripts/lib/png.mjs +0 -132
- package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -658
- package/plugin/skills/lit-schematic/scripts/lib/route.mjs +0 -218
- package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -890
- package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -82
- package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -115
- package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -129
- package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -92
- package/plugin/skills/lit-schematic/scripts/render.mjs +0 -233
- package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -60
- package/plugin/skills/lit-scientific-visualization/LICENSE +0 -21
- package/plugin/skills/lit-scientific-visualization/assets/color_palettes.py +0 -197
- package/plugin/skills/lit-scientific-visualization/assets/nature.mplstyle +0 -75
- package/plugin/skills/lit-scientific-visualization/assets/presentation.mplstyle +0 -74
- package/plugin/skills/lit-scientific-visualization/assets/publication.mplstyle +0 -78
- package/plugin/skills/lit-scientific-visualization/evals/evals.json +0 -158
- package/plugin/skills/lit-scientific-visualization/references/canonical-workflow.md +0 -278
- package/plugin/skills/lit-scientific-visualization/references/color_palettes.md +0 -380
- package/plugin/skills/lit-scientific-visualization/references/journal_requirements.md +0 -359
- package/plugin/skills/lit-scientific-visualization/references/matplotlib_examples.md +0 -608
- package/plugin/skills/lit-scientific-visualization/references/mdanalysis_martini_visualization.md +0 -85
- package/plugin/skills/lit-scientific-visualization/references/publication_guidelines.md +0 -217
- package/plugin/skills/lit-scientific-visualization/references/seaborn_for_publications.md +0 -293
- package/plugin/skills/lit-scientific-visualization/scripts/figure_export.py +0 -238
- package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime-requirements.lock +0 -23
- package/plugin/skills/lit-scientific-visualization/scripts/sciviz-runtime.mjs +0 -230
- package/plugin/skills/lit-scientific-visualization/scripts/style_presets.py +0 -467
- package/plugin/skills/lit-scientific-visualization/tests/test_figure_export.py +0 -51
- package/plugin/skills/lit-scientific-visualization/tests/test_style_presets.py +0 -114
- package/plugin/skills/lit-typographic-motion/engine/NOTICE +0 -23
- package/plugin/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +0 -73
- package/plugin/skills/lit-typographic-motion/engine/audio/beat_grid.py +0 -56
- package/plugin/skills/lit-typographic-motion/engine/audio/requirements.lock +0 -1084
- package/plugin/skills/lit-typographic-motion/engine/blender/runner.py +0 -218
- package/plugin/skills/lit-typographic-motion/engine/core/constants.mjs +0 -246
- package/plugin/skills/lit-typographic-motion/engine/core/contrast.mjs +0 -90
- package/plugin/skills/lit-typographic-motion/engine/core/events.mjs +0 -46
- package/plugin/skills/lit-typographic-motion/engine/core/flash.mjs +0 -211
- package/plugin/skills/lit-typographic-motion/engine/core/gate-rules.mjs +0 -550
- package/plugin/skills/lit-typographic-motion/engine/core/presets.mjs +0 -123
- package/plugin/skills/lit-typographic-motion/engine/core/text.mjs +0 -100
- package/plugin/skills/lit-typographic-motion/engine/core/timeline.mjs +0 -142
- package/plugin/skills/lit-typographic-motion/engine/core/util.mjs +0 -167
- package/plugin/skills/lit-typographic-motion/engine/core/voices.mjs +0 -19
- package/plugin/skills/lit-typographic-motion/engine/models/word-timing.json +0 -198
- package/plugin/skills/lit-typographic-motion/engine/node/analysis.mjs +0 -172
- package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -298
- package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -143
- package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
- package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -164
- package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -328
- package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -104
- package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -210
- package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -347
- package/plugin/skills/lit-typographic-motion/engine/node/cover-image.mjs +0 -141
- package/plugin/skills/lit-typographic-motion/engine/node/cover-sheet.mjs +0 -76
- package/plugin/skills/lit-typographic-motion/engine/node/cover-treatment.mjs +0 -139
- package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
- package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -385
- package/plugin/skills/lit-typographic-motion/engine/node/coverage.mjs +0 -83
- package/plugin/skills/lit-typographic-motion/engine/node/done.mjs +0 -209
- package/plugin/skills/lit-typographic-motion/engine/node/encode.mjs +0 -105
- package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -38
- package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -121
- package/plugin/skills/lit-typographic-motion/engine/node/host.mjs +0 -34
- package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
- package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -178
- package/plugin/skills/lit-typographic-motion/engine/node/pipeline.mjs +0 -603
- package/plugin/skills/lit-typographic-motion/engine/node/png.mjs +0 -112
- package/plugin/skills/lit-typographic-motion/engine/node/report.mjs +0 -66
- package/plugin/skills/lit-typographic-motion/engine/node/runtime.mjs +0 -349
- package/plugin/skills/lit-typographic-motion/engine/node/scaffold.mjs +0 -210
- package/plugin/skills/lit-typographic-motion/engine/node/score.mjs +0 -639
- package/plugin/skills/lit-typographic-motion/engine/node/session.mjs +0 -145
- package/plugin/skills/lit-typographic-motion/engine/node/sound-cli.mjs +0 -77
- package/plugin/skills/lit-typographic-motion/engine/node/sound.mjs +0 -740
- package/plugin/skills/lit-typographic-motion/engine/node/stage-capture.mjs +0 -180
- package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -177
- package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -427
- package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -428
- package/plugin/skills/lit-typographic-motion/engine/node/stage.mjs +0 -572
- package/plugin/skills/lit-typographic-motion/engine/node/stills.mjs +0 -100
- package/plugin/skills/lit-typographic-motion/engine/node/styles.mjs +0 -213
- package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
- package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -146
- package/plugin/skills/lit-typographic-motion/engine/node/ws-server.mjs +0 -132
- package/plugin/skills/lit-typographic-motion/engine/package-lock.json +0 -25
- package/plugin/skills/lit-typographic-motion/engine/package.json +0 -10
- package/plugin/skills/lit-typographic-motion/engine/stage/cover-init.js +0 -49
- package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -298
- package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
- package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -162
- package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -823
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/LICENSE +0 -21
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +0 -144
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +0 -155
- package/plugin/skills/lit-typographic-motion/engine/vendor/three/three.module.js +0 -54571
- package/plugin/skills/lit-typographic-motion/engine/web/boot.mjs +0 -123
- package/plugin/skills/lit-typographic-motion/engine/web/engine.mjs +0 -281
- package/plugin/skills/lit-typographic-motion/engine/web/gl.mjs +0 -319
- package/plugin/skills/lit-typographic-motion/engine/web/glsl-common.mjs +0 -78
- package/plugin/skills/lit-typographic-motion/engine/web/index.html +0 -6
- package/plugin/skills/lit-typographic-motion/engine/web/lines.mjs +0 -112
- package/plugin/skills/lit-typographic-motion/engine/web/passes/crt.mjs +0 -98
- package/plugin/skills/lit-typographic-motion/engine/web/passes/dither.mjs +0 -49
- package/plugin/skills/lit-typographic-motion/engine/web/passes/glitch.mjs +0 -77
- package/plugin/skills/lit-typographic-motion/engine/web/passes/swiss-grid.mjs +0 -61
- package/plugin/skills/lit-typographic-motion/engine/web/passes/terminal-ui.mjs +0 -88
- package/plugin/skills/lit-typographic-motion/engine/web/passes/tidal-gradient.mjs +0 -86
- package/plugin/skills/lit-typographic-motion/engine/web/post.mjs +0 -165
- package/plugin/skills/lit-typographic-motion/engine/web/scale.mjs +0 -15
- package/plugin/skills/lit-typographic-motion/engine/web/scene.mjs +0 -82
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/end-card.mjs +0 -30
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/index.mjs +0 -16
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/karaoke-line.mjs +0 -47
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/kinetic-list.mjs +0 -45
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/number-counter.mjs +0 -29
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/signature.mjs +0 -73
- package/plugin/skills/lit-typographic-motion/engine/web/scenes/title-slam.mjs +0 -73
- package/plugin/skills/lit-typographic-motion/engine/web/stroke.mjs +0 -236
- package/plugin/skills/lit-typographic-motion/engine/web/type.mjs +0 -180
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w100-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w125-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-400.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-700.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/Archivo-w75-900.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/archivo/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/JetBrainsMono-wght-latin.woff2 +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/jetbrains-mono/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/manifest.json +0 -455
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Bold.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/silkscreen/Silkscreen-Regular.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/fonts/stroke/CREDITS +0 -42
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSAllure.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSFelix.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSOsmotron.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSReadability.svg +0 -216
- package/plugin/skills/lit-typographic-motion/fonts/stroke/EMSTech.svg +0 -217
- package/plugin/skills/lit-typographic-motion/fonts/stroke/OFL.txt +0 -91
- package/plugin/skills/lit-typographic-motion/fonts/vt323/OFL.txt +0 -93
- package/plugin/skills/lit-typographic-motion/fonts/vt323/VT323-Regular.ttf +0 -0
- package/plugin/skills/lit-typographic-motion/recipes/hero-3d/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/hero-3d/index.html +0 -139
- package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/expected.json +0 -16
- package/plugin/skills/lit-typographic-motion/recipes/negatives/card-scenes/index.html +0 -27
- package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/expected.json +0 -16
- package/plugin/skills/lit-typographic-motion/recipes/negatives/reset-sweep/index.html +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/expected.json +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/still-glow/index.html +0 -18
- package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/expected.json +0 -17
- package/plugin/skills/lit-typographic-motion/recipes/negatives/title-slam/index.html +0 -30
- package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/orbit-loop/index.html +0 -152
- package/plugin/skills/lit-typographic-motion/recipes/painted-light/expected.json +0 -97
- package/plugin/skills/lit-typographic-motion/recipes/painted-light/index.html +0 -202
- package/plugin/skills/lit-typographic-motion/recipes/weight-tide/expected.json +0 -69
- package/plugin/skills/lit-typographic-motion/recipes/weight-tide/index.html +0 -100
- package/plugin/skills/lit-typographic-motion/references/brief-schema.md +0 -119
- package/plugin/skills/lit-typographic-motion/references/cover.md +0 -424
- package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -70
- package/plugin/skills/lit-typographic-motion/references/depth.md +0 -122
- package/plugin/skills/lit-typographic-motion/references/engine-contract.md +0 -124
- package/plugin/skills/lit-typographic-motion/references/look.md +0 -122
- package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -67
- package/plugin/skills/lit-typographic-motion/references/sound.md +0 -152
- package/plugin/skills/lit-typographic-motion/references/stage.md +0 -256
- package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
- package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -141
- package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -214
- package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
- package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -111
- package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
- package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -205
- package/plugin/skills/lit-typographic-motion/styles/paper.json +0 -41
- package/plugin/skills/lit-typographic-motion/styles/swiss-signal.json +0 -41
- package/plugin/skills/lit-typographic-motion/styles/terminalcore.json +0 -42
- package/plugin/skills/lit-typographic-motion/styles/tidal.json +0 -41
- package/plugin/skills/readme-studio/references/decoration-and-navigation.md +0 -55
- package/plugin/skills/readme-studio/references/facts-and-assembly.md +0 -19
- package/plugin/skills/readme-studio/references/production-interview.md +0 -11
- package/plugin/skills/readme-studio/references/render-and-deliver.md +0 -44
- package/plugin/skills/readme-studio/references/type-and-background.md +0 -23
- package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package-lock.json +0 -133
- package/plugin/skills/readme-studio/scripts/readme-runtime-lock/package.json +0 -6
- package/plugin/skills/readme-studio/scripts/readme-runtime.mjs +0 -77
- package/plugin/skills/readme-studio/scripts/validate-readme-facts.mjs +0 -28
- package/plugin/skills/readme-studio/templates/cover-source.json +0 -21
- package/plugin/skills/readme-studio/templates/hyperframes-cover/index.html +0 -30
- package/plugin/skills/readme-studio/templates/hyperframes-cover/index.motion.json +0 -1
- package/plugin/skills/readme-studio/templates/hyperframes-cover/package-lock.json +0 -2017
- package/plugin/skills/readme-studio/templates/hyperframes-cover/package.json +0 -8
- package/plugin/skills/readme-studio/templates/readme-cover-section.md +0 -75
- package/plugin/skills/readme-studio/templates/readme-facts.json +0 -4
- package/plugin/skills/readme-studio/templates/remotion-cover/package-lock.json +0 -3783
- package/plugin/skills/readme-studio/templates/remotion-cover/package.json +0 -7
- package/plugin/skills/readme-studio/templates/remotion-cover/src/index.tsx +0 -36
- package/plugin/skills/readme-studio/templates/typography/package-lock.json +0 -133
- package/plugin/skills/readme-studio/templates/typography/package.json +0 -6
- package/plugin/skills/readme-studio/templates/typography/safe-files.mjs +0 -57
- package/plugin/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +0 -63
- package/plugin/skills/visual-qa/references/breakage-catalogue.md +0 -70
- package/plugin/skills/visual-qa/references/capture-playbook.md +0 -96
- package/plugin/skills/visual-qa/references/complete-contract.md +0 -411
- package/plugin/skills/visual-qa/references/korean-and-mixed-script-checks.md +0 -50
- package/plugin/skills/visual-qa/references/reviewer-charters.md +0 -70
- package/plugin/skills/visual-qa/schemas/design-contract-v1alpha1.schema.json +0 -305
- package/plugin/skills/visual-qa/schemas/design-contract-v1beta1.schema.json +0 -291
- package/plugin/skills/visual-qa/schemas/design-contract-v1beta2.schema.json +0 -311
- package/plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +0 -235
- package/plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +0 -208
- package/plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +0 -66
- package/plugin/skills/visual-qa/scripts/ansi.ts +0 -17
- package/plugin/skills/visual-qa/scripts/cli.mjs +0 -101
- package/plugin/skills/visual-qa/scripts/cli.ts +0 -96
- package/plugin/skills/visual-qa/scripts/design-contract-shape.mjs +0 -448
- package/plugin/skills/visual-qa/scripts/east-asian-width.ts +0 -72
- package/plugin/skills/visual-qa/scripts/errors.mjs +0 -12
- package/plugin/skills/visual-qa/scripts/evidence-io.mjs +0 -184
- package/plugin/skills/visual-qa/scripts/evidence-semantic.mjs +0 -95
- package/plugin/skills/visual-qa/scripts/evidence-shape.mjs +0 -163
- package/plugin/skills/visual-qa/scripts/evidence.mjs +0 -421
- package/plugin/skills/visual-qa/scripts/image-diff.mjs +0 -89
- package/plugin/skills/visual-qa/scripts/image-diff.ts +0 -109
- package/plugin/skills/visual-qa/scripts/png-chunks.mjs +0 -107
- package/plugin/skills/visual-qa/scripts/png-crc.ts +0 -27
- package/plugin/skills/visual-qa/scripts/png-decode.mjs +0 -143
- package/plugin/skills/visual-qa/scripts/png-decode.ts +0 -206
- package/plugin/skills/visual-qa/scripts/png-synth.ts +0 -57
- package/plugin/skills/visual-qa/scripts/review-rules.mjs +0 -137
- package/plugin/skills/visual-qa/scripts/strict-json.mjs +0 -143
- package/plugin/skills/visual-qa/scripts/terminal-text.mjs +0 -117
- package/plugin/skills/visual-qa/scripts/tui-check.mjs +0 -74
- package/plugin/skills/visual-qa/scripts/tui-grid.ts +0 -88
- package/plugin/skills/visual-qa/scripts/types.ts +0 -54
|
@@ -1,639 +0,0 @@
|
|
|
1
|
-
// The per-film score (sound mode `score`, the default for rich films): a layered house-family track
|
|
2
|
-
// built in product code from the film itself, no samples and no borrowed melodies. The film's own
|
|
3
|
-
// words seed its key, mode, tempo, progression, motif and percussion; its beats give the arrangement
|
|
4
|
-
// (intro, build, the drop on the turn, break, outro) and the drop lands on a downbeat. Each stem is its
|
|
5
|
-
// own buffer with its own pattern: kick, clap, hats, perc, bass (sub and line), chords (stab and pad),
|
|
6
|
-
// lead, arrangement fx and the on-screen events. The mix high-passes every non-bass stem, pans, ducks
|
|
7
|
-
// bass, chords and lead under the kick, sends to a reverb and a tempo delay, compresses the bus and
|
|
8
|
-
// ends in the shared master stage (-16 LUFS BS.1770-4, peak under -2 dBFS). The stems are kept.
|
|
9
|
-
import { createHash } from "node:crypto";
|
|
10
|
-
import { mkdirSync, writeFileSync } from "node:fs";
|
|
11
|
-
import path from "node:path";
|
|
12
|
-
import { fnv1a32, mulberry32 } from "../core/util.mjs";
|
|
13
|
-
import { SOUND, encodeWav, masterTo, planCues, samplePeakDbfs, wavetable, WAVETABLE_SIZE } from "./sound.mjs";
|
|
14
|
-
import { readStyle } from "./styles.mjs";
|
|
15
|
-
|
|
16
|
-
/** Each genre's kit: tempo band, kick pattern, bass and chord idiom, swing (share of a 16th). */
|
|
17
|
-
const KITS = Object.freeze({
|
|
18
|
-
house: { bpm: [120, 126], kick: [0, 4, 8, 12], bass: [2, 6, 10, 14], stab: [3, 6, 11, 14], openHat: true, pad: false, swing: 0 },
|
|
19
|
-
"tech-house": { bpm: [124, 128], kick: [0, 4, 8, 12], bass: [1, 2, 3, 5, 6, 7, 9, 10, 11, 13, 14, 15], stab: [6, 14], openHat: true, pad: false, swing: 0.04 },
|
|
20
|
-
"deep-house": { bpm: [118, 122], kick: [0, 4, 8, 12], bass: [3, 6, 10, 14], stab: [2, 10], openHat: true, pad: true, swing: 0.08 },
|
|
21
|
-
garage: { bpm: [130, 134], kick: [0, 10], bass: [0, 3, 7, 10], stab: [3, 7, 11, 15], openHat: false, pad: true, swing: 0.16 },
|
|
22
|
-
});
|
|
23
|
-
export const SCORE_GENRES = Object.freeze(Object.keys(KITS));
|
|
24
|
-
|
|
25
|
-
const KEY_NAMES = ["C", "Db", "D", "Eb", "E", "F", "F#", "G", "Ab", "A", "Bb", "B"];
|
|
26
|
-
const QUALITY = { maj: [0, 4, 7], min: [0, 3, 7], maj7: [0, 4, 7, 11], min7: [0, 3, 7, 10], dom7: [0, 4, 7, 10], maj9: [0, 4, 7, 11, 14], min9: [0, 3, 7, 10, 14] };
|
|
27
|
-
const ROMAN = ["I", "bII", "II", "bIII", "III", "IV", "#IV", "V", "bVI", "VI", "bVII", "VII"];
|
|
28
|
-
const PROGRESSIONS = {
|
|
29
|
-
major: [
|
|
30
|
-
[[0, "maj"], [7, "maj"], [9, "min"], [5, "maj"]],
|
|
31
|
-
[[9, "min7"], [5, "maj7"], [0, "maj"], [7, "maj"]],
|
|
32
|
-
[[0, "maj7"], [4, "min7"], [5, "maj7"], [7, "dom7"]],
|
|
33
|
-
[[5, "maj7"], [7, "maj"], [4, "min7"], [9, "min7"]],
|
|
34
|
-
[[0, "maj7"], [9, "min7"], [2, "min7"], [7, "dom7"]],
|
|
35
|
-
[[2, "min9"], [7, "dom7"], [0, "maj9"], [0, "maj9"]],
|
|
36
|
-
],
|
|
37
|
-
minor: [
|
|
38
|
-
[[0, "min"], [8, "maj"], [3, "maj"], [10, "maj"]],
|
|
39
|
-
[[0, "min7"], [5, "min7"], [10, "maj"], [3, "maj7"]],
|
|
40
|
-
[[0, "min"], [10, "maj"], [8, "maj"], [10, "maj"]],
|
|
41
|
-
[[0, "min7"], [7, "min7"], [8, "maj7"], [5, "min7"]],
|
|
42
|
-
[[8, "maj7"], [10, "maj"], [0, "min9"], [0, "min9"]],
|
|
43
|
-
[[0, "min9"], [5, "min7"], [0, "min9"], [7, "min7"]],
|
|
44
|
-
],
|
|
45
|
-
};
|
|
46
|
-
const PENTA = { major: [0, 2, 4, 7, 9], minor: [0, 3, 5, 7, 10] };
|
|
47
|
-
const chordName = ([offset, quality]) => {
|
|
48
|
-
const minorish = quality.startsWith("min");
|
|
49
|
-
const r = ROMAN[offset];
|
|
50
|
-
return `${minorish ? r.toLowerCase() : r}${quality.replace(/^(?:maj|min)$/u, "").replace(/^min/u, "").replace(/^maj(?=\d)/u, "maj")}`;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
/** The stems in mix order with their gain, pan, high-pass and sidechain depth. */
|
|
54
|
-
const MIX = Object.freeze({
|
|
55
|
-
kick: { gain: 1.0, pan: 0, hp: 0, duck: 0, reverb: 0, delay: 0 },
|
|
56
|
-
clap: { gain: 0.5, pan: 0, hp: 180, duck: 0, reverb: 0.22, delay: 0 },
|
|
57
|
-
hats: { gain: 0.3, pan: 0.28, hp: 5000, duck: 0, reverb: 0.06, delay: 0 },
|
|
58
|
-
perc: { gain: 0.34, pan: -0.32, hp: 220, duck: 0.15, reverb: 0.16, delay: 0.1 },
|
|
59
|
-
bass: { gain: 0.62, pan: 0, hp: 0, duck: 0.85, reverb: 0, delay: 0 },
|
|
60
|
-
chords: { gain: 0.36, pan: 0, hp: 160, duck: 0.6, reverb: 0.3, delay: 0.12 },
|
|
61
|
-
lead: { gain: 0.3, pan: 0.16, hp: 260, duck: 0.3, reverb: 0.34, delay: 0.3 },
|
|
62
|
-
fx: { gain: 0.42, pan: 0, hp: 90, duck: 0, reverb: 0.28, delay: 0 },
|
|
63
|
-
events: { gain: 0.62, pan: 0, hp: 60, duck: 0, reverb: 0.12, delay: 0 },
|
|
64
|
-
});
|
|
65
|
-
export const SCORE_STEMS = Object.freeze(Object.keys(MIX));
|
|
66
|
-
|
|
67
|
-
const sectionAt = (sections, t) => sections.find((s) => t >= s.t0 && t < s.t1) ?? null;
|
|
68
|
-
|
|
69
|
-
/** The beats as an arrangement: intro, builds, the drop on the turn shot, a break before a second drop, an outro. */
|
|
70
|
-
function arrange(beats, turn) {
|
|
71
|
-
const last = beats.length - 1;
|
|
72
|
-
const after = beats.length - 1 - turn;
|
|
73
|
-
return beats.map((b, i) => {
|
|
74
|
-
let kind;
|
|
75
|
-
if (i === turn) kind = "drop";
|
|
76
|
-
else if (i < turn) kind = i === 0 ? "intro" : "build";
|
|
77
|
-
else if (i === last) kind = "outro";
|
|
78
|
-
else kind = after >= 3 && i === turn + 1 ? "break" : "drop";
|
|
79
|
-
return { kind, t0: Number(b.t0), t1: Number(b.t1), beat: i };
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* The film's score plan: genre, key, tempo, progression, motif, sections, kick times and arrangement
|
|
85
|
-
* fx. Pure and seeded from the treatment, so two films differ and one film always plans the same.
|
|
86
|
-
*/
|
|
87
|
-
export function planScore({ treatment, durationSec, cutTimes = [] }) {
|
|
88
|
-
const style = readStyle(treatment.style);
|
|
89
|
-
const genre = treatment.sound?.genre ?? style.score.genre;
|
|
90
|
-
const kit = KITS[genre];
|
|
91
|
-
const beats = Array.isArray(treatment.beats) && treatment.beats.length ? treatment.beats : [{ t0: 0, t1: durationSec }];
|
|
92
|
-
const fingerprint = [treatment.request, treatment.idea, treatment.story?.turn, treatment.protagonist?.name, ...beats.map((b) => `${b.purpose}|${b.t0}|${b.t1}`)].join("\n");
|
|
93
|
-
const seed = fnv1a32(fingerprint);
|
|
94
|
-
const rand = mulberry32(seed);
|
|
95
|
-
const tonic = seed % 12;
|
|
96
|
-
const mode = rand() < (genre === "deep-house" ? 0.45 : 0.62) ? "minor" : "major";
|
|
97
|
-
const bpm = kit.bpm[0] + Math.floor(rand() * (kit.bpm[1] - kit.bpm[0] + 1));
|
|
98
|
-
const progression = PROGRESSIONS[mode][Math.floor(rand() * PROGRESSIONS[mode].length)];
|
|
99
|
-
const turn = Number.isInteger(treatment.story?.beat) && treatment.story.beat < beats.length ? treatment.story.beat : Math.min(beats.length - 1, Math.floor(beats.length / 2));
|
|
100
|
-
const sections = arrange(beats, turn).map((s, i, all) => ({ ...s, t1: i === all.length - 1 ? durationSec : s.t1 }));
|
|
101
|
-
const drop = sections.find((s) => s.kind === "drop");
|
|
102
|
-
const stepSec = 60 / bpm / 4;
|
|
103
|
-
const barSec = 16 * stepSec;
|
|
104
|
-
// The grid is placed so that a bar line falls exactly on the drop.
|
|
105
|
-
const origin = drop.t0 - Math.ceil(drop.t0 / barSec - 1e-9) * barSec;
|
|
106
|
-
const steps = [];
|
|
107
|
-
for (let n = Math.ceil(-origin / stepSec - 1e-9); origin + n * stepSec < durationSec - 1e-9; n++) {
|
|
108
|
-
const pos = ((n % 16) + 16) % 16;
|
|
109
|
-
const t = origin + n * stepSec + (pos % 2 ? kit.swing * stepSec : 0);
|
|
110
|
-
if (t < 0 || t >= durationSec) continue;
|
|
111
|
-
const bar = Math.floor(n / 16);
|
|
112
|
-
steps.push({ n, pos, bar, t, section: sectionAt(sections, t) });
|
|
113
|
-
}
|
|
114
|
-
const preDrop = drop.t0 - barSec / 2;
|
|
115
|
-
const kicks = steps.filter((s) => s.section && ["build", "drop", "outro"].includes(s.section.kind) && kit.kick.includes(s.pos) && !(s.t >= preDrop && s.t < drop.t0) && !(s.section.kind === "outro" && s.t > s.section.t1 - barSec / 2)).map((s) => +s.t.toFixed(6));
|
|
116
|
-
// A motif of one bar: six to eight notes of the pentatonic scale on a random walk, its last bar lifted.
|
|
117
|
-
const motif = [];
|
|
118
|
-
let degree = Math.floor(rand() * 3);
|
|
119
|
-
for (let pos = 0; pos < 16; pos++) {
|
|
120
|
-
if (rand() < (pos % 4 === 0 ? 0.62 : 0.4)) {
|
|
121
|
-
degree = Math.max(0, Math.min(7, degree + Math.floor(rand() * 5) - 2));
|
|
122
|
-
motif.push({ pos, degree });
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
const percPattern = Array.from({ length: 16 }, (_, pos) => (pos % 4 !== 0 && rand() < 0.38 ? 1 + Math.floor(rand() * 3) : 0));
|
|
126
|
-
const fx = [];
|
|
127
|
-
sections.forEach((s, i) => {
|
|
128
|
-
if (i === 0) return;
|
|
129
|
-
const into = s.kind === "drop";
|
|
130
|
-
const span = Math.min(into ? 2 * barSec : barSec / 2, s.t0 - sections[i - 1].t0);
|
|
131
|
-
fx.push({ kind: "riser", start: +(s.t0 - span).toFixed(6), t: s.t0, strength: into ? 1 : 0.45 });
|
|
132
|
-
if (into) fx.push({ kind: "impact", t: s.t0 });
|
|
133
|
-
if (sections[i - 1].kind === "drop" && !into) fx.push({ kind: "downlifter", t: s.t0, end: +Math.min(s.t1, s.t0 + barSec).toFixed(6) });
|
|
134
|
-
// A reverse swell of the coming chord breathes into every change that is not a drop.
|
|
135
|
-
if (!into) fx.push({ kind: "reverse", start: +(s.t0 - Math.min(barSec / 2, s.t0 - sections[i - 1].t0)).toFixed(6), t: s.t0 });
|
|
136
|
-
});
|
|
137
|
-
return {
|
|
138
|
-
genre, key: KEY_NAMES[tonic], tonic, mode, bpm, seed,
|
|
139
|
-
progression: progression.map(chordName), chords: progression,
|
|
140
|
-
motif, percPattern, sections, kicks, fx, stepSec, barSec, origin, steps,
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// ---- synthesis helpers ----
|
|
145
|
-
const SR = SOUND.sampleRate;
|
|
146
|
-
const midiHz = (m) => 440 * 2 ** ((m - 69) / 12);
|
|
147
|
-
// A one-pole coefficient, stable for any cutoff: below 1 Hz it would turn negative and diverge.
|
|
148
|
-
const onePole = (hz) => 1 - Math.exp((-2 * Math.PI * Math.max(1, hz)) / SR);
|
|
149
|
-
|
|
150
|
-
function rbj(type, hz, q = 0.707) {
|
|
151
|
-
const w = (2 * Math.PI * Math.min(hz, SR * 0.45)) / SR;
|
|
152
|
-
const cos = Math.cos(w);
|
|
153
|
-
const alpha = Math.sin(w) / (2 * q);
|
|
154
|
-
const a0 = 1 + alpha;
|
|
155
|
-
const b = type === "hp" ? [(1 + cos) / 2, -(1 + cos), (1 + cos) / 2] : type === "lp" ? [(1 - cos) / 2, 1 - cos, (1 - cos) / 2] : [alpha, 0, -alpha];
|
|
156
|
-
return { b: b.map((v) => v / a0), a: [1, (-2 * cos) / a0, (1 - alpha) / a0] };
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
function filter(x, { b, a }) {
|
|
160
|
-
let x1 = 0, x2 = 0, y1 = 0, y2 = 0;
|
|
161
|
-
for (let i = 0; i < x.length; i++) {
|
|
162
|
-
const v = b[0] * x[i] + b[1] * x1 + b[2] * x2 - a[1] * y1 - a[2] * y2;
|
|
163
|
-
x2 = x1; x1 = x[i]; y2 = y1; y1 = v;
|
|
164
|
-
x[i] = v;
|
|
165
|
-
}
|
|
166
|
-
return x;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
class Stem {
|
|
170
|
-
constructor(n) {
|
|
171
|
-
this.L = new Float64Array(n);
|
|
172
|
-
this.R = new Float64Array(n);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/** Add a mono buffer at sample s0, panned -1..1 (constant power), scaled by gain. */
|
|
176
|
-
add(s0, mono, pan = 0, gain = 1) {
|
|
177
|
-
const gl = Math.cos(((pan + 1) * Math.PI) / 4) * Math.SQRT2 * gain;
|
|
178
|
-
const gr = Math.sin(((pan + 1) * Math.PI) / 4) * Math.SQRT2 * gain;
|
|
179
|
-
const end = Math.min(this.L.length, s0 + mono.length);
|
|
180
|
-
for (let s = Math.max(0, s0); s < end; s++) {
|
|
181
|
-
this.L[s] += gl * mono[s - s0];
|
|
182
|
-
this.R[s] += gr * mono[s - s0];
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
const buffer = (sec) => new Float64Array(Math.max(1, Math.round(sec * SR)));
|
|
188
|
-
|
|
189
|
-
function kickVoice() {
|
|
190
|
-
const b = buffer(0.36);
|
|
191
|
-
let ph = 0;
|
|
192
|
-
for (let i = 0; i < b.length; i++) {
|
|
193
|
-
const t = i / SR;
|
|
194
|
-
ph += (2 * Math.PI * (46 + 110 * Math.exp(-t / 0.035))) / SR;
|
|
195
|
-
b[i] = Math.exp(-t / 0.2) * Math.sin(ph) + (t < 0.004 ? 0.3 * (1 - t / 0.004) : 0);
|
|
196
|
-
}
|
|
197
|
-
return b;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
function noiseVoice(rand, sec, decay, { hp = 0, lp = 0, bursts = 1, gap = 0.011 } = {}) {
|
|
201
|
-
const b = buffer(sec);
|
|
202
|
-
for (let i = 0; i < b.length; i++) {
|
|
203
|
-
const t = i / SR;
|
|
204
|
-
let env = 0;
|
|
205
|
-
for (let k = 0; k < bursts; k++) if (t >= k * gap) env = Math.max(env, Math.exp(-(t - k * gap) / (k === bursts - 1 ? decay : 0.006)));
|
|
206
|
-
b[i] = (rand() * 2 - 1) * env;
|
|
207
|
-
}
|
|
208
|
-
if (hp) filter(b, rbj("hp", hp));
|
|
209
|
-
if (lp) filter(b, rbj("lp", lp));
|
|
210
|
-
return b;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
function toneVoice(hz, sec, decay, { partials = [1], attack = 0.002 } = {}) {
|
|
214
|
-
const b = buffer(sec);
|
|
215
|
-
for (let i = 0; i < b.length; i++) {
|
|
216
|
-
const t = i / SR;
|
|
217
|
-
let v = 0;
|
|
218
|
-
partials.forEach((a, k) => { v += a * Math.sin(2 * Math.PI * hz * (k + 1) * t); });
|
|
219
|
-
b[i] = v * Math.min(1, t / attack) * Math.exp(-t / decay);
|
|
220
|
-
}
|
|
221
|
-
return b;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
const SAW = wavetable([1, 0.5, 0.33, 0.25, 0.2, 0.16, 0.14, 0.12, 0.1, 0.08]);
|
|
225
|
-
const SQUARE = wavetable([1, 0, 0.33, 0, 0.2, 0, 0.14, 0, 0.11]);
|
|
226
|
-
|
|
227
|
-
/** A filtered table voice: notes as detuned pairs, an amp envelope and a low-pass that closes over the note. */
|
|
228
|
-
function tableVoice(table, notes, sec, { attack = 0.004, decay = 0.25, sustain = 0, release = 0.05, cutoff = 2400, cutoffEnd = 600, detune = 8, phase = 0 } = {}) {
|
|
229
|
-
const b = buffer(sec + release);
|
|
230
|
-
const hold = Math.round(sec * SR);
|
|
231
|
-
for (const note of notes) {
|
|
232
|
-
for (const cents of [-detune, detune]) {
|
|
233
|
-
const inc = (midiHz(note) * 2 ** (cents / 1200) * WAVETABLE_SIZE) / SR;
|
|
234
|
-
let ph = (phase * WAVETABLE_SIZE + (cents > 0 ? WAVETABLE_SIZE / 3 : 0)) % WAVETABLE_SIZE;
|
|
235
|
-
for (let i = 0; i < b.length; i++) {
|
|
236
|
-
const t = i / SR;
|
|
237
|
-
const env = Math.min(1, t / attack) * (sustain + (1 - sustain) * Math.exp(-t / decay)) * (i < hold ? 1 : Math.max(0, 1 - (i - hold) / (release * SR)));
|
|
238
|
-
ph = (ph + inc) % WAVETABLE_SIZE;
|
|
239
|
-
b[i] += (env * table[ph | 0]) / notes.length;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
let f = 0;
|
|
244
|
-
for (let i = 0; i < b.length; i++) {
|
|
245
|
-
const u = Math.min(1, i / Math.max(1, b.length));
|
|
246
|
-
f += onePole(cutoff + (cutoffEnd - cutoff) * u) * (b[i] - f);
|
|
247
|
-
b[i] = f;
|
|
248
|
-
}
|
|
249
|
-
return b;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
function voicing(plan, chord, octave = 48) {
|
|
253
|
-
const [offset, quality] = chord;
|
|
254
|
-
const root = octave + plan.tonic + offset - (offset > 6 ? 12 : 0);
|
|
255
|
-
return QUALITY[quality].map((iv) => root + iv);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/** The chord under time t: one per bar from the grid's origin, the last bar of the film resolves home. */
|
|
259
|
-
function chordAt(plan, t, durationSec) {
|
|
260
|
-
const bar = Math.floor((t - plan.origin) / plan.barSec);
|
|
261
|
-
if (t >= durationSec - plan.barSec && plan.sections.length > 1) return [0, plan.mode === "major" ? "maj7" : "min9"];
|
|
262
|
-
return plan.chords[((bar % plan.chords.length) + plan.chords.length) % plan.chords.length];
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
// ---- the score ----
|
|
266
|
-
|
|
267
|
-
/** Build the score: the mixed track, every stem, the plan and the cue list. */
|
|
268
|
-
export function buildScore({ treatment, frameCount, fps, cutTimes = [] }) {
|
|
269
|
-
const sampleCount = Math.round((frameCount * SR) / fps);
|
|
270
|
-
const durationSec = sampleCount / SR;
|
|
271
|
-
const plan = planScore({ treatment, durationSec, cutTimes });
|
|
272
|
-
const beats = Array.isArray(treatment.beats) ? treatment.beats : [];
|
|
273
|
-
const cues = planCues({ beats, durationSec, cutTimes, events: treatment.sound?.events });
|
|
274
|
-
const rand = mulberry32(plan.seed ^ 0x9e3779b9);
|
|
275
|
-
const stems = Object.fromEntries(SCORE_STEMS.map((k) => [k, new Stem(sampleCount)]));
|
|
276
|
-
const at = (t) => Math.round(t * SR);
|
|
277
|
-
const kick = kickVoice();
|
|
278
|
-
const drop = plan.sections.find((s) => s.kind === "drop");
|
|
279
|
-
|
|
280
|
-
for (const t of plan.kicks) stems.kick.add(at(t), kick);
|
|
281
|
-
for (const step of plan.steps) {
|
|
282
|
-
const sec = step.section;
|
|
283
|
-
if (!sec) continue;
|
|
284
|
-
const { kind } = sec;
|
|
285
|
-
const full = kind === "build" || kind === "drop";
|
|
286
|
-
const progress = (step.t - sec.t0) / Math.max(1e-6, sec.t1 - sec.t0);
|
|
287
|
-
// Clap on two and four; a snare roll that tightens over the last bar into the drop.
|
|
288
|
-
if (full && (step.pos === 4 || step.pos === 12) && !(step.t >= drop.t0 - plan.barSec && step.t < drop.t0)) stems.clap.add(at(step.t), noiseVoice(rand, 0.3, 0.13, { hp: 900, lp: 5200, bursts: 3 }), 0, 1);
|
|
289
|
-
if (step.t >= drop.t0 - plan.barSec && step.t < drop.t0) {
|
|
290
|
-
const u = 1 - (drop.t0 - step.t) / plan.barSec;
|
|
291
|
-
if (u < 0.5 ? step.pos % 2 === 0 : true) stems.clap.add(at(step.t), noiseVoice(rand, 0.12, 0.05, { hp: 700, lp: 6000 }), 0, 0.35 + 0.65 * u);
|
|
292
|
-
if (u >= 0.75) stems.clap.add(at(step.t + plan.stepSec / 2), noiseVoice(rand, 0.08, 0.03, { hp: 700, lp: 6000 }), 0, 0.8 * u);
|
|
293
|
-
}
|
|
294
|
-
// Hats: closed sixteenths with offbeat accents, open hats on the offbeat in the drop.
|
|
295
|
-
const hatsOn = kind === "intro" ? step.pos % 2 === 0 : kind === "break" ? false : kind === "outro" ? step.pos % 2 === 0 : true;
|
|
296
|
-
if (hatsOn) stems.hats.add(at(step.t), noiseVoice(rand, 0.06, 0.018, { hp: 7000 }), 0, (step.pos % 4 === 2 ? 0.9 : 0.5) * (kind === "intro" ? 0.35 + 0.5 * progress : 1));
|
|
297
|
-
if (kind === "drop" && KITS[plan.genre].openHat && step.pos % 4 === 2) stems.hats.add(at(step.t), noiseVoice(rand, 0.3, 0.12, { hp: 6000 }), -0.4, 0.55);
|
|
298
|
-
// Perc: the film's own sixteen-step pattern of rims and toms, everywhere but the break's first half.
|
|
299
|
-
const hit = plan.percPattern[step.pos];
|
|
300
|
-
if (hit && !(kind === "break" && progress < 0.5)) {
|
|
301
|
-
const hz = [0, 520, 380, 760][hit];
|
|
302
|
-
const tone = toneVoice(hz, 0.16, hit === 3 ? 0.03 : 0.06, { partials: [1, 0.3] });
|
|
303
|
-
const click = noiseVoice(rand, 0.02, 0.004, { hp: 2000 });
|
|
304
|
-
for (let i = 0; i < click.length; i++) tone[i] += 0.5 * click[i];
|
|
305
|
-
stems.perc.add(at(step.t), tone, hit === 2 ? -0.5 : 0.35, kind === "intro" ? 0.5 : 0.85);
|
|
306
|
-
}
|
|
307
|
-
if (kind !== "intro" && kind !== "break" && step.pos % 2 === 1) stems.perc.add(at(step.t), noiseVoice(rand, 0.05, 0.012, { hp: 4500 }), 0.6, 0.25);
|
|
308
|
-
// Bass line: the kit's pattern on the chord root, from the build on, out in the break.
|
|
309
|
-
const chord = chordAt(plan, step.t, durationSec);
|
|
310
|
-
const root = 36 + plan.tonic + chord[0] - (chord[0] > 6 ? 12 : 0);
|
|
311
|
-
if ((kind === "build" && progress > 0.25) || kind === "drop" || (kind === "outro" && progress < 0.5)) {
|
|
312
|
-
if (KITS[plan.genre].bass.includes(step.pos)) {
|
|
313
|
-
const octave = step.pos % 8 === 6 && plan.genre !== "deep-house" ? 12 : 0;
|
|
314
|
-
stems.bass.add(at(step.t), tableVoice(SAW, [root + octave], plan.stepSec * 0.9, { decay: 0.12, sustain: 0.5, cutoff: 1400, cutoffEnd: 300, detune: 4 }), 0, 0.75);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
// Chord stabs on the kit's steps in builds and drops.
|
|
318
|
-
if ((kind === "build" || kind === "drop") && KITS[plan.genre].stab.includes(step.pos)) {
|
|
319
|
-
stems.chords.add(at(step.t), tableVoice(SAW, voicing(plan, chord, 60), plan.stepSec * 1.4, { decay: 0.09, cutoff: kind === "drop" ? 4200 : 1800 + 2200 * progress, cutoffEnd: 900, detune: 11 }), 0, 0.9);
|
|
320
|
-
}
|
|
321
|
-
// Lead: the motif in the drop and the break, an octave up and drier in the break.
|
|
322
|
-
if (kind === "drop" || kind === "break") {
|
|
323
|
-
const note = plan.motif.find((m) => m.pos === step.pos);
|
|
324
|
-
if (note) {
|
|
325
|
-
const scale = PENTA[plan.mode];
|
|
326
|
-
const lift = step.bar % 4 === 3 && note.pos >= 8 ? 2 : 0;
|
|
327
|
-
const d = note.degree + lift;
|
|
328
|
-
const midi = 72 + plan.tonic + scale[d % 5] + 12 * Math.floor(d / 5) + (kind === "break" ? 12 : 0);
|
|
329
|
-
stems.lead.add(at(step.t), tableVoice(SQUARE, [midi], plan.stepSec * 1.8, { decay: 0.16, sustain: 0.2, cutoff: 5200, cutoffEnd: 1400, detune: 6 }), 0, kind === "break" ? 0.6 : 1);
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
// Sustained layers, one chord per bar: the sub under the drop and outro, the pad in the intro,
|
|
335
|
-
// break and outro (and under the drop for the pad genres), opening its filter across the section.
|
|
336
|
-
for (let bar = Math.floor(-plan.origin / plan.barSec) - 1; plan.origin + bar * plan.barSec < durationSec; bar++) {
|
|
337
|
-
const t0 = Math.max(0, plan.origin + bar * plan.barSec);
|
|
338
|
-
const t1 = Math.min(durationSec, plan.origin + (bar + 1) * plan.barSec);
|
|
339
|
-
if (t1 <= t0) continue;
|
|
340
|
-
const chord = chordAt(plan, (t0 + t1) / 2, durationSec);
|
|
341
|
-
const sec = sectionAt(plan.sections, (t0 + t1) / 2);
|
|
342
|
-
if (!sec) continue;
|
|
343
|
-
const root = 36 + plan.tonic + chord[0] - (chord[0] > 6 ? 12 : 0);
|
|
344
|
-
if (sec.kind === "drop" || sec.kind === "outro") {
|
|
345
|
-
const sub = toneVoice(midiHz(root), t1 - t0 + 0.05, 1e6, { attack: 0.01 });
|
|
346
|
-
const tail = Math.round(0.05 * SR);
|
|
347
|
-
for (let i = 0; i < tail; i++) sub[sub.length - 1 - i] *= i / tail;
|
|
348
|
-
stems.bass.add(at(t0), sub, 0, 0.55);
|
|
349
|
-
}
|
|
350
|
-
const padHere = sec.kind === "intro" || sec.kind === "break" || sec.kind === "outro" || (KITS[plan.genre].pad && sec.kind === "drop") || sec.kind === "build";
|
|
351
|
-
if (padHere) {
|
|
352
|
-
// A bar may start before its section (the grid can begin before 0 s), so clamp the progress.
|
|
353
|
-
const u = Math.min(1, Math.max(0, (t0 - sec.t0) / Math.max(1e-6, sec.t1 - sec.t0)));
|
|
354
|
-
const open = sec.kind === "intro" || sec.kind === "build" ? 700 + 3000 * u : sec.kind === "break" ? 2600 : 1800;
|
|
355
|
-
stems.chords.add(at(t0), tableVoice(SAW, voicing(plan, chord, 48), t1 - t0, { attack: 0.25, decay: 1e6, sustain: 1, release: 0.4, cutoff: open, cutoffEnd: open * 1.3, detune: 14, phase: (bar * 0.37) % 1 }), 0, sec.kind === "drop" ? 0.35 : 0.6);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
// Arrangement fx: risers into each change (the strongest into the drop), the impact on the drop, a
|
|
360
|
-
// downlifter after it, and a reverse swell into each change that is not a drop.
|
|
361
|
-
for (const f of plan.fx) {
|
|
362
|
-
if (f.kind === "riser") {
|
|
363
|
-
const len = Math.max(1, at(f.t) - at(f.start));
|
|
364
|
-
const b = new Float64Array(len);
|
|
365
|
-
let lp = 0;
|
|
366
|
-
let ph = 0;
|
|
367
|
-
for (let i = 0; i < len; i++) {
|
|
368
|
-
const u = i / len;
|
|
369
|
-
lp += onePole(300 + 7000 * u * u) * (rand() * 2 - 1 - lp);
|
|
370
|
-
ph += (2 * Math.PI * midiHz(60 + plan.tonic + 24 * u)) / SR;
|
|
371
|
-
b[i] = f.strength * u * u * (0.8 * lp + 0.25 * Math.sin(ph));
|
|
372
|
-
}
|
|
373
|
-
stems.fx.add(at(f.start), b, 0, 1);
|
|
374
|
-
} else if (f.kind === "impact") {
|
|
375
|
-
const boom = toneVoice(42, 1.6, 0.5, { attack: 0.001 });
|
|
376
|
-
const crash = noiseVoice(rand, 1.4, 0.45, { hp: 3000 });
|
|
377
|
-
for (let i = 0; i < boom.length; i++) boom[i] = 0.9 * boom[i] + 0.35 * (crash[i] ?? 0);
|
|
378
|
-
stems.fx.add(at(f.t), boom, 0, 1);
|
|
379
|
-
} else if (f.kind === "reverse") {
|
|
380
|
-
const sec = Math.max(1 / SR, f.t - f.start);
|
|
381
|
-
const tail = tableVoice(SAW, voicing(plan, chordAt(plan, f.t, durationSec), 60), sec, { attack: 0.002, decay: sec * 0.45, sustain: 0, release: 0.01, cutoff: 4200, cutoffEnd: 900, detune: 10 });
|
|
382
|
-
tail.reverse();
|
|
383
|
-
stems.fx.add(at(f.start), tail, 0, 0.5);
|
|
384
|
-
} else {
|
|
385
|
-
const len = Math.max(1, at(f.end) - at(f.t));
|
|
386
|
-
const b = new Float64Array(len);
|
|
387
|
-
let lp = 0;
|
|
388
|
-
for (let i = 0; i < len; i++) {
|
|
389
|
-
const u = 1 - i / len;
|
|
390
|
-
lp += onePole(200 + 5000 * u * u) * (rand() * 2 - 1 - lp);
|
|
391
|
-
b[i] = 0.6 * u * u * lp;
|
|
392
|
-
}
|
|
393
|
-
stems.fx.add(at(f.t), b, 0, 1);
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
// Cues: the beats' own asks (a hit on a cut, a cadence) and every on-screen event, on its frame.
|
|
398
|
-
const tonicMidi = 72 + plan.tonic;
|
|
399
|
-
for (const cue of cues) {
|
|
400
|
-
if (cue.kind === "hit") stems.fx.add(at(cue.t), toneVoice(55, 0.5, 0.18, { partials: [1, 0.4] }), 0, 0.7);
|
|
401
|
-
else if (cue.kind === "cadence") stems.chords.add(at(cue.t), tableVoice(SAW, voicing(plan, [0, plan.mode === "major" ? "maj9" : "min9"], 60), 1.2, { attack: 0.01, decay: 0.8, cutoff: 3200, cutoffEnd: 800 }), 0, 0.7);
|
|
402
|
-
else if (cue.kind === "event") {
|
|
403
|
-
if (cue.sound === "tap") {
|
|
404
|
-
const tone = toneVoice(midiHz(tonicMidi + 12 + (plan.mode === "major" ? 7 : 3)), 0.3, 0.07);
|
|
405
|
-
const click = noiseVoice(rand, 0.03, 0.006, { hp: 2500 });
|
|
406
|
-
for (let i = 0; i < click.length; i++) tone[i] += 1.4 * click[i];
|
|
407
|
-
stems.events.add(at(cue.t), tone, 0.1, 1);
|
|
408
|
-
} else if (cue.sound === "whoosh") {
|
|
409
|
-
const len = at(0.4);
|
|
410
|
-
const b = new Float64Array(len + at(0.08));
|
|
411
|
-
let lp = 0;
|
|
412
|
-
for (let i = 0; i < b.length; i++) {
|
|
413
|
-
const u = i < len ? i / len : 1 - (i - len) / at(0.08);
|
|
414
|
-
lp += onePole(300 + 3200 * u) * (rand() * 2 - 1 - lp);
|
|
415
|
-
b[i] = 0.7 * u * u * lp;
|
|
416
|
-
}
|
|
417
|
-
stems.events.add(at(cue.t) - len, b, 0, 1);
|
|
418
|
-
} else if (cue.sound === "chime") {
|
|
419
|
-
stems.events.add(at(cue.t), toneVoice(midiHz(tonicMidi + 12), 1.4, 0.5, { partials: [1, 0, 0.2] }), -0.2, 0.5);
|
|
420
|
-
stems.events.add(at(cue.t + 0.09), toneVoice(midiHz(tonicMidi + 19), 1.4, 0.5, { partials: [1, 0, 0.2] }), 0.2, 0.45);
|
|
421
|
-
} else {
|
|
422
|
-
const boom = toneVoice(50, 0.6, 0.2, { attack: 0.001 });
|
|
423
|
-
const snap = noiseVoice(rand, 0.4, 0.1, { hp: 1200 });
|
|
424
|
-
for (let i = 0; i < boom.length; i++) boom[i] = 0.8 * boom[i] + 0.6 * (snap[i] ?? 0);
|
|
425
|
-
stems.events.add(at(cue.t), boom, 0, 1);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
// The mix: high-pass, gain and pan per stem, the sidechain from the kick times, then the sends.
|
|
431
|
-
const duck = new Float64Array(sampleCount).fill(1);
|
|
432
|
-
for (const t of plan.kicks) {
|
|
433
|
-
const s0 = at(t);
|
|
434
|
-
for (let i = 0; i < at(0.4) && s0 + i < sampleCount; i++) {
|
|
435
|
-
const dt = i / SR;
|
|
436
|
-
const env = dt < 0.004 ? dt / 0.004 : Math.exp(-(dt - 0.004) / 0.07);
|
|
437
|
-
duck[s0 + i] = Math.min(duck[s0 + i], 1 - env);
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
const reverbIn = [new Float64Array(sampleCount), new Float64Array(sampleCount)];
|
|
441
|
-
const delayIn = [new Float64Array(sampleCount), new Float64Array(sampleCount)];
|
|
442
|
-
const processed = {};
|
|
443
|
-
for (const name of SCORE_STEMS) {
|
|
444
|
-
const m = MIX[name];
|
|
445
|
-
const { L, R } = stems[name];
|
|
446
|
-
if (m.hp) {
|
|
447
|
-
filter(L, rbj("hp", m.hp));
|
|
448
|
-
filter(R, rbj("hp", m.hp));
|
|
449
|
-
}
|
|
450
|
-
const pl = Math.cos(((m.pan + 1) * Math.PI) / 4) * Math.SQRT2;
|
|
451
|
-
const pr = Math.sin(((m.pan + 1) * Math.PI) / 4) * Math.SQRT2;
|
|
452
|
-
for (let s = 0; s < sampleCount; s++) {
|
|
453
|
-
const g = m.gain * (1 - m.duck * (1 - duck[s]));
|
|
454
|
-
L[s] *= g * pl;
|
|
455
|
-
R[s] *= g * pr;
|
|
456
|
-
reverbIn[0][s] += m.reverb * L[s];
|
|
457
|
-
reverbIn[1][s] += m.reverb * R[s];
|
|
458
|
-
delayIn[0][s] += m.delay * L[s];
|
|
459
|
-
delayIn[1][s] += m.delay * R[s];
|
|
460
|
-
}
|
|
461
|
-
processed[name] = { L, R };
|
|
462
|
-
}
|
|
463
|
-
const reverb = reverbReturn(reverbIn);
|
|
464
|
-
const delay = delayReturn(delayIn, (60 / plan.bpm) * 0.75, (60 / plan.bpm) * 0.5);
|
|
465
|
-
|
|
466
|
-
// The bus: every stem and both returns, compressed, faded at the end, then mastered.
|
|
467
|
-
const busL = new Float64Array(sampleCount);
|
|
468
|
-
const busR = new Float64Array(sampleCount);
|
|
469
|
-
for (const { L, R } of [...Object.values(processed), reverb, delay]) {
|
|
470
|
-
for (let s = 0; s < sampleCount; s++) {
|
|
471
|
-
busL[s] += L[s];
|
|
472
|
-
busR[s] += R[s];
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
let peak = 0;
|
|
476
|
-
for (let s = 0; s < sampleCount; s++) peak = Math.max(peak, Math.abs(busL[s]), Math.abs(busR[s]));
|
|
477
|
-
const norm = peak > 0 ? 1 / peak : 1;
|
|
478
|
-
const comp = compressor(busL, busR, norm);
|
|
479
|
-
const fade = Math.min(at(0.4), Math.floor(sampleCount / 10));
|
|
480
|
-
for (let i = 0; i < fade; i++) {
|
|
481
|
-
busL[sampleCount - 1 - i] *= i / fade;
|
|
482
|
-
busR[sampleCount - 1 - i] *= i / fade;
|
|
483
|
-
}
|
|
484
|
-
const { left, right, gain, lufs } = masterTo(busL, busR);
|
|
485
|
-
const scale = norm * gain * comp.meanGain;
|
|
486
|
-
const out = (st) => ({ left: Float32Array.from(st.L, (v) => v * scale), right: Float32Array.from(st.R, (v) => v * scale) });
|
|
487
|
-
return {
|
|
488
|
-
left, right, sampleCount, plan, cues,
|
|
489
|
-
stems: Object.fromEntries(SCORE_STEMS.map((k) => [k, out(processed[k])])),
|
|
490
|
-
returns: { reverb: out(reverb), delay: out(delay) },
|
|
491
|
-
lufs: +lufs.toFixed(2), peakDbfs: +samplePeakDbfs([left, right]).toFixed(2), loudnessMethod: "BS.1770-4",
|
|
492
|
-
bus: { ratio: comp.ratio, thresholdDbfs: comp.thresholdDbfs, maxReductionDb: +comp.maxReductionDb.toFixed(2) },
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
/** A small Schroeder reverb per channel: four damped combs into two all-passes, the right channel offset. */
|
|
497
|
-
function reverbReturn([inL, inR]) {
|
|
498
|
-
const pre = rbj("hp", 300);
|
|
499
|
-
const run = (input, spread) => {
|
|
500
|
-
const x = filter(Float64Array.from(input), pre);
|
|
501
|
-
const y = new Float64Array(x.length);
|
|
502
|
-
for (const d of [1687, 1601, 1491, 1422].map((n) => n + spread)) {
|
|
503
|
-
const line = new Float64Array(d);
|
|
504
|
-
let k = 0;
|
|
505
|
-
let damp = 0;
|
|
506
|
-
for (let i = 0; i < x.length; i++) {
|
|
507
|
-
const out = line[k];
|
|
508
|
-
damp = out * 0.7 + damp * 0.3;
|
|
509
|
-
line[k] = x[i] + damp * 0.8;
|
|
510
|
-
y[i] += out * 0.25;
|
|
511
|
-
k = (k + 1) % d;
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
for (const d of [556, 441].map((n) => n + spread)) {
|
|
515
|
-
const line = new Float64Array(d);
|
|
516
|
-
let k = 0;
|
|
517
|
-
for (let i = 0; i < y.length; i++) {
|
|
518
|
-
const buf = line[k];
|
|
519
|
-
const v = -0.5 * y[i] + buf;
|
|
520
|
-
line[k] = y[i] + 0.5 * buf;
|
|
521
|
-
y[i] = v;
|
|
522
|
-
k = (k + 1) % d;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
return y;
|
|
526
|
-
};
|
|
527
|
-
return { L: run(inL, 0), R: run(inR, 23) };
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
/** A tempo delay: a dotted eighth left and an eighth right, low-passed in the feedback path. */
|
|
531
|
-
function delayReturn([inL, inR], leftSec, rightSec) {
|
|
532
|
-
const run = (input, sec) => {
|
|
533
|
-
const d = Math.max(1, Math.round(sec * SR));
|
|
534
|
-
const y = new Float64Array(input.length);
|
|
535
|
-
const c = onePole(3200);
|
|
536
|
-
let lp = 0;
|
|
537
|
-
for (let i = 0; i < input.length; i++) {
|
|
538
|
-
const back = i >= d ? y[i - d] : 0;
|
|
539
|
-
lp += c * (back - lp);
|
|
540
|
-
y[i] = (i >= d ? input[i - d] : 0) + 0.36 * lp;
|
|
541
|
-
}
|
|
542
|
-
return y;
|
|
543
|
-
};
|
|
544
|
-
return { L: run(inL, leftSec), R: run(inR, rightSec) };
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
/** Bus compression in place on the peak-normalized bus: 10 ms attack, 150 ms release, 2.5:1 over -10 dBFS. */
|
|
548
|
-
function compressor(L, R, norm) {
|
|
549
|
-
const thresholdDbfs = -10;
|
|
550
|
-
const ratio = 2.5;
|
|
551
|
-
const att = Math.exp(-1 / (0.01 * SR));
|
|
552
|
-
const rel = Math.exp(-1 / (0.15 * SR));
|
|
553
|
-
let env = 0;
|
|
554
|
-
let sum = 0;
|
|
555
|
-
let maxReductionDb = 0;
|
|
556
|
-
for (let s = 0; s < L.length; s++) {
|
|
557
|
-
const x = Math.max(Math.abs(L[s]), Math.abs(R[s])) * norm;
|
|
558
|
-
env = x > env ? att * env + (1 - att) * x : rel * env + (1 - rel) * x;
|
|
559
|
-
const level = 20 * Math.log10(Math.max(env, 1e-9));
|
|
560
|
-
const over = Math.max(0, level - thresholdDbfs);
|
|
561
|
-
const reductionDb = over - over / ratio;
|
|
562
|
-
maxReductionDb = Math.max(maxReductionDb, reductionDb);
|
|
563
|
-
const g = 10 ** (-reductionDb / 20);
|
|
564
|
-
L[s] *= g;
|
|
565
|
-
R[s] *= g;
|
|
566
|
-
sum += g;
|
|
567
|
-
}
|
|
568
|
-
return { thresholdDbfs, ratio, maxReductionDb, meanGain: L.length ? sum / L.length : 1 };
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
const rmsDbfs = (st) => {
|
|
572
|
-
let s = 0;
|
|
573
|
-
for (let i = 0; i < st.left.length; i++) s += st.left[i] * st.left[i] + st.right[i] * st.right[i];
|
|
574
|
-
const v = Math.sqrt(s / Math.max(1, 2 * st.left.length));
|
|
575
|
-
return v > 0 ? +(20 * Math.log10(v)).toFixed(2) : -Infinity;
|
|
576
|
-
};
|
|
577
|
-
|
|
578
|
-
/** How far the bass dips right after a kick in the drop, against 150-210 ms later (dB). */
|
|
579
|
-
export function sidechainDepth(score) {
|
|
580
|
-
const drop = score.plan.sections.find((x) => x.kind === "drop");
|
|
581
|
-
const bass = score.stems.bass.left;
|
|
582
|
-
const win = (a, b) => {
|
|
583
|
-
let s = 0;
|
|
584
|
-
for (let i = a; i < b; i++) s += bass[i] * bass[i];
|
|
585
|
-
return Math.sqrt(s / Math.max(1, b - a));
|
|
586
|
-
};
|
|
587
|
-
let near = 0;
|
|
588
|
-
let away = 0;
|
|
589
|
-
for (const k of score.plan.kicks.filter((t) => t >= drop.t0 && t + 0.25 < drop.t1)) {
|
|
590
|
-
const i = Math.round(k * SR);
|
|
591
|
-
near += win(i + Math.round(0.005 * SR), i + Math.round(0.035 * SR));
|
|
592
|
-
away += win(i + Math.round(0.15 * SR), i + Math.round(0.21 * SR));
|
|
593
|
-
}
|
|
594
|
-
return near > 0 && away > 0 ? +(20 * Math.log10(away / near)).toFixed(2) : 0;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/** Write `sound/score.wav`, every stem and return under `sound/stems/`, and `sound-cues.json`. */
|
|
598
|
-
export function writeScore({ treatment, frameCount, fps, cutTimes = [], dir }) {
|
|
599
|
-
const score = buildScore({ treatment, frameCount, fps, cutTimes });
|
|
600
|
-
const soundDir = path.join(dir, "sound");
|
|
601
|
-
mkdirSync(path.join(soundDir, "stems"), { recursive: true });
|
|
602
|
-
const file = path.join(soundDir, "score.wav");
|
|
603
|
-
const wav = encodeWav({ left: score.left, right: score.right });
|
|
604
|
-
writeFileSync(file, wav);
|
|
605
|
-
const stems = [];
|
|
606
|
-
for (const [name, st] of [...Object.entries(score.stems), ...Object.entries(score.returns).map(([k, v]) => [`return-${k}`, v])]) {
|
|
607
|
-
const rel = `sound/stems/${name}.wav`;
|
|
608
|
-
writeFileSync(path.join(dir, rel), encodeWav(st));
|
|
609
|
-
stems.push({ name, file: rel, rmsDbfs: rmsDbfs(st), ...(name.startsWith("return-") ? { kind: "return" } : { gain: MIX[name].gain, pan: MIX[name].pan, highpassHz: MIX[name].hp, sidechain: MIX[name].duck }) });
|
|
610
|
-
}
|
|
611
|
-
const { plan } = score;
|
|
612
|
-
const summary = {
|
|
613
|
-
schema: "litgravity.motion-sound-cues/v1",
|
|
614
|
-
mode: "score",
|
|
615
|
-
file,
|
|
616
|
-
sha256: createHash("sha256").update(wav).digest("hex"),
|
|
617
|
-
sampleRate: SR,
|
|
618
|
-
sampleCount: score.sampleCount,
|
|
619
|
-
durationSec: +(score.sampleCount / SR).toFixed(6),
|
|
620
|
-
frameCount,
|
|
621
|
-
fps,
|
|
622
|
-
genre: plan.genre,
|
|
623
|
-
key: `${plan.key} ${plan.mode}`,
|
|
624
|
-
tempo: plan.bpm,
|
|
625
|
-
progression: plan.progression.join("–"),
|
|
626
|
-
sections: plan.sections.map(({ kind, t0, t1, beat }) => ({ kind, t0, t1, beat })),
|
|
627
|
-
fx: plan.fx,
|
|
628
|
-
stems,
|
|
629
|
-
sidechainDb: sidechainDepth(score),
|
|
630
|
-
bus: score.bus,
|
|
631
|
-
lufs: score.lufs,
|
|
632
|
-
peakDbfs: score.peakDbfs,
|
|
633
|
-
loudnessMethod: score.loudnessMethod,
|
|
634
|
-
cutTimes: cutTimes.map((t) => Math.round(t * 10000) / 10000),
|
|
635
|
-
cues: score.cues,
|
|
636
|
-
};
|
|
637
|
-
writeFileSync(path.join(dir, "sound-cues.json"), `${JSON.stringify(summary, null, 2)}\n`);
|
|
638
|
-
return summary;
|
|
639
|
-
}
|