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
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-LIPVGXPV.js";
13
+ } from "./chunk-QKYGGUOQ.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  realpath
9
- } from "./chunk-XWK2RSD5.js";
9
+ } from "./chunk-KWTTELUY.js";
10
10
 
11
11
  // ../core/dist/removeScratch.js
12
12
  import { AsyncLocalStorage } from "async_hooks";
@@ -9,27 +9,27 @@ import {
9
9
  isPrivateOutsideFile,
10
10
  leftOutWarning,
11
11
  linksOutside
12
- } from "./chunk-WSZJS4QC.js";
12
+ } from "./chunk-YNF3SH26.js";
13
13
  import {
14
14
  realFilePath
15
- } from "./chunk-SZGQU7EB.js";
15
+ } from "./chunk-ER22SVLT.js";
16
16
  import {
17
17
  DEFAULT_VP9_CPU_USED,
18
18
  isHttpUrl,
19
19
  runFfmpeg
20
- } from "./chunk-VXX4S2PH.js";
20
+ } from "./chunk-GA6QR6LN.js";
21
21
  import {
22
22
  renameWithRetry
23
- } from "./chunk-DE3JRSGT.js";
23
+ } from "./chunk-KCF6Q54R.js";
24
24
  import {
25
25
  parseAnimatedGifMetadata
26
- } from "./chunk-U7ZCBWNM.js";
26
+ } from "./chunk-4IUOWNDS.js";
27
27
  import {
28
28
  isSafePath
29
- } from "./chunk-XWK2RSD5.js";
29
+ } from "./chunk-KWTTELUY.js";
30
30
  import {
31
31
  namesAnotherNetworkRoot
32
- } from "./chunk-MP4TEYUJ.js";
32
+ } from "./chunk-6EMFSRTW.js";
33
33
  import {
34
34
  parseHTML
35
35
  } from "./chunk-GWTIFRF5.js";
@@ -81,9 +81,9 @@ var STUDIO_FILES = /* @__PURE__ */ new Set([
81
81
  ]);
82
82
  var STUDIO_FOLDERS = [".hyperframes/prepared-assets", ".hyperframes/requests"];
83
83
  function isStudioPrivatePath(relPath) {
84
- const path = relPath.toLowerCase();
85
- if (isVcsOrSecretPath(path))
84
+ if (isVcsOrSecretPath(relPath))
86
85
  return true;
86
+ const path = projectPathSegments(relPath).join("/");
87
87
  return (path === ".hyperframes" || path.startsWith(".hyperframes/")) && !STUDIO_FILES.has(path) && !STUDIO_FOLDERS.some((folder) => path === folder || path.startsWith(`${folder}/`));
88
88
  }
89
89
  function isPrivateFileUnder(projectDir, filePath, isPrivate) {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZLTB7ZCQ.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-SQ64IEA7.js";
12
+ } from "./chunk-CNZOKODL.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-66W5IWLO.js";
@@ -8,7 +8,7 @@ import {
8
8
  forceRefreshCredentials,
9
9
  resolveCloudAuthHeaders,
10
10
  resolveCloudBaseUrl
11
- } from "./chunk-QUUZ2BGC.js";
11
+ } from "./chunk-ON3CGL3V.js";
12
12
  import {
13
13
  HyperframesApiError,
14
14
  HyperframesCloudClient
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-VXX4S2PH.js";
14
+ } from "./chunk-GA6QR6LN.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";
@@ -0,0 +1,72 @@
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
+ trustedPathDirs
9
+ } from "./chunk-E7T5SMDK.js";
10
+
11
+ // src/utils/windowsExeSearch.ts
12
+ import { delimiter, win32 } from "path";
13
+ import { fileURLToPath } from "url";
14
+ var neverCreatedPathFolder = () => fileURLToPath(new URL("no-trusted-path-folder", import.meta.url));
15
+ function keyOf(env, name) {
16
+ return Object.keys(env).find((key) => key.toUpperCase() === name);
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
+ function withOnlyTrustedPathFolders(env, platform = process.platform) {
46
+ const pathKey = keyOf(env, "PATH");
47
+ if (!pathKey) return { ...env };
48
+ const value = env[pathKey] ?? "";
49
+ const dirs = platform === "win32" ? windowsTrustedDirs(value, env) : trustedPathDirs(value);
50
+ const separator = platform === "win32" ? win32.delimiter : delimiter;
51
+ return { ...env, [pathKey]: dirs.length > 0 ? dirs.join(separator) : neverCreatedPathFolder() };
52
+ }
53
+ function skipWorkingDirectoryInExeSearch(env = process.env, platform = process.platform) {
54
+ if (platform === "win32") env.NoDefaultCurrentDirectoryInExePath ??= "1";
55
+ }
56
+ function searchOnlyTrustedFolders(env = process.env, platform = process.platform) {
57
+ const pathKey = keyOf(env, "PATH");
58
+ if (pathKey) env[pathKey] = withOnlyTrustedPathFolders(env, platform)[pathKey];
59
+ skipWorkingDirectoryInExeSearch(env, platform);
60
+ }
61
+ var pathKeyAtStart = keyOf(process.env, "PATH");
62
+ var PATH_AT_START = pathKeyAtStart && process.env[pathKeyAtStart] || "";
63
+ function originalPath() {
64
+ return PATH_AT_START;
65
+ }
66
+ searchOnlyTrustedFolders();
67
+
68
+ export {
69
+ withOnlyTrustedPathFolders,
70
+ skipWorkingDirectoryInExeSearch,
71
+ originalPath
72
+ };
@@ -10,21 +10,21 @@ import {
10
10
  } from "./chunk-X6JUUQCM.js";
11
11
  import {
12
12
  getFreeDiskMb
13
- } from "./chunk-NFRKPLTJ.js";
13
+ } from "./chunk-IR2GEREV.js";
14
14
  import {
15
15
  browserPathFromEnv,
16
16
  managedChromeVersion,
17
17
  pickSharedShell
18
18
  } from "./chunk-LEIR7IDJ.js";
19
- import {
20
- findTrustedExecutable
21
- } from "./chunk-IU5DC4HP.js";
22
19
  import {
23
20
  hyperframesCacheDir
24
21
  } from "./chunk-JOQR4AP6.js";
25
22
  import {
26
23
  normalizeErrorMessage
27
24
  } from "./chunk-E63BDV4Z.js";
25
+ import {
26
+ findTrustedExecutable
27
+ } from "./chunk-E7T5SMDK.js";
28
28
 
29
29
  // src/browser/manager.ts
30
30
  import { spawnSync } from "child_process";
@@ -22,10 +22,10 @@ import {
22
22
  import {
23
23
  formatVariableValidationIssue,
24
24
  validateVariables
25
- } from "./chunk-U7ZCBWNM.js";
25
+ } from "./chunk-4IUOWNDS.js";
26
26
  import {
27
27
  extractCompositionMetadata
28
- } from "./chunk-M425BL2U.js";
28
+ } from "./chunk-VCKUDUPN.js";
29
29
  import {
30
30
  failCommand,
31
31
  failUsage
@@ -8,7 +8,7 @@ import {
8
8
  MEDIA_INPUT_ARGS,
9
9
  NOT_MEDIA,
10
10
  startsAsMediaPlaylist
11
- } from "./chunk-7RLMDAUO.js";
11
+ } from "./chunk-6T4PB35F.js";
12
12
  import {
13
13
  videoStreamHasAlpha
14
14
  } from "./chunk-5S7W3TUO.js";
@@ -21,12 +21,12 @@ import {
21
21
  parseFirstFrameColour,
22
22
  parseKeyframeTransfers,
23
23
  readsKeyframeTransfers
24
- } from "./chunk-U7ZCBWNM.js";
24
+ } from "./chunk-4IUOWNDS.js";
25
25
  import {
26
26
  findFfBinary
27
- } from "./chunk-IU5DC4HP.js";
27
+ } from "./chunk-E7T5SMDK.js";
28
28
 
29
- // ../studio-server/dist/chunk-NMPDQTAK.js
29
+ // ../studio-server/dist/chunk-PQZZ5GW6.js
30
30
  import { execFile } from "child_process";
31
31
  import { createReadStream } from "fs";
32
32
  import { extname } from "path";
@@ -10,10 +10,10 @@ import {
10
10
  import {
11
11
  createStagingDir,
12
12
  resolveWritePath
13
- } from "./chunk-DE3JRSGT.js";
13
+ } from "./chunk-KCF6Q54R.js";
14
14
 
15
15
  // src/cloud/download.ts
16
- import { chmodSync, renameSync, rmSync, statSync } from "fs";
16
+ import { chmodSync, lstatSync, renameSync, rmSync, statSync } from "fs";
17
17
  import { open } from "fs/promises";
18
18
  import { dirname, join } from "path";
19
19
  import { setTimeout as sleep } from "timers/promises";
@@ -35,8 +35,8 @@ async function downloadToFile(url, destPath, options = {}) {
35
35
  const ranged = first.status === 206;
36
36
  const total = ranged ? contentRangeTotal(first) : contentLength(first);
37
37
  makeOutputFolder(dirname(destPath));
38
- const destination = resolveWritePath(destPath);
39
- const previous = statSync(destination, { throwIfNoEntry: false });
38
+ const destination = options.replaceLink ? destPath : resolveWritePath(destPath);
39
+ const previous = options.replaceLink ? lstatSync(destination, { throwIfNoEntry: false }) : statSync(destination, { throwIfNoEntry: false });
40
40
  const stage = createStagingDir(dirname(destination), ".hf-download-");
41
41
  const stagedFile = join(stage, "download");
42
42
  let bytes = 0;
@@ -10,7 +10,7 @@ import {
10
10
  SourceIgnoreError,
11
11
  ownerOf,
12
12
  reviewSentence
13
- } from "./chunk-ETXOQXWT.js";
13
+ } from "./chunk-FICKJQU2.js";
14
14
  import {
15
15
  isAuthError
16
16
  } from "./chunk-DMW5SSUN.js";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-MR7VKWYT.js";
9
+ } from "./chunk-YVCPUVHV.js";
10
10
  import {
11
11
  outputResolutionForSize
12
- } from "./chunk-M425BL2U.js";
12
+ } from "./chunk-VCKUDUPN.js";
13
13
 
14
14
  // src/commands/lambda/_dimensions.ts
15
15
  import { readFileSync } from "fs";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-FXMKHHPO.js";
30
30
  import {
31
31
  getSystemMeta
32
- } from "./chunk-NFRKPLTJ.js";
32
+ } from "./chunk-IR2GEREV.js";
33
33
  import {
34
34
  hostAnswers
35
35
  } from "./chunk-BR2JQQC5.js";
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-AWD2MWWL.js";
44
44
  import {
45
45
  VERSION
46
- } from "./chunk-7SZ7QQJ3.js";
46
+ } from "./chunk-ELA3IV4P.js";
47
47
 
48
48
  // src/telemetry/transport.ts
49
49
  import { spawn } from "child_process";
@@ -5,112 +5,29 @@ var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
- replaceFileAtomically
9
- } from "./chunk-DE3JRSGT.js";
8
+ readPlainFile,
9
+ readRecord,
10
+ recordChangedAt,
11
+ replaceFile
12
+ } from "./chunk-PXLGDX2S.js";
10
13
  import {
11
14
  realpath
12
- } from "./chunk-XWK2RSD5.js";
15
+ } from "./chunk-KWTTELUY.js";
13
16
  import {
14
17
  namedCacheDir
15
18
  } from "./chunk-JOQR4AP6.js";
16
19
 
17
20
  // src/utils/appHistory.ts
18
21
  import { createHash } from "crypto";
19
- import { lstatSync as lstatSync2, mkdirSync as mkdirSync2, readdirSync } from "fs";
22
+ import { lstatSync, mkdirSync, readdirSync } from "fs";
20
23
  import { homedir } from "os";
21
- import { dirname, join as join2, relative, resolve, sep } from "path";
24
+ import { dirname, join, relative, resolve, sep } from "path";
22
25
 
23
26
  // src/utils/windowsAppData.ts
24
27
  function windowsLocalAppData() {
25
28
  return process.platform === "win32" ? process.env["LOCALAPPDATA"]?.trim() || void 0 : void 0;
26
29
  }
27
30
 
28
- // src/utils/projectRecords.ts
29
- import {
30
- closeSync,
31
- constants,
32
- fstatSync,
33
- lstatSync,
34
- mkdirSync,
35
- openSync,
36
- readSync,
37
- unlinkSync
38
- } from "fs";
39
- import { join } from "path";
40
- var NO_FOLLOW = constants.O_NOFOLLOW ?? 0;
41
- var NON_BLOCK = constants.O_NONBLOCK ?? 0;
42
- function recordsDir(projectDir, create = false) {
43
- const dir = join(projectDir, ".hyperframes");
44
- try {
45
- return lstatSync(dir).isDirectory() ? dir : null;
46
- } catch {
47
- if (!create) return null;
48
- try {
49
- mkdirSync(dir);
50
- return dir;
51
- } catch {
52
- return null;
53
- }
54
- }
55
- }
56
- function readPlainFile(path, maxBytes) {
57
- let fd;
58
- try {
59
- fd = openSync(path, constants.O_RDONLY | NO_FOLLOW | NON_BLOCK);
60
- } catch {
61
- return "";
62
- }
63
- try {
64
- const stats = fstatSync(fd);
65
- const named = lstatSync(path);
66
- if (!stats.isFile() || !named.isFile() || named.ino !== stats.ino || named.dev !== stats.dev)
67
- return "";
68
- const length = Math.min(stats.size, maxBytes);
69
- const buffer = Buffer.alloc(length);
70
- readSync(fd, buffer, 0, length, stats.size - length);
71
- return buffer.toString("utf8");
72
- } catch {
73
- return "";
74
- } finally {
75
- closeSync(fd);
76
- }
77
- }
78
- function readRecord(projectDir, name, maxBytes) {
79
- const dir = recordsDir(projectDir);
80
- return dir ? readPlainFile(join(dir, name), maxBytes) : "";
81
- }
82
- function recordChangedAt(projectDir, name) {
83
- const dir = recordsDir(projectDir);
84
- try {
85
- const stats = dir ? lstatSync(join(dir, name)) : null;
86
- return stats?.isFile() ? stats.mtimeMs : 0;
87
- } catch {
88
- return 0;
89
- }
90
- }
91
- function replaceFile(path, data, mode) {
92
- try {
93
- replaceFileAtomically(path, data, mode);
94
- return true;
95
- } catch {
96
- return false;
97
- }
98
- }
99
- function writeRecord(projectDir, name, data) {
100
- const dir = recordsDir(projectDir, true);
101
- return dir !== null && replaceFile(join(dir, name), data, 384);
102
- }
103
- function removeRecord(projectDir, name) {
104
- const dir = recordsDir(projectDir);
105
- try {
106
- if (!dir || !lstatSync(join(dir, name)).isFile()) return false;
107
- unlinkSync(join(dir, name));
108
- return true;
109
- } catch {
110
- return false;
111
- }
112
- }
113
-
114
31
  // src/utils/appHistory.ts
115
32
  var APP_HISTORY = "app-history.jsonl";
116
33
  var MAX_READ_BYTES = 1024 * 1024;
@@ -143,8 +60,8 @@ function seenPath(dir) {
143
60
  }
144
61
  const key = createHash("sha256").update(real).digest("hex").slice(0, 32);
145
62
  const base = windowsLocalAppData();
146
- return join2(
147
- namedCacheDir("catch-up") ?? join2(base ? join2(base, "hyperframes") : join2(homedir(), ".hyperframes"), "catch-up"),
63
+ return join(
64
+ namedCacheDir("catch-up") ?? join(base ? join(base, "hyperframes") : join(homedir(), ".hyperframes"), "catch-up"),
148
65
  `${key}.json`
149
66
  );
150
67
  }
@@ -161,7 +78,7 @@ function markSeen(dir, seen) {
161
78
  const path = seenPath(dir);
162
79
  const at = (time) => new Date(time).toISOString();
163
80
  try {
164
- mkdirSync2(dirname(path), { recursive: true, mode: 448 });
81
+ mkdirSync(dirname(path), { recursive: true, mode: 448 });
165
82
  } catch {
166
83
  return false;
167
84
  }
@@ -175,7 +92,7 @@ function unseenTurns(dir, since, now = Date.now()) {
175
92
  }
176
93
  function isChangedFile(path, since) {
177
94
  try {
178
- const stats = lstatSync2(path);
95
+ const stats = lstatSync(path);
179
96
  return stats.isFile() && stats.mtimeMs > since;
180
97
  } catch {
181
98
  return false;
@@ -194,7 +111,7 @@ function filesChangedSince(dir, since) {
194
111
  for (const entry of entries) {
195
112
  if (walked++ > MAX_WALKED_FILES) return;
196
113
  if (entry.name.startsWith(".") || SKIPPED_DIRS.has(entry.name)) continue;
197
- const path = join2(folder, entry.name);
114
+ const path = join(folder, entry.name);
198
115
  if (entry.isDirectory()) walk(path);
199
116
  else if (entry.isFile() && isChangedFile(path, since))
200
117
  changed.push(relative(dir, path).split(sep).join("/"));
@@ -227,7 +144,7 @@ var SCAFFOLD_TITLE = "# HyperFrames Composition Project";
227
144
  var AFTER = "> alive through review, and stop it explicitly with `preview --stop` afterward.\n";
228
145
  function addCatchUpNote(dir) {
229
146
  for (const name of ["CLAUDE.md", "AGENTS.md"]) {
230
- const path = join2(dir, name);
147
+ const path = join(dir, name);
231
148
  try {
232
149
  const text2 = readPlainFile(path, MAX_READ_BYTES);
233
150
  if (!text2.startsWith(SCAFFOLD_TITLE) || text2.includes("hyperframes catch-up")) continue;
@@ -237,7 +154,7 @@ ${CATCH_UP_NOTE}
237
154
 
238
155
  ${CATCH_UP_NOTE}
239
156
  `;
240
- replaceFile(path, next, lstatSync2(path).mode & 511);
157
+ replaceFile(path, next, lstatSync(path).mode & 511);
241
158
  } catch {
242
159
  }
243
160
  }
@@ -245,9 +162,6 @@ ${CATCH_UP_NOTE}
245
162
 
246
163
  export {
247
164
  windowsLocalAppData,
248
- readRecord,
249
- writeRecord,
250
- removeRecord,
251
165
  APP_HISTORY,
252
166
  readAppTurns,
253
167
  seenPath,
@@ -9,6 +9,9 @@ import {
9
9
  isHeaderSafe,
10
10
  readStore
11
11
  } from "./chunk-BAWGEGKD.js";
12
+ import {
13
+ projectEnvDir
14
+ } from "./chunk-ECGNWHFE.js";
12
15
  import {
13
16
  ErrInvalidStore,
14
17
  ErrLoginExpired,
@@ -18,6 +21,7 @@ import {
18
21
  } from "./chunk-DMW5SSUN.js";
19
22
 
20
23
  // src/auth/resolver.ts
24
+ import { join } from "path";
21
25
  var ENV_CREDENTIAL_VAR = {
22
26
  env: "HEYGEN_API_KEY",
23
27
  env_alias: "HYPERFRAMES_API_KEY",
@@ -26,29 +30,53 @@ var ENV_CREDENTIAL_VAR = {
26
30
  var envCredentialVar = (source) => source in ENV_CREDENTIAL_VAR ? ENV_CREDENTIAL_VAR[source] : void 0;
27
31
  var EXPIRY_SKEW_MS = 60 * 1e3;
28
32
  async function resolveCredential(opts = {}) {
33
+ return noteProjectKey(await resolveFromSources(opts));
34
+ }
35
+ async function resolveFromSources(opts) {
29
36
  const now = (opts.now ?? (() => /* @__PURE__ */ new Date()))();
30
- const envKey = envApiKey();
37
+ const shellKey = envApiKey(false);
38
+ const projectKey = envApiKey(true);
39
+ const envKey = shellKey ?? projectKey;
31
40
  if (envKey && !heygenApiHost()) return envKey;
32
41
  const accessToken = headerSafeEnv(ENV_CREDENTIAL_VAR.env_oauth);
33
42
  if (accessToken) {
34
43
  return { type: "oauth", access_token: accessToken, source: "env_oauth", refreshable: false };
35
44
  }
36
- if (envKey && loginRefreshFailed) return envKey;
37
- return await fromStore(now, envKey);
45
+ if (shellKey && loginRefreshFailed) return shellKey;
46
+ return await fromStore(now, shellKey, projectKey);
38
47
  }
39
- async function fromStore(now, envKey) {
48
+ async function fromStore(now, shellKey, projectKey) {
40
49
  const store = await readStore().catch((err) => {
41
- if (envKey) return null;
50
+ if (shellKey) return null;
42
51
  throw err;
43
52
  });
44
53
  if (!store || store.source === "absent") {
45
- if (envKey) return envKey;
54
+ const key = shellKey ?? projectKey;
55
+ if (key) return key;
46
56
  throw ErrNotConfigured();
47
57
  }
48
58
  const { credentials, source } = store;
49
59
  const fileSource = source === "file_legacy" ? "file_legacy" : "file_json";
50
60
  const login = credentials.oauth && boundToThisClient(credentials.oauth) ? pickOAuth(credentials.oauth, now, fileSource) : null;
51
- return login ?? envKey ?? storedApiKey(credentials, fileSource);
61
+ return login ?? apiKeyWithoutLogin(credentials, fileSource, shellKey, projectKey);
62
+ }
63
+ function apiKeyWithoutLogin(credentials, source, shellKey, projectKey) {
64
+ if (shellKey) return shellKey;
65
+ if (projectKey && !credentials.oauth && !credentials.api_key) return projectKey;
66
+ return storedApiKey(credentials, source);
67
+ }
68
+ var projectKeyNoted = false;
69
+ function noteProjectKey(credential) {
70
+ const name = envCredentialVar(credential.source);
71
+ const dir = credential.type === "api_key" && name ? projectEnvDir(name) : void 0;
72
+ if (dir !== void 0 && !projectKeyNoted) {
73
+ projectKeyNoted = true;
74
+ process.stderr.write(
75
+ `[hyperframes] Using ${name} from this folder's .env (${join(dir, ".env")}): uploads and renders go to that key's HeyGen account.
76
+ `
77
+ );
78
+ }
79
+ return credential;
52
80
  }
53
81
  function storedApiKey(credentials, source) {
54
82
  if (credentials.oauth) {
@@ -58,11 +86,14 @@ function storedApiKey(credentials, source) {
58
86
  if (credentials.api_key) return { type: "api_key", key: credentials.api_key, source };
59
87
  throw ErrNotConfigured();
60
88
  }
61
- function envApiKey() {
62
- const heygenEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env);
63
- if (heygenEnv) return { type: "api_key", key: heygenEnv, source: "env" };
64
- const hfEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env_alias);
65
- if (hfEnv) return { type: "api_key", key: hfEnv, source: "env_alias" };
89
+ function envApiKey(fromProject) {
90
+ for (const source of ["env", "env_alias"]) {
91
+ const name = ENV_CREDENTIAL_VAR[source];
92
+ const key = headerSafeEnv(name);
93
+ if (key && projectEnvDir(name) !== void 0 === fromProject) {
94
+ return { type: "api_key", key, source };
95
+ }
96
+ }
66
97
  return void 0;
67
98
  }
68
99
  function heygenApiHost() {
@@ -96,7 +127,7 @@ async function afterRefreshFailure(err, refreshToken) {
96
127
  }
97
128
  }
98
129
  if (!err.refused && err.code !== "LOGIN_EXPIRED") throw err;
99
- const key = envApiKey();
130
+ const key = envApiKey(false);
100
131
  if (!key) throw err;
101
132
  loginRefreshFailed = true;
102
133
  return key;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  afterRefreshFailure,
9
9
  resolveCredential
10
- } from "./chunk-M3BJEZ7E.js";
10
+ } from "./chunk-OIO7YMBP.js";
11
11
  import {
12
12
  apiBaseUrl,
13
13
  buildAuthHeaders,
@@ -82,6 +82,9 @@ function embeddedIPv4(address) {
82
82
  if (!Number.isInteger(high) || !Number.isInteger(low)) return void 0;
83
83
  return [high >> 8, high & 255, low >> 8, low & 255].join(".");
84
84
  }
85
+ function carriedIPv4(address) {
86
+ return MAPPED_OR_NAT64_IPV6.check(address, "ipv6") ? embeddedIPv4(address) : void 0;
87
+ }
85
88
  var NON_PUBLIC_IPV6_ADDRESSES = new BlockList();
86
89
  for (const [network, prefix] of [
87
90
  ["::", 128],
@@ -103,7 +106,7 @@ function isBlockedNetworkHost(hostname) {
103
106
  if (addressType === 0) return false;
104
107
  if (inOperatorRange(h, addressType === 4 ? "ipv4" : "ipv6")) return true;
105
108
  if (addressType === 6 && MAPPED_OR_NAT64_IPV6.check(h, "ipv6")) {
106
- const ipv4 = embeddedIPv4(h);
109
+ const ipv4 = carriedIPv4(h);
107
110
  return ipv4 === void 0 || isBlockedNetworkHost(ipv4);
108
111
  }
109
112
  return addressType === 4 ? NON_PUBLIC_IPV4_ADDRESSES.check(h, "ipv4") : NON_PUBLIC_IPV6_ADDRESSES.check(h, "ipv6");
@@ -208,13 +211,20 @@ function refusedIPv4Class(address) {
208
211
  const hostClass = ipv4HostClass(address);
209
212
  return hostClass === "public" ? "reserved" : hostClass;
210
213
  }
214
+ function refusedIPv6Class(address) {
215
+ const ipv4 = carriedIPv4(address);
216
+ const hostClass = ipv4 === void 0 ? "public" : ipv4HostClass(ipv4);
217
+ return hostClass === "public" ? "ipv6" : hostClass;
218
+ }
211
219
  function assertPublicHostname(hostname) {
212
220
  const host = hostname.toLowerCase().replace(/\.$/, "");
213
221
  if (isIP2(host) === 4) {
214
222
  if (!isPublicIPv4(host)) throw new NonPublicHostError(PUBLIC_IPV4, refusedIPv4Class(host));
215
223
  return host;
216
224
  }
217
- if (host.startsWith("[")) throw new NonPublicHostError(PUBLIC_HOSTNAME, "ipv6");
225
+ if (host.startsWith("[")) {
226
+ throw new NonPublicHostError(PUBLIC_HOSTNAME, refusedIPv6Class(host.slice(1, -1)));
227
+ }
218
228
  if (!host.includes(".") || !/^[a-z0-9.-]+$/.test(host) || /(?:^|\.)(?:localhost|local|internal|home|lan|test|invalid|example)$/.test(host) || host.split(".").some((label) => !label || label.startsWith("-") || label.endsWith("-"))) {
219
229
  throw new NonPublicHostError(PUBLIC_HOSTNAME, "internal-name");
220
230
  }