hyperframes 0.9.6 → 0.9.7

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 (228) hide show
  1. package/dist/{add-FI2ERBMZ.js → add-WLXYFHMC.js} +12 -12
  2. package/dist/{agentPromptGenerator-DZTXHJV3.js → agentPromptGenerator-2SMADJAL.js} +6 -6
  3. package/dist/{animatedGifPrep-GXQA4KCD.js → animatedGifPrep-4WCFONEJ.js} +6 -6
  4. package/dist/api.js +25 -25
  5. package/dist/{asset-BRSG6JNL.js → asset-UQBTWAMJ.js} +2 -2
  6. package/dist/{assetCataloger-KVWF4SRK.js → assetCataloger-GOUD7VDG.js} +7 -7
  7. package/dist/{audio-BVZOX6LU.js → audio-LDVXMRHU.js} +16 -16
  8. package/dist/{auth-HFFN7USX.js → auth-6LVATNTF.js} +6 -6
  9. package/dist/{autoUpdate-JNGMUXLZ.js → autoUpdate-X6KZRI5E.js} +2 -2
  10. package/dist/{backgroundChecks-O4ADPXOL.js → backgroundChecks-3HGGWYLY.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-A2HW6QW7.js → batchRender-4ISYYVPQ.js} +3 -3
  13. package/dist/{beats-F7Q3G6VW.js → beats-WN2KYIK3.js} +9 -9
  14. package/dist/{benchmark-4BDMIYTW.js → benchmark-HZPGQ2MP.js} +9 -9
  15. package/dist/{billing-35NVMZWK.js → billing-3Q2EAZFJ.js} +4 -4
  16. package/dist/{browser-S6ADXSB7.js → browser-6XC7MTQL.js} +4 -4
  17. package/dist/{bundleWithLocalizedFonts-EE27EYEU.js → bundleWithLocalizedFonts-ZZ6Y4CEO.js} +2 -2
  18. package/dist/{capture-LWWBL6SH.js → capture-46LJ2VU2.js} +3 -3
  19. package/dist/{capture-CXDJO524.js → capture-FCLAEX5L.js} +11 -11
  20. package/dist/{captureCompositionFrame-BB2ZGM6R.js → captureCompositionFrame-SMUDCZ2L.js} +11 -11
  21. package/dist/{catalog-RQ6HIUBG.js → catalog-72AEDDEG.js} +12 -12
  22. package/dist/{catch-up-PBAXR7FI.js → catch-up-6WIX7SWV.js} +5 -5
  23. package/dist/{check-O4V4UWE3.js → check-R2G5OYIA.js} +37 -37
  24. package/dist/{checkAudio-EUT3AO3L.js → checkAudio-2RP7BNQ3.js} +9 -9
  25. package/dist/{checkBrowser-QQUBR4QI.js → checkBrowser-OWLF2BT4.js} +31 -31
  26. package/dist/{chunk-W3G7DNCR.js → chunk-2BARV2ZU.js} +48 -8
  27. package/dist/{chunk-YUMVQB2F.js → chunk-2X43RFKM.js} +1 -1
  28. package/dist/{chunk-P5GOQDA2.js → chunk-3AH6KE6F.js} +39 -11
  29. package/dist/{chunk-ZDQEVQHB.js → chunk-3LHJHMFK.js} +1 -1
  30. package/dist/{chunk-CUAZHDVV.js → chunk-3Q7UFKFN.js} +3 -3
  31. package/dist/{chunk-DETBSOYO.js → chunk-3YJB4QVS.js} +1 -1
  32. package/dist/{chunk-TS4HYR6I.js → chunk-46HMQ4I3.js} +1 -1
  33. package/dist/{chunk-L6MNWJTL.js → chunk-6IW2HWYI.js} +7 -8
  34. package/dist/{chunk-OHWVSTNO.js → chunk-74VSOKKS.js} +6 -4
  35. package/dist/{chunk-FM7VWSN3.js → chunk-7LCZBNX7.js} +1 -1
  36. package/dist/{chunk-C47ZGVKT.js → chunk-7XRS2NDR.js} +7 -7
  37. package/dist/{chunk-KJDQS24S.js → chunk-AWQE37H3.js} +2 -2
  38. package/dist/{chunk-NASVSJQK.js → chunk-BGMMC352.js} +19 -7
  39. package/dist/{chunk-6NJVSTSY.js → chunk-BVAPHHMQ.js} +7 -3
  40. package/dist/{chunk-4III3SDC.js → chunk-C3FKYBZ4.js} +10 -10
  41. package/dist/{chunk-YFISKULK.js → chunk-C7XW5WPZ.js} +2 -2
  42. package/dist/{chunk-RYNMIBZM.js → chunk-CTPYBHF3.js} +2 -2
  43. package/dist/{chunk-2FNUCIHD.js → chunk-CUCDUPTA.js} +1 -1
  44. package/dist/{chunk-VWRIARRR.js → chunk-CX6MGY2B.js} +13 -13
  45. package/dist/{chunk-44T2V4EW.js → chunk-DOS6S7HW.js} +1 -1
  46. package/dist/{chunk-PWYAOU4I.js → chunk-DZNJD7BH.js} +1 -1
  47. package/dist/{chunk-SAWXMCHB.js → chunk-E3IBPTX7.js} +1 -1
  48. package/dist/{chunk-HTTGTROQ.js → chunk-E4XS2M2E.js} +1 -1
  49. package/dist/{chunk-TIXW6JWD.js → chunk-EG7FZSEF.js} +1 -1
  50. package/dist/{chunk-GOPJLAMZ.js → chunk-ETYQYG6Q.js} +78 -19
  51. package/dist/{chunk-2KYY75JP.js → chunk-FLDSZTHP.js} +2 -2
  52. package/dist/{chunk-YIWNZ2CI.js → chunk-FYDFHW22.js} +13 -13
  53. package/dist/{chunk-YDG5LVIK.js → chunk-FYR2GKAA.js} +4 -4
  54. package/dist/{chunk-AB3ZXWI3.js → chunk-GBEGZOP3.js} +1 -1
  55. package/dist/{chunk-YY7YI2FW.js → chunk-GK3OROLS.js} +1 -1
  56. package/dist/{chunk-M4WEGGF7.js → chunk-HBCY63DS.js} +2 -2
  57. package/dist/{chunk-APVBITVZ.js → chunk-HRSZOW3U.js} +1 -1
  58. package/dist/{chunk-47IBOMXH.js → chunk-HZG42ZYW.js} +3 -3
  59. package/dist/{chunk-QDB7EFLI.js → chunk-IAZ2A7D6.js} +5 -3
  60. package/dist/{chunk-3SB24TVT.js → chunk-IOECRDWX.js} +1 -1
  61. package/dist/{chunk-GP7OHHXR.js → chunk-IX3R4BKU.js} +1 -1
  62. package/dist/{chunk-JLLNDU2F.js → chunk-IXGZ6YFZ.js} +4 -4
  63. package/dist/{chunk-5BCFV2HE.js → chunk-KD22R2UE.js} +3 -3
  64. package/dist/{chunk-4E7G2GME.js → chunk-KDTOB4TD.js} +1 -1
  65. package/dist/{chunk-YVUOJW4H.js → chunk-LAZREIJF.js} +1 -1
  66. package/dist/{chunk-IG3GSBHB.js → chunk-LCDXHXYH.js} +2 -2
  67. package/dist/{chunk-JLKEXS4I.js → chunk-LFDPOL45.js} +3 -3
  68. package/dist/{chunk-BQQTZET2.js → chunk-LIA4GZ4F.js} +2 -2
  69. package/dist/{chunk-6JMNJYYR.js → chunk-N6O2RQLQ.js} +3 -1
  70. package/dist/{chunk-FP37FSOT.js → chunk-NEI65CWG.js} +2 -2
  71. package/dist/{chunk-7DKGU6CY.js → chunk-NFNYH6VQ.js} +2 -2
  72. package/dist/{chunk-FZM6E4S4.js → chunk-OJTXXFYO.js} +2 -2
  73. package/dist/{chunk-FIIFME5M.js → chunk-OO7U23BR.js} +1 -1
  74. package/dist/chunk-OUZSRPKC.js +5035 -0
  75. package/dist/{chunk-BIJBGCF4.js → chunk-P73MHFBX.js} +1 -1
  76. package/dist/{chunk-IVFZG3CU.js → chunk-P7CVKVPD.js} +2 -2
  77. package/dist/{chunk-DUSSDJJC.js → chunk-PG356QHK.js} +2 -2
  78. package/dist/{chunk-GKVERDJ2.js → chunk-PPNA6EBI.js} +1 -1
  79. package/dist/{chunk-XC3LDNBH.js → chunk-PUMQDN2T.js} +1 -1
  80. package/dist/{chunk-G4VDT5D7.js → chunk-PYWJGSWO.js} +1 -1
  81. package/dist/{chunk-KAWNVSAE.js → chunk-QXUDHDJU.js} +7 -7
  82. package/dist/{chunk-YOZPHSYV.js → chunk-QXVW22VM.js} +1 -1
  83. package/dist/{chunk-2KO357TJ.js → chunk-RJ6LXDUC.js} +1 -1
  84. package/dist/{chunk-WCET3OHQ.js → chunk-RWHCRVZV.js} +5 -5
  85. package/dist/{chunk-I47SIQGX.js → chunk-RY7Z6KFS.js} +4 -4
  86. package/dist/{chunk-JFIBO4CZ.js → chunk-SE6O4APZ.js} +2 -2
  87. package/dist/{chunk-VG4JPJMI.js → chunk-SEJ7UBR2.js} +2 -2
  88. package/dist/{chunk-BUDP4GF4.js → chunk-SIJYH7XM.js} +1 -1
  89. package/dist/{chunk-4VOK22DG.js → chunk-SXGXJAA7.js} +1 -1
  90. package/dist/{chunk-ODKXNWDL.js → chunk-T252SG67.js} +2 -2
  91. package/dist/{chunk-E2VWKW2A.js → chunk-TBCRTIXP.js} +2 -2
  92. package/dist/{chunk-6GZB32Q5.js → chunk-TSCO4XR4.js} +1 -1
  93. package/dist/{chunk-QEQEKBL7.js → chunk-TSQZ3DSC.js} +20 -5
  94. package/dist/{chunk-ZP3LPFTA.js → chunk-UDY3FS6G.js} +9 -9
  95. package/dist/{chunk-BMRZP6X6.js → chunk-ULH6TLE3.js} +1 -1
  96. package/dist/{chunk-ZR2GMFNH.js → chunk-UQH3MOES.js} +2 -2
  97. package/dist/{chunk-6UOHLXVU.js → chunk-V6MZZEA7.js} +5 -5
  98. package/dist/{chunk-ZV5GD5LV.js → chunk-WAURLEUO.js} +3 -3
  99. package/dist/{chunk-FDZXVTBY.js → chunk-WZGVBZY6.js} +1 -1
  100. package/dist/{chunk-SWWDVPVO.js → chunk-X2PPRHKO.js} +1 -1
  101. package/dist/{chunk-T57ARBNR.js → chunk-X3DTUYKZ.js} +7 -7
  102. package/dist/{chunk-I2OMLFBJ.js → chunk-X4K7Q5PT.js} +1 -1
  103. package/dist/{chunk-GR3LU4D5.js → chunk-XEP7PGXS.js} +1 -1
  104. package/dist/{chunk-GYPSZFRF.js → chunk-XFA6NPMP.js} +3 -3
  105. package/dist/{chunk-27AVZR7K.js → chunk-XKTLYF4N.js} +18 -18
  106. package/dist/{chunk-LS4CCRTK.js → chunk-XXEOJXXY.js} +2 -2
  107. package/dist/{chunk-KXAGCBVO.js → chunk-Y2R4N6HQ.js} +9 -9
  108. package/dist/{chunk-VFOCEFRZ.js → chunk-YHO5SKUR.js} +5 -5
  109. package/dist/{chunk-FB366S4I.js → chunk-YTWTG67C.js} +2 -2
  110. package/dist/{chunk-KJLZZ4MY.js → chunk-ZVERYNYS.js} +1 -1
  111. package/dist/{clean-2AFJGFIG.js → clean-52TVJH4U.js} +16 -16
  112. package/dist/cli.js +58 -58
  113. package/dist/{cloud-JM5MFMVV.js → cloud-FEPPMA5F.js} +4 -4
  114. package/dist/{cloudrun-PNVETMPA.js → cloudrun-DFWQ7ZJW.js} +4 -4
  115. package/dist/{compare-ST4DXEMX.js → compare-UBQUKWOB.js} +28 -28
  116. package/dist/{compiler-UCX3MZVN.js → compiler-UCJ4KC75.js} +3 -3
  117. package/dist/{component-ECFJIDUD.js → component-6YUQ2XAM.js} +3 -3
  118. package/dist/{compositions-ZCAD47PD.js → compositions-KGZO4UYR.js} +11 -11
  119. package/dist/{curve-NYXZWGPO.js → curve-VISYHZKL.js} +10 -10
  120. package/dist/{cuts-CKUCNNOX.js → cuts-HCWYCBI2.js} +11 -11
  121. package/dist/{delete-MVGSOWSC.js → delete-CNKHLEDS.js} +6 -6
  122. package/dist/{deploy-WBKPSWPG.js → deploy-TS3R7DTD.js} +1 -1
  123. package/dist/{describeProject-ZDI5B6JO.js → describeProject-6TNE4FY4.js} +7 -7
  124. package/dist/{diff-3UYDXIEZ.js → diff-YRBYR56R.js} +25 -25
  125. package/dist/{dist-IHPMKRYN.js → dist-H4C7ZCFU.js} +1 -1
  126. package/dist/{dist-XRAW3URT.js → dist-T57O7KXT.js} +4 -2
  127. package/dist/{doctor-A4HMMBII.js → doctor-PLA77GFC.js} +10 -10
  128. package/dist/{energy-RN6KTYH6.js → energy-7BTNGNR7.js} +11 -11
  129. package/dist/{events-6NE2NRCQ.js → events-25FIG2O6.js} +13 -13
  130. package/dist/{events-AO3FEPL3.js → events-IMWCEFSZ.js} +4 -4
  131. package/dist/{events-LSEMS2LO.js → events-QTM2OEFB.js} +3 -3
  132. package/dist/{extract-6UO4QR77.js → extract-C66C5A22.js} +11 -11
  133. package/dist/{face-FTKPGC2O.js → face-MDOI2JO5.js} +11 -11
  134. package/dist/{feedback-GSKVBGA7.js → feedback-26OSAZF3.js} +11 -11
  135. package/dist/{ffmpeg-HPMQUKY4.js → ffmpeg-R5ND25AV.js} +6 -6
  136. package/dist/{figma-UIWB3XSX.js → figma-276JAPS4.js} +3 -3
  137. package/dist/fontLocalizeCli.js +9 -9
  138. package/dist/{frames-U3LLSXSV.js → frames-AMLBNI5B.js} +12 -12
  139. package/dist/{generate-AFCKBHGB.js → generate-YIZS4JFA.js} +17 -17
  140. package/dist/{get-J3TJCAZW.js → get-HFEFIRAJ.js} +6 -6
  141. package/dist/{gpuPolicy-W2OEEW7Y.js → gpuPolicy-7JA66MJG.js} +6 -6
  142. package/dist/{grade-compare-AOXNJ53Z.js → grade-compare-7NH6XYIY.js} +29 -29
  143. package/dist/{heifImagePrep-4RSVCLPX.js → heifImagePrep-WCL36MHY.js} +7 -7
  144. package/dist/{help-5NYIBLJJ.js → help-HHIAUMBQ.js} +1 -1
  145. package/dist/{history-KAXYCLVT.js → history-SLWPRU6Q.js} +7 -7
  146. package/dist/hyperframe.manifest.json +1 -1
  147. package/dist/hyperframe.runtime.iife.js +62 -62
  148. package/dist/hyperframes-player.global.js +1 -1
  149. package/dist/{info-Z6KNUMH6.js → info-MIPROXSM.js} +8 -8
  150. package/dist/{init-GSMXQX3U.js → init-T56UGI6Z.js} +27 -27
  151. package/dist/{ink-IPPBJFH3.js → ink-TY7CKC6Q.js} +11 -11
  152. package/dist/{inspect-MXIGEN6Z.js → inspect-TIF7YHGN.js} +29 -29
  153. package/dist/{installer-JXI2JC3T.js → installer-72QUKTPE.js} +4 -4
  154. package/dist/{keyframes-Z53YGH5F.js → keyframes-I4JRA37J.js} +7 -7
  155. package/dist/{lambda-KD7ZRYVK.js → lambda-VGFSEG56.js} +10 -10
  156. package/dist/{layout-NLDWEPDQ.js → layout-K776Z2IS.js} +29 -29
  157. package/dist/{lint-MSZMGQO5.js → lint-XLTSC66T.js} +8 -8
  158. package/dist/{lintProject-SG4KRUAV.js → lintProject-NZADSVSU.js} +1 -1
  159. package/dist/{list-OLNBKKB4.js → list-6V3IKLXF.js} +6 -6
  160. package/dist/{localPage-BQ2LKHED.js → localPage-RM6EXBBT.js} +6 -6
  161. package/dist/{login-TBJVG5PZ.js → login-HD47X3JE.js} +12 -13
  162. package/dist/{logout-B6H5F5YP.js → logout-UMDA3HDE.js} +3 -3
  163. package/dist/{look-T5V6JBD5.js → look-KUDJYDTK.js} +11 -11
  164. package/dist/{manager-FHVSGJNR.js → manager-TUKVGY7O.js} +7 -7
  165. package/dist/{measure-KI3XY2MJ.js → measure-6BRNY3II.js} +11 -11
  166. package/dist/{media-treatment-UZI55RS3.js → media-treatment-MLME5LNQ.js} +13 -13
  167. package/dist/{media-use-2PIPVWX4.js → media-use-3YTDQKGR.js} +9 -5
  168. package/dist/{models-MV4HBZKZ.js → models-IUX642FY.js} +10 -10
  169. package/dist/{motionShot-A3TWOBRE.js → motionShot-INNVFSPU.js} +14 -14
  170. package/dist/{normalize-audio-37WYHLP4.js → normalize-audio-ZMJIN2OV.js} +9 -9
  171. package/dist/{open-4PPPV45S.js → open-FDQ3NDSX.js} +12 -12
  172. package/dist/{parakeetRunner-J22MMWSM.js → parakeetRunner-WZ6JW3QQ.js} +11 -11
  173. package/dist/{pipeline-GE4LBTRO.js → pipeline-V3TOATHS.js} +9 -9
  174. package/dist/{play-MZSW7GIL.js → play-5WIU4CZL.js} +20 -20
  175. package/dist/{preflight-NXMN7P4B.js → preflight-JXEVL63B.js} +7 -7
  176. package/dist/{present-TWZLASXI.js → present-UHWGVCP4.js} +16 -16
  177. package/dist/{preview-OEXP2RPO.js → preview-W75P6D7E.js} +18 -18
  178. package/dist/{probe-HNAD6ACH.js → probe-O2ADL5FX.js} +11 -11
  179. package/dist/{producer-E4AN4ADM.js → producer-6GQQQT7M.js} +1 -1
  180. package/dist/{projectConfig-HKWVTV5Q.js → projectConfig-FQ7CAOXL.js} +6 -6
  181. package/dist/{publication-DTIE7G2E.js → publication-YRVC6D56.js} +2 -2
  182. package/dist/{publish-CUU5W6CP.js → publish-4IN3WW5G.js} +15 -15
  183. package/dist/{refresh-T6JLFCS4.js → refresh-4FQFQ2SW.js} +3 -3
  184. package/dist/{remove-background-2MRQ3YH4.js → remove-background-L4KWXVMH.js} +10 -10
  185. package/dist/{render-JP6JUXWP.js → render-73VGDCCH.js} +5 -5
  186. package/dist/{render-EEIQAOGV.js → render-GZ4DBQ5E.js} +25 -34
  187. package/dist/{render-QRWGJUCD.js → render-IP7KBRD7.js} +32 -32
  188. package/dist/{render-batch-46SYPMYV.js → render-batch-RX3TJ4NY.js} +5 -5
  189. package/dist/renderSetupWorker.js +1 -1
  190. package/dist/{resolver-DPRCISSD.js → resolver-SNTBG6O2.js} +4 -4
  191. package/dist/{reverse-MY6DSOXL.js → reverse-5SHT4TC6.js} +1 -1
  192. package/dist/{run-2VGZ3URU.js → run-GV6MEM2M.js} +4 -4
  193. package/dist/{sherpa-5LOEXZ46.js → sherpa-LJJHQNQ6.js} +10 -10
  194. package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
  195. package/dist/skills/media-use/SKILL.md +5 -5
  196. package/dist/skills/media-use/audio/references/requirements.md +7 -7
  197. package/dist/skills/media-use/audio/references/tts.md +7 -6
  198. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +16 -10
  199. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +32 -0
  200. package/dist/skills/media-use/references/heygen.md +1 -1
  201. package/dist/{skills-BBHR4SHX.js → skills-NVNRQU7K.js} +6 -6
  202. package/dist/{skillsUpdateCheck-HBOVCIXG.js → skillsUpdateCheck-QNFIPFLX.js} +3 -3
  203. package/dist/{snapshot-S264O54Z.js → snapshot-75S4SIRK.js} +173 -66
  204. package/dist/{src-G2EK32ZO.js → src-KS6W3WRC.js} +8 -8
  205. package/dist/{src-GLO4X3WA.js → src-MTLH4YHV.js} +9 -5
  206. package/dist/{start-6AFMEXPO.js → start-4UCLBL76.js} +19 -19
  207. package/dist/{staticProjectServer-KWSV5IRS.js → staticProjectServer-USD7TCZH.js} +17 -17
  208. package/dist/{status-5ZRM4R4N.js → status-MPCREDMQ.js} +9 -6
  209. package/dist/studio/assets/{hyperframes-player-CGO8wE5a.js → hyperframes-player-CQLtM2zB.js} +1 -1
  210. package/dist/studio/assets/{index-COtefOSM.js → index-CKnGNPHF.js} +1 -1
  211. package/dist/studio/assets/{index-DHPJjAUV.js → index-CdWK2GVp.js} +101 -101
  212. package/dist/studio/index.html +1 -1
  213. package/dist/{studio-api-JJO6VEFD.js → studio-api-447CJUUM.js} +9 -9
  214. package/dist/{studioServer-YFZIESIH.js → studioServer-TMPKQRQA.js} +48 -48
  215. package/dist/{sync-DBMNZ32Z.js → sync-V456U5AA.js} +11 -11
  216. package/dist/{telemetry-OPZTKPDG.js → telemetry-NK6K3VRH.js} +4 -4
  217. package/dist/{timeline-MCJUCDME.js → timeline-M5URP7QS.js} +18 -18
  218. package/dist/{tokens-3DREMPWC.js → tokens-5OIFB4MD.js} +2 -2
  219. package/dist/{transcribe-TMGPK6FM.js → transcribe-N3E7T7AW.js} +21 -21
  220. package/dist/{transcribe-AU7TPKMU.js → transcribe-ON5WTZV3.js} +9 -9
  221. package/dist/{updateCheck-YKTRFFFV.js → updateCheck-JQOAKPNR.js} +2 -2
  222. package/dist/{upgrade-UAKM3KAT.js → upgrade-737POFN4.js} +2 -2
  223. package/dist/{urlDownloader-77YL7TXO.js → urlDownloader-ZIPT6PZC.js} +5 -5
  224. package/dist/{validate-SR35R3QM.js → validate-6IPCQFXI.js} +23 -23
  225. package/dist/{video-GNMQTE4D.js → video-BEZHDPH2.js} +7 -7
  226. package/dist/warmCheck.js +37 -37
  227. package/package.json +1 -1
  228. package/dist/chunk-TNWWLO4T.js +0 -5030
@@ -25,7 +25,7 @@ import {
25
25
  findFFmpeg,
26
26
  findFFprobe,
27
27
  getFFmpegInstallHint
28
- } from "./chunk-PWYAOU4I.js";
28
+ } from "./chunk-DZNJD7BH.js";
29
29
  import {
30
30
  parseTimeoutMs,
31
31
  pngDimensions,
@@ -34,24 +34,24 @@ import {
34
34
  } from "./chunk-KUXOAS4Z.js";
35
35
  import {
36
36
  captureArtifactRevision
37
- } from "./chunk-FDZXVTBY.js";
38
- import "./chunk-GKVERDJ2.js";
37
+ } from "./chunk-WZGVBZY6.js";
38
+ import "./chunk-PPNA6EBI.js";
39
39
  import "./chunk-X7MTZ4T2.js";
40
40
  import {
41
41
  resolveProject
42
- } from "./chunk-TS4HYR6I.js";
42
+ } from "./chunk-46HMQ4I3.js";
43
43
  import {
44
44
  serveStaticProjectHtml
45
- } from "./chunk-KAWNVSAE.js";
45
+ } from "./chunk-QXUDHDJU.js";
46
46
  import "./chunk-X7MTZ4T2.js";
47
- import "./chunk-ZV5GD5LV.js";
47
+ import "./chunk-WAURLEUO.js";
48
48
  import "./chunk-XUHOIDKG.js";
49
- import "./chunk-P5GOQDA2.js";
50
- import "./chunk-JLKEXS4I.js";
51
- import "./chunk-FP37FSOT.js";
49
+ import "./chunk-3AH6KE6F.js";
50
+ import "./chunk-LFDPOL45.js";
51
+ import "./chunk-NEI65CWG.js";
52
52
  import "./chunk-AW3XJY4S.js";
53
- import "./chunk-W3G7DNCR.js";
54
- import "./chunk-4VOK22DG.js";
53
+ import "./chunk-2BARV2ZU.js";
54
+ import "./chunk-SXGXJAA7.js";
55
55
  import {
56
56
  artifactDirectory,
57
57
  finishSnapshotRun,
@@ -70,41 +70,41 @@ import {
70
70
  runFfmpegOnce,
71
71
  seekCompositionTimelineOnly,
72
72
  settleCompositionSeek
73
- } from "./chunk-4III3SDC.js";
73
+ } from "./chunk-C3FKYBZ4.js";
74
74
  import "./chunk-RXFKSZN2.js";
75
75
  import "./chunk-262C25DQ.js";
76
- import "./chunk-5BCFV2HE.js";
77
- import "./chunk-6GZB32Q5.js";
76
+ import "./chunk-KD22R2UE.js";
77
+ import "./chunk-TSCO4XR4.js";
78
78
  import "./chunk-YGGZ23BB.js";
79
- import "./chunk-GR3LU4D5.js";
79
+ import "./chunk-XEP7PGXS.js";
80
80
  import "./chunk-US4BCRYB.js";
81
- import "./chunk-APVBITVZ.js";
81
+ import "./chunk-HRSZOW3U.js";
82
82
  import "./chunk-XT7X6QCP.js";
83
83
  import "./chunk-5YPMCCCA.js";
84
84
  import "./chunk-HVW7ABXD.js";
85
- import "./chunk-3SB24TVT.js";
85
+ import "./chunk-IOECRDWX.js";
86
86
  import {
87
87
  runWithConcurrencyLimit
88
88
  } from "./chunk-JHOCK3DG.js";
89
- import "./chunk-IG3GSBHB.js";
90
- import "./chunk-SWWDVPVO.js";
89
+ import "./chunk-LCDXHXYH.js";
90
+ import "./chunk-X2PPRHKO.js";
91
91
  import "./chunk-AWDFDFI3.js";
92
92
  import "./chunk-P6LJ4Y32.js";
93
93
  import "./chunk-T2WJO4XM.js";
94
94
  import "./chunk-W4DMQZL5.js";
95
- import "./chunk-E2VWKW2A.js";
95
+ import "./chunk-TBCRTIXP.js";
96
96
  import "./chunk-5LOZWO2M.js";
97
97
  import {
98
98
  resolveLocalBrowserGpuMode
99
- } from "./chunk-IVFZG3CU.js";
99
+ } from "./chunk-P7CVKVPD.js";
100
100
  import "./chunk-A4ZTSQLW.js";
101
101
  import {
102
102
  trackSnapshotRun
103
- } from "./chunk-G4VDT5D7.js";
104
- import "./chunk-LS4CCRTK.js";
103
+ } from "./chunk-PYWJGSWO.js";
104
+ import "./chunk-XXEOJXXY.js";
105
105
  import "./chunk-PXVQOMKL.js";
106
106
  import "./chunk-MCDNAIFF.js";
107
- import "./chunk-6NJVSTSY.js";
107
+ import "./chunk-BVAPHHMQ.js";
108
108
  import {
109
109
  defineCommand
110
110
  } from "./chunk-DL4OD7IA.js";
@@ -119,18 +119,20 @@ import "./chunk-EVMY7IPL.js";
119
119
  import "./chunk-7FMUTGOH.js";
120
120
  import {
121
121
  DEFAULT_CONFIG,
122
+ applyVideoMetadataHints,
122
123
  buildZeroDurationDiagnostic,
123
124
  downloadToTemp,
124
125
  evaluateHfDiagnostic,
125
126
  extractMediaMetadata,
127
+ holdRenderFrameVideos,
126
128
  isHdrColorSpace,
127
129
  isTransientBrowserError,
128
130
  sdrCanvasColourFilters
129
- } from "./chunk-QDB7EFLI.js";
131
+ } from "./chunk-IAZ2A7D6.js";
130
132
  import "./chunk-Z5J67X44.js";
131
133
  import "./chunk-5S7W3TUO.js";
132
134
  import "./chunk-D3MUHMFG.js";
133
- import "./chunk-JFIBO4CZ.js";
135
+ import "./chunk-SE6O4APZ.js";
134
136
  import "./chunk-YWRUQ7XZ.js";
135
137
  import {
136
138
  createRuntimeStartTimeResolver,
@@ -139,13 +141,14 @@ import {
139
141
  isClipVisibleAt,
140
142
  isInClipWindow,
141
143
  parseFirstFrameColour
142
- } from "./chunk-6JMNJYYR.js";
144
+ } from "./chunk-N6O2RQLQ.js";
143
145
  import "./chunk-MEJH7VEA.js";
144
146
  import {
147
+ MEDIA_RENDER_ID_ATTR,
145
148
  readElementRateSpec,
146
149
  sourceTimeAt,
147
150
  timeAtSourceTime
148
- } from "./chunk-TNWWLO4T.js";
151
+ } from "./chunk-OUZSRPKC.js";
149
152
  import "./chunk-VC76R6W2.js";
150
153
  import "./chunk-OFQWTKPW.js";
151
154
  import "./chunk-RQVDTPGD.js";
@@ -165,7 +168,7 @@ import "./chunk-K4MJX7SR.js";
165
168
  import "./chunk-WE42NVH7.js";
166
169
  import {
167
170
  lintProject
168
- } from "./chunk-NASVSJQK.js";
171
+ } from "./chunk-BGMMC352.js";
169
172
  import "./chunk-HYRPH6LL.js";
170
173
  import "./chunk-WVRAFHJU.js";
171
174
  import "./chunk-CZGHFATT.js";
@@ -186,7 +189,7 @@ import "./chunk-FBN2M2HK.js";
186
189
  import "./chunk-766MOTIZ.js";
187
190
  import {
188
191
  withMeta
189
- } from "./chunk-L6MNWJTL.js";
192
+ } from "./chunk-6IW2HWYI.js";
190
193
  import "./chunk-BR2JQQC5.js";
191
194
  import "./chunk-BLBMPEBX.js";
192
195
  import "./chunk-ISN5GRYI.js";
@@ -202,7 +205,7 @@ import {
202
205
  } from "./chunk-66W5IWLO.js";
203
206
  import "./chunk-J3RXEDR2.js";
204
207
  import "./chunk-QBXDU24O.js";
205
- import "./chunk-ODKXNWDL.js";
208
+ import "./chunk-T252SG67.js";
206
209
  import {
207
210
  atStep,
208
211
  normalizeErrorMessage
@@ -278,7 +281,7 @@ function resolveSnapshotCompositionRange(html, durations, id, duration) {
278
281
  // src/commands/snapshot.ts
279
282
  import { randomUUID } from "crypto";
280
283
  import {
281
- existsSync,
284
+ existsSync as existsSync2,
282
285
  mkdtempSync,
283
286
  readdirSync,
284
287
  readFileSync,
@@ -288,7 +291,7 @@ import {
288
291
  writeFileSync
289
292
  } from "fs";
290
293
  import { tmpdir } from "os";
291
- import { resolve, join, relative, isAbsolute, basename, posix } from "path";
294
+ import { resolve as resolve2, join, relative as relative2, isAbsolute as isAbsolute2, basename, posix } from "path";
292
295
 
293
296
  // src/utils/sharpLoadFailure.ts
294
297
  var SHARP_LOAD_FAILURE = 'Could not load the "sharp" module';
@@ -394,6 +397,91 @@ function createFrameBank(deps) {
394
397
  };
395
398
  }
396
399
 
400
+ // src/commands/snapshotHeldVideos.ts
401
+ import { existsSync } from "fs";
402
+ import { isAbsolute, relative, resolve } from "path";
403
+ var REMOTE_OR_INLINE_SRC = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;
404
+ function localVideos(html) {
405
+ const videos = /* @__PURE__ */ new Map();
406
+ for (const video of parseHTML(html).document.querySelectorAll("video")) {
407
+ const src = video.getAttribute("src") ?? video.querySelector("source")?.getAttribute("src");
408
+ const id = video.getAttribute(MEDIA_RENDER_ID_ATTR) || video.id;
409
+ if (id && src && !REMOTE_OR_INLINE_SRC.test(src.trim())) videos.set(id, src);
410
+ }
411
+ return [...videos].map(([id, src]) => ({ id, src }));
412
+ }
413
+ var localVideoRenderIds = (html) => localVideos(html).map((v) => v.id);
414
+ function projectLocalFile(projectDir, src) {
415
+ try {
416
+ const path = decodeURIComponent(new URL(src, "http://project.invalid/").pathname).replace(
417
+ /^\//,
418
+ ""
419
+ );
420
+ const file = resolve(projectDir, path);
421
+ const rel = relative(projectDir, file);
422
+ return !rel.startsWith("..") && !isAbsolute(rel) && existsSync(file) ? file : null;
423
+ } catch {
424
+ return null;
425
+ }
426
+ }
427
+ var PROBE_TIMEOUT_MS = 3e4;
428
+ var UNKNOWN_VIDEO = { duration: 0, width: 0, height: 0 };
429
+ function parseProbe(json) {
430
+ const duration = Number(json.format?.duration);
431
+ const stream = json.streams?.[0];
432
+ const rotation = Number(
433
+ stream?.side_data_list?.find((d) => d.rotation !== void 0)?.rotation ?? stream?.tags?.rotate ?? 0
434
+ );
435
+ const turned = Math.abs(rotation) % 180 === 90;
436
+ const [width, height] = [Number(stream?.width), Number(stream?.height)];
437
+ const sized = width > 0 && height > 0;
438
+ return {
439
+ duration: Number.isFinite(duration) && duration > 0 ? duration : 0,
440
+ width: sized ? turned ? height : width : 0,
441
+ height: sized ? turned ? width : height : 0
442
+ };
443
+ }
444
+ function probeHeldVideo(path, cache, ffprobe = findFFprobe()) {
445
+ const known = cache.get(path);
446
+ if (known) return known;
447
+ const read = (async () => {
448
+ if (!ffprobe) return UNKNOWN_VIDEO;
449
+ try {
450
+ const { stdout } = await runCancellableProcess(
451
+ ffprobe,
452
+ [
453
+ "-v",
454
+ "error",
455
+ "-select_streams",
456
+ "v:0",
457
+ "-show_entries",
458
+ "format=duration:stream=width,height:stream_tags=rotate:stream_side_data=rotation",
459
+ "-of",
460
+ "json",
461
+ "--",
462
+ path
463
+ ],
464
+ { timeoutMs: PROBE_TIMEOUT_MS, maxBufferBytes: 1024 * 1024 }
465
+ );
466
+ return parseProbe(JSON.parse(stdout));
467
+ } catch {
468
+ return UNKNOWN_VIDEO;
469
+ }
470
+ })();
471
+ cache.set(path, read);
472
+ return read;
473
+ }
474
+ async function heldVideoHints(projectDir, videos, cache, ffprobe = findFFprobe()) {
475
+ const hints = await Promise.all(
476
+ videos.map(async ({ id, src }) => {
477
+ const file = projectLocalFile(projectDir, src);
478
+ const { width, height } = file ? await probeHeldVideo(file, cache, ffprobe) : UNKNOWN_VIDEO;
479
+ return width > 0 && height > 0 ? { id, width, height } : null;
480
+ })
481
+ );
482
+ return hints.filter((hint) => hint !== null);
483
+ }
484
+
397
485
  // src/commands/snapshotReview.ts
398
486
  var REVIEW_SETTLE_SEC = 0.3;
399
487
  var REVIEW_MID_GAP_SEC = 0.5;
@@ -648,7 +736,7 @@ function snapshotsOnDisk(projectDir, paths) {
648
736
  const written = [];
649
737
  const missing = [];
650
738
  for (const path of paths) {
651
- const absolute = resolve(projectDir, path);
739
+ const absolute = resolve2(projectDir, path);
652
740
  let size = 0;
653
741
  try {
654
742
  size = statSync(absolute).size;
@@ -664,7 +752,7 @@ function clearEarlierStills(snapshotDir) {
664
752
  try {
665
753
  for (const file of readdirSync(snapshotDir)) {
666
754
  if (!SNAPSHOT_IMAGE_NAME.test(file)) continue;
667
- const path = resolve(snapshotDir, file);
755
+ const path = resolve2(snapshotDir, file);
668
756
  rmSync(path, { force: true });
669
757
  cleared.push(path);
670
758
  }
@@ -673,7 +761,7 @@ function clearEarlierStills(snapshotDir) {
673
761
  return cleared;
674
762
  }
675
763
  function clearedNote(count, snapshotDir) {
676
- return `cleared ${count} stills from an earlier run in ${resolve(snapshotDir)}`;
764
+ return `cleared ${count} stills from an earlier run in ${resolve2(snapshotDir)}`;
677
765
  }
678
766
  function assertDistinctKeepNames(times) {
679
767
  const timeByLabel = /* @__PURE__ */ new Map();
@@ -973,7 +1061,7 @@ async function extractVideoFrameToBuffer(videoPath, timeSeconds, useVp9AlphaDeco
973
1061
  `FFmpeg timed out after ${FFMPEG_EXTRACT_TIMEOUT_MS / 1e3}s extracting ${frameOf}`
974
1062
  );
975
1063
  }
976
- if (result.code !== 0 || !existsSync(outPath)) {
1064
+ if (result.code !== 0 || !existsSync2(outPath)) {
977
1065
  throw new FrameExtractError(`FFmpeg could not extract ${frameOf}: ${ffmpegFailure(result)}`);
978
1066
  }
979
1067
  return readFileSync(outPath);
@@ -1022,7 +1110,7 @@ async function decodeFramesInOnePass(videoPath, frames, useVp9AlphaDecoder = fal
1022
1110
  throw new FrameExtractError(`FFmpeg timed out after ${timeoutMs / 1e3}s extracting ${what}`);
1023
1111
  }
1024
1112
  const written = (n) => join(tmp, `${n}.png`);
1025
- if (result.code !== 0 || !byTime.every((_, i) => existsSync(written(i + 1)))) {
1113
+ if (result.code !== 0 || !byTime.every((_, i) => existsSync2(written(i + 1)))) {
1026
1114
  throw new FrameExtractError(`FFmpeg could not extract ${what}: ${ffmpegFailure(result)}`);
1027
1115
  }
1028
1116
  const buffers = [];
@@ -1110,7 +1198,7 @@ function serveCapturePage(projectDir, html, proxy) {
1110
1198
  async function captureSnapshots(projectDir, opts) {
1111
1199
  const startedAt = performance.now();
1112
1200
  const log = opts.log ?? ((message) => console.log(message));
1113
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EE27EYEU.js");
1201
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZZ6Y4CEO.js");
1114
1202
  const capture = opts.record === false ? void 0 : await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
1115
1203
  const invocation = randomUUID();
1116
1204
  const artifacts = [];
@@ -1124,12 +1212,15 @@ async function captureSnapshots(projectDir, opts) {
1124
1212
  const reviewPaths = /* @__PURE__ */ new Map();
1125
1213
  const html = await bundleWithLocalizedFonts(projectDir);
1126
1214
  const entry = join(projectDir, "index.html");
1127
- const swallowed = existsSync(entry) ? await selfClosedMediaWarning(readFileSync(entry, "utf8")) : null;
1215
+ const swallowed = existsSync2(entry) ? await selfClosedMediaWarning(readFileSync(entry, "utf8")) : null;
1128
1216
  if (swallowed) {
1129
1217
  warnings.push(swallowed);
1130
1218
  console.warn(` ${c.warn("\u26A0")} ${swallowed}`);
1131
1219
  }
1132
1220
  const server = await serveCapturePage(projectDir, html, opts.autoProxy);
1221
+ const heldVideoIds = localVideoRenderIds(html);
1222
+ const heldProbes = /* @__PURE__ */ new Map();
1223
+ const heldHints = await heldVideoHints(projectDir, localVideos(html), heldProbes);
1133
1224
  const savedPaths = [];
1134
1225
  let pairSheetFailure = null;
1135
1226
  try {
@@ -1140,7 +1231,16 @@ async function captureSnapshots(projectDir, opts) {
1140
1231
  } = await openSettledCompositionPage(html, server.url, {
1141
1232
  renderReadyTimeoutMs: opts.timeout ?? RENDER_READY_TIMEOUT_MS,
1142
1233
  renderReadyWarningSuffix: "snapshots may be inaccurate",
1143
- browserGpuMode: opts.browserGpuMode
1234
+ browserGpuMode: opts.browserGpuMode,
1235
+ beforeNavigate: async (target) => {
1236
+ if (heldVideoIds.length > 0)
1237
+ await target.evaluateOnNewDocument(
1238
+ holdRenderFrameVideos,
1239
+ heldVideoIds,
1240
+ MEDIA_RENDER_ID_ATTR
1241
+ );
1242
+ },
1243
+ onLoaded: (target) => applyVideoMetadataHints(target, heldHints)
1144
1244
  });
1145
1245
  try {
1146
1246
  if (renderReadyTimedOut)
@@ -1244,7 +1344,7 @@ async function captureSnapshots(projectDir, opts) {
1244
1344
  let syncVideoFrameVisibility = null;
1245
1345
  let extractMediaMetadata2 = null;
1246
1346
  try {
1247
- const engine = await import("./src-GLO4X3WA.js");
1347
+ const engine = await import("./src-MTLH4YHV.js");
1248
1348
  injectVideoFramesBatch = engine.injectVideoFramesBatch;
1249
1349
  syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
1250
1350
  extractMediaMetadata2 = engine.extractMediaMetadata;
@@ -1286,6 +1386,7 @@ async function captureSnapshots(projectDir, opts) {
1286
1386
  )
1287
1387
  });
1288
1388
  const plannedClips = /* @__PURE__ */ new Set();
1389
+ const heldVideos = new Set(heldVideoIds);
1289
1390
  const loopStartedAt = performance.now();
1290
1391
  let seekMs = 0;
1291
1392
  let videoMs = 0;
@@ -1305,7 +1406,7 @@ async function captureSnapshots(projectDir, opts) {
1305
1406
  seekMs += performance.now() - seekStartedAt;
1306
1407
  if (cameraExpr) await page.evaluate(cameraExpr);
1307
1408
  if (injectVideoFramesBatch && syncVideoFrameVisibility) {
1308
- const candidates = await page.evaluate(() => {
1409
+ const pageVideos = await page.evaluate(() => {
1309
1410
  const runtimeWindow = window;
1310
1411
  return Array.from(document.querySelectorAll("video")).map((el) => {
1311
1412
  const v = el;
@@ -1332,6 +1433,12 @@ async function captureSnapshots(projectDir, opts) {
1332
1433
  };
1333
1434
  });
1334
1435
  });
1436
+ const candidates = await Promise.all(
1437
+ pageVideos.map(async (video) => {
1438
+ const file = heldVideos.has(video.id) ? projectLocalFile(projectDir, video.src) : null;
1439
+ return video.srcDuration > 0 || !file ? video : { ...video, srcDuration: (await probeHeldVideo(file, heldProbes)).duration };
1440
+ })
1441
+ );
1335
1442
  let unreadable = 0;
1336
1443
  const active = candidates.flatMap((candidate) => {
1337
1444
  const video = activeVideoAt(candidate, time, duration);
@@ -1349,19 +1456,19 @@ async function captureSnapshots(projectDir, opts) {
1349
1456
  async (v) => {
1350
1457
  let ffmpegInput = null;
1351
1458
  let inputIsLocal = false;
1352
- try {
1353
- const url = new URL(v.src);
1354
- const decodedPath = decodeURIComponent(url.pathname).replace(/^\//, "");
1355
- const candidate = resolve(projectDir, decodedPath);
1356
- const rel2 = relative(projectDir, candidate);
1357
- if (!rel2.startsWith("..") && !isAbsolute(rel2) && existsSync(candidate)) {
1358
- ffmpegInput = candidate;
1359
- inputIsLocal = true;
1360
- } else if (url.protocol === "http:" || url.protocol === "https:") {
1361
- ffmpegInput = await localCopy(url.href);
1362
- inputIsLocal = ffmpegInput !== url.href;
1459
+ const projectFile = projectLocalFile(projectDir, v.src);
1460
+ if (projectFile) {
1461
+ ffmpegInput = projectFile;
1462
+ inputIsLocal = true;
1463
+ } else {
1464
+ try {
1465
+ const url = new URL(v.src);
1466
+ if (url.protocol === "http:" || url.protocol === "https:") {
1467
+ ffmpegInput = await localCopy(url.href);
1468
+ inputIsLocal = ffmpegInput !== url.href;
1469
+ }
1470
+ } catch {
1363
1471
  }
1364
- } catch {
1365
1472
  }
1366
1473
  if (!ffmpegInput) return null;
1367
1474
  const useVp9AlphaDecoder = inputIsLocal ? await shouldUseVp9AlphaDecoder(ffmpegInput) : false;
@@ -1466,7 +1573,7 @@ async function captureSnapshots(projectDir, opts) {
1466
1573
  }
1467
1574
  artifacts.push({
1468
1575
  id: `${invocation}-${i}`,
1469
- image: resolve(framePath),
1576
+ image: resolve2(framePath),
1470
1577
  time,
1471
1578
  metadata: {
1472
1579
  ...pngDimensions(framePath),
@@ -1509,8 +1616,8 @@ async function captureSnapshots(projectDir, opts) {
1509
1616
  }
1510
1617
  }
1511
1618
  }
1512
- const rel = relative(projectDir, framePath);
1513
- savedPaths.push(rel.startsWith("..") || isAbsolute(rel) ? framePath : rel);
1619
+ const rel = relative2(projectDir, framePath);
1620
+ savedPaths.push(rel.startsWith("..") || isAbsolute2(rel) ? framePath : rel);
1514
1621
  }
1515
1622
  const loopMs = performance.now() - loopStartedAt;
1516
1623
  const stageMs = {
@@ -1579,7 +1686,7 @@ function warnUnsettledImages(images, time, warnings) {
1579
1686
  }
1580
1687
  }
1581
1688
  async function selfClosedMediaWarning(source) {
1582
- const { lintHyperframeHtml } = await import("./dist-IHPMKRYN.js");
1689
+ const { lintHyperframeHtml } = await import("./dist-H4C7ZCFU.js");
1583
1690
  const found = (await lintHyperframeHtml(source)).findings.filter(
1584
1691
  (finding) => finding.code === "self_closing_media_tag"
1585
1692
  );
@@ -1615,7 +1722,7 @@ function snapshotEnvelope(projectDir, outputDir, captured, extra) {
1615
1722
  time: frame.time,
1616
1723
  role: frame.role,
1617
1724
  label: frame.label
1618
- })) : captured.paths.map((path) => ({ path: resolve(projectDir, path), time: timeFromName(path) }));
1725
+ })) : captured.paths.map((path) => ({ path: resolve2(projectDir, path), time: timeFromName(path) }));
1619
1726
  return {
1620
1727
  ok: true,
1621
1728
  outputDir,
@@ -1626,7 +1733,7 @@ function snapshotEnvelope(projectDir, outputDir, captured, extra) {
1626
1733
  note: clearedNote(captured.cleared.length, outputDir)
1627
1734
  }
1628
1735
  } : {},
1629
- contactSheets: extra.contactSheets.map((sheet) => resolve(sheet)),
1736
+ contactSheets: extra.contactSheets.map((sheet) => resolve2(sheet)),
1630
1737
  ...captured.warnings.length > 0 ? { warnings: captured.warnings } : {},
1631
1738
  ...extra.describedPath ? { descriptions: extra.describedPath } : {},
1632
1739
  ...review ? {
@@ -1821,8 +1928,8 @@ var snapshot_default = defineCommand({
1821
1928
  const camera = args.angle ? parseAngle(String(args.angle)) : void 0;
1822
1929
  const zoomTarget = args.zoom ? parseZoomTarget(String(args.zoom)) : void 0;
1823
1930
  const zoomScale = parseZoomScale(args["zoom-scale"]);
1824
- const against = args.against ? resolve(String(args.against)) : void 0;
1825
- if (against && !existsSync(against))
1931
+ const against = args.against ? resolve2(String(args.against)) : void 0;
1932
+ if (against && !existsSync2(against))
1826
1933
  fail(`${c.error("\u2717")} --against video not found: ${against}`);
1827
1934
  const label = reviewMode ? "review frames (beats, seams, phone)" : atTimestamps ? `${atTimestamps.length} frames at [${atTimestamps.map(formatSnapshotTimestamp).join(", ")}]` : `${frames} frames`;
1828
1935
  const angleLabel = camera && (camera.yaw !== 0 || camera.pitch !== 0) ? ` ${c.dim(`(angle yaw ${camera.yaw}\xB0 pitch ${camera.pitch}\xB0)`)}` : "";
@@ -1830,7 +1937,7 @@ var snapshot_default = defineCommand({
1830
1937
  let managedSnapshotDir;
1831
1938
  let exitCode = 0;
1832
1939
  try {
1833
- const snapshotDir = args.output ? resolve(String(args.output)) : artifactDirectory(project.dir, "snapshots");
1940
+ const snapshotDir = args.output ? resolve2(String(args.output)) : artifactDirectory(project.dir, "snapshots");
1834
1941
  if (!args.output) managedSnapshotDir = snapshotDir;
1835
1942
  if (args.output) retainSnapshotOutput(project.dir, snapshotDir);
1836
1943
  await withProjectLock(project.dir, "snapshot", async () => {
@@ -1909,7 +2016,7 @@ ${mark} ${count} snapshots saved to ${snapshotDir}`);
1909
2016
  reportArtifacts("snapshot", "contact-sheet", contactSheets);
1910
2017
  if (!captured.review) {
1911
2018
  for (const sheet of contactSheets) {
1912
- log(` ${resolve(sheet)} (grid view for AI review)`);
2019
+ log(` ${resolve2(sheet)} (grid view for AI review)`);
1913
2020
  }
1914
2021
  }
1915
2022
  } catch (err) {
@@ -1947,7 +2054,7 @@ ${mark} ${count} snapshots saved to ${snapshotDir}`);
1947
2054
  paths.map(async (p) => {
1948
2055
  const filename = basename(p);
1949
2056
  const filePath = join(snapshotDir, filename);
1950
- if (!existsSync(filePath)) return { filename, desc: "file not found" };
2057
+ if (!existsSync2(filePath)) return { filename, desc: "file not found" };
1951
2058
  const raw = readFileSync(filePath);
1952
2059
  let imageData;
1953
2060
  let mimeType = "image/png";
@@ -62,13 +62,13 @@ import {
62
62
  spanFrameRange,
63
63
  startServer,
64
64
  validatePlanV2MaterializedTarget
65
- } from "./chunk-KXAGCBVO.js";
65
+ } from "./chunk-Y2R4N6HQ.js";
66
66
  import {
67
67
  prepareHeifImageInputs
68
- } from "./chunk-7DKGU6CY.js";
68
+ } from "./chunk-NFNYH6VQ.js";
69
69
  import {
70
70
  prepareAnimatedGifInputs
71
- } from "./chunk-BQQTZET2.js";
71
+ } from "./chunk-LIA4GZ4F.js";
72
72
  import "./chunk-X7MTZ4T2.js";
73
73
  import "./chunk-BZ56MTDX.js";
74
74
  import {
@@ -99,17 +99,17 @@ import {
99
99
  readReferenceBackground,
100
100
  referenceBackgroundResult,
101
101
  resolveConfig
102
- } from "./chunk-QDB7EFLI.js";
102
+ } from "./chunk-IAZ2A7D6.js";
103
103
  import "./chunk-Z5J67X44.js";
104
104
  import "./chunk-5S7W3TUO.js";
105
105
  import "./chunk-D3MUHMFG.js";
106
- import "./chunk-JFIBO4CZ.js";
106
+ import "./chunk-SE6O4APZ.js";
107
107
  import "./chunk-YWRUQ7XZ.js";
108
108
  import {
109
109
  quantizeTimeToFrame
110
- } from "./chunk-6JMNJYYR.js";
110
+ } from "./chunk-N6O2RQLQ.js";
111
111
  import "./chunk-MEJH7VEA.js";
112
- import "./chunk-TNWWLO4T.js";
112
+ import "./chunk-OUZSRPKC.js";
113
113
  import "./chunk-VC76R6W2.js";
114
114
  import "./chunk-OFQWTKPW.js";
115
115
  import "./chunk-RQVDTPGD.js";
@@ -118,7 +118,7 @@ import "./chunk-TK7THLRO.js";
118
118
  import "./chunk-FXMKHHPO.js";
119
119
  import "./chunk-K4MJX7SR.js";
120
120
  import "./chunk-WE42NVH7.js";
121
- import "./chunk-NASVSJQK.js";
121
+ import "./chunk-BGMMC352.js";
122
122
  import "./chunk-HYRPH6LL.js";
123
123
  import "./chunk-WVRAFHJU.js";
124
124
  import "./chunk-CZGHFATT.js";
@@ -58,6 +58,7 @@ import {
58
58
  applyConcreteGpuScreenshotClamp,
59
59
  applyDomLayerMask,
60
60
  applyFaststart,
61
+ applyVideoMetadataHints,
61
62
  assertConfiguredFfmpegBinariesExist,
62
63
  assertMediaPayload,
63
64
  assertPublicHttpsUrl,
@@ -161,6 +162,7 @@ import {
161
162
  groupIntoLayers,
162
163
  hasGradedCanvas,
163
164
  hideVideoElements,
165
+ holdRenderFrameVideos,
164
166
  inAgentSandbox,
165
167
  initHdrReadback,
166
168
  initTransparentBackground,
@@ -269,11 +271,11 @@ import {
269
271
  waitForImagesReady,
270
272
  writeCapturedFrame,
271
273
  writeUrlDownloadTelemetry
272
- } from "./chunk-QDB7EFLI.js";
274
+ } from "./chunk-IAZ2A7D6.js";
273
275
  import "./chunk-Z5J67X44.js";
274
276
  import "./chunk-5S7W3TUO.js";
275
277
  import "./chunk-D3MUHMFG.js";
276
- import "./chunk-JFIBO4CZ.js";
278
+ import "./chunk-SE6O4APZ.js";
277
279
  import {
278
280
  collectScratchLeftovers,
279
281
  removeScratch,
@@ -283,9 +285,9 @@ import {
283
285
  import {
284
286
  MEDIA_VISUAL_STYLE_PROPERTIES,
285
287
  quantizeTimeToFrame
286
- } from "./chunk-6JMNJYYR.js";
288
+ } from "./chunk-N6O2RQLQ.js";
287
289
  import "./chunk-MEJH7VEA.js";
288
- import "./chunk-TNWWLO4T.js";
290
+ import "./chunk-OUZSRPKC.js";
289
291
  import "./chunk-VC76R6W2.js";
290
292
  import "./chunk-OFQWTKPW.js";
291
293
  import "./chunk-RQVDTPGD.js";
@@ -306,7 +308,7 @@ import {
306
308
  import {
307
309
  resolveReferencedDuration,
308
310
  resolveReferencedStart
309
- } from "./chunk-NASVSJQK.js";
311
+ } from "./chunk-BGMMC352.js";
310
312
  import {
311
313
  FFMPEG_PATH_ENV,
312
314
  FFPROBE_PATH_ENV
@@ -392,6 +394,7 @@ export {
392
394
  applyConcreteGpuScreenshotClamp,
393
395
  applyDomLayerMask,
394
396
  applyFaststart,
397
+ applyVideoMetadataHints,
395
398
  assertConfiguredFfmpegBinariesExist,
396
399
  assertMediaPayload,
397
400
  assertPublicHttpsUrl,
@@ -502,6 +505,7 @@ export {
502
505
  hasGradedCanvas,
503
506
  hdrToLinear,
504
507
  hideVideoElements,
508
+ holdRenderFrameVideos,
505
509
  inAgentSandbox,
506
510
  initHdrReadback,
507
511
  initTransparentBackground,