hyperframes 0.9.59 → 0.9.61

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 (332) hide show
  1. package/dist/{add-C7J7HSLI.js → add-LNPIKHAX.js} +26 -27
  2. package/dist/{agentPromptGenerator-GCLJUGVE.js → agentPromptGenerator-N3HL4JWM.js} +15 -17
  3. package/dist/{animatedGifPrep-JPQZPZC4.js → animatedGifPrep-SEPXIM4W.js} +20 -21
  4. package/dist/api.d.ts +8 -1
  5. package/dist/api.js +58 -58
  6. package/dist/{appHistory-TQ6JAEP5.js → appHistory-ASGUPUUV.js} +5 -6
  7. package/dist/{asset-HQEPGBDJ.js → asset-3L2G3ROU.js} +15 -5
  8. package/dist/{assetCataloger-LMPPKPF6.js → assetCataloger-3D75A6GI.js} +16 -18
  9. package/dist/{audio-FD2EBZ6D.js → audio-U4W5ZWQ7.js} +45 -45
  10. package/dist/{auth-JA7XH6NG.js → auth-V4G5ZE3P.js} +4 -4
  11. package/dist/{autoUpdate-WKW2OMIY.js → autoUpdate-QYKF3DDS.js} +4 -4
  12. package/dist/{avatars-Q7U6CO4X.js → avatars-SB2XCDWJ.js} +23 -25
  13. package/dist/{backgroundChecks-H2SOS2CM.js → backgroundChecks-KHBYRE6J.js} +5 -5
  14. package/dist/backgroundChecksWorker.js +5 -5
  15. package/dist/{batchRender-75OLVMZY.js → batchRender-6S5GMICZ.js} +7 -9
  16. package/dist/{beats-R4EHWWJN.js → beats-7YLYCCMD.js} +16 -18
  17. package/dist/{benchmark-F5OHG3Q3.js → benchmark-IBX7ZWVU.js} +27 -27
  18. package/dist/{billing-LBRSBVXQ.js → billing-EAHOGMQW.js} +21 -23
  19. package/dist/{browser-CNTCFZOG.js → browser-XKYRXDJW.js} +13 -15
  20. package/dist/{bundleWithLocalizedFonts-RVF7AFP5.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
  21. package/dist/{capture-CTRZEZTC.js → capture-4WKQKMXG.js} +10 -12
  22. package/dist/{capture-DLYM3V5F.js → capture-IBOCZ2MK.js} +43 -41
  23. package/dist/{captureCompositionFrame-2O2HP6SK.js → captureCompositionFrame-HZA3LNU3.js} +22 -24
  24. package/dist/{captureFile-W7ZDDBCD.js → captureFile-Z7HQDRC2.js} +4 -5
  25. package/dist/{catalog-6XL63LU3.js → catalog-TSXQTLKM.js} +28 -30
  26. package/dist/{catch-up-AOFQWE6O.js → catch-up-LD2B5CE3.js} +15 -17
  27. package/dist/{check-5V7K4RL6.js → check-TEZKUD26.js} +62 -63
  28. package/dist/{checkAudio-4YUTDQSQ.js → checkAudio-3GM74ZGV.js} +18 -20
  29. package/dist/{checkBrowser-BAWRZZZU.js → checkBrowser-OFH3I7Q6.js} +52 -53
  30. package/dist/{chunk-6ATP7YPZ.js → chunk-22B53HD3.js} +9 -4
  31. package/dist/{chunk-7Q4EGB3N.js → chunk-2CNVJQKU.js} +1 -1
  32. package/dist/{chunk-7XOORL2Q.js → chunk-2H4SJSUS.js} +10 -10
  33. package/dist/{chunk-EGZQX3UX.js → chunk-2SPQTJA2.js} +24 -22
  34. package/dist/{chunk-HY7FPTBD.js → chunk-32H642MS.js} +2 -2
  35. package/dist/{chunk-MHF5F4FF.js → chunk-3GF72UPC.js} +74 -15
  36. package/dist/chunk-3HJX4F2S.js +39 -0
  37. package/dist/{chunk-7YRZBB4C.js → chunk-3ROFCQAW.js} +1 -1
  38. package/dist/{chunk-B653JKWT.js → chunk-3W2ORSFV.js} +4 -4
  39. package/dist/{chunk-R3ONQOLE.js → chunk-4AMOVEV7.js} +11 -11
  40. package/dist/{chunk-KQHDFVFF.js → chunk-4EWS3KP3.js} +2 -2
  41. package/dist/{chunk-O733DEVT.js → chunk-4ORH2OXS.js} +1 -1
  42. package/dist/{chunk-VPPKUCSP.js → chunk-4SDNEKTL.js} +2 -2
  43. package/dist/{chunk-AEXDJU77.js → chunk-4T45V6GF.js} +1 -1
  44. package/dist/{chunk-MVA4OQL7.js → chunk-4ZLWEPK4.js} +1 -1
  45. package/dist/{chunk-2ARKMOCD.js → chunk-5F2ULLFW.js} +6 -6
  46. package/dist/{chunk-CIXP5G7Z.js → chunk-5GUYYSVT.js} +1 -1
  47. package/dist/{chunk-JQ7BPN2R.js → chunk-5RM7274K.js} +3 -3
  48. package/dist/{chunk-TVWDS5AT.js → chunk-5T2LNQAH.js} +46 -18
  49. package/dist/{chunk-C3NDLM4S.js → chunk-5ZAM42GH.js} +2 -2
  50. package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
  51. package/dist/{chunk-5T6HPV25.js → chunk-63CSQYYO.js} +2 -2
  52. package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
  53. package/dist/{chunk-Z2U7ELGP.js → chunk-6KU6TCSS.js} +2 -2
  54. package/dist/{chunk-ZQIMO52O.js → chunk-6NDSDQCR.js} +59 -24
  55. package/dist/{chunk-65X2G57W.js → chunk-6OKMCIDU.js} +4 -4
  56. package/dist/{chunk-LZWG4GCC.js → chunk-6P7FLYOR.js} +55 -125
  57. package/dist/{chunk-FQ26QE5N.js → chunk-6R22Y26Z.js} +1 -1
  58. package/dist/{chunk-WQGDE3L6.js → chunk-6X2CLRU7.js} +1 -1
  59. package/dist/{chunk-OV5OSN74.js → chunk-6ZU654EU.js} +3 -3
  60. package/dist/{chunk-6LGB4MVX.js → chunk-73NC557V.js} +1 -1
  61. package/dist/{chunk-AQIHV4PM.js → chunk-7463BOQJ.js} +2 -2
  62. package/dist/{chunk-I6OSAVHD.js → chunk-7AP5C4C2.js} +7 -11
  63. package/dist/{chunk-JLMMY3UI.js → chunk-7DMES2F3.js} +2 -2
  64. package/dist/{chunk-RKIF4EU7.js → chunk-7GDEQJSL.js} +14 -14
  65. package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
  66. package/dist/{chunk-OPIS2YMA.js → chunk-ADQ7XZE5.js} +6 -6
  67. package/dist/{chunk-ZIYYSD6S.js → chunk-B5JWBMDR.js} +79 -40
  68. package/dist/{chunk-PLOCYJ5U.js → chunk-B5TLZC2D.js} +11 -4
  69. package/dist/{chunk-UNB2DFR2.js → chunk-BAU3ASNM.js} +3 -3
  70. package/dist/{chunk-DSCMYTKJ.js → chunk-BHZZM2PK.js} +3 -3
  71. package/dist/chunk-BNH2IKGV.js +5101 -0
  72. package/dist/{chunk-SO7FT7YA.js → chunk-BNO5RN55.js} +33 -32
  73. package/dist/{chunk-TNFTRLLJ.js → chunk-C2GAAMZ3.js} +3 -3
  74. package/dist/{chunk-TIBFCGLT.js → chunk-C7IEAEKF.js} +1 -1
  75. package/dist/{chunk-EUVU5JS4.js → chunk-CAAUQUCW.js} +23 -9
  76. package/dist/{chunk-GMIFMRWR.js → chunk-CPHK3XMF.js} +6 -6
  77. package/dist/{chunk-SGQKP2JT.js → chunk-CPLVXXRS.js} +2 -2
  78. package/dist/{chunk-KYXH4JWF.js → chunk-CRX444MF.js} +18 -17
  79. package/dist/{chunk-6R4MEYWD.js → chunk-CRZ7FUMI.js} +2 -2
  80. package/dist/{chunk-I5H2FPNP.js → chunk-CSWJCRDU.js} +1 -1
  81. package/dist/{chunk-PSREPOJ4.js → chunk-CT54FOTS.js} +18 -14
  82. package/dist/{chunk-TJGGLLQJ.js → chunk-CYM53TWZ.js} +28 -14
  83. package/dist/chunk-D37I36FY.js +21 -0
  84. package/dist/{chunk-3RTZ2UX7.js → chunk-DD37XZVE.js} +1 -1
  85. package/dist/{chunk-QKHW5NXL.js → chunk-DWGDP537.js} +2 -2
  86. package/dist/chunk-EDH2DMXM.js +113 -0
  87. package/dist/{chunk-PCHUX7Y5.js → chunk-ENKXJNKX.js} +2 -2
  88. package/dist/{chunk-VXRTE7MZ.js → chunk-ERYGKPIR.js} +1 -1
  89. package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
  90. package/dist/{chunk-PHYFZXOS.js → chunk-FLJ4S7NA.js} +2 -2
  91. package/dist/{chunk-3DFEBAWJ.js → chunk-FU62NEWC.js} +2 -2
  92. package/dist/{chunk-PDT6CBK2.js → chunk-G7HO2FFX.js} +3 -3
  93. package/dist/chunk-GADMF4BL.js +170 -0
  94. package/dist/{chunk-HXFGAI6L.js → chunk-GNRC4L6F.js} +16 -16
  95. package/dist/{chunk-XZ6THYIK.js → chunk-GYPZTG46.js} +5 -5
  96. package/dist/{chunk-GYJ7AJXN.js → chunk-H4HYZUE3.js} +1 -1
  97. package/dist/{chunk-URHIQHDR.js → chunk-H6Y4XOSP.js} +14 -12
  98. package/dist/{chunk-TIZC4XKU.js → chunk-HAMPVCRY.js} +2 -2
  99. package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
  100. package/dist/{chunk-YMKCJRVK.js → chunk-HTHLFEO2.js} +1 -1
  101. package/dist/{chunk-RAOGN2HG.js → chunk-ICZWQNBR.js} +1 -1
  102. package/dist/{chunk-4STRMCGD.js → chunk-IIXSSRUR.js} +4 -4
  103. package/dist/{chunk-4QSDXDLV.js → chunk-ILKK6F5E.js} +3 -3
  104. package/dist/{chunk-ORKZUTZW.js → chunk-IOWECUEU.js} +1 -1
  105. package/dist/{chunk-T5QI7ZL2.js → chunk-IT2YUKYY.js} +5 -5
  106. package/dist/{chunk-SXCM6VY3.js → chunk-IU6AC3WL.js} +1 -1
  107. package/dist/{chunk-WDMSNDHS.js → chunk-J56ZJFSF.js} +285 -114
  108. package/dist/{chunk-POFQOZOF.js → chunk-KBEC6VQS.js} +426 -185
  109. package/dist/{chunk-ELDZ6C3R.js → chunk-KTY46LIH.js} +7 -3
  110. package/dist/{chunk-XXOEYRD5.js → chunk-KYZEK7QF.js} +2 -2
  111. package/dist/{chunk-N6QWL3E7.js → chunk-L7MFHIG7.js} +2 -2
  112. package/dist/{chunk-ISSG4PUD.js → chunk-LGIWC6KN.js} +3 -3
  113. package/dist/{chunk-CC72LTIT.js → chunk-LTXZLTXW.js} +180 -202
  114. package/dist/{chunk-WI3FM54X.js → chunk-LULZFFDN.js} +3 -3
  115. package/dist/{chunk-FFL5R2EZ.js → chunk-LV2ETFC5.js} +4 -4
  116. package/dist/{chunk-K2WLOTTF.js → chunk-LYTELQL2.js} +2 -4
  117. package/dist/{chunk-RHFB457E.js → chunk-LZSSGF7G.js} +3 -3
  118. package/dist/chunk-MERWX4DZ.js +159 -0
  119. package/dist/{chunk-H3TD4VKX.js → chunk-MJBBKSKB.js} +1 -1
  120. package/dist/{chunk-QHVE6AFU.js → chunk-MPVJI4SE.js} +1 -1
  121. package/dist/{chunk-BMTT2T7M.js → chunk-MPX3FO4A.js} +5 -5
  122. package/dist/{chunk-SC7SX2I3.js → chunk-MQCIX6O2.js} +4 -4
  123. package/dist/{chunk-ODLSLYJR.js → chunk-MTCVUAUK.js} +2 -2
  124. package/dist/{chunk-J4OHC5FU.js → chunk-NK2UW3WR.js} +1 -1
  125. package/dist/{chunk-7CI5MLCC.js → chunk-NOJRZCN3.js} +26 -11
  126. package/dist/{chunk-3QMGLSKC.js → chunk-NU7BEOCX.js} +2 -2
  127. package/dist/chunk-NY6E4272.js +112 -0
  128. package/dist/{chunk-L4MXZHRB.js → chunk-OBP5WNKP.js} +3 -3
  129. package/dist/{chunk-JUUOYXWH.js → chunk-OGOR22GY.js} +2 -2
  130. package/dist/{chunk-XWV6BOCG.js → chunk-OPUR2XQ2.js} +5 -5
  131. package/dist/{chunk-JT7RXK2N.js → chunk-OW6MOJSR.js} +1 -1
  132. package/dist/{chunk-4VJQVTQI.js → chunk-PAHTZDMZ.js} +1 -1
  133. package/dist/{chunk-FC77MYAD.js → chunk-PPETKAEO.js} +1 -1
  134. package/dist/{chunk-6VY52EVW.js → chunk-PQ2OPPGP.js} +7 -3
  135. package/dist/{chunk-KK5Z5XQ3.js → chunk-PTGNUVCB.js} +3 -0
  136. package/dist/{chunk-HTISHNLA.js → chunk-Q7IOMZ5X.js} +1 -1
  137. package/dist/{chunk-PMKWTXHE.js → chunk-R2LBMDYH.js} +2 -2
  138. package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
  139. package/dist/{chunk-ZMLZRMG7.js → chunk-RDJOA5MM.js} +2 -2
  140. package/dist/{chunk-J3H6QDDY.js → chunk-RF3DT4CS.js} +1 -1
  141. package/dist/{chunk-WRSGWDDB.js → chunk-RJCQZMNI.js} +9 -9
  142. package/dist/{chunk-QC35TPEE.js → chunk-RRI7NGQZ.js} +6 -6
  143. package/dist/{chunk-RDWGNSVI.js → chunk-RSYV6NNI.js} +2 -2
  144. package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
  145. package/dist/{chunk-KGPHUBBA.js → chunk-SCEBICAQ.js} +1 -1
  146. package/dist/{chunk-VFGFXE6J.js → chunk-SDIQEPAR.js} +1 -1
  147. package/dist/{chunk-OF7SQ77J.js → chunk-SIQGTRZ5.js} +1 -1
  148. package/dist/{chunk-QVHDAS3L.js → chunk-SQI2MWJE.js} +4 -4
  149. package/dist/{chunk-2LJPBYKI.js → chunk-SYMLVFQF.js} +1 -1
  150. package/dist/{chunk-QJ2BV7FM.js → chunk-TJAFCC37.js} +9 -9
  151. package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
  152. package/dist/{chunk-PYRM3OAI.js → chunk-TRVWLAQ3.js} +11 -13
  153. package/dist/{chunk-HLOJSBGC.js → chunk-TTRX7NM3.js} +9 -9
  154. package/dist/{chunk-763UG5II.js → chunk-UEJMLVGW.js} +8 -8
  155. package/dist/{chunk-LTOUXR3X.js → chunk-UX5KLSAJ.js} +73 -75
  156. package/dist/{chunk-L456Q4KU.js → chunk-VJVTGSGW.js} +1 -1
  157. package/dist/{chunk-RX67N2PU.js → chunk-VM2VBJRC.js} +31 -2
  158. package/dist/{chunk-K33E3YNK.js → chunk-VNWPHKKI.js} +10 -10
  159. package/dist/{chunk-XXJBWKDS.js → chunk-VRUVJTFW.js} +17 -17
  160. package/dist/{chunk-WTZT6FSK.js → chunk-VSS3OAZB.js} +1 -1
  161. package/dist/{chunk-6UAYOSE7.js → chunk-VZM7AFUH.js} +9 -9
  162. package/dist/{chunk-6K6RIX2A.js → chunk-W772ZFTE.js} +21 -6
  163. package/dist/{chunk-THGJTFYB.js → chunk-WTO3A7ET.js} +86 -6
  164. package/dist/{chunk-YBYNBKCN.js → chunk-WTS245RC.js} +2 -2
  165. package/dist/{chunk-UBNJWS2H.js → chunk-WTUDKVWQ.js} +3 -3
  166. package/dist/{chunk-BTXYXM2A.js → chunk-WVCCSYZC.js} +17 -17
  167. package/dist/{chunk-FGJUVWAM.js → chunk-X3NGTIE3.js} +1 -1
  168. package/dist/{chunk-DCRHNRUY.js → chunk-XLG3JMSS.js} +5 -5
  169. package/dist/{chunk-D44MBZI6.js → chunk-Y53Z2M77.js} +2 -2
  170. package/dist/{chunk-WKE3WTIU.js → chunk-YB2ZJJFJ.js} +1 -1
  171. package/dist/{chunk-LSGJY2FG.js → chunk-YLC67YFR.js} +1 -1
  172. package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
  173. package/dist/chunk-Z3BPDCRV.js +537 -0
  174. package/dist/{chunk-HYXQR5I3.js → chunk-Z55ASKZE.js} +1 -1
  175. package/dist/{chunk-OYKAS3J5.js → chunk-ZBDITGMP.js} +3 -3
  176. package/dist/{chunk-CAMD2NBN.js → chunk-ZGSGBGTB.js} +2 -2
  177. package/dist/{clean-Z5REUSNY.js → clean-RJKQ23WH.js} +36 -37
  178. package/dist/cli.js +74 -75
  179. package/dist/{cloud-NJ7G3NF3.js → cloud-R3NQSUTQ.js} +4 -4
  180. package/dist/{cloud-QP5R6B6A.js → cloud-VUR3ZO6O.js} +8 -9
  181. package/dist/{cloudrun-CPAZLNTW.js → cloudrun-SZYAYV7N.js} +19 -12
  182. package/dist/{compare-T5CHD25P.js → compare-AO5VJBJW.js} +70 -92
  183. package/dist/{compiler-QVDXN4OS.js → compiler-65SP7M2P.js} +7 -9
  184. package/dist/{component-QMZ46KTE.js → component-WGTPAIKX.js} +8 -10
  185. package/dist/{compositions-JHYYNBAK.js → compositions-HWM6DNJA.js} +21 -23
  186. package/dist/{contactSheet-7SPGUTDV.js → contactSheet-ROUVWDRO.js} +5 -6
  187. package/dist/{curve-ON6QQY7T.js → curve-PLPTMDS4.js} +20 -22
  188. package/dist/{cuts-K4FOVP4E.js → cuts-T5GYTDUA.js} +21 -23
  189. package/dist/{delete-6WFQ3FC2.js → delete-6WE3N3VO.js} +26 -15
  190. package/dist/{deploy-UAZQ5PBA.js → deploy-GYY6CYQD.js} +12 -13
  191. package/dist/{describeProject-7W6BN5A2.js → describeProject-UQQ2GGIX.js} +15 -17
  192. package/dist/{destroy-4B4OVPHJ.js → destroy-WSGREGAG.js} +12 -13
  193. package/dist/{deterministicFonts-VLIVGXUQ.js → deterministicFonts-JER4GPCM.js} +4 -5
  194. package/dist/{diff-ZSA37QQS.js → diff-JQBZUPKG.js} +57 -54
  195. package/dist/{dist-ACT5C6ME.js → dist-6EF2P3P7.js} +4 -4
  196. package/dist/{dist-VRYZIJFZ.js → dist-HF753IX4.js} +5 -8
  197. package/dist/{dist-2O52E7QZ.js → dist-JRJHFP27.js} +20 -21
  198. package/dist/{doctor-RXQ2Y2YY.js → doctor-SPJ5AJKX.js} +23 -25
  199. package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
  200. package/dist/{energy-DRA3DCRO.js → energy-KPDVIZ5D.js} +21 -23
  201. package/dist/{events-AJNF2C3H.js → events-4WAMG3JE.js} +10 -12
  202. package/dist/{events-4SNBQE3M.js → events-P4223ZZZ.js} +23 -25
  203. package/dist/{events-GA3YM3WT.js → events-XON5I7VU.js} +5 -5
  204. package/dist/{execute-6LTZRWE4.js → execute-CN5FLBYU.js} +49 -46
  205. package/dist/{extract-XZQN654B.js → extract-ABSBKYYH.js} +21 -23
  206. package/dist/{face-RKUNVSN3.js → face-PLPQ5335.js} +22 -24
  207. package/dist/{feedback-AL7NPPMZ.js → feedback-QPQ4G72X.js} +62 -38
  208. package/dist/{ffmpeg-BEL7EZBA.js → ffmpeg-F3XK57IP.js} +14 -16
  209. package/dist/{figma-IZ3NH2KZ.js → figma-S5CVANVZ.js} +3 -3
  210. package/dist/fontLocalizeCli.js +26 -27
  211. package/dist/{frames-AYE53CSZ.js → frames-F4QEQB4V.js} +23 -25
  212. package/dist/{generate-BZ4EVVQI.js → generate-O3OPOCHP.js} +37 -39
  213. package/dist/{get-2GG4NSOK.js → get-P7LQ7U22.js} +26 -15
  214. package/dist/{gpuPolicy-W2ZGBXNG.js → gpuPolicy-JPRDRQWU.js} +14 -16
  215. package/dist/{grade-compare-65NWHVXK.js → grade-compare-6UZ6SK4J.js} +50 -51
  216. package/dist/hangReport.js +2 -2
  217. package/dist/{heifImagePrep-MRQ4KKDF.js → heifImagePrep-3PDFNYIE.js} +21 -22
  218. package/dist/{help-TEQWNNPI.js → help-DLOCAL7E.js} +1 -1
  219. package/dist/{history-MVNPETRW.js → history-YIJVOGH7.js} +23 -25
  220. package/dist/hyperframe.manifest.json +1 -1
  221. package/dist/hyperframe.runtime.iife.js +64 -64
  222. package/dist/hyperframes-player.global.js +1 -1
  223. package/dist/{info-NGNTHWYX.js → info-FVYJNNQL.js} +23 -25
  224. package/dist/{init-H7SUGVZX.js → init-V45K4VAG.js} +41 -43
  225. package/dist/{ink-CPZ4YZFM.js → ink-P72OB7L4.js} +21 -23
  226. package/dist/{inspect-GZBQ7XN7.js → inspect-3W2IG3JF.js} +53 -54
  227. package/dist/{installer-ZTHYVK4L.js → installer-QGDTFTDU.js} +8 -10
  228. package/dist/{keyframes-B52LQUOI.js → keyframes-57OPHIR2.js} +77 -28
  229. package/dist/{lambda-SZDQJMKA.js → lambda-EQZS7UMO.js} +32 -26
  230. package/dist/{layout-BOUOG2D2.js → layout-KSWMO6MH.js} +53 -54
  231. package/dist/{lint-H4OWI5JN.js → lint-WIYBGVF2.js} +18 -20
  232. package/dist/{lintProject-P4EAXFU2.js → lintProject-N3UN6HEE.js} +4 -4
  233. package/dist/{list-VNEYACGL.js → list-3FQAHEE2.js} +27 -16
  234. package/dist/{localPage-ZP7WVA2N.js → localPage-G2QEA7JL.js} +15 -17
  235. package/dist/{login-RUDOUO5Z.js → login-C3U6WSHF.js} +6 -6
  236. package/dist/{logout-5ZO6ZNS3.js → logout-525LWS6J.js} +2 -2
  237. package/dist/{look-G3NVPKXZ.js → look-U5LWOI4H.js} +21 -23
  238. package/dist/{manager-KWNID2ZA.js → manager-C5S25OOK.js} +5 -5
  239. package/dist/{manager-NXH2NJC6.js → manager-ZVYDWLHI.js} +16 -18
  240. package/dist/{measure-5PVIZ2W2.js → measure-R2KZIHXT.js} +11 -11
  241. package/dist/{media-treatment-T5QJI4PQ.js → media-treatment-FAW5ZLT7.js} +29 -29
  242. package/dist/{media-use-RTN3SMVY.js → media-use-CPTT2ZDE.js} +12 -8
  243. package/dist/{models-J2CJ7EVX.js → models-53JHNGSL.js} +20 -22
  244. package/dist/{motionShot-HU7P26WJ.js → motionShot-K5ZHHHE6.js} +28 -30
  245. package/dist/{normalize-44E7R6T5.js → normalize-TBACWMEK.js} +4 -5
  246. package/dist/{normalize-audio-2YFTP2T6.js → normalize-audio-EOO2ORPP.js} +20 -21
  247. package/dist/{open-RSCNUV6E.js → open-3YABRCER.js} +26 -28
  248. package/dist/{parakeetRunner-BUY25EIR.js → parakeetRunner-TLZC2WAJ.js} +24 -26
  249. package/dist/{pipeline-A4RL5R5P.js → pipeline-LZ73CHLB.js} +20 -20
  250. package/dist/{plan-7WYNPILA.js → plan-3QQZ57IC.js} +31 -33
  251. package/dist/{play-UKHFNMYZ.js → play-ESWP4SF2.js} +44 -43
  252. package/dist/{preflight-2VFCT3PI.js → preflight-7G5OBMAA.js} +17 -19
  253. package/dist/{present-ZUGFCQOF.js → present-5ER4JKR5.js} +36 -37
  254. package/dist/{preview-BT2ZFYMC.js → preview-62XOVSXM.js} +50 -50
  255. package/dist/privateProjectFile-6NPNZXK3.js +65 -0
  256. package/dist/{probe-2CLEK2UT.js → probe-CFOGEVFU.js} +21 -23
  257. package/dist/{producer-HCAMS55D.js → producer-LLE32VVO.js} +1 -1
  258. package/dist/{progress-5A4N7PTR.js → progress-PT3NAFVP.js} +5 -6
  259. package/dist/{projectConfig-2KJ2PXIM.js → projectConfig-R54UDB5Y.js} +11 -13
  260. package/dist/{publication-AR63EGJF.js → publication-TOBV6M4Q.js} +6 -8
  261. package/dist/{publish-EGKYOJWV.js → publish-QVNH5PXC.js} +63 -42
  262. package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
  263. package/dist/{refresh-GYRLZ7DZ.js → refresh-HK4YEHWC.js} +2 -2
  264. package/dist/{remove-background-IQQPMM24.js → remove-background-XHE6JL35.js} +21 -21
  265. package/dist/{render-HJRMJYTA.js → render-7JJ2DFEB.js} +12 -13
  266. package/dist/{render-ROJ5X53T.js → render-GRZMK6ET.js} +128 -87
  267. package/dist/{render-YNSZYEEK.js → render-WK3D5VOW.js} +141 -114
  268. package/dist/{render-batch-MXYDIHRO.js → render-batch-KFEZFJXB.js} +12 -13
  269. package/dist/renderSetupWorker.js +9 -9
  270. package/dist/{resolver-SPLAVF76.js → resolver-N4U52UK5.js} +8 -10
  271. package/dist/{reverse-CE6OGBB7.js → reverse-6AOA3PXF.js} +1 -1
  272. package/dist/{run-YVNJJL26.js → run-M2J3ZJ3W.js} +11 -12
  273. package/dist/{sam-2D3BUTL7.js → sam-O7Y2CCK3.js} +4 -4
  274. package/dist/{screenshotCapture-DRO7VMNI.js → screenshotCapture-UXJZ7D3L.js} +17 -19
  275. package/dist/{service-K65JYG4O.js → service-DBNZZLPU.js} +22 -24
  276. package/dist/{share-CSVWF6SB.js → share-6P7S3USP.js} +26 -28
  277. package/dist/{sherpa-JE6AFUEV.js → sherpa-CXEHEVAJ.js} +23 -25
  278. package/dist/sherpaWorker.js +6 -7
  279. package/dist/{sites-QCGTWVNF.js → sites-R5F5FNAL.js} +6 -6
  280. package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
  281. package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
  282. package/dist/skills/media-use/audio/references/tts.md +6 -6
  283. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
  284. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
  285. package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
  286. package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
  287. package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
  288. package/dist/skills/media-use/scripts/resolve.mjs +21 -15
  289. package/dist/{skills-L3BXM7VJ.js → skills-RMIHFNI6.js} +15 -17
  290. package/dist/{skillsUpdateCheck-VUENI5OR.js → skillsUpdateCheck-EHOSL2AC.js} +5 -5
  291. package/dist/{snapshot-GI2GWIF6.js → snapshot-DQK3P7TF.js} +97 -84
  292. package/dist/{src-ZXZO5RCJ.js → src-4INHWM6L.js} +29 -30
  293. package/dist/{src-B646B52O.js → src-BNSCFKOD.js} +17 -19
  294. package/dist/{start-ZNGKXRNE.js → start-KPCEUG5K.js} +43 -37
  295. package/dist/{state-7CJBWHXJ.js → state-5LE7AN6F.js} +5 -6
  296. package/dist/{staticProjectServer-46T6YTPF.js → staticProjectServer-VCS4TOU2.js} +33 -34
  297. package/dist/{status-7SWTPLVI.js → status-WBNQSG4H.js} +23 -25
  298. package/dist/studio/assets/{hyperframes-player-bya4hgms.js → hyperframes-player-Cm0hYGm2.js} +1 -1
  299. package/dist/studio/assets/{index-Bxh5lW0C.js → index-BGrNWeLK.js} +199 -199
  300. package/dist/studio/assets/{index--dcfSUzI.js → index-REqr_dLu.js} +1 -1
  301. package/dist/studio/assets/{pausedVideoDecoder-BKym1jA6.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
  302. package/dist/studio/index.html +1 -1
  303. package/dist/{studio-api-4XKM5HDR.js → studio-api-RAW4CIPR.js} +20 -21
  304. package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
  305. package/dist/{studioServer-4TWRIZNU.js → studioServer-5PWBZADN.js} +260 -117
  306. package/dist/subCompositionWorker.js +60 -54
  307. package/dist/{sync-R3K6LYB3.js → sync-PM2WLBUC.js} +21 -23
  308. package/dist/{synthesize-OZ3SJTOF.js → synthesize-NGU4DRKC.js} +10 -9
  309. package/dist/{system-LZ4PMOJD.js → system-PKL4Y4MX.js} +3 -3
  310. package/dist/{telemetry-WSBY25O3.js → telemetry-4BST73P2.js} +10 -12
  311. package/dist/{templates-ITP6ISAF.js → templates-G3XOWYXG.js} +24 -26
  312. package/dist/{timeline-U7GJMYKV.js → timeline-E6ZXYGQR.js} +36 -37
  313. package/dist/{tokens-3YTSUU27.js → tokens-KRHXM44C.js} +15 -5
  314. package/dist/{transcribe-QHHY5M3G.js → transcribe-RJ3GOCJL.js} +44 -46
  315. package/dist/{transcribe-ISCBYWN4.js → transcribe-TKV3POYD.js} +20 -22
  316. package/dist/{tts-24IJXIT2.js → tts-EPXRE275.js} +20 -4
  317. package/dist/{update-SVEH2GOL.js → update-TO7MLJCS.js} +17 -19
  318. package/dist/{updateCheck-MDG7N7VO.js → updateCheck-5AY447D5.js} +4 -4
  319. package/dist/{upgrade-6CGAI4OR.js → upgrade-BLZWWXYL.js} +8 -9
  320. package/dist/{urlDownloader-VPQTIGEH.js → urlDownloader-ME67HQ4O.js} +13 -15
  321. package/dist/{validate-QUB4KCEQ.js → validate-SRBV5NFV.js} +41 -42
  322. package/dist/{video-PUGZ5UHS.js → video-JPESR36I.js} +17 -19
  323. package/dist/{voices-4UO5AYLS.js → voices-AECYKXGA.js} +34 -36
  324. package/dist/warmCheck.js +62 -63
  325. package/dist/warmCheckClient.js +2 -2
  326. package/package.json +1 -1
  327. package/dist/chunk-6VY6WTY5.js +0 -279
  328. package/dist/chunk-NI7JVGOE.js +0 -5083
  329. package/dist/chunk-NLN5NY3P.js +0 -34
  330. package/dist/chunk-UVZIABYZ.js +0 -40
  331. package/dist/chunk-VC76R6W2.js +0 -27
  332. /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
@@ -7,33 +7,38 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-QJ2BV7FM.js";
10
+ } from "./chunk-TJAFCC37.js";
11
11
  import {
12
- MEDIA_INPUT_ARGS,
13
- NOT_MEDIA
14
- } from "./chunk-6T4PB35F.js";
12
+ NOT_MEDIA,
13
+ mediaInputArgs
14
+ } from "./chunk-TRQDC2UC.js";
15
15
  import {
16
- isLinkFreeWithinProject
17
- } from "./chunk-THGJTFYB.js";
16
+ isLinkFreeWithinProject,
17
+ isProjectCacheFile,
18
+ readProjectCacheFile
19
+ } from "./chunk-WTO3A7ET.js";
18
20
  import {
19
21
  alphaDecoderFor
20
22
  } from "./chunk-5S7W3TUO.js";
23
+ import {
24
+ replaceFileAtomically
25
+ } from "./chunk-LYTELQL2.js";
21
26
  import {
22
27
  formatPreviewProxyBox,
23
28
  hdrToSdrToneMapFilter,
24
29
  isHeavyForPreview
25
- } from "./chunk-QHVE6AFU.js";
30
+ } from "./chunk-MPVJI4SE.js";
26
31
  import {
27
32
  mkdirWithinProject,
28
33
  realProjectRoot,
29
34
  realpath
30
- } from "./chunk-MHF5F4FF.js";
35
+ } from "./chunk-3GF72UPC.js";
31
36
  import {
32
37
  cleanAssetUrl,
33
38
  isRemoteOrInlineUrl,
34
39
  isUnresolvedAssetPlaceholder,
35
40
  resolveExistingLocalAsset
36
- } from "./chunk-6EMFSRTW.js";
41
+ } from "./chunk-S35RUNXJ.js";
37
42
  import {
38
43
  rewriteAssetPath
39
44
  } from "./chunk-IH2C53YV.js";
@@ -42,10 +47,11 @@ import {
42
47
  scanHtmlOpeningTags
43
48
  } from "./chunk-4NDSGKPO.js";
44
49
  import {
45
- findFfBinary
46
- } from "./chunk-RX67N2PU.js";
50
+ findFfBinary,
51
+ followFfmpegProgress
52
+ } from "./chunk-VM2VBJRC.js";
47
53
 
48
- // ../studio-server/dist/chunk-X3CGMR7Z.js
54
+ // ../studio-server/dist/chunk-I5ALID6M.js
49
55
  import { statSync } from "fs";
50
56
  import { sep } from "path";
51
57
  import { spawn } from "child_process";
@@ -273,37 +279,27 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
273
279
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
274
280
  }
275
281
 
276
- // ../studio-server/dist/chunk-TA7YLF2O.js
282
+ // ../studio-server/dist/chunk-UK23HXUP.js
277
283
  import { spawn as spawn2 } from "child_process";
278
284
  import { randomUUID } from "crypto";
279
285
  import {
280
- existsSync as existsSync4,
286
+ existsSync as existsSync2,
281
287
  mkdtempSync,
282
288
  renameSync,
283
289
  rmSync as rmSync2,
284
290
  unlinkSync as unlinkSync2,
285
291
  utimesSync,
286
- writeFileSync as writeFileSync2
292
+ writeFileSync
287
293
  } from "fs";
288
294
  import os, { availableParallelism, tmpdir, totalmem } from "os";
289
295
  import { basename as basename3, dirname as dirname4, extname as extname4, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
290
296
  import { existsSync, readdirSync, statSync as statSync2, unlinkSync } from "fs";
291
297
  import { dirname, extname, join } from "path";
292
298
  import { createHash } from "crypto";
293
- import {
294
- closeSync,
295
- createReadStream,
296
- existsSync as existsSync2,
297
- fstatSync,
298
- openSync,
299
- readFileSync,
300
- statSync as statSync22,
301
- writeFileSync
302
- } from "fs";
299
+ import { closeSync, createReadStream, fstatSync, openSync, readFileSync, statSync as statSync22 } from "fs";
303
300
  import { basename, dirname as dirname2, extname as extname2, join as join2 } from "path";
304
301
  import {
305
302
  closeSync as closeSync2,
306
- existsSync as existsSync3,
307
303
  openSync as openSync2,
308
304
  readdirSync as readdirSync2,
309
305
  readFileSync as readFileSync2,
@@ -471,17 +467,13 @@ function fastIndexPath(cachePath) {
471
467
  function contentIndexPath(cacheDir, contentKey) {
472
468
  return join2(cacheDir, `.content-${contentKey}`);
473
469
  }
474
- function readCopyIndex(indexPath) {
475
- try {
476
- const name = readFileSync(indexPath, "utf8").trim();
477
- const target = join2(dirname2(indexPath), name);
478
- return COPY_NAME.test(name) && existsSync2(target) ? target : null;
479
- } catch {
480
- return null;
481
- }
470
+ function readCopyIndex(projectDir, indexPath) {
471
+ const name = readProjectCacheFile(projectDir, indexPath, 256)?.toString("utf8").trim() ?? "";
472
+ const target = join2(dirname2(indexPath), name);
473
+ return COPY_NAME.test(name) && isProjectCacheFile(projectDir, target) ? target : null;
482
474
  }
483
475
  function writeCopyIndex(indexPath, copyPath) {
484
- writeFileSync(indexPath, basename(copyPath));
476
+ replaceFileAtomically(indexPath, basename(copyPath), 420);
485
477
  }
486
478
  var POLL_MS = 500;
487
479
  var UNREADABLE_LOCK_MS = 1e4;
@@ -537,16 +529,16 @@ function pause(ms, signal) {
537
529
  signal.addEventListener("abort", onAbort, { once: true });
538
530
  });
539
531
  }
540
- async function acquireCopyLock(cachePath, signal, stallMs) {
532
+ async function acquireCopyLock(cachePath, copyMade, signal, stallMs) {
541
533
  const lockPath = lockPathFor(cachePath);
542
534
  for (; ; ) {
543
535
  signal.throwIfAborted();
544
- if (existsSync3(cachePath)) return null;
536
+ if (copyMade(cachePath)) return null;
545
537
  try {
546
538
  const fd = openSync2(lockPath, "wx");
547
539
  writeSync(fd, String(process.pid));
548
540
  closeSync2(fd);
549
- if (!existsSync3(cachePath)) return () => rmSync(lockPath, { force: true });
541
+ if (!copyMade(cachePath)) return () => rmSync(lockPath, { force: true });
550
542
  rmSync(lockPath, { force: true });
551
543
  return null;
552
544
  } catch (err) {
@@ -617,6 +609,12 @@ var ProxyCapacityError = class extends ProxyTranscodeError {
617
609
  this.name = "ProxyCapacityError";
618
610
  }
619
611
  };
612
+ var StillPastEndError = class extends ProxyTranscodeError {
613
+ constructor() {
614
+ super("media still is past the end of the source", null, "");
615
+ this.name = "StillPastEndError";
616
+ }
617
+ };
620
618
  var ProxySourceOutsideProjectError = class extends ProxyTranscodeError {
621
619
  constructor() {
622
620
  super("media proxy source must be addressed through the project", null, "");
@@ -664,7 +662,7 @@ function getCanonicalProxyCachePath(source, variant, box, limitSeconds) {
664
662
  CACHE_DIR_NAME,
665
663
  `${key}${PROXY_VARIANT_CONFIG[variant].extension}`
666
664
  );
667
- return existsSync4(made) ? made : readCopyIndex(fastIndexPath(made)) ?? made;
665
+ return isProjectCacheFile(source.projectDir, made) ? made : readCopyIndex(source.projectDir, fastIndexPath(made)) ?? made;
668
666
  }
669
667
  function getProxyCachePath(projectDir, absoluteSourcePath, variant = "h264", box, limitSeconds) {
670
668
  return getCanonicalProxyCachePath(
@@ -890,11 +888,12 @@ function createPieceGate(size) {
890
888
  }
891
889
  };
892
890
  }
893
- async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat, signal, gate, onDone = () => {
891
+ async function encodeInChunks(ranges, chunks, tempPath, encode, concat, signal, gate, onDone = () => {
894
892
  }) {
895
893
  const extension = extname4(tempPath);
896
- const pieces = ranges.map((_, index) => `${chunkPrefix}${index}${extension}`);
897
- const pending = ranges.flatMap((_, index) => existsSync4(pieces[index]) ? [] : [index]);
894
+ const pieces = ranges.map((_, index) => `${chunks.prefix}${index}${extension}`);
895
+ const madeAsPlainFile = (piece) => isProjectCacheFile(chunks.projectDir, piece);
896
+ const pending = ranges.flatMap((_, index) => madeAsPlainFile(pieces[index]) ? [] : [index]);
898
897
  let doneSeconds = 0;
899
898
  for (const [index, range] of ranges.entries()) {
900
899
  if (!pending.includes(index)) doneSeconds += range.lengthSeconds;
@@ -924,7 +923,7 @@ async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat, sig
924
923
  doneSeconds += range.lengthSeconds;
925
924
  onDone(doneSeconds);
926
925
  } finally {
927
- if (existsSync4(pieceTemp)) unlinkSync2(pieceTemp);
926
+ if (existsSync2(pieceTemp)) unlinkSync2(pieceTemp);
928
927
  }
929
928
  } finally {
930
929
  gate.release();
@@ -944,7 +943,7 @@ async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat, sig
944
943
  const listDir = mkdtempSync(join4(tmpdir(), "hf-proxy-join-"));
945
944
  try {
946
945
  const listPath = join4(listDir, "pieces.txt");
947
- writeFileSync2(
946
+ writeFileSync(
948
947
  listPath,
949
948
  pieces.map((piece) => `file '${piece.replace(/\\/g, "/").replace(/'/g, "'\\''")}'
950
949
  `).join("")
@@ -953,7 +952,7 @@ async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat, sig
953
952
  } finally {
954
953
  rmSync2(listDir, { recursive: true, force: true });
955
954
  }
956
- for (const piece of pieces) if (existsSync4(piece)) unlinkSync2(piece);
955
+ for (const piece of pieces) if (existsSync2(piece)) unlinkSync2(piece);
957
956
  }
958
957
  var KEYFRAME_EVERY_SECOND_ARGS = ["-force_key_frames", "expr:gte(t,n_forced*1)"];
959
958
  var H264_ARGS = [
@@ -1024,7 +1023,7 @@ async function buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, bo
1024
1023
  `format=${pixelFormat}`
1025
1024
  ].join(",") : [evenScale, `format=${pixelFormat}`].join(",");
1026
1025
  }
1027
- async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, limitSeconds, signal, onProgress, isBackground = () => false) {
1026
+ async function runFfmpeg(sourcePath, outputPath, chunks, variant, box, limitSeconds, signal, onProgress, isBackground = () => false) {
1028
1027
  const metadata = await probeMediaMetadata(sourcePath);
1029
1028
  if (metadata.probeError === NOT_MEDIA) throw new ProxyTranscodeError(NOT_MEDIA, null, "");
1030
1029
  const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true });
@@ -1054,7 +1053,7 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, limi
1054
1053
  "-nostats",
1055
1054
  ...range ? ["-ss", String(range.startSeconds)] : [],
1056
1055
  ...decoderArgs,
1057
- ...MEDIA_INPUT_ARGS,
1056
+ ...mediaInputArgs(sourcePath),
1058
1057
  "-i",
1059
1058
  sourcePath,
1060
1059
  ...streamArgs,
@@ -1082,7 +1081,7 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, limi
1082
1081
  }
1083
1082
  await encodeInChunks(
1084
1083
  ranges,
1085
- chunkPrefix,
1084
+ chunks,
1086
1085
  outputPath,
1087
1086
  encode,
1088
1087
  (listPath, target) => spawnFfmpeg(ffmpegPath, concatArgs(listPath, target, variant), CONCAT_TIMEOUT_MS, signal),
@@ -1109,7 +1108,6 @@ function concatArgs(listPath, target, variant) {
1109
1108
  target
1110
1109
  ];
1111
1110
  }
1112
- var OUT_TIME = /^out_time_(?:us|ms)=(\d+)$/;
1113
1111
  function lowerPriorityUnlessExited(pid) {
1114
1112
  try {
1115
1113
  os.setPriority(pid, BACKGROUND_NICENESS);
@@ -1138,21 +1136,12 @@ function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress, background =
1138
1136
  timer.unref();
1139
1137
  };
1140
1138
  armStall();
1141
- let furthest = 0;
1142
- let lineTail = "";
1143
- proc.stdout?.on("data", (chunk) => {
1144
- const lines = (lineTail + chunk.toString()).split("\n");
1145
- lineTail = lines.pop() ?? "";
1146
- for (const line of lines) {
1147
- const reached = OUT_TIME.exec(line.trim());
1148
- if (!reached) continue;
1149
- const seconds = Number(reached[1]) / 1e6;
1150
- if (seconds <= furthest) continue;
1151
- furthest = seconds;
1139
+ if (proc.stdout) {
1140
+ followFfmpegProgress(proc.stdout, (seconds) => {
1152
1141
  armStall();
1153
1142
  onProgress?.(seconds);
1154
- }
1155
- });
1143
+ });
1144
+ }
1156
1145
  let stderrTail = "";
1157
1146
  proc.stderr?.on("data", (chunk) => {
1158
1147
  stderrTail = (stderrTail + chunk.toString()).slice(-STDERR_TAIL_MAX_CHARS);
@@ -1193,7 +1182,7 @@ function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress, background =
1193
1182
  async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath, variant, box, limitSeconds) {
1194
1183
  await acquireSlot(job);
1195
1184
  try {
1196
- if (existsSync4(cachePath)) return cachePath;
1185
+ if (isProjectCacheFile(projectDir, cachePath)) return cachePath;
1197
1186
  const cacheDir = dirname4(cachePath);
1198
1187
  mkdirWithinProject(projectDir, cacheDir);
1199
1188
  const contentIndex = contentIndexPath(
@@ -1206,29 +1195,34 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
1206
1195
  job.abandoned.signal
1207
1196
  )
1208
1197
  );
1209
- const sameContent = readCopyIndex(contentIndex);
1198
+ const sameContent = readCopyIndex(projectDir, contentIndex);
1210
1199
  if (sameContent) {
1211
1200
  writeCopyIndex(fastIndexPath(cachePath), sameContent);
1212
1201
  return sameContent;
1213
1202
  }
1203
+ const copyMade = (path) => isProjectCacheFile(projectDir, path);
1214
1204
  const release = await acquireCopyLock(
1215
1205
  cachePath,
1206
+ copyMade,
1216
1207
  job.abandoned.signal,
1217
1208
  TRANSCODE_STALL_MS
1218
1209
  ).catch((error) => {
1219
1210
  throw error instanceof CopyLockStalledError ? new ProxyTranscodeError(error.message, null, "") : error;
1220
1211
  });
1221
- if (!release) return cachePath;
1212
+ if (!release) {
1213
+ if (copyMade(cachePath)) return cachePath;
1214
+ throw new ProxyTranscodeError("the copy is not a plain file in the cache", null, "");
1215
+ }
1222
1216
  const tempPath = join4(cacheDir, `.tmp-${randomUUID()}-${basename3(cachePath)}`);
1223
1217
  try {
1224
- const chunkPrefix = join4(
1225
- cacheDir,
1226
- `${CHUNK_PREFIX}${basename3(cachePath, extname4(cachePath))}-`
1227
- );
1218
+ const chunks = {
1219
+ projectDir,
1220
+ prefix: join4(cacheDir, `${CHUNK_PREFIX}${basename3(cachePath, extname4(cachePath))}-`)
1221
+ };
1228
1222
  await runFfmpeg(
1229
1223
  absoluteSourcePath,
1230
1224
  tempPath,
1231
- chunkPrefix,
1225
+ chunks,
1232
1226
  variant,
1233
1227
  box,
1234
1228
  limitSeconds,
@@ -1241,7 +1235,7 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
1241
1235
  maintainProxyCache(cacheDir);
1242
1236
  return cachePath;
1243
1237
  } finally {
1244
- if (existsSync4(tempPath)) unlinkSync2(tempPath);
1238
+ if (existsSync2(tempPath)) unlinkSync2(tempPath);
1245
1239
  release();
1246
1240
  }
1247
1241
  } finally {
@@ -1259,7 +1253,7 @@ function retryProxyCopy(projectDir, absoluteSourcePath, variant, box) {
1259
1253
  }
1260
1254
  var proxyActivity = 0;
1261
1255
  function proxyActivityMark(projectDir) {
1262
- if (!existsSync4(projectDir)) return String(proxyActivity);
1256
+ if (!existsSync2(projectDir)) return String(proxyActivity);
1263
1257
  const cacheDir = join4(realpath(projectDir), CACHE_DIR_NAME) + sep2;
1264
1258
  for (const cachePath of inFlight.keys()) if (cachePath.startsWith(cacheDir)) return null;
1265
1259
  return String(proxyActivity);
@@ -1268,7 +1262,7 @@ async function resolveProxy(projectDir, absoluteSourcePath, variant = "h264", bo
1268
1262
  options.signal?.throwIfAborted();
1269
1263
  const source = canonicalizeProxySource(projectDir, absoluteSourcePath);
1270
1264
  const cachePath = getCanonicalProxyCachePath(source, variant, box, options.limitSeconds);
1271
- if (existsSync4(cachePath)) {
1265
+ if (isProjectCacheFile(source.projectDir, cachePath)) {
1272
1266
  markCacheEntryUsed(cachePath);
1273
1267
  maintainProxyCache(dirname4(cachePath));
1274
1268
  return cachePath;
@@ -1363,7 +1357,7 @@ function resolveStill(projectDir, absoluteSourcePath, atSeconds, box, startUncac
1363
1357
  const at = Math.max(0, Math.round(atSeconds * 10) / 10);
1364
1358
  const key = fastCopyKey(source.sourcePath, PROXY_PARAMS_VERSION, `still@${at}`, box);
1365
1359
  const cachePath = join4(source.projectDir, CACHE_DIR_NAME, `${key}${PROXY_STILL_EXTENSION}`);
1366
- if (existsSync4(cachePath)) {
1360
+ if (isProjectCacheFile(source.projectDir, cachePath)) {
1367
1361
  markCacheEntryUsed(cachePath);
1368
1362
  maintainProxyCache(dirname4(cachePath), void 0, cachePath);
1369
1363
  return Promise.resolve(cachePath);
@@ -1402,6 +1396,9 @@ async function makeStill(source, at, box, cachePath, signal) {
1402
1396
  if (!ffmpegPath) throw new FfmpegUnavailableError();
1403
1397
  const metadata = await probeMediaMetadata(source.sourcePath);
1404
1398
  if (metadata.probeError === NOT_MEDIA) throw new ProxyTranscodeError(NOT_MEDIA, null, "");
1399
+ if (metadata.durationSeconds !== void 0 && at > metadata.durationSeconds) {
1400
+ throw new StillPastEndError();
1401
+ }
1405
1402
  const filter = await buildVideoFilter(ffmpegPath, source.sourcePath, metadata, false, box);
1406
1403
  mkdirWithinProject(source.projectDir, dirname4(cachePath));
1407
1404
  const tempPath = join4(dirname4(cachePath), `.tmp-${randomUUID()}-${basename3(cachePath)}`);
@@ -1410,7 +1407,7 @@ async function makeStill(source, at, box, cachePath, signal) {
1410
1407
  "-y",
1411
1408
  "-ss",
1412
1409
  String(at),
1413
- ...MEDIA_INPUT_ARGS,
1410
+ ...mediaInputArgs(source.sourcePath),
1414
1411
  "-i",
1415
1412
  source.sourcePath,
1416
1413
  "-map",
@@ -1458,6 +1455,7 @@ export {
1458
1455
  ProxyTranscodeError,
1459
1456
  FfmpegUnavailableError,
1460
1457
  ProxyCapacityError,
1458
+ StillPastEndError,
1461
1459
  ProxyWaitTimeoutError,
1462
1460
  waitForProxy,
1463
1461
  getProxyCachePath,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  decode,
9
9
  meanAbsDiff
10
- } from "./chunk-OYKAS3J5.js";
10
+ } from "./chunk-ZBDITGMP.js";
11
11
 
12
12
  // src/measure/cuts.ts
13
13
  var SIG_W = 64;
@@ -143,6 +143,15 @@ function findTrustedExecutable(name) {
143
143
  }
144
144
  return void 0;
145
145
  }
146
+ var PATTERN_IMAGE2_EXPANDS = /%(?:\d*d|[%*?[\]{}])/;
147
+ var URL_SCHEME = /^[a-z][a-z0-9+.-]+:/i;
148
+ function assertLiteralMediaInput(input) {
149
+ const local = !URL_SCHEME.test(input) || /^file:/i.test(input);
150
+ if (!local || !PATTERN_IMAGE2_EXPANDS.test(input)) return;
151
+ throw new Error(
152
+ `[FFmpeg] refused media path "${input.split(/[\\/]/).pop()}": a "%" followed by a number and "d", another "%" or a wildcard would make ffmpeg read it as a pattern of other files. Rename the file or folder.`
153
+ );
154
+ }
146
155
  var FFMPEG_PATH_ENV = "HYPERFRAMES_FFMPEG_PATH";
147
156
  var FFPROBE_PATH_ENV = "HYPERFRAMES_FFPROBE_PATH";
148
157
  var ENV_BY_NAME = {
@@ -305,7 +314,8 @@ function demuxersFromListing(listing) {
305
314
  }
306
315
  var demuxerLists = /* @__PURE__ */ new Map();
307
316
  var listingOverride;
308
- function mediaInputFormatArgs(listingBinary) {
317
+ function mediaInputFormatArgs(listingBinary, input) {
318
+ assertLiteralMediaInput(input);
309
319
  let formats = demuxerLists.get(listingBinary);
310
320
  if (formats === void 0) {
311
321
  try {
@@ -325,17 +335,36 @@ function mediaInputFormatArgs(listingBinary) {
325
335
  }
326
336
  return ["-format_whitelist", formats];
327
337
  }
338
+ var OUT_TIME = /^out_time_(?:us|ms)=(\d+)$/;
339
+ function followFfmpegProgress(stream, onSeconds) {
340
+ let furthest = 0;
341
+ let lineTail = "";
342
+ stream.on("data", (chunk) => {
343
+ const lines = (lineTail + chunk.toString()).split("\n");
344
+ lineTail = lines.pop() ?? "";
345
+ for (const line of lines) {
346
+ const reached = OUT_TIME.exec(line.trim());
347
+ if (!reached) continue;
348
+ const seconds = Number(reached[1]) / 1e6;
349
+ if (seconds <= furthest) continue;
350
+ furthest = seconds;
351
+ onSeconds(seconds);
352
+ }
353
+ });
354
+ }
328
355
 
329
356
  export {
330
357
  pathEntries,
331
358
  trustedPathDirs,
332
359
  executableIn,
333
360
  findTrustedExecutable,
361
+ assertLiteralMediaInput,
334
362
  FFMPEG_PATH_ENV,
335
363
  FFPROBE_PATH_ENV,
336
364
  getSkippedX86Binary,
337
365
  findFfBinary,
338
366
  requireFfBinary,
339
367
  SELF_CONTAINED_FORMATS,
340
- mediaInputFormatArgs
368
+ mediaInputFormatArgs,
369
+ followFfmpegProgress
341
370
  };
@@ -9,14 +9,14 @@ import {
9
9
  KOKORO_PIP,
10
10
  MUSICGEN_MODULES,
11
11
  MUSICGEN_PIP
12
- } from "./chunk-VXRTE7MZ.js";
12
+ } from "./chunk-ERYGKPIR.js";
13
13
  import {
14
14
  describeRejectedPythonOverride,
15
15
  hasPythonModules
16
- } from "./chunk-J3H6QDDY.js";
16
+ } from "./chunk-RF3DT4CS.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-XZ6THYIK.js";
19
+ } from "./chunk-GYPZTG46.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,35 +29,35 @@ import {
29
29
  } from "./chunk-JCNPHRGX.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-CC72LTIT.js";
32
+ } from "./chunk-LTXZLTXW.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
36
36
  getSystemMeta
37
- } from "./chunk-WKE3WTIU.js";
37
+ } from "./chunk-YB2ZJJFJ.js";
38
38
  import {
39
39
  getAvailableMemoryMb
40
- } from "./chunk-CIXP5G7Z.js";
40
+ } from "./chunk-5GUYYSVT.js";
41
41
  import {
42
42
  getUpdateMeta,
43
43
  installChannelLabel,
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-3DFEBAWJ.js";
47
+ } from "./chunk-FU62NEWC.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
51
  } from "./chunk-AWD2MWWL.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-JLMMY3UI.js";
54
+ } from "./chunk-7DMES2F3.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
58
58
  import {
59
59
  findTrustedExecutable
60
- } from "./chunk-RX67N2PU.js";
60
+ } from "./chunk-VM2VBJRC.js";
61
61
 
62
62
  // src/commands/doctor.ts
63
63
  import { execFileSync } from "child_process";
@@ -261,7 +261,7 @@ function checkEnvironment() {
261
261
  return { ok: true, detail: parts.join(" \xB7 ") };
262
262
  }
263
263
  async function checkWhisper() {
264
- const { findWhisper, getInstallInstructions } = await import("./manager-NXH2NJC6.js");
264
+ const { findWhisper, getInstallInstructions } = await import("./manager-ZVYDWLHI.js");
265
265
  const result = findWhisper();
266
266
  if (result) {
267
267
  return { ok: true, detail: result.executablePath };
@@ -8,10 +8,10 @@ import {
8
8
  auditClipDurations,
9
9
  shouldIgnoreHttpError,
10
10
  shouldIgnoreRequestFailure
11
- } from "./chunk-BTXYXM2A.js";
11
+ } from "./chunk-WVCCSYZC.js";
12
12
  import {
13
13
  serveStaticProjectHtml
14
- } from "./chunk-TJGGLLQJ.js";
14
+ } from "./chunk-CYM53TWZ.js";
15
15
  import {
16
16
  AUDIT_SEEK_OPTIONS,
17
17
  DEFAULT_ZOOM_PADDING_PX,
@@ -25,14 +25,14 @@ import {
25
25
  seekCompositionTimeline,
26
26
  seekInPage,
27
27
  waitForPreferredSeekTarget
28
- } from "./chunk-RKIF4EU7.js";
28
+ } from "./chunk-7GDEQJSL.js";
29
+ import {
30
+ findStageProxyBox
31
+ } from "./chunk-3ROFCQAW.js";
29
32
  import {
30
33
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
31
34
  withRemainingBudget
32
35
  } from "./chunk-YGGZ23BB.js";
33
- import {
34
- findStageProxyBox
35
- } from "./chunk-7YRZBB4C.js";
36
36
  import {
37
37
  FfmpegUnavailableError,
38
38
  decideMediaProxyEligibility,
@@ -42,32 +42,32 @@ import {
42
42
  resolveProxies,
43
43
  scanProjectMediaCodecMap,
44
44
  shouldPrewarmProxy
45
- } from "./chunk-LTOUXR3X.js";
45
+ } from "./chunk-UX5KLSAJ.js";
46
46
  import {
47
47
  artifactDirectory,
48
48
  finishSnapshotRun
49
- } from "./chunk-TVWDS5AT.js";
49
+ } from "./chunk-5T2LNQAH.js";
50
50
  import {
51
51
  BrowserCleanupError,
52
52
  closeManagedBrowser,
53
53
  onStopSignal
54
- } from "./chunk-XWV6BOCG.js";
54
+ } from "./chunk-OPUR2XQ2.js";
55
55
  import {
56
56
  resolveAutoProxy
57
- } from "./chunk-RHFB457E.js";
57
+ } from "./chunk-LZSSGF7G.js";
58
58
  import {
59
59
  projectFolder
60
- } from "./chunk-JT7RXK2N.js";
60
+ } from "./chunk-OW6MOJSR.js";
61
61
  import {
62
62
  DEFAULT_CONFIG
63
- } from "./chunk-CC72LTIT.js";
63
+ } from "./chunk-LTXZLTXW.js";
64
64
  import {
65
65
  STUDIO_PREVIEW_CAPTURE_MODE,
66
66
  STUDIO_PREVIEW_MARK_META
67
- } from "./chunk-YXX6CIHL.js";
67
+ } from "./chunk-BWFNWEUO.js";
68
68
  import {
69
69
  injectTagsAtHeadStart
70
- } from "./chunk-NI7JVGOE.js";
70
+ } from "./chunk-BNH2IKGV.js";
71
71
  import {
72
72
  parseHTML
73
73
  } from "./chunk-GWTIFRF5.js";
@@ -1136,7 +1136,7 @@ function proxyFailedDraft(message) {
1136
1136
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
1137
1137
  }
1138
1138
  async function loadCheckHtmlWithDeferredMedia(dir) {
1139
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RVF7AFP5.js");
1139
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZFX7TSWT.js");
1140
1140
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
1141
1141
  }
1142
1142
  function withCapturePreviewMark(html) {
@@ -1209,7 +1209,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
1209
1209
  ).map((draft) => runtimeFinding(draft, rootAnchor))
1210
1210
  }));
1211
1211
  const launchSettleMs = Date.now() - launchSettleStart;
1212
- const { analyzeClipMediaFit } = await import("./src-B646B52O.js");
1212
+ const { analyzeClipMediaFit } = await import("./src-BNSCFKOD.js");
1213
1213
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
1214
1214
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
1215
1215
  }
@@ -1351,7 +1351,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
1351
1351
  async function captureFindingFrames(project, options, requests, deadline) {
1352
1352
  if (requests.length === 0) return { written: [], inspected: [] };
1353
1353
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
1354
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RVF7AFP5.js");
1354
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZFX7TSWT.js");
1355
1355
  return withCapturePreviewMark(
1356
1356
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
1357
1357
  );
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-Z5J67X44.js";
10
10
  import {
11
11
  createStagingDir
12
- } from "./chunk-K2WLOTTF.js";
12
+ } from "./chunk-LYTELQL2.js";
13
13
 
14
14
  // src/capture/captureFile.ts
15
15
  import { mkdirSync, realpathSync, renameSync, statSync, writeFileSync } from "fs";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isolatedPythonCode
9
- } from "./chunk-J3H6QDDY.js";
9
+ } from "./chunk-RF3DT4CS.js";
10
10
  import {
11
11
  STEADY_BEAT_CONFIDENCE,
12
12
  envelope,
@@ -23,33 +23,33 @@ import {
23
23
  import {
24
24
  uploadAssetViaDirectUpload
25
25
  } from "./chunk-PJNDSYJV.js";
26
- import {
27
- refreshIfNeeded,
28
- resolveCloudBaseUrl
29
- } from "./chunk-MVA4OQL7.js";
30
26
  import {
31
27
  HyperframesCloudClient
32
28
  } from "./chunk-D3NWGOXW.js";
29
+ import {
30
+ refreshIfNeeded,
31
+ resolveCloudBaseUrl
32
+ } from "./chunk-4ZLWEPK4.js";
33
33
  import {
34
34
  tryResolveCredential
35
- } from "./chunk-KGPHUBBA.js";
35
+ } from "./chunk-SCEBICAQ.js";
36
36
  import {
37
37
  buildAuthHeaders
38
38
  } from "./chunk-TFAKFI3R.js";
39
39
  import {
40
40
  decodeAudio,
41
41
  probeAudio
42
- } from "./chunk-J4OHC5FU.js";
42
+ } from "./chunk-NK2UW3WR.js";
43
43
  import {
44
44
  runsWithoutInstallPrompt
45
45
  } from "./chunk-JJ47LVJ7.js";
46
46
  import {
47
47
  readPlainFile
48
- } from "./chunk-JT7RXK2N.js";
48
+ } from "./chunk-OW6MOJSR.js";
49
49
  import {
50
50
  createStagingDir,
51
51
  replaceFileAtomically
52
- } from "./chunk-K2WLOTTF.js";
52
+ } from "./chunk-LYTELQL2.js";
53
53
  import {
54
54
  assertPrivateCachePath,
55
55
  ensurePrivateCacheDir,