hyperframes 0.9.52 → 0.9.54

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 (310) hide show
  1. package/dist/{add-Z6G2DLNE.js → add-OVHVUHQR.js} +26 -21
  2. package/dist/{agentPromptGenerator-RCTC2XXL.js → agentPromptGenerator-L2B3HMHF.js} +16 -21
  3. package/dist/{animatedGifPrep-X7KILCDI.js → animatedGifPrep-YMJH33FX.js} +19 -20
  4. package/dist/api.js +52 -51
  5. package/dist/{appHistory-DK2XI4EZ.js → appHistory-T3ZLA7QN.js} +4 -3
  6. package/dist/{asset-A3ENWWCU.js → asset-ORCN4EVH.js} +2 -2
  7. package/dist/{assetCataloger-TIMZTOYH.js → assetCataloger-X23VB66T.js} +17 -17
  8. package/dist/{audio-HMCUO2CV.js → audio-NHNXBUI2.js} +103 -74
  9. package/dist/{auth-NXR3QM4C.js → auth-DQDDXQFC.js} +5 -5
  10. package/dist/{autoUpdate-TY7P2Z4F.js → autoUpdate-LF7BJN34.js} +4 -2
  11. package/dist/{avatars-36MYJUPA.js → avatars-KFUMWRVX.js} +23 -21
  12. package/dist/{backgroundChecks-EWWJEGF6.js → backgroundChecks-Y6RHADW6.js} +5 -3
  13. package/dist/backgroundChecksWorker.js +5 -4
  14. package/dist/{batchRender-VKM4E7PI.js → batchRender-CMG4SVBX.js} +27 -8
  15. package/dist/{beats-Z4B4B4KM.js → beats-JXZBK7JI.js} +17 -17
  16. package/dist/{benchmark-PLGO2THH.js → benchmark-CLU6JUGY.js} +34 -16
  17. package/dist/{billing-ZIXACCLR.js → billing-5GMYFDMC.js} +23 -22
  18. package/dist/{browser-VZFBNASB.js → browser-S4R6LZMF.js} +13 -13
  19. package/dist/{bundleWithLocalizedFonts-XD2XDEQL.js → bundleWithLocalizedFonts-SFUFSBEU.js} +1 -1
  20. package/dist/{capture-BAFLHNDI.js → capture-A3FLQIDI.js} +32 -33
  21. package/dist/{capture-GC4F54XT.js → capture-NL7V23HG.js} +5 -5
  22. package/dist/{captureCompositionFrame-YBVEFKWM.js → captureCompositionFrame-R7GYVNTF.js} +22 -22
  23. package/dist/{captureFile-R5JZ7WRA.js → captureFile-LXMDM5TD.js} +3 -3
  24. package/dist/{catalog-LHOCJUO2.js → catalog-42I7W7AU.js} +26 -21
  25. package/dist/{catch-up-6FNQ6I7Q.js → catch-up-TFSQZQZD.js} +16 -15
  26. package/dist/{check-S7T5LE6V.js → check-CXRQZBLD.js} +59 -56
  27. package/dist/{checkAudio-AKOI4AWK.js → checkAudio-AJUH6RU6.js} +20 -20
  28. package/dist/{checkBrowser-NABXGNNM.js → checkBrowser-4BLSYI25.js} +52 -49
  29. package/dist/{chunk-47MEWWCO.js → chunk-26RTKW2U.js} +2 -2
  30. package/dist/{chunk-UAU4SIOQ.js → chunk-2PASB3PC.js} +8 -8
  31. package/dist/{chunk-ZG6BVWQ7.js → chunk-32DAUKF5.js} +4 -4
  32. package/dist/{chunk-YXQA6MKA.js → chunk-3IHRXHJQ.js} +4 -4
  33. package/dist/{chunk-PRG42HNH.js → chunk-3IUBSGD2.js} +2 -2
  34. package/dist/{chunk-GEIWJSWN.js → chunk-3NPZZT2K.js} +10 -10
  35. package/dist/{chunk-5B425ZB3.js → chunk-3NXY6O4X.js} +1 -1
  36. package/dist/{chunk-U7ZCBWNM.js → chunk-4IUOWNDS.js} +3 -3
  37. package/dist/{chunk-4OHV7UZZ.js → chunk-4NG5GSTO.js} +1 -1
  38. package/dist/{chunk-CIMOTEZB.js → chunk-4Q3Q4NFK.js} +4 -4
  39. package/dist/{chunk-KUZTIMY3.js → chunk-4WK4O5FI.js} +8 -8
  40. package/dist/{chunk-CIGQUDEV.js → chunk-4ZFNNWUX.js} +51 -16
  41. package/dist/{chunk-2MNSS7PH.js → chunk-5HJZGP54.js} +3 -3
  42. package/dist/{chunk-UX2KMUKC.js → chunk-5XLTJMCN.js} +10 -10
  43. package/dist/{chunk-YXR5MVBM.js → chunk-63ESYLBY.js} +2 -2
  44. package/dist/{chunk-MP4TEYUJ.js → chunk-6EMFSRTW.js} +4 -1
  45. package/dist/{chunk-S5EMQAKL.js → chunk-6SRBTOGD.js} +3 -3
  46. package/dist/{chunk-7RLMDAUO.js → chunk-6T4PB35F.js} +2 -1
  47. package/dist/{chunk-IB722ALN.js → chunk-73UFPVUC.js} +2 -2
  48. package/dist/{chunk-KLIVZ5VG.js → chunk-75TCOXNT.js} +1 -1
  49. package/dist/{chunk-C66O6A2J.js → chunk-77U3646W.js} +2 -2
  50. package/dist/{chunk-64T46P7K.js → chunk-7RGWVZOS.js} +3 -3
  51. package/dist/{chunk-MF53JVZ5.js → chunk-7RI3U46M.js} +1 -1
  52. package/dist/{chunk-G6QCHM2N.js → chunk-7WRLK2K4.js} +5 -5
  53. package/dist/{chunk-YPURY3MW.js → chunk-AROERRUJ.js} +2 -2
  54. package/dist/{chunk-MOTJT42J.js → chunk-ATKA5KHE.js} +15 -3
  55. package/dist/{chunk-Z2EKCD7H.js → chunk-AU4ZBCR3.js} +1 -1
  56. package/dist/{chunk-6NGJ55V5.js → chunk-AYESPEPQ.js} +2 -2
  57. package/dist/{chunk-FCNMU7LC.js → chunk-B5HSHXE2.js} +2 -2
  58. package/dist/{chunk-CDK23M57.js → chunk-B6AK5P2D.js} +9 -9
  59. package/dist/{chunk-UBHBB3TB.js → chunk-BBDWXUO3.js} +45 -53
  60. package/dist/{chunk-AMWWQXTC.js → chunk-BDWLBCTG.js} +7 -7
  61. package/dist/{chunk-NQ3NHCF6.js → chunk-BNONW4QT.js} +2 -2
  62. package/dist/{chunk-POGZYVM2.js → chunk-C7LNWZ7G.js} +9 -9
  63. package/dist/{chunk-WN4W76IQ.js → chunk-CAYQATCT.js} +1 -1
  64. package/dist/{chunk-TDQUQAW5.js → chunk-CBCB6GPL.js} +105 -41
  65. package/dist/{chunk-U3LWQGCD.js → chunk-CIYNUD7Q.js} +1 -1
  66. package/dist/{chunk-SQ64IEA7.js → chunk-CNZOKODL.js} +3 -3
  67. package/dist/{chunk-7VQ3RAKO.js → chunk-CWXJZB44.js} +19 -16
  68. package/dist/{chunk-J45SCYTD.js → chunk-D4EGZYDN.js} +8 -8
  69. package/dist/{chunk-ZW6ZUKBB.js → chunk-DOLVT6CH.js} +1 -1
  70. package/dist/{chunk-E2KJT7JR.js → chunk-DVTRMGYG.js} +2 -2
  71. package/dist/{chunk-I6SCA2ME.js → chunk-DWDCE4PO.js} +55 -26
  72. package/dist/{chunk-P37ZACC6.js → chunk-DXVK3NMV.js} +3 -3
  73. package/dist/{chunk-DPVXBVLL.js → chunk-DZWAYZG2.js} +6254 -6096
  74. package/dist/{chunk-HD5RVDL6.js → chunk-E2DHBP6C.js} +1 -1
  75. package/dist/{chunk-IU5DC4HP.js → chunk-E7T5SMDK.js} +44 -15
  76. package/dist/{chunk-HS7LT4PL.js → chunk-E7X54BVP.js} +1 -1
  77. package/dist/{chunk-DE7Q2LWF.js → chunk-EA5W2DWO.js} +2 -2
  78. package/dist/{chunk-4Q2HYZZK.js → chunk-EB4IWBBC.js} +58 -3
  79. package/dist/{chunk-B2ZZYISD.js → chunk-ECGNWHFE.js} +29 -6
  80. package/dist/{chunk-H4S3WY2N.js → chunk-EKANCN4D.js} +3 -3
  81. package/dist/{chunk-TI7JN55F.js → chunk-EKCGL4MV.js} +1 -1
  82. package/dist/{chunk-7SZ7QQJ3.js → chunk-ELA3IV4P.js} +2 -2
  83. package/dist/{chunk-SZGQU7EB.js → chunk-ER22SVLT.js} +1 -1
  84. package/dist/{chunk-I2UMQAOQ.js → chunk-EXXIFMUX.js} +1 -1
  85. package/dist/{chunk-UIIQA7DN.js → chunk-EZQJFCWA.js} +6 -3
  86. package/dist/{chunk-YJFIGFON.js → chunk-F64VFCVC.js} +2 -2
  87. package/dist/{chunk-UX4HQHMS.js → chunk-F7B2YDPM.js} +17 -13
  88. package/dist/{chunk-ETXOQXWT.js → chunk-FICKJQU2.js} +5 -5
  89. package/dist/{chunk-24M5C5EQ.js → chunk-FUPEHRNT.js} +2 -2
  90. package/dist/{chunk-VXX4S2PH.js → chunk-GA6QR6LN.js} +648 -166
  91. package/dist/{chunk-P27QDOID.js → chunk-GEUM7NDY.js} +2 -2
  92. package/dist/chunk-GIOLHGCC.js +181 -0
  93. package/dist/{chunk-RMO7KIFX.js → chunk-H2GJDFF6.js} +4 -4
  94. package/dist/{chunk-7GVHPY7W.js → chunk-H5KHQ6KS.js} +1 -1
  95. package/dist/{chunk-DYYAFCZH.js → chunk-H7DKHNBF.js} +1 -1
  96. package/dist/{chunk-DONVZZLV.js → chunk-HYO4DIYT.js} +1 -1
  97. package/dist/{chunk-O45HB74L.js → chunk-IB6FFEDH.js} +32 -28
  98. package/dist/{chunk-MI54IK7G.js → chunk-IEESWUIQ.js} +11 -2
  99. package/dist/{chunk-6MKM2RVL.js → chunk-IH2C53YV.js} +460 -1
  100. package/dist/{chunk-6MYO2IHD.js → chunk-IHXMN5YH.js} +7 -0
  101. package/dist/{chunk-YHJOTCTV.js → chunk-IJYIIHGK.js} +10 -5
  102. package/dist/{chunk-NFRKPLTJ.js → chunk-IR2GEREV.js} +1 -1
  103. package/dist/{chunk-PCH55NAO.js → chunk-JAAIW4JR.js} +1 -1
  104. package/dist/{chunk-WPC2FKNB.js → chunk-JRSBBFUU.js} +405 -175
  105. package/dist/{chunk-L2KUIV56.js → chunk-JSYLOPVJ.js} +1 -1
  106. package/dist/{chunk-DE3JRSGT.js → chunk-KCF6Q54R.js} +1 -1
  107. package/dist/{chunk-2AZMG6DR.js → chunk-KTLRJZFK.js} +7 -7
  108. package/dist/{chunk-XWK2RSD5.js → chunk-KWTTELUY.js} +2 -2
  109. package/dist/{chunk-UB44XZOI.js → chunk-KYUCSRZU.js} +1 -1
  110. package/dist/{chunk-MOR3H5FK.js → chunk-LKWWY6WN.js} +1 -1
  111. package/dist/{chunk-HT4FWRIT.js → chunk-LRXARA5O.js} +1 -1
  112. package/dist/chunk-MEGSQW2I.js +72 -0
  113. package/dist/{chunk-445BBSZS.js → chunk-MPU2CRFV.js} +4 -4
  114. package/dist/{chunk-IMNIW22F.js → chunk-N7M2SNAF.js} +2 -2
  115. package/dist/{chunk-MQGRMXFN.js → chunk-NCLBKHCX.js} +4 -4
  116. package/dist/{chunk-4Y5IDZOJ.js → chunk-NKAW4RVE.js} +4 -4
  117. package/dist/{chunk-CQ5VQNOD.js → chunk-NKUUNSII.js} +1 -1
  118. package/dist/{chunk-Z46RV43W.js → chunk-NRGNEP3R.js} +2 -2
  119. package/dist/{chunk-ZGWOCGSJ.js → chunk-O6E5HSVF.js} +2 -2
  120. package/dist/{chunk-RCTY7VNK.js → chunk-O7TIBLSJ.js} +15 -101
  121. package/dist/{chunk-M3BJEZ7E.js → chunk-OIO7YMBP.js} +44 -13
  122. package/dist/{chunk-QUUZ2BGC.js → chunk-ON3CGL3V.js} +1 -1
  123. package/dist/{chunk-LZTBL7SR.js → chunk-OSKSTJNQ.js} +12 -2
  124. package/dist/{chunk-22EEGJLH.js → chunk-OTWFSHYH.js} +85 -57
  125. package/dist/{chunk-NXDFCWF2.js → chunk-OWS4ZWEY.js} +1 -1
  126. package/dist/{chunk-4QFWV5GQ.js → chunk-P2ZMVHTF.js} +2 -1
  127. package/dist/{chunk-N36NHUGP.js → chunk-P4YIRU76.js} +1 -1
  128. package/dist/{chunk-7QM73IH2.js → chunk-PAA5FUUL.js} +4 -4
  129. package/dist/{chunk-6PXVXIC7.js → chunk-PLOVBMJF.js} +177 -69
  130. package/dist/{chunk-T6VQGCN3.js → chunk-PPLFDG7N.js} +9 -5
  131. package/dist/chunk-PXLGDX2S.js +104 -0
  132. package/dist/{chunk-LNZHSISH.js → chunk-Q3ESTCZH.js} +11 -11
  133. package/dist/{chunk-G55B5LP6.js → chunk-Q42L7V5T.js} +1 -1
  134. package/dist/{chunk-3LIMD4YP.js → chunk-QBN2W4T3.js} +6 -8
  135. package/dist/{chunk-ZXMZSU5Y.js → chunk-QGKRHG4Q.js} +15 -15
  136. package/dist/{chunk-LIPVGXPV.js → chunk-QKYGGUOQ.js} +4 -4
  137. package/dist/{chunk-JJLPGVTA.js → chunk-QONV77VI.js} +1 -1
  138. package/dist/{chunk-UFET7UTU.js → chunk-RBBWUYMG.js} +4 -4
  139. package/dist/{chunk-4FWR7OE3.js → chunk-RXSPJW77.js} +4 -4
  140. package/dist/{chunk-X3IULMVV.js → chunk-RZJ7BHXB.js} +1 -1
  141. package/dist/{chunk-7RHN6N5F.js → chunk-SDFGDNWV.js} +1 -1
  142. package/dist/{chunk-R64WJS45.js → chunk-SOMX57XG.js} +6 -6
  143. package/dist/{chunk-42JBYXIQ.js → chunk-SUG2AA33.js} +42 -26
  144. package/dist/{chunk-IZQDQ5AN.js → chunk-SULPT5X6.js} +53 -17
  145. package/dist/{chunk-VOJ3ICMF.js → chunk-SVIA7POL.js} +1 -1
  146. package/dist/chunk-SWAG64KW.js +367 -0
  147. package/dist/{chunk-DC7AOIHN.js → chunk-T5S7U5C6.js} +1 -1
  148. package/dist/{chunk-L56WTLQP.js → chunk-TM7D3NOR.js} +34 -15
  149. package/dist/{chunk-KCPIENND.js → chunk-TMV76KPG.js} +1 -1
  150. package/dist/{chunk-H4LCNEA2.js → chunk-TRAPS5WB.js} +195 -128
  151. package/dist/{chunk-M4E7CMYS.js → chunk-TW4DB2NK.js} +2 -2
  152. package/dist/{chunk-XHUFLQGD.js → chunk-UZJ7Y7WU.js} +3 -3
  153. package/dist/{chunk-M425BL2U.js → chunk-VCKUDUPN.js} +1 -1
  154. package/dist/{chunk-M6TIOPL5.js → chunk-VT2K6I4A.js} +3 -3
  155. package/dist/{chunk-QP7MQ43Y.js → chunk-WAAXVZIT.js} +3 -3
  156. package/dist/{chunk-4XETQ5LC.js → chunk-WPD7JH6F.js} +2 -2
  157. package/dist/{chunk-HLXZFHEY.js → chunk-WPSPW7SI.js} +6 -6
  158. package/dist/{chunk-RULKJFRT.js → chunk-X6TDH2OM.js} +1 -1
  159. package/dist/chunk-XGEJPKRY.js +5069 -0
  160. package/dist/{chunk-APT2TSYC.js → chunk-Y6UCMYJZ.js} +1 -1
  161. package/dist/{chunk-7PBJR7WI.js → chunk-YBLBI3O2.js} +1 -1
  162. package/dist/{chunk-WSZJS4QC.js → chunk-YNF3SH26.js} +61 -10
  163. package/dist/{chunk-YRXIEP35.js → chunk-YU5LSWA2.js} +90 -11
  164. package/dist/{chunk-RIHRYTNB.js → chunk-YUDWGRNZ.js} +15 -15
  165. package/dist/{chunk-MR7VKWYT.js → chunk-YVCPUVHV.js} +1 -1
  166. package/dist/{clean-Y6YIQRPM.js → clean-JK4VQMTH.js} +35 -34
  167. package/dist/cli.js +67 -66
  168. package/dist/{cloud-A5U7YYNA.js → cloud-JZ2WKHQG.js} +4 -4
  169. package/dist/{cloud-5C5SCK4H.js → cloud-LU4FVT33.js} +7 -6
  170. package/dist/{cloudrun-EULFHQQL.js → cloudrun-QBXSGBGX.js} +9 -9
  171. package/dist/{compare-6XCTMUF3.js → compare-YE5BTDCG.js} +50 -48
  172. package/dist/{compiler-DUG4GFRI.js → compiler-QEA5UQRG.js} +9 -9
  173. package/dist/{component-JDQIZSAL.js → component-MGT5ZJ4M.js} +3 -3
  174. package/dist/{compositions-HZDEOSRL.js → compositions-7OF6FDCH.js} +30 -23
  175. package/dist/{contactSheet-O3FOOHOX.js → contactSheet-CCHQAZLA.js} +4 -4
  176. package/dist/{curve-SE7ZAMI6.js → curve-JQLVUDXR.js} +20 -19
  177. package/dist/{cuts-AEFJGBFP.js → cuts-MCJP6LMJ.js} +21 -20
  178. package/dist/{delete-EQUQ7Z2K.js → delete-PUYEW3RJ.js} +11 -8
  179. package/dist/{deploy-NSLC6BYZ.js → deploy-M4XGMJM5.js} +2 -2
  180. package/dist/{describeProject-FTJBPDL3.js → describeProject-P7CBZ6NW.js} +17 -17
  181. package/dist/{destroy-4O4T3KL3.js → destroy-6XJWSH2A.js} +2 -2
  182. package/dist/{deterministicFonts-QY4KNTOU.js → deterministicFonts-OXGNMVJE.js} +5 -5
  183. package/dist/{diff-VJ3CS7YE.js → diff-BATSO64W.js} +46 -44
  184. package/dist/{dist-2YJCNIWI.js → dist-G6W7GKGP.js} +6 -6
  185. package/dist/{dist-MNFB4YKV.js → dist-PC3EMMET.js} +21 -21
  186. package/dist/{dist-MXWEGMRB.js → dist-T62DJJZX.js} +6 -6
  187. package/dist/{doctor-RR7SNO6X.js → doctor-ONTGSPYF.js} +28 -23
  188. package/dist/{dotEnv-33RDHX7P.js → dotEnv-RZ52L7X3.js} +5 -4
  189. package/dist/{energy-PN23W2UJ.js → energy-FNZICGW2.js} +21 -20
  190. package/dist/{events-5OLO73VJ.js → events-6TNBAVVY.js} +23 -22
  191. package/dist/{events-NR6UPBHG.js → events-ENJZNXWG.js} +5 -5
  192. package/dist/{events-4ECJEB2W.js → events-LBHSU7C2.js} +12 -12
  193. package/dist/{execute-TS3BP65F.js → execute-RXTEBACV.js} +42 -42
  194. package/dist/{extract-GCZ5HSEN.js → extract-F2CWTMLX.js} +21 -20
  195. package/dist/{face-QKMYBRV3.js → face-7HL4CP32.js} +22 -21
  196. package/dist/{feedback-3H43EK7N.js → feedback-4NDDMECH.js} +46 -33
  197. package/dist/{ffmpeg-JRNM74WY.js → ffmpeg-3LL345SO.js} +18 -18
  198. package/dist/{figma-JGP2UGGU.js → figma-474E54NB.js} +3 -3
  199. package/dist/fontLocalizeCli.js +24 -25
  200. package/dist/{frames-OYSWKB3F.js → frames-EZWGM7QQ.js} +23 -22
  201. package/dist/{generate-TDXLUFMR.js → generate-I75DZWDU.js} +36 -34
  202. package/dist/{get-UB2MNBYO.js → get-BHU6CBWO.js} +11 -8
  203. package/dist/{gpuPolicy-6CTTH3NY.js → gpuPolicy-6J2STCV2.js} +15 -15
  204. package/dist/{grade-compare-2DXT4RWV.js → grade-compare-D4TBMCBG.js} +49 -47
  205. package/dist/{gsapParser-L7TM3RGH.js → gsapParser-TSPNHW7F.js} +1 -1
  206. package/dist/hangReport.js +2 -1
  207. package/dist/{heifImagePrep-VDZVZ4G7.js → heifImagePrep-VLYGRKSS.js} +20 -21
  208. package/dist/{help-RGKY4DR4.js → help-2CUXKYJ6.js} +1 -1
  209. package/dist/{history-AVDXYNAP.js → history-LVAVYTAN.js} +19 -18
  210. package/dist/hyperframe.manifest.json +1 -1
  211. package/dist/hyperframe.runtime.iife.js +67 -67
  212. package/dist/hyperframes-player.global.js +3 -3
  213. package/dist/{info-NGTQABZC.js → info-SUZOEH6L.js} +29 -23
  214. package/dist/{init-C3EARHDW.js → init-XI5QN3A6.js} +46 -44
  215. package/dist/{ink-ISO3VXRQ.js → ink-OVDZOCQJ.js} +21 -20
  216. package/dist/{inspect-V6MPU5I5.js → inspect-INBCGPBD.js} +50 -47
  217. package/dist/{installer-FI6HT2FW.js → installer-JNQKFCTN.js} +10 -10
  218. package/dist/{keyframes-PTJDE47Y.js → keyframes-LYZJK4RH.js} +21 -17
  219. package/dist/{lambda-JTO5YD2I.js → lambda-DUDXZV6X.js} +21 -21
  220. package/dist/{layout-QMLEZP5T.js → layout-JKUJW6A4.js} +50 -47
  221. package/dist/{lint-6BWOQAW6.js → lint-NKDC7IJ2.js} +25 -19
  222. package/dist/{lintProject-G4MXY4YA.js → lintProject-5Z34NNS4.js} +6 -6
  223. package/dist/{list-7E4VD7JA.js → list-5HUMDJYL.js} +11 -8
  224. package/dist/{localPage-BQOYZAOW.js → localPage-RRBRFR4Y.js} +16 -16
  225. package/dist/{login-37MSZXCY.js → login-C3SHKITR.js} +6 -5
  226. package/dist/{logout-QGNBUJKS.js → logout-CCATTNTL.js} +2 -1
  227. package/dist/{look-5GXW3NVP.js → look-3TX2U4BE.js} +21 -20
  228. package/dist/{manager-TMKN4DX5.js → manager-45VB2G5F.js} +4 -4
  229. package/dist/{manager-J2IRAOR7.js → manager-MOR255LW.js} +16 -16
  230. package/dist/{measure-23IL23BL.js → measure-ZAKBHNGY.js} +11 -11
  231. package/dist/{media-treatment-7ODBREPX.js → media-treatment-QJ35DSED.js} +25 -24
  232. package/dist/{media-use-QJA6NB3V.js → media-use-YBKHJVXL.js} +12 -18
  233. package/dist/{models-2Z6SURXU.js → models-OQHKG7B4.js} +20 -20
  234. package/dist/{motionShot-CYS3L6FK.js → motionShot-TWQTREFH.js} +26 -26
  235. package/dist/{normalize-audio-6YVF4LED.js → normalize-audio-PXHPUOMD.js} +19 -19
  236. package/dist/{open-WQ6NRHCN.js → open-TVGO5KVF.js} +34 -27
  237. package/dist/{parakeetRunner-R7KK6ZHD.js → parakeetRunner-MVJMZSIG.js} +23 -23
  238. package/dist/{pipeline-HRCK2JQL.js → pipeline-4S5UE4O4.js} +18 -18
  239. package/dist/{plan-FQNKACYR.js → plan-AMBZUX55.js} +30 -30
  240. package/dist/{play-UJZBNX2O.js → play-KEAESNBM.js} +43 -39
  241. package/dist/{preflight-VIMLSE3I.js → preflight-K3CM3W55.js} +18 -18
  242. package/dist/{present-JIOVM3ZH.js → present-42WDBGBA.js} +35 -32
  243. package/dist/{preview-HCYGBEWR.js → preview-KSHBU7ZR.js} +43 -34
  244. package/dist/{probe-6YQA2ZZC.js → probe-TMSXGCL4.js} +21 -20
  245. package/dist/{producer-JIM74BGL.js → producer-KXRSJPJF.js} +1 -1
  246. package/dist/{projectConfig-VPL64JBD.js → projectConfig-LOHNVOJG.js} +13 -13
  247. package/dist/{publicNetwork-F3ZXSVOD.js → publicNetwork-GW7SVP7N.js} +1 -1
  248. package/dist/{publication-ST3VFFWM.js → publication-LYPU7NTZ.js} +8 -8
  249. package/dist/{publish-3TTCO4R4.js → publish-PYZXDQJW.js} +51 -38
  250. package/dist/{refresh-6ONVQ3WV.js → refresh-X5ZLKQO5.js} +2 -1
  251. package/dist/{remove-background-XTICO22L.js → remove-background-HVX52VOF.js} +19 -19
  252. package/dist/{render-PFBZJRAN.js → render-57ZYQ53S.js} +73 -62
  253. package/dist/{render-WYDOZEZ5.js → render-5KMA5P2U.js} +90 -57
  254. package/dist/{render-MG5MX45D.js → render-CM4MCNVA.js} +9 -9
  255. package/dist/{render-batch-C3XGAQGX.js → render-batch-URBBGOVC.js} +9 -9
  256. package/dist/renderSetupWorker.js +10 -10
  257. package/dist/{resolver-AGMKICJW.js → resolver-UPUCU4XT.js} +10 -10
  258. package/dist/{reverse-TV524NFW.js → reverse-UYS7KVE2.js} +1 -1
  259. package/dist/{run-NQBD5RDR.js → run-4LNEWQLG.js} +10 -6
  260. package/dist/{screenshotCapture-OUZMH7EQ.js → screenshotCapture-IF5AO5XM.js} +18 -18
  261. package/dist/{service-UIHDIMFM.js → service-OEOC34BD.js} +22 -21
  262. package/dist/{share-WD7MCA4I.js → share-NS7CMVSU.js} +25 -24
  263. package/dist/{sherpa-H67ZJICN.js → sherpa-QBTXL6JA.js} +22 -22
  264. package/dist/sherpaWorker.js +3 -3
  265. package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
  266. package/dist/skills/media-use/audio/references/requirements.md +7 -7
  267. package/dist/skills/media-use/audio/references/tts.md +8 -6
  268. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +39 -13
  269. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +176 -2
  270. package/dist/skills/media-use/references/heygen.md +1 -1
  271. package/dist/{skills-7TUSQF6W.js → skills-S5U2MQAI.js} +16 -15
  272. package/dist/{skillsUpdateCheck-HF6SQWRA.js → skillsUpdateCheck-UZ7CZ6VC.js} +5 -3
  273. package/dist/{snapshot-P7ZSTKED.js → snapshot-YWFWQTAV.js} +118 -75
  274. package/dist/{src-H2EUJUV3.js → src-N2SMYJ44.js} +22 -23
  275. package/dist/{src-TQQ743H4.js → src-UQ3K3UW2.js} +31 -17
  276. package/dist/{start-7ZTAKHD4.js → start-4IA5GG5D.js} +34 -32
  277. package/dist/{staticProjectServer-X4PARIVN.js → staticProjectServer-5JP25RRX.js} +34 -33
  278. package/dist/{status-ELQXIXIB.js → status-ITCKXFBF.js} +25 -24
  279. package/dist/studio/assets/{hyperframes-player-D7LhzIg1.js → hyperframes-player-Oju91F6x.js} +2 -2
  280. package/dist/studio/assets/{index-D3WxJaqm.js → index-B0VEzzD2.js} +180 -180
  281. package/dist/studio/assets/index-Dv67Vrl6.js +74 -0
  282. package/dist/studio/assets/{index-CQ7o0CBU.js → index-XEm_N45R.js} +1 -1
  283. package/dist/studio/assets/{pausedVideoDecoder-BVUmBgn0.js → pausedVideoDecoder-p6zibxVM.js} +1 -1
  284. package/dist/studio/index.html +1 -1
  285. package/dist/{studio-api-OJEU24EG.js → studio-api-GENM2XVL.js} +21 -21
  286. package/dist/{studioServer-E5CLZC46.js → studioServer-SWR5Q3PD.js} +90 -77
  287. package/dist/{sync-VEJWMKDP.js → sync-CK6TTCXO.js} +21 -20
  288. package/dist/{synthesize-HOLHQCR2.js → synthesize-EXNEBJSY.js} +5 -5
  289. package/dist/{system-I5KGZTUG.js → system-JBPJHNTG.js} +3 -3
  290. package/dist/{telemetry-3U4UGQ5V.js → telemetry-T4HQ6AKZ.js} +12 -12
  291. package/dist/{templates-AUAOWIYA.js → templates-7O7NOIUC.js} +23 -22
  292. package/dist/{timeline-YO27AP66.js → timeline-P2PLN53O.js} +33 -32
  293. package/dist/{tokens-UXLQGLVG.js → tokens-SPQN27VG.js} +2 -2
  294. package/dist/{transcribe-FZ3TE4FK.js → transcribe-SCZG6IM4.js} +19 -19
  295. package/dist/{transcribe-I7MTUH4M.js → transcribe-YJQ3DDDI.js} +40 -39
  296. package/dist/{tts-3VHEX4RB.js → tts-5OAB5XX6.js} +1 -1
  297. package/dist/{update-KBKSO3SH.js → update-JYPZW35A.js} +18 -17
  298. package/dist/{updateCheck-MUYN55HR.js → updateCheck-5M2JJTH3.js} +4 -2
  299. package/dist/{upgrade-CRCX7CCK.js → upgrade-BP62FM6V.js} +7 -5
  300. package/dist/{urlDownloader-4EM6GLN4.js → urlDownloader-WOZQCE6P.js} +14 -14
  301. package/dist/{validate-Y2KF2DU3.js → validate-NEC5QLH7.js} +40 -39
  302. package/dist/{video-HG6SINBD.js → video-XEEBISSO.js} +17 -17
  303. package/dist/{voices-O4UHHFZS.js → voices-GCHA27JA.js} +34 -32
  304. package/dist/warmCheck.js +59 -57
  305. package/dist/warmCheckClient.js +2 -1
  306. package/package.json +1 -1
  307. package/dist/chunk-DQZRNGDS.js +0 -5069
  308. package/dist/chunk-IGLEPPTN.js +0 -24
  309. package/dist/chunk-L2U4ISSS.js +0 -93
  310. package/dist/studio/assets/index-BX3KHhGX.js +0 -71
@@ -0,0 +1,367 @@
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
+ receivedRecordStatus
9
+ } from "./chunk-GIOLHGCC.js";
10
+ import {
11
+ linksOutside
12
+ } from "./chunk-YNF3SH26.js";
13
+ import {
14
+ terminalText
15
+ } from "./chunk-IJYIIHGK.js";
16
+ import {
17
+ namesAnotherNetworkRoot,
18
+ resolveCompositionSrc
19
+ } from "./chunk-6EMFSRTW.js";
20
+ import {
21
+ isNonRelativeUrl,
22
+ isPathInside
23
+ } from "./chunk-IH2C53YV.js";
24
+ import {
25
+ parseHTML
26
+ } from "./chunk-GWTIFRF5.js";
27
+
28
+ // src/utils/receivedRender.ts
29
+ import {
30
+ closeSync,
31
+ openSync,
32
+ readdirSync,
33
+ readSync,
34
+ realpathSync,
35
+ statSync
36
+ } from "fs";
37
+ import { dirname, extname, isAbsolute, join, relative, resolve } from "path";
38
+ import { fileURLToPath } from "url";
39
+ var REFERENCE_ATTRS = ["src", "href", "poster"];
40
+ var MAX_SCANNED_BYTES = 2 * 1024 * 1024;
41
+ var MAX_SCANNED_FILES = 500;
42
+ function unquote(value) {
43
+ const first = value[0];
44
+ return value.length >= 2 && (first === '"' || first === "'") && value.at(-1) === first ? value.slice(1, -1).trim() : value;
45
+ }
46
+ function cssReferences(css) {
47
+ const refs = [];
48
+ for (let at = css.indexOf("url("); at !== -1; ) {
49
+ const close = css.indexOf(")", at + 4);
50
+ if (close === -1) break;
51
+ const raw = unquote(css.slice(at + 4, close).trim());
52
+ if (raw) refs.push({ raw, composition: false, follow: true });
53
+ at = css.indexOf("url(", close + 1);
54
+ }
55
+ return refs;
56
+ }
57
+ function elementReferences(el) {
58
+ const follow = el.localName === "link";
59
+ const refs = REFERENCE_ATTRS.flatMap((attr) => {
60
+ const raw = el.getAttribute(attr)?.trim();
61
+ return raw ? [{ raw, composition: false, follow }] : [];
62
+ });
63
+ const composition = el.getAttribute("data-composition-src")?.trim();
64
+ if (composition) refs.push({ raw: composition, composition: true, follow: true });
65
+ return refs;
66
+ }
67
+ function htmlReferences(html) {
68
+ const { document } = parseHTML(html);
69
+ const hosts = document.querySelectorAll("[src], [href], [poster], [data-composition-src]");
70
+ const refs = [...hosts].flatMap(elementReferences);
71
+ for (const style of document.querySelectorAll("style")) {
72
+ refs.push(...cssReferences(style.textContent ?? ""));
73
+ }
74
+ for (const el of document.querySelectorAll("[style]")) {
75
+ refs.push(...cssReferences(el.getAttribute("style") ?? ""));
76
+ }
77
+ for (const template of document.querySelectorAll("template")) {
78
+ refs.push(...htmlReferences(template.innerHTML));
79
+ }
80
+ return refs;
81
+ }
82
+ var WINDOWS_DEVICE_PREFIX = /^[\\/]{2}[?.][\\/]/;
83
+ function withoutQuery(raw) {
84
+ const device = WINDOWS_DEVICE_PREFIX.exec(raw)?.[0] ?? "";
85
+ return device + raw.slice(device.length).replace(/[?#].*$/, "");
86
+ }
87
+ function localPath(raw, fromDir) {
88
+ if (raw.startsWith("file:")) {
89
+ try {
90
+ return fileURLToPath(raw);
91
+ } catch {
92
+ return null;
93
+ }
94
+ }
95
+ const path = withoutQuery(raw);
96
+ if (isAbsolute(path) && !path.startsWith("//")) return path;
97
+ if (path === "" || isNonRelativeUrl(path)) return null;
98
+ try {
99
+ return resolve(fromDir, decodeURIComponent(path));
100
+ } catch {
101
+ return resolve(fromDir, path);
102
+ }
103
+ }
104
+ function isFile(path) {
105
+ try {
106
+ return statSync(path, { throwIfNoEntry: false })?.isFile() === true;
107
+ } catch {
108
+ return false;
109
+ }
110
+ }
111
+ function realOrNull(path) {
112
+ try {
113
+ return realpathSync(path);
114
+ } catch {
115
+ return null;
116
+ }
117
+ }
118
+ function readHead(file) {
119
+ let fd;
120
+ try {
121
+ fd = openSync(file, "r");
122
+ const size = statSync(file).size;
123
+ const buffer = Buffer.alloc(Math.min(size, MAX_SCANNED_BYTES));
124
+ const read = readSync(fd, buffer, 0, buffer.length, 0);
125
+ return {
126
+ text: buffer.toString("utf-8", 0, read),
127
+ whole: size <= MAX_SCANNED_BYTES
128
+ };
129
+ } catch {
130
+ return null;
131
+ } finally {
132
+ if (fd !== void 0) closeSync(fd);
133
+ }
134
+ }
135
+ var isPageOrStylesheet = (path) => /\.(?:html?|css)$/i.test(path);
136
+ function referencePath(ref, file, projectDir) {
137
+ if (!ref.composition) return localPath(ref.raw, dirname(file));
138
+ try {
139
+ return resolveCompositionSrc(projectDir, ref.raw) ?? localPath(ref.raw, projectDir);
140
+ } catch {
141
+ return null;
142
+ }
143
+ }
144
+ function referencesIn(found, file) {
145
+ const read = readHead(file);
146
+ if (read === null || !read.whole) found.complete = false;
147
+ if (read === null) return [];
148
+ return /\.css$/i.test(file) ? cssReferences(read.text) : htmlReferences(read.text);
149
+ }
150
+ var noteOutside = (found, ref) => (ref.composition ? found.compositions : found.assets).add(ref.raw);
151
+ function noteReference(found, ref, path, projectDir) {
152
+ try {
153
+ if (linksOutside(projectDir, path)) {
154
+ noteOutside(found, ref);
155
+ return null;
156
+ }
157
+ } catch {
158
+ found.complete = false;
159
+ return null;
160
+ }
161
+ return ref.follow && isPageOrStylesheet(path) ? path : null;
162
+ }
163
+ function scanFile(found, file, projectDir) {
164
+ const next = [];
165
+ for (const ref of referencesIn(found, file)) {
166
+ const path = referencePath(ref, file, projectDir);
167
+ if (path === null) continue;
168
+ if (namesAnotherNetworkRoot(projectDir, path)) {
169
+ noteOutside(found, ref);
170
+ continue;
171
+ }
172
+ if (!isFile(path)) continue;
173
+ const follow = noteReference(found, ref, path, projectDir);
174
+ if (follow !== null) next.push(follow);
175
+ }
176
+ return next;
177
+ }
178
+ function outsideReferences(projectDir, entryFile) {
179
+ const found = {
180
+ assets: /* @__PURE__ */ new Set(),
181
+ compositions: /* @__PURE__ */ new Set(),
182
+ complete: true
183
+ };
184
+ const visited = /* @__PURE__ */ new Set();
185
+ const pending = [resolve(projectDir, entryFile)];
186
+ for (let file = pending.pop(); file !== void 0; file = pending.pop()) {
187
+ if (!isPathInside(file, projectDir)) continue;
188
+ const real = realOrNull(file);
189
+ if (real === null || visited.has(real)) continue;
190
+ if (visited.size >= MAX_SCANNED_FILES) {
191
+ found.complete = false;
192
+ break;
193
+ }
194
+ visited.add(real);
195
+ pending.push(...scanFile(found, file, projectDir));
196
+ }
197
+ return found;
198
+ }
199
+ function refusedReferences(found) {
200
+ const parts = [];
201
+ if (found.assets.size > 0) parts.push(` It leaves out ${[...found.assets].join(", ")}.`);
202
+ if (found.compositions.size > 0) {
203
+ parts.push(
204
+ ` It stops on the compositions ${[...found.compositions].join(", ")}; move them into the project to render them.`
205
+ );
206
+ }
207
+ if (!found.complete) parts.push(" Some files could not be checked for references.");
208
+ return parts.join("");
209
+ }
210
+ var SIGNATURE_BYTES = 16;
211
+ var ascii = (bytes, at, text) => bytes.toString("latin1", at, at + text.length) === text;
212
+ var startsWith = (bytes, ...values) => values.every((value, index) => bytes[index] === value);
213
+ var isoMedia = (bytes) => ["ftyp", "moov", "mdat", "wide", "free", "skip"].some((box) => ascii(bytes, 4, box));
214
+ var riff = (form) => (bytes) => ascii(bytes, 0, "RIFF") && ascii(bytes, 8, form);
215
+ var ebml = (bytes) => startsWith(bytes, 26, 69, 223, 163);
216
+ var mpegAudio = (bytes) => ascii(bytes, 0, "ID3") || bytes[0] === 255 && ((bytes[1] ?? 0) & 224) === 224;
217
+ var adts = (bytes) => ascii(bytes, 0, "ADIF") || bytes[0] === 255 && ((bytes[1] ?? 0) & 246) === 240;
218
+ var avif = (bytes) => ascii(bytes, 4, "ftyp") && ["avif", "avis", "mif1"].some((brand) => ascii(bytes, 8, brand));
219
+ var MEDIA_SIGNATURES = {
220
+ ".mp4": isoMedia,
221
+ ".m4v": isoMedia,
222
+ ".m4a": isoMedia,
223
+ ".mov": isoMedia,
224
+ ".webm": ebml,
225
+ ".mkv": ebml,
226
+ ".mp3": mpegAudio,
227
+ ".wav": riff("WAVE"),
228
+ ".ogg": (bytes) => ascii(bytes, 0, "OggS"),
229
+ ".flac": (bytes) => ascii(bytes, 0, "fLaC"),
230
+ ".aac": adts,
231
+ ".png": (bytes) => startsWith(bytes, 137, 80, 78, 71, 13, 10, 26, 10),
232
+ ".jpg": (bytes) => startsWith(bytes, 255, 216, 255),
233
+ ".jpeg": (bytes) => startsWith(bytes, 255, 216, 255),
234
+ ".gif": (bytes) => ascii(bytes, 0, "GIF87a") || ascii(bytes, 0, "GIF89a"),
235
+ ".webp": riff("WEBP"),
236
+ ".avif": avif,
237
+ ".woff": (bytes) => ascii(bytes, 0, "wOFF"),
238
+ ".woff2": (bytes) => ascii(bytes, 0, "wOF2"),
239
+ ".ttf": (bytes) => startsWith(bytes, 0, 1, 0, 0) || ascii(bytes, 0, "true"),
240
+ ".otf": (bytes) => ascii(bytes, 0, "OTTO")
241
+ };
242
+ function firstBytes(path) {
243
+ let fd;
244
+ try {
245
+ fd = openSync(path, "r");
246
+ const head = Buffer.alloc(SIGNATURE_BYTES);
247
+ return head.subarray(0, readSync(fd, head, 0, SIGNATURE_BYTES, 0));
248
+ } catch {
249
+ return null;
250
+ } finally {
251
+ if (fd !== void 0) closeSync(fd);
252
+ }
253
+ }
254
+ function isMediaFontOrImage(path) {
255
+ const matches = MEDIA_SIGNATURES[extname(path).toLowerCase()];
256
+ const bytes = matches && isFile(path) ? firstBytes(path) : null;
257
+ return bytes !== null && matches !== void 0 && matches(bytes);
258
+ }
259
+ var ALIAS_WALK_MAX_ENTRIES = 2e4;
260
+ var ALIAS_WALK_MAX_MS = 2e3;
261
+ var NOTHING_THERE = /* @__PURE__ */ new Set(["ENOENT", "ENOTDIR", "ELOOP"]);
262
+ function targetOf(path) {
263
+ try {
264
+ const stat = statSync(path, { bigint: true });
265
+ if (stat.ino === 0n) return null;
266
+ return { identity: `${stat.dev}:${stat.ino}`, isDirectory: stat.isDirectory() };
267
+ } catch (error) {
268
+ return NOTHING_THERE.has(error.code ?? "") ? "missing" : null;
269
+ }
270
+ }
271
+ function receivedIdentities(listed) {
272
+ const identities = /* @__PURE__ */ new Set();
273
+ for (const path of listed) {
274
+ const target = targetOf(path);
275
+ if (target === null || target === "missing" || target.isDirectory) return null;
276
+ identities.add(target.identity);
277
+ }
278
+ return identities;
279
+ }
280
+ function listDir(dir) {
281
+ try {
282
+ return readdirSync(dir, { withFileTypes: true });
283
+ } catch {
284
+ return null;
285
+ }
286
+ }
287
+ var isMediaName = (path) => MEDIA_SIGNATURES[extname(path).toLowerCase()] !== void 0;
288
+ function linkedFolderChecked(path, realProjectDir) {
289
+ const real = realOrNull(path);
290
+ return real !== null && isPathInside(real, realProjectDir);
291
+ }
292
+ function receivedAlias(dir, entry, received, realProjectDir) {
293
+ const path = join(dir, entry.name);
294
+ if (isMediaName(path) && !entry.isSymbolicLink()) return null;
295
+ const target = targetOf(path);
296
+ if (target === "missing") return null;
297
+ if (target === null) return void 0;
298
+ if (target.isDirectory) return linkedFolderChecked(path, realProjectDir) ? null : void 0;
299
+ return !isMediaName(path) && received.has(target.identity) ? path : null;
300
+ }
301
+ function walkBudget() {
302
+ const deadline = Date.now() + ALIAS_WALK_MAX_MS;
303
+ let seen = 0;
304
+ return (entries) => {
305
+ seen += entries;
306
+ return seen <= ALIAS_WALK_MAX_ENTRIES && Date.now() <= deadline;
307
+ };
308
+ }
309
+ function walkListing(walk, dir, listing) {
310
+ for (const entry of listing) {
311
+ if (entry.isDirectory()) {
312
+ walk.pending.push(join(dir, entry.name));
313
+ continue;
314
+ }
315
+ const alias = receivedAlias(dir, entry, walk.received, walk.realProjectDir);
316
+ if (alias === void 0) return false;
317
+ if (alias !== null) walk.aliases.push(alias);
318
+ }
319
+ return true;
320
+ }
321
+ function nonMediaAliases(projectDir, received) {
322
+ const withinBudget = walkBudget();
323
+ const realProjectDir = realOrNull(projectDir) ?? projectDir;
324
+ const walk = { received, realProjectDir, pending: [projectDir], aliases: [] };
325
+ for (let dir = walk.pending.pop(); dir !== void 0; dir = walk.pending.pop()) {
326
+ const listing = listDir(dir);
327
+ if (listing === null || !withinBudget(listing.length)) return null;
328
+ if (!walkListing(walk, dir, listing)) return null;
329
+ }
330
+ return walk.aliases;
331
+ }
332
+ var READS_NOTHING_OUTSIDE = "so the render reads nothing outside the project.";
333
+ function receivedRefusal(projectDir, record) {
334
+ const shown = (path) => relative(realOrNull(projectDir) ?? projectDir, path);
335
+ if (record.listed === null) {
336
+ return { reason: `Could not read ${record.path}, ${READS_NOTHING_OUTSIDE}`, alwaysWarn: true };
337
+ }
338
+ if (record.listed.length === 0) return null;
339
+ const nonMedia = record.listed.find((path) => !isMediaFontOrImage(path));
340
+ if (nonMedia !== void 0) {
341
+ const reason2 = `${shown(nonMedia)} came from someone else and is not a media, font or image file, ${READS_NOTHING_OUTSIDE}`;
342
+ return { reason: reason2, alwaysWarn: false };
343
+ }
344
+ const received = receivedIdentities(record.listed);
345
+ const aliases = received === null ? null : nonMediaAliases(projectDir, received);
346
+ if (aliases === null) {
347
+ const reason2 = `Could not check every project file for another name of a received file, ${READS_NOTHING_OUTSIDE}`;
348
+ return { reason: reason2, alwaysWarn: true };
349
+ }
350
+ const [alias] = aliases;
351
+ if (alias === void 0) return null;
352
+ const reason = `${shown(alias)} is another name for a file that came from someone else, ${READS_NOTHING_OUTSIDE}`;
353
+ return { reason, alwaysWarn: false };
354
+ }
355
+ function outsideAssetsAllowed(projectDir, entryFile, warn) {
356
+ const absProjectDir = resolve(projectDir);
357
+ const record = receivedRecordStatus(absProjectDir);
358
+ const refusal = record === null ? null : receivedRefusal(absProjectDir, record);
359
+ if (refusal === null) return true;
360
+ const refused = refusedReferences(outsideReferences(absProjectDir, entryFile ?? "index.html"));
361
+ if (refusal.alwaysWarn || refused !== "") warn(terminalText(`${refusal.reason}${refused}`));
362
+ return false;
363
+ }
364
+
365
+ export {
366
+ outsideAssetsAllowed
367
+ };
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VALID_CANVAS_RESOLUTIONS,
9
9
  resolveResolutionFlagPair
10
- } from "./chunk-M425BL2U.js";
10
+ } from "./chunk-VCKUDUPN.js";
11
11
  import {
12
12
  CliUsageError
13
13
  } from "./chunk-66W5IWLO.js";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findStageProxyBox
9
- } from "./chunk-MR7VKWYT.js";
9
+ } from "./chunk-YVCPUVHV.js";
10
10
  import {
11
11
  injectMediaCodecMapIntoHtml
12
- } from "./chunk-6PXVXIC7.js";
12
+ } from "./chunk-PLOVBMJF.js";
13
13
  import {
14
14
  PROXY_VARIANT_CONFIG,
15
15
  ProxyCapacityError,
@@ -20,33 +20,37 @@ import {
20
20
  recordProxyRequest,
21
21
  resolveProxy,
22
22
  resolveProxyVariantRequest
23
- } from "./chunk-I6SCA2ME.js";
23
+ } from "./chunk-DWDCE4PO.js";
24
24
  import {
25
25
  resolveAutoProxy
26
- } from "./chunk-FCNMU7LC.js";
26
+ } from "./chunk-B5HSHXE2.js";
27
27
  import {
28
28
  openRangeEnd
29
29
  } from "./chunk-LD6JONPV.js";
30
30
  import {
31
31
  getMimeType
32
- } from "./chunk-4QFWV5GQ.js";
32
+ } from "./chunk-P2ZMVHTF.js";
33
+ import {
34
+ SAME_ORIGIN_FRAMING_HEADERS,
35
+ isOwnLoopbackHost
36
+ } from "./chunk-GA6QR6LN.js";
33
37
  import {
34
38
  listenOnBrowserSafePort
35
- } from "./chunk-LZTBL7SR.js";
39
+ } from "./chunk-OSKSTJNQ.js";
36
40
  import {
37
41
  stripSdrPngColourTags
38
- } from "./chunk-UBHBB3TB.js";
42
+ } from "./chunk-BBDWXUO3.js";
39
43
  import {
40
44
  PREVIEW_PROXY_BOX_PARAM,
41
45
  parsePreviewProxyBox
42
- } from "./chunk-U7ZCBWNM.js";
46
+ } from "./chunk-4IUOWNDS.js";
43
47
  import {
44
48
  isPrivateFileUnder,
45
- isVcsOrSecretPath
46
- } from "./chunk-XWK2RSD5.js";
49
+ isStudioPrivatePath
50
+ } from "./chunk-KWTTELUY.js";
47
51
  import {
48
52
  decodeWellFormedEscapes
49
- } from "./chunk-6MKM2RVL.js";
53
+ } from "./chunk-IH2C53YV.js";
50
54
 
51
55
  // src/utils/staticProjectServer.ts
52
56
  import { createServer, request as httpRequest } from "http";
@@ -74,7 +78,7 @@ function socketPair() {
74
78
  );
75
79
  return [sides[0], sides[1]];
76
80
  }
77
- function answerInProcess(server, request) {
81
+ function answerInProcess(server, host, request) {
78
82
  const [client, served] = socketPair();
79
83
  server.emit("connection", served);
80
84
  return new Promise((resolveAnswer, rejectAnswer) => {
@@ -82,7 +86,7 @@ function answerInProcess(server, request) {
82
86
  {
83
87
  method: request.method,
84
88
  path: request.path,
85
- headers: { ...request.headers, connection: "close" },
89
+ headers: { ...request.headers, host, connection: "close" },
86
90
  // No `agent`: Node uses createConnection only when no agent is given.
87
91
  createConnection: () => client
88
92
  },
@@ -222,7 +226,19 @@ async function serveStaticProjectHtml(projectDir, html, bindErrorMessage = "Fail
222
226
  copies.signal,
223
227
  findStageProxyBox(html)
224
228
  ) : html;
229
+ let listeningPort = -1;
230
+ let inProcessHost;
231
+ const answersHost = (host) => isOwnLoopbackHost(host, listeningPort) || inProcessHost !== void 0 && host === inProcessHost;
225
232
  const server = createServer((req, res) => {
233
+ res.setHeader("X-Content-Type-Options", "nosniff");
234
+ if (!answersHost(req.headers.host)) {
235
+ res.writeHead(403, { "Content-Type": "text/plain" });
236
+ res.end("Forbidden");
237
+ return;
238
+ }
239
+ for (const [name, value] of Object.entries(SAME_ORIGIN_FRAMING_HEADERS)) {
240
+ res.setHeader(name, value);
241
+ }
226
242
  const url = req.url ?? "/";
227
243
  if (url === "/" || url === "/index.html") {
228
244
  res.writeHead(200, { "Content-Type": getMimeType("index.html") });
@@ -246,7 +262,7 @@ async function serveStaticProjectHtml(projectDir, html, bindErrorMessage = "Fail
246
262
  const filePath = resolve(root, requestPath);
247
263
  const rel = relative(root, filePath);
248
264
  if (rel.startsWith("..") || isAbsolute(rel)) continue;
249
- if (isPrivateFileUnder(root, filePath, isVcsOrSecretPath)) continue;
265
+ if (isPrivateFileUnder(root, filePath, isStudioPrivatePath)) continue;
250
266
  if (existsSync(filePath)) {
251
267
  if (proxyRequest) {
252
268
  void serveProxyRequest(
@@ -277,7 +293,9 @@ async function serveStaticProjectHtml(projectDir, html, bindErrorMessage = "Fail
277
293
  if (port === 0) {
278
294
  server.removeAllListeners("error");
279
295
  const url = `http://hyperframes-${++inProcessServers}.localhost/`;
280
- const answer = (request) => answerInProcess(server, request);
296
+ const host = new URL(url).host;
297
+ inProcessHost = host;
298
+ const answer = (request) => answerInProcess(server, host, request);
281
299
  inProcessAnswers.set(new URL(url).origin, answer);
282
300
  return {
283
301
  url,
@@ -289,6 +307,7 @@ async function serveStaticProjectHtml(projectDir, html, bindErrorMessage = "Fail
289
307
  answer
290
308
  };
291
309
  }
310
+ listeningPort = port;
292
311
  return {
293
312
  url: `http://127.0.0.1:${port}/`,
294
313
  port,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  hasPythonModules
9
- } from "./chunk-N36NHUGP.js";
9
+ } from "./chunk-P4YIRU76.js";
10
10
 
11
11
  // src/audio/providers.ts
12
12
  var KOKORO_MODULES = ["kokoro_onnx", "soundfile"];