hyperframes 0.8.207 → 0.8.209

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 (225) hide show
  1. package/dist/{add-LXFWHBE3.js → add-VZKUIZEH.js} +17 -15
  2. package/dist/{agentPromptGenerator-D2E62ZP5.js → agentPromptGenerator-4NJ252MR.js} +6 -2
  3. package/dist/{animatedGifPrep-VBPJZKFT.js → animatedGifPrep-PN4G4YPJ.js} +10 -7
  4. package/dist/api.js +24 -20
  5. package/dist/{appHistory-HIBH6XZW.js → appHistory-OHYU5ZBQ.js} +3 -2
  6. package/dist/{asset-JX4RW3GO.js → asset-I4PHGE57.js} +2 -2
  7. package/dist/{assetCataloger-JKKOPBCF.js → assetCataloger-LRAUXQ46.js} +12 -8
  8. package/dist/{audio-OXQ3L6DW.js → audio-T7SAVYED.js} +424 -133
  9. package/dist/{auth-JAL7P7ZA.js → auth-GP6HTQT3.js} +4 -4
  10. package/dist/{autoUpdate-MRI2AICE.js → autoUpdate-Z6GFPZAG.js} +4 -4
  11. package/dist/{backgroundChecks-ORR46PBY.js → backgroundChecks-ZJ7JV52S.js} +5 -5
  12. package/dist/backgroundChecksWorker.js +5 -5
  13. package/dist/{batchRender-IFZYPGIW.js → batchRender-J3ETE23Y.js} +5 -4
  14. package/dist/{beats-UDLOEW6U.js → beats-WF4FJCM5.js} +25 -15
  15. package/dist/{benchmark-VTVDNKSO.js → benchmark-B7UPP4PQ.js} +10 -10
  16. package/dist/{browser-QJC4BL2Y.js → browser-SIUYD43U.js} +8 -8
  17. package/dist/{bundleWithLocalizedFonts-Z2JTBNDS.js → bundleWithLocalizedFonts-RRGFY3XV.js} +3 -3
  18. package/dist/{capture-2P4JERSX.js → capture-J3GLHUKI.js} +52 -17
  19. package/dist/{capture-GLM2ACPM.js → capture-VYS4PCCJ.js} +66 -39
  20. package/dist/{captureCompositionFrame-A2A5MGQB.js → captureCompositionFrame-SVLMPQYC.js} +16 -14
  21. package/dist/{captureFile-RPUEOZO6.js → captureFile-VIVGKFY4.js} +2 -1
  22. package/dist/{catalog-5ZLVUQVJ.js → catalog-DVBNR422.js} +17 -15
  23. package/dist/{catch-up-FRMVYJHZ.js → catch-up-OBPMV7KG.js} +9 -8
  24. package/dist/{check-WVY7SM7C.js → check-MEALXNZK.js} +47 -44
  25. package/dist/{checkAudio-PLEQY3SZ.js → checkAudio-RZ7WQYVN.js} +23 -13
  26. package/dist/{checkBrowser-XSZUA2DQ.js → checkBrowser-2LEQ2LSX.js} +39 -36
  27. package/dist/{chunk-526VSRZ4.js → chunk-3A4SB326.js} +6 -6
  28. package/dist/{chunk-GXUONASF.js → chunk-3PTZ2TD4.js} +25 -2
  29. package/dist/{chunk-JQ32262N.js → chunk-3PUXUIWB.js} +1 -1
  30. package/dist/chunk-3RATCY3W.js +205 -0
  31. package/dist/{chunk-MAUGXKSI.js → chunk-4BXEPVSA.js} +113 -20
  32. package/dist/{chunk-C6KE4AFW.js → chunk-56ANHX5U.js} +1 -1
  33. package/dist/{chunk-VBPNCOD7.js → chunk-5T4DP25D.js} +5 -3
  34. package/dist/{chunk-IBZHSU2J.js → chunk-66PNSZ7K.js} +1 -1
  35. package/dist/{chunk-WL263XM2.js → chunk-6PWQH77E.js} +1 -1
  36. package/dist/chunk-7VZEOCUY.js +98 -0
  37. package/dist/{chunk-VAVDAOUA.js → chunk-A7GDBL6D.js} +1 -1
  38. package/dist/{chunk-UAT2UMTP.js → chunk-AQTODJWP.js} +1 -1
  39. package/dist/{chunk-5KBMYSF2.js → chunk-BYPDKF36.js} +7 -2
  40. package/dist/{chunk-EG3B2VWK.js → chunk-CA3PXWN4.js} +16 -21
  41. package/dist/{chunk-FEO7YW7V.js → chunk-CBM4ZUVN.js} +6 -6
  42. package/dist/{chunk-6KCFVLO6.js → chunk-CIDCNE2D.js} +21 -5
  43. package/dist/{chunk-C53ZNJDZ.js → chunk-D2CE2J2A.js} +1 -1
  44. package/dist/chunk-D3MUHMFG.js +16 -0
  45. package/dist/{chunk-5PYRU5DT.js → chunk-D6T5BNSK.js} +18 -17
  46. package/dist/{chunk-PUIG6DHT.js → chunk-DR47DSOY.js} +7 -7
  47. package/dist/chunk-DROFHVQD.js +240 -0
  48. package/dist/{chunk-YJK6HOL5.js → chunk-DVIX7UPH.js} +2 -2
  49. package/dist/{chunk-QTWXVOZI.js → chunk-EA5FUMJN.js} +2 -2
  50. package/dist/{chunk-NWGXTUYS.js → chunk-EQBDKYXR.js} +3 -30
  51. package/dist/{chunk-4UMPIPCQ.js → chunk-ERUQ3S6D.js} +2 -2
  52. package/dist/{chunk-T2EUWCJE.js → chunk-EU7MVORF.js} +13 -1
  53. package/dist/{chunk-IW5P4KK7.js → chunk-EVYDKSML.js} +3 -3
  54. package/dist/{chunk-FVAI7AHF.js → chunk-F4O4G4ZW.js} +5 -5
  55. package/dist/{chunk-6KOHY5EP.js → chunk-FB5BXGGF.js} +17 -11
  56. package/dist/{chunk-HTIUNMTP.js → chunk-GDZA4ALG.js} +8 -2
  57. package/dist/{chunk-DJQZ7DEH.js → chunk-GQZHLF5P.js} +15 -15
  58. package/dist/{chunk-ZYGIDXAK.js → chunk-H7B526GH.js} +114 -65
  59. package/dist/{chunk-P2I4RLJE.js → chunk-HTZJNQYI.js} +1 -1
  60. package/dist/{chunk-I2TDHVFV.js → chunk-I3ICHLHV.js} +2 -2
  61. package/dist/{chunk-CVZO6TFE.js → chunk-IJPFVMIE.js} +11 -11
  62. package/dist/{chunk-LK6KPVX2.js → chunk-IQNS7O4W.js} +403 -290
  63. package/dist/{chunk-XDMZY3H7.js → chunk-J7A73K2B.js} +43 -35
  64. package/dist/{chunk-RPZNQV6D.js → chunk-JC6BAQOG.js} +4 -10
  65. package/dist/{chunk-HA3V4XAF.js → chunk-JJRMN2RV.js} +63 -200
  66. package/dist/{chunk-XMRA7CQG.js → chunk-KCLBO65Y.js} +1 -1
  67. package/dist/{chunk-QE4WRS3N.js → chunk-KGBFHYHX.js} +4 -4
  68. package/dist/{chunk-HM7SUIQD.js → chunk-KTWGVEN6.js} +3 -3
  69. package/dist/{chunk-7PJ3AJB2.js → chunk-L5XVBFUM.js} +1 -1
  70. package/dist/{chunk-NSC5A4IR.js → chunk-L7MGVFR4.js} +7 -2
  71. package/dist/{chunk-I3TYUQLB.js → chunk-LJ7H2A2C.js} +1 -1
  72. package/dist/{chunk-VH4PNYOS.js → chunk-LV4NWCJS.js} +2 -2
  73. package/dist/{chunk-ELP5QZWL.js → chunk-M4QZFUMW.js} +1 -1
  74. package/dist/{chunk-7RWUY3BJ.js → chunk-MI4V4HPE.js} +1 -1
  75. package/dist/{chunk-SXOD5J7T.js → chunk-MKALOCDV.js} +1 -1
  76. package/dist/{chunk-UKM3JYNB.js → chunk-MVNTJGDX.js} +3 -3
  77. package/dist/{chunk-PSX5SF2N.js → chunk-NEASABW6.js} +1 -1
  78. package/dist/{chunk-H3LQ5X6Q.js → chunk-NJZRXELC.js} +68 -34
  79. package/dist/{chunk-EOVYQ3IG.js → chunk-NQ2INEHX.js} +17 -17
  80. package/dist/{chunk-LCCYYTEK.js → chunk-NXNDHV26.js} +1 -1
  81. package/dist/{chunk-JKE24AG7.js → chunk-OK3QLJSF.js} +1 -1
  82. package/dist/{chunk-63DP5CB2.js → chunk-OML6HQQN.js} +4 -4
  83. package/dist/{chunk-UUOIH4RW.js → chunk-P2FSCR5B.js} +2 -2
  84. package/dist/{chunk-ZCJ5EGLU.js → chunk-P327BIJR.js} +66 -1
  85. package/dist/{chunk-HVOTYAS4.js → chunk-P3OKYRGA.js} +3 -3
  86. package/dist/{chunk-U32PA6DI.js → chunk-PYVYF64E.js} +1 -1
  87. package/dist/{chunk-EHFZEKQM.js → chunk-Q43YUROE.js} +1 -1
  88. package/dist/{chunk-CZUAX3BV.js → chunk-QIDN4ML5.js} +1 -1
  89. package/dist/{chunk-NHL5CMO2.js → chunk-QIKZ2HZJ.js} +3 -3
  90. package/dist/{chunk-IK4JY2LI.js → chunk-R52YM6ZK.js} +2 -2
  91. package/dist/{chunk-DML6BD4K.js → chunk-RAONLDN5.js} +2 -2
  92. package/dist/{chunk-MSHL6CF2.js → chunk-RJO4X3AA.js} +1 -1
  93. package/dist/{chunk-6IYIS2U7.js → chunk-RVG2JNDU.js} +2 -2
  94. package/dist/{chunk-UYPWH7PH.js → chunk-SE6S4SGZ.js} +13 -15
  95. package/dist/{chunk-NJNC2DQV.js → chunk-SNLXWCET.js} +105 -46
  96. package/dist/{chunk-TSTONNOD.js → chunk-SOXQXX2M.js} +2 -2
  97. package/dist/{chunk-EGRIVMCQ.js → chunk-SPMKVI6H.js} +2 -2
  98. package/dist/{chunk-PL36HK3U.js → chunk-SWHCYFEF.js} +27 -5
  99. package/dist/{chunk-ID766OZB.js → chunk-TF7YE7J5.js} +3 -3
  100. package/dist/{chunk-XAGBSYIQ.js → chunk-TSM67ADU.js} +1 -1
  101. package/dist/{chunk-KDHHPJOG.js → chunk-U5IZUWBW.js} +4 -4
  102. package/dist/{chunk-T4JGFCXU.js → chunk-V4VXWOIF.js} +4 -4
  103. package/dist/{chunk-6N65ZMC5.js → chunk-VYRJAQGC.js} +1 -1
  104. package/dist/{chunk-LXP6XWJL.js → chunk-W32DVMX3.js} +2 -2
  105. package/dist/{chunk-LPI7HX4G.js → chunk-WLVHSGVL.js} +2 -2
  106. package/dist/chunk-XCIHCPJK.js +106 -0
  107. package/dist/chunk-XFMO3BEN.js +71 -0
  108. package/dist/{chunk-XKW4Z7BU.js → chunk-Y2EVJBR6.js} +1 -1
  109. package/dist/{chunk-QZ2JQ6O4.js → chunk-YCGLT5B4.js} +3 -3
  110. package/dist/{chunk-5PCALX6G.js → chunk-YIFEK3UD.js} +1 -1
  111. package/dist/{chunk-ZF3R2IPC.js → chunk-YRO3PXWU.js} +2 -85
  112. package/dist/chunk-Z5J67X44.js +40 -0
  113. package/dist/{chunk-XULJBZ7K.js → chunk-Z67J3TTU.js} +5 -3
  114. package/dist/{chunk-7JAD4MEW.js → chunk-ZA5TNF4R.js} +1 -0
  115. package/dist/{chunk-6Z7XDUUJ.js → chunk-ZMIRSWN6.js} +1 -1
  116. package/dist/{chunk-IYZT62UR.js → chunk-ZPILPVYU.js} +2 -2
  117. package/dist/chunk-ZXTSUXSL.js +4870 -0
  118. package/dist/{clean-TL3IPJDN.js → clean-VWCYLOVI.js} +26 -22
  119. package/dist/cli.js +58 -58
  120. package/dist/{cloud-EYMRPJNY.js → cloud-HU3RXCVE.js} +4 -4
  121. package/dist/{cloudrun-TOJ36NLX.js → cloudrun-OST6QBYD.js} +6 -5
  122. package/dist/commands/layout-audit.browser.js +1 -0
  123. package/dist/{compare-MP5EOW4D.js → compare-U2MJWZAH.js} +38 -35
  124. package/dist/{compiler-NOPVLJ2S.js → compiler-DSP4MVEC.js} +5 -3
  125. package/dist/{component-ASACDCZK.js → component-EC5XU6KR.js} +3 -3
  126. package/dist/{compositions-WKNZJY34.js → compositions-AKYCTF4G.js} +16 -13
  127. package/dist/{contactSheet-YOBPATEM.js → contactSheet-RYAE7Y5D.js} +3 -2
  128. package/dist/{delete-DQTFHP3G.js → delete-Z5MOEZM2.js} +10 -9
  129. package/dist/{deploy-HHCFOUFM.js → deploy-Y4LFVYXT.js} +6 -6
  130. package/dist/{dist-L4Z4ZEYW.js → dist-73YTUT3W.js} +1 -1
  131. package/dist/{dist-NQEYA4ZX.js → dist-JJL4QUDL.js} +2 -2
  132. package/dist/docker/Dockerfile.render +1 -1
  133. package/dist/{doctor-JDM65CP7.js → doctor-7234U557.js} +18 -15
  134. package/dist/{events-RKRHRLJD.js → events-RUIZNTG3.js} +4 -4
  135. package/dist/{events-MBRNA3UF.js → events-SII53QYO.js} +5 -5
  136. package/dist/{feedback-LZWIWV5J.js → feedback-6CCDDQ36.js} +12 -12
  137. package/dist/{ffmpeg-4PZKSIGE.js → ffmpeg-C4VWK4M2.js} +12 -9
  138. package/dist/{figma-QFNYUT3F.js → figma-GAN63U5U.js} +3 -3
  139. package/dist/fontLocalizeCli.js +13 -10
  140. package/dist/{get-2B5ENJOH.js → get-RZGUHZB4.js} +10 -9
  141. package/dist/{gpuPolicy-E5FB2GFR.js → gpuPolicy-BGJRCLP4.js} +10 -7
  142. package/dist/{grade-compare-4GUAPJHE.js → grade-compare-XOBN52WV.js} +38 -35
  143. package/dist/{heifImagePrep-C2RYIEER.js → heifImagePrep-DCHSYGW7.js} +11 -8
  144. package/dist/{help-XGDAXV67.js → help-O2IV6PUC.js} +1 -1
  145. package/dist/{history-WNFF6HGU.js → history-GPTEM4UX.js} +11 -10
  146. package/dist/hyperframe.manifest.json +1 -1
  147. package/dist/hyperframe.runtime.iife.js +67 -67
  148. package/dist/hyperframes-player.global.js +3 -3
  149. package/dist/{info-BR2LKGJD.js → info-7Y3JPN7C.js} +9 -9
  150. package/dist/{init-P6UWPUY3.js → init-L6W5WG5K.js} +40 -34
  151. package/dist/{inspect-MSRPF7ZO.js → inspect-MQZANGQY.js} +37 -34
  152. package/dist/{installer-MPUQS3ZX.js → installer-DCIMLYB6.js} +4 -4
  153. package/dist/{keyframes-J6K66QTO.js → keyframes-WNJIKL4G.js} +8 -8
  154. package/dist/{lambda-LJ2OSWFJ.js → lambda-FEA4SSFK.js} +16 -13
  155. package/dist/{layout-CDY65XGA.js → layout-AUQAYDJU.js} +37 -34
  156. package/dist/{lint-CAUNBGPX.js → lint-A33IHYID.js} +9 -9
  157. package/dist/{lintProject-ZTSX3AWT.js → lintProject-KCN7MRBN.js} +1 -1
  158. package/dist/{list-33BYQNRZ.js → list-56JHCET6.js} +10 -9
  159. package/dist/localPage-V3HBGM3Z.js +27 -0
  160. package/dist/{login-5QMRKOHK.js → login-HUOM4GNP.js} +7 -7
  161. package/dist/{logout-JYFWWUGK.js → logout-3IID4KXD.js} +3 -3
  162. package/dist/{manager-3JOHHPVR.js → manager-SDRJOMPR.js} +13 -10
  163. package/dist/{manager-RMYSZ3KI.js → manager-Z7W4GQGF.js} +4 -4
  164. package/dist/{media-treatment-4WP22CFN.js → media-treatment-5TGZOD67.js} +27 -22
  165. package/dist/{models-HPWCHAZX.js → models-ABDX6TXI.js} +17 -14
  166. package/dist/{motionShot-I7GDIROQ.js → motionShot-AV2WRH2C.js} +20 -18
  167. package/dist/{normalize-audio-VTMXPSC7.js → normalize-audio-M7T25DST.js} +12 -9
  168. package/dist/{open-SAO7OQTT.js → open-IRNZY5XN.js} +17 -16
  169. package/dist/{parakeetRunner-ZYPBIA73.js → parakeetRunner-2EJUIMOJ.js} +21 -17
  170. package/dist/{pipeline-VNBMR6QU.js → pipeline-QGKOJKXS.js} +13 -10
  171. package/dist/{play-7VI6A7KN.js → play-2SQLHM5B.js} +26 -23
  172. package/dist/{policies-GHVXA5PE.js → policies-PKLD4UW5.js} +1 -1
  173. package/dist/{preflight-VWV7L45J.js → preflight-ZHXMG2SM.js} +14 -11
  174. package/dist/{present-CSJGYOFF.js → present-RERVL6R7.js} +21 -18
  175. package/dist/{preview-B246ZTVO.js → preview-S6RQOMHE.js} +28 -25
  176. package/dist/{producer-WJLFDVQJ.js → producer-DBRGH2FI.js} +1 -1
  177. package/dist/{projectConfig-OMR46ZWQ.js → projectConfig-TUMDULTL.js} +9 -8
  178. package/dist/{publication-AA7NNYET.js → publication-7VGXIFVZ.js} +2 -2
  179. package/dist/{publish-TJ4QVVSP.js → publish-KJB2AGHL.js} +18 -15
  180. package/dist/{refresh-USSFPJAU.js → refresh-3IRHJEQA.js} +3 -3
  181. package/dist/{remove-background-LQ2V7W7N.js → remove-background-EFWXPLS4.js} +14 -11
  182. package/dist/{render-AWEEPG3F.js → render-5O5ARP6C.js} +65 -62
  183. package/dist/{render-JLTNZ36U.js → render-7S6UBLOE.js} +50 -48
  184. package/dist/{render-E5QJG74D.js → render-HV6AA22W.js} +6 -5
  185. package/dist/{render-batch-U4T4VSCM.js → render-batch-7UEOULJJ.js} +7 -6
  186. package/dist/renderSetupWorker.js +6 -6
  187. package/dist/{resolver-GXCTUKPV.js → resolver-HFTEER5V.js} +4 -4
  188. package/dist/{screenshotCapture-X6OKIXCB.js → screenshotCapture-HOW4VSV6.js} +3 -2
  189. package/dist/{sherpa-4VZWVHWZ.js → sherpa-HSSM76FL.js} +20 -16
  190. package/dist/skills/hyperframes/SKILL.md +1 -1
  191. package/dist/skills/hyperframes/references/format.md +1 -0
  192. package/dist/skills/hyperframes-cli/references/beats.md +2 -0
  193. package/dist/skills/media-use/references/grading.md +2 -0
  194. package/dist/skills/media-use/references/local.md +1 -0
  195. package/dist/{skills-WUKR7SUE.js → skills-RQO5K6WL.js} +7 -7
  196. package/dist/{skillsUpdateCheck-YXRBY3JC.js → skillsUpdateCheck-S5WL2YLZ.js} +5 -5
  197. package/dist/{snapshot-Q7S2FTNG.js → snapshot-4RGI235E.js} +119 -66
  198. package/dist/{src-ZOXUSGAP.js → src-ALOV4D57.js} +26 -10
  199. package/dist/{src-CLAALR5W.js → src-D75YYW2M.js} +12 -9
  200. package/dist/{staticProjectServer-DQ7PIDPA.js → staticProjectServer-DIHWPJ6B.js} +21 -18
  201. package/dist/{status-LR7VXITS.js → status-DTP6ZYDU.js} +3 -3
  202. package/dist/studio/assets/{hyperframes-player-Cm5aBiKq.js → hyperframes-player-CMH8OeX2.js} +3 -3
  203. package/dist/studio/assets/{index-BF9YeBnC.js → index-DQam8zzE.js} +71 -71
  204. package/dist/studio/assets/{index-BrqAmMRt.js → index-DjHzuJGR.js} +1 -1
  205. package/dist/studio/index.html +1 -1
  206. package/dist/{studio-api-NUE227JM.js → studio-api-A2VSWTVF.js} +13 -10
  207. package/dist/{studioServer-HVOKP4VI.js → studioServer-PECYWZHS.js} +60 -57
  208. package/dist/{synthesize-QZHRXGRY.js → synthesize-RVE7IUOJ.js} +3 -2
  209. package/dist/{telemetry-IHU4HL3R.js → telemetry-6BPSGY5W.js} +2 -2
  210. package/dist/{telemetry-2Y5JXLDB.js → telemetry-YDGXGOLH.js} +5 -5
  211. package/dist/{timeline-WOQGXFRV.js → timeline-5WUEEKZ3.js} +27 -23
  212. package/dist/{tokens-T3OHTWUC.js → tokens-XVFZPIUZ.js} +2 -2
  213. package/dist/{transcribe-JZ3BO546.js → transcribe-QWDUIJWK.js} +26 -22
  214. package/dist/{transcribe-4U74P5TG.js → transcribe-TTJ6CDQT.js} +17 -13
  215. package/dist/{tts-AY4JO5NQ.js → tts-AGMCPQXE.js} +1 -1
  216. package/dist/{updateCheck-6EUAGAM4.js → updateCheck-P7STSJ6Q.js} +4 -4
  217. package/dist/{upgrade-55K6F4MP.js → upgrade-NEIZ3KVL.js} +4 -4
  218. package/dist/{urlDownloader-47JMOLNN.js → urlDownloader-ZZFNGZNG.js} +9 -6
  219. package/dist/{validate-QBJ3SBS4.js → validate-T2SLBOXG.js} +30 -27
  220. package/dist/{video-3ZAUNAR3.js → video-7OHSBSRT.js} +12 -8
  221. package/dist/warmCheck.js +47 -44
  222. package/package.json +1 -1
  223. package/dist/chunk-BDJIQZN2.js +0 -4830
  224. package/dist/chunk-DKPNNYBZ.js +0 -44
  225. package/dist/{destroy-SSPAKADI.js → destroy-CGAZIL2C.js} +4 -4
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-VBPNCOD7.js";
11
+ } from "./chunk-5T4DP25D.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-XULJBZ7K.js";
16
+ } from "./chunk-Z67J3TTU.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -71,7 +71,6 @@ import {
71
71
  cloneCaptureWarning,
72
72
  cloneCaptureWarnings,
73
73
  closeCaptureSession,
74
- collectScratchLeftovers,
75
74
  completeDeferredDrawElementInit,
76
75
  compositionRequiresWebGpu,
77
76
  computeWorkerSizing,
@@ -147,8 +146,6 @@ import {
147
146
  readWebGlVendorInfoFromCanvas,
148
147
  recaptureDrawElementFrameForVerify,
149
148
  removeDomLayerMask,
150
- removeScratch,
151
- renameWithRetry,
152
149
  resampleRgb48leObjectFit,
153
150
  resolveBrowserGpuMode,
154
151
  resolveConfig,
@@ -171,7 +168,7 @@ import {
171
168
  verifyDiskDrawElementSamples,
172
169
  videoAudioId,
173
170
  writeCapturedFrame
174
- } from "./chunk-LK6KPVX2.js";
171
+ } from "./chunk-IQNS7O4W.js";
175
172
  import {
176
173
  assignBundledRuntimeCompositionIds,
177
174
  emitMountedModuleScripts,
@@ -183,7 +180,12 @@ import {
183
180
  parsesAsScript,
184
181
  prepareFlattenedInnerRoot,
185
182
  stripSdrPngColourTags
186
- } from "./chunk-RPZNQV6D.js";
183
+ } from "./chunk-JC6BAQOG.js";
184
+ import {
185
+ collectScratchLeftovers,
186
+ removeScratch,
187
+ renameWithRetry
188
+ } from "./chunk-XCIHCPJK.js";
187
189
  import {
188
190
  DISTRIBUTED_FPS,
189
191
  HF_VFX_ATTR,
@@ -199,18 +201,18 @@ import {
199
201
  parseVfxChain,
200
202
  resolveAuthoredTimingWindow,
201
203
  toFps
202
- } from "./chunk-7RWUY3BJ.js";
204
+ } from "./chunk-MI4V4HPE.js";
203
205
  import {
204
206
  COMPOSITION_SOURCE_URL,
205
207
  HF_COLOR_GRADING_ATTR,
206
208
  MAX_AUDIO_GAIN,
207
209
  MEDIA_RENDER_ID_ATTR,
208
210
  assignMediaRenderIds,
209
- buildVariablesByCompScript,
210
211
  clampDurations,
211
212
  compileTimingAttrs,
212
213
  dedupeFontFaceRules,
213
214
  deferScriptsUntilFonts,
215
+ emitVariablesByCompScript,
214
216
  extractResolvedMedia,
215
217
  headStyleRuns,
216
218
  injectDurations,
@@ -234,7 +236,7 @@ import {
234
236
  sourceTimeAt,
235
237
  styleElementsFor,
236
238
  timeAtSourceTime
237
- } from "./chunk-BDJIQZN2.js";
239
+ } from "./chunk-ZXTSUXSL.js";
238
240
  import {
239
241
  TRANSITIONS,
240
242
  convertTransfer,
@@ -246,11 +248,11 @@ import {
246
248
  } from "./chunk-634HSJ3J.js";
247
249
  import {
248
250
  chromeMajorCeiling
249
- } from "./chunk-4UMPIPCQ.js";
251
+ } from "./chunk-ERUQ3S6D.js";
250
252
  import {
251
253
  lintHyperframeHtml,
252
254
  resolveReferencedStart
253
- } from "./chunk-ZCJ5EGLU.js";
255
+ } from "./chunk-P327BIJR.js";
254
256
  import {
255
257
  isUnresolvedAssetPlaceholder,
256
258
  readProjectFile,
@@ -1022,7 +1024,7 @@ function createFileServer(options) {
1022
1024
  if (!streamOwnsFd) closeSync(fd);
1023
1025
  }
1024
1026
  });
1025
- return new Promise((resolve11) => {
1027
+ return new Promise((resolve11, reject) => {
1026
1028
  const connections = /* @__PURE__ */ new Set();
1027
1029
  const server = serve({ fetch: app.fetch, port, hostname: "127.0.0.1" }, (info) => {
1028
1030
  resolve11({
@@ -1042,6 +1044,7 @@ function createFileServer(options) {
1042
1044
  connections.add(socket);
1043
1045
  socket.on("close", () => connections.delete(socket));
1044
1046
  });
1047
+ server.on("error", reject);
1045
1048
  });
1046
1049
  }
1047
1050
 
@@ -6609,9 +6612,9 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
6609
6612
  }
6610
6613
  }
6611
6614
  }
6612
- const variablesByCompScript = buildVariablesByCompScript(result.variablesByComp);
6615
+ emitVariablesByCompScript(document2, result.variablesByComp);
6613
6616
  if (body) {
6614
- let pending = variablesByCompScript ? [variablesByCompScript] : [];
6617
+ let pending = [];
6615
6618
  const flushInline = () => {
6616
6619
  if (!pending.length) return;
6617
6620
  const joined = pending.join("\n;\n");
@@ -8576,10 +8579,11 @@ var VideoExtractionStageError = class extends Error {
8576
8579
  kind: failure.kind,
8577
8580
  affectedElementCount: failure.count
8578
8581
  }))
8579
- )) {
8582
+ ), ffmpegReason) {
8580
8583
  const total = failures.reduce((sum2, failure) => sum2 + failure.count, 0);
8581
8584
  const breakdown = failures.map((failure) => `${failure.kind}=${failure.count}`).join(",");
8582
- super(`Video extraction failed for ${total} source(s) [${code}; ${breakdown}]`);
8585
+ const reason = ffmpegReason ? `: ffmpeg said: ${ffmpegReason}` : "";
8586
+ super(`Video extraction failed for ${total} source(s) [${code}; ${breakdown}]${reason}`);
8583
8587
  this.code = code;
8584
8588
  this.retryable = retryable;
8585
8589
  this.failures = failures;
@@ -8626,7 +8630,8 @@ function buildVideoExtractionStageError(result) {
8626
8630
  retryable ? "VIDEO_EXTRACTION_FAILED" : "VIDEO_SOURCE_UNRENDERABLE",
8627
8631
  retryable,
8628
8632
  failures,
8629
- extractionFailureMetadataFromResult(result)
8633
+ extractionFailureMetadataFromResult(result),
8634
+ result.errors.find((failure) => failure.ffmpegReason)?.ffmpegReason
8630
8635
  );
8631
8636
  }
8632
8637
  function buildHdrProbeStageError(failures) {
@@ -9583,6 +9588,7 @@ async function runCaptureStage(input) {
9583
9588
  dedupPerfs,
9584
9589
  pageErrorLines: workerPageErrors,
9585
9590
  openAttempt: input.openAttempt,
9591
+ verifyFirstSession: input.verifyFirstSession,
9586
9592
  onProgress: (progress) => {
9587
9593
  if (progress.latestWorkerPhase) {
9588
9594
  if (progress.capturedFrames === 0) reportWorkerStartup(job, progress, onProgress);
@@ -11603,7 +11609,8 @@ async function executeDiskCaptureWithAdaptiveRetry(options) {
11603
11609
  });
11604
11610
  } : void 0,
11605
11611
  void 0,
11606
- options.cfg
11612
+ options.cfg,
11613
+ { verifyFirstSession: options.verifyFirstSession }
11607
11614
  );
11608
11615
  pushWorkerDedupPerfs(workerResults, options.dedupPerfs);
11609
11616
  if (options.pageErrorLines) pushWorkerPageErrors(workerResults, options.pageErrorLines);
@@ -16319,7 +16326,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16319
16326
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16320
16327
  if (probeResult.probeSession) {
16321
16328
  try {
16322
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-ZOXUSGAP.js");
16329
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-ALOV4D57.js");
16323
16330
  await closeCaptureSession2(probeResult.probeSession);
16324
16331
  } catch (err) {
16325
16332
  log.warn("[plan] probe session close failed", {
@@ -18036,7 +18043,7 @@ function startServer(options = {}) {
18036
18043
  });
18037
18044
  async function shutdown(signal) {
18038
18045
  log.info(`Received ${signal}, shutting down`);
18039
- const { drainBrowserPool } = await import("./src-ZOXUSGAP.js");
18046
+ const { drainBrowserPool } = await import("./src-ALOV4D57.js");
18040
18047
  await drainBrowserPool().catch(() => {
18041
18048
  });
18042
18049
  const handle = await Promise.race([
@@ -19359,16 +19366,18 @@ function observedChunkCaptureMode(perfs) {
19359
19366
  }
19360
19367
  return mode;
19361
19368
  }
19369
+ var PROBE_SELECTED_SCREENSHOT = "[renderChunk] probe selected screenshot capture";
19362
19370
  function shouldRetryChunkCaptureWithScreenshot(error) {
19363
19371
  const failure = classifyCaptureFailure(error);
19364
19372
  if (failure.kind === "cancelled" || failure.kind === "memory_exhaustion") return false;
19365
- return /HeadlessExperimental\.beginFrame/i.test(failure.message) || /beginFrame probe timeout/i.test(failure.message) || /Another frame is pending|Frame still pending/i.test(failure.message);
19373
+ return /HeadlessExperimental\.beginFrame/i.test(failure.message) || /beginFrame probe timeout/i.test(failure.message) || failure.message.includes(PROBE_SELECTED_SCREENSHOT) || /Another frame is pending|Frame still pending/i.test(failure.message);
19366
19374
  }
19367
19375
  async function runCaptureWithScreenshotFallback(input) {
19368
19376
  try {
19369
19377
  return await input.run(input.forceScreenshot);
19370
19378
  } catch (error) {
19371
- if (input.forceScreenshot || !shouldRetryChunkCaptureWithScreenshot(error)) throw error;
19379
+ if (input.forceScreenshot || await input.canRetry?.() === false) throw error;
19380
+ if (!shouldRetryChunkCaptureWithScreenshot(error)) throw error;
19372
19381
  input.onFallback?.(error);
19373
19382
  await input.resetForScreenshotRetry();
19374
19383
  return await input.run(true);
@@ -19577,7 +19586,24 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19577
19586
  let extraction;
19578
19587
  const overlap = { current: null };
19579
19588
  try {
19580
- if (chunkWorkerCount === 1 || !forceScreenshotForChunk) {
19589
+ const verifyInWorker = chunkWorkerCount > 1 && !forceScreenshotForChunk;
19590
+ let boxesMeasured;
19591
+ let boxesFailed;
19592
+ const boxesReady = new Promise((resolve11, reject) => {
19593
+ boxesMeasured = resolve11;
19594
+ boxesFailed = reject;
19595
+ });
19596
+ boxesReady.catch(() => {
19597
+ });
19598
+ const measureBoxes = async (page) => {
19599
+ shownBoxes = await measureVideoShownBoxes(
19600
+ page,
19601
+ [...shownFrames.keys()],
19602
+ chunkFrameNumbers.map((frame) => frame * chunkFps.den / chunkFps.num)
19603
+ );
19604
+ boxesMeasured();
19605
+ };
19606
+ if (chunkWorkerCount === 1) {
19581
19607
  const bootStarted = Date.now();
19582
19608
  session = await createVerifiedDistributedCaptureSession(
19583
19609
  fileServer.url,
@@ -19586,11 +19612,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19586
19612
  cfg
19587
19613
  );
19588
19614
  sessionBootMs = Date.now() - bootStarted;
19589
- shownBoxes = await measureVideoShownBoxes(
19590
- session.page,
19591
- [...shownFrames.keys()],
19592
- chunkFrameNumbers.map((frame) => frame * chunkFps.den / chunkFps.num)
19593
- );
19615
+ await measureBoxes(session.page);
19594
19616
  const browserSelectedScreenshot = session.launchCaptureMode === "screenshot";
19595
19617
  const beginFrameStalled = !browserSelectedScreenshot && await beginFrameSessionNeedsScreenshotFallback(session);
19596
19618
  if (browserSelectedScreenshot) {
@@ -19599,10 +19621,6 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19599
19621
  "[renderChunk] Browser capability probe selected screenshot capture for the entire chunk",
19600
19622
  { chunkIndex }
19601
19623
  );
19602
- if (chunkWorkerCount > 1) {
19603
- await closeCaptureSession(session);
19604
- session = null;
19605
- }
19606
19624
  } else if (beginFrameStalled) {
19607
19625
  forceScreenshotForChunk = true;
19608
19626
  log.warn(
@@ -19612,41 +19630,66 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19612
19630
  await closeCaptureSession(session).catch(() => {
19613
19631
  });
19614
19632
  session = null;
19615
- if (chunkWorkerCount === 1) {
19616
- const screenshotBootStarted = Date.now();
19617
- const screenshotCfg = {
19618
- ...cfg,
19619
- forceScreenshot: true,
19620
- forceScreenshotExplicitlyOptedOut: false
19621
- };
19622
- session = await createVerifiedDistributedCaptureSession(
19623
- fileServer.url,
19624
- framesDir,
19625
- captureOptions,
19626
- screenshotCfg
19633
+ const screenshotBootStarted = Date.now();
19634
+ const screenshotCfg = {
19635
+ ...cfg,
19636
+ forceScreenshot: true,
19637
+ forceScreenshotExplicitlyOptedOut: false
19638
+ };
19639
+ session = await createVerifiedDistributedCaptureSession(
19640
+ fileServer.url,
19641
+ framesDir,
19642
+ captureOptions,
19643
+ screenshotCfg
19644
+ );
19645
+ sessionBootMs += Date.now() - screenshotBootStarted;
19646
+ }
19647
+ } else if (!verifyInWorker) {
19648
+ boxesMeasured();
19649
+ }
19650
+ let verification;
19651
+ const verifyFirstWorker = (first) => verification ??= (async () => {
19652
+ sessionBootMs = Date.now() - verifyStarted;
19653
+ try {
19654
+ await measureBoxes(first.page);
19655
+ const selectedScreenshot = first.launchCaptureMode === "screenshot";
19656
+ if (selectedScreenshot || await beginFrameSessionNeedsScreenshotFallback(first)) {
19657
+ forceScreenshotForChunk = true;
19658
+ log.warn(
19659
+ selectedScreenshot ? "[renderChunk] Browser capability probe selected screenshot capture for the entire chunk" : "[renderChunk] BeginFrame liveness probe failed; using screenshot capture for the entire chunk",
19660
+ { chunkIndex }
19627
19661
  );
19628
- sessionBootMs += Date.now() - screenshotBootStarted;
19662
+ throw new Error(PROBE_SELECTED_SCREENSHOT);
19629
19663
  }
19630
- } else if (chunkWorkerCount > 1) {
19631
- await closeCaptureSession(session);
19632
- session = null;
19664
+ } catch (error) {
19665
+ if (!forceScreenshotForChunk) {
19666
+ verifyFailure = error;
19667
+ boxesFailed(error);
19668
+ }
19669
+ throw error;
19633
19670
  }
19634
- }
19635
- const extractStarted = Date.now();
19636
- const deferredVideoFrames = planVideos ? extractDeferredVideoFramesForChunk({
19637
- planDir,
19638
- planVideos,
19639
- frames: chunkFrameNumbers,
19640
- fps: chunkFps,
19641
- outputRoot: videoFramesDir,
19642
- cfg,
19643
- remoteSources,
19644
- shownBoxes
19645
- }).then((frames) => {
19646
- videoExtractMs = Date.now() - extractStarted;
19647
- return frames;
19648
- }) : Promise.resolve([]);
19671
+ })();
19672
+ let verifyStarted = 0;
19673
+ let verifyFailure;
19674
+ const deferredVideoFrames = planVideos ? boxesReady.then(() => {
19675
+ const extractStarted = Date.now();
19676
+ return extractDeferredVideoFramesForChunk({
19677
+ planDir,
19678
+ planVideos,
19679
+ frames: chunkFrameNumbers,
19680
+ fps: chunkFps,
19681
+ outputRoot: videoFramesDir,
19682
+ cfg,
19683
+ remoteSources,
19684
+ shownBoxes
19685
+ }).then((frames) => {
19686
+ videoExtractMs = Date.now() - extractStarted;
19687
+ return frames;
19688
+ });
19689
+ }) : boxesReady.then(() => []);
19649
19690
  extraction = deferredVideoFrames;
19691
+ deferredVideoFrames.catch(() => {
19692
+ });
19650
19693
  const videoFrameLookup = planVideos && planVideos.extracted.length > 0 ? deferredVideoFrames.then(
19651
19694
  (deferred) => createFrameLookupTable(
19652
19695
  planVideos.videos,
@@ -19725,6 +19768,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19725
19768
  const captureStarted = Date.now();
19726
19769
  captureMode = await runCaptureWithScreenshotFallback({
19727
19770
  forceScreenshot: forceScreenshotForChunk,
19771
+ canRetry: () => verifyFailure === void 0,
19728
19772
  // fallow-ignore-next-line complexity
19729
19773
  run: async (forceScreenshot) => {
19730
19774
  const captureCfg = cfg.forceScreenshot === forceScreenshot ? cfg : {
@@ -19754,6 +19798,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19754
19798
  }
19755
19799
  const captureSession = session;
19756
19800
  session = null;
19801
+ verifyStarted = Date.now();
19757
19802
  overlap.current = canEncodeWhileCapturing(encodeInput, chunkWorkerCount, cpus3().length) ? encodeWhileCapturing(encodeInput, framesInChunk) : null;
19758
19803
  await observeRenderStage(
19759
19804
  new RenderObservabilityRecorder({ pipelineStartMs: start, log }),
@@ -19781,7 +19826,8 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19781
19826
  frameRange: range,
19782
19827
  onFrameLanded: (frame) => overlap.current?.onFrameLanded(frame),
19783
19828
  interleaveFrames: interleavesCapture(overlap.current !== null, options),
19784
- openAttempt
19829
+ openAttempt,
19830
+ verifyFirstSession: forceScreenshot || !verifyInWorker ? void 0 : verifyFirstWorker
19785
19831
  }),
19786
19832
  { stall: frameStallRule(job) }
19787
19833
  ).catch(async (captureError) => {
@@ -19793,6 +19839,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19793
19839
  },
19794
19840
  resetForScreenshotRetry: () => {
19795
19841
  rmSync15(workDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
19842
+ boxesMeasured();
19796
19843
  mkdirSync17(framesDir, { recursive: true });
19797
19844
  capturePerfs.length = 0;
19798
19845
  captureAttempts.length = 0;
@@ -19808,6 +19855,8 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19808
19855
  );
19809
19856
  }
19810
19857
  }).catch(async (captureError) => {
19858
+ if (verifyFailure !== void 0) throw verifyFailure;
19859
+ boxesFailed(captureError);
19811
19860
  await deferredVideoFrames;
19812
19861
  throw captureError;
19813
19862
  });
@@ -12,7 +12,7 @@ import {
12
12
  forceRefreshCredentials,
13
13
  resolveCloudAuthHeaders,
14
14
  resolveCloudBaseUrl
15
- } from "./chunk-6N65ZMC5.js";
15
+ } from "./chunk-VYRJAQGC.js";
16
16
  import {
17
17
  errorBox
18
18
  } from "./chunk-K2FLNJVB.js";
@@ -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-XAGBSYIQ.js";
9
+ } from "./chunk-TSM67ADU.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-XDMZY3H7.js";
16
+ } from "./chunk-J7A73K2B.js";
17
17
  import {
18
18
  findPreviewServerForProject,
19
19
  studioApiUrl
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-XAGBSYIQ.js";
12
+ } from "./chunk-TSM67ADU.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-526VSRZ4.js";
15
+ } from "./chunk-3A4SB326.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-UYPWH7PH.js";
22
+ } from "./chunk-SE6S4SGZ.js";
23
23
  import {
24
24
  launchManagedBrowser,
25
25
  resolveManagedGpuMode
26
- } from "./chunk-MAUGXKSI.js";
26
+ } from "./chunk-4BXEPVSA.js";
27
27
  import {
28
28
  gotoWhenSent
29
29
  } from "./chunk-MOEGCMKI.js";
30
30
  import {
31
31
  pageNavigationTimeoutMs
32
- } from "./chunk-UKM3JYNB.js";
32
+ } from "./chunk-MVNTJGDX.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-S3S4TGEH.js";
@@ -43,10 +43,10 @@ import {
43
43
  import {
44
44
  printDeprecationNotice,
45
45
  withMeta
46
- } from "./chunk-EGRIVMCQ.js";
46
+ } from "./chunk-SPMKVI6H.js";
47
47
  import {
48
48
  normalizeErrorMessage
49
- } from "./chunk-T2EUWCJE.js";
49
+ } from "./chunk-EU7MVORF.js";
50
50
 
51
51
  // src/commands/layout.ts
52
52
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
@@ -690,7 +690,7 @@ async function collectTweenBoundaries(page) {
690
690
  });
691
691
  }
692
692
  async function bundleProjectHtml(projectDir) {
693
- const { bundleToSingleHtml } = await import("./compiler-NOPVLJ2S.js");
693
+ const { bundleToSingleHtml } = await import("./compiler-DSP4MVEC.js");
694
694
  return bundleToSingleHtml(projectDir);
695
695
  }
696
696
  async function alignViewportToComposition(page, url) {
@@ -707,15 +707,15 @@ async function alignViewportToComposition(page, url) {
707
707
  await gotoWhenSent(page, url, pageNavigationTimeoutMs());
708
708
  }
709
709
  async function runLayoutAudit(projectDir, opts) {
710
- const { ensureBrowser } = await import("./manager-RMYSZ3KI.js");
710
+ const { ensureBrowser } = await import("./manager-Z7W4GQGF.js");
711
711
  const puppeteer = await import("puppeteer-core");
712
- const { buildChromeArgs } = await import("./src-ZOXUSGAP.js");
712
+ const { buildChromeArgs } = await import("./src-ALOV4D57.js");
713
713
  const {
714
714
  assertWebGpuAdapterAvailable,
715
715
  compositionRequiresWebGpu,
716
716
  resolveLocalBrowserGpuMode,
717
717
  resolveLocalWebGpu
718
- } = await import("./gpuPolicy-E5FB2GFR.js");
718
+ } = await import("./gpuPolicy-BGJRCLP4.js");
719
719
  const html = await bundleProjectHtml(projectDir);
720
720
  const server = await serveStaticProjectHtml(
721
721
  projectDir,