hyperframes 0.9.52 → 0.9.53

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 (288) hide show
  1. package/dist/{add-Z6G2DLNE.js → add-TZFSLV5M.js} +21 -16
  2. package/dist/{agentPromptGenerator-RCTC2XXL.js → agentPromptGenerator-OPQZUVYC.js} +12 -17
  3. package/dist/{animatedGifPrep-X7KILCDI.js → animatedGifPrep-DEK4XZYT.js} +15 -16
  4. package/dist/api.js +46 -46
  5. package/dist/{asset-A3ENWWCU.js → asset-3BIBG7LB.js} +2 -2
  6. package/dist/{assetCataloger-TIMZTOYH.js → assetCataloger-R4NWWO4P.js} +13 -13
  7. package/dist/{audio-HMCUO2CV.js → audio-N3DHNT3F.js} +38 -31
  8. package/dist/{auth-NXR3QM4C.js → auth-CBF2DVRT.js} +5 -5
  9. package/dist/{autoUpdate-TY7P2Z4F.js → autoUpdate-UJB4MI4Z.js} +5 -3
  10. package/dist/{avatars-36MYJUPA.js → avatars-JVATTQYO.js} +21 -19
  11. package/dist/{backgroundChecks-EWWJEGF6.js → backgroundChecks-R7SFELIM.js} +6 -4
  12. package/dist/backgroundChecksWorker.js +6 -5
  13. package/dist/{batchRender-VKM4E7PI.js → batchRender-D4VO4OCF.js} +26 -7
  14. package/dist/{beats-Z4B4B4KM.js → beats-UCYZ7MKK.js} +14 -14
  15. package/dist/{benchmark-PLGO2THH.js → benchmark-3NMJO5DK.js} +31 -14
  16. package/dist/{billing-ZIXACCLR.js → billing-76JTGOHN.js} +18 -17
  17. package/dist/{browser-VZFBNASB.js → browser-5XXA4O25.js} +11 -11
  18. package/dist/{bundleWithLocalizedFonts-XD2XDEQL.js → bundleWithLocalizedFonts-S7DIF43W.js} +1 -1
  19. package/dist/{capture-BAFLHNDI.js → capture-EV4G3SCY.js} +33 -34
  20. package/dist/{capture-GC4F54XT.js → capture-JHMVFAUS.js} +4 -4
  21. package/dist/{captureCompositionFrame-YBVEFKWM.js → captureCompositionFrame-3M3BFHZH.js} +19 -19
  22. package/dist/{catalog-LHOCJUO2.js → catalog-WVZJ6XYV.js} +21 -16
  23. package/dist/{catch-up-6FNQ6I7Q.js → catch-up-FQ5KCZIH.js} +11 -11
  24. package/dist/{check-S7T5LE6V.js → check-VTUVZWCF.js} +52 -49
  25. package/dist/{checkAudio-AKOI4AWK.js → checkAudio-FYRBXK22.js} +19 -19
  26. package/dist/{checkBrowser-NABXGNNM.js → checkBrowser-EJQEWSIH.js} +46 -43
  27. package/dist/{chunk-YXQA6MKA.js → chunk-2ODGEXNH.js} +4 -4
  28. package/dist/{chunk-7SZ7QQJ3.js → chunk-2ST2FAVH.js} +2 -2
  29. package/dist/{chunk-POGZYVM2.js → chunk-2YSQU74C.js} +9 -9
  30. package/dist/{chunk-H4S3WY2N.js → chunk-346RTE74.js} +1 -1
  31. package/dist/{chunk-Z46RV43W.js → chunk-35PKJPEI.js} +2 -2
  32. package/dist/{chunk-MQGRMXFN.js → chunk-365OGBQ2.js} +3 -3
  33. package/dist/chunk-3FHPYC6X.js +5069 -0
  34. package/dist/{chunk-6PXVXIC7.js → chunk-3FL7MKQH.js} +163 -60
  35. package/dist/{chunk-SQ64IEA7.js → chunk-3HQ4C4HI.js} +2 -2
  36. package/dist/{chunk-CDK23M57.js → chunk-43ILJV43.js} +11 -11
  37. package/dist/{chunk-RMO7KIFX.js → chunk-44OCDK5C.js} +4 -4
  38. package/dist/{chunk-APT2TSYC.js → chunk-47IXIEBQ.js} +1 -1
  39. package/dist/{chunk-FCNMU7LC.js → chunk-4FOHO7GC.js} +1 -1
  40. package/dist/{chunk-CQ5VQNOD.js → chunk-4KRID4YV.js} +1 -1
  41. package/dist/{chunk-MR7VKWYT.js → chunk-4KS3GL5I.js} +1 -1
  42. package/dist/{chunk-4Q2HYZZK.js → chunk-4TJGOQER.js} +58 -3
  43. package/dist/{chunk-YJFIGFON.js → chunk-562X3KBJ.js} +2 -2
  44. package/dist/chunk-5A75E4OT.js +72 -0
  45. package/dist/{chunk-XHUFLQGD.js → chunk-5CRHNVJW.js} +3 -3
  46. package/dist/{chunk-22EEGJLH.js → chunk-5JOYZGHQ.js} +82 -54
  47. package/dist/{chunk-NQ3NHCF6.js → chunk-5SMHNPMW.js} +2 -2
  48. package/dist/{chunk-24M5C5EQ.js → chunk-6CO6L3YP.js} +1 -1
  49. package/dist/{chunk-MP4TEYUJ.js → chunk-6EMFSRTW.js} +4 -1
  50. package/dist/{chunk-H4LCNEA2.js → chunk-6F4ZVQUX.js} +195 -128
  51. package/dist/{chunk-YRXIEP35.js → chunk-6RPLXBZJ.js} +89 -10
  52. package/dist/{chunk-7RLMDAUO.js → chunk-6T4PB35F.js} +2 -1
  53. package/dist/{chunk-VOJ3ICMF.js → chunk-7ELQHSEE.js} +1 -1
  54. package/dist/{chunk-NXDFCWF2.js → chunk-7FU5JCAK.js} +1 -1
  55. package/dist/{chunk-UFET7UTU.js → chunk-B3WRUPRS.js} +2 -2
  56. package/dist/{chunk-TI7JN55F.js → chunk-BCJJ64JG.js} +1 -1
  57. package/dist/{chunk-P27QDOID.js → chunk-BH5P5QZN.js} +4 -4
  58. package/dist/{chunk-RIHRYTNB.js → chunk-BQRJZDSM.js} +15 -15
  59. package/dist/{chunk-7GVHPY7W.js → chunk-BS36NRXV.js} +1 -1
  60. package/dist/{chunk-PRG42HNH.js → chunk-CBV4W4R3.js} +2 -2
  61. package/dist/{chunk-UX2KMUKC.js → chunk-CTHG3WLB.js} +9 -9
  62. package/dist/{chunk-MF53JVZ5.js → chunk-CYBOQOKO.js} +1 -1
  63. package/dist/{chunk-DPVXBVLL.js → chunk-DZWAYZG2.js} +6254 -6096
  64. package/dist/{chunk-AMWWQXTC.js → chunk-E3LZAM64.js} +5 -5
  65. package/dist/{chunk-B2ZZYISD.js → chunk-ECGNWHFE.js} +29 -6
  66. package/dist/{chunk-ZG6BVWQ7.js → chunk-ES273AD6.js} +3 -3
  67. package/dist/{chunk-R64WJS45.js → chunk-FH6KC5EF.js} +6 -6
  68. package/dist/{chunk-S5EMQAKL.js → chunk-FLPVKGBS.js} +2 -2
  69. package/dist/{chunk-HLXZFHEY.js → chunk-FM5JRUWL.js} +6 -6
  70. package/dist/{chunk-DE7Q2LWF.js → chunk-FQMP2KFS.js} +2 -2
  71. package/dist/{chunk-ZXMZSU5Y.js → chunk-FRM4EM52.js} +15 -15
  72. package/dist/chunk-FSBV6Z7E.js +351 -0
  73. package/dist/{chunk-U7ZCBWNM.js → chunk-FU2R6OVR.js} +3 -3
  74. package/dist/{chunk-4OHV7UZZ.js → chunk-FZNH7SCB.js} +1 -1
  75. package/dist/{chunk-O45HB74L.js → chunk-G5FNJQER.js} +31 -27
  76. package/dist/{chunk-G6QCHM2N.js → chunk-G7GTO4YP.js} +4 -4
  77. package/dist/{chunk-WN4W76IQ.js → chunk-GDWPLGHY.js} +1 -1
  78. package/dist/{chunk-UB44XZOI.js → chunk-GVUG5VDL.js} +1 -1
  79. package/dist/{chunk-YXR5MVBM.js → chunk-GZG2Z2O2.js} +2 -2
  80. package/dist/{chunk-7QM73IH2.js → chunk-H5K3FS4W.js} +4 -4
  81. package/dist/{chunk-MOTJT42J.js → chunk-HJ2YUPBF.js} +13 -1
  82. package/dist/{chunk-47MEWWCO.js → chunk-HY25JZQ2.js} +2 -2
  83. package/dist/{chunk-DONVZZLV.js → chunk-HYO4DIYT.js} +1 -1
  84. package/dist/{chunk-6NGJ55V5.js → chunk-HZ2CD6RL.js} +1 -1
  85. package/dist/{chunk-WPC2FKNB.js → chunk-I7NTTMET.js} +326 -114
  86. package/dist/{chunk-P37ZACC6.js → chunk-I7SJBRVT.js} +3 -3
  87. package/dist/{chunk-CIMOTEZB.js → chunk-IB5DXMAH.js} +4 -4
  88. package/dist/{chunk-MI54IK7G.js → chunk-IEESWUIQ.js} +11 -2
  89. package/dist/{chunk-6MKM2RVL.js → chunk-IH2C53YV.js} +460 -1
  90. package/dist/{chunk-GEIWJSWN.js → chunk-IH56MGAB.js} +10 -10
  91. package/dist/{chunk-6MYO2IHD.js → chunk-IHXMN5YH.js} +7 -0
  92. package/dist/{chunk-YHJOTCTV.js → chunk-IJYIIHGK.js} +10 -5
  93. package/dist/{chunk-L2KUIV56.js → chunk-ISVRNYE5.js} +1 -1
  94. package/dist/{chunk-QP7MQ43Y.js → chunk-IXUIJ7OL.js} +3 -3
  95. package/dist/chunk-JCFOSR7Z.js +181 -0
  96. package/dist/{chunk-HS7LT4PL.js → chunk-JNM4WG7C.js} +1 -1
  97. package/dist/{chunk-WSZJS4QC.js → chunk-KDDRDNEE.js} +60 -9
  98. package/dist/{chunk-UAU4SIOQ.js → chunk-KEZ7QIJN.js} +6 -6
  99. package/dist/{chunk-ZW6ZUKBB.js → chunk-KKO4PRB5.js} +1 -1
  100. package/dist/{chunk-M3BJEZ7E.js → chunk-KPFJGQ6M.js} +45 -12
  101. package/dist/{chunk-YPURY3MW.js → chunk-LKWN2F7O.js} +2 -2
  102. package/dist/{chunk-CIGQUDEV.js → chunk-N2YHCAFL.js} +50 -15
  103. package/dist/{chunk-Z2EKCD7H.js → chunk-NCPSUM5A.js} +1 -1
  104. package/dist/{chunk-64T46P7K.js → chunk-NVGB7L2M.js} +2 -2
  105. package/dist/{chunk-2MNSS7PH.js → chunk-OLVZAALP.js} +2 -2
  106. package/dist/{chunk-LZTBL7SR.js → chunk-OSKSTJNQ.js} +12 -2
  107. package/dist/{chunk-QUUZ2BGC.js → chunk-OUPWEFUM.js} +1 -1
  108. package/dist/{chunk-4QFWV5GQ.js → chunk-P2ZMVHTF.js} +2 -1
  109. package/dist/{chunk-T6VQGCN3.js → chunk-PPLFDG7N.js} +9 -5
  110. package/dist/{chunk-UBHBB3TB.js → chunk-PUT3NPVE.js} +43 -51
  111. package/dist/{chunk-IMNIW22F.js → chunk-PYOCEDTU.js} +2 -2
  112. package/dist/{chunk-E2KJT7JR.js → chunk-Q5P7YJXO.js} +2 -2
  113. package/dist/{chunk-42JBYXIQ.js → chunk-QBDT7Z5D.js} +38 -22
  114. package/dist/{chunk-3LIMD4YP.js → chunk-QBN2W4T3.js} +6 -8
  115. package/dist/{chunk-J45SCYTD.js → chunk-QXYR7LOO.js} +7 -7
  116. package/dist/{chunk-LNZHSISH.js → chunk-RH6UD7XI.js} +11 -11
  117. package/dist/{chunk-IZQDQ5AN.js → chunk-RUQ2VOD3.js} +3 -2
  118. package/dist/{chunk-ETXOQXWT.js → chunk-SH6PAYUD.js} +5 -5
  119. package/dist/{chunk-M6TIOPL5.js → chunk-SRPPNXGX.js} +3 -3
  120. package/dist/{chunk-LIPVGXPV.js → chunk-SXZMJ7QJ.js} +4 -4
  121. package/dist/{chunk-ZGWOCGSJ.js → chunk-T3QK3VKM.js} +1 -1
  122. package/dist/{chunk-DC7AOIHN.js → chunk-T5S7U5C6.js} +1 -1
  123. package/dist/{chunk-RULKJFRT.js → chunk-TQKX3TA3.js} +1 -1
  124. package/dist/{chunk-IB722ALN.js → chunk-TTP6JGIL.js} +2 -2
  125. package/dist/{chunk-DYYAFCZH.js → chunk-TWI33YJP.js} +1 -1
  126. package/dist/{chunk-5B425ZB3.js → chunk-UAOL5PRX.js} +1 -1
  127. package/dist/{chunk-L56WTLQP.js → chunk-VCHJV7ZT.js} +10 -9
  128. package/dist/{chunk-M425BL2U.js → chunk-VCKUDUPN.js} +1 -1
  129. package/dist/{chunk-UIIQA7DN.js → chunk-W6WVHIU7.js} +6 -3
  130. package/dist/{chunk-JJLPGVTA.js → chunk-WPG76RJZ.js} +1 -1
  131. package/dist/{chunk-VXX4S2PH.js → chunk-XBPLO6CY.js} +384 -94
  132. package/dist/{chunk-M4E7CMYS.js → chunk-XJTFSMZK.js} +2 -2
  133. package/dist/{chunk-X3IULMVV.js → chunk-XM7LOJBP.js} +1 -1
  134. package/dist/{chunk-HT4FWRIT.js → chunk-XZZF6YBS.js} +1 -1
  135. package/dist/{chunk-4FWR7OE3.js → chunk-Y6CLFCYX.js} +3 -3
  136. package/dist/{chunk-7VQ3RAKO.js → chunk-YF34MK67.js} +19 -16
  137. package/dist/{chunk-UX4HQHMS.js → chunk-YT3LRZA3.js} +12 -10
  138. package/dist/{chunk-MOR3H5FK.js → chunk-ZFCK46UR.js} +1 -1
  139. package/dist/{chunk-C66O6A2J.js → chunk-ZI3MSFSN.js} +2 -2
  140. package/dist/{chunk-2AZMG6DR.js → chunk-ZK6BC3JM.js} +4 -4
  141. package/dist/{chunk-TDQUQAW5.js → chunk-ZPPEZJVD.js} +97 -39
  142. package/dist/{chunk-I6SCA2ME.js → chunk-ZT7RB42S.js} +43 -21
  143. package/dist/{chunk-KUZTIMY3.js → chunk-ZV3RIHRN.js} +7 -7
  144. package/dist/{clean-Y6YIQRPM.js → clean-KEVJGNES.js} +29 -28
  145. package/dist/cli.js +67 -66
  146. package/dist/{cloud-5C5SCK4H.js → cloud-EBJZO6ZY.js} +5 -4
  147. package/dist/{cloud-A5U7YYNA.js → cloud-OR62JJDE.js} +4 -4
  148. package/dist/{cloudrun-EULFHQQL.js → cloudrun-HPYJTM5N.js} +9 -9
  149. package/dist/{compare-6XCTMUF3.js → compare-353XZU2M.js} +43 -41
  150. package/dist/{compiler-DUG4GFRI.js → compiler-KPDUYBA5.js} +8 -8
  151. package/dist/{component-JDQIZSAL.js → component-5DZDY74T.js} +3 -3
  152. package/dist/{compositions-HZDEOSRL.js → compositions-VBICZHMF.js} +27 -20
  153. package/dist/{curve-SE7ZAMI6.js → curve-KDRSQWHP.js} +18 -17
  154. package/dist/{cuts-AEFJGBFP.js → cuts-ABAQKTF4.js} +19 -18
  155. package/dist/{delete-EQUQ7Z2K.js → delete-BXURHIL4.js} +10 -7
  156. package/dist/{deploy-NSLC6BYZ.js → deploy-4TBYCBNI.js} +7 -7
  157. package/dist/{describeProject-FTJBPDL3.js → describeProject-K62TKQLI.js} +14 -14
  158. package/dist/{destroy-4O4T3KL3.js → destroy-FAJUHCW4.js} +6 -6
  159. package/dist/{deterministicFonts-QY4KNTOU.js → deterministicFonts-XZIQ4PNP.js} +3 -3
  160. package/dist/{diff-VJ3CS7YE.js → diff-4O7ZCBM5.js} +43 -41
  161. package/dist/{dist-MXWEGMRB.js → dist-AAGJ6SXG.js} +5 -5
  162. package/dist/{dist-MNFB4YKV.js → dist-D67752QW.js} +18 -18
  163. package/dist/{dist-2YJCNIWI.js → dist-F4T6FB7P.js} +6 -6
  164. package/dist/{doctor-RR7SNO6X.js → doctor-IEUIWBC5.js} +23 -18
  165. package/dist/{dotEnv-33RDHX7P.js → dotEnv-RZ52L7X3.js} +5 -4
  166. package/dist/{energy-PN23W2UJ.js → energy-BJQTVGBO.js} +19 -18
  167. package/dist/{events-4ECJEB2W.js → events-4UBI5WNS.js} +10 -10
  168. package/dist/{events-NR6UPBHG.js → events-D3NBN44E.js} +4 -4
  169. package/dist/{events-5OLO73VJ.js → events-M37XFHGJ.js} +21 -20
  170. package/dist/{execute-TS3BP65F.js → execute-JCLM27KS.js} +36 -36
  171. package/dist/{extract-GCZ5HSEN.js → extract-AYWY5PIN.js} +19 -18
  172. package/dist/{face-QKMYBRV3.js → face-TEHC6WYN.js} +20 -19
  173. package/dist/{feedback-3H43EK7N.js → feedback-JZDCB5N4.js} +42 -30
  174. package/dist/{ffmpeg-JRNM74WY.js → ffmpeg-JMPVMPDT.js} +15 -15
  175. package/dist/{figma-JGP2UGGU.js → figma-6MYT2VRV.js} +3 -3
  176. package/dist/fontLocalizeCli.js +20 -21
  177. package/dist/{frames-OYSWKB3F.js → frames-NLFBDILH.js} +20 -19
  178. package/dist/{generate-TDXLUFMR.js → generate-YLPRVWHZ.js} +32 -30
  179. package/dist/{get-UB2MNBYO.js → get-APCR6ZJE.js} +10 -7
  180. package/dist/{gpuPolicy-6CTTH3NY.js → gpuPolicy-YXBUP4AF.js} +12 -12
  181. package/dist/{grade-compare-2DXT4RWV.js → grade-compare-VLWGCI4O.js} +43 -41
  182. package/dist/{gsapParser-L7TM3RGH.js → gsapParser-TSPNHW7F.js} +1 -1
  183. package/dist/hangReport.js +2 -1
  184. package/dist/{heifImagePrep-VDZVZ4G7.js → heifImagePrep-UC2AV5LU.js} +16 -17
  185. package/dist/{help-RGKY4DR4.js → help-YSBTU7WC.js} +1 -1
  186. package/dist/{history-AVDXYNAP.js → history-EPIGMZUN.js} +15 -14
  187. package/dist/hyperframe.manifest.json +1 -1
  188. package/dist/hyperframe.runtime.iife.js +67 -67
  189. package/dist/hyperframes-player.global.js +3 -3
  190. package/dist/{info-NGTQABZC.js → info-6SF6E2T3.js} +26 -20
  191. package/dist/{init-C3EARHDW.js → init-BXS47X5W.js} +40 -38
  192. package/dist/{ink-ISO3VXRQ.js → ink-BWKWSIKA.js} +19 -18
  193. package/dist/{inspect-V6MPU5I5.js → inspect-NUE2R2OF.js} +44 -41
  194. package/dist/{installer-FI6HT2FW.js → installer-T57TKMM6.js} +7 -7
  195. package/dist/{keyframes-PTJDE47Y.js → keyframes-WCRUYIOQ.js} +19 -15
  196. package/dist/{lambda-JTO5YD2I.js → lambda-L2YNMAL5.js} +18 -18
  197. package/dist/{layout-QMLEZP5T.js → layout-FXTXMDAL.js} +44 -41
  198. package/dist/{lint-6BWOQAW6.js → lint-IKRYTERJ.js} +23 -17
  199. package/dist/{lintProject-G4MXY4YA.js → lintProject-2NDIJLD2.js} +6 -6
  200. package/dist/{list-7E4VD7JA.js → list-BX5SCZEC.js} +10 -7
  201. package/dist/{localPage-BQOYZAOW.js → localPage-HY3VMEYU.js} +12 -12
  202. package/dist/{login-37MSZXCY.js → login-5IDR2M6C.js} +6 -5
  203. package/dist/{logout-QGNBUJKS.js → logout-MTWA4BBI.js} +2 -1
  204. package/dist/{look-5GXW3NVP.js → look-7R4YJNX7.js} +19 -18
  205. package/dist/{manager-TMKN4DX5.js → manager-DBMIO5YG.js} +2 -2
  206. package/dist/{manager-J2IRAOR7.js → manager-PHCAZFHT.js} +13 -13
  207. package/dist/{measure-23IL23BL.js → measure-7CJ4RKSY.js} +11 -11
  208. package/dist/{media-treatment-7ODBREPX.js → media-treatment-HEW3RMDV.js} +22 -21
  209. package/dist/{media-use-QJA6NB3V.js → media-use-S5IJPK5G.js} +11 -18
  210. package/dist/{models-2Z6SURXU.js → models-4UJY22Z3.js} +16 -16
  211. package/dist/{motionShot-CYS3L6FK.js → motionShot-FLZQ75TM.js} +23 -23
  212. package/dist/{normalize-audio-6YVF4LED.js → normalize-audio-AN3KKSSK.js} +16 -16
  213. package/dist/{open-WQ6NRHCN.js → open-AHPOLDBY.js} +26 -20
  214. package/dist/{parakeetRunner-R7KK6ZHD.js → parakeetRunner-4URDK3H4.js} +17 -17
  215. package/dist/{pipeline-HRCK2JQL.js → pipeline-O5UWLQDZ.js} +15 -15
  216. package/dist/{plan-FQNKACYR.js → plan-SUV7WBBJ.js} +25 -25
  217. package/dist/{play-UJZBNX2O.js → play-LHMMHUUN.js} +37 -33
  218. package/dist/{preflight-VIMLSE3I.js → preflight-FLSEP55G.js} +14 -14
  219. package/dist/{present-JIOVM3ZH.js → present-VEDXFFPZ.js} +31 -28
  220. package/dist/{preview-HCYGBEWR.js → preview-FXNPXOJL.js} +41 -33
  221. package/dist/privateProjectFile-NN7MTTEQ.js +50 -0
  222. package/dist/{probe-6YQA2ZZC.js → probe-P6LUMX34.js} +19 -18
  223. package/dist/{producer-JIM74BGL.js → producer-SWV2GP4I.js} +1 -1
  224. package/dist/{projectConfig-VPL64JBD.js → projectConfig-EPOIXMHL.js} +9 -9
  225. package/dist/{publicNetwork-F3ZXSVOD.js → publicNetwork-GW7SVP7N.js} +1 -1
  226. package/dist/{publication-ST3VFFWM.js → publication-SIGMWEK3.js} +5 -5
  227. package/dist/{publish-3TTCO4R4.js → publish-EVCYPK6H.js} +45 -32
  228. package/dist/{refresh-6ONVQ3WV.js → refresh-PIFEWEAL.js} +2 -1
  229. package/dist/{remove-background-XTICO22L.js → remove-background-AFXDE5YR.js} +16 -16
  230. package/dist/{render-MG5MX45D.js → render-BCKSDBLK.js} +8 -8
  231. package/dist/{render-PFBZJRAN.js → render-DFUMSKVQ.js} +65 -55
  232. package/dist/{render-WYDOZEZ5.js → render-MENZ6KS5.js} +82 -50
  233. package/dist/{render-batch-C3XGAQGX.js → render-batch-DPT67NDL.js} +8 -8
  234. package/dist/renderSetupWorker.js +8 -8
  235. package/dist/{resolver-AGMKICJW.js → resolver-EE3255VM.js} +7 -7
  236. package/dist/{reverse-TV524NFW.js → reverse-TA73U7V6.js} +1 -1
  237. package/dist/{run-NQBD5RDR.js → run-Y2ISHW5P.js} +5 -4
  238. package/dist/{screenshotCapture-OUZMH7EQ.js → screenshotCapture-CEEBQ3FU.js} +14 -14
  239. package/dist/{service-UIHDIMFM.js → service-6P6QVFNF.js} +19 -18
  240. package/dist/{share-WD7MCA4I.js → share-Q25X6AIX.js} +24 -23
  241. package/dist/{sherpa-H67ZJICN.js → sherpa-PPSJ23WI.js} +16 -16
  242. package/dist/sherpaWorker.js +2 -2
  243. package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
  244. package/dist/skills/media-use/audio/references/tts.md +3 -2
  245. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +95 -15
  246. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +192 -2
  247. package/dist/skills/media-use/references/heygen.md +1 -1
  248. package/dist/{skills-7TUSQF6W.js → skills-PVJJ3R2V.js} +14 -13
  249. package/dist/{skillsUpdateCheck-HF6SQWRA.js → skillsUpdateCheck-L4TGSUN6.js} +6 -4
  250. package/dist/{snapshot-P7ZSTKED.js → snapshot-AIAJRR5C.js} +93 -54
  251. package/dist/{src-TQQ743H4.js → src-O5P56HIK.js} +20 -14
  252. package/dist/{src-H2EUJUV3.js → src-UEH4H4UY.js} +18 -19
  253. package/dist/{start-7ZTAKHD4.js → start-HY5WGCDN.js} +30 -28
  254. package/dist/{staticProjectServer-X4PARIVN.js → staticProjectServer-WNKXSUBZ.js} +28 -27
  255. package/dist/{status-ELQXIXIB.js → status-AFDHSUGG.js} +21 -20
  256. package/dist/studio/assets/{hyperframes-player-D7LhzIg1.js → hyperframes-player-z7r-N5fm.js} +2 -2
  257. package/dist/studio/assets/{index-CQ7o0CBU.js → index-2QPHxCxy.js} +1 -1
  258. package/dist/studio/assets/{index-D3WxJaqm.js → index-Dpo7Q_9-.js} +160 -160
  259. package/dist/studio/assets/index-Dv67Vrl6.js +74 -0
  260. package/dist/studio/assets/{pausedVideoDecoder-BVUmBgn0.js → pausedVideoDecoder-BarDYEAf.js} +1 -1
  261. package/dist/studio/index.html +1 -1
  262. package/dist/{studio-api-OJEU24EG.js → studio-api-P72FA5XB.js} +18 -18
  263. package/dist/{studioServer-E5CLZC46.js → studioServer-RICH4NMX.js} +81 -70
  264. package/dist/{sync-VEJWMKDP.js → sync-J66DIXED.js} +19 -18
  265. package/dist/system-I5KGZTUG.js +1 -1
  266. package/dist/{telemetry-3U4UGQ5V.js → telemetry-KOOKPGMR.js} +10 -10
  267. package/dist/{templates-AUAOWIYA.js → templates-6DRGOTNH.js} +19 -18
  268. package/dist/{timeline-YO27AP66.js → timeline-UZX7366C.js} +29 -28
  269. package/dist/{tokens-UXLQGLVG.js → tokens-AU3BUE6U.js} +2 -2
  270. package/dist/{transcribe-I7MTUH4M.js → transcribe-CW5HK2OA.js} +33 -32
  271. package/dist/{transcribe-FZ3TE4FK.js → transcribe-OUTSVFRZ.js} +15 -15
  272. package/dist/{tts-3VHEX4RB.js → tts-X3MAUZ7E.js} +1 -1
  273. package/dist/{update-KBKSO3SH.js → update-KRYJ6ACJ.js} +15 -14
  274. package/dist/{updateCheck-MUYN55HR.js → updateCheck-WQVGQLCG.js} +5 -3
  275. package/dist/{upgrade-CRCX7CCK.js → upgrade-S54RPT3R.js} +6 -4
  276. package/dist/{urlDownloader-4EM6GLN4.js → urlDownloader-MASRYSQX.js} +11 -11
  277. package/dist/{validate-Y2KF2DU3.js → validate-4QVUHCYG.js} +36 -35
  278. package/dist/{video-HG6SINBD.js → video-AEGOEGSP.js} +13 -13
  279. package/dist/{voices-O4UHHFZS.js → voices-T4U7EU5X.js} +29 -27
  280. package/dist/warmCheck.js +52 -50
  281. package/dist/warmCheckClient.js +2 -1
  282. package/package.json +1 -1
  283. package/dist/chunk-DQZRNGDS.js +0 -5069
  284. package/dist/chunk-IGLEPPTN.js +0 -24
  285. package/dist/chunk-L2U4ISSS.js +0 -93
  286. package/dist/studio/assets/index-BX3KHhGX.js +0 -71
  287. package/dist/{chunk-445BBSZS.js → chunk-UMRNTF3C.js} +3 -3
  288. package/dist/{synthesize-HOLHQCR2.js → synthesize-UKCQR7WW.js} +1 -1
@@ -19,7 +19,11 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-R64WJS45.js";
22
+ } from "./chunk-FH6KC5EF.js";
23
+ import {
24
+ MEDIA_LINK_ATTR,
25
+ relinkSplitHalves
26
+ } from "./chunk-HYO4DIYT.js";
23
27
  import {
24
28
  DEFAULT_TARGET_LUFS,
25
29
  absoluteLoudnessPlan,
@@ -28,11 +32,7 @@ import {
28
32
  requestedProjectPath,
29
33
  requiredFfmpeg,
30
34
  resolveLocalAudioPath
31
- } from "./chunk-UX2KMUKC.js";
32
- import {
33
- MEDIA_LINK_ATTR,
34
- relinkSplitHalves
35
- } from "./chunk-DONVZZLV.js";
35
+ } from "./chunk-CTHG3WLB.js";
36
36
  import {
37
37
  PROXY_PARAMS_VERSION,
38
38
  PROXY_PENDING_RETRY_AFTER_SECONDS,
@@ -56,11 +56,11 @@ import {
56
56
  scanProjectMedia,
57
57
  shouldPrewarmProxy,
58
58
  waitForProxy
59
- } from "./chunk-I6SCA2ME.js";
59
+ } from "./chunk-ZT7RB42S.js";
60
60
  import {
61
61
  probeAudioTrack,
62
62
  probeMediaMetadata
63
- } from "./chunk-MQGRMXFN.js";
63
+ } from "./chunk-365OGBQ2.js";
64
64
  import {
65
65
  HistoryBusyError,
66
66
  MAX_WINDOW_IDLE_MS,
@@ -75,7 +75,7 @@ import {
75
75
  resolveProjectSignature,
76
76
  serveWhileOpen,
77
77
  settledFileTag
78
- } from "./chunk-22EEGJLH.js";
78
+ } from "./chunk-5JOYZGHQ.js";
79
79
  import {
80
80
  findTimelineScript,
81
81
  parseGsapScriptAcorn
@@ -94,10 +94,10 @@ import {
94
94
  import {
95
95
  getMimeType,
96
96
  isAudioFile
97
- } from "./chunk-4QFWV5GQ.js";
97
+ } from "./chunk-P2ZMVHTF.js";
98
98
  import {
99
99
  MEDIA_INPUT_ARGS
100
- } from "./chunk-7RLMDAUO.js";
100
+ } from "./chunk-6T4PB35F.js";
101
101
  import {
102
102
  isInHiddenOrVendorDir,
103
103
  isLinkFreeWithinProject,
@@ -121,7 +121,7 @@ import {
121
121
  ensureHfIds,
122
122
  stampHfIdsInPlace,
123
123
  stripSdrPngColourTags
124
- } from "./chunk-UBHBB3TB.js";
124
+ } from "./chunk-PUT3NPVE.js";
125
125
  import {
126
126
  atomicTempPath,
127
127
  catchHeldRename,
@@ -147,7 +147,7 @@ import {
147
147
  normalizeGsapLocalRoot,
148
148
  parseFps,
149
149
  parsePreviewProxyBox
150
- } from "./chunk-U7ZCBWNM.js";
150
+ } from "./chunk-FU2R6OVR.js";
151
151
  import {
152
152
  AFTER_FONTS_SCRIPT_TYPE,
153
153
  RUNTIME_BOOTSTRAP_ATTR,
@@ -162,7 +162,7 @@ import {
162
162
  resolveRateSpec,
163
163
  sourceTimeAt,
164
164
  stripEmbeddedRuntimeScripts
165
- } from "./chunk-DQZRNGDS.js";
165
+ } from "./chunk-3FHPYC6X.js";
166
166
  import {
167
167
  ProjectRootMissingError,
168
168
  folderGone,
@@ -175,12 +175,7 @@ import {
175
175
  import {
176
176
  isWithinProjectRoot,
177
177
  readProjectFile
178
- } from "./chunk-MP4TEYUJ.js";
179
- import {
180
- FFPROBE_PATH_ENV,
181
- findFfBinary,
182
- requireFfBinary
183
- } from "./chunk-IU5DC4HP.js";
178
+ } from "./chunk-6EMFSRTW.js";
184
179
  import {
185
180
  decodeCssEscapes,
186
181
  decodeWellFormedEscapes,
@@ -191,7 +186,7 @@ import {
191
186
  rewriteCssAssetUrls,
192
187
  rewriteInlineStyleAssetUrls,
193
188
  sameInstant
194
- } from "./chunk-6MKM2RVL.js";
189
+ } from "./chunk-IH2C53YV.js";
195
190
  import {
196
191
  HTML_ATTRIBUTE_ENTITIES,
197
192
  MagicString,
@@ -199,7 +194,7 @@ import {
199
194
  decodeAuthoredAttribute,
200
195
  scanHtmlOpeningTags,
201
196
  unrollComputedTimeline
202
- } from "./chunk-M425BL2U.js";
197
+ } from "./chunk-VCKUDUPN.js";
203
198
  import {
204
199
  parseHTML
205
200
  } from "./chunk-GWTIFRF5.js";
@@ -208,6 +203,11 @@ import {
208
203
  full,
209
204
  simple
210
205
  } from "./chunk-WC4MTXGN.js";
206
+ import {
207
+ FFPROBE_PATH_ENV,
208
+ findFfBinary,
209
+ requireFfBinary
210
+ } from "./chunk-IU5DC4HP.js";
211
211
 
212
212
  // ../studio-server/dist/chunk-UEEXAVOA.js
213
213
  function findUnsafeMutationValues(value, path = "body", options = {}) {
@@ -234,7 +234,7 @@ function findUnsafeDomPatchValues(value) {
234
234
  });
235
235
  }
236
236
 
237
- // ../studio-server/dist/chunk-FJ5C22OV.js
237
+ // ../studio-server/dist/chunk-QSGY6LJM.js
238
238
  import { hostname, networkInterfaces } from "os";
239
239
  function isLoopbackHost(host) {
240
240
  if (!host) return false;
@@ -288,15 +288,36 @@ function identityAllowed(host) {
288
288
  if (bind === "" || isLoopbackHost(bind)) return false;
289
289
  return hostMatchesBind(host, bind);
290
290
  }
291
- function hostAllowed(host, allowedHosts) {
292
- if (identityAllowed(host)) return true;
291
+ function inAllowedHosts(host, allowedHosts) {
293
292
  if (!allowedHosts) return false;
294
293
  const name = hostnameOf(host);
295
294
  return name !== "" && allowedHosts.some((allowed) => hostnameOf(allowed) === name);
296
295
  }
296
+ function hostAllowed(host, allowedHosts) {
297
+ return identityAllowed(host) || inAllowedHosts(host, allowedHosts);
298
+ }
297
299
  function hostHeaderAllowed(host, allowedHosts) {
298
300
  return host !== void 0 && host !== "" && hostAllowed(host, allowedHosts);
299
301
  }
302
+ function wildcardBindHostAllowed(host, allowedHosts) {
303
+ if (host === void 0 || host === "") return false;
304
+ return isLoopbackHost(host) || hostMatchesBind(host, "0.0.0.0") || inAllowedHosts(host, allowedHosts);
305
+ }
306
+ function refererNamesHost(referer, host) {
307
+ if (!referer) return false;
308
+ try {
309
+ return new URL(referer).host.toLowerCase() === host.toLowerCase();
310
+ } catch {
311
+ return false;
312
+ }
313
+ }
314
+ function requestFromAnotherSite(headers) {
315
+ const site = headers.fetchSite;
316
+ if (site !== void 0) return site === "cross-site" || site === "same-site";
317
+ const { host } = headers;
318
+ if (!host || isLoopbackHost(host)) return false;
319
+ return !refererNamesHost(headers.referer, host);
320
+ }
300
321
  function firstForwarded(value) {
301
322
  const first = value?.split(",")[0]?.trim();
302
323
  return first === "" ? void 0 : first;
@@ -466,7 +487,7 @@ function clearElementScreenshotIsolation() {
466
487
  page.__hfThumbnailFaded = [];
467
488
  }
468
489
 
469
- // ../studio-server/dist/chunk-OVNQPSBS.js
490
+ // ../studio-server/dist/chunk-ACRUQXAT.js
470
491
  import { resolve } from "path";
471
492
  function isAutoProxyEnabled(adapter) {
472
493
  return adapter.autoProxy !== false;
@@ -702,6 +723,17 @@ function studioMotionRenderRuntime(manifestContent, activeCompositionPath) {
702
723
 
703
724
  // ../studio-server/dist/index.js
704
725
  import { Hono } from "hono";
726
+
727
+ // ../core/dist/studioPreviewMark.js
728
+ var STUDIO_PREVIEW_MARK_META = "hyperframes-studio-preview";
729
+ var STUDIO_PREVIEW_CAPTURE_MODE = "capture";
730
+ var PREVIEW_FOR_ANOTHER_SITE_META = "hyperframes-preview-for-another-site";
731
+ var STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
732
+ var STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
733
+ var STUDIO_PREVIEW_ERROR_KINDS = "__hfPreviewErrorKinds";
734
+ var refusedPreviewMessage = (status) => `The preview page could not be loaded (HTTP ${status}).`;
735
+
736
+ // ../studio-server/dist/index.js
705
737
  import { readFile } from "fs/promises";
706
738
  import { join as join2 } from "path";
707
739
  import { bodyLimit } from "hono/body-limit";
@@ -3994,16 +4026,6 @@ import { createReadStream, existsSync as existsSync5, readFileSync as readFileSy
3994
4026
  import { Readable } from "stream";
3995
4027
  import { join as join8, resolve as resolve4 } from "path";
3996
4028
  import { createHash as createHash3 } from "crypto";
3997
-
3998
- // ../core/dist/studioPreviewMark.js
3999
- var STUDIO_PREVIEW_MARK_META = "hyperframes-studio-preview";
4000
- var STUDIO_PREVIEW_CAPTURE_MODE = "capture";
4001
- var STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
4002
- var STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
4003
- var STUDIO_PREVIEW_ERROR_KINDS = "__hfPreviewErrorKinds";
4004
- var refusedPreviewMessage = (status) => `The preview page could not be loaded (HTTP ${status}).`;
4005
-
4006
- // ../studio-server/dist/index.js
4007
4029
  import { readlinkSync as readlinkSync2 } from "fs";
4008
4030
  import { dirname as dirname4, join as join7, parse as parse2, relative as relative3, resolve as resolve32 } from "path";
4009
4031
  import { readFileSync as readFileSync7 } from "fs";
@@ -4039,14 +4061,14 @@ import { dirname as dirname6, join as join11 } from "path";
4039
4061
  import { createHash as createHash5, randomUUID as randomUUID2 } from "crypto";
4040
4062
  import { isIP } from "net";
4041
4063
  import { existsSync as existsSync7, readFileSync as readFileSync10, statSync as statSync7 } from "fs";
4042
- import { join as join12, resolve as resolve5 } from "path";
4064
+ import { join as join12, relative as relative4, resolve as resolve5 } from "path";
4043
4065
  import { execFile } from "child_process";
4044
4066
  import { readFileSync as readFileSync11, rmSync as rmSync5, statSync as statSync8 } from "fs";
4045
- import { basename as basename2, dirname as dirname7, join as join13, relative as relative4, sep as sep3 } from "path";
4067
+ import { basename as basename2, dirname as dirname7, join as join13, relative as relative5, sep as sep3 } from "path";
4046
4068
  import { createHash as createHash6, randomBytes } from "crypto";
4047
4069
  import { existsSync as existsSync8 } from "fs";
4048
4070
  import { existsSync as existsSync9, readFileSync as readFileSync12, statSync as statSync9 } from "fs";
4049
- import { join as join14, resolve as resolve6 } from "path";
4071
+ import { join as join14, relative as relative6, resolve as resolve6 } from "path";
4050
4072
  import { spawn as spawn2 } from "child_process";
4051
4073
  import { closeSync as closeSync3, constants as constants2, fstatSync as fstatSync3, openSync as openSync3, readSync } from "fs";
4052
4074
  import { streamSSE as streamSSE2 } from "hono/streaming";
@@ -4147,8 +4169,8 @@ var PATH_ATTR = /(\s(?:src|href|poster|xlink:href)\s*=\s*)(?:"([^"]*)"|'([^']*)'
4147
4169
  var CSS_ROOT_URL = /(\burl\(\s*)(["']?)(\/(?!\/)[^"')\s]*)\2/gi;
4148
4170
  var projectRelative = (path, base) => ROOT_PATH.test(path) && path !== "/" && !path.startsWith(base) ? path.slice(1) : path;
4149
4171
  var underBase = (path, base) => {
4150
- const relative5 = projectRelative(path, base);
4151
- return relative5 === path ? path : base + relative5;
4172
+ const relative7 = projectRelative(path, base);
4173
+ return relative7 === path ? path : base + relative7;
4152
4174
  };
4153
4175
  function withRootPathsRelative(html, base) {
4154
4176
  const css = (text2) => text2.replace(
@@ -5055,7 +5077,7 @@ function resolveGsapWriter(env) {
5055
5077
  throw new Error(`Invalid ${GSAP_WRITER_MIGRATION.flag}=${configured}; expected recast or acorn`);
5056
5078
  }
5057
5079
  async function loadGsapParser() {
5058
- return import("./gsapParser-L7TM3RGH.js");
5080
+ return import("./gsapParser-TSPNHW7F.js");
5059
5081
  }
5060
5082
  function isDanglingSymlinkInProject(projectDir, lexicalPath) {
5061
5083
  if (!isSafePath(projectDir, dirname3(lexicalPath))) return false;
@@ -5918,7 +5940,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5918
5940
  let block = extractGsapScriptBlock(html);
5919
5941
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5920
5942
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5921
- const { GSAP_CDN } = await import("./dist-MXWEGMRB.js");
5943
+ const { GSAP_CDN } = await import("./dist-AAGJ6SXG.js");
5922
5944
  const bootstrap = [
5923
5945
  `<script src="${GSAP_CDN}"></script>`,
5924
5946
  "<script>",
@@ -7920,7 +7942,48 @@ function corsProjectVideos(html) {
7920
7942
  parts.push(html.slice(from));
7921
7943
  return parts.join("");
7922
7944
  }
7945
+ var JobAbandonedError = class extends Error {
7946
+ constructor() {
7947
+ super("job abandoned before it started");
7948
+ this.name = "JobAbandonedError";
7949
+ }
7950
+ };
7951
+ function createJobSlots(limit) {
7952
+ let running = 0;
7953
+ const waiting = [];
7954
+ const acquire = (signal) => new Promise((resolve7, reject) => {
7955
+ if (signal?.aborted) return reject(new JobAbandonedError());
7956
+ if (running < limit) {
7957
+ running++;
7958
+ return resolve7();
7959
+ }
7960
+ const leave = () => {
7961
+ waiting.splice(waiting.indexOf(start), 1);
7962
+ reject(new JobAbandonedError());
7963
+ };
7964
+ const start = () => {
7965
+ signal?.removeEventListener("abort", leave);
7966
+ resolve7();
7967
+ };
7968
+ waiting.push(start);
7969
+ signal?.addEventListener("abort", leave, { once: true });
7970
+ });
7971
+ const release = () => {
7972
+ const next = waiting.shift();
7973
+ if (next) next();
7974
+ else running--;
7975
+ };
7976
+ return async function run(job, signal) {
7977
+ await acquire(signal);
7978
+ try {
7979
+ return await job();
7980
+ } finally {
7981
+ release();
7982
+ }
7983
+ };
7984
+ }
7923
7985
  var PROJECT_SIGNATURE_META = "hyperframes-project-signature";
7986
+ var runStillJob = createJobSlots(4);
7924
7987
  function escapeGsapUrl(url) {
7925
7988
  return url.replace(/&/g, "&amp;").replace(/"/g, "&quot;");
7926
7989
  }
@@ -8411,7 +8474,11 @@ ${etag}`;
8411
8474
  return c.text("not found", 404);
8412
8475
  }
8413
8476
  try {
8414
- const still = await resolveStill(project.dir, file, at, proxyBox);
8477
+ const inSlot = (make) => runStillJob(make, c.req.raw.signal);
8478
+ const ask = () => resolveStill(project.dir, file, at, proxyBox, inSlot, c.req.raw.signal);
8479
+ const still = await ask().catch(
8480
+ (err) => err instanceof JobAbandonedError && !c.req.raw.signal.aborted ? ask() : Promise.reject(err)
8481
+ );
8415
8482
  return new Response(readFileSync6(still), {
8416
8483
  headers: { "Content-Type": "image/jpeg", "Cache-Control": "private, max-age=3600" }
8417
8484
  });
@@ -8986,9 +9053,9 @@ async function generateThumbnail(loadSharp, path, signal) {
8986
9053
  async function resolveSource(adapter, id, url) {
8987
9054
  const project = await adapter.resolveProject(id);
8988
9055
  if (!project) throw new HTTPException(404);
8989
- const relative5 = requestSubPath(url, "projects/:id/image-thumbnail");
8990
- if (!/\.jpe?g$/i.test(relative5)) throw new HTTPException(415);
8991
- const path = pinWithinProject(project.dir, relative5);
9056
+ const relative7 = requestSubPath(url, "projects/:id/image-thumbnail");
9057
+ if (!/\.jpe?g$/i.test(relative7)) throw new HTTPException(415);
9058
+ const path = pinWithinProject(project.dir, relative7);
8992
9059
  if (!path) throw new HTTPException(404);
8993
9060
  const info = await stat(path).catch(() => {
8994
9061
  throw new HTTPException(404);
@@ -9277,7 +9344,10 @@ function registerWaveformRoutes(api, adapter) {
9277
9344
  const stats = statSync7(audioPath, { throwIfNoEntry: false });
9278
9345
  if (!stats) return c.json({ error: "file not found" }, 404);
9279
9346
  const cacheDir = join12(project.dir, ".waveform-cache");
9280
- const cachePath = join12(cacheDir, buildWaveformCacheKey(assetPath, stats));
9347
+ const cachePath = join12(
9348
+ cacheDir,
9349
+ buildWaveformCacheKey(relative4(project.dir, audioPath), stats)
9350
+ );
9281
9351
  try {
9282
9352
  if (isWaveformCacheDirectory(cacheDir) && existsSync7(cachePath)) {
9283
9353
  const peaks2 = JSON.parse(readFileSync10(cachePath, "utf-8"));
@@ -9531,7 +9601,7 @@ async function extractThenPublishWhole(extract, mediaPath, mediaTime, imagePath)
9531
9601
  }
9532
9602
  async function extractStill(projectDir, absPath, source, playhead, tools) {
9533
9603
  const fileDir = dirname7(absPath);
9534
- const mediaPath = pinWithinProject(projectDir, relative4(projectDir, join13(fileDir, source.src)));
9604
+ const mediaPath = pinWithinProject(projectDir, relative5(projectDir, join13(fileDir, source.src)));
9535
9605
  if (!mediaPath) return { error: `forbidden media path: ${source.src}`, status: 403 };
9536
9606
  const freezeDir = join13(projectDir, ...FREEZE_DIR);
9537
9607
  const fileName = freezeStillFileName(source.id, playhead, tools.stillToken());
@@ -9547,7 +9617,7 @@ async function extractStill(projectDir, absPath, source, playhead, tools) {
9547
9617
  imagePath
9548
9618
  );
9549
9619
  if (failed) return failed;
9550
- const depth = relative4(projectDir, fileDir).split(sep3).filter(Boolean).length;
9620
+ const depth = relative5(projectDir, fileDir).split(sep3).filter(Boolean).length;
9551
9621
  const stillPath = `${FREEZE_DIR.join("/")}/${fileName}`;
9552
9622
  return { imageSrc: `${"../".repeat(depth)}${stillPath}`, stillPath, imagePath };
9553
9623
  }
@@ -9790,7 +9860,7 @@ function registerPeakRoutes(api, adapter, decode = decodePeakMap) {
9790
9860
  const stats = statSync9(mediaPath, { throwIfNoEntry: false });
9791
9861
  if (!stats?.isFile()) return c.json({ error: "file not found" }, 404);
9792
9862
  const cacheDir = join14(project.dir, ".waveform-cache");
9793
- const cachePath = join14(cacheDir, buildPeakMapCacheKey(assetPath, stats));
9863
+ const cachePath = join14(cacheDir, buildPeakMapCacheKey(relative6(project.dir, mediaPath), stats));
9794
9864
  const cached = readCachedBins(cacheDir, cachePath);
9795
9865
  if (cached) return c.json({ binSeconds: PEAK_BIN_SECONDS, bins: cached });
9796
9866
  let bins;
@@ -10557,22 +10627,50 @@ async function answerRefusedFrameWithPage(c, next) {
10557
10627
  headers
10558
10628
  });
10559
10629
  }
10560
- var fromAnotherSite = (c) => {
10561
- const site = c.req.header("sec-fetch-site");
10562
- return site === "cross-site" || site === "same-site";
10563
- };
10630
+ var fromAnotherSite = (c) => requestFromAnotherSite({
10631
+ fetchSite: c.req.header("sec-fetch-site"),
10632
+ host: c.req.header("host") ?? urlHost(c.req.url),
10633
+ referer: c.req.header("referer")
10634
+ });
10564
10635
  var isThumbnailCapture = (c) => c.req.query(PREVIEW_CAPTURE_PARAM) !== void 0;
10636
+ async function markPreviewForAnotherSite(c) {
10637
+ if (c.res.status !== 200 || !c.res.headers.get("content-type")?.startsWith("text/html")) return;
10638
+ const headers = new Headers(c.res.headers);
10639
+ headers.delete("content-length");
10640
+ headers.delete("etag");
10641
+ const marked = injectTagsAtHeadStart(
10642
+ await c.res.text(),
10643
+ `<meta name="${PREVIEW_FOR_ANOTHER_SITE_META}">`
10644
+ );
10645
+ c.res = void 0;
10646
+ c.res = new Response(marked, { status: 200, headers });
10647
+ }
10648
+ var FRAMED_DESTS = /* @__PURE__ */ new Set(["document", "iframe", "frame", "embed", "object", "fencedframe"]);
10649
+ var framedByAnotherSite = (c) => {
10650
+ if (!fromAnotherSite(c)) return false;
10651
+ const dest = c.req.header("sec-fetch-dest");
10652
+ return dest === void 0 || FRAMED_DESTS.has(dest);
10653
+ };
10654
+ function withoutValidators(request) {
10655
+ const headers = new Headers(request.headers);
10656
+ headers.delete("if-none-match");
10657
+ headers.delete("if-modified-since");
10658
+ return new Request(request, { headers });
10659
+ }
10565
10660
  var sandboxPreviewForAnotherSiteOrCapture = (sandboxCaptures) => async (c, next) => {
10661
+ if (framedByAnotherSite(c)) c.req.raw = withoutValidators(c.req.raw);
10566
10662
  await next();
10567
10663
  c.header("Vary", "Sec-Fetch-Site", { append: true });
10568
- if (fromAnotherSite(c) || sandboxCaptures && isThumbnailCapture(c))
10664
+ const anotherSite = fromAnotherSite(c);
10665
+ if (anotherSite || sandboxCaptures && isThumbnailCapture(c))
10569
10666
  c.header("Content-Security-Policy", "sandbox allow-scripts");
10667
+ if (anotherSite) await markPreviewForAnotherSite(c);
10570
10668
  };
10571
- async function refuseThumbnailForAnotherSite(c, next) {
10669
+ var refuseForAnotherSite = (what) => async (c, next) => {
10572
10670
  if (fromAnotherSite(c))
10573
- return c.json({ error: "forbidden: thumbnail requested by another site" }, 403);
10671
+ return c.json({ error: `forbidden: ${what} requested by another site` }, 403);
10574
10672
  return next();
10575
- }
10673
+ };
10576
10674
  function urlHost(url) {
10577
10675
  try {
10578
10676
  return new URL(url).host || void 0;
@@ -10606,7 +10704,9 @@ function createStudioApi(adapter, options = {}) {
10606
10704
  if (!projectId) return c.json({ error: "not found" }, 404);
10607
10705
  return c.json({ token: frameTokens.tokenFor(projectId) }, 200, { "Cache-Control": "no-store" });
10608
10706
  });
10609
- api.use("/projects/:id/thumbnail/*", refuseThumbnailForAnotherSite);
10707
+ api.use("/projects/:id/thumbnail/*", refuseForAnotherSite("thumbnail"));
10708
+ api.use("/projects/:id/waveform/*", refuseForAnotherSite("waveform"));
10709
+ api.use("/projects/:id/peaks/*", refuseForAnotherSite("peaks"));
10610
10710
  api.use(async function rejectCrossOriginWrites(c, next) {
10611
10711
  if (c.req.method === "GET" || c.req.method === "HEAD" || c.req.method === "OPTIONS") {
10612
10712
  return next();
@@ -10907,6 +11007,8 @@ export {
10907
11007
  previewAllowedHostsFromEnv,
10908
11008
  identityAllowed,
10909
11009
  hostHeaderAllowed,
11010
+ wildcardBindHostAllowed,
11011
+ requestFromAnotherSite,
10910
11012
  sameOriginPost,
10911
11013
  stampProjectHfIds,
10912
11014
  stampProjectHfIdsAsync,
@@ -10917,6 +11019,7 @@ export {
10917
11019
  createStudioMotionRenderBodyScript,
10918
11020
  STUDIO_PREVIEW_MARK_META,
10919
11021
  STUDIO_PREVIEW_CAPTURE_MODE,
11022
+ PREVIEW_FOR_ANOTHER_SITE_META,
10920
11023
  buildSubCompositionHtml,
10921
11024
  compositionsAffectedBy,
10922
11025
  applyFileMutations,
@@ -8,11 +8,11 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-ZGWOCGSJ.js";
11
+ } from "./chunk-T3QK3VKM.js";
12
12
  import {
13
13
  MOTION_BLUR_FINGERPRINT_FIELDS,
14
14
  redactTelemetryString
15
- } from "./chunk-U7ZCBWNM.js";
15
+ } from "./chunk-FU2R6OVR.js";
16
16
  import {
17
17
  getPowerState
18
18
  } from "./chunk-NFRKPLTJ.js";
@@ -4,32 +4,32 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ parseDeliveryFlags
9
+ } from "./chunk-XZZF6YBS.js";
7
10
  import {
8
11
  hasExplicitCompositionArg,
9
12
  resolveCompositionEntryArg
10
- } from "./chunk-6MYO2IHD.js";
13
+ } from "./chunk-IHXMN5YH.js";
11
14
  import {
12
15
  parseEnumFlag
13
16
  } from "./chunk-I6V25IXG.js";
14
- import {
15
- parseDeliveryFlags
16
- } from "./chunk-HT4FWRIT.js";
17
17
  import {
18
18
  resolveProject
19
- } from "./chunk-UB44XZOI.js";
19
+ } from "./chunk-GVUG5VDL.js";
20
20
  import {
21
21
  parseGifLoopArg,
22
22
  parseHlsSegmentSecondsArg,
23
23
  resolveBrowserTimeoutMsArg,
24
24
  resolveDefaultFpsArg
25
- } from "./chunk-XHUFLQGD.js";
25
+ } from "./chunk-5CRHNVJW.js";
26
26
  import {
27
27
  errorBox
28
28
  } from "./chunk-ZLTB7ZCQ.js";
29
29
  import {
30
30
  loadProjectConfig,
31
31
  readProjectConfigWithStatus
32
- } from "./chunk-FCNMU7LC.js";
32
+ } from "./chunk-4FOHO7GC.js";
33
33
  import {
34
34
  normalizeSkillSlug
35
35
  } from "./chunk-HVW7ABXD.js";
@@ -38,22 +38,22 @@ import {
38
38
  MAX_VP9_CPU_USED,
39
39
  MIN_VP9_CPU_USED,
40
40
  isVideoFrameFormat
41
- } from "./chunk-VXX4S2PH.js";
41
+ } from "./chunk-XBPLO6CY.js";
42
42
  import {
43
43
  DISTRIBUTED_FPS,
44
44
  formatRenderOutputTimestamp,
45
45
  fpsToNumber,
46
46
  isDistributedFps,
47
47
  parseFps
48
- } from "./chunk-U7ZCBWNM.js";
48
+ } from "./chunk-FU2R6OVR.js";
49
49
  import {
50
50
  collectSubCompositionSrcs,
51
51
  resolveCompositionSrc
52
- } from "./chunk-MP4TEYUJ.js";
52
+ } from "./chunk-6EMFSRTW.js";
53
53
  import {
54
54
  isAspectAgnosticResolutionAlias,
55
55
  normalizeResolutionFlag
56
- } from "./chunk-M425BL2U.js";
56
+ } from "./chunk-VCKUDUPN.js";
57
57
  import {
58
58
  failUsage
59
59
  } from "./chunk-66W5IWLO.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-JJ47LVJ7.js";
19
19
  import {
20
20
  trackSkillsInstallSkipped
21
- } from "./chunk-SQ64IEA7.js";
21
+ } from "./chunk-3HQ4C4HI.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-YPURY3MW.js";
42
+ } from "./chunk-LKWN2F7O.js";
43
43
  import {
44
44
  NO_UPDATE_NOTICE,
45
45
  withMeta
46
- } from "./chunk-UIIQA7DN.js";
46
+ } from "./chunk-W6WVHIU7.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-7SZ7QQJ3.js";
57
+ } from "./chunk-2ST2FAVH.js";
58
58
 
59
59
  // src/commands/skills.ts
60
60
  import { execFileSync, spawn } from "child_process";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-H2EUJUV3.js");
10
+ return await import("./src-UEH4H4UY.js");
11
11
  }
12
12
 
13
13
  export {
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-MOTJT42J.js";
15
+ } from "./chunk-HJ2YUPBF.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  SourceIgnoreError,
11
11
  ownerOf,
12
12
  reviewSentence
13
- } from "./chunk-ETXOQXWT.js";
13
+ } from "./chunk-SH6PAYUD.js";
14
14
  import {
15
15
  isAuthError
16
16
  } from "./chunk-DMW5SSUN.js";
@@ -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-U7ZCBWNM.js";
9
+ } from "./chunk-FU2R6OVR.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";