hyperframes 0.9.46 → 0.9.48

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 (251) hide show
  1. package/dist/{add-3FQLHIZ6.js → add-3H4DG4RA.js} +13 -13
  2. package/dist/{agentPromptGenerator-Y4WVIS7O.js → agentPromptGenerator-PIHKWDAW.js} +6 -5
  3. package/dist/{animatedGifPrep-6IFABDM3.js → animatedGifPrep-SXYSHW6I.js} +5 -4
  4. package/dist/api.js +29 -28
  5. package/dist/{appHistory-LZCGD54D.js → appHistory-DK2XI4EZ.js} +2 -2
  6. package/dist/{asset-KPQAHAZ7.js → asset-43VALPNF.js} +2 -2
  7. package/dist/{assetCataloger-3FGGZTTX.js → assetCataloger-MUOL6FRF.js} +8 -7
  8. package/dist/{audio-7RADC3X7.js → audio-ZHGSDLJR.js} +13 -12
  9. package/dist/{auth-CHHUN4IL.js → auth-UXRKOJQB.js} +2 -2
  10. package/dist/{autoUpdate-H72HIWTL.js → autoUpdate-PMEPQG65.js} +2 -2
  11. package/dist/{avatars-XLQOPLVQ.js → avatars-QFBWZAIE.js} +9 -8
  12. package/dist/{backgroundChecks-ACOSRT3C.js → backgroundChecks-OK6SI7BE.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-JG5MSARZ.js → batchRender-XYL2E7IX.js} +2 -2
  15. package/dist/{beats-RZQQEVK3.js → beats-O23QKE6J.js} +5 -5
  16. package/dist/{benchmark-PJ6P5PI7.js → benchmark-DKBSDIX5.js} +7 -7
  17. package/dist/{billing-4DCA7C7L.js → billing-ZZCU3K3Q.js} +12 -12
  18. package/dist/{browser-CEAT5YF3.js → browser-4X6WZ6UD.js} +4 -4
  19. package/dist/{bundleWithLocalizedFonts-U6PRV3XO.js → bundleWithLocalizedFonts-M64DWYM5.js} +1 -1
  20. package/dist/{capture-JRITMVAO.js → capture-JJARZBDS.js} +88 -269
  21. package/dist/{capture-KJIHJTDP.js → capture-O3W6P6DB.js} +5 -5
  22. package/dist/{captureCompositionFrame-TURWWCHG.js → captureCompositionFrame-JLTAV6VN.js} +12 -11
  23. package/dist/{captureFile-JFNQEK4R.js → captureFile-R5JZ7WRA.js} +2 -2
  24. package/dist/{catalog-W7436LYB.js → catalog-4A4CPKPT.js} +13 -13
  25. package/dist/{catch-up-TXDSUZZF.js → catch-up-EUQFPFMU.js} +7 -7
  26. package/dist/{check-RF4BU4YS.js → check-IZ6SFIGR.js} +41 -40
  27. package/dist/{checkAudio-355J7YK4.js → checkAudio-5IRYPK3A.js} +8 -7
  28. package/dist/{checkBrowser-K3EFUVEG.js → checkBrowser-HUCHMJV4.js} +33 -32
  29. package/dist/{chunk-BN7UITKY.js → chunk-22EEGJLH.js} +12 -9
  30. package/dist/{chunk-HC5D2SDF.js → chunk-2GS3N3TZ.js} +1 -1
  31. package/dist/{chunk-UGT4SXWS.js → chunk-3JWNN5PN.js} +71 -175
  32. package/dist/{chunk-4IU2UP4A.js → chunk-3LH7DND6.js} +2 -2
  33. package/dist/{chunk-THKMCTAA.js → chunk-44EG3TMN.js} +1 -1
  34. package/dist/{chunk-WWMPS3LM.js → chunk-47MEWWCO.js} +2 -2
  35. package/dist/{chunk-QPI4PPHA.js → chunk-4BJYQXFF.js} +3 -3
  36. package/dist/{chunk-Y7V4GGFQ.js → chunk-4HP2MTKM.js} +1 -1
  37. package/dist/{chunk-JL45V2DZ.js → chunk-4WDBYCUK.js} +1 -1
  38. package/dist/{chunk-HGLLFTCP.js → chunk-4XETQ5LC.js} +1 -1
  39. package/dist/{chunk-7HDLRWT6.js → chunk-4Y5IDZOJ.js} +1 -1
  40. package/dist/{chunk-GUVBME3S.js → chunk-5AJNQMML.js} +2 -2
  41. package/dist/{chunk-BVSG3ZQQ.js → chunk-5DW2DEHX.js} +1 -1
  42. package/dist/{chunk-C44GJVPH.js → chunk-5IE7DN6I.js} +2 -2
  43. package/dist/{chunk-6OCZCBLT.js → chunk-5MHENUR3.js} +3 -3
  44. package/dist/{chunk-ACUFGUTH.js → chunk-67QXALQY.js} +69 -16
  45. package/dist/{chunk-ORKXVTJI.js → chunk-6DNSUUKB.js} +6 -6
  46. package/dist/{chunk-NRNZJELI.js → chunk-7RHN6N5F.js} +1 -1
  47. package/dist/{chunk-NN267VD6.js → chunk-7SNB3KGY.js} +2 -2
  48. package/dist/{chunk-EZXMEROT.js → chunk-7X2TCJJ7.js} +1 -1
  49. package/dist/{chunk-EQ6MHHC2.js → chunk-AOITLZJO.js} +1 -1
  50. package/dist/{chunk-OLKDBDIZ.js → chunk-B2WXMYMA.js} +17 -9
  51. package/dist/{chunk-VN2BQZSL.js → chunk-BEPEMS56.js} +4 -4
  52. package/dist/{chunk-MNQ2N4YH.js → chunk-BM6LSTMG.js} +3 -3
  53. package/dist/{chunk-J5ZACODW.js → chunk-CDBPBLYJ.js} +2 -2
  54. package/dist/{chunk-LRHW62CP.js → chunk-CTWD5ND3.js} +10 -10
  55. package/dist/{chunk-IR4JEH5Q.js → chunk-CZBTUYLW.js} +2 -2
  56. package/dist/{chunk-VNEVQU4Y.js → chunk-DACTRVDQ.js} +3 -3
  57. package/dist/{chunk-GTA7W75W.js → chunk-DE3JRSGT.js} +44 -2
  58. package/dist/{chunk-5TF5KKGF.js → chunk-DFJIVRYU.js} +1 -1
  59. package/dist/{chunk-VVQQJIRX.js → chunk-E5OW6L6E.js} +2 -2
  60. package/dist/{chunk-KDA3LTQU.js → chunk-ESXZZU25.js} +3 -3
  61. package/dist/{chunk-WKD5W3TN.js → chunk-EVRVYDKJ.js} +4 -4
  62. package/dist/{chunk-ISPEHDUQ.js → chunk-EWMPCW7J.js} +1 -1
  63. package/dist/{chunk-BR6FHEP5.js → chunk-FCNMU7LC.js} +2 -2
  64. package/dist/{chunk-WH6EXEDN.js → chunk-FF3VETCD.js} +1 -1
  65. package/dist/{chunk-KH2HGTPT.js → chunk-FFZE3G5R.js} +1 -1
  66. package/dist/{chunk-EHV6WJDU.js → chunk-FLHKID4G.js} +2 -2
  67. package/dist/{chunk-IT2YDRMD.js → chunk-G55B5LP6.js} +1 -1
  68. package/dist/{chunk-R2SL4STW.js → chunk-GXPAR6JC.js} +2 -2
  69. package/dist/{chunk-5VNF24CQ.js → chunk-GZSJYNAJ.js} +28 -25
  70. package/dist/{chunk-GCI34AB3.js → chunk-HD5RVDL6.js} +1 -1
  71. package/dist/{chunk-DIUOG4KA.js → chunk-HZXRORAG.js} +2 -2
  72. package/dist/{chunk-RK5KGIYX.js → chunk-I2UMQAOQ.js} +1 -1
  73. package/dist/{chunk-PYXBD4ZH.js → chunk-I4OQGQ5M.js} +1 -1
  74. package/dist/{chunk-P4JJRVSY.js → chunk-I542AQXY.js} +2 -2
  75. package/dist/{chunk-AK6PJNCY.js → chunk-IK7DQLH7.js} +6 -6
  76. package/dist/{chunk-DYRXALWM.js → chunk-IMNIW22F.js} +1 -1
  77. package/dist/{chunk-V3TXAAMF.js → chunk-IPTZMILN.js} +1 -1
  78. package/dist/{chunk-M3NFK4OF.js → chunk-IQA5CXNE.js} +1 -1
  79. package/dist/{chunk-HMPPBQUY.js → chunk-JET2QWI5.js} +2 -2
  80. package/dist/{chunk-LHSVECRX.js → chunk-JN4ING5S.js} +2 -2
  81. package/dist/{chunk-VC4R6DPZ.js → chunk-JUI6DQFD.js} +3 -3
  82. package/dist/{chunk-FZUM2FWY.js → chunk-JX7623IE.js} +5 -275
  83. package/dist/{chunk-TMGMUL3J.js → chunk-JYOOWDQK.js} +1 -1
  84. package/dist/{chunk-OYUASBFR.js → chunk-LIQZZ6AE.js} +1 -1
  85. package/dist/{chunk-XRQQIE2X.js → chunk-M3MXR3HG.js} +2 -2
  86. package/dist/{chunk-TZRMV44S.js → chunk-M5PWCI3M.js} +3 -3
  87. package/dist/{chunk-S4PA46LO.js → chunk-MOTJT42J.js} +2 -2
  88. package/dist/{chunk-43GCSOM5.js → chunk-MR7VKWYT.js} +1 -1
  89. package/dist/{chunk-OXTPNY3V.js → chunk-MXOWNQCI.js} +1 -1
  90. package/dist/{chunk-37ZR6H7S.js → chunk-MZ2LNNLT.js} +6 -6
  91. package/dist/{chunk-GHQ2B7CB.js → chunk-NAUOUIEW.js} +1 -1
  92. package/dist/{chunk-MZZN4RLK.js → chunk-NECZT66A.js} +2 -2
  93. package/dist/{chunk-RWHVILFO.js → chunk-OFAEOC67.js} +6 -6
  94. package/dist/{chunk-QYAZSX4L.js → chunk-OO4R2IFF.js} +1 -1
  95. package/dist/{chunk-RHB37MXS.js → chunk-P4FZ67X5.js} +3 -3
  96. package/dist/{chunk-MKXMXMRH.js → chunk-PBTXEWFY.js} +7 -7
  97. package/dist/{chunk-6M2D5R5Q.js → chunk-PCH55NAO.js} +1 -1
  98. package/dist/{chunk-EOO255GS.js → chunk-POCPG2WI.js} +7 -7
  99. package/dist/{chunk-AQQK6BFW.js → chunk-PVR4LBWK.js} +10 -10
  100. package/dist/{upstreamProxy-W5FWAT5Z.js → chunk-QCAKISPA.js} +0 -11
  101. package/dist/{chunk-HMEMBYTA.js → chunk-QQSVDBSH.js} +16 -14
  102. package/dist/{chunk-SLNSV3HI.js → chunk-RCTY7VNK.js} +1 -1
  103. package/dist/{chunk-LK2GOIB7.js → chunk-RGGQBF7T.js} +1 -1
  104. package/dist/{chunk-S54GG7OD.js → chunk-RV6ZSL4E.js} +3 -3
  105. package/dist/{chunk-5BK52ECX.js → chunk-SGLUNJTO.js} +2 -2
  106. package/dist/{chunk-ZEPP4IYU.js → chunk-SXMAJMTP.js} +3 -3
  107. package/dist/{chunk-ONLHSDFK.js → chunk-T4TF22AD.js} +5 -5
  108. package/dist/{chunk-X3EWYERU.js → chunk-TM4PTEAL.js} +1 -1
  109. package/dist/{chunk-FKHIDW46.js → chunk-TPVRUKKI.js} +4 -4
  110. package/dist/{chunk-CL5IBQJC.js → chunk-U7ZCBWNM.js} +4 -0
  111. package/dist/{chunk-F3TMSCSZ.js → chunk-UAU4SIOQ.js} +3 -3
  112. package/dist/chunk-UG3G4HEH.js +701 -0
  113. package/dist/{chunk-ZQMS7HXL.js → chunk-ULNYVLR5.js} +1 -1
  114. package/dist/{chunk-EH4AQ3DS.js → chunk-UX4HQHMS.js} +3 -3
  115. package/dist/{chunk-37GD3CWK.js → chunk-VOJ3ICMF.js} +1 -1
  116. package/dist/{chunk-WOG6H6QL.js → chunk-VTLYJLGX.js} +2 -2
  117. package/dist/{chunk-ZH2LHLVS.js → chunk-W4JWPYLU.js} +1 -1
  118. package/dist/{chunk-PHEXH35X.js → chunk-W56YNDIJ.js} +1 -1
  119. package/dist/{chunk-ESYKCW5A.js → chunk-WN4W76IQ.js} +1 -1
  120. package/dist/{chunk-PE7IEERM.js → chunk-WT2OKPEW.js} +3 -3
  121. package/dist/{chunk-JRDSR3YU.js → chunk-XUCEC2EI.js} +1 -1
  122. package/dist/{chunk-Y3NV4IJX.js → chunk-YRXIEP35.js} +1 -1
  123. package/dist/{chunk-VS5SC7OM.js → chunk-YZERHM3O.js} +2 -2
  124. package/dist/{chunk-6LWG6HAU.js → chunk-Z2DDFW7J.js} +9 -9
  125. package/dist/{chunk-J2PFGVTU.js → chunk-Z2EKCD7H.js} +1 -1
  126. package/dist/{chunk-D2UY5VC3.js → chunk-Z46RV43W.js} +1 -1
  127. package/dist/{chunk-EYAHZIYQ.js → chunk-ZJTSSZVG.js} +1 -1
  128. package/dist/{chunk-3WASKIY5.js → chunk-ZQMK76GC.js} +1 -1
  129. package/dist/{chunk-ZJ6LT2NW.js → chunk-ZR7CJIH3.js} +58 -35
  130. package/dist/{clean-XEOLR4BJ.js → clean-YTQ7THRZ.js} +16 -15
  131. package/dist/cli.js +65 -65
  132. package/dist/{cloud-A4HVQUQM.js → cloud-5C5SCK4H.js} +2 -2
  133. package/dist/{cloud-FIUFEYC3.js → cloud-NYF5MJVW.js} +4 -4
  134. package/dist/{cloudrun-O3I4TRAZ.js → cloudrun-XXGMWBUO.js} +3 -3
  135. package/dist/{compare-LRJSRWR3.js → compare-Z32R2SCB.js} +31 -30
  136. package/dist/{component-UB7BMON5.js → component-UAZQ4P7D.js} +3 -3
  137. package/dist/{compositions-E3EDTQ3J.js → compositions-WRX752GP.js} +9 -8
  138. package/dist/{contactSheet-2JNX5JCQ.js → contactSheet-O3FOOHOX.js} +3 -3
  139. package/dist/{curve-QLYI5ZTJ.js → curve-GPONFTFR.js} +9 -8
  140. package/dist/{cuts-Y2XN3NND.js → cuts-RC2WIAYL.js} +10 -9
  141. package/dist/{delete-CJBPT67E.js → delete-MDRUJACW.js} +4 -4
  142. package/dist/{deploy-J2NMEORU.js → deploy-EV4JCQW6.js} +2 -2
  143. package/dist/{describeProject-TPF3Z2HR.js → describeProject-D2MMDRME.js} +6 -5
  144. package/dist/{destroy-ORZHOLMM.js → destroy-IBQ64X7C.js} +2 -2
  145. package/dist/{deterministicFonts-4JVXQH5F.js → deterministicFonts-QY4KNTOU.js} +2 -2
  146. package/dist/{diff-5KBBWVT7.js → diff-BGZFEZ7V.js} +31 -30
  147. package/dist/{dist-UGBEQYQQ.js → dist-BKWVQR7A.js} +8 -8
  148. package/dist/{dist-YLXB4RLU.js → dist-YX7FMBUD.js} +3 -1
  149. package/dist/{doctor-H2OX6GBM.js → doctor-TDF4VFEI.js} +9 -8
  150. package/dist/{energy-274ABZCI.js → energy-DDE435SP.js} +10 -9
  151. package/dist/{events-SDXGCMWR.js → events-CQLKSC62.js} +2 -2
  152. package/dist/{events-72RX4ARF.js → events-IFAKMWNL.js} +11 -10
  153. package/dist/{events-3ZG334OJ.js → events-WA3SQMWZ.js} +4 -4
  154. package/dist/{execute-QFAHJM6Q.js → execute-H337HQ2I.js} +24 -23
  155. package/dist/{extract-PMFDZHVG.js → extract-LOH2HC74.js} +10 -9
  156. package/dist/{face-SS3SCFVS.js → face-RMDNBINB.js} +11 -10
  157. package/dist/{feedback-GUOORIB3.js → feedback-QX4CBEFU.js} +6 -6
  158. package/dist/{ffmpeg-6OO3GLBM.js → ffmpeg-LXWLSIJN.js} +5 -4
  159. package/dist/{figma-7UPOW7FE.js → figma-QNCIZZKI.js} +3 -3
  160. package/dist/fontLocalizeCli.js +9 -8
  161. package/dist/{frames-U3YGMMMJ.js → frames-M3ZAUTAZ.js} +12 -11
  162. package/dist/{generate-AUPHWEEL.js → generate-JHWY26CH.js} +21 -20
  163. package/dist/{get-A2NZGSFG.js → get-UOPVKIUK.js} +4 -4
  164. package/dist/{gpuPolicy-W433AKJE.js → gpuPolicy-4UHHZMH7.js} +5 -4
  165. package/dist/{grade-compare-5C2LRNHQ.js → grade-compare-TRTR3HGM.js} +30 -29
  166. package/dist/{heifImagePrep-D446M7WT.js → heifImagePrep-7DRKOFIJ.js} +6 -5
  167. package/dist/{help-3LV7M6B7.js → help-XBJ3CPJG.js} +1 -1
  168. package/dist/{history-ZQHBWWZE.js → history-4NBOWTAK.js} +9 -9
  169. package/dist/hyperframes-player.global.js +1 -1
  170. package/dist/{info-XQ2IJOMG.js → info-6OUYHW5G.js} +11 -10
  171. package/dist/{init-ZKRYYGOT.js → init-U4UGYE5D.js} +27 -26
  172. package/dist/{ink-A53ZJM3Y.js → ink-3K5U33XB.js} +10 -9
  173. package/dist/{inspect-MQ4EK7IR.js → inspect-U6QLWQW2.js} +31 -30
  174. package/dist/{installer-FC2Z2XXY.js → installer-2LTM4GWP.js} +5 -5
  175. package/dist/{keyframes-B55NHFTC.js → keyframes-HRT4ICFF.js} +7 -7
  176. package/dist/{lambda-2QOMUSG6.js → lambda-QCYXB7S3.js} +10 -9
  177. package/dist/{layout-7YH7VP7S.js → layout-S6E5YVK5.js} +31 -30
  178. package/dist/{lint-KAJRCNL2.js → lint-JNQUZ5H6.js} +7 -7
  179. package/dist/{list-RNSNNZQE.js → list-IEATKMVG.js} +4 -4
  180. package/dist/{localPage-GJ6C7W53.js → localPage-KKLCOLJR.js} +6 -5
  181. package/dist/{login-JVPXGRUD.js → login-BWXQWFKL.js} +4 -4
  182. package/dist/{look-YVXOUUZD.js → look-5EMJASLS.js} +10 -9
  183. package/dist/{manager-54RABD4L.js → manager-7XKYKMB7.js} +6 -5
  184. package/dist/{measure-3YFE6T4L.js → measure-UW3MUWR7.js} +11 -11
  185. package/dist/{media-treatment-JGN2SUZ4.js → media-treatment-C26U3INH.js} +11 -10
  186. package/dist/{media-use-2I2N7TE5.js → media-use-IGSJKXLU.js} +3 -3
  187. package/dist/{models-QSEJP7DQ.js → models-XQMHEBHU.js} +9 -8
  188. package/dist/{motionShot-2NLQJU33.js → motionShot-PH2I6VOO.js} +14 -13
  189. package/dist/{normalize-audio-64TH5ILM.js → normalize-audio-ROHXFODM.js} +7 -7
  190. package/dist/{open-64HC2QB2.js → open-UAGIY4HR.js} +15 -15
  191. package/dist/{parakeetRunner-V7U32IZL.js → parakeetRunner-OOJI6E2B.js} +11 -10
  192. package/dist/{pipeline-OMPNZQWD.js → pipeline-GQUCPCXS.js} +8 -7
  193. package/dist/{plan-TFZG6XYY.js → plan-PNV4KSCO.js} +18 -17
  194. package/dist/{play-4UDHK5VX.js → play-UEEYAMEA.js} +19 -19
  195. package/dist/{preflight-4WCKA5GQ.js → preflight-E6FYCMJX.js} +6 -5
  196. package/dist/{present-6P7GSOPW.js → present-ZKBO5RTJ.js} +13 -13
  197. package/dist/{preview-BT4WQGVC.js → preview-SQFT4TGS.js} +20 -19
  198. package/dist/{probe-FH3TBZ4E.js → probe-35RQ7WQ6.js} +10 -9
  199. package/dist/{producer-FSE66NZO.js → producer-7PCYSXHR.js} +1 -1
  200. package/dist/{projectConfig-UW5YWKWL.js → projectConfig-LSJSU4UR.js} +8 -8
  201. package/dist/publicNetwork-CWRD7PSE.js +34 -0
  202. package/dist/{publication-SHADGLOC.js → publication-4EYVOO47.js} +3 -3
  203. package/dist/{publish-T3CTDP4X.js → publish-UEF3X6G7.js} +13 -13
  204. package/dist/{remove-background-O2TPD3D2.js → remove-background-KES26J53.js} +9 -8
  205. package/dist/{render-BVHGKYHI.js → render-4C7Q32BC.js} +37 -36
  206. package/dist/{render-3CA3HN76.js → render-GH2KWOVT.js} +24 -23
  207. package/dist/{render-NPNT5RU7.js → render-IFRE426H.js} +4 -4
  208. package/dist/{render-batch-PKXLME2H.js → render-batch-2BWEMPAQ.js} +4 -4
  209. package/dist/{resolver-4XARUMYN.js → resolver-PM56BNET.js} +5 -5
  210. package/dist/{reverse-JFMJXJGH.js → reverse-I6VOINAN.js} +1 -1
  211. package/dist/{screenshotCapture-VQHYCPIL.js → screenshotCapture-HXTGIPHY.js} +8 -7
  212. package/dist/{service-EUTTPCZS.js → service-KXRPG74T.js} +9 -8
  213. package/dist/{share-2B4TPNAM.js → share-G2UPZLLH.js} +12 -11
  214. package/dist/{sherpa-KCSNZSHQ.js → sherpa-P3IEXV3S.js} +10 -9
  215. package/dist/{skills-C2ANFQ34.js → skills-4KNW2APN.js} +7 -7
  216. package/dist/{skillsUpdateCheck-5SHCR7NW.js → skillsUpdateCheck-XRXMK2BR.js} +3 -3
  217. package/dist/{snapshot-5FUXM5ZY.js → snapshot-MSTKQXSJ.js} +42 -41
  218. package/dist/{src-LPQZ7OIH.js → src-5O3RW44E.js} +9 -7
  219. package/dist/{src-BBV5FVBE.js → src-EJXQBNFT.js} +8 -7
  220. package/dist/{start-72LKTGKX.js → start-WERFNWUG.js} +19 -18
  221. package/dist/{staticProjectServer-SZCFUX63.js → staticProjectServer-MTL5UOLQ.js} +18 -17
  222. package/dist/{status-YTVMG6TS.js → status-MOLSRFMM.js} +12 -12
  223. package/dist/studio/assets/{hyperframes-player-CjQNefFs.js → hyperframes-player-DYtpqF4w.js} +1 -1
  224. package/dist/studio/assets/{index-B85NqQ6A.js → index-D_6Nvt4M.js} +121 -121
  225. package/dist/studio/assets/index-pSFnTYYo.js +469 -0
  226. package/dist/studio/assets/pausedVideoDecoder-D_jYmpmj.js +1 -0
  227. package/dist/studio/index.html +1 -1
  228. package/dist/{studio-api-PQS4K2CS.js → studio-api-BTDNUTUL.js} +8 -8
  229. package/dist/{studioServer-2MVX2Y4H.js → studioServer-A73V7BGB.js} +55 -54
  230. package/dist/{sync-2B3MWR6Z.js → sync-VV4THGGW.js} +10 -9
  231. package/dist/{synthesize-KF5QG6ZN.js → synthesize-HOLHQCR2.js} +2 -2
  232. package/dist/{telemetry-CJEW3BVT.js → telemetry-VTF2M5AG.js} +4 -4
  233. package/dist/{templates-HXOBKWG7.js → templates-IDYVXLRA.js} +12 -12
  234. package/dist/{timeline-HIRADRSL.js → timeline-RHXNE24Z.js} +18 -17
  235. package/dist/{tokens-6UWEIY7L.js → tokens-TYYUI63J.js} +2 -2
  236. package/dist/{transcribe-W5JTJ34L.js → transcribe-5JGZPJCT.js} +24 -23
  237. package/dist/{transcribe-WGMHJ2EN.js → transcribe-ZC22NJXV.js} +8 -7
  238. package/dist/{tts-IF65L6CN.js → tts-3VHEX4RB.js} +1 -1
  239. package/dist/{update-HAAZ3VDJ.js → update-QIVTZXMN.js} +9 -9
  240. package/dist/{updateCheck-WEE7DFPV.js → updateCheck-7RZEDERP.js} +2 -2
  241. package/dist/{upgrade-GVNUJJPT.js → upgrade-HYRR4ZLW.js} +4 -4
  242. package/dist/{urlDownloader-KIIAJEO5.js → urlDownloader-YPKIQ2PI.js} +4 -3
  243. package/dist/{validate-2R3OKTIA.js → validate-ZWUJ2E2U.js} +24 -23
  244. package/dist/{video-IFAQCSQX.js → video-CNLMBOOB.js} +8 -7
  245. package/dist/{voices-NXOZK3PB.js → voices-4GOW5GZG.js} +19 -18
  246. package/dist/warmCheck.js +41 -40
  247. package/package.json +1 -1
  248. package/dist/chunk-TSYRN646.js +0 -84
  249. package/dist/studio/assets/codec-D3GU4v7H.js +0 -314
  250. package/dist/studio/assets/index-B7N7k0rf.js +0 -150
  251. package/dist/studio/assets/pausedVideoDecoder-CPaoO7Pl.js +0 -1
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-OXTPNY3V.js";
22
+ } from "./chunk-MXOWNQCI.js";
23
23
  import {
24
24
  DEFAULT_TARGET_LUFS,
25
25
  absoluteLoudnessPlan,
@@ -28,7 +28,7 @@ import {
28
28
  requestedProjectPath,
29
29
  requiredFfmpeg,
30
30
  resolveLocalAudioPath
31
- } from "./chunk-EQ6MHHC2.js";
31
+ } from "./chunk-AOITLZJO.js";
32
32
  import {
33
33
  MEDIA_LINK_ATTR,
34
34
  relinkSplitHalves
@@ -56,11 +56,11 @@ import {
56
56
  scanProjectMedia,
57
57
  shouldPrewarmProxy,
58
58
  waitForProxy
59
- } from "./chunk-XRQQIE2X.js";
59
+ } from "./chunk-M3MXR3HG.js";
60
60
  import {
61
61
  probeAudioTrack,
62
62
  probeMediaMetadata
63
- } from "./chunk-ZH2LHLVS.js";
63
+ } from "./chunk-W4JWPYLU.js";
64
64
  import {
65
65
  HistoryBusyError,
66
66
  MAX_WINDOW_IDLE_MS,
@@ -75,7 +75,7 @@ import {
75
75
  resolveProjectSignature,
76
76
  serveWhileOpen,
77
77
  settledFileTag
78
- } from "./chunk-BN7UITKY.js";
78
+ } from "./chunk-22EEGJLH.js";
79
79
  import {
80
80
  findTimelineScript,
81
81
  parseGsapScriptAcorn
@@ -121,11 +121,12 @@ import {
121
121
  } from "./chunk-7SY3DERR.js";
122
122
  import {
123
123
  atomicTempPath,
124
+ catchHeldRename,
124
125
  createFileAtomically,
125
126
  createStagingDir,
126
127
  replaceFileAtomically,
127
128
  retryWindowsHold
128
- } from "./chunk-GTA7W75W.js";
129
+ } from "./chunk-DE3JRSGT.js";
129
130
  import {
130
131
  GSAP_BASE_URL_META,
131
132
  PREVIEW_PROXY_BOX_PARAM,
@@ -143,7 +144,7 @@ import {
143
144
  normalizeGsapLocalRoot,
144
145
  parseFps,
145
146
  parsePreviewProxyBox
146
- } from "./chunk-CL5IBQJC.js";
147
+ } from "./chunk-U7ZCBWNM.js";
147
148
  import {
148
149
  AFTER_FONTS_SCRIPT_TYPE,
149
150
  RUNTIME_BOOTSTRAP_ATTR,
@@ -4817,6 +4818,8 @@ function snapshotBeforeWrite(projectDir, absPath, options = {}) {
4817
4818
  mkdirWithinProject(projectDir, backupDir);
4818
4819
  const pathKey2 = Buffer2.from(relativePath, "utf-8").toString("base64url");
4819
4820
  const backupKey = pathKey2.length <= 200 ? pathKey2 : `sha256~${createHash22("sha256").update(relativePath).digest("hex")}`;
4821
+ const [newest] = backupsNewestFirst(backupDir, [pathKey2, backupKey]);
4822
+ if (newest && readFileSync32(newest).equals(content)) return { backupPath: newest };
4820
4823
  const backupPath = nextBackupPath(backupDir, backupKey);
4821
4824
  writeFileSync3(backupPath, content, { flag: "wx" });
4822
4825
  pruneBackups(backupDir, [pathKey2, backupKey], options.keepPerFile ?? DEFAULT_KEEP_PER_FILE);
@@ -4846,13 +4849,13 @@ function nextBackupPath(backupDir, backupKey) {
4846
4849
  counter += 1;
4847
4850
  }
4848
4851
  }
4852
+ function backupsNewestFirst(backupDir, backupKeys) {
4853
+ const suffix = new RegExp(`-(?:${backupKeys.join("|")})(?:-\\d+)?$`);
4854
+ return readdirSync(backupDir).filter((name) => suffix.test(name)).map((name) => join5(backupDir, name)).sort((a, b) => b.localeCompare(a));
4855
+ }
4849
4856
  function pruneBackups(backupDir, backupKeys, keepPerFile) {
4850
4857
  const keep = Math.max(1, Math.floor(keepPerFile));
4851
- const suffix = new RegExp(`-(?:${backupKeys.join("|")})(?:-\\d+)?$`);
4852
- const matches = readdirSync(backupDir).filter((name) => suffix.test(name)).map((name) => join5(backupDir, name)).sort((a, b) => {
4853
- return b.localeCompare(a);
4854
- });
4855
- for (const file of matches.slice(keep)) {
4858
+ for (const file of backupsNewestFirst(backupDir, backupKeys).slice(keep)) {
4856
4859
  try {
4857
4860
  unlinkSync(file);
4858
4861
  } catch {
@@ -5901,7 +5904,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5901
5904
  let block = extractGsapScriptBlock(html);
5902
5905
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5903
5906
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5904
- const { GSAP_CDN } = await import("./dist-YLXB4RLU.js");
5907
+ const { GSAP_CDN } = await import("./dist-YX7FMBUD.js");
5905
5908
  const bootstrap = [
5906
5909
  `<script src="${GSAP_CDN}"></script>`,
5907
5910
  "<script>",
@@ -6797,6 +6800,29 @@ async function processUploadedFiles(formData, targetDir, projectDir) {
6797
6800
  }
6798
6801
  var MAX_TEXT_READ_BYTES = 32 * 1024 * 1024;
6799
6802
  var GIT_BINARY_SNIFF_BYTES = 8e3;
6803
+ var HELD_EDIT_WAITS = [10, 20, 40, 80, 160, 320, 640, 1280, 2560];
6804
+ var EDIT_ROUTE = /\/projects\/[^/]+\/(files|file-mutations|gsap-mutations(-batch)?|gsap-mutation-rollback)\//;
6805
+ var REPLAYED = "x-hyperframes-held-replay";
6806
+ var HELD = "x-hyperframes-held";
6807
+ function isEdit(request) {
6808
+ return ["POST", "PUT"].includes(request.method) && EDIT_ROUTE.test(new URL(request.url).pathname) && !(request.headers.get("content-type") ?? "").startsWith("multipart/");
6809
+ }
6810
+ function keptForReplay(request) {
6811
+ const kept = request.clone();
6812
+ return () => {
6813
+ const again = new Request(kept.clone(), { headers: new Headers(kept.headers) });
6814
+ again.headers.set(REPLAYED, "1");
6815
+ return again;
6816
+ };
6817
+ }
6818
+ async function sendAgainOnceFree(api, replay) {
6819
+ for (const ms of HELD_EDIT_WAITS) {
6820
+ await new Promise((resolve7) => setTimeout(resolve7, ms));
6821
+ const again = await api.fetch(replay());
6822
+ if (!again.headers.has(HELD)) return again;
6823
+ }
6824
+ return null;
6825
+ }
6800
6826
  function heldFileAnswer(c, error) {
6801
6827
  const code = error?.code;
6802
6828
  if (code === "EBUSY") return c.json({ error: "file in use", why: "busy" }, 423);
@@ -6811,6 +6837,27 @@ function registerFileRoutes(api, adapter) {
6811
6837
  const refusedWrite = c.error ? heldFileAnswer(c, c.error) : null;
6812
6838
  if (refusedWrite) c.res = refusedWrite;
6813
6839
  });
6840
+ const heldEdits = /* @__PURE__ */ new Map();
6841
+ api.use("/projects/:id/*", async (c, next) => {
6842
+ if (!isEdit(c.req.raw)) return next();
6843
+ const project = c.req.param("id") ?? "";
6844
+ const replayed = c.req.raw.headers.has(REPLAYED);
6845
+ while (!replayed && heldEdits.has(project)) await heldEdits.get(project);
6846
+ const replay = replayed ? null : keptForReplay(c.req.raw);
6847
+ const held = await catchHeldRename(next);
6848
+ if (held === null || c.finalized && c.res.ok) return;
6849
+ if (!replay) {
6850
+ c.res = new Response(null, { status: 423, headers: { [HELD]: "1" } });
6851
+ return;
6852
+ }
6853
+ const waiting = sendAgainOnceFree(api, replay);
6854
+ heldEdits.set(project, waiting);
6855
+ const again = await waiting.finally(() => {
6856
+ if (heldEdits.get(project) === waiting) heldEdits.delete(project);
6857
+ });
6858
+ if (!again) throw held;
6859
+ c.res = again;
6860
+ });
6814
6861
  api.get("/projects/:id/files/*", async (c) => {
6815
6862
  const res = await resolveProjectFile(c, adapter);
6816
6863
  if ("error" in res) return res.error;
@@ -9532,9 +9579,15 @@ function registerFreezeFrameRoutes(api, adapter, extract = ffmpegExtractor, stil
9532
9579
  return c.json({ error }, status);
9533
9580
  };
9534
9581
  if (!folded) return failAndRemoveStill("Freeze target was not found in the file", 400);
9535
- const written = writeFolded(project.dir, absPath, body.path, before, folded.html, {
9536
- token: body.transactionToken ?? c.req.header("X-Hyperframes-Write-Token")
9537
- });
9582
+ let written;
9583
+ try {
9584
+ written = writeFolded(project.dir, absPath, body.path, before, folded.html, {
9585
+ token: body.transactionToken ?? c.req.header("X-Hyperframes-Write-Token")
9586
+ });
9587
+ } catch (error) {
9588
+ rmSync5(imagePath, { force: true });
9589
+ throw error;
9590
+ }
9538
9591
  if ("error" in written) return failAndRemoveStill(written.error, written.status);
9539
9592
  const { version, writeToken, backupPath } = written;
9540
9593
  return c.json({
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findStageProxyBox
9
- } from "./chunk-43GCSOM5.js";
9
+ } from "./chunk-MR7VKWYT.js";
10
10
  import {
11
11
  injectMediaCodecMapIntoHtml
12
- } from "./chunk-ACUFGUTH.js";
12
+ } from "./chunk-67QXALQY.js";
13
13
  import {
14
14
  PROXY_VARIANT_CONFIG,
15
15
  ProxyCapacityError,
@@ -20,10 +20,10 @@ import {
20
20
  recordProxyRequest,
21
21
  resolveProxy,
22
22
  resolveProxyVariantRequest
23
- } from "./chunk-XRQQIE2X.js";
23
+ } from "./chunk-M3MXR3HG.js";
24
24
  import {
25
25
  resolveAutoProxy
26
- } from "./chunk-BR6FHEP5.js";
26
+ } from "./chunk-FCNMU7LC.js";
27
27
  import {
28
28
  openRangeEnd
29
29
  } from "./chunk-LD6JONPV.js";
@@ -32,14 +32,14 @@ import {
32
32
  } from "./chunk-4QFWV5GQ.js";
33
33
  import {
34
34
  listenOnBrowserSafePort
35
- } from "./chunk-UGT4SXWS.js";
35
+ } from "./chunk-UG3G4HEH.js";
36
36
  import {
37
37
  stripSdrPngColourTags
38
38
  } from "./chunk-7SY3DERR.js";
39
39
  import {
40
40
  PREVIEW_PROXY_BOX_PARAM,
41
41
  parsePreviewProxyBox
42
- } from "./chunk-CL5IBQJC.js";
42
+ } from "./chunk-U7ZCBWNM.js";
43
43
  import {
44
44
  decodeWellFormedEscapes
45
45
  } from "./chunk-6MKM2RVL.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createFileAtomically
9
- } from "./chunk-GTA7W75W.js";
9
+ } from "./chunk-DE3JRSGT.js";
10
10
 
11
11
  // src/utils/writeNewFile.ts
12
12
  function writeNewFileSync(filePath, content) {
@@ -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-5BK52ECX.js";
9
+ } from "./chunk-SGLUNJTO.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
13
- } from "./chunk-BN7UITKY.js";
13
+ } from "./chunk-22EEGJLH.js";
14
14
 
15
15
  // src/utils/artifactCapture.ts
16
16
  var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-JJ47LVJ7.js";
16
16
  import {
17
17
  findFFmpeg
18
- } from "./chunk-EYAHZIYQ.js";
18
+ } from "./chunk-ZJTSSZVG.js";
19
19
  import {
20
20
  stoppableExecFile
21
21
  } from "./chunk-HU2SPFNG.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-ZH2LHLVS.js";
9
+ } from "./chunk-W4JWPYLU.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-SZGQU7EB.js";
@@ -16,10 +16,15 @@ import {
16
16
 
17
17
  // src/utils/reject-unknown-flags.ts
18
18
  var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"]);
19
+ function kebabCase(name) {
20
+ return name.replace(/[A-Z]/g, (c2) => "-" + c2.toLowerCase());
21
+ }
19
22
  function nameVariants(name) {
20
- const kebab = name.replace(/[A-Z]/g, (c2) => "-" + c2.toLowerCase());
21
23
  const camel = name.replace(/-([a-z])/g, (_, c2) => c2.toUpperCase());
22
- return [name, kebab, camel];
24
+ return [name, kebabCase(name), camel];
25
+ }
26
+ function visibleLongFlags(args) {
27
+ return Object.entries(args ?? {}).filter(([, def]) => def?.type !== "positional" && !(def && "hidden" in def && def.hidden)).map(([name]) => kebabCase(name));
23
28
  }
24
29
  function* spellingsOf(name, def) {
25
30
  yield* nameVariants(name);
@@ -60,9 +65,10 @@ var FLAG_SYNONYMS = {
60
65
  to: ["end"],
61
66
  start: ["from"],
62
67
  end: ["to"],
63
- o: ["out", "output"]
68
+ o: ["out", "output"],
69
+ search: ["query"]
64
70
  };
65
- function unknownFlagError(flag, known, path) {
71
+ function unknownFlagError(flag, visible, path) {
66
72
  const command = `hyperframes ${path ? `${path} ` : ""}`.trim();
67
73
  if (flag === "--json") {
68
74
  return new CliUsageError(`${command} has no JSON output.`, {
@@ -70,11 +76,13 @@ function unknownFlagError(flag, known, path) {
70
76
  hint: "Run it without --json."
71
77
  });
72
78
  }
73
- const longNames = [...known].filter((name2) => name2.length > 1);
74
79
  const name = flag.replace(/^--?/, "");
75
- const match = FLAG_SYNONYMS[name]?.find((s) => known.has(s)) ?? (flag.startsWith("--") ? closestMatch(name, longNames) : void 0);
76
- const help = `Run 'hyperframes ${path ? `${path} ` : ""}--help' to see its flags.`;
77
- const hint = match ? `Did you mean --${match}? ${help}` : help;
80
+ const match = FLAG_SYNONYMS[name]?.find((s) => visible.includes(s)) ?? (flag.startsWith("--") ? closestMatch(name, visible) : void 0);
81
+ const hint = [
82
+ match && `Did you mean --${match}?`,
83
+ visible.length > 0 && `Its flags: ${visible.map((f) => `--${f}`).join(", ")}.`,
84
+ `Run 'hyperframes ${path ? `${path} ` : ""}--help' for what each does.`
85
+ ].filter(Boolean).join(" ");
78
86
  return new CliUsageError(`Unknown flag: ${flag}`, { hint, code: "unknown_flag" });
79
87
  }
80
88
  function assertKnownFlags(cmd, rawArgs, path = "") {
@@ -85,7 +93,7 @@ function assertKnownFlags(cmd, rawArgs, path = "") {
85
93
  for (const tok of rawArgs) {
86
94
  if (tok === "--") break;
87
95
  const bad = unknownFlagIn(tok, known);
88
- if (bad) throw unknownFlagError(bad, known, path);
96
+ if (bad) throw unknownFlagError(bad, visibleLongFlags(args), path);
89
97
  }
90
98
  }
91
99
  function stringValueFlagOwners(args, ignore) {
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-JJ47LVJ7.js";
19
19
  import {
20
20
  trackSkillsInstallSkipped
21
- } from "./chunk-GUVBME3S.js";
21
+ } from "./chunk-5AJNQMML.js";
22
22
  import {
23
23
  diag
24
24
  } from "./chunk-MCDNAIFF.js";
@@ -39,11 +39,11 @@ import {
39
39
  isCoreSkill,
40
40
  presentSkills,
41
41
  retiredSkillNotice
42
- } from "./chunk-DIUOG4KA.js";
42
+ } from "./chunk-HZXRORAG.js";
43
43
  import {
44
44
  NO_UPDATE_NOTICE,
45
45
  withMeta
46
- } from "./chunk-ZQMS7HXL.js";
46
+ } from "./chunk-ULNYVLR5.js";
47
47
  import {
48
48
  failureMessage,
49
49
  jsonFailure
@@ -54,7 +54,7 @@ import {
54
54
  } from "./chunk-66W5IWLO.js";
55
55
  import {
56
56
  VERSION
57
- } from "./chunk-LHSVECRX.js";
57
+ } from "./chunk-JN4ING5S.js";
58
58
 
59
59
  // src/commands/skills.ts
60
60
  import { execFileSync, spawn } from "child_process";
@@ -8,14 +8,14 @@ import {
8
8
  jsonArg,
9
9
  runMeasure,
10
10
  videoArg
11
- } from "./chunk-EHV6WJDU.js";
11
+ } from "./chunk-FLHKID4G.js";
12
12
  import {
13
13
  Fix,
14
14
  ffmpegBin,
15
15
  probeVideo,
16
16
  round,
17
17
  runFfmpeg
18
- } from "./chunk-OYUASBFR.js";
18
+ } from "./chunk-LIQZZ6AE.js";
19
19
  import {
20
20
  makeOutputFolder
21
21
  } from "./chunk-3S27CPV7.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-DL4OD7IA.js";
25
25
  import {
26
26
  toneMapReferenceNits
27
- } from "./chunk-CL5IBQJC.js";
27
+ } from "./chunk-U7ZCBWNM.js";
28
28
 
29
29
  // src/commands/measure/probe.ts
30
30
  import { execFileSync } from "child_process";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  writeCaptureFileSync
9
- } from "./chunk-GCI34AB3.js";
9
+ } from "./chunk-HD5RVDL6.js";
10
10
  import {
11
11
  listenOnBrowserSafePort
12
- } from "./chunk-UGT4SXWS.js";
12
+ } from "./chunk-UG3G4HEH.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  gotoWhenSent
9
- } from "./chunk-WWMPS3LM.js";
9
+ } from "./chunk-47MEWWCO.js";
10
10
  import {
11
11
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
12
12
  } from "./chunk-YGGZ23BB.js";
13
13
  import {
14
14
  resolveCompositionViewportFromHtml
15
- } from "./chunk-43GCSOM5.js";
15
+ } from "./chunk-MR7VKWYT.js";
16
16
  import {
17
17
  windowsChromeCrashRemediation
18
18
  } from "./chunk-262C25DQ.js";
19
19
  import {
20
20
  pageNavigationTimeoutMs
21
- } from "./chunk-PE7IEERM.js";
21
+ } from "./chunk-WT2OKPEW.js";
22
22
  import {
23
23
  launchManagedBrowser,
24
24
  resolveManagedGpuMode,
25
25
  rethrowAfterBrowserCleanup
26
- } from "./chunk-R2SL4STW.js";
26
+ } from "./chunk-GXPAR6JC.js";
27
27
  import {
28
28
  resolveLocalBrowserGpuMode,
29
29
  resolveLocalWebGpu
30
- } from "./chunk-VVQQJIRX.js";
30
+ } from "./chunk-E5OW6L6E.js";
31
31
  import {
32
32
  c
33
33
  } from "./chunk-JCNPHRGX.js";
@@ -35,7 +35,7 @@ import {
35
35
  assertWebGpuAdapterAvailable,
36
36
  compositionRequiresWebGpu,
37
37
  oneProcessOverPipe
38
- } from "./chunk-UGT4SXWS.js";
38
+ } from "./chunk-3JWNN5PN.js";
39
39
  import {
40
40
  normalizeErrorMessage
41
41
  } from "./chunk-E63BDV4Z.js";
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
143
143
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
144
144
  });
145
145
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
146
- const { resolveConfig, waitForImagesReady } = await import("./src-LPQZ7OIH.js");
146
+ const { resolveConfig, waitForImagesReady } = await import("./src-5O3RW44E.js");
147
147
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
148
148
  await waitForImagesReady(
149
149
  page,
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
192
192
  async function openSettledCompositionPage(html, url, options) {
193
193
  const viewport = resolveCompositionViewportFromHtml(html);
194
194
  const requiresWebGpu = compositionRequiresWebGpu(html);
195
- const answer = (await import("./staticProjectServer-SZCFUX63.js")).inProcessAnswer(url);
195
+ const answer = (await import("./staticProjectServer-MTL5UOLQ.js")).inProcessAnswer(url);
196
196
  const noListen = answer !== void 0;
197
197
  let chromeBrowser;
198
198
  try {
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
203
203
  options.onBrowserReady?.();
204
204
  const page = await chromeBrowser.newPage();
205
205
  await installPageFunctionGuard(page);
206
- const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-LPQZ7OIH.js");
206
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-5O3RW44E.js");
207
207
  await installMediaRenderIdBridge(page);
208
208
  await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
209
209
  await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
@@ -224,7 +224,7 @@ async function launchCompositionBrowser(html, noListen, options) {
224
224
  const { ensureBrowser, findSystemBrowser } = await import("./manager-25RJ4IZN.js");
225
225
  const browser = await ensureBrowser({ signal: options.signal });
226
226
  const puppeteer = await import("puppeteer-core");
227
- const { buildChromeArgs } = await import("./src-LPQZ7OIH.js");
227
+ const { buildChromeArgs } = await import("./src-5O3RW44E.js");
228
228
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
229
229
  const requiresWebGpu = compositionRequiresWebGpu(html);
230
230
  let softwareWebGpu = false;
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-GUVBME3S.js";
10
+ } from "./chunk-5AJNQMML.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-BVSG3ZQQ.js";
13
+ } from "./chunk-5DW2DEHX.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-7CLDXOEJ.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-TMGMUL3J.js";
12
+ } from "./chunk-JYOOWDQK.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
16
16
  ensureWhisper,
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel
19
- } from "./chunk-EZXMEROT.js";
19
+ } from "./chunk-7X2TCJJ7.js";
20
20
  import {
21
21
  sha256File
22
22
  } from "./chunk-RZ6CXJ56.js";
@@ -24,7 +24,7 @@ import {
24
24
  findFFmpeg,
25
25
  findFFprobe,
26
26
  getFFmpegInstallHint
27
- } from "./chunk-EYAHZIYQ.js";
27
+ } from "./chunk-ZJTSSZVG.js";
28
28
  import {
29
29
  parseWhisperJson
30
30
  } from "./chunk-CDNVZEGQ.js";
@@ -29,6 +29,7 @@ async function collectScratchLeftovers(run, report) {
29
29
  }
30
30
 
31
31
  // ../core/dist/renameWithRetry.js
32
+ import { AsyncLocalStorage as AsyncLocalStorage2 } from "async_hooks";
32
33
  import { copyFileSync, renameSync } from "fs";
33
34
  import { copyFile, rename } from "fs/promises";
34
35
  var RETRYABLE = /* @__PURE__ */ new Set(["EPERM", "EACCES", "EBUSY"]);
@@ -38,6 +39,33 @@ function isWindowsHold(error, platform = process.platform) {
38
39
  return false;
39
40
  return RETRYABLE.has(error?.code ?? "");
40
41
  }
42
+ var holdScope = new AsyncLocalStorage2();
43
+ var HeldRename = class {
44
+ error;
45
+ constructor(error) {
46
+ this.error = error;
47
+ }
48
+ };
49
+ async function catchHeldRename(work) {
50
+ const scope = { open: true, held: null };
51
+ try {
52
+ await holdScope.run(scope, work);
53
+ } catch (thrown) {
54
+ if (!(thrown instanceof HeldRename))
55
+ throw thrown;
56
+ } finally {
57
+ scope.open = false;
58
+ }
59
+ return scope.held;
60
+ }
61
+ function handOverHold(error) {
62
+ const scope = holdScope.getStore();
63
+ if (!scope?.open)
64
+ return;
65
+ scope.open = false;
66
+ scope.held = error;
67
+ throw new HeldRename(error);
68
+ }
41
69
  function nextStep(error, attempt, options, platform) {
42
70
  if (!isWindowsHold(error, platform))
43
71
  return "throw";
@@ -60,6 +88,7 @@ function renameWithRetry(from, to, options = {}) {
60
88
  const step = nextStep(error, attempt, options, platform);
61
89
  if (step === "throw")
62
90
  throw error;
91
+ handOverHold(error);
63
92
  if (step === "wait") {
64
93
  sleepSync(BACKOFF_MS[attempt]);
65
94
  continue;
@@ -117,10 +146,21 @@ async function retryWindowsHold(operation, options = {}) {
117
146
  import * as fs from "fs";
118
147
  import { createHash, randomBytes } from "crypto";
119
148
  import { basename, dirname, isAbsolute, join, resolve, sep } from "path";
120
- var NO_HARD_LINKS = /* @__PURE__ */ new Set(["EPERM", "ENOTSUP", "EOPNOTSUPP", "EXDEV", "EISDIR", "EACCES"]);
149
+ var NO_HARD_LINKS = /* @__PURE__ */ new Set([
150
+ "EPERM",
151
+ "ENOTSUP",
152
+ "EOPNOTSUPP",
153
+ "ENOSYS",
154
+ "EXDEV",
155
+ "EISDIR",
156
+ "EACCES"
157
+ ]);
121
158
  var MAX_LINK_HOPS = 40;
122
159
  var TEMP_NAME_TRIES = 3;
123
160
  var TEMP_SUFFIX = /\.hf[0-9a-f]{6}\.tmp$/;
161
+ function cannotHardLink(error) {
162
+ return NO_HARD_LINKS.has(errorCode(error));
163
+ }
124
164
  function atomicTempPath(filePath) {
125
165
  return `${filePath}.hf${randomBytes(3).toString("hex")}.tmp`;
126
166
  }
@@ -156,7 +196,7 @@ function createFileAtomically(filePath, content, operations = fs) {
156
196
  try {
157
197
  operations.linkSync(tempPath, filePath);
158
198
  } catch (error) {
159
- if (!NO_HARD_LINKS.has(errorCode(error)))
199
+ if (!cannotHardLink(error))
160
200
  throw error;
161
201
  createDirectly(filePath, content, operations);
162
202
  }
@@ -268,9 +308,11 @@ export {
268
308
  removeScratch,
269
309
  collectScratchLeftovers,
270
310
  isWindowsHold,
311
+ catchHeldRename,
271
312
  renameWithRetry,
272
313
  renameWithRetryAsync,
273
314
  retryWindowsHold,
315
+ cannotHardLink,
274
316
  atomicTempPath,
275
317
  isAtomicTempPath,
276
318
  replaceFileAtomically,
@@ -11,7 +11,7 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-EYAHZIYQ.js";
14
+ } from "./chunk-ZJTSSZVG.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-UGT4SXWS.js";
10
+ } from "./chunk-3JWNN5PN.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-LPQZ7OIH.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-5O3RW44E.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadToFile
9
- } from "./chunk-7HDLRWT6.js";
9
+ } from "./chunk-4Y5IDZOJ.js";
10
10
  import {
11
11
  CACHE_DIR,
12
12
  PINNED_PACKAGES,
@@ -21,10 +21,10 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-VNEVQU4Y.js";
24
+ } from "./chunk-DACTRVDQ.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-TMGMUL3J.js";
27
+ } from "./chunk-JYOOWDQK.js";
28
28
  import {
29
29
  verifies
30
30
  } from "./chunk-RZ6CXJ56.js";