hyperframes 0.9.20 → 0.9.21

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 (244) hide show
  1. package/dist/{add-6U3Y7DEN.js → add-VQVP3JPZ.js} +11 -11
  2. package/dist/{agentPromptGenerator-2U62YSRT.js → agentPromptGenerator-PAFWQGHU.js} +6 -6
  3. package/dist/{animatedGifPrep-RC6CYTRI.js → animatedGifPrep-AK26JDVM.js} +6 -6
  4. package/dist/api.js +29 -29
  5. package/dist/{asset-ER2CUS6B.js → asset-N6RZSN44.js} +2 -2
  6. package/dist/{assetCataloger-425SRTPW.js → assetCataloger-GWF6II54.js} +7 -7
  7. package/dist/{audio-JUAMPMWA.js → audio-ZHVBBQRA.js} +15 -15
  8. package/dist/{auth-DQ52RE6K.js → auth-AJM3YSN6.js} +2 -2
  9. package/dist/{autoUpdate-YUZGZ5ZI.js → autoUpdate-GV4LPAJX.js} +2 -2
  10. package/dist/{avatars-F4HNQISE.js → avatars-5EKOR2DW.js} +10 -10
  11. package/dist/{backgroundChecks-MSOJBGL7.js → backgroundChecks-J4XJD4ET.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-33AZEDWV.js → batchRender-UKQ36JT2.js} +3 -3
  14. package/dist/{beats-WI3UU5KD.js → beats-LXYHFVPP.js} +8 -8
  15. package/dist/{benchmark-ZE5Y75YM.js → benchmark-KXR56MIT.js} +8 -8
  16. package/dist/{billing-N4BCUG7R.js → billing-3XQYSAKP.js} +10 -10
  17. package/dist/{browser-HUOPVD2U.js → browser-P52FDITF.js} +5 -5
  18. package/dist/{bundleWithLocalizedFonts-PRR3UAJT.js → bundleWithLocalizedFonts-I3KWYN6X.js} +1 -1
  19. package/dist/{capture-2QNE2DEY.js → capture-2PSBIAL2.js} +3 -3
  20. package/dist/{capture-UWQ2GBML.js → capture-SMWSGGMG.js} +13 -13
  21. package/dist/{captureCompositionFrame-S2A5KJUT.js → captureCompositionFrame-WRY5ATM7.js} +12 -12
  22. package/dist/{catalog-BQZ55PQP.js → catalog-JIO6RXSR.js} +11 -11
  23. package/dist/{catch-up-JFII6DVC.js → catch-up-A73H7VGC.js} +6 -6
  24. package/dist/{check-KPFCL46S.js → check-FI7SUTK7.js} +37 -37
  25. package/dist/{checkAudio-NTES344V.js → checkAudio-73DDBXXJ.js} +9 -9
  26. package/dist/{checkBrowser-WQWRQO2X.js → checkBrowser-X5VVYQES.js} +31 -31
  27. package/dist/{chunk-IY4I7TV4.js → chunk-2HRKRRQH.js} +2 -2
  28. package/dist/{chunk-4XOQILDV.js → chunk-3FG3YAHZ.js} +1 -1
  29. package/dist/{chunk-UXEUKILH.js → chunk-3OIUJOIR.js} +1 -1
  30. package/dist/{chunk-MQFX4OD3.js → chunk-3TLAQU62.js} +1 -1
  31. package/dist/{chunk-3WLJMGCI.js → chunk-3ZXKEGKV.js} +1 -1
  32. package/dist/{chunk-35APUSDP.js → chunk-4EL5RKLS.js} +1 -1
  33. package/dist/{chunk-IBXWPFGK.js → chunk-4EMQHF3T.js} +2 -2
  34. package/dist/{chunk-KPCCWI5Q.js → chunk-4FNJ2QNP.js} +2 -2
  35. package/dist/{chunk-NZ6JYCGU.js → chunk-4NLG5TO6.js} +3 -3
  36. package/dist/{chunk-CKZQQ2DO.js → chunk-4UXCWPHU.js} +1 -1
  37. package/dist/{chunk-JXGFZG73.js → chunk-4ZLMVX3O.js} +1 -1
  38. package/dist/{chunk-QSOIL3EE.js → chunk-5PY66UGZ.js} +3 -3
  39. package/dist/{chunk-HCUEMQB4.js → chunk-7ETNIXIN.js} +1 -1
  40. package/dist/{chunk-4EUUYYB3.js → chunk-7EUZAQD6.js} +2 -2
  41. package/dist/{chunk-LNHMJ555.js → chunk-A2NL7HGF.js} +1 -1
  42. package/dist/{chunk-FY2QFPEK.js → chunk-A4JU6QUG.js} +1 -1
  43. package/dist/{chunk-BA3FUJOU.js → chunk-BABCRBAO.js} +38 -4
  44. package/dist/{chunk-WNPIJ7UG.js → chunk-BUCJXB6D.js} +1 -1
  45. package/dist/{chunk-3KJW4NNP.js → chunk-C4KYJSSF.js} +8 -8
  46. package/dist/{chunk-OWBXXAYQ.js → chunk-CFOJE3VR.js} +2 -2
  47. package/dist/{chunk-RPSR5YSD.js → chunk-CZK7A5IB.js} +4 -4
  48. package/dist/{chunk-3XJM7XZN.js → chunk-D3NWGOXW.js} +30 -0
  49. package/dist/{chunk-P2DAWEPF.js → chunk-D7C6NOOO.js} +2 -2
  50. package/dist/{chunk-TGSBNJYV.js → chunk-DXIGIMRP.js} +2 -2
  51. package/dist/{chunk-LDV6P3DG.js → chunk-DYPAXBNK.js} +1 -1
  52. package/dist/{chunk-GNY2WZKA.js → chunk-DZQEPGNY.js} +3 -3
  53. package/dist/{chunk-VM6PDH32.js → chunk-F4XUCHQQ.js} +1 -1
  54. package/dist/{chunk-LEVO6XYF.js → chunk-FASKJUYU.js} +33 -22
  55. package/dist/{chunk-NSNT4DNY.js → chunk-FET6WMTX.js} +2 -2
  56. package/dist/{chunk-YVFJWUSI.js → chunk-FOX7LXZ2.js} +1 -1
  57. package/dist/chunk-FRBQYFUV.js +481 -0
  58. package/dist/{chunk-WMZHESNZ.js → chunk-G5UZHDEZ.js} +2 -2
  59. package/dist/{chunk-5ECZJECP.js → chunk-G77Z4GWC.js} +1 -1
  60. package/dist/{chunk-KKNAM57Z.js → chunk-GG7RYSIU.js} +1 -1
  61. package/dist/{chunk-7PG57ERE.js → chunk-GH6GWAID.js} +1 -1
  62. package/dist/{chunk-4HWNUBW2.js → chunk-GKOSN3Q6.js} +3 -3
  63. package/dist/chunk-GREVQ2SM.js +5035 -0
  64. package/dist/{chunk-POKB2QVF.js → chunk-H7N3J7Y3.js} +2 -2
  65. package/dist/{chunk-DNWZ66ND.js → chunk-HCFBCEJT.js} +1 -1
  66. package/dist/{chunk-RFG4XUMQ.js → chunk-I7WVS7WN.js} +1 -1
  67. package/dist/{chunk-7CGSZ3OR.js → chunk-IFY5ACTF.js} +13 -13
  68. package/dist/{chunk-Q6DA3X34.js → chunk-IQR26ZJD.js} +3 -3
  69. package/dist/{chunk-PWP4W2PF.js → chunk-IRWQMKV7.js} +1 -1
  70. package/dist/{chunk-USRF4NA6.js → chunk-ITO3VCCW.js} +10 -10
  71. package/dist/{chunk-76HDNQDL.js → chunk-JNN2CTGU.js} +2 -2
  72. package/dist/{chunk-XACDCHJF.js → chunk-JT6LFFYK.js} +1 -1
  73. package/dist/{chunk-QUYTXJLE.js → chunk-L2SQTHMP.js} +1 -1
  74. package/dist/{chunk-OAQTFIWB.js → chunk-L4C4F4O3.js} +3 -3
  75. package/dist/{chunk-UH6JF4TY.js → chunk-LDO7SB4J.js} +2 -2
  76. package/dist/{chunk-TKHWUM6J.js → chunk-LGSSYJS2.js} +2 -2
  77. package/dist/{chunk-XU5LAY46.js → chunk-LIFQONFJ.js} +1 -1
  78. package/dist/{chunk-5WKW4P6P.js → chunk-LLUKDUVS.js} +28 -15
  79. package/dist/{chunk-FXPBFARU.js → chunk-LMUF3BGR.js} +1 -1
  80. package/dist/{chunk-FPM6B5X5.js → chunk-LQBZCXMR.js} +2 -2
  81. package/dist/{chunk-Y5ZW3BRK.js → chunk-M32FE7JZ.js} +3 -3
  82. package/dist/{chunk-76IGIELW.js → chunk-M7Z2SEQG.js} +2 -2
  83. package/dist/{chunk-D3ZYDQMH.js → chunk-MERPHIUD.js} +2 -2
  84. package/dist/{chunk-JWORQ5WQ.js → chunk-MFDNMTOP.js} +1 -1
  85. package/dist/{chunk-C2PQTWAH.js → chunk-MNMIIDOX.js} +1 -1
  86. package/dist/{chunk-N2I2YUL7.js → chunk-NBHVLN5J.js} +7 -7
  87. package/dist/{chunk-ZNUMTYBZ.js → chunk-NTNNGWKO.js} +3 -3
  88. package/dist/{chunk-L6XUDQW6.js → chunk-ONBYVA2L.js} +18 -7
  89. package/dist/{chunk-4J2Y6G2X.js → chunk-OQ6VGBQV.js} +1 -1
  90. package/dist/{chunk-UECTSXVZ.js → chunk-OXMEC34G.js} +1 -1
  91. package/dist/{chunk-MHW4MMV4.js → chunk-OXUX73RX.js} +10 -10
  92. package/dist/{chunk-7DGAJ7RY.js → chunk-P7WDQTQZ.js} +1 -1
  93. package/dist/{chunk-6FI5JRM3.js → chunk-PJNDSYJV.js} +301 -97
  94. package/dist/{chunk-M5CDC3VO.js → chunk-PPOJMJR5.js} +25 -15
  95. package/dist/{chunk-QYWOP6MH.js → chunk-Q2LO2ZF6.js} +3 -3
  96. package/dist/{chunk-5V3R5ZMY.js → chunk-QAES6F2D.js} +7 -7
  97. package/dist/{chunk-BQ2U65ZF.js → chunk-QXVJ33BP.js} +99 -13
  98. package/dist/{chunk-A457YCWN.js → chunk-RLY4LECT.js} +2 -2
  99. package/dist/{chunk-NHV3G6JH.js → chunk-RQIR2BOG.js} +1 -1
  100. package/dist/{chunk-5KJWA22L.js → chunk-RYRSI623.js} +5 -5
  101. package/dist/{chunk-Z745SNN4.js → chunk-TERSCNBN.js} +19 -8
  102. package/dist/{chunk-X254MPK3.js → chunk-TLNKHH52.js} +1 -1
  103. package/dist/{chunk-HIT72LVX.js → chunk-UFMWWEL3.js} +7 -7
  104. package/dist/{chunk-RONKIDIW.js → chunk-W62DJ5ZK.js} +5 -5
  105. package/dist/{chunk-PGNE33QK.js → chunk-WFEKL42K.js} +33 -15
  106. package/dist/{chunk-G2C7OTXI.js → chunk-WZCSU7ZP.js} +1 -1
  107. package/dist/{chunk-7ISXVZHB.js → chunk-XC5PF4T4.js} +4 -4
  108. package/dist/{chunk-SVOUYNKZ.js → chunk-XQUO3BOS.js} +37 -20
  109. package/dist/{chunk-XID37ELP.js → chunk-XRNXGF7I.js} +2 -2
  110. package/dist/{chunk-PAFAOFZZ.js → chunk-YALKIB2K.js} +1 -1
  111. package/dist/{chunk-SH6P5CMQ.js → chunk-YQV44DRO.js} +1 -1
  112. package/dist/{chunk-S6MXHF7C.js → chunk-YZKRMBYH.js} +1 -1
  113. package/dist/{chunk-S45SR3TL.js → chunk-ZEQOP7XA.js} +2 -2
  114. package/dist/{chunk-TCW3ALLF.js → chunk-ZFYCYUVY.js} +2 -2
  115. package/dist/{chunk-GH4QTKBM.js → chunk-ZH3SXWCV.js} +7 -7
  116. package/dist/{chunk-P2GR4V7S.js → chunk-ZNFYQMFN.js} +1 -1
  117. package/dist/{clean-5FFXB5MF.js → clean-PILJFGU2.js} +16 -16
  118. package/dist/cli.js +60 -60
  119. package/dist/{cloud-CINLC3NP.js → cloud-D7DFYONW.js} +2 -2
  120. package/dist/{cloud-XC5OSAE2.js → cloud-HBMQH4EU.js} +4 -4
  121. package/dist/{cloudrun-VVU4XERK.js → cloudrun-JZQMF5DS.js} +4 -4
  122. package/dist/commands/layout-audit.browser.js +287 -23
  123. package/dist/{compare-6ZVA7JDY.js → compare-5RSAPYJI.js} +28 -28
  124. package/dist/{compiler-4WKTHUPH.js → compiler-T4BPLRFY.js} +3 -3
  125. package/dist/{component-CYXNZPHM.js → component-DMHFV7BD.js} +3 -3
  126. package/dist/{compositions-Z53CMRFQ.js → compositions-OW776OLK.js} +10 -10
  127. package/dist/{curve-ZLVHONKG.js → curve-4GNM7DWM.js} +10 -10
  128. package/dist/{cuts-JGHDX4ND.js → cuts-M5R2LKDZ.js} +11 -11
  129. package/dist/{delete-C6KCUXEV.js → delete-MYG77L66.js} +5 -5
  130. package/dist/{deploy-3W4FAFBU.js → deploy-FGHE4FID.js} +1 -1
  131. package/dist/{describeProject-NB7JQQRZ.js → describeProject-SLAKVOOS.js} +7 -7
  132. package/dist/{diff-77IF7ZGC.js → diff-TNHEXG72.js} +29 -29
  133. package/dist/{dist-PVM257OR.js → dist-23VTYBIX.js} +9 -9
  134. package/dist/{dist-LPVHFSCW.js → dist-5ITUK4AA.js} +5 -3
  135. package/dist/{dist-2MTQQEZT.js → dist-PEDQQRFU.js} +2 -2
  136. package/dist/{doctor-7ARBZ2FZ.js → doctor-ILCPSC6S.js} +10 -10
  137. package/dist/{energy-2I6O5IQY.js → energy-SCJII6HC.js} +11 -11
  138. package/dist/{events-MCXWDE3G.js → events-D2QORX35.js} +2 -2
  139. package/dist/{events-CG6ZFBPQ.js → events-OHIGKF4W.js} +5 -5
  140. package/dist/{events-CXZTEW5W.js → events-ZMK5VRA2.js} +13 -13
  141. package/dist/{extract-NSSKZ7EO.js → extract-OD3LI3YL.js} +11 -11
  142. package/dist/{face-CZBXJIJD.js → face-SFQDTQXC.js} +11 -11
  143. package/dist/{feedback-3ZZQHXQA.js → feedback-N3JK4ULK.js} +8 -8
  144. package/dist/{ffmpeg-KOJQXOMH.js → ffmpeg-E55HQX7V.js} +6 -6
  145. package/dist/{figma-T77MIMMN.js → figma-JYVZPN5L.js} +3 -3
  146. package/dist/fontLocalizeCli.js +9 -9
  147. package/dist/{frames-GMXMQ7DQ.js → frames-BLCIN32Q.js} +12 -12
  148. package/dist/{generate-PN2N6MQV.js → generate-B7MUYYON.js} +21 -21
  149. package/dist/{get-AMP7GO2J.js → get-VQWG2NY4.js} +5 -5
  150. package/dist/{gpuPolicy-336CZTOI.js → gpuPolicy-3TMFL6TM.js} +6 -6
  151. package/dist/{grade-compare-XHR7XCIJ.js → grade-compare-LCS5CBNW.js} +29 -29
  152. package/dist/{heifImagePrep-GAATPFZJ.js → heifImagePrep-VHAJEZGL.js} +7 -7
  153. package/dist/{help-QLT7Q5CF.js → help-GSE5DFSB.js} +1 -1
  154. package/dist/{history-IBK4ICX6.js → history-RSB65UN3.js} +8 -8
  155. package/dist/hyperframe.manifest.json +1 -1
  156. package/dist/hyperframe.runtime.iife.js +73 -73
  157. package/dist/hyperframes-player.global.js +3 -3
  158. package/dist/{info-IF6TAH4N.js → info-FLLONVY5.js} +12 -12
  159. package/dist/{init-7TY3OJ6O.js → init-EAKY3LFR.js} +26 -26
  160. package/dist/{ink-PGZ7QSBH.js → ink-ZDZVD5CD.js} +11 -11
  161. package/dist/{inspect-LHLSKDYO.js → inspect-LFEK6HOL.js} +29 -29
  162. package/dist/{installer-DBTP7YGS.js → installer-5NJVGV6X.js} +4 -4
  163. package/dist/{keyframes-4M4776JR.js → keyframes-TZBDB442.js} +8 -8
  164. package/dist/{lambda-FFMB6Y76.js → lambda-RYX5NXX5.js} +10 -10
  165. package/dist/{layout-LJHS7HFD.js → layout-VATFBERH.js} +29 -29
  166. package/dist/{lint-2J5AVK6D.js → lint-QAGBHUXZ.js} +22 -12
  167. package/dist/{lintProject-2OD4CDTW.js → lintProject-BC5ISNKQ.js} +1 -1
  168. package/dist/{list-MAYBNZEL.js → list-VQZOLGEO.js} +5 -5
  169. package/dist/{localPage-EKPNDJ27.js → localPage-ZEJ7ZKIE.js} +6 -6
  170. package/dist/{login-CEU43XKU.js → login-7BL2N6JG.js} +4 -4
  171. package/dist/{look-IYTF5GLD.js → look-OKDV2W4W.js} +11 -11
  172. package/dist/{manager-DILAI3UF.js → manager-QPEMMSLW.js} +7 -7
  173. package/dist/{measure-2WZGYPYI.js → measure-WJ6TR545.js} +11 -11
  174. package/dist/{media-treatment-NEY3KFIE.js → media-treatment-QYQVLCYP.js} +12 -12
  175. package/dist/{media-use-3RF5K7J2.js → media-use-OWKQQSPJ.js} +3 -3
  176. package/dist/{models-JG3K3WHB.js → models-FZ4HL5BX.js} +10 -10
  177. package/dist/{motionShot-BXTTHXNC.js → motionShot-IHZ544WM.js} +15 -15
  178. package/dist/{normalize-audio-V42ORWPJ.js → normalize-audio-77ZTAPPL.js} +8 -8
  179. package/dist/{open-TIGOP4UL.js → open-Q7AAAYVN.js} +66 -15
  180. package/dist/{parakeetRunner-ECBLSKPA.js → parakeetRunner-TAMKXXNN.js} +11 -11
  181. package/dist/{pipeline-NAQKFYVO.js → pipeline-MK7LCHQD.js} +9 -9
  182. package/dist/{play-OCUIRYGT.js → play-WBLWBDBS.js} +19 -19
  183. package/dist/{preflight-FXN2DIKX.js → preflight-O2EH2LOC.js} +7 -7
  184. package/dist/{present-EIPGUFX2.js → present-3GW46ZYF.js} +15 -15
  185. package/dist/{preview-D3DGM36N.js → preview-MPAHNXEJ.js} +53 -499
  186. package/dist/{probe-LHGNRPYJ.js → probe-4F2PK26B.js} +11 -11
  187. package/dist/{producer-MUSGQJB5.js → producer-T462QJC7.js} +1 -1
  188. package/dist/{projectConfig-5XHCXAR2.js → projectConfig-T3WVF6H4.js} +6 -6
  189. package/dist/{publication-YHI2M2PN.js → publication-DX3VDYCI.js} +2 -2
  190. package/dist/{publish-DD4ZAHEH.js → publish-VNMKJMAK.js} +10 -10
  191. package/dist/{remove-background-AJBLAXSV.js → remove-background-7LE4IIOE.js} +10 -10
  192. package/dist/{render-32BRUXZK.js → render-5PTZ5VLW.js} +5 -5
  193. package/dist/{render-AKGMPEQ4.js → render-JKUR7OI2.js} +26 -26
  194. package/dist/{render-LCH7X3UA.js → render-RPHNBD4F.js} +31 -31
  195. package/dist/{render-batch-BGZ4XDDA.js → render-batch-X2QMZUYH.js} +5 -5
  196. package/dist/renderSetupWorker.js +1 -1
  197. package/dist/{resolver-M64IRWRP.js → resolver-AXDCEJ77.js} +4 -4
  198. package/dist/{reverse-HLLQAI77.js → reverse-DQSOSC5W.js} +1 -1
  199. package/dist/{run-Q4IUMQIY.js → run-IQLZHH6D.js} +3 -3
  200. package/dist/{screenshotCapture-INHISXPC.js → screenshotCapture-EAATIOT3.js} +7 -7
  201. package/dist/{sherpa-MQLZFNTX.js → sherpa-NPPB3DTN.js} +10 -10
  202. package/dist/skills/hyperframes-cli/references/preview-render.md +1 -1
  203. package/dist/skills/media-use/audio/scripts/audio.mjs +56 -26
  204. package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +3 -3
  205. package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +16 -1
  206. package/dist/skills/media-use/audio/scripts/lib/recording.mjs +53 -0
  207. package/dist/skills/media-use/audio/scripts/lib/voice-credit.mjs +17 -0
  208. package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +21 -0
  209. package/dist/skills/media-use/audio/scripts/recording.test.mjs +139 -0
  210. package/dist/skills/media-use/references/audio.md +2 -1
  211. package/dist/{skills-W4F5AJ2K.js → skills-S2ODBBMC.js} +8 -8
  212. package/dist/{skillsUpdateCheck-GVFHBX3G.js → skillsUpdateCheck-AOCZDRXM.js} +3 -3
  213. package/dist/{snapshot-34FUMOEG.js → snapshot-SS6WDSZ5.js} +36 -36
  214. package/dist/{src-M3NYEBA7.js → src-HHRR3UTF.js} +8 -8
  215. package/dist/{src-VL6XKFAA.js → src-MYVZPRHS.js} +5 -5
  216. package/dist/{start-A3YWCGDG.js → start-OYIXMJKF.js} +18 -18
  217. package/dist/{staticProjectServer-6NQWZP3Q.js → staticProjectServer-65X4MWEN.js} +17 -17
  218. package/dist/{status-ZBUL7MPB.js → status-JEYVWANY.js} +10 -10
  219. package/dist/studio/assets/{hyperframes-player-ZQZslutT.js → hyperframes-player-DqxUNa9H.js} +3 -3
  220. package/dist/studio/assets/{index-Bn5atbhb.js → index-CFUJyYA1.js} +1 -1
  221. package/dist/studio/assets/{index-Bz2pYyGM.js → index-Cq43Ovkf.js} +17 -17
  222. package/dist/studio/index.html +1 -1
  223. package/dist/{studio-api-CIDVEQUP.js → studio-api-GJGFGQQW.js} +9 -9
  224. package/dist/{studioServer-4FEM4AAL.js → studioServer-IS27DJNF.js} +48 -48
  225. package/dist/{sync-PXQD6JNH.js → sync-NLK2RFSR.js} +11 -11
  226. package/dist/{telemetry-W7PZ4E2A.js → telemetry-BPPPHER2.js} +5 -5
  227. package/dist/templates/_shared/AGENTS.md +3 -1
  228. package/dist/templates/_shared/CLAUDE.md +3 -1
  229. package/dist/{templates-ELZU33UU.js → templates-YWBAFFI4.js} +10 -10
  230. package/dist/{timeline-O7BR3IKC.js → timeline-FAFHG2G4.js} +17 -17
  231. package/dist/{tokens-RNFI6LFF.js → tokens-QCZBFNMS.js} +2 -2
  232. package/dist/{transcribe-GUUUSHHL.js → transcribe-2P6GMYWR.js} +23 -23
  233. package/dist/{transcribe-XQOGYK6P.js → transcribe-VL3YKFMY.js} +9 -9
  234. package/dist/{update-J37ZLNH7.js → update-NWDCG6JG.js} +9 -9
  235. package/dist/{updateCheck-ALBUZ6YM.js → updateCheck-PX4XSKDO.js} +2 -2
  236. package/dist/{upgrade-NVG73VIE.js → upgrade-VWETDZDT.js} +3 -3
  237. package/dist/{upload-HBALN6HE.js → upload-PEY7EYFV.js} +3 -2
  238. package/dist/{urlDownloader-TKEHDA5W.js → urlDownloader-7TVBPNBG.js} +5 -5
  239. package/dist/{validate-3TFHU3MJ.js → validate-HCJAHDTZ.js} +23 -23
  240. package/dist/{video-PBNQGPQO.js → video-JDUB5IFM.js} +7 -7
  241. package/dist/{voices-PF7EV4O4.js → voices-YBKCBC6K.js} +19 -19
  242. package/dist/warmCheck.js +37 -37
  243. package/package.json +1 -1
  244. package/dist/chunk-7DS3STTY.js +0 -5035
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-QUYTXJLE.js";
10
+ } from "./chunk-L2SQTHMP.js";
11
11
  import {
12
12
  readJsonFlag
13
13
  } from "./chunk-EHZESMRB.js";
@@ -17,22 +17,22 @@ import {
17
17
  loadProjectConfig,
18
18
  projectConfigPath,
19
19
  recordProjectRegistryItems
20
- } from "./chunk-HCUEMQB4.js";
20
+ } from "./chunk-7ETNIXIN.js";
21
21
  import {
22
22
  resolveItemWithDependencies,
23
23
  resolveItemsByTag
24
- } from "./chunk-YVFJWUSI.js";
24
+ } from "./chunk-FOX7LXZ2.js";
25
25
  import {
26
26
  InvalidVariableValuesError,
27
27
  prepareItem,
28
28
  publishItem
29
- } from "./chunk-D3ZYDQMH.js";
29
+ } from "./chunk-MERPHIUD.js";
30
30
  import {
31
31
  DEFAULT_REGISTRY_URL
32
- } from "./chunk-S6MXHF7C.js";
32
+ } from "./chunk-YZKRMBYH.js";
33
33
  import {
34
34
  trackRegistryItemAdded
35
- } from "./chunk-4EUUYYB3.js";
35
+ } from "./chunk-7EUZAQD6.js";
36
36
  import {
37
37
  defineCommand
38
38
  } from "./chunk-DL4OD7IA.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-HOCC4J5C.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-SH6P5CMQ.js";
44
+ } from "./chunk-YQV44DRO.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -16,12 +16,12 @@ import {
16
16
  Semaphore,
17
17
  prepareHeifImageInputs,
18
18
  withMediaProbeSlot
19
- } from "./chunk-WMZHESNZ.js";
19
+ } from "./chunk-G5UZHDEZ.js";
20
20
  import {
21
21
  EncoderInterruptedError,
22
22
  encoderFailureError,
23
23
  prepareAnimatedGifInputs
24
- } from "./chunk-IY4I7TV4.js";
24
+ } from "./chunk-2HRKRRQH.js";
25
25
  import {
26
26
  openRangeEnd,
27
27
  parseEncoderOptions
@@ -186,7 +186,7 @@ import {
186
186
  videoAudioId,
187
187
  videoStartOnMediaTimeline,
188
188
  writeCapturedFrame
189
- } from "./chunk-PGNE33QK.js";
189
+ } from "./chunk-WFEKL42K.js";
190
190
  import {
191
191
  assignBundledRuntimeCompositionIds,
192
192
  emitMountedModuleScripts,
@@ -198,7 +198,7 @@ import {
198
198
  parsesAsScript,
199
199
  prepareFlattenedInnerRoot,
200
200
  stripSdrPngColourTags
201
- } from "./chunk-76IGIELW.js";
201
+ } from "./chunk-M7Z2SEQG.js";
202
202
  import {
203
203
  collectScratchLeftovers,
204
204
  removeScratch,
@@ -226,7 +226,7 @@ import {
226
226
  redactTelemetryString,
227
227
  resolveAuthoredTimingWindow,
228
228
  toFps
229
- } from "./chunk-SH6P5CMQ.js";
229
+ } from "./chunk-YQV44DRO.js";
230
230
  import {
231
231
  COMPOSITION_SOURCE_URL,
232
232
  HF_COLOR_GRADING_ATTR,
@@ -261,14 +261,14 @@ import {
261
261
  sourceTimeAt,
262
262
  styleElementsFor,
263
263
  timeAtSourceTime
264
- } from "./chunk-7DS3STTY.js";
264
+ } from "./chunk-GREVQ2SM.js";
265
265
  import {
266
266
  chromeMajorCeiling
267
267
  } from "./chunk-WE42NVH7.js";
268
268
  import {
269
269
  lintHyperframeHtml,
270
270
  resolveReferencedStart
271
- } from "./chunk-5WKW4P6P.js";
271
+ } from "./chunk-LLUKDUVS.js";
272
272
  import {
273
273
  isUnresolvedAssetPlaceholder,
274
274
  readProjectFile,
@@ -662,6 +662,68 @@ ${seededRandomBlock}
662
662
  }
663
663
  };
664
664
 
665
+ // Timers set once rendering has started run on film time: each seek fires every timer due by then, in
666
+ // due order. Until a seek after the page reports ready, timers keep the wall clock: setup code waits on
667
+ // them while the renderer may already be seeking.
668
+ var rendering = false;
669
+ var timerQueue = [];
670
+ var nextTimerId = 1000000000;
671
+ var firingDepth = 0;
672
+ function addTimer(callback, delay, args, repeats) {
673
+ // A timer set from a firing timer waits at least 1 ms, so a zero-delay chain cannot stall a seek.
674
+ var ms = Math.max(firingDepth > 0 ? 1 : 0, Number(delay) || 0);
675
+ var entry = { id: nextTimerId++, callback: callback, args: args, due: virtualNowMs + ms, every: repeats ? Math.max(1, ms) : 0, cancelled: false };
676
+ timerQueue.push(entry);
677
+ return entry.id;
678
+ }
679
+ function cancelTimer(id) {
680
+ for (var i = 0; i < timerQueue.length; i++) {
681
+ if (timerQueue[i].id === id) {
682
+ timerQueue[i].cancelled = true;
683
+ return true;
684
+ }
685
+ }
686
+ return false;
687
+ }
688
+ function fireDueTimers(untilMs) {
689
+ // Frame times are fractional, so a timer due on a frame lands a rounding error past it; it still fires on it.
690
+ untilMs += 0.000001;
691
+ while (true) {
692
+ var next = null;
693
+ for (var i = 0; i < timerQueue.length; i++) {
694
+ var candidate = timerQueue[i];
695
+ if (!candidate.cancelled && candidate.due <= untilMs && (next === null || candidate.due < next.due)) next = candidate;
696
+ }
697
+ if (next === null) break;
698
+ var dueMs = next.due;
699
+ if (next.every) next.due += next.every;
700
+ else next.cancelled = true;
701
+ virtualNowMs = dueMs;
702
+ firingDepth++;
703
+ try {
704
+ next.callback.apply(window, next.args);
705
+ } catch (err) {
706
+ originalSetTimeout(function() { throw err; }, 0);
707
+ }
708
+ firingDepth--;
709
+ }
710
+ timerQueue = timerQueue.filter(function(entry) { return !entry.cancelled; });
711
+ }
712
+ window.setTimeout = function(callback, delay) {
713
+ if (!rendering || typeof callback !== "function") return originalSetTimeout.apply(null, arguments);
714
+ return addTimer(callback, delay, Array.prototype.slice.call(arguments, 2), false);
715
+ };
716
+ window.setInterval = function(callback, delay) {
717
+ if (!rendering || typeof callback !== "function") return originalSetInterval.apply(null, arguments);
718
+ return addTimer(callback, delay, Array.prototype.slice.call(arguments, 2), true);
719
+ };
720
+ window.clearTimeout = function(id) {
721
+ if (!cancelTimer(id)) originalClearTimeout(id);
722
+ };
723
+ window.clearInterval = function(id) {
724
+ if (!cancelTimer(id)) originalClearInterval(id);
725
+ };
726
+
665
727
  window.__HF_VIRTUAL_TIME__ = {
666
728
  originalSetTimeout: originalSetTimeout,
667
729
  originalClearTimeout: originalClearTimeout,
@@ -671,8 +733,10 @@ ${seededRandomBlock}
671
733
  originalCancelAnimationFrame: originalCancelAnimationFrame,
672
734
  seekToTime: function(nextTimeMs) {
673
735
  var safeTimeMs = Math.max(0, Number(nextTimeMs) || 0);
736
+ if (window.__renderReady === true) rendering = true;
737
+ ${seekToTimeReseedCall}fireDueTimers(safeTimeMs);
674
738
  virtualNowMs = safeTimeMs;
675
- ${seekToTimeReseedCall}flushAnimationFrame();
739
+ flushAnimationFrame();
676
740
  return virtualNowMs;
677
741
  },
678
742
  getTime: function() {
@@ -17165,7 +17229,7 @@ function assertPlanSizeWithinLimit(input) {
17165
17229
  });
17166
17230
  throw new PlanTooLargeError(breakdown.totalBytes, input.limitBytes, breakdown, input.observedAt);
17167
17231
  }
17168
- function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targetChunkFrames) {
17232
+ function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targetChunkFrames, minParallelChunks = 1) {
17169
17233
  assertPositiveInteger2("totalFrames", totalFrames);
17170
17234
  assertPositiveInteger2("maxParallelChunks", maxParallelChunks);
17171
17235
  if (configChunkSize !== void 0) {
@@ -17174,7 +17238,11 @@ function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targe
17174
17238
  if (targetChunkFrames !== void 0) {
17175
17239
  assertPositiveInteger2("targetChunkFrames", targetChunkFrames);
17176
17240
  }
17177
- const autoSizeParallel = targetChunkFrames === void 0 ? maxParallelChunks : Math.min(maxParallelChunks, Math.max(1, Math.ceil(totalFrames / targetChunkFrames)));
17241
+ assertPositiveInteger2("minParallelChunks", minParallelChunks);
17242
+ const autoSizeParallel = targetChunkFrames === void 0 ? maxParallelChunks : Math.min(
17243
+ maxParallelChunks,
17244
+ Math.max(minParallelChunks, Math.ceil(totalFrames / targetChunkFrames))
17245
+ );
17178
17246
  const resolvedChunkSize = configChunkSize ?? Math.max(MIN_CHUNK_SIZE, Math.ceil(totalFrames / autoSizeParallel));
17179
17247
  const naiveCount = Math.ceil(totalFrames / resolvedChunkSize);
17180
17248
  const chunkCount = Math.min(maxParallelChunks, Math.max(1, naiveCount));
@@ -17533,7 +17601,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
17533
17601
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
17534
17602
  if (probeResult.probeSession) {
17535
17603
  try {
17536
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-VL6XKFAA.js");
17604
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-MYVZPRHS.js");
17537
17605
  await closeCaptureSession2(probeResult.probeSession);
17538
17606
  } catch (err) {
17539
17607
  log.warn("[plan] probe session close failed", {
@@ -17753,7 +17821,8 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
17753
17821
  totalFrames,
17754
17822
  config.chunkSize,
17755
17823
  maxParallel,
17756
- config.targetChunkFrames
17824
+ config.targetChunkFrames,
17825
+ config.minParallelChunks
17757
17826
  );
17758
17827
  const chunks = buildPlanChunkSlices(
17759
17828
  frameWeights,
@@ -19715,6 +19784,20 @@ function validateDistributedRenderConfig(config) {
19715
19784
  );
19716
19785
  }
19717
19786
  }
19787
+ if (config.minParallelChunks !== void 0) {
19788
+ if (!Number.isInteger(config.minParallelChunks) || config.minParallelChunks < 1) {
19789
+ throw new InvalidConfigError(
19790
+ "config.minParallelChunks",
19791
+ `must be a positive integer; got ${config.minParallelChunks}`
19792
+ );
19793
+ }
19794
+ if (config.minParallelChunks > MAX_PARALLEL_CHUNKS_CEILING) {
19795
+ throw new InvalidConfigError(
19796
+ "config.minParallelChunks",
19797
+ `must be <= ${MAX_PARALLEL_CHUNKS_CEILING}; got ${config.minParallelChunks}`
19798
+ );
19799
+ }
19800
+ }
19718
19801
  for (const field of ["workerTimeoutSeconds", "workerConcurrency"]) {
19719
19802
  const value = config[field];
19720
19803
  if (value !== void 0 && (!Number.isInteger(value) || value < 1)) {
@@ -19884,6 +19967,7 @@ function assertDistributedOptions(value) {
19884
19967
  "chunkSize",
19885
19968
  "maxParallelChunks",
19886
19969
  "targetChunkFrames",
19970
+ "minParallelChunks",
19887
19971
  "planDirSizeLimitBytes"
19888
19972
  ]) {
19889
19973
  assertOptionalInteger(value, field, 1);
@@ -20023,6 +20107,7 @@ function distributedConfigFromRequest(request, runtime = {}) {
20023
20107
  chunkSize: distributed.chunkSize,
20024
20108
  maxParallelChunks: distributed.maxParallelChunks,
20025
20109
  targetChunkFrames: distributed.targetChunkFrames,
20110
+ minParallelChunks: distributed.minParallelChunks,
20026
20111
  runtimeCap: distributed.runtimeCap,
20027
20112
  rejectOnSystemFonts: distributed.rejectOnSystemFonts,
20028
20113
  failClosedFontFetch: distributed.failClosedFontFetch,
@@ -20050,6 +20135,7 @@ function renderRequestFromDistributedConfig(input) {
20050
20135
  ...optionalProperty("chunkSize", config.chunkSize),
20051
20136
  ...optionalProperty("maxParallelChunks", config.maxParallelChunks),
20052
20137
  ...optionalProperty("targetChunkFrames", config.targetChunkFrames),
20138
+ ...optionalProperty("minParallelChunks", config.minParallelChunks),
20053
20139
  ...optionalProperty("runtimeCap", config.runtimeCap),
20054
20140
  ...optionalProperty("rejectOnSystemFonts", config.rejectOnSystemFonts),
20055
20141
  ...optionalProperty("failClosedFontFetch", config.failClosedFontFetch),
@@ -20931,7 +21017,7 @@ function startServer(options = {}) {
20931
21017
  });
20932
21018
  async function shutdown(signal) {
20933
21019
  log.info(`Received ${signal}, shutting down`);
20934
- const { drainBrowserPool } = await import("./src-VL6XKFAA.js");
21020
+ const { drainBrowserPool } = await import("./src-MYVZPRHS.js");
20935
21021
  await drainBrowserPool().catch(() => {
20936
21022
  });
20937
21023
  const handle = await Promise.race([
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-TSYRN646.js";
12
12
  import {
13
13
  fetchLocalPageUrl
14
- } from "./chunk-4J2Y6G2X.js";
14
+ } from "./chunk-OQ6VGBQV.js";
15
15
  import {
16
16
  ensureCaptureDirSync,
17
17
  writeCaptureFileSync
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-AWDFDFI3.js";
26
26
  import {
27
27
  isBlockedNetworkHost
28
- } from "./chunk-PGNE33QK.js";
28
+ } from "./chunk-WFEKL42K.js";
29
29
  import {
30
30
  DOMParser,
31
31
  parseHTML
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-SH6P5CMQ.js";
9
+ } from "./chunk-YQV44DRO.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-J3OVTOVC.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-PWP4W2PF.js";
19
+ } from "./chunk-IRWQMKV7.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-HOCC4J5C.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-PGNE33QK.js";
32
+ } from "./chunk-WFEKL42K.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-LDV6P3DG.js";
47
+ } from "./chunk-DYPAXBNK.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
51
  } from "./chunk-CMQZP52Y.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-XID37ELP.js";
54
+ } from "./chunk-XRNXGF7I.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -249,7 +249,7 @@ function checkEnvironment() {
249
249
  return { ok: true, detail: parts.join(" \xB7 ") };
250
250
  }
251
251
  async function checkWhisper() {
252
- const { findWhisper, getInstallInstructions } = await import("./manager-DILAI3UF.js");
252
+ const { findWhisper, getInstallInstructions } = await import("./manager-QPEMMSLW.js");
253
253
  const result = findWhisper();
254
254
  if (result) {
255
255
  return { ok: true, detail: result.executablePath };
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-R4EWRIDL.js";
13
13
  import {
14
14
  findFFmpeg
15
- } from "./chunk-CKZQQ2DO.js";
15
+ } from "./chunk-4UXCWPHU.js";
16
16
  import {
17
17
  stoppableExecFile
18
18
  } from "./chunk-HU2SPFNG.js";
@@ -129,9 +129,11 @@ function findFromSystem() {
129
129
  var BUILD_DIR = hyperframesCacheDir("whisper", "whisper.cpp");
130
130
  var WHISPER_REPO = "https://github.com/ggml-org/whisper.cpp.git";
131
131
  function findBuiltBinary() {
132
+ const exe = platform() === "win32" ? ".exe" : "";
132
133
  for (const p of [
133
- join(BUILD_DIR, "build", "bin", "whisper-cli"),
134
- join(BUILD_DIR, "build", "whisper-cli")
134
+ join(BUILD_DIR, "build", "bin", "Release", `whisper-cli${exe}`),
135
+ join(BUILD_DIR, "build", "bin", `whisper-cli${exe}`),
136
+ join(BUILD_DIR, "build", `whisper-cli${exe}`)
135
137
  ]) {
136
138
  if (existsSync(p)) return { executablePath: p, source: "build" };
137
139
  }
@@ -198,10 +200,10 @@ function getInstallInstructions() {
198
200
  return "brew install whisper-cpp";
199
201
  }
200
202
  if (platform() === "linux") {
201
- return "Build from source: https://github.com/ggml-org/whisper.cpp#building (requires cmake and a C compiler)";
203
+ return "sudo apt-get install -y git cmake build-essential (Debian/Ubuntu; other distros: git, cmake and a C compiler, see https://github.com/ggml-org/whisper.cpp#building), then re-run";
202
204
  }
203
205
  if (platform() === "win32") {
204
- return "Build with cmake: https://github.com/ggml-org/whisper.cpp#building";
206
+ return 'winget install -e --id Git.Git && winget install -e --id Kitware.CMake && winget install -e --id Microsoft.VisualStudio.2022.BuildTools --override "--passive --add Microsoft.VisualStudio.Workload.VCTools", then re-run in a new terminal (or set HYPERFRAMES_WHISPER_PATH to the whisper-cli.exe in whisper-bin-x64.zip from https://github.com/ggml-org/whisper.cpp/releases)';
205
207
  }
206
208
  return "See https://github.com/ggml-org/whisper.cpp#building";
207
209
  }
@@ -223,6 +225,8 @@ async function ensureWhisper(options) {
223
225
  "whisper-cpp not found; runtime installation is disabled by --no-runtime-install."
224
226
  );
225
227
  }
228
+ const causes = [];
229
+ const why = (err) => (err instanceof Error ? err.message : String(err)).trim();
226
230
  if (platform() === "darwin" && hasBrew()) {
227
231
  options?.onProgress?.("Installing whisper-cpp via Homebrew...");
228
232
  try {
@@ -233,18 +237,25 @@ async function ensureWhisper(options) {
233
237
  });
234
238
  const installed = findFromSystem();
235
239
  if (installed) return { ...installed, source: "brew" };
236
- } catch {
240
+ } catch (err) {
241
+ causes.push(`brew install whisper-cpp failed: ${why(err)}`);
237
242
  }
238
243
  signal?.throwIfAborted();
239
244
  }
240
245
  if (hasGit() && hasCmake()) {
241
246
  try {
242
247
  return await buildFromSource(options?.onProgress, signal);
243
- } catch {
248
+ } catch (err) {
249
+ causes.push(why(err));
244
250
  }
245
251
  signal?.throwIfAborted();
252
+ } else {
253
+ const missing = [!hasGit() && "git", !hasCmake() && "cmake"].filter(Boolean).join(" and ");
254
+ causes.push(`cannot build whisper.cpp: ${missing} not found on PATH`);
246
255
  }
247
- throw new WhisperUnavailableError(`whisper-cpp not found. Install: ${getInstallInstructions()}`);
256
+ throw new WhisperUnavailableError(
257
+ `whisper-cpp not found (${causes.join("; ")}). Install: ${getInstallInstructions()}`
258
+ );
248
259
  }
249
260
  async function ensureModel(model = DEFAULT_MODEL, options) {
250
261
  const modelPath = join(MODELS_DIR, `ggml-${model}.bin`);
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-RPSR5YSD.js";
13
+ } from "./chunk-CZK7A5IB.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-XU5LAY46.js";
9
+ } from "./chunk-LIFQONFJ.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-P2DAWEPF.js";
15
+ } from "./chunk-D7C6NOOO.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
19
- } from "./chunk-Q6DA3X34.js";
19
+ } from "./chunk-IQR26ZJD.js";
20
20
  import {
21
21
  projectOf,
22
22
  runFfmpeg
23
- } from "./chunk-RFG4XUMQ.js";
23
+ } from "./chunk-I7WVS7WN.js";
24
24
  import {
25
25
  initialModelForLanguage,
26
26
  transcribe
27
- } from "./chunk-QYWOP6MH.js";
27
+ } from "./chunk-Q2LO2ZF6.js";
28
28
  import {
29
29
  createRenderCancellationScope,
30
30
  stoppedByCancelSignal
31
- } from "./chunk-C2PQTWAH.js";
31
+ } from "./chunk-MNMIIDOX.js";
32
32
  import {
33
33
  DEFAULT_MODEL,
34
34
  findWhisper,
35
35
  isWhisperUnavailable
36
- } from "./chunk-Z745SNN4.js";
36
+ } from "./chunk-TERSCNBN.js";
37
37
  import {
38
38
  formatSrt,
39
39
  formatVtt,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-LLMSX6V6.js";
10
10
  import {
11
11
  readCompositionFps
12
- } from "./chunk-7PG57ERE.js";
12
+ } from "./chunk-GH6GWAID.js";
13
13
  import {
14
14
  findSyncPartner,
15
15
  readLinkTiming,
@@ -19,23 +19,23 @@ import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-PGNE33QK.js";
22
+ } from "./chunk-WFEKL42K.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-SH6P5CMQ.js";
27
+ } from "./chunk-YQV44DRO.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-7DS3STTY.js";
34
+ } from "./chunk-GREVQ2SM.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-5WKW4P6P.js";
38
+ } from "./chunk-LLUKDUVS.js";
39
39
  import {
40
40
  resolveAuthoredAssetFile
41
41
  } from "./chunk-WVRAFHJU.js";
@@ -48,7 +48,7 @@ import {
48
48
  renderFrameIdForRenderId,
49
49
  resolveAuthoredTimingWindow,
50
50
  toFps
51
- } from "./chunk-SH6P5CMQ.js";
51
+ } from "./chunk-YQV44DRO.js";
52
52
  import {
53
53
  AUDIO_GROUP_RENDER_ID_ATTR,
54
54
  AUTHORED_SOURCE_BEGIN,
@@ -91,7 +91,7 @@ import {
91
91
  sourceTimeAt,
92
92
  timeAtSourceTime,
93
93
  volumeSegmentSampleCount
94
- } from "./chunk-7DS3STTY.js";
94
+ } from "./chunk-GREVQ2SM.js";
95
95
  import {
96
96
  withHyperframesBrowserMarker
97
97
  } from "./chunk-K4MJX7SR.js";
@@ -105,7 +105,7 @@ import {
105
105
  } from "./chunk-WE42NVH7.js";
106
106
  import {
107
107
  resolveReferencedStart
108
- } from "./chunk-5WKW4P6P.js";
108
+ } from "./chunk-LLUKDUVS.js";
109
109
  import {
110
110
  isWithinProjectRoot,
111
111
  resolveProjectRelativeSrc
@@ -1985,10 +1985,13 @@ async function assertWebGpuAdapterAvailable(page, requiresWebGpu, softwareWebGpu
1985
1985
  return await Promise.race([
1986
1986
  probe(),
1987
1987
  new Promise((resolve2) => {
1988
- timer = setTimeout(() => {
1989
- expired = true;
1990
- resolve2(false);
1991
- }, timeoutMs);
1988
+ timer = (globalThis.window?.__HF_VIRTUAL_TIME__?.originalSetTimeout ?? setTimeout)(
1989
+ () => {
1990
+ expired = true;
1991
+ resolve2(false);
1992
+ },
1993
+ timeoutMs
1994
+ );
1992
1995
  })
1993
1996
  ]);
1994
1997
  } catch {
@@ -2309,7 +2312,7 @@ async function captureDrawElementFrame(page, width, height, format = "jpeg", qua
2309
2312
  rejectCapture(e instanceof Error ? e : new Error(String(e)));
2310
2313
  return;
2311
2314
  }
2312
- setTimeout(() => {
2315
+ (window.__HF_VIRTUAL_TIME__?.originalSetTimeout ?? setTimeout)(() => {
2313
2316
  try {
2314
2317
  resolveCapture(
2315
2318
  fmt === "png" ? canvas.toDataURL("image/png") : canvas.toDataURL("image/jpeg", q / 100)
@@ -2329,7 +2332,7 @@ async function captureDrawElementFrame(page, width, height, format = "jpeg", qua
2329
2332
  };
2330
2333
  canvas.addEventListener("paint", onPaint);
2331
2334
  usedRequestPaint = aw.__hfDeInvalidate?.() === true;
2332
- setTimeout(() => {
2335
+ (window.__HF_VIRTUAL_TIME__?.originalSetTimeout ?? setTimeout)(() => {
2333
2336
  canvas.removeEventListener("paint", onPaint);
2334
2337
  drawAndEncode();
2335
2338
  }, 250);
@@ -2586,7 +2589,7 @@ async function produceDrawElementFrame(page, width, height, quality = 80, syncTo
2586
2589
  };
2587
2590
  canvas.addEventListener("paint", onPaint);
2588
2591
  usedRequestPaint = aw.__hfDeInvalidate?.() === true;
2589
- setTimeout(() => {
2592
+ (window.__HF_VIRTUAL_TIME__?.originalSetTimeout ?? setTimeout)(() => {
2590
2593
  canvas.removeEventListener("paint", onPaint);
2591
2594
  drawAndKick();
2592
2595
  }, 250);
@@ -2664,7 +2667,7 @@ async function produceDrawElementFrameBatch(page, times, width, height, quality
2664
2667
  };
2665
2668
  canvas.addEventListener("paint", settle);
2666
2669
  usedRequestPaint = aw.__hfDeInvalidate?.() === true;
2667
- setTimeout(settle, 250);
2670
+ (window.__HF_VIRTUAL_TIME__?.originalSetTimeout ?? setTimeout)(settle, 250);
2668
2671
  });
2669
2672
  let prevBitmap = Promise.resolve();
2670
2673
  let prevBitmapIdx = -1;
@@ -5737,7 +5740,10 @@ async function decodeDynamicCssBackgroundImages(page) {
5737
5740
  image.src = url;
5738
5741
  let timer;
5739
5742
  const expired = new Promise((resolve2) => {
5740
- timer = setTimeout(() => resolve2("late"), limitMs);
5743
+ timer = (window.__HF_VIRTUAL_TIME__?.originalSetTimeout ?? setTimeout)(
5744
+ () => resolve2("late"),
5745
+ limitMs
5746
+ );
5741
5747
  });
5742
5748
  try {
5743
5749
  const outcome = await Promise.race([
@@ -6469,7 +6475,9 @@ var HF_READY_DIAGNOSTIC_EXPR = `(async function() {
6469
6475
  function() { settled[key] = "rejected"; },
6470
6476
  );
6471
6477
  });
6472
- await new Promise(function(r) { setTimeout(r, 0); });
6478
+ await new Promise(function(r) {
6479
+ (window.__HF_VIRTUAL_TIME__ && window.__HF_VIRTUAL_TIME__.originalSetTimeout || setTimeout)(r, 0);
6480
+ });
6473
6481
  }
6474
6482
  // A thenable resolving via its own setTimeout(0) can still misreport as
6475
6483
  // pending here (macrotask registration order, not resolution order), a
@@ -13829,9 +13837,19 @@ function parseImageElements(html) {
13829
13837
  }
13830
13838
  var firstFrameColourCache = /* @__PURE__ */ new Map();
13831
13839
  function readKeyframeTransfers(videoPath, codec) {
13840
+ let traced = "";
13841
+ let rest = "";
13842
+ const onStderr = (chunk) => {
13843
+ const lines = (rest + chunk).split("\n");
13844
+ rest = lines.pop() ?? "";
13845
+ for (const line of lines) if (line.includes("transfer_characteristics")) traced += `${line}
13846
+ `;
13847
+ };
13832
13848
  return inExtractionSlot(
13833
- () => runFfmpeg([...urlInputArgs(videoPath), ...keyframeTransferArgs(videoPath, codec)])
13834
- ).then((result) => result.success ? parseKeyframeTransfers(result.stderr) : null);
13849
+ () => runFfmpeg([...urlInputArgs(videoPath), ...keyframeTransferArgs(videoPath, codec)], {
13850
+ onStderr
13851
+ })
13852
+ ).then((result) => result.success ? parseKeyframeTransfers(traced + rest) : null);
13835
13853
  }
13836
13854
  function readFirstFrameColour(videoPath, codec) {
13837
13855
  const identity = mediaFileIdentity(videoPath);
@@ -10,7 +10,7 @@ import {
10
10
  ratioOf,
11
11
  readClip,
12
12
  round
13
- } from "./chunk-RFG4XUMQ.js";
13
+ } from "./chunk-I7WVS7WN.js";
14
14
 
15
15
  // src/measure/energy.ts
16
16
  var ENERGY_RATE = 12;
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-6BEFEWFB.js";
16
16
  import {
17
17
  trackSkillsInstallSkipped
18
- } from "./chunk-4EUUYYB3.js";
18
+ } from "./chunk-7EUZAQD6.js";
19
19
  import {
20
20
  diag
21
21
  } from "./chunk-MCDNAIFF.js";
@@ -36,11 +36,11 @@ import {
36
36
  isCoreSkill,
37
37
  presentSkills,
38
38
  retiredSkillNotice
39
- } from "./chunk-POKB2QVF.js";
39
+ } from "./chunk-H7N3J7Y3.js";
40
40
  import {
41
41
  NO_UPDATE_NOTICE,
42
42
  withMeta
43
- } from "./chunk-LDV6P3DG.js";
43
+ } from "./chunk-DYPAXBNK.js";
44
44
  import {
45
45
  failureMessage,
46
46
  jsonFailure
@@ -51,7 +51,7 @@ import {
51
51
  } from "./chunk-66W5IWLO.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-XID37ELP.js";
54
+ } from "./chunk-XRNXGF7I.js";
55
55
 
56
56
  // src/commands/skills.ts
57
57
  import { execFileSync, spawn } from "child_process";