@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,619 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cancelSite,
|
|
3
|
+
deploySite,
|
|
4
|
+
importFeedback,
|
|
5
|
+
previewSite,
|
|
6
|
+
refineAmend,
|
|
7
|
+
refinePrepare,
|
|
8
|
+
refineSite,
|
|
9
|
+
refineVerify,
|
|
10
|
+
resumeSite,
|
|
11
|
+
runDoctor,
|
|
12
|
+
shareSite,
|
|
13
|
+
synthesizeSite
|
|
14
|
+
} from "./chunk-42IXFXUD.js";
|
|
15
|
+
import {
|
|
16
|
+
verifySite
|
|
17
|
+
} from "./chunk-VH7PM7KJ.js";
|
|
18
|
+
import {
|
|
19
|
+
upgradeSite
|
|
20
|
+
} from "./chunk-7VLBEAFW.js";
|
|
21
|
+
import {
|
|
22
|
+
createSite
|
|
23
|
+
} from "./chunk-4DM5TTLG.js";
|
|
24
|
+
import {
|
|
25
|
+
explainStage
|
|
26
|
+
} from "./chunk-CBEJZO4L.js";
|
|
27
|
+
import {
|
|
28
|
+
runSite,
|
|
29
|
+
statusSite,
|
|
30
|
+
workflowArgvFromFlags
|
|
31
|
+
} from "./chunk-FYN4T4SV.js";
|
|
32
|
+
import {
|
|
33
|
+
EXIT_CODES
|
|
34
|
+
} from "./chunk-JCRGE6AL.js";
|
|
35
|
+
import {
|
|
36
|
+
siteInputsFromFlags
|
|
37
|
+
} from "./chunk-3CTBXY5K.js";
|
|
38
|
+
import {
|
|
39
|
+
buildVerified
|
|
40
|
+
} from "./chunk-E5Y46VBX.js";
|
|
41
|
+
import {
|
|
42
|
+
approvedOrigin,
|
|
43
|
+
inspectForms,
|
|
44
|
+
safeId,
|
|
45
|
+
validateFormConfig
|
|
46
|
+
} from "./chunk-4GZCAWWK.js";
|
|
47
|
+
import {
|
|
48
|
+
findHarnessRoot
|
|
49
|
+
} from "./chunk-HNORQ74T.js";
|
|
50
|
+
import {
|
|
51
|
+
files
|
|
52
|
+
} from "./chunk-T6PE4KN4.js";
|
|
53
|
+
|
|
54
|
+
// src/cli/index.ts
|
|
55
|
+
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
56
|
+
import { resolve as resolve2 } from "node:path";
|
|
57
|
+
import { spawnSync } from "node:child_process";
|
|
58
|
+
|
|
59
|
+
// src/cli/events.ts
|
|
60
|
+
var EventStream = class {
|
|
61
|
+
mode;
|
|
62
|
+
events = [];
|
|
63
|
+
constructor(mode = "text") {
|
|
64
|
+
this.mode = mode;
|
|
65
|
+
}
|
|
66
|
+
getMode() {
|
|
67
|
+
return this.mode;
|
|
68
|
+
}
|
|
69
|
+
emit(event) {
|
|
70
|
+
const fullEvent = {
|
|
71
|
+
...event,
|
|
72
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
73
|
+
};
|
|
74
|
+
this.events.push(fullEvent);
|
|
75
|
+
if (this.mode === "events") {
|
|
76
|
+
process.stdout.write(JSON.stringify(fullEvent) + "\n");
|
|
77
|
+
} else if (this.mode === "text") {
|
|
78
|
+
if (event.type === "error") {
|
|
79
|
+
console.error(typeof event.data === "string" ? event.data : JSON.stringify(event.data));
|
|
80
|
+
} else if (event.type === "log" && typeof event.data === "string") {
|
|
81
|
+
console.log(event.data);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
log(message) {
|
|
86
|
+
this.emit({ type: "log", data: message });
|
|
87
|
+
}
|
|
88
|
+
error(message) {
|
|
89
|
+
this.emit({ type: "error", data: message });
|
|
90
|
+
}
|
|
91
|
+
status(status) {
|
|
92
|
+
this.emit({ type: "status", data: status });
|
|
93
|
+
}
|
|
94
|
+
finish(result) {
|
|
95
|
+
this.emit({ type: "result", data: result });
|
|
96
|
+
if (this.mode === "json") {
|
|
97
|
+
process.stdout.write(JSON.stringify(result, null, 2) + "\n");
|
|
98
|
+
} else if (this.mode === "text") {
|
|
99
|
+
if (!result.ok && result.error) {
|
|
100
|
+
console.error(`Error: ${result.error}`);
|
|
101
|
+
}
|
|
102
|
+
if (result.summary) {
|
|
103
|
+
console.log(result.summary);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
function determineOutputMode(flags) {
|
|
109
|
+
if (flags.json && flags.events) {
|
|
110
|
+
const err = new Error("--json and --events flags are mutually exclusive");
|
|
111
|
+
err.exitCode = EXIT_CODES.CONFIG_OR_CLI_ERROR;
|
|
112
|
+
throw err;
|
|
113
|
+
}
|
|
114
|
+
if (flags.json) return "json";
|
|
115
|
+
if (flags.events) return "events";
|
|
116
|
+
return "text";
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// src/cli/forms.ts
|
|
120
|
+
import { existsSync, readFileSync, writeFileSync, mkdirSync } from "node:fs";
|
|
121
|
+
import { join, resolve } from "node:path";
|
|
122
|
+
import { createHash } from "node:crypto";
|
|
123
|
+
|
|
124
|
+
// src/forms/cloudflare.ts
|
|
125
|
+
async function cloudflareRequest(access, path, method = "GET", body) {
|
|
126
|
+
const response = await fetch(`https://api.cloudflare.com/client/v4${path}`, { method, headers: { authorization: `Bearer ${access.token}`, "content-type": "application/json" }, signal: AbortSignal.timeout(15e3), ...body === void 0 ? {} : { body: JSON.stringify(body) } });
|
|
127
|
+
const result = await response.json();
|
|
128
|
+
if (!response.ok || !result.success) throw new Error(`Cloudflare ${method} ${path}: HTTP ${response.status}; codes ${(result.errors || []).map((e) => e.code).join(",")}. Check scoped token permissions.`);
|
|
129
|
+
return result.result;
|
|
130
|
+
}
|
|
131
|
+
async function listWidgets(access) {
|
|
132
|
+
const result = [];
|
|
133
|
+
for (let page = 1; page <= 20; page++) {
|
|
134
|
+
const rows = await cloudflareRequest(access, `/accounts/${access.account}/challenges/widgets?page=${page}&per_page=100`);
|
|
135
|
+
result.push(...rows.map((w) => ({ sitekey: w.sitekey, name: w.name, domains: w.domains })));
|
|
136
|
+
if (rows.length < 100) return result;
|
|
137
|
+
}
|
|
138
|
+
throw new Error("Widget pagination limit reached");
|
|
139
|
+
}
|
|
140
|
+
function allocateWidget(widgets, hostnames) {
|
|
141
|
+
const hosts = [...new Set(hostnames)].sort();
|
|
142
|
+
if (!hosts.length || hosts.length > 10 || hosts.some((h) => h.includes("*") || h.includes("/") || !h)) throw new Error("One to ten exact widget hostnames required");
|
|
143
|
+
const managed = widgets.filter((w) => /^vitris-forms-pool-\d+$/.test(w.name));
|
|
144
|
+
const existing = managed.find((w) => hosts.every((h) => w.domains.includes(h))) || managed.find((w) => (/* @__PURE__ */ new Set([...w.domains, ...hosts])).size <= 10);
|
|
145
|
+
if (existing) return { widget: existing, name: existing.name, domains: [.../* @__PURE__ */ new Set([...existing.domains, ...hosts])].sort() };
|
|
146
|
+
if (widgets.length >= 20) throw new Error("Free Turnstile widget capacity exhausted (20/account, 10 hostnames/widget). Arrange Enterprise limits or release reviewed unused capacity.");
|
|
147
|
+
let n = 1;
|
|
148
|
+
while (widgets.some((w) => w.name === `vitris-forms-pool-${n}`)) n++;
|
|
149
|
+
return { name: `vitris-forms-pool-${n}`, domains: hosts };
|
|
150
|
+
}
|
|
151
|
+
async function reconcileWidget(access, hostnames, apply) {
|
|
152
|
+
try {
|
|
153
|
+
await cloudflareRequest(access, "/user/tokens/verify");
|
|
154
|
+
} catch {
|
|
155
|
+
await cloudflareRequest(access, `/accounts/${access.account}/tokens/verify`);
|
|
156
|
+
}
|
|
157
|
+
const plan = allocateWidget(await listWidgets(access), hostnames);
|
|
158
|
+
if (!apply) return { sitekey: plan.widget?.sitekey, plan };
|
|
159
|
+
let widget;
|
|
160
|
+
if (!plan.widget) widget = await cloudflareRequest(access, `/accounts/${access.account}/challenges/widgets`, "POST", { name: plan.name, domains: plan.domains, mode: "managed", bot_fight_mode: false, clearance_level: "no_clearance" });
|
|
161
|
+
else if (JSON.stringify([...plan.widget.domains].sort()) !== JSON.stringify(plan.domains)) widget = await cloudflareRequest(access, `/accounts/${access.account}/challenges/widgets/${plan.widget.sitekey}`, "PUT", { name: plan.name, domains: plan.domains, mode: "managed", bot_fight_mode: false, clearance_level: "no_clearance" });
|
|
162
|
+
else widget = plan.widget;
|
|
163
|
+
return { sitekey: widget.sitekey, secretRef: `pool_${widget.sitekey}`, plan };
|
|
164
|
+
}
|
|
165
|
+
function validateSecretMap(value) {
|
|
166
|
+
if (!value || typeof value !== "object" || Array.isArray(value) || Object.entries(value).some(([key, secret]) => !safeId(key) || typeof secret !== "string" || !secret || secret.length > 200)) throw new Error("Expected complete Turnstile secret map with named nonempty string values");
|
|
167
|
+
return { ...value };
|
|
168
|
+
}
|
|
169
|
+
async function provisionWidgetSecrets(access, worker, existing) {
|
|
170
|
+
if (!/^[a-zA-Z0-9_-]+$/.test(worker)) throw new Error("Invalid Worker name");
|
|
171
|
+
const secrets = validateSecretMap(existing);
|
|
172
|
+
const managed = (await listWidgets(access)).filter((w) => /^vitris-forms-pool-\d+$/.test(w.name));
|
|
173
|
+
for (const w of managed) {
|
|
174
|
+
const details = await cloudflareRequest(access, `/accounts/${access.account}/challenges/widgets/${w.sitekey}`);
|
|
175
|
+
if (!details.secret) throw new Error("Turnstile secret unavailable");
|
|
176
|
+
secrets[`pool_${w.sitekey}`] = details.secret;
|
|
177
|
+
}
|
|
178
|
+
await cloudflareRequest(access, `/accounts/${access.account}/workers/scripts/${worker}/secrets`, "PUT", { name: "FORMS_TURNSTILE_SECRETS", type: "secret_text", text: JSON.stringify(secrets) });
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
// src/cli/forms.ts
|
|
182
|
+
async function formsCommand(command, opts) {
|
|
183
|
+
try {
|
|
184
|
+
const root = resolve(opts.site || "."), launchPath = join(root, "launch.json");
|
|
185
|
+
const launch = existsSync(launchPath) ? JSON.parse(readFileSync(launchPath, "utf8")) : {};
|
|
186
|
+
const backend = opts.backendOrigin || launch.backendOrigin, tenant = opts.tenant;
|
|
187
|
+
const backendRequest = async (method, body) => {
|
|
188
|
+
const adminToken = process.env.VITRIS_FORMS_SETUP_TOKEN;
|
|
189
|
+
if (!backend || !safeId(tenant) || !adminToken) throw new Error("Provide --tenant, --backend-origin and VITRIS_FORMS_SETUP_TOKEN (scoped to this tenant)");
|
|
190
|
+
approvedOrigin(backend);
|
|
191
|
+
const response = await fetch(`${backend}/api/forms/${tenant}`, { method, headers: { authorization: `Bearer ${adminToken}`, "content-type": "application/json" }, ...body ? { body: JSON.stringify(body) } : {}, signal: AbortSignal.timeout(15e3) });
|
|
192
|
+
const data = await response.json();
|
|
193
|
+
if (!response.ok) throw new Error(`Forms backend HTTP ${response.status}: ${JSON.stringify(data)}`);
|
|
194
|
+
return data;
|
|
195
|
+
};
|
|
196
|
+
if (command === "status") return { ok: true, exitCode: 0, data: await backendRequest("GET"), summary: "Server-side form readiness and notification status retrieved" };
|
|
197
|
+
if (!["inspect", "setup"].includes(command)) throw new Error("Use vitris forms inspect|setup|status");
|
|
198
|
+
await buildVerified(root);
|
|
199
|
+
const inventory = files(join(root, "dist")).filter((f) => f.endsWith(".html") && !f.endsWith("404.html")).flatMap((file) => {
|
|
200
|
+
const rel = file.slice(join(root, "dist").length + 1).replaceAll("\\", "/");
|
|
201
|
+
const pagePath = rel === "index.html" ? "/" : "/" + rel.replace(/\/index\.html$/, "").replace(/\.html$/, "");
|
|
202
|
+
return inspectForms(readFileSync(file, "utf8")).map((form) => ({ pagePath, ...form }));
|
|
203
|
+
});
|
|
204
|
+
if (command === "inspect") return { ok: true, exitCode: 0, data: { inventory }, summary: "Contact-form inventory (unsupported and unrelated forms included)" };
|
|
205
|
+
if (!safeId(tenant) || !backend) throw new Error("Setup requires --tenant and --backend-origin");
|
|
206
|
+
approvedOrigin(backend);
|
|
207
|
+
const origins = opts.origins || [];
|
|
208
|
+
origins.forEach(approvedOrigin);
|
|
209
|
+
const eligible = inventory.filter((f) => f.eligible);
|
|
210
|
+
if (!eligible.length || eligible.some((f) => f.unsupported.length)) throw new Error("No supported contact forms. Run forms inspect and adapt unsupported controls.");
|
|
211
|
+
if (opts.mode === "live") throw new Error("Setup prepares disabled/test forms only. Live activation requires the reviewed tenant-scoped configuration API and server readiness.");
|
|
212
|
+
const supplied = opts.config ? JSON.parse(readFileSync(resolve(opts.config), "utf8")) : void 0;
|
|
213
|
+
const apply = !!opts.apply && !opts.dryRun;
|
|
214
|
+
let sitekey = opts.testKeys ? "1x00000000000000000000AA" : "pending", secretRef = opts.testKeys ? "test" : "pending";
|
|
215
|
+
let widgetPlan;
|
|
216
|
+
let cloudAccess;
|
|
217
|
+
let existingSecrets;
|
|
218
|
+
if (opts.cloudflare) {
|
|
219
|
+
const access = { account: process.env.CLOUDFLARE_ACCOUNT_ID || "", token: process.env.CLOUDFLARE_API_TOKEN || "" };
|
|
220
|
+
if (!access.account || !access.token) throw new Error("Cloudflare account/token required");
|
|
221
|
+
if (apply && (!opts.worker || !process.env.FORMS_TURNSTILE_SECRETS)) throw new Error("For secret reconciliation provide --worker and FORMS_TURNSTILE_SECRETS containing the current complete map ({} for a new isolated Worker)");
|
|
222
|
+
if (apply) existingSecrets = validateSecretMap(JSON.parse(process.env.FORMS_TURNSTILE_SECRETS));
|
|
223
|
+
const result = await reconcileWidget(access, origins.map((o) => new URL(o).hostname), false);
|
|
224
|
+
widgetPlan = result.plan;
|
|
225
|
+
cloudAccess = access;
|
|
226
|
+
sitekey = result.sitekey || sitekey;
|
|
227
|
+
secretRef = result.secretRef || (result.sitekey ? `pool_${result.sitekey}` : secretRef);
|
|
228
|
+
}
|
|
229
|
+
const forms = [], publicForms = [];
|
|
230
|
+
for (const f of eligible) {
|
|
231
|
+
const explicit = supplied?.forms.find((c) => c.pagePath === f.pagePath && (c.index ?? 0) === f.index);
|
|
232
|
+
const prior = launch.forms?.find((c) => c.pagePath === f.pagePath && (c.index ?? 0) === f.index);
|
|
233
|
+
const id = explicit?.id || prior?.id || `${tenant.slice(0, 40)}_${(f.pagePath.replace(/[^a-zA-Z0-9]+/g, "_").replace(/^_|_$/g, "") || "root").slice(0, 20)}_${createHash("sha256").update(f.pagePath).digest("hex").slice(0, 8)}_${f.index}`;
|
|
234
|
+
const config = validateFormConfig(explicit || { id, mode: opts.mode || "disabled", origins, fields: f.fields, recipients: opts.recipients || [], turnstile: { sitekey, secretRef, action: opts.testKeys ? "test" : "contact" } });
|
|
235
|
+
if (config.mode === "live") throw new Error("Setup cannot activate live forms");
|
|
236
|
+
const actual = new Set(f.fields.map((field) => field.name));
|
|
237
|
+
if (actual.size !== config.fields.length || config.fields.some((field) => !actual.has(field.name))) throw new Error("Configured schema must include every captured field");
|
|
238
|
+
if (config.fields.some((field) => {
|
|
239
|
+
const authored = f.fields.find((a) => a.name === field.name);
|
|
240
|
+
return field.type !== authored.type || authored.required && !field.required || authored.options?.some((o) => !field.options?.includes(o));
|
|
241
|
+
})) throw new Error("Configured schema must preserve control types, required fields and authored choices");
|
|
242
|
+
forms.push(config);
|
|
243
|
+
publicForms.push({ id: config.id, pagePath: f.pagePath, index: f.index, sitekey: config.turnstile.sitekey, action: config.turnstile.action });
|
|
244
|
+
}
|
|
245
|
+
const plan = { tenant, backendOrigin: backend, forms, publicForms, widgetPlan, requirements: ["Tenant-scoped setup token", "Turnstile secrets on backend", "FORMS_ABUSE_SECRET", ...opts.testKeys ? ["Dummy keys require a controlled hostname/action verification fixture; use a real widget in test mode for manual end-to-end acceptance"] : [], "For live: approved recipients, authenticated Vitris sender and FORMS_EMAIL binding"] };
|
|
246
|
+
mkdirSync(join(root, "artifacts/forms"), { recursive: true });
|
|
247
|
+
writeFileSync(join(root, "artifacts/forms/setup-plan.json"), JSON.stringify(plan, null, 2) + "\n");
|
|
248
|
+
if (apply) {
|
|
249
|
+
if (cloudAccess) {
|
|
250
|
+
await backendRequest("GET");
|
|
251
|
+
const widget = await reconcileWidget(cloudAccess, origins.map((o) => new URL(o).hostname), true);
|
|
252
|
+
await provisionWidgetSecrets(cloudAccess, opts.worker, existingSecrets);
|
|
253
|
+
sitekey = widget.sitekey;
|
|
254
|
+
secretRef = widget.secretRef;
|
|
255
|
+
for (const form of forms) {
|
|
256
|
+
form.turnstile.sitekey = sitekey;
|
|
257
|
+
form.turnstile.secretRef = secretRef;
|
|
258
|
+
}
|
|
259
|
+
for (const binding of publicForms) binding.sitekey = sitekey;
|
|
260
|
+
plan.widgetPlan = widget.plan;
|
|
261
|
+
writeFileSync(join(root, "artifacts/forms/setup-plan.json"), JSON.stringify(plan, null, 2) + "\n");
|
|
262
|
+
}
|
|
263
|
+
if (sitekey === "pending" && !supplied) throw new Error("Provide --test-keys, --cloudflare, or explicit --forms-config");
|
|
264
|
+
await backendRequest("POST", { tenant: { slug: launch.slug || tenant, name: launch.name || tenant }, forms });
|
|
265
|
+
writeFileSync(launchPath, JSON.stringify({ ...launch, backendOrigin: backend, forms: publicForms }, null, 2) + "\n");
|
|
266
|
+
await buildVerified(root);
|
|
267
|
+
return { ok: true, exitCode: 0, data: { ...plan, status: await backendRequest("GET") }, summary: "Registered forms and connected frontend; review status before live activation" };
|
|
268
|
+
}
|
|
269
|
+
return { ok: true, exitCode: 0, data: plan, summary: "Prepared setup plan; use --apply to reconcile isolated/test resources" };
|
|
270
|
+
} catch (error) {
|
|
271
|
+
return { ok: false, exitCode: EXIT_CODES.CONFIG_OR_CLI_ERROR, error: error instanceof Error ? error.message : String(error) };
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// src/cli/index.ts
|
|
276
|
+
function parseArgs(args) {
|
|
277
|
+
const command = [];
|
|
278
|
+
const flags = {};
|
|
279
|
+
let i = 0;
|
|
280
|
+
while (i < args.length) {
|
|
281
|
+
const arg = args[i];
|
|
282
|
+
if (arg.startsWith("--")) {
|
|
283
|
+
const key = arg.slice(2);
|
|
284
|
+
if (key.includes("=")) {
|
|
285
|
+
const [k, ...v] = key.split("=");
|
|
286
|
+
flags[k] = v.join("=");
|
|
287
|
+
} else {
|
|
288
|
+
const next = args[i + 1];
|
|
289
|
+
if (next !== void 0 && !next.startsWith("-")) {
|
|
290
|
+
flags[key] = next;
|
|
291
|
+
i++;
|
|
292
|
+
} else {
|
|
293
|
+
flags[key] = true;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
} else if (arg.startsWith("-") && arg.length === 2) {
|
|
297
|
+
const key = arg.slice(1);
|
|
298
|
+
const next = args[i + 1];
|
|
299
|
+
if (next !== void 0 && !next.startsWith("-")) {
|
|
300
|
+
flags[key] = next;
|
|
301
|
+
i++;
|
|
302
|
+
} else {
|
|
303
|
+
flags[key] = true;
|
|
304
|
+
}
|
|
305
|
+
} else {
|
|
306
|
+
command.push(arg);
|
|
307
|
+
}
|
|
308
|
+
i++;
|
|
309
|
+
}
|
|
310
|
+
return { command, flags };
|
|
311
|
+
}
|
|
312
|
+
function resolvePrecedence(flags, siteRoot) {
|
|
313
|
+
const merged = {};
|
|
314
|
+
if (siteRoot && existsSync2(resolve2(siteRoot, "launch.json"))) {
|
|
315
|
+
try {
|
|
316
|
+
const launch = JSON.parse(readFileSync2(resolve2(siteRoot, "launch.json"), "utf8"));
|
|
317
|
+
if (typeof launch.ownerEmail === "string") merged.owner = launch.ownerEmail;
|
|
318
|
+
if (typeof launch.slug === "string") merged.slug = launch.slug;
|
|
319
|
+
if (typeof launch.name === "string") merged.name = launch.name;
|
|
320
|
+
} catch {
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
if (flags.config && typeof flags.config === "string") {
|
|
324
|
+
try {
|
|
325
|
+
const configPath = resolve2(flags.config);
|
|
326
|
+
if (existsSync2(configPath)) {
|
|
327
|
+
const cfg = JSON.parse(readFileSync2(configPath, "utf8"));
|
|
328
|
+
for (const [k, v] of Object.entries(cfg)) {
|
|
329
|
+
if (typeof v === "string" || typeof v === "boolean") merged[k] = v;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
} catch {
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
if (process.env.VITRIS_SITE) merged.site = process.env.VITRIS_SITE;
|
|
336
|
+
if (process.env.VITRIS_ADAPTER) merged.adapter = process.env.VITRIS_ADAPTER;
|
|
337
|
+
if (process.env.VITRIS_MODEL) merged.model = process.env.VITRIS_MODEL;
|
|
338
|
+
if (process.env.CLOUDFLARE_API_TOKEN) merged.cloudflareApiToken = process.env.CLOUDFLARE_API_TOKEN;
|
|
339
|
+
if (process.env.CLOUDFLARE_ACCOUNT_ID) merged.cloudflareAccountId = process.env.CLOUDFLARE_ACCOUNT_ID;
|
|
340
|
+
for (const [k, v] of Object.entries(flags)) {
|
|
341
|
+
merged[k] = v;
|
|
342
|
+
}
|
|
343
|
+
return merged;
|
|
344
|
+
}
|
|
345
|
+
async function runCli(argv) {
|
|
346
|
+
const { command, flags } = parseArgs(argv);
|
|
347
|
+
let outputMode;
|
|
348
|
+
try {
|
|
349
|
+
outputMode = determineOutputMode({
|
|
350
|
+
json: !!flags.json,
|
|
351
|
+
events: !!flags.events
|
|
352
|
+
});
|
|
353
|
+
} catch (err) {
|
|
354
|
+
console.error(err instanceof Error ? err.message : String(err));
|
|
355
|
+
return EXIT_CODES.CONFIG_OR_CLI_ERROR;
|
|
356
|
+
}
|
|
357
|
+
const stream = new EventStream(outputMode);
|
|
358
|
+
if (flags.version || flags.v) {
|
|
359
|
+
stream.log(`@tryvitris/website-harness v${JSON.parse(readFileSync2(resolve2(findHarnessRoot(), "package.json"), "utf8")).version}`);
|
|
360
|
+
return EXIT_CODES.SUCCESS;
|
|
361
|
+
}
|
|
362
|
+
if (flags.help || flags.h || command.length === 0) {
|
|
363
|
+
const help = `Vitris \uFFFD agent harness for building and verifying websites
|
|
364
|
+
|
|
365
|
+
Usage: vitris <command> [options]
|
|
366
|
+
|
|
367
|
+
Commands:
|
|
368
|
+
forms inspect|setup|status Inventory, provision, and check contact forms
|
|
369
|
+
doctor Check environment, dependencies, and site health
|
|
370
|
+
site create --dir DIR --slug SLUG Scaffold a new customer site repo (--from URL or --blank)
|
|
371
|
+
run Execute single-variant, --creative, or 5-variant run
|
|
372
|
+
refine --request "..." Refine an existing site with classified scope
|
|
373
|
+
refine prepare --request "..." Analyze impact, capture baseline, and stage a refinement
|
|
374
|
+
refine amend --request-id ID --scope direction,business --reason "..." Expand classification, retaining baseline
|
|
375
|
+
refine verify [--request-id ID] Verify refinement impact across facts, links, slots, and layout
|
|
376
|
+
status [--run ID] Check current execution and lock status
|
|
377
|
+
resume [--run ID] Resume an interrupted workflow or design run
|
|
378
|
+
cancel [--run ID] Gracefully cancel an active run PID and release locks
|
|
379
|
+
feedback import --file FILE Import structured comparison feedback for a design run
|
|
380
|
+
synthesize [--feedback FILE] Synthesize candidate directions into final representative
|
|
381
|
+
verify Verify compilation and evaluate all quality gates
|
|
382
|
+
preview [--port PORT] Serve local verified dist preview
|
|
383
|
+
deploy [--provider cloudflare] Deploy site to Cloudflare Pages with smoke verification
|
|
384
|
+
cloudflare [doctor|whoami|login] Cloudflare credentials and permissions diagnostics
|
|
385
|
+
share [--run ID] Start local preview or design comparison review share
|
|
386
|
+
knowledge explain --stage STAGE Show the knowledge that stage would load. No model call.
|
|
387
|
+
|
|
388
|
+
Options:
|
|
389
|
+
--mode redesign|preserve New site workflow (default: redesign)
|
|
390
|
+
--harness SPEC Starter dependency version, tarball, or file: path
|
|
391
|
+
--template ID Catalog template ID, name, or hosted URL; continue automatically
|
|
392
|
+
--template-release RELEASE Optional template revision
|
|
393
|
+
--content TEXT Additional business content or instructions
|
|
394
|
+
--content-file FILE UTF-8 content file (instead of --content)
|
|
395
|
+
--backend-origin URL Backend origin for a new site
|
|
396
|
+
--site DIR Site directory path (default: current directory)
|
|
397
|
+
--json Output single structured JSON result at completion
|
|
398
|
+
--events Stream newline-delimited JSON (NDJSON) events
|
|
399
|
+
--dry-run Validate inputs and environment without making changes
|
|
400
|
+
`;
|
|
401
|
+
stream.log(help);
|
|
402
|
+
return EXIT_CODES.SUCCESS;
|
|
403
|
+
}
|
|
404
|
+
const siteRoot = typeof flags.site === "string" ? flags.site : void 0;
|
|
405
|
+
const opts = resolvePrecedence(flags, siteRoot);
|
|
406
|
+
const dryRun = !!flags["dry-run"] || !!flags.dryRun;
|
|
407
|
+
const abortController = new AbortController();
|
|
408
|
+
const onSig = () => {
|
|
409
|
+
abortController.abort();
|
|
410
|
+
};
|
|
411
|
+
process.on("SIGINT", onSig);
|
|
412
|
+
process.on("SIGTERM", onSig);
|
|
413
|
+
const primary = command[0];
|
|
414
|
+
const secondary = command[1];
|
|
415
|
+
let result;
|
|
416
|
+
try {
|
|
417
|
+
if (primary === "forms") {
|
|
418
|
+
const list = (name) => typeof opts[name] === "string" ? opts[name].split(",").map((s) => s.trim()).filter(Boolean) : void 0;
|
|
419
|
+
result = await formsCommand(secondary || "status", { site: siteRoot, tenant: typeof opts.tenant === "string" ? opts.tenant : void 0, backendOrigin: typeof opts["backend-origin"] === "string" ? opts["backend-origin"] : void 0, origins: list("origins"), recipients: list("recipients"), mode: typeof opts.mode === "string" ? opts.mode : void 0, apply: !!opts.apply, testKeys: !!opts["test-keys"], cloudflare: !!opts.cloudflare, worker: typeof opts.worker === "string" ? opts.worker : void 0, config: typeof opts["forms-config"] === "string" ? opts["forms-config"] : void 0, dryRun });
|
|
420
|
+
} else if (primary === "doctor") {
|
|
421
|
+
result = await runDoctor({
|
|
422
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
423
|
+
provider: typeof opts.provider === "string" ? opts.provider : void 0,
|
|
424
|
+
dryRun
|
|
425
|
+
});
|
|
426
|
+
} else if (primary === "site" && secondary === "create") {
|
|
427
|
+
result = await createSite({
|
|
428
|
+
...siteInputsFromFlags(opts),
|
|
429
|
+
dir: typeof opts.dir === "string" ? opts.dir : "",
|
|
430
|
+
slug: typeof opts.slug === "string" ? opts.slug : "",
|
|
431
|
+
name: typeof opts.name === "string" ? opts.name : void 0,
|
|
432
|
+
from: typeof opts.from === "string" ? opts.from : void 0,
|
|
433
|
+
mode: opts.mode,
|
|
434
|
+
blank: !!opts.blank,
|
|
435
|
+
owner: typeof opts.owner === "string" ? opts.owner : void 0,
|
|
436
|
+
backendOrigin: typeof opts["backend-origin"] === "string" ? opts["backend-origin"] : typeof opts["kernel-origin"] === "string" ? opts["kernel-origin"] : void 0,
|
|
437
|
+
harnessSpec: typeof opts.harness === "string" ? opts.harness : typeof opts.kernel === "string" ? opts.kernel : void 0,
|
|
438
|
+
force: !!opts.force,
|
|
439
|
+
dryRun
|
|
440
|
+
});
|
|
441
|
+
} else if (primary === "run") {
|
|
442
|
+
result = await runSite({
|
|
443
|
+
...siteInputsFromFlags(opts),
|
|
444
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
445
|
+
variants: opts.variants !== void 0 ? String(opts.variants) : void 0,
|
|
446
|
+
creativeProfile: !!opts.creative,
|
|
447
|
+
adapter: typeof opts.adapter === "string" ? opts.adapter : void 0,
|
|
448
|
+
model: typeof opts.model === "string" ? opts.model : void 0,
|
|
449
|
+
theme: typeof opts.theme === "string" ? opts.theme : void 0,
|
|
450
|
+
themeScope: opts["theme-scope"] === "all" ? "all" : opts["theme-scope"] === "one" ? "one" : void 0,
|
|
451
|
+
restartFrom: typeof opts["restart-from"] === "string" ? opts["restart-from"] : void 0,
|
|
452
|
+
reason: typeof opts.reason === "string" ? opts.reason : void 0,
|
|
453
|
+
dryRun,
|
|
454
|
+
signal: abortController.signal,
|
|
455
|
+
onLog: (line) => stream.log(line),
|
|
456
|
+
workflowArgv: workflowArgvFromFlags(opts)
|
|
457
|
+
});
|
|
458
|
+
} else if (primary === "refine") {
|
|
459
|
+
if (secondary === "prepare") {
|
|
460
|
+
result = await refinePrepare({
|
|
461
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
462
|
+
request: typeof opts.request === "string" ? opts.request : "",
|
|
463
|
+
scope: typeof opts.scope === "string" ? opts.scope : void 0,
|
|
464
|
+
requestId: typeof opts["request-id"] === "string" ? opts["request-id"] : typeof opts.requestId === "string" ? opts.requestId : void 0,
|
|
465
|
+
planFile: typeof opts.plan === "string" ? opts.plan : void 0,
|
|
466
|
+
dryRun
|
|
467
|
+
});
|
|
468
|
+
} else if (secondary === "amend") {
|
|
469
|
+
result = await refineAmend({ site: typeof opts.site === "string" ? opts.site : void 0, requestId: typeof opts["request-id"] === "string" ? opts["request-id"] : "", scope: typeof opts.scope === "string" ? opts.scope : "", reason: typeof opts.reason === "string" ? opts.reason : "", dryRun });
|
|
470
|
+
} else if (secondary === "verify") {
|
|
471
|
+
result = await refineVerify({
|
|
472
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
473
|
+
requestId: typeof opts["request-id"] === "string" ? opts["request-id"] : typeof opts.requestId === "string" ? opts.requestId : void 0,
|
|
474
|
+
dryRun
|
|
475
|
+
});
|
|
476
|
+
} else {
|
|
477
|
+
result = await refineSite({
|
|
478
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
479
|
+
request: typeof opts.request === "string" ? opts.request : "",
|
|
480
|
+
scope: typeof opts.scope === "string" ? opts.scope : void 0,
|
|
481
|
+
evidence: typeof opts.evidence === "string" ? opts.evidence : void 0,
|
|
482
|
+
dryRun,
|
|
483
|
+
signal: abortController.signal,
|
|
484
|
+
onLog: (line) => stream.log(line),
|
|
485
|
+
workflowArgv: workflowArgvFromFlags(opts)
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
} else if (primary === "upgrade") {
|
|
489
|
+
result = upgradeSite({
|
|
490
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
491
|
+
target: typeof opts.target === "string" ? opts.target : void 0,
|
|
492
|
+
to: typeof opts.to === "string" ? opts.to : void 0,
|
|
493
|
+
apply: !!opts.apply,
|
|
494
|
+
rollback: !!opts.rollback,
|
|
495
|
+
recover: !!opts.recover
|
|
496
|
+
});
|
|
497
|
+
} else if (primary === "status") {
|
|
498
|
+
result = await statusSite({
|
|
499
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
500
|
+
runId: typeof opts.run === "string" ? opts.run : void 0
|
|
501
|
+
});
|
|
502
|
+
} else if (primary === "resume") {
|
|
503
|
+
result = await resumeSite({
|
|
504
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
505
|
+
runId: typeof opts.run === "string" ? opts.run : void 0,
|
|
506
|
+
dryRun,
|
|
507
|
+
signal: abortController.signal,
|
|
508
|
+
onLog: (line) => stream.log(line),
|
|
509
|
+
workflowArgv: workflowArgvFromFlags(opts)
|
|
510
|
+
});
|
|
511
|
+
} else if (primary === "cancel") {
|
|
512
|
+
result = await cancelSite({
|
|
513
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
514
|
+
runId: typeof opts.run === "string" ? opts.run : void 0,
|
|
515
|
+
dryRun
|
|
516
|
+
});
|
|
517
|
+
} else if (primary === "feedback" && secondary === "import") {
|
|
518
|
+
result = await importFeedback({
|
|
519
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
520
|
+
runId: typeof opts.run === "string" ? opts.run : void 0,
|
|
521
|
+
file: typeof opts.file === "string" ? opts.file : "",
|
|
522
|
+
dryRun
|
|
523
|
+
});
|
|
524
|
+
} else if (primary === "synthesize") {
|
|
525
|
+
result = await synthesizeSite({
|
|
526
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
527
|
+
runId: typeof opts.run === "string" ? opts.run : void 0,
|
|
528
|
+
feedback: typeof opts.feedback === "string" ? opts.feedback : void 0,
|
|
529
|
+
dryRun,
|
|
530
|
+
onLog: (line) => stream.log(line)
|
|
531
|
+
});
|
|
532
|
+
} else if (primary === "verify") {
|
|
533
|
+
result = await verifySite({
|
|
534
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
535
|
+
remoteUrl: typeof opts.remote === "string" ? opts.remote : void 0,
|
|
536
|
+
dryRun
|
|
537
|
+
});
|
|
538
|
+
} else if (primary === "preview") {
|
|
539
|
+
result = await previewSite({
|
|
540
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
541
|
+
port: opts.port ? Number(opts.port) : void 0,
|
|
542
|
+
dryRun,
|
|
543
|
+
wait: !dryRun && !flags["no-wait"],
|
|
544
|
+
signal: abortController.signal,
|
|
545
|
+
onLog: (line) => stream.log(line)
|
|
546
|
+
});
|
|
547
|
+
} else if (primary === "deploy") {
|
|
548
|
+
result = await deploySite({
|
|
549
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
550
|
+
provider: "cloudflare",
|
|
551
|
+
environment: opts.environment === "production" ? "production" : "preview",
|
|
552
|
+
branch: typeof opts.branch === "string" ? opts.branch : void 0,
|
|
553
|
+
dryRun,
|
|
554
|
+
signal: abortController.signal,
|
|
555
|
+
onLog: (line) => stream.log(line)
|
|
556
|
+
});
|
|
557
|
+
} else if (primary === "cloudflare") {
|
|
558
|
+
const sub = secondary || "doctor";
|
|
559
|
+
if (sub === "doctor") {
|
|
560
|
+
result = await runDoctor({ provider: "cloudflare", operation: "pages" });
|
|
561
|
+
} else if (sub === "whoami") {
|
|
562
|
+
const probe = spawnSync(process.platform === "win32" ? "npx.cmd" : "npx", ["wrangler", "whoami"], { encoding: "utf8" });
|
|
563
|
+
result = {
|
|
564
|
+
ok: probe.status === 0,
|
|
565
|
+
exitCode: probe.status === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.CONFIG_OR_CLI_ERROR,
|
|
566
|
+
summary: probe.stdout || probe.stderr
|
|
567
|
+
};
|
|
568
|
+
} else if (sub === "login") {
|
|
569
|
+
const probe = spawnSync(process.platform === "win32" ? "npx.cmd" : "npx", ["wrangler", "login"], { stdio: "inherit" });
|
|
570
|
+
result = {
|
|
571
|
+
ok: probe.status === 0,
|
|
572
|
+
exitCode: probe.status === 0 ? EXIT_CODES.SUCCESS : EXIT_CODES.GENERIC_ERROR,
|
|
573
|
+
summary: probe.status === 0 ? "Wrangler login completed" : "Wrangler login failed"
|
|
574
|
+
};
|
|
575
|
+
} else {
|
|
576
|
+
result = {
|
|
577
|
+
ok: false,
|
|
578
|
+
exitCode: EXIT_CODES.CONFIG_OR_CLI_ERROR,
|
|
579
|
+
error: `Unknown cloudflare subcommand: ${sub}. Supported: doctor, whoami, login`
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
} else if (primary === "knowledge" && secondary === "explain") {
|
|
583
|
+
const explained = explainStage(resolve2(typeof opts.site === "string" ? opts.site : "."), typeof opts.stage === "string" ? opts.stage : "direction");
|
|
584
|
+
result = { ok: true, exitCode: EXIT_CODES.SUCCESS, summary: explained.text, data: explained };
|
|
585
|
+
} else if (primary === "share") {
|
|
586
|
+
result = await shareSite({
|
|
587
|
+
site: typeof opts.site === "string" ? opts.site : void 0,
|
|
588
|
+
runId: typeof opts.run === "string" ? opts.run : void 0,
|
|
589
|
+
port: opts.port ? Number(opts.port) : void 0,
|
|
590
|
+
dryRun,
|
|
591
|
+
tunnel: !!flags.tunnel || !!flags["quick-tunnel"],
|
|
592
|
+
wait: !dryRun && !flags["no-wait"],
|
|
593
|
+
signal: abortController.signal,
|
|
594
|
+
onLog: (line) => stream.log(line)
|
|
595
|
+
});
|
|
596
|
+
} else {
|
|
597
|
+
result = {
|
|
598
|
+
ok: false,
|
|
599
|
+
exitCode: EXIT_CODES.CONFIG_OR_CLI_ERROR,
|
|
600
|
+
error: `Unknown command: ${command.join(" ")}. Run 'vitris --help' for usage.`
|
|
601
|
+
};
|
|
602
|
+
}
|
|
603
|
+
} catch (err) {
|
|
604
|
+
result = {
|
|
605
|
+
ok: false,
|
|
606
|
+
exitCode: err.exitCode || EXIT_CODES.GENERIC_ERROR,
|
|
607
|
+
error: err instanceof Error ? err.message : String(err)
|
|
608
|
+
};
|
|
609
|
+
} finally {
|
|
610
|
+
process.off("SIGINT", onSig);
|
|
611
|
+
process.off("SIGTERM", onSig);
|
|
612
|
+
}
|
|
613
|
+
stream.finish(result);
|
|
614
|
+
return result.exitCode;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export {
|
|
618
|
+
runCli
|
|
619
|
+
};
|