hyperframes 0.9.20 → 0.9.22

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 (247) hide show
  1. package/dist/{add-6U3Y7DEN.js → add-P5EPMJ5Q.js} +11 -11
  2. package/dist/{agentPromptGenerator-2U62YSRT.js → agentPromptGenerator-MEUCOVJI.js} +6 -6
  3. package/dist/{animatedGifPrep-RC6CYTRI.js → animatedGifPrep-AOFUPYBU.js} +6 -6
  4. package/dist/api.js +29 -29
  5. package/dist/{asset-ER2CUS6B.js → asset-RH3JROBG.js} +2 -2
  6. package/dist/{assetCataloger-425SRTPW.js → assetCataloger-64MQJFOZ.js} +7 -7
  7. package/dist/{audio-JUAMPMWA.js → audio-BQNS5FYY.js} +15 -15
  8. package/dist/{auth-DQ52RE6K.js → auth-QWQ42CNZ.js} +2 -2
  9. package/dist/{autoUpdate-YUZGZ5ZI.js → autoUpdate-J26RSYB3.js} +2 -2
  10. package/dist/{avatars-F4HNQISE.js → avatars-OI5NDVRA.js} +10 -10
  11. package/dist/{backgroundChecks-MSOJBGL7.js → backgroundChecks-GA5TOAT7.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-33AZEDWV.js → batchRender-FQPTPD5C.js} +3 -3
  14. package/dist/{beats-WI3UU5KD.js → beats-3PKJQEVM.js} +8 -8
  15. package/dist/{benchmark-ZE5Y75YM.js → benchmark-UXWF7XLU.js} +8 -8
  16. package/dist/{billing-N4BCUG7R.js → billing-A6GCRCBD.js} +10 -10
  17. package/dist/{browser-HUOPVD2U.js → browser-GT7GX3OU.js} +5 -5
  18. package/dist/{bundleWithLocalizedFonts-PRR3UAJT.js → bundleWithLocalizedFonts-FW5W6YB3.js} +1 -1
  19. package/dist/{capture-2QNE2DEY.js → capture-EFW47UGO.js} +3 -3
  20. package/dist/{capture-UWQ2GBML.js → capture-RIKBIXAD.js} +13 -13
  21. package/dist/{captureCompositionFrame-S2A5KJUT.js → captureCompositionFrame-ZRYVO54J.js} +12 -12
  22. package/dist/{catalog-BQZ55PQP.js → catalog-ZV33ASKR.js} +11 -11
  23. package/dist/{catch-up-JFII6DVC.js → catch-up-SXGWPMIJ.js} +6 -6
  24. package/dist/{check-KPFCL46S.js → check-P4SYKGRB.js} +37 -37
  25. package/dist/{checkAudio-NTES344V.js → checkAudio-MNVMXEDK.js} +9 -9
  26. package/dist/{checkBrowser-WQWRQO2X.js → checkBrowser-A4HK7M5F.js} +31 -31
  27. package/dist/{chunk-WMZHESNZ.js → chunk-2PRAPMMF.js} +2 -2
  28. package/dist/{chunk-UXEUKILH.js → chunk-2ZLUFEPP.js} +1 -1
  29. package/dist/{chunk-A457YCWN.js → chunk-3H547JQP.js} +2 -2
  30. package/dist/{chunk-KPCCWI5Q.js → chunk-4FNJ2QNP.js} +2 -2
  31. package/dist/{chunk-YVFJWUSI.js → chunk-4YF5DHN5.js} +1 -1
  32. package/dist/{chunk-4EUUYYB3.js → chunk-5H5DZTVW.js} +2 -2
  33. package/dist/{chunk-ZNUMTYBZ.js → chunk-5HEUGZ7C.js} +3 -3
  34. package/dist/{chunk-JXGFZG73.js → chunk-5UF4Z3KI.js} +1 -1
  35. package/dist/{chunk-FXPBFARU.js → chunk-5V6NEPTW.js} +1 -1
  36. package/dist/{chunk-LNHMJ555.js → chunk-5YQCUH6I.js} +1 -1
  37. package/dist/{chunk-PWP4W2PF.js → chunk-5YVA7VYC.js} +1 -1
  38. package/dist/{chunk-HCUEMQB4.js → chunk-6OWZRBUW.js} +1 -1
  39. package/dist/{chunk-5V3R5ZMY.js → chunk-7GX3DFQZ.js} +7 -7
  40. package/dist/{chunk-LDV6P3DG.js → chunk-7IBVRNW2.js} +1 -1
  41. package/dist/{chunk-QUYTXJLE.js → chunk-AOMZDUV2.js} +1 -1
  42. package/dist/{chunk-7DGAJ7RY.js → chunk-B2XUJ5Q5.js} +1 -1
  43. package/dist/{chunk-7PG57ERE.js → chunk-C2I3BLHP.js} +1 -1
  44. package/dist/{chunk-XID37ELP.js → chunk-CNNU335R.js} +2 -2
  45. package/dist/{chunk-KKNAM57Z.js → chunk-D3CD6TQ3.js} +1 -1
  46. package/dist/{chunk-3XJM7XZN.js → chunk-D3NWGOXW.js} +30 -0
  47. package/dist/{chunk-UECTSXVZ.js → chunk-DCTVIIIY.js} +1 -1
  48. package/dist/{chunk-BA3FUJOU.js → chunk-DMEHR64W.js} +38 -4
  49. package/dist/{chunk-G2C7OTXI.js → chunk-ELYZGVJQ.js} +1 -1
  50. package/dist/{chunk-FY2QFPEK.js → chunk-EXZA6WBB.js} +1 -1
  51. package/dist/chunk-FRBQYFUV.js +481 -0
  52. package/dist/{chunk-MQFX4OD3.js → chunk-G4UQV75W.js} +1 -1
  53. package/dist/{chunk-D3ZYDQMH.js → chunk-G7DS5B4U.js} +2 -2
  54. package/dist/{chunk-LEVO6XYF.js → chunk-GNUTRVGG.js} +33 -22
  55. package/dist/{chunk-GNY2WZKA.js → chunk-GQR6KIVQ.js} +3 -3
  56. package/dist/{chunk-S45SR3TL.js → chunk-H2IA6JUW.js} +2 -2
  57. package/dist/chunk-H2PVMZ2M.js +5035 -0
  58. package/dist/{chunk-N2I2YUL7.js → chunk-H5L6ZLWW.js} +7 -7
  59. package/dist/{chunk-MHW4MMV4.js → chunk-IGWGLKKL.js} +10 -10
  60. package/dist/{chunk-P2DAWEPF.js → chunk-IPW3FPE3.js} +2 -2
  61. package/dist/{chunk-Q6DA3X34.js → chunk-ITABEOC6.js} +3 -3
  62. package/dist/{chunk-5KJWA22L.js → chunk-JAA4EBWV.js} +5 -5
  63. package/dist/{chunk-QYWOP6MH.js → chunk-JIICYVRY.js} +3 -3
  64. package/dist/{chunk-C2PQTWAH.js → chunk-KA5IELN4.js} +1 -1
  65. package/dist/{chunk-RPSR5YSD.js → chunk-KES2XW4I.js} +4 -4
  66. package/dist/{chunk-L6XUDQW6.js → chunk-KEUNBZWA.js} +18 -7
  67. package/dist/{chunk-BQ2U65ZF.js → chunk-KZWYAZZH.js} +115 -21
  68. package/dist/{chunk-SH6P5CMQ.js → chunk-L7ED3RE6.js} +1 -1
  69. package/dist/{chunk-Z745SNN4.js → chunk-LC3UH6GM.js} +19 -8
  70. package/dist/{chunk-4J2Y6G2X.js → chunk-LLLOEJPL.js} +1 -1
  71. package/dist/{chunk-5WKW4P6P.js → chunk-LLUKDUVS.js} +28 -15
  72. package/dist/{chunk-S6MXHF7C.js → chunk-LNE3SUVH.js} +1 -1
  73. package/dist/{chunk-OAQTFIWB.js → chunk-LWF7T7Y3.js} +3 -3
  74. package/dist/{chunk-TGSBNJYV.js → chunk-MD3DZRKM.js} +2 -2
  75. package/dist/{chunk-JWORQ5WQ.js → chunk-MFDNMTOP.js} +1 -1
  76. package/dist/{chunk-POKB2QVF.js → chunk-NJD7YMBD.js} +2 -2
  77. package/dist/{chunk-FPM6B5X5.js → chunk-NOTTJWVZ.js} +2 -2
  78. package/dist/{chunk-UH6JF4TY.js → chunk-NPBMNB7S.js} +4 -4
  79. package/dist/{chunk-GH4QTKBM.js → chunk-NZ24SOAQ.js} +7 -7
  80. package/dist/{chunk-4HWNUBW2.js → chunk-O3ES5O4T.js} +3 -3
  81. package/dist/{chunk-35APUSDP.js → chunk-O75PHTJC.js} +1 -1
  82. package/dist/{chunk-OWBXXAYQ.js → chunk-OHHYRXX7.js} +2 -2
  83. package/dist/{chunk-USRF4NA6.js → chunk-OUAMAOQS.js} +10 -10
  84. package/dist/{chunk-IBXWPFGK.js → chunk-P3VIGBOY.js} +2 -2
  85. package/dist/{chunk-XACDCHJF.js → chunk-P7GVEHVM.js} +1 -1
  86. package/dist/{chunk-TKHWUM6J.js → chunk-PE3QPW77.js} +2 -2
  87. package/dist/{chunk-7ISXVZHB.js → chunk-PHA3H4JX.js} +4 -4
  88. package/dist/{chunk-6FI5JRM3.js → chunk-PJNDSYJV.js} +301 -97
  89. package/dist/{chunk-M5CDC3VO.js → chunk-PPOJMJR5.js} +25 -15
  90. package/dist/{chunk-5ECZJECP.js → chunk-PZSPEUI5.js} +1 -1
  91. package/dist/{chunk-76IGIELW.js → chunk-QMD3FTBL.js} +2 -2
  92. package/dist/{chunk-XU5LAY46.js → chunk-QMYMXTRT.js} +1 -1
  93. package/dist/{chunk-3WLJMGCI.js → chunk-QYWBLJ2X.js} +1 -1
  94. package/dist/{chunk-4XOQILDV.js → chunk-S6M6TIEI.js} +15 -4
  95. package/dist/{chunk-X254MPK3.js → chunk-SCTDZ5C7.js} +1 -1
  96. package/dist/{chunk-PAFAOFZZ.js → chunk-SMRSQ5CF.js} +1 -1
  97. package/dist/{chunk-WNPIJ7UG.js → chunk-TIDNGNPA.js} +1 -1
  98. package/dist/{chunk-VM6PDH32.js → chunk-TRHWNVOY.js} +1 -1
  99. package/dist/{chunk-NZ6JYCGU.js → chunk-UQVRQ2SL.js} +3 -3
  100. package/dist/{chunk-RFG4XUMQ.js → chunk-US24WEIH.js} +1 -1
  101. package/dist/{chunk-TCW3ALLF.js → chunk-UTCYYAGP.js} +2 -2
  102. package/dist/{chunk-Y5ZW3BRK.js → chunk-V43H4NSJ.js} +3 -3
  103. package/dist/{chunk-76HDNQDL.js → chunk-VBSTLL2I.js} +2 -2
  104. package/dist/{chunk-QSOIL3EE.js → chunk-VIVMNHG7.js} +3 -3
  105. package/dist/{chunk-DNWZ66ND.js → chunk-VLW6AHXZ.js} +1 -1
  106. package/dist/{chunk-PGNE33QK.js → chunk-WD6Q4UXG.js} +33 -15
  107. package/dist/{chunk-NSNT4DNY.js → chunk-WIMLEJLH.js} +3 -3
  108. package/dist/{chunk-HIT72LVX.js → chunk-X2WUBMVK.js} +7 -7
  109. package/dist/{chunk-CKZQQ2DO.js → chunk-XVFUUT57.js} +1 -1
  110. package/dist/{chunk-3KJW4NNP.js → chunk-XWXZFUFZ.js} +12 -14
  111. package/dist/{chunk-NHV3G6JH.js → chunk-YAC7QLYC.js} +1 -1
  112. package/dist/{chunk-7CGSZ3OR.js → chunk-YE64DXEB.js} +13 -13
  113. package/dist/{chunk-IY4I7TV4.js → chunk-YSKP5MCC.js} +2 -2
  114. package/dist/{chunk-RONKIDIW.js → chunk-YYQO5K45.js} +5 -5
  115. package/dist/{chunk-SVOUYNKZ.js → chunk-Z6AR7JQZ.js} +37 -20
  116. package/dist/{chunk-P2GR4V7S.js → chunk-ZNFYQMFN.js} +1 -1
  117. package/dist/{clean-5FFXB5MF.js → clean-DXVKCD35.js} +16 -16
  118. package/dist/cli.js +60 -60
  119. package/dist/{cloud-XC5OSAE2.js → cloud-5ZJIOZEM.js} +4 -4
  120. package/dist/{cloud-CINLC3NP.js → cloud-D7DFYONW.js} +2 -2
  121. package/dist/{cloudrun-VVU4XERK.js → cloudrun-QGCPCLS7.js} +4 -4
  122. package/dist/commands/layout-audit.browser.js +287 -23
  123. package/dist/{compare-6ZVA7JDY.js → compare-CG7ZLORR.js} +28 -28
  124. package/dist/{compiler-4WKTHUPH.js → compiler-5ZKASKDC.js} +3 -3
  125. package/dist/{component-CYXNZPHM.js → component-B4KAGJ6J.js} +3 -3
  126. package/dist/{compositions-Z53CMRFQ.js → compositions-U4KYWKZJ.js} +10 -10
  127. package/dist/{curve-ZLVHONKG.js → curve-VT2COPVD.js} +10 -10
  128. package/dist/{cuts-JGHDX4ND.js → cuts-6VEK5M4B.js} +11 -11
  129. package/dist/{delete-C6KCUXEV.js → delete-7C2IRPUB.js} +5 -5
  130. package/dist/{deploy-3W4FAFBU.js → deploy-3ICL7ZKT.js} +1 -1
  131. package/dist/{describeProject-NB7JQQRZ.js → describeProject-AYSN54IN.js} +7 -7
  132. package/dist/{diff-77IF7ZGC.js → diff-W4PY7MNM.js} +29 -29
  133. package/dist/{dist-LPVHFSCW.js → dist-5ITUK4AA.js} +5 -3
  134. package/dist/{dist-2MTQQEZT.js → dist-JSAOJXV4.js} +2 -2
  135. package/dist/{dist-PVM257OR.js → dist-KTTPEXT3.js} +9 -9
  136. package/dist/{doctor-7ARBZ2FZ.js → doctor-AWJLVONI.js} +10 -10
  137. package/dist/{energy-2I6O5IQY.js → energy-FEAXXITP.js} +11 -11
  138. package/dist/{events-MCXWDE3G.js → events-BEECDETU.js} +2 -2
  139. package/dist/{events-CG6ZFBPQ.js → events-PQ5Q44FC.js} +5 -5
  140. package/dist/{events-CXZTEW5W.js → events-UBP3QVVZ.js} +13 -13
  141. package/dist/{extract-NSSKZ7EO.js → extract-P3RDDMAN.js} +11 -11
  142. package/dist/{face-CZBXJIJD.js → face-CFGKOSS3.js} +11 -11
  143. package/dist/{feedback-3ZZQHXQA.js → feedback-BQONI5Z3.js} +8 -8
  144. package/dist/{ffmpeg-KOJQXOMH.js → ffmpeg-ZZ7LIQ5Z.js} +6 -6
  145. package/dist/{figma-T77MIMMN.js → figma-MCD4A356.js} +3 -3
  146. package/dist/fontLocalizeCli.js +9 -9
  147. package/dist/{frames-GMXMQ7DQ.js → frames-AZR3TRLH.js} +12 -12
  148. package/dist/{generate-PN2N6MQV.js → generate-K4EQAVJW.js} +21 -21
  149. package/dist/{get-AMP7GO2J.js → get-WJ3ELK7A.js} +5 -5
  150. package/dist/{gpuPolicy-336CZTOI.js → gpuPolicy-PUE7IADC.js} +6 -6
  151. package/dist/{grade-compare-XHR7XCIJ.js → grade-compare-GCFG242J.js} +29 -29
  152. package/dist/{heifImagePrep-GAATPFZJ.js → heifImagePrep-QXOU7MLY.js} +7 -7
  153. package/dist/{help-QLT7Q5CF.js → help-GT6ZDVJG.js} +1 -1
  154. package/dist/{history-IBK4ICX6.js → history-5IYTGJEF.js} +8 -8
  155. package/dist/hyperframe.manifest.json +1 -1
  156. package/dist/hyperframe.runtime.iife.js +74 -74
  157. package/dist/hyperframes-player.global.js +3 -3
  158. package/dist/{info-IF6TAH4N.js → info-5AJYESSM.js} +12 -12
  159. package/dist/{init-7TY3OJ6O.js → init-D6KHCFJY.js} +26 -26
  160. package/dist/{ink-PGZ7QSBH.js → ink-VIUT4ZGK.js} +11 -11
  161. package/dist/{inspect-LHLSKDYO.js → inspect-AOA5QC2L.js} +29 -29
  162. package/dist/{installer-DBTP7YGS.js → installer-OOGT5H33.js} +4 -4
  163. package/dist/{keyframes-4M4776JR.js → keyframes-RFOY5TRI.js} +8 -8
  164. package/dist/{lambda-FFMB6Y76.js → lambda-JR66KCP6.js} +10 -10
  165. package/dist/{layout-LJHS7HFD.js → layout-O22LQNQJ.js} +29 -29
  166. package/dist/{lint-2J5AVK6D.js → lint-FVSXPEHO.js} +22 -12
  167. package/dist/{lintProject-2OD4CDTW.js → lintProject-BC5ISNKQ.js} +1 -1
  168. package/dist/{list-MAYBNZEL.js → list-L4QR4ECB.js} +5 -5
  169. package/dist/{localPage-EKPNDJ27.js → localPage-LX46Y2RP.js} +6 -6
  170. package/dist/{login-CEU43XKU.js → login-YRUEKLVU.js} +4 -4
  171. package/dist/{look-IYTF5GLD.js → look-4KCFSE7J.js} +11 -11
  172. package/dist/{manager-DILAI3UF.js → manager-HTG3C2WE.js} +7 -7
  173. package/dist/{measure-2WZGYPYI.js → measure-Y2KDNWOG.js} +11 -11
  174. package/dist/{media-treatment-NEY3KFIE.js → media-treatment-2J5REU6B.js} +12 -12
  175. package/dist/{media-use-3RF5K7J2.js → media-use-7EN3JP2H.js} +3 -3
  176. package/dist/{models-JG3K3WHB.js → models-3IFIWCKT.js} +10 -10
  177. package/dist/{motionShot-BXTTHXNC.js → motionShot-RI2JVXVU.js} +15 -15
  178. package/dist/{normalize-audio-V42ORWPJ.js → normalize-audio-XTDN6XW6.js} +8 -8
  179. package/dist/{open-TIGOP4UL.js → open-ARUHNAB7.js} +66 -15
  180. package/dist/{parakeetRunner-ECBLSKPA.js → parakeetRunner-MSM7RDKF.js} +11 -11
  181. package/dist/{pipeline-NAQKFYVO.js → pipeline-VKX2BFB6.js} +9 -9
  182. package/dist/{play-OCUIRYGT.js → play-PJNNPV7X.js} +19 -19
  183. package/dist/{preflight-FXN2DIKX.js → preflight-MUXQH6H6.js} +7 -7
  184. package/dist/{present-EIPGUFX2.js → present-AN6MCW3Y.js} +15 -15
  185. package/dist/{preview-D3DGM36N.js → preview-DEHP2TG5.js} +53 -499
  186. package/dist/{probe-LHGNRPYJ.js → probe-5RG744XA.js} +11 -11
  187. package/dist/{producer-MUSGQJB5.js → producer-7VK2ZJDE.js} +1 -1
  188. package/dist/{projectConfig-5XHCXAR2.js → projectConfig-6DMINA23.js} +6 -6
  189. package/dist/{publication-YHI2M2PN.js → publication-6MWJAFT7.js} +2 -2
  190. package/dist/{publish-DD4ZAHEH.js → publish-KBNVXXGC.js} +10 -10
  191. package/dist/{remove-background-AJBLAXSV.js → remove-background-JEWUHSSD.js} +10 -10
  192. package/dist/{render-LCH7X3UA.js → render-35DBJ2WO.js} +31 -31
  193. package/dist/{render-AKGMPEQ4.js → render-W2U6ZT5X.js} +26 -26
  194. package/dist/{render-32BRUXZK.js → render-WH22EDR5.js} +5 -5
  195. package/dist/{render-batch-BGZ4XDDA.js → render-batch-XJOSN2BG.js} +5 -5
  196. package/dist/renderSetupWorker.js +1 -1
  197. package/dist/{resolver-M64IRWRP.js → resolver-5YYQABSN.js} +4 -4
  198. package/dist/{reverse-HLLQAI77.js → reverse-FRUVNAQG.js} +1 -1
  199. package/dist/{run-Q4IUMQIY.js → run-IQLZHH6D.js} +3 -3
  200. package/dist/{screenshotCapture-INHISXPC.js → screenshotCapture-Y6WBZRXS.js} +7 -7
  201. package/dist/{sherpa-MQLZFNTX.js → sherpa-LRHHYRRD.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-NFCZFIGR.js} +8 -8
  212. package/dist/{skillsUpdateCheck-GVFHBX3G.js → skillsUpdateCheck-PUQNRKJ2.js} +3 -3
  213. package/dist/{snapshot-34FUMOEG.js → snapshot-EQRQLPXQ.js} +36 -36
  214. package/dist/{src-VL6XKFAA.js → src-HZHRJJAS.js} +5 -5
  215. package/dist/{src-M3NYEBA7.js → src-YNWNREO3.js} +8 -8
  216. package/dist/{start-A3YWCGDG.js → start-OP4X6HKK.js} +18 -18
  217. package/dist/{staticProjectServer-6NQWZP3Q.js → staticProjectServer-6LCOTXMA.js} +17 -17
  218. package/dist/{status-ZBUL7MPB.js → status-OWK4PE7Y.js} +10 -10
  219. package/dist/studio/assets/codec-DLDwVbqW.js +314 -0
  220. package/dist/studio/assets/{hyperframes-player-ZQZslutT.js → hyperframes-player-C5DA6O5u.js} +3 -3
  221. package/dist/studio/assets/index-B6RxZt-8.js +150 -0
  222. package/dist/studio/assets/{index-Bz2pYyGM.js → index-Buvugo_O.js} +120 -119
  223. package/dist/studio/assets/pausedVideoDecoder-BGKlQc66.js +1 -0
  224. package/dist/studio/index.html +1 -1
  225. package/dist/{studio-api-CIDVEQUP.js → studio-api-6BPBBFAW.js} +9 -9
  226. package/dist/{studioServer-4FEM4AAL.js → studioServer-74DN3L3H.js} +48 -48
  227. package/dist/{sync-PXQD6JNH.js → sync-F5W4JZJN.js} +11 -11
  228. package/dist/{telemetry-W7PZ4E2A.js → telemetry-WLMC4CPL.js} +5 -5
  229. package/dist/templates/_shared/AGENTS.md +3 -1
  230. package/dist/templates/_shared/CLAUDE.md +3 -1
  231. package/dist/{templates-ELZU33UU.js → templates-X5NWCSPC.js} +10 -10
  232. package/dist/{timeline-O7BR3IKC.js → timeline-RPV3BPTU.js} +17 -17
  233. package/dist/{tokens-RNFI6LFF.js → tokens-I5HMG733.js} +2 -2
  234. package/dist/{transcribe-GUUUSHHL.js → transcribe-37LMXM4R.js} +23 -23
  235. package/dist/{transcribe-XQOGYK6P.js → transcribe-JHJCPGIZ.js} +9 -9
  236. package/dist/{update-J37ZLNH7.js → update-Z4PHNKUH.js} +9 -9
  237. package/dist/{updateCheck-ALBUZ6YM.js → updateCheck-KROYCMVT.js} +2 -2
  238. package/dist/{upgrade-NVG73VIE.js → upgrade-RW57MLYT.js} +3 -3
  239. package/dist/{upload-HBALN6HE.js → upload-PEY7EYFV.js} +3 -2
  240. package/dist/{urlDownloader-TKEHDA5W.js → urlDownloader-HFKG567O.js} +5 -5
  241. package/dist/{validate-3TFHU3MJ.js → validate-PNLZ57YG.js} +23 -23
  242. package/dist/{video-PBNQGPQO.js → video-Y23QOZP7.js} +7 -7
  243. package/dist/{voices-PF7EV4O4.js → voices-TIGQHHMA.js} +19 -19
  244. package/dist/warmCheck.js +37 -37
  245. package/package.json +1 -1
  246. package/dist/chunk-7DS3STTY.js +0 -5035
  247. package/dist/studio/assets/index-Bn5atbhb.js +0 -531
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findStageProxyBox
9
- } from "./chunk-NHV3G6JH.js";
9
+ } from "./chunk-YAC7QLYC.js";
10
10
  import {
11
11
  getMimeType,
12
12
  injectMediaCodecMapIntoHtml
13
- } from "./chunk-3KJW4NNP.js";
13
+ } from "./chunk-XWXZFUFZ.js";
14
14
  import {
15
15
  PROXY_VARIANT_CONFIG,
16
16
  ProxyCapacityError,
@@ -21,23 +21,23 @@ import {
21
21
  recordProxyRequest,
22
22
  resolveProxy,
23
23
  resolveProxyVariantRequest
24
- } from "./chunk-UH6JF4TY.js";
24
+ } from "./chunk-NPBMNB7S.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-HCUEMQB4.js";
27
+ } from "./chunk-6OWZRBUW.js";
28
28
  import {
29
29
  openRangeEnd
30
30
  } from "./chunk-VEIGTKYZ.js";
31
31
  import {
32
32
  listenOnBrowserSafePort
33
- } from "./chunk-PGNE33QK.js";
33
+ } from "./chunk-WD6Q4UXG.js";
34
34
  import {
35
35
  stripSdrPngColourTags
36
- } from "./chunk-76IGIELW.js";
36
+ } from "./chunk-QMD3FTBL.js";
37
37
  import {
38
38
  PREVIEW_PROXY_BOX_PARAM,
39
39
  parsePreviewProxyBox
40
- } from "./chunk-SH6P5CMQ.js";
40
+ } from "./chunk-L7ED3RE6.js";
41
41
  import {
42
42
  decodeWellFormedEscapes
43
43
  } from "./chunk-OHQRQE7F.js";
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  gotoWhenSent
9
- } from "./chunk-5ECZJECP.js";
9
+ } from "./chunk-PZSPEUI5.js";
10
10
  import {
11
11
  windowsChromeCrashRemediation
12
12
  } from "./chunk-262C25DQ.js";
13
13
  import {
14
14
  pageNavigationTimeoutMs
15
- } from "./chunk-OAQTFIWB.js";
15
+ } from "./chunk-LWF7T7Y3.js";
16
16
  import {
17
17
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
18
18
  } from "./chunk-YGGZ23BB.js";
19
19
  import {
20
20
  resolveCompositionViewportFromHtml
21
- } from "./chunk-NHV3G6JH.js";
21
+ } from "./chunk-YAC7QLYC.js";
22
22
  import {
23
23
  launchManagedBrowser,
24
24
  resolveManagedGpuMode,
25
25
  rethrowAfterBrowserCleanup
26
- } from "./chunk-TKHWUM6J.js";
26
+ } from "./chunk-PE3QPW77.js";
27
27
  import {
28
28
  resolveLocalBrowserGpuMode,
29
29
  resolveLocalWebGpu
30
- } from "./chunk-76HDNQDL.js";
30
+ } from "./chunk-VBSTLL2I.js";
31
31
  import {
32
32
  c
33
33
  } from "./chunk-HOCC4J5C.js";
@@ -35,7 +35,7 @@ import {
35
35
  assertWebGpuAdapterAvailable,
36
36
  compositionRequiresWebGpu,
37
37
  oneProcessOverPipe
38
- } from "./chunk-PGNE33QK.js";
38
+ } from "./chunk-WD6Q4UXG.js";
39
39
  import {
40
40
  normalizeErrorMessage
41
41
  } from "./chunk-E63BDV4Z.js";
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
143
143
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
144
144
  });
145
145
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
146
- const { resolveConfig, waitForImagesReady } = await import("./src-VL6XKFAA.js");
146
+ const { resolveConfig, waitForImagesReady } = await import("./src-HZHRJJAS.js");
147
147
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
148
148
  await waitForImagesReady(
149
149
  page,
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
192
192
  async function openSettledCompositionPage(html, url, options) {
193
193
  const viewport = resolveCompositionViewportFromHtml(html);
194
194
  const requiresWebGpu = compositionRequiresWebGpu(html);
195
- const answer = (await import("./staticProjectServer-6NQWZP3Q.js")).inProcessAnswer(url);
195
+ const answer = (await import("./staticProjectServer-6LCOTXMA.js")).inProcessAnswer(url);
196
196
  const noListen = answer !== void 0;
197
197
  let chromeBrowser;
198
198
  try {
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
203
203
  options.onBrowserReady?.();
204
204
  const page = await chromeBrowser.newPage();
205
205
  await installPageFunctionGuard(page);
206
- const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-VL6XKFAA.js");
206
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-HZHRJJAS.js");
207
207
  await installMediaRenderIdBridge(page);
208
208
  await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
209
209
  await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
225
225
  const { ensureBrowser, findSystemBrowser } = await import("./manager-MKDNQ5KZ.js");
226
226
  const browser = await ensureBrowser({ signal: options.signal });
227
227
  const puppeteer = await import("puppeteer-core");
228
- const { buildChromeArgs } = await import("./src-VL6XKFAA.js");
228
+ const { buildChromeArgs } = await import("./src-HZHRJJAS.js");
229
229
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
230
230
  const requiresWebGpu = compositionRequiresWebGpu(html);
231
231
  let softwareWebGpu = false;
@@ -21,10 +21,10 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-QYWOP6MH.js";
24
+ } from "./chunk-JIICYVRY.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-C2PQTWAH.js";
27
+ } from "./chunk-KA5IELN4.js";
28
28
  import {
29
29
  verifies
30
30
  } from "./chunk-RZ6CXJ56.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  cliCheckoutLink,
9
9
  pageUrl
10
- } from "./chunk-FPM6B5X5.js";
10
+ } from "./chunk-NOTTJWVZ.js";
11
11
  import {
12
12
  Fix
13
- } from "./chunk-RFG4XUMQ.js";
13
+ } from "./chunk-US24WEIH.js";
14
14
  import {
15
15
  refreshIfNeeded,
16
16
  resolveCloudAuthHeaders,
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  HyperframesApiError,
26
26
  HyperframesCloudClient
27
- } from "./chunk-3XJM7XZN.js";
27
+ } from "./chunk-D3NWGOXW.js";
28
28
  import {
29
29
  configDir
30
30
  } from "./chunk-LP7B3JLC.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-5YVA7VYC.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-WD6Q4UXG.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-7IBVRNW2.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-CNNU335R.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-HTG3C2WE.js");
253
253
  const result = findWhisper();
254
254
  if (result) {
255
255
  return { ok: true, detail: result.executablePath };
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-SWC3QIEH.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-C2PQTWAH.js";
12
+ } from "./chunk-KA5IELN4.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
16
16
  ensureWhisper,
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel
19
- } from "./chunk-Z745SNN4.js";
19
+ } from "./chunk-LC3UH6GM.js";
20
20
  import {
21
21
  sha256File
22
22
  } from "./chunk-RZ6CXJ56.js";
@@ -24,7 +24,7 @@ import {
24
24
  findFFmpeg,
25
25
  findFFprobe,
26
26
  getFFmpegInstallHint
27
- } from "./chunk-CKZQQ2DO.js";
27
+ } from "./chunk-XVFUUT57.js";
28
28
  import {
29
29
  findWavChunk
30
30
  } from "./chunk-UOFAE5RF.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-PGNE33QK.js";
9
+ } from "./chunk-WD6Q4UXG.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -15,16 +15,16 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-CKZQQ2DO.js";
18
+ } from "./chunk-XVFUUT57.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-TKHWUM6J.js";
21
+ } from "./chunk-PE3QPW77.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-PGNE33QK.js";
27
+ } from "./chunk-WD6Q4UXG.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-X6JUUQCM.js";
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
432
432
  }
433
433
  async function probeMedia(inputPath) {
434
434
  const isImage = inferInputKind(inputPath) === "image";
435
- const engine = await import("./src-VL6XKFAA.js");
435
+ const engine = await import("./src-HZHRJJAS.js");
436
436
  const meta = await engine.extractMediaMetadata(inputPath);
437
437
  if (isImage) {
438
438
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk-CXUT4XVT.js";
16
16
  import {
17
17
  createProjectConfig
18
- } from "./chunk-HCUEMQB4.js";
18
+ } from "./chunk-6OWZRBUW.js";
19
19
  import {
20
20
  isHyperframesProject
21
- } from "./chunk-SH6P5CMQ.js";
21
+ } from "./chunk-L7ED3RE6.js";
22
22
  import {
23
23
  isCI
24
24
  } from "./chunk-FYZFURBN.js";
@@ -188,9 +188,15 @@ function leaveIntent(dir, cta, doc) {
188
188
  else writeRecord(dir, DESKTOP_CTA_RECORD, before);
189
189
  };
190
190
  }
191
- function openCommandFor(dir, cwd = process.cwd()) {
191
+ function shownDir(dir, cwd) {
192
192
  const shown = relative(cwd, dir) || ".";
193
- return `hyperframes open ${/\s/.test(shown) ? JSON.stringify(shown) : shown}`;
193
+ return /\s/.test(shown) ? JSON.stringify(shown) : shown;
194
+ }
195
+ function openCommandFor(dir, cwd = process.cwd()) {
196
+ return `hyperframes open ${shownDir(dir, cwd)}`;
197
+ }
198
+ function previewStopCommandFor(dir, port, cwd = process.cwd()) {
199
+ return `hyperframes preview ${shownDir(dir, cwd)} --stop --port ${port}`;
194
200
  }
195
201
  var spotlightFinds = (bundleId) => spawnSync("mdfind", [`kMDItemCFBundleIdentifier == '${bundleId}'`], { encoding: "utf8" }).stdout?.split("\n").some((path) => path.endsWith(".app") && !basename(path).startsWith(".")) ?? false;
196
202
  function desktopInstalled({
@@ -216,11 +222,15 @@ function desktopHint(dir, {
216
222
  ready = HANDOFF_READY,
217
223
  installed,
218
224
  platform = process.platform,
219
- tty = process.stdout.isTTY === true
225
+ tty = process.stdout.isTTY === true,
226
+ preview
220
227
  } = {}) {
221
228
  if (insideHostApp(env) || !someoneToTell(env, tty)) return null;
222
- if (ready && (installed ?? desktopInstalled({ platform, env })))
223
- return `Keep editing by chatting with Framey in the desktop app: ${openCommandFor(dir)}`;
229
+ if (ready && (installed ?? desktopInstalled({ platform, env }))) {
230
+ const open = openCommandFor(dir);
231
+ const how = preview === "background" ? `${open} (this stops the background preview)` : preview === "foreground" ? `stop this preview, then run ${open}` : open;
232
+ return `Keep editing by chatting with Framey in the desktop app: ${how}`;
233
+ }
224
234
  const url = desktopDownloadUrl(platform);
225
235
  return url ? downloadHint(url) : null;
226
236
  }
@@ -230,6 +240,7 @@ export {
230
240
  downloadHint,
231
241
  HANDOFF_READY,
232
242
  openInDesktop,
243
+ previewStopCommandFor,
233
244
  desktopInstalled,
234
245
  insideHostApp,
235
246
  desktopHint
@@ -16,12 +16,12 @@ import {
16
16
  Semaphore,
17
17
  prepareHeifImageInputs,
18
18
  withMediaProbeSlot
19
- } from "./chunk-WMZHESNZ.js";
19
+ } from "./chunk-2PRAPMMF.js";
20
20
  import {
21
21
  EncoderInterruptedError,
22
22
  encoderFailureError,
23
23
  prepareAnimatedGifInputs
24
- } from "./chunk-IY4I7TV4.js";
24
+ } from "./chunk-YSKP5MCC.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-WD6Q4UXG.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-QMD3FTBL.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-L7ED3RE6.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-H2PVMZ2M.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,
@@ -583,7 +583,7 @@ function buildVirtualTimeShim(options) {
583
583
  } catch (e) {}
584
584
  }
585
585
  ` : "";
586
- const seekToTimeReseedCall = seedRandomFromFrame ? "reseedRngFromTime(safeTimeMs);\n " : "";
586
+ const seekToTimeReseedCall = seedRandomFromFrame ? "reseedRngFromTime(safeTimeMs);\n " : "";
587
587
  return String.raw`(function() {
588
588
  if (window.__HF_VIRTUAL_TIME__) return;
589
589
 
@@ -662,6 +662,82 @@ ${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
+
727
+ function seekToTime(nextTimeMs) {
728
+ var safeTimeMs = Math.max(0, Number(nextTimeMs) || 0);
729
+ if (!rendering && window.__renderReady === true) {
730
+ rendering = true;
731
+ // A worker whose first frame is past the start plays the film's first frame first, so timers the
732
+ // page starts there keep the schedule a one-worker render gives them.
733
+ if (safeTimeMs > 0) seekToTime(0);
734
+ }
735
+ ${seekToTimeReseedCall}fireDueTimers(safeTimeMs);
736
+ virtualNowMs = safeTimeMs;
737
+ flushAnimationFrame();
738
+ return virtualNowMs;
739
+ }
740
+
665
741
  window.__HF_VIRTUAL_TIME__ = {
666
742
  originalSetTimeout: originalSetTimeout,
667
743
  originalClearTimeout: originalClearTimeout,
@@ -669,12 +745,7 @@ ${seededRandomBlock}
669
745
  originalClearInterval: originalClearInterval,
670
746
  originalRequestAnimationFrame: originalRequestAnimationFrame,
671
747
  originalCancelAnimationFrame: originalCancelAnimationFrame,
672
- seekToTime: function(nextTimeMs) {
673
- var safeTimeMs = Math.max(0, Number(nextTimeMs) || 0);
674
- virtualNowMs = safeTimeMs;
675
- ${seekToTimeReseedCall}flushAnimationFrame();
676
- return virtualNowMs;
677
- },
748
+ seekToTime: seekToTime,
678
749
  getTime: function() {
679
750
  return virtualNowMs;
680
751
  },
@@ -15999,13 +16070,14 @@ var RenderChunkValidationError = class extends Error {
15999
16070
  this.code = code;
16000
16071
  }
16001
16072
  };
16073
+ var chunkFrameInjectorDependencies = { createVideoFrameInjector };
16002
16074
  function createChunkVideoFrameInjectorFactory(frameLookup, options) {
16003
16075
  if (!(frameLookup instanceof Promise))
16004
- return () => createVideoFrameInjector(frameLookup, options);
16076
+ return () => chunkFrameInjectorDependencies.createVideoFrameInjector(frameLookup, options);
16005
16077
  return () => {
16006
16078
  let hook;
16007
16079
  return async (page, time, heldVideoTime) => {
16008
- hook ??= createVideoFrameInjector(await frameLookup, options);
16080
+ hook ??= chunkFrameInjectorDependencies.createVideoFrameInjector(await frameLookup, options);
16009
16081
  await hook?.(page, time, heldVideoTime);
16010
16082
  };
16011
16083
  };
@@ -17165,7 +17237,7 @@ function assertPlanSizeWithinLimit(input) {
17165
17237
  });
17166
17238
  throw new PlanTooLargeError(breakdown.totalBytes, input.limitBytes, breakdown, input.observedAt);
17167
17239
  }
17168
- function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targetChunkFrames) {
17240
+ function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targetChunkFrames, minParallelChunks = 1) {
17169
17241
  assertPositiveInteger2("totalFrames", totalFrames);
17170
17242
  assertPositiveInteger2("maxParallelChunks", maxParallelChunks);
17171
17243
  if (configChunkSize !== void 0) {
@@ -17174,7 +17246,11 @@ function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targe
17174
17246
  if (targetChunkFrames !== void 0) {
17175
17247
  assertPositiveInteger2("targetChunkFrames", targetChunkFrames);
17176
17248
  }
17177
- const autoSizeParallel = targetChunkFrames === void 0 ? maxParallelChunks : Math.min(maxParallelChunks, Math.max(1, Math.ceil(totalFrames / targetChunkFrames)));
17249
+ assertPositiveInteger2("minParallelChunks", minParallelChunks);
17250
+ const autoSizeParallel = targetChunkFrames === void 0 ? maxParallelChunks : Math.min(
17251
+ maxParallelChunks,
17252
+ Math.max(minParallelChunks, Math.ceil(totalFrames / targetChunkFrames))
17253
+ );
17178
17254
  const resolvedChunkSize = configChunkSize ?? Math.max(MIN_CHUNK_SIZE, Math.ceil(totalFrames / autoSizeParallel));
17179
17255
  const naiveCount = Math.ceil(totalFrames / resolvedChunkSize);
17180
17256
  const chunkCount = Math.min(maxParallelChunks, Math.max(1, naiveCount));
@@ -17533,7 +17609,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
17533
17609
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
17534
17610
  if (probeResult.probeSession) {
17535
17611
  try {
17536
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-VL6XKFAA.js");
17612
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-HZHRJJAS.js");
17537
17613
  await closeCaptureSession2(probeResult.probeSession);
17538
17614
  } catch (err) {
17539
17615
  log.warn("[plan] probe session close failed", {
@@ -17753,7 +17829,8 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
17753
17829
  totalFrames,
17754
17830
  config.chunkSize,
17755
17831
  maxParallel,
17756
- config.targetChunkFrames
17832
+ config.targetChunkFrames,
17833
+ config.minParallelChunks
17757
17834
  );
17758
17835
  const chunks = buildPlanChunkSlices(
17759
17836
  frameWeights,
@@ -19715,6 +19792,20 @@ function validateDistributedRenderConfig(config) {
19715
19792
  );
19716
19793
  }
19717
19794
  }
19795
+ if (config.minParallelChunks !== void 0) {
19796
+ if (!Number.isInteger(config.minParallelChunks) || config.minParallelChunks < 1) {
19797
+ throw new InvalidConfigError(
19798
+ "config.minParallelChunks",
19799
+ `must be a positive integer; got ${config.minParallelChunks}`
19800
+ );
19801
+ }
19802
+ if (config.minParallelChunks > MAX_PARALLEL_CHUNKS_CEILING) {
19803
+ throw new InvalidConfigError(
19804
+ "config.minParallelChunks",
19805
+ `must be <= ${MAX_PARALLEL_CHUNKS_CEILING}; got ${config.minParallelChunks}`
19806
+ );
19807
+ }
19808
+ }
19718
19809
  for (const field of ["workerTimeoutSeconds", "workerConcurrency"]) {
19719
19810
  const value = config[field];
19720
19811
  if (value !== void 0 && (!Number.isInteger(value) || value < 1)) {
@@ -19884,6 +19975,7 @@ function assertDistributedOptions(value) {
19884
19975
  "chunkSize",
19885
19976
  "maxParallelChunks",
19886
19977
  "targetChunkFrames",
19978
+ "minParallelChunks",
19887
19979
  "planDirSizeLimitBytes"
19888
19980
  ]) {
19889
19981
  assertOptionalInteger(value, field, 1);
@@ -20023,6 +20115,7 @@ function distributedConfigFromRequest(request, runtime = {}) {
20023
20115
  chunkSize: distributed.chunkSize,
20024
20116
  maxParallelChunks: distributed.maxParallelChunks,
20025
20117
  targetChunkFrames: distributed.targetChunkFrames,
20118
+ minParallelChunks: distributed.minParallelChunks,
20026
20119
  runtimeCap: distributed.runtimeCap,
20027
20120
  rejectOnSystemFonts: distributed.rejectOnSystemFonts,
20028
20121
  failClosedFontFetch: distributed.failClosedFontFetch,
@@ -20050,6 +20143,7 @@ function renderRequestFromDistributedConfig(input) {
20050
20143
  ...optionalProperty("chunkSize", config.chunkSize),
20051
20144
  ...optionalProperty("maxParallelChunks", config.maxParallelChunks),
20052
20145
  ...optionalProperty("targetChunkFrames", config.targetChunkFrames),
20146
+ ...optionalProperty("minParallelChunks", config.minParallelChunks),
20053
20147
  ...optionalProperty("runtimeCap", config.runtimeCap),
20054
20148
  ...optionalProperty("rejectOnSystemFonts", config.rejectOnSystemFonts),
20055
20149
  ...optionalProperty("failClosedFontFetch", config.failClosedFontFetch),
@@ -20931,7 +21025,7 @@ function startServer(options = {}) {
20931
21025
  });
20932
21026
  async function shutdown(signal) {
20933
21027
  log.info(`Received ${signal}, shutting down`);
20934
- const { drainBrowserPool } = await import("./src-VL6XKFAA.js");
21028
+ const { drainBrowserPool } = await import("./src-HZHRJJAS.js");
20935
21029
  await drainBrowserPool().catch(() => {
20936
21030
  });
20937
21031
  const handle = await Promise.race([
@@ -22,7 +22,7 @@ import {
22
22
  resolveNaturalMediaTimelineDuration,
23
23
  resolveTimedImageDurationSeconds,
24
24
  unitFloatToByte
25
- } from "./chunk-7DS3STTY.js";
25
+ } from "./chunk-H2PVMZ2M.js";
26
26
  import {
27
27
  COLOR_GROUP_ATTR,
28
28
  COLOR_GROUP_TAG,