hyperframes 0.9.54 → 0.9.56

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 (316) hide show
  1. package/dist/{add-OVHVUHQR.js → add-KW7OTOWF.js} +23 -23
  2. package/dist/{agentPromptGenerator-L2B3HMHF.js → agentPromptGenerator-NNXUWNU4.js} +14 -13
  3. package/dist/{animatedGifPrep-YMJH33FX.js → animatedGifPrep-6ATQHQON.js} +15 -14
  4. package/dist/api.d.ts +4 -2
  5. package/dist/api.js +46 -44
  6. package/dist/{appHistory-T3ZLA7QN.js → appHistory-KHX53SGI.js} +6 -4
  7. package/dist/{asset-ORCN4EVH.js → asset-QVINGJRK.js} +2 -2
  8. package/dist/{assetCataloger-X23VB66T.js → assetCataloger-DENJPUBH.js} +15 -14
  9. package/dist/{audio-NHNXBUI2.js → audio-LB7HQYPJ.js} +28 -27
  10. package/dist/{auth-DQDDXQFC.js → auth-7AGRVI5A.js} +2 -2
  11. package/dist/{autoUpdate-LF7BJN34.js → autoUpdate-ITCP2JDM.js} +4 -4
  12. package/dist/{avatars-KFUMWRVX.js → avatars-2K2C74EQ.js} +19 -17
  13. package/dist/{backgroundChecks-Y6RHADW6.js → backgroundChecks-UOTBCWPN.js} +5 -5
  14. package/dist/backgroundChecksWorker.js +5 -5
  15. package/dist/{batchRender-CMG4SVBX.js → batchRender-Z7ESYQDS.js} +9 -7
  16. package/dist/{beats-JXZBK7JI.js → beats-TG6ZB3XH.js} +14 -14
  17. package/dist/{benchmark-CLU6JUGY.js → benchmark-RU5MLZHE.js} +20 -20
  18. package/dist/{billing-5GMYFDMC.js → billing-VB5PYYSN.js} +19 -19
  19. package/dist/{browser-S4R6LZMF.js → browser-VSQRY5GG.js} +12 -12
  20. package/dist/{bundleWithLocalizedFonts-SFUFSBEU.js → bundleWithLocalizedFonts-XDPJE355.js} +1 -1
  21. package/dist/{capture-A3FLQIDI.js → capture-M4FL7MWI.js} +25 -24
  22. package/dist/{capture-NL7V23HG.js → capture-TQCFWPAT.js} +4 -4
  23. package/dist/{captureCompositionFrame-R7GYVNTF.js → captureCompositionFrame-XF67Q6YK.js} +20 -19
  24. package/dist/{captureFile-LXMDM5TD.js → captureFile-F254H22J.js} +3 -3
  25. package/dist/{catalog-42I7W7AU.js → catalog-24EGH662.js} +23 -23
  26. package/dist/catalog-artifact/media-vectors.json +205 -0
  27. package/dist/{catch-up-TFSQZQZD.js → catch-up-L23HGDLB.js} +16 -16
  28. package/dist/{check-CXRQZBLD.js → check-F4HQVV2M.js} +56 -53
  29. package/dist/{checkAudio-AJUH6RU6.js → checkAudio-6DT3ONR7.js} +17 -16
  30. package/dist/{checkBrowser-4BLSYI25.js → checkBrowser-S7P4X7QV.js} +46 -45
  31. package/dist/{chunk-Q42L7V5T.js → chunk-2GRCTZNS.js} +1 -1
  32. package/dist/{chunk-EKANCN4D.js → chunk-2ZOJCSLJ.js} +3 -3
  33. package/dist/{chunk-ER22SVLT.js → chunk-3GVHDPEP.js} +1 -1
  34. package/dist/{chunk-MPU2CRFV.js → chunk-43CQTZGB.js} +13 -14
  35. package/dist/{chunk-63ESYLBY.js → chunk-4DJGUZJR.js} +2 -2
  36. package/dist/{chunk-B6AK5P2D.js → chunk-4GPKDDQZ.js} +7 -7
  37. package/dist/{chunk-KYUCSRZU.js → chunk-4WSJ5MUN.js} +1 -1
  38. package/dist/{chunk-T5S7U5C6.js → chunk-52XHPMCX.js} +1 -1
  39. package/dist/chunk-56T2OGYR.js +5085 -0
  40. package/dist/{chunk-4Q3Q4NFK.js → chunk-5GSCSZOS.js} +2 -2
  41. package/dist/{chunk-3L2POG2J.js → chunk-5IE5ZI66.js} +37 -8
  42. package/dist/{chunk-SWAG64KW.js → chunk-5ZDNSYTO.js} +8 -13
  43. package/dist/{chunk-N7M2SNAF.js → chunk-664QGMR4.js} +2 -2
  44. package/dist/chunk-677JGYQL.js +91 -0
  45. package/dist/{chunk-GA6QR6LN.js → chunk-6LONEKJR.js} +253 -158
  46. package/dist/{chunk-LEIR7IDJ.js → chunk-6LU6JICP.js} +80 -1
  47. package/dist/{chunk-SVIA7POL.js → chunk-6XRXUMFG.js} +2 -2
  48. package/dist/{chunk-4ZFNNWUX.js → chunk-7DKWEIH4.js} +10 -10
  49. package/dist/{chunk-GEUM7NDY.js → chunk-7E7VKASF.js} +2 -2
  50. package/dist/{chunk-5HJZGP54.js → chunk-7F4RAWDS.js} +2 -2
  51. package/dist/{chunk-OWS4ZWEY.js → chunk-7HQC5MDZ.js} +1 -1
  52. package/dist/{chunk-P4YIRU76.js → chunk-7QFFS657.js} +1 -1
  53. package/dist/{chunk-AYESPEPQ.js → chunk-7QFLMCTD.js} +6 -1
  54. package/dist/chunk-AGTBMLNM.js +42 -0
  55. package/dist/{chunk-BNONW4QT.js → chunk-AN6KWGYI.js} +2 -2
  56. package/dist/{chunk-JAAIW4JR.js → chunk-ANYW22IT.js} +1 -1
  57. package/dist/{chunk-JRSBBFUU.js → chunk-APCVZGU6.js} +402 -110
  58. package/dist/{chunk-7WRLK2K4.js → chunk-B6BWLFAF.js} +2 -2
  59. package/dist/{chunk-VCKUDUPN.js → chunk-BA33QNKK.js} +199 -15
  60. package/dist/{chunk-WPSPW7SI.js → chunk-BMVUB2CY.js} +6 -6
  61. package/dist/{chunk-5XLTJMCN.js → chunk-BPYNILOZ.js} +5 -5
  62. package/dist/{chunk-H5KHQ6KS.js → chunk-BR7GOCQJ.js} +1 -1
  63. package/dist/{chunk-6SRBTOGD.js → chunk-BTJYK56C.js} +3 -3
  64. package/dist/{chunk-EA5W2DWO.js → chunk-BUG5AOPJ.js} +3 -3
  65. package/dist/{chunk-7RI3U46M.js → chunk-BW4H55SU.js} +1 -1
  66. package/dist/{chunk-SDFGDNWV.js → chunk-BZXW5QU7.js} +1 -1
  67. package/dist/{chunk-WPD7JH6F.js → chunk-CBG6MIT2.js} +2 -2
  68. package/dist/{chunk-O7TIBLSJ.js → chunk-CKIVYAKG.js} +80 -15
  69. package/dist/{chunk-YVCPUVHV.js → chunk-CKIYT34K.js} +1 -1
  70. package/dist/{chunk-DWDCE4PO.js → chunk-CLRHKYOK.js} +6 -6
  71. package/dist/{chunk-3IUBSGD2.js → chunk-CNXZCMJZ.js} +2 -2
  72. package/dist/{chunk-F64VFCVC.js → chunk-CPSD7337.js} +51 -28
  73. package/dist/{chunk-73UFPVUC.js → chunk-CUO2HF4M.js} +2 -2
  74. package/dist/{chunk-JSYLOPVJ.js → chunk-CWIOKI2R.js} +1 -1
  75. package/dist/{chunk-IB6FFEDH.js → chunk-CXFW7YPT.js} +42 -48
  76. package/dist/{chunk-YNF3SH26.js → chunk-CZCZ5YXT.js} +3 -2
  77. package/dist/{chunk-SUG2AA33.js → chunk-D3WRRPHI.js} +10 -10
  78. package/dist/{chunk-CWXJZB44.js → chunk-DDCXMXAD.js} +11 -11
  79. package/dist/{chunk-X6TDH2OM.js → chunk-DUZ6Z2ZN.js} +1 -1
  80. package/dist/{chunk-DXVK3NMV.js → chunk-EBRN4YJH.js} +3 -3
  81. package/dist/{chunk-RBBWUYMG.js → chunk-EGR2ZFFP.js} +4 -4
  82. package/dist/{chunk-AU4ZBCR3.js → chunk-EKSS3KI7.js} +1 -1
  83. package/dist/{chunk-TMV76KPG.js → chunk-EUP7ODOV.js} +1 -1
  84. package/dist/{chunk-E2DHBP6C.js → chunk-FGGRBKWL.js} +1 -1
  85. package/dist/{chunk-GIOLHGCC.js → chunk-GTC2STHN.js} +116 -27
  86. package/dist/{chunk-E7T5SMDK.js → chunk-GWSMTN55.js} +51 -10
  87. package/dist/{chunk-QGKRHG4Q.js → chunk-HCQXGGVY.js} +18 -18
  88. package/dist/{chunk-WAAXVZIT.js → chunk-HOCV5AW6.js} +2 -2
  89. package/dist/{chunk-7RGWVZOS.js → chunk-HVG656G6.js} +3 -3
  90. package/dist/{chunk-D4EGZYDN.js → chunk-ICDGP335.js} +13 -10
  91. package/dist/{chunk-NKAW4RVE.js → chunk-IDGWNOBX.js} +1 -1
  92. package/dist/{chunk-YU5LSWA2.js → chunk-IHX3AFTY.js} +2 -2
  93. package/dist/{chunk-CAYQATCT.js → chunk-IO7PRQQC.js} +1 -1
  94. package/dist/{chunk-BDWLBCTG.js → chunk-IRZUZ32B.js} +5 -5
  95. package/dist/{chunk-QONV77VI.js → chunk-IT2QBRVS.js} +1 -1
  96. package/dist/{chunk-PXLGDX2S.js → chunk-JDXALWOM.js} +39 -24
  97. package/dist/{chunk-E7X54BVP.js → chunk-JPEIUGS5.js} +1 -1
  98. package/dist/{chunk-4IUOWNDS.js → chunk-JQKCRTVQ.js} +2 -2
  99. package/dist/{chunk-UZJ7Y7WU.js → chunk-KRYXZVA2.js} +3 -3
  100. package/dist/{chunk-CIYNUD7Q.js → chunk-L27Z3PZT.js} +1 -1
  101. package/dist/{chunk-CBCB6GPL.js → chunk-L5CBCPUH.js} +60 -33
  102. package/dist/{chunk-BBDWXUO3.js → chunk-L5NPBGQB.js} +15 -22
  103. package/dist/{chunk-B5HSHXE2.js → chunk-LH5FRVAO.js} +12 -7
  104. package/dist/{chunk-YBLBI3O2.js → chunk-LK7F7P2X.js} +6 -3
  105. package/dist/{chunk-4WK4O5FI.js → chunk-LRQEIKFT.js} +67 -27
  106. package/dist/{chunk-FUPEHRNT.js → chunk-LRWWCTSJ.js} +2 -2
  107. package/dist/{chunk-RXJUMVCA.js → chunk-MDRLJ737.js} +5 -2
  108. package/dist/{chunk-VK3MQSA2.js → chunk-MK4RH5L7.js} +5 -2
  109. package/dist/{chunk-AROERRUJ.js → chunk-MP52CUHL.js} +2 -2
  110. package/dist/{chunk-ATKA5KHE.js → chunk-MPOWSPBD.js} +3 -3
  111. package/dist/{chunk-H7DKHNBF.js → chunk-MVLAPENI.js} +36 -8
  112. package/dist/{chunk-2PASB3PC.js → chunk-NCJSN6SV.js} +5 -5
  113. package/dist/{chunk-DVTRMGYG.js → chunk-NFST2HIM.js} +2 -2
  114. package/dist/{chunk-C7LNWZ7G.js → chunk-OXT2LXZB.js} +8 -6
  115. package/dist/{chunk-MEGSQW2I.js → chunk-OZDELWQP.js} +2 -29
  116. package/dist/{chunk-EB4IWBBC.js → chunk-PCKKKICA.js} +18 -4
  117. package/dist/{chunk-SOMX57XG.js → chunk-PGHROSLJ.js} +4 -4
  118. package/dist/{chunk-Q3ESTCZH.js → chunk-PGJYA6I3.js} +11 -11
  119. package/dist/{chunk-NKUUNSII.js → chunk-PHAZT6EB.js} +1 -1
  120. package/dist/{chunk-KCF6Q54R.js → chunk-PUTPYYE4.js} +1 -1
  121. package/dist/{chunk-NRGNEP3R.js → chunk-PVF32NRA.js} +2 -2
  122. package/dist/{chunk-32DAUKF5.js → chunk-Q2TT62RQ.js} +4 -4
  123. package/dist/{chunk-EXXIFMUX.js → chunk-QBADK3LD.js} +13 -5
  124. package/dist/{chunk-DOLVT6CH.js → chunk-QJDMX53S.js} +1 -1
  125. package/dist/{chunk-F7B2YDPM.js → chunk-QNIID7EN.js} +6 -8
  126. package/dist/{chunk-FICKJQU2.js → chunk-QTZICZWT.js} +4 -4
  127. package/dist/{chunk-Y6UCMYJZ.js → chunk-R2LP7QPB.js} +1 -1
  128. package/dist/{chunk-YUDWGRNZ.js → chunk-RCGNYXWK.js} +14 -14
  129. package/dist/{chunk-CNZOKODL.js → chunk-RFULFCYW.js} +3 -3
  130. package/dist/{chunk-26RTKW2U.js → chunk-RRT6URIP.js} +2 -2
  131. package/dist/{chunk-IR2GEREV.js → chunk-SEC76O65.js} +1 -1
  132. package/dist/{chunk-3NXY6O4X.js → chunk-SGWDJLFL.js} +1 -1
  133. package/dist/{chunk-RXSPJW77.js → chunk-T5HYPGST.js} +4 -4
  134. package/dist/{chunk-77U3646W.js → chunk-TVZTTWU7.js} +2 -2
  135. package/dist/{chunk-ELA3IV4P.js → chunk-TY7EHE4Q.js} +2 -2
  136. package/dist/{chunk-75TCOXNT.js → chunk-UHVKV5IF.js} +1 -1
  137. package/dist/{chunk-SULPT5X6.js → chunk-UIMXEY4U.js} +6 -6
  138. package/dist/{chunk-KWTTELUY.js → chunk-UVPLW55S.js} +37 -1
  139. package/dist/{chunk-EKCGL4MV.js → chunk-VC4YMXUQ.js} +1 -1
  140. package/dist/{chunk-H2GJDFF6.js → chunk-VCSQLM36.js} +14 -9
  141. package/dist/{chunk-VT2K6I4A.js → chunk-VVXSMYXQ.js} +3 -3
  142. package/dist/{chunk-NCLBKHCX.js → chunk-W4AR7UZH.js} +2 -2
  143. package/dist/{chunk-TM7D3NOR.js → chunk-WFB4XPJR.js} +45 -11
  144. package/dist/{chunk-PAA5FUUL.js → chunk-WGWKT7ME.js} +3 -3
  145. package/dist/{chunk-LRXARA5O.js → chunk-WHX2OV4C.js} +1 -1
  146. package/dist/{chunk-O6E5HSVF.js → chunk-WUY74LHU.js} +2 -2
  147. package/dist/{chunk-RZJ7BHXB.js → chunk-XD5T43S7.js} +1 -1
  148. package/dist/{chunk-3NPZZT2K.js → chunk-XEVAW42J.js} +9 -9
  149. package/dist/{chunk-JHOCK3DG.js → chunk-XFF4XJZO.js} +11 -3
  150. package/dist/{chunk-4NG5GSTO.js → chunk-XKNNZ4WR.js} +1 -1
  151. package/dist/{chunk-3IHRXHJQ.js → chunk-XLP34AJR.js} +2 -2
  152. package/dist/{chunk-QKYGGUOQ.js → chunk-YDNBMPP3.js} +4 -4
  153. package/dist/{chunk-PLOVBMJF.js → chunk-YFWFCKKF.js} +291 -235
  154. package/dist/{chunk-EZQJFCWA.js → chunk-YOMFN6HH.js} +2 -2
  155. package/dist/{chunk-TRAPS5WB.js → chunk-YQSVPHOS.js} +27 -37
  156. package/dist/{chunk-OTWFSHYH.js → chunk-YWH7HWDP.js} +269 -145
  157. package/dist/chunk-YXX6CIHL.js +25 -0
  158. package/dist/{chunk-TW4DB2NK.js → chunk-Z72VXQPN.js} +2 -2
  159. package/dist/{chunk-KTLRJZFK.js → chunk-ZIF44RW2.js} +9 -10
  160. package/dist/{clean-JK4VQMTH.js → clean-VB6BH3FV.js} +30 -29
  161. package/dist/cli.js +66 -66
  162. package/dist/{cloud-JZ2WKHQG.js → cloud-7KRPD2K4.js} +4 -4
  163. package/dist/{cloud-LU4FVT33.js → cloud-A67BW6OH.js} +3 -3
  164. package/dist/{cloudrun-QBXSGBGX.js → cloudrun-VKBARVVT.js} +22 -9
  165. package/dist/{compare-YE5BTDCG.js → compare-SE55PMC3.js} +45 -44
  166. package/dist/{compiler-QEA5UQRG.js → compiler-WK7ABGRW.js} +6 -6
  167. package/dist/{component-MGT5ZJ4M.js → component-XT2AT3RY.js} +3 -3
  168. package/dist/{compositions-7OF6FDCH.js → compositions-ZZWLQNDQ.js} +25 -23
  169. package/dist/{contactSheet-CCHQAZLA.js → contactSheet-MXOASCDR.js} +4 -4
  170. package/dist/{curve-JQLVUDXR.js → curve-4RQQKZ2K.js} +19 -17
  171. package/dist/{cuts-MCJP6LMJ.js → cuts-M3QU2CBE.js} +20 -18
  172. package/dist/{delete-PUYEW3RJ.js → delete-5ZZNPK5G.js} +7 -7
  173. package/dist/{deploy-M4XGMJM5.js → deploy-VR5SQP4U.js} +9 -4
  174. package/dist/{describeProject-P7CBZ6NW.js → describeProject-NU5BVVIA.js} +14 -13
  175. package/dist/{destroy-6XJWSH2A.js → destroy-FFS62PAW.js} +9 -4
  176. package/dist/{deterministicFonts-OXGNMVJE.js → deterministicFonts-FQQNGORI.js} +4 -4
  177. package/dist/{diff-BATSO64W.js → diff-NQGTF6GR.js} +58 -52
  178. package/dist/{dist-T62DJJZX.js → dist-6GYOC3BU.js} +4 -4
  179. package/dist/{dist-G6W7GKGP.js → dist-APXZ5EN2.js} +3 -3
  180. package/dist/{dist-PC3EMMET.js → dist-B7IBHWIW.js} +18 -15
  181. package/dist/{doctor-ONTGSPYF.js → doctor-FATJGTPD.js} +22 -21
  182. package/dist/{energy-FNZICGW2.js → energy-PHDK6SKL.js} +20 -18
  183. package/dist/{events-LBHSU7C2.js → events-25VQ2O66.js} +10 -10
  184. package/dist/{events-6TNBAVVY.js → events-OIWXSBZA.js} +25 -22
  185. package/dist/{events-ENJZNXWG.js → events-RXVHG2NT.js} +5 -5
  186. package/dist/{execute-RXTEBACV.js → execute-MKP4Z573.js} +36 -35
  187. package/dist/{extract-F2CWTMLX.js → extract-YYNYXPOC.js} +20 -18
  188. package/dist/{face-7HL4CP32.js → face-JSTMFQRM.js} +21 -19
  189. package/dist/{feedback-4NDDMECH.js → feedback-PY6LMZCX.js} +19 -19
  190. package/dist/{ffmpeg-3LL345SO.js → ffmpeg-KLIB55FK.js} +13 -12
  191. package/dist/{figma-474E54NB.js → figma-ACFOXVPM.js} +3 -3
  192. package/dist/fontLocalizeCli.js +20 -19
  193. package/dist/{frames-EZWGM7QQ.js → frames-BLZCBXO7.js} +22 -20
  194. package/dist/{generate-I75DZWDU.js → generate-DMVEKZEV.js} +33 -31
  195. package/dist/{get-BHU6CBWO.js → get-3WZDQ5YM.js} +7 -7
  196. package/dist/{gpuPolicy-6J2STCV2.js → gpuPolicy-TT6UCOLQ.js} +13 -12
  197. package/dist/{grade-compare-D4TBMCBG.js → grade-compare-F5DJ53XH.js} +47 -44
  198. package/dist/hangReport.js +2 -2
  199. package/dist/{heifImagePrep-VLYGRKSS.js → heifImagePrep-UV23RWOG.js} +16 -15
  200. package/dist/{help-2CUXKYJ6.js → help-QMP5KFYW.js} +1 -1
  201. package/dist/{history-LVAVYTAN.js → history-UOZ4RDEZ.js} +21 -18
  202. package/dist/hyperframe.manifest.json +1 -1
  203. package/dist/hyperframe.runtime.iife.js +76 -76
  204. package/dist/hyperframes-player.global.js +1 -1
  205. package/dist/{info-SUZOEH6L.js → info-A6KSO64E.js} +21 -20
  206. package/dist/{init-XI5QN3A6.js → init-OQU46K3Q.js} +52 -47
  207. package/dist/{ink-OVDZOCQJ.js → ink-HGRKLGII.js} +20 -18
  208. package/dist/{inspect-INBCGPBD.js → inspect-BKENKUXF.js} +44 -43
  209. package/dist/{installer-JNQKFCTN.js → installer-Z6FTR7BJ.js} +8 -8
  210. package/dist/{keyframes-LYZJK4RH.js → keyframes-UDQGWKPW.js} +14 -14
  211. package/dist/{lambda-DUDXZV6X.js → lambda-SHXQFHLE.js} +23 -22
  212. package/dist/{layout-JKUJW6A4.js → layout-CJAVQ4D3.js} +44 -43
  213. package/dist/{lint-NKDC7IJ2.js → lint-RAPNYPWS.js} +15 -15
  214. package/dist/{lintProject-5Z34NNS4.js → lintProject-JZRM7UKH.js} +3 -3
  215. package/dist/{list-5HUMDJYL.js → list-4BKFMJQN.js} +7 -7
  216. package/dist/{localPage-RRBRFR4Y.js → localPage-BJW2TP77.js} +14 -13
  217. package/dist/{login-C3SHKITR.js → login-S5VZAGCI.js} +4 -4
  218. package/dist/{look-3TX2U4BE.js → look-V2I6BGUY.js} +20 -18
  219. package/dist/{manager-MOR255LW.js → manager-OS2FYJI5.js} +14 -13
  220. package/dist/{manager-45VB2G5F.js → manager-WQWU5VJ4.js} +5 -5
  221. package/dist/{measure-ZAKBHNGY.js → measure-RO5R2SUZ.js} +11 -11
  222. package/dist/{media-treatment-QJ35DSED.js → media-treatment-CS7BVMJW.js} +21 -20
  223. package/dist/{media-use-YBKHJVXL.js → media-use-W3DGCKFB.js} +5 -5
  224. package/dist/{models-OQHKG7B4.js → models-ZOGYW2SC.js} +18 -17
  225. package/dist/{motionShot-TWQTREFH.js → motionShot-IMRI7W7T.js} +24 -23
  226. package/dist/{normalize-audio-PXHPUOMD.js → normalize-audio-HXTFAZUK.js} +14 -14
  227. package/dist/{open-TVGO5KVF.js → open-LJDQ37KV.js} +25 -24
  228. package/dist/{parakeetRunner-MVJMZSIG.js → parakeetRunner-CKMSKDH6.js} +21 -20
  229. package/dist/{pipeline-4S5UE4O4.js → pipeline-ZNCYOTUH.js} +16 -15
  230. package/dist/{plan-AMBZUX55.js → plan-NCFS5T6W.js} +28 -27
  231. package/dist/{play-KEAESNBM.js → play-5UZDFFXJ.js} +39 -32
  232. package/dist/{preflight-K3CM3W55.js → preflight-H5XYFKFF.js} +16 -15
  233. package/dist/{present-42WDBGBA.js → present-EFXUFT5Y.js} +62 -46
  234. package/dist/{preview-KSHBU7ZR.js → preview-RV7ALGDQ.js} +35 -33
  235. package/dist/{probe-TMSXGCL4.js → probe-UB6DM2Q3.js} +20 -18
  236. package/dist/{producer-KXRSJPJF.js → producer-2PKB5CW5.js} +1 -1
  237. package/dist/{progress-IY6U35WH.js → progress-S36VQBQW.js} +3 -1
  238. package/dist/{projectConfig-LOHNVOJG.js → projectConfig-EUH5DILC.js} +12 -12
  239. package/dist/{publication-LYPU7NTZ.js → publication-VI2AXXKR.js} +6 -6
  240. package/dist/{publish-PYZXDQJW.js → publish-225GB7R4.js} +25 -25
  241. package/dist/{remove-background-HVX52VOF.js → remove-background-W2RLEQHJ.js} +17 -16
  242. package/dist/{render-CM4MCNVA.js → render-KXKBSNOQ.js} +9 -8
  243. package/dist/{render-57ZYQ53S.js → render-WMWCCMWI.js} +71 -54
  244. package/dist/{render-5KMA5P2U.js → render-Y3JKWEN4.js} +42 -39
  245. package/dist/{render-batch-URBBGOVC.js → render-batch-GK6CDHKN.js} +10 -9
  246. package/dist/renderSetupWorker.js +8 -8
  247. package/dist/{resolver-UPUCU4XT.js → resolver-5CRZD5XB.js} +9 -9
  248. package/dist/{reverse-UYS7KVE2.js → reverse-YPYKKQSJ.js} +1 -1
  249. package/dist/{run-4LNEWQLG.js → run-FQ76QNES.js} +7 -7
  250. package/dist/{sam-EGFXZF56.js → sam-A4NXDWSU.js} +4 -1
  251. package/dist/{screenshotCapture-IF5AO5XM.js → screenshotCapture-R6VE66NR.js} +16 -15
  252. package/dist/{service-OEOC34BD.js → service-P3IKHZFC.js} +18 -17
  253. package/dist/{share-NS7CMVSU.js → share-BU4VQL3B.js} +21 -20
  254. package/dist/{sherpa-QBTXL6JA.js → sherpa-44GLXY3A.js} +20 -19
  255. package/dist/sherpaWorker.js +5 -3
  256. package/dist/{sites-QK3F4AUS.js → sites-TAX3JLNX.js} +3 -1
  257. package/dist/skills/hyperframes/SKILL.md +2 -2
  258. package/dist/skills/hyperframes/references/format.md +11 -2
  259. package/dist/skills/hyperframes/references/overlays.md +1 -1
  260. package/dist/skills/hyperframes/references/plugin-installation.md +33 -22
  261. package/dist/skills/hyperframes/references/sound.md +1 -0
  262. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +18 -13
  263. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +64 -40
  264. package/dist/skills/hyperframes-cli/SKILL.md +2 -2
  265. package/dist/skills/media-use/SKILL.md +1 -1
  266. package/dist/skills/media-use/audio/scripts/lib/bgm.mjs +4 -1
  267. package/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +62 -1
  268. package/dist/skills/media-use/audio/scripts/lib/python.mjs +9 -1
  269. package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +16 -0
  270. package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.mjs +27 -2
  271. package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +40 -1
  272. package/dist/skills/media-use/scripts/lib/local-media-search.mjs +52 -23
  273. package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +73 -4
  274. package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +3 -1
  275. package/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +16 -1
  276. package/dist/skills/media-use/scripts/resolve.mjs +4 -14
  277. package/dist/skills/media-use/scripts/transcribe.mjs +19 -3
  278. package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -0
  279. package/dist/{skills-S5U2MQAI.js → skills-H4OZQ6VR.js} +15 -14
  280. package/dist/{skillsUpdateCheck-UZ7CZ6VC.js → skillsUpdateCheck-U3XZX7UE.js} +5 -5
  281. package/dist/{snapshot-YWFWQTAV.js → snapshot-FJQVXBFB.js} +59 -56
  282. package/dist/{src-N2SMYJ44.js → src-O6BHCR4O.js} +18 -17
  283. package/dist/{src-UQ3K3UW2.js → src-PAM5LJ6K.js} +12 -11
  284. package/dist/{start-4IA5GG5D.js → start-R7CYOQ5S.js} +31 -29
  285. package/dist/{state-7OIPR4BG.js → state-YFRV6TQH.js} +3 -1
  286. package/dist/{staticProjectServer-5JP25RRX.js → staticProjectServer-4X2OSUN4.js} +29 -28
  287. package/dist/{status-ITCKXFBF.js → status-VN3FAN4M.js} +21 -21
  288. package/dist/studio/assets/{hyperframes-player-Oju91F6x.js → hyperframes-player-SRLbmEDB.js} +1 -1
  289. package/dist/studio/assets/{index-B0VEzzD2.js → index-CgyBYe2L.js} +130 -130
  290. package/dist/studio/assets/{index-XEm_N45R.js → index-yuN1pZrv.js} +1 -1
  291. package/dist/studio/assets/{pausedVideoDecoder-p6zibxVM.js → pausedVideoDecoder-DtvSF8bV.js} +1 -1
  292. package/dist/studio/index.html +1 -1
  293. package/dist/{studio-api-GENM2XVL.js → studio-api-V3TMIWFB.js} +18 -15
  294. package/dist/{studioSelectionClient-W2S3H2VO.js → studioSelectionClient-S46TNAAZ.js} +2 -1
  295. package/dist/{studioServer-SWR5Q3PD.js → studioServer-GY2ZTR2E.js} +90 -77
  296. package/dist/{sync-CK6TTCXO.js → sync-2V3JYCDE.js} +20 -18
  297. package/dist/{synthesize-EXNEBJSY.js → synthesize-TQELPMS5.js} +5 -5
  298. package/dist/{system-JBPJHNTG.js → system-2YOII5LZ.js} +3 -3
  299. package/dist/{telemetry-T4HQ6AKZ.js → telemetry-KMRZ3IJV.js} +10 -10
  300. package/dist/{templates-7O7NOIUC.js → templates-EEFY4FPS.js} +129 -37
  301. package/dist/{timeline-P2PLN53O.js → timeline-HSRGYZ3Q.js} +28 -27
  302. package/dist/{tokens-SPQN27VG.js → tokens-NYFORL53.js} +2 -2
  303. package/dist/{transcribe-YJQ3DDDI.js → transcribe-CNIQYQ52.js} +37 -35
  304. package/dist/{transcribe-SCZG6IM4.js → transcribe-GFFWRWK3.js} +17 -16
  305. package/dist/{tts-5OAB5XX6.js → tts-NPMDYSXP.js} +1 -1
  306. package/dist/{update-JYPZW35A.js → update-BDMPUNNA.js} +17 -16
  307. package/dist/{updateCheck-5M2JJTH3.js → updateCheck-43UZ2USJ.js} +4 -4
  308. package/dist/{upgrade-BP62FM6V.js → upgrade-Z5B57UWL.js} +7 -7
  309. package/dist/{urlDownloader-WOZQCE6P.js → urlDownloader-KDZ76BKM.js} +12 -11
  310. package/dist/{validate-NEC5QLH7.js → validate-UQKZNR5K.js} +35 -34
  311. package/dist/{video-XEEBISSO.js → video-VR4363OG.js} +15 -14
  312. package/dist/{voices-GCHA27JA.js → voices-GUWAM3TH.js} +31 -29
  313. package/dist/warmCheck.js +56 -53
  314. package/dist/warmCheckClient.js +2 -2
  315. package/package.json +2 -1
  316. package/dist/chunk-XGEJPKRY.js +0 -5069
@@ -13,18 +13,21 @@ import {
13
13
  rewriteHtmlAttributes,
14
14
  rewriteStyleBlocks,
15
15
  stagedSize
16
- } from "./chunk-CBCB6GPL.js";
16
+ } from "./chunk-L5CBCPUH.js";
17
17
  import {
18
18
  probeAudio
19
- } from "./chunk-75TCOXNT.js";
19
+ } from "./chunk-UHVKV5IF.js";
20
20
  import {
21
21
  findFFmpeg,
22
22
  findFFprobe,
23
23
  getFFmpegInstallHint
24
- } from "./chunk-7WRLK2K4.js";
24
+ } from "./chunk-B6BWLFAF.js";
25
25
  import {
26
26
  formatBytes
27
27
  } from "./chunk-ZLTB7ZCQ.js";
28
+ import {
29
+ runWithConcurrencyLimit
30
+ } from "./chunk-XFF4XJZO.js";
28
31
  import {
29
32
  AUDIO_EXTS,
30
33
  CONVERTIBLE_IMAGE_EXTS,
@@ -34,7 +37,7 @@ import {
34
37
  } from "./chunk-6T4PB35F.js";
35
38
  import {
36
39
  parseAnimatedGifMetadata
37
- } from "./chunk-4IUOWNDS.js";
40
+ } from "./chunk-JQKCRTVQ.js";
38
41
  import {
39
42
  cleanAssetUrl,
40
43
  isRemoteOrInlineUrl,
@@ -180,6 +183,7 @@ function planTrim(input) {
180
183
  // src/cloud/offload.ts
181
184
  var execFileAsync = promisify(execFile);
182
185
  var OFFLOAD_MIN_BYTES = 5 * 1024 * 1024;
186
+ var OFFLOAD_CONCURRENCY = 8;
183
187
  var MiB = 1024 * 1024;
184
188
  var AUDIO_MAX_BYTES = 15e8;
185
189
  var ACCEPTED = {
@@ -569,7 +573,7 @@ function mediaFileKind(path, file) {
569
573
  }
570
574
  async function planFile(ctx, path, file) {
571
575
  const size = stagedSize(file);
572
- let kind = size < OFFLOAD_MIN_BYTES ? null : mediaFileKind(path, file);
576
+ let kind = mediaFileKind(path, file);
573
577
  if (!kind) return null;
574
578
  const ext = extname(path).toLowerCase();
575
579
  const accepted = ACCEPTED[ext];
@@ -597,12 +601,13 @@ async function planFile(ctx, path, file) {
597
601
  }
598
602
  async function planFileTrim(ctx, path, sourcePath, kind) {
599
603
  const entryPath = ctx.opts.entryPath ?? "index.html";
600
- const entryHtml = textOf(entryPath, ctx.fileMap.get(entryPath));
601
- const gridPerSecond = entryHtml ? await ctx.reencoder.trimGrid?.(sourcePath, kind) : null;
602
- if (!entryHtml || !gridPerSecond) return null;
604
+ if (!textOf(entryPath, ctx.fileMap.get(entryPath))) return null;
605
+ const gridPerSecond = await ctx.reencoder.trimGrid?.(sourcePath, kind);
606
+ const entryHtmlAfterOthersPlanned = textOf(entryPath, ctx.fileMap.get(entryPath));
607
+ if (!entryHtmlAfterOthersPlanned || !gridPerSecond) return null;
603
608
  const name = basename2(path);
604
609
  const plan = planTrim({
605
- entryHtml,
610
+ entryHtml: entryHtmlAfterOthersPlanned,
606
611
  path,
607
612
  gridPerSecond,
608
613
  resolveKey: (raw) => htmlSrcKey(ctx.absDir, entryPath, raw, ctx.fileMap),
@@ -634,6 +639,14 @@ async function offloadFile(ctx, path, file) {
634
639
  return { ...item, ...await uploadPlanned(ctx, ctx.opts.upload, path, file, plan) };
635
640
  }
636
641
  async function uploadPlanned(ctx, upload, path, staged, plan) {
642
+ if (plan.key === void 0) return uploadOnce(ctx, upload, path, staged, plan);
643
+ const pending = ctx.uploadsInFlightByKey.get(plan.key);
644
+ if (pending) return pending;
645
+ const started = uploadOnce(ctx, upload, path, staged, plan);
646
+ ctx.uploadsInFlightByKey.set(plan.key, started);
647
+ return started;
648
+ }
649
+ async function uploadOnce(ctx, upload, path, staged, plan) {
637
650
  const filename = basename2(path);
638
651
  const file = plan.preset ? await ctx.reencoder.run(plan.sourcePath, plan.preset, plan.segments) : Buffer.isBuffer(staged) ? { bytes: staged, filename, contentType: plan.contentType } : { path: staged.absPath, size: staged.size, filename, contentType: plan.contentType };
639
652
  if (plan.preset && !Buffer.isBuffer(staged)) assertUnchanged(staged);
@@ -654,7 +667,7 @@ async function prepareEntryGifs(ctx, fileMap) {
654
667
  if (!html || !/\.gif\b/i.test(html)) return;
655
668
  const sourceAssets = entryGifSources(ctx, entryPath, html);
656
669
  if (!sourceAssets) return;
657
- const prep = ctx.opts.gifPrep ?? (await import("./src-N2SMYJ44.js")).prepareAnimatedGifInputs;
670
+ const prep = ctx.opts.gifPrep ?? (await import("./src-O6BHCR4O.js")).prepareAnimatedGifInputs;
658
671
  const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
659
672
  ctx.tempFiles.push(outputDir);
660
673
  const result = await prep(html, {
@@ -705,7 +718,8 @@ async function offloadHeavyMedia(projectDir, fileMap, opts) {
705
718
  reencoder: opts.reencoder ?? ffmpegReencoder,
706
719
  tempFiles: [],
707
720
  preparedGifSources: [],
708
- fileMap
721
+ fileMap,
722
+ uploadsInFlightByKey: /* @__PURE__ */ new Map()
709
723
  };
710
724
  const urls = /* @__PURE__ */ new Map();
711
725
  const report = [];
@@ -713,31 +727,57 @@ async function offloadHeavyMedia(projectDir, fileMap, opts) {
713
727
  try {
714
728
  await prepareEntryGifs(ctx, fileMap);
715
729
  referenced = referencedFiles(ctx.absDir, fileMap);
716
- for (const [path, file] of [...fileMap].sort(([a], [b]) => a.localeCompare(b))) {
717
- if (!referenced.has(path)) continue;
718
- const item = await offloadFile(ctx, path, file);
719
- if (!item) continue;
720
- urls.set(path, item.url ?? `https://assets.invalid/${report.length}`);
721
- report.push(item);
722
- opts.onFile?.(item);
723
- }
730
+ const budget = opts.zipBudgetBytes ?? 0;
731
+ const zipped = [...fileMap.values()].reduce((sum, file) => sum + stagedSize(file), 0);
732
+ const left = dropUnusedMediaWhileOver(ctx, referenced, zipped, budget);
733
+ await uploadLargestWhileOver(ctx, referenced, left, budget, urls, report);
734
+ report.sort((a, b) => a.path.localeCompare(b.path));
724
735
  } finally {
725
736
  for (const dir of ctx.tempFiles) rmSync(dir, { recursive: true, force: true });
726
737
  }
727
738
  if (urls.size > 0) rewriteReferences(ctx.absDir, fileMap, (key) => urls.get(key) ?? null);
728
739
  dropReplacedFiles(fileMap, report, ctx.preparedGifSources, [...urls.values()]);
729
- dropUnusedHeavyFiles(ctx, referenced, [...urls.values()]);
730
740
  return report;
731
741
  }
732
- function dropUnusedHeavyFiles(ctx, referenced, assetUrls) {
742
+ function dropUnusedMediaWhileOver(ctx, referenced, zipped, budget) {
733
743
  const { fileMap } = ctx;
734
- const withoutUrls = (text) => assetUrls.reduce((acc, url) => acc.replaceAll(url, ""), text);
735
- const code = withoutUrls(scriptCode(fileMap));
744
+ const code = scriptCode(fileMap);
736
745
  const variables = ctx.opts.variablesText ?? "";
737
- for (const [path, file] of [...fileMap]) {
738
- if (referenced.has(path) || stagedSize(file) < OFFLOAD_MIN_BYTES) continue;
739
- if (variables.includes(basename2(path))) continue;
740
- if (!isStillMentioned(fileMap, path, code, withoutUrls)) fileMap.delete(path);
746
+ const unused = [...fileMap].filter(([path]) => !referenced.has(path) && mediaKind(path) !== null).filter(([path]) => !variables.includes(basename2(path))).filter(([path]) => !isStillMentioned(fileMap, path, code, (text) => text)).sort(byLargest);
747
+ let left = zipped;
748
+ for (const [path, file] of unused) {
749
+ if (left <= budget) break;
750
+ fileMap.delete(path);
751
+ left -= stagedSize(file);
752
+ }
753
+ return left;
754
+ }
755
+ var byLargest = ([a, x], [b, y]) => stagedSize(y) - stagedSize(x) || a.localeCompare(b);
756
+ async function uploadLargestWhileOver(ctx, referenced, zipped, budget, urls, report) {
757
+ const used = [...ctx.fileMap].filter(([path]) => referenced.has(path)).sort(byLargest);
758
+ let left = zipped;
759
+ let next = 0;
760
+ while (left > budget && next < used.length) {
761
+ const batch = [];
762
+ for (let after = left; after > budget && next < used.length; next += 1) {
763
+ batch.push(used[next]);
764
+ after -= stagedSize(used[next][1]);
765
+ }
766
+ const items = await runWithConcurrencyLimit(
767
+ batch,
768
+ OFFLOAD_CONCURRENCY,
769
+ async ([path, file]) => {
770
+ const item = await offloadFile(ctx, path, file);
771
+ if (item) ctx.opts.onFile?.(item);
772
+ return item;
773
+ }
774
+ );
775
+ for (const [index, item] of items.entries()) {
776
+ if (!item) continue;
777
+ urls.set(item.path, item.url ?? `https://assets.invalid/${report.length}`);
778
+ report.push(item);
779
+ left -= stagedSize(batch[index][1]);
780
+ }
741
781
  }
742
782
  }
743
783
  function dropReplacedFiles(fileMap, report, preparedGifSources, assetUrls) {
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-RBBWUYMG.js";
10
+ } from "./chunk-EGR2ZFFP.js";
11
11
  import {
12
12
  findParakeet
13
- } from "./chunk-YBLBI3O2.js";
13
+ } from "./chunk-LK7F7P2X.js";
14
14
 
15
15
  // src/whisper/parakeetRunner.ts
16
16
  function parakeetRunner({
@@ -4,6 +4,9 @@ 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
+ projectCopyHint
9
+ } from "./chunk-AGTBMLNM.js";
7
10
  import {
8
11
  CliUsageError
9
12
  } from "./chunk-66W5IWLO.js";
@@ -17,7 +20,7 @@ function assertSamAvailable() {
17
20
  execFileSync("sam", ["--version"], { stdio: "ignore" });
18
21
  } catch {
19
22
  throw new Error(
20
- "`sam` CLI not found on PATH. Install AWS SAM CLI from https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html and retry."
23
+ "`sam` CLI not found on PATH. Install AWS SAM CLI from https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html and retry." + projectCopyHint("sam")
21
24
  );
22
25
  }
23
26
  }
@@ -26,7 +29,7 @@ function assertAwsCliAvailable() {
26
29
  execFileSync("aws", ["--version"], { stdio: "ignore" });
27
30
  } catch {
28
31
  throw new Error(
29
- "`aws` CLI not found on PATH. Install from https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html and configure credentials before retrying."
32
+ "`aws` CLI not found on PATH. Install from https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html and configure credentials before retrying." + projectCopyHint("aws")
30
33
  );
31
34
  }
32
35
  }
@@ -4,12 +4,15 @@ 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
+ replaceFileAtomically
9
+ } from "./chunk-PUTPYYE4.js";
7
10
  import {
8
11
  failCommand
9
12
  } from "./chunk-66W5IWLO.js";
10
13
 
11
14
  // src/commands/lambda/state.ts
12
- import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
15
+ import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync } from "fs";
13
16
  import { dirname, join } from "path";
14
17
  function videoArchitecture(stack) {
15
18
  return stack.videoFunctionName ? "arm64" : void 0;
@@ -23,7 +26,7 @@ function stateFilePath(stackName = DEFAULT_STACK_NAME, cwd = process.cwd()) {
23
26
  function writeStackOutputs(outputs, cwd = process.cwd()) {
24
27
  const path = stateFilePath(outputs.stackName, cwd);
25
28
  mkdirSync(dirname(path), { recursive: true });
26
- writeFileSync(path, JSON.stringify(outputs, null, 2) + "\n");
29
+ replaceFileAtomically(path, JSON.stringify(outputs, null, 2) + "\n");
27
30
  return path;
28
31
  }
29
32
  function readStackOutputs(stackName = DEFAULT_STACK_NAME, cwd = process.cwd()) {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  claimDailyNotice,
9
9
  updateCheckDisabled
10
- } from "./chunk-EZQJFCWA.js";
10
+ } from "./chunk-YOMFN6HH.js";
11
11
  import {
12
12
  hostAnswers
13
13
  } from "./chunk-BR2JQQC5.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-CPHQTXP5.js";
22
22
  import {
23
23
  VERSION
24
- } from "./chunk-ELA3IV4P.js";
24
+ } from "./chunk-TY7EHE4Q.js";
25
25
 
26
26
  // src/utils/skillsUpdateCheck.ts
27
27
  import { resolve as resolve2 } from "path";
@@ -27,13 +27,13 @@ import {
27
27
  } from "./chunk-D3UCUI7G.js";
28
28
  import {
29
29
  publishRegistryFile
30
- } from "./chunk-WPD7JH6F.js";
30
+ } from "./chunk-CBG6MIT2.js";
31
31
  import {
32
32
  ITEM_TYPE_DIRS
33
- } from "./chunk-4IUOWNDS.js";
33
+ } from "./chunk-JQKCRTVQ.js";
34
34
  import {
35
35
  realProjectRoot
36
- } from "./chunk-KWTTELUY.js";
36
+ } from "./chunk-UVPLW55S.js";
37
37
  import {
38
38
  namedCacheDir
39
39
  } from "./chunk-JOQR4AP6.js";
@@ -8,12 +8,19 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-7WRLK2K4.js";
11
+ } from "./chunk-B6BWLFAF.js";
12
+ import {
13
+ recordFolder
14
+ } from "./chunk-JDXALWOM.js";
15
+ import {
16
+ createStagingDir,
17
+ renameWithRetry
18
+ } from "./chunk-PUTPYYE4.js";
12
19
 
13
20
  // src/measure/media.ts
14
21
  import { execFileSync } from "child_process";
15
- import { closeSync, existsSync, mkdirSync, openSync, readSync } from "fs";
16
- import { dirname, join, resolve } from "path";
22
+ import { closeSync, existsSync, mkdirSync, openSync, readSync, rmSync } from "fs";
23
+ import { basename, dirname, join, resolve } from "path";
17
24
  var MAX_BUFFER = 1 << 30;
18
25
  var FFMPEG_QUIET = ["-nostdin", "-v", "error"];
19
26
  var Fix = class extends Error {
@@ -49,6 +56,17 @@ function runFfmpeg(args, input, cwd) {
49
56
  ...cwd ? { cwd } : {}
50
57
  });
51
58
  }
59
+ function ffmpegToFile(args, out, input) {
60
+ const work = createStagingDir(dirname(out), ".ffmpeg-");
61
+ try {
62
+ const made = join(work, basename(out));
63
+ runFfmpeg([...args, made], input);
64
+ renameWithRetry(made, out);
65
+ return out;
66
+ } finally {
67
+ rmSync(work, { recursive: true, force: true });
68
+ }
69
+ }
52
70
  var rate = (text) => {
53
71
  const [a, b] = String(text ?? "0/1").split("/").map(Number);
54
72
  return b ? (a ?? 0) / b : a ?? 0;
@@ -228,11 +246,11 @@ function writeImage(path, px, w, h, gray = false) {
228
246
  ${w} ${h}
229
247
  255
230
248
  `);
231
- runFfmpeg(
232
- ["-y", "-f", gray ? "pgm_pipe" : "ppm_pipe", "-i", "-", "-frames:v", "1", path],
249
+ return ffmpegToFile(
250
+ ["-y", "-f", gray ? "pgm_pipe" : "ppm_pipe", "-i", "-", "-frames:v", "1"],
251
+ path,
233
252
  Buffer.concat([header, Buffer.from(px.buffer, px.byteOffset, px.byteLength)])
234
253
  );
235
- return path;
236
254
  }
237
255
  var round = (n, d = 3) => Math.round(n * 10 ** d) / 10 ** d;
238
256
  var ratioOf = (yours, ref, floor) => yours < floor && ref < floor ? 1 : yours / (ref || 1e-9);
@@ -270,8 +288,17 @@ function parseRoi(text, width, height) {
270
288
  return roi;
271
289
  }
272
290
  function outDir(out, tool) {
273
- const dir = typeof out === "string" && out ? resolve(out) : resolve(join(".hyperframes", tool));
274
- mkdirSync(dir, { recursive: true });
291
+ if (typeof out === "string" && out) {
292
+ const dir2 = resolve(out);
293
+ mkdirSync(dir2, { recursive: true });
294
+ return dir2;
295
+ }
296
+ const dir = recordFolder(resolve("."), tool);
297
+ if (!dir)
298
+ throw new Fix(
299
+ `${join(".hyperframes", tool)} is a link or not a folder here, so nothing is written into it`,
300
+ "pass --out <folder>"
301
+ );
275
302
  return dir;
276
303
  }
277
304
  var frameAt = (t, fps) => Math.max(0, Math.floor((t + 5e-4) * fps + 1e-6));
@@ -300,6 +327,7 @@ export {
300
327
  ffmpegBin,
301
328
  sumOf,
302
329
  runFfmpeg,
330
+ ffmpegToFile,
303
331
  probeSeconds,
304
332
  probeVideo,
305
333
  videoClip,
@@ -8,20 +8,20 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-ATKA5KHE.js";
11
+ } from "./chunk-MPOWSPBD.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
- } from "./chunk-WPD7JH6F.js";
15
+ } from "./chunk-CBG6MIT2.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-4IUOWNDS.js";
18
+ } from "./chunk-JQKCRTVQ.js";
19
19
  import {
20
20
  realProjectRoot
21
- } from "./chunk-KWTTELUY.js";
21
+ } from "./chunk-UVPLW55S.js";
22
22
  import {
23
23
  isCompositionVariable
24
- } from "./chunk-VCKUDUPN.js";
24
+ } from "./chunk-BA33QNKK.js";
25
25
 
26
26
  // src/registry/installer.ts
27
27
  import { createHash } from "crypto";
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts
9
- } from "./chunk-RZJ7BHXB.js";
9
+ } from "./chunk-XD5T43S7.js";
10
10
  import {
11
11
  grey,
12
12
  readClip,
13
13
  round,
14
14
  videoClip,
15
15
  writeImage
16
- } from "./chunk-H7DKHNBF.js";
16
+ } from "./chunk-MVLAPENI.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-LLMSX6V6.js";
10
10
  import {
11
11
  readCompositionFps
12
- } from "./chunk-AU4ZBCR3.js";
12
+ } from "./chunk-EKSS3KI7.js";
13
13
  import {
14
14
  findSyncPartner,
15
15
  readLinkTiming,
@@ -19,24 +19,25 @@ import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-GA6QR6LN.js";
22
+ } from "./chunk-6LONEKJR.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-4IUOWNDS.js";
27
+ } from "./chunk-JQKCRTVQ.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-XGEJPKRY.js";
34
+ } from "./chunk-56T2OGYR.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-TRAPS5WB.js";
38
+ } from "./chunk-YQSVPHOS.js";
39
39
  import {
40
+ namesAnotherNetworkRoot,
40
41
  resolveAuthoredAssetFile
41
42
  } from "./chunk-6EMFSRTW.js";
42
43
  import {
@@ -53,7 +54,7 @@ import {
53
54
  isSubCompositionHost,
54
55
  topLevelElements,
55
56
  trackKindOf
56
- } from "./chunk-VCKUDUPN.js";
57
+ } from "./chunk-BA33QNKK.js";
57
58
 
58
59
  // src/timeline/describeProject.ts
59
60
  import { readFileSync, realpathSync, statSync } from "fs";
@@ -255,6 +256,7 @@ function cutRow(row, slots) {
255
256
  return [{ ...row, absStart: roundMs(kept.start), absEnd: roundMs(kept.end), mediaStart, inside }];
256
257
  }
257
258
  function realFileInside(projectDir, path) {
259
+ if (namesAnotherNetworkRoot(projectDir, path)) return null;
258
260
  try {
259
261
  const real = realpathSync(path);
260
262
  const inside = relative(realpathSync(projectDir), real);
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trustedPathDirs
9
- } from "./chunk-E7T5SMDK.js";
9
+ } from "./chunk-GWSMTN55.js";
10
10
 
11
11
  // src/utils/windowsExeSearch.ts
12
12
  import { delimiter, win32 } from "path";
@@ -15,38 +15,11 @@ var neverCreatedPathFolder = () => fileURLToPath(new URL("no-trusted-path-folder
15
15
  function keyOf(env, name) {
16
16
  return Object.keys(env).find((key) => key.toUpperCase() === name);
17
17
  }
18
- function windowsFolderKey(dir) {
19
- return dir.replaceAll("/", "\\").replace(/\\+$/, "").toLowerCase();
20
- }
21
- function windowsSystemFolders(env) {
22
- const rootKey = keyOf(env, "SYSTEMROOT");
23
- const root = rootKey && env[rootKey] || "C:\\Windows";
24
- const system32 = win32.join(root, "System32");
25
- return new Set(
26
- [
27
- root,
28
- system32,
29
- win32.join(system32, "Wbem"),
30
- win32.join(system32, "WindowsPowerShell", "v1.0")
31
- ].map(windowsFolderKey)
32
- );
33
- }
34
- function unquoted(dir) {
35
- return dir.length > 1 && dir.startsWith('"') && dir.endsWith('"') ? dir.slice(1, -1) : dir;
36
- }
37
- function windowsTrustedDirs(pathValue, env) {
38
- const entries = pathValue.split(win32.delimiter).map(unquoted);
39
- const trusted = new Set(trustedPathDirs(entries.join(delimiter)));
40
- const system = windowsSystemFolders(env);
41
- return [
42
- ...new Set(entries.filter((dir) => trusted.has(dir) || system.has(windowsFolderKey(dir))))
43
- ];
44
- }
45
18
  function withOnlyTrustedPathFolders(env, platform = process.platform) {
46
19
  const pathKey = keyOf(env, "PATH");
47
20
  if (!pathKey) return { ...env };
48
21
  const value = env[pathKey] ?? "";
49
- const dirs = platform === "win32" ? windowsTrustedDirs(value, env) : trustedPathDirs(value);
22
+ const dirs = trustedPathDirs(value, platform, env);
50
23
  const separator = platform === "win32" ? win32.delimiter : delimiter;
51
24
  return { ...env, [pathKey]: dirs.length > 0 ? dirs.join(separator) : neverCreatedPathFolder() };
52
25
  }
@@ -6,23 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  PREVIEW_ALLOWED_HOSTS_ENV,
9
- PREVIEW_FOR_ANOTHER_SITE_META,
10
9
  previewAllowedHostsFromEnv,
11
10
  requestFromAnotherSite,
12
11
  wildcardBindHostAllowed
13
- } from "./chunk-PLOVBMJF.js";
12
+ } from "./chunk-YFWFCKKF.js";
14
13
  import {
15
14
  openRangeEnd
16
15
  } from "./chunk-LD6JONPV.js";
17
16
  import {
18
17
  getMimeType
19
18
  } from "./chunk-P2ZMVHTF.js";
19
+ import {
20
+ SAME_ORIGIN_FRAMING_HEADERS
21
+ } from "./chunk-6LONEKJR.js";
22
+ import {
23
+ PREVIEW_FOR_ANOTHER_SITE_META
24
+ } from "./chunk-YXX6CIHL.js";
20
25
  import {
21
26
  stripSdrPngColourTags
22
- } from "./chunk-BBDWXUO3.js";
27
+ } from "./chunk-L5NPBGQB.js";
23
28
  import {
24
29
  injectTagsAtHeadStart
25
- } from "./chunk-XGEJPKRY.js";
30
+ } from "./chunk-56T2OGYR.js";
26
31
 
27
32
  // src/utils/compositionServer.ts
28
33
  import { createHash } from "crypto";
@@ -173,6 +178,14 @@ function sandboxForAnotherSite(app, path) {
173
178
  await markDocumentForAnotherSite(c);
174
179
  });
175
180
  }
181
+ function refuseFramingByOtherSites(app) {
182
+ app.use(async function sameOriginFramingOnly(c, next) {
183
+ await next();
184
+ for (const [name, value] of Object.entries(SAME_ORIGIN_FRAMING_HEADERS)) {
185
+ c.res.headers.append(name, value);
186
+ }
187
+ });
188
+ }
176
189
  async function listenOnFreePort(server, startPort) {
177
190
  for (let attempt = 0; attempt < 10; attempt++) {
178
191
  const port = startPort + attempt;
@@ -209,5 +222,6 @@ export {
209
222
  buildRangeResponse,
210
223
  refuseUnknownHosts,
211
224
  sandboxForAnotherSite,
225
+ refuseFramingByOtherSites,
212
226
  listenOnFreePort
213
227
  };
@@ -12,15 +12,15 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-BBDWXUO3.js";
15
+ } from "./chunk-L5NPBGQB.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-4IUOWNDS.js";
20
+ } from "./chunk-JQKCRTVQ.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-TRAPS5WB.js";
23
+ } from "./chunk-YQSVPHOS.js";
24
24
  import {
25
25
  SPLIT_BOUNDARY_EPSILON_S,
26
26
  readClipTiming,
@@ -31,7 +31,7 @@ import {
31
31
  import {
32
32
  decodedUrlPath,
33
33
  removeElementWithGsapCascade
34
- } from "./chunk-VCKUDUPN.js";
34
+ } from "./chunk-BA33QNKK.js";
35
35
  import {
36
36
  parseHTML
37
37
  } from "./chunk-GWTIFRF5.js";