hyperframes 0.8.223 → 0.8.225

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 (241) hide show
  1. package/dist/{add-PBLOPJHC.js → add-ZGNY2AXJ.js} +14 -14
  2. package/dist/{agentPromptGenerator-OD74HKYZ.js → agentPromptGenerator-GG4FFZH7.js} +5 -5
  3. package/dist/{animatedGifPrep-QCG2BTDC.js → animatedGifPrep-NVDUG2CD.js} +5 -5
  4. package/dist/api.js +21 -21
  5. package/dist/{asset-KHXCO4OR.js → asset-UC3OQBB3.js} +5 -5
  6. package/dist/{assetCataloger-ZX5WZTDQ.js → assetCataloger-WQTNJMZU.js} +6 -6
  7. package/dist/{audio-7AH2C6PB.js → audio-T6RWZHAA.js} +19 -19
  8. package/dist/{auth-DJWMGXQB.js → auth-FSXEGF3B.js} +4 -4
  9. package/dist/{autoUpdate-KJMLYSHE.js → autoUpdate-LOBHDWAA.js} +4 -4
  10. package/dist/{backgroundChecks-XLVQMMXY.js → backgroundChecks-RBFWIWBP.js} +5 -5
  11. package/dist/backgroundChecksWorker.js +5 -5
  12. package/dist/{batchRender-UR67LI4H.js → batchRender-LDZ6NO2X.js} +6 -6
  13. package/dist/{beats-ISWSYNN6.js → beats-WFPPVM6N.js} +11 -11
  14. package/dist/{benchmark-7JUATINH.js → benchmark-7MYD5S26.js} +13 -13
  15. package/dist/{billing-VGKY3FMX.js → billing-2BJTLFDX.js} +4 -4
  16. package/dist/{browser-HNGQB47C.js → browser-6C4IDYQE.js} +8 -8
  17. package/dist/{bundleWithLocalizedFonts-4XWX2XPS.js → bundleWithLocalizedFonts-ARTT664T.js} +2 -2
  18. package/dist/{capture-GFDP5THL.js → capture-7TFC65RN.js} +7 -7
  19. package/dist/{capture-LBEGVQTJ.js → capture-TWZ5DQHP.js} +16 -16
  20. package/dist/{captureCompositionFrame-5L3J4MZ4.js → captureCompositionFrame-EMP6R3F6.js} +15 -15
  21. package/dist/{captureTimeout-RIMG6IYH.js → captureTimeout-7Y2RUBCU.js} +3 -1
  22. package/dist/{catalog-SNUTPI57.js → catalog-W4RJO4FE.js} +15 -15
  23. package/dist/{catch-up-FE3HDMLJ.js → catch-up-OOCJH3O6.js} +8 -8
  24. package/dist/{check-MQCBMOKA.js → check-BPPHG2CF.js} +42 -42
  25. package/dist/{checkAudio-6VPMLIY6.js → checkAudio-QEGCKX2V.js} +8 -8
  26. package/dist/{checkBrowser-SHUVFQ4S.js → checkBrowser-4JDYYAVA.js} +35 -35
  27. package/dist/{chunk-NZZQCWUC.js → chunk-2EH3WQCS.js} +4 -4
  28. package/dist/{chunk-VJM6NX54.js → chunk-2YZD6CAF.js} +1 -1
  29. package/dist/{chunk-G5KX4X6W.js → chunk-35NDLXHZ.js} +32 -37
  30. package/dist/{chunk-CXEU6XNL.js → chunk-3E2BO3L3.js} +1 -1
  31. package/dist/{chunk-RORIFIUW.js → chunk-3HRQI6LJ.js} +1 -1
  32. package/dist/{chunk-EJOFIHX4.js → chunk-3XQQLL3G.js} +1 -1
  33. package/dist/{chunk-N6XKBBT5.js → chunk-4A643C3B.js} +7 -7
  34. package/dist/{chunk-6ZLDIMPL.js → chunk-4H4DR36N.js} +2 -2
  35. package/dist/{chunk-EX75C5HT.js → chunk-4K6AS5TX.js} +39 -18
  36. package/dist/{chunk-PX7Y4HMM.js → chunk-4VTXUGDR.js} +1 -1
  37. package/dist/{chunk-3FGEDDSA.js → chunk-4Z2SU2VC.js} +24 -22
  38. package/dist/{chunk-4XQQQ4KN.js → chunk-5HGS5MGD.js} +61 -19
  39. package/dist/{chunk-BN75GXZM.js → chunk-5I6XEO4W.js} +5 -5
  40. package/dist/{chunk-4JRFMRCQ.js → chunk-5KADQQ6S.js} +1 -1
  41. package/dist/{chunk-5ZBMHUY2.js → chunk-5LOZWO2M.js} +1 -1
  42. package/dist/{chunk-KCDWRMTC.js → chunk-652ERUZD.js} +2 -2
  43. package/dist/{chunk-DP5LF7GF.js → chunk-66W5IWLO.js} +12 -0
  44. package/dist/{chunk-CYE2NNFF.js → chunk-6IV2N527.js} +2 -2
  45. package/dist/chunk-6UWSEXQ3.js +5030 -0
  46. package/dist/{chunk-I6OY5MS6.js → chunk-7HSV5SJ4.js} +3 -3
  47. package/dist/{chunk-FKBWONRY.js → chunk-7RTPHNOO.js} +1 -1
  48. package/dist/{chunk-MUHOFRGW.js → chunk-A25SCSOK.js} +1 -1
  49. package/dist/{chunk-WUXDIF5D.js → chunk-ACUVSKUI.js} +23 -15
  50. package/dist/{chunk-45UOXUUH.js → chunk-ADOBHVHW.js} +2 -2
  51. package/dist/{chunk-SJGE5I5F.js → chunk-ADVVQX4I.js} +1 -1
  52. package/dist/{chunk-SNFVQDKE.js → chunk-AF3EN5XS.js} +3 -3
  53. package/dist/{chunk-M4UVOUWC.js → chunk-AMQFGICP.js} +1 -1
  54. package/dist/{chunk-VBCBHDIW.js → chunk-BEMGUGGJ.js} +1 -1
  55. package/dist/{chunk-WGOIJN57.js → chunk-BKHBSFEO.js} +3 -3
  56. package/dist/{chunk-K5GMPWMG.js → chunk-BTDKWWND.js} +2 -2
  57. package/dist/{chunk-UBDO4EHA.js → chunk-C5JKRCSG.js} +1 -1
  58. package/dist/{chunk-OVINGNLQ.js → chunk-CGX4EOGT.js} +3 -3
  59. package/dist/{chunk-NLWG5TU7.js → chunk-CXVFPIOM.js} +1 -1
  60. package/dist/{chunk-UQVAAEPQ.js → chunk-E47ZWDMH.js} +1 -1
  61. package/dist/{chunk-P5QGZMGC.js → chunk-EEBIHQF2.js} +2 -2
  62. package/dist/{chunk-A2KNKY4Z.js → chunk-EECV7SDN.js} +1 -1
  63. package/dist/{chunk-FORV75JT.js → chunk-EIIMWDZW.js} +51 -29
  64. package/dist/{chunk-IJI2JNN7.js → chunk-EQFDOQTG.js} +1 -1
  65. package/dist/{chunk-OWFSGDQS.js → chunk-FJ3KUOUZ.js} +1 -1
  66. package/dist/{chunk-7KBS6ZLB.js → chunk-FPR57WRR.js} +2 -2
  67. package/dist/{chunk-WWOHLNFO.js → chunk-FPWCICAI.js} +1 -1
  68. package/dist/{chunk-C466I3DT.js → chunk-G45NYKSM.js} +38 -3
  69. package/dist/{chunk-QZGKKQ77.js → chunk-G6Z47UQP.js} +125 -13
  70. package/dist/{chunk-UFYWGUUV.js → chunk-GE4ABM5K.js} +2 -2
  71. package/dist/{chunk-KJGYQVFD.js → chunk-GI42ZB52.js} +1 -1
  72. package/dist/{chunk-MTVL7FWZ.js → chunk-GZPGTGRV.js} +1 -1
  73. package/dist/{chunk-JNQCM6CR.js → chunk-HMS6UHUW.js} +2 -2
  74. package/dist/{chunk-7XWCCFYW.js → chunk-HW6HTTBZ.js} +1 -1
  75. package/dist/{chunk-JTZHDD63.js → chunk-IB7I5IEC.js} +1 -1
  76. package/dist/{chunk-B5HFCGI7.js → chunk-IJWDVOIO.js} +2 -2
  77. package/dist/{chunk-B6F33PUK.js → chunk-IORJ42GY.js} +2 -2
  78. package/dist/{chunk-S2HWGG5O.js → chunk-JHOPRAJN.js} +1 -1
  79. package/dist/{chunk-EF735J3K.js → chunk-K73PYNON.js} +2 -2
  80. package/dist/{chunk-ZEKV5T3I.js → chunk-KDF67KEB.js} +14 -14
  81. package/dist/{chunk-PHEPL7OX.js → chunk-KEDN4LSV.js} +2 -2
  82. package/dist/{chunk-2HBB5U52.js → chunk-KVBOJJ5R.js} +3 -3
  83. package/dist/{chunk-BDEBKAD2.js → chunk-LWTT7I7X.js} +1 -1
  84. package/dist/{chunk-QNLHDYYO.js → chunk-LZB5AHFD.js} +1 -1
  85. package/dist/{chunk-VMRQDPFL.js → chunk-M336YVCP.js} +1 -1
  86. package/dist/{chunk-664JAO7C.js → chunk-M3WOI7BU.js} +3 -3
  87. package/dist/{chunk-6LE7K3YM.js → chunk-M4NN4AHH.js} +12 -12
  88. package/dist/{chunk-EQGKUPBJ.js → chunk-MCDNAIFF.js} +1 -1
  89. package/dist/{chunk-UGUWSAJT.js → chunk-NLELDFX7.js} +2 -2
  90. package/dist/{chunk-RKVKFXYB.js → chunk-O3MGHHJO.js} +3 -3
  91. package/dist/{chunk-PBPHKD56.js → chunk-OZMZFJDW.js} +1 -1
  92. package/dist/{chunk-LAIGIOEA.js → chunk-PICDT6ZW.js} +2 -2
  93. package/dist/{chunk-RWSVSCOP.js → chunk-QOYZ3U6G.js} +1 -1
  94. package/dist/{chunk-HOTXWVVP.js → chunk-R2C5EON5.js} +2 -6
  95. package/dist/{chunk-A5WWEW6U.js → chunk-R6JPOEDZ.js} +1 -1
  96. package/dist/{chunk-JO4LHFFP.js → chunk-RDLJSUI4.js} +17 -11
  97. package/dist/{chunk-Y4INSXS7.js → chunk-RR5QE7DB.js} +2 -2
  98. package/dist/{chunk-ONMTNYGR.js → chunk-RXJUMVCA.js} +1 -1
  99. package/dist/{chunk-SDBVVDBW.js → chunk-SIYDHVN2.js} +1 -1
  100. package/dist/{chunk-AKTI2SHL.js → chunk-SVGHIMPQ.js} +2 -2
  101. package/dist/{chunk-LV5AVW6U.js → chunk-SXHSNLEC.js} +1 -1
  102. package/dist/{chunk-KT2WLSX5.js → chunk-T5KG6H6L.js} +9 -9
  103. package/dist/{chunk-OZM6VLD7.js → chunk-TRPNLI6V.js} +1 -1
  104. package/dist/{chunk-XZEHFUQF.js → chunk-UBH2R663.js} +3 -3
  105. package/dist/{chunk-44IPXXSK.js → chunk-UBXKKXXR.js} +3 -3
  106. package/dist/{chunk-IQ7FABPU.js → chunk-UCPEABYK.js} +2 -2
  107. package/dist/{chunk-M7HNGAWN.js → chunk-UQWOOANM.js} +2 -2
  108. package/dist/{chunk-KWYK65GR.js → chunk-UZ5AWZCA.js} +3 -3
  109. package/dist/{chunk-AW7UW2Z7.js → chunk-VHL26GNQ.js} +2 -2
  110. package/dist/{chunk-44YG42L5.js → chunk-W464PHF3.js} +7 -7
  111. package/dist/{chunk-26AQTUU4.js → chunk-WJD3GVAA.js} +1 -1
  112. package/dist/{chunk-OL2C3ODS.js → chunk-WQCVZEXH.js} +4 -4
  113. package/dist/{chunk-DS372VSV.js → chunk-WW7Z2W73.js} +2 -2
  114. package/dist/{chunk-7LKEHM2R.js → chunk-X5BSSPC2.js} +1 -1
  115. package/dist/{chunk-SX7ESVCQ.js → chunk-XM5KYLIE.js} +2 -2
  116. package/dist/{chunk-DFK4RMNE.js → chunk-Y5OSQXGZ.js} +5 -5
  117. package/dist/{chunk-EHSBBBR2.js → chunk-YGGZ23BB.js} +2 -0
  118. package/dist/{chunk-WQLTKHPP.js → chunk-Z57RQBIA.js} +2 -2
  119. package/dist/{chunk-UVF4U3ZF.js → chunk-Z7GIHPAZ.js} +1 -1
  120. package/dist/{chunk-XC3BGWCJ.js → chunk-ZFQSXMX6.js} +1 -1
  121. package/dist/{chunk-2GMHYOV3.js → chunk-ZGQC6IU7.js} +1 -1
  122. package/dist/{clean-JZOPMJMV.js → clean-XWDDXLRP.js} +18 -18
  123. package/dist/cli.js +73 -66
  124. package/dist/{cloud-VMPF2KMA.js → cloud-SETWVGKH.js} +4 -4
  125. package/dist/{cloudrun-LA2FKS2F.js → cloudrun-RHPVVXCR.js} +8 -8
  126. package/dist/{compare-IQCFSC5Z.js → compare-FWMFV7A7.js} +32 -32
  127. package/dist/{compiler-J7OZQIPD.js → compiler-SKRY6FPA.js} +2 -2
  128. package/dist/{component-TRGBVFCI.js → component-HGEIXY3U.js} +6 -6
  129. package/dist/{compositions-FOC2CAZX.js → compositions-2TXJLBWE.js} +13 -13
  130. package/dist/{curve-ID3Z522S.js → curve-SSFKIA2L.js} +11 -11
  131. package/dist/{cuts-MWHQSE2Z.js → cuts-BWXHTOOP.js} +12 -12
  132. package/dist/{delete-47KZ7PLI.js → delete-F5RDWZEJ.js} +9 -9
  133. package/dist/{deploy-NTNEO4TI.js → deploy-OH4SMYTG.js} +4 -4
  134. package/dist/{describeProject-WWREIVQV.js → describeProject-B7H4T5PW.js} +6 -6
  135. package/dist/{destroy-6NWJMQX2.js → destroy-IQLGADZM.js} +3 -3
  136. package/dist/{diff-GH4KCQGQ.js → diff-6JFFTFKR.js} +23 -23
  137. package/dist/{dist-XW7FATO6.js → dist-YEYUGCOR.js} +2 -2
  138. package/dist/{docs-VAF5NM5B.js → docs-IB3KETC6.js} +1 -1
  139. package/dist/{doctor-4ZH7WFU6.js → doctor-XQCZB5BY.js} +11 -11
  140. package/dist/{energy-2C65KXBH.js → energy-MEMYSTFT.js} +12 -12
  141. package/dist/{events-FUFFA55P.js → events-T7OLH6MW.js} +6 -6
  142. package/dist/{events-Q3EBOW2Y.js → events-U6PXJI34.js} +5 -5
  143. package/dist/{events-QO5G2VCC.js → events-ZU2ATKWK.js} +14 -14
  144. package/dist/{extract-Z6TLBM5B.js → extract-25TUTGCA.js} +12 -12
  145. package/dist/{face-WI6BPPUG.js → face-KMLYOE5H.js} +12 -12
  146. package/dist/{feedback-M5GZWDXP.js → feedback-FE7GQTBH.js} +14 -14
  147. package/dist/{ffmpeg-27H6P7ZU.js → ffmpeg-CXYPYIZK.js} +5 -5
  148. package/dist/{figma-AI6TSWVO.js → figma-QMKU7M7T.js} +3 -3
  149. package/dist/fontLocalizeCli.js +8 -8
  150. package/dist/{frames-WUTLVZIR.js → frames-2NPBO6LB.js} +13 -13
  151. package/dist/{generate-3CJREF5U.js → generate-I6E3V7PU.js} +17 -17
  152. package/dist/{get-KTDRE33B.js → get-JJWBP5NB.js} +8 -8
  153. package/dist/{gpuPolicy-Z4MM64HY.js → gpuPolicy-2OMDU74V.js} +5 -5
  154. package/dist/{grade-compare-IM7Z7HWI.js → grade-compare-QCA3VIKQ.js} +33 -33
  155. package/dist/{heifImagePrep-CXI2ZMUX.js → heifImagePrep-P53GG4GF.js} +6 -6
  156. package/dist/{help-5FR6BRLR.js → help-COSONWFD.js} +1 -1
  157. package/dist/{history-5P5YVP5H.js → history-CWKF5AXI.js} +10 -10
  158. package/dist/hyperframe.manifest.json +1 -1
  159. package/dist/hyperframe.runtime.iife.js +64 -64
  160. package/dist/hyperframes-player.global.js +3 -3
  161. package/dist/{info-5ZGNJJVA.js → info-SD74Y6V5.js} +11 -11
  162. package/dist/{init-NWIAEYSX.js → init-XAYQNTVF.js} +29 -29
  163. package/dist/{inspect-HBLAVW5C.js → inspect-Y5IIQBIW.js} +33 -33
  164. package/dist/{installer-KVFTBZZ5.js → installer-NQA4KXRP.js} +4 -4
  165. package/dist/{keyframes-LFCLUY2R.js → keyframes-MNPCJZYU.js} +10 -10
  166. package/dist/{lambda-RFWTTMLU.js → lambda-PMI6IDVN.js} +19 -19
  167. package/dist/{layout-WOG2Y5ND.js → layout-6IM6R6LX.js} +33 -33
  168. package/dist/{lint-7MALXMMF.js → lint-6VUHVHFF.js} +10 -10
  169. package/dist/{list-XRYAT24W.js → list-XXTAS744.js} +9 -9
  170. package/dist/{localPage-IN36JVJU.js → localPage-2UHUS6LM.js} +5 -5
  171. package/dist/{login-32WGVGTM.js → login-KM3LPYQ7.js} +8 -8
  172. package/dist/{logout-SLI6YTHI.js → logout-LHTQV2BZ.js} +3 -3
  173. package/dist/{look-ZWVE6JO3.js → look-3CD3ZSXY.js} +12 -12
  174. package/dist/{manager-SFL6GLYX.js → manager-C6GVT3EI.js} +6 -6
  175. package/dist/{measure-Q74BJTRQ.js → measure-DWZX4YAK.js} +10 -10
  176. package/dist/{media-treatment-3R6DYEAZ.js → media-treatment-IIUPGQIX.js} +15 -15
  177. package/dist/{media-use-ZM2WCRQC.js → media-use-HLHUEFDK.js} +3 -3
  178. package/dist/{models-NNC53UPU.js → models-IWHY5V6N.js} +13 -13
  179. package/dist/{motionShot-5BI5JFUP.js → motionShot-4NKHFUS7.js} +18 -18
  180. package/dist/{normalize-audio-6Z2WN56Q.js → normalize-audio-M2RS5Q23.js} +12 -12
  181. package/dist/{open-5NCEN6RC.js → open-U7CCHUBO.js} +15 -15
  182. package/dist/{parakeetRunner-DH3XKR3C.js → parakeetRunner-ZHG3S6GY.js} +10 -10
  183. package/dist/{pipeline-CGEGQAPH.js → pipeline-66JR7EC7.js} +9 -9
  184. package/dist/{play-K37BN736.js → play-5COR53D2.js} +23 -23
  185. package/dist/{policies-U4PFXF5E.js → policies-EERREOZJ.js} +2 -2
  186. package/dist/{preflight-CG7H3D5B.js → preflight-OKAO5NPW.js} +6 -6
  187. package/dist/{present-KQ53DOHA.js → present-YKFQC22R.js} +19 -19
  188. package/dist/{preview-V7CYHL6U.js → preview-3YNKJZME.js} +21 -21
  189. package/dist/{probe-JVW2MPY3.js → probe-QMPDGKU5.js} +11 -11
  190. package/dist/{producer-UD32S7PX.js → producer-WBVDP3IV.js} +1 -1
  191. package/dist/{progress-X3QFO3FE.js → progress-STSH2JRY.js} +2 -2
  192. package/dist/{projectConfig-WXCB5AZE.js → projectConfig-UI4NZDN7.js} +6 -6
  193. package/dist/{prompts-VAO7RDKX.js → prompts-ZEVFT7US.js} +2 -2
  194. package/dist/{publication-KG4UDZRM.js → publication-VPJZQCLA.js} +2 -2
  195. package/dist/{publish-MEQB543T.js → publish-7RA2MK2M.js} +14 -14
  196. package/dist/{refresh-2LU4XDL7.js → refresh-AM2ULRRV.js} +3 -3
  197. package/dist/{remove-background-FSV5KQK3.js → remove-background-ELC7V7KT.js} +12 -12
  198. package/dist/{render-O4S4SURS.js → render-IYV73CG6.js} +9 -9
  199. package/dist/{render-SY4AXKXC.js → render-R7E7TTNE.js} +23 -23
  200. package/dist/{render-SQXZAGPQ.js → render-WH7MPRZD.js} +38 -38
  201. package/dist/{render-batch-GTZQUB3H.js → render-batch-IN2ZXPS7.js} +9 -9
  202. package/dist/{resolver-BQZNCVJS.js → resolver-DIXFK5ZR.js} +4 -4
  203. package/dist/{run-67OPNJGD.js → run-MCVU7AZX.js} +4 -4
  204. package/dist/{sam-QA7JT7IM.js → sam-EGFXZF56.js} +2 -2
  205. package/dist/{screenshotCapture-4THETOMD.js → screenshotCapture-RUDON2HB.js} +2 -2
  206. package/dist/{sherpa-KH3PJAUG.js → sherpa-FP6HX5KK.js} +9 -9
  207. package/dist/{sites-MTLVMYJ6.js → sites-EAGXQOKI.js} +2 -2
  208. package/dist/skills/hyperframes-cli/SKILL.md +4 -4
  209. package/dist/skills/hyperframes-cli/references/cloud.md +3 -1
  210. package/dist/skills/hyperframes-cli/references/preview-render.md +1 -1
  211. package/dist/{skills-FTZZJGAB.js → skills-JLNDM2KP.js} +9 -9
  212. package/dist/{skillsUpdateCheck-LZPD2CZI.js → skillsUpdateCheck-WS5M25TN.js} +5 -5
  213. package/dist/{snapshot-4BORZ3ED.js → snapshot-VPN6GA7U.js} +37 -37
  214. package/dist/{src-D7AO7PGH.js → src-AP7B27MZ.js} +8 -4
  215. package/dist/{src-6ZOFAM3F.js → src-RGQFYVHO.js} +7 -7
  216. package/dist/{state-6QHNNHDA.js → state-W3AS6O2J.js} +2 -2
  217. package/dist/{staticProjectServer-Q23A6XU2.js → staticProjectServer-YA6XOSFY.js} +16 -16
  218. package/dist/{status-VIJRZ4ZK.js → status-Y5ZBFJ53.js} +6 -6
  219. package/dist/studio/assets/hyperframes-player-Do2ZF6Lp.js +478 -0
  220. package/dist/studio/assets/{index-mbwAH5iR.js → index-CK4_IJ8G.js} +1 -1
  221. package/dist/studio/assets/{index-DD9KJoEr.js → index-Dxb7fTWf.js} +4 -4
  222. package/dist/studio/index.html +1 -1
  223. package/dist/{studio-api-XVVJZ7YT.js → studio-api-57E36S5N.js} +8 -8
  224. package/dist/{studioServer-6HG3AMTW.js → studioServer-EVMF3HHL.js} +51 -51
  225. package/dist/{sync-Q5SRIL7V.js → sync-ASUBSVGQ.js} +12 -12
  226. package/dist/{telemetry-QHYJJAJU.js → telemetry-T73TKZOL.js} +1 -1
  227. package/dist/{telemetry-VXPSJ3X3.js → telemetry-YON45KT4.js} +6 -6
  228. package/dist/{timeline-6477OWFA.js → timeline-OQWDGV7L.js} +22 -22
  229. package/dist/{tokens-ZUUNEDKT.js → tokens-NMPY673W.js} +5 -5
  230. package/dist/{transcribe-ITVANIDK.js → transcribe-C6FKVSRR.js} +23 -23
  231. package/dist/{transcribe-HA4UGLKO.js → transcribe-HSYXT5TZ.js} +8 -8
  232. package/dist/{tts-KMZPHG3K.js → tts-ZLNNIS6W.js} +4 -4
  233. package/dist/{updateCheck-SVADAQ43.js → updateCheck-B7PAAPCJ.js} +4 -4
  234. package/dist/{upgrade-WKW4FDNF.js → upgrade-BOECDD5S.js} +5 -5
  235. package/dist/{urlDownloader-VWHCESDD.js → urlDownloader-KC2SS457.js} +4 -4
  236. package/dist/{validate-7VG2RLP2.js → validate-LEEBUIIH.js} +27 -27
  237. package/dist/{video-LM3FYHGG.js → video-JJAEISDH.js} +7 -7
  238. package/dist/warmCheck.js +42 -42
  239. package/package.json +1 -1
  240. package/dist/chunk-UQECNXFA.js +0 -5013
  241. package/dist/studio/assets/hyperframes-player-D0W1SNqK.js +0 -478
@@ -19,51 +19,51 @@ import {
19
19
  preResolveHostileMediaProxies,
20
20
  runBrowserCheck,
21
21
  samplingBrowserCount
22
- } from "./chunk-WUXDIF5D.js";
23
- import "./chunk-6LE7K3YM.js";
24
- import "./chunk-ZEKV5T3I.js";
22
+ } from "./chunk-ACUVSKUI.js";
23
+ import "./chunk-M4NN4AHH.js";
24
+ import "./chunk-KDF67KEB.js";
25
25
  import "./chunk-TQBQYO4L.js";
26
26
  import "./chunk-X7MTZ4T2.js";
27
- import "./chunk-SNFVQDKE.js";
28
- import "./chunk-N6XKBBT5.js";
27
+ import "./chunk-AF3EN5XS.js";
28
+ import "./chunk-4A643C3B.js";
29
29
  import "./chunk-X7MTZ4T2.js";
30
- import "./chunk-OVINGNLQ.js";
30
+ import "./chunk-CGX4EOGT.js";
31
31
  import "./chunk-XUHOIDKG.js";
32
- import "./chunk-G5KX4X6W.js";
33
- import "./chunk-C466I3DT.js";
34
- import "./chunk-KCDWRMTC.js";
32
+ import "./chunk-35NDLXHZ.js";
33
+ import "./chunk-G45NYKSM.js";
34
+ import "./chunk-652ERUZD.js";
35
35
  import "./chunk-AW3XJY4S.js";
36
- import "./chunk-UFYWGUUV.js";
37
- import "./chunk-UQVAAEPQ.js";
36
+ import "./chunk-GE4ABM5K.js";
37
+ import "./chunk-E47ZWDMH.js";
38
38
  import "./chunk-QU5OYMTB.js";
39
39
  import "./chunk-ALVXFXUG.js";
40
- import "./chunk-JO4LHFFP.js";
41
- import "./chunk-HOTXWVVP.js";
42
- import "./chunk-BN75GXZM.js";
43
- import "./chunk-7LKEHM2R.js";
44
- import "./chunk-5ZBMHUY2.js";
45
- import "./chunk-EHSBBBR2.js";
46
- import "./chunk-PBPHKD56.js";
47
- import "./chunk-2GMHYOV3.js";
40
+ import "./chunk-RDLJSUI4.js";
41
+ import "./chunk-R2C5EON5.js";
42
+ import "./chunk-5I6XEO4W.js";
43
+ import "./chunk-X5BSSPC2.js";
44
+ import "./chunk-5LOZWO2M.js";
45
+ import "./chunk-YGGZ23BB.js";
46
+ import "./chunk-OZMZFJDW.js";
47
+ import "./chunk-ZGQC6IU7.js";
48
48
  import "./chunk-XT7X6QCP.js";
49
49
  import "./chunk-5YPMCCCA.js";
50
50
  import "./chunk-HVW7ABXD.js";
51
- import "./chunk-MUHOFRGW.js";
51
+ import "./chunk-A25SCSOK.js";
52
52
  import "./chunk-JHOCK3DG.js";
53
- import "./chunk-IQ7FABPU.js";
54
- import "./chunk-IJI2JNN7.js";
53
+ import "./chunk-UCPEABYK.js";
54
+ import "./chunk-EQFDOQTG.js";
55
55
  import "./chunk-AWDFDFI3.js";
56
56
  import "./chunk-P6LJ4Y32.js";
57
57
  import "./chunk-T2WJO4XM.js";
58
58
  import "./chunk-W4DMQZL5.js";
59
- import "./chunk-XZEHFUQF.js";
60
- import "./chunk-B5HFCGI7.js";
59
+ import "./chunk-UBH2R663.js";
60
+ import "./chunk-IJWDVOIO.js";
61
61
  import "./chunk-EHZESMRB.js";
62
62
  import "./chunk-A4ZTSQLW.js";
63
- import "./chunk-LAIGIOEA.js";
64
- import "./chunk-45UOXUUH.js";
63
+ import "./chunk-PICDT6ZW.js";
64
+ import "./chunk-ADOBHVHW.js";
65
65
  import "./chunk-PXVQOMKL.js";
66
- import "./chunk-EQGKUPBJ.js";
66
+ import "./chunk-MCDNAIFF.js";
67
67
  import "./chunk-VLA6UJGH.js";
68
68
  import "./chunk-DL4OD7IA.js";
69
69
  import "./chunk-S3S4TGEH.js";
@@ -73,15 +73,15 @@ import "./chunk-2GICKZ3I.js";
73
73
  import "./chunk-G6OKQMJI.js";
74
74
  import "./chunk-EVMY7IPL.js";
75
75
  import "./chunk-7FMUTGOH.js";
76
- import "./chunk-4XQQQ4KN.js";
76
+ import "./chunk-5HGS5MGD.js";
77
77
  import "./chunk-Z5J67X44.js";
78
78
  import "./chunk-5S7W3TUO.js";
79
79
  import "./chunk-D3MUHMFG.js";
80
- import "./chunk-FKBWONRY.js";
80
+ import "./chunk-7RTPHNOO.js";
81
81
  import "./chunk-YWRUQ7XZ.js";
82
- import "./chunk-OWFSGDQS.js";
82
+ import "./chunk-FJ3KUOUZ.js";
83
83
  import "./chunk-MEJH7VEA.js";
84
- import "./chunk-UQECNXFA.js";
84
+ import "./chunk-6UWSEXQ3.js";
85
85
  import "./chunk-VC76R6W2.js";
86
86
  import "./chunk-OFQWTKPW.js";
87
87
  import "./chunk-RQVDTPGD.js";
@@ -105,15 +105,15 @@ import "./chunk-2RY2LWAA.js";
105
105
  import "./chunk-EPQC3FGZ.js";
106
106
  import "./chunk-WC4MTXGN.js";
107
107
  import "./chunk-FBN2M2HK.js";
108
- import "./chunk-K5GMPWMG.js";
108
+ import "./chunk-BTDKWWND.js";
109
109
  import "./chunk-BR2JQQC5.js";
110
110
  import "./chunk-BLBMPEBX.js";
111
111
  import "./chunk-ISN5GRYI.js";
112
- import "./chunk-SJGE5I5F.js";
113
- import "./chunk-DP5LF7GF.js";
112
+ import "./chunk-ADVVQX4I.js";
113
+ import "./chunk-66W5IWLO.js";
114
114
  import "./chunk-J3RXEDR2.js";
115
115
  import "./chunk-QBXDU24O.js";
116
- import "./chunk-P5QGZMGC.js";
116
+ import "./chunk-EEBIHQF2.js";
117
117
  import "./chunk-E63BDV4Z.js";
118
118
  import "./chunk-G7VEYUZ2.js";
119
119
  import "./chunk-XT6MXC7A.js";
@@ -6,20 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  pageUrl
9
- } from "./chunk-EF735J3K.js";
9
+ } from "./chunk-K73PYNON.js";
10
10
  import {
11
11
  Fix
12
- } from "./chunk-VJM6NX54.js";
12
+ } from "./chunk-2YZD6CAF.js";
13
13
  import {
14
14
  refreshIfNeeded,
15
15
  resolveCloudAuthHeaders,
16
16
  resolveCloudBaseUrl
17
- } from "./chunk-VBCBHDIW.js";
17
+ } from "./chunk-BEMGUGGJ.js";
18
18
  import {
19
19
  AuthClient,
20
20
  buildAuthHeaders,
21
21
  resolveCredential
22
- } from "./chunk-RWSVSCOP.js";
22
+ } from "./chunk-QOYZ3U6G.js";
23
23
  import {
24
24
  configDir
25
25
  } from "./chunk-VLA6UJGH.js";
@@ -8,7 +8,7 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-WWOHLNFO.js";
11
+ } from "./chunk-FPWCICAI.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-C466I3DT.js";
22
+ } from "./chunk-G45NYKSM.js";
23
23
  import {
24
24
  DEFAULT_TARGET_LUFS,
25
25
  absoluteLoudnessPlan,
@@ -28,7 +28,7 @@ import {
28
28
  requestedProjectPath,
29
29
  requiredFfmpeg,
30
30
  resolveLocalAudioPath
31
- } from "./chunk-KCDWRMTC.js";
31
+ } from "./chunk-652ERUZD.js";
32
32
  import {
33
33
  MEDIA_LINK_ATTR,
34
34
  relinkSplitHalves
@@ -55,11 +55,11 @@ import {
55
55
  scanProjectMedia,
56
56
  shouldPrewarmProxy,
57
57
  waitForProxy
58
- } from "./chunk-UFYWGUUV.js";
58
+ } from "./chunk-GE4ABM5K.js";
59
59
  import {
60
60
  probeAudioTrack,
61
61
  probeMediaMetadata
62
- } from "./chunk-UQVAAEPQ.js";
62
+ } from "./chunk-E47ZWDMH.js";
63
63
  import {
64
64
  HistoryBusyError,
65
65
  MAX_WINDOW_IDLE_MS,
@@ -115,7 +115,7 @@ import {
115
115
  ensureHfIds,
116
116
  stampHfIdsInPlace,
117
117
  stripSdrPngColourTags
118
- } from "./chunk-FKBWONRY.js";
118
+ } from "./chunk-7RTPHNOO.js";
119
119
  import {
120
120
  PREVIEW_PROXY_BOX_PARAM,
121
121
  PREVIEW_PROXY_LIGHT_PARAM,
@@ -127,7 +127,7 @@ import {
127
127
  fpsToNumber,
128
128
  parseFps,
129
129
  parsePreviewProxyBox
130
- } from "./chunk-OWFSGDQS.js";
130
+ } from "./chunk-FJ3KUOUZ.js";
131
131
  import {
132
132
  GSAP_BASE_URL_META,
133
133
  gsapCdnDist,
@@ -149,7 +149,7 @@ import {
149
149
  resolveRateSpec,
150
150
  sourceTimeAt,
151
151
  stripEmbeddedRuntimeScripts
152
- } from "./chunk-UQECNXFA.js";
152
+ } from "./chunk-6UWSEXQ3.js";
153
153
  import {
154
154
  ProjectRootMissingError,
155
155
  folderGone,
@@ -3671,8 +3671,17 @@ import { dirname as dirname4, join as join7, parse as parse2, relative as relati
3671
3671
  import { readFileSync as readFileSync7 } from "fs";
3672
3672
  import { join as join9 } from "path";
3673
3673
  import { streamSSE } from "hono/streaming";
3674
- import { existsSync as existsSync6, lstatSync as lstatSync3, readFileSync as readFileSync8, unlinkSync as unlinkSync3, readdirSync as readdirSync3, statSync as statSync5 } from "fs";
3674
+ import {
3675
+ createReadStream as createReadStream2,
3676
+ existsSync as existsSync6,
3677
+ lstatSync as lstatSync3,
3678
+ readFileSync as readFileSync8,
3679
+ unlinkSync as unlinkSync3,
3680
+ readdirSync as readdirSync3,
3681
+ statSync as statSync5
3682
+ } from "fs";
3675
3683
  import { dirname as dirname5, join as join10 } from "path";
3684
+ import { Readable as Readable2 } from "stream";
3676
3685
  import { HTTPException } from "hono/http-exception";
3677
3686
  import { open, stat } from "fs/promises";
3678
3687
  import { createHash as createHash4 } from "crypto";
@@ -5592,7 +5601,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5592
5601
  let block = extractGsapScriptBlock(html);
5593
5602
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5594
5603
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5595
- const { GSAP_CDN } = await import("./dist-XW7FATO6.js");
5604
+ const { GSAP_CDN } = await import("./dist-YEYUGCOR.js");
5596
5605
  const bootstrap = [
5597
5606
  `<script src="${GSAP_CDN}"></script>`,
5598
5607
  "<script>",
@@ -8268,23 +8277,25 @@ function registerRenderRoutes(api, adapter) {
8268
8277
  const ext = RENDER_EXTENSIONS.find((e) => filePath.endsWith(e));
8269
8278
  return (ext && RENDER_MIME[ext]) ?? "video/mp4";
8270
8279
  }
8280
+ function renderFileResponse(filePath, disposition, filename, method) {
8281
+ const headers = {
8282
+ "Content-Type": renderContentType(filePath),
8283
+ "Content-Disposition": contentDispositionHeader(disposition, filename),
8284
+ ...disposition === "inline" ? { "Accept-Ranges": "bytes" } : {},
8285
+ "Content-Length": String(statSync5(filePath).size)
8286
+ };
8287
+ if (method === "HEAD") return new Response(null, { headers });
8288
+ const body = Readable2.toWeb(createReadStream2(filePath));
8289
+ return new Response(body, { headers });
8290
+ }
8271
8291
  api.get("/render/:jobId/view", (c) => {
8272
8292
  const { jobId } = c.req.param();
8273
8293
  const job = renderJobs.get(jobId);
8274
8294
  if (!job?.outputPath || !isPlainFile(job.outputPath)) {
8275
8295
  return c.json({ error: "not found" }, 404);
8276
8296
  }
8277
- const contentType = renderContentType(job.outputPath);
8278
8297
  const filename = job.outputPath.split("/").pop() ?? `render.mp4`;
8279
- const content = readFileSync8(job.outputPath);
8280
- return new Response(content, {
8281
- headers: {
8282
- "Content-Type": contentType,
8283
- "Content-Disposition": contentDispositionHeader("inline", filename),
8284
- "Accept-Ranges": "bytes",
8285
- "Content-Length": String(content.length)
8286
- }
8287
- });
8298
+ return renderFileResponse(job.outputPath, "inline", filename, c.req.method);
8288
8299
  });
8289
8300
  api.get("/render/:jobId/download", (c) => {
8290
8301
  const { jobId } = c.req.param();
@@ -8292,15 +8303,8 @@ function registerRenderRoutes(api, adapter) {
8292
8303
  if (!job?.outputPath || !isPlainFile(job.outputPath)) {
8293
8304
  return c.json({ error: "not found" }, 404);
8294
8305
  }
8295
- const contentType = renderContentType(job.outputPath);
8296
8306
  const filename = job.outputPath.split("/").pop() ?? `render.mp4`;
8297
- const content = readFileSync8(job.outputPath);
8298
- return new Response(content, {
8299
- headers: {
8300
- "Content-Type": contentType,
8301
- "Content-Disposition": contentDispositionHeader("attachment", filename)
8302
- }
8303
- });
8307
+ return renderFileResponse(job.outputPath, "attachment", filename, c.req.method);
8304
8308
  });
8305
8309
  async function renderDirectories(jobId) {
8306
8310
  const outputPath = renderJobs.get(jobId)?.outputPath;
@@ -8331,16 +8335,7 @@ function registerRenderRoutes(api, adapter) {
8331
8335
  const fp = resolveWithinProject(rendersDir, filename);
8332
8336
  if (!fp || isPrivateProjectFile(project.dir, fp)) return c.json({ error: "forbidden" }, 403);
8333
8337
  if (!existsSync6(fp)) return c.json({ error: "not found" }, 404);
8334
- const contentType = renderContentType(fp);
8335
- const content = readFileSync8(fp);
8336
- return new Response(content, {
8337
- headers: {
8338
- "Content-Type": contentType,
8339
- "Content-Disposition": contentDispositionHeader("inline", filename),
8340
- "Accept-Ranges": "bytes",
8341
- "Content-Length": String(content.length)
8342
- }
8343
- });
8338
+ return renderFileResponse(fp, "inline", filename, c.req.method);
8344
8339
  });
8345
8340
  api.get("/projects/:id/renders", async (c) => {
8346
8341
  const project = await adapter.resolveProject(c.req.param("id"));
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-R4EWRIDL.js";
13
13
  import {
14
14
  findFFmpeg
15
- } from "./chunk-WWOHLNFO.js";
15
+ } from "./chunk-FPWCICAI.js";
16
16
  import {
17
17
  stoppableExecFile
18
18
  } from "./chunk-HU2SPFNG.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-6ZOFAM3F.js");
10
+ return await import("./src-RGQFYVHO.js");
11
11
  }
12
12
 
13
13
  export {
@@ -10,7 +10,7 @@ import {
10
10
  ratioOf,
11
11
  readClip,
12
12
  round
13
- } from "./chunk-VJM6NX54.js";
13
+ } from "./chunk-2YZD6CAF.js";
14
14
 
15
15
  // src/measure/energy.ts
16
16
  var ENERGY_RATE = 12;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-G5KX4X6W.js";
10
+ } from "./chunk-35NDLXHZ.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -18,23 +18,23 @@ import {
18
18
  recordProxyRequest,
19
19
  resolveProxy,
20
20
  resolveProxyVariantRequest
21
- } from "./chunk-UFYWGUUV.js";
21
+ } from "./chunk-GE4ABM5K.js";
22
22
  import {
23
23
  findStageProxyBox
24
- } from "./chunk-PBPHKD56.js";
24
+ } from "./chunk-OZMZFJDW.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-2GMHYOV3.js";
27
+ } from "./chunk-ZGQC6IU7.js";
28
28
  import {
29
29
  listenOnBrowserSafePort
30
- } from "./chunk-4XQQQ4KN.js";
30
+ } from "./chunk-5HGS5MGD.js";
31
31
  import {
32
32
  stripSdrPngColourTags
33
- } from "./chunk-FKBWONRY.js";
33
+ } from "./chunk-7RTPHNOO.js";
34
34
  import {
35
35
  PREVIEW_PROXY_BOX_PARAM,
36
36
  parsePreviewProxyBox
37
- } from "./chunk-OWFSGDQS.js";
37
+ } from "./chunk-FJ3KUOUZ.js";
38
38
  import {
39
39
  decodeWellFormedEscapes
40
40
  } from "./chunk-C2KEGBR3.js";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-5ZBMHUY2.js";
9
+ } from "./chunk-5LOZWO2M.js";
10
10
  import {
11
11
  failUsage
12
- } from "./chunk-DP5LF7GF.js";
12
+ } from "./chunk-66W5IWLO.js";
13
13
 
14
14
  // src/utils/compositionEntry.ts
15
15
  import { realpathSync } from "fs";
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-AKTI2SHL.js";
11
+ } from "./chunk-SVGHIMPQ.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-JNQCM6CR.js";
16
+ } from "./chunk-HMS6UHUW.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -114,7 +114,9 @@ import {
114
114
  getEncoderPreset,
115
115
  getFfmpegBinary,
116
116
  getFfprobeBinary,
117
+ gradingKeepsSdr,
117
118
  groupIntoLayers,
119
+ hasGradedCanvas,
118
120
  initTransparentBackground,
119
121
  initializeSession,
120
122
  isDrawElementCaptureError,
@@ -174,7 +176,7 @@ import {
174
176
  videoAudioId,
175
177
  videoStartOnMediaTimeline,
176
178
  writeCapturedFrame
177
- } from "./chunk-4XQQQ4KN.js";
179
+ } from "./chunk-5HGS5MGD.js";
178
180
  import {
179
181
  assignBundledRuntimeCompositionIds,
180
182
  emitMountedModuleScripts,
@@ -186,7 +188,7 @@ import {
186
188
  parsesAsScript,
187
189
  prepareFlattenedInnerRoot,
188
190
  stripSdrPngColourTags
189
- } from "./chunk-FKBWONRY.js";
191
+ } from "./chunk-7RTPHNOO.js";
190
192
  import {
191
193
  collectScratchLeftovers,
192
194
  removeScratch,
@@ -205,7 +207,7 @@ import {
205
207
  parseVfxChain,
206
208
  resolveAuthoredTimingWindow,
207
209
  toFps
208
- } from "./chunk-OWFSGDQS.js";
210
+ } from "./chunk-FJ3KUOUZ.js";
209
211
  import {
210
212
  gsapCdnDist,
211
213
  normalizeGsapBaseUrl
@@ -244,7 +246,7 @@ import {
244
246
  sourceTimeAt,
245
247
  styleElementsFor,
246
248
  timeAtSourceTime
247
- } from "./chunk-UQECNXFA.js";
249
+ } from "./chunk-6UWSEXQ3.js";
248
250
  import {
249
251
  TRANSITIONS,
250
252
  convertTransfer,
@@ -5033,13 +5035,28 @@ function findRenderHdrAutoPromotionTrigger(input) {
5033
5035
  }
5034
5036
  return input.images.find(({ id }) => input.nativeHdrImageIds.has(id))?.src;
5035
5037
  }
5036
- function logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources) {
5038
+ function logGradingResolution(input, hdrMode, effectiveHdr, hasHdrSource) {
5039
+ const keptSdr = hasHdrSource && gradingKeepsSdr(hdrMode, input.media);
5040
+ if (keptSdr) {
5041
+ input.log.warn(
5042
+ "[Render] HDR source detected, but color grading is SDR-only, so rendering SDR: HDR sources are tone-mapped before the grade. Use --hdr to force HDR output (grades stay SDR)."
5043
+ );
5044
+ } else if (effectiveHdr && [...input.media.videos, ...input.media.images].some((m) => m.graded)) {
5045
+ input.log.warn(
5046
+ "[Render] HDR output with graded media: color grading is SDR-only, so graded elements are graded in SDR and placed in the HDR output."
5047
+ );
5048
+ }
5049
+ return keptSdr;
5050
+ }
5051
+ function logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources, hasHdrSource) {
5052
+ const keptSdrForGrading = logGradingResolution(input, hdrMode, effectiveHdr, hasHdrSource);
5037
5053
  if (forcedHdrWithoutSources) {
5038
5054
  input.log.warn(
5039
5055
  "[Render] HDR forced by --hdr flag, but no HDR sources were detected, defaulting to HLG. SDR-only compositions may look perceptually wrong on HDR displays."
5040
5056
  );
5041
5057
  }
5042
5058
  if (!effectiveHdr) {
5059
+ if (keptSdrForGrading) return;
5043
5060
  input.log.info(
5044
5061
  hdrMode === "force-sdr" ? "[Render] SDR forced by --sdr flag" : "[Render] No HDR sources detected, rendering SDR"
5045
5062
  );
@@ -5064,8 +5081,8 @@ function logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources)
5064
5081
  function formatCarriesHdr(format) {
5065
5082
  return format === "mp4";
5066
5083
  }
5067
- function rendersSdrOnly(config) {
5068
- return config.hdrMode === "force-sdr" || !formatCarriesHdr(config.format ?? "mp4");
5084
+ function rendersSdrOnly(config, media) {
5085
+ return config.hdrMode === "force-sdr" || gradingKeepsSdr(config.hdrMode, media) || !formatCarriesHdr(config.format ?? "mp4");
5069
5086
  }
5070
5087
  function resolveEffectiveHdrMode(input) {
5071
5088
  const hdrMode = input.hdrMode ?? "auto";
@@ -5076,7 +5093,7 @@ function resolveEffectiveHdrMode(input) {
5076
5093
  const info = allColorSpaces.length > 0 ? analyzeCompositionHdr(allColorSpaces) : null;
5077
5094
  let effectiveHdr;
5078
5095
  let forcedHdrWithoutSources = false;
5079
- if (hdrMode === "force-sdr") {
5096
+ if (hdrMode === "force-sdr" || gradingKeepsSdr(hdrMode, input.media)) {
5080
5097
  effectiveHdr = void 0;
5081
5098
  } else if (hdrMode === "force-hdr") {
5082
5099
  if (info?.hasHdr && info.dominantTransfer) {
@@ -5092,7 +5109,7 @@ function resolveEffectiveHdrMode(input) {
5092
5109
  input.log.warn(formatDowngradeWarning(input.outputFormat, forcedHdrWithoutSources));
5093
5110
  effectiveHdr = void 0;
5094
5111
  }
5095
- logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources);
5112
+ logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources, info?.hasHdr === true);
5096
5113
  return effectiveHdr;
5097
5114
  }
5098
5115
 
@@ -5991,7 +6008,7 @@ function collectRenderMedia(html) {
5991
6008
  if (placed) audios.push(placed);
5992
6009
  else droppedMediaIds.add(elementId);
5993
6010
  }
5994
- return { videos, audios, images, droppedMediaIds };
6011
+ return { videos, audios, images, droppedMediaIds, gradedCanvas: hasGradedCanvas(html) };
5995
6012
  }
5996
6013
  function placeAudio(audio, window2) {
5997
6014
  const authoredEnd = audio.end > 0 ? audio.end : Infinity;
@@ -7385,7 +7402,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
7385
7402
  for (const [relPath, absPath] of preparedHeifAssets) {
7386
7403
  externalAssets.set(relPath, absPath);
7387
7404
  }
7388
- const { videos, audios, images, droppedMediaIds } = collectRenderMedia(html);
7405
+ const { videos, audios, images, droppedMediaIds, gradedCanvas } = collectRenderMedia(html);
7389
7406
  const masterFxChain = parseMasterFxChain(html);
7390
7407
  const advised = /* @__PURE__ */ new Set();
7391
7408
  for (const video of videos) {
@@ -7424,6 +7441,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
7424
7441
  audios,
7425
7442
  images,
7426
7443
  droppedMediaIds,
7444
+ gradedCanvas,
7427
7445
  ...masterFxChain ? { masterFxChain } : {},
7428
7446
  unresolvedCompositions,
7429
7447
  externalAssets,
@@ -7877,6 +7895,7 @@ async function runCompileStage(input) {
7877
7895
  videos: compiled.videos,
7878
7896
  audios: compiled.audios,
7879
7897
  images: compiled.images,
7898
+ gradedCanvas: compiled.gradedCanvas,
7880
7899
  masterFxChain: compiled.masterFxChain,
7881
7900
  width: compiled.width,
7882
7901
  height: compiled.height
@@ -8845,10 +8864,11 @@ async function runExtractVideosStage(input) {
8845
8864
  let failureToEnforce = null;
8846
8865
  let videoReadinessSkipIds = [];
8847
8866
  let videoMetadataHints = [];
8867
+ const probesHdr = job.config.hdrMode !== "force-sdr" && !gradingKeepsSdr(job.config.hdrMode, composition);
8848
8868
  const nativeHdrVideoIds = /* @__PURE__ */ new Set();
8849
8869
  const videoTransfers = /* @__PURE__ */ new Map();
8850
8870
  let hdrProbeTransientRetries = 0;
8851
- if (job.config.hdrMode !== "force-sdr" && composition.videos.length > 0) {
8871
+ if (probesHdr && composition.videos.length > 0) {
8852
8872
  log?.info("Probing video color spaces...", { videoCount: composition.videos.length });
8853
8873
  const probeFailures = await Promise.all(
8854
8874
  composition.videos.map(async (v) => {
@@ -8887,7 +8907,7 @@ async function runExtractVideosStage(input) {
8887
8907
  const imageTransfers = /* @__PURE__ */ new Map();
8888
8908
  const hdrImageSrcPaths = /* @__PURE__ */ new Map();
8889
8909
  const imageColorSpaces = [];
8890
- if (job.config.hdrMode !== "force-sdr" && composition.images.length > 0) {
8910
+ if (probesHdr && composition.images.length > 0) {
8891
8911
  const probed = await Promise.all(
8892
8912
  composition.images.map(async (img) => {
8893
8913
  const imgPath = resolveProjectRelativeSrc(img.src, projectDir, compiledDir);
@@ -8924,7 +8944,7 @@ async function runExtractVideosStage(input) {
8924
8944
  fps: job.config.fps,
8925
8945
  outputDir: join16(compiledDir, "__hyperframes_video_frames"),
8926
8946
  format: job.config.videoFrameFormat ?? "auto",
8927
- toneMapHdrToSdr: rendersSdrOnly(job.config),
8947
+ toneMapHdrToSdr: rendersSdrOnly(job.config, composition),
8928
8948
  timelineEnd: composition.duration,
8929
8949
  maxTransientRetries: extractionPolicy.maxTransientRetries,
8930
8950
  collectProbeFailures: extractionPolicy.failureMode === "enforce",
@@ -12774,6 +12794,7 @@ async function executeRenderPipeline(input) {
12774
12794
  });
12775
12795
  const effectiveHdr = resolveEffectiveHdrMode({
12776
12796
  hdrMode: job.config.hdrMode,
12797
+ media: composition,
12777
12798
  outputFormat,
12778
12799
  extractionResult,
12779
12800
  imageColorSpaces,
@@ -16562,7 +16583,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16562
16583
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16563
16584
  if (probeResult.probeSession) {
16564
16585
  try {
16565
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-D7AO7PGH.js");
16586
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-AP7B27MZ.js");
16566
16587
  await closeCaptureSession2(probeResult.probeSession);
16567
16588
  } catch (err) {
16568
16589
  log.warn("[plan] probe session close failed", {
@@ -19936,7 +19957,7 @@ function startServer(options = {}) {
19936
19957
  });
19937
19958
  async function shutdown(signal) {
19938
19959
  log.info(`Received ${signal}, shutting down`);
19939
- const { drainBrowserPool } = await import("./src-D7AO7PGH.js");
19960
+ const { drainBrowserPool } = await import("./src-AP7B27MZ.js");
19940
19961
  await drainBrowserPool().catch(() => {
19941
19962
  });
19942
19963
  const handle = await Promise.race([
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-M7HNGAWN.js";
10
+ } from "./chunk-UQWOOANM.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";