@litfamily/litmuse 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +260 -105
- package/README_ko-KR.md +260 -105
- package/bin/litmuse.mjs +10 -4
- package/lib/bundle.mjs +1 -1
- package/lib/doctor.mjs +31 -31
- package/lib/extensions.mjs +504 -0
- package/lib/install.mjs +38 -1
- package/lib/paths.mjs +1 -0
- package/lib/safe-write.mjs +1 -1
- package/package.json +2 -2
- package/plugin/.muse-plugin/plugin.json +11 -11
- package/plugin/hooks/lib/digest.mjs +4 -7
- package/plugin/hooks/lib/extensions.mjs +80 -0
- package/plugin/hooks/lib/moved.mjs +42 -0
- package/plugin/hooks/post-tool-use.mjs +0 -4
- package/plugin/hooks/session-start.mjs +6 -1
- package/plugin/hooks/stop.mjs +1 -7
- package/plugin/hooks/user-prompt-submit.mjs +4 -4
- package/plugin/skills/frontend-ui-ux/SKILL.md +85 -234
- package/plugin/skills/lit-diagram-drawer/SKILL.md +69 -200
- package/plugin/skills/lit-docx/SKILL.md +65 -225
- package/plugin/skills/lit-pptx/SKILL.md +64 -266
- package/plugin/skills/lit-schematic/SKILL.md +69 -212
- package/plugin/skills/lit-scientific-visualization/SKILL.md +90 -229
- package/plugin/skills/lit-typographic-motion/SKILL.md +76 -162
- package/plugin/skills/readme-studio/SKILL.md +94 -113
- package/plugin/skills/visual-qa/SKILL.md +94 -188
- package/lib/runtime.mjs +0 -73
- package/plugin/hooks/lib/motion.mjs +0 -156
- package/plugin/lib/office-runtime-lock/package-lock.json +0 -793
- package/plugin/lib/office-runtime-lock/package.json +0 -12
- package/plugin/lib/office-runtime-lock/requirements.lock +0 -15
- package/plugin/lib/office-runtime.mjs +0 -274
- package/plugin/lib/office_data.py +0 -493
- package/plugin/lib/office_runtime_bootstrap.py +0 -76
- package/plugin/lib/ooxml_integrity.py +0 -199
- package/plugin/lib/pdf_fonts.py +0 -91
- package/plugin/lib/render_pages.py +0 -133
- package/plugin/lib/strict-json.mjs +0 -143
- 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 -414
- 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 -92
- package/plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +0 -93
- package/plugin/skills/frontend-ui-ux/references/complete-contract.md +0 -579
- package/plugin/skills/frontend-ui-ux/references/composition.md +0 -85
- package/plugin/skills/frontend-ui-ux/references/craft-floor.md +0 -264
- package/plugin/skills/frontend-ui-ux/references/creative-directions.md +0 -80
- package/plugin/skills/frontend-ui-ux/references/default-editorial-pixel.json +0 -79
- 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 -126
- package/plugin/skills/frontend-ui-ux/references/house-styles.md +0 -234
- package/plugin/skills/frontend-ui-ux/references/implementation-platforms.md +0 -109
- package/plugin/skills/frontend-ui-ux/references/inclusive-interface.md +0 -92
- package/plugin/skills/frontend-ui-ux/references/interaction-motion.md +0 -47
- package/plugin/skills/frontend-ui-ux/references/motion-guide.md +0 -130
- package/plugin/skills/frontend-ui-ux/references/operating-lanes.md +0 -92
- 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 -93
- package/plugin/skills/frontend-ui-ux/references/product-direction.md +0 -84
- package/plugin/skills/frontend-ui-ux/references/production-interview.md +0 -17
- package/plugin/skills/frontend-ui-ux/references/redesign-playbook.md +0 -97
- package/plugin/skills/frontend-ui-ux/references/slop-register.md +0 -150
- package/plugin/skills/frontend-ui-ux/references/system-foundations.md +0 -84
- package/plugin/skills/frontend-ui-ux/references/taste-direction.md +0 -86
- 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 -84
- package/plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +0 -51
- 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 -202
- 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 -133
- package/plugin/skills/frontend-ui-ux/scripts/interface-probe.mjs +0 -341
- 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/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/export.md +0 -29
- 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/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 -67
- 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 -59
- 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 -275
- 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 -33
- package/plugin/skills/lit-docx/references/components.md +0 -207
- package/plugin/skills/lit-docx/references/direction-step.md +0 -277
- 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 -105
- package/plugin/skills/lit-docx/references/examples/03-manual-ko.md +0 -164
- package/plugin/skills/lit-docx/references/examples/04-proposal-ko.md +0 -138
- package/plugin/skills/lit-docx/references/examples/05-memo-en.md +0 -55
- package/plugin/skills/lit-docx/references/examples/06-journal-en.md +0 -130
- 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 -123
- package/plugin/skills/lit-docx/references/examples/09-memo-ko.md +0 -45
- package/plugin/skills/lit-docx/references/frontmatter_schema.md +0 -42
- package/plugin/skills/lit-docx/references/journal_style_spec.md +0 -17
- package/plugin/skills/lit-docx/references/markdown_quality_checklist.md +0 -37
- package/plugin/skills/lit-docx/references/page-composition.md +0 -221
- package/plugin/skills/lit-docx/references/slop_phrase_list.yaml +0 -58
- package/plugin/skills/lit-docx/references/slop_rules.md +0 -35
- package/plugin/skills/lit-docx/references/tonalities/brief.md +0 -143
- package/plugin/skills/lit-docx/references/tonalities/journal.md +0 -142
- package/plugin/skills/lit-docx/references/tonalities/manual.md +0 -148
- package/plugin/skills/lit-docx/references/tonalities/memo.md +0 -137
- package/plugin/skills/lit-docx/references/tonalities/proposal.md +0 -140
- package/plugin/skills/lit-docx/references/tonalities/report.md +0 -156
- 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 -302
- 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/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 -39
- package/plugin/skills/lit-docx/templates/latex/elsevier/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/elsevier/template.tex +0 -40
- package/plugin/skills/lit-docx/templates/latex/ieee/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/ieee/template.tex +0 -39
- 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 -39
- package/plugin/skills/lit-docx/templates/latex/nature/README.md +0 -5
- package/plugin/skills/lit-docx/templates/latex/nature/template.tex +0 -39
- 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 -38
- 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/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 -110
- package/plugin/skills/lit-pptx/references/authoring-guide.md +0 -250
- 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 -164
- 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 -198
- 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 -109
- package/plugin/skills/lit-pptx/references/tonalities/atlas.md +0 -139
- package/plugin/skills/lit-pptx/references/tonalities/bauhaus.md +0 -112
- package/plugin/skills/lit-pptx/references/tonalities/chalk.md +0 -148
- package/plugin/skills/lit-pptx/references/tonalities/computational-brutalism.md +0 -118
- 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 -125
- package/plugin/skills/lit-pptx/references/tonalities/newsroom.md +0 -115
- 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 -109
- package/plugin/skills/lit-pptx/references/tonalities/signal.md +0 -150
- package/plugin/skills/lit-pptx/references/tonalities/studio.md +0 -132
- package/plugin/skills/lit-pptx/scripts/compile-deck.js +0 -462
- package/plugin/skills/lit-pptx/scripts/craft_extras.py +0 -1078
- 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 -510
- 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/package.json +0 -4
- package/plugin/skills/lit-pptx/scripts/qa_deck.py +0 -795
- 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 -14
- package/plugin/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +0 -8
- package/plugin/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +0 -22
- package/plugin/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +0 -81
- package/plugin/skills/lit-schematic/references/cutaway-outputs.md +0 -25
- package/plugin/skills/lit-schematic/references/isometric-craft.md +0 -24
- package/plugin/skills/lit-schematic/references/journal-figures.md +0 -19
- package/plugin/skills/lit-schematic/references/kit-api.md +0 -42
- package/plugin/skills/lit-schematic/references/pfd-and-layout.md +0 -20
- package/plugin/skills/lit-schematic/references/pid-drafting.md +0 -30
- package/plugin/skills/lit-schematic/references/pid-symbols.md +0 -35
- package/plugin/skills/lit-schematic/references/verification.md +0 -31
- package/plugin/skills/lit-schematic/scripts/doctor.mjs +0 -13
- package/plugin/skills/lit-schematic/scripts/lib/figure.mjs +0 -49
- package/plugin/skills/lit-schematic/scripts/lib/isa.mjs +0 -18
- package/plugin/skills/lit-schematic/scripts/lib/iso.mjs +0 -58
- package/plugin/skills/lit-schematic/scripts/lib/legend-sheet.mjs +0 -10
- package/plugin/skills/lit-schematic/scripts/lib/qa-core.mjs +0 -349
- package/plugin/skills/lit-schematic/scripts/lib/sheet.mjs +0 -497
- package/plugin/skills/lit-schematic/scripts/lib/svg.mjs +0 -39
- package/plugin/skills/lit-schematic/scripts/lib/theme.mjs +0 -25
- package/plugin/skills/lit-schematic/scripts/motion.mjs +0 -8
- package/plugin/skills/lit-schematic/scripts/qa.mjs +0 -21
- package/plugin/skills/lit-schematic/scripts/render.mjs +0 -38
- package/plugin/skills/lit-schematic/scripts/scaffold.mjs +0 -73
- 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 -283
- 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 -225
- 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 -108
- package/plugin/skills/lit-typographic-motion/engine/node/assets.mjs +0 -218
- package/plugin/skills/lit-typographic-motion/engine/node/blender.mjs +0 -144
- package/plugin/skills/lit-typographic-motion/engine/node/board.mjs +0 -136
- package/plugin/skills/lit-typographic-motion/engine/node/brief.mjs +0 -158
- package/plugin/skills/lit-typographic-motion/engine/node/chrome.mjs +0 -330
- package/plugin/skills/lit-typographic-motion/engine/node/cover-assets.mjs +0 -102
- package/plugin/skills/lit-typographic-motion/engine/node/cover-capture.mjs +0 -213
- package/plugin/skills/lit-typographic-motion/engine/node/cover-gate.mjs +0 -346
- 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 -106
- package/plugin/skills/lit-typographic-motion/engine/node/cover-worker.mjs +0 -32
- package/plugin/skills/lit-typographic-motion/engine/node/cover.mjs +0 -373
- 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 -102
- package/plugin/skills/lit-typographic-motion/engine/node/frame-worker.mjs +0 -36
- package/plugin/skills/lit-typographic-motion/engine/node/gallery.mjs +0 -120
- package/plugin/skills/lit-typographic-motion/engine/node/house.mjs +0 -44
- package/plugin/skills/lit-typographic-motion/engine/node/look.mjs +0 -164
- 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 -348
- 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 -179
- package/plugin/skills/lit-typographic-motion/engine/node/stage-gate.mjs +0 -123
- package/plugin/skills/lit-typographic-motion/engine/node/stage-qa.mjs +0 -295
- package/plugin/skills/lit-typographic-motion/engine/node/stage-serve.mjs +0 -430
- 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 -214
- package/plugin/skills/lit-typographic-motion/engine/node/treatment.mjs +0 -645
- package/plugin/skills/lit-typographic-motion/engine/node/webp.mjs +0 -145
- 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 -37
- package/plugin/skills/lit-typographic-motion/engine/stage/init.js +0 -288
- package/plugin/skills/lit-typographic-motion/engine/stage/loop-kit.js +0 -106
- package/plugin/skills/lit-typographic-motion/engine/stage/qa.js +0 -157
- package/plugin/skills/lit-typographic-motion/engine/stage/stage-kit.js +0 -741
- 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 -67
- 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 -95
- 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 -67
- 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 -475
- package/plugin/skills/lit-typographic-motion/references/craft-loop.md +0 -100
- 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 -157
- package/plugin/skills/lit-typographic-motion/references/runtime.md +0 -98
- package/plugin/skills/lit-typographic-motion/references/sound.md +0 -181
- package/plugin/skills/lit-typographic-motion/references/stage.md +0 -310
- package/plugin/skills/lit-typographic-motion/references/studio.md +0 -245
- package/plugin/skills/lit-typographic-motion/references/style-bibles.md +0 -130
- package/plugin/skills/lit-typographic-motion/references/treatment.md +0 -189
- package/plugin/skills/lit-typographic-motion/references/type-craft.md +0 -87
- package/plugin/skills/lit-typographic-motion/scripts/motion-doctor.mjs +0 -99
- package/plugin/skills/lit-typographic-motion/scripts/motion-runtime.mjs +0 -95
- package/plugin/skills/lit-typographic-motion/scripts/motion.mjs +0 -206
- 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/capture-playbook.md +0 -126
- package/plugin/skills/visual-qa/references/complete-contract.md +0 -677
- 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/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
package/lib/doctor.mjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { existsSync, readdirSync } from 'node:fs';
|
|
2
2
|
import { join } from 'node:path';
|
|
3
|
-
import { findOnPath } from '../plugin/lib/host-process.mjs';
|
|
4
|
-
import {
|
|
3
|
+
import { findOnPath, pickPython } from '../plugin/lib/host-process.mjs';
|
|
4
|
+
import { MOVED, movedSkill } from '../plugin/hooks/lib/moved.mjs';
|
|
5
|
+
import { leftoverRuntime } from '../plugin/hooks/lib/extensions.mjs';
|
|
5
6
|
import { paths } from './paths.mjs';
|
|
6
7
|
import { muse, museVersion, installedPlugin } from './muse.mjs';
|
|
7
8
|
import { stageState, packageVersion, PLUGIN_DIR } from './bundle.mjs';
|
|
8
9
|
import { approvalStates } from './approvals.mjs';
|
|
9
10
|
import { checkUpdate } from './update-check.mjs';
|
|
10
|
-
import { runtimeModules, callRuntime } from './runtime.mjs';
|
|
11
11
|
import { agentFileRow } from './agent-file.mjs';
|
|
12
|
+
import { survey, findings, CLI } from './extensions.mjs';
|
|
12
13
|
|
|
13
14
|
const CATALOG_CAP = 32 * 1024;
|
|
14
15
|
|
|
@@ -19,48 +20,30 @@ export function expectedSkillIds(dir = PLUGIN_DIR) {
|
|
|
19
20
|
return readdirSync(root).filter((d) => existsSync(join(root, d, 'SKILL.md'))).sort().map((d) => `plugin:litmuse:${d}`);
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
// Host binaries the
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
23
|
+
// Host binaries the skills call; a missing one is reported, never installed. A spec is found when every `all` program
|
|
24
|
+
// is on PATH, or an `any` program is, or one of `files` exists, or its `env` variable is set. PATH is searched without
|
|
25
|
+
// a shell so the same specs work with PATHEXT on Windows. The office, film and figure tools left with the skills that
|
|
26
|
+
// moved to wjgoarxiv-skills.
|
|
26
27
|
export const RUNTIMES = [
|
|
27
|
-
{ label: 'python3', python: true, fix: 'install Python 3.10 to 3.14 (python.org or your package manager)
|
|
28
|
-
{ label: '
|
|
29
|
-
{ label: 'LibreOffice (soffice)', any: ['soffice'], files: ['/Applications/LibreOffice.app/Contents/MacOS/soffice', 'C:\\Program Files\\LibreOffice\\program\\soffice.exe'], fix: 'install LibreOffice so documents can be rendered for checking', skills: 'lit-docx, lit-pptx' },
|
|
30
|
-
{ label: 'pandoc', all: ['pandoc'], fix: 'brew install pandoc (or your package manager)', skills: 'lit-docx' },
|
|
31
|
-
{ label: 'xelatex (optional)', all: ['xelatex'], fix: 'install a TeX distribution only if you want publisher-styled PDF', skills: 'lit-docx' },
|
|
32
|
-
{ label: 'Chrome or Chromium', env: 'CHROME_PATH', files: ['/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe', 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe'], any: ['google-chrome', 'chromium', 'chromium-browser'], fix: 'install Google Chrome or Chromium, or set CHROME_PATH', skills: 'frontend-ui-ux, visual-qa, browser-drive, lit-diagram-drawer, lit-typographic-motion' },
|
|
33
|
-
{ label: 'ffmpeg', all: ['ffmpeg'], fix: 'brew install ffmpeg (or your package manager)', skills: 'lit-typographic-motion' },
|
|
34
|
-
{ label: 'libwebp (img2webp, dwebp)', all: ['img2webp', 'dwebp'], fix: 'brew install webp (or your package manager\'s webp tools); gifski also works for covers', skills: 'lit-typographic-motion' },
|
|
28
|
+
{ label: 'python3', python: true, fix: 'install Python 3.10 to 3.14 (python.org or your package manager)', skills: 'autoresearch' },
|
|
29
|
+
{ label: 'Chrome or Chromium', env: 'CHROME_PATH', files: ['/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe', 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe'], any: ['google-chrome', 'chromium', 'chromium-browser'], fix: 'install Google Chrome or Chromium, or set CHROME_PATH', skills: 'browser-drive' },
|
|
35
30
|
{ label: 'ast-grep', any: ['ast-grep', 'sg'], fix: 'npm i -g @ast-grep/cli', skills: 'structural-search' },
|
|
36
31
|
];
|
|
37
32
|
|
|
38
33
|
export function runtimeFound(spec, { env = process.env, platform = process.platform, exists } = {}) {
|
|
39
34
|
const look = (name) => findOnPath(name, { env, platform, ...(exists ? { exists } : {}) });
|
|
40
35
|
if (spec.python) {
|
|
41
|
-
return
|
|
36
|
+
return pickPython(undefined, { env }).ok;
|
|
42
37
|
}
|
|
43
38
|
if (spec.all) return spec.all.every((name) => look(name));
|
|
44
39
|
const fileExists = exists ?? existsSync;
|
|
45
40
|
return Boolean((spec.env && env[spec.env]) || (spec.files ?? []).some((file) => fileExists(file)) || (spec.any ?? []).some((name) => look(name)));
|
|
46
41
|
}
|
|
47
42
|
|
|
48
|
-
function engineRows(env) {
|
|
49
|
-
return runtimeModules().map((m) => {
|
|
50
|
-
const r = callRuntime(m, 'status', env);
|
|
51
|
-
const fix = `npx @litfamily/litmuse runtime install ${m.name}`;
|
|
52
|
-
if (r.error) return { status: 'INFO', label: `engine ${m.name}`, detail: `status check failed: ${r.error}`, fix };
|
|
53
|
-
if (r.ready) return { status: 'INFO', label: `engine ${m.name}`, detail: `ready${r.cache ? ` (${r.cache})` : ''}` };
|
|
54
|
-
// A pre-warm engine (motion) never installs from a session, so its fix is the terminal command, not a first use.
|
|
55
|
-
const when = r.prewarm ? 'run the fix from a terminal before first use' : 'the first use installs it';
|
|
56
|
-
return { status: 'INFO', label: `engine ${m.name}`, detail: `not installed yet${r.missing?.length ? `: ${r.missing.join(', ')}` : ''}; ${when}`, fix };
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
|
|
60
43
|
function runtimeRows(env) {
|
|
61
|
-
return
|
|
44
|
+
return RUNTIMES.map((r) => (runtimeFound(r, { env })
|
|
62
45
|
? { status: 'INFO', label: `runtime ${r.label}`, detail: 'found' }
|
|
63
|
-
: { status: 'INFO', label: `runtime ${r.label}`, detail: `missing (used by ${r.skills})`, fix: r.fix }))
|
|
46
|
+
: { status: 'INFO', label: `runtime ${r.label}`, detail: `missing (used by ${r.skills})`, fix: r.fix }));
|
|
64
47
|
}
|
|
65
48
|
|
|
66
49
|
function baseName(skill) {
|
|
@@ -114,13 +97,25 @@ export async function doctor({ env = process.env, flags = {}, print = console.lo
|
|
|
114
97
|
const ourIds = new Set(expected.map((id) => id.replace('plugin:litmuse:', '')));
|
|
115
98
|
for (const s of list) {
|
|
116
99
|
if (s.scope !== 'user' && s.scope !== 'project') continue;
|
|
117
|
-
|
|
100
|
+
const moved = s.scope === 'user' ? Object.keys(MOVED).map(movedSkill).find((m) => m.installs === baseName(s)) : null;
|
|
101
|
+
if (moved) add('INFO', 'moved', `${baseName(s)} (${s.path}) is the wjgoarxiv-skills copy; the LitMuse ${moved.id} stub hands over to it`);
|
|
102
|
+
else if (ourIds.has(baseName(s))) add('WARN', 'overlap', `personal skill ${baseName(s)} (${s.path}) shares a name with a LitMuse skill; LitMuse routes load plugin:litmuse:${baseName(s)}`);
|
|
118
103
|
if (/\.claude\/plugins\//.test(String(s.path)) || /litclaude/i.test(`${s.id} ${s.path}`)) {
|
|
119
104
|
add('WARN', 'overlap', `${s.path} comes from another tool's plugin folder; LitMuse steers lit routes to its own skills`);
|
|
120
105
|
}
|
|
121
106
|
}
|
|
122
107
|
}
|
|
123
108
|
|
|
109
|
+
if (mv) {
|
|
110
|
+
const sv = survey(env);
|
|
111
|
+
if (!sv.error) {
|
|
112
|
+
const n = findings(sv).length;
|
|
113
|
+
const installed = sv.rows.filter((r) => r.state === 'installed').length;
|
|
114
|
+
if (n) add('WARN', 'extensions', `${installed} of 9 installed; ${n} thing${n === 1 ? '' : 's'} to look at; run ${CLI} extensions check`, `${CLI} extensions check`);
|
|
115
|
+
else add('INFO', 'extensions', `${installed} of 9 installed, nothing to fix (${CLI} extensions list)`);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
124
119
|
const rules = agentFileRow({ env, version: packageVersion() });
|
|
125
120
|
add(rules.status, rules.label, rules.detail, rules.fix);
|
|
126
121
|
|
|
@@ -130,6 +125,11 @@ export async function doctor({ env = process.env, flags = {}, print = console.lo
|
|
|
130
125
|
|
|
131
126
|
if (!flags.skipRuntimes && env.LITMUSE_SKIP_RUNTIMES !== '1') rows.push(...runtimeRows(env));
|
|
132
127
|
|
|
128
|
+
const leftover = leftoverRuntime(p.data);
|
|
129
|
+
if (existsSync(leftover)) {
|
|
130
|
+
add('INFO', 'leftover', `${leftover} holds the engines LitMuse 0.1.11 and earlier set up for the skills that became LitFamily extensions; nothing reads it now`, `delete it to free the space: rm -r "${leftover}"`);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
133
|
if (!flags.offline) {
|
|
134
134
|
const u = await checkUpdate(env);
|
|
135
135
|
if (u.latest) add('INFO', 'update', u.latest === packageVersion() ? `latest ${u.latest}` : `npm has ${u.latest}; run npx @litfamily/litmuse@latest install`);
|
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
import { createHash } from 'node:crypto';
|
|
2
|
+
import { spawnSync } from 'node:child_process';
|
|
3
|
+
import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync } from 'node:fs';
|
|
4
|
+
import { homedir } from 'node:os';
|
|
5
|
+
import { dirname, join, relative, resolve, sep } from 'node:path';
|
|
6
|
+
import { MOVED } from '../plugin/hooks/lib/moved.mjs';
|
|
7
|
+
import { SHELF } from '../plugin/hooks/lib/extensions.mjs';
|
|
8
|
+
import { assertSafeWritePath } from './guard.mjs';
|
|
9
|
+
import { muse } from './muse.mjs';
|
|
10
|
+
|
|
11
|
+
// `litmuse extensions <verb>`: the stubs' manual lines (look first, move an occupied folder aside, `muse skills
|
|
12
|
+
// install`) done in code. Muse owns the install and its receipt, the lock in $CONFIG_DIR/skills/.muse/lock.json;
|
|
13
|
+
// LitMuse only moves folders into $CONFIG_DIR/extension-backups/<stamp>/ and keeps a source clone in its own cache.
|
|
14
|
+
// Every write verb prints its plan and changes nothing without --yes. None of this runs in a hook.
|
|
15
|
+
|
|
16
|
+
export const CLI = 'npx @litfamily/litmuse';
|
|
17
|
+
const IDS = Object.keys(MOVED);
|
|
18
|
+
const STAMP = /^\d{8}-\d{6}(-\d+)?$/;
|
|
19
|
+
|
|
20
|
+
export function extPaths(env = process.env) {
|
|
21
|
+
const home = env.HOME || homedir();
|
|
22
|
+
const configHome = env.XDG_CONFIG_HOME || join(home, '.config');
|
|
23
|
+
const cacheHome = env.XDG_CACHE_HOME || join(home, '.cache');
|
|
24
|
+
const museDir = join(configHome, 'muse');
|
|
25
|
+
return {
|
|
26
|
+
home,
|
|
27
|
+
museDir,
|
|
28
|
+
skills: join(museDir, 'skills'),
|
|
29
|
+
lock: join(museDir, 'skills', '.muse', 'lock.json'),
|
|
30
|
+
backups: join(museDir, 'extension-backups'),
|
|
31
|
+
cache: join(cacheHome, 'litmuse', 'extensions-src'),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const lstatOrNull = (p) => { try { return lstatSync(p); } catch { return null; } };
|
|
36
|
+
|
|
37
|
+
function readLock(p) {
|
|
38
|
+
try {
|
|
39
|
+
const l = JSON.parse(readFileSync(p.lock, 'utf8'));
|
|
40
|
+
return l && typeof l.skills === 'object' && l.skills ? l.skills : {};
|
|
41
|
+
} catch {
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Muse prints paths with $CONFIG_DIR and $HOME placeholders, and project paths relative to the workspace.
|
|
47
|
+
function expand(path, p, cwd) {
|
|
48
|
+
const s = String(path);
|
|
49
|
+
if (s.startsWith('$CONFIG_DIR')) return join(p.museDir, s.slice('$CONFIG_DIR'.length));
|
|
50
|
+
if (s.startsWith('$HOME')) return join(p.home, s.slice('$HOME'.length));
|
|
51
|
+
return resolve(cwd, s);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Muse copies a symlinked file as the file it points to and records that content, so a link is hashed the same way.
|
|
55
|
+
// A link to a folder or to nothing gets a value no receipt holds, which reads as a change.
|
|
56
|
+
function fileHashes(dir, base = dir, acc = new Map()) {
|
|
57
|
+
for (const name of readdirSync(dir)) {
|
|
58
|
+
const f = join(dir, name);
|
|
59
|
+
const rel = relative(base, f).split(sep).join('/');
|
|
60
|
+
let st = lstatSync(f);
|
|
61
|
+
if (st.isSymbolicLink()) {
|
|
62
|
+
try { st = statSync(f); } catch { acc.set(rel, 'unreadable link'); continue; }
|
|
63
|
+
if (!st.isFile()) { acc.set(rel, 'link to a folder'); continue; }
|
|
64
|
+
}
|
|
65
|
+
if (st.isDirectory()) fileHashes(f, base, acc);
|
|
66
|
+
else if (st.isFile()) acc.set(rel, `sha256:${createHash('sha256').update(readFileSync(f)).digest('hex')}`);
|
|
67
|
+
}
|
|
68
|
+
return acc;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// True when the source folder holds exactly the files, with the same hashes, that Muse recorded at install.
|
|
72
|
+
export function sameAsReceipt(sourceDir, entry) {
|
|
73
|
+
const have = fileHashes(sourceDir);
|
|
74
|
+
const recorded = Array.isArray(entry?.files) ? entry.files : [];
|
|
75
|
+
if (have.size !== recorded.length) return false;
|
|
76
|
+
return recorded.every((f) => have.get(f.relative_path) === f.sha256);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const ours = (id, entry) => Boolean(entry?.source?.path) && new RegExp(`[\\\\/]variants[\\\\/]litmuse[\\\\/]${id}$`).test(entry.source.path);
|
|
80
|
+
|
|
81
|
+
function dirSize(dir) {
|
|
82
|
+
let n = 0;
|
|
83
|
+
for (const name of readdirSync(dir)) {
|
|
84
|
+
const st = lstatSync(join(dir, name));
|
|
85
|
+
n += st.isDirectory() ? dirSize(join(dir, name)) : st.size;
|
|
86
|
+
}
|
|
87
|
+
return n;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function humanSize(n) {
|
|
91
|
+
if (n < 1024) return `${n} B`;
|
|
92
|
+
if (n < 1024 * 1024) return `${(n / 1024).toFixed(1)} KB`;
|
|
93
|
+
return `${(n / 1024 / 1024).toFixed(1)} MB`;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function listBackups(p) {
|
|
97
|
+
const st = lstatOrNull(p.backups);
|
|
98
|
+
if (!st || !st.isDirectory() || st.isSymbolicLink()) return [];
|
|
99
|
+
return readdirSync(p.backups).sort().filter((n) => STAMP.test(n)).map((name) => {
|
|
100
|
+
const dir = join(p.backups, name);
|
|
101
|
+
const s = lstatSync(dir);
|
|
102
|
+
if (!s.isDirectory() || s.isSymbolicLink()) return null;
|
|
103
|
+
return { name, dir, ids: readdirSync(dir).sort(), bytes: dirSize(dir), at: stampDate(name) };
|
|
104
|
+
}).filter(Boolean);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function stampDate(name) {
|
|
108
|
+
const m = /^(\d{4})(\d{2})(\d{2})-(\d{2})(\d{2})(\d{2})/.exec(name);
|
|
109
|
+
return m ? new Date(+m[1], +m[2] - 1, +m[3], +m[4], +m[5], +m[6]) : null;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function stamp(d = new Date()) {
|
|
113
|
+
const z = (n) => String(n).padStart(2, '0');
|
|
114
|
+
return `${d.getFullYear()}${z(d.getMonth() + 1)}${z(d.getDate())}-${z(d.getHours())}${z(d.getMinutes())}${z(d.getSeconds())}`;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// One dated folder per run, never reused: a second run in the same second gets -2, -3, ...
|
|
118
|
+
function newBackupDir(p) {
|
|
119
|
+
const base = stamp();
|
|
120
|
+
for (let i = 1; ; i += 1) {
|
|
121
|
+
const dir = join(p.backups, i === 1 ? base : `${base}-${i}`);
|
|
122
|
+
if (!existsSync(dir)) return dir;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// What Muse and the disk say about each extension id. Read only.
|
|
127
|
+
export function survey(env = process.env, { cwd = process.cwd(), from = null } = {}) {
|
|
128
|
+
const p = extPaths(env);
|
|
129
|
+
// The source to compare against without fetching: --from, or the cached clone when there is one.
|
|
130
|
+
const current = resolveSource({ env, flags: { from }, p });
|
|
131
|
+
const lock = readLock(p);
|
|
132
|
+
const listing = muse(env, ['skills', 'list', '--workspace', cwd, '--trust-workspace', '--json']);
|
|
133
|
+
if (listing.missing) return { error: 'muse was not found on PATH. Install Muse Code first, then run this again.' };
|
|
134
|
+
// Without the listing the same-name guard has nothing to look at, so stop rather than report a clean slate.
|
|
135
|
+
if (!listing.ok || !Array.isArray(listing.json?.skills)) {
|
|
136
|
+
const why = listing.json?.error?.message || (listing.stderr || listing.stdout).trim().split(/\r?\n/)[0] || `exit ${listing.status}`;
|
|
137
|
+
return { error: `muse skills list failed (${why}). Nothing was changed.` };
|
|
138
|
+
}
|
|
139
|
+
const skills = listing.json.skills;
|
|
140
|
+
const diagnostics = listing.json.diagnostics ?? [];
|
|
141
|
+
const rows = IDS.map((id) => {
|
|
142
|
+
const dest = join(p.skills, id);
|
|
143
|
+
const destSkill = join(dest, 'SKILL.md');
|
|
144
|
+
const entry = lock[id] ?? null;
|
|
145
|
+
const st = lstatOrNull(dest);
|
|
146
|
+
let state;
|
|
147
|
+
if (!st) state = entry ? 'record-only' : 'absent';
|
|
148
|
+
else if (st.isSymbolicLink()) state = 'symlinked';
|
|
149
|
+
else if (!st.isDirectory()) state = 'not-a-folder';
|
|
150
|
+
else if (!entry) state = 'user-managed';
|
|
151
|
+
else state = ours(id, entry) ? 'installed' : 'other-source';
|
|
152
|
+
const competing = [];
|
|
153
|
+
let live = null;
|
|
154
|
+
for (const s of skills) {
|
|
155
|
+
if (String(s.name ?? s.id) !== id || !['user', 'project'].includes(s.scope)) continue;
|
|
156
|
+
live = expand(s.path, p, cwd);
|
|
157
|
+
if (live !== destSkill) competing.push({ path: dirname(live), scope: s.scope, live: true });
|
|
158
|
+
}
|
|
159
|
+
for (const d of diagnostics) {
|
|
160
|
+
if (d.code !== 'skill-shadowed' || !new RegExp(`[\\\\/]${id}[\\\\/]SKILL\\.md$`).test(String(d.path))) continue;
|
|
161
|
+
const path = expand(d.path, p, cwd);
|
|
162
|
+
if (path !== destSkill) competing.push({ path: dirname(path), scope: d.scope, live: false });
|
|
163
|
+
}
|
|
164
|
+
const source = entry?.source?.path ?? null;
|
|
165
|
+
return {
|
|
166
|
+
id, family: MOVED[id].family, dest, state, competing,
|
|
167
|
+
shadowed: state === 'installed' && live !== destSkill,
|
|
168
|
+
receipt: entry ? { source, installedAt: entry.installed_at ?? null, updatedAt: entry.updated_at ?? null, files: entry.files?.length ?? 0 } : null,
|
|
169
|
+
sourceGone: Boolean(source) && !existsSync(source),
|
|
170
|
+
matchesCurrent: Boolean(current.variants) && Boolean(entry) && existsSync(join(current.variants, id, 'SKILL.md')) && sameAsReceipt(join(current.variants, id), entry),
|
|
171
|
+
entry,
|
|
172
|
+
};
|
|
173
|
+
});
|
|
174
|
+
return { p, rows, backups: listBackups(p) };
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// The things `check` flags, each with the exact line that fixes it.
|
|
178
|
+
export function findings(sv) {
|
|
179
|
+
const out = [];
|
|
180
|
+
for (const r of sv.rows) {
|
|
181
|
+
if (r.state === 'user-managed') out.push({ id: r.id, what: `${r.dest} is a folder Muse has no record of (an older or hand-made copy)`, fix: `${CLI} extensions install ${r.id} --yes (moves it aside whole, then installs)` });
|
|
182
|
+
if (r.state === 'symlinked' || r.state === 'not-a-folder') out.push({ id: r.id, what: `${r.dest} is ${r.state === 'symlinked' ? 'a symbolic link' : 'not a folder'}; LitMuse will not move it`, fix: `look at where it points, then move ${r.dest} aside yourself` });
|
|
183
|
+
if (r.state === 'record-only') out.push({ id: r.id, what: `Muse still records ${r.id} but its folder is gone`, fix: `muse skills uninstall ${r.id} (deletes nothing, drops the record)` });
|
|
184
|
+
if (r.sourceGone && r.state === 'installed' && !r.matchesCurrent) out.push({ id: r.id, what: `the source Muse recorded, ${r.receipt.source}, no longer exists`, fix: `${CLI} extensions update ${r.id} --yes` });
|
|
185
|
+
// With no extension here, a same-name skill is simply the user's own; list shows it and install stops on it.
|
|
186
|
+
for (const c of r.state === 'absent' ? [] : r.competing) {
|
|
187
|
+
out.push(c.live
|
|
188
|
+
? { id: r.id, what: `${c.path} (${c.scope}) outranks the extension in this folder, so Muse loads that copy`, fix: `move or rename ${c.path} to use the extension here` }
|
|
189
|
+
: { id: r.id, what: `${c.path} (${c.scope}) has the same name${c.live ? '' : ' and is shadowed'}`, fix: `keep one copy: move or rename ${c.path}` });
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return out;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
function git(args, opts = {}) {
|
|
196
|
+
const r = spawnSync('git', args, { encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'], timeout: 180000, ...opts });
|
|
197
|
+
return { ok: r.status === 0, missing: r.error?.code === 'ENOENT', err: (r.stderr || r.error?.message || '').trim() };
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
const fromHint = `Nothing was changed. Clone ${SHELF} yourself and pass --from <path to the clone>.`;
|
|
201
|
+
|
|
202
|
+
// Finds variants/litmuse. With --from it reads that clone and never writes it. Otherwise LitMuse keeps a shallow,
|
|
203
|
+
// sparse clone in its own cache; `fetch` refreshes it (or makes it). Without `fetch` (a dry run) it only looks.
|
|
204
|
+
export function resolveSource({ env = process.env, flags = {}, p = extPaths(env), fetch = false }) {
|
|
205
|
+
if (flags.from) {
|
|
206
|
+
const root = resolve(flags.from);
|
|
207
|
+
const variants = join(root, 'variants', 'litmuse');
|
|
208
|
+
if (!existsSync(variants)) return { error: `${root} has no variants/litmuse folder; point --from at a wjgoarxiv-skills clone. Nothing was changed.` };
|
|
209
|
+
return { variants, label: `${root} (--from)` };
|
|
210
|
+
}
|
|
211
|
+
const url = env.LITMUSE_EXTENSIONS_REPO || SHELF;
|
|
212
|
+
const variants = join(p.cache, 'variants', 'litmuse');
|
|
213
|
+
const have = existsSync(join(p.cache, '.git'));
|
|
214
|
+
if (!fetch) return have ? { variants, label: `${p.cache} (cached clone of ${url})`, stale: true } : { pending: true, planned: variants, label: `${url}, cloned into ${p.cache}` };
|
|
215
|
+
const cacheSt = lstatOrNull(p.cache);
|
|
216
|
+
if (cacheSt && (cacheSt.isSymbolicLink() || !cacheSt.isDirectory())) return { error: `${p.cache} is a link or not a folder; LitMuse will not use it. ${fromHint}` };
|
|
217
|
+
assertSafeWritePath(p.cache);
|
|
218
|
+
if (have) {
|
|
219
|
+
const f = git(['-C', p.cache, 'fetch', '--quiet', '--depth', '1', 'origin', 'HEAD']);
|
|
220
|
+
const c = f.ok ? git(['-C', p.cache, '-c', 'advice.detachedHead=false', 'checkout', '--quiet', '--detach', 'FETCH_HEAD']) : f;
|
|
221
|
+
if (!c.ok) return { error: `${f.missing ? 'git was not found on PATH' : `could not refresh ${p.cache} from ${url}`}${c.err ? ` (${c.err.split(/\r?\n/)[0]})` : ''}. ${fromHint}` };
|
|
222
|
+
} else {
|
|
223
|
+
mkdirSync(dirname(p.cache), { recursive: true });
|
|
224
|
+
const tmp = `${p.cache}.tmp-${process.pid}`;
|
|
225
|
+
const c = git(['clone', '--quiet', '--depth', '1', '--filter=blob:none', '--sparse', url, tmp]);
|
|
226
|
+
const s = c.ok ? git(['-C', tmp, 'sparse-checkout', 'set', 'variants/litmuse']) : c;
|
|
227
|
+
if (!s.ok) {
|
|
228
|
+
rmSync(tmp, { recursive: true, force: true });
|
|
229
|
+
return { error: `${c.missing ? 'git was not found on PATH' : `could not fetch ${url}`}${s.err ? ` (${s.err.split(/\r?\n/)[0]})` : ''}. ${fromHint}` };
|
|
230
|
+
}
|
|
231
|
+
renameSync(tmp, p.cache);
|
|
232
|
+
}
|
|
233
|
+
if (!existsSync(variants)) return { error: `${p.cache} has no variants/litmuse folder after the fetch. ${fromHint}` };
|
|
234
|
+
return { variants, label: `${p.cache} (${have ? 'refreshed' : 'new'} clone of ${url})` };
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
function targets(args, flags, { allDefault = false } = {}) {
|
|
238
|
+
if (flags.all || (allDefault && !args.length && !flags.family)) return { ids: IDS };
|
|
239
|
+
if (flags.family) {
|
|
240
|
+
const ids = IDS.filter((id) => MOVED[id].family === flags.family);
|
|
241
|
+
const fams = [...new Set(IDS.map((id) => MOVED[id].family))];
|
|
242
|
+
return ids.length ? { ids } : { error: `unknown family ${flags.family}; the families are ${fams.join(', ')}` };
|
|
243
|
+
}
|
|
244
|
+
const bad = args.filter((a) => !IDS.includes(a));
|
|
245
|
+
if (bad.length) return { error: `not a LitMuse extension: ${bad.join(', ')}. The nine: ${IDS.join(', ')}.` };
|
|
246
|
+
if (!args.length) return { error: 'name one or more extensions, or use --family <name> or --all' };
|
|
247
|
+
return { ids: [...new Set(args)] };
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
function stateText(r) {
|
|
251
|
+
switch (r.state) {
|
|
252
|
+
case 'installed': return `installed${r.shadowed ? ' (shadowed here)' : ''} · source ${r.receipt.source} · installed ${r.receipt.installedAt ?? '?'}${r.sourceGone ? ' · source missing' : ''}`;
|
|
253
|
+
case 'absent': return 'not installed';
|
|
254
|
+
case 'user-managed': return `user-managed folder, no Muse record: ${r.dest}`;
|
|
255
|
+
case 'other-source': return `installed by Muse from another source: ${r.receipt.source}`;
|
|
256
|
+
case 'record-only': return 'Muse record without a folder';
|
|
257
|
+
default: return `${r.state}: ${r.dest}`;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
function listVerb(sv, flags, print) {
|
|
262
|
+
if (flags.json) {
|
|
263
|
+
print(JSON.stringify({
|
|
264
|
+
extensions: sv.rows.map(({ entry, ...r }) => r),
|
|
265
|
+
backups: sv.backups.map(({ name, dir, ids, bytes }) => ({ name, dir, ids, bytes })),
|
|
266
|
+
}, null, 2));
|
|
267
|
+
return 0;
|
|
268
|
+
}
|
|
269
|
+
print('LitFamily extensions for LitMuse (Muse user skills; Muse\'s lock is the receipt)');
|
|
270
|
+
for (const r of sv.rows) {
|
|
271
|
+
print(` ${r.id.padEnd(30)} ${stateText(r)}`);
|
|
272
|
+
for (const c of r.competing) print(` ${''.padEnd(30)} same name: ${c.path} (${c.scope}${c.live ? ', loaded' : ', shadowed'})`);
|
|
273
|
+
}
|
|
274
|
+
return 0;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// Not findings: a recorded source that is gone while the installed copy still matches the current source by hash.
|
|
278
|
+
export function notes(sv) {
|
|
279
|
+
return sv.rows.filter((r) => r.state === 'installed' && r.sourceGone && r.matchesCurrent).map((r) => ({
|
|
280
|
+
id: r.id,
|
|
281
|
+
what: `the source Muse recorded, ${r.receipt.source}, no longer exists; the installed copy matches the current source`,
|
|
282
|
+
hint: `${CLI} extensions remove ${r.id} --yes, then extensions install ${r.id} --yes, makes Muse record the current source`,
|
|
283
|
+
}));
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
function checkVerb(sv, print) {
|
|
287
|
+
const f = findings(sv);
|
|
288
|
+
const total = sv.backups.reduce((n, b) => n + b.bytes, 0);
|
|
289
|
+
if (!f.length) print('extensions check: nothing to fix.');
|
|
290
|
+
else {
|
|
291
|
+
print(`extensions check: ${f.length} thing${f.length === 1 ? '' : 's'} to look at.`);
|
|
292
|
+
for (const x of f) {
|
|
293
|
+
print(` ${x.id}: ${x.what}`);
|
|
294
|
+
print(` fix: ${x.fix}`);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
for (const n of notes(sv)) {
|
|
298
|
+
print(` INFO ${n.id}: ${n.what}`);
|
|
299
|
+
print(` if wanted: ${n.hint}`);
|
|
300
|
+
}
|
|
301
|
+
if (sv.backups.length) print(`Backups: ${sv.backups.length} in ${sv.p.backups}, ${humanSize(total)} (list or delete them with ${CLI} extensions prune-backups).`);
|
|
302
|
+
return f.length ? 1 : 0;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// Install and update share this: refuse what LitMuse may not touch, move an occupied folder aside, let Muse copy.
|
|
306
|
+
function apply({ env, plan, p, flags, print, verb }) {
|
|
307
|
+
const blocked = plan.filter((x) => x.blocked);
|
|
308
|
+
for (const x of blocked) print(`STOP ${x.id}: ${x.blocked}`);
|
|
309
|
+
if (blocked.length) {
|
|
310
|
+
print('Nothing was changed.');
|
|
311
|
+
return 1;
|
|
312
|
+
}
|
|
313
|
+
const work = plan.filter((x) => x.action !== 'skip');
|
|
314
|
+
for (const x of plan) {
|
|
315
|
+
if (x.action === 'skip') { print(` ${x.id}: ${x.note}`); continue; }
|
|
316
|
+
for (const w of x.warn ?? []) print(` ${x.id}: warning: ${w}`);
|
|
317
|
+
if (x.moveAside) print(` ${x.id}: move ${x.dest} -> ${join(p.backups, '<stamp>', x.id)}`);
|
|
318
|
+
print(` ${x.id}: muse skills install ${x.src} --scope user`);
|
|
319
|
+
}
|
|
320
|
+
if (!work.length) return 0;
|
|
321
|
+
if (!flags.yes || flags.dryRun) {
|
|
322
|
+
print('');
|
|
323
|
+
print(`Dry run: nothing was moved or installed. Rerun with --yes to ${verb}.`);
|
|
324
|
+
return 0;
|
|
325
|
+
}
|
|
326
|
+
let backupDir = null;
|
|
327
|
+
for (const x of work) {
|
|
328
|
+
let moved = null;
|
|
329
|
+
if (x.moveAside) {
|
|
330
|
+
if (!backupDir) {
|
|
331
|
+
const bst = lstatOrNull(p.backups);
|
|
332
|
+
if (bst && (bst.isSymbolicLink() || !bst.isDirectory())) { print(`STOP ${p.backups} is a link or not a folder. Nothing more was changed.`); return 1; }
|
|
333
|
+
assertSafeWritePath(p.backups);
|
|
334
|
+
backupDir = newBackupDir(p);
|
|
335
|
+
mkdirSync(backupDir, { recursive: true });
|
|
336
|
+
}
|
|
337
|
+
moved = join(backupDir, x.id);
|
|
338
|
+
renameSync(x.dest, moved);
|
|
339
|
+
print(`moved ${x.dest} -> ${moved}`);
|
|
340
|
+
}
|
|
341
|
+
const r = muse(env, ['skills', 'install', x.src, '--scope', 'user', '--json']);
|
|
342
|
+
if (!r.ok) {
|
|
343
|
+
const why = r.json?.error?.message || (r.stderr || r.stdout).trim().split(/\r?\n/)[0];
|
|
344
|
+
if (moved && !existsSync(x.dest)) { renameSync(moved, x.dest); print(`put ${x.dest} back`); }
|
|
345
|
+
print(`FAIL muse skills install ${x.id}: ${why}. Stopped here; the extensions after it were left alone.`);
|
|
346
|
+
return 1;
|
|
347
|
+
}
|
|
348
|
+
print(`installed ${x.id} into ${x.dest}`);
|
|
349
|
+
}
|
|
350
|
+
print(`Done. Muse recorded each install in ${p.lock}. A new Muse session picks them up.`);
|
|
351
|
+
return 0;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
function planFor(sv, ids, src, flags, { update = false } = {}) {
|
|
355
|
+
return ids.map((id) => {
|
|
356
|
+
const r = sv.rows.find((x) => x.id === id);
|
|
357
|
+
const srcDir = join(src.variants ?? src.planned, id);
|
|
358
|
+
const base = { id, dest: r.dest, src: srcDir };
|
|
359
|
+
if (r.state === 'symlinked' || r.state === 'not-a-folder') return { ...base, blocked: `${r.dest} is ${r.state === 'symlinked' ? 'a symbolic link' : 'not a folder'}; LitMuse will not move it` };
|
|
360
|
+
if (update) {
|
|
361
|
+
if (r.state === 'absent') return { ...base, action: 'skip', note: 'not installed (install it with extensions install)' };
|
|
362
|
+
if (r.state === 'record-only') return { ...base, action: 'skip', note: `folder gone; run muse skills uninstall ${id}` };
|
|
363
|
+
if (r.state !== 'installed') return { ...base, action: 'skip', note: `${stateText(r)}; left alone (extensions install moves it aside)` };
|
|
364
|
+
}
|
|
365
|
+
if (src.variants && !existsSync(join(srcDir, 'SKILL.md'))) return { ...base, blocked: `the source has no ${id} edition (${srcDir})` };
|
|
366
|
+
const others = r.competing.filter((c) => c.path !== r.dest);
|
|
367
|
+
if (others.length && !flags.allowShadow && !update) {
|
|
368
|
+
return { ...base, blocked: `another skill with this name is there: ${others.map((c) => `${c.path} (${c.scope})`).join(', ')}. LitMuse leaves it alone; move or rename it, or rerun with --allow-shadow to install anyway` };
|
|
369
|
+
}
|
|
370
|
+
const warn = others.map((c) => `${c.path} (${c.scope}) has the same name; ${c.scope === 'project' ? 'it outranks the extension in that project' : 'Muse will report it as shadowed'}`);
|
|
371
|
+
if (r.state === 'installed' && src.variants && r.entry && sameAsReceipt(srcDir, r.entry)) {
|
|
372
|
+
// A new path with the same files is still current; Muse's lock is Muse's to write, so it keeps the old path.
|
|
373
|
+
return { ...base, action: 'skip', note: `current (same files as ${r.receipt.source})` };
|
|
374
|
+
}
|
|
375
|
+
if (r.state === 'installed' && !src.variants) {
|
|
376
|
+
return { ...base, action: 'skip', note: 'compared after the source is fetched' };
|
|
377
|
+
}
|
|
378
|
+
return { ...base, action: 'install', moveAside: r.state !== 'absent' && r.state !== 'record-only', warn };
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
function installVerb({ env, args, flags, print, cwd, update }) {
|
|
383
|
+
const t = targets(args, flags, { allDefault: update });
|
|
384
|
+
if (t.error) { print(t.error); return 2; }
|
|
385
|
+
const p = extPaths(env);
|
|
386
|
+
const src = resolveSource({ env, flags, p, fetch: Boolean(flags.yes && !flags.dryRun) });
|
|
387
|
+
if (src.error) { print(`FAIL ${src.error}`); return 1; }
|
|
388
|
+
const sv = survey(env, { cwd });
|
|
389
|
+
if (sv.error) { print(`FAIL ${sv.error}`); return 1; }
|
|
390
|
+
print(`Source: ${src.label}${src.pending ? ' (on --yes)' : ''}`);
|
|
391
|
+
if (src.stale) print('Compared with the cached copy; --yes fetches first, so the result may differ.');
|
|
392
|
+
const plan = planFor(sv, t.ids, src, flags, { update });
|
|
393
|
+
return apply({ env, plan, p, flags, print, verb: update ? 'update' : 'install' });
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
function removeVerb({ env, args, flags, print, cwd }) {
|
|
397
|
+
const t = targets(args, flags);
|
|
398
|
+
if (t.error) { print(t.error); return 2; }
|
|
399
|
+
const sv = survey(env, { cwd });
|
|
400
|
+
if (sv.error) { print(`FAIL ${sv.error}`); return 1; }
|
|
401
|
+
const p = sv.p;
|
|
402
|
+
const plan = t.ids.map((id) => sv.rows.find((r) => r.id === id));
|
|
403
|
+
let refused = 0;
|
|
404
|
+
for (const r of plan) {
|
|
405
|
+
if (r.state === 'installed') print(` ${r.id}: move ${r.dest} -> ${join(p.backups, '<stamp>', r.id)}, then muse skills uninstall ${r.id}`);
|
|
406
|
+
else if (r.state === 'record-only') print(` ${r.id}: muse skills uninstall ${r.id} (the folder is already gone)`);
|
|
407
|
+
else if (r.state === 'absent') print(` ${r.id}: not installed`);
|
|
408
|
+
else { refused += 1; print(`REFUSED ${r.id}: ${stateText(r)}. LitMuse removes only a copy Muse installed from a wjgoarxiv-skills edition; move ${r.dest} yourself if you want it gone.`); }
|
|
409
|
+
}
|
|
410
|
+
if (refused) { print('Nothing was changed.'); return 1; }
|
|
411
|
+
const work = plan.filter((r) => r.state === 'installed' || r.state === 'record-only');
|
|
412
|
+
if (!work.length) return 0;
|
|
413
|
+
if (!flags.yes || flags.dryRun) {
|
|
414
|
+
print('');
|
|
415
|
+
print('Dry run: nothing was moved or uninstalled. Rerun with --yes to remove.');
|
|
416
|
+
return 0;
|
|
417
|
+
}
|
|
418
|
+
let backupDir = null;
|
|
419
|
+
for (const r of work) {
|
|
420
|
+
if (r.state === 'installed') {
|
|
421
|
+
if (!backupDir) {
|
|
422
|
+
const bst = lstatOrNull(p.backups);
|
|
423
|
+
if (bst && (bst.isSymbolicLink() || !bst.isDirectory())) { print(`STOP ${p.backups} is a link or not a folder.`); return 1; }
|
|
424
|
+
assertSafeWritePath(p.backups);
|
|
425
|
+
backupDir = newBackupDir(p);
|
|
426
|
+
mkdirSync(backupDir, { recursive: true });
|
|
427
|
+
}
|
|
428
|
+
renameSync(r.dest, join(backupDir, r.id));
|
|
429
|
+
print(`moved ${r.dest} -> ${join(backupDir, r.id)}`);
|
|
430
|
+
}
|
|
431
|
+
const u = muse(env, ['skills', 'uninstall', r.id, '--json']);
|
|
432
|
+
if (!u.ok) { print(`FAIL muse skills uninstall ${r.id}: ${u.json?.error?.message || u.stderr.trim()}`); return 1; }
|
|
433
|
+
print(`Muse dropped its record of ${r.id}`);
|
|
434
|
+
}
|
|
435
|
+
print('Done. Nothing was deleted; the folders are in the backup above.');
|
|
436
|
+
return 0;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
function pruneVerb({ env, flags, print }) {
|
|
440
|
+
const p = extPaths(env);
|
|
441
|
+
const bst = lstatOrNull(p.backups);
|
|
442
|
+
if (bst && (bst.isSymbolicLink() || !bst.isDirectory())) { print(`FAIL ${p.backups} is a link or not a folder; LitMuse will not delete through it.`); return 1; }
|
|
443
|
+
const all = listBackups(p);
|
|
444
|
+
const days = flags.olderThan == null ? null : Number(flags.olderThan);
|
|
445
|
+
if (days != null && !(days >= 0)) { print('--older-than takes a number of days'); return 2; }
|
|
446
|
+
const cutoff = days == null ? Infinity : Date.now() - days * 86400000;
|
|
447
|
+
const pick = all.filter((b) => days == null || (b.at && b.at.getTime() < cutoff));
|
|
448
|
+
if (!all.length) { print(`No backups in ${p.backups}.`); return 0; }
|
|
449
|
+
print(`Backups in ${p.backups}:`);
|
|
450
|
+
for (const b of all) print(` ${pick.includes(b) ? '*' : ' '} ${b.name} ${humanSize(b.bytes).padStart(9)} ${b.ids.join(', ')}`);
|
|
451
|
+
const bytes = pick.reduce((n, b) => n + b.bytes, 0);
|
|
452
|
+
if (!pick.length) { print(`None is older than ${days} days.`); return 0; }
|
|
453
|
+
if (!flags.yes || flags.dryRun) {
|
|
454
|
+
print('');
|
|
455
|
+
print(`Dry run: ${pick.length} marked * (${humanSize(bytes)}) would be deleted. Rerun with --yes to delete them.`);
|
|
456
|
+
return 0;
|
|
457
|
+
}
|
|
458
|
+
const realRoot = realpathSync(p.backups);
|
|
459
|
+
for (const b of pick) {
|
|
460
|
+
const st = lstatSync(b.dir);
|
|
461
|
+
if (st.isSymbolicLink() || !st.isDirectory() || dirname(realpathSync(b.dir)) !== realRoot) { print(`skipped ${b.dir}: not a plain folder inside ${p.backups}`); continue; }
|
|
462
|
+
rmSync(b.dir, { recursive: true });
|
|
463
|
+
print(`deleted ${b.dir}`);
|
|
464
|
+
}
|
|
465
|
+
print(`Freed ${humanSize(bytes)}.`);
|
|
466
|
+
return 0;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export const EXT_HELP = `Usage: litmuse extensions <verb> [options]
|
|
470
|
+
|
|
471
|
+
The nine file-making skills are LitFamily extensions, installed as Muse user skills from the Muse editions in
|
|
472
|
+
wjgoarxiv-skills. These verbs run the stubs' lines for you: look first, move an occupied folder aside into
|
|
473
|
+
$CONFIG_DIR/extension-backups/<stamp>/, then muse skills install. Muse's lock ($CONFIG_DIR/skills/.muse/lock.json)
|
|
474
|
+
is the receipt. Every write verb shows its plan and changes nothing until you add --yes.
|
|
475
|
+
|
|
476
|
+
Verbs
|
|
477
|
+
list [--json] Each extension: not installed, installed (source, time), user-managed, same-name copies
|
|
478
|
+
check What needs a look, each with the line that fixes it (exit 1 when something does)
|
|
479
|
+
install <id...|--family f|--all> Move an existing folder aside, then muse skills install (stops on a same-name skill elsewhere)
|
|
480
|
+
update [<id...>|--all] Refresh the source; reinstall each installed extension whose files changed
|
|
481
|
+
remove <id...> Move the folder aside, then muse skills uninstall; refuses a folder Muse did not install
|
|
482
|
+
prune-backups [--older-than <d>] List the backups with sizes; delete them only with --yes
|
|
483
|
+
|
|
484
|
+
Options
|
|
485
|
+
--yes Do it (without it, every write verb is a dry run)
|
|
486
|
+
--from <path> Use your own wjgoarxiv-skills clone instead of LitMuse's cached clone
|
|
487
|
+
--allow-shadow Install even when a same-name skill sits in another folder (it is never touched)
|
|
488
|
+
--family <name> decks, documents, figures, design or video-covers`;
|
|
489
|
+
|
|
490
|
+
export async function extensionsCommand({ args = [], flags = {}, env = process.env, print = console.log, cwd = process.cwd() }) {
|
|
491
|
+
const [verb, ...rest] = args;
|
|
492
|
+
if (!verb || verb === 'help' || flags.help) { print(EXT_HELP); return 0; }
|
|
493
|
+
if (verb === 'list' || verb === 'check') {
|
|
494
|
+
const sv = survey(env, { cwd, from: flags.from });
|
|
495
|
+
if (sv.error) { print(`FAIL ${sv.error}`); return 1; }
|
|
496
|
+
return verb === 'list' ? listVerb(sv, flags, print) : checkVerb(sv, print);
|
|
497
|
+
}
|
|
498
|
+
if (verb === 'install') return installVerb({ env, args: rest, flags, print, cwd, update: false });
|
|
499
|
+
if (verb === 'update') return installVerb({ env, args: rest, flags, print, cwd, update: true });
|
|
500
|
+
if (verb === 'remove') return removeVerb({ env, args: rest, flags, print, cwd });
|
|
501
|
+
if (verb === 'prune-backups') return pruneVerb({ env, flags, print });
|
|
502
|
+
print(`Unknown extensions verb: ${verb}\n\n${EXT_HELP}`);
|
|
503
|
+
return 2;
|
|
504
|
+
}
|