hyperframes 0.8.208 → 0.8.210

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 (213) hide show
  1. package/dist/{add-XMWRBMBR.js → add-36M7YRR4.js} +17 -16
  2. package/dist/{animatedGifPrep-6XURJIPV.js → animatedGifPrep-RZLTC77F.js} +8 -6
  3. package/dist/api.js +26 -20
  4. package/dist/{appHistory-HIBH6XZW.js → appHistory-OHYU5ZBQ.js} +3 -2
  5. package/dist/{asset-I5GGEOB2.js → asset-HRGZ7ZCB.js} +2 -2
  6. package/dist/{assetCataloger-YBPXUNUP.js → assetCataloger-LN7RI2IC.js} +9 -7
  7. package/dist/{audio-GFJCHH5W.js → audio-ULOHC2KL.js} +31 -22
  8. package/dist/{auth-QOA55RYR.js → auth-K4ZULHQY.js} +4 -4
  9. package/dist/{autoUpdate-SPS4QPJU.js → autoUpdate-MUJ4WPP6.js} +4 -4
  10. package/dist/{backgroundChecks-HRJO7YK7.js → backgroundChecks-O6JST752.js} +5 -5
  11. package/dist/backgroundChecksWorker.js +5 -5
  12. package/dist/{batchRender-FBP3RKUF.js → batchRender-U742UVOD.js} +4 -4
  13. package/dist/{beats-VNGJ7F6W.js → beats-2CSE5WJD.js} +15 -12
  14. package/dist/{benchmark-NZ3N3MIV.js → benchmark-YJB2YKOE.js} +10 -10
  15. package/dist/{browser-BD5BKRJ5.js → browser-WJ5E7RYS.js} +7 -7
  16. package/dist/{bundleWithLocalizedFonts-WXVNPAWD.js → bundleWithLocalizedFonts-F5VQMFHZ.js} +3 -3
  17. package/dist/{capture-CXWXKWS5.js → capture-6OJDKKEZ.js} +26 -22
  18. package/dist/{capture-LMJ4TQRL.js → capture-IYV3OS5W.js} +3 -3
  19. package/dist/{captureCompositionFrame-ZKVCRYYU.js → captureCompositionFrame-7357PUMG.js} +15 -14
  20. package/dist/{catalog-WRXQSCAU.js → catalog-CZBK33QH.js} +18 -17
  21. package/dist/{catch-up-MDSPABFC.js → catch-up-7IJQ7AUR.js} +9 -8
  22. package/dist/{check-SIBBK5HA.js → check-ISUFX4DK.js} +46 -44
  23. package/dist/{checkAudio-QQBR4HR7.js → checkAudio-GAA2SY5E.js} +21 -12
  24. package/dist/{checkBrowser-4EBJLLIH.js → checkBrowser-JRADOMED.js} +39 -37
  25. package/dist/{chunk-Z5TGBEPJ.js → chunk-32BLIKEV.js} +1 -1
  26. package/dist/{chunk-P7WGVXR7.js → chunk-35HSGF46.js} +6 -6
  27. package/dist/{chunk-6WRN4WC6.js → chunk-36EOFTVG.js} +1 -1
  28. package/dist/{chunk-FFDYRJBE.js → chunk-3PTZ2TD4.js} +1 -1
  29. package/dist/{chunk-S4KHJERB.js → chunk-4A27M7CJ.js} +1 -1
  30. package/dist/{chunk-VYRJAQGC.js → chunk-57QUPSP2.js} +1 -1
  31. package/dist/{chunk-HUKQW4YE.js → chunk-5IWRGVAX.js} +2 -2
  32. package/dist/{chunk-SI7QCT2J.js → chunk-5PCT5DDF.js} +6 -6
  33. package/dist/{chunk-QWBVPWUI.js → chunk-5ZJGEQGS.js} +3 -1
  34. package/dist/{chunk-CP225S5H.js → chunk-7BOGLQFM.js} +5 -5
  35. package/dist/{chunk-MOEGCMKI.js → chunk-7J6LQ3SQ.js} +20 -0
  36. package/dist/chunk-7VZEOCUY.js +98 -0
  37. package/dist/{chunk-4LTBQEPD.js → chunk-A2H5EJZM.js} +2 -2
  38. package/dist/{chunk-NZ6G5YWZ.js → chunk-A45HCDG7.js} +2 -2
  39. package/dist/{chunk-MW2NQQ6Z.js → chunk-AG566TRI.js} +2 -2
  40. package/dist/{chunk-K4PHB3YQ.js → chunk-AZGVCQGO.js} +7 -3
  41. package/dist/{chunk-WNMVC3IT.js → chunk-BKXC5XHB.js} +1 -1
  42. package/dist/{chunk-S2OLTAEL.js → chunk-BN22WCAF.js} +2 -2
  43. package/dist/{chunk-J67FSI3Q.js → chunk-BW5WYF4N.js} +92 -27
  44. package/dist/{chunk-ULL3U6PV.js → chunk-BYZPLQSX.js} +1 -1
  45. package/dist/chunk-D3MUHMFG.js +16 -0
  46. package/dist/{chunk-4HT2L6W2.js → chunk-DHTWYTSV.js} +1 -1
  47. package/dist/{chunk-XUQYC5DD.js → chunk-DKJAK6JW.js} +5 -5
  48. package/dist/{chunk-LSMFOZ4F.js → chunk-DST7GU2Y.js} +2 -2
  49. package/dist/{chunk-EU7MVORF.js → chunk-E63BDV4Z.js} +10 -1
  50. package/dist/{chunk-6N7D2GUV.js → chunk-EQPXSSNG.js} +28 -24
  51. package/dist/{chunk-MBGM26P5.js → chunk-ERVBXEPZ.js} +1 -1
  52. package/dist/{chunk-MYO77JWR.js → chunk-EVTBRL37.js} +1 -1
  53. package/dist/{chunk-EGOXYG3M.js → chunk-EYGWMHXV.js} +2 -2
  54. package/dist/{chunk-DHQSDCWD.js → chunk-F7IWJMIO.js} +3 -2
  55. package/dist/{chunk-4KG3ESVO.js → chunk-FBIWJ3A4.js} +4 -4
  56. package/dist/{chunk-DXACKQ3F.js → chunk-FCIO4WSW.js} +3 -3
  57. package/dist/{chunk-43MW4SY7.js → chunk-FCXEVKFQ.js} +4 -4
  58. package/dist/{chunk-PKVA6MPV.js → chunk-FHIBBIEZ.js} +65 -204
  59. package/dist/{chunk-XG3IZV62.js → chunk-GKNTPIFD.js} +17 -9
  60. package/dist/{chunk-GHSO62LK.js → chunk-GNESG4XA.js} +4 -10
  61. package/dist/{chunk-G2A6RC5R.js → chunk-HD4KXG5U.js} +70 -49
  62. package/dist/{chunk-PWEOSJ3E.js → chunk-HKCIRH26.js} +3 -3
  63. package/dist/{chunk-B5MPMIKQ.js → chunk-HP7BXJFZ.js} +2 -2
  64. package/dist/{chunk-MPO25DQW.js → chunk-I3PNZDKR.js} +186 -153
  65. package/dist/chunk-I4H5JWND.js +205 -0
  66. package/dist/{chunk-ORFRUZPB.js → chunk-IMKBZEGT.js} +2 -2
  67. package/dist/{chunk-3O2E4Q66.js → chunk-J7A73K2B.js} +35 -22
  68. package/dist/{chunk-M4QZFUMW.js → chunk-JHNBF2HD.js} +1 -1
  69. package/dist/{chunk-XOFBXLMG.js → chunk-JLBJRJO6.js} +5 -3
  70. package/dist/{chunk-GMECXFAN.js → chunk-K4FVGVA6.js} +5 -2
  71. package/dist/{chunk-XMRA7CQG.js → chunk-KCLBO65Y.js} +1 -1
  72. package/dist/{chunk-7CPI2DWL.js → chunk-KGAPL42S.js} +1 -1
  73. package/dist/{chunk-BKDQFOKK.js → chunk-KGG2PUZN.js} +91 -17
  74. package/dist/{chunk-OTXXDONS.js → chunk-LRE4GDFA.js} +3 -3
  75. package/dist/{chunk-EYEEZXLI.js → chunk-MA447PNF.js} +25 -17
  76. package/dist/{chunk-6JNSYFOH.js → chunk-MV3J6ZOP.js} +4 -4
  77. package/dist/{chunk-CSWCZA6V.js → chunk-NEKKA2DA.js} +2 -2
  78. package/dist/{chunk-EOVYQ3IG.js → chunk-NQ2INEHX.js} +17 -17
  79. package/dist/{chunk-4F5NRJ6M.js → chunk-OMLVCHNN.js} +2 -2
  80. package/dist/{chunk-6CWKORZO.js → chunk-P2L7NNHT.js} +27 -5
  81. package/dist/{chunk-FC4WT5FX.js → chunk-P327BIJR.js} +1 -14
  82. package/dist/{chunk-NEASABW6.js → chunk-P6EXMN5D.js} +1 -1
  83. package/dist/{chunk-VR3JLTZD.js → chunk-PCPMSUW6.js} +3 -3
  84. package/dist/{chunk-D2CE2J2A.js → chunk-PV4XID2A.js} +1 -1
  85. package/dist/{chunk-IL2TMC6F.js → chunk-QFXF5GXE.js} +21 -5
  86. package/dist/{chunk-VS4SK7BN.js → chunk-QI5TLQNW.js} +7 -7
  87. package/dist/{chunk-CZUAX3BV.js → chunk-QIDN4ML5.js} +1 -1
  88. package/dist/{chunk-BLCKQPBE.js → chunk-QPX7FJP3.js} +1 -1
  89. package/dist/chunk-QRC7IVBC.js +4870 -0
  90. package/dist/{chunk-IIJVSCSH.js → chunk-QRWTVCGH.js} +18 -18
  91. package/dist/{chunk-56ANHX5U.js → chunk-QXUFQSSK.js} +1 -1
  92. package/dist/{chunk-KTWGVEN6.js → chunk-RIAWW4G2.js} +2 -2
  93. package/dist/{chunk-HTZJNQYI.js → chunk-RUW65P3N.js} +1 -1
  94. package/dist/{chunk-ENRFKCI6.js → chunk-TDEORHFN.js} +3 -3
  95. package/dist/{chunk-X6MCIK7L.js → chunk-TGFDRZTM.js} +29 -13
  96. package/dist/{chunk-U6KN6OIP.js → chunk-UA3YNZK6.js} +2 -2
  97. package/dist/{chunk-TNTGGDSD.js → chunk-UWEGMKKU.js} +1 -1
  98. package/dist/{chunk-SKKQMW5X.js → chunk-W3V5EOFA.js} +1 -1
  99. package/dist/{chunk-QP2MJYTJ.js → chunk-W4E3ZOWH.js} +1 -1
  100. package/dist/{chunk-7PAK7LZ5.js → chunk-WOFTAZSZ.js} +18 -20
  101. package/dist/{chunk-HZN7ICAF.js → chunk-WWQJYYAB.js} +3 -3
  102. package/dist/{chunk-PSOAGSNO.js → chunk-X2T5EOI7.js} +2 -2
  103. package/dist/{chunk-Q43YUROE.js → chunk-X6JUUQCM.js} +1 -1
  104. package/dist/chunk-XCIHCPJK.js +106 -0
  105. package/dist/{chunk-5HB4JM7H.js → chunk-XIUHHEBS.js} +5 -3
  106. package/dist/{chunk-EXAX37XR.js → chunk-Y65ZU7XY.js} +18 -13
  107. package/dist/{chunk-WABB4LZS.js → chunk-YBY2WVLC.js} +19 -2
  108. package/dist/{chunk-5PCALX6G.js → chunk-YIFEK3UD.js} +1 -1
  109. package/dist/{chunk-6DSYBW7Z.js → chunk-YRO3PXWU.js} +1 -85
  110. package/dist/{chunk-6PWQH77E.js → chunk-ZFVNYA3M.js} +1 -1
  111. package/dist/{chunk-GEO6THL3.js → chunk-ZRSQNF4A.js} +43 -30
  112. package/dist/{clean-6GX7WAEC.js → clean-NVBEXXIS.js} +25 -22
  113. package/dist/cli.js +56 -56
  114. package/dist/{cloud-6PFJKLNL.js → cloud-3T6HF7DT.js} +4 -4
  115. package/dist/{cloudrun-UGG3ZFH7.js → cloudrun-TXEEZGJ7.js} +5 -5
  116. package/dist/commands/layout-audit.browser.js +94 -4
  117. package/dist/{compare-P4EBOP4B.js → compare-Q42Z56P7.js} +38 -36
  118. package/dist/{compiler-PG4RKX6K.js → compiler-IL2PZJFH.js} +5 -3
  119. package/dist/{component-SQPMI3W7.js → component-2IWQZYCZ.js} +3 -3
  120. package/dist/{compositions-KRIHY3IY.js → compositions-3EZ3GBK2.js} +14 -12
  121. package/dist/{contactSheet-RYAE7Y5D.js → contactSheet-WG4HT5XP.js} +2 -2
  122. package/dist/{delete-T5TO4SV6.js → delete-2UBY2JTM.js} +10 -9
  123. package/dist/{deploy-AO6LQR5G.js → deploy-QTS2OM2H.js} +1 -1
  124. package/dist/{dist-6IMEDVMC.js → dist-73YTUT3W.js} +1 -1
  125. package/dist/{dist-23AAB5X2.js → dist-XF53LCKD.js} +4 -2
  126. package/dist/{doctor-QBUJQ655.js → doctor-FIXMXWE6.js} +21 -15
  127. package/dist/{events-J7CESLKQ.js → events-7WYSDXTE.js} +4 -4
  128. package/dist/{events-SIZO7YHI.js → events-NTZSSMBR.js} +5 -5
  129. package/dist/{feedback-74WOJ5PN.js → feedback-7SOB5GZC.js} +12 -12
  130. package/dist/{ffmpeg-AKUP6U2S.js → ffmpeg-PYY5FSIX.js} +10 -8
  131. package/dist/{figma-GGMYRR4Q.js → figma-DTWA3G22.js} +3 -3
  132. package/dist/fontLocalizeCli.js +11 -9
  133. package/dist/{get-PLKAI6JM.js → get-DMGUJPLP.js} +10 -9
  134. package/dist/{gpuPolicy-EYDAAPJF.js → gpuPolicy-KVYO4OU4.js} +8 -6
  135. package/dist/{grade-compare-UADJP4AV.js → grade-compare-NCYPJFLI.js} +39 -37
  136. package/dist/{heifImagePrep-KDF3OPOK.js → heifImagePrep-F7LFUYGC.js} +9 -7
  137. package/dist/{help-WSQQ555Q.js → help-I4RRBHCW.js} +2 -2
  138. package/dist/{history-VSQ2DQ3V.js → history-GVBBXZKQ.js} +11 -10
  139. package/dist/hyperframe.manifest.json +1 -1
  140. package/dist/hyperframe.runtime.iife.js +64 -64
  141. package/dist/hyperframes-player.global.js +1 -1
  142. package/dist/{info-MOQ4LRC3.js → info-UE2PY5AF.js} +9 -9
  143. package/dist/{init-EONQSZJG.js → init-4UGFGJQK.js} +39 -34
  144. package/dist/{inspect-OLCVLHOU.js → inspect-ZRREAUCB.js} +37 -35
  145. package/dist/{installer-GHISA75B.js → installer-ABXPRFIJ.js} +6 -5
  146. package/dist/{keyframes-DGQYCY24.js → keyframes-MFR4TYVR.js} +8 -8
  147. package/dist/{lambda-AMMWF2YH.js → lambda-E3Z6JCIB.js} +13 -11
  148. package/dist/{layout-R6CAPGRO.js → layout-IO7T5SSU.js} +37 -35
  149. package/dist/{lint-QZJEYPHD.js → lint-WYPQK5XA.js} +9 -9
  150. package/dist/{lintProject-W3YVHAGP.js → lintProject-KCN7MRBN.js} +1 -1
  151. package/dist/{list-KCJID4SP.js → list-7F2LXWOZ.js} +10 -9
  152. package/dist/{login-7HKBEPJS.js → login-TTMYCXN2.js} +7 -7
  153. package/dist/{logout-3IID4KXD.js → logout-QRSB4CNH.js} +3 -3
  154. package/dist/{manager-Z7W4GQGF.js → manager-LQXZTUTJ.js} +3 -3
  155. package/dist/{manager-6YSKJMVD.js → manager-OQ5J26ST.js} +11 -9
  156. package/dist/{media-treatment-E3DL6LEZ.js → media-treatment-ELB6WRA5.js} +17 -15
  157. package/dist/{models-URWI7YEG.js → models-D2FNIGNZ.js} +15 -13
  158. package/dist/{motionShot-27IXMDJK.js → motionShot-53VDDRIC.js} +22 -21
  159. package/dist/{normalize-audio-WGRLPR3P.js → normalize-audio-QHNCFWR2.js} +12 -9
  160. package/dist/{open-LQ35PLEN.js → open-3KMTT3AV.js} +18 -17
  161. package/dist/{parakeetRunner-XASVIDTI.js → parakeetRunner-T65S6FW3.js} +20 -17
  162. package/dist/{pipeline-GA7QVCHS.js → pipeline-DUVRZGIM.js} +15 -10
  163. package/dist/{play-RYZP77CI.js → play-27R6RBSK.js} +27 -24
  164. package/dist/{policies-PKLD4UW5.js → policies-NWIEUGGW.js} +1 -1
  165. package/dist/{preflight-HJFSJXXF.js → preflight-QB6NKBBL.js} +12 -10
  166. package/dist/{present-YBMLOWZV.js → present-RHV3FKI5.js} +21 -18
  167. package/dist/{preview-QIRKJCRV.js → preview-IAKIXYLN.js} +29 -27
  168. package/dist/{producer-524FDOLX.js → producer-F6PHB4M4.js} +1 -1
  169. package/dist/{projectConfig-IDQN5ZRW.js → projectConfig-MPHWYY5D.js} +10 -9
  170. package/dist/{publication-3X3IGSDO.js → publication-CBAEINEG.js} +4 -3
  171. package/dist/{publish-2BF7K6HX.js → publish-4A2A6V7Z.js} +20 -17
  172. package/dist/{refresh-3IRHJEQA.js → refresh-F7FUCXLX.js} +3 -3
  173. package/dist/{remove-background-EZBCEFT6.js → remove-background-3I7RZGVG.js} +15 -11
  174. package/dist/{render-TEEBI2UT.js → render-2HYATL32.js} +56 -57
  175. package/dist/{render-EFUA2A6A.js → render-BGPUHBFC.js} +6 -5
  176. package/dist/{render-JFMTAXHD.js → render-BSKLHCZ4.js} +67 -47
  177. package/dist/{render-batch-XTYNXVSW.js → render-batch-JD6C3BDD.js} +7 -6
  178. package/dist/renderSetupWorker.js +5 -5
  179. package/dist/{resolver-FZS6TN6B.js → resolver-SQYR7LII.js} +6 -5
  180. package/dist/{screenshotCapture-HOW4VSV6.js → screenshotCapture-HDRHY4NN.js} +2 -2
  181. package/dist/{sherpa-TQIAIKTH.js → sherpa-VXD3DAH4.js} +19 -16
  182. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
  183. package/dist/{skills-S6ZG5KKH.js → skills-B2SHEHWL.js} +7 -7
  184. package/dist/{skillsUpdateCheck-XC7JQL3F.js → skillsUpdateCheck-ST43UUPK.js} +5 -5
  185. package/dist/{snapshot-ERYZIM32.js → snapshot-USJYNKDM.js} +118 -75
  186. package/dist/{src-OL6RHPE4.js → src-5OX35WPG.js} +10 -8
  187. package/dist/{src-6XOMREMS.js → src-PX3VIS7K.js} +30 -9
  188. package/dist/{staticProjectServer-JYDDGPAH.js → staticProjectServer-ET7H5LMV.js} +22 -19
  189. package/dist/{status-DTP6ZYDU.js → status-QVDRHXW2.js} +3 -3
  190. package/dist/studio/assets/{hyperframes-player-5dRdMVOq.js → hyperframes-player-DUpxahTX.js} +1 -1
  191. package/dist/studio/assets/{index-ZqyQ91pm.js → index-B4dcZZAm.js} +1 -1
  192. package/dist/studio/assets/{index-Bu3mJUU2.js → index-CtrcjpbM.js} +5 -5
  193. package/dist/studio/assets/{index-CYbvOVp-.css → index-RUPGNyct.css} +1 -1
  194. package/dist/studio/index.html +2 -2
  195. package/dist/{studio-api-GRU4SHKD.js → studio-api-PLKYSG2X.js} +13 -10
  196. package/dist/{studioServer-OYPBEI5B.js → studioServer-CNUXGRFS.js} +65 -63
  197. package/dist/{synthesize-QZHRXGRY.js → synthesize-RVE7IUOJ.js} +3 -2
  198. package/dist/{telemetry-CPYINR63.js → telemetry-DGDEJLGL.js} +5 -5
  199. package/dist/{telemetry-6BPSGY5W.js → telemetry-EJS5PXH2.js} +2 -2
  200. package/dist/{timeline-RGK5BMPD.js → timeline-VCQC4TLM.js} +23 -20
  201. package/dist/{tokens-EX4BOWRW.js → tokens-AEOBCDW5.js} +2 -2
  202. package/dist/{transcribe-RI52JMVW.js → transcribe-COFCB3ZB.js} +25 -22
  203. package/dist/{transcribe-MK367I6A.js → transcribe-X6O5ZSGQ.js} +15 -12
  204. package/dist/{tts-AY4JO5NQ.js → tts-AGMCPQXE.js} +1 -1
  205. package/dist/{updateCheck-BIEJKQI4.js → updateCheck-BW7MDUXZ.js} +4 -4
  206. package/dist/{upgrade-ES3UUI7O.js → upgrade-QXOGA54H.js} +4 -4
  207. package/dist/{urlDownloader-XAGYSTAG.js → urlDownloader-QB3TBIQ5.js} +7 -5
  208. package/dist/{validate-A6GZHNEI.js → validate-AU2BZ7D7.js} +29 -27
  209. package/dist/{video-OEMGR3MN.js → video-GNNYAL5T.js} +9 -7
  210. package/dist/warmCheck.js +46 -44
  211. package/package.json +1 -1
  212. package/dist/chunk-BQMAPNDA.js +0 -4830
  213. package/dist/chunk-DKPNNYBZ.js +0 -44
@@ -11,14 +11,14 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-EGOXYG3M.js";
14
+ } from "./chunk-EYGWMHXV.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
18
- } from "./chunk-KTWGVEN6.js";
18
+ } from "./chunk-RIAWW4G2.js";
19
19
  import {
20
20
  runCancellableProcess
21
- } from "./chunk-Q43YUROE.js";
21
+ } from "./chunk-X6JUUQCM.js";
22
22
  import {
23
23
  getFreeDiskMb
24
24
  } from "./chunk-QSFWGZG6.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-VAS6HQX3.js";
30
30
  import {
31
31
  normalizeErrorMessage
32
- } from "./chunk-EU7MVORF.js";
32
+ } from "./chunk-E63BDV4Z.js";
33
33
 
34
34
  // src/browser/preflight.ts
35
35
  import { existsSync } from "fs";
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-G2A6RC5R.js";
9
+ } from "./chunk-HD4KXG5U.js";
10
10
  import {
11
11
  stripSdrPngColourTags
12
- } from "./chunk-GHSO62LK.js";
12
+ } from "./chunk-GNESG4XA.js";
13
13
  import {
14
14
  injectTagsAtHeadStart
15
- } from "./chunk-BQMAPNDA.js";
15
+ } from "./chunk-QRC7IVBC.js";
16
16
 
17
17
  // src/utils/compositionServer.ts
18
18
  import { createHash } from "crypto";
@@ -10,13 +10,13 @@ import {
10
10
  readSeen,
11
11
  seenPath,
12
12
  writeRecord
13
- } from "./chunk-5PCALX6G.js";
13
+ } from "./chunk-YIFEK3UD.js";
14
14
  import {
15
15
  createProjectConfig
16
- } from "./chunk-ORFRUZPB.js";
16
+ } from "./chunk-IMKBZEGT.js";
17
17
  import {
18
18
  isHyperframesProject
19
- } from "./chunk-QWBVPWUI.js";
19
+ } from "./chunk-5ZJGEQGS.js";
20
20
 
21
21
  // src/utils/desktopApp.ts
22
22
  import { spawn, spawnSync } from "child_process";
@@ -26,7 +26,7 @@ import { basename, isAbsolute, join, relative, win32 } from "path";
26
26
  var DESKTOP_BUNDLE_IDS = ["dev.hyperframes.desktop", "dev.hyperframes.desktop.canary"];
27
27
  var DESKTOP_APP_NAMES = ["HyperFrames.app", "HyperFrames Canary.app"];
28
28
  var APP_NAMES = ["HyperFrames", "HyperFrames Canary"];
29
- var STUDIO_PAGE = "https://hyperframes.dev/studio";
29
+ var STUDIO_PAGE = "https://hyperframes.studio/studio";
30
30
  var DOWNLOADS = {
31
31
  darwin: `${STUDIO_PAGE}/download`,
32
32
  linux: `${STUDIO_PAGE}/download?os=linux`,
@@ -5,16 +5,17 @@ var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
- alphaDecoderFor,
9
- videoStreamHasAlpha
8
+ probeFirstFrameColour,
9
+ probeMediaMetadata
10
+ } from "./chunk-I4H5JWND.js";
11
+ import {
12
+ alphaDecoderFor
10
13
  } from "./chunk-5S7W3TUO.js";
11
14
  import {
12
- firstFrameColourArgs,
13
15
  formatPreviewProxyBox,
14
16
  hdrToSdrToneMapFilter,
15
- isHeavyForPreview,
16
- parseFirstFrameColour
17
- } from "./chunk-QWBVPWUI.js";
17
+ isHeavyForPreview
18
+ } from "./chunk-5ZJGEQGS.js";
18
19
  import {
19
20
  mkdirWithinProject,
20
21
  realProjectRoot,
@@ -37,168 +38,31 @@ import {
37
38
  scanHtmlOpeningTags
38
39
  } from "./chunk-NHA4NRBE.js";
39
40
 
40
- // ../studio-server/dist/chunk-JKPLDWAB.js
41
+ // ../studio-server/dist/chunk-FUTDRYQK.js
41
42
  import { statSync } from "fs";
42
43
  import { sep } from "path";
43
- import { execFile } from "child_process";
44
- import { extname } from "path";
45
- var execFileRunner = (command, args, options) => new Promise((resolvePromise) => {
46
- execFile(
47
- command,
48
- args,
49
- { timeout: options?.timeout, maxBuffer: options?.maxBuffer, windowsHide: true },
50
- (error, stdout, stderr) => {
51
- if (error && error.code === "ENOENT") {
52
- resolvePromise({ status: null, stdout: "", stderr: "", error });
53
- return;
54
- }
55
- if (error) {
56
- const status = typeof error.code === "number" ? error.code : 1;
57
- resolvePromise({ status, stdout: stdout ?? "", stderr: stderr ?? "" });
58
- return;
59
- }
60
- resolvePromise({ status: 0, stdout: stdout ?? "", stderr: stderr ?? "" });
61
- }
62
- );
63
- });
64
- var VIDEO_EXT = /* @__PURE__ */ new Set([
65
- ".mp4",
66
- ".mov",
67
- ".webm",
68
- ".mkv",
69
- ".avi",
70
- ".m4v",
71
- ".mxf",
72
- ".mts",
73
- ".m2ts",
74
- ".ts"
75
- ]);
76
- var IMAGE_EXT = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".avif"]);
77
- var AUDIO_EXT = /* @__PURE__ */ new Set([".mp3", ".wav", ".ogg", ".m4a", ".aac", ".flac"]);
78
- function lower(value) {
79
- return value?.toLowerCase() ?? "";
80
- }
81
- function inferKindFromPath(path) {
82
- const ext = extname(path).toLowerCase();
83
- if (VIDEO_EXT.has(ext)) return "video";
84
- if (IMAGE_EXT.has(ext)) return "image";
85
- if (AUDIO_EXT.has(ext)) return "audio";
86
- return "unknown";
87
- }
88
- function colorLabel(input) {
89
- if (input.isHdr) {
90
- if (input.hdrTransfer === "pq") return "HDR PQ";
91
- if (input.hdrTransfer === "hlg") return "HDR HLG";
92
- return "HDR";
93
- }
94
- if (input.colorPrimaries.includes("bt709") || input.colorSpace.includes("bt709") || input.colorTransfer.includes("bt709")) {
95
- return "SDR Rec.709";
96
- }
97
- return "SDR/unknown";
98
- }
99
- function classifyMediaColor(stream) {
100
- const colorPrimaries = lower(stream?.color_primaries);
101
- const colorSpace = lower(stream?.color_space);
102
- const colorTransfer = lower(stream?.color_transfer);
103
- const isHdr = colorPrimaries.includes("bt2020") || colorSpace.includes("bt2020") || colorTransfer === "smpte2084" || colorTransfer === "arib-std-b67";
104
- const hdrTransfer = isHdr ? colorTransfer === "smpte2084" ? "pq" : colorTransfer === "arib-std-b67" ? "hlg" : "unknown" : null;
105
- return {
106
- dynamicRange: stream ? isHdr ? "hdr" : "sdr" : "unknown",
107
- hdrTransfer,
108
- label: stream ? colorLabel({ isHdr, hdrTransfer, colorPrimaries, colorSpace, colorTransfer }) : "Unknown",
109
- isHdr,
110
- codecName: stream?.codec_name,
111
- profile: stream?.profile,
112
- pixelFormat: stream?.pix_fmt,
113
- colorSpace: stream?.color_space,
114
- colorTransfer: stream?.color_transfer,
115
- colorPrimaries: stream?.color_primaries,
116
- bitsPerRawSample: stream?.bits_per_raw_sample
117
- };
118
- }
119
- async function probeFirstFrameColour(filePath, runner = execFileRunner) {
120
- const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffmpeg");
121
- if (!ffmpegPath) return {};
122
- const result = await runner(ffmpegPath, firstFrameColourArgs(filePath), {
123
- timeout: 15e3,
124
- maxBuffer: 1024 * 1024
125
- });
126
- return result.status === 0 ? parseFirstFrameColour(String(result.stderr)) : {};
127
- }
128
- function bitDepthOf(stream) {
129
- const raw = Number(stream.bits_per_raw_sample);
130
- if (Number.isFinite(raw) && raw > 0) return raw;
131
- const suffixed = /(\d{1,3})(?:le|be)$/.exec(stream.pix_fmt ?? "");
132
- return suffixed ? Number(suffixed[1]) : 8;
133
- }
134
- function sourceFactsOf(stream, formatBitrate) {
135
- if (!stream?.width || !stream.height) return void 0;
136
- const bitrate = Number(stream.bit_rate ?? formatBitrate);
137
- return {
138
- width: stream.width,
139
- height: stream.height,
140
- bitDepth: bitDepthOf(stream),
141
- bitrate: Number.isFinite(bitrate) ? bitrate : 0
142
- };
143
- }
144
- var STREAM_SUMMARY_MAX = 12;
145
- function summarizeStream(stream) {
146
- const flags = Object.entries(stream.disposition ?? {}).filter(([, on]) => on === 1).map(([name]) => name);
147
- return `${stream.codec_type ?? "?"}:${stream.codec_name ?? "?"}[${flags.join(",")}]`;
148
- }
149
- function metadataFromProbe(kind, parsed) {
150
- const stream = parsed.streams?.find((item) => {
151
- if (kind === "image") return item.codec_type === "video";
152
- return item.codec_type === kind && item.disposition?.attached_pic !== 1;
44
+ import { spawn } from "child_process";
45
+ var checks = /* @__PURE__ */ new Map();
46
+ function ffmpegHasHdrFilters(ffmpegPath) {
47
+ const known = checks.get(ffmpegPath);
48
+ if (known) return known;
49
+ const check = new Promise((resolveCheck) => {
50
+ const proc = spawn(ffmpegPath, ["-hide_banner", "-filters"], {
51
+ stdio: ["ignore", "pipe", "pipe"],
52
+ windowsHide: true
53
+ });
54
+ let stdout = "";
55
+ proc.stdout?.on("data", (chunk) => {
56
+ stdout += chunk.toString();
57
+ });
58
+ proc.on("error", () => resolveCheck(false));
59
+ proc.on(
60
+ "close",
61
+ (code) => resolveCheck(code === 0 && /\bzscale\b/.test(stdout) && /\btonemap\b/.test(stdout))
62
+ );
153
63
  });
154
- const metadata = {
155
- kind,
156
- color: classifyMediaColor(stream),
157
- streams: (parsed.streams ?? []).slice(0, STREAM_SUMMARY_MAX).map(summarizeStream)
158
- };
159
- if (kind === "video") {
160
- metadata.hasAudio = (parsed.streams ?? []).some((item) => item.codec_type === "audio");
161
- metadata.hasAlpha = stream !== void 0 && videoStreamHasAlpha(stream);
162
- const duration = Number(parsed.format?.duration);
163
- if (Number.isFinite(duration) && duration > 0) metadata.durationSeconds = duration;
164
- metadata.source = sourceFactsOf(stream, parsed.format?.bit_rate);
165
- }
166
- return metadata;
167
- }
168
- async function probeMediaMetadata(filePath, runner = execFileRunner) {
169
- const kind = inferKindFromPath(filePath);
170
- if (kind === "audio" || kind === "unknown") {
171
- return { kind, color: classifyMediaColor(null) };
172
- }
173
- const ffprobePath = findFfBinary("ffprobe", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffprobe");
174
- if (!ffprobePath) {
175
- return { kind, color: classifyMediaColor(null), probeError: "ffprobe unavailable" };
176
- }
177
- const result = await runner(
178
- ffprobePath,
179
- [
180
- "-v",
181
- "error",
182
- "-show_entries",
183
- "stream=codec_type,codec_name,profile,pix_fmt,color_space,color_transfer,color_primaries,bits_per_raw_sample,width,height,bit_rate:stream_disposition:stream_tags=alpha_mode:format=duration,bit_rate",
184
- "-of",
185
- "json",
186
- "--",
187
- filePath
188
- ],
189
- { timeout: 15e3, maxBuffer: 1024 * 1024 }
190
- );
191
- if (result.error?.code === "ENOENT") {
192
- return { kind, color: classifyMediaColor(null), probeError: "ffprobe unavailable" };
193
- }
194
- if (result.status !== 0) {
195
- return { kind, color: classifyMediaColor(null), probeError: "ffprobe failed" };
196
- }
197
- try {
198
- return metadataFromProbe(kind, JSON.parse(String(result.stdout || "{}")));
199
- } catch {
200
- return { kind, color: classifyMediaColor(null), probeError: "ffprobe returned invalid json" };
201
- }
64
+ checks.set(ffmpegPath, check);
65
+ return check;
202
66
  }
203
67
  var BROWSER_HOSTILE_CODECS = {
204
68
  // HEVC decode is platform-bound, not absent: macOS Chrome answers
@@ -269,12 +133,13 @@ function decideMediaProxyEligibility(facts, lightBox) {
269
133
  }
270
134
  return { eligible: false, reason: "browser_safe_codec" };
271
135
  }
272
- function codecFactsFor(codecName, hasAlpha, source) {
136
+ function codecFactsFor(codecName, hasAlpha, source, toneMapsToSdr = false) {
273
137
  const hostile = hostileCodecEntry(codecName);
274
138
  return {
275
139
  codecName,
276
- browserHostile: hostile !== void 0,
277
- representativeMime: hostile?.representativeMime ?? null,
140
+ browserHostile: hostile !== void 0 || toneMapsToSdr,
141
+ // An HDR clip is never 'playable' for preview, whatever its codec: it takes the SDR copy the export uses.
142
+ representativeMime: toneMapsToSdr ? null : hostile?.representativeMime ?? null,
278
143
  hasAlpha,
279
144
  ...source && { source }
280
145
  };
@@ -285,7 +150,22 @@ async function probeCodecFacts(filePath, runner) {
285
150
  if (metadata.kind !== "video") return null;
286
151
  const codecName = metadata.color.codecName;
287
152
  if (!codecName) return null;
288
- return codecFactsFor(codecName, metadata.hasAlpha === true, metadata.source);
153
+ const hasAlpha = metadata.hasAlpha === true;
154
+ const toneMaps = !hasAlpha && await toneMapsHdr(metadata.color.hdrTransfer);
155
+ return codecFactsFor(codecName, hasAlpha, metadata.source, toneMaps);
156
+ }
157
+ var warnedNoHdrFilters = false;
158
+ async function toneMapsHdr(hdrTransfer) {
159
+ if (hdrTransfer !== "pq" && hdrTransfer !== "hlg") return false;
160
+ const ffmpegPath = findFfBinary("ffmpeg");
161
+ if (ffmpegPath && await ffmpegHasHdrFilters(ffmpegPath)) return true;
162
+ if (!warnedNoHdrFilters) {
163
+ warnedNoHdrFilters = true;
164
+ console.warn(
165
+ `[hyperframes] A video in this project is HDR, but this ffmpeg has no zscale/tonemap (libzimg), so the preview plays it as the browser shows it and will not match an SDR export. Install an ffmpeg with libzimg.`
166
+ );
167
+ }
168
+ return false;
289
169
  }
290
170
  function createMediaCodecProbeCache() {
291
171
  return /* @__PURE__ */ new Map();
@@ -378,8 +258,8 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
378
258
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
379
259
  }
380
260
 
381
- // ../studio-server/dist/chunk-MNJZQCBL.js
382
- import { spawn } from "child_process";
261
+ // ../studio-server/dist/chunk-KPCW4DQM.js
262
+ import { spawn as spawn2 } from "child_process";
383
263
  import { randomUUID } from "crypto";
384
264
  import {
385
265
  existsSync as existsSync4,
@@ -393,7 +273,7 @@ import {
393
273
  import { availableParallelism, tmpdir, totalmem } from "os";
394
274
  import { basename as basename3, dirname as dirname3, extname as extname3, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
395
275
  import { existsSync, readdirSync, statSync as statSync2, unlinkSync } from "fs";
396
- import { extname as extname2, join } from "path";
276
+ import { extname, join } from "path";
397
277
  import { createHash } from "crypto";
398
278
  import {
399
279
  closeSync,
@@ -405,7 +285,7 @@ import {
405
285
  statSync as statSync22,
406
286
  writeFileSync
407
287
  } from "fs";
408
- import { basename, dirname, extname as extname22, join as join2 } from "path";
288
+ import { basename, dirname, extname as extname2, join as join2 } from "path";
409
289
  import {
410
290
  closeSync as closeSync2,
411
291
  existsSync as existsSync3,
@@ -474,7 +354,7 @@ function readCacheInventory(cacheDir, protectedPaths, now, staleTempMs) {
474
354
  if (leftoverIsDead(cacheDir, dirent.name, stat.mtimeMs, protectedPaths, now, staleTempMs)) {
475
355
  staleTemps.push(entry);
476
356
  }
477
- } else if (TRANSCODER_PROXY_NAME.test(dirent.name) && PROXY_EXTENSIONS.has(extname2(dirent.name))) {
357
+ } else if (TRANSCODER_PROXY_NAME.test(dirent.name) && PROXY_EXTENSIONS.has(extname(dirent.name))) {
478
358
  entries.push(entry);
479
359
  }
480
360
  }
@@ -569,7 +449,7 @@ function sourceSizeBytes(sourcePath) {
569
449
  }
570
450
  }
571
451
  function fastIndexPath(cachePath) {
572
- return join2(dirname(cachePath), `.fast-${basename(cachePath, extname22(cachePath))}`);
452
+ return join2(dirname(cachePath), `.fast-${basename(cachePath, extname2(cachePath))}`);
573
453
  }
574
454
  function contentIndexPath(cacheDir, contentKey) {
575
455
  return join2(cacheDir, `.content-${contentKey}`);
@@ -761,9 +641,8 @@ var ProxyDroppedError = class extends ProxyTranscodeError {
761
641
  var activeTranscodes = 0;
762
642
  var waitQueue = [];
763
643
  function enqueue(job) {
764
- const firstNormal = job.priority ? waitQueue.findIndex((queued) => !queued.priority) : -1;
765
- if (firstNormal === -1) waitQueue.push(job);
766
- else waitQueue.splice(firstNormal, 0, job);
644
+ if (job.priority) waitQueue.unshift(job);
645
+ else waitQueue.push(job);
767
646
  }
768
647
  function dequeue(job) {
769
648
  const index = waitQueue.indexOf(job);
@@ -799,7 +678,6 @@ function releaseSlot() {
799
678
  waitQueue.shift()?.queued?.start();
800
679
  }
801
680
  function prioritize(job) {
802
- if (job.priority) return;
803
681
  job.priority = true;
804
682
  if (!job.queued) return;
805
683
  dequeue(job);
@@ -836,29 +714,8 @@ function markCacheEntryUsed(cachePath) {
836
714
  }
837
715
  }
838
716
  var failedTranscodes = /* @__PURE__ */ new Map();
839
- var hdrFilterCheck;
840
- function ensureHdrFilters(ffmpegPath) {
841
- if (hdrFilterCheck?.ffmpegPath === ffmpegPath) return hdrFilterCheck.promise;
842
- const promise = new Promise((resolveCheck, rejectCheck) => {
843
- const proc = spawn(ffmpegPath, ["-hide_banner", "-filters"], {
844
- stdio: ["ignore", "pipe", "pipe"],
845
- windowsHide: true
846
- });
847
- let stdout = "";
848
- proc.stdout?.on("data", (chunk) => {
849
- stdout += chunk.toString();
850
- });
851
- proc.on("error", () => rejectCheck(new FfmpegMissingFilterError()));
852
- proc.on("close", (code) => {
853
- if (code !== 0 || !/\bzscale\b/.test(stdout) || !/\btonemap\b/.test(stdout)) {
854
- rejectCheck(new FfmpegMissingFilterError());
855
- } else {
856
- resolveCheck();
857
- }
858
- });
859
- });
860
- hdrFilterCheck = { ffmpegPath, promise };
861
- return promise;
717
+ async function ensureHdrFilters(ffmpegPath) {
718
+ if (!await ffmpegHasHdrFilters(ffmpegPath)) throw new FfmpegMissingFilterError();
862
719
  }
863
720
  function rememberFailure(cachePath, error) {
864
721
  const ttlMs = error instanceof FfmpegUnavailableError || error instanceof FfmpegMissingFilterError ? ENVIRONMENT_FAILURE_TTL_MS : FAILURE_CACHE_TTL_MS;
@@ -1115,6 +972,10 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, sign
1115
972
  const videoFilter = await buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, box);
1116
973
  const alphaDecoder = keepsAlpha ? alphaDecoderFor(metadata.color.codecName) : null;
1117
974
  const decoderArgs = alphaDecoder ? ["-c:v", alphaDecoder] : [];
975
+ const streamArgs = [
976
+ ...["-map", "0:V:0"],
977
+ ...metadata.audioStream === void 0 ? [] : ["-map", `0:a:${metadata.audioStream}`]
978
+ ];
1118
979
  const totalSeconds = metadata.durationSeconds;
1119
980
  const gate = keepsAlpha ? ALPHA_PIECE_GATE : UNGATED;
1120
981
  const vp8Threads = (pieces) => [
@@ -1132,6 +993,7 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, sign
1132
993
  ...decoderArgs,
1133
994
  "-i",
1134
995
  sourcePath,
996
+ ...streamArgs,
1135
997
  ...range ? ["-t", String(range.lengthSeconds)] : [],
1136
998
  "-vf",
1137
999
  videoFilter,
@@ -1186,7 +1048,7 @@ var OUT_TIME = /^out_time_(?:us|ms)=(\d+)$/;
1186
1048
  function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress) {
1187
1049
  return new Promise((resolvePromise, reject) => {
1188
1050
  signal.throwIfAborted();
1189
- const proc = spawn(ffmpegPath, args, {
1051
+ const proc = spawn2(ffmpegPath, args, {
1190
1052
  stdio: ["ignore", "pipe", "pipe"],
1191
1053
  killSignal: "SIGKILL",
1192
1054
  signal,
@@ -1424,7 +1286,6 @@ function joinJob(promise, job, signal) {
1424
1286
  }
1425
1287
 
1426
1288
  export {
1427
- probeMediaMetadata,
1428
1289
  shouldPrewarmProxy,
1429
1290
  recordProxyPrewarm,
1430
1291
  recordProxyRequest,
@@ -16,11 +16,11 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-4KG3ESVO.js";
19
+ } from "./chunk-FBIWJ3A4.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
23
- } from "./chunk-EXAX37XR.js";
23
+ } from "./chunk-Y65ZU7XY.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-S3S4TGEH.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-ZTZA4UWZ.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-MPO25DQW.js";
32
+ } from "./chunk-I3PNZDKR.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -41,17 +41,17 @@ import {
41
41
  import {
42
42
  getUpdateMeta,
43
43
  withMeta
44
- } from "./chunk-U6KN6OIP.js";
44
+ } from "./chunk-UA3YNZK6.js";
45
45
  import {
46
46
  CONFIG_PATH,
47
47
  withFileLock
48
- } from "./chunk-NEASABW6.js";
48
+ } from "./chunk-P6EXMN5D.js";
49
49
  import {
50
50
  VERSION
51
- } from "./chunk-MW2NQQ6Z.js";
51
+ } from "./chunk-AG566TRI.js";
52
52
  import {
53
53
  normalizeErrorMessage
54
- } from "./chunk-EU7MVORF.js";
54
+ } from "./chunk-E63BDV4Z.js";
55
55
 
56
56
  // src/commands/doctor.ts
57
57
  import { execFileSync, execSync } from "child_process";
@@ -63,6 +63,12 @@ var examples = [
63
63
  ["Check system dependencies", "hyperframes doctor"],
64
64
  ["Output as JSON for CI / agents", "hyperframes doctor --json"]
65
65
  ];
66
+ var TESTED_FFMPEG_VERSION = "8.0.1";
67
+ function ffmpegDoctorDetail(detail) {
68
+ return new RegExp(`^ffmpeg n?${TESTED_FFMPEG_VERSION.replaceAll(".", "\\.")}(?![.\\d])`).test(
69
+ detail
70
+ ) ? `${detail} (tested build)` : `${detail}; loudness numbers are only comparable on ${TESTED_FFMPEG_VERSION}`;
71
+ }
66
72
  function checkDocker() {
67
73
  try {
68
74
  const version = execSync("docker --version", { encoding: "utf-8", timeout: 5e3 }).trim();
@@ -234,7 +240,7 @@ function checkEnvironment() {
234
240
  return { ok: true, detail: parts.join(" \xB7 ") };
235
241
  }
236
242
  async function checkWhisper() {
237
- const { findWhisper, getInstallInstructions } = await import("./manager-6YSKJMVD.js");
243
+ const { findWhisper, getInstallInstructions } = await import("./manager-OQ5J26ST.js");
238
244
  const result = findWhisper();
239
245
  if (result) {
240
246
  return { ok: true, detail: result.executablePath };
@@ -335,7 +341,7 @@ var doctor_default = defineCommand({
335
341
  outcomes.push({
336
342
  name: result.name,
337
343
  ok: result.ok,
338
- detail: result.detail,
344
+ detail: result.name === "FFmpeg" && result.ok ? ffmpegDoctorDetail(result.detail) : result.detail,
339
345
  ...result.hint ? { hint: result.hint } : {}
340
346
  });
341
347
  }
@@ -381,6 +387,8 @@ var doctor_default = defineCommand({
381
387
 
382
388
  export {
383
389
  examples,
390
+ TESTED_FFMPEG_VERSION,
391
+ ffmpegDoctorDetail,
384
392
  checkFramesCache,
385
393
  checkArchiveExtractor,
386
394
  checkSettingsLock,
@@ -16,7 +16,6 @@ import {
16
16
  SCENE_PARTS_META,
17
17
  SCENE_PART_ATTR,
18
18
  assignMediaRenderIds,
19
- buildVariablesByCompScript,
20
19
  clampDurations,
21
20
  compileTimingAttrs,
22
21
  compositionStyle,
@@ -25,6 +24,7 @@ import {
25
24
  cssStyleMergeKey,
26
25
  dedupeFontFaceRules,
27
26
  deferScriptsUntilFonts,
27
+ emitVariablesByCompScript,
28
28
  enumerateNestedCompositionHosts,
29
29
  escapeCssAttributeValue,
30
30
  escapeCssIdentifier,
@@ -59,7 +59,7 @@ import {
59
59
  warnUnknownEnumValues,
60
60
  wrapInlineScriptWithErrorBoundary,
61
61
  wrapScopedCompositionScript
62
- } from "./chunk-BQMAPNDA.js";
62
+ } from "./chunk-QRC7IVBC.js";
63
63
  import {
64
64
  cssVariableName
65
65
  } from "./chunk-VC76R6W2.js";
@@ -69,7 +69,7 @@ import {
69
69
  } from "./chunk-OFQWTKPW.js";
70
70
  import {
71
71
  lintHyperframeHtml
72
- } from "./chunk-FC4WT5FX.js";
72
+ } from "./chunk-P327BIJR.js";
73
73
  import {
74
74
  CSS_URL_RE,
75
75
  checkSubCompositionUsability,
@@ -2462,13 +2462,7 @@ async function bundleProject(projectDir, options) {
2462
2462
  pushRun(styleRuns, void 0, css);
2463
2463
  for (const chunk of compScriptChunks)
2464
2464
  pushRun(scriptRuns, void 0, chunk);
2465
- const variablesByCompScript = buildVariablesByCompScript(compVariablesByComp);
2466
- if (variablesByCompScript) {
2467
- if (scriptRuns[0] && !scriptRuns[0].scene)
2468
- scriptRuns[0].chunks.unshift(variablesByCompScript);
2469
- else
2470
- scriptRuns.unshift({ chunks: [variablesByCompScript] });
2471
- }
2465
+ emitVariablesByCompScript(document, compVariablesByComp);
2472
2466
  for (const { scene, chunks } of styleRuns) {
2473
2467
  const join = scene ? joinCssHoistingImports : (css) => css.join("\n\n");
2474
2468
  for (const style of styleElementsFor(document, chunks, join)) {