@tryvitris/website-harness 0.0.0-stage → 0.1.0-beta.5

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.
Files changed (1303) hide show
  1. package/CONTRIBUTING.md +7 -0
  2. package/LICENSE +21 -0
  3. package/NOTICE +17 -0
  4. package/README.md +139 -2
  5. package/agent/EVALUATION.md +23 -0
  6. package/agent/PROMPT.md +13 -0
  7. package/agent/STATE.json +109 -0
  8. package/agent/WORKFLOW.md +108 -0
  9. package/agent/evals/preview.md +5 -0
  10. package/agent/graph.yaml +752 -0
  11. package/agent/guardrails.md +10 -0
  12. package/agent/refs/accessibility.md +9 -0
  13. package/agent/refs/art-direction.md +15 -0
  14. package/agent/refs/brand.md +3 -0
  15. package/agent/refs/browser.md +15 -0
  16. package/agent/refs/business.md +9 -0
  17. package/agent/refs/components.md +42 -0
  18. package/agent/refs/compose.md +10 -0
  19. package/agent/refs/contracts.md +32 -0
  20. package/agent/refs/copy.md +14 -0
  21. package/agent/refs/counterpoint.md +3 -0
  22. package/agent/refs/critic.md +29 -0
  23. package/agent/refs/design-calibration.md +31 -0
  24. package/agent/refs/design-feedback.md +13 -0
  25. package/agent/refs/design-quality.md +33 -0
  26. package/agent/refs/design-synthesis.md +9 -0
  27. package/agent/refs/direction.md +29 -0
  28. package/agent/refs/feedback-fulfillment.md +7 -0
  29. package/agent/refs/geo.md +7 -0
  30. package/agent/refs/harvest.md +7 -0
  31. package/agent/refs/icons.md +102 -0
  32. package/agent/refs/images.md +3 -0
  33. package/agent/refs/implement.md +24 -0
  34. package/agent/refs/industry-reference-shortlist.md +64 -0
  35. package/agent/refs/inspiration.md +17 -0
  36. package/agent/refs/interpret.md +3 -0
  37. package/agent/refs/jev.md +166 -0
  38. package/agent/refs/launch.md +11 -0
  39. package/agent/refs/layout.md +7 -0
  40. package/agent/refs/media.md +35 -0
  41. package/agent/refs/motif.md +3 -0
  42. package/agent/refs/motion-count.md +13 -0
  43. package/agent/refs/motion-image.md +12 -0
  44. package/agent/refs/motion-numeric.md +14 -0
  45. package/agent/refs/motion-page.md +23 -0
  46. package/agent/refs/motion-process.md +12 -0
  47. package/agent/refs/motion-sequence.md +7 -0
  48. package/agent/refs/motion-text.md +12 -0
  49. package/agent/refs/motion.md +11 -0
  50. package/agent/refs/narrative.md +9 -0
  51. package/agent/refs/performance.md +36 -0
  52. package/agent/refs/preview.md +3 -0
  53. package/agent/refs/production-quality.md +33 -0
  54. package/agent/refs/psychology.md +3 -0
  55. package/agent/refs/refine.md +14 -0
  56. package/agent/refs/research.md +7 -0
  57. package/agent/refs/sections.md +6 -0
  58. package/agent/refs/seo.md +9 -0
  59. package/agent/refs/storyboard.md +27 -0
  60. package/agent/refs/template-adaptation.md +42 -0
  61. package/agent/refs/template-from-url.md +91 -0
  62. package/agent/refs/template-library.md +32 -0
  63. package/agent/refs/template-motion.md +44 -0
  64. package/agent/refs/theme-selection.md +13 -0
  65. package/agent/refs/ui-ux.md +7 -0
  66. package/agent/refs/usability.md +5 -0
  67. package/agent/refs/variant-directions.md +20 -0
  68. package/agent/refs/write.md +6 -0
  69. package/agent/request.json +11 -0
  70. package/agent/workflow.json +4 -0
  71. package/bin/api/agent/artifacts.js +38 -0
  72. package/bin/api/agent/evaluate.js +55 -0
  73. package/bin/api/agent/grade.js +51 -0
  74. package/bin/api/agent/graph.js +16 -0
  75. package/bin/api/cli/api.js +104 -0
  76. package/bin/api/cli.js +48 -0
  77. package/bin/api/contracts.js +22 -0
  78. package/bin/api/engine.js +53 -0
  79. package/bin/api/hosting.js +40 -0
  80. package/bin/api/icons.js +57 -0
  81. package/bin/api/index.js +20 -0
  82. package/bin/api/references.js +45 -0
  83. package/bin/api/render.js +61 -0
  84. package/bin/api/schema.js +68 -0
  85. package/bin/api/theme.js +9 -0
  86. package/bin/api/types.js +8 -0
  87. package/bin/chunks/chunk-2NW7KSPA.js +17 -0
  88. package/bin/chunks/chunk-34H54KEY.js +45 -0
  89. package/bin/chunks/chunk-3CTBXY5K.js +22313 -0
  90. package/bin/chunks/chunk-42IXFXUD.js +1141 -0
  91. package/bin/chunks/chunk-4DM5TTLG.js +219 -0
  92. package/bin/chunks/chunk-4GZCAWWK.js +327 -0
  93. package/bin/chunks/chunk-54JC5L35.js +493 -0
  94. package/bin/chunks/chunk-5OOPJNGN.js +511 -0
  95. package/bin/chunks/chunk-6A3VWYMF.js +28 -0
  96. package/bin/chunks/chunk-6H3T46F5.js +25 -0
  97. package/bin/chunks/chunk-7FS67SRF.js +12 -0
  98. package/bin/chunks/chunk-7VLBEAFW.js +56 -0
  99. package/bin/chunks/chunk-ANMJRJQ5.js +31 -0
  100. package/bin/chunks/chunk-AUO5I56E.js +118774 -0
  101. package/bin/chunks/chunk-B5I45LFD.js +619 -0
  102. package/bin/chunks/chunk-BBV7PMFC.js +185 -0
  103. package/bin/chunks/chunk-BIEDSEL2.js +8 -0
  104. package/bin/chunks/chunk-CBEJZO4L.js +67 -0
  105. package/bin/chunks/chunk-DRJQ4OOU.js +514 -0
  106. package/bin/chunks/chunk-DSS2U2OM.js +115 -0
  107. package/bin/chunks/chunk-E5Y46VBX.js +678 -0
  108. package/bin/chunks/chunk-FOXUQXTV.js +278 -0
  109. package/bin/chunks/chunk-FYN4T4SV.js +4900 -0
  110. package/bin/chunks/chunk-G7MNMULR.js +192 -0
  111. package/bin/chunks/chunk-GVNIL34R.js +78 -0
  112. package/bin/chunks/chunk-GZDLXYZV.js +3425 -0
  113. package/bin/chunks/chunk-HNORQ74T.js +40 -0
  114. package/bin/chunks/chunk-IKNMBGGD.js +217 -0
  115. package/bin/chunks/chunk-JCRGE6AL.js +14 -0
  116. package/bin/chunks/chunk-LKN75JGA.js +63 -0
  117. package/bin/chunks/chunk-M2ETYSVJ.js +176 -0
  118. package/bin/chunks/chunk-M4LNHYYR.js +177 -0
  119. package/bin/chunks/chunk-PRLL7B63.js +113 -0
  120. package/bin/chunks/chunk-R7YELY3C.js +923 -0
  121. package/bin/chunks/chunk-T6PE4KN4.js +277 -0
  122. package/bin/chunks/chunk-T7DGRVTP.js +458 -0
  123. package/bin/chunks/chunk-TY33XMHW.js +239 -0
  124. package/bin/chunks/chunk-VH7PM7KJ.js +179 -0
  125. package/bin/chunks/chunk-WEFDVXFX.js +65 -0
  126. package/bin/chunks/chunk-XGTHGWPW.js +90 -0
  127. package/bin/chunks/chunk-XL2DRAYI.js +39 -0
  128. package/bin/chunks/chunk-YCVGD2CG.js +2751 -0
  129. package/bin/chunks/chunk-YQYHROLZ.js +1023 -0
  130. package/bin/chunks/chunk-YYPYYOEV.js +34 -0
  131. package/bin/chunks/chunk-Z2UNY47A.js +2418 -0
  132. package/bin/chunks/design-context-store-IAT2P2OC.js +39 -0
  133. package/bin/chunks/packets-VBMY4SQJ.js +53 -0
  134. package/bin/chunks/policy-2I37JUU3.js +18 -0
  135. package/bin/chunks/preparation-S4MG3RPL.js +93 -0
  136. package/bin/chunks/questions-HKELBDFL.js +120 -0
  137. package/bin/chunks/state-GDL6CCJI.js +20 -0
  138. package/bin/chunks/template-gallery-ET76ERZQ.js +140 -0
  139. package/bin/cloudflare/backend.js +24421 -0
  140. package/bin/cloudflare/blake3.wasm +0 -0
  141. package/bin/cloudflare/forms-test.js +429 -0
  142. package/bin/cloudflare/templates.js +100 -0
  143. package/bin/types/scripts/lib/r2.d.ts +7 -0
  144. package/bin/types/scripts/onboard/browser.d.ts +9 -0
  145. package/bin/types/scripts/onboard/crawl.d.ts +35 -0
  146. package/bin/types/scripts/onboard/images.d.ts +19 -0
  147. package/bin/types/scripts/onboard/prompt.d.ts +10 -0
  148. package/bin/types/scripts/onboard/run.d.ts +47 -0
  149. package/bin/types/src/agent/adaptation-checkpoint.d.ts +70 -0
  150. package/bin/types/src/agent/added-media.d.ts +31 -0
  151. package/bin/types/src/agent/api-contracts.d.ts +2 -0
  152. package/bin/types/src/agent/art-direction-policy.d.ts +9 -0
  153. package/bin/types/src/agent/art-direction.d.ts +253 -0
  154. package/bin/types/src/agent/artifacts.d.ts +602 -0
  155. package/bin/types/src/agent/browser-motion-journey.d.ts +59 -0
  156. package/bin/types/src/agent/browser-motion.d.ts +40 -0
  157. package/bin/types/src/agent/browser-timeout.d.ts +4 -0
  158. package/bin/types/src/agent/composition-authoring.d.ts +12 -0
  159. package/bin/types/src/agent/composition-context.d.ts +63 -0
  160. package/bin/types/src/agent/composition-contract.d.ts +4 -0
  161. package/bin/types/src/agent/composition-decisions.d.ts +43 -0
  162. package/bin/types/src/agent/composition-preflight.d.ts +16 -0
  163. package/bin/types/src/agent/creative-change-context.d.ts +21 -0
  164. package/bin/types/src/agent/creative-context.d.ts +56 -0
  165. package/bin/types/src/agent/creative-contract.d.ts +123 -0
  166. package/bin/types/src/agent/creative-efficiency.d.ts +18 -0
  167. package/bin/types/src/agent/creative-evidence.d.ts +57 -0
  168. package/bin/types/src/agent/creative-objective.d.ts +33 -0
  169. package/bin/types/src/agent/creative-profile.d.ts +81 -0
  170. package/bin/types/src/agent/creative-prompts.d.ts +7 -0
  171. package/bin/types/src/agent/creative-render-bindings.d.ts +13 -0
  172. package/bin/types/src/agent/creative-revision.d.ts +33 -0
  173. package/bin/types/src/agent/creative-skills.d.ts +25 -0
  174. package/bin/types/src/agent/cursor-hook.d.ts +182 -0
  175. package/bin/types/src/agent/design-bundle.d.ts +24 -0
  176. package/bin/types/src/agent/design-calibration.d.ts +43 -0
  177. package/bin/types/src/agent/design-cli.d.ts +5 -0
  178. package/bin/types/src/agent/design-comparison.d.ts +63 -0
  179. package/bin/types/src/agent/design-context-packet.d.ts +82 -0
  180. package/bin/types/src/agent/design-context-store.d.ts +14 -0
  181. package/bin/types/src/agent/design-context.d.ts +85 -0
  182. package/bin/types/src/agent/design-contracts.d.ts +35 -0
  183. package/bin/types/src/agent/design-copy.d.ts +29 -0
  184. package/bin/types/src/agent/design-feedback.d.ts +91 -0
  185. package/bin/types/src/agent/design-knowledge.d.ts +124 -0
  186. package/bin/types/src/agent/design-quality.d.ts +143 -0
  187. package/bin/types/src/agent/design-review-server.d.ts +13 -0
  188. package/bin/types/src/agent/design-run.d.ts +174 -0
  189. package/bin/types/src/agent/design-synthesis.d.ts +76 -0
  190. package/bin/types/src/agent/design-usage.d.ts +38 -0
  191. package/bin/types/src/agent/editorial.d.ts +11 -0
  192. package/bin/types/src/agent/evaluate.d.ts +28 -0
  193. package/bin/types/src/agent/grade.d.ts +16 -0
  194. package/bin/types/src/agent/graph.d.ts +82 -0
  195. package/bin/types/src/agent/industry/document.d.ts +10 -0
  196. package/bin/types/src/agent/industry/interactions.d.ts +2 -0
  197. package/bin/types/src/agent/industry/markup.d.ts +14 -0
  198. package/bin/types/src/agent/industry/registry.d.ts +2 -0
  199. package/bin/types/src/agent/industry/render-style.d.ts +3 -0
  200. package/bin/types/src/agent/industry/ridgeline/browse.d.ts +2 -0
  201. package/bin/types/src/agent/industry/ridgeline/diagrams.d.ts +9 -0
  202. package/bin/types/src/agent/industry/ridgeline/facts.d.ts +61 -0
  203. package/bin/types/src/agent/industry/ridgeline/pages/company.d.ts +5 -0
  204. package/bin/types/src/agent/industry/ridgeline/pages/home.d.ts +1 -0
  205. package/bin/types/src/agent/industry/ridgeline/pages/journal.d.ts +24 -0
  206. package/bin/types/src/agent/industry/ridgeline/pages/services.d.ts +6 -0
  207. package/bin/types/src/agent/industry/ridgeline/photo.d.ts +18 -0
  208. package/bin/types/src/agent/industry/ridgeline/script.d.ts +1 -0
  209. package/bin/types/src/agent/industry/ridgeline/site.d.ts +2 -0
  210. package/bin/types/src/agent/industry/ridgeline/style.d.ts +1 -0
  211. package/bin/types/src/agent/industry/ridgeline/theme.d.ts +4 -0
  212. package/bin/types/src/agent/industry/seven/barber-club.d.ts +2 -0
  213. package/bin/types/src/agent/industry/seven/barber-corner.d.ts +2 -0
  214. package/bin/types/src/agent/industry/seven/barber-form.d.ts +2 -0
  215. package/bin/types/src/agent/industry/seven/browse.d.ts +4 -0
  216. package/bin/types/src/agent/industry/seven/construction-built.d.ts +2 -0
  217. package/bin/types/src/agent/industry/seven/construction-craft.d.ts +2 -0
  218. package/bin/types/src/agent/industry/seven/construction-siteworks.d.ts +3 -0
  219. package/bin/types/src/agent/industry/seven/electrical-circuit.d.ts +2 -0
  220. package/bin/types/src/agent/industry/seven/electrical-light.d.ts +3 -0
  221. package/bin/types/src/agent/industry/seven/electrical-power.d.ts +3 -0
  222. package/bin/types/src/agent/industry/seven/hvac-climate.d.ts +3 -0
  223. package/bin/types/src/agent/industry/seven/hvac-dispatch.d.ts +2 -0
  224. package/bin/types/src/agent/industry/seven/hvac-seasonal.d.ts +2 -0
  225. package/bin/types/src/agent/industry/seven/interactions.d.ts +2 -0
  226. package/bin/types/src/agent/industry/seven/landscape-atlas.d.ts +4 -0
  227. package/bin/types/src/agent/industry/seven/landscape-courtyard.d.ts +3 -0
  228. package/bin/types/src/agent/industry/seven/landscape-seasons.d.ts +3 -0
  229. package/bin/types/src/agent/industry/seven/legal-casework.d.ts +2 -0
  230. package/bin/types/src/agent/industry/seven/legal-counsel.d.ts +2 -0
  231. package/bin/types/src/agent/industry/seven/legal-table.d.ts +2 -0
  232. package/bin/types/src/agent/industry/seven/medical-continuum.d.ts +2 -0
  233. package/bin/types/src/agent/industry/seven/medical-movement.d.ts +2 -0
  234. package/bin/types/src/agent/industry/seven/medical-neighborhood.d.ts +2 -0
  235. package/bin/types/src/agent/industry/seven/primitives.d.ts +31 -0
  236. package/bin/types/src/agent/industry/seven/registry.d.ts +4 -0
  237. package/bin/types/src/agent/industry/seven/theme.d.ts +3 -0
  238. package/bin/types/src/agent/industry/sites/common-ground.d.ts +2 -0
  239. package/bin/types/src/agent/industry/sites/coordination.d.ts +2 -0
  240. package/bin/types/src/agent/industry/sites/everyday.d.ts +2 -0
  241. package/bin/types/src/agent/industry/sites/independent.d.ts +2 -0
  242. package/bin/types/src/agent/industry/sites/mainstage.d.ts +2 -0
  243. package/bin/types/src/agent/industry/sites/neighborhood.d.ts +2 -0
  244. package/bin/types/src/agent/industry/sites/next-chapter.d.ts +2 -0
  245. package/bin/types/src/agent/industry/sites/practice-notes.d.ts +2 -0
  246. package/bin/types/src/agent/industry/sites/property-desk.d.ts +2 -0
  247. package/bin/types/src/agent/industry/sites/residence.d.ts +2 -0
  248. package/bin/types/src/agent/industry/sites/risk-office.d.ts +2 -0
  249. package/bin/types/src/agent/industry/sites/workshop.d.ts +2 -0
  250. package/bin/types/src/agent/industry/types.d.ts +48 -0
  251. package/bin/types/src/agent/invocation-budget.d.ts +32 -0
  252. package/bin/types/src/agent/jev/agent-usage.d.ts +165 -0
  253. package/bin/types/src/agent/jev/batching.d.ts +101 -0
  254. package/bin/types/src/agent/jev/block-catalog.d.ts +95 -0
  255. package/bin/types/src/agent/jev/bounds.d.ts +30 -0
  256. package/bin/types/src/agent/jev/budget.d.ts +76 -0
  257. package/bin/types/src/agent/jev/business-draft.d.ts +103 -0
  258. package/bin/types/src/agent/jev/calibration.d.ts +131 -0
  259. package/bin/types/src/agent/jev/client.d.ts +52 -0
  260. package/bin/types/src/agent/jev/component-select.d.ts +102 -0
  261. package/bin/types/src/agent/jev/config.d.ts +52 -0
  262. package/bin/types/src/agent/jev/consistency.d.ts +105 -0
  263. package/bin/types/src/agent/jev/content-checks.d.ts +121 -0
  264. package/bin/types/src/agent/jev/creative.d.ts +81 -0
  265. package/bin/types/src/agent/jev/critic-report.d.ts +132 -0
  266. package/bin/types/src/agent/jev/extraction.d.ts +84 -0
  267. package/bin/types/src/agent/jev/goals.d.ts +43 -0
  268. package/bin/types/src/agent/jev/html-tree.d.ts +28 -0
  269. package/bin/types/src/agent/jev/indexing.d.ts +51 -0
  270. package/bin/types/src/agent/jev/ledger.d.ts +154 -0
  271. package/bin/types/src/agent/jev/media.d.ts +62 -0
  272. package/bin/types/src/agent/jev/observations.d.ts +26 -0
  273. package/bin/types/src/agent/jev/ownership.d.ts +74 -0
  274. package/bin/types/src/agent/jev/packets.d.ts +124 -0
  275. package/bin/types/src/agent/jev/policy.d.ts +83 -0
  276. package/bin/types/src/agent/jev/questions.d.ts +244 -0
  277. package/bin/types/src/agent/jev/ranking.d.ts +129 -0
  278. package/bin/types/src/agent/jev/repair.d.ts +73 -0
  279. package/bin/types/src/agent/jev/review.d.ts +37 -0
  280. package/bin/types/src/agent/jev/security.d.ts +28 -0
  281. package/bin/types/src/agent/jev/semantic-lifecycle.d.ts +19 -0
  282. package/bin/types/src/agent/jev/semantic-tasks.d.ts +89 -0
  283. package/bin/types/src/agent/jev/service-registry.d.ts +98 -0
  284. package/bin/types/src/agent/jev/state.d.ts +104 -0
  285. package/bin/types/src/agent/jev/types.d.ts +190 -0
  286. package/bin/types/src/agent/jev/visible-assertions.d.ts +84 -0
  287. package/bin/types/src/agent/kernel-commands.d.ts +2 -0
  288. package/bin/types/src/agent/kit-runtime.d.ts +12 -0
  289. package/bin/types/src/agent/legacy-definitions/theme-art.d.ts +5 -0
  290. package/bin/types/src/agent/legacy-definitions/theme-commissions.d.ts +1 -0
  291. package/bin/types/src/agent/legacy-definitions/theme-compositions-extremes.d.ts +7 -0
  292. package/bin/types/src/agent/legacy-definitions/theme-compositions-graphic.d.ts +2 -0
  293. package/bin/types/src/agent/legacy-definitions/theme-compositions-reading.d.ts +2 -0
  294. package/bin/types/src/agent/legacy-definitions/theme-compositions-service-extremes.d.ts +2 -0
  295. package/bin/types/src/agent/legacy-definitions/theme-compositions-service-people.d.ts +2 -0
  296. package/bin/types/src/agent/legacy-definitions/theme-compositions-service-programme.d.ts +3 -0
  297. package/bin/types/src/agent/legacy-definitions/theme-compositions-service-project.d.ts +2 -0
  298. package/bin/types/src/agent/legacy-definitions/theme-compositions-service-season.d.ts +2 -0
  299. package/bin/types/src/agent/legacy-definitions/theme-compositions-tactile.d.ts +2 -0
  300. package/bin/types/src/agent/legacy-definitions/theme-compositions.d.ts +2 -0
  301. package/bin/types/src/agent/legacy-definitions/theme-legacy-specimens.d.ts +8 -0
  302. package/bin/types/src/agent/legacy-definitions/theme-library-legacy.d.ts +20 -0
  303. package/bin/types/src/agent/legacy-definitions/theme-library-release2.d.ts +3 -0
  304. package/bin/types/src/agent/legacy-definitions/theme-service-art.d.ts +7 -0
  305. package/bin/types/src/agent/legacy-definitions/theme-service-commissions.d.ts +1 -0
  306. package/bin/types/src/agent/legacy-definitions/theme-specimen-base.d.ts +1 -0
  307. package/bin/types/src/agent/legacy-definitions/theme-specimens.d.ts +2 -0
  308. package/bin/types/src/agent/legacy-definitions/theme-suite-data.d.ts +25 -0
  309. package/bin/types/src/agent/legacy-definitions/theme-suite-style.d.ts +1 -0
  310. package/bin/types/src/agent/legacy-definitions/theme-suites-checkpoint.d.ts +14 -0
  311. package/bin/types/src/agent/legacy-definitions/theme-suites-graphic.d.ts +2 -0
  312. package/bin/types/src/agent/legacy-definitions/theme-suites-information.d.ts +2 -0
  313. package/bin/types/src/agent/legacy-definitions/theme-suites-local.d.ts +2 -0
  314. package/bin/types/src/agent/legacy-definitions/theme-suites-material.d.ts +2 -0
  315. package/bin/types/src/agent/legacy-definitions/theme-suites-practice.d.ts +2 -0
  316. package/bin/types/src/agent/legacy-definitions/theme-suites-spatial.d.ts +2 -0
  317. package/bin/types/src/agent/legacy-definitions/theme-suites.d.ts +3 -0
  318. package/bin/types/src/agent/lifecycle.d.ts +136 -0
  319. package/bin/types/src/agent/lighthouse-browser.d.ts +5 -0
  320. package/bin/types/src/agent/media-format.d.ts +5 -0
  321. package/bin/types/src/agent/migration-links.d.ts +4 -0
  322. package/bin/types/src/agent/motion-composition.d.ts +22 -0
  323. package/bin/types/src/agent/motion-knowledge.d.ts +3 -0
  324. package/bin/types/src/agent/motion-plan.d.ts +6 -0
  325. package/bin/types/src/agent/performance.d.ts +52 -0
  326. package/bin/types/src/agent/playwright-runtime.d.ts +8 -0
  327. package/bin/types/src/agent/preparation.d.ts +193 -0
  328. package/bin/types/src/agent/preview.d.ts +1 -0
  329. package/bin/types/src/agent/production-quality.d.ts +72 -0
  330. package/bin/types/src/agent/reference-contract.d.ts +3 -0
  331. package/bin/types/src/agent/reference-fit.d.ts +50 -0
  332. package/bin/types/src/agent/reference-library.d.ts +313 -0
  333. package/bin/types/src/agent/reference-studies.d.ts +110 -0
  334. package/bin/types/src/agent/refine.d.ts +348 -0
  335. package/bin/types/src/agent/result-manifest.d.ts +38 -0
  336. package/bin/types/src/agent/runner.d.ts +10 -0
  337. package/bin/types/src/agent/site-inputs.d.ts +26 -0
  338. package/bin/types/src/agent/source-manifest.d.ts +9 -0
  339. package/bin/types/src/agent/state-transition.d.ts +16 -0
  340. package/bin/types/src/agent/storyboard-media.d.ts +11 -0
  341. package/bin/types/src/agent/study-render.d.ts +27 -0
  342. package/bin/types/src/agent/template-adaptation.d.ts +69 -0
  343. package/bin/types/src/agent/template-motion.d.ts +59 -0
  344. package/bin/types/src/agent/theme-art-direction.d.ts +2 -0
  345. package/bin/types/src/agent/theme-art.d.ts +1 -0
  346. package/bin/types/src/agent/theme-assets.d.ts +36 -0
  347. package/bin/types/src/agent/theme-browse.d.ts +67 -0
  348. package/bin/types/src/agent/theme-cloud-resources.d.ts +7 -0
  349. package/bin/types/src/agent/theme-cloud.d.ts +41 -0
  350. package/bin/types/src/agent/theme-commissions.d.ts +1 -0
  351. package/bin/types/src/agent/theme-compositions-extremes.d.ts +1 -0
  352. package/bin/types/src/agent/theme-compositions.d.ts +1 -0
  353. package/bin/types/src/agent/theme-identity.d.ts +23 -0
  354. package/bin/types/src/agent/theme-layout-roles.d.ts +7 -0
  355. package/bin/types/src/agent/theme-legacy-specimens.d.ts +1 -0
  356. package/bin/types/src/agent/theme-library-legacy.d.ts +1 -0
  357. package/bin/types/src/agent/theme-library-release2.d.ts +1 -0
  358. package/bin/types/src/agent/theme-library.d.ts +60 -0
  359. package/bin/types/src/agent/theme-page-manifest.d.ts +26 -0
  360. package/bin/types/src/agent/theme-picker-model.d.ts +51 -0
  361. package/bin/types/src/agent/theme-picker-runtime.d.ts +1 -0
  362. package/bin/types/src/agent/theme-picker-selection-runtime.d.ts +1 -0
  363. package/bin/types/src/agent/theme-picker-shell.d.ts +7 -0
  364. package/bin/types/src/agent/theme-picker-styles.d.ts +1 -0
  365. package/bin/types/src/agent/theme-picker.d.ts +20 -0
  366. package/bin/types/src/agent/theme-preview.d.ts +26 -0
  367. package/bin/types/src/agent/theme-release2/assets.d.ts +22 -0
  368. package/bin/types/src/agent/theme-release2/specimens.d.ts +2 -0
  369. package/bin/types/src/agent/theme-release2/theme-art.d.ts +5 -0
  370. package/bin/types/src/agent/theme-release2/theme-compositions-extremes.d.ts +7 -0
  371. package/bin/types/src/agent/theme-release2/theme-compositions-graphic.d.ts +2 -0
  372. package/bin/types/src/agent/theme-release2/theme-compositions-reading.d.ts +2 -0
  373. package/bin/types/src/agent/theme-release2/theme-compositions-tactile.d.ts +2 -0
  374. package/bin/types/src/agent/theme-release2/theme-compositions.d.ts +3 -0
  375. package/bin/types/src/agent/theme-release2/theme-specimen-base.d.ts +1 -0
  376. package/bin/types/src/agent/theme-release3/theme-art-direction.d.ts +2 -0
  377. package/bin/types/src/agent/theme-release3/theme-art.d.ts +5 -0
  378. package/bin/types/src/agent/theme-release3/theme-assets.d.ts +121 -0
  379. package/bin/types/src/agent/theme-release3/theme-compositions-extremes.d.ts +7 -0
  380. package/bin/types/src/agent/theme-release3/theme-compositions-graphic.d.ts +2 -0
  381. package/bin/types/src/agent/theme-release3/theme-compositions-reading.d.ts +2 -0
  382. package/bin/types/src/agent/theme-release3/theme-compositions-service-extremes.d.ts +2 -0
  383. package/bin/types/src/agent/theme-release3/theme-compositions-service-people.d.ts +2 -0
  384. package/bin/types/src/agent/theme-release3/theme-compositions-service-programme.d.ts +2 -0
  385. package/bin/types/src/agent/theme-release3/theme-compositions-service-project.d.ts +2 -0
  386. package/bin/types/src/agent/theme-release3/theme-compositions-service-season.d.ts +2 -0
  387. package/bin/types/src/agent/theme-release3/theme-compositions-tactile.d.ts +2 -0
  388. package/bin/types/src/agent/theme-release3/theme-compositions.d.ts +2 -0
  389. package/bin/types/src/agent/theme-release3/theme-identity.d.ts +23 -0
  390. package/bin/types/src/agent/theme-release3/theme-library.d.ts +4 -0
  391. package/bin/types/src/agent/theme-release3/theme-service-art.d.ts +7 -0
  392. package/bin/types/src/agent/theme-release3/theme-specimen-base.d.ts +1 -0
  393. package/bin/types/src/agent/theme-release3/theme-specimens.d.ts +2 -0
  394. package/bin/types/src/agent/theme-selection.d.ts +75 -0
  395. package/bin/types/src/agent/theme-service-art.d.ts +1 -0
  396. package/bin/types/src/agent/theme-specimen-base.d.ts +1 -0
  397. package/bin/types/src/agent/theme-specimens.d.ts +1 -0
  398. package/bin/types/src/agent/theme-suite-data.d.ts +1 -0
  399. package/bin/types/src/agent/theme-suite-identity.d.ts +42 -0
  400. package/bin/types/src/agent/theme-suite-primitives.d.ts +14 -0
  401. package/bin/types/src/agent/theme-suite-renderer.d.ts +8 -0
  402. package/bin/types/src/agent/theme-suite-style.d.ts +1 -0
  403. package/bin/types/src/agent/theme-suites.d.ts +1 -0
  404. package/bin/types/src/agent/theme-thumbnails.d.ts +8 -0
  405. package/bin/types/src/agent/trace.d.ts +337 -0
  406. package/bin/types/src/agent/workflow-config.d.ts +25 -0
  407. package/bin/types/src/agent/workflow.d.ts +104 -0
  408. package/bin/types/src/blocks/library-profile.d.ts +9 -0
  409. package/bin/types/src/blocks/metadata.d.ts +65 -0
  410. package/bin/types/src/build/index.d.ts +29 -0
  411. package/bin/types/src/build/responsive-media.d.ts +19 -0
  412. package/bin/types/src/build/serve.d.ts +4 -0
  413. package/bin/types/src/build/static-output.d.ts +2 -0
  414. package/bin/types/src/build/verified.d.ts +1 -0
  415. package/bin/types/src/cli/api.d.ts +17 -0
  416. package/bin/types/src/cli/deploy.d.ts +21 -0
  417. package/bin/types/src/cli/doctor.d.ts +16 -0
  418. package/bin/types/src/cli/events.d.ts +16 -0
  419. package/bin/types/src/cli/feedback.d.ts +21 -0
  420. package/bin/types/src/cli/forms.d.ts +16 -0
  421. package/bin/types/src/cli/index.d.ts +1 -0
  422. package/bin/types/src/cli/lifecycle.d.ts +18 -0
  423. package/bin/types/src/cli/preserve.d.ts +8 -0
  424. package/bin/types/src/cli/preview.d.ts +14 -0
  425. package/bin/types/src/cli/refine.d.ts +41 -0
  426. package/bin/types/src/cli/root.d.ts +3 -0
  427. package/bin/types/src/cli/run.d.ts +30 -0
  428. package/bin/types/src/cli/share.d.ts +17 -0
  429. package/bin/types/src/cli/site-create.d.ts +24 -0
  430. package/bin/types/src/cli/site-migrate.d.ts +11 -0
  431. package/bin/types/src/cli/status.d.ts +8 -0
  432. package/bin/types/src/cli/types.d.ts +34 -0
  433. package/bin/types/src/cli/upgrade.d.ts +11 -0
  434. package/bin/types/src/cli/verify.d.ts +17 -0
  435. package/bin/types/src/cli/workflow-argv.d.ts +2 -0
  436. package/bin/types/src/compile/flatten.d.ts +23 -0
  437. package/bin/types/src/compile/frontmatter.d.ts +10 -0
  438. package/bin/types/src/compile/icons.d.ts +2 -0
  439. package/bin/types/src/compile/paths.d.ts +4 -0
  440. package/bin/types/src/compile/primitives.d.ts +2 -0
  441. package/bin/types/src/compile/scroll-motion.d.ts +14 -0
  442. package/bin/types/src/compile/site.d.ts +40 -0
  443. package/bin/types/src/editing/identity.d.ts +7 -0
  444. package/bin/types/src/editing/manifest.d.ts +38 -0
  445. package/bin/types/src/engine/checks.d.ts +2 -0
  446. package/bin/types/src/engine/contracts.d.ts +104 -0
  447. package/bin/types/src/engine/impact.d.ts +3 -0
  448. package/bin/types/src/engine/index.d.ts +70 -0
  449. package/bin/types/src/engine/revision.d.ts +5 -0
  450. package/bin/types/src/forms/cloudflare.d.ts +24 -0
  451. package/bin/types/src/forms/config.d.ts +34 -0
  452. package/bin/types/src/forms/frontend.d.ts +9 -0
  453. package/bin/types/src/html.d.ts +3 -0
  454. package/bin/types/src/icons/catalog.d.ts +28 -0
  455. package/bin/types/src/icons/coverage.d.ts +12 -0
  456. package/bin/types/src/icons/drawing.d.ts +7 -0
  457. package/bin/types/src/icons/duotone.d.ts +4 -0
  458. package/bin/types/src/icons/index.d.ts +37 -0
  459. package/bin/types/src/icons/industry-refinements-v4.d.ts +4 -0
  460. package/bin/types/src/icons/industry-review.d.ts +11 -0
  461. package/bin/types/src/icons/industry.d.ts +2 -0
  462. package/bin/types/src/icons/refinements.d.ts +5 -0
  463. package/bin/types/src/icons/studio-industry-review.d.ts +9 -0
  464. package/bin/types/src/icons/studio-industry.d.ts +5 -0
  465. package/bin/types/src/icons/studio.d.ts +34 -0
  466. package/bin/types/src/integrations/cloudflare-pages.d.ts +10 -0
  467. package/bin/types/src/integrations/deployment-smoke.d.ts +11 -0
  468. package/bin/types/src/integrations/hosting.d.ts +33 -0
  469. package/bin/types/src/integrations/wrangler-command.d.ts +5 -0
  470. package/bin/types/src/knowledge/artifact-order.d.ts +1 -0
  471. package/bin/types/src/knowledge/artifact.d.ts +11 -0
  472. package/bin/types/src/knowledge/composition.d.ts +54 -0
  473. package/bin/types/src/knowledge/contracts.d.ts +111 -0
  474. package/bin/types/src/knowledge/explain.d.ts +6 -0
  475. package/bin/types/src/knowledge/pack.d.ts +32 -0
  476. package/bin/types/src/knowledge/selection.d.ts +18 -0
  477. package/bin/types/src/knowledge/site-widgets.d.ts +6 -0
  478. package/bin/types/src/onboard/brief.d.ts +182 -0
  479. package/bin/types/src/onboard/classify.d.ts +31 -0
  480. package/bin/types/src/onboard/crawl-order.d.ts +7 -0
  481. package/bin/types/src/onboard/extract.d.ts +102 -0
  482. package/bin/types/src/onboard/harvest-inventory.d.ts +84 -0
  483. package/bin/types/src/onboard/outline.d.ts +13 -0
  484. package/bin/types/src/onboard/quality.d.ts +6 -0
  485. package/bin/types/src/onboard/shortlist.d.ts +11 -0
  486. package/bin/types/src/onboard/social.d.ts +15 -0
  487. package/bin/types/src/onboard/visual-hints.d.ts +12 -0
  488. package/bin/types/src/preserve/build.d.ts +1 -0
  489. package/bin/types/src/preserve/capture.d.ts +21 -0
  490. package/bin/types/src/preserve/components.d.ts +10 -0
  491. package/bin/types/src/preserve/config.d.ts +53 -0
  492. package/bin/types/src/preserve/embeds.d.ts +15 -0
  493. package/bin/types/src/preserve/hovers.d.ts +10 -0
  494. package/bin/types/src/preserve/react-capabilities.d.ts +2 -0
  495. package/bin/types/src/preserve/runtime.d.ts +2 -0
  496. package/bin/types/src/preserve/source-defects.d.ts +4 -0
  497. package/bin/types/src/preserve/supplement.d.ts +3 -0
  498. package/bin/types/src/preserve/verify.d.ts +29 -0
  499. package/bin/types/src/render.d.ts +10 -0
  500. package/bin/types/src/runtime/beacon.d.ts +2 -0
  501. package/bin/types/src/runtime/before-after.d.ts +2 -0
  502. package/bin/types/src/runtime/carousel.d.ts +2 -0
  503. package/bin/types/src/runtime/cookie-compliance.d.ts +14 -0
  504. package/bin/types/src/runtime/experience.d.ts +4 -0
  505. package/bin/types/src/runtime/header.d.ts +2 -0
  506. package/bin/types/src/runtime/leads.d.ts +2 -0
  507. package/bin/types/src/runtime/lightbox.d.ts +2 -0
  508. package/bin/types/src/runtime/scroll-motion.generated.d.ts +4 -0
  509. package/bin/types/src/runtime/tabs.d.ts +2 -0
  510. package/bin/types/src/schema.d.ts +27 -0
  511. package/bin/types/src/stock/library.d.ts +14 -0
  512. package/bin/types/src/stock/search.d.ts +30 -0
  513. package/bin/types/src/stock/selection.d.ts +30 -0
  514. package/bin/types/src/stock/types.d.ts +54 -0
  515. package/bin/types/src/theme.d.ts +3 -0
  516. package/bin/types/src/types.d.ts +115 -0
  517. package/bin/types/src/upgrade/kit.d.ts +48 -0
  518. package/bin/vitris-art.js +192 -0
  519. package/bin/vitris-blocks.js +238 -0
  520. package/bin/vitris-build.js +24 -0
  521. package/bin/vitris-catalog.js +49 -0
  522. package/bin/vitris-content-coverage.js +21 -0
  523. package/bin/vitris-create-site.js +86 -0
  524. package/bin/vitris-cursor-hook.js +61 -0
  525. package/bin/vitris-eval.js +76 -0
  526. package/bin/vitris-go.js +99 -0
  527. package/bin/vitris-harvest.js +184 -0
  528. package/bin/vitris-icons.js +168 -0
  529. package/bin/vitris-knowledge.js +43 -0
  530. package/bin/vitris-launch-preflight.js +964 -0
  531. package/bin/vitris-media-serve.js +50 -0
  532. package/bin/vitris-migrate-site.js +20 -0
  533. package/bin/vitris-motion-view.js +80 -0
  534. package/bin/vitris-prepare-media.js +64 -0
  535. package/bin/vitris-preview.js +36 -0
  536. package/bin/vitris-references.js +173 -0
  537. package/bin/vitris-refresh.js +50 -0
  538. package/bin/vitris-sign-publish-bundle.js +64 -0
  539. package/bin/vitris-stock.js +161 -0
  540. package/bin/vitris-templates.js +261 -0
  541. package/bin/vitris-themes.js +321 -0
  542. package/bin/vitris-upgrade.js +50 -0
  543. package/bin/vitris-verify-browser.js +662 -0
  544. package/bin/vitris-verify-performance.js +44 -0
  545. package/bin/vitris.js +50 -0
  546. package/blocks/CONVENTIONS.md +121 -0
  547. package/blocks/INDEX.md +130 -0
  548. package/blocks/about/about-awards/README.md +36 -0
  549. package/blocks/about/about-awards/styles.css +13 -0
  550. package/blocks/about/about-awards/template.html +1 -0
  551. package/blocks/about/about-credentials/README.md +33 -0
  552. package/blocks/about/about-credentials/block.meta.json +85 -0
  553. package/blocks/about/about-credentials/styles.css +4 -0
  554. package/blocks/about/about-credentials/template.html +1 -0
  555. package/blocks/about/about-founder/README.md +35 -0
  556. package/blocks/about/about-founder/styles.css +9 -0
  557. package/blocks/about/about-founder/template.html +1 -0
  558. package/blocks/about/about-mission/README.md +31 -0
  559. package/blocks/about/about-mission/styles.css +5 -0
  560. package/blocks/about/about-mission/template.html +1 -0
  561. package/blocks/about/about-statement/README.md +28 -0
  562. package/blocks/about/about-statement/styles.css +7 -0
  563. package/blocks/about/about-statement/template.html +1 -0
  564. package/blocks/about/about-story/README.md +35 -0
  565. package/blocks/about/about-story/styles.css +5 -0
  566. package/blocks/about/about-story/template.html +1 -0
  567. package/blocks/about/about-timeline/README.md +33 -0
  568. package/blocks/about/about-timeline/styles.css +8 -0
  569. package/blocks/about/about-timeline/template.html +1 -0
  570. package/blocks/about/about-values/README.md +31 -0
  571. package/blocks/about/about-values/styles.css +3 -0
  572. package/blocks/about/about-values/template.html +1 -0
  573. package/blocks/blog/blog-featured/README.md +39 -0
  574. package/blocks/blog/blog-featured/styles.css +12 -0
  575. package/blocks/blog/blog-featured/template.html +1 -0
  576. package/blocks/blog/blog-index/README.md +34 -0
  577. package/blocks/blog/blog-index/styles.css +6 -0
  578. package/blocks/blog/blog-index/template.html +1 -0
  579. package/blocks/blog/blog-post-header/README.md +31 -0
  580. package/blocks/blog/blog-post-header/styles.css +8 -0
  581. package/blocks/blog/blog-post-header/template.html +1 -0
  582. package/blocks/contact/contact-cards/README.md +32 -0
  583. package/blocks/contact/contact-cards/styles.css +7 -0
  584. package/blocks/contact/contact-cards/template.html +1 -0
  585. package/blocks/contact/contact-chips/README.md +41 -0
  586. package/blocks/contact/contact-chips/styles.css +13 -0
  587. package/blocks/contact/contact-chips/template.html +1 -0
  588. package/blocks/contact/contact-hours/README.md +41 -0
  589. package/blocks/contact/contact-hours/block.meta.json +87 -0
  590. package/blocks/contact/contact-hours/styles.css +8 -0
  591. package/blocks/contact/contact-hours/template.html +1 -0
  592. package/blocks/contact/contact-map/README.md +39 -0
  593. package/blocks/contact/contact-map/styles.css +10 -0
  594. package/blocks/contact/contact-map/template.html +1 -0
  595. package/blocks/contact/contact-offices/README.md +32 -0
  596. package/blocks/contact/contact-offices/styles.css +8 -0
  597. package/blocks/contact/contact-offices/template.html +1 -0
  598. package/blocks/contact/contact-phone-first/README.md +33 -0
  599. package/blocks/contact/contact-phone-first/block.meta.json +86 -0
  600. package/blocks/contact/contact-phone-first/styles.css +11 -0
  601. package/blocks/contact/contact-phone-first/template.html +1 -0
  602. package/blocks/contact/contact-split/README.md +43 -0
  603. package/blocks/contact/contact-split/styles.css +12 -0
  604. package/blocks/contact/contact-split/template.html +1 -0
  605. package/blocks/contact/contact-visit/README.md +36 -0
  606. package/blocks/contact/contact-visit/block.meta.json +88 -0
  607. package/blocks/contact/contact-visit/styles.css +13 -0
  608. package/blocks/contact/contact-visit/template.html +1 -0
  609. package/blocks/contact/service-areas/README.md +32 -0
  610. package/blocks/contact/service-areas/styles.css +9 -0
  611. package/blocks/contact/service-areas/template.html +1 -0
  612. package/blocks/content/glossary/README.md +35 -0
  613. package/blocks/content/glossary/styles.css +6 -0
  614. package/blocks/content/glossary/template.html +1 -0
  615. package/blocks/content/list-split/README.md +33 -0
  616. package/blocks/content/list-split/styles.css +13 -0
  617. package/blocks/content/list-split/template.html +1 -0
  618. package/blocks/content/prose-split/README.md +32 -0
  619. package/blocks/content/prose-split/styles.css +12 -0
  620. package/blocks/content/prose-split/template.html +1 -0
  621. package/blocks/content/specification-ledger/README.md +32 -0
  622. package/blocks/content/specification-ledger/block.meta.json +85 -0
  623. package/blocks/content/specification-ledger/styles.css +10 -0
  624. package/blocks/content/specification-ledger/template.html +1 -0
  625. package/blocks/cta/cta-band/README.md +33 -0
  626. package/blocks/cta/cta-band/styles.css +11 -0
  627. package/blocks/cta/cta-band/template.html +1 -0
  628. package/blocks/cta/cta-card/README.md +35 -0
  629. package/blocks/cta/cta-card/styles.css +8 -0
  630. package/blocks/cta/cta-card/template.html +1 -0
  631. package/blocks/cta/cta-floating-bar/README.md +28 -0
  632. package/blocks/cta/cta-floating-bar/styles.css +8 -0
  633. package/blocks/cta/cta-floating-bar/template.html +1 -0
  634. package/blocks/cta/cta-inline/README.md +30 -0
  635. package/blocks/cta/cta-inline/styles.css +9 -0
  636. package/blocks/cta/cta-inline/template.html +1 -0
  637. package/blocks/cta/cta-newsletter/README.md +34 -0
  638. package/blocks/cta/cta-newsletter/styles.css +8 -0
  639. package/blocks/cta/cta-newsletter/template.html +1 -0
  640. package/blocks/cta/cta-photo-fan/README.md +36 -0
  641. package/blocks/cta/cta-photo-fan/styles.css +14 -0
  642. package/blocks/cta/cta-photo-fan/template.html +1 -0
  643. package/blocks/cta/cta-split/README.md +38 -0
  644. package/blocks/cta/cta-split/styles.css +10 -0
  645. package/blocks/cta/cta-split/template.html +1 -0
  646. package/blocks/faq/faq-accordion/README.md +36 -0
  647. package/blocks/faq/faq-accordion/styles.css +6 -0
  648. package/blocks/faq/faq-accordion/template.html +1 -0
  649. package/blocks/faq/faq-grouped/README.md +40 -0
  650. package/blocks/faq/faq-grouped/styles.css +20 -0
  651. package/blocks/faq/faq-grouped/template.html +1 -0
  652. package/blocks/faq/faq-split/README.md +37 -0
  653. package/blocks/faq/faq-split/styles.css +5 -0
  654. package/blocks/faq/faq-split/template.html +1 -0
  655. package/blocks/faq/faq-tabs/README.md +36 -0
  656. package/blocks/faq/faq-tabs/styles.css +3 -0
  657. package/blocks/faq/faq-tabs/template.html +1 -0
  658. package/blocks/feature/feature-bento/README.md +33 -0
  659. package/blocks/feature/feature-bento/styles.css +7 -0
  660. package/blocks/feature/feature-bento/template.html +1 -0
  661. package/blocks/feature/feature-compare-table/README.md +44 -0
  662. package/blocks/feature/feature-compare-table/styles.css +15 -0
  663. package/blocks/feature/feature-compare-table/template.html +1 -0
  664. package/blocks/feature/feature-comparison/README.md +34 -0
  665. package/blocks/feature/feature-comparison/styles.css +6 -0
  666. package/blocks/feature/feature-comparison/template.html +1 -0
  667. package/blocks/feature/feature-grid-3/README.md +34 -0
  668. package/blocks/feature/feature-grid-3/styles.css +8 -0
  669. package/blocks/feature/feature-grid-3/template.html +1 -0
  670. package/blocks/feature/feature-icon-list/README.md +39 -0
  671. package/blocks/feature/feature-icon-list/styles.css +9 -0
  672. package/blocks/feature/feature-icon-list/template.html +1 -0
  673. package/blocks/feature/feature-spotlight/README.md +39 -0
  674. package/blocks/feature/feature-spotlight/styles.css +5 -0
  675. package/blocks/feature/feature-spotlight/template.html +1 -0
  676. package/blocks/feature/feature-stats-band/README.md +33 -0
  677. package/blocks/feature/feature-stats-band/styles.css +8 -0
  678. package/blocks/feature/feature-stats-band/template.html +1 -0
  679. package/blocks/feature/feature-tabs/README.md +38 -0
  680. package/blocks/feature/feature-tabs/styles.css +7 -0
  681. package/blocks/feature/feature-tabs/template.html +1 -0
  682. package/blocks/feature/feature-thumb-list/README.md +38 -0
  683. package/blocks/feature/feature-thumb-list/styles.css +13 -0
  684. package/blocks/feature/feature-thumb-list/template.html +1 -0
  685. package/blocks/feature/feature-zigzag/README.md +31 -0
  686. package/blocks/feature/feature-zigzag/styles.css +6 -0
  687. package/blocks/feature/feature-zigzag/template.html +1 -0
  688. package/blocks/footer/footer-columns/README.md +39 -0
  689. package/blocks/footer/footer-columns/styles.css +16 -0
  690. package/blocks/footer/footer-columns/template.html +1 -0
  691. package/blocks/footer/footer-compact/README.md +33 -0
  692. package/blocks/footer/footer-compact/styles.css +12 -0
  693. package/blocks/footer/footer-compact/template.html +1 -0
  694. package/blocks/footer/footer-cta/README.md +37 -0
  695. package/blocks/footer/footer-cta/styles.css +18 -0
  696. package/blocks/footer/footer-cta/template.html +1 -0
  697. package/blocks/footer/footer-social/README.md +37 -0
  698. package/blocks/footer/footer-social/styles.css +17 -0
  699. package/blocks/footer/footer-social/template.html +1 -0
  700. package/blocks/footer/footer-wordmark/README.md +40 -0
  701. package/blocks/footer/footer-wordmark/styles.css +19 -0
  702. package/blocks/footer/footer-wordmark/template.html +1 -0
  703. package/blocks/gallery/gallery-before-after/README.md +31 -0
  704. package/blocks/gallery/gallery-before-after/styles.css +6 -0
  705. package/blocks/gallery/gallery-before-after/template.html +1 -0
  706. package/blocks/gallery/gallery-carousel/README.md +32 -0
  707. package/blocks/gallery/gallery-carousel/styles.css +7 -0
  708. package/blocks/gallery/gallery-carousel/template.html +1 -0
  709. package/blocks/gallery/gallery-grid/README.md +39 -0
  710. package/blocks/gallery/gallery-grid/styles.css +13 -0
  711. package/blocks/gallery/gallery-grid/template.html +1 -0
  712. package/blocks/gallery/gallery-masonry/README.md +33 -0
  713. package/blocks/gallery/gallery-masonry/styles.css +4 -0
  714. package/blocks/gallery/gallery-masonry/template.html +1 -0
  715. package/blocks/gallery/gallery-mosaic-split/README.md +40 -0
  716. package/blocks/gallery/gallery-mosaic-split/styles.css +15 -0
  717. package/blocks/gallery/gallery-mosaic-split/template.html +1 -0
  718. package/blocks/hero/hero-asymmetric/README.md +34 -0
  719. package/blocks/hero/hero-asymmetric/styles.css +13 -0
  720. package/blocks/hero/hero-asymmetric/template.html +10 -0
  721. package/blocks/hero/hero-before-after/README.md +38 -0
  722. package/blocks/hero/hero-before-after/styles.css +8 -0
  723. package/blocks/hero/hero-before-after/template.html +19 -0
  724. package/blocks/hero/hero-editorial/README.md +34 -0
  725. package/blocks/hero/hero-editorial/block.meta.json +85 -0
  726. package/blocks/hero/hero-editorial/styles.css +6 -0
  727. package/blocks/hero/hero-editorial/template.html +10 -0
  728. package/blocks/hero/hero-evidence/README.md +32 -0
  729. package/blocks/hero/hero-evidence/block.meta.json +85 -0
  730. package/blocks/hero/hero-evidence/styles.css +13 -0
  731. package/blocks/hero/hero-evidence/template.html +1 -0
  732. package/blocks/hero/hero-form/README.md +46 -0
  733. package/blocks/hero/hero-form/styles.css +11 -0
  734. package/blocks/hero/hero-form/template.html +15 -0
  735. package/blocks/hero/hero-menu/README.md +36 -0
  736. package/blocks/hero/hero-menu/styles.css +7 -0
  737. package/blocks/hero/hero-menu/template.html +10 -0
  738. package/blocks/hero/hero-overlay/README.md +35 -0
  739. package/blocks/hero/hero-overlay/styles.css +14 -0
  740. package/blocks/hero/hero-overlay/template.html +10 -0
  741. package/blocks/hero/hero-page/README.md +35 -0
  742. package/blocks/hero/hero-page/styles.css +19 -0
  743. package/blocks/hero/hero-page/template.html +1 -0
  744. package/blocks/hero/hero-product/README.md +41 -0
  745. package/blocks/hero/hero-product/styles.css +11 -0
  746. package/blocks/hero/hero-product/template.html +14 -0
  747. package/blocks/hero/hero-service/README.md +37 -0
  748. package/blocks/hero/hero-service/block.meta.json +85 -0
  749. package/blocks/hero/hero-service/styles.css +17 -0
  750. package/blocks/hero/hero-service/template.html +1 -0
  751. package/blocks/hero/hero-split/README.md +36 -0
  752. package/blocks/hero/hero-split/styles.css +7 -0
  753. package/blocks/hero/hero-split/template.html +11 -0
  754. package/blocks/hero/hero-statement/README.md +33 -0
  755. package/blocks/hero/hero-statement/styles.css +8 -0
  756. package/blocks/hero/hero-statement/template.html +1 -0
  757. package/blocks/hero/hero-stats/README.md +37 -0
  758. package/blocks/hero/hero-stats/styles.css +10 -0
  759. package/blocks/hero/hero-stats/template.html +10 -0
  760. package/blocks/hero/hero-video-still/README.md +36 -0
  761. package/blocks/hero/hero-video-still/styles.css +9 -0
  762. package/blocks/hero/hero-video-still/template.html +13 -0
  763. package/blocks/icons.md +44 -0
  764. package/blocks/incentives/incentive-banner/README.md +28 -0
  765. package/blocks/incentives/incentive-banner/styles.css +7 -0
  766. package/blocks/incentives/incentive-banner/template.html +1 -0
  767. package/blocks/incentives/incentive-cards/README.md +31 -0
  768. package/blocks/incentives/incentive-cards/styles.css +4 -0
  769. package/blocks/incentives/incentive-cards/template.html +1 -0
  770. package/blocks/navbar/nav-announcement/README.md +35 -0
  771. package/blocks/navbar/nav-announcement/styles.css +10 -0
  772. package/blocks/navbar/nav-announcement/template.html +14 -0
  773. package/blocks/navbar/nav-centered/README.md +35 -0
  774. package/blocks/navbar/nav-centered/styles.css +11 -0
  775. package/blocks/navbar/nav-centered/template.html +12 -0
  776. package/blocks/navbar/nav-minimal/README.md +29 -0
  777. package/blocks/navbar/nav-minimal/styles.css +5 -0
  778. package/blocks/navbar/nav-minimal/template.html +6 -0
  779. package/blocks/navbar/nav-split/README.md +34 -0
  780. package/blocks/navbar/nav-split/styles.css +11 -0
  781. package/blocks/navbar/nav-split/template.html +11 -0
  782. package/blocks/navbar/nav-utility/README.md +37 -0
  783. package/blocks/navbar/nav-utility/styles.css +17 -0
  784. package/blocks/navbar/nav-utility/template.html +12 -0
  785. package/blocks/pricing/menu-featured/README.md +34 -0
  786. package/blocks/pricing/menu-featured/styles.css +4 -0
  787. package/blocks/pricing/menu-featured/template.html +1 -0
  788. package/blocks/pricing/menu-sections/README.md +33 -0
  789. package/blocks/pricing/menu-sections/styles.css +9 -0
  790. package/blocks/pricing/menu-sections/template.html +1 -0
  791. package/blocks/pricing/pricing-table/README.md +40 -0
  792. package/blocks/pricing/pricing-table/styles.css +9 -0
  793. package/blocks/pricing/pricing-table/template.html +1 -0
  794. package/blocks/pricing/pricing-tiers/README.md +34 -0
  795. package/blocks/pricing/pricing-tiers/styles.css +7 -0
  796. package/blocks/pricing/pricing-tiers/template.html +1 -0
  797. package/blocks/pricing/pricing-toggle/README.md +34 -0
  798. package/blocks/pricing/pricing-toggle/styles.css +10 -0
  799. package/blocks/pricing/pricing-toggle/template.html +1 -0
  800. package/blocks/process/process-carousel/README.md +33 -0
  801. package/blocks/process/process-carousel/styles.css +5 -0
  802. package/blocks/process/process-carousel/template.html +1 -0
  803. package/blocks/process/process-split/README.md +35 -0
  804. package/blocks/process/process-split/styles.css +6 -0
  805. package/blocks/process/process-split/template.html +1 -0
  806. package/blocks/process/process-stepper/README.md +40 -0
  807. package/blocks/process/process-stepper/styles.css +11 -0
  808. package/blocks/process/process-stepper/template.html +1 -0
  809. package/blocks/process/process-steps/README.md +35 -0
  810. package/blocks/process/process-steps/styles.css +6 -0
  811. package/blocks/process/process-steps/template.html +1 -0
  812. package/blocks/process/process-sticky/README.md +38 -0
  813. package/blocks/process/process-sticky/styles.css +12 -0
  814. package/blocks/process/process-sticky/template.html +1 -0
  815. package/blocks/process/process-timeline/README.md +35 -0
  816. package/blocks/process/process-timeline/styles.css +10 -0
  817. package/blocks/process/process-timeline/template.html +1 -0
  818. package/blocks/services/services-cards/README.md +34 -0
  819. package/blocks/services/services-cards/styles.css +3 -0
  820. package/blocks/services/services-cards/template.html +1 -0
  821. package/blocks/services/services-carousel/README.md +34 -0
  822. package/blocks/services/services-carousel/styles.css +6 -0
  823. package/blocks/services/services-carousel/template.html +1 -0
  824. package/blocks/services/services-list/README.md +32 -0
  825. package/blocks/services/services-list/block.meta.json +85 -0
  826. package/blocks/services/services-list/styles.css +10 -0
  827. package/blocks/services/services-list/template.html +1 -0
  828. package/blocks/services/services-menu/README.md +39 -0
  829. package/blocks/services/services-menu/styles.css +6 -0
  830. package/blocks/services/services-menu/template.html +1 -0
  831. package/blocks/services/services-packages/README.md +34 -0
  832. package/blocks/services/services-packages/styles.css +6 -0
  833. package/blocks/services/services-packages/template.html +1 -0
  834. package/blocks/services/services-panels/README.md +36 -0
  835. package/blocks/services/services-panels/styles.css +15 -0
  836. package/blocks/services/services-panels/template.html +1 -0
  837. package/blocks/services/services-photo-grid/README.md +39 -0
  838. package/blocks/services/services-photo-grid/styles.css +10 -0
  839. package/blocks/services/services-photo-grid/template.html +1 -0
  840. package/blocks/services/services-priority/README.md +33 -0
  841. package/blocks/services/services-priority/block.meta.json +86 -0
  842. package/blocks/services/services-priority/styles.css +16 -0
  843. package/blocks/services/services-priority/template.html +1 -0
  844. package/blocks/stats/stats-cards/README.md +31 -0
  845. package/blocks/stats/stats-cards/styles.css +4 -0
  846. package/blocks/stats/stats-cards/template.html +1 -0
  847. package/blocks/stats/stats-mosaic/README.md +27 -0
  848. package/blocks/stats/stats-mosaic/styles.css +9 -0
  849. package/blocks/stats/stats-mosaic/template.html +1 -0
  850. package/blocks/stats/stats-row/README.md +29 -0
  851. package/blocks/stats/stats-row/styles.css +8 -0
  852. package/blocks/stats/stats-row/template.html +1 -0
  853. package/blocks/stats/stats-split/README.md +35 -0
  854. package/blocks/stats/stats-split/styles.css +3 -0
  855. package/blocks/stats/stats-split/template.html +1 -0
  856. package/blocks/team/team-featured/README.md +42 -0
  857. package/blocks/team/team-featured/styles.css +9 -0
  858. package/blocks/team/team-featured/template.html +1 -0
  859. package/blocks/team/team-grid/README.md +35 -0
  860. package/blocks/team/team-grid/styles.css +8 -0
  861. package/blocks/team/team-grid/template.html +1 -0
  862. package/blocks/team/team-list/README.md +32 -0
  863. package/blocks/team/team-list/styles.css +7 -0
  864. package/blocks/team/team-list/template.html +1 -0
  865. package/blocks/testimonial/testimonial-carousel/README.md +32 -0
  866. package/blocks/testimonial/testimonial-carousel/styles.css +7 -0
  867. package/blocks/testimonial/testimonial-carousel/template.html +1 -0
  868. package/blocks/testimonial/testimonial-grid/README.md +32 -0
  869. package/blocks/testimonial/testimonial-grid/styles.css +5 -0
  870. package/blocks/testimonial/testimonial-grid/template.html +1 -0
  871. package/blocks/testimonial/testimonial-mosaic/README.md +38 -0
  872. package/blocks/testimonial/testimonial-mosaic/styles.css +14 -0
  873. package/blocks/testimonial/testimonial-mosaic/template.html +1 -0
  874. package/blocks/testimonial/testimonial-platform/README.md +34 -0
  875. package/blocks/testimonial/testimonial-platform/styles.css +17 -0
  876. package/blocks/testimonial/testimonial-platform/template.html +1 -0
  877. package/blocks/testimonial/testimonial-rating/README.md +28 -0
  878. package/blocks/testimonial/testimonial-rating/styles.css +6 -0
  879. package/blocks/testimonial/testimonial-rating/template.html +1 -0
  880. package/blocks/testimonial/testimonial-spotlight/README.md +31 -0
  881. package/blocks/testimonial/testimonial-spotlight/styles.css +9 -0
  882. package/blocks/testimonial/testimonial-spotlight/template.html +1 -0
  883. package/blocks/testimonial/testimonial-switcher/README.md +39 -0
  884. package/blocks/testimonial/testimonial-switcher/styles.css +23 -0
  885. package/blocks/testimonial/testimonial-switcher/template.html +1 -0
  886. package/blocks/testimonial/testimonial-wall/README.md +34 -0
  887. package/blocks/testimonial/testimonial-wall/styles.css +7 -0
  888. package/blocks/testimonial/testimonial-wall/template.html +1 -0
  889. package/blocks/trust-strip/trust-badges/README.md +30 -0
  890. package/blocks/trust-strip/trust-badges/styles.css +5 -0
  891. package/blocks/trust-strip/trust-badges/template.html +1 -0
  892. package/blocks/trust-strip/trust-certs/README.md +31 -0
  893. package/blocks/trust-strip/trust-certs/styles.css +12 -0
  894. package/blocks/trust-strip/trust-certs/template.html +1 -0
  895. package/blocks/trust-strip/trust-logos/README.md +32 -0
  896. package/blocks/trust-strip/trust-logos/styles.css +5 -0
  897. package/blocks/trust-strip/trust-logos/template.html +1 -0
  898. package/blocks/trust-strip/trust-quote/README.md +29 -0
  899. package/blocks/trust-strip/trust-quote/styles.css +5 -0
  900. package/blocks/trust-strip/trust-quote/template.html +1 -0
  901. package/blocks/trust-strip/trust-reviews/README.md +35 -0
  902. package/blocks/trust-strip/trust-reviews/styles.css +9 -0
  903. package/blocks/trust-strip/trust-reviews/template.html +1 -0
  904. package/blocks/work/case-alternating/README.md +34 -0
  905. package/blocks/work/case-alternating/block.meta.json +86 -0
  906. package/blocks/work/case-alternating/styles.css +7 -0
  907. package/blocks/work/case-alternating/template.html +1 -0
  908. package/blocks/work/case-carousel/README.md +26 -0
  909. package/blocks/work/case-carousel/styles.css +7 -0
  910. package/blocks/work/case-carousel/template.html +1 -0
  911. package/blocks/work/case-header/README.md +38 -0
  912. package/blocks/work/case-header/styles.css +18 -0
  913. package/blocks/work/case-header/template.html +1 -0
  914. package/blocks/work/project-evidence/README.md +35 -0
  915. package/blocks/work/project-evidence/block.meta.json +87 -0
  916. package/blocks/work/project-evidence/styles.css +12 -0
  917. package/blocks/work/project-evidence/template.html +1 -0
  918. package/blocks/work/project-grid/README.md +38 -0
  919. package/blocks/work/project-grid/styles.css +9 -0
  920. package/blocks/work/project-grid/template.html +1 -0
  921. package/cloudflare/wrangler.forms-test.jsonc +19 -0
  922. package/cloudflare/wrangler.jsonc +14 -0
  923. package/cloudflare/wrangler.templates.jsonc +6 -0
  924. package/design-system/MASTER.md +76 -0
  925. package/design-system/calibration/v2/accuracy.html +1 -0
  926. package/design-system/calibration/v2/accuracy.png +0 -0
  927. package/design-system/calibration/v2/manifest.json +88 -0
  928. package/design-system/calibration/v2/probe.png +0 -0
  929. package/design-system/calibration/v2/vitris-northline-counsel-home-1280-viewport.png +0 -0
  930. package/design-system/calibration/v2/vitris-northline-counsel-home-375-viewport.png +0 -0
  931. package/design-system/calibration/v2/vitris-northline-counsel-planning-1280-viewport.png +0 -0
  932. package/design-system/calibration/v2/vitris-northline-counsel-planning-375-viewport.png +0 -0
  933. package/design-system/calibration/v2/vitris-tide-and-slate-home-1280-viewport.png +0 -0
  934. package/design-system/calibration/v2/vitris-tide-and-slate-home-375-viewport.png +0 -0
  935. package/design-system/calibration/v2/vitris-tide-and-slate-project-1280-viewport.png +0 -0
  936. package/design-system/calibration/v2/vitris-tide-and-slate-project-375-viewport.png +0 -0
  937. package/design-system/compositions/v1/README.md +13 -0
  938. package/design-system/compositions/v1/northline-counsel/components/contact-phone-first/styles.css +11 -0
  939. package/design-system/compositions/v1/northline-counsel/components/contact-phone-first/template.html +1 -0
  940. package/design-system/compositions/v1/northline-counsel/components/contact-visit/styles.css +13 -0
  941. package/design-system/compositions/v1/northline-counsel/components/contact-visit/template.html +1 -0
  942. package/design-system/compositions/v1/northline-counsel/components/footer-compact/styles.css +12 -0
  943. package/design-system/compositions/v1/northline-counsel/components/footer-compact/template.html +1 -0
  944. package/design-system/compositions/v1/northline-counsel/components/hero-evidence/styles.css +13 -0
  945. package/design-system/compositions/v1/northline-counsel/components/hero-evidence/template.html +1 -0
  946. package/design-system/compositions/v1/northline-counsel/components/hero-page/styles.css +19 -0
  947. package/design-system/compositions/v1/northline-counsel/components/hero-page/template.html +1 -0
  948. package/design-system/compositions/v1/northline-counsel/components/nav-split/styles.css +11 -0
  949. package/design-system/compositions/v1/northline-counsel/components/nav-split/template.html +11 -0
  950. package/design-system/compositions/v1/northline-counsel/components/services-priority/styles.css +16 -0
  951. package/design-system/compositions/v1/northline-counsel/components/services-priority/template.html +1 -0
  952. package/design-system/compositions/v1/northline-counsel/components/specification-ledger/styles.css +10 -0
  953. package/design-system/compositions/v1/northline-counsel/components/specification-ledger/template.html +1 -0
  954. package/design-system/compositions/v1/northline-counsel/direction.md +5 -0
  955. package/design-system/compositions/v1/northline-counsel/fixture-brief.json +10 -0
  956. package/design-system/compositions/v1/northline-counsel/media-inventory.json +1 -0
  957. package/design-system/compositions/v1/northline-counsel/pages/index.html +11 -0
  958. package/design-system/compositions/v1/northline-counsel/pages/planning.html +11 -0
  959. package/design-system/compositions/v1/northline-counsel/selection-receipt.json +36 -0
  960. package/design-system/compositions/v1/northline-counsel/site.json +1 -0
  961. package/design-system/compositions/v1/northline-counsel/storyboard.md +12 -0
  962. package/design-system/compositions/v1/northline-counsel/theme/defaults.json +1 -0
  963. package/design-system/compositions/v1/source-ledger.json +18 -0
  964. package/design-system/compositions/v1/tide-and-slate/components/contact-phone-first/styles.css +11 -0
  965. package/design-system/compositions/v1/tide-and-slate/components/contact-phone-first/template.html +1 -0
  966. package/design-system/compositions/v1/tide-and-slate/components/footer-compact/styles.css +12 -0
  967. package/design-system/compositions/v1/tide-and-slate/components/footer-compact/template.html +1 -0
  968. package/design-system/compositions/v1/tide-and-slate/components/hero-page/styles.css +19 -0
  969. package/design-system/compositions/v1/tide-and-slate/components/hero-page/template.html +1 -0
  970. package/design-system/compositions/v1/tide-and-slate/components/hero-split/styles.css +7 -0
  971. package/design-system/compositions/v1/tide-and-slate/components/hero-split/template.html +11 -0
  972. package/design-system/compositions/v1/tide-and-slate/components/nav-split/styles.css +11 -0
  973. package/design-system/compositions/v1/tide-and-slate/components/nav-split/template.html +11 -0
  974. package/design-system/compositions/v1/tide-and-slate/components/project-evidence/styles.css +12 -0
  975. package/design-system/compositions/v1/tide-and-slate/components/project-evidence/template.html +1 -0
  976. package/design-system/compositions/v1/tide-and-slate/components/services-priority/styles.css +16 -0
  977. package/design-system/compositions/v1/tide-and-slate/components/services-priority/template.html +1 -0
  978. package/design-system/compositions/v1/tide-and-slate/components/specification-ledger/styles.css +10 -0
  979. package/design-system/compositions/v1/tide-and-slate/components/specification-ledger/template.html +1 -0
  980. package/design-system/compositions/v1/tide-and-slate/direction.md +5 -0
  981. package/design-system/compositions/v1/tide-and-slate/fixture-brief.json +10 -0
  982. package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-finished.webp +0 -0
  983. package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-finished.webp.provenance.json +9 -0
  984. package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-work.webp +0 -0
  985. package/design-system/compositions/v1/tide-and-slate/media/teaching/slate-roof-work.webp.provenance.json +9 -0
  986. package/design-system/compositions/v1/tide-and-slate/media-inventory.json +7 -0
  987. package/design-system/compositions/v1/tide-and-slate/pages/index.html +10 -0
  988. package/design-system/compositions/v1/tide-and-slate/pages/project.html +10 -0
  989. package/design-system/compositions/v1/tide-and-slate/site.json +1 -0
  990. package/design-system/compositions/v1/tide-and-slate/storyboard.md +12 -0
  991. package/design-system/compositions/v1/tide-and-slate/theme/defaults.json +1 -0
  992. package/design-system/compositions/v2/catalog.json +4018 -0
  993. package/design-system/compositions/v2/clearwell-directory/components/study-clearwell-directory/styles.css +3 -0
  994. package/design-system/compositions/v2/clearwell-directory/components/study-clearwell-directory/template.html +1 -0
  995. package/design-system/compositions/v2/clearwell-directory/pages/detail/index.html +5 -0
  996. package/design-system/compositions/v2/clearwell-directory/pages/index.html +5 -0
  997. package/design-system/compositions/v2/clearwell-directory/site.json +7 -0
  998. package/design-system/compositions/v2/clearwell-directory/study.json +244 -0
  999. package/design-system/compositions/v2/clearwell-directory/theme/defaults.json +16 -0
  1000. package/design-system/compositions/v2/clearwell-letter/components/study-clearwell-letter/styles.css +2 -0
  1001. package/design-system/compositions/v2/clearwell-letter/components/study-clearwell-letter/template.html +1 -0
  1002. package/design-system/compositions/v2/clearwell-letter/pages/detail/index.html +5 -0
  1003. package/design-system/compositions/v2/clearwell-letter/pages/index.html +5 -0
  1004. package/design-system/compositions/v2/clearwell-letter/site.json +7 -0
  1005. package/design-system/compositions/v2/clearwell-letter/study.json +236 -0
  1006. package/design-system/compositions/v2/clearwell-letter/theme/defaults.json +16 -0
  1007. package/design-system/compositions/v2/dock-radio/components/study-dock-radio/styles.css +2 -0
  1008. package/design-system/compositions/v2/dock-radio/components/study-dock-radio/template.html +1 -0
  1009. package/design-system/compositions/v2/dock-radio/media/teaching/original-tone-study.wav +0 -0
  1010. package/design-system/compositions/v2/dock-radio/media/teaching/original-tone-study.wav.provenance.json +6 -0
  1011. package/design-system/compositions/v2/dock-radio/pages/detail/index.html +5 -0
  1012. package/design-system/compositions/v2/dock-radio/pages/index.html +5 -0
  1013. package/design-system/compositions/v2/dock-radio/site.json +7 -0
  1014. package/design-system/compositions/v2/dock-radio/study.json +288 -0
  1015. package/design-system/compositions/v2/dock-radio/theme/defaults.json +16 -0
  1016. package/design-system/compositions/v2/fen-repair/components/study-fen-repair/styles.css +2 -0
  1017. package/design-system/compositions/v2/fen-repair/components/study-fen-repair/template.html +1 -0
  1018. package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-finished.webp +0 -0
  1019. package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-finished.webp.provenance.json +9 -0
  1020. package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-work.webp +0 -0
  1021. package/design-system/compositions/v2/fen-repair/media/teaching/slate-roof-work.webp.provenance.json +9 -0
  1022. package/design-system/compositions/v2/fen-repair/pages/detail/index.html +5 -0
  1023. package/design-system/compositions/v2/fen-repair/pages/index.html +5 -0
  1024. package/design-system/compositions/v2/fen-repair/site.json +7 -0
  1025. package/design-system/compositions/v2/fen-repair/study.json +236 -0
  1026. package/design-system/compositions/v2/fen-repair/theme/defaults.json +16 -0
  1027. package/design-system/compositions/v2/hearth-plane/components/study-hearth-plane/styles.css +2 -0
  1028. package/design-system/compositions/v2/hearth-plane/components/study-hearth-plane/template.html +1 -0
  1029. package/design-system/compositions/v2/hearth-plane/pages/detail/index.html +5 -0
  1030. package/design-system/compositions/v2/hearth-plane/pages/index.html +5 -0
  1031. package/design-system/compositions/v2/hearth-plane/site.json +7 -0
  1032. package/design-system/compositions/v2/hearth-plane/study.json +238 -0
  1033. package/design-system/compositions/v2/hearth-plane/theme/defaults.json +16 -0
  1034. package/design-system/compositions/v2/lacuna-objects/components/study-lacuna-objects/styles.css +2 -0
  1035. package/design-system/compositions/v2/lacuna-objects/components/study-lacuna-objects/template.html +1 -0
  1036. package/design-system/compositions/v2/lacuna-objects/pages/detail/index.html +5 -0
  1037. package/design-system/compositions/v2/lacuna-objects/pages/index.html +5 -0
  1038. package/design-system/compositions/v2/lacuna-objects/site.json +7 -0
  1039. package/design-system/compositions/v2/lacuna-objects/study.json +242 -0
  1040. package/design-system/compositions/v2/lacuna-objects/theme/defaults.json +16 -0
  1041. package/design-system/compositions/v2/loop-room/components/study-loop-room/styles.css +2 -0
  1042. package/design-system/compositions/v2/loop-room/components/study-loop-room/template.html +1 -0
  1043. package/design-system/compositions/v2/loop-room/pages/detail/index.html +5 -0
  1044. package/design-system/compositions/v2/loop-room/pages/index.html +5 -0
  1045. package/design-system/compositions/v2/loop-room/site.json +7 -0
  1046. package/design-system/compositions/v2/loop-room/study.json +253 -0
  1047. package/design-system/compositions/v2/loop-room/theme/defaults.json +16 -0
  1048. package/design-system/compositions/v2/manifest.json +740 -0
  1049. package/design-system/compositions/v2/mara-reading-room/components/study-mara-reading-room/styles.css +2 -0
  1050. package/design-system/compositions/v2/mara-reading-room/components/study-mara-reading-room/template.html +1 -0
  1051. package/design-system/compositions/v2/mara-reading-room/pages/detail/index.html +5 -0
  1052. package/design-system/compositions/v2/mara-reading-room/pages/index.html +5 -0
  1053. package/design-system/compositions/v2/mara-reading-room/site.json +7 -0
  1054. package/design-system/compositions/v2/mara-reading-room/study.json +246 -0
  1055. package/design-system/compositions/v2/mara-reading-room/theme/defaults.json +16 -0
  1056. package/design-system/compositions/v2/mara-specimen/components/study-mara-specimen/styles.css +3 -0
  1057. package/design-system/compositions/v2/mara-specimen/components/study-mara-specimen/template.html +1 -0
  1058. package/design-system/compositions/v2/mara-specimen/pages/detail/index.html +5 -0
  1059. package/design-system/compositions/v2/mara-specimen/pages/index.html +5 -0
  1060. package/design-system/compositions/v2/mara-specimen/site.json +7 -0
  1061. package/design-system/compositions/v2/mara-specimen/study.json +244 -0
  1062. package/design-system/compositions/v2/mara-specimen/theme/defaults.json +16 -0
  1063. package/design-system/compositions/v2/margin-journal/components/study-margin-journal/styles.css +2 -0
  1064. package/design-system/compositions/v2/margin-journal/components/study-margin-journal/template.html +1 -0
  1065. package/design-system/compositions/v2/margin-journal/pages/detail/index.html +5 -0
  1066. package/design-system/compositions/v2/margin-journal/pages/index.html +5 -0
  1067. package/design-system/compositions/v2/margin-journal/site.json +7 -0
  1068. package/design-system/compositions/v2/margin-journal/study.json +242 -0
  1069. package/design-system/compositions/v2/margin-journal/theme/defaults.json +16 -0
  1070. package/design-system/compositions/v2/night-orchard/components/study-night-orchard/styles.css +2 -0
  1071. package/design-system/compositions/v2/night-orchard/components/study-night-orchard/template.html +1 -0
  1072. package/design-system/compositions/v2/night-orchard/pages/detail/index.html +5 -0
  1073. package/design-system/compositions/v2/night-orchard/pages/index.html +5 -0
  1074. package/design-system/compositions/v2/night-orchard/site.json +7 -0
  1075. package/design-system/compositions/v2/night-orchard/study.json +247 -0
  1076. package/design-system/compositions/v2/night-orchard/theme/defaults.json +16 -0
  1077. package/design-system/compositions/v2/previews/clearwell-directory-home-1440.png +0 -0
  1078. package/design-system/compositions/v2/previews/clearwell-directory-home-390.png +0 -0
  1079. package/design-system/compositions/v2/previews/clearwell-directory-interior-1440.png +0 -0
  1080. package/design-system/compositions/v2/previews/clearwell-directory-interior-390.png +0 -0
  1081. package/design-system/compositions/v2/previews/clearwell-letter-home-1440.png +0 -0
  1082. package/design-system/compositions/v2/previews/clearwell-letter-home-390.png +0 -0
  1083. package/design-system/compositions/v2/previews/clearwell-letter-interior-1440.png +0 -0
  1084. package/design-system/compositions/v2/previews/clearwell-letter-interior-390.png +0 -0
  1085. package/design-system/compositions/v2/previews/dock-radio-home-1440.png +0 -0
  1086. package/design-system/compositions/v2/previews/dock-radio-home-390.png +0 -0
  1087. package/design-system/compositions/v2/previews/dock-radio-interior-1440.png +0 -0
  1088. package/design-system/compositions/v2/previews/dock-radio-interior-390.png +0 -0
  1089. package/design-system/compositions/v2/previews/fen-repair-home-1440.png +0 -0
  1090. package/design-system/compositions/v2/previews/fen-repair-home-390.png +0 -0
  1091. package/design-system/compositions/v2/previews/fen-repair-interior-1440.png +0 -0
  1092. package/design-system/compositions/v2/previews/fen-repair-interior-390.png +0 -0
  1093. package/design-system/compositions/v2/previews/hearth-plane-home-1440.png +0 -0
  1094. package/design-system/compositions/v2/previews/hearth-plane-home-390.png +0 -0
  1095. package/design-system/compositions/v2/previews/hearth-plane-interior-1440.png +0 -0
  1096. package/design-system/compositions/v2/previews/hearth-plane-interior-390.png +0 -0
  1097. package/design-system/compositions/v2/previews/lacuna-objects-home-1440.png +0 -0
  1098. package/design-system/compositions/v2/previews/lacuna-objects-home-390.png +0 -0
  1099. package/design-system/compositions/v2/previews/lacuna-objects-interior-1440.png +0 -0
  1100. package/design-system/compositions/v2/previews/lacuna-objects-interior-390.png +0 -0
  1101. package/design-system/compositions/v2/previews/loop-room-home-1440.png +0 -0
  1102. package/design-system/compositions/v2/previews/loop-room-home-390.png +0 -0
  1103. package/design-system/compositions/v2/previews/loop-room-interior-1440.png +0 -0
  1104. package/design-system/compositions/v2/previews/loop-room-interior-390.png +0 -0
  1105. package/design-system/compositions/v2/previews/mara-reading-room-home-1440.png +0 -0
  1106. package/design-system/compositions/v2/previews/mara-reading-room-home-390.png +0 -0
  1107. package/design-system/compositions/v2/previews/mara-reading-room-interior-1440.png +0 -0
  1108. package/design-system/compositions/v2/previews/mara-reading-room-interior-390.png +0 -0
  1109. package/design-system/compositions/v2/previews/mara-specimen-home-1440.png +0 -0
  1110. package/design-system/compositions/v2/previews/mara-specimen-home-390.png +0 -0
  1111. package/design-system/compositions/v2/previews/mara-specimen-interior-1440.png +0 -0
  1112. package/design-system/compositions/v2/previews/mara-specimen-interior-390.png +0 -0
  1113. package/design-system/compositions/v2/previews/margin-journal-home-1440.png +0 -0
  1114. package/design-system/compositions/v2/previews/margin-journal-home-390.png +0 -0
  1115. package/design-system/compositions/v2/previews/margin-journal-interior-1440.png +0 -0
  1116. package/design-system/compositions/v2/previews/margin-journal-interior-390.png +0 -0
  1117. package/design-system/compositions/v2/previews/night-orchard-home-1440.png +0 -0
  1118. package/design-system/compositions/v2/previews/night-orchard-home-390.png +0 -0
  1119. package/design-system/compositions/v2/previews/night-orchard-interior-1440.png +0 -0
  1120. package/design-system/compositions/v2/previews/night-orchard-interior-390.png +0 -0
  1121. package/design-system/compositions/v2/previews/relay-workflow-home-1440.png +0 -0
  1122. package/design-system/compositions/v2/previews/relay-workflow-home-390.png +0 -0
  1123. package/design-system/compositions/v2/previews/relay-workflow-interior-1440.png +0 -0
  1124. package/design-system/compositions/v2/previews/relay-workflow-interior-390.png +0 -0
  1125. package/design-system/compositions/v2/previews/rivet-components-home-1440.png +0 -0
  1126. package/design-system/compositions/v2/previews/rivet-components-home-390.png +0 -0
  1127. package/design-system/compositions/v2/previews/rivet-components-interior-1440.png +0 -0
  1128. package/design-system/compositions/v2/previews/rivet-components-interior-390.png +0 -0
  1129. package/design-system/compositions/v2/previews/signal-fair-home-1440.png +0 -0
  1130. package/design-system/compositions/v2/previews/signal-fair-home-390.png +0 -0
  1131. package/design-system/compositions/v2/previews/signal-fair-interior-1440.png +0 -0
  1132. package/design-system/compositions/v2/previews/signal-fair-interior-390.png +0 -0
  1133. package/design-system/compositions/v2/previews/sundial-goods-home-1440.png +0 -0
  1134. package/design-system/compositions/v2/previews/sundial-goods-home-390.png +0 -0
  1135. package/design-system/compositions/v2/previews/sundial-goods-interior-1440.png +0 -0
  1136. package/design-system/compositions/v2/previews/sundial-goods-interior-390.png +0 -0
  1137. package/design-system/compositions/v2/previews/thread-mender-home-1440.png +0 -0
  1138. package/design-system/compositions/v2/previews/thread-mender-home-390.png +0 -0
  1139. package/design-system/compositions/v2/previews/thread-mender-interior-1440.png +0 -0
  1140. package/design-system/compositions/v2/previews/thread-mender-interior-390.png +0 -0
  1141. package/design-system/compositions/v2/relay-workflow/components/study-relay-workflow/styles.css +2 -0
  1142. package/design-system/compositions/v2/relay-workflow/components/study-relay-workflow/template.html +1 -0
  1143. package/design-system/compositions/v2/relay-workflow/pages/detail/index.html +5 -0
  1144. package/design-system/compositions/v2/relay-workflow/pages/index.html +5 -0
  1145. package/design-system/compositions/v2/relay-workflow/site.json +7 -0
  1146. package/design-system/compositions/v2/relay-workflow/study.json +283 -0
  1147. package/design-system/compositions/v2/relay-workflow/theme/defaults.json +16 -0
  1148. package/design-system/compositions/v2/rivet-components/components/study-rivet-components/styles.css +2 -0
  1149. package/design-system/compositions/v2/rivet-components/components/study-rivet-components/template.html +1 -0
  1150. package/design-system/compositions/v2/rivet-components/pages/detail/index.html +5 -0
  1151. package/design-system/compositions/v2/rivet-components/pages/index.html +5 -0
  1152. package/design-system/compositions/v2/rivet-components/site.json +7 -0
  1153. package/design-system/compositions/v2/rivet-components/study.json +241 -0
  1154. package/design-system/compositions/v2/rivet-components/theme/defaults.json +16 -0
  1155. package/design-system/compositions/v2/signal-fair/components/study-signal-fair/styles.css +2 -0
  1156. package/design-system/compositions/v2/signal-fair/components/study-signal-fair/template.html +1 -0
  1157. package/design-system/compositions/v2/signal-fair/pages/detail/index.html +5 -0
  1158. package/design-system/compositions/v2/signal-fair/pages/index.html +5 -0
  1159. package/design-system/compositions/v2/signal-fair/site.json +7 -0
  1160. package/design-system/compositions/v2/signal-fair/study.json +271 -0
  1161. package/design-system/compositions/v2/signal-fair/theme/defaults.json +16 -0
  1162. package/design-system/compositions/v2/sundial-goods/components/study-sundial-goods/styles.css +2 -0
  1163. package/design-system/compositions/v2/sundial-goods/components/study-sundial-goods/template.html +1 -0
  1164. package/design-system/compositions/v2/sundial-goods/pages/detail/index.html +5 -0
  1165. package/design-system/compositions/v2/sundial-goods/pages/index.html +5 -0
  1166. package/design-system/compositions/v2/sundial-goods/site.json +7 -0
  1167. package/design-system/compositions/v2/sundial-goods/study.json +247 -0
  1168. package/design-system/compositions/v2/sundial-goods/theme/defaults.json +16 -0
  1169. package/design-system/compositions/v2/thread-mender/components/study-thread-mender/styles.css +2 -0
  1170. package/design-system/compositions/v2/thread-mender/components/study-thread-mender/template.html +1 -0
  1171. package/design-system/compositions/v2/thread-mender/pages/detail/index.html +5 -0
  1172. package/design-system/compositions/v2/thread-mender/pages/index.html +5 -0
  1173. package/design-system/compositions/v2/thread-mender/site.json +7 -0
  1174. package/design-system/compositions/v2/thread-mender/study.json +253 -0
  1175. package/design-system/compositions/v2/thread-mender/theme/defaults.json +16 -0
  1176. package/design-system/knowledge/v1/README.md +8 -0
  1177. package/design-system/knowledge/v1/catalog.json +479 -0
  1178. package/design-system/knowledge/v1/demonstrations/assets/teaching-slate-slope.png +0 -0
  1179. package/design-system/knowledge/v1/demonstrations/assets/teaching-slate-slope.provenance.json +12 -0
  1180. package/design-system/knowledge/v1/demonstrations/mobile-strong.html +50 -0
  1181. package/design-system/knowledge/v1/demonstrations/mobile-weak.html +50 -0
  1182. package/design-system/knowledge/v1/demonstrations/project-strong.html +50 -0
  1183. package/design-system/knowledge/v1/demonstrations/project-weak.html +50 -0
  1184. package/design-system/knowledge/v1/demonstrations/repeat-strong.html +50 -0
  1185. package/design-system/knowledge/v1/demonstrations/repeat-weak.html +50 -0
  1186. package/design-system/knowledge/v1/demonstrations/services-strong.html +50 -0
  1187. package/design-system/knowledge/v1/demonstrations/services-weak.html +50 -0
  1188. package/design-system/knowledge/v1/demonstrations/sparse-strong.html +50 -0
  1189. package/design-system/knowledge/v1/demonstrations/sparse-weak.html +50 -0
  1190. package/design-system/knowledge/v1/demonstrations/type-strong.html +50 -0
  1191. package/design-system/knowledge/v1/demonstrations/type-weak.html +50 -0
  1192. package/design-system/knowledge/v1/manifest.json +88 -0
  1193. package/design-system/knowledge/v1/observations/mobile-strong-1080.png +0 -0
  1194. package/design-system/knowledge/v1/observations/mobile-strong-375.png +0 -0
  1195. package/design-system/knowledge/v1/observations/mobile-weak-1080.png +0 -0
  1196. package/design-system/knowledge/v1/observations/mobile-weak-375.png +0 -0
  1197. package/design-system/knowledge/v1/observations/project-strong-1080.png +0 -0
  1198. package/design-system/knowledge/v1/observations/project-strong-375.png +0 -0
  1199. package/design-system/knowledge/v1/observations/project-weak-1080.png +0 -0
  1200. package/design-system/knowledge/v1/observations/project-weak-375.png +0 -0
  1201. package/design-system/knowledge/v1/observations/type-strong-1080.png +0 -0
  1202. package/design-system/knowledge/v1/observations/type-strong-375.png +0 -0
  1203. package/design-system/knowledge/v1/observations/type-weak-1080.png +0 -0
  1204. package/design-system/knowledge/v1/observations/type-weak-375.png +0 -0
  1205. package/design-system/knowledge/v2/added-lessons.json +30 -0
  1206. package/design-system/knowledge/v2/assets.json +14 -0
  1207. package/design-system/knowledge/v2/fixtures/contact-alternate.html +17 -0
  1208. package/design-system/knowledge/v2/fixtures/contact-broken.html +15 -0
  1209. package/design-system/knowledge/v2/fixtures/contact-valid.html +20 -0
  1210. package/design-system/knowledge/v2/fixtures/contrast-cases.html +10 -0
  1211. package/design-system/knowledge/v2/island-audit.json +12 -0
  1212. package/design-system/knowledge/v2/lesson-extensions.json +158 -0
  1213. package/design-system/knowledge/v2/manifest.json +52 -0
  1214. package/design-system/knowledge/v2/replacements.json +14 -0
  1215. package/design-system/knowledge/v2/requirements.json +345 -0
  1216. package/design-system/knowledge/v2/sources.json +182 -0
  1217. package/design-system/knowledge/v3/catalog.json +1232 -0
  1218. package/design-system/knowledge/v3/examples/catalog.json +799 -0
  1219. package/design-system/knowledge/v3/lessons/cmp-collection-structure.md +17 -0
  1220. package/design-system/knowledge/v3/lessons/cmp-comparison.md +17 -0
  1221. package/design-system/knowledge/v3/lessons/cmp-contextual-action.md +17 -0
  1222. package/design-system/knowledge/v3/lessons/cmp-contrastive-critique.md +17 -0
  1223. package/design-system/knowledge/v3/lessons/cmp-disclosure.md +17 -0
  1224. package/design-system/knowledge/v3/lessons/cmp-evidence-form.md +17 -0
  1225. package/design-system/knowledge/v3/lessons/cmp-image-art-direction.md +17 -0
  1226. package/design-system/knowledge/v3/lessons/cmp-image-sequence.md +17 -0
  1227. package/design-system/knowledge/v3/lessons/cmp-interactive-explanation.md +17 -0
  1228. package/design-system/knowledge/v3/lessons/cmp-local-information.md +17 -0
  1229. package/design-system/knowledge/v3/lessons/cmp-motion-continuity.md +17 -0
  1230. package/design-system/knowledge/v3/lessons/cmp-narrative-continuity.md +17 -0
  1231. package/design-system/knowledge/v3/lessons/cmp-navigation.md +17 -0
  1232. package/design-system/knowledge/v3/lessons/cmp-page-rhythm.md +17 -0
  1233. package/design-system/knowledge/v3/lessons/cmp-process.md +17 -0
  1234. package/design-system/knowledge/v3/lessons/cmp-proof-adjacency.md +17 -0
  1235. package/design-system/knowledge/v3/lessons/cmp-responsive-recomposition.md +17 -0
  1236. package/design-system/knowledge/v3/lessons/cmp-semantic-grouping.md +17 -0
  1237. package/design-system/knowledge/v3/lessons/cmp-shared-alignment.md +17 -0
  1238. package/design-system/knowledge/v3/lessons/cmp-sparse-media.md +17 -0
  1239. package/design-system/knowledge/v3/lessons/cmp-surfaces-motifs.md +17 -0
  1240. package/design-system/knowledge/v3/lessons/cmp-text-shape.md +17 -0
  1241. package/design-system/knowledge/v3/lessons/cmp-type-roles.md +17 -0
  1242. package/design-system/knowledge/v3/lessons/cmp-unequal-emphasis.md +17 -0
  1243. package/design-system/knowledge/v3/manifest.json +117 -0
  1244. package/design-system/knowledge/v3/sources.json +425 -0
  1245. package/design-system/references/v1/README.md +27 -0
  1246. package/design-system/references/v1/catalog.json +20035 -0
  1247. package/design-system/references/v1/manifest.json +10 -0
  1248. package/design-system/references/v2/README.md +27 -0
  1249. package/design-system/references/v2/catalog.json +27382 -0
  1250. package/design-system/references/v2/manifest.json +11 -0
  1251. package/design-system/references/v3/README.md +27 -0
  1252. package/design-system/references/v3/catalog.json +27628 -0
  1253. package/design-system/references/v3/manifest.json +11 -0
  1254. package/docs/CLI.md +299 -0
  1255. package/docs/CLOUDFLARE.md +53 -0
  1256. package/docs/CONTACT-FORMS.md +161 -0
  1257. package/docs/DISTRIBUTION.md +70 -0
  1258. package/docs/ENGINE.md +28 -0
  1259. package/docs/PRESERVE.md +59 -0
  1260. package/docs/SECURITY.md +23 -0
  1261. package/docs/STOCK-MEDIA.md +66 -0
  1262. package/licenses/blake3-wasm-LICENSE +21 -0
  1263. package/licenses/entities-LICENSE +11 -0
  1264. package/licenses/parse5-LICENSE +19 -0
  1265. package/migrations/0001_init.sql +90 -0
  1266. package/migrations/0002_analytics.sql +50 -0
  1267. package/migrations/0003_site_updates.sql +29 -0
  1268. package/migrations/0004_contact_forms.sql +75 -0
  1269. package/migrations/0005_auth.sql +20 -0
  1270. package/package.json +229 -6
  1271. package/src/runtime/beacon.ts +329 -0
  1272. package/src/runtime/before-after.ts +48 -0
  1273. package/src/runtime/carousel.ts +20 -0
  1274. package/src/runtime/cookie-compliance.ts +50 -0
  1275. package/src/runtime/counter.ts +2 -0
  1276. package/src/runtime/editor.ts +72 -0
  1277. package/src/runtime/experience.ts +57 -0
  1278. package/src/runtime/header.ts +46 -0
  1279. package/src/runtime/leads.ts +102 -0
  1280. package/src/runtime/lightbox.ts +26 -0
  1281. package/src/runtime/reveal.ts +2 -0
  1282. package/src/runtime/scroll-motion.controller.js +100 -0
  1283. package/src/runtime/scroll-motion.count.js +21 -0
  1284. package/src/runtime/scroll-motion.generated.ts +5 -0
  1285. package/src/runtime/scroll-motion.vanilla.js +45 -0
  1286. package/src/runtime/tabs.ts +40 -0
  1287. package/src/stock/catalog.json +5445 -0
  1288. package/src/stock/coverage.json +18 -0
  1289. package/src/stock/picker.css +118 -0
  1290. package/src/stock/picker.js +191 -0
  1291. package/templates/site/.env.example +6 -0
  1292. package/templates/site/.github/workflows/deploy.yml +59 -0
  1293. package/templates/site/AGENTS.md +35 -0
  1294. package/templates/site/CLAUDE.md +5 -0
  1295. package/templates/site/GEMINI.md +5 -0
  1296. package/templates/site/README.md +55 -0
  1297. package/templates/site/components/README.md +18 -0
  1298. package/templates/site/gitignore +10 -0
  1299. package/templates/site/launch.json +14 -0
  1300. package/templates/site/package.json +36 -0
  1301. package/templates/site/pages/README.md +31 -0
  1302. package/templates/site/site.json +10 -0
  1303. package/templates/site/theme/defaults.json +17 -0
@@ -0,0 +1,219 @@
1
+ import {
2
+ stripAgentRuntimeHistory
3
+ } from "./chunk-34H54KEY.js";
4
+ import {
5
+ EXIT_CODES
6
+ } from "./chunk-JCRGE6AL.js";
7
+ import {
8
+ gatherBlankOnboard,
9
+ persistOnboard
10
+ } from "./chunk-Z2UNY47A.js";
11
+ import {
12
+ persistSiteInputs,
13
+ recordManagedKit,
14
+ resolveSiteInputs
15
+ } from "./chunk-3CTBXY5K.js";
16
+ import {
17
+ initialState,
18
+ parseGraphYaml
19
+ } from "./chunk-BBV7PMFC.js";
20
+ import {
21
+ findHarnessRoot
22
+ } from "./chunk-HNORQ74T.js";
23
+ import {
24
+ save
25
+ } from "./chunk-T6PE4KN4.js";
26
+
27
+ // src/cli/site-create.ts
28
+ import { cpSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
29
+ import { join, resolve } from "node:path";
30
+ import { randomUUID } from "node:crypto";
31
+ var harnessRoot = findHarnessRoot();
32
+ async function createSite(opts) {
33
+ const dir = opts.dir;
34
+ const slug = (opts.slug || "").toLowerCase().replace(/[^a-z0-9-]/g, "");
35
+ const name = opts.name || slug;
36
+ const fromArg = opts.from;
37
+ const blank = !!opts.blank;
38
+ const mode = opts.mode || "redesign";
39
+ const ownerEmail = opts.owner || "";
40
+ const backendOrigin = (opts.backendOrigin || opts.kernelOrigin || "").replace(/\/$/, "");
41
+ const harnessSpec = opts.harnessSpec || opts.kernelSpec || JSON.parse(readFileSync(join(harnessRoot, "package.json"), "utf8")).version;
42
+ if (!dir || !slug) {
43
+ return {
44
+ ok: false,
45
+ exitCode: EXIT_CODES.CONFIG_OR_CLI_ERROR,
46
+ error: "createSite requires --dir and --slug"
47
+ };
48
+ }
49
+ if (!["redesign", "preserve"].includes(mode) || mode === "preserve" && (!fromArg || blank)) {
50
+ return { ok: false, exitCode: EXIT_CODES.CONFIG_OR_CLI_ERROR, error: "Use --mode redesign|preserve. Preserve mode requires --from URL and cannot use --blank." };
51
+ }
52
+ if (mode === "preserve") {
53
+ try {
54
+ const url = new URL(fromArg);
55
+ if (!/^https?:$/.test(url.protocol) || url.username || url.password) throw new Error();
56
+ } catch {
57
+ return { ok: false, exitCode: EXIT_CODES.CONFIG_OR_CLI_ERROR, error: "Preserve --from must be an HTTP(S) URL without credentials" };
58
+ }
59
+ }
60
+ if (blank && fromArg) {
61
+ return {
62
+ ok: false,
63
+ exitCode: EXIT_CODES.CONFIG_OR_CLI_ERROR,
64
+ error: "Use either --from or --blank, not both"
65
+ };
66
+ }
67
+ let inputs;
68
+ try {
69
+ inputs = resolveSiteInputs(opts);
70
+ if (mode === "preserve" && (inputs.template || inputs.content !== void 0)) throw Error("Template and additional content inputs require redesign mode");
71
+ } catch (error) {
72
+ return { ok: false, exitCode: EXIT_CODES.CONFIG_OR_CLI_ERROR, error: error instanceof Error ? error.message : String(error) };
73
+ }
74
+ const dest = resolve(dir);
75
+ if (existsSync(dest) && existsSync(join(dest, "package.json")) && !opts.force) {
76
+ return {
77
+ ok: false,
78
+ exitCode: EXIT_CODES.PRECONDITION_FAILED,
79
+ error: `Refusing to overwrite existing package.json in ${dest}. Pass --force to override.`
80
+ };
81
+ }
82
+ if (opts.dryRun) {
83
+ return {
84
+ ok: true,
85
+ exitCode: EXIT_CODES.SUCCESS,
86
+ summary: `[dry-run] Would scaffold site ${slug} (${name}) at ${dest}`,
87
+ data: { dest, slug, name }
88
+ };
89
+ }
90
+ mkdirSync(dest, { recursive: true });
91
+ cpSync(join(harnessRoot, "templates", "site"), dest, { recursive: true });
92
+ renameSync(join(dest, "gitignore"), join(dest, ".gitignore"));
93
+ cpSync(join(harnessRoot, "agent"), join(dest, "agent"), { recursive: true });
94
+ stripAgentRuntimeHistory(join(dest, "agent"));
95
+ recordManagedKit(dest, harnessRoot);
96
+ mkdirSync(join(dest, "design-system"), { recursive: true });
97
+ cpSync(join(harnessRoot, "design-system", "MASTER.md"), join(dest, "design-system", "MASTER.md"));
98
+ const pkgPath = join(dest, "package.json");
99
+ const pkg = JSON.parse(readFileSync(pkgPath, "utf8"));
100
+ pkg.name = slug;
101
+ pkg.dependencies["@tryvitris/website-harness"] = harnessSpec;
102
+ if (mode === "preserve") {
103
+ pkg.scripts.go = "node ./node_modules/@tryvitris/website-harness/bin/vitris.js run --site .";
104
+ pkg.scripts.eval = "node ./node_modules/@tryvitris/website-harness/bin/vitris.js verify --site .";
105
+ pkg.scripts.deploy = "node ./node_modules/@tryvitris/website-harness/bin/vitris.js deploy --site . --environment preview";
106
+ pkg.scripts["verify:browser"] = pkg.scripts.eval;
107
+ }
108
+ for (const [key, value] of Object.entries(pkg.scripts)) pkg.scripts[key] = value.replaceAll("__SLUG__", slug);
109
+ writeFileSync(pkgPath, `${JSON.stringify(pkg, null, 2)}
110
+ `);
111
+ for (const file of ["site.json", "README.md", "AGENTS.md"]) {
112
+ const p = join(dest, file);
113
+ if (file === "site.json" && existsSync(p)) {
114
+ const site = JSON.parse(readFileSync(p, "utf8"));
115
+ site.slug = slug;
116
+ site.name = name;
117
+ site.siteId = site.siteId || randomUUID();
118
+ site.sourceFormatVersion = 1;
119
+ site.capabilities = backendOrigin ? ["analytics"] : [];
120
+ writeFileSync(p, `${JSON.stringify(site, null, 2)}
121
+ `);
122
+ } else if (existsSync(p)) {
123
+ writeFileSync(p, readFileSync(p, "utf8").replaceAll("__SLUG__", slug).replaceAll("__NAME__", name));
124
+ }
125
+ }
126
+ const launchPath = join(dest, "launch.json");
127
+ const launch = existsSync(launchPath) ? JSON.parse(readFileSync(launchPath, "utf8")) : {};
128
+ launch.slug = slug;
129
+ launch.name = name;
130
+ launch.sourceUrl = fromArg || "";
131
+ launch.mode = mode;
132
+ if (mode === "redesign") {
133
+ launch.themeSelection = { version: 1, enabled: true };
134
+ launch.templateAdaptation = { version: 2 };
135
+ }
136
+ launch.backendOrigin = backendOrigin;
137
+ launch.forms = launch.forms || [];
138
+ launch.ownerEmail = ownerEmail;
139
+ launch.pagesProject = slug;
140
+ launch.github = { owner: "", repo: "" };
141
+ launch.publicOrigin = "";
142
+ writeFileSync(launchPath, `${JSON.stringify(launch, null, 2)}
143
+ `);
144
+ if (mode === "preserve") {
145
+ writeFileSync(join(dest, "README.md"), `# ${name}
146
+
147
+ Preserved custom website from ${fromArg}.
148
+
149
+ 1. npm install
150
+ 2. npx playwright install chromium
151
+ 3. npm run go
152
+ 4. npm run preview
153
+ 5. npm run deploy (temporary Cloudflare preview)
154
+
155
+ Custom source: preserved/. Verification: agent/reviews/preserve.json. See AGENTS.md and the installed harness docs/PRESERVE.md. Run vitris forms inspect and vitris forms setup to register and connect contact forms; backendOrigin alone does not enable submission or notifications. See docs/CONTACT-FORMS.md.
156
+ `);
157
+ writeFileSync(join(dest, "AGENTS.md"), `# ${name} preservation
158
+
159
+ Run npm run go to capture and verify the existing client-facing site. Keep its appearance, copy, routes, and interactions. Custom HTML, CSS, assets, and runtime live in preserved/. No redesign, design-system injection, or creative graph is used while launch.json mode is preserve.
160
+
161
+ Repair source in preserved/ when agent/reviews/preserve.json reports a failure; run npm run go again. Never change reference screenshots or hashes to make a check pass. Do not overwrite source by recapturing. onboarding/preserve.json records the source and captured routes. Contact forms require explicit registration and public launch.json forms bindings. backendOrigin alone does not enable delivery. Default previews show a notice without submitting. See docs/CONTACT-FORMS.md.
162
+
163
+ Use npm run deploy for a temporary Cloudflare preview after verification. Production and customer domains are outside this mode. Scaffold a later redesign separately from the same source URL.
164
+ `);
165
+ }
166
+ const workflow = join(dest, ".github", "workflows", "deploy.yml");
167
+ if (existsSync(workflow)) {
168
+ if (mode === "preserve") {
169
+ writeFileSync(workflow, `name: Preserve preview
170
+ on: workflow_dispatch
171
+ jobs:
172
+ preview:
173
+ runs-on: ubuntu-latest
174
+ steps:
175
+ - uses: actions/checkout@v4
176
+ - uses: actions/setup-node@v4
177
+ with:
178
+ node-version: 24
179
+ - run: npm ci
180
+ - run: npx playwright install --with-deps chromium
181
+ - run: npm run deploy
182
+ env:
183
+ CLOUDFLARE_API_TOKEN: \${{ secrets.CLOUDFLARE_API_TOKEN }}
184
+ CLOUDFLARE_ACCOUNT_ID: \${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
185
+ `);
186
+ } else writeFileSync(workflow, readFileSync(workflow, "utf8").replaceAll("__SLUG__", slug));
187
+ }
188
+ const gathered = await gatherBlankOnboard({ slug, name, noPrompt: true });
189
+ gathered.brief.sourceUrl = fromArg || "";
190
+ if (fromArg) {
191
+ gathered.brief.warnings = [
192
+ "Harvest pending \u2014 from this site repo: npm install && npx playwright install chromium && npm run go (or npm run harvest)."
193
+ ];
194
+ }
195
+ persistOnboard(dest, gathered.brief, {
196
+ pages: gathered.pages,
197
+ copyMarkdown: gathered.copyMarkdown
198
+ });
199
+ persistSiteInputs(dest, inputs);
200
+ const graphPath = join(dest, "agent", "graph.yaml");
201
+ if (existsSync(graphPath)) {
202
+ const graph = parseGraphYaml(readFileSync(graphPath, "utf8"));
203
+ const state = initialState(graph);
204
+ if (!fromArg && state.nodes.harvest) {
205
+ state.nodes.harvest = { status: "done", attempts: 0 };
206
+ }
207
+ save(join(dest, "agent", "STATE.json"), state);
208
+ }
209
+ return {
210
+ ok: true,
211
+ exitCode: EXIT_CODES.SUCCESS,
212
+ summary: `Created site ${slug} at ${dest}`,
213
+ data: { dest, slug, name }
214
+ };
215
+ }
216
+
217
+ export {
218
+ createSite
219
+ };
@@ -0,0 +1,327 @@
1
+ import {
2
+ parseFrontmatter
3
+ } from "./chunk-ANMJRJQ5.js";
4
+ import {
5
+ COOKIE_COMPLIANCE_PATH,
6
+ beaconJs,
7
+ compileAllPages,
8
+ compileSite,
9
+ defaultTitleFromPath,
10
+ fileToPath,
11
+ motionAssetHref,
12
+ motionJs,
13
+ robotsTxt,
14
+ siteCss,
15
+ siteIslands,
16
+ sitemapXml
17
+ } from "./chunk-YCVGD2CG.js";
18
+ import {
19
+ mergeTheme,
20
+ themeCss
21
+ } from "./chunk-LKN75JGA.js";
22
+ import {
23
+ escapeHtml
24
+ } from "./chunk-7FS67SRF.js";
25
+
26
+ // src/build/index.ts
27
+ import { mkdir, readdir, readFile, writeFile } from "node:fs/promises";
28
+ import { join, relative } from "node:path";
29
+ import { createHash } from "node:crypto";
30
+
31
+ // src/forms/frontend.ts
32
+ import { parseFragment } from "parse5";
33
+
34
+ // src/forms/config.ts
35
+ var safeId = (s) => typeof s === "string" && /^[a-zA-Z0-9_-]{1,80}$/.test(s);
36
+ var safeEmail = (s) => {
37
+ if (typeof s !== "string" || s.length > 254 || !/^[A-Za-z0-9.!#$%&'*+/=?^_`{|}~-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,63}$/.test(s)) return false;
38
+ const [local, domain] = s.split("@");
39
+ return !!local && local.length <= 64 && !local.startsWith(".") && !local.endsWith(".") && !local.includes("..") && !!domain && domain.split(".").every((label) => label.length <= 63 && /^[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?$/.test(label));
40
+ };
41
+ function approvedOrigin(value) {
42
+ const u = new URL(value);
43
+ if (u.origin !== value || u.hostname.includes("*") || u.username || u.password || u.protocol !== "https:" && !(u.protocol === "http:" && ["localhost", "127.0.0.1", "[::1]"].includes(u.hostname))) throw new Error("Expected exact HTTPS origin (HTTP only on loopback)");
44
+ return u.origin;
45
+ }
46
+ function validateFormConfig(value) {
47
+ const c = value;
48
+ if (!c || !safeId(c.id) || !["disabled", "test", "live"].includes(c.mode)) throw new Error("Invalid form ID or mode");
49
+ if (!Array.isArray(c.origins) || !c.origins.length || c.origins.length > 10 || new Set(c.origins).size !== c.origins.length) throw new Error("One to ten unique exact origins required");
50
+ c.origins.forEach(approvedOrigin);
51
+ if (c.mode === "live" && c.origins.some((o) => new URL(o).protocol !== "https:" || ["localhost", "127.0.0.1", "[::1]"].includes(new URL(o).hostname))) throw new Error("Live forms cannot approve loopback origins");
52
+ if (!Array.isArray(c.fields) || !c.fields.length || c.fields.length > 32 || new Set(c.fields.map((f) => f.name)).size !== c.fields.length) throw new Error("One to 32 unique fields required");
53
+ const reserved = /* @__PURE__ */ new Set(["form_id", "tenant_id", "idempotency_key", "page_path", "vid", "company_url", "cf-turnstile-response", "recipients", "to", "from", "sender"]);
54
+ const maps = /* @__PURE__ */ new Set();
55
+ for (const f of c.fields) {
56
+ if (!safeId(f.name) || reserved.has(f.name) || !["text", "email", "tel", "textarea", "select", "checkbox", "radio"].includes(f.type) || !Number.isInteger(f.maxLength) || f.maxLength < 1 || f.maxLength > 8e3 || f.minLength !== void 0 && (!Number.isInteger(f.minLength) || f.minLength < 0 || f.minLength > f.maxLength) || f.label !== void 0 && (typeof f.label !== "string" || f.label.length > 200) || f.required !== void 0 && typeof f.required !== "boolean") throw new Error("Invalid field schema");
57
+ if (f.map !== void 0) {
58
+ if (!["name", "email", "phone", "message"].includes(f.map) || maps.has(f.map)) throw new Error("Invalid or duplicate mapping");
59
+ maps.add(f.map);
60
+ }
61
+ if ((["select", "checkbox", "radio"].includes(f.type) || f.options !== void 0) && (!Array.isArray(f.options) || !f.options.length || f.options.length > 40 || f.options.some((s) => typeof s !== "string" || !s || s.length > f.maxLength) || new Set(f.options).size !== f.options.length)) throw new Error("Choice fields need bounded options");
62
+ }
63
+ if (!c.fields.some((f) => f.map === "email" && f.type === "email" && f.required)) throw new Error("A required visitor email mapping is needed");
64
+ if (!Array.isArray(c.recipients) || c.recipients.length > 5 || c.recipients.some((r) => !safeEmail(r)) || new Set(c.recipients).size !== c.recipients.length) throw new Error("Invalid notification recipients");
65
+ if (!c.turnstile || typeof c.turnstile.sitekey !== "string" || !/^[a-zA-Z0-9_-]{1,100}$/.test(c.turnstile.sitekey) || !safeId(c.turnstile.secretRef) || !safeId(c.turnstile.action) || c.turnstile.action.length > 32) throw new Error("Invalid Turnstile configuration");
66
+ return c;
67
+ }
68
+
69
+ // src/forms/frontend.ts
70
+ function inspectForms(html) {
71
+ const inventory = [];
72
+ const walk = (node, visit) => {
73
+ if ("tagName" in node) visit(node);
74
+ if ("childNodes" in node) node.childNodes.forEach((n) => walk(n, visit));
75
+ };
76
+ walk(parseFragment(html), (form) => {
77
+ if (form.tagName !== "form") return;
78
+ const fields = [], unsupported = [];
79
+ let eligible = form.attrs.some((a) => a.name === "data-lead-form");
80
+ if (form.attrs.some((a) => ["data-lead-custom", "data-no-enhance"].includes(a.name))) unsupported.push("Custom submission handler needs explicit migration");
81
+ walk(form, (el) => {
82
+ const attr = (name2) => el.attrs.find((a) => a.name === name2)?.value;
83
+ if (attr("data-vitrisid") === "emailSendButton") eligible = true;
84
+ if (!["input", "textarea", "select"].includes(el.tagName)) return;
85
+ const name = attr("name"), type = el.tagName === "input" ? attr("type") || "text" : el.tagName;
86
+ if (["hidden", "submit", "button", "reset"].includes(type)) {
87
+ if (type === "hidden" && name && !["vid", "page_path", "company_url", "form_id", "tenant_id", "idempotency_key", "cf-turnstile-response"].includes(name)) unsupported.push(`Unmapped hidden field: ${name}`);
88
+ return;
89
+ }
90
+ if (!name || !safeId(name) || !["text", "email", "tel", "textarea", "select", "checkbox", "radio"].includes(type)) {
91
+ unsupported.push(`Unsupported field: ${name || "(unnamed)"} (${type})`);
92
+ return;
93
+ }
94
+ if (attr("multiple") !== void 0 && type !== "checkbox") unsupported.push(`Unsupported multiple field: ${name}`);
95
+ const options = [];
96
+ if (type === "select") walk(el, (opt) => {
97
+ if (opt.tagName === "option") {
98
+ const value = opt.attrs.find((a) => a.name === "value")?.value ?? opt.childNodes.filter((n) => "value" in n).map((n) => n.value).join("");
99
+ if (value) options.push(value);
100
+ }
101
+ });
102
+ if (type === "checkbox" || type === "radio") options.push(attr("value") || "on");
103
+ const old = fields.find((f) => f.name === name);
104
+ if (old) {
105
+ if (old.type === type && ["checkbox", "radio"].includes(type)) {
106
+ old.options.push(...options);
107
+ old.required = old.required || attr("required") !== void 0;
108
+ } else unsupported.push(`Duplicate field: ${name}`);
109
+ return;
110
+ }
111
+ fields.push({ name, type, label: attr("aria-label") || name, required: attr("required") !== void 0, minLength: Number(attr("minlength") || 0), maxLength: Math.min(8e3, Number(attr("maxlength") || (type === "textarea" ? 8e3 : 255))), ...["select", "checkbox", "radio"].includes(type) ? { options } : {}, ...["name", "email", "message", "phone"].includes(name) ? { map: name } : ["number", "telephone", "phone_number", "phoneNumber"].includes(name) ? { map: "phone" } : {} });
112
+ });
113
+ inventory.push({ index: inventory.length, eligible, fields, unsupported });
114
+ });
115
+ return inventory;
116
+ }
117
+ function connectForms(html, backend, pagePath, forms) {
118
+ const bindings = forms.filter((f) => f.pagePath === pagePath);
119
+ if (!bindings.length) return html;
120
+ approvedOrigin(backend);
121
+ const inventory = inspectForms(html);
122
+ const seen = /* @__PURE__ */ new Set();
123
+ for (const f of bindings) {
124
+ const index = f.index ?? 0, item = inventory[index];
125
+ if (!safeId(f.id) || !safeId(f.action) || f.action.length > 32 || !/^[a-zA-Z0-9_-]{1,100}$/.test(f.sitekey) || !item || !item.eligible || item.unsupported.length || seen.has(index)) throw new Error(`Cannot connect ${pagePath} form ${index}: ${item?.unsupported.join(", ") || "explicit contact-form marker and valid unique binding required"}`);
126
+ seen.add(index);
127
+ }
128
+ const located = [];
129
+ const walk = (node) => {
130
+ if ("tagName" in node && node.tagName === "form") located.push(node);
131
+ if ("childNodes" in node) node.childNodes.forEach(walk);
132
+ };
133
+ walk(parseFragment(html, { sourceCodeLocationInfo: true }));
134
+ const edits = [];
135
+ for (const binding of bindings) {
136
+ const form = located[binding.index ?? 0], location = form.sourceCodeLocation;
137
+ if (!location?.startTag || !location.endTag) throw new Error("Unclosed contact form requires source repair");
138
+ const start = location.startTag.startOffset, end = location.endTag.endOffset;
139
+ let open = html.slice(start, location.startTag.endOffset);
140
+ const remove = /* @__PURE__ */ new Set(["action", "method", "novalidate", "data-preserve-forms", "data-vitris-form", "data-vitris-sitekey", "data-vitris-action", "data-vitris-enhanced", "data-lead-form"]);
141
+ for (const [name, span] of Object.entries(location.attrs || {}).sort((a, b) => b[1].startOffset - a[1].startOffset)) if (remove.has(name)) open = open.slice(0, span.startOffset - start) + open.slice(span.endOffset - start);
142
+ let inner = html.slice(location.startTag.endOffset, location.endTag.startOffset);
143
+ const inputs = [];
144
+ const collect = (node) => {
145
+ if ("tagName" in node && node.tagName === "input") inputs.push(node);
146
+ if ("childNodes" in node) node.childNodes.forEach(collect);
147
+ };
148
+ collect(form);
149
+ for (const input of inputs.sort((a, b) => (b.sourceCodeLocation?.startOffset || 0) - (a.sourceCodeLocation?.startOffset || 0))) {
150
+ const name = input.attrs.find((a) => a.name === "name")?.value;
151
+ if (["form_id", "idempotency_key", "cf-turnstile-response"].includes(name || "") && input.sourceCodeLocation) {
152
+ const s = input.sourceCodeLocation.startOffset - location.startTag.endOffset, e = input.sourceCodeLocation.endOffset - location.startTag.endOffset;
153
+ inner = inner.slice(0, s) + inner.slice(e);
154
+ }
155
+ }
156
+ const has = (name) => inputs.some((input) => input.attrs.some((a) => a.name === "name" && a.value === name));
157
+ open = open.replace(/>$/, ` method="post" action="${escapeHtml(backend)}/api/leads?form_id=${binding.id}" data-lead-form data-vitris-enhanced data-preserve-forms="live" data-vitris-form="${binding.id}" data-vitris-sitekey="${binding.sitekey}" data-vitris-action="${binding.action}">`);
158
+ const value = `${open}<input type="hidden" name="form_id" value="${binding.id}">${has("page_path") ? "" : `<input type="hidden" name="page_path" value="${escapeHtml(pagePath)}">`}${has("company_url") ? "" : '<input type="hidden" name="company_url" value="">'}${inner}<noscript><p>This form needs JavaScript and a security check. Please use the listed contact details.</p></noscript>${html.slice(location.endTag.startOffset, end)}`;
159
+ edits.push({ start, end, value });
160
+ }
161
+ for (const edit of edits.sort((a, b) => b.start - a.start)) html = html.slice(0, edit.start) + edit.value + html.slice(edit.end);
162
+ return html;
163
+ }
164
+
165
+ // src/build/index.ts
166
+ async function walkHtmlFiles(dir, base = dir) {
167
+ const out = [];
168
+ let entries;
169
+ try {
170
+ entries = await readdir(dir, { withFileTypes: true });
171
+ } catch {
172
+ return out;
173
+ }
174
+ for (const entry of entries) {
175
+ const full = join(dir, entry.name);
176
+ if (entry.isDirectory()) {
177
+ out.push(...await walkHtmlFiles(full, base));
178
+ } else if (entry.isFile() && entry.name.endsWith(".html")) {
179
+ out.push(relative(base, full).replace(/\\/g, "/"));
180
+ }
181
+ }
182
+ return out;
183
+ }
184
+ async function loadSiteCatalog(siteDir) {
185
+ const catalog = {};
186
+ try {
187
+ const entries = await readdir(join(siteDir, "components"), { withFileTypes: true });
188
+ for (const entry of entries) {
189
+ if (!entry.isDirectory()) continue;
190
+ const name = String(entry.name);
191
+ const dir = join(siteDir, "components", name);
192
+ let html;
193
+ let css;
194
+ try {
195
+ html = await readFile(join(dir, "template.html"), "utf8");
196
+ css = await readFile(join(dir, "styles.css"), "utf8");
197
+ } catch {
198
+ continue;
199
+ }
200
+ let island = null;
201
+ try {
202
+ island = await readFile(join(dir, "island.js"), "utf8");
203
+ } catch {
204
+ island = null;
205
+ }
206
+ catalog[name] = { html, css, island };
207
+ }
208
+ } catch {
209
+ return catalog;
210
+ }
211
+ return catalog;
212
+ }
213
+ async function loadSitePages(siteDir) {
214
+ const pagesDir = join(siteDir, "pages");
215
+ const files = await walkHtmlFiles(pagesDir);
216
+ const pages = [];
217
+ for (const file of files.sort()) {
218
+ const raw = await readFile(join(pagesDir, file), "utf8");
219
+ const { meta, body } = parseFrontmatter(raw);
220
+ const path = fileToPath(file);
221
+ pages.push({
222
+ path,
223
+ file,
224
+ title: meta.title || defaultTitleFromPath(path),
225
+ description: meta.description,
226
+ indexing: path === "/404" ? "noindex" : meta.indexing === "noindex" || meta.indexing === "index" ? meta.indexing : void 0,
227
+ lang: meta.lang,
228
+ body
229
+ });
230
+ }
231
+ return pages;
232
+ }
233
+ async function loadSiteDir(dir) {
234
+ const site = JSON.parse(await readFile(join(dir, "site.json"), "utf8"));
235
+ let theme = {};
236
+ try {
237
+ theme = JSON.parse(await readFile(join(dir, "theme", "defaults.json"), "utf8"));
238
+ } catch {
239
+ theme = {};
240
+ }
241
+ const pages = await loadSitePages(dir);
242
+ const catalog = await loadSiteCatalog(dir);
243
+ return { site, theme, pages, catalog };
244
+ }
245
+ async function buildSite(input) {
246
+ const backendOrigin = input.backendOrigin || input.kernelOrigin || "";
247
+ const theme = mergeTheme(input.theme);
248
+ const themeHref = input.themeHref ?? "/theme.css";
249
+ const envName = process.env.VITRIS_SITE_ENVIRONMENT;
250
+ const site = envName === "preview" || envName === "production" ? { ...input.site, environment: envName } : input.site;
251
+ const compiled = compileAllPages(site, input.pages, input.catalog, backendOrigin);
252
+ const pageAssets = {};
253
+ const routeAssets = /* @__PURE__ */ new Map();
254
+ const asset = (body, ext) => {
255
+ const path = `/assets/immutable/${createHash("sha256").update(body).digest("hex")}.${ext}`;
256
+ routeAssets.set(path, body);
257
+ return path;
258
+ };
259
+ for (const page of compiled) {
260
+ const js = siteIslands([page], input.catalog);
261
+ pageAssets[page.path] = { css: asset(siteCss([page], input.catalog), "css"), js: js ? asset(js, "js") : null };
262
+ }
263
+ const files = compileSite({
264
+ site,
265
+ pages: input.pages,
266
+ catalog: input.catalog,
267
+ kernelOrigin: backendOrigin,
268
+ themeHref,
269
+ publicOrigin: input.publicOrigin,
270
+ pageAssets,
271
+ webAnalyticsToken: input.webAnalyticsToken
272
+ });
273
+ const written = [];
274
+ await mkdir(input.outDir, { recursive: true });
275
+ await mkdir(join(input.outDir, "assets/immutable"), { recursive: true });
276
+ for (const [path, body] of routeAssets) await writeFile(join(input.outDir, path.slice(1)), body, "utf8");
277
+ for (const file of files) {
278
+ const rel = file.path === "/" ? "index.html" : `${file.path.replace(/^\//, "").replace(/\/$/, "")}/index.html`;
279
+ const dest = join(input.outDir, rel);
280
+ await mkdir(join(dest, ".."), { recursive: true });
281
+ await writeFile(dest, connectForms(file.html, backendOrigin, file.path, input.forms || []), "utf8");
282
+ written.push(rel);
283
+ }
284
+ await writeFile(join(input.outDir, "site.css"), siteCss(compiled, input.catalog), "utf8");
285
+ await writeFile(join(input.outDir, "theme.css"), themeCss(theme), "utf8");
286
+ if (backendOrigin) await writeFile(join(input.outDir, "beacon.js"), beaconJs, "utf8");
287
+ await writeFile(join(input.outDir, "robots.txt"), robotsTxt(input.publicOrigin), "utf8");
288
+ await writeFile(
289
+ join(input.outDir, "sitemap.xml"),
290
+ sitemapXml(
291
+ compiled.map((p) => p.path),
292
+ input.publicOrigin,
293
+ [COOKIE_COMPLIANCE_PATH, ...site.indexing === "noindex" ? compiled.map((page) => page.path) : compiled.filter((page) => page.indexing === "noindex").map((page) => page.path)],
294
+ Boolean(backendOrigin)
295
+ ),
296
+ "utf8"
297
+ );
298
+ const islands = siteIslands(compiled, input.catalog);
299
+ if (islands) await writeFile(join(input.outDir, "islands.js"), islands, "utf8");
300
+ if (compiled.some((page) => page.usesMotion)) {
301
+ await writeFile(join(input.outDir, motionAssetHref.slice(1)), motionJs, "utf8");
302
+ written.push(motionAssetHref.slice(1));
303
+ }
304
+ if (islands) written.push("islands.js");
305
+ written.push("site.css", "theme.css", "beacon.js", "robots.txt", "sitemap.xml");
306
+ return written;
307
+ }
308
+ async function fetchLiveContent(kernelOrigin, slug, token) {
309
+ const res = await fetch(`${kernelOrigin.replace(/\/$/, "")}/api/deploy/${encodeURIComponent(slug)}`, {
310
+ headers: { authorization: `Bearer ${token}` }
311
+ });
312
+ if (!res.ok) return null;
313
+ return await res.json();
314
+ }
315
+
316
+ export {
317
+ safeId,
318
+ approvedOrigin,
319
+ validateFormConfig,
320
+ inspectForms,
321
+ connectForms,
322
+ loadSiteCatalog,
323
+ loadSitePages,
324
+ loadSiteDir,
325
+ buildSite,
326
+ fetchLiveContent
327
+ };