hyperframes 0.9.16 → 0.9.17

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 (237) hide show
  1. package/README.md +3 -2
  2. package/dist/{add-GEGI5ERI.js → add-VZQBLSRT.js} +12 -12
  3. package/dist/{agentPromptGenerator-VV7UQDGL.js → agentPromptGenerator-TGXEQHN3.js} +6 -7
  4. package/dist/{animatedGifPrep-JTPCKJ44.js → animatedGifPrep-25YV72PG.js} +6 -7
  5. package/dist/api.js +29 -30
  6. package/dist/{asset-ZTXZ6HGB.js → asset-UNDSQLEP.js} +2 -2
  7. package/dist/{assetCataloger-ATGUE5IY.js → assetCataloger-7RUWILYE.js} +7 -8
  8. package/dist/{audio-5SBZBNSP.js → audio-5O25WHIY.js} +16 -17
  9. package/dist/{auth-NDUIJ4HS.js → auth-6JG6SMSP.js} +2 -2
  10. package/dist/{autoUpdate-PZTBUAA5.js → autoUpdate-YIRRNQ6V.js} +2 -2
  11. package/dist/{avatars-YY7FU76E.js → avatars-YE2WC2TM.js} +10 -11
  12. package/dist/{backgroundChecks-6KERI5QL.js → backgroundChecks-A7TYPXRD.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-L3IIY2FT.js → batchRender-EX5TDMP3.js} +3 -3
  15. package/dist/{beats-UBUJBSVD.js → beats-F3AZFVZG.js} +8 -9
  16. package/dist/{benchmark-YJ2U5KE3.js → benchmark-ZBLLJL5C.js} +8 -8
  17. package/dist/{billing-YN35KTEH.js → billing-MUTW7EEI.js} +11 -11
  18. package/dist/{browser-NRDSXRX7.js → browser-BRIP2ZMX.js} +3 -3
  19. package/dist/{bundleWithLocalizedFonts-5T25BRZU.js → bundleWithLocalizedFonts-F557ZVFL.js} +1 -1
  20. package/dist/{capture-7K7VWXBQ.js → capture-6TRISPA2.js} +13 -14
  21. package/dist/{capture-MP46JHB7.js → capture-GSJVFS7R.js} +3 -3
  22. package/dist/{captureCompositionFrame-4VZCJGGD.js → captureCompositionFrame-YRZVOCTO.js} +12 -13
  23. package/dist/{catalog-32CQF7IT.js → catalog-5HJJNBFM.js} +12 -12
  24. package/dist/{catch-up-IVBUCPZM.js → catch-up-AQ5TFCAH.js} +4 -4
  25. package/dist/{check-U5PPKHG5.js → check-TYBSHODD.js} +40 -41
  26. package/dist/{checkAudio-ZCRRON4E.js → checkAudio-LDSIWNQL.js} +9 -10
  27. package/dist/{checkBrowser-MS5NKDXR.js → checkBrowser-7CFHX4VU.js} +32 -33
  28. package/dist/{chunk-PWTWZF3F.js → chunk-2UJSYHED.js} +1 -1
  29. package/dist/{chunk-L4ZMCB52.js → chunk-3IMHFJDG.js} +9 -9
  30. package/dist/{chunk-SOQNCHO5.js → chunk-426GU4YI.js} +885 -516
  31. package/dist/{chunk-LIUJRACZ.js → chunk-4R63FXGU.js} +15 -5
  32. package/dist/{chunk-TEEPLD64.js → chunk-4TW62PDH.js} +17 -8
  33. package/dist/{chunk-M2Y245ET.js → chunk-64RLXCUT.js} +6 -3
  34. package/dist/{chunk-65XOIIBM.js → chunk-6DX4URUB.js} +1 -1
  35. package/dist/{chunk-JWCMOC7O.js → chunk-6OBCXHIF.js} +1 -1
  36. package/dist/{chunk-O2B3YNUH.js → chunk-7BJQ4R4F.js} +3 -3
  37. package/dist/{chunk-UXS7VE75.js → chunk-7PZLR2JZ.js} +1 -1
  38. package/dist/{chunk-IX5QY54Q.js → chunk-AII4BFKZ.js} +2 -2
  39. package/dist/{chunk-6H5NILM5.js → chunk-ATTDG6NR.js} +1 -1
  40. package/dist/{chunk-ZLWRAHBZ.js → chunk-BIY3M2WW.js} +10 -10
  41. package/dist/{chunk-YNAKUHSJ.js → chunk-C67RYYGK.js} +4 -4
  42. package/dist/{chunk-R5LSL2C7.js → chunk-C6MYVPHX.js} +1 -1
  43. package/dist/{chunk-XS27ELRN.js → chunk-CXSJ6H5Q.js} +2 -2
  44. package/dist/{chunk-N32TVQYQ.js → chunk-DEI35LJT.js} +2 -2
  45. package/dist/{chunk-B2W2CPXF.js → chunk-DLTSPBI7.js} +1 -1
  46. package/dist/{chunk-YQ4LB3XC.js → chunk-DVKZ55DS.js} +1 -1
  47. package/dist/{chunk-PWOMLJFV.js → chunk-E5FLGIV3.js} +2 -2
  48. package/dist/{chunk-XDT2DMH6.js → chunk-ENJ3M6OM.js} +2 -2
  49. package/dist/{chunk-TNTQ7H24.js → chunk-GDQQ4U3L.js} +75 -9
  50. package/dist/{chunk-Q5M3JAME.js → chunk-GQORIM44.js} +13 -13
  51. package/dist/{chunk-L6X4ONBM.js → chunk-HUCRKZ6J.js} +7 -7
  52. package/dist/{chunk-IR3JMMFT.js → chunk-HUZ3GL3F.js} +33 -2
  53. package/dist/{chunk-KWORPYKW.js → chunk-I4BH3ASB.js} +1 -1
  54. package/dist/{chunk-72PVZ2A4.js → chunk-IIXZLGSI.js} +5 -5
  55. package/dist/chunk-IN3ZKLLQ.js +59 -0
  56. package/dist/{chunk-PLVIN7X6.js → chunk-IQL7NJSE.js} +1 -1
  57. package/dist/{chunk-ZO5QD2FA.js → chunk-JEPV6WOW.js} +2 -2
  58. package/dist/{chunk-ZEOPRYFK.js → chunk-JSCY2GUB.js} +2 -2
  59. package/dist/{chunk-WWEFNXQI.js → chunk-JU2XCDW5.js} +2 -2
  60. package/dist/{chunk-AKE744C5.js → chunk-JWORQ5WQ.js} +5 -1
  61. package/dist/{chunk-PNZD5LZL.js → chunk-KE6NXX45.js} +47 -17
  62. package/dist/{chunk-AD2T3VAJ.js → chunk-KEZSFOSN.js} +2 -2
  63. package/dist/{chunk-G4OGVFUJ.js → chunk-KVANP54U.js} +1 -1
  64. package/dist/{chunk-344RFO72.js → chunk-L3HCPZZT.js} +32 -33
  65. package/dist/{chunk-AGQNRDYJ.js → chunk-L5EM7KAY.js} +1 -1
  66. package/dist/{chunk-U7MRV4RM.js → chunk-LHQZYLVO.js} +7 -7
  67. package/dist/{chunk-SREJU7NR.js → chunk-LV3MNSL7.js} +1 -1
  68. package/dist/{chunk-NPDBBMXX.js → chunk-LV7BDQ5X.js} +1 -1
  69. package/dist/{chunk-JPODNK2G.js → chunk-M4HDVKHG.js} +2 -2
  70. package/dist/{chunk-S6AMEEGZ.js → chunk-M6F4HXMW.js} +3 -3
  71. package/dist/{chunk-S7UUJ77M.js → chunk-M6FS7TNN.js} +1 -1
  72. package/dist/{chunk-TABWG4IT.js → chunk-M7VAMZQW.js} +18 -11
  73. package/dist/{chunk-GGSTJZQL.js → chunk-MB7VK7MW.js} +1 -1
  74. package/dist/{chunk-6M3TQUDF.js → chunk-MDZANX4P.js} +2 -2
  75. package/dist/{chunk-5IVECOVN.js → chunk-MJFEHOGJ.js} +1 -1
  76. package/dist/{chunk-OK3IQC32.js → chunk-MLBH6KJL.js} +1 -1
  77. package/dist/{chunk-VPBE4USM.js → chunk-MZI62LS2.js} +38 -25
  78. package/dist/{chunk-QCHPM3C2.js → chunk-N6E2T3JY.js} +1 -1
  79. package/dist/{chunk-4ECLIUTB.js → chunk-N6YQHI3Z.js} +2 -2
  80. package/dist/{chunk-QXGT6KRX.js → chunk-NMQWKWV4.js} +25 -11
  81. package/dist/{chunk-J2I2LTJM.js → chunk-NO2YYTAK.js} +1 -1
  82. package/dist/{chunk-JCIPZMKD.js → chunk-NQZQZY4B.js} +3 -3
  83. package/dist/{chunk-JFUXZERX.js → chunk-NTMMUK6Q.js} +113 -67
  84. package/dist/{chunk-PGM5YXBA.js → chunk-NV7IMBP7.js} +1 -1
  85. package/dist/{chunk-6H5KN7CJ.js → chunk-O6757ZOW.js} +5 -5
  86. package/dist/{chunk-LOKTVSTM.js → chunk-O7SPZE7M.js} +1 -1
  87. package/dist/{chunk-DV7RLE6B.js → chunk-OE347X32.js} +2 -2
  88. package/dist/{chunk-G54QPS3F.js → chunk-OKPASJ5P.js} +4 -4
  89. package/dist/{chunk-U7LBN2BQ.js → chunk-OYNHNQ3E.js} +7 -7
  90. package/dist/{chunk-ZAD422DC.js → chunk-OYXGIP35.js} +4 -4
  91. package/dist/{chunk-SE4WJJ43.js → chunk-PHJNYHGA.js} +1 -1
  92. package/dist/{chunk-LHRQP7TF.js → chunk-PVDBALBI.js} +5 -5
  93. package/dist/{chunk-UGYQBRHG.js → chunk-QR7666XO.js} +3 -3
  94. package/dist/{chunk-NNXS4VBX.js → chunk-RPLMK4WC.js} +1 -1
  95. package/dist/{chunk-K2JGJUMR.js → chunk-SKOBUO2F.js} +3 -3
  96. package/dist/{chunk-4FHTWYDZ.js → chunk-SVPRFL7O.js} +1 -1
  97. package/dist/{chunk-YKAK4ALT.js → chunk-SZLKWUHN.js} +2 -2
  98. package/dist/{chunk-ZUZPIM6R.js → chunk-TBXNHLRL.js} +1 -1
  99. package/dist/{chunk-HNZ2FZIB.js → chunk-TTCNUS5M.js} +3 -3
  100. package/dist/{chunk-YFHOTWWE.js → chunk-UE2RAXA7.js} +1 -1
  101. package/dist/{chunk-ALQAHCK5.js → chunk-UQXBGFKU.js} +1 -1
  102. package/dist/{chunk-BB5CZTGW.js → chunk-UURC7DFD.js} +1 -1
  103. package/dist/{chunk-SPJX4LQR.js → chunk-UYMUPV7Q.js} +10 -10
  104. package/dist/chunk-VBEP277H.js +5035 -0
  105. package/dist/{chunk-75PTCQAO.js → chunk-VFGKM45X.js} +1 -1
  106. package/dist/{chunk-W2BP25U5.js → chunk-VMWRWUDV.js} +1 -1
  107. package/dist/{chunk-PC662ORN.js → chunk-VR7E3QEQ.js} +2 -1
  108. package/dist/{chunk-TTEOPEJJ.js → chunk-VTQ6LSSX.js} +2 -2
  109. package/dist/{chunk-BSPE37DP.js → chunk-WEW22B4F.js} +2 -2
  110. package/dist/{chunk-A4OX3TI6.js → chunk-WODNT4NL.js} +1 -1
  111. package/dist/{chunk-BJAESOYP.js → chunk-X2TDLUIK.js} +4 -12
  112. package/dist/{chunk-OIJHKOV2.js → chunk-XBJNA2O5.js} +2 -2
  113. package/dist/{chunk-HK4AN44J.js → chunk-XCF72IZY.js} +2 -2
  114. package/dist/{chunk-UK5DBUJX.js → chunk-XZRMB5Q7.js} +6 -6
  115. package/dist/{chunk-DM7WRHB5.js → chunk-ZAJSIWIC.js} +1 -1
  116. package/dist/{chunk-5L2CII4L.js → chunk-ZMG7COPL.js} +1 -1
  117. package/dist/{chunk-P2AOKCAC.js → chunk-ZO74SCFC.js} +3 -3
  118. package/dist/{clean-5K2KTH5M.js → clean-RCXP7VIE.js} +16 -17
  119. package/dist/cli.js +76 -68
  120. package/dist/{cloud-7O2Q7IHJ.js → cloud-UMR6YM53.js} +4 -4
  121. package/dist/{cloudrun-3HRDMWIS.js → cloudrun-WNFJ6HDK.js} +4 -4
  122. package/dist/commands/contrast-audit.browser.js +50 -14
  123. package/dist/commands/motion-signature.browser.js +8 -1
  124. package/dist/{compare-D22HJO5V.js → compare-4DOTZFJB.js} +29 -30
  125. package/dist/{compiler-RY6IVESI.js → compiler-QZAK3CQM.js} +3 -4
  126. package/dist/{component-B7V7A5AP.js → component-JUNJ3HR5.js} +3 -3
  127. package/dist/{compositions-HFBRVNYW.js → compositions-Y4TVCT6A.js} +11 -13
  128. package/dist/{curve-7PLN35CZ.js → curve-MRBPVFJR.js} +10 -11
  129. package/dist/{cuts-ZG7TBYVD.js → cuts-FEQBTLCK.js} +11 -12
  130. package/dist/{delete-YL4IMJJZ.js → delete-IZIO5BPH.js} +3 -3
  131. package/dist/{deploy-A6CDKFQZ.js → deploy-LYSMVVKT.js} +1 -1
  132. package/dist/{describeProject-VZCHDSWT.js → describeProject-37HOCRQS.js} +7 -8
  133. package/dist/{diff-PBVZRS5Z.js → diff-JLJZ7CWH.js} +29 -30
  134. package/dist/{dist-HRK4GWLN.js → dist-LIQVRDQQ.js} +9 -10
  135. package/dist/{dist-BU547SVG.js → dist-RSKVXBET.js} +12 -2
  136. package/dist/{dist-FPRADDH6.js → dist-URQMS2HM.js} +5 -4
  137. package/dist/{doctor-IFTYCM3E.js → doctor-YXP5OQZJ.js} +10 -11
  138. package/dist/{energy-ENGAT6Z5.js → energy-E2MNVLQG.js} +11 -12
  139. package/dist/{events-CMAXQTDX.js → events-7KJUZ6JN.js} +3 -3
  140. package/dist/{events-A6SBEKVH.js → events-AUFOARC3.js} +2 -2
  141. package/dist/{events-AZ5XEDBE.js → events-IQMZODOM.js} +13 -14
  142. package/dist/{extract-IE74J44O.js → extract-MNRKSTVS.js} +11 -12
  143. package/dist/{face-JAPTS7VJ.js → face-PLFENYM6.js} +11 -12
  144. package/dist/{feedback-QCFWXJCD.js → feedback-PMTFDXYG.js} +10 -7
  145. package/dist/{ffmpeg-4YMUUJP7.js → ffmpeg-6NPH4Y32.js} +6 -7
  146. package/dist/{figma-C36IECKZ.js → figma-VRGLERFC.js} +3 -3
  147. package/dist/fontLocalizeCli.js +9 -10
  148. package/dist/{frames-ZW26G4UP.js → frames-IJODIWMC.js} +12 -13
  149. package/dist/{generate-ZXR73M22.js → generate-QGD5W7C2.js} +21 -22
  150. package/dist/{get-3KICFW3X.js → get-JRHXJ3XB.js} +3 -3
  151. package/dist/{gpuPolicy-SBYZLOAU.js → gpuPolicy-ZUQPIKA6.js} +6 -7
  152. package/dist/{grade-compare-DCL3OPKF.js → grade-compare-PBNOHUTC.js} +30 -31
  153. package/dist/{heifImagePrep-YQWEIVTC.js → heifImagePrep-IHGRDGIQ.js} +7 -8
  154. package/dist/{help-PUL7OS7X.js → help-TSKN5WKM.js} +1 -1
  155. package/dist/{history-GPBKC5DE.js → history-CKYGYGIT.js} +6 -6
  156. package/dist/hyperframe.manifest.json +1 -1
  157. package/dist/hyperframe.runtime.iife.js +62 -62
  158. package/dist/hyperframes-player.global.js +3 -3
  159. package/dist/{info-7I6ZVJ64.js → info-MJVDLEVI.js} +39 -11
  160. package/dist/{init-5MCEGVHR.js → init-DOL2FWBB.js} +27 -28
  161. package/dist/{ink-NLYWOBTK.js → ink-O6QSMSKC.js} +11 -12
  162. package/dist/{inspect-52COR3TB.js → inspect-PC3SZZOR.js} +30 -31
  163. package/dist/{installer-ARMP4WLF.js → installer-HMGKE36F.js} +4 -4
  164. package/dist/{keyframes-3UMSTEYW.js → keyframes-7XC3AC4V.js} +6 -6
  165. package/dist/{lambda-FYHLXH4H.js → lambda-3FAGLEU5.js} +10 -11
  166. package/dist/{layout-QKWAPDPV.js → layout-VHTDCWFW.js} +30 -31
  167. package/dist/{lint-WJCUB2CR.js → lint-IC6NER4M.js} +7 -8
  168. package/dist/{lintProject-FPLCK7VP.js → lintProject-6TML32JZ.js} +1 -2
  169. package/dist/{list-4FQ4BDXW.js → list-I35ERZHZ.js} +3 -3
  170. package/dist/{localPage-YINL6OV7.js → localPage-FDNKKTXH.js} +6 -7
  171. package/dist/{login-P74VBTVA.js → login-6K6LXYCK.js} +4 -4
  172. package/dist/{look-QCOMYMSD.js → look-MUM6FFJS.js} +11 -12
  173. package/dist/{manager-V2ZJSF3Q.js → manager-C555E5U3.js} +7 -8
  174. package/dist/{measure-7IODZ7VY.js → measure-HIFTI44U.js} +11 -11
  175. package/dist/{media-treatment-UJIFSAXV.js → media-treatment-DI3C7GLC.js} +12 -13
  176. package/dist/{media-use-4Y5XRY6B.js → media-use-DA5QVW4C.js} +3 -3
  177. package/dist/{models-WPBGJ7K6.js → models-GDXFVABP.js} +10 -11
  178. package/dist/{motionShot-DZZXLIIT.js → motionShot-UTGGCPYH.js} +15 -16
  179. package/dist/{normalize-audio-QS2GZ5IT.js → normalize-audio-YS3YILNJ.js} +20 -10
  180. package/dist/{open-SIWIC52J.js → open-4PKI3YVG.js} +12 -12
  181. package/dist/{parakeetRunner-YUUCCA3S.js → parakeetRunner-EC4KUGKK.js} +11 -12
  182. package/dist/{pipeline-AJKIZGUM.js → pipeline-L3ZWWTXS.js} +9 -10
  183. package/dist/{play-4EF3JLTU.js → play-I3NXVJST.js} +20 -21
  184. package/dist/{preflight-LSDOTWZ5.js → preflight-G2AVNYY7.js} +7 -8
  185. package/dist/{present-AOLHT3YC.js → present-RUJ3YKSR.js} +15 -16
  186. package/dist/{preview-WP5VAX3M.js → preview-M2T36DYH.js} +18 -19
  187. package/dist/{probe-WZ3OWMKG.js → probe-OASNPT5T.js} +11 -12
  188. package/dist/{producer-C72VSLBR.js → producer-YEHQIQ3O.js} +1 -1
  189. package/dist/{projectConfig-LPC7WK4W.js → projectConfig-LBMTOOJX.js} +7 -7
  190. package/dist/{publication-QGBUXKB2.js → publication-O2M6ZZNY.js} +2 -2
  191. package/dist/{publish-KA2LPVL7.js → publish-PMGCGIVE.js} +11 -12
  192. package/dist/{remove-background-MC6HXEAW.js → remove-background-DFDEZEXM.js} +10 -11
  193. package/dist/{render-RPMLSL7M.js → render-PJMQH4EQ.js} +5 -5
  194. package/dist/{render-2STR3XR5.js → render-SVP72X6C.js} +32 -33
  195. package/dist/{render-IQUQ7EKS.js → render-U3NYKVOA.js} +25 -26
  196. package/dist/{render-batch-2AWWGFNK.js → render-batch-EUT4DTQZ.js} +5 -5
  197. package/dist/renderSetupWorker.js +4 -2
  198. package/dist/{resolver-D3Q6LTIO.js → resolver-H6U77U4P.js} +5 -5
  199. package/dist/{reverse-62TKSQ7Q.js → reverse-IRAAQ6T7.js} +1 -1
  200. package/dist/{run-GQNVIYMD.js → run-WZP6HXIH.js} +2 -2
  201. package/dist/{screenshotCapture-MM5V4H7M.js → screenshotCapture-2QYWSWGP.js} +7 -8
  202. package/dist/{sherpa-ZHAABYE3.js → sherpa-DO75VQI4.js} +10 -11
  203. package/dist/skills/hyperframes-cli/SKILL.md +3 -1
  204. package/dist/{skills-BYABSOL3.js → skills-7GNBYIEM.js} +6 -6
  205. package/dist/{skillsUpdateCheck-FKOS3ME7.js → skillsUpdateCheck-3X5WU4YB.js} +3 -3
  206. package/dist/{snapshot-N5O5VEBT.js → snapshot-7XX5FCQC.js} +70 -54
  207. package/dist/{src-O6ITP7WU.js → src-OUHQBPJL.js} +8 -9
  208. package/dist/{src-272JLFKW.js → src-R2QH27BL.js} +5 -6
  209. package/dist/{start-K2LGEUB5.js → start-SD4CCZFP.js} +19 -20
  210. package/dist/{staticProjectServer-C7A4W2B4.js → staticProjectServer-3DQIE2ZT.js} +18 -19
  211. package/dist/{status-USHH6OD5.js → status-HUVATV7S.js} +11 -11
  212. package/dist/studio/assets/{hyperframes-player-Bb-Fbf5k.js → hyperframes-player-CL-Qh_Bx.js} +1 -1
  213. package/dist/studio/assets/{index-BZuKog_A.js → index-DkiYRx1f.js} +116 -116
  214. package/dist/studio/assets/{index-Cap2SGKw.js → index-DyvmaiBB.js} +1 -1
  215. package/dist/studio/index.html +1 -1
  216. package/dist/{studio-api-FVBB2MVZ.js → studio-api-776ZTVLU.js} +9 -10
  217. package/dist/{studioServer-SFN7YUNV.js → studioServer-A3LGBU4W.js} +49 -50
  218. package/dist/{sync-JUDSPP46.js → sync-5BBHBAZ6.js} +11 -12
  219. package/dist/{telemetry-3DEZK5Q3.js → telemetry-7ETKP7HP.js} +3 -3
  220. package/dist/{templates-3FJRJ6KB.js → templates-RH674B5Q.js} +11 -11
  221. package/dist/{timeline-P4CS4INR.js → timeline-DEZAVAFR.js} +19 -20
  222. package/dist/{tokens-EFAVVV56.js → tokens-2UHFZABD.js} +2 -2
  223. package/dist/{transcribe-YTBSMCFG.js → transcribe-EZEUKBI3.js} +9 -10
  224. package/dist/{transcribe-JKV42B3Q.js → transcribe-NZBJVCSZ.js} +23 -24
  225. package/dist/{update-6QVOSVBW.js → update-YXZI2ICU.js} +7 -7
  226. package/dist/{updateCheck-2FWJ2X62.js → updateCheck-GJMC7GXZ.js} +2 -2
  227. package/dist/{upgrade-AUHNDKNP.js → upgrade-E3QK3G3D.js} +3 -3
  228. package/dist/{upload-HMRWGZIO.js → upload-YQMBLKH5.js} +3 -1
  229. package/dist/{urlDownloader-6ZSSYTOY.js → urlDownloader-KYFYU6AG.js} +5 -6
  230. package/dist/{validate-DKEWYJ3V.js → validate-HD224PCX.js} +23 -24
  231. package/dist/{video-N6AEYBUW.js → video-3NIYVUPF.js} +7 -8
  232. package/dist/{voices-MT7CM6O5.js → voices-G2YC3Y7U.js} +19 -20
  233. package/dist/warmCheck.js +40 -41
  234. package/package.json +1 -1
  235. package/dist/chunk-CAD6G75K.js +0 -29
  236. package/dist/chunk-CZGHFATT.js +0 -31
  237. package/dist/chunk-J3G5KEPY.js +0 -5035
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-BB5CZTGW.js";
9
+ } from "./chunk-UURC7DFD.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-BSPE37DP.js";
15
+ } from "./chunk-WEW22B4F.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
19
- } from "./chunk-OIJHKOV2.js";
19
+ } from "./chunk-XBJNA2O5.js";
20
20
  import {
21
21
  projectOf,
22
22
  runFfmpeg
23
- } from "./chunk-PC662ORN.js";
23
+ } from "./chunk-VR7E3QEQ.js";
24
24
  import {
25
25
  initialModelForLanguage,
26
26
  transcribe
27
- } from "./chunk-JCIPZMKD.js";
27
+ } from "./chunk-NQZQZY4B.js";
28
28
  import {
29
29
  createRenderCancellationScope,
30
30
  stoppedByCancelSignal
31
- } from "./chunk-NPDBBMXX.js";
31
+ } from "./chunk-LV7BDQ5X.js";
32
32
  import {
33
33
  DEFAULT_MODEL,
34
34
  findWhisper,
35
35
  isWhisperUnavailable
36
- } from "./chunk-B2W2CPXF.js";
36
+ } from "./chunk-DLTSPBI7.js";
37
37
  import {
38
38
  formatSrt,
39
39
  formatVtt,
@@ -22,7 +22,7 @@ import {
22
22
  resolveNaturalMediaTimelineDuration,
23
23
  resolveTimedImageDurationSeconds,
24
24
  unitFloatToByte
25
- } from "./chunk-J3G5KEPY.js";
25
+ } from "./chunk-VBEP277H.js";
26
26
  import {
27
27
  COLOR_GROUP_ATTR,
28
28
  COLOR_GROUP_TAG,
@@ -1527,6 +1527,10 @@ function bakeHfColorGradingCube(grading, options = {}) {
1527
1527
  }
1528
1528
 
1529
1529
  // ../core/dist/hdrToneMap.js
1530
+ var BT2408_HLG_REFERENCE_WHITE_NITS = 203;
1531
+ var SDR_NOMINAL_PEAK_NITS = 100;
1532
+ var toneMapReferenceNits = (keyframeTransfers) => keyframeTransfers?.length && keyframeTransfers.every((transfer) => transfer === "arib-std-b67") ? BT2408_HLG_REFERENCE_WHITE_NITS : SDR_NOMINAL_PEAK_NITS;
1533
+ var readsKeyframeTransfers = ({ colorTransfer }) => colorTransfer === "arib-std-b67" || !known(colorTransfer);
1530
1534
  function known(value) {
1531
1535
  return value && value !== "unknown" && value !== "reserved" ? value : void 0;
1532
1536
  }
@@ -1539,7 +1543,9 @@ function hdrToSdrToneMapFilter(probed, firstFrame, size) {
1539
1543
  ].filter(([, value]) => value);
1540
1544
  const setTags = tags.length ? `setparams=${tags.map((tag) => tag.join("=")).join(":")},` : "";
1541
1545
  const resizeBeforeToneMap = size ? `w=${size.width}:h=${size.height}:` : "";
1542
- return `${setTags}zscale=${resizeBeforeToneMap}t=linear:npl=100,tonemap=hable:desat=0,zscale=p=bt709:t=bt709:m=bt709:r=tv`;
1546
+ const stream = known(firstFrame.colorTransfer) ?? known(probed.colorTransfer);
1547
+ const npl = toneMapReferenceNits(firstFrame.keyframeTransfers?.map((transfer) => transfer === "unspecified" ? stream ?? transfer : transfer));
1548
+ return `${setTags}zscale=${resizeBeforeToneMap}t=linear:npl=${npl},tonemap=hable:desat=0,zscale=p=bt709:t=bt709:m=bt709:r=tv`;
1543
1549
  }
1544
1550
  function firstFrameColourArgs(videoPath) {
1545
1551
  return [
@@ -1547,6 +1553,22 @@ function firstFrameColourArgs(videoPath) {
1547
1553
  ...["-vf", "showinfo", "-f", "null", "-"]
1548
1554
  ];
1549
1555
  }
1556
+ var SPS_UNIT_TYPES = { h264: "7", hevc: "33" };
1557
+ var TRANSFER_NAMES = {
1558
+ "1": "bt709",
1559
+ "2": "unspecified",
1560
+ "16": "smpte2084",
1561
+ "18": "arib-std-b67"
1562
+ };
1563
+ function keyframeTransferArgs(videoPath, codec) {
1564
+ const sps = codec ? SPS_UNIT_TYPES[codec] : void 0;
1565
+ const trace = sps ? `filter_units=pass_types=${sps},trace_headers` : "trace_headers";
1566
+ return [
1567
+ ...["-hide_banner", "-nostats", "-discard", "nokey", "-i", videoPath, "-map", "0:v:0"],
1568
+ ...["-c", "copy", "-bsf:v", trace, "-f", "null", "-"]
1569
+ ];
1570
+ }
1571
+ var parseKeyframeTransfers = (stderr) => [...stderr.matchAll(/transfer_characteristics +[01]+ = (\d+)/g)].map(([, code = ""]) => TRANSFER_NAMES[code] ?? `code ${code}`);
1550
1572
  function parseFirstFrameColour(stderr) {
1551
1573
  const tags = / color_space:(\S+) color_primaries:(\S+) color_trc:(\S+)/.exec(stderr);
1552
1574
  return tags ? { colorSpace: tags[1], colorPrimaries: tags[2], colorTransfer: tags[3] } : {};
@@ -4984,6 +5006,10 @@ var hasClipStarted = (time, start) => time >= start || sameInstant(time, start);
4984
5006
  var isInClipWindow = (time, start, end) => hasClipStarted(time, start) && time < end && !sameInstant(time, end);
4985
5007
  var TERMINAL_EPSILON_SECONDS = 1e-6;
4986
5008
  var isClipVisibleAt = (time, start, end, compositionDuration) => isInClipWindow(time, start, end) || hasClipStarted(time, start) && compositionDuration > 0 && end >= compositionDuration - TERMINAL_EPSILON_SECONDS;
5009
+ var isClipOnScreenAt = (time, start, end, fps, compositionDuration) => {
5010
+ const snapped = exportClipWindow(start, end, fps);
5011
+ return isClipVisibleAt(time, snapped.start, snapped.end, compositionDuration);
5012
+ };
4987
5013
 
4988
5014
  // ../core/dist/runtime/validateVariables.js
4989
5015
  function validateVariables(values, declarations) {
@@ -5979,8 +6005,12 @@ export {
5979
6005
  effectiveColorGrading,
5980
6006
  ensureColorGroupInertStyle,
5981
6007
  bakeHfColorGradingCube,
6008
+ toneMapReferenceNits,
6009
+ readsKeyframeTransfers,
5982
6010
  hdrToSdrToneMapFilter,
5983
6011
  firstFrameColourArgs,
6012
+ keyframeTransferArgs,
6013
+ parseKeyframeTransfers,
5984
6014
  parseFirstFrameColour,
5985
6015
  PREVIEW_PROXY_BOX_PARAM,
5986
6016
  PREVIEW_PROXY_LIGHT_PARAM,
@@ -6020,6 +6050,7 @@ export {
6020
6050
  hasClipStarted,
6021
6051
  isInClipWindow,
6022
6052
  isClipVisibleAt,
6053
+ isClipOnScreenAt,
6023
6054
  validateVariables,
6024
6055
  formatVariableValidationIssue,
6025
6056
  ITEM_TYPES,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-EQBDKYXR.js";
10
10
  import {
11
11
  listenOnBrowserSafePort
12
- } from "./chunk-QXGT6KRX.js";
12
+ } from "./chunk-NMQWKWV4.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-LIUJRACZ.js";
10
+ } from "./chunk-4R63FXGU.js";
11
11
  import {
12
12
  alphaDecoderFor
13
13
  } from "./chunk-5S7W3TUO.js";
@@ -15,7 +15,7 @@ import {
15
15
  formatPreviewProxyBox,
16
16
  hdrToSdrToneMapFilter,
17
17
  isHeavyForPreview
18
- } from "./chunk-IR3JMMFT.js";
18
+ } from "./chunk-HUZ3GL3F.js";
19
19
  import {
20
20
  mkdirWithinProject,
21
21
  realProjectRoot,
@@ -38,7 +38,7 @@ import {
38
38
  scanHtmlOpeningTags
39
39
  } from "./chunk-CUCP7FKH.js";
40
40
 
41
- // ../studio-server/dist/chunk-NOIHVBIQ.js
41
+ // ../studio-server/dist/chunk-66YZA32N.js
42
42
  import { statSync } from "fs";
43
43
  import { sep } from "path";
44
44
  import { spawn } from "child_process";
@@ -259,7 +259,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
259
259
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
260
260
  }
261
261
 
262
- // ../studio-server/dist/chunk-B356RYG5.js
262
+ // ../studio-server/dist/chunk-F4AQECCT.js
263
263
  import { spawn as spawn2 } from "child_process";
264
264
  import { randomUUID } from "crypto";
265
265
  import {
@@ -999,7 +999,7 @@ async function buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, bo
999
999
  const { hdrTransfer } = metadata.color;
1000
1000
  const toneMap = (hdrTransfer === "pq" || hdrTransfer === "hlg") && !keepsAlpha;
1001
1001
  if (toneMap) await ensureHdrFilters(ffmpegPath);
1002
- const firstFrame = toneMap ? await probeFirstFrameColour(sourcePath) : {};
1002
+ const firstFrame = toneMap ? await probeFirstFrameColour(sourcePath, metadata.color.codecName) : {};
1003
1003
  const evenScale = proxyScaleFilter(box);
1004
1004
  const pixelFormat = keepsAlpha ? "yuva420p" : "yuv420p";
1005
1005
  return toneMap ? [
@@ -0,0 +1,59 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ loadProducer
9
+ } from "./chunk-VMWRWUDV.js";
10
+ import {
11
+ extractAudioMetadata
12
+ } from "./chunk-NMQWKWV4.js";
13
+ import {
14
+ resolveProjectRelativeSrc
15
+ } from "./chunk-WVRAFHJU.js";
16
+
17
+ // src/utils/projectMedia.ts
18
+ async function collectProjectMedia(projectDir) {
19
+ const { bundleToSingleHtml } = await import("./compiler-QZAK3CQM.js");
20
+ const html = await bundleToSingleHtml(projectDir);
21
+ const producer = await loadProducer();
22
+ if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
23
+ return { ...producer.collectRenderMedia(html), html };
24
+ }
25
+ function mediaPath(src, projectDir) {
26
+ return /^https?:\/\//i.test(src) ? src : resolveProjectRelativeSrc(src, projectDir, projectDir);
27
+ }
28
+ var PROBE = {
29
+ seconds: async (path) => (await extractAudioMetadata(path)).durationSeconds
30
+ };
31
+ async function heardClips(projectDir, probe = PROBE) {
32
+ const { audios } = await collectProjectMedia(projectDir);
33
+ const lengths = /* @__PURE__ */ new Map();
34
+ const length = (src) => {
35
+ const path = mediaPath(src, projectDir);
36
+ const known = lengths.get(path) ?? probe.seconds(path).catch(() => null);
37
+ lengths.set(path, known);
38
+ return known;
39
+ };
40
+ const clips = await Promise.all(audios.map((clip) => endedClip(clip, length)));
41
+ return clips.filter((clip) => clip !== null);
42
+ }
43
+ async function endedClip(clip, length) {
44
+ const { id, src, start, mediaStart, playbackRate, volume, type } = clip;
45
+ const heard = { id, src, start, end: clip.end, mediaStart, playbackRate, volume, type };
46
+ const rate = playbackRate === void 0 ? 1 : playbackRate;
47
+ if (clip.loop || typeof rate !== "number" || !(rate > 0)) return heard;
48
+ const seconds = await length(src);
49
+ if (seconds === null) return heard;
50
+ if (seconds <= mediaStart) return null;
51
+ const runsOut = start + (seconds - mediaStart) / rate;
52
+ return { ...heard, end: clip.end > 0 ? Math.min(clip.end, runsOut) : runsOut };
53
+ }
54
+
55
+ export {
56
+ collectProjectMedia,
57
+ mediaPath,
58
+ heardClips
59
+ };
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-QXGT6KRX.js";
14
+ } from "./chunk-NMQWKWV4.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";
@@ -13,13 +13,13 @@ import {
13
13
 
14
14
  // src/utils/bundleWithLocalizedFonts.ts
15
15
  async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer, bundleOptions) {
16
- const { bundleToSingleHtml } = await import("./compiler-RY6IVESI.js");
16
+ const { bundleToSingleHtml } = await import("./compiler-QZAK3CQM.js");
17
17
  const html = await bundleToSingleHtml(projectDir, bundleOptions);
18
18
  return localizeFonts(html);
19
19
  }
20
20
  async function loadFontInjector() {
21
21
  try {
22
- const { loadProducer } = await import("./producer-C72VSLBR.js");
22
+ const { loadProducer } = await import("./producer-YEHQIQ3O.js");
23
23
  const mod = await loadProducer();
24
24
  return mod.injectDeterministicFontFaces ?? null;
25
25
  } catch {
@@ -10,13 +10,13 @@ import {
10
10
  } from "./chunk-J3QW55W5.js";
11
11
  import {
12
12
  readProjectConfig
13
- } from "./chunk-DM7WRHB5.js";
13
+ } from "./chunk-ZAJSIWIC.js";
14
14
  import {
15
15
  normalizeSkillSlug
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-YFHOTWWE.js";
19
+ } from "./chunk-UE2RAXA7.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -8,11 +8,11 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-JPODNK2G.js";
11
+ } from "./chunk-M4HDVKHG.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe
15
- } from "./chunk-QXGT6KRX.js";
15
+ } from "./chunk-NMQWKWV4.js";
16
16
  import {
17
17
  renameWithRetry
18
18
  } from "./chunk-YWRUQ7XZ.js";
@@ -28,6 +28,10 @@ function hintCode(err) {
28
28
  }
29
29
  return err.code;
30
30
  }
31
+ function networkCode(err) {
32
+ const code = err.cause?.code;
33
+ return typeof code === "string" && /^[A-Z][A-Z0-9_]{2,40}$/.test(code) ? `code: ${code}` : void 0;
34
+ }
31
35
  function reportApiError(stage, err, options = {}) {
32
36
  const hints = { ...ERROR_CODE_HINTS, ...options.extraHints };
33
37
  if (err instanceof HyperframesApiError) {
@@ -51,7 +55,7 @@ function reportApiError(stage, err, options = {}) {
51
55
  failCommand();
52
56
  }
53
57
  if (err instanceof Error) {
54
- errorBox(stage, err.message, options.suggestion);
58
+ errorBox(stage, err.message, options.suggestion ?? networkCode(err));
55
59
  failCommand();
56
60
  }
57
61
  errorBox(stage, String(err), options.suggestion);
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-SPJX4LQR.js";
10
+ } from "./chunk-UYMUPV7Q.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-Q5M3JAME.js";
15
+ } from "./chunk-GQORIM44.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-U7MRV4RM.js";
18
+ } from "./chunk-LHQZYLVO.js";
19
19
  import {
20
20
  AUDIT_SEEK_OPTIONS,
21
21
  DEFAULT_ZOOM_PADDING_PX,
@@ -29,18 +29,18 @@ import {
29
29
  seekCompositionTimeline,
30
30
  seekInPage,
31
31
  waitForPreferredSeekTarget
32
- } from "./chunk-ZLWRAHBZ.js";
32
+ } from "./chunk-BIY3M2WW.js";
33
33
  import {
34
34
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
35
35
  withRemainingBudget
36
36
  } from "./chunk-YGGZ23BB.js";
37
37
  import {
38
38
  findStageProxyBox
39
- } from "./chunk-G4OGVFUJ.js";
39
+ } from "./chunk-KVANP54U.js";
40
40
  import {
41
41
  STUDIO_PREVIEW_CAPTURE_MODE,
42
42
  STUDIO_PREVIEW_MARK_META
43
- } from "./chunk-L4ZMCB52.js";
43
+ } from "./chunk-3IMHFJDG.js";
44
44
  import {
45
45
  artifactDirectory,
46
46
  finishSnapshotRun
@@ -54,21 +54,21 @@ import {
54
54
  resolveProxies,
55
55
  scanProjectMediaCodecMap,
56
56
  shouldPrewarmProxy
57
- } from "./chunk-72PVZ2A4.js";
57
+ } from "./chunk-IIXZLGSI.js";
58
58
  import {
59
59
  BrowserCleanupError,
60
60
  closeManagedBrowser,
61
61
  onStopSignal
62
- } from "./chunk-4ECLIUTB.js";
62
+ } from "./chunk-N6YQHI3Z.js";
63
63
  import {
64
64
  resolveAutoProxy
65
- } from "./chunk-DM7WRHB5.js";
65
+ } from "./chunk-ZAJSIWIC.js";
66
66
  import {
67
67
  DEFAULT_CONFIG
68
- } from "./chunk-QXGT6KRX.js";
68
+ } from "./chunk-NMQWKWV4.js";
69
69
  import {
70
70
  injectTagsAtHeadStart
71
- } from "./chunk-J3G5KEPY.js";
71
+ } from "./chunk-VBEP277H.js";
72
72
  import {
73
73
  parseHTML
74
74
  } from "./chunk-GWTIFRF5.js";
@@ -110,17 +110,30 @@ var CheckCopiesUnfinishedError = class extends Error {
110
110
  );
111
111
  }
112
112
  };
113
+ var CheckBudgetError = class extends Error {
114
+ constructor(budgetMs, where) {
115
+ super(
116
+ `Check reached its --budget of ${budgetMs / 1e3} s${where || "."} The report holds what it found before then.`
117
+ );
118
+ }
119
+ };
113
120
  var CheckStoppedError = class extends Error {
114
121
  constructor(signal) {
115
122
  super(`Check stopped before finishing (${signal}).`);
116
123
  }
117
124
  };
118
125
  var CheckDeadline = class {
119
- constructor(idleMs = CHECK_IDLE_MS) {
126
+ constructor(idleMs = CHECK_IDLE_MS, budget) {
120
127
  this.idleMs = idleMs;
121
128
  this.expiry = new Promise((_, reject) => {
122
129
  this.rejectExpiry = reject;
123
130
  });
131
+ this.expiry.catch(() => void 0);
132
+ this.budgetTimer = budget && setTimeout(
133
+ () => this.expire(new CheckBudgetError(budget.ms, this.where())),
134
+ Math.max(0, budget.stopAt - Date.now())
135
+ );
136
+ this.stopAt = budget?.stopAt;
124
137
  }
125
138
  idleMs;
126
139
  abort = new AbortController();
@@ -136,6 +149,11 @@ var CheckDeadline = class {
136
149
  work;
137
150
  spent = /* @__PURE__ */ new Map();
138
151
  partials = [];
152
+ budgetTimer;
153
+ stopAt;
154
+ remainingMs() {
155
+ return this.stopAt === void 0 ? void 0 : Math.max(0, this.stopAt - Date.now());
156
+ }
139
157
  keepPartial = (read) => {
140
158
  this.partials.push(read);
141
159
  };
@@ -154,13 +172,17 @@ var CheckDeadline = class {
154
172
  this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
155
173
  }
156
174
  describe() {
175
+ const where = this.where();
176
+ return where && ` (no progress for ${this.idleMs / 1e3} s after Chrome was ready),${where}`;
177
+ }
178
+ where() {
157
179
  if (!this.work) return "";
158
180
  const open = Date.now() - this.work.since;
159
181
  const parts = [...this.spent].map(([phase, ms]) => {
160
182
  const seconds = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
161
183
  return `${PHASE_LABELS[phase]} ${seconds}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
162
184
  });
163
- return ` (no progress for ${this.idleMs / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
185
+ return ` while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
164
186
  }
165
187
  start = () => {
166
188
  if (this.phase !== "waiting") return;
@@ -177,6 +199,7 @@ var CheckDeadline = class {
177
199
  }
178
200
  expire(error) {
179
201
  clearTimeout(this.timer);
202
+ clearTimeout(this.budgetTimer);
180
203
  this.expired = error;
181
204
  this.rejectExpiry(error);
182
205
  this.abort.abort(error);
@@ -220,6 +243,7 @@ var CheckDeadline = class {
220
243
  async close() {
221
244
  this.phase = "closed";
222
245
  clearTimeout(this.timer);
246
+ clearTimeout(this.budgetTimer);
223
247
  const closes = await Promise.allSettled([...this.browsers].map(closeManagedBrowser));
224
248
  const errors = closes.filter((entry) => entry.status === "rejected").map((entry) => entry.reason);
225
249
  try {
@@ -866,7 +890,7 @@ function proxyFailedDraft(message) {
866
890
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
867
891
  }
868
892
  async function loadCheckHtmlWithDeferredMedia(dir) {
869
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-5T25BRZU.js");
893
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F557ZVFL.js");
870
894
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
871
895
  }
872
896
  function withCapturePreviewMark(html) {
@@ -882,7 +906,12 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
882
906
  findings: drafts,
883
907
  failedPaths,
884
908
  limits
885
- } = await preResolveHostileMediaProxies(project.dir, html, options.autoProxy, COPY_BUDGET_MS);
909
+ } = await preResolveHostileMediaProxies(
910
+ project.dir,
911
+ html,
912
+ options.autoProxy,
913
+ Math.min(COPY_BUDGET_MS, deadline?.remainingMs() ?? COPY_BUDGET_MS)
914
+ );
886
915
  deadline?.enter("launch");
887
916
  const server = await serveStaticProjectHtml(
888
917
  project.dir,
@@ -929,7 +958,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
929
958
  ).map((draft) => runtimeFinding(draft, rootAnchor))
930
959
  }));
931
960
  const launchSettleMs = Date.now() - launchSettleStart;
932
- const { analyzeClipMediaFit } = await import("./src-272JLFKW.js");
961
+ const { analyzeClipMediaFit } = await import("./src-R2QH27BL.js");
933
962
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
934
963
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
935
964
  }
@@ -1070,7 +1099,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
1070
1099
  async function captureFindingFrames(project, options, requests, deadline) {
1071
1100
  if (requests.length === 0) return { written: [], inspected: [] };
1072
1101
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
1073
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-5T25BRZU.js");
1102
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F557ZVFL.js");
1074
1103
  return withCapturePreviewMark(
1075
1104
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
1076
1105
  );
@@ -2375,6 +2404,7 @@ export {
2375
2404
  idleWindow,
2376
2405
  CheckDeadlineError,
2377
2406
  CheckCopiesUnfinishedError,
2407
+ CheckBudgetError,
2378
2408
  CheckStoppedError,
2379
2409
  CheckDeadline,
2380
2410
  beginCheckSnapshots,
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts
9
- } from "./chunk-SREJU7NR.js";
9
+ } from "./chunk-LV3MNSL7.js";
10
10
  import {
11
11
  grey,
12
12
  readClip,
13
13
  round,
14
14
  videoClip,
15
15
  writeImage
16
- } from "./chunk-PC662ORN.js";
16
+ } from "./chunk-VR7E3QEQ.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-IR3JMMFT.js";
9
+ } from "./chunk-HUZ3GL3F.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-LIUJRACZ.js";
9
+ } from "./chunk-4R63FXGU.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-ALVXFXUG.js";
@@ -14,7 +14,7 @@ import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-J3G5KEPY.js";
17
+ } from "./chunk-VBEP277H.js";
18
18
  import {
19
19
  findFfBinary
20
20
  } from "./chunk-HYRPH6LL.js";
@@ -27,7 +27,7 @@ import {
27
27
  decodeAuthoredAttribute
28
28
  } from "./chunk-CUCP7FKH.js";
29
29
 
30
- // ../studio-server/dist/chunk-H4NVSSDJ.js
30
+ // ../studio-server/dist/chunk-NEGQQZNI.js
31
31
  import { execFile } from "child_process";
32
32
  import { isAbsolute, relative, resolve } from "path";
33
33
  import { promisify } from "util";
@@ -288,30 +288,24 @@ function audioNormalizationPlan(referenceTrack, targetTrack) {
288
288
  }
289
289
  const referenceLufs = referenceTrack.integratedLufs + gainDb(referenceTrack.volume);
290
290
  const targetLufs = targetTrack.integratedLufs + gainDb(targetTrack.volume);
291
- const wantedGainDb = referenceLufs - targetTrack.integratedLufs;
292
- if (wantedGainDb > MAX_AUDIO_GAIN_DB + 1e-9) {
293
- throw new Error(
294
- `Matching #${targetTrack.id} needs ${wantedGainDb.toFixed(1)} dB, beyond the +${MAX_AUDIO_GAIN_DB} dB authoring ceiling. A gap this large belongs in the source file, not the mixer: mixer gain raises the noise floor with the signal. Normalize ${targetTrack.id}'s asset offline (e.g. ffmpeg loudnorm), or lower #${referenceTrack.id} instead.`
295
- );
296
- }
297
- const volume = 10 ** (wantedGainDb / 20);
298
- const projectedTruePeakDbfs = targetTrack.truePeakDbfs + wantedGainDb;
299
- if (projectedTruePeakDbfs > 0) {
300
- throw new Error(
301
- `Matching #${targetTrack.id} would clip at +${projectedTruePeakDbfs.toFixed(1)} dBFS; limit or preprocess the source first`
302
- );
303
- }
291
+ const previousGainDb = gainDb(targetTrack.volume);
292
+ const { appliedGainDb, limitedBy } = fittedGain(
293
+ referenceLufs - targetTrack.integratedLufs,
294
+ targetTrack.truePeakDbfs,
295
+ previousGainDb
296
+ );
304
297
  return {
305
298
  referenceId: referenceTrack.id,
306
299
  targetId: targetTrack.id,
307
300
  referenceLufs,
308
301
  targetLufs,
309
302
  previousVolume: targetTrack.volume,
310
- volume,
311
- gainDb: wantedGainDb,
312
- changeDb: wantedGainDb - gainDb(targetTrack.volume),
313
- projectedLufs: targetTrack.integratedLufs + wantedGainDb,
314
- projectedTruePeakDbfs
303
+ volume: 10 ** (appliedGainDb / 20),
304
+ gainDb: appliedGainDb,
305
+ changeDb: appliedGainDb - previousGainDb,
306
+ projectedLufs: targetTrack.integratedLufs + appliedGainDb,
307
+ projectedTruePeakDbfs: targetTrack.truePeakDbfs + appliedGainDb,
308
+ limitedBy
315
309
  };
316
310
  }
317
311
  function updateAudioVolume(html, id, volume) {
@@ -374,19 +368,12 @@ function absoluteLoudnessPlan(track, targetLufs = DEFAULT_TARGET_LUFS) {
374
368
  if (track.integratedLufs <= SILENCE_LUFS) {
375
369
  throw new Error(`#${track.id} is silent in the played window; there is nothing to normalize`);
376
370
  }
377
- const wantedGainDb = targetLufs - track.integratedLufs;
378
- const peakRoomDb = NORMALIZE_TRUE_PEAK_CEILING_DBFS - track.truePeakDbfs;
379
- const limits = [
380
- [null, wantedGainDb],
381
- ["gain-ceiling", MAX_AUDIO_GAIN_DB],
382
- ["true-peak", peakRoomDb]
383
- ];
384
- const [limitedBy, limitedGainDb] = limits.reduce(
385
- (lowest, candidate) => candidate[1] < lowest[1] - 1e-9 ? candidate : lowest
386
- );
387
371
  const previousGainDb = track.volume > 0 ? gainDb(track.volume) : 0;
388
- const limitCannotCutAWantedBoost = wantedGainDb > previousGainDb;
389
- const appliedGainDb = limitCannotCutAWantedBoost ? Math.max(limitedGainDb, previousGainDb) : limitedGainDb;
372
+ const { appliedGainDb, limitedBy } = fittedGain(
373
+ targetLufs - track.integratedLufs,
374
+ track.truePeakDbfs,
375
+ previousGainDb
376
+ );
390
377
  return {
391
378
  targetId: track.id,
392
379
  targetLufs,
@@ -400,6 +387,18 @@ function absoluteLoudnessPlan(track, targetLufs = DEFAULT_TARGET_LUFS) {
400
387
  limitedBy
401
388
  };
402
389
  }
390
+ function fittedGain(wantedGainDb, truePeakDbfs, previousGainDb) {
391
+ const limits = [
392
+ [null, wantedGainDb],
393
+ ["gain-ceiling", MAX_AUDIO_GAIN_DB],
394
+ ["true-peak", NORMALIZE_TRUE_PEAK_CEILING_DBFS - truePeakDbfs]
395
+ ];
396
+ const [limitedBy, limitedGainDb] = limits.reduce(
397
+ (lowest, candidate) => candidate[1] < lowest[1] - 1e-9 ? candidate : lowest
398
+ );
399
+ const appliedGainDb = wantedGainDb > previousGainDb ? Math.max(limitedGainDb, previousGainDb) : limitedGainDb;
400
+ return { appliedGainDb, limitedBy };
401
+ }
403
402
  function absoluteOutcome(plan, tolerance) {
404
403
  if (Math.abs(plan.changeDb) > tolerance) return "change";
405
404
  return Math.abs(plan.projectedLufs - plan.targetLufs) <= tolerance ? "matched" : "held";
@@ -11,7 +11,7 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-NNXS4VBX.js";
14
+ } from "./chunk-RPLMK4WC.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser