hyperframes 0.8.200 → 0.8.202

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 (194) hide show
  1. package/dist/{add-MFJDOJHQ.js → add-YC7QXNDO.js} +14 -17
  2. package/dist/{animatedGifPrep-WBZ2VVP6.js → animatedGifPrep-SFHFVFFE.js} +8 -11
  3. package/dist/api.js +16 -19
  4. package/dist/{asset-PTAQLOR6.js → asset-5E5BQ6BR.js} +2 -2
  5. package/dist/{assetCataloger-N3UGZ2RC.js → assetCataloger-F6YSU3H6.js} +8 -11
  6. package/dist/{audio-CPHWRLC4.js → audio-UZKBYVZ5.js} +33 -31
  7. package/dist/{auth-ZWOJIYK7.js → auth-5DWW5DMO.js} +2 -2
  8. package/dist/{autoUpdate-DO74673A.js → autoUpdate-D6HTQGOE.js} +2 -2
  9. package/dist/{backgroundChecks-HOAN7YB6.js → backgroundChecks-FW4MBBK2.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-AZFHTPSV.js → batchRender-DXD5THWY.js} +5 -7
  12. package/dist/{beats-JRMM6JQQ.js → beats-WRF4CRL7.js} +32 -23
  13. package/dist/{benchmark-2PEQUV7H.js → benchmark-NDCR2AAG.js} +11 -13
  14. package/dist/{browser-2D6IHFO6.js → browser-KSG6M66G.js} +5 -5
  15. package/dist/{bundleWithLocalizedFonts-ERB43NFP.js → bundleWithLocalizedFonts-GJ2UYZ6E.js} +2 -2
  16. package/dist/{capture-3ODEX55X.js → capture-DTF47QX3.js} +2 -2
  17. package/dist/{capture-WNC2DWF7.js → capture-FRVDEVPB.js} +15 -17
  18. package/dist/{captureCompositionFrame-JXXTHR7J.js → captureCompositionFrame-IC3MEOJR.js} +13 -16
  19. package/dist/{catalog-MHTRTKSY.js → catalog-TX3BMPOA.js} +14 -17
  20. package/dist/{catch-up-XNDRKMKL.js → catch-up-YMVIJI2W.js} +5 -5
  21. package/dist/{check-7IB355TM.js → check-2LBOZR6Z.js} +40 -43
  22. package/dist/{checkBrowser-E3ZCTAGY.js → checkBrowser-56C73ZNX.js} +34 -37
  23. package/dist/{chunk-Q5IJYX7X.js → chunk-24PUQCZO.js} +2 -2
  24. package/dist/{chunk-MMQ52NIZ.js → chunk-2BGOB2QK.js} +500 -17
  25. package/dist/{chunk-BIZPUWBG.js → chunk-3HTXEXQ6.js} +1 -1
  26. package/dist/{chunk-4VZAIVZQ.js → chunk-4OPDZMV6.js} +1 -1
  27. package/dist/{chunk-57Y5X4VU.js → chunk-5KPZ4QAS.js} +10 -12
  28. package/dist/{chunk-2LKHE32Z.js → chunk-73BGPSUW.js} +5 -5
  29. package/dist/{chunk-UUFY6A7I.js → chunk-75KIZWAD.js} +131 -92
  30. package/dist/{chunk-OE7AUN6G.js → chunk-7J4GQHSG.js} +82 -34
  31. package/dist/{chunk-4UPGPCMB.js → chunk-7KGCJQGS.js} +1 -1
  32. package/dist/{chunk-7NWSVRFE.js → chunk-ABTBAQDB.js} +1 -1
  33. package/dist/{chunk-OYVVDYM6.js → chunk-ANH7DV34.js} +10 -10
  34. package/dist/{chunk-NC3TVM27.js → chunk-AQLRXGNN.js} +6 -6
  35. package/dist/{chunk-63S4VUOL.js → chunk-AQVLMH5C.js} +1 -1
  36. package/dist/{chunk-QP4UWICL.js → chunk-B22YBW5W.js} +2 -2
  37. package/dist/{chunk-7WV27W7R.js → chunk-B2OUZUY5.js} +2 -2
  38. package/dist/chunk-B7CYKBXQ.js +36 -0
  39. package/dist/{chunk-7LRVGYKZ.js → chunk-BIV4FVEN.js} +16 -3
  40. package/dist/{chunk-WAG4AX5C.js → chunk-BU6XD7H2.js} +1 -1
  41. package/dist/{chunk-HBRPELT6.js → chunk-BUIJG2BQ.js} +3 -3
  42. package/dist/{chunk-DRTUJVLE.js → chunk-CL6ZTNQH.js} +326 -91
  43. package/dist/{chunk-3XXSRN36.js → chunk-COHU6S2X.js} +2 -2
  44. package/dist/{chunk-IC6BO4GU.js → chunk-CV32PRH3.js} +65 -21
  45. package/dist/{chunk-BERGVZKN.js → chunk-CXTXB2LZ.js} +1 -1
  46. package/dist/{chunk-OMXXJSCK.js → chunk-DMZ3SCCU.js} +108 -20
  47. package/dist/{chunk-QYQY5ACN.js → chunk-DYDFCX4L.js} +1 -1
  48. package/dist/{chunk-XOTUPVIF.js → chunk-E3F5L6AB.js} +38 -1
  49. package/dist/{chunk-63JJFXAD.js → chunk-EPZXTQOO.js} +6 -6
  50. package/dist/{chunk-VHBBV5DH.js → chunk-ERUINDRT.js} +62 -25
  51. package/dist/{chunk-FTD5QXGF.js → chunk-FWS2ZWV6.js} +2 -2
  52. package/dist/{chunk-5CTORVUM.js → chunk-GHROWWUN.js} +32 -1
  53. package/dist/{chunk-3YGSZSEN.js → chunk-GZCACSED.js} +1 -1
  54. package/dist/{chunk-32V3VHMK.js → chunk-I64A5P5H.js} +6 -43
  55. package/dist/{chunk-HXHSGDU6.js → chunk-IB6ICAI7.js} +60 -34
  56. package/dist/{chunk-D35MPIGJ.js → chunk-IKX2UHEM.js} +15 -15
  57. package/dist/{chunk-6JR2XUEE.js → chunk-IXXVS2Z4.js} +1 -1
  58. package/dist/{chunk-HN6TP4D2.js → chunk-J3CZK6PI.js} +1 -1
  59. package/dist/{chunk-ZFBET3PD.js → chunk-JCS7WFRM.js} +1 -1
  60. package/dist/{chunk-PFFR4NQV.js → chunk-JNBHYUEU.js} +8 -10
  61. package/dist/{chunk-FTUKOLLB.js → chunk-KFJMWPZT.js} +1 -1
  62. package/dist/{chunk-I6A2B3IJ.js → chunk-L5IKISP2.js} +3 -3
  63. package/dist/{chunk-G7RKSAKS.js → chunk-LEQU6P6H.js} +28 -6
  64. package/dist/{chunk-FMTJ4I6I.js → chunk-LMRTEJYY.js} +1 -1
  65. package/dist/{chunk-FZ3R5XOH.js → chunk-MO4VKSFT.js} +1 -1
  66. package/dist/{chunk-KPUTRG54.js → chunk-MS4BAXOQ.js} +2 -2
  67. package/dist/{chunk-KVFSXCN6.js → chunk-NT3L4IMM.js} +1 -1
  68. package/dist/{chunk-VFLBOKDI.js → chunk-NZEASM7M.js} +3 -3
  69. package/dist/{chunk-7D7V3UDI.js → chunk-OJDOYHPQ.js} +2 -2
  70. package/dist/chunk-PH5PJY5Z.js +39 -0
  71. package/dist/{chunk-GYSPF5ZT.js → chunk-PI256PSW.js} +27 -21
  72. package/dist/{chunk-JBQNDHRT.js → chunk-PLL6VC4F.js} +1 -1
  73. package/dist/{chunk-TOC6E65N.js → chunk-PYS6IKKM.js} +2 -2
  74. package/dist/{chunk-57GN6KWT.js → chunk-PZIWSVMO.js} +11 -1
  75. package/dist/{chunk-QDK7XCOB.js → chunk-QB4K2EWI.js} +1 -1
  76. package/dist/{chunk-IW4LKYDY.js → chunk-QDEZ7LRH.js} +3 -3
  77. package/dist/{chunk-I4VEFPZE.js → chunk-QGB5DECO.js} +1 -1
  78. package/dist/{chunk-BQA3X7TI.js → chunk-QSFWGZG6.js} +4 -6
  79. package/dist/chunk-QTGKDF7D.js +3983 -0
  80. package/dist/{chunk-QXPZGDTI.js → chunk-QXQ74PYD.js} +3 -3
  81. package/dist/{chunk-DY53XJ3P.js → chunk-QZTFCWG7.js} +1 -1
  82. package/dist/{chunk-ML4IULLQ.js → chunk-REFMKHRE.js} +10 -10
  83. package/dist/{chunk-H2X4TQVK.js → chunk-REUZB3HL.js} +7 -7
  84. package/dist/{chunk-ISN6BAZX.js → chunk-RFZJGC6V.js} +1 -1
  85. package/dist/{chunk-TDF2O2RM.js → chunk-RNLJJDGE.js} +2 -2
  86. package/dist/{chunk-5ULL3P6S.js → chunk-SQNPFWFM.js} +2 -2
  87. package/dist/{chunk-733CEBPF.js → chunk-TOFL5P27.js} +5 -5
  88. package/dist/{chunk-GR2G5L2O.js → chunk-UI7YYCN2.js} +3 -3
  89. package/dist/{chunk-TUVNQA5B.js → chunk-UMGDRGF5.js} +3 -3
  90. package/dist/{chunk-XV7ZNBVY.js → chunk-V6MTGX7B.js} +3 -3
  91. package/dist/{chunk-TTFHBTXQ.js → chunk-VOKI2HSE.js} +1 -1
  92. package/dist/{chunk-ACH5ZR7X.js → chunk-WAXBJLV6.js} +3 -3
  93. package/dist/{chunk-PGDWNIOK.js → chunk-XDMZY3H7.js} +57 -5
  94. package/dist/{chunk-VLVQQJOX.js → chunk-Z4PSJSDF.js} +22 -3
  95. package/dist/{clean-BOYUTBAU.js → clean-LFPT6GNS.js} +21 -24
  96. package/dist/cli.js +54 -54
  97. package/dist/{cloud-3O2MEZO4.js → cloud-XX5XB277.js} +4 -4
  98. package/dist/{cloudrun-MCTN22O6.js → cloudrun-ANWC6QGV.js} +7 -9
  99. package/dist/{compare-A57RHCPB.js → compare-CISKXIRF.js} +31 -34
  100. package/dist/{compiler-LVNWLZCX.js → compiler-XYZMBTYR.js} +6 -10
  101. package/dist/{component-MIJC3LWO.js → component-D4JJIDOC.js} +3 -3
  102. package/dist/{compositions-OUNZAEC3.js → compositions-UGRTLUBT.js} +13 -16
  103. package/dist/{delete-X6Q3S3SL.js → delete-TPH7N5PK.js} +2 -2
  104. package/dist/{deploy-XXMIXGUF.js → deploy-ZUXLAVVX.js} +72 -20
  105. package/dist/{deterministicFonts-RMA7GDJC.js → deterministicFonts-NQ6KL66D.js} +2 -2
  106. package/dist/{dist-ONHJ6ZDA.js → dist-TFHABY7N.js} +2 -4
  107. package/dist/{dist-2UO4RVFN.js → dist-UXLDRI4D.js} +30 -16
  108. package/dist/{doctor-ASSDEPCO.js → doctor-LVOS4EDV.js} +14 -17
  109. package/dist/{dotEnv-64S3VKGH.js → dotEnv-RPHCAUBZ.js} +1 -1
  110. package/dist/{events-DVWSV3TQ.js → events-FIWA6UBT.js} +4 -4
  111. package/dist/{events-4ULC5VUK.js → events-UHIKJIWA.js} +3 -3
  112. package/dist/{feedback-OB3NJPNF.js → feedback-SPOCVRKJ.js} +10 -12
  113. package/dist/{ffmpeg-JH3JXES2.js → ffmpeg-7SDXE5P5.js} +8 -11
  114. package/dist/{figma-GV4OGXC2.js → figma-ONGILUUE.js} +3 -3
  115. package/dist/fontLocalizeCli.js +11 -14
  116. package/dist/{get-FLMCUJGR.js → get-W7ADZ5XS.js} +2 -2
  117. package/dist/{gpuPolicy-RZ2OUY4M.js → gpuPolicy-GETTDB3G.js} +8 -11
  118. package/dist/{grade-compare-O62JAOA7.js → grade-compare-YIIQJNL3.js} +32 -35
  119. package/dist/{help-6POZ4GNV.js → help-HSKEDFT6.js} +1 -1
  120. package/dist/{history-72ZIF5WR.js → history-JS6QALDS.js} +8 -8
  121. package/dist/hyperframe.manifest.json +1 -1
  122. package/dist/hyperframe.runtime.iife.js +65 -64
  123. package/dist/hyperframes-player.global.js +3 -3
  124. package/dist/{info-GGIFZ5CT.js → info-BIIA6M7Q.js} +10 -12
  125. package/dist/{init-QYRN6HG2.js → init-TGDKBWUY.js} +29 -32
  126. package/dist/{inspect-KSL4YVIU.js → inspect-MVMUFUHY.js} +32 -35
  127. package/dist/{installer-ENQCLSJQ.js → installer-HITNNXHY.js} +6 -9
  128. package/dist/{keyframes-6PNLGKOO.js → keyframes-XJ7DUUBW.js} +7 -7
  129. package/dist/{lambda-3RFOOJV6.js → lambda-4C7APDR5.js} +24 -14
  130. package/dist/{layout-3XFC6N3L.js → layout-O3LEAM7S.js} +32 -35
  131. package/dist/{lint-5XGLCTV5.js → lint-72FKMBD2.js} +9 -11
  132. package/dist/{lintProject-FKPKSU6M.js → lintProject-Q36Y3AHA.js} +2 -4
  133. package/dist/{list-B76BTLOM.js → list-YUK5VA2D.js} +2 -2
  134. package/dist/{login-MNXS7GEL.js → login-TXBDKLOH.js} +4 -4
  135. package/dist/{manager-QZZVJV7Z.js → manager-APB2JLSH.js} +9 -12
  136. package/dist/{manager-BWU4U7DV.js → manager-F34TSFV6.js} +2 -2
  137. package/dist/{media-treatment-J3OWRCBF.js → media-treatment-GMP4JL46.js} +66 -42
  138. package/dist/{models-MCDUTV54.js → models-DW22WMQ5.js} +12 -15
  139. package/dist/{motionShot-RWEH3VWI.js → motionShot-UQJVQT76.js} +17 -20
  140. package/dist/{normalize-audio-N7VRZODX.js → normalize-audio-4KYSZBWI.js} +44 -26
  141. package/dist/{open-ROUFAVKD.js → open-HNYN6VM2.js} +14 -17
  142. package/dist/{parakeetRunner-PTVV5M44.js → parakeetRunner-SJ2QW77R.js} +13 -16
  143. package/dist/{pipeline-HN5KMORF.js → pipeline-MG2W6NIW.js} +9 -12
  144. package/dist/{play-AO7AF4Y4.js → play-ZQ6RNKIE.js} +23 -26
  145. package/dist/{preflight-ARNDDFGX.js → preflight-HSQEJNA2.js} +11 -14
  146. package/dist/{present-FBPKUC5R.js → present-7M3W5E3Q.js} +19 -22
  147. package/dist/{preview-35X5G426.js → preview-TT5Z6JK6.js} +20 -23
  148. package/dist/{producer-FVGPLR5E.js → producer-B2Y4IKZS.js} +1 -1
  149. package/dist/{projectConfig-SRUJLOHL.js → projectConfig-VZVY6ZZP.js} +8 -11
  150. package/dist/{publication-XH2BRL3V.js → publication-SRAYE6LT.js} +4 -6
  151. package/dist/{publish-RI4ZQZNT.js → publish-3QMV3Q7B.js} +11 -14
  152. package/dist/{remove-background-J22P5JFW.js → remove-background-5GA2S5OI.js} +10 -13
  153. package/dist/{render-2EZQT4IS.js → render-LN24E3OI.js} +37 -33
  154. package/dist/{render-UXYZN6D2.js → render-W3VX647V.js} +17 -17
  155. package/dist/{render-IJUKJILU.js → render-WRLXYVSQ.js} +34 -37
  156. package/dist/{render-batch-X34UZ442.js → render-batch-C73ELOQ7.js} +17 -17
  157. package/dist/renderSetupWorker.js +4 -6
  158. package/dist/{resolver-UUEIRLMY.js → resolver-ALD2ZELQ.js} +6 -8
  159. package/dist/{sherpa-FI4VNAFT.js → sherpa-AHD5UPU3.js} +12 -15
  160. package/dist/skills/hyperframes/references/runtimes.md +26 -0
  161. package/dist/skills/hyperframes-cli/references/lambda.md +1 -0
  162. package/dist/skills/media-use/references/mixing.md +1 -1
  163. package/dist/skills/media-use/scripts/lib/grade-analyzer.mjs +38 -26
  164. package/dist/{skills-LGKXQFW7.js → skills-WYJGVMR5.js} +6 -6
  165. package/dist/{skillsUpdateCheck-NDPKSX3H.js → skillsUpdateCheck-OHEGRQ2N.js} +3 -3
  166. package/dist/{snapshot-JM6427YW.js → snapshot-S6CGQACZ.js} +94 -61
  167. package/dist/{src-WEECPY6E.js → src-DAW4JYSR.js} +11 -10
  168. package/dist/{src-26NBARTO.js → src-I6WD5SMQ.js} +10 -13
  169. package/dist/{staticProjectServer-I5WGMJOV.js → staticProjectServer-3BFEACQ6.js} +19 -22
  170. package/dist/{status-SCCC7A6N.js → status-LR7VXITS.js} +1 -1
  171. package/dist/studio/assets/{hyperframes-player-LmRUJE8q.js → hyperframes-player-DnrkDR-_.js} +1 -1
  172. package/dist/studio/assets/{index-BmTWk8xf.js → index-BhFxhBMA.js} +162 -162
  173. package/dist/studio/assets/{index-CKNiEwbW.js → index-WFQeAouT.js} +1 -1
  174. package/dist/studio/index.html +1 -1
  175. package/dist/{studio-api-N774Q4NO.js → studio-api-2O6R4CM5.js} +12 -15
  176. package/dist/{studioServer-KZIM5UBJ.js → studioServer-6ZSAJBVY.js} +53 -56
  177. package/dist/{system-HV7PYIXE.js → system-YD4AW5ZX.js} +1 -1
  178. package/dist/{telemetry-JIETM7WP.js → telemetry-WFLPGSUG.js} +4 -4
  179. package/dist/{timeline-JJ6JG7GQ.js → timeline-BZJH266Q.js} +23 -25
  180. package/dist/{tokens-VOIMSCGX.js → tokens-5TX42ZMQ.js} +2 -2
  181. package/dist/{transcribe-2V23EQHD.js → transcribe-IEYR46HB.js} +18 -21
  182. package/dist/{transcribe-7BDHDQVP.js → transcribe-WPFFLNTS.js} +11 -14
  183. package/dist/{updateCheck-7B7L3UWO.js → updateCheck-TESZGKRJ.js} +2 -2
  184. package/dist/{upgrade-TUA2QZTY.js → upgrade-3EW4MYS7.js} +2 -2
  185. package/dist/{urlDownloader-CGV6EYL7.js → urlDownloader-JULHEBLS.js} +7 -10
  186. package/dist/{validate-JLCXEI2U.js → validate-RSJPGXUZ.js} +26 -29
  187. package/dist/{video-TI3EOA2D.js → video-TW4TSAM4.js} +8 -11
  188. package/dist/warmCheck.js +40 -43
  189. package/package.json +1 -1
  190. package/dist/chunk-BSQ7XANM.js +0 -210
  191. package/dist/chunk-PKZ7RK5N.js +0 -281
  192. package/dist/chunk-PW22CDII.js +0 -3901
  193. package/dist/chunk-RFQ6BIRL.js +0 -40
  194. package/dist/chunk-X7HBSTCZ.js +0 -53
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-BIZPUWBG.js";
9
+ } from "./chunk-3HTXEXQ6.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-ML4IULLQ.js";
15
+ } from "./chunk-REFMKHRE.js";
16
16
  import {
17
17
  launchManagedBrowser,
18
18
  resolveManagedGpuMode
19
- } from "./chunk-TTFHBTXQ.js";
19
+ } from "./chunk-VOKI2HSE.js";
20
20
  import {
21
21
  pageNavigationTimeoutMs
22
- } from "./chunk-I6A2B3IJ.js";
22
+ } from "./chunk-L5IKISP2.js";
23
23
  import {
24
24
  resolveCompositionViewportFromHtml
25
- } from "./chunk-ZFBET3PD.js";
25
+ } from "./chunk-JCS7WFRM.js";
26
26
  import {
27
27
  defineCommand
28
28
  } from "./chunk-S3S4TGEH.js";
@@ -35,14 +35,14 @@ import {
35
35
  } from "./chunk-ZTZA4UWZ.js";
36
36
  import {
37
37
  resolveNaturalMediaTimelineDuration
38
- } from "./chunk-PW22CDII.js";
38
+ } from "./chunk-QTGKDF7D.js";
39
39
  import {
40
40
  decodeWellFormedEscapes
41
- } from "./chunk-BSQ7XANM.js";
41
+ } from "./chunk-2BGOB2QK.js";
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-3YGSZSEN.js";
45
+ } from "./chunk-GZCACSED.js";
46
46
  import {
47
47
  normalizeErrorMessage
48
48
  } from "./chunk-T2EUWCJE.js";
@@ -248,7 +248,7 @@ function extractCompositionErrorsFromLint(lintResult) {
248
248
  async function localizeRemoteAssets(html) {
249
249
  let dir;
250
250
  try {
251
- const { loadProducer } = await import("./producer-FVGPLR5E.js");
251
+ const { loadProducer } = await import("./producer-B2Y4IKZS.js");
252
252
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
253
253
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
254
254
  const assetDir = dir;
@@ -269,10 +269,10 @@ async function localizeRemoteAssets(html) {
269
269
  }
270
270
  async function validateInBrowser(project, opts) {
271
271
  const projectDir = project.dir;
272
- const { bundleToSingleHtml } = await import("./compiler-LVNWLZCX.js");
273
- const { ensureBrowser } = await import("./manager-BWU4U7DV.js");
274
- const { serveStaticProjectHtml } = await import("./staticProjectServer-I5WGMJOV.js");
275
- const { lintProject } = await import("./lintProject-FKPKSU6M.js");
272
+ const { bundleToSingleHtml } = await import("./compiler-XYZMBTYR.js");
273
+ const { ensureBrowser } = await import("./manager-F34TSFV6.js");
274
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-3BFEACQ6.js");
275
+ const { lintProject } = await import("./lintProject-Q36Y3AHA.js");
276
276
  const lintResult = await lintProject(projectDir);
277
277
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
278
278
  const html = await bundleToSingleHtml(projectDir);
@@ -293,9 +293,9 @@ async function validateInBrowser(project, opts) {
293
293
  try {
294
294
  const browser = await ensureBrowser();
295
295
  const puppeteer = await import("puppeteer-core");
296
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-WEECPY6E.js");
296
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-DAW4JYSR.js");
297
297
  const requestedGpuMode = resolveCliChromeGpuMode();
298
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-RZ2OUY4M.js");
298
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-GETTDB3G.js");
299
299
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
300
300
  const requiresWebGpu = compositionRequiresWebGpu(html);
301
301
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readMediaOffsetSeconds
9
- } from "./chunk-BSQ7XANM.js";
9
+ } from "./chunk-2BGOB2QK.js";
10
10
 
11
11
  // ../core/dist/mediaLink.js
12
12
  var MEDIA_LINK_ATTR = "data-link";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-HBRPELT6.js";
10
+ } from "./chunk-BUIJG2BQ.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-442JNXRM.js";
10
10
  import {
11
11
  quantizePreviewProxyBox
12
- } from "./chunk-G7RKSAKS.js";
12
+ } from "./chunk-LEQU6P6H.js";
13
13
 
14
14
  // src/utils/compositionViewport.ts
15
15
  var DEFAULT_VIEWPORT = { width: 1920, height: 1080 };
@@ -6,33 +6,31 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  relinkSplitHalves
9
- } from "./chunk-6JR2XUEE.js";
9
+ } from "./chunk-IXXVS2Z4.js";
10
10
  import {
11
11
  isAllowedHtmlAttribute,
12
12
  isSafeAttributeValue,
13
13
  sanitizeRichTextChildren
14
- } from "./chunk-G7RKSAKS.js";
14
+ } from "./chunk-LEQU6P6H.js";
15
15
  import {
16
16
  EXCLUDED_TAGS,
17
17
  ensureHfIds,
18
18
  mintHfId,
19
19
  walkCompositionDescendants
20
- } from "./chunk-32V3VHMK.js";
20
+ } from "./chunk-I64A5P5H.js";
21
21
  import {
22
22
  decodedUrlPath,
23
23
  removeElementWithGsapCascade
24
- } from "./chunk-XOTUPVIF.js";
24
+ } from "./chunk-E3F5L6AB.js";
25
25
  import {
26
26
  require_dist
27
- } from "./chunk-IC6BO4GU.js";
27
+ } from "./chunk-CV32PRH3.js";
28
28
  import {
29
29
  readClipTiming,
30
- writeClipTiming
31
- } from "./chunk-MMQ52NIZ.js";
32
- import {
33
30
  readMediaOffsetSeconds,
34
- readPlaybackRate
35
- } from "./chunk-BSQ7XANM.js";
31
+ readPlaybackRate,
32
+ writeClipTiming
33
+ } from "./chunk-2BGOB2QK.js";
36
34
  import {
37
35
  parseHTML
38
36
  } from "./chunk-SDYDNHEE.js";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-XV7ZNBVY.js";
13
+ } from "./chunk-V6MTGX7B.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-WAG4AX5C.js";
9
+ } from "./chunk-BU6XD7H2.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-K2FLNJVB.js";
@@ -16,10 +16,10 @@ import {
16
16
  import {
17
17
  DEFAULT_CONFIG,
18
18
  resolvePageNavigationTimeout
19
- } from "./chunk-UUFY6A7I.js";
19
+ } from "./chunk-75KIZWAD.js";
20
20
  import {
21
21
  parseFps
22
- } from "./chunk-G7RKSAKS.js";
22
+ } from "./chunk-LEQU6P6H.js";
23
23
 
24
24
  // src/browser/windowsCrash.ts
25
25
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-PW22CDII.js";
12
+ } from "./chunk-QTGKDF7D.js";
13
13
  import {
14
14
  CANVAS_DIMENSIONS,
15
15
  isCompositionElement,
@@ -17,17 +17,19 @@ import {
17
17
  isTextElement,
18
18
  keyframesToGsapAnimations,
19
19
  serializeGsapAnimations
20
- } from "./chunk-XOTUPVIF.js";
20
+ } from "./chunk-E3F5L6AB.js";
21
21
  import {
22
22
  COMPOSITION_ATTRIBUTES,
23
23
  MEDIA_START_BASIS_ATTR,
24
24
  compositionOriginSeconds,
25
25
  hostInPointSeconds,
26
+ isFontValue,
27
+ isImageValue,
26
28
  isRootGlobalMediaStart,
27
29
  parseStartExpression,
28
30
  resolveMediaStartSeconds,
29
31
  sameInstant
30
- } from "./chunk-MMQ52NIZ.js";
32
+ } from "./chunk-2BGOB2QK.js";
31
33
  import {
32
34
  parseHTML
33
35
  } from "./chunk-SDYDNHEE.js";
@@ -1226,6 +1228,7 @@ function parseFirstFrameColour(stderr) {
1226
1228
 
1227
1229
  // ../core/dist/previewProxyBox.js
1228
1230
  var PREVIEW_PROXY_BOX_PARAM = "hf-proxy-box";
1231
+ var PREVIEW_PROXY_LIGHT_PARAM = "hf-proxy-light";
1229
1232
  var RUNGS = [
1230
1233
  256,
1231
1234
  304,
@@ -1270,6 +1273,18 @@ function parsePreviewProxyBox(raw) {
1270
1273
  const height = Number(match[2]);
1271
1274
  return RUNGS.includes(width) && RUNGS.includes(height) ? { width, height } : null;
1272
1275
  }
1276
+ var PREVIEW_QUALITY_LEVELS = [1, 0.5, 0.25, 0.125];
1277
+ function isPreviewQuality(value) {
1278
+ return PREVIEW_QUALITY_LEVELS.some((level) => level === value);
1279
+ }
1280
+ var HEAVY_PIXEL_SHARE = 0.5;
1281
+ var HEAVY_BITRATE = 4e7;
1282
+ function scalePreviewProxyBox(box, level) {
1283
+ return quantizePreviewProxyBox(box.width * level, box.height * level) ?? box;
1284
+ }
1285
+ function isHeavyForPreview(facts, copyBox) {
1286
+ return copyBox.width * copyBox.height <= HEAVY_PIXEL_SHARE * facts.width * facts.height || facts.bitDepth > 8 || facts.bitrate >= HEAVY_BITRATE;
1287
+ }
1273
1288
 
1274
1289
  // ../core/dist/inline-scripts/hyperframesRuntime.engine.js
1275
1290
  import { existsSync } from "fs";
@@ -4720,7 +4735,7 @@ function checkType(value, decl) {
4720
4735
  actual: jsTypeOf(value)
4721
4736
  };
4722
4737
  }
4723
- if (typeof value.name !== "string" || typeof value.source !== "string") {
4738
+ if (!isFontValue(value)) {
4724
4739
  return {
4725
4740
  kind: "type-mismatch",
4726
4741
  variableId: decl.id,
@@ -4741,12 +4756,12 @@ function checkType(value, decl) {
4741
4756
  actual: jsTypeOf(value)
4742
4757
  };
4743
4758
  }
4744
- if (typeof value.url !== "string") {
4759
+ if (!isImageValue(value)) {
4745
4760
  return {
4746
4761
  kind: "type-mismatch",
4747
4762
  variableId: decl.id,
4748
4763
  expected: "image object {url: string}",
4749
- actual: "object missing string url"
4764
+ actual: typeof value.url !== "string" ? "object missing string url" : "object with invalid alt/fit"
4750
4765
  };
4751
4766
  }
4752
4767
  return null;
@@ -5629,9 +5644,16 @@ export {
5629
5644
  firstFrameColourArgs,
5630
5645
  parseFirstFrameColour,
5631
5646
  PREVIEW_PROXY_BOX_PARAM,
5647
+ PREVIEW_PROXY_LIGHT_PARAM,
5632
5648
  quantizePreviewProxyBox,
5633
5649
  formatPreviewProxyBox,
5634
5650
  parsePreviewProxyBox,
5651
+ PREVIEW_QUALITY_LEVELS,
5652
+ isPreviewQuality,
5653
+ HEAVY_PIXEL_SHARE,
5654
+ HEAVY_BITRATE,
5655
+ scalePreviewProxyBox,
5656
+ isHeavyForPreview,
5635
5657
  buildHyperframesRuntimeScript,
5636
5658
  HYPERFRAME_RUNTIME_GLOBALS,
5637
5659
  HYPERFRAME_BRIDGE_SOURCES,
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  FONT_ALIAS_MAP,
16
16
  resolveAliasDisplayName
17
- } from "./chunk-XOTUPVIF.js";
17
+ } from "./chunk-E3F5L6AB.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-SDYDNHEE.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-UUFY6A7I.js";
9
+ } from "./chunk-75KIZWAD.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.8.200" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.200" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.202" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.202" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-26NBARTO.js");
10
+ return await import("./src-I6WD5SMQ.js");
11
11
  }
12
12
 
13
13
  export {
@@ -11,17 +11,17 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-63S4VUOL.js";
14
+ } from "./chunk-AQVLMH5C.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
18
- } from "./chunk-QDK7XCOB.js";
18
+ } from "./chunk-QB4K2EWI.js";
19
19
  import {
20
20
  runCancellableProcess
21
21
  } from "./chunk-BL4U6U52.js";
22
22
  import {
23
23
  getFreeDiskMb
24
- } from "./chunk-BQA3X7TI.js";
24
+ } from "./chunk-QSFWGZG6.js";
25
25
  import {
26
26
  FFMPEG_PATH_ENV,
27
27
  FFPROBE_PATH_ENV,
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-TOC6E65N.js";
9
+ } from "./chunk-PYS6IKKM.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
13
- } from "./chunk-PGDWNIOK.js";
13
+ } from "./chunk-XDMZY3H7.js";
14
14
 
15
15
  // src/utils/artifactCapture.ts
16
16
  var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
@@ -0,0 +1,39 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ findCompositionDimensions
9
+ } from "./chunk-JCS7WFRM.js";
10
+ import {
11
+ outputResolutionForSize
12
+ } from "./chunk-E3F5L6AB.js";
13
+
14
+ // src/commands/lambda/_dimensions.ts
15
+ import { readFileSync } from "fs";
16
+ import { join } from "path";
17
+ function resolveOutputResolutionFromSize(args) {
18
+ if (args.outputResolution) return args.outputResolution;
19
+ let html;
20
+ try {
21
+ html = readFileSync(join(args.projectDir, "index.html"), "utf-8");
22
+ } catch {
23
+ return void 0;
24
+ }
25
+ const composition = findCompositionDimensions(html);
26
+ if (!composition) return void 0;
27
+ const size = outputResolutionForSize({
28
+ compositionWidth: composition.width,
29
+ compositionHeight: composition.height,
30
+ width: args.cliWidth,
31
+ height: args.cliHeight
32
+ });
33
+ if (!size.ok) throw new Error(`--width/--height: ${size.message}`);
34
+ return size.outputResolution;
35
+ }
36
+
37
+ export {
38
+ resolveOutputResolutionFromSize
39
+ };
@@ -6,25 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  pngDimensions,
9
+ readToolContext,
9
10
  reportArtifacts,
10
11
  withProjectLock
11
- } from "./chunk-57GN6KWT.js";
12
+ } from "./chunk-PZIWSVMO.js";
12
13
  import {
13
14
  captureArtifactRevision
14
- } from "./chunk-7D7V3UDI.js";
15
+ } from "./chunk-OJDOYHPQ.js";
15
16
  import {
16
17
  loadProducer
17
- } from "./chunk-KVFSXCN6.js";
18
+ } from "./chunk-NT3L4IMM.js";
18
19
  import {
19
20
  trackLintRun
20
- } from "./chunk-TUVNQA5B.js";
21
+ } from "./chunk-UMGDRGF5.js";
21
22
  import {
22
23
  beginCheckSnapshots,
23
24
  checkSnapshotDirectory,
24
25
  finishCheckSnapshots,
25
26
  preResolveHostileMediaProxies,
26
27
  rectToBbox
27
- } from "./chunk-OMXXJSCK.js";
28
+ } from "./chunk-DMZ3SCCU.js";
28
29
  import {
29
30
  CONTENT_OVERLAP_HELD_ERROR_MS,
30
31
  DEFAULT_MAX_STATIC_SEC,
@@ -47,29 +48,29 @@ import {
47
48
  mergeSampleTimes,
48
49
  parseAt,
49
50
  readMotionSpec
50
- } from "./chunk-OYVVDYM6.js";
51
+ } from "./chunk-ANH7DV34.js";
51
52
  import {
52
53
  resolveProject
53
- } from "./chunk-BIZPUWBG.js";
54
+ } from "./chunk-3HTXEXQ6.js";
54
55
  import {
55
56
  recordArtifacts
56
- } from "./chunk-PGDWNIOK.js";
57
+ } from "./chunk-XDMZY3H7.js";
57
58
  import {
58
59
  BrowserCleanupError,
59
60
  closeManagedBrowser,
60
61
  onStopSignal,
61
62
  registerBrowserSessionCleanup
62
- } from "./chunk-TTFHBTXQ.js";
63
+ } from "./chunk-VOKI2HSE.js";
63
64
  import {
64
65
  withRemainingBudget
65
66
  } from "./chunk-EHSBBBR2.js";
66
67
  import {
67
68
  resolveLocalBrowserGpuMode
68
- } from "./chunk-3XXSRN36.js";
69
+ } from "./chunk-COHU6S2X.js";
69
70
  import {
70
71
  trackCheckReport,
71
72
  trackCommandFailure
72
- } from "./chunk-7WV27W7R.js";
73
+ } from "./chunk-B2OUZUY5.js";
73
74
  import {
74
75
  swallowedFlagUsageError
75
76
  } from "./chunk-HTIUNMTP.js";
@@ -89,17 +90,17 @@ import {
89
90
  import {
90
91
  extractMediaMetadata,
91
92
  findHdrAutoPromotion
92
- } from "./chunk-UUFY6A7I.js";
93
+ } from "./chunk-75KIZWAD.js";
93
94
  import {
94
95
  lintProject,
95
96
  shouldBlockRender
96
- } from "./chunk-IC6BO4GU.js";
97
+ } from "./chunk-CV32PRH3.js";
97
98
  import {
98
99
  resolveProjectRelativeSrc
99
100
  } from "./chunk-6BNTGNGD.js";
100
101
  import {
101
102
  withMeta
102
- } from "./chunk-3YGSZSEN.js";
103
+ } from "./chunk-GZCACSED.js";
103
104
  import {
104
105
  normalizeErrorMessage
105
106
  } from "./chunk-T2EUWCJE.js";
@@ -288,7 +289,7 @@ var CRAFT_THRESHOLDS = {
288
289
  };
289
290
  var T = CRAFT_THRESHOLDS;
290
291
  var ZERO_BBOX = { x: 0, y: 0, width: 0, height: 0 };
291
- var WORD_RUNS = /[\p{L}\p{M}\p{N}%$]+/gu;
292
+ var WORD_RUNS = /[\p{L}\p{M}\p{N}%$]+(?:['’][\p{L}\p{M}\p{N}]+)*/gu;
292
293
  var WORD_SEGMENTER = new Intl.Segmenter("ja", { granularity: "word" });
293
294
  function readingWords(text) {
294
295
  const runs = text.toLowerCase().normalize("NFC").match(WORD_RUNS) ?? [];
@@ -636,7 +637,7 @@ function round(value) {
636
637
 
637
638
  // src/utils/hdrPromotion.ts
638
639
  async function bundleProjectHtml(projectDir) {
639
- const { bundleToSingleHtml } = await import("./compiler-LVNWLZCX.js");
640
+ const { bundleToSingleHtml } = await import("./compiler-XYZMBTYR.js");
640
641
  return bundleToSingleHtml(projectDir);
641
642
  }
642
643
  async function collectBundledRenderMedia(html) {
@@ -1072,7 +1073,8 @@ function craftEnabled(driver, options) {
1072
1073
  }
1073
1074
  async function collectContrastAt(driver, options, time, issuesAtTime, collected) {
1074
1075
  const contrastStart = Date.now();
1075
- const capture = options.snapshots ? await driver.collectContrast(time, annotationBoxesFrom(issuesAtTime)) : await driver.collectContrast(time);
1076
+ const annotations = options.snapshots ? annotationBoxesFrom(issuesAtTime) : void 0;
1077
+ const capture = options.skipContrastInMotion ? await driver.collectContrast(time, annotations, true) : options.snapshots ? await driver.collectContrast(time, annotations) : await driver.collectContrast(time);
1076
1078
  collected.contrastMs += Date.now() - contrastStart;
1077
1079
  collected.contrastEntries.push(...capture.entries);
1078
1080
  if (capture.pngBase64) collected.screenshots.push({ time, pngBase64: capture.pngBase64 });
@@ -2209,7 +2211,7 @@ function resolveMotionSpec(projectDir) {
2209
2211
  };
2210
2212
  }
2211
2213
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2212
- const module = await import("./checkBrowser-E3ZCTAGY.js");
2214
+ const module = await import("./checkBrowser-56C73ZNX.js");
2213
2215
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2214
2216
  }
2215
2217
  var adoptedBrowser;
@@ -2223,7 +2225,7 @@ async function prelaunchBrowser(project, options) {
2223
2225
  if (adopted) return adopted;
2224
2226
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2225
2227
  if (html === void 0) return void 0;
2226
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-JXXTHR7J.js");
2228
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-IC3MEOJR.js");
2227
2229
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2228
2230
  }
2229
2231
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2235,7 +2237,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2235
2237
  return relative(projectDir, path);
2236
2238
  }
2237
2239
  async function captureFindingCrops(project, options, requests, deadline) {
2238
- const module = await import("./checkBrowser-E3ZCTAGY.js");
2240
+ const module = await import("./checkBrowser-56C73ZNX.js");
2239
2241
  return module.captureFindingCrops(project, options, requests, deadline);
2240
2242
  }
2241
2243
  var DEFAULT_DEPENDENCIES2 = {
@@ -2274,7 +2276,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2274
2276
  }
2275
2277
  },
2276
2278
  async prepareMedia(project, options) {
2277
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ERB43NFP.js");
2279
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GJ2UYZ6E.js");
2278
2280
  const html = await bundleWithLocalizedFonts(project.dir);
2279
2281
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2280
2282
  },
@@ -2542,6 +2544,9 @@ async function runPrepareMedia(dependencies, project, options, asJson) {
2542
2544
  }
2543
2545
  setCommandExitCode(failed.length === 0 ? 0 : 1);
2544
2546
  }
2547
+ function checkReview() {
2548
+ return readToolContext().checkReview;
2549
+ }
2545
2550
  function parseCheckOptions(args) {
2546
2551
  const maxTransitionSamples = positiveInteger(args["max-transition-samples"], 0);
2547
2552
  return {
@@ -2556,6 +2561,7 @@ function parseCheckOptions(args) {
2556
2561
  tolerance: nonNegativeNumber(args.tolerance, DEFAULT_CHECK_OPTIONS.tolerance),
2557
2562
  timeout: Math.max(500, positiveInteger(args.timeout, DEFAULT_CHECK_OPTIONS.timeout)),
2558
2563
  contrast: args.contrast !== false,
2564
+ ...checkReview()?.skipContrastInMotion ? { skipContrastInMotion: true } : {},
2559
2565
  strict: args.strict === true,
2560
2566
  snapshots: args.snapshots === true,
2561
2567
  captionZone: parseCaptionZone(args["caption-zone"]),
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-KPUTRG54.js";
9
+ } from "./chunk-MS4BAXOQ.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-BIZPUWBG.js";
9
+ } from "./chunk-3HTXEXQ6.js";
10
10
  import {
11
11
  DEFAULT_HISTORY_ROOT,
12
12
  HistoryBusyError,
13
13
  MAX_WINDOW_IDLE_MS,
14
14
  openProjectHistory,
15
15
  readProjectHistory
16
- } from "./chunk-PGDWNIOK.js";
16
+ } from "./chunk-XDMZY3H7.js";
17
17
  import {
18
18
  findPreviewServerForProject,
19
19
  studioApiUrl
@@ -34,6 +34,10 @@ function parseProjectLock(value) {
34
34
  if (typeof waitMs !== "number" || !Number.isFinite(waitMs) || waitMs < 0) return void 0;
35
35
  return { waitMs };
36
36
  }
37
+ function parseCheckReview(value) {
38
+ if (!isRecord(value)) return void 0;
39
+ return { skipContrastInMotion: value.skipContrastInMotion === true };
40
+ }
37
41
  function readToolContext(raw = process.env.HF_TOOL_CONTEXT) {
38
42
  if (!raw) return {};
39
43
  let value;
@@ -46,7 +50,12 @@ function readToolContext(raw = process.env.HF_TOOL_CONTEXT) {
46
50
  return {};
47
51
  const events = parseEvents(value.capabilities.events);
48
52
  const projectLock = parseProjectLock(value.capabilities["project-lock"]);
49
- return { ...events && { events }, ...projectLock && { projectLock } };
53
+ const checkReview = parseCheckReview(value.capabilities["check-review"]);
54
+ return {
55
+ ...events && { events },
56
+ ...projectLock && { projectLock },
57
+ ...checkReview && { checkReview }
58
+ };
50
59
  }
51
60
  var MEDIA_TYPES = {
52
61
  ".png": "image/png",
@@ -174,6 +183,7 @@ async function withProjectLock(projectDir, command, run, context = readToolConte
174
183
 
175
184
  export {
176
185
  pngDimensions,
186
+ readToolContext,
177
187
  reportArtifacts,
178
188
  withProjectLock
179
189
  };
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-BL4U6U52.js";
11
11
  import {
12
12
  getFreeDiskMb
13
- } from "./chunk-BQA3X7TI.js";
13
+ } from "./chunk-QSFWGZG6.js";
14
14
  import {
15
15
  browserPathFromEnv,
16
16
  managedChromeVersion,
@@ -8,20 +8,20 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-BERGVZKN.js";
11
+ } from "./chunk-CXTXB2LZ.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-GMECXFAN.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-G7RKSAKS.js";
18
+ } from "./chunk-LEQU6P6H.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
22
22
  import {
23
23
  isCompositionVariable
24
- } from "./chunk-PKZ7RK5N.js";
24
+ } from "./chunk-2BGOB2QK.js";
25
25
 
26
26
  // src/registry/installer.ts
27
27
  import { createHash } from "crypto";