hyperframes 0.9.55 → 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 (300) hide show
  1. package/dist/{add-2LZ5XA27.js → add-KW7OTOWF.js} +19 -19
  2. package/dist/{agentPromptGenerator-RSFEFNFL.js → agentPromptGenerator-NNXUWNU4.js} +11 -11
  3. package/dist/{animatedGifPrep-AX4MK2QD.js → animatedGifPrep-6ATQHQON.js} +12 -12
  4. package/dist/api.js +40 -39
  5. package/dist/{appHistory-T3ZLA7QN.js → appHistory-KHX53SGI.js} +6 -4
  6. package/dist/{asset-XYQJVHR2.js → asset-QVINGJRK.js} +2 -2
  7. package/dist/{assetCataloger-WTFR2Z5Q.js → assetCataloger-DENJPUBH.js} +12 -12
  8. package/dist/{audio-U2OIHTUI.js → audio-LB7HQYPJ.js} +21 -21
  9. package/dist/{auth-DXESNULL.js → auth-7AGRVI5A.js} +2 -2
  10. package/dist/{autoUpdate-DWT4YYU2.js → autoUpdate-ITCP2JDM.js} +2 -2
  11. package/dist/{avatars-EL5RBI4P.js → avatars-2K2C74EQ.js} +15 -14
  12. package/dist/{backgroundChecks-T2DL425O.js → backgroundChecks-UOTBCWPN.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-CMG4SVBX.js → batchRender-Z7ESYQDS.js} +9 -7
  15. package/dist/{beats-HU756KUO.js → beats-TG6ZB3XH.js} +10 -10
  16. package/dist/{benchmark-HBNCPXH5.js → benchmark-RU5MLZHE.js} +16 -16
  17. package/dist/{billing-LGHM3LC7.js → billing-VB5PYYSN.js} +15 -15
  18. package/dist/{browser-XIFUT5OB.js → browser-VSQRY5GG.js} +9 -9
  19. package/dist/{bundleWithLocalizedFonts-JPPBCCVV.js → bundleWithLocalizedFonts-XDPJE355.js} +1 -1
  20. package/dist/{capture-ZY7G3QSM.js → capture-M4FL7MWI.js} +22 -22
  21. package/dist/{capture-B6DSZD2P.js → capture-TQCFWPAT.js} +4 -4
  22. package/dist/{captureCompositionFrame-2WRG6SNW.js → captureCompositionFrame-XF67Q6YK.js} +17 -17
  23. package/dist/{captureFile-LXMDM5TD.js → captureFile-F254H22J.js} +3 -3
  24. package/dist/{catalog-CUEOQ4PJ.js → catalog-24EGH662.js} +19 -19
  25. package/dist/catalog-artifact/media-vectors.json +205 -0
  26. package/dist/{catch-up-BAYJTXAL.js → catch-up-L23HGDLB.js} +13 -13
  27. package/dist/{check-KGXBQPRZ.js → check-F4HQVV2M.js} +50 -48
  28. package/dist/{checkAudio-6PI7DJLP.js → checkAudio-6DT3ONR7.js} +13 -13
  29. package/dist/{checkBrowser-4SGXUL27.js → checkBrowser-S7P4X7QV.js} +40 -40
  30. package/dist/{chunk-Q42L7V5T.js → chunk-2GRCTZNS.js} +1 -1
  31. package/dist/{chunk-FMYXLRJN.js → chunk-2ZOJCSLJ.js} +3 -3
  32. package/dist/{chunk-ER22SVLT.js → chunk-3GVHDPEP.js} +1 -1
  33. package/dist/{chunk-EXEX7TSU.js → chunk-43CQTZGB.js} +11 -12
  34. package/dist/{chunk-ND5SQJAB.js → chunk-4DJGUZJR.js} +2 -2
  35. package/dist/{chunk-J424KJXV.js → chunk-4GPKDDQZ.js} +7 -7
  36. package/dist/{chunk-KHEOHL5O.js → chunk-4WSJ5MUN.js} +1 -1
  37. package/dist/{chunk-T5S7U5C6.js → chunk-52XHPMCX.js} +1 -1
  38. package/dist/chunk-56T2OGYR.js +5085 -0
  39. package/dist/{chunk-TMLKMCZK.js → chunk-5GSCSZOS.js} +2 -2
  40. package/dist/{chunk-3L2POG2J.js → chunk-5IE5ZI66.js} +37 -8
  41. package/dist/{chunk-CHQWDBUM.js → chunk-5ZDNSYTO.js} +8 -13
  42. package/dist/{chunk-N7M2SNAF.js → chunk-664QGMR4.js} +2 -2
  43. package/dist/chunk-677JGYQL.js +91 -0
  44. package/dist/{chunk-PCNNMAUX.js → chunk-6LONEKJR.js} +211 -155
  45. package/dist/{chunk-LEIR7IDJ.js → chunk-6LU6JICP.js} +80 -1
  46. package/dist/{chunk-AHXRYOTC.js → chunk-6XRXUMFG.js} +1 -1
  47. package/dist/{chunk-W2GXQ3CR.js → chunk-7DKWEIH4.js} +9 -9
  48. package/dist/{chunk-QGQYMSYM.js → chunk-7E7VKASF.js} +2 -2
  49. package/dist/{chunk-5HJZGP54.js → chunk-7F4RAWDS.js} +2 -2
  50. package/dist/{chunk-OYEGPK3Q.js → chunk-7HQC5MDZ.js} +1 -1
  51. package/dist/{chunk-AYESPEPQ.js → chunk-7QFLMCTD.js} +6 -1
  52. package/dist/{chunk-4ZQG3Z3J.js → chunk-AN6KWGYI.js} +2 -2
  53. package/dist/{chunk-JAAIW4JR.js → chunk-ANYW22IT.js} +1 -1
  54. package/dist/{chunk-3USMIMBB.js → chunk-APCVZGU6.js} +395 -109
  55. package/dist/{chunk-NUGAYGT3.js → chunk-B6BWLFAF.js} +1 -1
  56. package/dist/{chunk-VCKUDUPN.js → chunk-BA33QNKK.js} +199 -15
  57. package/dist/{chunk-JS7UI73E.js → chunk-BMVUB2CY.js} +6 -6
  58. package/dist/{chunk-E7GHBT2M.js → chunk-BPYNILOZ.js} +4 -4
  59. package/dist/{chunk-XFSZ3IXC.js → chunk-BR7GOCQJ.js} +1 -1
  60. package/dist/{chunk-32IRBM3V.js → chunk-BTJYK56C.js} +3 -3
  61. package/dist/{chunk-KVYHRUZX.js → chunk-BUG5AOPJ.js} +3 -3
  62. package/dist/{chunk-FLQT2FVH.js → chunk-BW4H55SU.js} +1 -1
  63. package/dist/{chunk-SDFGDNWV.js → chunk-BZXW5QU7.js} +1 -1
  64. package/dist/{chunk-WPD7JH6F.js → chunk-CBG6MIT2.js} +2 -2
  65. package/dist/{chunk-O7TIBLSJ.js → chunk-CKIVYAKG.js} +80 -15
  66. package/dist/{chunk-YVCPUVHV.js → chunk-CKIYT34K.js} +1 -1
  67. package/dist/{chunk-6EG3W5AD.js → chunk-CLRHKYOK.js} +5 -5
  68. package/dist/{chunk-MDOMSEK2.js → chunk-CNXZCMJZ.js} +2 -2
  69. package/dist/{chunk-NISP57R3.js → chunk-CPSD7337.js} +51 -28
  70. package/dist/{chunk-MO5NTFSC.js → chunk-CUO2HF4M.js} +2 -2
  71. package/dist/{chunk-5LSMAWK5.js → chunk-CWIOKI2R.js} +1 -1
  72. package/dist/{chunk-TFVIXR6V.js → chunk-CXFW7YPT.js} +42 -48
  73. package/dist/{chunk-OWQWMQTY.js → chunk-CZCZ5YXT.js} +1 -1
  74. package/dist/{chunk-7DJCG5ED.js → chunk-D3WRRPHI.js} +5 -5
  75. package/dist/{chunk-LGYCWN3Q.js → chunk-DDCXMXAD.js} +11 -11
  76. package/dist/{chunk-K2VFTUAA.js → chunk-DUZ6Z2ZN.js} +1 -1
  77. package/dist/{chunk-XLQUCTC2.js → chunk-EBRN4YJH.js} +3 -3
  78. package/dist/{chunk-HLDUHLYO.js → chunk-EGR2ZFFP.js} +4 -4
  79. package/dist/{chunk-AU4ZBCR3.js → chunk-EKSS3KI7.js} +1 -1
  80. package/dist/{chunk-E2DHBP6C.js → chunk-FGGRBKWL.js} +1 -1
  81. package/dist/{chunk-QX4TZ2RK.js → chunk-GTC2STHN.js} +72 -54
  82. package/dist/{chunk-X4KIL5BW.js → chunk-HCQXGGVY.js} +14 -14
  83. package/dist/{chunk-OOWZ6M75.js → chunk-HOCV5AW6.js} +2 -2
  84. package/dist/{chunk-TN3WGE3L.js → chunk-HVG656G6.js} +3 -3
  85. package/dist/{chunk-NFLH3TQ5.js → chunk-ICDGP335.js} +13 -10
  86. package/dist/{chunk-NKAW4RVE.js → chunk-IDGWNOBX.js} +1 -1
  87. package/dist/{chunk-YU5LSWA2.js → chunk-IHX3AFTY.js} +2 -2
  88. package/dist/{chunk-CAYQATCT.js → chunk-IO7PRQQC.js} +1 -1
  89. package/dist/{chunk-6BGTTCKN.js → chunk-IRZUZ32B.js} +3 -3
  90. package/dist/{chunk-RBOKZ5ED.js → chunk-IT2QBRVS.js} +1 -1
  91. package/dist/{chunk-PXLGDX2S.js → chunk-JDXALWOM.js} +39 -24
  92. package/dist/{chunk-BOEEHWDX.js → chunk-JPEIUGS5.js} +1 -1
  93. package/dist/{chunk-4IUOWNDS.js → chunk-JQKCRTVQ.js} +2 -2
  94. package/dist/{chunk-VPX4GVGQ.js → chunk-KRYXZVA2.js} +3 -3
  95. package/dist/{chunk-TEA4ZEHB.js → chunk-L5CBCPUH.js} +7 -7
  96. package/dist/{chunk-JVA3SAGB.js → chunk-L5NPBGQB.js} +15 -22
  97. package/dist/{chunk-B5HSHXE2.js → chunk-LH5FRVAO.js} +12 -7
  98. package/dist/{chunk-NHNFBLBM.js → chunk-LK7F7P2X.js} +5 -2
  99. package/dist/{chunk-WQGQCSRY.js → chunk-LRQEIKFT.js} +4 -4
  100. package/dist/{chunk-2LQJHVI7.js → chunk-LRWWCTSJ.js} +2 -2
  101. package/dist/{chunk-VK3MQSA2.js → chunk-MK4RH5L7.js} +5 -2
  102. package/dist/{chunk-KD33HZPP.js → chunk-MP52CUHL.js} +2 -2
  103. package/dist/{chunk-ATKA5KHE.js → chunk-MPOWSPBD.js} +3 -3
  104. package/dist/{chunk-FLHL32SV.js → chunk-MVLAPENI.js} +36 -8
  105. package/dist/{chunk-2PASB3PC.js → chunk-NCJSN6SV.js} +5 -5
  106. package/dist/{chunk-UCLUH5AG.js → chunk-NFST2HIM.js} +2 -2
  107. package/dist/{chunk-NMQCIUBE.js → chunk-OXT2LXZB.js} +8 -6
  108. package/dist/{chunk-CRRVULYR.js → chunk-PCKKKICA.js} +15 -3
  109. package/dist/{chunk-TPLO6NJI.js → chunk-PGHROSLJ.js} +4 -4
  110. package/dist/{chunk-4S53OP2C.js → chunk-PGJYA6I3.js} +11 -11
  111. package/dist/{chunk-BMJGWQ5X.js → chunk-PHAZT6EB.js} +1 -1
  112. package/dist/{chunk-KCF6Q54R.js → chunk-PUTPYYE4.js} +1 -1
  113. package/dist/{chunk-NRGNEP3R.js → chunk-PVF32NRA.js} +2 -2
  114. package/dist/{chunk-DQHFS4AE.js → chunk-Q2TT62RQ.js} +3 -3
  115. package/dist/{chunk-EXXIFMUX.js → chunk-QBADK3LD.js} +13 -5
  116. package/dist/{chunk-2XZ76TF4.js → chunk-QJDMX53S.js} +1 -1
  117. package/dist/{chunk-F7B2YDPM.js → chunk-QNIID7EN.js} +6 -8
  118. package/dist/{chunk-5BWIBP2F.js → chunk-QTZICZWT.js} +4 -4
  119. package/dist/{chunk-NFNYYBD6.js → chunk-R2LP7QPB.js} +1 -1
  120. package/dist/{chunk-3ANC4SO2.js → chunk-RCGNYXWK.js} +14 -14
  121. package/dist/{chunk-FPRHOB5W.js → chunk-RFULFCYW.js} +2 -2
  122. package/dist/{chunk-26RTKW2U.js → chunk-RRT6URIP.js} +2 -2
  123. package/dist/{chunk-PLFOZIEH.js → chunk-SGWDJLFL.js} +1 -1
  124. package/dist/{chunk-QWBJABCA.js → chunk-T5HYPGST.js} +3 -3
  125. package/dist/{chunk-OM2WIZOR.js → chunk-TVZTTWU7.js} +2 -2
  126. package/dist/{chunk-QQLVSUO7.js → chunk-TY7EHE4Q.js} +2 -2
  127. package/dist/{chunk-OAV5ESA6.js → chunk-UIMXEY4U.js} +4 -4
  128. package/dist/{chunk-KWTTELUY.js → chunk-UVPLW55S.js} +37 -1
  129. package/dist/{chunk-EKZ5FGV7.js → chunk-VC4YMXUQ.js} +1 -1
  130. package/dist/{chunk-YY7ZJHL3.js → chunk-VCSQLM36.js} +4 -4
  131. package/dist/{chunk-MWTOYGIJ.js → chunk-VVXSMYXQ.js} +3 -3
  132. package/dist/{chunk-ZLG2E7GC.js → chunk-W4AR7UZH.js} +1 -1
  133. package/dist/{chunk-TULCSCC4.js → chunk-WFB4XPJR.js} +9 -9
  134. package/dist/{chunk-UHE44FC4.js → chunk-WGWKT7ME.js} +3 -3
  135. package/dist/{chunk-GKOF2RS3.js → chunk-WHX2OV4C.js} +1 -1
  136. package/dist/{chunk-27YDEBOP.js → chunk-WUY74LHU.js} +1 -1
  137. package/dist/{chunk-3WG7IC5Z.js → chunk-XD5T43S7.js} +1 -1
  138. package/dist/{chunk-RIAH7WEL.js → chunk-XEVAW42J.js} +9 -9
  139. package/dist/{chunk-NCSBBZQ5.js → chunk-XKNNZ4WR.js} +1 -1
  140. package/dist/{chunk-EUJSQHIL.js → chunk-XLP34AJR.js} +1 -1
  141. package/dist/{chunk-FOKS5HQ2.js → chunk-YDNBMPP3.js} +4 -4
  142. package/dist/{chunk-UHVB2TVW.js → chunk-YFWFCKKF.js} +149 -129
  143. package/dist/{chunk-N4CJSWTO.js → chunk-YOMFN6HH.js} +1 -1
  144. package/dist/{chunk-UV3I2TND.js → chunk-YQSVPHOS.js} +26 -36
  145. package/dist/{chunk-OTWFSHYH.js → chunk-YWH7HWDP.js} +269 -145
  146. package/dist/{chunk-YSN6HPD3.js → chunk-Z72VXQPN.js} +2 -2
  147. package/dist/{chunk-KG24ATFM.js → chunk-ZIF44RW2.js} +9 -10
  148. package/dist/{clean-SXRW77YG.js → clean-VB6BH3FV.js} +23 -23
  149. package/dist/cli.js +64 -64
  150. package/dist/{cloud-PUCWVAS2.js → cloud-7KRPD2K4.js} +4 -4
  151. package/dist/{cloud-LU4FVT33.js → cloud-A67BW6OH.js} +3 -3
  152. package/dist/{cloudrun-SXXONVD6.js → cloudrun-VKBARVVT.js} +11 -9
  153. package/dist/{compare-K65FNAEA.js → compare-SE55PMC3.js} +39 -39
  154. package/dist/{compiler-QISQISFV.js → compiler-WK7ABGRW.js} +5 -5
  155. package/dist/{component-YYCDOLP2.js → component-XT2AT3RY.js} +3 -3
  156. package/dist/{compositions-LCQTIYIU.js → compositions-ZZWLQNDQ.js} +20 -19
  157. package/dist/{contactSheet-CCHQAZLA.js → contactSheet-MXOASCDR.js} +4 -4
  158. package/dist/{curve-T7JAY3EM.js → curve-4RQQKZ2K.js} +15 -14
  159. package/dist/{cuts-E54SOAWH.js → cuts-M3QU2CBE.js} +16 -15
  160. package/dist/{delete-GLQNSOWH.js → delete-5ZZNPK5G.js} +5 -5
  161. package/dist/{deploy-SPMSEG67.js → deploy-VR5SQP4U.js} +5 -3
  162. package/dist/{describeProject-YPTJWL3O.js → describeProject-NU5BVVIA.js} +11 -11
  163. package/dist/{destroy-FMAAH4KQ.js → destroy-FFS62PAW.js} +5 -3
  164. package/dist/{deterministicFonts-OXGNMVJE.js → deterministicFonts-FQQNGORI.js} +4 -4
  165. package/dist/{diff-OT5SHVFD.js → diff-NQGTF6GR.js} +52 -47
  166. package/dist/{dist-T62DJJZX.js → dist-6GYOC3BU.js} +4 -4
  167. package/dist/{dist-RYTNYHMF.js → dist-APXZ5EN2.js} +2 -2
  168. package/dist/{dist-EO7BILWH.js → dist-B7IBHWIW.js} +16 -14
  169. package/dist/{doctor-L4SNKUBM.js → doctor-FATJGTPD.js} +15 -15
  170. package/dist/{energy-AXQGYZF6.js → energy-PHDK6SKL.js} +16 -15
  171. package/dist/{events-EBA6KHJV.js → events-25VQ2O66.js} +7 -7
  172. package/dist/{events-7QP5H6PW.js → events-OIWXSBZA.js} +21 -19
  173. package/dist/{events-5T25R4EH.js → events-RXVHG2NT.js} +2 -2
  174. package/dist/{execute-PTHC7Y5Q.js → execute-MKP4Z573.js} +31 -31
  175. package/dist/{extract-76UPXPJC.js → extract-YYNYXPOC.js} +16 -15
  176. package/dist/{face-YZON2N2E.js → face-JSTMFQRM.js} +17 -16
  177. package/dist/{feedback-KAYKPPHI.js → feedback-PY6LMZCX.js} +16 -16
  178. package/dist/{ffmpeg-T3KK5XKT.js → ffmpeg-KLIB55FK.js} +10 -10
  179. package/dist/{figma-NJ6CAJGV.js → figma-ACFOXVPM.js} +3 -3
  180. package/dist/fontLocalizeCli.js +16 -16
  181. package/dist/{frames-KNR4CSB4.js → frames-BLZCBXO7.js} +18 -17
  182. package/dist/{generate-ISCPAKHT.js → generate-DMVEKZEV.js} +27 -26
  183. package/dist/{get-X7QNC3PE.js → get-3WZDQ5YM.js} +5 -5
  184. package/dist/{gpuPolicy-ZXN5S3HE.js → gpuPolicy-TT6UCOLQ.js} +10 -10
  185. package/dist/{grade-compare-XD3IONCL.js → grade-compare-F5DJ53XH.js} +41 -39
  186. package/dist/{heifImagePrep-EFBHDH4Z.js → heifImagePrep-UV23RWOG.js} +13 -13
  187. package/dist/{help-VUFIY5X4.js → help-QMP5KFYW.js} +1 -1
  188. package/dist/{history-OM3MHRB2.js → history-UOZ4RDEZ.js} +17 -14
  189. package/dist/hyperframe.manifest.json +1 -1
  190. package/dist/hyperframe.runtime.iife.js +76 -76
  191. package/dist/hyperframes-player.global.js +1 -1
  192. package/dist/{info-G64344ST.js → info-A6KSO64E.js} +16 -16
  193. package/dist/{init-2N6SDLZB.js → init-OQU46K3Q.js} +46 -42
  194. package/dist/{ink-T5BJE4D2.js → ink-HGRKLGII.js} +16 -15
  195. package/dist/{inspect-6I4YSARX.js → inspect-BKENKUXF.js} +38 -38
  196. package/dist/{installer-JNQKFCTN.js → installer-Z6FTR7BJ.js} +8 -8
  197. package/dist/{keyframes-PT3H7WHD.js → keyframes-UDQGWKPW.js} +10 -10
  198. package/dist/{lambda-NEQXIHUM.js → lambda-SHXQFHLE.js} +19 -19
  199. package/dist/{layout-FRWUKOGX.js → layout-CJAVQ4D3.js} +38 -38
  200. package/dist/{lint-GXPONOPU.js → lint-RAPNYPWS.js} +11 -11
  201. package/dist/{lintProject-J4YTLKPW.js → lintProject-JZRM7UKH.js} +2 -2
  202. package/dist/{list-JO7WSM6Y.js → list-4BKFMJQN.js} +5 -5
  203. package/dist/{localPage-XDWFSE4K.js → localPage-BJW2TP77.js} +11 -11
  204. package/dist/{login-XMFEIEXG.js → login-S5VZAGCI.js} +4 -4
  205. package/dist/{look-U77ADJ4V.js → look-V2I6BGUY.js} +16 -15
  206. package/dist/{manager-RNMX2WTR.js → manager-OS2FYJI5.js} +11 -11
  207. package/dist/{manager-ZRETV4LQ.js → manager-WQWU5VJ4.js} +2 -2
  208. package/dist/{measure-JNJAPVVN.js → measure-RO5R2SUZ.js} +11 -11
  209. package/dist/{media-treatment-MFNKKPM7.js → media-treatment-CS7BVMJW.js} +16 -16
  210. package/dist/{media-use-ZKHL2IN2.js → media-use-W3DGCKFB.js} +3 -3
  211. package/dist/{models-PGO2ERAU.js → models-ZOGYW2SC.js} +15 -15
  212. package/dist/{motionShot-AG4LR5Q5.js → motionShot-IMRI7W7T.js} +21 -21
  213. package/dist/{normalize-audio-FO3JCPD3.js → normalize-audio-HXTFAZUK.js} +11 -11
  214. package/dist/{open-ZI6KK3GM.js → open-LJDQ37KV.js} +21 -20
  215. package/dist/{parakeetRunner-CBO3HRL6.js → parakeetRunner-CKMSKDH6.js} +17 -17
  216. package/dist/{pipeline-VWVNH5ZC.js → pipeline-ZNCYOTUH.js} +13 -13
  217. package/dist/{plan-UHZYW3K2.js → plan-NCFS5T6W.js} +23 -23
  218. package/dist/{play-IVTXE4JW.js → play-5UZDFFXJ.js} +34 -28
  219. package/dist/{preflight-QJNKKMPE.js → preflight-H5XYFKFF.js} +12 -12
  220. package/dist/{present-NB6DAJ6K.js → present-EFXUFT5Y.js} +58 -43
  221. package/dist/{preview-FIWAZ5PX.js → preview-RV7ALGDQ.js} +30 -29
  222. package/dist/{probe-VQJOUG65.js → probe-UB6DM2Q3.js} +16 -15
  223. package/dist/{producer-NP6X5UBL.js → producer-2PKB5CW5.js} +1 -1
  224. package/dist/{progress-IY6U35WH.js → progress-S36VQBQW.js} +3 -1
  225. package/dist/{projectConfig-UVA26HJW.js → projectConfig-EUH5DILC.js} +11 -11
  226. package/dist/{publication-LYPU7NTZ.js → publication-VI2AXXKR.js} +6 -6
  227. package/dist/{publish-MRQ2K62E.js → publish-225GB7R4.js} +21 -21
  228. package/dist/{remove-background-RG6DCWOW.js → remove-background-W2RLEQHJ.js} +14 -14
  229. package/dist/{render-CM4MCNVA.js → render-KXKBSNOQ.js} +9 -8
  230. package/dist/{render-XWBMMSC5.js → render-WMWCCMWI.js} +61 -49
  231. package/dist/{render-6B7YPN7H.js → render-Y3JKWEN4.js} +33 -33
  232. package/dist/{render-batch-Y3RRNDNJ.js → render-batch-GK6CDHKN.js} +9 -8
  233. package/dist/renderSetupWorker.js +4 -4
  234. package/dist/{resolver-K6VAEZVH.js → resolver-5CRZD5XB.js} +8 -8
  235. package/dist/{reverse-5RDRLKAP.js → reverse-YPYKKQSJ.js} +1 -1
  236. package/dist/{run-OQK3QU4I.js → run-FQ76QNES.js} +4 -4
  237. package/dist/{screenshotCapture-VDITRAK2.js → screenshotCapture-R6VE66NR.js} +13 -13
  238. package/dist/{service-C3UT4LYP.js → service-P3IKHZFC.js} +14 -14
  239. package/dist/{share-JU3IDHUV.js → share-BU4VQL3B.js} +17 -17
  240. package/dist/{sherpa-Z2Z4XLXV.js → sherpa-44GLXY3A.js} +16 -16
  241. package/dist/sherpaWorker.js +3 -1
  242. package/dist/{sites-QK3F4AUS.js → sites-TAX3JLNX.js} +3 -1
  243. package/dist/skills/hyperframes/SKILL.md +2 -2
  244. package/dist/skills/hyperframes/references/format.md +11 -2
  245. package/dist/skills/hyperframes/references/overlays.md +1 -1
  246. package/dist/skills/hyperframes/references/plugin-installation.md +33 -22
  247. package/dist/skills/hyperframes/references/sound.md +1 -0
  248. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +18 -13
  249. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +64 -40
  250. package/dist/skills/hyperframes-cli/SKILL.md +2 -2
  251. package/dist/skills/media-use/SKILL.md +1 -1
  252. package/dist/skills/media-use/audio/scripts/lib/bgm.mjs +4 -1
  253. package/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +62 -1
  254. package/dist/skills/media-use/audio/scripts/lib/python.mjs +9 -1
  255. package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +16 -0
  256. package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.mjs +27 -2
  257. package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +40 -1
  258. package/dist/skills/media-use/scripts/lib/local-media-search.mjs +52 -23
  259. package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +73 -4
  260. package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +3 -1
  261. package/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +16 -1
  262. package/dist/skills/media-use/scripts/resolve.mjs +4 -14
  263. package/dist/skills/media-use/scripts/transcribe.mjs +19 -3
  264. package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -0
  265. package/dist/{skills-24YEOJGP.js → skills-H4OZQ6VR.js} +10 -10
  266. package/dist/{skillsUpdateCheck-5R4JJ27G.js → skillsUpdateCheck-U3XZX7UE.js} +3 -3
  267. package/dist/{snapshot-T4REEKFX.js → snapshot-FJQVXBFB.js} +53 -51
  268. package/dist/{src-RMJVAEKT.js → src-O6BHCR4O.js} +15 -15
  269. package/dist/{src-EKGFNTTY.js → src-PAM5LJ6K.js} +9 -9
  270. package/dist/{start-E5RIH3KS.js → start-R7CYOQ5S.js} +25 -24
  271. package/dist/{state-7OIPR4BG.js → state-YFRV6TQH.js} +3 -1
  272. package/dist/{staticProjectServer-LEM5W3S5.js → staticProjectServer-4X2OSUN4.js} +25 -25
  273. package/dist/{status-CSHJWWOP.js → status-VN3FAN4M.js} +15 -15
  274. package/dist/studio/assets/{hyperframes-player-BroIQA4E.js → hyperframes-player-SRLbmEDB.js} +1 -1
  275. package/dist/studio/assets/{index-Be7DZynj.js → index-CgyBYe2L.js} +130 -130
  276. package/dist/studio/assets/{index-CiF0D62S.js → index-yuN1pZrv.js} +1 -1
  277. package/dist/studio/assets/{pausedVideoDecoder-RXcvblHS.js → pausedVideoDecoder-DtvSF8bV.js} +1 -1
  278. package/dist/studio/index.html +1 -1
  279. package/dist/{studio-api-COJYCMRI.js → studio-api-V3TMIWFB.js} +16 -14
  280. package/dist/{studioSelectionClient-W2S3H2VO.js → studioSelectionClient-S46TNAAZ.js} +2 -1
  281. package/dist/{studioServer-62ZTBLFM.js → studioServer-GY2ZTR2E.js} +85 -73
  282. package/dist/{sync-CLRYHWYE.js → sync-2V3JYCDE.js} +16 -15
  283. package/dist/{synthesize-Z2H32QPU.js → synthesize-TQELPMS5.js} +3 -3
  284. package/dist/{telemetry-DWA36DFX.js → telemetry-KMRZ3IJV.js} +7 -7
  285. package/dist/{templates-LXMQR35F.js → templates-EEFY4FPS.js} +125 -33
  286. package/dist/{timeline-LMKTDKRT.js → timeline-HSRGYZ3Q.js} +23 -23
  287. package/dist/{tokens-VJ765KFG.js → tokens-NYFORL53.js} +2 -2
  288. package/dist/{transcribe-TICRK4IY.js → transcribe-CNIQYQ52.js} +31 -30
  289. package/dist/{transcribe-3WASFP7Z.js → transcribe-GFFWRWK3.js} +13 -13
  290. package/dist/{tts-5YJV6UXX.js → tts-NPMDYSXP.js} +1 -1
  291. package/dist/{update-Q26QGCBW.js → update-BDMPUNNA.js} +12 -12
  292. package/dist/{updateCheck-7R4S46TT.js → updateCheck-43UZ2USJ.js} +2 -2
  293. package/dist/{upgrade-76TFHAGI.js → upgrade-Z5B57UWL.js} +5 -5
  294. package/dist/{urlDownloader-AE4UQI5A.js → urlDownloader-KDZ76BKM.js} +9 -9
  295. package/dist/{validate-BEYREWEL.js → validate-UQKZNR5K.js} +30 -30
  296. package/dist/{video-47AVLNWM.js → video-VR4363OG.js} +12 -12
  297. package/dist/{voices-5O6OAL6H.js → voices-GUWAM3TH.js} +25 -24
  298. package/dist/warmCheck.js +50 -48
  299. package/package.json +2 -1
  300. package/dist/chunk-XGEJPKRY.js +0 -5069
@@ -17,7 +17,7 @@ import {
17
17
  isPrivateCompositionFile,
18
18
  linksToPrivateOutsideFile,
19
19
  receivedFiles
20
- } from "./chunk-QX4TZ2RK.js";
20
+ } from "./chunk-GTC2STHN.js";
21
21
  import {
22
22
  buildAuthHeaders
23
23
  } from "./chunk-BAWGEGKD.js";
@@ -27,7 +27,7 @@ import {
27
27
  isUploadedOutsideFileType,
28
28
  leftOutWarning,
29
29
  linksOutside
30
- } from "./chunk-OWQWMQTY.js";
30
+ } from "./chunk-CZCZ5YXT.js";
31
31
  import {
32
32
  terminalText
33
33
  } from "./chunk-IJYIIHGK.js";
@@ -36,10 +36,10 @@ import {
36
36
  } from "./chunk-DMW5SSUN.js";
37
37
  import {
38
38
  realFilePath
39
- } from "./chunk-ER22SVLT.js";
39
+ } from "./chunk-3GVHDPEP.js";
40
40
  import {
41
41
  projectIgnore
42
- } from "./chunk-UV3I2TND.js";
42
+ } from "./chunk-YQSVPHOS.js";
43
43
  import {
44
44
  collectSubCompositionSrcs,
45
45
  decodeTextHonoringBom,
@@ -56,7 +56,7 @@ import {
56
56
  import {
57
57
  decodeUrlPathVariants,
58
58
  encodeUrlPath
59
- } from "./chunk-VCKUDUPN.js";
59
+ } from "./chunk-BA33QNKK.js";
60
60
  import {
61
61
  parseHTML
62
62
  } from "./chunk-GWTIFRF5.js";
@@ -458,8 +458,8 @@ function staysOut(ctx, rel) {
458
458
  }
459
459
  var loadableReference = (absProjectDir, absPath) => isCopiedOutsideFileType(absPath) || !isHiddenProjectFile(absProjectDir, absPath);
460
460
  function referencedFileLeftOut(ctx, entryPath, absPath) {
461
- if (isPrivateCompositionFile(ctx.absProjectDir, absPath)) return "private";
462
461
  if (linksToPrivateOutsideFile(ctx.absProjectDir, absPath)) return "blocklisted";
462
+ if (isPrivateCompositionFile(ctx.absProjectDir, absPath)) return "private";
463
463
  if (ctx.received(entryPath) && linksOutside(ctx.absProjectDir, absPath)) return "received";
464
464
  if (!loadableReference(ctx.absProjectDir, absPath)) return "private";
465
465
  return null;
@@ -715,8 +715,8 @@ var WALKED_LEFT_OUT = {
715
715
  received: "links to a file outside the project and came in with an imported project"
716
716
  };
717
717
  function walkedFileLeftOut(absProjectDir, filePath, absPath, received) {
718
- if (isPrivateCompositionFile(absProjectDir, absPath)) return "private";
719
718
  if (linksToPrivateOutsideFile(absProjectDir, absPath)) return "blocklisted";
719
+ if (isPrivateCompositionFile(absProjectDir, absPath)) return "private";
720
720
  if (received(filePath) && linksOutside(absProjectDir, absPath)) return "received";
721
721
  return null;
722
722
  }
@@ -59,7 +59,7 @@ import {
59
59
  warnUnknownEnumValues,
60
60
  wrapInlineScriptWithErrorBoundary,
61
61
  wrapScopedCompositionScript
62
- } from "./chunk-XGEJPKRY.js";
62
+ } from "./chunk-56T2OGYR.js";
63
63
  import {
64
64
  cssVariableName
65
65
  } from "./chunk-VC76R6W2.js";
@@ -69,11 +69,11 @@ import {
69
69
  isStudioPrivatePath,
70
70
  isVcsOrSecretPath,
71
71
  resolveWithinProject
72
- } from "./chunk-KWTTELUY.js";
72
+ } from "./chunk-UVPLW55S.js";
73
73
  import {
74
74
  linkedSources,
75
75
  lintHyperframeHtml
76
- } from "./chunk-UV3I2TND.js";
76
+ } from "./chunk-YQSVPHOS.js";
77
77
  import {
78
78
  readTextFile
79
79
  } from "./chunk-6EMFSRTW.js";
@@ -100,7 +100,7 @@ import {
100
100
  } from "./chunk-IH2C53YV.js";
101
101
  import {
102
102
  isSafeMediaUrl
103
- } from "./chunk-VCKUDUPN.js";
103
+ } from "./chunk-BA33QNKK.js";
104
104
  import {
105
105
  parseHTML
106
106
  } from "./chunk-GWTIFRF5.js";
@@ -1308,6 +1308,7 @@ function toHfId(hash2) {
1308
1308
  const four = s.length >= 4 ? s.slice(-4) : s.padStart(4, "0");
1309
1309
  return `hf-${four}`;
1310
1310
  }
1311
+ var lastDup = /* @__PURE__ */ new WeakMap();
1311
1312
  function ownText(el) {
1312
1313
  let text = "";
1313
1314
  el.childNodes.forEach((n) => {
@@ -1324,9 +1325,11 @@ function contentKey(el) {
1324
1325
  }
1325
1326
  function mintHfId(el, assigned) {
1326
1327
  const key = contentKey(el);
1327
- let id = toHfId(fnv1a(key));
1328
- let dup = 0;
1329
- while (assigned.has(id)) {
1328
+ const twins = lastDup.get(assigned) ?? /* @__PURE__ */ new Map();
1329
+ lastDup.set(assigned, twins);
1330
+ let dup = twins.get(key) ?? 0;
1331
+ let id = dup > 1e4 ? `hf-${(fnv1a(key) >>> 0).toString(36)}-${dup}` : toHfId(fnv1a(dup ? `${key}#${dup}` : key));
1332
+ while (dup <= 1e4 && assigned.has(id)) {
1330
1333
  dup += 1;
1331
1334
  if (dup > 1e4) {
1332
1335
  id = `hf-${(fnv1a(key) >>> 0).toString(36)}-${dup}`;
@@ -1334,6 +1337,7 @@ function mintHfId(el, assigned) {
1334
1337
  }
1335
1338
  id = toHfId(fnv1a(`${key}#${dup}`));
1336
1339
  }
1340
+ twins.set(key, dup);
1337
1341
  assigned.add(id);
1338
1342
  return id;
1339
1343
  }
@@ -1518,21 +1522,10 @@ function emptyHfIdValue(html, tag) {
1518
1522
  return tag.nameEnd + match.index + match[0].length - 1;
1519
1523
  }
1520
1524
  function outsideQuotes(open) {
1521
- let quote = "";
1522
- let out = "";
1523
- for (const c of open) {
1524
- out += quotedChar(quote, c);
1525
- quote = quoteOf(quote, c);
1526
- }
1527
- return out;
1528
- }
1529
- function quoteOf(quote, c) {
1530
- if (quote) return c === quote ? "" : quote;
1531
- return c === '"' || c === "'" ? c : "";
1532
- }
1533
- function quotedChar(quote, c) {
1534
- if (!quote || c === quote) return c;
1535
- return " ".repeat(c.length);
1525
+ return open.replace(/"[^"]*"?|'[^']*'?/g, (quoted) => {
1526
+ const closed = quoted.length > 1 && quoted.endsWith(quoted.charAt(0));
1527
+ return quoted.charAt(0) + " ".repeat(quoted.length - (closed ? 2 : 1)) + (closed ? quoted.charAt(0) : "");
1528
+ });
1536
1529
  }
1537
1530
  function spliceIds(html, inserts) {
1538
1531
  let out = "";
@@ -6,16 +6,19 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  writeNewFileSync
9
- } from "./chunk-SDFGDNWV.js";
9
+ } from "./chunk-BZXW5QU7.js";
10
10
  import {
11
11
  normalizeSkillSlug
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-ATKA5KHE.js";
15
+ } from "./chunk-MPOWSPBD.js";
16
+ import {
17
+ replaceFileAtomically
18
+ } from "./chunk-PUTPYYE4.js";
16
19
 
17
20
  // src/utils/projectConfig.ts
18
- import { mkdirSync, readFileSync, writeFileSync } from "fs";
21
+ import { lstatSync, mkdirSync, readFileSync } from "fs";
19
22
  import { join, resolve } from "path";
20
23
  var PROJECT_CONFIG_FILENAME = "hyperframes.json";
21
24
  var PROJECT_CONFIG_SCHEMA_URL = "https://hyperframes.heygen.com/schema/hyperframes.json";
@@ -88,8 +91,7 @@ function normalizeRegistryItems(raw) {
88
91
  return items.length > 0 ? items : void 0;
89
92
  }
90
93
  function writeProjectConfig(projectDir, config = DEFAULT_PROJECT_CONFIG) {
91
- const path = projectConfigPath(projectDir);
92
- writeFileSync(path, JSON.stringify(config, null, 2) + "\n", "utf-8");
94
+ replaceFileAtomically(projectConfigPath(projectDir), JSON.stringify(config, null, 2) + "\n");
93
95
  }
94
96
  function createProjectConfig(projectDir, config = DEFAULT_PROJECT_CONFIG) {
95
97
  writeNewFileSync(projectConfigPath(projectDir), JSON.stringify(config, null, 2) + "\n");
@@ -108,10 +110,13 @@ function isJsonObject(value) {
108
110
  }
109
111
  function rewriteConfig(path, text, parsed) {
110
112
  const indent = /\n([ \t]+)"/.exec(text)?.[1] ?? " ";
111
- writeFileSync(
113
+ const stats = lstatSync(path);
114
+ if (!stats.isFile())
115
+ throw new Error(`${path} is a link or not a plain file, so it is left alone`);
116
+ replaceFileAtomically(
112
117
  path,
113
118
  (text.startsWith("\uFEFF") ? "\uFEFF" : "") + JSON.stringify(parsed, null, indent) + "\n",
114
- "utf-8"
119
+ stats.mode & 511
115
120
  );
116
121
  }
117
122
  function isFileNotFound(error) {
@@ -10,13 +10,16 @@ import {
10
10
  import {
11
11
  stoppableExecFile
12
12
  } from "./chunk-HU2SPFNG.js";
13
+ import {
14
+ replaceFileAtomically
15
+ } from "./chunk-PUTPYYE4.js";
13
16
  import {
14
17
  findTrustedExecutable
15
18
  } from "./chunk-GWSMTN55.js";
16
19
 
17
20
  // src/whisper/parakeet.ts
18
21
  import { execFileSync } from "child_process";
19
- import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "fs";
22
+ import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync } from "fs";
20
23
  import { homedir, tmpdir } from "os";
21
24
  import { basename, extname, join } from "path";
22
25
  var PARAKEET_MODEL_LABEL = "parakeet-tdt-0.6b-v3";
@@ -209,7 +212,7 @@ async function transcribeWithParakeet(inputPath, dir, options) {
209
212
  function writeParakeetTranscript(dir, words) {
210
213
  mkdirSync(dir, { recursive: true });
211
214
  const transcriptPath = join(dir, TRANSCRIPT_FILE);
212
- writeFileSync(transcriptPath, JSON.stringify(words, null, 2));
215
+ replaceFileAtomically(transcriptPath, JSON.stringify(words, null, 2));
213
216
  const durationSeconds = words.length > 0 ? words[words.length - 1].end : 0;
214
217
  return {
215
218
  model: PARAKEET_MODEL_LABEL,
@@ -13,7 +13,7 @@ import {
13
13
  rewriteHtmlAttributes,
14
14
  rewriteStyleBlocks,
15
15
  stagedSize
16
- } from "./chunk-TEA4ZEHB.js";
16
+ } from "./chunk-L5CBCPUH.js";
17
17
  import {
18
18
  probeAudio
19
19
  } from "./chunk-UHVKV5IF.js";
@@ -21,7 +21,7 @@ import {
21
21
  findFFmpeg,
22
22
  findFFprobe,
23
23
  getFFmpegInstallHint
24
- } from "./chunk-NUGAYGT3.js";
24
+ } from "./chunk-B6BWLFAF.js";
25
25
  import {
26
26
  formatBytes
27
27
  } from "./chunk-ZLTB7ZCQ.js";
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-6T4PB35F.js";
38
38
  import {
39
39
  parseAnimatedGifMetadata
40
- } from "./chunk-4IUOWNDS.js";
40
+ } from "./chunk-JQKCRTVQ.js";
41
41
  import {
42
42
  cleanAssetUrl,
43
43
  isRemoteOrInlineUrl,
@@ -667,7 +667,7 @@ async function prepareEntryGifs(ctx, fileMap) {
667
667
  if (!html || !/\.gif\b/i.test(html)) return;
668
668
  const sourceAssets = entryGifSources(ctx, entryPath, html);
669
669
  if (!sourceAssets) return;
670
- const prep = ctx.opts.gifPrep ?? (await import("./src-RMJVAEKT.js")).prepareAnimatedGifInputs;
670
+ const prep = ctx.opts.gifPrep ?? (await import("./src-O6BHCR4O.js")).prepareAnimatedGifInputs;
671
671
  const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
672
672
  ctx.tempFiles.push(outputDir);
673
673
  const result = await prep(html, {
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-HLDUHLYO.js";
10
+ } from "./chunk-EGR2ZFFP.js";
11
11
  import {
12
12
  findParakeet
13
- } from "./chunk-NHNFBLBM.js";
13
+ } from "./chunk-LK7F7P2X.js";
14
14
 
15
15
  // src/whisper/parakeetRunner.ts
16
16
  function parakeetRunner({
@@ -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-N4CJSWTO.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-QQLVSUO7.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-NUGAYGT3.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-3WG7IC5Z.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-FLHL32SV.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-PCNNMAUX.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-UV3I2TND.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);
@@ -9,22 +9,25 @@ import {
9
9
  previewAllowedHostsFromEnv,
10
10
  requestFromAnotherSite,
11
11
  wildcardBindHostAllowed
12
- } from "./chunk-UHVB2TVW.js";
12
+ } from "./chunk-YFWFCKKF.js";
13
13
  import {
14
14
  openRangeEnd
15
15
  } from "./chunk-LD6JONPV.js";
16
16
  import {
17
17
  getMimeType
18
18
  } from "./chunk-P2ZMVHTF.js";
19
+ import {
20
+ SAME_ORIGIN_FRAMING_HEADERS
21
+ } from "./chunk-6LONEKJR.js";
19
22
  import {
20
23
  PREVIEW_FOR_ANOTHER_SITE_META
21
24
  } from "./chunk-YXX6CIHL.js";
22
25
  import {
23
26
  stripSdrPngColourTags
24
- } from "./chunk-JVA3SAGB.js";
27
+ } from "./chunk-L5NPBGQB.js";
25
28
  import {
26
29
  injectTagsAtHeadStart
27
- } from "./chunk-XGEJPKRY.js";
30
+ } from "./chunk-56T2OGYR.js";
28
31
 
29
32
  // src/utils/compositionServer.ts
30
33
  import { createHash } from "crypto";
@@ -175,6 +178,14 @@ function sandboxForAnotherSite(app, path) {
175
178
  await markDocumentForAnotherSite(c);
176
179
  });
177
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
+ }
178
189
  async function listenOnFreePort(server, startPort) {
179
190
  for (let attempt = 0; attempt < 10; attempt++) {
180
191
  const port = startPort + attempt;
@@ -211,5 +222,6 @@ export {
211
222
  buildRangeResponse,
212
223
  refuseUnknownHosts,
213
224
  sandboxForAnotherSite,
225
+ refuseFramingByOtherSites,
214
226
  listenOnFreePort
215
227
  };
@@ -12,15 +12,15 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-JVA3SAGB.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-UV3I2TND.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";