hyperframes 0.9.52 → 0.9.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/dist/{add-Z6G2DLNE.js → add-TZFSLV5M.js} +21 -16
  2. package/dist/{agentPromptGenerator-RCTC2XXL.js → agentPromptGenerator-OPQZUVYC.js} +12 -17
  3. package/dist/{animatedGifPrep-X7KILCDI.js → animatedGifPrep-DEK4XZYT.js} +15 -16
  4. package/dist/api.js +46 -46
  5. package/dist/{asset-A3ENWWCU.js → asset-3BIBG7LB.js} +2 -2
  6. package/dist/{assetCataloger-TIMZTOYH.js → assetCataloger-R4NWWO4P.js} +13 -13
  7. package/dist/{audio-HMCUO2CV.js → audio-N3DHNT3F.js} +38 -31
  8. package/dist/{auth-NXR3QM4C.js → auth-CBF2DVRT.js} +5 -5
  9. package/dist/{autoUpdate-TY7P2Z4F.js → autoUpdate-UJB4MI4Z.js} +5 -3
  10. package/dist/{avatars-36MYJUPA.js → avatars-JVATTQYO.js} +21 -19
  11. package/dist/{backgroundChecks-EWWJEGF6.js → backgroundChecks-R7SFELIM.js} +6 -4
  12. package/dist/backgroundChecksWorker.js +6 -5
  13. package/dist/{batchRender-VKM4E7PI.js → batchRender-D4VO4OCF.js} +26 -7
  14. package/dist/{beats-Z4B4B4KM.js → beats-UCYZ7MKK.js} +14 -14
  15. package/dist/{benchmark-PLGO2THH.js → benchmark-3NMJO5DK.js} +31 -14
  16. package/dist/{billing-ZIXACCLR.js → billing-76JTGOHN.js} +18 -17
  17. package/dist/{browser-VZFBNASB.js → browser-5XXA4O25.js} +11 -11
  18. package/dist/{bundleWithLocalizedFonts-XD2XDEQL.js → bundleWithLocalizedFonts-S7DIF43W.js} +1 -1
  19. package/dist/{capture-BAFLHNDI.js → capture-EV4G3SCY.js} +33 -34
  20. package/dist/{capture-GC4F54XT.js → capture-JHMVFAUS.js} +4 -4
  21. package/dist/{captureCompositionFrame-YBVEFKWM.js → captureCompositionFrame-3M3BFHZH.js} +19 -19
  22. package/dist/{catalog-LHOCJUO2.js → catalog-WVZJ6XYV.js} +21 -16
  23. package/dist/{catch-up-6FNQ6I7Q.js → catch-up-FQ5KCZIH.js} +11 -11
  24. package/dist/{check-S7T5LE6V.js → check-VTUVZWCF.js} +52 -49
  25. package/dist/{checkAudio-AKOI4AWK.js → checkAudio-FYRBXK22.js} +19 -19
  26. package/dist/{checkBrowser-NABXGNNM.js → checkBrowser-EJQEWSIH.js} +46 -43
  27. package/dist/{chunk-YXQA6MKA.js → chunk-2ODGEXNH.js} +4 -4
  28. package/dist/{chunk-7SZ7QQJ3.js → chunk-2ST2FAVH.js} +2 -2
  29. package/dist/{chunk-POGZYVM2.js → chunk-2YSQU74C.js} +9 -9
  30. package/dist/{chunk-H4S3WY2N.js → chunk-346RTE74.js} +1 -1
  31. package/dist/{chunk-Z46RV43W.js → chunk-35PKJPEI.js} +2 -2
  32. package/dist/{chunk-MQGRMXFN.js → chunk-365OGBQ2.js} +3 -3
  33. package/dist/chunk-3FHPYC6X.js +5069 -0
  34. package/dist/{chunk-6PXVXIC7.js → chunk-3FL7MKQH.js} +163 -60
  35. package/dist/{chunk-SQ64IEA7.js → chunk-3HQ4C4HI.js} +2 -2
  36. package/dist/{chunk-CDK23M57.js → chunk-43ILJV43.js} +11 -11
  37. package/dist/{chunk-RMO7KIFX.js → chunk-44OCDK5C.js} +4 -4
  38. package/dist/{chunk-APT2TSYC.js → chunk-47IXIEBQ.js} +1 -1
  39. package/dist/{chunk-FCNMU7LC.js → chunk-4FOHO7GC.js} +1 -1
  40. package/dist/{chunk-CQ5VQNOD.js → chunk-4KRID4YV.js} +1 -1
  41. package/dist/{chunk-MR7VKWYT.js → chunk-4KS3GL5I.js} +1 -1
  42. package/dist/{chunk-4Q2HYZZK.js → chunk-4TJGOQER.js} +58 -3
  43. package/dist/{chunk-YJFIGFON.js → chunk-562X3KBJ.js} +2 -2
  44. package/dist/chunk-5A75E4OT.js +72 -0
  45. package/dist/{chunk-XHUFLQGD.js → chunk-5CRHNVJW.js} +3 -3
  46. package/dist/{chunk-22EEGJLH.js → chunk-5JOYZGHQ.js} +82 -54
  47. package/dist/{chunk-NQ3NHCF6.js → chunk-5SMHNPMW.js} +2 -2
  48. package/dist/{chunk-24M5C5EQ.js → chunk-6CO6L3YP.js} +1 -1
  49. package/dist/{chunk-MP4TEYUJ.js → chunk-6EMFSRTW.js} +4 -1
  50. package/dist/{chunk-H4LCNEA2.js → chunk-6F4ZVQUX.js} +195 -128
  51. package/dist/{chunk-YRXIEP35.js → chunk-6RPLXBZJ.js} +89 -10
  52. package/dist/{chunk-7RLMDAUO.js → chunk-6T4PB35F.js} +2 -1
  53. package/dist/{chunk-VOJ3ICMF.js → chunk-7ELQHSEE.js} +1 -1
  54. package/dist/{chunk-NXDFCWF2.js → chunk-7FU5JCAK.js} +1 -1
  55. package/dist/{chunk-UFET7UTU.js → chunk-B3WRUPRS.js} +2 -2
  56. package/dist/{chunk-TI7JN55F.js → chunk-BCJJ64JG.js} +1 -1
  57. package/dist/{chunk-P27QDOID.js → chunk-BH5P5QZN.js} +4 -4
  58. package/dist/{chunk-RIHRYTNB.js → chunk-BQRJZDSM.js} +15 -15
  59. package/dist/{chunk-7GVHPY7W.js → chunk-BS36NRXV.js} +1 -1
  60. package/dist/{chunk-PRG42HNH.js → chunk-CBV4W4R3.js} +2 -2
  61. package/dist/{chunk-UX2KMUKC.js → chunk-CTHG3WLB.js} +9 -9
  62. package/dist/{chunk-MF53JVZ5.js → chunk-CYBOQOKO.js} +1 -1
  63. package/dist/{chunk-DPVXBVLL.js → chunk-DZWAYZG2.js} +6254 -6096
  64. package/dist/{chunk-AMWWQXTC.js → chunk-E3LZAM64.js} +5 -5
  65. package/dist/{chunk-B2ZZYISD.js → chunk-ECGNWHFE.js} +29 -6
  66. package/dist/{chunk-ZG6BVWQ7.js → chunk-ES273AD6.js} +3 -3
  67. package/dist/{chunk-R64WJS45.js → chunk-FH6KC5EF.js} +6 -6
  68. package/dist/{chunk-S5EMQAKL.js → chunk-FLPVKGBS.js} +2 -2
  69. package/dist/{chunk-HLXZFHEY.js → chunk-FM5JRUWL.js} +6 -6
  70. package/dist/{chunk-DE7Q2LWF.js → chunk-FQMP2KFS.js} +2 -2
  71. package/dist/{chunk-ZXMZSU5Y.js → chunk-FRM4EM52.js} +15 -15
  72. package/dist/chunk-FSBV6Z7E.js +351 -0
  73. package/dist/{chunk-U7ZCBWNM.js → chunk-FU2R6OVR.js} +3 -3
  74. package/dist/{chunk-4OHV7UZZ.js → chunk-FZNH7SCB.js} +1 -1
  75. package/dist/{chunk-O45HB74L.js → chunk-G5FNJQER.js} +31 -27
  76. package/dist/{chunk-G6QCHM2N.js → chunk-G7GTO4YP.js} +4 -4
  77. package/dist/{chunk-WN4W76IQ.js → chunk-GDWPLGHY.js} +1 -1
  78. package/dist/{chunk-UB44XZOI.js → chunk-GVUG5VDL.js} +1 -1
  79. package/dist/{chunk-YXR5MVBM.js → chunk-GZG2Z2O2.js} +2 -2
  80. package/dist/{chunk-7QM73IH2.js → chunk-H5K3FS4W.js} +4 -4
  81. package/dist/{chunk-MOTJT42J.js → chunk-HJ2YUPBF.js} +13 -1
  82. package/dist/{chunk-47MEWWCO.js → chunk-HY25JZQ2.js} +2 -2
  83. package/dist/{chunk-DONVZZLV.js → chunk-HYO4DIYT.js} +1 -1
  84. package/dist/{chunk-6NGJ55V5.js → chunk-HZ2CD6RL.js} +1 -1
  85. package/dist/{chunk-WPC2FKNB.js → chunk-I7NTTMET.js} +326 -114
  86. package/dist/{chunk-P37ZACC6.js → chunk-I7SJBRVT.js} +3 -3
  87. package/dist/{chunk-CIMOTEZB.js → chunk-IB5DXMAH.js} +4 -4
  88. package/dist/{chunk-MI54IK7G.js → chunk-IEESWUIQ.js} +11 -2
  89. package/dist/{chunk-6MKM2RVL.js → chunk-IH2C53YV.js} +460 -1
  90. package/dist/{chunk-GEIWJSWN.js → chunk-IH56MGAB.js} +10 -10
  91. package/dist/{chunk-6MYO2IHD.js → chunk-IHXMN5YH.js} +7 -0
  92. package/dist/{chunk-YHJOTCTV.js → chunk-IJYIIHGK.js} +10 -5
  93. package/dist/{chunk-L2KUIV56.js → chunk-ISVRNYE5.js} +1 -1
  94. package/dist/{chunk-QP7MQ43Y.js → chunk-IXUIJ7OL.js} +3 -3
  95. package/dist/chunk-JCFOSR7Z.js +181 -0
  96. package/dist/{chunk-HS7LT4PL.js → chunk-JNM4WG7C.js} +1 -1
  97. package/dist/{chunk-WSZJS4QC.js → chunk-KDDRDNEE.js} +60 -9
  98. package/dist/{chunk-UAU4SIOQ.js → chunk-KEZ7QIJN.js} +6 -6
  99. package/dist/{chunk-ZW6ZUKBB.js → chunk-KKO4PRB5.js} +1 -1
  100. package/dist/{chunk-M3BJEZ7E.js → chunk-KPFJGQ6M.js} +45 -12
  101. package/dist/{chunk-YPURY3MW.js → chunk-LKWN2F7O.js} +2 -2
  102. package/dist/{chunk-CIGQUDEV.js → chunk-N2YHCAFL.js} +50 -15
  103. package/dist/{chunk-Z2EKCD7H.js → chunk-NCPSUM5A.js} +1 -1
  104. package/dist/{chunk-64T46P7K.js → chunk-NVGB7L2M.js} +2 -2
  105. package/dist/{chunk-2MNSS7PH.js → chunk-OLVZAALP.js} +2 -2
  106. package/dist/{chunk-LZTBL7SR.js → chunk-OSKSTJNQ.js} +12 -2
  107. package/dist/{chunk-QUUZ2BGC.js → chunk-OUPWEFUM.js} +1 -1
  108. package/dist/{chunk-4QFWV5GQ.js → chunk-P2ZMVHTF.js} +2 -1
  109. package/dist/{chunk-T6VQGCN3.js → chunk-PPLFDG7N.js} +9 -5
  110. package/dist/{chunk-UBHBB3TB.js → chunk-PUT3NPVE.js} +43 -51
  111. package/dist/{chunk-IMNIW22F.js → chunk-PYOCEDTU.js} +2 -2
  112. package/dist/{chunk-E2KJT7JR.js → chunk-Q5P7YJXO.js} +2 -2
  113. package/dist/{chunk-42JBYXIQ.js → chunk-QBDT7Z5D.js} +38 -22
  114. package/dist/{chunk-3LIMD4YP.js → chunk-QBN2W4T3.js} +6 -8
  115. package/dist/{chunk-J45SCYTD.js → chunk-QXYR7LOO.js} +7 -7
  116. package/dist/{chunk-LNZHSISH.js → chunk-RH6UD7XI.js} +11 -11
  117. package/dist/{chunk-IZQDQ5AN.js → chunk-RUQ2VOD3.js} +3 -2
  118. package/dist/{chunk-ETXOQXWT.js → chunk-SH6PAYUD.js} +5 -5
  119. package/dist/{chunk-M6TIOPL5.js → chunk-SRPPNXGX.js} +3 -3
  120. package/dist/{chunk-LIPVGXPV.js → chunk-SXZMJ7QJ.js} +4 -4
  121. package/dist/{chunk-ZGWOCGSJ.js → chunk-T3QK3VKM.js} +1 -1
  122. package/dist/{chunk-DC7AOIHN.js → chunk-T5S7U5C6.js} +1 -1
  123. package/dist/{chunk-RULKJFRT.js → chunk-TQKX3TA3.js} +1 -1
  124. package/dist/{chunk-IB722ALN.js → chunk-TTP6JGIL.js} +2 -2
  125. package/dist/{chunk-DYYAFCZH.js → chunk-TWI33YJP.js} +1 -1
  126. package/dist/{chunk-5B425ZB3.js → chunk-UAOL5PRX.js} +1 -1
  127. package/dist/{chunk-L56WTLQP.js → chunk-VCHJV7ZT.js} +10 -9
  128. package/dist/{chunk-M425BL2U.js → chunk-VCKUDUPN.js} +1 -1
  129. package/dist/{chunk-UIIQA7DN.js → chunk-W6WVHIU7.js} +6 -3
  130. package/dist/{chunk-JJLPGVTA.js → chunk-WPG76RJZ.js} +1 -1
  131. package/dist/{chunk-VXX4S2PH.js → chunk-XBPLO6CY.js} +384 -94
  132. package/dist/{chunk-M4E7CMYS.js → chunk-XJTFSMZK.js} +2 -2
  133. package/dist/{chunk-X3IULMVV.js → chunk-XM7LOJBP.js} +1 -1
  134. package/dist/{chunk-HT4FWRIT.js → chunk-XZZF6YBS.js} +1 -1
  135. package/dist/{chunk-4FWR7OE3.js → chunk-Y6CLFCYX.js} +3 -3
  136. package/dist/{chunk-7VQ3RAKO.js → chunk-YF34MK67.js} +19 -16
  137. package/dist/{chunk-UX4HQHMS.js → chunk-YT3LRZA3.js} +12 -10
  138. package/dist/{chunk-MOR3H5FK.js → chunk-ZFCK46UR.js} +1 -1
  139. package/dist/{chunk-C66O6A2J.js → chunk-ZI3MSFSN.js} +2 -2
  140. package/dist/{chunk-2AZMG6DR.js → chunk-ZK6BC3JM.js} +4 -4
  141. package/dist/{chunk-TDQUQAW5.js → chunk-ZPPEZJVD.js} +97 -39
  142. package/dist/{chunk-I6SCA2ME.js → chunk-ZT7RB42S.js} +43 -21
  143. package/dist/{chunk-KUZTIMY3.js → chunk-ZV3RIHRN.js} +7 -7
  144. package/dist/{clean-Y6YIQRPM.js → clean-KEVJGNES.js} +29 -28
  145. package/dist/cli.js +67 -66
  146. package/dist/{cloud-5C5SCK4H.js → cloud-EBJZO6ZY.js} +5 -4
  147. package/dist/{cloud-A5U7YYNA.js → cloud-OR62JJDE.js} +4 -4
  148. package/dist/{cloudrun-EULFHQQL.js → cloudrun-HPYJTM5N.js} +9 -9
  149. package/dist/{compare-6XCTMUF3.js → compare-353XZU2M.js} +43 -41
  150. package/dist/{compiler-DUG4GFRI.js → compiler-KPDUYBA5.js} +8 -8
  151. package/dist/{component-JDQIZSAL.js → component-5DZDY74T.js} +3 -3
  152. package/dist/{compositions-HZDEOSRL.js → compositions-VBICZHMF.js} +27 -20
  153. package/dist/{curve-SE7ZAMI6.js → curve-KDRSQWHP.js} +18 -17
  154. package/dist/{cuts-AEFJGBFP.js → cuts-ABAQKTF4.js} +19 -18
  155. package/dist/{delete-EQUQ7Z2K.js → delete-BXURHIL4.js} +10 -7
  156. package/dist/{deploy-NSLC6BYZ.js → deploy-4TBYCBNI.js} +7 -7
  157. package/dist/{describeProject-FTJBPDL3.js → describeProject-K62TKQLI.js} +14 -14
  158. package/dist/{destroy-4O4T3KL3.js → destroy-FAJUHCW4.js} +6 -6
  159. package/dist/{deterministicFonts-QY4KNTOU.js → deterministicFonts-XZIQ4PNP.js} +3 -3
  160. package/dist/{diff-VJ3CS7YE.js → diff-4O7ZCBM5.js} +43 -41
  161. package/dist/{dist-MXWEGMRB.js → dist-AAGJ6SXG.js} +5 -5
  162. package/dist/{dist-MNFB4YKV.js → dist-D67752QW.js} +18 -18
  163. package/dist/{dist-2YJCNIWI.js → dist-F4T6FB7P.js} +6 -6
  164. package/dist/{doctor-RR7SNO6X.js → doctor-IEUIWBC5.js} +23 -18
  165. package/dist/{dotEnv-33RDHX7P.js → dotEnv-RZ52L7X3.js} +5 -4
  166. package/dist/{energy-PN23W2UJ.js → energy-BJQTVGBO.js} +19 -18
  167. package/dist/{events-4ECJEB2W.js → events-4UBI5WNS.js} +10 -10
  168. package/dist/{events-NR6UPBHG.js → events-D3NBN44E.js} +4 -4
  169. package/dist/{events-5OLO73VJ.js → events-M37XFHGJ.js} +21 -20
  170. package/dist/{execute-TS3BP65F.js → execute-JCLM27KS.js} +36 -36
  171. package/dist/{extract-GCZ5HSEN.js → extract-AYWY5PIN.js} +19 -18
  172. package/dist/{face-QKMYBRV3.js → face-TEHC6WYN.js} +20 -19
  173. package/dist/{feedback-3H43EK7N.js → feedback-JZDCB5N4.js} +42 -30
  174. package/dist/{ffmpeg-JRNM74WY.js → ffmpeg-JMPVMPDT.js} +15 -15
  175. package/dist/{figma-JGP2UGGU.js → figma-6MYT2VRV.js} +3 -3
  176. package/dist/fontLocalizeCli.js +20 -21
  177. package/dist/{frames-OYSWKB3F.js → frames-NLFBDILH.js} +20 -19
  178. package/dist/{generate-TDXLUFMR.js → generate-YLPRVWHZ.js} +32 -30
  179. package/dist/{get-UB2MNBYO.js → get-APCR6ZJE.js} +10 -7
  180. package/dist/{gpuPolicy-6CTTH3NY.js → gpuPolicy-YXBUP4AF.js} +12 -12
  181. package/dist/{grade-compare-2DXT4RWV.js → grade-compare-VLWGCI4O.js} +43 -41
  182. package/dist/{gsapParser-L7TM3RGH.js → gsapParser-TSPNHW7F.js} +1 -1
  183. package/dist/hangReport.js +2 -1
  184. package/dist/{heifImagePrep-VDZVZ4G7.js → heifImagePrep-UC2AV5LU.js} +16 -17
  185. package/dist/{help-RGKY4DR4.js → help-YSBTU7WC.js} +1 -1
  186. package/dist/{history-AVDXYNAP.js → history-EPIGMZUN.js} +15 -14
  187. package/dist/hyperframe.manifest.json +1 -1
  188. package/dist/hyperframe.runtime.iife.js +67 -67
  189. package/dist/hyperframes-player.global.js +3 -3
  190. package/dist/{info-NGTQABZC.js → info-6SF6E2T3.js} +26 -20
  191. package/dist/{init-C3EARHDW.js → init-BXS47X5W.js} +40 -38
  192. package/dist/{ink-ISO3VXRQ.js → ink-BWKWSIKA.js} +19 -18
  193. package/dist/{inspect-V6MPU5I5.js → inspect-NUE2R2OF.js} +44 -41
  194. package/dist/{installer-FI6HT2FW.js → installer-T57TKMM6.js} +7 -7
  195. package/dist/{keyframes-PTJDE47Y.js → keyframes-WCRUYIOQ.js} +19 -15
  196. package/dist/{lambda-JTO5YD2I.js → lambda-L2YNMAL5.js} +18 -18
  197. package/dist/{layout-QMLEZP5T.js → layout-FXTXMDAL.js} +44 -41
  198. package/dist/{lint-6BWOQAW6.js → lint-IKRYTERJ.js} +23 -17
  199. package/dist/{lintProject-G4MXY4YA.js → lintProject-2NDIJLD2.js} +6 -6
  200. package/dist/{list-7E4VD7JA.js → list-BX5SCZEC.js} +10 -7
  201. package/dist/{localPage-BQOYZAOW.js → localPage-HY3VMEYU.js} +12 -12
  202. package/dist/{login-37MSZXCY.js → login-5IDR2M6C.js} +6 -5
  203. package/dist/{logout-QGNBUJKS.js → logout-MTWA4BBI.js} +2 -1
  204. package/dist/{look-5GXW3NVP.js → look-7R4YJNX7.js} +19 -18
  205. package/dist/{manager-TMKN4DX5.js → manager-DBMIO5YG.js} +2 -2
  206. package/dist/{manager-J2IRAOR7.js → manager-PHCAZFHT.js} +13 -13
  207. package/dist/{measure-23IL23BL.js → measure-7CJ4RKSY.js} +11 -11
  208. package/dist/{media-treatment-7ODBREPX.js → media-treatment-HEW3RMDV.js} +22 -21
  209. package/dist/{media-use-QJA6NB3V.js → media-use-S5IJPK5G.js} +11 -18
  210. package/dist/{models-2Z6SURXU.js → models-4UJY22Z3.js} +16 -16
  211. package/dist/{motionShot-CYS3L6FK.js → motionShot-FLZQ75TM.js} +23 -23
  212. package/dist/{normalize-audio-6YVF4LED.js → normalize-audio-AN3KKSSK.js} +16 -16
  213. package/dist/{open-WQ6NRHCN.js → open-AHPOLDBY.js} +26 -20
  214. package/dist/{parakeetRunner-R7KK6ZHD.js → parakeetRunner-4URDK3H4.js} +17 -17
  215. package/dist/{pipeline-HRCK2JQL.js → pipeline-O5UWLQDZ.js} +15 -15
  216. package/dist/{plan-FQNKACYR.js → plan-SUV7WBBJ.js} +25 -25
  217. package/dist/{play-UJZBNX2O.js → play-LHMMHUUN.js} +37 -33
  218. package/dist/{preflight-VIMLSE3I.js → preflight-FLSEP55G.js} +14 -14
  219. package/dist/{present-JIOVM3ZH.js → present-VEDXFFPZ.js} +31 -28
  220. package/dist/{preview-HCYGBEWR.js → preview-FXNPXOJL.js} +41 -33
  221. package/dist/privateProjectFile-NN7MTTEQ.js +50 -0
  222. package/dist/{probe-6YQA2ZZC.js → probe-P6LUMX34.js} +19 -18
  223. package/dist/{producer-JIM74BGL.js → producer-SWV2GP4I.js} +1 -1
  224. package/dist/{projectConfig-VPL64JBD.js → projectConfig-EPOIXMHL.js} +9 -9
  225. package/dist/{publicNetwork-F3ZXSVOD.js → publicNetwork-GW7SVP7N.js} +1 -1
  226. package/dist/{publication-ST3VFFWM.js → publication-SIGMWEK3.js} +5 -5
  227. package/dist/{publish-3TTCO4R4.js → publish-EVCYPK6H.js} +45 -32
  228. package/dist/{refresh-6ONVQ3WV.js → refresh-PIFEWEAL.js} +2 -1
  229. package/dist/{remove-background-XTICO22L.js → remove-background-AFXDE5YR.js} +16 -16
  230. package/dist/{render-MG5MX45D.js → render-BCKSDBLK.js} +8 -8
  231. package/dist/{render-PFBZJRAN.js → render-DFUMSKVQ.js} +65 -55
  232. package/dist/{render-WYDOZEZ5.js → render-MENZ6KS5.js} +82 -50
  233. package/dist/{render-batch-C3XGAQGX.js → render-batch-DPT67NDL.js} +8 -8
  234. package/dist/renderSetupWorker.js +8 -8
  235. package/dist/{resolver-AGMKICJW.js → resolver-EE3255VM.js} +7 -7
  236. package/dist/{reverse-TV524NFW.js → reverse-TA73U7V6.js} +1 -1
  237. package/dist/{run-NQBD5RDR.js → run-Y2ISHW5P.js} +5 -4
  238. package/dist/{screenshotCapture-OUZMH7EQ.js → screenshotCapture-CEEBQ3FU.js} +14 -14
  239. package/dist/{service-UIHDIMFM.js → service-6P6QVFNF.js} +19 -18
  240. package/dist/{share-WD7MCA4I.js → share-Q25X6AIX.js} +24 -23
  241. package/dist/{sherpa-H67ZJICN.js → sherpa-PPSJ23WI.js} +16 -16
  242. package/dist/sherpaWorker.js +2 -2
  243. package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
  244. package/dist/skills/media-use/audio/references/tts.md +3 -2
  245. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +95 -15
  246. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +192 -2
  247. package/dist/skills/media-use/references/heygen.md +1 -1
  248. package/dist/{skills-7TUSQF6W.js → skills-PVJJ3R2V.js} +14 -13
  249. package/dist/{skillsUpdateCheck-HF6SQWRA.js → skillsUpdateCheck-L4TGSUN6.js} +6 -4
  250. package/dist/{snapshot-P7ZSTKED.js → snapshot-AIAJRR5C.js} +93 -54
  251. package/dist/{src-TQQ743H4.js → src-O5P56HIK.js} +20 -14
  252. package/dist/{src-H2EUJUV3.js → src-UEH4H4UY.js} +18 -19
  253. package/dist/{start-7ZTAKHD4.js → start-HY5WGCDN.js} +30 -28
  254. package/dist/{staticProjectServer-X4PARIVN.js → staticProjectServer-WNKXSUBZ.js} +28 -27
  255. package/dist/{status-ELQXIXIB.js → status-AFDHSUGG.js} +21 -20
  256. package/dist/studio/assets/{hyperframes-player-D7LhzIg1.js → hyperframes-player-z7r-N5fm.js} +2 -2
  257. package/dist/studio/assets/{index-CQ7o0CBU.js → index-2QPHxCxy.js} +1 -1
  258. package/dist/studio/assets/{index-D3WxJaqm.js → index-Dpo7Q_9-.js} +160 -160
  259. package/dist/studio/assets/index-Dv67Vrl6.js +74 -0
  260. package/dist/studio/assets/{pausedVideoDecoder-BVUmBgn0.js → pausedVideoDecoder-BarDYEAf.js} +1 -1
  261. package/dist/studio/index.html +1 -1
  262. package/dist/{studio-api-OJEU24EG.js → studio-api-P72FA5XB.js} +18 -18
  263. package/dist/{studioServer-E5CLZC46.js → studioServer-RICH4NMX.js} +81 -70
  264. package/dist/{sync-VEJWMKDP.js → sync-J66DIXED.js} +19 -18
  265. package/dist/system-I5KGZTUG.js +1 -1
  266. package/dist/{telemetry-3U4UGQ5V.js → telemetry-KOOKPGMR.js} +10 -10
  267. package/dist/{templates-AUAOWIYA.js → templates-6DRGOTNH.js} +19 -18
  268. package/dist/{timeline-YO27AP66.js → timeline-UZX7366C.js} +29 -28
  269. package/dist/{tokens-UXLQGLVG.js → tokens-AU3BUE6U.js} +2 -2
  270. package/dist/{transcribe-I7MTUH4M.js → transcribe-CW5HK2OA.js} +33 -32
  271. package/dist/{transcribe-FZ3TE4FK.js → transcribe-OUTSVFRZ.js} +15 -15
  272. package/dist/{tts-3VHEX4RB.js → tts-X3MAUZ7E.js} +1 -1
  273. package/dist/{update-KBKSO3SH.js → update-KRYJ6ACJ.js} +15 -14
  274. package/dist/{updateCheck-MUYN55HR.js → updateCheck-WQVGQLCG.js} +5 -3
  275. package/dist/{upgrade-CRCX7CCK.js → upgrade-S54RPT3R.js} +6 -4
  276. package/dist/{urlDownloader-4EM6GLN4.js → urlDownloader-MASRYSQX.js} +11 -11
  277. package/dist/{validate-Y2KF2DU3.js → validate-4QVUHCYG.js} +36 -35
  278. package/dist/{video-HG6SINBD.js → video-AEGOEGSP.js} +13 -13
  279. package/dist/{voices-O4UHHFZS.js → voices-T4U7EU5X.js} +29 -27
  280. package/dist/warmCheck.js +52 -50
  281. package/dist/warmCheckClient.js +2 -1
  282. package/package.json +1 -1
  283. package/dist/chunk-DQZRNGDS.js +0 -5069
  284. package/dist/chunk-IGLEPPTN.js +0 -24
  285. package/dist/chunk-L2U4ISSS.js +0 -93
  286. package/dist/studio/assets/index-BX3KHhGX.js +0 -71
  287. package/dist/{chunk-445BBSZS.js → chunk-UMRNTF3C.js} +3 -3
  288. package/dist/{synthesize-HOLHQCR2.js → synthesize-UKCQR7WW.js} +1 -1
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-LIPVGXPV.js";
13
+ } from "./chunk-SXZMJ7QJ.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCloudAuthHeaders,
9
9
  resolveCloudBaseUrl
10
- } from "./chunk-QUUZ2BGC.js";
10
+ } from "./chunk-OUPWEFUM.js";
11
11
  import {
12
12
  readProjectConfig
13
- } from "./chunk-FCNMU7LC.js";
13
+ } from "./chunk-4FOHO7GC.js";
14
14
  import {
15
15
  normalizeSkillSlug
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-SQ64IEA7.js";
19
+ } from "./chunk-3HQ4C4HI.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -0,0 +1,181 @@
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
+ isEnvOrGitPath,
9
+ isPrivateOutsideFile,
10
+ linksOutside
11
+ } from "./chunk-KDDRDNEE.js";
12
+ import {
13
+ publishRegistryFile,
14
+ registryTargetPath
15
+ } from "./chunk-4XETQ5LC.js";
16
+ import {
17
+ isPrivateProjectFile,
18
+ realFilePath
19
+ } from "./chunk-SZGQU7EB.js";
20
+ import {
21
+ mkdirWithinProject,
22
+ realProjectRoot
23
+ } from "./chunk-XWK2RSD5.js";
24
+
25
+ // src/utils/privateProjectFile.ts
26
+ import {
27
+ closeSync,
28
+ lstatSync,
29
+ openSync,
30
+ readFileSync,
31
+ realpathSync,
32
+ rmSync,
33
+ statSync
34
+ } from "fs";
35
+ import { dirname, join, relative, resolve, sep } from "path";
36
+ function linksToPrivateOutsideFile(projectDir, filePath) {
37
+ return linksOutside(projectDir, filePath) && isPrivateOutsideFile(projectDir, filePath);
38
+ }
39
+ var RECEIVED_RECORD = join(".hyperframes", "received-files.json");
40
+ var RECEIVED_RECORD_LOCK = `${RECEIVED_RECORD}.lock`;
41
+ var LOCK_WAIT_MS = 2e3;
42
+ var LOCK_STALE_MS = 1e4;
43
+ function recordFileAt(dir) {
44
+ try {
45
+ return statSync(join(dir, RECEIVED_RECORD)).isFile();
46
+ } catch {
47
+ return false;
48
+ }
49
+ }
50
+ function readRecord(dir, ownFolder) {
51
+ if (!ownFolder && !recordFileAt(dir)) return null;
52
+ try {
53
+ return { listed: JSON.parse(readFileSync(join(dir, RECEIVED_RECORD), "utf-8")).files };
54
+ } catch (error) {
55
+ const code = error.code;
56
+ return ownFolder && (code === "ENOENT" || code === "ENOTDIR") ? null : { listed: void 0 };
57
+ }
58
+ }
59
+ function sleepSync(ms) {
60
+ Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
61
+ }
62
+ function takeRecordLock(lock) {
63
+ const deadline = Date.now() + LOCK_WAIT_MS;
64
+ for (; ; ) {
65
+ try {
66
+ closeSync(openSync(lock, "wx"));
67
+ return;
68
+ } catch (error) {
69
+ if (error.code !== "EEXIST") throw error;
70
+ }
71
+ const heldFor = Date.now() - (statSync(lock, { throwIfNoEntry: false })?.mtimeMs ?? Date.now());
72
+ if (heldFor > LOCK_STALE_MS) rmSync(lock, { force: true });
73
+ else if (Date.now() < deadline) sleepSync(25);
74
+ else throw new Error(`Another program is changing ${RECEIVED_RECORD}; try again.`);
75
+ }
76
+ }
77
+ function changeReceivedRecord(projectDir, change) {
78
+ const root = realProjectRoot(projectDir);
79
+ const lock = registryTargetPath(root, RECEIVED_RECORD_LOCK);
80
+ mkdirWithinProject(root, dirname(lock));
81
+ takeRecordLock(lock);
82
+ try {
83
+ const record = readRecord(root, true);
84
+ if (record && !Array.isArray(record.listed)) return;
85
+ const files = new Set((record?.listed ?? []).map(String));
86
+ if (!change(files)) return;
87
+ publishRegistryFile(root, RECEIVED_RECORD, `${JSON.stringify({ files: [...files].sort() })}
88
+ `);
89
+ } finally {
90
+ rmSync(lock, { force: true });
91
+ }
92
+ }
93
+ function recordReceivedFiles(root, paths) {
94
+ const added = [];
95
+ if (paths.length === 0) return added;
96
+ changeReceivedRecord(root, (files) => {
97
+ for (const path of paths.map((one) => one.normalize("NFC"))) {
98
+ if (!files.has(path)) added.push(path);
99
+ files.add(path);
100
+ }
101
+ return added.length > 0;
102
+ });
103
+ return added;
104
+ }
105
+ function forgetReceivedFiles(root, paths) {
106
+ if (paths.length === 0) return;
107
+ changeReceivedRecord(root, (files) => paths.map((path) => files.delete(path)).some(Boolean));
108
+ }
109
+ function receivedRecordsAtOrAbove(projectDir) {
110
+ let start;
111
+ try {
112
+ start = realpathSync(projectDir);
113
+ } catch {
114
+ start = resolve(projectDir);
115
+ }
116
+ const records = [];
117
+ for (let dir = start; ; ) {
118
+ const record = readRecord(dir, dir === start);
119
+ if (record)
120
+ records.push({
121
+ root: dir,
122
+ projectDirFromRoot: relative(dir, start).split(sep).join("/"),
123
+ ...record
124
+ });
125
+ const parent = dirname(dir);
126
+ if (parent === dir) return records;
127
+ dir = parent;
128
+ }
129
+ }
130
+ function fileIdentity(path) {
131
+ try {
132
+ const stat = lstatSync(path, { bigint: true });
133
+ return stat.ino === 0n ? null : `${stat.dev}:${stat.ino}`;
134
+ } catch {
135
+ return null;
136
+ }
137
+ }
138
+ function listedIn(record, projectDir) {
139
+ const listed = record.listed.map((path) => String(path).normalize("NFC"));
140
+ const files = new Set(listed);
141
+ const keyOf = (path) => (record.projectDirFromRoot ? `${record.projectDirFromRoot}/${path}` : path).normalize("NFC");
142
+ let listedOnDisk;
143
+ const sameFileAsListed = (path) => {
144
+ listedOnDisk ??= new Set(
145
+ listed.flatMap((entry) => fileIdentity(join(record.root, entry)) ?? [])
146
+ );
147
+ const identity = fileIdentity(join(projectDir, path));
148
+ return identity !== null && listedOnDisk.has(identity);
149
+ };
150
+ return (path) => files.has(keyOf(path)) || sameFileAsListed(path);
151
+ }
152
+ function receivedFiles(projectDir) {
153
+ const records = receivedRecordsAtOrAbove(projectDir);
154
+ if (records.some((record) => !Array.isArray(record.listed))) return () => true;
155
+ const listedInAnyRecord = records.map((record) => listedIn(record, projectDir));
156
+ return (path) => listedInAnyRecord.some((listed) => listed(path));
157
+ }
158
+ function listedUnder(record) {
159
+ const prefix = record.projectDirFromRoot ? `${record.projectDirFromRoot}/`.normalize("NFC") : "";
160
+ return record.listed.map(String).filter((entry) => entry.normalize("NFC").startsWith(prefix)).map((entry) => join(record.root, entry));
161
+ }
162
+ function receivedRecordStatus(projectDir) {
163
+ const records = receivedRecordsAtOrAbove(projectDir);
164
+ const [nearest] = records;
165
+ if (!nearest) return null;
166
+ const unreadable = records.find((record) => !Array.isArray(record.listed));
167
+ if (unreadable) return { path: join(unreadable.root, RECEIVED_RECORD), listed: null };
168
+ return { path: join(nearest.root, RECEIVED_RECORD), listed: records.flatMap(listedUnder) };
169
+ }
170
+ function isPrivateCompositionFile(projectDir, filePath) {
171
+ return isEnvOrGitPath(relative(projectDir, filePath)) || isEnvOrGitPath(relative(realFilePath(projectDir), realFilePath(filePath))) || isPrivateProjectFile(projectDir, filePath);
172
+ }
173
+
174
+ export {
175
+ linksToPrivateOutsideFile,
176
+ recordReceivedFiles,
177
+ forgetReceivedFiles,
178
+ receivedFiles,
179
+ receivedRecordStatus,
180
+ isPrivateCompositionFile
181
+ };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-VXX4S2PH.js";
9
+ } from "./chunk-XBPLO6CY.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -6,28 +6,73 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  MIME_TYPES
9
- } from "./chunk-4QFWV5GQ.js";
9
+ } from "./chunk-P2ZMVHTF.js";
10
10
  import {
11
11
  AUDIO_EXTS,
12
12
  CONVERTIBLE_IMAGE_EXTS,
13
- VIDEO_EXTS
14
- } from "./chunk-7RLMDAUO.js";
13
+ VIDEO_EXTS,
14
+ isControlByte
15
+ } from "./chunk-6T4PB35F.js";
15
16
  import {
16
17
  realFilePath
17
18
  } from "./chunk-SZGQU7EB.js";
18
19
 
19
20
  // ../studio-server/dist/helpers/outsideFile.js
21
+ import { closeSync, constants, fstatSync, openSync, readSync } from "fs";
20
22
  import { homedir } from "os";
21
23
  import { dirname, extname, isAbsolute, join, relative, sep } from "path";
22
24
  var COPIED_TYPE = /^(?:image|video|audio|font)\/|^text\/(?:css|javascript);/;
25
+ var extensionsOf = (type) => Object.entries(MIME_TYPES).filter(([, mime]) => type.test(mime)).map(([extension]) => extension);
23
26
  var OUTSIDE_FILE_EXTENSIONS = /* @__PURE__ */ new Set([
24
- ...Object.entries(MIME_TYPES).filter(([, type]) => COPIED_TYPE.test(type)).map(([extension]) => extension),
27
+ ...extensionsOf(COPIED_TYPE),
25
28
  ...VIDEO_EXTS,
26
29
  ...AUDIO_EXTS,
27
30
  ...CONVERTIBLE_IMAGE_EXTS
28
31
  ]);
29
- var hasCopiedType = (path) => OUTSIDE_FILE_EXTENSIONS.has(extname(path).toLowerCase());
30
- var isCopiedOutsideFileType = (absPath) => hasCopiedType(absPath) && hasCopiedType(realFilePath(absPath));
32
+ var SCRIPT_EXTENSIONS = new Set(extensionsOf(/^text\/javascript;/));
33
+ var UPLOADED_OUTSIDE_FILE_EXTENSIONS = new Set(
34
+ [...OUTSIDE_FILE_EXTENSIONS].filter((extension) => !SCRIPT_EXTENSIONS.has(extension))
35
+ );
36
+ var TYPESCRIPT_OR_TRANSPORT_STREAM = /* @__PURE__ */ new Set([".ts", ".mts"]);
37
+ var TS_SYNC_BYTE = 71;
38
+ var TS_PACKETS = [
39
+ { size: 188, offset: 0 },
40
+ { size: 192, offset: 4 }
41
+ ];
42
+ function readRegularFileHead(path, length) {
43
+ let fd;
44
+ try {
45
+ fd = openSync(path, constants.O_RDONLY | constants.O_NONBLOCK);
46
+ } catch {
47
+ return null;
48
+ }
49
+ try {
50
+ if (!fstatSync(fd).isFile()) return null;
51
+ const head = Buffer.alloc(length);
52
+ return head.subarray(0, readSync(fd, head, 0, length, 0));
53
+ } catch {
54
+ return null;
55
+ } finally {
56
+ closeSync(fd);
57
+ }
58
+ }
59
+ function startsAsTransportStream(path) {
60
+ const head = readRegularFileHead(path, 4 * 192);
61
+ if (!head?.some(isControlByte)) return false;
62
+ return TS_PACKETS.some(({ size, offset }) => {
63
+ const starts = [];
64
+ for (let at = offset; at < head.length; at += size) starts.push(at);
65
+ return starts.length >= 2 && starts.every((at) => head[at] === TS_SYNC_BYTE);
66
+ });
67
+ }
68
+ function isCopiedType(absPath, extensions) {
69
+ const names = [absPath, realFilePath(absPath)].map((path) => extname(path).toLowerCase());
70
+ if (!names.every((extension) => extensions.has(extension))) return false;
71
+ const ambiguous = names.some((extension) => TYPESCRIPT_OR_TRANSPORT_STREAM.has(extension));
72
+ return !ambiguous || startsAsTransportStream(absPath);
73
+ }
74
+ var isCopiedOutsideFileType = (absPath) => isCopiedType(absPath, OUTSIDE_FILE_EXTENSIONS);
75
+ var isUploadedOutsideFileType = (absPath) => isCopiedType(absPath, UPLOADED_OUTSIDE_FILE_EXTENSIONS);
31
76
  var ENV_FILE = /^\.env([._-].*|rc)?$/;
32
77
  function isEnvOrGitPath(path) {
33
78
  const segments = path.toLowerCase().split(/[\\/]/);
@@ -64,17 +109,23 @@ function isPrivateOutsideFile(projectDir, absPath) {
64
109
  }
65
110
  var linksOutside = (projectDir, filePath) => isOutside(relative(realFilePath(projectDir), realFilePath(filePath)));
66
111
  var WHY = {
112
+ private: "which holds secrets or tool data",
67
113
  blocklisted: "which is outside the project in a private location",
68
- received: "which leads outside the project and came in with an imported project",
69
- file_type: "which is outside the project and is not an image, video, audio, font, CSS or JS file"
114
+ received: "which leads outside the project and came in with an imported project"
115
+ };
116
+ var COPIED_TYPES = {
117
+ upload: "an image, video, audio, font or CSS file",
118
+ render: "an image, video, audio, font, CSS or JS file"
70
119
  };
71
120
  function leftOutWarning(file, reference, reason, from = "upload") {
72
- const warning = `${file} references ${reference}, ${WHY[reason]}; it was left out of the ${from}.`;
121
+ const why = reason === "file_type" ? `which is outside the project and is not ${COPIED_TYPES[from]}` : WHY[reason];
122
+ const warning = `${file} references ${reference}, ${why}; it was left out of the ${from}.`;
73
123
  return reason === "file_type" ? `${warning} Move it into the project to include it.` : warning;
74
124
  }
75
125
 
76
126
  export {
77
127
  isCopiedOutsideFileType,
128
+ isUploadedOutsideFileType,
78
129
  isEnvOrGitPath,
79
130
  isPrivateOutsideFile,
80
131
  linksOutside,
@@ -8,20 +8,20 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-MOTJT42J.js";
11
+ } from "./chunk-HJ2YUPBF.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-4XETQ5LC.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-U7ZCBWNM.js";
18
+ } from "./chunk-FU2R6OVR.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-XWK2RSD5.js";
22
22
  import {
23
23
  isCompositionVariable
24
- } from "./chunk-M425BL2U.js";
24
+ } from "./chunk-VCKUDUPN.js";
25
25
 
26
26
  // src/registry/installer.ts
27
27
  import { createHash } from "crypto";
@@ -308,13 +308,13 @@ async function prepareItem(item, options) {
308
308
  if (invalid.length > 0) throw new InvalidVariableValuesError(invalid);
309
309
  return { root, outcomes, force: options.force ?? false };
310
310
  }
311
- function publishItem({ root, outcomes: prepared, force }) {
311
+ function publishItem({ root, outcomes: prepared, force }, guardWrite = (_, write) => write()) {
312
312
  const record = readInstallRecord(root);
313
313
  const outcomes = prepared.map(
314
314
  (o) => o.bytes && keptByProject(record, o.destPath, o.target, force) ? { ...o, preserved: true, hash: null, vars: null, bytes: null } : o
315
315
  );
316
- for (const outcome of outcomes) {
317
- if (outcome.bytes) publishRegistryFile(root, outcome.target, outcome.bytes);
316
+ for (const { bytes, destPath, target } of outcomes) {
317
+ if (bytes) guardWrite(destPath, () => publishRegistryFile(root, target, bytes));
318
318
  }
319
319
  const written = outcomes.filter((o) => !o.preserved).map((o) => o.destPath);
320
320
  const preserved = outcomes.filter((o) => o.preserved).map((o) => o.destPath);
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isTransientBrowserError
9
- } from "./chunk-VXX4S2PH.js";
9
+ } from "./chunk-XBPLO6CY.js";
10
10
 
11
11
  // src/utils/screenshotOnceMore.ts
12
12
  async function screenshotOnceMore(shoot) {
@@ -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,
@@ -26,8 +29,11 @@ var ENV_CREDENTIAL_VAR = {
26
29
  var envCredentialVar = (source) => source in ENV_CREDENTIAL_VAR ? ENV_CREDENTIAL_VAR[source] : void 0;
27
30
  var EXPIRY_SKEW_MS = 60 * 1e3;
28
31
  async function resolveCredential(opts = {}) {
32
+ return noteProjectKey(await resolveFromSources(opts));
33
+ }
34
+ async function resolveFromSources(opts) {
29
35
  const now = (opts.now ?? (() => /* @__PURE__ */ new Date()))();
30
- const envKey = envApiKey();
36
+ const envKey = await envApiKey();
31
37
  if (envKey && !heygenApiHost()) return envKey;
32
38
  const accessToken = headerSafeEnv(ENV_CREDENTIAL_VAR.env_oauth);
33
39
  if (accessToken) {
@@ -37,8 +43,8 @@ async function resolveCredential(opts = {}) {
37
43
  return await fromStore(now, envKey);
38
44
  }
39
45
  async function fromStore(now, envKey) {
40
- const store = await readStore().catch((err) => {
41
- if (envKey) return null;
46
+ const store = await readStore().catch(async (err) => {
47
+ if (envKey && !await fromReceivedProjectEnv(envKey)) return null;
42
48
  throw err;
43
49
  });
44
50
  if (!store || store.source === "absent") {
@@ -48,7 +54,30 @@ async function fromStore(now, envKey) {
48
54
  const { credentials, source } = store;
49
55
  const fileSource = source === "file_legacy" ? "file_legacy" : "file_json";
50
56
  const login = credentials.oauth && boundToThisClient(credentials.oauth) ? pickOAuth(credentials.oauth, now, fileSource) : null;
51
- return login ?? envKey ?? storedApiKey(credentials, fileSource);
57
+ return login ?? await apiKeyWithoutLogin(credentials, fileSource, envKey);
58
+ }
59
+ async function apiKeyWithoutLogin(credentials, source, envKey) {
60
+ const saved = Boolean(credentials.oauth || credentials.api_key);
61
+ if (envKey && !(saved && await fromReceivedProjectEnv(envKey))) return envKey;
62
+ return storedApiKey(credentials, source);
63
+ }
64
+ async function fromReceivedProjectEnv(credential) {
65
+ const name = envCredentialVar(credential.source);
66
+ const dir = credential.type === "api_key" && name ? projectEnvDir(name) : void 0;
67
+ if (dir === void 0) return false;
68
+ const { receivedFiles } = await import("./privateProjectFile-NN7MTTEQ.js");
69
+ return receivedFiles(dir)(".env");
70
+ }
71
+ var projectKeyNoted = false;
72
+ async function noteProjectKey(credential) {
73
+ if (!projectKeyNoted && await fromReceivedProjectEnv(credential)) {
74
+ projectKeyNoted = true;
75
+ process.stderr.write(
76
+ `[hyperframes] Using ${envCredentialVar(credential.source)} from this folder's .env: uploads and renders go to that key's HeyGen account.
77
+ `
78
+ );
79
+ }
80
+ return credential;
52
81
  }
53
82
  function storedApiKey(credentials, source) {
54
83
  if (credentials.oauth) {
@@ -58,12 +87,16 @@ function storedApiKey(credentials, source) {
58
87
  if (credentials.api_key) return { type: "api_key", key: credentials.api_key, source };
59
88
  throw ErrNotConfigured();
60
89
  }
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" };
66
- return void 0;
90
+ async function envApiKey() {
91
+ let received;
92
+ for (const source of ["env", "env_alias"]) {
93
+ const key = headerSafeEnv(ENV_CREDENTIAL_VAR[source]);
94
+ if (!key) continue;
95
+ const credential = { type: "api_key", key, source };
96
+ if (!await fromReceivedProjectEnv(credential)) return credential;
97
+ received ??= credential;
98
+ }
99
+ return received;
67
100
  }
68
101
  function heygenApiHost() {
69
102
  const mediaBase = process.env["HEYGEN_API_BASE"]?.trim();
@@ -96,8 +129,8 @@ async function afterRefreshFailure(err, refreshToken) {
96
129
  }
97
130
  }
98
131
  if (!err.refused && err.code !== "LOGIN_EXPIRED") throw err;
99
- const key = envApiKey();
100
- if (!key) throw err;
132
+ const key = await envApiKey();
133
+ if (!key || await fromReceivedProjectEnv(key)) throw err;
101
134
  loginRefreshFailed = true;
102
135
  return key;
103
136
  }
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  claimDailyNotice,
9
9
  updateCheckDisabled
10
- } from "./chunk-UIIQA7DN.js";
10
+ } from "./chunk-W6WVHIU7.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-7SZ7QQJ3.js";
24
+ } from "./chunk-2ST2FAVH.js";
25
25
 
26
26
  // src/utils/skillsUpdateCheck.ts
27
27
  import { resolve as resolve2 } from "path";
@@ -7,32 +7,40 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-NXDFCWF2.js";
10
+ } from "./chunk-7FU5JCAK.js";
11
+ import {
12
+ forgetReceivedFiles,
13
+ receivedFiles,
14
+ recordReceivedFiles
15
+ } from "./chunk-JCFOSR7Z.js";
11
16
  import {
12
17
  readJsonFlag
13
18
  } from "./chunk-EHZESMRB.js";
14
19
  import {
15
20
  DEFAULT_PROJECT_CONFIG,
21
+ PROJECT_CONFIG_FILENAME,
16
22
  createProjectConfig,
17
23
  loadProjectConfig,
18
24
  projectConfigPath,
25
+ readProjectConfigWithStatus,
19
26
  recordProjectRegistryItems
20
- } from "./chunk-FCNMU7LC.js";
27
+ } from "./chunk-4FOHO7GC.js";
21
28
  import {
22
29
  resolveItemWithDependencies,
23
30
  resolveItemsByTag
24
- } from "./chunk-VOJ3ICMF.js";
31
+ } from "./chunk-7ELQHSEE.js";
25
32
  import {
26
33
  InvalidVariableValuesError,
27
34
  prepareItem,
28
35
  publishItem
29
- } from "./chunk-UAU4SIOQ.js";
36
+ } from "./chunk-KEZ7QIJN.js";
30
37
  import {
31
- DEFAULT_REGISTRY_URL
32
- } from "./chunk-MOTJT42J.js";
38
+ DEFAULT_REGISTRY_URL,
39
+ isPublicRegistry
40
+ } from "./chunk-HJ2YUPBF.js";
33
41
  import {
34
42
  trackRegistryItemAdded
35
- } from "./chunk-SQ64IEA7.js";
43
+ } from "./chunk-3HQ4C4HI.js";
36
44
  import {
37
45
  defineCommand
38
46
  } from "./chunk-DL4OD7IA.js";
@@ -41,14 +49,12 @@ import {
41
49
  } from "./chunk-JCNPHRGX.js";
42
50
  import {
43
51
  ITEM_TYPE_DIRS
44
- } from "./chunk-U7ZCBWNM.js";
52
+ } from "./chunk-FU2R6OVR.js";
45
53
  import {
46
54
  isProjectRootMissing,
55
+ realProjectRoot,
47
56
  realpath
48
57
  } from "./chunk-XWK2RSD5.js";
49
- import {
50
- findTrustedExecutable
51
- } from "./chunk-IU5DC4HP.js";
52
58
  import {
53
59
  parseHTML
54
60
  } from "./chunk-GWTIFRF5.js";
@@ -58,10 +64,13 @@ import {
58
64
  import {
59
65
  failCommand
60
66
  } from "./chunk-66W5IWLO.js";
67
+ import {
68
+ findTrustedExecutable
69
+ } from "./chunk-IU5DC4HP.js";
61
70
 
62
71
  // src/commands/add.ts
63
72
  import { existsSync, readFileSync } from "fs";
64
- import { resolve, relative } from "path";
73
+ import { join, resolve, relative, sep } from "path";
65
74
 
66
75
  // src/utils/clipboard.ts
67
76
  import { spawnSync } from "child_process";
@@ -231,11 +240,35 @@ function assertCompatibleOrThrow(items, cliVersion) {
231
240
  throw err;
232
241
  }
233
242
  }
234
- async function installAll(installPlan, destDir, baseUrl, force, requestedName, variableValues, installDirs) {
243
+ function fromReceivedRegistry(projectDir, registry) {
244
+ if (readProjectConfigWithStatus(projectDir).status === "unreadable") return true;
245
+ return !isPublicRegistry(registry) && receivedFiles(projectDir)(PROJECT_CONFIG_FILENAME);
246
+ }
247
+ var PLAIN_WRITES = { guard: (_, write) => write(), undo: () => {
248
+ } };
249
+ function receivedWrites(root) {
250
+ const listedHere = [];
251
+ return {
252
+ guard(destPath, write) {
253
+ listedHere.push(
254
+ ...recordReceivedFiles(root, [relative(root, destPath).split(sep).join("/")])
255
+ );
256
+ write();
257
+ },
258
+ undo() {
259
+ forgetReceivedFiles(
260
+ root,
261
+ listedHere.filter((path) => !existsSync(join(root, path)))
262
+ );
263
+ }
264
+ };
265
+ }
266
+ async function installAll(installPlan, destDir, baseUrl, force, requestedName, variableValues, installDirs, received) {
235
267
  const written = [];
236
268
  const preserved = [];
237
269
  let variablesApplied = [];
238
270
  let variablesUnknown = [];
271
+ const writes = received ? receivedWrites(realProjectRoot(destDir)) : PLAIN_WRITES;
239
272
  try {
240
273
  const prepared = [];
241
274
  for (const planItem of installPlan) {
@@ -252,7 +285,7 @@ async function installAll(installPlan, destDir, baseUrl, force, requestedName, v
252
285
  );
253
286
  }
254
287
  for (const [i, planItem] of installPlan.entries()) {
255
- const result = publishItem(prepared[i]);
288
+ const result = publishItem(prepared[i], writes.guard);
256
289
  written.push(...result.written);
257
290
  preserved.push(...result.preserved);
258
291
  if (planItem.name === requestedName) {
@@ -261,6 +294,7 @@ async function installAll(installPlan, destDir, baseUrl, force, requestedName, v
261
294
  }
262
295
  }
263
296
  } catch (err) {
297
+ writes.undo();
264
298
  if (isProjectRootMissing(err)) throw err;
265
299
  if (err instanceof InvalidVariableValuesError) throw new AddError(err.message, "invalid-vars");
266
300
  throw new AddError(describeInstallFailure(err, baseUrl), "install-failed");
@@ -325,7 +359,8 @@ async function addToProject(opts) {
325
359
  opts.force ?? false,
326
360
  item.name,
327
361
  variableValues,
328
- [config.paths.blocks, config.paths.components, config.paths.assets]
362
+ [config.paths.blocks, config.paths.components, config.paths.assets],
363
+ fromReceivedRegistry(projectDir, config.registry)
329
364
  );
330
365
  for (const planItem of installPlan) {
331
366
  trackRegistryItemAdded({
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-U7ZCBWNM.js";
13
+ } from "./chunk-FU2R6OVR.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -8,11 +8,11 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-2AZMG6DR.js";
11
+ } from "./chunk-ZK6BC3JM.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe
15
- } from "./chunk-VXX4S2PH.js";
15
+ } from "./chunk-XBPLO6CY.js";
16
16
  import {
17
17
  renameWithRetry
18
18
  } from "./chunk-DE3JRSGT.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  fetchLocalPageUrl
9
- } from "./chunk-6NGJ55V5.js";
9
+ } from "./chunk-HZ2CD6RL.js";
10
10
  import {
11
11
  ensureCaptureDirSync,
12
12
  writeCaptureFileSync
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  isBlockedNetworkHost,
23
23
  publicRequest
24
- } from "./chunk-LZTBL7SR.js";
24
+ } from "./chunk-OSKSTJNQ.js";
25
25
  import {
26
26
  DOMParser,
27
27
  parseHTML