@tryvitris/website-harness 0.0.0-stage → 0.1.0-beta.6
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/CONTRIBUTING.md +7 -0
- package/LICENSE +21 -0
- package/NOTICE +17 -0
- package/README.md +141 -2
- package/agent/EVALUATION.md +23 -0
- package/agent/PROMPT.md +13 -0
- package/agent/STATE.json +109 -0
- package/agent/WORKFLOW.md +108 -0
- package/agent/evals/preview.md +5 -0
- package/agent/graph.yaml +752 -0
- package/agent/guardrails.md +10 -0
- package/agent/refs/accessibility.md +9 -0
- package/agent/refs/art-direction.md +15 -0
- package/agent/refs/brand.md +3 -0
- package/agent/refs/browser.md +15 -0
- package/agent/refs/business.md +9 -0
- package/agent/refs/components.md +42 -0
- package/agent/refs/compose.md +10 -0
- package/agent/refs/contracts.md +32 -0
- package/agent/refs/copy.md +14 -0
- package/agent/refs/counterpoint.md +3 -0
- package/agent/refs/critic.md +29 -0
- package/agent/refs/design-calibration.md +31 -0
- package/agent/refs/design-feedback.md +13 -0
- package/agent/refs/design-quality.md +33 -0
- package/agent/refs/design-synthesis.md +9 -0
- package/agent/refs/direction.md +29 -0
- package/agent/refs/feedback-fulfillment.md +7 -0
- package/agent/refs/geo.md +7 -0
- package/agent/refs/harvest.md +7 -0
- package/agent/refs/icons.md +102 -0
- package/agent/refs/images.md +3 -0
- package/agent/refs/implement.md +24 -0
- package/agent/refs/industry-reference-shortlist.md +64 -0
- package/agent/refs/inspiration.md +17 -0
- package/agent/refs/interpret.md +3 -0
- package/agent/refs/jev.md +166 -0
- package/agent/refs/launch.md +11 -0
- package/agent/refs/layout.md +7 -0
- package/agent/refs/media.md +35 -0
- package/agent/refs/motif.md +3 -0
- package/agent/refs/motion-count.md +13 -0
- package/agent/refs/motion-image.md +12 -0
- package/agent/refs/motion-numeric.md +14 -0
- package/agent/refs/motion-page.md +23 -0
- package/agent/refs/motion-process.md +12 -0
- package/agent/refs/motion-sequence.md +7 -0
- package/agent/refs/motion-text.md +12 -0
- package/agent/refs/motion.md +11 -0
- package/agent/refs/narrative.md +9 -0
- package/agent/refs/performance.md +36 -0
- package/agent/refs/preview.md +3 -0
- package/agent/refs/production-quality.md +33 -0
- package/agent/refs/psychology.md +3 -0
- package/agent/refs/refine.md +14 -0
- package/agent/refs/research.md +7 -0
- package/agent/refs/sections.md +6 -0
- package/agent/refs/seo.md +9 -0
- package/agent/refs/storyboard.md +27 -0
- package/agent/refs/template-adaptation.md +42 -0
- package/agent/refs/template-from-url.md +91 -0
- package/agent/refs/template-library.md +32 -0
- package/agent/refs/template-motion.md +44 -0
- package/agent/refs/theme-selection.md +13 -0
- package/agent/refs/ui-ux.md +7 -0
- package/agent/refs/usability.md +5 -0
- package/agent/refs/variant-directions.md +20 -0
- package/agent/refs/write.md +6 -0
- package/agent/request.json +11 -0
- package/agent/workflow.json +4 -0
- package/bin/api/agent/artifacts.js +38 -0
- package/bin/api/agent/evaluate.js +55 -0
- package/bin/api/agent/grade.js +51 -0
- package/bin/api/agent/graph.js +16 -0
- package/bin/api/cli/api.js +104 -0
- package/bin/api/cli.js +48 -0
- package/bin/api/contracts.js +22 -0
- package/bin/api/engine.js +53 -0
- package/bin/api/hosting.js +40 -0
- package/bin/api/icons.js +57 -0
- package/bin/api/index.js +20 -0
- package/bin/api/references.js +45 -0
- package/bin/api/render.js +61 -0
- package/bin/api/schema.js +68 -0
- package/bin/api/theme.js +9 -0
- package/bin/api/types.js +8 -0
- package/bin/chunks/chunk-2NW7KSPA.js +17 -0
- package/bin/chunks/chunk-34H54KEY.js +45 -0
- package/bin/chunks/chunk-3CTBXY5K.js +22313 -0
- package/bin/chunks/chunk-42IXFXUD.js +1141 -0
- package/bin/chunks/chunk-4DM5TTLG.js +219 -0
- package/bin/chunks/chunk-4GZCAWWK.js +327 -0
- package/bin/chunks/chunk-54JC5L35.js +493 -0
- package/bin/chunks/chunk-5OOPJNGN.js +511 -0
- package/bin/chunks/chunk-6A3VWYMF.js +28 -0
- package/bin/chunks/chunk-6H3T46F5.js +25 -0
- package/bin/chunks/chunk-7FS67SRF.js +12 -0
- package/bin/chunks/chunk-7VLBEAFW.js +56 -0
- package/bin/chunks/chunk-ANMJRJQ5.js +31 -0
- package/bin/chunks/chunk-AUO5I56E.js +118774 -0
- package/bin/chunks/chunk-B5I45LFD.js +619 -0
- package/bin/chunks/chunk-BBV7PMFC.js +185 -0
- package/bin/chunks/chunk-BIEDSEL2.js +8 -0
- package/bin/chunks/chunk-CBEJZO4L.js +67 -0
- package/bin/chunks/chunk-DRJQ4OOU.js +514 -0
- package/bin/chunks/chunk-DSS2U2OM.js +115 -0
- package/bin/chunks/chunk-E5Y46VBX.js +678 -0
- package/bin/chunks/chunk-FOXUQXTV.js +278 -0
- package/bin/chunks/chunk-FYN4T4SV.js +4900 -0
- package/bin/chunks/chunk-G7MNMULR.js +192 -0
- package/bin/chunks/chunk-GVNIL34R.js +78 -0
- package/bin/chunks/chunk-GZDLXYZV.js +3425 -0
- package/bin/chunks/chunk-HNORQ74T.js +40 -0
- package/bin/chunks/chunk-IKNMBGGD.js +217 -0
- package/bin/chunks/chunk-JCRGE6AL.js +14 -0
- package/bin/chunks/chunk-LKN75JGA.js +63 -0
- package/bin/chunks/chunk-M2ETYSVJ.js +176 -0
- package/bin/chunks/chunk-M4LNHYYR.js +177 -0
- package/bin/chunks/chunk-PRLL7B63.js +113 -0
- package/bin/chunks/chunk-R7YELY3C.js +923 -0
- package/bin/chunks/chunk-T6PE4KN4.js +277 -0
- package/bin/chunks/chunk-T7DGRVTP.js +458 -0
- package/bin/chunks/chunk-TY33XMHW.js +239 -0
- package/bin/chunks/chunk-VH7PM7KJ.js +179 -0
- package/bin/chunks/chunk-WEFDVXFX.js +65 -0
- package/bin/chunks/chunk-XGTHGWPW.js +90 -0
- package/bin/chunks/chunk-XL2DRAYI.js +39 -0
- package/bin/chunks/chunk-YCVGD2CG.js +2751 -0
- package/bin/chunks/chunk-YQYHROLZ.js +1023 -0
- package/bin/chunks/chunk-YYPYYOEV.js +34 -0
- package/bin/chunks/chunk-Z2UNY47A.js +2418 -0
- package/bin/chunks/design-context-store-IAT2P2OC.js +39 -0
- package/bin/chunks/packets-VBMY4SQJ.js +53 -0
- package/bin/chunks/policy-2I37JUU3.js +18 -0
- package/bin/chunks/preparation-S4MG3RPL.js +93 -0
- package/bin/chunks/questions-HKELBDFL.js +120 -0
- package/bin/chunks/state-GDL6CCJI.js +20 -0
- package/bin/chunks/template-gallery-ET76ERZQ.js +140 -0
- package/bin/cloudflare/backend.js +24421 -0
- package/bin/cloudflare/blake3.wasm +0 -0
- package/bin/cloudflare/forms-test.js +429 -0
- package/bin/cloudflare/templates.js +100 -0
- package/bin/types/scripts/lib/r2.d.ts +7 -0
- package/bin/types/scripts/onboard/browser.d.ts +9 -0
- package/bin/types/scripts/onboard/crawl.d.ts +35 -0
- package/bin/types/scripts/onboard/images.d.ts +19 -0
- package/bin/types/scripts/onboard/prompt.d.ts +10 -0
- package/bin/types/scripts/onboard/run.d.ts +47 -0
- package/bin/types/src/agent/adaptation-checkpoint.d.ts +70 -0
- package/bin/types/src/agent/added-media.d.ts +31 -0
- package/bin/types/src/agent/api-contracts.d.ts +2 -0
- package/bin/types/src/agent/art-direction-policy.d.ts +9 -0
- package/bin/types/src/agent/art-direction.d.ts +253 -0
- package/bin/types/src/agent/artifacts.d.ts +602 -0
- package/bin/types/src/agent/browser-motion-journey.d.ts +59 -0
- package/bin/types/src/agent/browser-motion.d.ts +40 -0
- package/bin/types/src/agent/browser-timeout.d.ts +4 -0
- package/bin/types/src/agent/composition-authoring.d.ts +12 -0
- package/bin/types/src/agent/composition-context.d.ts +63 -0
- package/bin/types/src/agent/composition-contract.d.ts +4 -0
- package/bin/types/src/agent/composition-decisions.d.ts +43 -0
- package/bin/types/src/agent/composition-preflight.d.ts +16 -0
- package/bin/types/src/agent/creative-change-context.d.ts +21 -0
- package/bin/types/src/agent/creative-context.d.ts +56 -0
- package/bin/types/src/agent/creative-contract.d.ts +123 -0
- package/bin/types/src/agent/creative-efficiency.d.ts +18 -0
- package/bin/types/src/agent/creative-evidence.d.ts +57 -0
- package/bin/types/src/agent/creative-objective.d.ts +33 -0
- package/bin/types/src/agent/creative-profile.d.ts +81 -0
- package/bin/types/src/agent/creative-prompts.d.ts +7 -0
- package/bin/types/src/agent/creative-render-bindings.d.ts +13 -0
- package/bin/types/src/agent/creative-revision.d.ts +33 -0
- package/bin/types/src/agent/creative-skills.d.ts +25 -0
- package/bin/types/src/agent/cursor-hook.d.ts +182 -0
- package/bin/types/src/agent/design-bundle.d.ts +24 -0
- package/bin/types/src/agent/design-calibration.d.ts +43 -0
- package/bin/types/src/agent/design-cli.d.ts +5 -0
- package/bin/types/src/agent/design-comparison.d.ts +63 -0
- package/bin/types/src/agent/design-context-packet.d.ts +82 -0
- package/bin/types/src/agent/design-context-store.d.ts +14 -0
- package/bin/types/src/agent/design-context.d.ts +85 -0
- package/bin/types/src/agent/design-contracts.d.ts +35 -0
- package/bin/types/src/agent/design-copy.d.ts +29 -0
- package/bin/types/src/agent/design-feedback.d.ts +91 -0
- package/bin/types/src/agent/design-knowledge.d.ts +124 -0
- package/bin/types/src/agent/design-quality.d.ts +143 -0
- package/bin/types/src/agent/design-review-server.d.ts +13 -0
- package/bin/types/src/agent/design-run.d.ts +174 -0
- package/bin/types/src/agent/design-synthesis.d.ts +76 -0
- package/bin/types/src/agent/design-usage.d.ts +38 -0
- package/bin/types/src/agent/editorial.d.ts +11 -0
- package/bin/types/src/agent/evaluate.d.ts +28 -0
- package/bin/types/src/agent/grade.d.ts +16 -0
- package/bin/types/src/agent/graph.d.ts +82 -0
- package/bin/types/src/agent/industry/document.d.ts +10 -0
- package/bin/types/src/agent/industry/interactions.d.ts +2 -0
- package/bin/types/src/agent/industry/markup.d.ts +14 -0
- package/bin/types/src/agent/industry/registry.d.ts +2 -0
- package/bin/types/src/agent/industry/render-style.d.ts +3 -0
- package/bin/types/src/agent/industry/ridgeline/browse.d.ts +2 -0
- package/bin/types/src/agent/industry/ridgeline/diagrams.d.ts +9 -0
- package/bin/types/src/agent/industry/ridgeline/facts.d.ts +61 -0
- package/bin/types/src/agent/industry/ridgeline/pages/company.d.ts +5 -0
- package/bin/types/src/agent/industry/ridgeline/pages/home.d.ts +1 -0
- package/bin/types/src/agent/industry/ridgeline/pages/journal.d.ts +24 -0
- package/bin/types/src/agent/industry/ridgeline/pages/services.d.ts +6 -0
- package/bin/types/src/agent/industry/ridgeline/photo.d.ts +18 -0
- package/bin/types/src/agent/industry/ridgeline/script.d.ts +1 -0
- package/bin/types/src/agent/industry/ridgeline/site.d.ts +2 -0
- package/bin/types/src/agent/industry/ridgeline/style.d.ts +1 -0
- package/bin/types/src/agent/industry/ridgeline/theme.d.ts +4 -0
- package/bin/types/src/agent/industry/seven/barber-club.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/barber-corner.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/barber-form.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/browse.d.ts +4 -0
- package/bin/types/src/agent/industry/seven/construction-built.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/construction-craft.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/construction-siteworks.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/electrical-circuit.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/electrical-light.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/electrical-power.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/hvac-climate.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/hvac-dispatch.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/hvac-seasonal.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/interactions.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/landscape-atlas.d.ts +4 -0
- package/bin/types/src/agent/industry/seven/landscape-courtyard.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/landscape-seasons.d.ts +3 -0
- package/bin/types/src/agent/industry/seven/legal-casework.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/legal-counsel.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/legal-table.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/medical-continuum.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/medical-movement.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/medical-neighborhood.d.ts +2 -0
- package/bin/types/src/agent/industry/seven/primitives.d.ts +31 -0
- package/bin/types/src/agent/industry/seven/registry.d.ts +4 -0
- package/bin/types/src/agent/industry/seven/theme.d.ts +3 -0
- package/bin/types/src/agent/industry/sites/common-ground.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/coordination.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/everyday.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/independent.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/mainstage.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/neighborhood.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/next-chapter.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/practice-notes.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/property-desk.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/residence.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/risk-office.d.ts +2 -0
- package/bin/types/src/agent/industry/sites/workshop.d.ts +2 -0
- package/bin/types/src/agent/industry/types.d.ts +48 -0
- package/bin/types/src/agent/invocation-budget.d.ts +32 -0
- package/bin/types/src/agent/jev/agent-usage.d.ts +165 -0
- package/bin/types/src/agent/jev/batching.d.ts +101 -0
- package/bin/types/src/agent/jev/block-catalog.d.ts +95 -0
- package/bin/types/src/agent/jev/bounds.d.ts +30 -0
- package/bin/types/src/agent/jev/budget.d.ts +76 -0
- package/bin/types/src/agent/jev/business-draft.d.ts +103 -0
- package/bin/types/src/agent/jev/calibration.d.ts +131 -0
- package/bin/types/src/agent/jev/client.d.ts +52 -0
- package/bin/types/src/agent/jev/component-select.d.ts +102 -0
- package/bin/types/src/agent/jev/config.d.ts +52 -0
- package/bin/types/src/agent/jev/consistency.d.ts +105 -0
- package/bin/types/src/agent/jev/content-checks.d.ts +121 -0
- package/bin/types/src/agent/jev/creative.d.ts +81 -0
- package/bin/types/src/agent/jev/critic-report.d.ts +132 -0
- package/bin/types/src/agent/jev/extraction.d.ts +84 -0
- package/bin/types/src/agent/jev/goals.d.ts +43 -0
- package/bin/types/src/agent/jev/html-tree.d.ts +28 -0
- package/bin/types/src/agent/jev/indexing.d.ts +51 -0
- package/bin/types/src/agent/jev/ledger.d.ts +154 -0
- package/bin/types/src/agent/jev/media.d.ts +62 -0
- package/bin/types/src/agent/jev/observations.d.ts +26 -0
- package/bin/types/src/agent/jev/ownership.d.ts +74 -0
- package/bin/types/src/agent/jev/packets.d.ts +124 -0
- package/bin/types/src/agent/jev/policy.d.ts +83 -0
- package/bin/types/src/agent/jev/questions.d.ts +244 -0
- package/bin/types/src/agent/jev/ranking.d.ts +129 -0
- package/bin/types/src/agent/jev/repair.d.ts +73 -0
- package/bin/types/src/agent/jev/review.d.ts +37 -0
- package/bin/types/src/agent/jev/security.d.ts +28 -0
- package/bin/types/src/agent/jev/semantic-lifecycle.d.ts +19 -0
- package/bin/types/src/agent/jev/semantic-tasks.d.ts +89 -0
- package/bin/types/src/agent/jev/service-registry.d.ts +98 -0
- package/bin/types/src/agent/jev/state.d.ts +104 -0
- package/bin/types/src/agent/jev/types.d.ts +190 -0
- package/bin/types/src/agent/jev/visible-assertions.d.ts +84 -0
- package/bin/types/src/agent/kernel-commands.d.ts +2 -0
- package/bin/types/src/agent/kit-runtime.d.ts +12 -0
- package/bin/types/src/agent/legacy-definitions/theme-art.d.ts +5 -0
- package/bin/types/src/agent/legacy-definitions/theme-commissions.d.ts +1 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-extremes.d.ts +7 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-graphic.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-reading.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-extremes.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-people.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-programme.d.ts +3 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-project.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-service-season.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions-tactile.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-compositions.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-legacy-specimens.d.ts +8 -0
- package/bin/types/src/agent/legacy-definitions/theme-library-legacy.d.ts +20 -0
- package/bin/types/src/agent/legacy-definitions/theme-library-release2.d.ts +3 -0
- package/bin/types/src/agent/legacy-definitions/theme-service-art.d.ts +7 -0
- package/bin/types/src/agent/legacy-definitions/theme-service-commissions.d.ts +1 -0
- package/bin/types/src/agent/legacy-definitions/theme-specimen-base.d.ts +1 -0
- package/bin/types/src/agent/legacy-definitions/theme-specimens.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suite-data.d.ts +25 -0
- package/bin/types/src/agent/legacy-definitions/theme-suite-style.d.ts +1 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-checkpoint.d.ts +14 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-graphic.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-information.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-local.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-material.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-practice.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites-spatial.d.ts +2 -0
- package/bin/types/src/agent/legacy-definitions/theme-suites.d.ts +3 -0
- package/bin/types/src/agent/lifecycle.d.ts +136 -0
- package/bin/types/src/agent/lighthouse-browser.d.ts +5 -0
- package/bin/types/src/agent/media-format.d.ts +5 -0
- package/bin/types/src/agent/migration-links.d.ts +4 -0
- package/bin/types/src/agent/motion-composition.d.ts +22 -0
- package/bin/types/src/agent/motion-knowledge.d.ts +3 -0
- package/bin/types/src/agent/motion-plan.d.ts +6 -0
- package/bin/types/src/agent/performance.d.ts +52 -0
- package/bin/types/src/agent/playwright-runtime.d.ts +8 -0
- package/bin/types/src/agent/preparation.d.ts +193 -0
- package/bin/types/src/agent/preview.d.ts +1 -0
- package/bin/types/src/agent/production-quality.d.ts +72 -0
- package/bin/types/src/agent/reference-contract.d.ts +3 -0
- package/bin/types/src/agent/reference-fit.d.ts +50 -0
- package/bin/types/src/agent/reference-library.d.ts +313 -0
- package/bin/types/src/agent/reference-studies.d.ts +110 -0
- package/bin/types/src/agent/refine.d.ts +348 -0
- package/bin/types/src/agent/result-manifest.d.ts +38 -0
- package/bin/types/src/agent/runner.d.ts +10 -0
- package/bin/types/src/agent/site-inputs.d.ts +26 -0
- package/bin/types/src/agent/source-manifest.d.ts +9 -0
- package/bin/types/src/agent/state-transition.d.ts +16 -0
- package/bin/types/src/agent/storyboard-media.d.ts +11 -0
- package/bin/types/src/agent/study-render.d.ts +27 -0
- package/bin/types/src/agent/template-adaptation.d.ts +69 -0
- package/bin/types/src/agent/template-motion.d.ts +59 -0
- package/bin/types/src/agent/theme-art-direction.d.ts +2 -0
- package/bin/types/src/agent/theme-art.d.ts +1 -0
- package/bin/types/src/agent/theme-assets.d.ts +36 -0
- package/bin/types/src/agent/theme-browse.d.ts +67 -0
- package/bin/types/src/agent/theme-cloud-resources.d.ts +7 -0
- package/bin/types/src/agent/theme-cloud.d.ts +41 -0
- package/bin/types/src/agent/theme-commissions.d.ts +1 -0
- package/bin/types/src/agent/theme-compositions-extremes.d.ts +1 -0
- package/bin/types/src/agent/theme-compositions.d.ts +1 -0
- package/bin/types/src/agent/theme-identity.d.ts +23 -0
- package/bin/types/src/agent/theme-layout-roles.d.ts +7 -0
- package/bin/types/src/agent/theme-legacy-specimens.d.ts +1 -0
- package/bin/types/src/agent/theme-library-legacy.d.ts +1 -0
- package/bin/types/src/agent/theme-library-release2.d.ts +1 -0
- package/bin/types/src/agent/theme-library.d.ts +60 -0
- package/bin/types/src/agent/theme-page-manifest.d.ts +26 -0
- package/bin/types/src/agent/theme-picker-model.d.ts +51 -0
- package/bin/types/src/agent/theme-picker-runtime.d.ts +1 -0
- package/bin/types/src/agent/theme-picker-selection-runtime.d.ts +1 -0
- package/bin/types/src/agent/theme-picker-shell.d.ts +7 -0
- package/bin/types/src/agent/theme-picker-styles.d.ts +1 -0
- package/bin/types/src/agent/theme-picker.d.ts +20 -0
- package/bin/types/src/agent/theme-preview.d.ts +26 -0
- package/bin/types/src/agent/theme-release2/assets.d.ts +22 -0
- package/bin/types/src/agent/theme-release2/specimens.d.ts +2 -0
- package/bin/types/src/agent/theme-release2/theme-art.d.ts +5 -0
- package/bin/types/src/agent/theme-release2/theme-compositions-extremes.d.ts +7 -0
- package/bin/types/src/agent/theme-release2/theme-compositions-graphic.d.ts +2 -0
- package/bin/types/src/agent/theme-release2/theme-compositions-reading.d.ts +2 -0
- package/bin/types/src/agent/theme-release2/theme-compositions-tactile.d.ts +2 -0
- package/bin/types/src/agent/theme-release2/theme-compositions.d.ts +3 -0
- package/bin/types/src/agent/theme-release2/theme-specimen-base.d.ts +1 -0
- package/bin/types/src/agent/theme-release3/theme-art-direction.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-art.d.ts +5 -0
- package/bin/types/src/agent/theme-release3/theme-assets.d.ts +121 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-extremes.d.ts +7 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-graphic.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-reading.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-extremes.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-people.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-programme.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-project.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-service-season.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions-tactile.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-compositions.d.ts +2 -0
- package/bin/types/src/agent/theme-release3/theme-identity.d.ts +23 -0
- package/bin/types/src/agent/theme-release3/theme-library.d.ts +4 -0
- package/bin/types/src/agent/theme-release3/theme-service-art.d.ts +7 -0
- package/bin/types/src/agent/theme-release3/theme-specimen-base.d.ts +1 -0
- package/bin/types/src/agent/theme-release3/theme-specimens.d.ts +2 -0
- package/bin/types/src/agent/theme-selection.d.ts +75 -0
- package/bin/types/src/agent/theme-service-art.d.ts +1 -0
- package/bin/types/src/agent/theme-specimen-base.d.ts +1 -0
- package/bin/types/src/agent/theme-specimens.d.ts +1 -0
- package/bin/types/src/agent/theme-suite-data.d.ts +1 -0
- package/bin/types/src/agent/theme-suite-identity.d.ts +42 -0
- package/bin/types/src/agent/theme-suite-primitives.d.ts +14 -0
- package/bin/types/src/agent/theme-suite-renderer.d.ts +8 -0
- package/bin/types/src/agent/theme-suite-style.d.ts +1 -0
- package/bin/types/src/agent/theme-suites.d.ts +1 -0
- package/bin/types/src/agent/theme-thumbnails.d.ts +8 -0
- package/bin/types/src/agent/trace.d.ts +337 -0
- package/bin/types/src/agent/workflow-config.d.ts +25 -0
- package/bin/types/src/agent/workflow.d.ts +104 -0
- package/bin/types/src/blocks/library-profile.d.ts +9 -0
- package/bin/types/src/blocks/metadata.d.ts +65 -0
- package/bin/types/src/build/index.d.ts +29 -0
- package/bin/types/src/build/responsive-media.d.ts +19 -0
- package/bin/types/src/build/serve.d.ts +4 -0
- package/bin/types/src/build/static-output.d.ts +2 -0
- package/bin/types/src/build/verified.d.ts +1 -0
- package/bin/types/src/cli/api.d.ts +17 -0
- package/bin/types/src/cli/deploy.d.ts +21 -0
- package/bin/types/src/cli/doctor.d.ts +16 -0
- package/bin/types/src/cli/events.d.ts +16 -0
- package/bin/types/src/cli/feedback.d.ts +21 -0
- package/bin/types/src/cli/forms.d.ts +16 -0
- package/bin/types/src/cli/index.d.ts +1 -0
- package/bin/types/src/cli/lifecycle.d.ts +18 -0
- package/bin/types/src/cli/preserve.d.ts +8 -0
- package/bin/types/src/cli/preview.d.ts +14 -0
- package/bin/types/src/cli/refine.d.ts +41 -0
- package/bin/types/src/cli/root.d.ts +3 -0
- package/bin/types/src/cli/run.d.ts +30 -0
- package/bin/types/src/cli/share.d.ts +17 -0
- package/bin/types/src/cli/site-create.d.ts +24 -0
- package/bin/types/src/cli/site-migrate.d.ts +11 -0
- package/bin/types/src/cli/status.d.ts +8 -0
- package/bin/types/src/cli/types.d.ts +34 -0
- package/bin/types/src/cli/upgrade.d.ts +11 -0
- package/bin/types/src/cli/verify.d.ts +17 -0
- package/bin/types/src/cli/workflow-argv.d.ts +2 -0
- package/bin/types/src/compile/flatten.d.ts +23 -0
- package/bin/types/src/compile/frontmatter.d.ts +10 -0
- package/bin/types/src/compile/icons.d.ts +2 -0
- package/bin/types/src/compile/paths.d.ts +4 -0
- package/bin/types/src/compile/primitives.d.ts +2 -0
- package/bin/types/src/compile/scroll-motion.d.ts +14 -0
- package/bin/types/src/compile/site.d.ts +40 -0
- package/bin/types/src/editing/identity.d.ts +7 -0
- package/bin/types/src/editing/manifest.d.ts +38 -0
- package/bin/types/src/engine/checks.d.ts +2 -0
- package/bin/types/src/engine/contracts.d.ts +104 -0
- package/bin/types/src/engine/impact.d.ts +3 -0
- package/bin/types/src/engine/index.d.ts +70 -0
- package/bin/types/src/engine/revision.d.ts +5 -0
- package/bin/types/src/forms/cloudflare.d.ts +24 -0
- package/bin/types/src/forms/config.d.ts +34 -0
- package/bin/types/src/forms/frontend.d.ts +9 -0
- package/bin/types/src/html.d.ts +3 -0
- package/bin/types/src/icons/catalog.d.ts +28 -0
- package/bin/types/src/icons/coverage.d.ts +12 -0
- package/bin/types/src/icons/drawing.d.ts +7 -0
- package/bin/types/src/icons/duotone.d.ts +4 -0
- package/bin/types/src/icons/index.d.ts +37 -0
- package/bin/types/src/icons/industry-refinements-v4.d.ts +4 -0
- package/bin/types/src/icons/industry-review.d.ts +11 -0
- package/bin/types/src/icons/industry.d.ts +2 -0
- package/bin/types/src/icons/refinements.d.ts +5 -0
- package/bin/types/src/icons/studio-industry-review.d.ts +9 -0
- package/bin/types/src/icons/studio-industry.d.ts +5 -0
- package/bin/types/src/icons/studio.d.ts +34 -0
- package/bin/types/src/integrations/cloudflare-pages.d.ts +10 -0
- package/bin/types/src/integrations/deployment-smoke.d.ts +11 -0
- package/bin/types/src/integrations/hosting.d.ts +33 -0
- package/bin/types/src/integrations/wrangler-command.d.ts +5 -0
- package/bin/types/src/knowledge/artifact-order.d.ts +1 -0
- package/bin/types/src/knowledge/artifact.d.ts +11 -0
- package/bin/types/src/knowledge/composition.d.ts +54 -0
- package/bin/types/src/knowledge/contracts.d.ts +111 -0
- package/bin/types/src/knowledge/explain.d.ts +6 -0
- package/bin/types/src/knowledge/pack.d.ts +32 -0
- package/bin/types/src/knowledge/selection.d.ts +18 -0
- package/bin/types/src/knowledge/site-widgets.d.ts +6 -0
- package/bin/types/src/onboard/brief.d.ts +182 -0
- package/bin/types/src/onboard/classify.d.ts +31 -0
- package/bin/types/src/onboard/crawl-order.d.ts +7 -0
- package/bin/types/src/onboard/extract.d.ts +102 -0
- package/bin/types/src/onboard/harvest-inventory.d.ts +84 -0
- package/bin/types/src/onboard/outline.d.ts +13 -0
- package/bin/types/src/onboard/quality.d.ts +6 -0
- package/bin/types/src/onboard/shortlist.d.ts +11 -0
- package/bin/types/src/onboard/social.d.ts +15 -0
- package/bin/types/src/onboard/visual-hints.d.ts +12 -0
- package/bin/types/src/preserve/build.d.ts +1 -0
- package/bin/types/src/preserve/capture.d.ts +21 -0
- package/bin/types/src/preserve/components.d.ts +10 -0
- package/bin/types/src/preserve/config.d.ts +53 -0
- package/bin/types/src/preserve/embeds.d.ts +15 -0
- package/bin/types/src/preserve/hovers.d.ts +10 -0
- package/bin/types/src/preserve/react-capabilities.d.ts +2 -0
- package/bin/types/src/preserve/runtime.d.ts +2 -0
- package/bin/types/src/preserve/source-defects.d.ts +4 -0
- package/bin/types/src/preserve/supplement.d.ts +3 -0
- package/bin/types/src/preserve/verify.d.ts +29 -0
- package/bin/types/src/render.d.ts +10 -0
- package/bin/types/src/runtime/beacon.d.ts +2 -0
- package/bin/types/src/runtime/before-after.d.ts +2 -0
- package/bin/types/src/runtime/carousel.d.ts +2 -0
- package/bin/types/src/runtime/cookie-compliance.d.ts +14 -0
- package/bin/types/src/runtime/experience.d.ts +4 -0
- package/bin/types/src/runtime/header.d.ts +2 -0
- package/bin/types/src/runtime/leads.d.ts +2 -0
- package/bin/types/src/runtime/lightbox.d.ts +2 -0
- package/bin/types/src/runtime/scroll-motion.generated.d.ts +4 -0
- package/bin/types/src/runtime/tabs.d.ts +2 -0
- package/bin/types/src/schema.d.ts +27 -0
- package/bin/types/src/stock/library.d.ts +14 -0
- package/bin/types/src/stock/search.d.ts +30 -0
- package/bin/types/src/stock/selection.d.ts +30 -0
- package/bin/types/src/stock/types.d.ts +54 -0
- package/bin/types/src/theme.d.ts +3 -0
- package/bin/types/src/types.d.ts +115 -0
- package/bin/types/src/upgrade/kit.d.ts +48 -0
- package/bin/vitris-art.js +192 -0
- package/bin/vitris-blocks.js +238 -0
- package/bin/vitris-build.js +24 -0
- package/bin/vitris-catalog.js +49 -0
- package/bin/vitris-content-coverage.js +21 -0
- package/bin/vitris-create-site.js +86 -0
- package/bin/vitris-cursor-hook.js +61 -0
- package/bin/vitris-eval.js +76 -0
- package/bin/vitris-go.js +99 -0
- package/bin/vitris-harvest.js +184 -0
- package/bin/vitris-icons.js +168 -0
- package/bin/vitris-knowledge.js +43 -0
- package/bin/vitris-launch-preflight.js +964 -0
- package/bin/vitris-media-serve.js +50 -0
- package/bin/vitris-migrate-site.js +20 -0
- package/bin/vitris-motion-view.js +80 -0
- package/bin/vitris-prepare-media.js +64 -0
- package/bin/vitris-preview.js +36 -0
- package/bin/vitris-references.js +173 -0
- package/bin/vitris-refresh.js +50 -0
- package/bin/vitris-sign-publish-bundle.js +64 -0
- package/bin/vitris-stock.js +161 -0
- package/bin/vitris-templates.js +261 -0
- package/bin/vitris-themes.js +321 -0
- package/bin/vitris-upgrade.js +50 -0
- package/bin/vitris-verify-browser.js +662 -0
- package/bin/vitris-verify-performance.js +44 -0
- package/bin/vitris.js +50 -0
- package/blocks/CONVENTIONS.md +121 -0
- package/blocks/INDEX.md +130 -0
- package/blocks/about/about-awards/README.md +36 -0
- package/blocks/about/about-awards/styles.css +13 -0
- package/blocks/about/about-awards/template.html +1 -0
- package/blocks/about/about-credentials/README.md +33 -0
- package/blocks/about/about-credentials/block.meta.json +85 -0
- package/blocks/about/about-credentials/styles.css +4 -0
- package/blocks/about/about-credentials/template.html +1 -0
- package/blocks/about/about-founder/README.md +35 -0
- package/blocks/about/about-founder/styles.css +9 -0
- package/blocks/about/about-founder/template.html +1 -0
- package/blocks/about/about-mission/README.md +31 -0
- package/blocks/about/about-mission/styles.css +5 -0
- package/blocks/about/about-mission/template.html +1 -0
- package/blocks/about/about-statement/README.md +28 -0
- package/blocks/about/about-statement/styles.css +7 -0
- package/blocks/about/about-statement/template.html +1 -0
- package/blocks/about/about-story/README.md +35 -0
- package/blocks/about/about-story/styles.css +5 -0
- package/blocks/about/about-story/template.html +1 -0
- package/blocks/about/about-timeline/README.md +33 -0
- package/blocks/about/about-timeline/styles.css +8 -0
- package/blocks/about/about-timeline/template.html +1 -0
- package/blocks/about/about-values/README.md +31 -0
- package/blocks/about/about-values/styles.css +3 -0
- package/blocks/about/about-values/template.html +1 -0
- package/blocks/blog/blog-featured/README.md +39 -0
- package/blocks/blog/blog-featured/styles.css +12 -0
- package/blocks/blog/blog-featured/template.html +1 -0
- package/blocks/blog/blog-index/README.md +34 -0
- package/blocks/blog/blog-index/styles.css +6 -0
- package/blocks/blog/blog-index/template.html +1 -0
- package/blocks/blog/blog-post-header/README.md +31 -0
- package/blocks/blog/blog-post-header/styles.css +8 -0
- package/blocks/blog/blog-post-header/template.html +1 -0
- package/blocks/contact/contact-cards/README.md +32 -0
- package/blocks/contact/contact-cards/styles.css +7 -0
- package/blocks/contact/contact-cards/template.html +1 -0
- package/blocks/contact/contact-chips/README.md +41 -0
- package/blocks/contact/contact-chips/styles.css +13 -0
- package/blocks/contact/contact-chips/template.html +1 -0
- package/blocks/contact/contact-hours/README.md +41 -0
- package/blocks/contact/contact-hours/block.meta.json +87 -0
- package/blocks/contact/contact-hours/styles.css +8 -0
- package/blocks/contact/contact-hours/template.html +1 -0
- package/blocks/contact/contact-map/README.md +39 -0
- package/blocks/contact/contact-map/styles.css +10 -0
- package/blocks/contact/contact-map/template.html +1 -0
- package/blocks/contact/contact-offices/README.md +32 -0
- package/blocks/contact/contact-offices/styles.css +8 -0
- package/blocks/contact/contact-offices/template.html +1 -0
- package/blocks/contact/contact-phone-first/README.md +33 -0
- package/blocks/contact/contact-phone-first/block.meta.json +86 -0
- package/blocks/contact/contact-phone-first/styles.css +11 -0
- package/blocks/contact/contact-phone-first/template.html +1 -0
- package/blocks/contact/contact-split/README.md +43 -0
- package/blocks/contact/contact-split/styles.css +12 -0
- package/blocks/contact/contact-split/template.html +1 -0
- package/blocks/contact/contact-visit/README.md +36 -0
- package/blocks/contact/contact-visit/block.meta.json +88 -0
- package/blocks/contact/contact-visit/styles.css +13 -0
- package/blocks/contact/contact-visit/template.html +1 -0
- package/blocks/contact/service-areas/README.md +32 -0
- package/blocks/contact/service-areas/styles.css +9 -0
- package/blocks/contact/service-areas/template.html +1 -0
- package/blocks/content/glossary/README.md +35 -0
- package/blocks/content/glossary/styles.css +6 -0
- package/blocks/content/glossary/template.html +1 -0
- package/blocks/content/list-split/README.md +33 -0
- package/blocks/content/list-split/styles.css +13 -0
- package/blocks/content/list-split/template.html +1 -0
- package/blocks/content/prose-split/README.md +32 -0
- package/blocks/content/prose-split/styles.css +12 -0
- package/blocks/content/prose-split/template.html +1 -0
- package/blocks/content/specification-ledger/README.md +32 -0
- package/blocks/content/specification-ledger/block.meta.json +85 -0
- package/blocks/content/specification-ledger/styles.css +10 -0
- package/blocks/content/specification-ledger/template.html +1 -0
- package/blocks/cta/cta-band/README.md +33 -0
- package/blocks/cta/cta-band/styles.css +11 -0
- package/blocks/cta/cta-band/template.html +1 -0
- package/blocks/cta/cta-card/README.md +35 -0
- package/blocks/cta/cta-card/styles.css +8 -0
- package/blocks/cta/cta-card/template.html +1 -0
- package/blocks/cta/cta-floating-bar/README.md +28 -0
- package/blocks/cta/cta-floating-bar/styles.css +8 -0
- package/blocks/cta/cta-floating-bar/template.html +1 -0
- package/blocks/cta/cta-inline/README.md +30 -0
- package/blocks/cta/cta-inline/styles.css +9 -0
- package/blocks/cta/cta-inline/template.html +1 -0
- package/blocks/cta/cta-newsletter/README.md +34 -0
- package/blocks/cta/cta-newsletter/styles.css +8 -0
- package/blocks/cta/cta-newsletter/template.html +1 -0
- package/blocks/cta/cta-photo-fan/README.md +36 -0
- package/blocks/cta/cta-photo-fan/styles.css +14 -0
- package/blocks/cta/cta-photo-fan/template.html +1 -0
- package/blocks/cta/cta-split/README.md +38 -0
- package/blocks/cta/cta-split/styles.css +10 -0
- package/blocks/cta/cta-split/template.html +1 -0
- package/blocks/faq/faq-accordion/README.md +36 -0
- package/blocks/faq/faq-accordion/styles.css +6 -0
- package/blocks/faq/faq-accordion/template.html +1 -0
- package/blocks/faq/faq-grouped/README.md +40 -0
- package/blocks/faq/faq-grouped/styles.css +20 -0
- package/blocks/faq/faq-grouped/template.html +1 -0
- package/blocks/faq/faq-split/README.md +37 -0
- package/blocks/faq/faq-split/styles.css +5 -0
- package/blocks/faq/faq-split/template.html +1 -0
- package/blocks/faq/faq-tabs/README.md +36 -0
- package/blocks/faq/faq-tabs/styles.css +3 -0
- package/blocks/faq/faq-tabs/template.html +1 -0
- package/blocks/feature/feature-bento/README.md +33 -0
- package/blocks/feature/feature-bento/styles.css +7 -0
- package/blocks/feature/feature-bento/template.html +1 -0
- package/blocks/feature/feature-compare-table/README.md +44 -0
- package/blocks/feature/feature-compare-table/styles.css +15 -0
- package/blocks/feature/feature-compare-table/template.html +1 -0
- package/blocks/feature/feature-comparison/README.md +34 -0
- package/blocks/feature/feature-comparison/styles.css +6 -0
- package/blocks/feature/feature-comparison/template.html +1 -0
- package/blocks/feature/feature-grid-3/README.md +34 -0
- package/blocks/feature/feature-grid-3/styles.css +8 -0
- package/blocks/feature/feature-grid-3/template.html +1 -0
- package/blocks/feature/feature-icon-list/README.md +39 -0
- package/blocks/feature/feature-icon-list/styles.css +9 -0
- package/blocks/feature/feature-icon-list/template.html +1 -0
- package/blocks/feature/feature-spotlight/README.md +39 -0
- package/blocks/feature/feature-spotlight/styles.css +5 -0
- package/blocks/feature/feature-spotlight/template.html +1 -0
- package/blocks/feature/feature-stats-band/README.md +33 -0
- package/blocks/feature/feature-stats-band/styles.css +8 -0
- package/blocks/feature/feature-stats-band/template.html +1 -0
- package/blocks/feature/feature-tabs/README.md +38 -0
- package/blocks/feature/feature-tabs/styles.css +7 -0
- package/blocks/feature/feature-tabs/template.html +1 -0
- package/blocks/feature/feature-thumb-list/README.md +38 -0
- package/blocks/feature/feature-thumb-list/styles.css +13 -0
- package/blocks/feature/feature-thumb-list/template.html +1 -0
- package/blocks/feature/feature-zigzag/README.md +31 -0
- package/blocks/feature/feature-zigzag/styles.css +6 -0
- package/blocks/feature/feature-zigzag/template.html +1 -0
- package/blocks/footer/footer-columns/README.md +39 -0
- package/blocks/footer/footer-columns/styles.css +16 -0
- package/blocks/footer/footer-columns/template.html +1 -0
- package/blocks/footer/footer-compact/README.md +33 -0
- package/blocks/footer/footer-compact/styles.css +12 -0
- package/blocks/footer/footer-compact/template.html +1 -0
- package/blocks/footer/footer-cta/README.md +37 -0
- package/blocks/footer/footer-cta/styles.css +18 -0
- package/blocks/footer/footer-cta/template.html +1 -0
- package/blocks/footer/footer-social/README.md +37 -0
- package/blocks/footer/footer-social/styles.css +17 -0
- package/blocks/footer/footer-social/template.html +1 -0
- package/blocks/footer/footer-wordmark/README.md +40 -0
- package/blocks/footer/footer-wordmark/styles.css +19 -0
- package/blocks/footer/footer-wordmark/template.html +1 -0
- package/blocks/gallery/gallery-before-after/README.md +31 -0
- package/blocks/gallery/gallery-before-after/styles.css +6 -0
- package/blocks/gallery/gallery-before-after/template.html +1 -0
- package/blocks/gallery/gallery-carousel/README.md +32 -0
- package/blocks/gallery/gallery-carousel/styles.css +7 -0
- package/blocks/gallery/gallery-carousel/template.html +1 -0
- package/blocks/gallery/gallery-grid/README.md +39 -0
- package/blocks/gallery/gallery-grid/styles.css +13 -0
- package/blocks/gallery/gallery-grid/template.html +1 -0
- package/blocks/gallery/gallery-masonry/README.md +33 -0
- package/blocks/gallery/gallery-masonry/styles.css +4 -0
- package/blocks/gallery/gallery-masonry/template.html +1 -0
- package/blocks/gallery/gallery-mosaic-split/README.md +40 -0
- package/blocks/gallery/gallery-mosaic-split/styles.css +15 -0
- package/blocks/gallery/gallery-mosaic-split/template.html +1 -0
- package/blocks/hero/hero-asymmetric/README.md +34 -0
- package/blocks/hero/hero-asymmetric/styles.css +13 -0
- package/blocks/hero/hero-asymmetric/template.html +10 -0
- package/blocks/hero/hero-before-after/README.md +38 -0
- package/blocks/hero/hero-before-after/styles.css +8 -0
- package/blocks/hero/hero-before-after/template.html +19 -0
- package/blocks/hero/hero-editorial/README.md +34 -0
- package/blocks/hero/hero-editorial/block.meta.json +85 -0
- package/blocks/hero/hero-editorial/styles.css +6 -0
- package/blocks/hero/hero-editorial/template.html +10 -0
- package/blocks/hero/hero-evidence/README.md +32 -0
- package/blocks/hero/hero-evidence/block.meta.json +85 -0
- package/blocks/hero/hero-evidence/styles.css +13 -0
- package/blocks/hero/hero-evidence/template.html +1 -0
- package/blocks/hero/hero-form/README.md +46 -0
- package/blocks/hero/hero-form/styles.css +11 -0
- package/blocks/hero/hero-form/template.html +15 -0
- package/blocks/hero/hero-menu/README.md +36 -0
- package/blocks/hero/hero-menu/styles.css +7 -0
- package/blocks/hero/hero-menu/template.html +10 -0
- package/blocks/hero/hero-overlay/README.md +35 -0
- package/blocks/hero/hero-overlay/styles.css +14 -0
- package/blocks/hero/hero-overlay/template.html +10 -0
- package/blocks/hero/hero-page/README.md +35 -0
- package/blocks/hero/hero-page/styles.css +19 -0
- package/blocks/hero/hero-page/template.html +1 -0
- package/blocks/hero/hero-product/README.md +41 -0
- package/blocks/hero/hero-product/styles.css +11 -0
- package/blocks/hero/hero-product/template.html +14 -0
- package/blocks/hero/hero-service/README.md +37 -0
- package/blocks/hero/hero-service/block.meta.json +85 -0
- package/blocks/hero/hero-service/styles.css +17 -0
- package/blocks/hero/hero-service/template.html +1 -0
- package/blocks/hero/hero-split/README.md +36 -0
- package/blocks/hero/hero-split/styles.css +7 -0
- package/blocks/hero/hero-split/template.html +11 -0
- package/blocks/hero/hero-statement/README.md +33 -0
- package/blocks/hero/hero-statement/styles.css +8 -0
- package/blocks/hero/hero-statement/template.html +1 -0
- package/blocks/hero/hero-stats/README.md +37 -0
- package/blocks/hero/hero-stats/styles.css +10 -0
- package/blocks/hero/hero-stats/template.html +10 -0
- package/blocks/hero/hero-video-still/README.md +36 -0
- package/blocks/hero/hero-video-still/styles.css +9 -0
- package/blocks/hero/hero-video-still/template.html +13 -0
- package/blocks/icons.md +44 -0
- package/blocks/incentives/incentive-banner/README.md +28 -0
- package/blocks/incentives/incentive-banner/styles.css +7 -0
- package/blocks/incentives/incentive-banner/template.html +1 -0
- package/blocks/incentives/incentive-cards/README.md +31 -0
- package/blocks/incentives/incentive-cards/styles.css +4 -0
- package/blocks/incentives/incentive-cards/template.html +1 -0
- package/blocks/navbar/nav-announcement/README.md +35 -0
- package/blocks/navbar/nav-announcement/styles.css +10 -0
- package/blocks/navbar/nav-announcement/template.html +14 -0
- package/blocks/navbar/nav-centered/README.md +35 -0
- package/blocks/navbar/nav-centered/styles.css +11 -0
- package/blocks/navbar/nav-centered/template.html +12 -0
- package/blocks/navbar/nav-minimal/README.md +29 -0
- package/blocks/navbar/nav-minimal/styles.css +5 -0
- package/blocks/navbar/nav-minimal/template.html +6 -0
- package/blocks/navbar/nav-split/README.md +34 -0
- package/blocks/navbar/nav-split/styles.css +11 -0
- package/blocks/navbar/nav-split/template.html +11 -0
- package/blocks/navbar/nav-utility/README.md +37 -0
- package/blocks/navbar/nav-utility/styles.css +17 -0
- package/blocks/navbar/nav-utility/template.html +12 -0
- package/blocks/pricing/menu-featured/README.md +34 -0
- package/blocks/pricing/menu-featured/styles.css +4 -0
- package/blocks/pricing/menu-featured/template.html +1 -0
- package/blocks/pricing/menu-sections/README.md +33 -0
- package/blocks/pricing/menu-sections/styles.css +9 -0
- package/blocks/pricing/menu-sections/template.html +1 -0
- package/blocks/pricing/pricing-table/README.md +40 -0
- package/blocks/pricing/pricing-table/styles.css +9 -0
- package/blocks/pricing/pricing-table/template.html +1 -0
- package/blocks/pricing/pricing-tiers/README.md +34 -0
- package/blocks/pricing/pricing-tiers/styles.css +7 -0
- package/blocks/pricing/pricing-tiers/template.html +1 -0
- package/blocks/pricing/pricing-toggle/README.md +34 -0
- package/blocks/pricing/pricing-toggle/styles.css +10 -0
- package/blocks/pricing/pricing-toggle/template.html +1 -0
- package/blocks/process/process-carousel/README.md +33 -0
- package/blocks/process/process-carousel/styles.css +5 -0
- package/blocks/process/process-carousel/template.html +1 -0
- package/blocks/process/process-split/README.md +35 -0
- package/blocks/process/process-split/styles.css +6 -0
- package/blocks/process/process-split/template.html +1 -0
- package/blocks/process/process-stepper/README.md +40 -0
- package/blocks/process/process-stepper/styles.css +11 -0
- package/blocks/process/process-stepper/template.html +1 -0
- package/blocks/process/process-steps/README.md +35 -0
- package/blocks/process/process-steps/styles.css +6 -0
- package/blocks/process/process-steps/template.html +1 -0
- package/blocks/process/process-sticky/README.md +38 -0
- package/blocks/process/process-sticky/styles.css +12 -0
- package/blocks/process/process-sticky/template.html +1 -0
- package/blocks/process/process-timeline/README.md +35 -0
- package/blocks/process/process-timeline/styles.css +10 -0
- package/blocks/process/process-timeline/template.html +1 -0
- package/blocks/services/services-cards/README.md +34 -0
- package/blocks/services/services-cards/styles.css +3 -0
- package/blocks/services/services-cards/template.html +1 -0
- package/blocks/services/services-carousel/README.md +34 -0
- package/blocks/services/services-carousel/styles.css +6 -0
- package/blocks/services/services-carousel/template.html +1 -0
- package/blocks/services/services-list/README.md +32 -0
- package/blocks/services/services-list/block.meta.json +85 -0
- package/blocks/services/services-list/styles.css +10 -0
- package/blocks/services/services-list/template.html +1 -0
- package/blocks/services/services-menu/README.md +39 -0
- package/blocks/services/services-menu/styles.css +6 -0
- package/blocks/services/services-menu/template.html +1 -0
- package/blocks/services/services-packages/README.md +34 -0
- package/blocks/services/services-packages/styles.css +6 -0
- package/blocks/services/services-packages/template.html +1 -0
- package/blocks/services/services-panels/README.md +36 -0
- package/blocks/services/services-panels/styles.css +15 -0
- package/blocks/services/services-panels/template.html +1 -0
- package/blocks/services/services-photo-grid/README.md +39 -0
- package/blocks/services/services-photo-grid/styles.css +10 -0
- package/blocks/services/services-photo-grid/template.html +1 -0
- package/blocks/services/services-priority/README.md +33 -0
- package/blocks/services/services-priority/block.meta.json +86 -0
- package/blocks/services/services-priority/styles.css +16 -0
- package/blocks/services/services-priority/template.html +1 -0
- package/blocks/stats/stats-cards/README.md +31 -0
- package/blocks/stats/stats-cards/styles.css +4 -0
- package/blocks/stats/stats-cards/template.html +1 -0
- package/blocks/stats/stats-mosaic/README.md +27 -0
- package/blocks/stats/stats-mosaic/styles.css +9 -0
- package/blocks/stats/stats-mosaic/template.html +1 -0
- package/blocks/stats/stats-row/README.md +29 -0
- package/blocks/stats/stats-row/styles.css +8 -0
- package/blocks/stats/stats-row/template.html +1 -0
- package/blocks/stats/stats-split/README.md +35 -0
- package/blocks/stats/stats-split/styles.css +3 -0
- package/blocks/stats/stats-split/template.html +1 -0
- package/blocks/team/team-featured/README.md +42 -0
- package/blocks/team/team-featured/styles.css +9 -0
- package/blocks/team/team-featured/template.html +1 -0
- package/blocks/team/team-grid/README.md +35 -0
- package/blocks/team/team-grid/styles.css +8 -0
- package/blocks/team/team-grid/template.html +1 -0
- package/blocks/team/team-list/README.md +32 -0
- package/blocks/team/team-list/styles.css +7 -0
- package/blocks/team/team-list/template.html +1 -0
- package/blocks/testimonial/testimonial-carousel/README.md +32 -0
- package/blocks/testimonial/testimonial-carousel/styles.css +7 -0
- package/blocks/testimonial/testimonial-carousel/template.html +1 -0
- package/blocks/testimonial/testimonial-grid/README.md +32 -0
- package/blocks/testimonial/testimonial-grid/styles.css +5 -0
- package/blocks/testimonial/testimonial-grid/template.html +1 -0
- package/blocks/testimonial/testimonial-mosaic/README.md +38 -0
- package/blocks/testimonial/testimonial-mosaic/styles.css +14 -0
- package/blocks/testimonial/testimonial-mosaic/template.html +1 -0
- package/blocks/testimonial/testimonial-platform/README.md +34 -0
- package/blocks/testimonial/testimonial-platform/styles.css +17 -0
- package/blocks/testimonial/testimonial-platform/template.html +1 -0
- package/blocks/testimonial/testimonial-rating/README.md +28 -0
- package/blocks/testimonial/testimonial-rating/styles.css +6 -0
- package/blocks/testimonial/testimonial-rating/template.html +1 -0
- package/blocks/testimonial/testimonial-spotlight/README.md +31 -0
- package/blocks/testimonial/testimonial-spotlight/styles.css +9 -0
- package/blocks/testimonial/testimonial-spotlight/template.html +1 -0
- package/blocks/testimonial/testimonial-switcher/README.md +39 -0
- package/blocks/testimonial/testimonial-switcher/styles.css +23 -0
- package/blocks/testimonial/testimonial-switcher/template.html +1 -0
- package/blocks/testimonial/testimonial-wall/README.md +34 -0
- package/blocks/testimonial/testimonial-wall/styles.css +7 -0
- package/blocks/testimonial/testimonial-wall/template.html +1 -0
- package/blocks/trust-strip/trust-badges/README.md +30 -0
- package/blocks/trust-strip/trust-badges/styles.css +5 -0
- package/blocks/trust-strip/trust-badges/template.html +1 -0
- package/blocks/trust-strip/trust-certs/README.md +31 -0
- package/blocks/trust-strip/trust-certs/styles.css +12 -0
- package/blocks/trust-strip/trust-certs/template.html +1 -0
- package/blocks/trust-strip/trust-logos/README.md +32 -0
- package/blocks/trust-strip/trust-logos/styles.css +5 -0
- package/blocks/trust-strip/trust-logos/template.html +1 -0
- package/blocks/trust-strip/trust-quote/README.md +29 -0
- package/blocks/trust-strip/trust-quote/styles.css +5 -0
- package/blocks/trust-strip/trust-quote/template.html +1 -0
- package/blocks/trust-strip/trust-reviews/README.md +35 -0
- package/blocks/trust-strip/trust-reviews/styles.css +9 -0
- package/blocks/trust-strip/trust-reviews/template.html +1 -0
- package/blocks/work/case-alternating/README.md +34 -0
- package/blocks/work/case-alternating/block.meta.json +86 -0
- package/blocks/work/case-alternating/styles.css +7 -0
- package/blocks/work/case-alternating/template.html +1 -0
- package/blocks/work/case-carousel/README.md +26 -0
- package/blocks/work/case-carousel/styles.css +7 -0
- package/blocks/work/case-carousel/template.html +1 -0
- package/blocks/work/case-header/README.md +38 -0
- package/blocks/work/case-header/styles.css +18 -0
- package/blocks/work/case-header/template.html +1 -0
- package/blocks/work/project-evidence/README.md +35 -0
- package/blocks/work/project-evidence/block.meta.json +87 -0
- package/blocks/work/project-evidence/styles.css +12 -0
- package/blocks/work/project-evidence/template.html +1 -0
- package/blocks/work/project-grid/README.md +38 -0
- package/blocks/work/project-grid/styles.css +9 -0
- package/blocks/work/project-grid/template.html +1 -0
- package/cloudflare/wrangler.forms-test.jsonc +19 -0
- package/cloudflare/wrangler.jsonc +14 -0
- package/cloudflare/wrangler.templates.jsonc +6 -0
- package/design-system/MASTER.md +76 -0
- package/design-system/calibration/v2/accuracy.html +1 -0
- package/design-system/calibration/v2/accuracy.png +0 -0
- package/design-system/calibration/v2/manifest.json +88 -0
- package/design-system/calibration/v2/probe.png +0 -0
- package/design-system/calibration/v2/vitris-northline-counsel-home-1280-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-northline-counsel-home-375-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-northline-counsel-planning-1280-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-northline-counsel-planning-375-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-tide-and-slate-home-1280-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-tide-and-slate-home-375-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-tide-and-slate-project-1280-viewport.png +0 -0
- package/design-system/calibration/v2/vitris-tide-and-slate-project-375-viewport.png +0 -0
- package/design-system/compositions/v1/README.md +13 -0
- package/design-system/compositions/v1/northline-counsel/components/contact-phone-first/styles.css +11 -0
- package/design-system/compositions/v1/northline-counsel/components/contact-phone-first/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/contact-visit/styles.css +13 -0
- package/design-system/compositions/v1/northline-counsel/components/contact-visit/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/footer-compact/styles.css +12 -0
- package/design-system/compositions/v1/northline-counsel/components/footer-compact/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/hero-evidence/styles.css +13 -0
- package/design-system/compositions/v1/northline-counsel/components/hero-evidence/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/hero-page/styles.css +19 -0
- package/design-system/compositions/v1/northline-counsel/components/hero-page/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/nav-split/styles.css +11 -0
- package/design-system/compositions/v1/northline-counsel/components/nav-split/template.html +11 -0
- package/design-system/compositions/v1/northline-counsel/components/services-priority/styles.css +16 -0
- package/design-system/compositions/v1/northline-counsel/components/services-priority/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/components/specification-ledger/styles.css +10 -0
- package/design-system/compositions/v1/northline-counsel/components/specification-ledger/template.html +1 -0
- package/design-system/compositions/v1/northline-counsel/direction.md +5 -0
- package/design-system/compositions/v1/northline-counsel/fixture-brief.json +10 -0
- package/design-system/compositions/v1/northline-counsel/media-inventory.json +1 -0
- package/design-system/compositions/v1/northline-counsel/pages/index.html +11 -0
- package/design-system/compositions/v1/northline-counsel/pages/planning.html +11 -0
- package/design-system/compositions/v1/northline-counsel/selection-receipt.json +36 -0
- package/design-system/compositions/v1/northline-counsel/site.json +1 -0
- package/design-system/compositions/v1/northline-counsel/storyboard.md +12 -0
- package/design-system/compositions/v1/northline-counsel/theme/defaults.json +1 -0
- package/design-system/compositions/v1/source-ledger.json +18 -0
- package/design-system/compositions/v1/tide-and-slate/components/contact-phone-first/styles.css +11 -0
- package/design-system/compositions/v1/tide-and-slate/components/contact-phone-first/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/footer-compact/styles.css +12 -0
- package/design-system/compositions/v1/tide-and-slate/components/footer-compact/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/hero-page/styles.css +19 -0
- package/design-system/compositions/v1/tide-and-slate/components/hero-page/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/hero-split/styles.css +7 -0
- package/design-system/compositions/v1/tide-and-slate/components/hero-split/template.html +11 -0
- package/design-system/compositions/v1/tide-and-slate/components/nav-split/styles.css +11 -0
- package/design-system/compositions/v1/tide-and-slate/components/nav-split/template.html +11 -0
- package/design-system/compositions/v1/tide-and-slate/components/project-evidence/styles.css +12 -0
- package/design-system/compositions/v1/tide-and-slate/components/project-evidence/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/services-priority/styles.css +16 -0
- package/design-system/compositions/v1/tide-and-slate/components/services-priority/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/components/specification-ledger/styles.css +10 -0
- package/design-system/compositions/v1/tide-and-slate/components/specification-ledger/template.html +1 -0
- package/design-system/compositions/v1/tide-and-slate/direction.md +5 -0
- package/design-system/compositions/v1/tide-and-slate/fixture-brief.json +10 -0
- package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-finished.webp +0 -0
- package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-finished.webp.provenance.json +9 -0
- package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-work.webp +0 -0
- package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-work.webp.provenance.json +9 -0
- package/design-system/compositions/v1/tide-and-slate/media-inventory.json +7 -0
- package/design-system/compositions/v1/tide-and-slate/pages/index.html +10 -0
- package/design-system/compositions/v1/tide-and-slate/pages/project.html +10 -0
- package/design-system/compositions/v1/tide-and-slate/site.json +1 -0
- package/design-system/compositions/v1/tide-and-slate/storyboard.md +12 -0
- package/design-system/compositions/v1/tide-and-slate/theme/defaults.json +1 -0
- package/design-system/compositions/v2/catalog.json +4018 -0
- package/design-system/compositions/v2/clearwell-directory/components/study-clearwell-directory/styles.css +3 -0
- package/design-system/compositions/v2/clearwell-directory/components/study-clearwell-directory/template.html +1 -0
- package/design-system/compositions/v2/clearwell-directory/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/clearwell-directory/pages/index.html +5 -0
- package/design-system/compositions/v2/clearwell-directory/site.json +7 -0
- package/design-system/compositions/v2/clearwell-directory/study.json +244 -0
- package/design-system/compositions/v2/clearwell-directory/theme/defaults.json +16 -0
- package/design-system/compositions/v2/clearwell-letter/components/study-clearwell-letter/styles.css +2 -0
- package/design-system/compositions/v2/clearwell-letter/components/study-clearwell-letter/template.html +1 -0
- package/design-system/compositions/v2/clearwell-letter/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/clearwell-letter/pages/index.html +5 -0
- package/design-system/compositions/v2/clearwell-letter/site.json +7 -0
- package/design-system/compositions/v2/clearwell-letter/study.json +236 -0
- package/design-system/compositions/v2/clearwell-letter/theme/defaults.json +16 -0
- package/design-system/compositions/v2/dock-radio/components/study-dock-radio/styles.css +2 -0
- package/design-system/compositions/v2/dock-radio/components/study-dock-radio/template.html +1 -0
- package/design-system/compositions/v2/dock-radio/media/teaching/original-tone-study.wav +0 -0
- package/design-system/compositions/v2/dock-radio/media/teaching/original-tone-study.wav.provenance.json +6 -0
- package/design-system/compositions/v2/dock-radio/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/dock-radio/pages/index.html +5 -0
- package/design-system/compositions/v2/dock-radio/site.json +7 -0
- package/design-system/compositions/v2/dock-radio/study.json +288 -0
- package/design-system/compositions/v2/dock-radio/theme/defaults.json +16 -0
- package/design-system/compositions/v2/fen-repair/components/study-fen-repair/styles.css +2 -0
- package/design-system/compositions/v2/fen-repair/components/study-fen-repair/template.html +1 -0
- package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-finished.webp +0 -0
- package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-finished.webp.provenance.json +9 -0
- package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-work.webp +0 -0
- package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-work.webp.provenance.json +9 -0
- package/design-system/compositions/v2/fen-repair/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/fen-repair/pages/index.html +5 -0
- package/design-system/compositions/v2/fen-repair/site.json +7 -0
- package/design-system/compositions/v2/fen-repair/study.json +236 -0
- package/design-system/compositions/v2/fen-repair/theme/defaults.json +16 -0
- package/design-system/compositions/v2/hearth-plane/components/study-hearth-plane/styles.css +2 -0
- package/design-system/compositions/v2/hearth-plane/components/study-hearth-plane/template.html +1 -0
- package/design-system/compositions/v2/hearth-plane/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/hearth-plane/pages/index.html +5 -0
- package/design-system/compositions/v2/hearth-plane/site.json +7 -0
- package/design-system/compositions/v2/hearth-plane/study.json +238 -0
- package/design-system/compositions/v2/hearth-plane/theme/defaults.json +16 -0
- package/design-system/compositions/v2/lacuna-objects/components/study-lacuna-objects/styles.css +2 -0
- package/design-system/compositions/v2/lacuna-objects/components/study-lacuna-objects/template.html +1 -0
- package/design-system/compositions/v2/lacuna-objects/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/lacuna-objects/pages/index.html +5 -0
- package/design-system/compositions/v2/lacuna-objects/site.json +7 -0
- package/design-system/compositions/v2/lacuna-objects/study.json +242 -0
- package/design-system/compositions/v2/lacuna-objects/theme/defaults.json +16 -0
- package/design-system/compositions/v2/loop-room/components/study-loop-room/styles.css +2 -0
- package/design-system/compositions/v2/loop-room/components/study-loop-room/template.html +1 -0
- package/design-system/compositions/v2/loop-room/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/loop-room/pages/index.html +5 -0
- package/design-system/compositions/v2/loop-room/site.json +7 -0
- package/design-system/compositions/v2/loop-room/study.json +253 -0
- package/design-system/compositions/v2/loop-room/theme/defaults.json +16 -0
- package/design-system/compositions/v2/manifest.json +740 -0
- package/design-system/compositions/v2/mara-reading-room/components/study-mara-reading-room/styles.css +2 -0
- package/design-system/compositions/v2/mara-reading-room/components/study-mara-reading-room/template.html +1 -0
- package/design-system/compositions/v2/mara-reading-room/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/mara-reading-room/pages/index.html +5 -0
- package/design-system/compositions/v2/mara-reading-room/site.json +7 -0
- package/design-system/compositions/v2/mara-reading-room/study.json +246 -0
- package/design-system/compositions/v2/mara-reading-room/theme/defaults.json +16 -0
- package/design-system/compositions/v2/mara-specimen/components/study-mara-specimen/styles.css +3 -0
- package/design-system/compositions/v2/mara-specimen/components/study-mara-specimen/template.html +1 -0
- package/design-system/compositions/v2/mara-specimen/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/mara-specimen/pages/index.html +5 -0
- package/design-system/compositions/v2/mara-specimen/site.json +7 -0
- package/design-system/compositions/v2/mara-specimen/study.json +244 -0
- package/design-system/compositions/v2/mara-specimen/theme/defaults.json +16 -0
- package/design-system/compositions/v2/margin-journal/components/study-margin-journal/styles.css +2 -0
- package/design-system/compositions/v2/margin-journal/components/study-margin-journal/template.html +1 -0
- package/design-system/compositions/v2/margin-journal/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/margin-journal/pages/index.html +5 -0
- package/design-system/compositions/v2/margin-journal/site.json +7 -0
- package/design-system/compositions/v2/margin-journal/study.json +242 -0
- package/design-system/compositions/v2/margin-journal/theme/defaults.json +16 -0
- package/design-system/compositions/v2/night-orchard/components/study-night-orchard/styles.css +2 -0
- package/design-system/compositions/v2/night-orchard/components/study-night-orchard/template.html +1 -0
- package/design-system/compositions/v2/night-orchard/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/night-orchard/pages/index.html +5 -0
- package/design-system/compositions/v2/night-orchard/site.json +7 -0
- package/design-system/compositions/v2/night-orchard/study.json +247 -0
- package/design-system/compositions/v2/night-orchard/theme/defaults.json +16 -0
- package/design-system/compositions/v2/previews/clearwell-directory-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-directory-home-390.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-directory-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-directory-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-letter-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-letter-home-390.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-letter-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/clearwell-letter-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/dock-radio-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/dock-radio-home-390.png +0 -0
- package/design-system/compositions/v2/previews/dock-radio-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/dock-radio-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/fen-repair-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/fen-repair-home-390.png +0 -0
- package/design-system/compositions/v2/previews/fen-repair-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/fen-repair-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/hearth-plane-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/hearth-plane-home-390.png +0 -0
- package/design-system/compositions/v2/previews/hearth-plane-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/hearth-plane-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/lacuna-objects-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/lacuna-objects-home-390.png +0 -0
- package/design-system/compositions/v2/previews/lacuna-objects-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/lacuna-objects-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/loop-room-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/loop-room-home-390.png +0 -0
- package/design-system/compositions/v2/previews/loop-room-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/loop-room-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/mara-reading-room-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/mara-reading-room-home-390.png +0 -0
- package/design-system/compositions/v2/previews/mara-reading-room-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/mara-reading-room-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/mara-specimen-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/mara-specimen-home-390.png +0 -0
- package/design-system/compositions/v2/previews/mara-specimen-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/mara-specimen-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/margin-journal-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/margin-journal-home-390.png +0 -0
- package/design-system/compositions/v2/previews/margin-journal-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/margin-journal-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/night-orchard-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/night-orchard-home-390.png +0 -0
- package/design-system/compositions/v2/previews/night-orchard-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/night-orchard-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/relay-workflow-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/relay-workflow-home-390.png +0 -0
- package/design-system/compositions/v2/previews/relay-workflow-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/relay-workflow-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/rivet-components-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/rivet-components-home-390.png +0 -0
- package/design-system/compositions/v2/previews/rivet-components-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/rivet-components-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/signal-fair-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/signal-fair-home-390.png +0 -0
- package/design-system/compositions/v2/previews/signal-fair-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/signal-fair-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/sundial-goods-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/sundial-goods-home-390.png +0 -0
- package/design-system/compositions/v2/previews/sundial-goods-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/sundial-goods-interior-390.png +0 -0
- package/design-system/compositions/v2/previews/thread-mender-home-1440.png +0 -0
- package/design-system/compositions/v2/previews/thread-mender-home-390.png +0 -0
- package/design-system/compositions/v2/previews/thread-mender-interior-1440.png +0 -0
- package/design-system/compositions/v2/previews/thread-mender-interior-390.png +0 -0
- package/design-system/compositions/v2/relay-workflow/components/study-relay-workflow/styles.css +2 -0
- package/design-system/compositions/v2/relay-workflow/components/study-relay-workflow/template.html +1 -0
- package/design-system/compositions/v2/relay-workflow/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/relay-workflow/pages/index.html +5 -0
- package/design-system/compositions/v2/relay-workflow/site.json +7 -0
- package/design-system/compositions/v2/relay-workflow/study.json +283 -0
- package/design-system/compositions/v2/relay-workflow/theme/defaults.json +16 -0
- package/design-system/compositions/v2/rivet-components/components/study-rivet-components/styles.css +2 -0
- package/design-system/compositions/v2/rivet-components/components/study-rivet-components/template.html +1 -0
- package/design-system/compositions/v2/rivet-components/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/rivet-components/pages/index.html +5 -0
- package/design-system/compositions/v2/rivet-components/site.json +7 -0
- package/design-system/compositions/v2/rivet-components/study.json +241 -0
- package/design-system/compositions/v2/rivet-components/theme/defaults.json +16 -0
- package/design-system/compositions/v2/signal-fair/components/study-signal-fair/styles.css +2 -0
- package/design-system/compositions/v2/signal-fair/components/study-signal-fair/template.html +1 -0
- package/design-system/compositions/v2/signal-fair/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/signal-fair/pages/index.html +5 -0
- package/design-system/compositions/v2/signal-fair/site.json +7 -0
- package/design-system/compositions/v2/signal-fair/study.json +271 -0
- package/design-system/compositions/v2/signal-fair/theme/defaults.json +16 -0
- package/design-system/compositions/v2/sundial-goods/components/study-sundial-goods/styles.css +2 -0
- package/design-system/compositions/v2/sundial-goods/components/study-sundial-goods/template.html +1 -0
- package/design-system/compositions/v2/sundial-goods/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/sundial-goods/pages/index.html +5 -0
- package/design-system/compositions/v2/sundial-goods/site.json +7 -0
- package/design-system/compositions/v2/sundial-goods/study.json +247 -0
- package/design-system/compositions/v2/sundial-goods/theme/defaults.json +16 -0
- package/design-system/compositions/v2/thread-mender/components/study-thread-mender/styles.css +2 -0
- package/design-system/compositions/v2/thread-mender/components/study-thread-mender/template.html +1 -0
- package/design-system/compositions/v2/thread-mender/pages/detail/index.html +5 -0
- package/design-system/compositions/v2/thread-mender/pages/index.html +5 -0
- package/design-system/compositions/v2/thread-mender/site.json +7 -0
- package/design-system/compositions/v2/thread-mender/study.json +253 -0
- package/design-system/compositions/v2/thread-mender/theme/defaults.json +16 -0
- package/design-system/knowledge/v1/README.md +8 -0
- package/design-system/knowledge/v1/catalog.json +479 -0
- package/design-system/knowledge/v1/demonstrations/assets/teaching-slate-slope.png +0 -0
- package/design-system/knowledge/v1/demonstrations/assets/teaching-slate-slope.provenance.json +12 -0
- package/design-system/knowledge/v1/demonstrations/mobile-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/mobile-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/project-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/project-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/repeat-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/repeat-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/services-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/services-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/sparse-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/sparse-weak.html +50 -0
- package/design-system/knowledge/v1/demonstrations/type-strong.html +50 -0
- package/design-system/knowledge/v1/demonstrations/type-weak.html +50 -0
- package/design-system/knowledge/v1/manifest.json +88 -0
- package/design-system/knowledge/v1/observations/mobile-strong-1080.png +0 -0
- package/design-system/knowledge/v1/observations/mobile-strong-375.png +0 -0
- package/design-system/knowledge/v1/observations/mobile-weak-1080.png +0 -0
- package/design-system/knowledge/v1/observations/mobile-weak-375.png +0 -0
- package/design-system/knowledge/v1/observations/project-strong-1080.png +0 -0
- package/design-system/knowledge/v1/observations/project-strong-375.png +0 -0
- package/design-system/knowledge/v1/observations/project-weak-1080.png +0 -0
- package/design-system/knowledge/v1/observations/project-weak-375.png +0 -0
- package/design-system/knowledge/v1/observations/type-strong-1080.png +0 -0
- package/design-system/knowledge/v1/observations/type-strong-375.png +0 -0
- package/design-system/knowledge/v1/observations/type-weak-1080.png +0 -0
- package/design-system/knowledge/v1/observations/type-weak-375.png +0 -0
- package/design-system/knowledge/v2/added-lessons.json +30 -0
- package/design-system/knowledge/v2/assets.json +14 -0
- package/design-system/knowledge/v2/fixtures/contact-alternate.html +17 -0
- package/design-system/knowledge/v2/fixtures/contact-broken.html +15 -0
- package/design-system/knowledge/v2/fixtures/contact-valid.html +20 -0
- package/design-system/knowledge/v2/fixtures/contrast-cases.html +10 -0
- package/design-system/knowledge/v2/island-audit.json +12 -0
- package/design-system/knowledge/v2/lesson-extensions.json +158 -0
- package/design-system/knowledge/v2/manifest.json +52 -0
- package/design-system/knowledge/v2/replacements.json +14 -0
- package/design-system/knowledge/v2/requirements.json +345 -0
- package/design-system/knowledge/v2/sources.json +182 -0
- package/design-system/knowledge/v3/catalog.json +1232 -0
- package/design-system/knowledge/v3/examples/catalog.json +799 -0
- package/design-system/knowledge/v3/lessons/cmp-collection-structure.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-comparison.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-contextual-action.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-contrastive-critique.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-disclosure.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-evidence-form.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-image-art-direction.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-image-sequence.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-interactive-explanation.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-local-information.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-motion-continuity.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-narrative-continuity.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-navigation.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-page-rhythm.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-process.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-proof-adjacency.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-responsive-recomposition.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-semantic-grouping.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-shared-alignment.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-sparse-media.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-surfaces-motifs.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-text-shape.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-type-roles.md +17 -0
- package/design-system/knowledge/v3/lessons/cmp-unequal-emphasis.md +17 -0
- package/design-system/knowledge/v3/manifest.json +117 -0
- package/design-system/knowledge/v3/sources.json +425 -0
- package/design-system/references/v1/README.md +27 -0
- package/design-system/references/v1/catalog.json +20035 -0
- package/design-system/references/v1/manifest.json +10 -0
- package/design-system/references/v2/README.md +27 -0
- package/design-system/references/v2/catalog.json +27382 -0
- package/design-system/references/v2/manifest.json +11 -0
- package/design-system/references/v3/README.md +27 -0
- package/design-system/references/v3/catalog.json +27628 -0
- package/design-system/references/v3/manifest.json +11 -0
- package/docs/CLI.md +299 -0
- package/docs/CLOUDFLARE.md +53 -0
- package/docs/CONTACT-FORMS.md +161 -0
- package/docs/DISTRIBUTION.md +70 -0
- package/docs/ENGINE.md +28 -0
- package/docs/PRESERVE.md +59 -0
- package/docs/SECURITY.md +23 -0
- package/docs/STOCK-MEDIA.md +66 -0
- package/licenses/blake3-wasm-LICENSE +21 -0
- package/licenses/entities-LICENSE +11 -0
- package/licenses/parse5-LICENSE +19 -0
- package/migrations/0001_init.sql +90 -0
- package/migrations/0002_analytics.sql +50 -0
- package/migrations/0003_site_updates.sql +29 -0
- package/migrations/0004_contact_forms.sql +75 -0
- package/migrations/0005_auth.sql +20 -0
- package/package.json +229 -6
- package/src/runtime/beacon.ts +329 -0
- package/src/runtime/before-after.ts +48 -0
- package/src/runtime/carousel.ts +20 -0
- package/src/runtime/cookie-compliance.ts +50 -0
- package/src/runtime/counter.ts +2 -0
- package/src/runtime/editor.ts +72 -0
- package/src/runtime/experience.ts +57 -0
- package/src/runtime/header.ts +46 -0
- package/src/runtime/leads.ts +102 -0
- package/src/runtime/lightbox.ts +26 -0
- package/src/runtime/reveal.ts +2 -0
- package/src/runtime/scroll-motion.controller.js +100 -0
- package/src/runtime/scroll-motion.count.js +21 -0
- package/src/runtime/scroll-motion.generated.ts +5 -0
- package/src/runtime/scroll-motion.vanilla.js +45 -0
- package/src/runtime/tabs.ts +40 -0
- package/src/stock/catalog.json +5445 -0
- package/src/stock/coverage.json +18 -0
- package/src/stock/picker.css +118 -0
- package/src/stock/picker.js +191 -0
- package/templates/site/.env.example +6 -0
- package/templates/site/.github/workflows/deploy.yml +59 -0
- package/templates/site/AGENTS.md +35 -0
- package/templates/site/CLAUDE.md +5 -0
- package/templates/site/GEMINI.md +5 -0
- package/templates/site/README.md +55 -0
- package/templates/site/components/README.md +18 -0
- package/templates/site/gitignore +10 -0
- package/templates/site/launch.json +14 -0
- package/templates/site/package.json +36 -0
- package/templates/site/pages/README.md +31 -0
- package/templates/site/site.json +10 -0
- package/templates/site/theme/defaults.json +17 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
handleCursorHook
|
|
4
|
+
} from "./chunks/chunk-3CTBXY5K.js";
|
|
5
|
+
import "./chunks/chunk-DSS2U2OM.js";
|
|
6
|
+
import "./chunks/chunk-M4LNHYYR.js";
|
|
7
|
+
import "./chunks/chunk-DRJQ4OOU.js";
|
|
8
|
+
import "./chunks/chunk-PRLL7B63.js";
|
|
9
|
+
import "./chunks/chunk-5OOPJNGN.js";
|
|
10
|
+
import "./chunks/chunk-BBV7PMFC.js";
|
|
11
|
+
import "./chunks/chunk-TY33XMHW.js";
|
|
12
|
+
import "./chunks/chunk-R7YELY3C.js";
|
|
13
|
+
import "./chunks/chunk-BIEDSEL2.js";
|
|
14
|
+
import "./chunks/chunk-T7DGRVTP.js";
|
|
15
|
+
import "./chunks/chunk-AUO5I56E.js";
|
|
16
|
+
import "./chunks/chunk-6H3T46F5.js";
|
|
17
|
+
import "./chunks/chunk-M2ETYSVJ.js";
|
|
18
|
+
import "./chunks/chunk-FOXUQXTV.js";
|
|
19
|
+
import "./chunks/chunk-IKNMBGGD.js";
|
|
20
|
+
import "./chunks/chunk-WEFDVXFX.js";
|
|
21
|
+
import "./chunks/chunk-E5Y46VBX.js";
|
|
22
|
+
import "./chunks/chunk-4GZCAWWK.js";
|
|
23
|
+
import "./chunks/chunk-ANMJRJQ5.js";
|
|
24
|
+
import "./chunks/chunk-HNORQ74T.js";
|
|
25
|
+
import "./chunks/chunk-YCVGD2CG.js";
|
|
26
|
+
import "./chunks/chunk-LKN75JGA.js";
|
|
27
|
+
import "./chunks/chunk-YYPYYOEV.js";
|
|
28
|
+
import "./chunks/chunk-GZDLXYZV.js";
|
|
29
|
+
import "./chunks/chunk-G7MNMULR.js";
|
|
30
|
+
import "./chunks/chunk-T6PE4KN4.js";
|
|
31
|
+
import "./chunks/chunk-7FS67SRF.js";
|
|
32
|
+
|
|
33
|
+
// scripts/cursor-hook.ts
|
|
34
|
+
var chunks = [];
|
|
35
|
+
for await (const chunk of process.stdin) {
|
|
36
|
+
if (typeof chunk === "string") chunks.push(Buffer.from(chunk, "utf8"));
|
|
37
|
+
else chunks.push(Buffer.from(chunk));
|
|
38
|
+
}
|
|
39
|
+
var buf = Buffer.concat(chunks);
|
|
40
|
+
var raw = buf.toString("utf8").replace(/^\uFEFF/, "");
|
|
41
|
+
var payload = {};
|
|
42
|
+
var stdinGap;
|
|
43
|
+
try {
|
|
44
|
+
payload = raw.trim() ? JSON.parse(raw) : {};
|
|
45
|
+
if (!raw.trim()) stdinGap = "stdin_empty";
|
|
46
|
+
} catch {
|
|
47
|
+
payload = {
|
|
48
|
+
hook_event_name: "unknown",
|
|
49
|
+
_stdinBytes: buf.length,
|
|
50
|
+
_stdinEncoding: "utf8"
|
|
51
|
+
};
|
|
52
|
+
stdinGap = "stdin_unparsed";
|
|
53
|
+
}
|
|
54
|
+
if (payload && typeof payload === "object" && !Array.isArray(payload) && stdinGap) {
|
|
55
|
+
payload._stdinGap = stdinGap;
|
|
56
|
+
payload._stdinBytes = Buffer.byteLength(raw);
|
|
57
|
+
}
|
|
58
|
+
var result = handleCursorHook({ root: process.cwd(), payload });
|
|
59
|
+
process.stdout.write(JSON.stringify(result.response));
|
|
60
|
+
if (result.warning) process.stderr.write("TRACE_ERROR: cursor hook log failed\n");
|
|
61
|
+
process.exit(0);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
gradeAll,
|
|
4
|
+
gradeNode,
|
|
5
|
+
reviewSubject
|
|
6
|
+
} from "./chunks/chunk-3CTBXY5K.js";
|
|
7
|
+
import "./chunks/chunk-DSS2U2OM.js";
|
|
8
|
+
import "./chunks/chunk-M4LNHYYR.js";
|
|
9
|
+
import "./chunks/chunk-DRJQ4OOU.js";
|
|
10
|
+
import "./chunks/chunk-PRLL7B63.js";
|
|
11
|
+
import "./chunks/chunk-5OOPJNGN.js";
|
|
12
|
+
import "./chunks/chunk-BBV7PMFC.js";
|
|
13
|
+
import "./chunks/chunk-TY33XMHW.js";
|
|
14
|
+
import "./chunks/chunk-R7YELY3C.js";
|
|
15
|
+
import "./chunks/chunk-BIEDSEL2.js";
|
|
16
|
+
import "./chunks/chunk-T7DGRVTP.js";
|
|
17
|
+
import "./chunks/chunk-AUO5I56E.js";
|
|
18
|
+
import "./chunks/chunk-6H3T46F5.js";
|
|
19
|
+
import "./chunks/chunk-M2ETYSVJ.js";
|
|
20
|
+
import "./chunks/chunk-FOXUQXTV.js";
|
|
21
|
+
import "./chunks/chunk-IKNMBGGD.js";
|
|
22
|
+
import "./chunks/chunk-WEFDVXFX.js";
|
|
23
|
+
import "./chunks/chunk-E5Y46VBX.js";
|
|
24
|
+
import "./chunks/chunk-4GZCAWWK.js";
|
|
25
|
+
import "./chunks/chunk-ANMJRJQ5.js";
|
|
26
|
+
import "./chunks/chunk-HNORQ74T.js";
|
|
27
|
+
import "./chunks/chunk-YCVGD2CG.js";
|
|
28
|
+
import "./chunks/chunk-LKN75JGA.js";
|
|
29
|
+
import "./chunks/chunk-YYPYYOEV.js";
|
|
30
|
+
import "./chunks/chunk-GZDLXYZV.js";
|
|
31
|
+
import "./chunks/chunk-G7MNMULR.js";
|
|
32
|
+
import {
|
|
33
|
+
fingerprint
|
|
34
|
+
} from "./chunks/chunk-T6PE4KN4.js";
|
|
35
|
+
import "./chunks/chunk-7FS67SRF.js";
|
|
36
|
+
|
|
37
|
+
// scripts/eval-site.ts
|
|
38
|
+
import { resolve } from "node:path";
|
|
39
|
+
var arg = (key) => {
|
|
40
|
+
const i = process.argv.indexOf(key);
|
|
41
|
+
return i < 0 ? void 0 : process.argv[i + 1];
|
|
42
|
+
};
|
|
43
|
+
var root = resolve(arg("--site") || ".");
|
|
44
|
+
var node = arg("--node");
|
|
45
|
+
var paths = process.argv.flatMap((value, index) => value === "--hash" ? [process.argv[index + 1]] : []);
|
|
46
|
+
if (paths.length) {
|
|
47
|
+
if (paths.some((p) => !p || p.startsWith("--"))) throw new Error("Each --hash requires a relative artifact path");
|
|
48
|
+
console.log(fingerprint(root, paths));
|
|
49
|
+
} else if (process.argv.includes("--expand-packet")) {
|
|
50
|
+
const expId = arg("--expand-packet");
|
|
51
|
+
const manifestHash = arg("--manifest-hash");
|
|
52
|
+
const { expandPacketItem } = await import("./chunks/packets-VBMY4SQJ.js");
|
|
53
|
+
console.log(expandPacketItem(root, node || "business-review", expId, manifestHash));
|
|
54
|
+
} else if (process.argv.includes("--expand-design-context")) {
|
|
55
|
+
const preparationId = arg("--preparation");
|
|
56
|
+
const expansionId = arg("--expansion") || arg("--expand-design-context");
|
|
57
|
+
if (!preparationId || !expansionId || expansionId.startsWith("--")) {
|
|
58
|
+
throw new Error("Use --expand-design-context <ID> --preparation <PREP_ID> [--site PATH]");
|
|
59
|
+
}
|
|
60
|
+
const { expandDesignContextForPreparation } = await import("./chunks/design-context-store-IAT2P2OC.js");
|
|
61
|
+
const result = expandDesignContextForPreparation(root, preparationId, expansionId);
|
|
62
|
+
if (!result.ok) {
|
|
63
|
+
console.error(result.reason);
|
|
64
|
+
process.exitCode = 1;
|
|
65
|
+
} else {
|
|
66
|
+
console.log(result.text);
|
|
67
|
+
}
|
|
68
|
+
} else if (process.argv.includes("--subject") && node) console.log(reviewSubject(root, node));
|
|
69
|
+
else {
|
|
70
|
+
if (!node && !process.argv.includes("--all")) throw new Error("Use --node ID or --all [--site PATH] [--json]");
|
|
71
|
+
const results = node ? [gradeNode(root, node)] : gradeAll(root);
|
|
72
|
+
if (process.argv.includes("--json")) console.log(JSON.stringify(results, null, 2));
|
|
73
|
+
else for (const r of results) console.log(`${r.skipped ? "HISTORICAL" : r.ok ? "PASS" : "FAIL"} ${r.node}
|
|
74
|
+
${r.skipped || r.failures.join("\n")}`);
|
|
75
|
+
process.exitCode = results.every((r) => r.ok) ? 0 : 1;
|
|
76
|
+
}
|
package/bin/vitris-go.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
creativeRunStatus,
|
|
4
|
+
creativeRunStatusSnapshot,
|
|
5
|
+
handleDesignRunCommand,
|
|
6
|
+
promoteCreativeRun,
|
|
7
|
+
runCreativeProfile,
|
|
8
|
+
runSite,
|
|
9
|
+
statusSite
|
|
10
|
+
} from "./chunks/chunk-FYN4T4SV.js";
|
|
11
|
+
import "./chunks/chunk-YQYHROLZ.js";
|
|
12
|
+
import "./chunks/chunk-34H54KEY.js";
|
|
13
|
+
import "./chunks/chunk-JCRGE6AL.js";
|
|
14
|
+
import "./chunks/chunk-XL2DRAYI.js";
|
|
15
|
+
import {
|
|
16
|
+
argFrom,
|
|
17
|
+
hasFlag,
|
|
18
|
+
persistSiteInputs,
|
|
19
|
+
resolveSiteInputs,
|
|
20
|
+
runWorkflow,
|
|
21
|
+
siteInputsFromArgv
|
|
22
|
+
} from "./chunks/chunk-3CTBXY5K.js";
|
|
23
|
+
import "./chunks/chunk-DSS2U2OM.js";
|
|
24
|
+
import "./chunks/chunk-M4LNHYYR.js";
|
|
25
|
+
import "./chunks/chunk-DRJQ4OOU.js";
|
|
26
|
+
import "./chunks/chunk-PRLL7B63.js";
|
|
27
|
+
import "./chunks/chunk-5OOPJNGN.js";
|
|
28
|
+
import "./chunks/chunk-BBV7PMFC.js";
|
|
29
|
+
import "./chunks/chunk-TY33XMHW.js";
|
|
30
|
+
import "./chunks/chunk-R7YELY3C.js";
|
|
31
|
+
import "./chunks/chunk-BIEDSEL2.js";
|
|
32
|
+
import "./chunks/chunk-T7DGRVTP.js";
|
|
33
|
+
import "./chunks/chunk-AUO5I56E.js";
|
|
34
|
+
import "./chunks/chunk-6H3T46F5.js";
|
|
35
|
+
import "./chunks/chunk-M2ETYSVJ.js";
|
|
36
|
+
import "./chunks/chunk-FOXUQXTV.js";
|
|
37
|
+
import "./chunks/chunk-IKNMBGGD.js";
|
|
38
|
+
import "./chunks/chunk-WEFDVXFX.js";
|
|
39
|
+
import {
|
|
40
|
+
isPreserveSite
|
|
41
|
+
} from "./chunks/chunk-E5Y46VBX.js";
|
|
42
|
+
import "./chunks/chunk-4GZCAWWK.js";
|
|
43
|
+
import "./chunks/chunk-ANMJRJQ5.js";
|
|
44
|
+
import "./chunks/chunk-HNORQ74T.js";
|
|
45
|
+
import "./chunks/chunk-YCVGD2CG.js";
|
|
46
|
+
import "./chunks/chunk-LKN75JGA.js";
|
|
47
|
+
import "./chunks/chunk-YYPYYOEV.js";
|
|
48
|
+
import "./chunks/chunk-GZDLXYZV.js";
|
|
49
|
+
import "./chunks/chunk-G7MNMULR.js";
|
|
50
|
+
import "./chunks/chunk-T6PE4KN4.js";
|
|
51
|
+
import "./chunks/chunk-7FS67SRF.js";
|
|
52
|
+
|
|
53
|
+
// scripts/workflow.ts
|
|
54
|
+
import { dirname, resolve } from "node:path";
|
|
55
|
+
import { fileURLToPath } from "node:url";
|
|
56
|
+
var argv = process.argv;
|
|
57
|
+
if (argv.includes("--help")) {
|
|
58
|
+
console.log("Usage: vitris-go --site DIR [--template ID] [--template-release RELEASE] [--content TEXT | --content-file FILE] [--prepare] [--status] [--once] [--creative-profile [--resume]]");
|
|
59
|
+
process.exit(0);
|
|
60
|
+
}
|
|
61
|
+
if (hasFlag(argv, "--legacy-worker") || hasFlag(argv, "--worker") || Boolean(process.env.VITRIS_LEGACY_WORKER)) {
|
|
62
|
+
console.error("External model worker mode (--legacy-worker, --worker, VITRIS_LEGACY_WORKER) is not supported. Vitris runs strictly in active-agent mode.");
|
|
63
|
+
process.exit(1);
|
|
64
|
+
}
|
|
65
|
+
var workerNode = process.env.VITRIS_WORKER_NODE || process.env.VITRIS_TOOL_NODE;
|
|
66
|
+
if (workerNode) {
|
|
67
|
+
console.log(`You are already the dispatched ${workerNode} worker. The active lock belongs to your parent runner (${process.env.VITRIS_RUNNER_PID}); it is expected, not a blocker. Do not invoke go, --prepare or --complete. Execute agent/CURRENT.md directly and return your result to the parent.`);
|
|
68
|
+
process.exit(0);
|
|
69
|
+
}
|
|
70
|
+
var root = resolve(argFrom(argv, "--site") || ".");
|
|
71
|
+
var kernel = resolve(dirname(fileURLToPath(import.meta.url)), "..");
|
|
72
|
+
var suppliedInputs = siteInputsFromArgv(argv);
|
|
73
|
+
if (Object.values(suppliedInputs).some((value) => value !== void 0)) {
|
|
74
|
+
if (["--complete", "--status", "--print-status", "--promote"].some((flag) => argv.includes(flag))) throw Error("Supply template/content inputs when starting or preparing a run");
|
|
75
|
+
persistSiteInputs(root, resolveSiteInputs(suppliedInputs));
|
|
76
|
+
}
|
|
77
|
+
if (isPreserveSite(root)) {
|
|
78
|
+
const result = hasFlag(argv, "--status") ? await statusSite({ site: root }) : await runSite({ site: root, creativeProfile: hasFlag(argv, "--creative-profile"), variants: argFrom(argv, "--variants"), theme: argFrom(argv, "--theme"), onLog: console.log });
|
|
79
|
+
console.log(result.summary || result.error);
|
|
80
|
+
process.exitCode = result.exitCode;
|
|
81
|
+
} else if (hasFlag(argv, "--creative-profile") || argFrom(argv, "--creative-run")) {
|
|
82
|
+
if (hasFlag(argv, "--status") || hasFlag(argv, "--print-status")) {
|
|
83
|
+
console.log(JSON.stringify(creativeRunStatusSnapshot(root, argFrom(argv, "--creative-run")) || { status: "not_started" }, null, 2));
|
|
84
|
+
} else if (hasFlag(argv, "--promote")) {
|
|
85
|
+
const target = creativeRunStatus(root, argFrom(argv, "--creative-run"));
|
|
86
|
+
if (!target) throw new Error("No creative run to promote");
|
|
87
|
+
const result = promoteCreativeRun(root, target.id);
|
|
88
|
+
console.log(`Promoted selected source. Backup: ${result.backup}`);
|
|
89
|
+
} else {
|
|
90
|
+
const result = await runCreativeProfile(root, kernel, argv);
|
|
91
|
+
console.log(result.summary);
|
|
92
|
+
if (result.previewUrl) console.log(`Local preview: ${result.previewUrl}`);
|
|
93
|
+
process.exitCode = result.exitCode;
|
|
94
|
+
}
|
|
95
|
+
} else if (argFrom(argv, "--variants") || argFrom(argv, "--design-run") || hasFlag(argv, "--review") || hasFlag(argv, "--public-bundle")) {
|
|
96
|
+
process.exitCode = await handleDesignRunCommand({ root, kernel, argv });
|
|
97
|
+
} else {
|
|
98
|
+
process.exitCode = (await runWorkflow({ root, kernel, argv })).exitCode;
|
|
99
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
gatherOnboard,
|
|
4
|
+
normalizeSourceUrl,
|
|
5
|
+
persistOnboard
|
|
6
|
+
} from "./chunks/chunk-Z2UNY47A.js";
|
|
7
|
+
import {
|
|
8
|
+
loadDevVars
|
|
9
|
+
} from "./chunks/chunk-XGTHGWPW.js";
|
|
10
|
+
import {
|
|
11
|
+
gradeHarvest
|
|
12
|
+
} from "./chunks/chunk-3CTBXY5K.js";
|
|
13
|
+
import "./chunks/chunk-DSS2U2OM.js";
|
|
14
|
+
import "./chunks/chunk-M4LNHYYR.js";
|
|
15
|
+
import "./chunks/chunk-DRJQ4OOU.js";
|
|
16
|
+
import "./chunks/chunk-PRLL7B63.js";
|
|
17
|
+
import "./chunks/chunk-5OOPJNGN.js";
|
|
18
|
+
import "./chunks/chunk-BBV7PMFC.js";
|
|
19
|
+
import "./chunks/chunk-TY33XMHW.js";
|
|
20
|
+
import "./chunks/chunk-R7YELY3C.js";
|
|
21
|
+
import "./chunks/chunk-BIEDSEL2.js";
|
|
22
|
+
import "./chunks/chunk-T7DGRVTP.js";
|
|
23
|
+
import "./chunks/chunk-AUO5I56E.js";
|
|
24
|
+
import "./chunks/chunk-6H3T46F5.js";
|
|
25
|
+
import "./chunks/chunk-M2ETYSVJ.js";
|
|
26
|
+
import "./chunks/chunk-FOXUQXTV.js";
|
|
27
|
+
import "./chunks/chunk-IKNMBGGD.js";
|
|
28
|
+
import "./chunks/chunk-WEFDVXFX.js";
|
|
29
|
+
import "./chunks/chunk-E5Y46VBX.js";
|
|
30
|
+
import "./chunks/chunk-4GZCAWWK.js";
|
|
31
|
+
import "./chunks/chunk-ANMJRJQ5.js";
|
|
32
|
+
import "./chunks/chunk-HNORQ74T.js";
|
|
33
|
+
import "./chunks/chunk-YCVGD2CG.js";
|
|
34
|
+
import "./chunks/chunk-LKN75JGA.js";
|
|
35
|
+
import "./chunks/chunk-YYPYYOEV.js";
|
|
36
|
+
import "./chunks/chunk-GZDLXYZV.js";
|
|
37
|
+
import "./chunks/chunk-G7MNMULR.js";
|
|
38
|
+
import "./chunks/chunk-T6PE4KN4.js";
|
|
39
|
+
import "./chunks/chunk-7FS67SRF.js";
|
|
40
|
+
|
|
41
|
+
// scripts/harvest.ts
|
|
42
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
43
|
+
import { dirname, join, resolve } from "node:path";
|
|
44
|
+
import { fileURLToPath } from "node:url";
|
|
45
|
+
if (process.argv.includes("--help")) {
|
|
46
|
+
console.log("Usage: vitris-harvest --site DIR");
|
|
47
|
+
process.exit(0);
|
|
48
|
+
}
|
|
49
|
+
function arg(flag) {
|
|
50
|
+
const i = process.argv.indexOf(flag);
|
|
51
|
+
if (i === -1) return void 0;
|
|
52
|
+
return process.argv[i + 1];
|
|
53
|
+
}
|
|
54
|
+
function hasFlag(flag) {
|
|
55
|
+
return process.argv.includes(flag);
|
|
56
|
+
}
|
|
57
|
+
function findKernelRoot(siteRoot) {
|
|
58
|
+
if (process.env.VITRIS_HARNESS || process.env.VITRIS_KERNEL) return resolve(process.env.VITRIS_HARNESS || process.env.VITRIS_KERNEL);
|
|
59
|
+
const pkgPath = join(siteRoot, "package.json");
|
|
60
|
+
if (existsSync(pkgPath)) {
|
|
61
|
+
const pkg = JSON.parse(readFileSync(pkgPath, "utf8"));
|
|
62
|
+
const spec = pkg.dependencies?.["@tryvitris/website-harness"] || pkg.dependencies?.["@tryvitris/harness"] || pkg.dependencies?.["@vitris/harness"] || pkg.dependencies?.["@vitris/kernel"];
|
|
63
|
+
if (typeof spec === "string" && spec.startsWith("file:")) {
|
|
64
|
+
return resolve(siteRoot, spec.slice("file:".length));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
68
|
+
}
|
|
69
|
+
function sourceFromBrief(siteRoot) {
|
|
70
|
+
const launchPath = join(siteRoot, "launch.json");
|
|
71
|
+
if (existsSync(launchPath)) {
|
|
72
|
+
const launch = JSON.parse(readFileSync(launchPath, "utf8"));
|
|
73
|
+
if (launch.sourceUrl) return launch.sourceUrl;
|
|
74
|
+
}
|
|
75
|
+
const briefPath = join(siteRoot, "onboarding", "brief.json");
|
|
76
|
+
if (!existsSync(briefPath)) return "";
|
|
77
|
+
try {
|
|
78
|
+
const brief = JSON.parse(readFileSync(briefPath, "utf8"));
|
|
79
|
+
return typeof brief.sourceUrl === "string" ? brief.sourceUrl : "";
|
|
80
|
+
} catch {
|
|
81
|
+
return "";
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function slugFromSite(siteRoot) {
|
|
85
|
+
const sitePath = join(siteRoot, "site.json");
|
|
86
|
+
if (existsSync(sitePath)) {
|
|
87
|
+
try {
|
|
88
|
+
const site = JSON.parse(readFileSync(sitePath, "utf8"));
|
|
89
|
+
if (site.slug) return String(site.slug);
|
|
90
|
+
} catch {
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
const pkg = JSON.parse(readFileSync(join(siteRoot, "package.json"), "utf8"));
|
|
94
|
+
return (pkg.name || "site").toLowerCase().replace(/[^a-z0-9-]/g, "");
|
|
95
|
+
}
|
|
96
|
+
function nameFromSite(siteRoot) {
|
|
97
|
+
const sitePath = join(siteRoot, "site.json");
|
|
98
|
+
if (!existsSync(sitePath)) return void 0;
|
|
99
|
+
try {
|
|
100
|
+
const site = JSON.parse(readFileSync(sitePath, "utf8"));
|
|
101
|
+
return site.name;
|
|
102
|
+
} catch {
|
|
103
|
+
return void 0;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
var usage = `Usage: npm run harvest -- [--from URL] [--max-pages N] [--skip-images] [--fetch-only] [--no-prompt]
|
|
107
|
+
Run from the site repo after create-site. Reads source URL from onboarding/brief.json unless --from is set.
|
|
108
|
+
|
|
109
|
+
--max-pages is an emergency abort only. Prefer an unbounded crawl; the queue already visits home, about, and work before legal/shop. Do not pass 35 by habit.
|
|
110
|
+
|
|
111
|
+
Requires: npx playwright install chromium`;
|
|
112
|
+
async function main() {
|
|
113
|
+
if (hasFlag("--help") || hasFlag("-h")) {
|
|
114
|
+
console.log(usage);
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
const siteRoot = resolve(process.cwd());
|
|
118
|
+
if (!existsSync(join(siteRoot, "site.json")) || !existsSync(join(siteRoot, "package.json"))) {
|
|
119
|
+
console.error("Run harvest from a Vitris site repo (needs site.json).");
|
|
120
|
+
process.exit(1);
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
const kernelRoot = findKernelRoot(siteRoot);
|
|
124
|
+
loadDevVars(kernelRoot);
|
|
125
|
+
const fromArg = arg("--from") || sourceFromBrief(siteRoot);
|
|
126
|
+
if (!fromArg) {
|
|
127
|
+
if (gradeHarvest(siteRoot).ok) {
|
|
128
|
+
console.log("Blank starter: harvest not required");
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
console.error("No source URL. Pass --from https://old-site.example or set sourceUrl in onboarding/brief.json.");
|
|
132
|
+
process.exit(1);
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
const sourceUrl = normalizeSourceUrl(fromArg);
|
|
136
|
+
const slug = (arg("--slug") || slugFromSite(siteRoot)).toLowerCase().replace(/[^a-z0-9-]/g, "");
|
|
137
|
+
const name = arg("--name") || nameFromSite(siteRoot);
|
|
138
|
+
const skipImages = hasFlag("--skip-images");
|
|
139
|
+
const fetchOnly = hasFlag("--fetch-only");
|
|
140
|
+
const noPrompt = hasFlag("--no-prompt");
|
|
141
|
+
const maxPagesArg = arg("--max-pages");
|
|
142
|
+
const maxPages = maxPagesArg ? Math.max(1, Number(maxPagesArg) || 1) : void 0;
|
|
143
|
+
if (maxPages !== void 0) {
|
|
144
|
+
console.warn(
|
|
145
|
+
`--max-pages ${maxPages} is an emergency abort. Prefer unbounded harvest; home/about/work are already crawled first.`
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
console.log(`Harvest ${sourceUrl}`);
|
|
149
|
+
console.log(` site: ${siteRoot}`);
|
|
150
|
+
console.log(` kernel: ${kernelRoot}`);
|
|
151
|
+
const gathered = await gatherOnboard({
|
|
152
|
+
kernelRoot,
|
|
153
|
+
siteRoot,
|
|
154
|
+
slug,
|
|
155
|
+
sourceUrl,
|
|
156
|
+
name,
|
|
157
|
+
maxPages,
|
|
158
|
+
noPrompt,
|
|
159
|
+
skipImages,
|
|
160
|
+
fetchOnly,
|
|
161
|
+
fresh: hasFlag("--fresh")
|
|
162
|
+
});
|
|
163
|
+
persistOnboard(siteRoot, gathered.brief, {
|
|
164
|
+
pages: gathered.pages,
|
|
165
|
+
copyMarkdown: gathered.copyMarkdown,
|
|
166
|
+
exclusions: gathered.crawl.exclusions,
|
|
167
|
+
engine: gathered.crawl.engine,
|
|
168
|
+
unvisited: gathered.crawl.unvisited
|
|
169
|
+
});
|
|
170
|
+
const brief = gathered.brief;
|
|
171
|
+
if (!brief.pages.length) {
|
|
172
|
+
console.error("Harvest wrote no pages. See warnings in onboarding/brief.json.");
|
|
173
|
+
process.exit(1);
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
console.log(`Harvest complete: ${brief.pages.length} page(s), ${brief.images.length} image(s)`);
|
|
177
|
+
console.log(` outline: ${join(siteRoot, "onboarding", "outline.md")}`);
|
|
178
|
+
console.log(` media: ${join(siteRoot, "onboarding", "media.md")}`);
|
|
179
|
+
console.log(` inventory: ${join(siteRoot, "onboarding", "harvest-inventory.json")}`);
|
|
180
|
+
}
|
|
181
|
+
main().catch((err) => {
|
|
182
|
+
console.error(err instanceof Error ? err.message : err);
|
|
183
|
+
process.exit(1);
|
|
184
|
+
});
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ICON_VARIANTS,
|
|
4
|
+
ICON_VERSION,
|
|
5
|
+
STUDIO_VARIANTS,
|
|
6
|
+
availableIconVariants,
|
|
7
|
+
iconAliases,
|
|
8
|
+
iconIndustries,
|
|
9
|
+
iconVariantCount,
|
|
10
|
+
icons,
|
|
11
|
+
iconsForIndustry,
|
|
12
|
+
industriesForIcon,
|
|
13
|
+
industryIconReviews,
|
|
14
|
+
industryReviewCount,
|
|
15
|
+
industryStudioIconNames,
|
|
16
|
+
industryStudioReviews,
|
|
17
|
+
inspectIcon,
|
|
18
|
+
renderIcon,
|
|
19
|
+
searchIcons,
|
|
20
|
+
studioFamilyInfo,
|
|
21
|
+
studioIconNames
|
|
22
|
+
} from "./chunks/chunk-GZDLXYZV.js";
|
|
23
|
+
import {
|
|
24
|
+
escapeHtml
|
|
25
|
+
} from "./chunks/chunk-7FS67SRF.js";
|
|
26
|
+
|
|
27
|
+
// scripts/icons.ts
|
|
28
|
+
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
29
|
+
import { createServer } from "node:http";
|
|
30
|
+
import { dirname, resolve } from "node:path";
|
|
31
|
+
import { pathToFileURL } from "node:url";
|
|
32
|
+
|
|
33
|
+
// src/icons/gallery.ts
|
|
34
|
+
function iconGalleryHtml() {
|
|
35
|
+
const categories = [...new Set(icons.map((icon) => icon.category))];
|
|
36
|
+
const cards = icons.map((icon) => {
|
|
37
|
+
const industries = industriesForIcon(icon.name);
|
|
38
|
+
const aliases = Object.keys(iconAliases).filter((alias) => iconAliases[alias] === icon.name);
|
|
39
|
+
const search = [icon.name, icon.category, ...icon.keywords, ...aliases, ...industries.flatMap((industry) => [industry.label, ...industry.terms])].join(" ").toLowerCase();
|
|
40
|
+
const review = industryIconReviews[icon.name];
|
|
41
|
+
const usage = review ? `Industry review v${review.version}: ${review.decision}. Recommended minimum ${review.minSize}px. ${review.note} ${review.compactAlternative ? `For smaller spaces, consider ${review.compactAlternative} with the service label, or omit the icon; it is a broader related symbol.` : "Keep the service label visible; omit the icon if a smaller space cannot preserve its meaning."}` : "Choose by meaning and inspect at the actual page size. Keep a coherent family and label icon-only controls on the control.";
|
|
42
|
+
return `<button class="tile" type="button" data-name="${icon.name}" data-variants="${availableIconVariants(icon.name).join(" ")}" data-refined="${icon.refinedVersion ? "yes" : "no"}" data-industry-studio="${industryStudioReviews[icon.name] ? "yes" : "no"}" data-reviewed="${review ? "yes" : "no"}" data-redrawn="${review?.decision === "redrawn" ? "yes" : "no"}" data-usage="${escapeHtml(usage)}" data-min-size="${review?.minSize ?? 16}" data-category="${icon.category}" data-industries="${industries.map((industry) => industry.id).join(" ")}" data-search="${escapeHtml(search)}" aria-label="Inspect ${icon.name}" aria-pressed="false"><span class="samples">${availableIconVariants(icon.name).map((variant) => `<span class="sample" data-family="${variant}" data-set="${STUDIO_VARIANTS.includes(variant) ? "studio" : "core"}">${renderIcon(icon.name, { variant })}<small>${variant}</small></span>`).join("")}</span><span class="name">${icon.name}</span><span class="category">${icon.category}${review ? ` \xB7 ${review.decision === "redrawn" ? "redrawn" : "reviewed"} v4` : icon.refinedVersion ? ` \xB7 refined v${icon.refinedVersion}` : ""}${industryStudioReviews[icon.name] ? " \xB7 studio v5" : ""}</span></button>`;
|
|
43
|
+
}).join("");
|
|
44
|
+
return `<!doctype html>
|
|
45
|
+
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vitris Icons \u2014 original SVG library</title>
|
|
46
|
+
<style>
|
|
47
|
+
*{box-sizing:border-box} :root{color-scheme:light;--bg:#f5f4f0;--surface:#fff;--ink:#202b29;--muted:#52615d;--line:#d7ded7;--accent:#275d43;--wash:#eaf0e9;--size:32px}
|
|
48
|
+
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,sans-serif}body.dark{color-scheme:dark;--bg:#15221e;--surface:#1c2e27;--ink:#f0f4ed;--muted:#b1c2b7;--line:#40594b;--accent:#a5d59d;--wash:#2d4335}
|
|
49
|
+
button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button,input,select{min-height:44px}button{border:1px solid var(--line);background:var(--surface);border-radius:8px}button:hover{border-color:var(--accent)}[hidden]{display:none!important}
|
|
50
|
+
header{padding:44px 4vw 32px;border-bottom:1px solid var(--line);display:flex;gap:32px;justify-content:space-between;align-items:flex-start}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:750;color:var(--accent)}h1{font-size:clamp(36px,5vw,60px);line-height:1.05;letter-spacing:-.055em;margin:12px 0 16px;font-weight:600}header p{max-width:640px;color:var(--muted);margin:0}.edition{text-align:right;white-space:nowrap;font:12px/1.7 ui-monospace,monospace}.edition b{display:block;font-size:20px;color:var(--accent)}
|
|
51
|
+
.toolbar{padding:20px 4vw;display:flex;gap:16px;flex-wrap:wrap;align-items:end;border-bottom:1px solid var(--line);background:var(--bg)}label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650}input[type=search],select{border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:10px 12px}input[type=search]{width:min(360px,85vw)}.range{width:120px}#industry{max-width:min(300px,85vw)}.toolbar>button{padding:8px 14px;margin-left:auto}.toolbar input[type=range]{accent-color:var(--accent)}
|
|
52
|
+
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;padding:28px 4vw 64px}.result-head{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted);margin-bottom:18px}.result-head p{margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.tile{text-align:left;padding:20px 14px 14px;min-width:0;transition:border-color .1s}.tile[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--wash)}.samples{min-height:72px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.sample{display:none;align-items:center;flex-direction:column;gap:8px}.sample svg{width:var(--size);height:var(--size);overflow:visible;flex:none}.sample small{display:none;font-size:9px;color:var(--muted)}body[data-variant=light] .sample[data-family=light],body[data-variant=regular] .sample[data-family=regular],body[data-variant=solid] .sample[data-family=solid],body[data-variant=duotone] .sample[data-family=duotone],${STUDIO_VARIANTS.map((variant) => `body[data-variant=${variant}] .sample[data-family=${variant}]`).join(",")},body[data-variant=compare] .sample[data-set=core],body[data-variant=compare-studio] .sample[data-set=studio]{display:flex}body[data-variant=compare] .sample small,body[data-variant=compare-studio] .sample small{display:block}body[data-variant=compare] .grid,body[data-variant=compare-studio] .grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,calc(var(--size)*var(--sample-count,4) + 100px)),1fr))}.name{display:block;font:12px/1.4 ui-monospace,monospace;overflow-wrap:anywhere;margin-top:12px}.category{display:block;color:var(--muted);font-size:10px;margin-top:4px}
|
|
53
|
+
aside{position:sticky;top:24px;align-self:start;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px}aside h2{font:18px/1.5 ui-monospace,monospace;margin:8px 0;overflow-wrap:anywhere}#preview{min-height:170px;display:grid;place-items:center;background:var(--wash);border-radius:8px;margin:16px 0}#preview svg{width:88px;height:88px;overflow:visible}#detail{color:var(--muted);font-size:12px;min-height:36px}.code-label{margin-top:16px}textarea{display:block;width:100%;resize:vertical;min-height:100px;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:10px;color:var(--ink);font:11px/1.7 ui-monospace,monospace}.actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.actions button{padding:8px 12px;font-size:12px}.actions .primary{background:var(--accent);color:var(--surface);border-color:var(--accent)}#feedback{min-height:24px;color:var(--accent);font-size:12px;margin-top:12px}.note{font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin:12px 0 0}.empty{padding:32px;color:var(--muted)}footer{padding:24px 4vw;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
|
|
54
|
+
@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media(max-width:720px){header{padding-top:28px}.edition{display:none}.toolbar{gap:12px}.workspace{display:flex;flex-direction:column}.workspace aside{position:static;order:-1}#preview{min-height:100px}#preview svg{width:60px;height:60px}.grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.toolbar>button{margin-left:0}.range{width:100px}.workspace aside textarea{min-height:66px}}
|
|
55
|
+
.duotone-controls{display:none;gap:16px;align-items:end;flex-wrap:wrap;padding:16px 4vw;border-bottom:1px solid var(--line);background:var(--wash)}body[data-variant=duotone] .duotone-controls,body[data-variant=imprint] .duotone-controls,body[data-variant=compare] .duotone-controls,body[data-variant=compare-studio] .duotone-controls{display:flex}.duotone-controls select{max-width:200px}.duotone-controls input[type=color]{width:60px;padding:4px;border:1px solid var(--line);background:var(--surface);border-radius:6px}.duotone-controls input[type=range]{width:130px;accent-color:var(--accent)}.duotone-controls p{font-size:12px;color:var(--muted);max-width:340px;margin:0}.palette-code{display:none}body[data-layered-inspector=true] .palette-code{display:block}button.palette-code{display:none}body[data-layered-inspector=true] button.palette-code{display:inline-block}
|
|
56
|
+
body[data-variant=compare-studio]{--sample-count:5}#family-note{padding:12px 4vw;margin:0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);background:var(--surface)}
|
|
57
|
+
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
|
|
58
|
+
</style></head><body data-variant="regular">
|
|
59
|
+
<header><div><div class="eyebrow">Vitris / Drawing room</div><h1>Small shapes.<br>Same everywhere.</h1><p>Original SVG icons for the websites we build. Explore the full collection, compare the drawings, and copy just the icon you need.</p></div><div class="edition">COLLECTION V${ICON_VERSION}<b>${icons.length} icons</b>${iconVariantCount} authored variants \xB7 ${categories.length} categories \xB7 ${iconIndustries.length} industries<br>24 \xD7 24 master grid<br>Zero client dependencies</div></header>
|
|
60
|
+
<div class="toolbar"><label>Find an icon<input type="search" id="search" placeholder="Try plumber, appointment, arrow\u2026" autocomplete="off"></label><label>Category<select id="category"><option value="">All categories</option>${categories.map((category) => `<option>${category}</option>`).join("")}</select></label><label>Industry<select id="industry"><option value="">All industries</option>${iconIndustries.map((industry) => `<option value="${industry.id}">${industry.label}</option>`).join("")}</select></label><label>Style<select id="variant"><option value="light">Light</option><option value="regular" selected>Regular</option><option value="solid">Solid</option><option value="duotone">Duotone</option>${STUDIO_VARIANTS.map((variant) => `<option value="${variant}">${studioFamilyInfo[variant].label}</option>`).join("")}<option value="compare">Compare core styles</option><option value="compare-studio">Compare new families</option></select></label><label>Revision<select id="revision"><option value="">All drawings</option><option value="industry-studio">Industry studio v5</option><option value="reviewed">Industry reviewed v4</option><option value="redrawn">Industry redrawn v4</option><option value="refined">Refined in v3 or v4</option></select></label><label class="range">Preview size \xB7 <span id="size-label">32 px</span><input type="range" id="size" min="16" max="64" step="4" value="32"></label><button id="theme" type="button" aria-pressed="false">Dark canvas</button></div>
|
|
61
|
+
<div class="duotone-controls" aria-label="Duotone palette"><label>Palette<select id="palette"><option value="tonal">Tonal \xB7 current color</option><option value="forest">Forest & gold</option><option value="ocean">Ink & blue</option><option value="orchid">Plum & coral</option><option value="custom">Custom</option></select></label><label>Primary<input id="primary-color" type="color" value="#275d43"></label><label>Secondary<input id="secondary-color" type="color" value="#dba53b"></label><label>Secondary opacity \xB7 <span id="opacity-label">35%</span><input id="secondary-opacity" type="range" min="0" max="1" step=".05" value=".35"></label><p>Independent SVG shape layers. Named presets adapt to the canvas; custom colors stay as chosen. Check both layers against the actual page background.</p></div>
|
|
62
|
+
<p id="family-note" role="status"></p>
|
|
63
|
+
<main class="workspace"><section aria-label="Icon collection"><div class="result-head"><p id="count" role="status">${icons.length} icons</p><p>Choose an icon to inspect</p></div><div class="grid">${cards}</div><p class="empty" id="empty" hidden>No matching authored icons. Try another family, industry, category or revision.</p></section><aside aria-label="Selected icon"><div class="eyebrow">Icon inspector</div><h2 id="selected-name">arrow-right</h2><div id="preview"></div><p id="detail"></p><p class="note" id="usage"></p><label class="code-label">Authoring markup<textarea id="markup" readonly spellcheck="false" aria-label="Authoring markup"></textarea></label><label class="code-label palette-code">Palette CSS<textarea id="palette-css" readonly spellcheck="false" aria-label="Palette CSS"></textarea></label><div class="actions"><button type="button" id="copy-tag" class="primary">Copy tag</button><button type="button" id="copy-svg">Copy SVG</button><button type="button" id="copy-css" class="palette-code">Copy CSS</button><button type="button" id="download">Download SVG</button></div><div id="feedback" role="status"></div><p class="note">Tags compile into inline SVG. A published page receives only the icons it uses, with no catalog, icon font, JavaScript, or icon requests. The core comparison inspector uses Duotone; the new-family comparison uses Imprint. Palette colors are included when copying or downloading SVG.</p><p class="note">Decorative by default. Label icon-only buttons on the button itself. For a meaningful standalone image, add aria-label to the icon tag.</p></aside></main>
|
|
64
|
+
<footer>Original Vitris drawings \xB7 No imported icon paths or brand marks \xB7 Original masters: src/icons/catalog.ts, industry.ts, studio.ts, refinements.ts and industry-refinements-v4.ts and studio-industry.ts \xB7 New families are available only where individually authored. Reviewed v4 covers all 224 industry drawings; redrawn v4 identifies changed geometry. Agent review is not human approval. \xB7 New-build support; existing sites and hosted templates are unchanged.</footer>
|
|
65
|
+
<script>
|
|
66
|
+
const $=id=>document.getElementById(id),tiles=[...document.querySelectorAll('.tile')];
|
|
67
|
+
let selected=tiles.find(t=>t.dataset.name===location.hash.slice(1))||tiles[0],currentSvg='',currentTag='';
|
|
68
|
+
const reviewedCount=${industryReviewCount},redrawnCount=${Object.values(industryIconReviews).filter((review) => review.decision === "redrawn").length};
|
|
69
|
+
const studioIndustryNames=${JSON.stringify(industryStudioIconNames)},studioReviews=${JSON.stringify(Object.fromEntries(Object.entries(industryStudioReviews).map(([name, review]) => [name, { version: review.version, minSizes: review.minSizes, note: review.note }])))};
|
|
70
|
+
const familyInfo=${JSON.stringify(studioFamilyInfo)},studioNames=${JSON.stringify(studioIconNames)};
|
|
71
|
+
function family(){return $('variant').value==='compare'?'duotone':$('variant').value==='compare-studio'?'imprint':$('variant').value}
|
|
72
|
+
function layered(){return ['duotone','imprint'].includes(family())}
|
|
73
|
+
function compatible(tile){return !!tile.querySelector('[data-family="'+family()+'"] svg')}
|
|
74
|
+
function reconcile(){if(!compatible(selected)||selected.hidden)selected=tiles.find(tile=>!tile.hidden&&compatible(tile))||tiles.find(compatible);document.body.dataset['layeredInspector']=String(layered());inspect(selected)}
|
|
75
|
+
function inspect(tile){if(!tile||!compatible(tile))return;selected=tile;tiles.forEach(t=>t.setAttribute('aria-pressed',String(t===tile)));const svg=tile.querySelector('[data-family="'+family()+'"] svg');const exported=svg.cloneNode(true);if(layered()){if($('palette').value!=='tonal'){exported.style.setProperty('--icon-primary-color',$('primary-color').value);exported.style.setProperty('--icon-secondary-color',$('secondary-color').value)}exported.style.setProperty('--icon-secondary-opacity',$('secondary-opacity').value)}currentSvg=exported.outerHTML;$('preview').innerHTML=currentSvg;$('selected-name').textContent=tile.dataset.name;$('detail').textContent=tile.dataset.category+' \xB7 '+family()+' \xB7 '+new TextEncoder().encode(currentSvg).length+' bytes before compression';showUsage();currentTag='<vitris-icon name="'+tile.dataset.name+'"'+(family()==='regular'?'':' variant="'+family()+'"')+(layered()&&($('palette').value!=='tonal'||Number($('secondary-opacity').value)!==.35)?' class="custom-icon"':'')+'></vitris-icon>';$('markup').value=currentTag;$('palette-css').value='.custom-icon { '+($('palette').value==='tonal'?'':'--icon-primary-color: '+$('primary-color').value+'; --icon-secondary-color: '+$('secondary-color').value+'; ')+'--icon-secondary-opacity: '+$('secondary-opacity').value+'; }';$('feedback').textContent='';}
|
|
76
|
+
function showUsage(){if(!selected)return;const review=studioReviews[selected.dataset.name],isStudio=!!familyInfo[family()];let note=selected.dataset.usage,min=Number(selected.dataset.minSize);if(review&&isStudio){const compare=$('variant').value==='compare-studio';min=compare?Math.max(...Object.values(review.minSizes)):review.minSizes[family()];note='Industry studio v'+review.version+'. '+(compare?'Row recommendations: '+Object.entries(review.minSizes).map(([name,size])=>name+' '+size+'px+').join(', ')+'. ':'Recommended minimum '+min+'px for '+family()+'. ')+review.note+' Use a core master or text alone for compact controls.'}$('usage').textContent=note+(Number($('size').value)<min?' Current preview is below the recommended minimum.':'')}
|
|
77
|
+
function filter(){const terms=$('search').value.toLowerCase().trim().split(/\\s+/).filter(Boolean),cat=$('category').value,industry=$('industry').value,revision=$('revision').value,variant=$('variant').value;let count=0;tiles.forEach(t=>{t.hidden=!!((revision==='industry-studio'&&t.dataset.industryStudio!=='yes')||(revision==='refined'&&t.dataset.refined!=='yes')||(revision==='reviewed'&&t.dataset.reviewed!=='yes')||(revision==='redrawn'&&t.dataset.redrawn!=='yes')||(variant==='compare-studio'&&!studioNames.includes(t.dataset.name))||(!variant.startsWith('compare')&&!t.dataset.variants.split(' ').includes(variant))||(cat&&t.dataset.category!==cat)||(industry&&!t.dataset.industries.split(' ').includes(industry))||!terms.every(q=>t.dataset.search.includes(q)));if(!t.hidden)count++});$('count').textContent=count+' of '+tiles.length+' icons';$('empty').hidden=count>0;$('family-note').textContent=familyInfo[variant]?familyInfo[variant].description+' '+studioNames.length+' individually authored icons in this family ('+(studioNames.length-studioIndustryNames.length)+' core, '+studioIndustryNames.length+' industry). Industry studio v5 isolates the new selection.':variant==='compare-studio'?'Five original families, the same '+studioNames.length+' symbols ('+(studioNames.length-studioIndustryNames.length)+' core, '+studioIndustryNames.length+' industry). Compare silhouette, spacing, counters and small-size clarity.':'Core collection: ${icons.length} icons. All '+reviewedCount+' industry icons reviewed in v4; '+redrawnCount+' redrawn, '+(reviewedCount-redrawnCount)+' retained. Use the Revision filter to inspect either group.';}
|
|
78
|
+
tiles.forEach(tile=>tile.addEventListener('click',()=>{inspect(tile);history.replaceState(null,'','#'+tile.dataset.name)}));
|
|
79
|
+
$('search').addEventListener('input',()=>{filter();reconcile()});$('category').addEventListener('change',()=>{filter();reconcile()});$('industry').addEventListener('change',()=>{filter();reconcile()});$('revision').addEventListener('change',()=>{filter();reconcile()});$('variant').addEventListener('change',()=>{document.body.dataset.variant=$('variant').value;filter();reconcile()});
|
|
80
|
+
$('size').addEventListener('input',()=>{document.documentElement.style.setProperty('--size',$('size').value+'px');$('size-label').textContent=$('size').value+' px';showUsage()});
|
|
81
|
+
$('theme').addEventListener('click',()=>{const dark=document.body.classList.toggle('dark');$('theme').setAttribute('aria-pressed',String(dark));$('theme').textContent=dark?'Light canvas':'Dark canvas';const preset=(dark?darkPalettes:palettes)[$('palette').value];if(preset){$('primary-color').value=preset[0];$('secondary-color').value=preset[1];paletteChanged()}});
|
|
82
|
+
const palettes={forest:['#275d43','#dba53b'],ocean:['#19394d','#62b6d9'],orchid:['#563451','#f09c86']},darkPalettes={forest:['#b5dda5','#dba53b'],ocean:['#b3d9ed','#62b6d9'],orchid:['#e8c3e0','#f09c86']};
|
|
83
|
+
function paletteChanged(){const custom=$('palette').value!=='tonal';for(const key of ['primary','secondary']){if(custom)document.documentElement.style.setProperty('--icon-'+key+'-color',$(key+'-color').value);else document.documentElement.style.removeProperty('--icon-'+key+'-color')}document.documentElement.style.setProperty('--icon-secondary-opacity',$('secondary-opacity').value);$('opacity-label').textContent=Math.round(Number($('secondary-opacity').value)*100)+'%';inspect(selected)}
|
|
84
|
+
$('palette').addEventListener('change',()=>{const preset=(document.body.classList.contains('dark')?darkPalettes:palettes)[$('palette').value];if(preset){$('primary-color').value=preset[0];$('secondary-color').value=preset[1];$('secondary-opacity').value='1'}else if($('palette').value==='tonal')$('secondary-opacity').value='.35';paletteChanged()});for(const key of ['primary-color','secondary-color'])$(key).addEventListener('input',()=>{$('palette').value='custom';paletteChanged()});$('secondary-opacity').addEventListener('input',paletteChanged);$('copy-css').addEventListener('click',()=>copy($('palette-css').value));
|
|
85
|
+
async function copy(value){try{await navigator.clipboard.writeText(value);$('feedback').textContent='Copied to clipboard.'}catch{$('markup').value=value;$('markup').focus();$('markup').select();$('feedback').textContent='Text selected. Press Ctrl+C or Command+C to copy.'}}
|
|
86
|
+
$('copy-tag').addEventListener('click',()=>copy(currentTag));$('copy-svg').addEventListener('click',()=>copy(currentSvg));$('download').addEventListener('click',()=>{const url=URL.createObjectURL(new Blob([currentSvg],{type:'image/svg+xml'})),a=document.createElement('a');a.href=url;a.download='vitris-'+selected.dataset.name+'-'+family()+'.svg';a.click();setTimeout(()=>URL.revokeObjectURL(url),1000)});
|
|
87
|
+
const initial=new URLSearchParams(location.search);for(const id of ['variant','industry','category','palette','revision']){const value=initial.get(id);if(value&&[...$(id).options].some(option=>option.value===value))$(id).value=value}if(initial.has('q'))$('search').value=initial.get('q');document.body.dataset.variant=$('variant').value;if($('palette').value!=='tonal')$('palette').dispatchEvent(new Event('change'));filter();reconcile();
|
|
88
|
+
window.addEventListener('hashchange',()=>{const tile=tiles.find(t=>t.dataset.name===location.hash.slice(1));if(tile)inspect(tile)});inspect(selected);
|
|
89
|
+
</script></body></html>`;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// scripts/icons.ts
|
|
93
|
+
async function iconsCommand(args) {
|
|
94
|
+
const command = args[0] ?? "list";
|
|
95
|
+
if (args.includes("--help") || args.includes("-h")) {
|
|
96
|
+
console.log("Usage: vitris-icons list [--json] | search QUERY [--json] | inspect NAME [--json] | industries [--json] | gallery [--out FILE] [--serve] [--port 4391]");
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (command === "inspect") {
|
|
100
|
+
if (!args[1] || args[1].startsWith("--")) throw Error("inspect requires an icon name.");
|
|
101
|
+
const detail = inspectIcon(args[1]);
|
|
102
|
+
console.log(args.includes("--json") ? JSON.stringify(detail, null, 2) : `${detail.name} \xB7 ${detail.category}
|
|
103
|
+
Variants: ${detail.variants.join(", ")}
|
|
104
|
+
${detail.review ? `Core industry review v${detail.review.version}: ${detail.review.decision}. Recommended minimum: ${detail.review.minSize}px. ${detail.review.compactAlternative ? `Compact related symbol: ${detail.review.compactAlternative}.` : "For smaller spaces, omit the icon and retain its label."}
|
|
105
|
+
${detail.review.note}
|
|
106
|
+
` : ""}${detail.studioReview ? `Industry studio review v${detail.studioReview.version}: ${Object.entries(detail.studioReview.minSizes).map(([family, size]) => family + " " + size + "px+").join(", ")}.
|
|
107
|
+
${detail.studioReview.note}
|
|
108
|
+
` : ""}${detail.usage}`);
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
if (command === "industries") {
|
|
112
|
+
const coverage = iconIndustries.map((industry) => ({ ...industry, icons: iconsForIndustry(industry).map((icon) => icon.name) }));
|
|
113
|
+
console.log(args.includes("--json") ? JSON.stringify({ version: ICON_VERSION, industries: coverage }, null, 2) : coverage.map((industry) => `${industry.label.padEnd(36)} ${industry.icons.length} icons`).join("\n"));
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
if (command === "list" || command === "search") {
|
|
117
|
+
const query = command === "search" ? args.slice(1).filter((arg) => arg !== "--json").join(" ") : "";
|
|
118
|
+
const found = searchIcons(query);
|
|
119
|
+
if (args.includes("--json")) console.log(JSON.stringify({ version: ICON_VERSION, variants: ICON_VARIANTS, icons: found.map(({ name, category, keywords, refinedVersion, reviewedVersion }) => ({ name, category, keywords, variants: availableIconVariants(name), ...refinedVersion ? { refinedVersion } : {}, ...reviewedVersion ? { reviewedVersion } : {} })) }, null, 2));
|
|
120
|
+
else console.log(found.map((icon) => `${icon.name.padEnd(20)} ${icon.category.padEnd(15)} ${icon.keywords.join(", ")}`).join("\n") || "No matching icons.");
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
if (command !== "gallery") throw new Error("Usage: vitris-icons list [--json] | search QUERY [--json] | inspect NAME [--json] | industries [--json] | gallery [--out FILE] [--serve] [--port 4391]");
|
|
124
|
+
const outIndex = args.indexOf("--out");
|
|
125
|
+
if (outIndex !== -1 && (!args[outIndex + 1] || args[outIndex + 1].startsWith("--"))) throw new Error("--out requires a file path.");
|
|
126
|
+
const out = resolve(outIndex === -1 ? "artifacts/icons/gallery.html" : args[outIndex + 1]);
|
|
127
|
+
const html = iconGalleryHtml();
|
|
128
|
+
await mkdir(dirname(out), { recursive: true });
|
|
129
|
+
await writeFile(out, html, "utf8");
|
|
130
|
+
console.log(`Icon gallery: ${out}`);
|
|
131
|
+
if (args.includes("--serve")) {
|
|
132
|
+
const portIndex = args.indexOf("--port");
|
|
133
|
+
const port = portIndex === -1 ? 4391 : Number(args[portIndex + 1]);
|
|
134
|
+
if (!Number.isInteger(port) || port < 1 || port > 65535) throw new Error("--port must be an integer between 1 and 65535.");
|
|
135
|
+
const server = createServer(async (req, res) => {
|
|
136
|
+
const path = new URL(req.url ?? "/", "http://127.0.0.1").pathname;
|
|
137
|
+
if (path !== "/" && path !== "/gallery.html") {
|
|
138
|
+
res.writeHead(404);
|
|
139
|
+
res.end("Not found");
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
try {
|
|
143
|
+
const current = await readFile(out, "utf8");
|
|
144
|
+
res.writeHead(200, { "content-type": "text/html; charset=utf-8", "cache-control": "no-store" });
|
|
145
|
+
res.end(current);
|
|
146
|
+
} catch {
|
|
147
|
+
res.writeHead(500);
|
|
148
|
+
res.end("Gallery unavailable. Regenerate with vitris-icons gallery.");
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
await new Promise((done, reject) => {
|
|
152
|
+
server.once("error", reject);
|
|
153
|
+
server.listen(port, "127.0.0.1", () => {
|
|
154
|
+
console.log(`http://127.0.0.1:${port}/`);
|
|
155
|
+
done();
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
if (process.argv[1] && import.meta.url === pathToFileURL(resolve(process.argv[1])).href) {
|
|
161
|
+
iconsCommand(process.argv.slice(2)).catch((error) => {
|
|
162
|
+
console.error(error.message);
|
|
163
|
+
process.exitCode = 1;
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
export {
|
|
167
|
+
iconsCommand
|
|
168
|
+
};
|