hyperframes 0.9.50 → 0.9.51

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 (220) hide show
  1. package/dist/{add-MHBYQHUR.js → add-SERNROOY.js} +7 -7
  2. package/dist/{agentPromptGenerator-LJHTM6QS.js → agentPromptGenerator-GVWX5P55.js} +10 -11
  3. package/dist/{animatedGifPrep-V5SQRWAT.js → animatedGifPrep-53UU67BG.js} +6 -5
  4. package/dist/api.d.ts +1 -0
  5. package/dist/api.js +27 -26
  6. package/dist/{asset-2QF7W45V.js → asset-MCBHJZCT.js} +2 -2
  7. package/dist/{assetCataloger-HBGLL5OY.js → assetCataloger-4DS44LB2.js} +5 -5
  8. package/dist/{audio-ERHWZM2O.js → audio-RCVQDNXZ.js} +12 -12
  9. package/dist/{auth-JNM2N5FK.js → auth-MS46YSQ5.js} +2 -2
  10. package/dist/{autoUpdate-2A3PNPOQ.js → autoUpdate-KECZLRZD.js} +2 -2
  11. package/dist/{avatars-UXJM3YOF.js → avatars-VYEPMXIO.js} +8 -8
  12. package/dist/{backgroundChecks-FM7JOSDW.js → backgroundChecks-HAX5LQ2L.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{beats-BAZOHGIS.js → beats-WZSPVMQ4.js} +7 -7
  15. package/dist/{benchmark-AWDTJZW2.js → benchmark-O5GWBFWE.js} +9 -8
  16. package/dist/{billing-M7FIGUG3.js → billing-D6ZZNKPW.js} +7 -6
  17. package/dist/{browser-BJBAMHOZ.js → browser-YHAPXFOK.js} +6 -6
  18. package/dist/{bundleWithLocalizedFonts-NWMD2BBQ.js → bundleWithLocalizedFonts-Z5IHK62J.js} +1 -1
  19. package/dist/{capture-V3KIGAHK.js → capture-5WTC5QWV.js} +4 -4
  20. package/dist/{capture-GKI3WNTE.js → capture-VAY75ASS.js} +28 -15
  21. package/dist/{captureCompositionFrame-C3QPXFZZ.js → captureCompositionFrame-6DCRCIKA.js} +7 -7
  22. package/dist/{catalog-5VRQXFNE.js → catalog-CH4H6C5E.js} +7 -7
  23. package/dist/{catch-up-IWRZL3T6.js → catch-up-KT6MHQBO.js} +7 -6
  24. package/dist/{check-3TTCBOR5.js → check-6L7IEY5U.js} +28 -27
  25. package/dist/{checkAudio-WNVIHTTH.js → checkAudio-EAM7FCLJ.js} +7 -7
  26. package/dist/{checkBrowser-IQR4HWS6.js → checkBrowser-IIMZI2LZ.js} +22 -21
  27. package/dist/{chunk-5SIOKBKO.js → chunk-2BRVSU2O.js} +2 -2
  28. package/dist/{chunk-I7UACFVY.js → chunk-2L2A2HRW.js} +10 -9
  29. package/dist/{chunk-NOSZSEN6.js → chunk-3VPBUDK6.js} +1 -1
  30. package/dist/{chunk-QE2G4RUL.js → chunk-445BBSZS.js} +1 -1
  31. package/dist/{chunk-T47SZ3SP.js → chunk-4ZNB3EXI.js} +5 -5
  32. package/dist/{chunk-QARZ5SCV.js → chunk-5XSIAXIP.js} +2 -2
  33. package/dist/{chunk-62R36CZW.js → chunk-6PXVXIC7.js} +21 -5
  34. package/dist/{chunk-I4PWEIZK.js → chunk-6WHTS73J.js} +1 -1
  35. package/dist/{chunk-F7Z7UDAV.js → chunk-76HCZQ2W.js} +1 -1
  36. package/dist/{chunk-T44NTM2R.js → chunk-77KEU6NG.js} +2 -2
  37. package/dist/{chunk-CIZB4MFK.js → chunk-7ADDESOW.js} +1 -1
  38. package/dist/{chunk-CB3GR7GV.js → chunk-7DJVLFIL.js} +2 -2
  39. package/dist/chunk-7RLMDAUO.js +60 -0
  40. package/dist/{chunk-7W3MLVDC.js → chunk-ACFNPUL7.js} +1 -1
  41. package/dist/{chunk-OUABE6YT.js → chunk-AGTOSMG6.js} +1 -1
  42. package/dist/{chunk-NLTJMUK6.js → chunk-BPNCNZG5.js} +1 -1
  43. package/dist/{chunk-G5M6MZPP.js → chunk-BQCW5T3M.js} +1 -1
  44. package/dist/{chunk-VNIVH2ZQ.js → chunk-BQWFOVLO.js} +1 -1
  45. package/dist/{chunk-A5LYBVBC.js → chunk-BSHZIPFP.js} +9 -9
  46. package/dist/{chunk-2M7GGAXG.js → chunk-CLRM7ZI5.js} +2 -2
  47. package/dist/{chunk-U4CJQ4AU.js → chunk-COHL5422.js} +3 -3
  48. package/dist/{chunk-QLHNKVBG.js → chunk-CTFMKRFI.js} +4 -4
  49. package/dist/{chunk-6Q7QF4UD.js → chunk-CTRYPHSE.js} +2 -2
  50. package/dist/{chunk-CGHWDZXR.js → chunk-D3DY7Q6S.js} +2 -2
  51. package/dist/{chunk-PGY4WFKL.js → chunk-DMF4ML3Y.js} +1 -1
  52. package/dist/{chunk-NLHR5VAJ.js → chunk-DP7LWIKE.js} +1 -1
  53. package/dist/{chunk-ZX52DCZH.js → chunk-ECJX6EJN.js} +2 -2
  54. package/dist/{chunk-R76QWLJI.js → chunk-EEVDBYVF.js} +1 -1
  55. package/dist/{chunk-62LL7YPC.js → chunk-EMX4P4WP.js} +2 -2
  56. package/dist/{chunk-ZI5QVXG4.js → chunk-EVHZDKB2.js} +2 -2
  57. package/dist/{chunk-WXNVVZCC.js → chunk-EYXMXWME.js} +41 -16
  58. package/dist/{chunk-3LTJKGJQ.js → chunk-FDBK2NOH.js} +4 -4
  59. package/dist/{chunk-YTO34UZE.js → chunk-FXQ5577T.js} +4 -4
  60. package/dist/{chunk-JQPR3J5V.js → chunk-GTCPI2UK.js} +2 -2
  61. package/dist/{chunk-HCPT6BJD.js → chunk-HGDOOG4T.js} +1 -1
  62. package/dist/{chunk-QIKIHGPS.js → chunk-HZLN3V3P.js} +1 -1
  63. package/dist/{chunk-TMAF33SA.js → chunk-I4XV2UMQ.js} +1 -1
  64. package/dist/{chunk-M3MXR3HG.js → chunk-I6SCA2ME.js} +22 -11
  65. package/dist/{chunk-D3UYYHU2.js → chunk-ILQAOOR4.js} +1 -1
  66. package/dist/{chunk-TW6S6A2B.js → chunk-IUIFNZTJ.js} +20 -20
  67. package/dist/{chunk-ULPGXTB4.js → chunk-IZQDQ5AN.js} +1 -1
  68. package/dist/{chunk-AVBZSLK5.js → chunk-K27EQ4Z4.js} +4 -4
  69. package/dist/{chunk-E2QJFCYC.js → chunk-K4SWGMPO.js} +3 -3
  70. package/dist/{chunk-7CLDXOEJ.js → chunk-KLIVZ5VG.js} +2 -1
  71. package/dist/{chunk-YIKOKVHE.js → chunk-KQFGINDM.js} +26 -15
  72. package/dist/{chunk-KDT2WX7M.js → chunk-KQRSEH4X.js} +1 -1
  73. package/dist/chunk-L2U4ISSS.js +93 -0
  74. package/dist/{chunk-NYUTPQQ3.js → chunk-LJFGZKVL.js} +11 -11
  75. package/dist/{chunk-M2UX3RAP.js → chunk-LOKPWAFW.js} +7 -7
  76. package/dist/{chunk-W4JWPYLU.js → chunk-MQGRMXFN.js} +50 -11
  77. package/dist/{chunk-LRKSFIYI.js → chunk-MRJQQDZR.js} +2 -2
  78. package/dist/{chunk-JHNICCT2.js → chunk-MZD5KJDU.js} +10 -10
  79. package/dist/{chunk-ARIBOM26.js → chunk-N5IAKDUQ.js} +1 -1
  80. package/dist/{chunk-GWTNXGIH.js → chunk-NFRKPLTJ.js} +1 -1
  81. package/dist/{chunk-DV5KH45B.js → chunk-P3K7LZCY.js} +1 -1
  82. package/dist/{chunk-UJRRUNWQ.js → chunk-PALZMYFH.js} +2 -2
  83. package/dist/{chunk-PNL7SMWV.js → chunk-PNJ4M4QZ.js} +1 -1
  84. package/dist/{chunk-LSL3XC2T.js → chunk-QKCU2J2V.js} +4 -4
  85. package/dist/{chunk-7YKLBEIC.js → chunk-R5OSZK62.js} +6 -6
  86. package/dist/{chunk-4OWHB6Y4.js → chunk-RQX5C7JD.js} +1 -1
  87. package/dist/{chunk-H6GW4MUA.js → chunk-SBQLLGXW.js} +2 -2
  88. package/dist/{chunk-XBD5NV2F.js → chunk-SFJWTPOF.js} +1 -1
  89. package/dist/{chunk-Z5TKOD2D.js → chunk-SMUNLDEY.js} +2 -2
  90. package/dist/{chunk-RJEX3RRW.js → chunk-TDQUQAW5.js} +2 -2
  91. package/dist/{chunk-FLDJ5AYW.js → chunk-TE3CITOB.js} +2 -2
  92. package/dist/{chunk-747XM6QN.js → chunk-TJXXLWQ4.js} +2 -2
  93. package/dist/{chunk-5YF3NCZV.js → chunk-TQMTMD72.js} +1 -1
  94. package/dist/{chunk-OHC6GZAK.js → chunk-TQW3G23G.js} +9 -9
  95. package/dist/{chunk-HYMWSWKM.js → chunk-U3LWQGCD.js} +7 -2
  96. package/dist/{chunk-LS2FSESG.js → chunk-UHTWJOJ6.js} +56 -3
  97. package/dist/{chunk-CX5Y3TUU.js → chunk-USYPUTGC.js} +1 -1
  98. package/dist/{chunk-AOITLZJO.js → chunk-UX2KMUKC.js} +6 -2
  99. package/dist/{chunk-YYF4HKW5.js → chunk-UX2SUCRS.js} +1 -1
  100. package/dist/{chunk-CII7LO6I.js → chunk-UZGN5MTD.js} +1 -1
  101. package/dist/{chunk-GVYDYPMK.js → chunk-V7M6HV23.js} +1 -1
  102. package/dist/{chunk-7H6NEDNA.js → chunk-WIZBFUBI.js} +2 -2
  103. package/dist/{chunk-ARREGNEF.js → chunk-WQ2N2AG7.js} +4 -4
  104. package/dist/{chunk-ZPMIIPDH.js → chunk-WQ3WMTSS.js} +2 -2
  105. package/dist/{chunk-37NCCCVV.js → chunk-WSZJS4QC.js} +5 -34
  106. package/dist/{chunk-XP5X4TKU.js → chunk-XEMS4TXW.js} +1 -1
  107. package/dist/{chunk-4QRYBCP5.js → chunk-XILU2D2B.js} +1 -1
  108. package/dist/{chunk-GOZNQ2BU.js → chunk-XPAQK6E4.js} +9 -9
  109. package/dist/{chunk-DSKX5OD2.js → chunk-YQSW3GXC.js} +2 -2
  110. package/dist/{chunk-S2Z46FMO.js → chunk-ZXIWAD2G.js} +1 -1
  111. package/dist/{clean-BT36HK75.js → clean-E6CXNNF5.js} +16 -15
  112. package/dist/cli.js +61 -61
  113. package/dist/{cloud-R2QOPFMH.js → cloud-2M4WWTSQ.js} +4 -4
  114. package/dist/{compare-RUB5AIPD.js → compare-MHFCJIWI.js} +18 -17
  115. package/dist/{component-NBW4NP3J.js → component-KRPXKVZH.js} +3 -3
  116. package/dist/{compositions-FHO2G54H.js → compositions-MXESIGTW.js} +9 -9
  117. package/dist/{curve-2MSCLXM7.js → curve-BE2B7NIC.js} +8 -8
  118. package/dist/{cuts-ND6ZL5AI.js → cuts-7GJF6CE2.js} +9 -9
  119. package/dist/{delete-FMQCJAHX.js → delete-6NUSXGFC.js} +2 -2
  120. package/dist/{deploy-5UOYKYXF.js → deploy-D3NO4UPN.js} +2 -2
  121. package/dist/{describeProject-OIK763B5.js → describeProject-6Y7GXXYM.js} +4 -4
  122. package/dist/{destroy-MLAFCH6B.js → destroy-6ESKQA5T.js} +2 -2
  123. package/dist/{diff-KKJRQKFR.js → diff-NB4SANJX.js} +22 -22
  124. package/dist/{dist-UMYCC5T5.js → dist-MNFB4YKV.js} +5 -4
  125. package/dist/{doctor-5DILJANT.js → doctor-JAZHU2BT.js} +10 -10
  126. package/dist/{energy-BLU27H7G.js → energy-X5E2NPBL.js} +9 -9
  127. package/dist/{events-35CZGWGO.js → events-5QYPAD2S.js} +5 -4
  128. package/dist/{events-GRLM5BLQ.js → events-JWW4ASN3.js} +6 -5
  129. package/dist/{events-AXNHFZTY.js → events-XA2QQBP7.js} +11 -11
  130. package/dist/{execute-FRDHPWNT.js → execute-N7L5W7DV.js} +17 -16
  131. package/dist/{extract-ILQCKYWJ.js → extract-YQAMVIVK.js} +9 -9
  132. package/dist/{face-S3YZLPEO.js → face-M7VZIIEP.js} +9 -9
  133. package/dist/{feedback-LTEDBBL2.js → feedback-DX6N4RT3.js} +11 -10
  134. package/dist/{ffmpeg-OJIIUEQQ.js → ffmpeg-U2UP72FB.js} +4 -4
  135. package/dist/{figma-DXIX3JW2.js → figma-BMMVU5ML.js} +3 -3
  136. package/dist/fontLocalizeCli.js +9 -8
  137. package/dist/{frames-E7GSMQMG.js → frames-XB4N4WW2.js} +10 -10
  138. package/dist/{generate-5BV3VOF5.js → generate-M5ACNHVM.js} +15 -15
  139. package/dist/{get-LO5YZK5S.js → get-65JSCBTR.js} +2 -2
  140. package/dist/{gpuPolicy-L6YX2UOM.js → gpuPolicy-XC2BONM7.js} +4 -4
  141. package/dist/{grade-compare-45DGL4FX.js → grade-compare-LPDDN5LL.js} +19 -18
  142. package/dist/{heifImagePrep-HZWZ6RCU.js → heifImagePrep-QMFBHJQG.js} +7 -6
  143. package/dist/{help-NXUWIQZJ.js → help-VLKAJCUD.js} +1 -1
  144. package/dist/{history-B2VYYYFA.js → history-XPGU76VB.js} +9 -8
  145. package/dist/hyperframes-player.global.js +1 -1
  146. package/dist/{info-6BK7QHQN.js → info-DGY5NFZJ.js} +11 -11
  147. package/dist/{init-5NJNDMW5.js → init-OYK5QV3A.js} +22 -22
  148. package/dist/{ink-I2VH46VQ.js → ink-UJ6T72I6.js} +9 -9
  149. package/dist/{inspect-VMCKQEOT.js → inspect-GNE5FQDJ.js} +20 -19
  150. package/dist/{keyframes-2ZZUDJD7.js → keyframes-MFGXRBMS.js} +9 -8
  151. package/dist/{lambda-BHLB7JHL.js → lambda-OOESQH7O.js} +6 -6
  152. package/dist/{layout-4Y2DWTXM.js → layout-67GYUHRL.js} +20 -19
  153. package/dist/{lint-QPQRY5WD.js → lint-GW3AGJO3.js} +8 -8
  154. package/dist/{list-SPRUZTEJ.js → list-FMAPGP4I.js} +2 -2
  155. package/dist/{localPage-TZFDEA6W.js → localPage-76LUQEMF.js} +4 -4
  156. package/dist/{login-JOQCOSOK.js → login-YOMRKZTT.js} +4 -4
  157. package/dist/{look-3UNLVDPJ.js → look-CTRMUUY6.js} +9 -9
  158. package/dist/{manager-25RJ4IZN.js → manager-TMKN4DX5.js} +3 -3
  159. package/dist/{manager-7IV66O64.js → manager-ZNADMKUJ.js} +5 -5
  160. package/dist/{measure-PFOIM7OJ.js → measure-RPPQJGKH.js} +11 -11
  161. package/dist/{media-treatment-WR2EYI6J.js → media-treatment-UZ4L4MDB.js} +10 -10
  162. package/dist/{media-use-VRMLASYM.js → media-use-B7OLG3J3.js} +3 -3
  163. package/dist/{models-6BN6ZA2T.js → models-ZXXLZBLQ.js} +8 -8
  164. package/dist/{motionShot-SX6BQ2A3.js → motionShot-DBW6UXTD.js} +10 -10
  165. package/dist/{normalize-audio-E2EMJIJU.js → normalize-audio-L4AE5ASS.js} +9 -8
  166. package/dist/{open-N4SZ4OC6.js → open-YBZJF2HO.js} +7 -6
  167. package/dist/{parakeetRunner-GVZ2XLDV.js → parakeetRunner-ZLFQAJ45.js} +10 -10
  168. package/dist/{pipeline-Z4RAIXQM.js → pipeline-3L4HX4CH.js} +7 -7
  169. package/dist/{plan-NJKLH5DY.js → plan-R4I5XT6L.js} +11 -11
  170. package/dist/{play-2P3J4O6N.js → play-J54FH42B.js} +14 -13
  171. package/dist/{preflight-VQ366D6O.js → preflight-SMPZLLLL.js} +7 -7
  172. package/dist/{present-HCY6XKUF.js → present-AXOSYIJE.js} +14 -13
  173. package/dist/{preview-ZE435ZVI.js → preview-6VDMGAQI.js} +11 -11
  174. package/dist/{probe-J2KN3Y3Z.js → probe-CXIQVZAM.js} +9 -9
  175. package/dist/{producer-G6AH4NES.js → producer-EQOO6NE2.js} +1 -1
  176. package/dist/{publicNetwork-CWKAKZXP.js → publicNetwork-GFQID4Q6.js} +1 -1
  177. package/dist/{publish-CMIRMUVW.js → publish-DCOFEASH.js} +11 -10
  178. package/dist/{remove-background-2HPZDKTN.js → remove-background-OHGBEI7B.js} +8 -8
  179. package/dist/{render-FYWFWCL7.js → render-CMY2ELLE.js} +20 -19
  180. package/dist/{render-WXDAMYQU.js → render-ONBJRZRU.js} +26 -25
  181. package/dist/renderSetupWorker.js +3 -3
  182. package/dist/{reverse-XNTL6ILN.js → reverse-UIQAE3DC.js} +1 -1
  183. package/dist/{run-GGMHXAKM.js → run-NQBD5RDR.js} +2 -2
  184. package/dist/{screenshotCapture-4FFWYCKV.js → screenshotCapture-PUK46H3O.js} +4 -4
  185. package/dist/{service-BW7NT4R2.js → service-HULLICEP.js} +9 -9
  186. package/dist/{share-JJ6G2SRE.js → share-VKY5LLZ7.js} +12 -12
  187. package/dist/{sherpa-ZARNRTUF.js → sherpa-WDVEYQHZ.js} +9 -9
  188. package/dist/{skills-H6QD7AIP.js → skills-6K2EZEJK.js} +9 -8
  189. package/dist/{skillsUpdateCheck-BBSSMBNI.js → skillsUpdateCheck-UXRH4JIW.js} +3 -3
  190. package/dist/{snapshot-AIASY7ZT.js → snapshot-UDJB33E5.js} +26 -25
  191. package/dist/{src-RNWDJRGO.js → src-66ZYEQPG.js} +11 -7
  192. package/dist/{src-IVCOSSDJ.js → src-6GRYTLZ5.js} +11 -7
  193. package/dist/{start-CVUWN3EJ.js → start-VJPLZ7YN.js} +13 -13
  194. package/dist/{staticProjectServer-XHYEFNOX.js → staticProjectServer-5QU3ICQV.js} +9 -8
  195. package/dist/{status-TCUB55VV.js → status-SZ4QKSVN.js} +6 -6
  196. package/dist/studio/assets/{hyperframes-player-DHIxqu8A.js → hyperframes-player-i4dtJlrd.js} +1 -1
  197. package/dist/studio/assets/{index-CefNftWO.js → index-Be_pDhIw.js} +1 -1
  198. package/dist/studio/assets/{index-CuCj-ntQ.js → index-Dvlt50yp.js} +5 -5
  199. package/dist/studio/assets/{pausedVideoDecoder-Dy-s5uPt.js → pausedVideoDecoder-C_20YkSR.js} +1 -1
  200. package/dist/studio/index.html +1 -1
  201. package/dist/{studio-api-HPYJHSZY.js → studio-api-OJEU24EG.js} +5 -4
  202. package/dist/{studioServer-RIYJYGVD.js → studioServer-VRYGQOGN.js} +36 -35
  203. package/dist/{sync-ILVIJDYI.js → sync-NSGF4MPJ.js} +9 -9
  204. package/dist/{system-BONOLEJX.js → system-I5KGZTUG.js} +3 -2
  205. package/dist/{telemetry-Q6X3TCN6.js → telemetry-Q45SZSZC.js} +6 -5
  206. package/dist/{templates-64NH2NZF.js → templates-X7UD7HRJ.js} +7 -6
  207. package/dist/{timeline-CR4YEFN4.js → timeline-JVN34ETY.js} +15 -14
  208. package/dist/{tokens-NISS5JD7.js → tokens-GWFTTI5U.js} +2 -2
  209. package/dist/{transcribe-AP3PUNHX.js → transcribe-7MADUIYX.js} +8 -8
  210. package/dist/{transcribe-R7K7NSGF.js → transcribe-PJRBKRPT.js} +18 -18
  211. package/dist/{update-OI6DZTRT.js → update-D3V2PW3U.js} +10 -9
  212. package/dist/{updateCheck-7ZCJ7FNE.js → updateCheck-5G4ZILYA.js} +2 -2
  213. package/dist/{upgrade-D6VGQSRH.js → upgrade-4BNSDRCV.js} +3 -3
  214. package/dist/{urlDownloader-KE7AXBCY.js → urlDownloader-RLZ7H7NM.js} +3 -3
  215. package/dist/{validate-LZBOVEFV.js → validate-JW6LLGWB.js} +19 -18
  216. package/dist/{video-7KEKO4H2.js → video-WOBS7YW2.js} +5 -5
  217. package/dist/{voices-6EOBOCEU.js → voices-E6WE2Q2U.js} +13 -13
  218. package/dist/warmCheck.js +28 -27
  219. package/package.json +1 -1
  220. package/dist/chunk-47JAY366.js +0 -44
@@ -13,23 +13,25 @@ import {
13
13
  rewriteHtmlAttributes,
14
14
  rewriteStyleBlocks,
15
15
  stagedSize
16
- } from "./chunk-RJEX3RRW.js";
16
+ } from "./chunk-TDQUQAW5.js";
17
17
  import {
18
18
  probeAudio
19
- } from "./chunk-7CLDXOEJ.js";
19
+ } from "./chunk-KLIVZ5VG.js";
20
20
  import {
21
21
  findFFmpeg,
22
22
  findFFprobe,
23
23
  getFFmpegInstallHint
24
- } from "./chunk-CII7LO6I.js";
25
- import {
26
- AUDIO_EXTS,
27
- CONVERTIBLE_IMAGE_EXTS,
28
- VIDEO_EXTS
29
- } from "./chunk-37NCCCVV.js";
24
+ } from "./chunk-UZGN5MTD.js";
30
25
  import {
31
26
  formatBytes
32
27
  } from "./chunk-ZLTB7ZCQ.js";
28
+ import {
29
+ AUDIO_EXTS,
30
+ CONVERTIBLE_IMAGE_EXTS,
31
+ MEDIA_INPUT_ARGS,
32
+ VIDEO_EXTS,
33
+ startsAsMediaPlaylist
34
+ } from "./chunk-7RLMDAUO.js";
33
35
  import {
34
36
  parseAnimatedGifMetadata
35
37
  } from "./chunk-U7ZCBWNM.js";
@@ -268,6 +270,7 @@ async function probeVideo(path) {
268
270
  "stream=codec_name,pix_fmt,color_primaries,color_transfer,color_space:stream_tags",
269
271
  "-of",
270
272
  "json",
273
+ ...MEDIA_INPUT_ARGS,
271
274
  "--",
272
275
  path
273
276
  ]);
@@ -304,10 +307,16 @@ function hdrColorArgs({ color }) {
304
307
  }
305
308
  var seconds = (t) => (Math.floor(t * 1e6) / 1e6).toFixed(6);
306
309
  async function segmentArgs(sourcePath, decoder, segments, media) {
307
- if (media === "image") return [...decoder, "-i", sourcePath];
310
+ if (media === "image") return [...decoder, ...MEDIA_INPUT_ARGS, "-i", sourcePath];
308
311
  const audio = await keptAudio(sourcePath, media);
309
312
  const cuts = segments?.length ? segments : [void 0];
310
- const inputs = cuts.flatMap((s) => [...decoder, ...seekArgs(s), "-i", sourcePath]);
313
+ const inputs = cuts.flatMap((s) => [
314
+ ...decoder,
315
+ ...seekArgs(s),
316
+ ...MEDIA_INPUT_ARGS,
317
+ "-i",
318
+ sourcePath
319
+ ]);
311
320
  const video = media === "video";
312
321
  return [
313
322
  ...inputs,
@@ -315,7 +324,7 @@ async function segmentArgs(sourcePath, decoder, segments, media) {
315
324
  ];
316
325
  }
317
326
  async function keptAudio(sourcePath, media) {
318
- const audio = (await probeAudio(sourcePath))?.audioStream ?? null;
327
+ const audio = (await probeAudio(sourcePath, MEDIA_INPUT_ARGS))?.audioStream ?? null;
319
328
  if (media === "audio" && audio === null) {
320
329
  throw new Error("the file has no audio track ffmpeg can decode");
321
330
  }
@@ -354,7 +363,15 @@ async function durationSeconds(sourcePath) {
354
363
  const ffprobe = findFFprobe();
355
364
  if (!ffprobe) return null;
356
365
  const { stdout } = await execFileAsync(ffprobe, [
357
- ...["-v", "error", "-show_entries", "format=duration", "-of", "csv=p=0", "--", sourcePath]
366
+ "-v",
367
+ "error",
368
+ "-show_entries",
369
+ "format=duration",
370
+ "-of",
371
+ "csv=p=0",
372
+ ...MEDIA_INPUT_ARGS,
373
+ "--",
374
+ sourcePath
358
375
  ]);
359
376
  const value = Number(stdout.trim());
360
377
  return Number.isFinite(value) && value > 0 ? value : null;
@@ -425,6 +442,7 @@ async function isAnimatedImage(path) {
425
442
  "stream=nb_frames",
426
443
  "-of",
427
444
  "csv=p=0",
445
+ ...MEDIA_INPUT_ARGS,
428
446
  "--",
429
447
  path
430
448
  ]);
@@ -447,6 +465,7 @@ async function trimGrid(sourcePath, kind) {
447
465
  "stream=r_frame_rate,avg_frame_rate",
448
466
  "-of",
449
467
  "csv=p=0",
468
+ ...MEDIA_INPUT_ARGS,
450
469
  "--",
451
470
  sourcePath
452
471
  ]);
@@ -471,6 +490,7 @@ async function hasVideoStream(sourcePath) {
471
490
  "stream=codec_type",
472
491
  "-of",
473
492
  "csv=p=0",
493
+ ...MEDIA_INPUT_ARGS,
474
494
  "--",
475
495
  sourcePath
476
496
  ]);
@@ -543,10 +563,14 @@ function readHead(file) {
543
563
  closeSync(fd);
544
564
  }
545
565
  }
566
+ function mediaFileKind(path, file) {
567
+ const kind = mediaKind(path);
568
+ return kind && !startsAsMediaPlaylist(readHead(file)) ? kind : null;
569
+ }
546
570
  async function planFile(ctx, path, file) {
547
- let kind = mediaKind(path);
548
571
  const size = stagedSize(file);
549
- if (!kind || size < OFFLOAD_MIN_BYTES) return null;
572
+ let kind = size < OFFLOAD_MIN_BYTES ? null : mediaFileKind(path, file);
573
+ if (!kind) return null;
550
574
  const ext = extname(path).toLowerCase();
551
575
  const accepted = ACCEPTED[ext];
552
576
  let asIs = accepted !== void 0 && size <= accepted.maxBytes && bytesMatchExtension(ext, readHead(file));
@@ -630,7 +654,7 @@ async function prepareEntryGifs(ctx, fileMap) {
630
654
  if (!html || !/\.gif\b/i.test(html)) return;
631
655
  const sourceAssets = entryGifSources(ctx, entryPath, html);
632
656
  if (!sourceAssets) return;
633
- const prep = ctx.opts.gifPrep ?? (await import("./src-RNWDJRGO.js")).prepareAnimatedGifInputs;
657
+ const prep = ctx.opts.gifPrep ?? (await import("./src-66ZYEQPG.js")).prepareAnimatedGifInputs;
634
658
  const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
635
659
  ctx.tempFiles.push(outputDir);
636
660
  const result = await prep(html, {
@@ -639,7 +663,8 @@ async function prepareEntryGifs(ctx, fileMap) {
639
663
  outputDir,
640
664
  outputSrcPrefix: posix.relative(posix.dirname(entryPath), GIF_PREFIX),
641
665
  cacheDir: hyperframesCacheDir("animated-gif"),
642
- sourceAssets
666
+ sourceAssets,
667
+ assetRoot: outputDir
643
668
  });
644
669
  if (result.preparedGifs.length === 0) return;
645
670
  fileMap.set(entryPath, Buffer.from(result.html, "utf-8"));
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-JJ47LVJ7.js";
19
19
  import {
20
20
  trackSkillsInstallSkipped
21
- } from "./chunk-T44NTM2R.js";
21
+ } from "./chunk-77KEU6NG.js";
22
22
  import {
23
23
  diag
24
24
  } from "./chunk-MCDNAIFF.js";
@@ -39,11 +39,11 @@ import {
39
39
  isCoreSkill,
40
40
  presentSkills,
41
41
  retiredSkillNotice
42
- } from "./chunk-6Q7QF4UD.js";
42
+ } from "./chunk-CTRYPHSE.js";
43
43
  import {
44
44
  NO_UPDATE_NOTICE,
45
45
  withMeta
46
- } from "./chunk-NOSZSEN6.js";
46
+ } from "./chunk-3VPBUDK6.js";
47
47
  import {
48
48
  failureMessage,
49
49
  jsonFailure
@@ -54,7 +54,7 @@ import {
54
54
  } from "./chunk-66W5IWLO.js";
55
55
  import {
56
56
  VERSION
57
- } from "./chunk-FLDJ5AYW.js";
57
+ } from "./chunk-TE3CITOB.js";
58
58
 
59
59
  // src/commands/skills.ts
60
60
  import { execFileSync, spawn } from "child_process";
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  resetTelemetryPostureCache,
17
17
  trackEvent
18
- } from "./chunk-Z5TKOD2D.js";
18
+ } from "./chunk-SMUNLDEY.js";
19
19
  import {
20
20
  AuthError,
21
21
  ErrLoginChanged,
@@ -3635,9 +3635,9 @@ async function prepareShareRender(dir) {
3635
3635
  const id = randomUUID9();
3636
3636
  const output = join8(folder, `${id}.mp4`);
3637
3637
  const [{ createRenderPlan }, { executeRenderPlan }, render] = await Promise.all([
3638
- import("./plan-NJKLH5DY.js"),
3639
- import("./execute-FRDHPWNT.js"),
3640
- import("./render-WXDAMYQU.js")
3638
+ import("./plan-R4I5XT6L.js"),
3639
+ import("./execute-N7L5W7DV.js"),
3640
+ import("./render-ONBJRZRU.js")
3641
3641
  ]);
3642
3642
  const target = join8(stateFolder, "share-render.json");
3643
3643
  const temporary = `${target}.${id}.tmp`;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  fetchLocalPageUrl
9
- } from "./chunk-PGY4WFKL.js";
9
+ } from "./chunk-DMF4ML3Y.js";
10
10
  import {
11
11
  ensureCaptureDirSync,
12
12
  writeCaptureFileSync
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  isBlockedNetworkHost,
23
23
  publicRequest
24
- } from "./chunk-LS2FSESG.js";
24
+ } from "./chunk-UHTWJOJ6.js";
25
25
  import {
26
26
  DOMParser,
27
27
  parseHTML
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-QARZ5SCV.js";
10
+ } from "./chunk-5XSIAXIP.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-7PBJR7WI.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-T44NTM2R.js";
19
+ } from "./chunk-77KEU6NG.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-4QRYBCP5.js";
9
+ } from "./chunk-XILU2D2B.js";
10
10
  import {
11
11
  findPreviewServerForProject,
12
12
  studioApiUrl
@@ -7,7 +7,11 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-W4JWPYLU.js";
10
+ } from "./chunk-MQGRMXFN.js";
11
+ import {
12
+ MEDIA_INPUT_ARGS,
13
+ NOT_MEDIA
14
+ } from "./chunk-7RLMDAUO.js";
11
15
  import {
12
16
  isLinkFreeWithinProject
13
17
  } from "./chunk-SZGQU7EB.js";
@@ -41,7 +45,7 @@ import {
41
45
  scanHtmlOpeningTags
42
46
  } from "./chunk-M425BL2U.js";
43
47
 
44
- // ../studio-server/dist/chunk-4PMVDY7J.js
48
+ // ../studio-server/dist/chunk-WSUEYGY3.js
45
49
  import { statSync } from "fs";
46
50
  import { sep } from "path";
47
51
  import { spawn } from "child_process";
@@ -269,7 +273,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
269
273
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
270
274
  }
271
275
 
272
- // ../studio-server/dist/chunk-TDVQL4N7.js
276
+ // ../studio-server/dist/chunk-E2IWTNJW.js
273
277
  import { spawn as spawn2 } from "child_process";
274
278
  import { randomUUID } from "crypto";
275
279
  import {
@@ -1020,6 +1024,7 @@ async function buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, bo
1020
1024
  }
1021
1025
  async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, limitSeconds, signal, onProgress, isBackground = () => false) {
1022
1026
  const metadata = await probeMediaMetadata(sourcePath);
1027
+ if (metadata.probeError === NOT_MEDIA) throw new ProxyTranscodeError(NOT_MEDIA, null, "");
1023
1028
  const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true });
1024
1029
  if (!ffmpegPath) {
1025
1030
  throw new FfmpegUnavailableError();
@@ -1047,6 +1052,7 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, limi
1047
1052
  "-nostats",
1048
1053
  ...range ? ["-ss", String(range.startSeconds)] : [],
1049
1054
  ...decoderArgs,
1055
+ ...MEDIA_INPUT_ARGS,
1050
1056
  "-i",
1051
1057
  sourcePath,
1052
1058
  ...streamArgs,
@@ -1366,17 +1372,22 @@ function resolveStill(projectDir, absoluteSourcePath, atSeconds, box) {
1366
1372
  async function makeStill(source, at, box, cachePath) {
1367
1373
  const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true });
1368
1374
  if (!ffmpegPath) throw new FfmpegUnavailableError();
1369
- const filter = await buildVideoFilter(
1370
- ffmpegPath,
1371
- source.sourcePath,
1372
- await probeMediaMetadata(source.sourcePath),
1373
- false,
1374
- box
1375
- );
1375
+ const metadata = await probeMediaMetadata(source.sourcePath);
1376
+ if (metadata.probeError === NOT_MEDIA) throw new ProxyTranscodeError(NOT_MEDIA, null, "");
1377
+ const filter = await buildVideoFilter(ffmpegPath, source.sourcePath, metadata, false, box);
1376
1378
  mkdirWithinProject(source.projectDir, dirname4(cachePath));
1377
1379
  const tempPath = join4(dirname4(cachePath), `.tmp-${randomUUID()}-${basename3(cachePath)}`);
1378
1380
  try {
1379
- const args = ["-y", "-ss", String(at), "-i", source.sourcePath, "-map", "0:V:0"];
1381
+ const args = [
1382
+ "-y",
1383
+ "-ss",
1384
+ String(at),
1385
+ ...MEDIA_INPUT_ARGS,
1386
+ "-i",
1387
+ source.sourcePath,
1388
+ "-map",
1389
+ "0:V:0"
1390
+ ];
1380
1391
  args.push("-frames:v", "1", "-vf", filter, "-pix_fmt", "yuvj420p", "-q:v", "3", tempPath);
1381
1392
  await spawnFfmpeg(ffmpegPath, args, TRANSCODE_STALL_MS, new AbortController().signal);
1382
1393
  renameSync(tempPath, cachePath);
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-YIKOKVHE.js";
14
+ } from "./chunk-KQFGINDM.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";
@@ -13,10 +13,10 @@ import {
13
13
  import {
14
14
  collectProjectMedia,
15
15
  mediaPath
16
- } from "./chunk-5SIOKBKO.js";
16
+ } from "./chunk-2BRVSU2O.js";
17
17
  import {
18
18
  trackLintRun
19
- } from "./chunk-ZPMIIPDH.js";
19
+ } from "./chunk-WQ3WMTSS.js";
20
20
  import {
21
21
  CheckBudgetError,
22
22
  CheckCopiesUnfinishedError,
@@ -29,7 +29,7 @@ import {
29
29
  idleWindow,
30
30
  preResolveHostileMediaProxies,
31
31
  rectToBbox
32
- } from "./chunk-NYUTPQQ3.js";
32
+ } from "./chunk-LJFGZKVL.js";
33
33
  import {
34
34
  CONTENT_OVERLAP_HELD_ERROR_MS,
35
35
  DEFAULT_MAX_STATIC_SEC,
@@ -51,7 +51,7 @@ import {
51
51
  mergeSampleTimes,
52
52
  parseAt,
53
53
  readMotionSpec
54
- } from "./chunk-OHC6GZAK.js";
54
+ } from "./chunk-TQW3G23G.js";
55
55
  import {
56
56
  findingAtRoot,
57
57
  findingElementKey,
@@ -60,7 +60,7 @@ import {
60
60
  } from "./chunk-TQBQYO4L.js";
61
61
  import {
62
62
  captureArtifactRevision
63
- } from "./chunk-S2Z46FMO.js";
63
+ } from "./chunk-ZXIWAD2G.js";
64
64
  import {
65
65
  readToolContext,
66
66
  reportArtifacts,
@@ -68,10 +68,10 @@ import {
68
68
  } from "./chunk-PCH55NAO.js";
69
69
  import {
70
70
  resolveProject
71
- } from "./chunk-4QRYBCP5.js";
71
+ } from "./chunk-XILU2D2B.js";
72
72
  import {
73
73
  CACHE_DIR_NAME
74
- } from "./chunk-M3MXR3HG.js";
74
+ } from "./chunk-I6SCA2ME.js";
75
75
  import {
76
76
  recordArtifacts
77
77
  } from "./chunk-22EEGJLH.js";
@@ -79,14 +79,14 @@ import {
79
79
  BrowserCleanupError,
80
80
  onStopSignal,
81
81
  registerBrowserSessionCleanup
82
- } from "./chunk-CGHWDZXR.js";
82
+ } from "./chunk-D3DY7Q6S.js";
83
83
  import {
84
84
  resolveLocalBrowserGpuMode
85
- } from "./chunk-62LL7YPC.js";
85
+ } from "./chunk-EMX4P4WP.js";
86
86
  import {
87
87
  trackCheckReport,
88
88
  trackCommandFailure
89
- } from "./chunk-T44NTM2R.js";
89
+ } from "./chunk-77KEU6NG.js";
90
90
  import {
91
91
  swallowedFlagUsageError
92
92
  } from "./chunk-B2WXMYMA.js";
@@ -107,14 +107,14 @@ import {
107
107
  extractMediaMetadata,
108
108
  findHdrAutoPromotion,
109
109
  gradingKeepsSdr
110
- } from "./chunk-YIKOKVHE.js";
110
+ } from "./chunk-KQFGINDM.js";
111
111
  import {
112
112
  lintProject,
113
113
  unmountedNotice
114
114
  } from "./chunk-H4LCNEA2.js";
115
115
  import {
116
116
  withMeta
117
- } from "./chunk-NOSZSEN6.js";
117
+ } from "./chunk-3VPBUDK6.js";
118
118
  import {
119
119
  recordLastCheck
120
120
  } from "./chunk-AWD2MWWL.js";
@@ -129,7 +129,7 @@ import {
129
129
  } from "./chunk-66W5IWLO.js";
130
130
  import {
131
131
  VERSION
132
- } from "./chunk-FLDJ5AYW.js";
132
+ } from "./chunk-TE3CITOB.js";
133
133
  import {
134
134
  normalizeErrorMessage
135
135
  } from "./chunk-E63BDV4Z.js";
@@ -2409,7 +2409,7 @@ function resolveMotionSpec(projectDir) {
2409
2409
  };
2410
2410
  }
2411
2411
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2412
- const module = await import("./checkBrowser-IQR4HWS6.js");
2412
+ const module = await import("./checkBrowser-IIMZI2LZ.js");
2413
2413
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2414
2414
  }
2415
2415
  var adoptedBrowser;
@@ -2423,7 +2423,7 @@ async function prelaunchBrowser(project, options) {
2423
2423
  if (adopted) return adopted;
2424
2424
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2425
2425
  if (html === void 0) return void 0;
2426
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-C3QPXFZZ.js");
2426
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-6DCRCIKA.js");
2427
2427
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2428
2428
  }
2429
2429
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2435,11 +2435,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2435
2435
  return relative(projectDir, path);
2436
2436
  }
2437
2437
  async function captureFindingFrames(project, options, requests, deadline) {
2438
- const module = await import("./checkBrowser-IQR4HWS6.js");
2438
+ const module = await import("./checkBrowser-IIMZI2LZ.js");
2439
2439
  return module.captureFindingFrames(project, options, requests, deadline);
2440
2440
  }
2441
2441
  async function captureFindingCrops(project, options, requests, deadline) {
2442
- const module = await import("./checkBrowser-IQR4HWS6.js");
2442
+ const module = await import("./checkBrowser-IIMZI2LZ.js");
2443
2443
  return module.captureFindingCrops(project, options, requests, deadline);
2444
2444
  }
2445
2445
  async function inspectProjectMedia(project, dependencies) {
@@ -2461,7 +2461,7 @@ function collectMedia(project) {
2461
2461
  return collectProjectMedia(project.dir);
2462
2462
  }
2463
2463
  async function inspectAudio(project, media) {
2464
- const module = await import("./checkAudio-WNVIHTTH.js");
2464
+ const module = await import("./checkAudio-EAM7FCLJ.js");
2465
2465
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2466
2466
  }
2467
2467
  function audioCheckFailure(project, error) {
@@ -2538,7 +2538,7 @@ function cachePath(projectDir) {
2538
2538
  return join2(projectDir, ".hyperframes", "cache", "check.json");
2539
2539
  }
2540
2540
  async function browserIdentity() {
2541
- const { findBrowser } = await import("./manager-25RJ4IZN.js");
2541
+ const { findBrowser } = await import("./manager-TMKN4DX5.js");
2542
2542
  const found = await findBrowser();
2543
2543
  if (!found) return void 0;
2544
2544
  try {
@@ -2646,7 +2646,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2646
2646
  }
2647
2647
  },
2648
2648
  async prepareMedia(project, options) {
2649
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-NWMD2BBQ.js");
2649
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z5IHK62J.js");
2650
2650
  const html = await bundleWithLocalizedFonts(project.dir);
2651
2651
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2652
2652
  },
@@ -39,7 +39,7 @@ import {
39
39
  import {
40
40
  decodeAudio,
41
41
  probeAudio
42
- } from "./chunk-7CLDXOEJ.js";
42
+ } from "./chunk-KLIVZ5VG.js";
43
43
  import {
44
44
  runsWithoutInstallPrompt
45
45
  } from "./chunk-JJ47LVJ7.js";
@@ -13,16 +13,16 @@ import {
13
13
  } from "./chunk-I6V25IXG.js";
14
14
  import {
15
15
  parseDeliveryFlags
16
- } from "./chunk-D3UYYHU2.js";
16
+ } from "./chunk-ILQAOOR4.js";
17
17
  import {
18
18
  resolveProject
19
- } from "./chunk-4QRYBCP5.js";
19
+ } from "./chunk-XILU2D2B.js";
20
20
  import {
21
21
  parseGifLoopArg,
22
22
  parseHlsSegmentSecondsArg,
23
23
  resolveBrowserTimeoutMsArg,
24
24
  resolveDefaultFpsArg
25
- } from "./chunk-NLTJMUK6.js";
25
+ } from "./chunk-BPNCNZG5.js";
26
26
  import {
27
27
  errorBox
28
28
  } from "./chunk-ZLTB7ZCQ.js";
@@ -38,7 +38,7 @@ import {
38
38
  MAX_VP9_CPU_USED,
39
39
  MIN_VP9_CPU_USED,
40
40
  isVideoFrameFormat
41
- } from "./chunk-YIKOKVHE.js";
41
+ } from "./chunk-KQFGINDM.js";
42
42
  import {
43
43
  DISTRIBUTED_FPS,
44
44
  formatRenderOutputTimestamp,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-MR7VKWYT.js";
10
10
  import {
11
11
  injectMediaCodecMapIntoHtml
12
- } from "./chunk-62R36CZW.js";
12
+ } from "./chunk-6PXVXIC7.js";
13
13
  import {
14
14
  PROXY_VARIANT_CONFIG,
15
15
  ProxyCapacityError,
@@ -20,7 +20,7 @@ import {
20
20
  recordProxyRequest,
21
21
  resolveProxy,
22
22
  resolveProxyVariantRequest
23
- } from "./chunk-M3MXR3HG.js";
23
+ } from "./chunk-I6SCA2ME.js";
24
24
  import {
25
25
  resolveAutoProxy
26
26
  } from "./chunk-FCNMU7LC.js";
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-4QFWV5GQ.js";
33
33
  import {
34
34
  listenOnBrowserSafePort
35
- } from "./chunk-LS2FSESG.js";
35
+ } from "./chunk-UHTWJOJ6.js";
36
36
  import {
37
37
  stripSdrPngColourTags
38
38
  } from "./chunk-UBHBB3TB.js";
@@ -21,7 +21,7 @@ function requiredBinary(name) {
21
21
  if (!path) throw new Error(`${name} is required to analyze audio; run: npx hyperframes doctor`);
22
22
  return path;
23
23
  }
24
- async function probeAudio(file) {
24
+ async function probeAudio(file, inputArgs = []) {
25
25
  const { stdout } = await run(
26
26
  requiredBinary("ffprobe"),
27
27
  [
@@ -33,6 +33,7 @@ async function probeAudio(file) {
33
33
  "-show_format",
34
34
  "-of",
35
35
  "json",
36
+ ...inputArgs,
36
37
  "--",
37
38
  file
38
39
  ],
@@ -10,7 +10,7 @@ import {
10
10
  isBlockedNetworkHost,
11
11
  logRefusal,
12
12
  startCaptureProxy
13
- } from "./chunk-LS2FSESG.js";
13
+ } from "./chunk-UHTWJOJ6.js";
14
14
  import {
15
15
  removeTreeBestEffort,
16
16
  removeTreeBestEffortAsync
@@ -125,11 +125,6 @@ import {
125
125
  isWithinProjectRoot,
126
126
  resolveProjectRelativeSrc
127
127
  } from "./chunk-MP4TEYUJ.js";
128
- import {
129
- FFMPEG_PATH_ENV,
130
- FFPROBE_PATH_ENV,
131
- findFfBinary
132
- } from "./chunk-IU5DC4HP.js";
133
128
  import {
134
129
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
135
130
  getAvailableMemoryMb,
@@ -138,7 +133,13 @@ import {
138
133
  hostCpuCount,
139
134
  isLowMemorySystem,
140
135
  usableCpuCount
141
- } from "./chunk-HYMWSWKM.js";
136
+ } from "./chunk-U3LWQGCD.js";
137
+ import {
138
+ FFMPEG_PATH_ENV,
139
+ FFPROBE_PATH_ENV,
140
+ findFfBinary,
141
+ findTrustedExecutable
142
+ } from "./chunk-IU5DC4HP.js";
142
143
  import {
143
144
  isPathInside
144
145
  } from "./chunk-6MKM2RVL.js";
@@ -1011,7 +1012,7 @@ function scanHtmlOpeningTags(html) {
1011
1012
  }
1012
1013
 
1013
1014
  // ../engine/src/services/browserManager.ts
1014
- import { execSync } from "child_process";
1015
+ import { execFileSync } from "child_process";
1015
1016
  import { existsSync as existsSync2, readdirSync, statSync } from "fs";
1016
1017
  import { join as join3 } from "path";
1017
1018
  import { homedir } from "os";
@@ -1965,12 +1966,18 @@ var _cachedVramMb = null;
1965
1966
  function probeNvidiaVramMb() {
1966
1967
  if (_cachedVramMb !== null) return _cachedVramMb;
1967
1968
  try {
1968
- const out = execSync("nvidia-smi --query-gpu=memory.total --format=csv,noheader,nounits", {
1969
- timeout: 3e3,
1970
- encoding: "utf-8",
1971
- stdio: ["pipe", "pipe", "pipe"],
1972
- windowsHide: true
1973
- }).trim();
1969
+ const nvidiaSmi = findTrustedExecutable("nvidia-smi");
1970
+ if (!nvidiaSmi) return null;
1971
+ const out = execFileSync(
1972
+ nvidiaSmi,
1973
+ ["--query-gpu=memory.total", "--format=csv,noheader,nounits"],
1974
+ {
1975
+ timeout: 3e3,
1976
+ encoding: "utf-8",
1977
+ stdio: ["pipe", "pipe", "pipe"],
1978
+ windowsHide: true
1979
+ }
1980
+ ).trim();
1974
1981
  const mb = parseInt(out.split("\n")[0] ?? "", 10);
1975
1982
  if (Number.isFinite(mb) && mb > 0) {
1976
1983
  _cachedVramMb = mb;
@@ -6947,7 +6954,9 @@ var defaultReadFile = (path) => readFile(path, "utf8");
6947
6954
  function defaultExec() {
6948
6955
  const execFileP = promisify2(execFile2);
6949
6956
  return async (file, args) => {
6950
- const { stdout } = await execFileP(file, [...args], { windowsHide: true, timeout: 5e3 });
6957
+ const binary = findTrustedExecutable(file);
6958
+ if (!binary) throw new Error(`${file} is not in a trusted PATH folder`);
6959
+ const { stdout } = await execFileP(binary, [...args], { windowsHide: true, timeout: 5e3 });
6951
6960
  return { stdout: String(stdout) };
6952
6961
  };
6953
6962
  }
@@ -20241,6 +20250,8 @@ export {
20241
20250
  oneProcessOverPipe,
20242
20251
  isOneProcessOverPipe,
20243
20252
  sandboxDeniedRemediation,
20253
+ chromeSandboxEnabled,
20254
+ chromeSandboxArgs,
20244
20255
  launchWithChromeSandboxFallback,
20245
20256
  BrowserLeasePool,
20246
20257
  setHostHandlesSigint,
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-JJ47LVJ7.js";
16
16
  import {
17
17
  findFFmpeg
18
- } from "./chunk-CII7LO6I.js";
18
+ } from "./chunk-UZGN5MTD.js";
19
19
  import {
20
20
  stoppableExecFile
21
21
  } from "./chunk-HU2SPFNG.js";