hyperframes 0.8.209 → 0.8.211

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 (255) hide show
  1. package/dist/{add-VZKUIZEH.js → add-WERDY37C.js} +27 -24
  2. package/dist/{agentPromptGenerator-4NJ252MR.js → agentPromptGenerator-SEAPWYY5.js} +30 -1
  3. package/dist/{animatedGifPrep-PN4G4YPJ.js → animatedGifPrep-LC43PROA.js} +11 -10
  4. package/dist/api.js +29 -25
  5. package/dist/{appHistory-OHYU5ZBQ.js → appHistory-BCWH6XYH.js} +3 -3
  6. package/dist/{asset-I4PHGE57.js → asset-IVDQNYHP.js} +10 -5
  7. package/dist/{assetCataloger-LRAUXQ46.js → assetCataloger-PPE7M2WM.js} +13 -12
  8. package/dist/{audio-T7SAVYED.js → audio-IJ22GXO6.js} +34 -31
  9. package/dist/{auth-GP6HTQT3.js → auth-FZMDHX2H.js} +11 -6
  10. package/dist/{autoUpdate-Z6GFPZAG.js → autoUpdate-EO6SFALF.js} +11 -6
  11. package/dist/{backgroundChecks-ZJ7JV52S.js → backgroundChecks-YW5VIAYF.js} +9 -6
  12. package/dist/backgroundChecksWorker.js +10 -6
  13. package/dist/{batchRender-J3ETE23Y.js → batchRender-OOXYNZOT.js} +12 -8
  14. package/dist/{beats-WF4FJCM5.js → beats-X7GRQA4J.js} +22 -19
  15. package/dist/{benchmark-B7UPP4PQ.js → benchmark-JGGBMRZO.js} +25 -22
  16. package/dist/{browser-SIUYD43U.js → browser-FQ5JPTME.js} +23 -20
  17. package/dist/{bundleWithLocalizedFonts-RRGFY3XV.js → bundleWithLocalizedFonts-XA73ZJ4S.js} +8 -4
  18. package/dist/{capture-VYS4PCCJ.js → capture-GUVCA5JQ.js} +35 -32
  19. package/dist/{capture-J3GLHUKI.js → capture-KKVB3MKM.js} +12 -10
  20. package/dist/{captureCompositionFrame-SVLMPQYC.js → captureCompositionFrame-LNKWWCXE.js} +24 -20
  21. package/dist/{catalog-DVBNR422.js → catalog-LKJEMEOC.js} +40 -37
  22. package/dist/{catch-up-OBPMV7KG.js → catch-up-FA6KWX4S.js} +20 -17
  23. package/dist/{check-MEALXNZK.js → check-6GIDKL6S.js} +59 -56
  24. package/dist/{checkAudio-RZ7WQYVN.js → checkAudio-H3AUFC4M.js} +19 -15
  25. package/dist/{checkBrowser-2LEQ2LSX.js → checkBrowser-YWWF63S6.js} +51 -48
  26. package/dist/{chunk-R52YM6ZK.js → chunk-22OGII5H.js} +5 -5
  27. package/dist/{chunk-J7A73K2B.js → chunk-24F7TOW2.js} +99 -44
  28. package/dist/{chunk-ZTZA4UWZ.js → chunk-2GICKZ3I.js} +4 -1
  29. package/dist/{chunk-U7CZBDMV.js → chunk-2P5DTXUN.js} +1 -1
  30. package/dist/{chunk-EVYDKSML.js → chunk-2QAR7ZNY.js} +3 -3
  31. package/dist/{chunk-DROFHVQD.js → chunk-2RQZQJHV.js} +4 -4
  32. package/dist/{chunk-UIOZIIB7.js → chunk-32NEJ553.js} +1 -73
  33. package/dist/{chunk-VYRJAQGC.js → chunk-3JYKWNFR.js} +1 -1
  34. package/dist/{chunk-KGBFHYHX.js → chunk-3LACB6HG.js} +5 -5
  35. package/dist/{chunk-66PNSZ7K.js → chunk-3NIESDKN.js} +1 -1
  36. package/dist/{chunk-EA5FUMJN.js → chunk-3R5MYOJN.js} +4 -4
  37. package/dist/{chunk-IJPFVMIE.js → chunk-3WL7WU6K.js} +28 -20
  38. package/dist/{chunk-MI4V4HPE.js → chunk-472C35EW.js} +4 -2
  39. package/dist/{chunk-OML6HQQN.js → chunk-4D46TX6Q.js} +5 -5
  40. package/dist/{chunk-Z67J3TTU.js → chunk-4EO7DNRJ.js} +3 -3
  41. package/dist/{chunk-CBM4ZUVN.js → chunk-4JWKC3GH.js} +6 -6
  42. package/dist/chunk-5766TK7Q.js +145 -0
  43. package/dist/{chunk-PYVYF64E.js → chunk-5AKWJHRJ.js} +1 -1
  44. package/dist/{chunk-Y2EVJBR6.js → chunk-5KOZRJR7.js} +2 -2
  45. package/dist/{chunk-H7B526GH.js → chunk-5LITFBMY.js} +178 -72
  46. package/dist/{chunk-4BXEPVSA.js → chunk-5MCR5DA5.js} +15 -5
  47. package/dist/{chunk-MNNK7RV5.js → chunk-5SWWIT7K.js} +2 -1
  48. package/dist/{chunk-KCLBO65Y.js → chunk-5YPMCCCA.js} +1 -1
  49. package/dist/{chunk-DVIX7UPH.js → chunk-66KMYUNO.js} +2 -2
  50. package/dist/{chunk-RVG2JNDU.js → chunk-67JTGRNM.js} +2 -2
  51. package/dist/{chunk-AQTODJWP.js → chunk-6EN2LWOM.js} +1 -1
  52. package/dist/{chunk-3A4SB326.js → chunk-6J2G57BB.js} +11 -16
  53. package/dist/chunk-6LDHXB4Z.js +36 -0
  54. package/dist/{chunk-GDZA4ALG.js → chunk-77KGX4A3.js} +7 -4
  55. package/dist/{chunk-MOEGCMKI.js → chunk-7J6LQ3SQ.js} +20 -0
  56. package/dist/chunk-7KDQAD2W.js +81 -0
  57. package/dist/{chunk-NQ2INEHX.js → chunk-A4ZTSQLW.js} +1 -1
  58. package/dist/{chunk-P3OKYRGA.js → chunk-ABBVDJMG.js} +5 -5
  59. package/dist/{chunk-RJO4X3AA.js → chunk-AIY2Y5UY.js} +3 -3
  60. package/dist/{chunk-L5XVBFUM.js → chunk-AQMGYRX6.js} +2 -2
  61. package/dist/{chunk-5T4DP25D.js → chunk-B2B4MN3R.js} +3 -3
  62. package/dist/{chunk-SOXQXX2M.js → chunk-B4KGJHTE.js} +3 -3
  63. package/dist/{chunk-NJZRXELC.js → chunk-BGC5S3OZ.js} +41 -29
  64. package/dist/{chunk-AF3L5JJX.js → chunk-CCLBOLYU.js} +1 -1
  65. package/dist/{chunk-YCGLT5B4.js → chunk-CGAUUUDL.js} +4 -4
  66. package/dist/{chunk-DGECWPTL.js → chunk-CJ5QZRY7.js} +2 -2
  67. package/dist/{chunk-CA3PXWN4.js → chunk-CNU65QE2.js} +4 -4
  68. package/dist/{chunk-VQB7G5BM.js → chunk-CTZJSMGU.js} +1 -1
  69. package/dist/{chunk-W32DVMX3.js → chunk-CZCRSS3U.js} +2 -2
  70. package/dist/{chunk-OK3QLJSF.js → chunk-DAXKGMJL.js} +21 -4
  71. package/dist/{chunk-RAONLDN5.js → chunk-DDRCX7P2.js} +2 -2
  72. package/dist/{chunk-SE6S4SGZ.js → chunk-DJ3H6EW3.js} +17 -17
  73. package/dist/chunk-DL4OD7IA.js +21 -0
  74. package/dist/{chunk-3RATCY3W.js → chunk-DMIFCIG6.js} +1 -1
  75. package/dist/{chunk-U5IZUWBW.js → chunk-DPYI2HRJ.js} +91 -17
  76. package/dist/{chunk-6CSYCFQV.js → chunk-DW35FX4I.js} +1 -1
  77. package/dist/{chunk-P2FSCR5B.js → chunk-DWIMUPFK.js} +4 -4
  78. package/dist/{chunk-EU7MVORF.js → chunk-E63BDV4Z.js} +10 -1
  79. package/dist/{chunk-M4QZFUMW.js → chunk-FBN5AQJL.js} +3 -3
  80. package/dist/{chunk-LJ7H2A2C.js → chunk-FI7SSV73.js} +1 -1
  81. package/dist/{chunk-SNLXWCET.js → chunk-FIC3E7IM.js} +21 -15
  82. package/dist/{chunk-2R5ZKWSV.js → chunk-FLXZ4GZI.js} +1 -1
  83. package/dist/{chunk-CIDCNE2D.js → chunk-FVY2XRX4.js} +3 -3
  84. package/dist/chunk-FWKZ3O52.js +4870 -0
  85. package/dist/{chunk-QSFWGZG6.js → chunk-G7VEYUZ2.js} +16 -132
  86. package/dist/{chunk-A7GDBL6D.js → chunk-GSXA4YLV.js} +1 -1
  87. package/dist/{chunk-TSM67ADU.js → chunk-IEVU4FXB.js} +3 -3
  88. package/dist/{chunk-K2FLNJVB.js → chunk-J2JG4XGP.js} +1 -1
  89. package/dist/{chunk-WERLJGIC.js → chunk-J3RXEDR2.js} +17 -2
  90. package/dist/{chunk-JLCAHJUO.js → chunk-JMD5HDPB.js} +2 -2
  91. package/dist/{chunk-MKALOCDV.js → chunk-JZVUSRZ5.js} +1 -1
  92. package/dist/{chunk-ZPILPVYU.js → chunk-K3LLHG6I.js} +2 -2
  93. package/dist/{chunk-HTZJNQYI.js → chunk-K43XLAQV.js} +3 -3
  94. package/dist/{chunk-V4VXWOIF.js → chunk-KDDO3UYI.js} +9 -9
  95. package/dist/{chunk-FB5BXGGF.js → chunk-KF6I5WA7.js} +10 -10
  96. package/dist/chunk-KSNIYQRB.js +1105 -0
  97. package/dist/{chunk-3PTZ2TD4.js → chunk-KUXOAS4Z.js} +1 -1
  98. package/dist/{chunk-I3ICHLHV.js → chunk-KZBBY72Q.js} +2 -2
  99. package/dist/{chunk-JVBRJMOP.js → chunk-LALLQUSK.js} +6 -2
  100. package/dist/{chunk-F4O4G4ZW.js → chunk-LAR5VTCN.js} +7 -7
  101. package/dist/{chunk-66LREXGS.js → chunk-NEQIJUV2.js} +1 -1
  102. package/dist/{chunk-QIDN4ML5.js → chunk-NO6F7CLR.js} +1 -1
  103. package/dist/{chunk-NXNDHV26.js → chunk-OE5EHGDG.js} +1 -1
  104. package/dist/{chunk-BYPDKF36.js → chunk-OOA6C4AG.js} +8 -4
  105. package/dist/{chunk-RIJHDTM5.js → chunk-ORXLO64X.js} +1 -1
  106. package/dist/{chunk-JJRMN2RV.js → chunk-PICG2XRD.js} +6 -8
  107. package/dist/{chunk-SWHCYFEF.js → chunk-PKWZG642.js} +3 -3
  108. package/dist/{chunk-D2CE2J2A.js → chunk-PV4XID2A.js} +1 -1
  109. package/dist/{chunk-ZMIRSWN6.js → chunk-Q52ISCT4.js} +1 -1
  110. package/dist/{chunk-3PUXUIWB.js → chunk-QVHC77IF.js} +1 -1
  111. package/dist/{chunk-SPMKVI6H.js → chunk-RQNFW6YC.js} +9 -4
  112. package/dist/{chunk-ZA5TNF4R.js → chunk-SJK64HHG.js} +1 -1
  113. package/dist/{chunk-L7MGVFR4.js → chunk-SXJJTFV4.js} +4 -4
  114. package/dist/{chunk-MVNTJGDX.js → chunk-T2L2GJ4C.js} +5 -5
  115. package/dist/{chunk-GMECXFAN.js → chunk-T2WJO4XM.js} +5 -2
  116. package/dist/{chunk-P327BIJR.js → chunk-U46JEU26.js} +1 -1
  117. package/dist/{chunk-IQNS7O4W.js → chunk-UI7X4L4M.js} +220 -38
  118. package/dist/{chunk-JC6BAQOG.js → chunk-VBC3DQFS.js} +3 -3
  119. package/dist/{chunk-D6T5BNSK.js → chunk-VGKQFZCC.js} +25 -22
  120. package/dist/{chunk-56ANHX5U.js → chunk-VUEWZXZG.js} +1 -1
  121. package/dist/{chunk-ERUQ3S6D.js → chunk-WE42NVH7.js} +6 -1
  122. package/dist/{chunk-TF7YE7J5.js → chunk-WNDTMINP.js} +5 -5
  123. package/dist/{chunk-SE2MXV2N.js → chunk-X4SBDDLS.js} +2 -1
  124. package/dist/{chunk-Q43YUROE.js → chunk-X6JUUQCM.js} +1 -1
  125. package/dist/{chunk-YIFEK3UD.js → chunk-XQ26I3PL.js} +1 -1
  126. package/dist/{chunk-EXAX37XR.js → chunk-Y65ZU7XY.js} +18 -13
  127. package/dist/{chunk-GQZHLF5P.js → chunk-YPNBEBQ6.js} +22 -22
  128. package/dist/{chunk-DR47DSOY.js → chunk-YWPCMOX4.js} +21 -13
  129. package/dist/{chunk-XCIHCPJK.js → chunk-YWRUQ7XZ.js} +3 -2
  130. package/dist/{chunk-WLVHSGVL.js → chunk-Z2UZAY2Q.js} +2 -2
  131. package/dist/{chunk-NEASABW6.js → chunk-ZCHULPJZ.js} +4 -4
  132. package/dist/{chunk-KTWGVEN6.js → chunk-ZE57TSS6.js} +4 -4
  133. package/dist/{chunk-6PWQH77E.js → chunk-ZFVNYA3M.js} +1 -1
  134. package/dist/{chunk-QIKZ2HZJ.js → chunk-ZNSKOXFW.js} +3 -3
  135. package/dist/{chunk-LV4NWCJS.js → chunk-ZPXXWUQ3.js} +2 -2
  136. package/dist/{clean-VWCYLOVI.js → clean-SVEOBRPM.js} +38 -35
  137. package/dist/cli.js +82 -67
  138. package/dist/{cloud-HU3RXCVE.js → cloud-ADFJGIEH.js} +11 -6
  139. package/dist/{cloudrun-OST6QBYD.js → cloudrun-BNY7Q5RK.js} +25 -19
  140. package/dist/{colors-HKWSZCGK.js → colors-HRL7QSVG.js} +5 -1
  141. package/dist/commands/layout-audit.browser.js +94 -5
  142. package/dist/commands/motion-signature.browser.js +11 -2
  143. package/dist/{compare-U2MJWZAH.js → compare-QC3T22KV.js} +51 -48
  144. package/dist/{compiler-DSP4MVEC.js → compiler-4ITKK4XI.js} +4 -4
  145. package/dist/{component-EC5XU6KR.js → component-CNZCB3RY.js} +12 -7
  146. package/dist/{compositions-AKYCTF4G.js → compositions-UO32IP6Z.js} +26 -23
  147. package/dist/{contactSheet-RYAE7Y5D.js → contactSheet-WG4HT5XP.js} +2 -2
  148. package/dist/{delete-Z5MOEZM2.js → delete-RWTOSI24.js} +24 -18
  149. package/dist/{deploy-Y4LFVYXT.js → deploy-OKWS53NP.js} +9 -5
  150. package/dist/{destroy-CGAZIL2C.js → destroy-4RL5VOXQ.js} +7 -3
  151. package/dist/{dist-JJL4QUDL.js → dist-AEE3QTRB.js} +5 -3
  152. package/dist/{dist-73YTUT3W.js → dist-NCI6JOJZ.js} +2 -2
  153. package/dist/{docs-UEWLIP6D.js → docs-UMIA66EZ.js} +8 -3
  154. package/dist/{doctor-7234U557.js → doctor-SIF72ESZ.js} +30 -23
  155. package/dist/{events-SII53QYO.js → events-34PIVLZQ.js} +13 -11
  156. package/dist/{events-RUIZNTG3.js → events-S3VUTFEG.js} +13 -10
  157. package/dist/{feedback-6CCDDQ36.js → feedback-VS4LRXHW.js} +34 -29
  158. package/dist/{ffmpeg-C4VWK4M2.js → ffmpeg-YVQOKNV6.js} +14 -13
  159. package/dist/{figma-GAN63U5U.js → figma-AF4JKDBA.js} +10 -5
  160. package/dist/fontLocalizeCli.js +15 -13
  161. package/dist/{get-RZGUHZB4.js → get-UQGCS6Q4.js} +20 -16
  162. package/dist/{gpuPolicy-BGJRCLP4.js → gpuPolicy-Q4B3D6PW.js} +11 -10
  163. package/dist/{grade-compare-XOBN52WV.js → grade-compare-G34673XC.js} +52 -49
  164. package/dist/hangReport.js +1 -0
  165. package/dist/{heifImagePrep-DCHSYGW7.js → heifImagePrep-XD4DGOUS.js} +12 -11
  166. package/dist/{help-O2IV6PUC.js → help-3QSD26IC.js} +7 -3
  167. package/dist/{history-GPTEM4UX.js → history-6DC24UCF.js} +22 -19
  168. package/dist/hyperframe.manifest.json +1 -1
  169. package/dist/hyperframe.runtime.iife.js +64 -64
  170. package/dist/hyperframes-player.global.js +1 -1
  171. package/dist/{info-7Y3JPN7C.js → info-6JUHWWJK.js} +21 -18
  172. package/dist/{init-L6W5WG5K.js → init-2DPX6U3J.js} +67 -60
  173. package/dist/{inspect-MQZANGQY.js → inspect-Z55YUSXC.js} +49 -46
  174. package/dist/{installer-DCIMLYB6.js → installer-XVKYJU7S.js} +7 -6
  175. package/dist/{keyframes-WNJIKL4G.js → keyframes-YHF4AQIL.js} +19 -16
  176. package/dist/{lambda-FEA4SSFK.js → lambda-JITTS37E.js} +37 -31
  177. package/dist/{layout-AUQAYDJU.js → layout-V5NYJXIX.js} +49 -46
  178. package/dist/{lint-A33IHYID.js → lint-V4WMO7YL.js} +22 -19
  179. package/dist/{lintProject-KCN7MRBN.js → lintProject-EM7Y2ZRB.js} +2 -2
  180. package/dist/{list-56JHCET6.js → list-W7UCIYKA.js} +21 -17
  181. package/dist/localPage-BLQFFIDF.js +56 -0
  182. package/dist/{login-HUOM4GNP.js → login-IX3MOREU.js} +16 -12
  183. package/dist/{logout-3IID4KXD.js → logout-46NLNY2K.js} +11 -6
  184. package/dist/{manager-Z7W4GQGF.js → manager-IZIK7BHN.js} +9 -7
  185. package/dist/{manager-SDRJOMPR.js → manager-WJOWZNHM.js} +15 -14
  186. package/dist/{media-treatment-5TGZOD67.js → media-treatment-XBO6EXL4.js} +31 -28
  187. package/dist/{media-use-JBN57JE3.js → media-use-3RFKY7XJ.js} +3 -2
  188. package/dist/{models-ABDX6TXI.js → models-P3NSHDQS.js} +29 -24
  189. package/dist/{motionShot-AV2WRH2C.js → motionShot-D4QMLTQP.js} +31 -27
  190. package/dist/{normalize-audio-M7T25DST.js → normalize-audio-Q4VUR3QJ.js} +23 -20
  191. package/dist/{open-IRNZY5XN.js → open-LGKX534P.js} +30 -27
  192. package/dist/{parakeetRunner-2EJUIMOJ.js → parakeetRunner-FAOQMPS6.js} +23 -22
  193. package/dist/{pipeline-QGKOJKXS.js → pipeline-2YONKZYC.js} +19 -15
  194. package/dist/{play-2SQLHM5B.js → play-PJOUIY55.js} +44 -41
  195. package/dist/{policies-PKLD4UW5.js → policies-UPNRQ7IW.js} +11 -6
  196. package/dist/{preflight-ZHXMG2SM.js → preflight-3PPM7QBU.js} +18 -16
  197. package/dist/{present-RERVL6R7.js → present-323D6OE2.js} +38 -35
  198. package/dist/{preview-S6RQOMHE.js → preview-E42QP2KX.js} +52 -49
  199. package/dist/{producer-DBRGH2FI.js → producer-MTMNLJSC.js} +1 -1
  200. package/dist/{progress-PX3PVAIM.js → progress-LMQ2DXM4.js} +7 -3
  201. package/dist/{projectConfig-TUMDULTL.js → projectConfig-5QRVB5KY.js} +11 -11
  202. package/dist/prompts-P3IT5H36.js +40 -0
  203. package/dist/{publication-7VGXIFVZ.js → publication-AUZLFOG5.js} +5 -4
  204. package/dist/{publish-KJB2AGHL.js → publish-H5P7UHRV.js} +40 -29
  205. package/dist/{refresh-3IRHJEQA.js → refresh-4XRQS3N6.js} +11 -6
  206. package/dist/{remove-background-EFWXPLS4.js → remove-background-T2RV476S.js} +34 -27
  207. package/dist/{render-5O5ARP6C.js → render-3FRGIWES.js} +44 -40
  208. package/dist/{render-7S6UBLOE.js → render-4XEB3XWI.js} +82 -59
  209. package/dist/{render-HV6AA22W.js → render-GJH7446R.js} +15 -10
  210. package/dist/{render-batch-7UEOULJJ.js → render-batch-77X5453X.js} +16 -11
  211. package/dist/renderSetupWorker.js +13 -10
  212. package/dist/{resolver-HFTEER5V.js → resolver-DIUNK525.js} +7 -6
  213. package/dist/{screenshotCapture-HOW4VSV6.js → screenshotCapture-HDRHY4NN.js} +2 -2
  214. package/dist/{sherpa-HSSM76FL.js → sherpa-SUS3YSEP.js} +22 -21
  215. package/dist/sherpaWorker.js +1 -0
  216. package/dist/{sites-Q2S3DZY4.js → sites-V42IFVTK.js} +7 -3
  217. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
  218. package/dist/{skills-RQO5K6WL.js → skills-YCGSIOCE.js} +18 -15
  219. package/dist/{skillsUpdateCheck-S5WL2YLZ.js → skillsUpdateCheck-VCQIZGOL.js} +9 -6
  220. package/dist/{snapshot-4RGI235E.js → snapshot-H6R5PWNS.js} +85 -72
  221. package/dist/{src-D75YYW2M.js → src-ED5VCIRC.js} +13 -12
  222. package/dist/{src-ALOV4D57.js → src-HHDLJV4L.js} +24 -9
  223. package/dist/{state-JPNCCXAV.js → state-D5SYQFCB.js} +2 -2
  224. package/dist/{staticProjectServer-DIHWPJ6B.js → staticProjectServer-VY7QG5XH.js} +30 -23
  225. package/dist/{status-DTP6ZYDU.js → status-GEZNVPII.js} +12 -8
  226. package/dist/studio/assets/{hyperframes-player-CMH8OeX2.js → hyperframes-player-CzrqgMUX.js} +1 -1
  227. package/dist/studio/assets/{index-DjHzuJGR.js → index-B3SPHPi1.js} +1 -1
  228. package/dist/studio/assets/{index-CYbvOVp-.css → index-RUPGNyct.css} +1 -1
  229. package/dist/studio/assets/{index-DQam8zzE.js → index-k4nVfS2D.js} +123 -123
  230. package/dist/studio/index.html +2 -2
  231. package/dist/{studio-api-A2VSWTVF.js → studio-api-TR5RPX57.js} +16 -14
  232. package/dist/{studioServer-PECYWZHS.js → studioServer-4SZLLQOV.js} +79 -76
  233. package/dist/{synthesize-RVE7IUOJ.js → synthesize-QALK5SQR.js} +3 -3
  234. package/dist/{system-YD4AW5ZX.js → system-MVRF5UM2.js} +5 -3
  235. package/dist/{telemetry-YDGXGOLH.js → telemetry-7HUKOQ6X.js} +13 -11
  236. package/dist/{telemetry-6BPSGY5W.js → telemetry-KGY7G3UR.js} +10 -6
  237. package/dist/templates/blank/index.html +1 -1
  238. package/dist/{timeline-5WUEEKZ3.js → timeline-CGIKWCQI.js} +38 -35
  239. package/dist/{tokens-XVFZPIUZ.js → tokens-AZALDJEK.js} +11 -6
  240. package/dist/{transcribe-QWDUIJWK.js → transcribe-CTF5EIXJ.js} +38 -35
  241. package/dist/{transcribe-TTJ6CDQT.js → transcribe-V6K5547L.js} +18 -17
  242. package/dist/{tts-AGMCPQXE.js → tts-C2HBLFKK.js} +14 -9
  243. package/dist/{updateCheck-P7STSJ6Q.js → updateCheck-5I563YLB.js} +8 -5
  244. package/dist/{upgrade-NEIZ3KVL.js → upgrade-GRPVQE7Z.js} +26 -13
  245. package/dist/{urlDownloader-ZZFNGZNG.js → urlDownloader-EP6Q4WES.js} +10 -9
  246. package/dist/{usage-HG4WMM7A.js → usage-772JV45U.js} +2 -1
  247. package/dist/{validate-T2SLBOXG.js → validate-TVCDSQS3.js} +41 -38
  248. package/dist/{video-7OHSBSRT.js → video-CFEIRKAE.js} +18 -14
  249. package/dist/warmCheck.js +60 -56
  250. package/dist/warmCheckClient.js +1 -0
  251. package/package.json +1 -1
  252. package/dist/chunk-WMQNIQDJ.js +0 -2057
  253. package/dist/chunk-ZXTSUXSL.js +0 -4870
  254. package/dist/dist-EWXJGN63.js +0 -129
  255. package/dist/localPage-V3HBGM3Z.js +0 -27
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-5T4DP25D.js";
11
+ } from "./chunk-B2B4MN3R.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-Z67J3TTU.js";
16
+ } from "./chunk-4EO7DNRJ.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -41,6 +41,7 @@ import {
41
41
  MIXED_AUDIO_FILENAME,
42
42
  ManagedChildProcess,
43
43
  NotMediaPayloadError,
44
+ PRORES_PROFILE_NAMES,
44
45
  VIDEO_FRAME_FORMATS,
45
46
  aacSegmentCount,
46
47
  analyzeCompositionHdr,
@@ -120,6 +121,7 @@ import {
120
121
  isHttpUrl,
121
122
  isMemoryExhaustionError,
122
123
  isNotMediaPayload,
124
+ isProresProfile,
123
125
  isSelfOrAncestorHidden,
124
126
  isTransientBrowserError,
125
127
  isVideoFrameFormat,
@@ -161,6 +163,7 @@ import {
161
163
  safeVideoExtractionSourceIdentity,
162
164
  sanitizeHdrAutoPromotionAsset,
163
165
  scaleProtocolTimeoutForComposition,
166
+ settleOnBrowserSafePort,
164
167
  shouldDisableBrowserPoolForParallelWorker,
165
168
  spawnStreamingEncoder,
166
169
  trackChildProcess,
@@ -168,7 +171,7 @@ import {
168
171
  verifyDiskDrawElementSamples,
169
172
  videoAudioId,
170
173
  writeCapturedFrame
171
- } from "./chunk-IQNS7O4W.js";
174
+ } from "./chunk-UI7X4L4M.js";
172
175
  import {
173
176
  assignBundledRuntimeCompositionIds,
174
177
  emitMountedModuleScripts,
@@ -180,12 +183,12 @@ import {
180
183
  parsesAsScript,
181
184
  prepareFlattenedInnerRoot,
182
185
  stripSdrPngColourTags
183
- } from "./chunk-JC6BAQOG.js";
186
+ } from "./chunk-VBC3DQFS.js";
184
187
  import {
185
188
  collectScratchLeftovers,
186
189
  removeScratch,
187
190
  renameWithRetry
188
- } from "./chunk-XCIHCPJK.js";
191
+ } from "./chunk-YWRUQ7XZ.js";
189
192
  import {
190
193
  DISTRIBUTED_FPS,
191
194
  HF_VFX_ATTR,
@@ -201,7 +204,7 @@ import {
201
204
  parseVfxChain,
202
205
  resolveAuthoredTimingWindow,
203
206
  toFps
204
- } from "./chunk-MI4V4HPE.js";
207
+ } from "./chunk-472C35EW.js";
205
208
  import {
206
209
  COMPOSITION_SOURCE_URL,
207
210
  HF_COLOR_GRADING_ATTR,
@@ -236,7 +239,7 @@ import {
236
239
  sourceTimeAt,
237
240
  styleElementsFor,
238
241
  timeAtSourceTime
239
- } from "./chunk-ZXTSUXSL.js";
242
+ } from "./chunk-FWKZ3O52.js";
240
243
  import {
241
244
  TRANSITIONS,
242
245
  convertTransfer,
@@ -248,11 +251,11 @@ import {
248
251
  } from "./chunk-634HSJ3J.js";
249
252
  import {
250
253
  chromeMajorCeiling
251
- } from "./chunk-ERUQ3S6D.js";
254
+ } from "./chunk-WE42NVH7.js";
252
255
  import {
253
256
  lintHyperframeHtml,
254
257
  resolveReferencedStart
255
- } from "./chunk-P327BIJR.js";
258
+ } from "./chunk-U46JEU26.js";
256
259
  import {
257
260
  isUnresolvedAssetPlaceholder,
258
261
  readProjectFile,
@@ -274,7 +277,7 @@ import {
274
277
  rewriteAssetPaths,
275
278
  rewriteCssAssetUrls,
276
279
  rewriteInlineStyleAssetUrls
277
- } from "./chunk-SE2MXV2N.js";
280
+ } from "./chunk-X4SBDDLS.js";
278
281
  import {
279
282
  CANVAS_DIMENSIONS,
280
283
  HTML_BODY_CSS_HEIGHT_FIRST_RE,
@@ -293,7 +296,7 @@ import {
293
296
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
294
297
  getCgroupMemoryLimitMb,
295
298
  getSystemTotalMb
296
- } from "./chunk-UIOZIIB7.js";
299
+ } from "./chunk-32NEJ553.js";
297
300
 
298
301
  // ../producer/src/services/renderOrchestrator.ts
299
302
  import {
@@ -1027,18 +1030,21 @@ function createFileServer(options) {
1027
1030
  return new Promise((resolve11, reject) => {
1028
1031
  const connections = /* @__PURE__ */ new Set();
1029
1032
  const server = serve({ fetch: app.fetch, port, hostname: "127.0.0.1" }, (info) => {
1030
- resolve11({
1031
- url: `http://localhost:${info.port}`,
1032
- port: info.port,
1033
- addPreHeadScript: (script) => {
1034
- preHeadScripts.push(script);
1035
- },
1036
- close: () => {
1037
- for (const socket of connections) socket.destroy();
1038
- connections.clear();
1039
- server.close();
1040
- }
1041
- });
1033
+ const bound = port === 0 ? settleOnBrowserSafePort(server, "127.0.0.1") : Promise.resolve(info.port);
1034
+ bound.then((boundPort) => {
1035
+ resolve11({
1036
+ url: `http://localhost:${boundPort}`,
1037
+ port: boundPort,
1038
+ addPreHeadScript: (script) => {
1039
+ preHeadScripts.push(script);
1040
+ },
1041
+ close: () => {
1042
+ for (const socket of connections) socket.destroy();
1043
+ connections.clear();
1044
+ server.close();
1045
+ }
1046
+ });
1047
+ }, reject);
1042
1048
  });
1043
1049
  server.on("connection", (socket) => {
1044
1050
  connections.add(socket);
@@ -1095,8 +1101,20 @@ function resolveHlsEncoderGopLock(outputFormat, fps, segmentSeconds) {
1095
1101
  }
1096
1102
 
1097
1103
  // ../producer/src/services/render/deliveryEncoder.ts
1104
+ function validateProresProfile(format, proresProfile) {
1105
+ if (proresProfile === void 0) return;
1106
+ if (!isProresProfile(proresProfile)) {
1107
+ throw new Error(
1108
+ `proresProfile must be one of ${PRORES_PROFILE_NAMES.join(", ")}; got ${JSON.stringify(proresProfile)}`
1109
+ );
1110
+ }
1111
+ if (format !== void 0 && format !== "mov") {
1112
+ throw new Error(`proresProfile applies to mov renders, not ${format}`);
1113
+ }
1114
+ }
1098
1115
  function validateDeliveryEncoderConfig(config) {
1099
- const { keyframeIntervalSeconds, maxBitrate, bufferSize, format } = config;
1116
+ const { keyframeIntervalSeconds, maxBitrate, bufferSize, format, proresProfile } = config;
1117
+ validateProresProfile(format, proresProfile);
1100
1118
  if (keyframeIntervalSeconds === void 0 && maxBitrate === void 0 && bufferSize === void 0)
1101
1119
  return;
1102
1120
  if (keyframeIntervalSeconds !== void 0) {
@@ -1152,6 +1170,7 @@ import { fileURLToPath as fileURLToPath2 } from "url";
1152
1170
  var DEFAULT_RENDERS_DIR = process.env.PRODUCER_RENDERS_DIR ?? // fileURLToPath (not URL.pathname): on Windows .pathname is "/D:/..." which
1153
1171
  // resolves to a bogus renders dir.
1154
1172
  nodeResolve(fileURLToPath2(import.meta.url), "../../..", "renders");
1173
+ var LEADING_PARENT_SEGMENT_RE = /^\.\.(?:[\\/]|$)/;
1155
1174
  function isPathInside2(childPath, parentPath, options = {}) {
1156
1175
  const resolvePath = options.pathModule?.resolve ?? nodeResolve;
1157
1176
  const relativePath = options.pathModule?.relative ?? nodeRelative;
@@ -1160,7 +1179,7 @@ function isPathInside2(childPath, parentPath, options = {}) {
1160
1179
  const absParent = resolvePath(parentPath);
1161
1180
  if (absChild === absParent) return true;
1162
1181
  const rel = relativePath(absParent, absChild);
1163
- return rel !== "" && !rel.startsWith("..") && !isPathAbsolute(rel);
1182
+ return rel !== "" && !LEADING_PARENT_SEGMENT_RE.test(rel) && !isPathAbsolute(rel);
1164
1183
  }
1165
1184
  function toExternalAssetKey(absPath) {
1166
1185
  if (absPath.startsWith("hf-ext/")) return absPath;
@@ -3390,14 +3409,15 @@ async function extractHdrVideoFrames(args) {
3390
3409
  }
3391
3410
  first.release();
3392
3411
  if (video.loop) (await windows.lease(totalFrames - 1))?.release();
3412
+ const held = holdFirstFrameUntilStreamStarts(windows, firstTick);
3393
3413
  out.set(videoId, {
3394
3414
  dir: frameDir,
3395
- windows,
3415
+ windows: held,
3396
3416
  width: dims.width,
3397
3417
  height: dims.height,
3398
3418
  frameSize,
3399
3419
  get frameCount() {
3400
- return windows.totalFrames;
3420
+ return held.totalFrames;
3401
3421
  },
3402
3422
  scratch: Buffer.allocUnsafe(frameSize),
3403
3423
  loop: video.loop,
@@ -3426,9 +3446,18 @@ function hdrWindowFfmpegArgs(a) {
3426
3446
  if (trim > 0) filters.push(`trim=start_frame=${trim}`);
3427
3447
  return [
3428
3448
  ...["-ss", (a.mediaStart + seekFrame / a.fps).toFixed(6), "-i", a.srcPath],
3429
- ...["-vf", filters.join(","), "-frames:v", String(a.frames)]
3449
+ ...["-vf", filters.join(","), "-frames:v", String(a.frames), "-fps_mode", "passthrough"]
3430
3450
  ];
3431
3451
  }
3452
+ function holdFirstFrameUntilStreamStarts(windows, firstTick) {
3453
+ return {
3454
+ get totalFrames() {
3455
+ return firstTick + windows.totalFrames;
3456
+ },
3457
+ lease: (frameIndex) => windows.lease(Math.max(0, frameIndex - firstTick)),
3458
+ close: () => windows.close()
3459
+ };
3460
+ }
3432
3461
  function decodeHdrImageBuffers(args) {
3433
3462
  const { log, hdrImageSrcPaths, prep, hdrDiagnostics } = args;
3434
3463
  const out = /* @__PURE__ */ new Map();
@@ -4966,6 +4995,12 @@ function logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources)
4966
4995
  `[Render] HDR ${reason}, output: ${effectiveHdr.transfer.toUpperCase()} (BT.2020, 10-bit H.265)`
4967
4996
  );
4968
4997
  }
4998
+ function formatCarriesHdr(format) {
4999
+ return format === "mp4";
5000
+ }
5001
+ function rendersSdrOnly(config) {
5002
+ return config.hdrMode === "force-sdr" || !formatCarriesHdr(config.format ?? "mp4");
5003
+ }
4969
5004
  function resolveEffectiveHdrMode(input) {
4970
5005
  const hdrMode = input.hdrMode ?? "auto";
4971
5006
  const videoColorSpaces = (input.extractionResult?.extracted ?? []).map(
@@ -4987,7 +5022,7 @@ function resolveEffectiveHdrMode(input) {
4987
5022
  } else if (info?.hasHdr && info.dominantTransfer) {
4988
5023
  effectiveHdr = { transfer: info.dominantTransfer };
4989
5024
  }
4990
- if (effectiveHdr && input.outputFormat !== "mp4") {
5025
+ if (effectiveHdr && !formatCarriesHdr(input.outputFormat)) {
4991
5026
  input.log.warn(formatDowngradeWarning(input.outputFormat, forcedHdrWithoutSources));
4992
5027
  effectiveHdr = void 0;
4993
5028
  }
@@ -6206,9 +6241,10 @@ function detectShaderTransitionUsage(html) {
6206
6241
  async function resolveMediaDuration(src, mediaStart, playbackRate, baseDir, downloadDir, tagName, elementIdentity, log, urlByAbsentLocalPath, probes) {
6207
6242
  let filePath = src;
6208
6243
  if (isHttpUrl(src)) {
6209
- if (!existsSync9(downloadDir)) mkdirSync5(downloadDir, { recursive: true });
6244
+ const remoteDir = join13(downloadDir, REMOTE_MEDIA_SUBDIR);
6245
+ if (!existsSync9(remoteDir)) mkdirSync5(remoteDir, { recursive: true });
6210
6246
  try {
6211
- filePath = await downloadToTemp(src, downloadDir, void 0, void 0, void 0, {
6247
+ filePath = await downloadToTemp(src, remoteDir, void 0, void 0, void 0, {
6212
6248
  onTelemetry: logRemoteDownloadTelemetry
6213
6249
  });
6214
6250
  } catch {
@@ -8799,7 +8835,7 @@ async function runExtractVideosStage(input) {
8799
8835
  fps: job.config.fps,
8800
8836
  outputDir: join16(compiledDir, "__hyperframes_video_frames"),
8801
8837
  format: job.config.videoFrameFormat ?? "auto",
8802
- toneMapHdrToSdr: job.config.hdrMode === "force-sdr",
8838
+ toneMapHdrToSdr: rendersSdrOnly(job.config),
8803
8839
  timelineEnd: composition.duration,
8804
8840
  maxTransientRetries: extractionPolicy.maxTransientRetries,
8805
8841
  collectProbeFailures: extractionPolicy.failureMode === "enforce",
@@ -10914,7 +10950,7 @@ function videoEncoderOptions(input, engineCfg) {
10914
10950
  };
10915
10951
  }
10916
10952
  function canEncodeWhileCapturing(input, workerCount, cpuCount) {
10917
- return workerCount > 1 && workerCount < cpuCount && !input.isPngSequence && !input.isGif && !input.enableChunkedEncode && input.preset.codec === "h264" && !input.preset.hdr && input.job.config.useGpu !== true && input.captureImageFormat === "jpeg";
10953
+ return workerCount > 1 && workerCount < cpuCount && !input.isPngSequence && !input.isGif && !input.enableChunkedEncode && input.preset.codec === "h264" && !input.preset.hdr && input.captureImageFormat === "jpeg";
10918
10954
  }
10919
10955
  async function readLandedFrame(workerPath, mergedPath) {
10920
10956
  if (workerPath !== void 0) {
@@ -12032,6 +12068,11 @@ function resolveDeShortBand(args) {
12032
12068
  if (args.elementCountSource !== "live") return "unmeasured";
12033
12069
  return args.bandOpen ? "applied" : "skipped_elements";
12034
12070
  }
12071
+ function resolveDeSingleMinFrames(env) {
12072
+ const raw = env.HF_DE_SINGLE_MIN_FRAMES;
12073
+ const value = raw === void 0 || raw.trim() === "" ? 0 : Number(raw);
12074
+ return Number.isFinite(value) ? value : 0;
12075
+ }
12035
12076
  function shouldPreferSingleWorkerDrawElement(args) {
12036
12077
  return args.workerCount > 1 && args.useDrawElement && !args.deCompileGate && !args.forceScreenshot && outputUsesH264Pipeline(args.outputFormat) && args.minFrames > 0 && args.totalFrames >= args.minFrames && args.singleWorkerStreamingOk && !args.layeredOrEffectRoute && !args.supersampling && !args.probeDeGated && !args.experimentalParallelDeOptIn;
12037
12078
  }
@@ -12149,12 +12190,25 @@ function shouldSegmentCapture(args) {
12149
12190
  if (raw === "true") return true;
12150
12191
  return args.durationSeconds >= resolveSegmentedMinSeconds(args.env);
12151
12192
  }
12193
+ function isAppleGpuDiskCapture(args) {
12194
+ return args.platform === "darwin" && args.browserGpuMode === "hardware" && !args.layered && !args.parallelStream;
12195
+ }
12152
12196
  function shouldStreamParallelCapture(args) {
12153
12197
  return args.routerEnabled && args.workerCount > 1 && !args.useDrawElement && outputUsesH264Pipeline(args.outputFormat) && args.streamingOk && !args.layeredOrEffectRoute;
12154
12198
  }
12155
12199
  function shouldClampDefaultDrawElement(args) {
12156
12200
  return args.useDrawElement && !args.fastCaptureExplicitOptIn && (!args.useStreamingEncode || args.workerCount > 1) && !args.deParallelStreamVerified;
12157
12201
  }
12202
+ function calibrationCaptureConfig(cfg, env = process.env) {
12203
+ const parallelKeepsDrawElement = !shouldClampDefaultDrawElement({
12204
+ useDrawElement: cfg.useDrawElement,
12205
+ fastCaptureExplicitOptIn: env.PRODUCER_EXPERIMENTAL_FAST_CAPTURE === "true",
12206
+ useStreamingEncode: true,
12207
+ workerCount: 2,
12208
+ deParallelStreamVerified: env.HF_DE_PARALLEL_STREAM === "true"
12209
+ });
12210
+ return parallelKeepsDrawElement ? cfg : { ...cfg, useDrawElement: false };
12211
+ }
12158
12212
  function resolveCaptureForceScreenshotForPageSideCompositing(args) {
12159
12213
  return args.usePageSideCompositing ? true : args.forceScreenshot;
12160
12214
  }
@@ -12238,6 +12292,7 @@ async function executeRenderPipeline(input) {
12238
12292
  let captureCompositionHeight;
12239
12293
  let captureTotalFrames;
12240
12294
  const perfStages = {};
12295
+ let pendingAudio;
12241
12296
  const hdrDiagnostics = {
12242
12297
  videoExtractionFailures: 0,
12243
12298
  imageDecodeFailures: 0
@@ -12599,7 +12654,7 @@ async function executeRenderPipeline(input) {
12599
12654
  updateJobStatus(job, "preprocessing", "Processing audio tracks", 20, onProgress, {
12600
12655
  code: "process_audio"
12601
12656
  });
12602
- const audioResult = await observeRenderStage(
12657
+ const audioStage = observeRenderStage(
12603
12658
  observability,
12604
12659
  "audio_process",
12605
12660
  { audioCount: composition.audios.length },
@@ -12618,32 +12673,7 @@ async function executeRenderPipeline(input) {
12618
12673
  log
12619
12674
  })
12620
12675
  );
12621
- const { audioOutputPath, hasAudio } = audioResult;
12622
- perfStages.audioProcessMs = audioResult.audioProcessMs;
12623
- recordLimiterAttenuation(job, audioResult.audioLoweredDb);
12624
- if (audioResult.audioError) {
12625
- const audioFailures = audioResult.audioFailures ?? [];
12626
- const failureOwner = audioFailures.length === 0 ? void 0 : audioFailures.some((failure) => failure.owner === "system") ? "system" : "user";
12627
- const retryable = audioFailures.length === 0 ? void 0 : audioFailures.every((failure) => failure.retryable);
12628
- applyRenderWarningPolicy(
12629
- job,
12630
- [
12631
- {
12632
- code: "audio_processing_failed",
12633
- message: `Audio mix failed; output would be video-only: ${audioResult.audioError}`,
12634
- details: {
12635
- mediaType: "audio",
12636
- audioFailures: audioFailureDiagnostics(audioFailures),
12637
- failureReasons: [...new Set(audioFailures.map((failure) => failure.reason))],
12638
- failureStages: [...new Set(audioFailures.map((failure) => failure.stage))],
12639
- failureOwner,
12640
- retryable
12641
- }
12642
- }
12643
- ],
12644
- log
12645
- );
12646
- }
12676
+ pendingAudio = audioStage.catch(() => void 0);
12647
12677
  const stage4Start = Date.now();
12648
12678
  updateJobStatus(job, "rendering", "Starting frame capture", 25, onProgress, {
12649
12679
  code: "start_browsers"
@@ -12747,9 +12777,7 @@ async function executeRenderPipeline(input) {
12747
12777
  const hasHdrContent = Boolean(effectiveHdr && nativeHdrIds.size > 0);
12748
12778
  if (hasHdrContent) assertOutputScaleSupported(deviceScaleFactor, "hdr_layered");
12749
12779
  routePageMotionBlur = pageMotionBlurForRoute({ hasHdrContent, useLayeredComposite: false });
12750
- const deSingleMinFramesRaw = process.env.HF_DE_SINGLE_MIN_FRAMES;
12751
- const deSingleMinFramesNum = deSingleMinFramesRaw === void 0 || deSingleMinFramesRaw.trim() === "" ? 900 : Number(deSingleMinFramesRaw);
12752
- const deSingleMinFrames = Number.isFinite(deSingleMinFramesNum) ? deSingleMinFramesNum : 900;
12780
+ const deSingleMinFrames = resolveDeSingleMinFrames(process.env);
12753
12781
  const deShortBandMinFrames = envInt("HF_DE_SHORT_MIN_FRAMES", 250);
12754
12782
  const deShortBandMaxElements = envInt("HF_DE_SHORT_MAX_ELEMENTS", 2500);
12755
12783
  const {
@@ -12918,7 +12946,7 @@ async function executeRenderPipeline(input) {
12918
12946
  stagePhase: "calibrating"
12919
12947
  }),
12920
12948
  () => runCaptureCalibration({
12921
- cfg,
12949
+ cfg: calibrationCaptureConfig(cfg),
12922
12950
  fileServer: activeFileServer,
12923
12951
  workDir,
12924
12952
  log,
@@ -12954,10 +12982,28 @@ async function executeRenderPipeline(input) {
12954
12982
  deParallelRouterEligible
12955
12983
  });
12956
12984
  }
12985
+ const appleGpuDiskCapture = isAppleGpuDiskCapture({
12986
+ platform: process.platform,
12987
+ browserGpuMode: resolvedBrowserGpuMode,
12988
+ layered: shouldUseLayeredComposite({
12989
+ hasHdrContent,
12990
+ hasShaderTransitions: compiled.hasShaderTransitions && !isGif,
12991
+ isPngSequence
12992
+ }),
12993
+ parallelStream: isCaptureParallelStreamRouterEnabled(
12994
+ process.env,
12995
+ resolveParallelCaptureMode({
12996
+ platform: process.platform,
12997
+ headlessShellPath: resolveHeadlessShellPath(cfg),
12998
+ forceScreenshot: captureForceScreenshot,
12999
+ deviceScaleFactor: captureOptions.deviceScaleFactor
13000
+ })
13001
+ )
13002
+ });
12957
13003
  workerCount = resolveRenderWorkerCount(
12958
13004
  totalFrames,
12959
13005
  job.config.workers,
12960
- cfg,
13006
+ { ...cfg, appleGpuDiskCapture },
12961
13007
  compiled,
12962
13008
  log,
12963
13009
  captureCalibration?.estimate,
@@ -13304,7 +13350,12 @@ async function executeRenderPipeline(input) {
13304
13350
  });
13305
13351
  const encoderHdr = hasHdrContent ? effectiveHdr : void 0;
13306
13352
  const presetFormat = outputFormat === "webm" || outputFormat === "mov" ? outputFormat : "mp4";
13307
- const preset = getEncoderPreset(job.config.quality, presetFormat, encoderHdr);
13353
+ const preset = getEncoderPreset(
13354
+ job.config.quality,
13355
+ presetFormat,
13356
+ encoderHdr,
13357
+ job.config.proresProfile
13358
+ );
13308
13359
  if (job.config.crf != null && job.config.videoBitrate) {
13309
13360
  log.warn(
13310
13361
  `[Render] Both crf=${job.config.crf} and videoBitrate=${job.config.videoBitrate} were set. These are mutually exclusive; honoring crf and ignoring videoBitrate. Set only one to silence this warning.`
@@ -13312,6 +13363,33 @@ async function executeRenderPipeline(input) {
13312
13363
  }
13313
13364
  const effectiveQuality = job.config.crf ?? preset.quality;
13314
13365
  const effectiveBitrate = job.config.crf != null ? void 0 : job.config.videoBitrate;
13366
+ const audioResult = await audioStage;
13367
+ const { audioOutputPath, hasAudio } = audioResult;
13368
+ perfStages.audioProcessMs = audioResult.audioProcessMs;
13369
+ recordLimiterAttenuation(job, audioResult.audioLoweredDb);
13370
+ if (audioResult.audioError) {
13371
+ const audioFailures = audioResult.audioFailures ?? [];
13372
+ const failureOwner = audioFailures.length === 0 ? void 0 : audioFailures.some((failure) => failure.owner === "system") ? "system" : "user";
13373
+ const retryable = audioFailures.length === 0 ? void 0 : audioFailures.every((failure) => failure.retryable);
13374
+ applyRenderWarningPolicy(
13375
+ job,
13376
+ [
13377
+ {
13378
+ code: "audio_processing_failed",
13379
+ message: `Audio mix failed; output would be video-only: ${audioResult.audioError}`,
13380
+ details: {
13381
+ mediaType: "audio",
13382
+ audioFailures: audioFailureDiagnostics(audioFailures),
13383
+ failureReasons: [...new Set(audioFailures.map((failure) => failure.reason))],
13384
+ failureStages: [...new Set(audioFailures.map((failure) => failure.stage))],
13385
+ failureOwner,
13386
+ retryable
13387
+ }
13388
+ }
13389
+ ],
13390
+ log
13391
+ );
13392
+ }
13315
13393
  resetCaptureAttemptProgress(job);
13316
13394
  if (capturePlan.kind === "hdr_layered") {
13317
13395
  const layeredPlan = capturePlan;
@@ -14026,6 +14104,7 @@ async function executeRenderPipeline(input) {
14026
14104
  updateJobStatus(job, "complete", "Render complete", 100, onProgress);
14027
14105
  await eventPublisher.flush();
14028
14106
  } catch (caught) {
14107
+ await pendingAudio;
14029
14108
  const error = tooSlowError ?? caught;
14030
14109
  if (!tooSlowError && (error instanceof RenderCancelledError || executionSignal?.aborted)) {
14031
14110
  job.error = error instanceof Error ? error.message : "render_cancelled";
@@ -16084,6 +16163,8 @@ function buildLockedRenderConfig(input) {
16084
16163
  closedGop: true,
16085
16164
  forceKeyframes: "n=0",
16086
16165
  pixelFormat,
16166
+ // Omitted for the default so existing 4444 plans keep their planHash.
16167
+ ...config.proresProfile && config.proresProfile !== "4444" ? { proresProfile: config.proresProfile } : {},
16087
16168
  chunkSize: input.effectiveChunkSize,
16088
16169
  chunkCount: input.chunkCount,
16089
16170
  runtimeEnv: input.runtimeEnv,
@@ -16105,7 +16186,11 @@ function resolveEncoderTriple(config) {
16105
16186
  `[plan] DistributedRenderConfig.codec is only valid for format="mp4"; received codec=${JSON.stringify(config.codec)} with format=${JSON.stringify(config.format)}. Omit codec for non-mp4 formats: mov is always ProRes 4444, webm is always libvpx-vp9, and png-sequence has no encoder.`
16106
16187
  );
16107
16188
  }
16108
- return resolveNonMp4EncoderTriple(config.format, config.quality ?? "standard");
16189
+ return resolveNonMp4EncoderTriple(
16190
+ config.format,
16191
+ config.quality ?? "standard",
16192
+ config.proresProfile
16193
+ );
16109
16194
  }
16110
16195
  function resolveMp4EncoderTriple(codec) {
16111
16196
  const c = codec ?? "h264";
@@ -16119,9 +16204,10 @@ function resolveMp4EncoderTriple(codec) {
16119
16204
  }
16120
16205
  return { encoder: "libx264-software", pixelFormat: "yuv420p", preset: "medium" };
16121
16206
  }
16122
- function resolveNonMp4EncoderTriple(format, quality) {
16207
+ function resolveNonMp4EncoderTriple(format, quality, proresProfile) {
16123
16208
  if (format === "mov") {
16124
- return { encoder: "prores-software", pixelFormat: "yuva444p10le", preset: "4444" };
16209
+ const { pixelFormat, preset } = getEncoderPreset(quality, "mov", void 0, proresProfile);
16210
+ return { encoder: "prores-software", pixelFormat, preset };
16125
16211
  }
16126
16212
  if (format === "webm") {
16127
16213
  const enginePreset = getEncoderPreset(quality, "webm");
@@ -16326,7 +16412,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16326
16412
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16327
16413
  if (probeResult.probeSession) {
16328
16414
  try {
16329
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-ALOV4D57.js");
16415
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-HHDLJV4L.js");
16330
16416
  await closeCaptureSession2(probeResult.probeSession);
16331
16417
  } catch (err) {
16332
16418
  log.warn("[plan] probe session close failed", {
@@ -16776,6 +16862,18 @@ function validateDistributedRenderConfig(config) {
16776
16862
  error instanceof Error ? error.message : String(error)
16777
16863
  );
16778
16864
  }
16865
+ try {
16866
+ validateDeliveryEncoderConfig({
16867
+ format: config.format,
16868
+ fps: { num: config.fps, den: 1 },
16869
+ proresProfile: config.proresProfile
16870
+ });
16871
+ } catch (error) {
16872
+ throw new InvalidConfigError(
16873
+ "config.proresProfile",
16874
+ error instanceof Error ? error.message : String(error)
16875
+ );
16876
+ }
16779
16877
  if (config.chunkSize !== void 0) {
16780
16878
  if (!Number.isInteger(config.chunkSize) || config.chunkSize < 1) {
16781
16879
  throw new InvalidConfigError(
@@ -17015,6 +17113,7 @@ function assertRequestOptionScalars(options) {
17015
17113
  for (const field of ["entryFile", "videoBitrate", "maxBitrate", "bufferSize"]) {
17016
17114
  assertOptionalString(options, field);
17017
17115
  }
17116
+ assertOptionalEnum(options, "proresProfile", PRORES_PROFILE_NAMES);
17018
17117
  assertOptionalEnum(options, "strictness", ["strict", "best-effort"]);
17019
17118
  assertOptionalEnum(options, "hdrMode", ["auto", "force-hdr", "force-sdr"]);
17020
17119
  assertOptionalEnum(options, "pageMotionBlur", ["off"]);
@@ -17116,6 +17215,7 @@ function distributedConfigFromRequest(request, runtime = {}) {
17116
17215
  pageMotionBlur: options.pageMotionBlur,
17117
17216
  bitrate: options.videoBitrate,
17118
17217
  keyframeIntervalSeconds: options.keyframeIntervalSeconds,
17218
+ proresProfile: options.proresProfile,
17119
17219
  maxBitrate: options.maxBitrate,
17120
17220
  bufferSize: options.bufferSize,
17121
17221
  videoFrameFormat: options.videoFrameFormat,
@@ -17166,6 +17266,7 @@ function renderRequestFromDistributedConfig(input) {
17166
17266
  ...optionalProperty("pageMotionBlur", config.pageMotionBlur),
17167
17267
  ...optionalProperty("videoBitrate", config.bitrate),
17168
17268
  ...optionalProperty("keyframeIntervalSeconds", config.keyframeIntervalSeconds),
17269
+ ...optionalProperty("proresProfile", config.proresProfile),
17169
17270
  ...optionalProperty("maxBitrate", config.maxBitrate),
17170
17271
  ...optionalProperty("bufferSize", config.bufferSize),
17171
17272
  ...optionalProperty("videoFrameFormat", config.videoFrameFormat),
@@ -18043,7 +18144,7 @@ function startServer(options = {}) {
18043
18144
  });
18044
18145
  async function shutdown(signal) {
18045
18146
  log.info(`Received ${signal}, shutting down`);
18046
- const { drainBrowserPool } = await import("./src-ALOV4D57.js");
18147
+ const { drainBrowserPool } = await import("./src-HHDLJV4L.js");
18047
18148
  await drainBrowserPool().catch(() => {
18048
18149
  });
18049
18150
  const handle = await Promise.race([
@@ -19713,7 +19814,12 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19713
19814
  const isPngSequence = plan2.dimensions.format === "png-sequence";
19714
19815
  outputKind = isPngSequence ? "frame-dir" : "file";
19715
19816
  const presetFormat = isPngSequence ? "mp4" : plan2.dimensions.format;
19716
- const basePreset = getEncoderPreset(job.config.quality, presetFormat, void 0);
19817
+ const basePreset = getEncoderPreset(
19818
+ job.config.quality,
19819
+ presetFormat,
19820
+ void 0,
19821
+ encoder.proresProfile
19822
+ );
19717
19823
  const preset = resolvePresetForLockedEncoder(basePreset, encoder.encoder);
19718
19824
  const effectiveQuality = encoder.crf ?? preset.quality;
19719
19825
  const effectiveBitrate = encoder.crf != null ? void 0 : encoder.bitrate;
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCaptureBrowserGpuMode
9
- } from "./chunk-WLVHSGVL.js";
9
+ } from "./chunk-Z2UZAY2Q.js";
10
10
  import {
11
11
  requestCliExit
12
- } from "./chunk-JVBRJMOP.js";
12
+ } from "./chunk-LALLQUSK.js";
13
13
  import {
14
14
  explainChromeLaunchFailure,
15
15
  inAgentSandbox,
@@ -18,7 +18,7 @@ import {
18
18
  oneProcessOverPipe,
19
19
  pipeLaunchClosedOnMac,
20
20
  sandboxDeniedRemediation
21
- } from "./chunk-IQNS7O4W.js";
21
+ } from "./chunk-UI7X4L4M.js";
22
22
  import {
23
23
  processIsAlive
24
24
  } from "./chunk-KGPLIH7B.js";
@@ -26,8 +26,9 @@ import {
26
26
  withHyperframesBrowserMarker
27
27
  } from "./chunk-K4MJX7SR.js";
28
28
  import {
29
- normalizeErrorMessage
30
- } from "./chunk-EU7MVORF.js";
29
+ normalizeErrorMessage,
30
+ notePageCrash
31
+ } from "./chunk-E63BDV4Z.js";
31
32
 
32
33
  // src/browser/chromeTree.ts
33
34
  import { execFile } from "child_process";
@@ -261,6 +262,8 @@ async function launchOwnedBrowser(puppeteer, options) {
261
262
  if (watchdog) watchdogs.set(browser, watchdog);
262
263
  gracefulClose.set(browser, browser.close.bind(browser));
263
264
  browser.close = () => closeManagedBrowser(browser);
265
+ const newPage = browser.newPage;
266
+ browser.newPage = async (...args) => closeOnRendererCrash(await newPage.apply(browser, args));
264
267
  child.once("exit", () => {
265
268
  browsers.delete(browser);
266
269
  destroyBrowserPipes(child);
@@ -272,6 +275,13 @@ async function launchOwnedBrowser(puppeteer, options) {
272
275
  pending.delete(launch);
273
276
  }
274
277
  }
278
+ function closeOnRendererCrash(page) {
279
+ page.once("error", () => {
280
+ notePageCrash();
281
+ page.close().catch(() => void 0);
282
+ });
283
+ return page;
284
+ }
275
285
  function untilLaunchOrAbort(launch, signal) {
276
286
  const aborted = new Promise((_, reject) => {
277
287
  if (signal.aborted) reject(signal.reason);
@@ -45,7 +45,8 @@ function openBrowser(url, options = {}) {
45
45
  const args = buildBrowserArgs(url, options);
46
46
  const child = spawn(options.browserPath, args, {
47
47
  detached: true,
48
- stdio: "ignore"
48
+ stdio: "ignore",
49
+ windowsHide: false
49
50
  });
50
51
  child.on("error", () => {
51
52
  });
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createFileAtomically
9
- } from "./chunk-NQ2INEHX.js";
9
+ } from "./chunk-A4ZTSQLW.js";
10
10
 
11
11
  // src/utils/writeNewFile.ts
12
12
  function writeNewFileSync(filePath, content) {
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  loadProducer
9
- } from "./chunk-PYVYF64E.js";
9
+ } from "./chunk-5AKWJHRJ.js";
10
10
  import {
11
11
  resolveProjectRelativeSrc
12
12
  } from "./chunk-PBNWRWKA.js";
13
13
 
14
14
  // src/utils/projectMedia.ts
15
15
  async function collectProjectMedia(projectDir) {
16
- const { bundleToSingleHtml } = await import("./compiler-DSP4MVEC.js");
16
+ const { bundleToSingleHtml } = await import("./compiler-4ITKK4XI.js");
17
17
  const html = await bundleToSingleHtml(projectDir);
18
18
  const producer = await loadProducer();
19
19
  if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-IQNS7O4W.js";
9
+ } from "./chunk-UI7X4L4M.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
13
13
  processParentPid
14
- } from "./chunk-D2CE2J2A.js";
14
+ } from "./chunk-PV4XID2A.js";
15
15
  import {
16
16
  processIsAlive
17
17
  } from "./chunk-KGPLIH7B.js";