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.
- package/dist/{add-Z6G2DLNE.js → add-OVHVUHQR.js} +26 -21
- package/dist/{agentPromptGenerator-RCTC2XXL.js → agentPromptGenerator-L2B3HMHF.js} +16 -21
- package/dist/{animatedGifPrep-X7KILCDI.js → animatedGifPrep-YMJH33FX.js} +19 -20
- package/dist/api.js +52 -51
- package/dist/{appHistory-DK2XI4EZ.js → appHistory-T3ZLA7QN.js} +4 -3
- package/dist/{asset-A3ENWWCU.js → asset-ORCN4EVH.js} +2 -2
- package/dist/{assetCataloger-TIMZTOYH.js → assetCataloger-X23VB66T.js} +17 -17
- package/dist/{audio-HMCUO2CV.js → audio-NHNXBUI2.js} +103 -74
- package/dist/{auth-NXR3QM4C.js → auth-DQDDXQFC.js} +5 -5
- package/dist/{autoUpdate-TY7P2Z4F.js → autoUpdate-LF7BJN34.js} +4 -2
- package/dist/{avatars-36MYJUPA.js → avatars-KFUMWRVX.js} +23 -21
- package/dist/{backgroundChecks-EWWJEGF6.js → backgroundChecks-Y6RHADW6.js} +5 -3
- package/dist/backgroundChecksWorker.js +5 -4
- package/dist/{batchRender-VKM4E7PI.js → batchRender-CMG4SVBX.js} +27 -8
- package/dist/{beats-Z4B4B4KM.js → beats-JXZBK7JI.js} +17 -17
- package/dist/{benchmark-PLGO2THH.js → benchmark-CLU6JUGY.js} +34 -16
- package/dist/{billing-ZIXACCLR.js → billing-5GMYFDMC.js} +23 -22
- package/dist/{browser-VZFBNASB.js → browser-S4R6LZMF.js} +13 -13
- package/dist/{bundleWithLocalizedFonts-XD2XDEQL.js → bundleWithLocalizedFonts-SFUFSBEU.js} +1 -1
- package/dist/{capture-BAFLHNDI.js → capture-A3FLQIDI.js} +32 -33
- package/dist/{capture-GC4F54XT.js → capture-NL7V23HG.js} +5 -5
- package/dist/{captureCompositionFrame-YBVEFKWM.js → captureCompositionFrame-R7GYVNTF.js} +22 -22
- package/dist/{captureFile-R5JZ7WRA.js → captureFile-LXMDM5TD.js} +3 -3
- package/dist/{catalog-LHOCJUO2.js → catalog-42I7W7AU.js} +26 -21
- package/dist/{catch-up-6FNQ6I7Q.js → catch-up-TFSQZQZD.js} +16 -15
- package/dist/{check-S7T5LE6V.js → check-CXRQZBLD.js} +59 -56
- package/dist/{checkAudio-AKOI4AWK.js → checkAudio-AJUH6RU6.js} +20 -20
- package/dist/{checkBrowser-NABXGNNM.js → checkBrowser-4BLSYI25.js} +52 -49
- package/dist/{chunk-47MEWWCO.js → chunk-26RTKW2U.js} +2 -2
- package/dist/{chunk-UAU4SIOQ.js → chunk-2PASB3PC.js} +8 -8
- package/dist/{chunk-ZG6BVWQ7.js → chunk-32DAUKF5.js} +4 -4
- package/dist/{chunk-YXQA6MKA.js → chunk-3IHRXHJQ.js} +4 -4
- package/dist/{chunk-PRG42HNH.js → chunk-3IUBSGD2.js} +2 -2
- package/dist/{chunk-GEIWJSWN.js → chunk-3NPZZT2K.js} +10 -10
- package/dist/{chunk-5B425ZB3.js → chunk-3NXY6O4X.js} +1 -1
- package/dist/{chunk-U7ZCBWNM.js → chunk-4IUOWNDS.js} +3 -3
- package/dist/{chunk-4OHV7UZZ.js → chunk-4NG5GSTO.js} +1 -1
- package/dist/{chunk-CIMOTEZB.js → chunk-4Q3Q4NFK.js} +4 -4
- package/dist/{chunk-KUZTIMY3.js → chunk-4WK4O5FI.js} +8 -8
- package/dist/{chunk-CIGQUDEV.js → chunk-4ZFNNWUX.js} +51 -16
- package/dist/{chunk-2MNSS7PH.js → chunk-5HJZGP54.js} +3 -3
- package/dist/{chunk-UX2KMUKC.js → chunk-5XLTJMCN.js} +10 -10
- package/dist/{chunk-YXR5MVBM.js → chunk-63ESYLBY.js} +2 -2
- package/dist/{chunk-MP4TEYUJ.js → chunk-6EMFSRTW.js} +4 -1
- package/dist/{chunk-S5EMQAKL.js → chunk-6SRBTOGD.js} +3 -3
- package/dist/{chunk-7RLMDAUO.js → chunk-6T4PB35F.js} +2 -1
- package/dist/{chunk-IB722ALN.js → chunk-73UFPVUC.js} +2 -2
- package/dist/{chunk-KLIVZ5VG.js → chunk-75TCOXNT.js} +1 -1
- package/dist/{chunk-C66O6A2J.js → chunk-77U3646W.js} +2 -2
- package/dist/{chunk-64T46P7K.js → chunk-7RGWVZOS.js} +3 -3
- package/dist/{chunk-MF53JVZ5.js → chunk-7RI3U46M.js} +1 -1
- package/dist/{chunk-G6QCHM2N.js → chunk-7WRLK2K4.js} +5 -5
- package/dist/{chunk-YPURY3MW.js → chunk-AROERRUJ.js} +2 -2
- package/dist/{chunk-MOTJT42J.js → chunk-ATKA5KHE.js} +15 -3
- package/dist/{chunk-Z2EKCD7H.js → chunk-AU4ZBCR3.js} +1 -1
- package/dist/{chunk-6NGJ55V5.js → chunk-AYESPEPQ.js} +2 -2
- package/dist/{chunk-FCNMU7LC.js → chunk-B5HSHXE2.js} +2 -2
- package/dist/{chunk-CDK23M57.js → chunk-B6AK5P2D.js} +9 -9
- package/dist/{chunk-UBHBB3TB.js → chunk-BBDWXUO3.js} +45 -53
- package/dist/{chunk-AMWWQXTC.js → chunk-BDWLBCTG.js} +7 -7
- package/dist/{chunk-NQ3NHCF6.js → chunk-BNONW4QT.js} +2 -2
- package/dist/{chunk-POGZYVM2.js → chunk-C7LNWZ7G.js} +9 -9
- package/dist/{chunk-WN4W76IQ.js → chunk-CAYQATCT.js} +1 -1
- package/dist/{chunk-TDQUQAW5.js → chunk-CBCB6GPL.js} +105 -41
- package/dist/{chunk-U3LWQGCD.js → chunk-CIYNUD7Q.js} +1 -1
- package/dist/{chunk-SQ64IEA7.js → chunk-CNZOKODL.js} +3 -3
- package/dist/{chunk-7VQ3RAKO.js → chunk-CWXJZB44.js} +19 -16
- package/dist/{chunk-J45SCYTD.js → chunk-D4EGZYDN.js} +8 -8
- package/dist/{chunk-ZW6ZUKBB.js → chunk-DOLVT6CH.js} +1 -1
- package/dist/{chunk-E2KJT7JR.js → chunk-DVTRMGYG.js} +2 -2
- package/dist/{chunk-I6SCA2ME.js → chunk-DWDCE4PO.js} +55 -26
- package/dist/{chunk-P37ZACC6.js → chunk-DXVK3NMV.js} +3 -3
- package/dist/{chunk-DPVXBVLL.js → chunk-DZWAYZG2.js} +6254 -6096
- package/dist/{chunk-HD5RVDL6.js → chunk-E2DHBP6C.js} +1 -1
- package/dist/{chunk-IU5DC4HP.js → chunk-E7T5SMDK.js} +44 -15
- package/dist/{chunk-HS7LT4PL.js → chunk-E7X54BVP.js} +1 -1
- package/dist/{chunk-DE7Q2LWF.js → chunk-EA5W2DWO.js} +2 -2
- package/dist/{chunk-4Q2HYZZK.js → chunk-EB4IWBBC.js} +58 -3
- package/dist/{chunk-B2ZZYISD.js → chunk-ECGNWHFE.js} +29 -6
- package/dist/{chunk-H4S3WY2N.js → chunk-EKANCN4D.js} +3 -3
- package/dist/{chunk-TI7JN55F.js → chunk-EKCGL4MV.js} +1 -1
- package/dist/{chunk-7SZ7QQJ3.js → chunk-ELA3IV4P.js} +2 -2
- package/dist/{chunk-SZGQU7EB.js → chunk-ER22SVLT.js} +1 -1
- package/dist/{chunk-I2UMQAOQ.js → chunk-EXXIFMUX.js} +1 -1
- package/dist/{chunk-UIIQA7DN.js → chunk-EZQJFCWA.js} +6 -3
- package/dist/{chunk-YJFIGFON.js → chunk-F64VFCVC.js} +2 -2
- package/dist/{chunk-UX4HQHMS.js → chunk-F7B2YDPM.js} +17 -13
- package/dist/{chunk-ETXOQXWT.js → chunk-FICKJQU2.js} +5 -5
- package/dist/{chunk-24M5C5EQ.js → chunk-FUPEHRNT.js} +2 -2
- package/dist/{chunk-VXX4S2PH.js → chunk-GA6QR6LN.js} +648 -166
- package/dist/{chunk-P27QDOID.js → chunk-GEUM7NDY.js} +2 -2
- package/dist/chunk-GIOLHGCC.js +181 -0
- package/dist/{chunk-RMO7KIFX.js → chunk-H2GJDFF6.js} +4 -4
- package/dist/{chunk-7GVHPY7W.js → chunk-H5KHQ6KS.js} +1 -1
- package/dist/{chunk-DYYAFCZH.js → chunk-H7DKHNBF.js} +1 -1
- package/dist/{chunk-DONVZZLV.js → chunk-HYO4DIYT.js} +1 -1
- package/dist/{chunk-O45HB74L.js → chunk-IB6FFEDH.js} +32 -28
- package/dist/{chunk-MI54IK7G.js → chunk-IEESWUIQ.js} +11 -2
- package/dist/{chunk-6MKM2RVL.js → chunk-IH2C53YV.js} +460 -1
- package/dist/{chunk-6MYO2IHD.js → chunk-IHXMN5YH.js} +7 -0
- package/dist/{chunk-YHJOTCTV.js → chunk-IJYIIHGK.js} +10 -5
- package/dist/{chunk-NFRKPLTJ.js → chunk-IR2GEREV.js} +1 -1
- package/dist/{chunk-PCH55NAO.js → chunk-JAAIW4JR.js} +1 -1
- package/dist/{chunk-WPC2FKNB.js → chunk-JRSBBFUU.js} +405 -175
- package/dist/{chunk-L2KUIV56.js → chunk-JSYLOPVJ.js} +1 -1
- package/dist/{chunk-DE3JRSGT.js → chunk-KCF6Q54R.js} +1 -1
- package/dist/{chunk-2AZMG6DR.js → chunk-KTLRJZFK.js} +7 -7
- package/dist/{chunk-XWK2RSD5.js → chunk-KWTTELUY.js} +2 -2
- package/dist/{chunk-UB44XZOI.js → chunk-KYUCSRZU.js} +1 -1
- package/dist/{chunk-MOR3H5FK.js → chunk-LKWWY6WN.js} +1 -1
- package/dist/{chunk-HT4FWRIT.js → chunk-LRXARA5O.js} +1 -1
- package/dist/chunk-MEGSQW2I.js +72 -0
- package/dist/{chunk-445BBSZS.js → chunk-MPU2CRFV.js} +4 -4
- package/dist/{chunk-IMNIW22F.js → chunk-N7M2SNAF.js} +2 -2
- package/dist/{chunk-MQGRMXFN.js → chunk-NCLBKHCX.js} +4 -4
- package/dist/{chunk-4Y5IDZOJ.js → chunk-NKAW4RVE.js} +4 -4
- package/dist/{chunk-CQ5VQNOD.js → chunk-NKUUNSII.js} +1 -1
- package/dist/{chunk-Z46RV43W.js → chunk-NRGNEP3R.js} +2 -2
- package/dist/{chunk-ZGWOCGSJ.js → chunk-O6E5HSVF.js} +2 -2
- package/dist/{chunk-RCTY7VNK.js → chunk-O7TIBLSJ.js} +15 -101
- package/dist/{chunk-M3BJEZ7E.js → chunk-OIO7YMBP.js} +44 -13
- package/dist/{chunk-QUUZ2BGC.js → chunk-ON3CGL3V.js} +1 -1
- package/dist/{chunk-LZTBL7SR.js → chunk-OSKSTJNQ.js} +12 -2
- package/dist/{chunk-22EEGJLH.js → chunk-OTWFSHYH.js} +85 -57
- package/dist/{chunk-NXDFCWF2.js → chunk-OWS4ZWEY.js} +1 -1
- package/dist/{chunk-4QFWV5GQ.js → chunk-P2ZMVHTF.js} +2 -1
- package/dist/{chunk-N36NHUGP.js → chunk-P4YIRU76.js} +1 -1
- package/dist/{chunk-7QM73IH2.js → chunk-PAA5FUUL.js} +4 -4
- package/dist/{chunk-6PXVXIC7.js → chunk-PLOVBMJF.js} +177 -69
- package/dist/{chunk-T6VQGCN3.js → chunk-PPLFDG7N.js} +9 -5
- package/dist/chunk-PXLGDX2S.js +104 -0
- package/dist/{chunk-LNZHSISH.js → chunk-Q3ESTCZH.js} +11 -11
- package/dist/{chunk-G55B5LP6.js → chunk-Q42L7V5T.js} +1 -1
- package/dist/{chunk-3LIMD4YP.js → chunk-QBN2W4T3.js} +6 -8
- package/dist/{chunk-ZXMZSU5Y.js → chunk-QGKRHG4Q.js} +15 -15
- package/dist/{chunk-LIPVGXPV.js → chunk-QKYGGUOQ.js} +4 -4
- package/dist/{chunk-JJLPGVTA.js → chunk-QONV77VI.js} +1 -1
- package/dist/{chunk-UFET7UTU.js → chunk-RBBWUYMG.js} +4 -4
- package/dist/{chunk-4FWR7OE3.js → chunk-RXSPJW77.js} +4 -4
- package/dist/{chunk-X3IULMVV.js → chunk-RZJ7BHXB.js} +1 -1
- package/dist/{chunk-7RHN6N5F.js → chunk-SDFGDNWV.js} +1 -1
- package/dist/{chunk-R64WJS45.js → chunk-SOMX57XG.js} +6 -6
- package/dist/{chunk-42JBYXIQ.js → chunk-SUG2AA33.js} +42 -26
- package/dist/{chunk-IZQDQ5AN.js → chunk-SULPT5X6.js} +53 -17
- package/dist/{chunk-VOJ3ICMF.js → chunk-SVIA7POL.js} +1 -1
- package/dist/chunk-SWAG64KW.js +367 -0
- package/dist/{chunk-DC7AOIHN.js → chunk-T5S7U5C6.js} +1 -1
- package/dist/{chunk-L56WTLQP.js → chunk-TM7D3NOR.js} +34 -15
- package/dist/{chunk-KCPIENND.js → chunk-TMV76KPG.js} +1 -1
- package/dist/{chunk-H4LCNEA2.js → chunk-TRAPS5WB.js} +195 -128
- package/dist/{chunk-M4E7CMYS.js → chunk-TW4DB2NK.js} +2 -2
- package/dist/{chunk-XHUFLQGD.js → chunk-UZJ7Y7WU.js} +3 -3
- package/dist/{chunk-M425BL2U.js → chunk-VCKUDUPN.js} +1 -1
- package/dist/{chunk-M6TIOPL5.js → chunk-VT2K6I4A.js} +3 -3
- package/dist/{chunk-QP7MQ43Y.js → chunk-WAAXVZIT.js} +3 -3
- package/dist/{chunk-4XETQ5LC.js → chunk-WPD7JH6F.js} +2 -2
- package/dist/{chunk-HLXZFHEY.js → chunk-WPSPW7SI.js} +6 -6
- package/dist/{chunk-RULKJFRT.js → chunk-X6TDH2OM.js} +1 -1
- package/dist/chunk-XGEJPKRY.js +5069 -0
- package/dist/{chunk-APT2TSYC.js → chunk-Y6UCMYJZ.js} +1 -1
- package/dist/{chunk-7PBJR7WI.js → chunk-YBLBI3O2.js} +1 -1
- package/dist/{chunk-WSZJS4QC.js → chunk-YNF3SH26.js} +61 -10
- package/dist/{chunk-YRXIEP35.js → chunk-YU5LSWA2.js} +90 -11
- package/dist/{chunk-RIHRYTNB.js → chunk-YUDWGRNZ.js} +15 -15
- package/dist/{chunk-MR7VKWYT.js → chunk-YVCPUVHV.js} +1 -1
- package/dist/{clean-Y6YIQRPM.js → clean-JK4VQMTH.js} +35 -34
- package/dist/cli.js +67 -66
- package/dist/{cloud-A5U7YYNA.js → cloud-JZ2WKHQG.js} +4 -4
- package/dist/{cloud-5C5SCK4H.js → cloud-LU4FVT33.js} +7 -6
- package/dist/{cloudrun-EULFHQQL.js → cloudrun-QBXSGBGX.js} +9 -9
- package/dist/{compare-6XCTMUF3.js → compare-YE5BTDCG.js} +50 -48
- package/dist/{compiler-DUG4GFRI.js → compiler-QEA5UQRG.js} +9 -9
- package/dist/{component-JDQIZSAL.js → component-MGT5ZJ4M.js} +3 -3
- package/dist/{compositions-HZDEOSRL.js → compositions-7OF6FDCH.js} +30 -23
- package/dist/{contactSheet-O3FOOHOX.js → contactSheet-CCHQAZLA.js} +4 -4
- package/dist/{curve-SE7ZAMI6.js → curve-JQLVUDXR.js} +20 -19
- package/dist/{cuts-AEFJGBFP.js → cuts-MCJP6LMJ.js} +21 -20
- package/dist/{delete-EQUQ7Z2K.js → delete-PUYEW3RJ.js} +11 -8
- package/dist/{deploy-NSLC6BYZ.js → deploy-M4XGMJM5.js} +2 -2
- package/dist/{describeProject-FTJBPDL3.js → describeProject-P7CBZ6NW.js} +17 -17
- package/dist/{destroy-4O4T3KL3.js → destroy-6XJWSH2A.js} +2 -2
- package/dist/{deterministicFonts-QY4KNTOU.js → deterministicFonts-OXGNMVJE.js} +5 -5
- package/dist/{diff-VJ3CS7YE.js → diff-BATSO64W.js} +46 -44
- package/dist/{dist-2YJCNIWI.js → dist-G6W7GKGP.js} +6 -6
- package/dist/{dist-MNFB4YKV.js → dist-PC3EMMET.js} +21 -21
- package/dist/{dist-MXWEGMRB.js → dist-T62DJJZX.js} +6 -6
- package/dist/{doctor-RR7SNO6X.js → doctor-ONTGSPYF.js} +28 -23
- package/dist/{dotEnv-33RDHX7P.js → dotEnv-RZ52L7X3.js} +5 -4
- package/dist/{energy-PN23W2UJ.js → energy-FNZICGW2.js} +21 -20
- package/dist/{events-5OLO73VJ.js → events-6TNBAVVY.js} +23 -22
- package/dist/{events-NR6UPBHG.js → events-ENJZNXWG.js} +5 -5
- package/dist/{events-4ECJEB2W.js → events-LBHSU7C2.js} +12 -12
- package/dist/{execute-TS3BP65F.js → execute-RXTEBACV.js} +42 -42
- package/dist/{extract-GCZ5HSEN.js → extract-F2CWTMLX.js} +21 -20
- package/dist/{face-QKMYBRV3.js → face-7HL4CP32.js} +22 -21
- package/dist/{feedback-3H43EK7N.js → feedback-4NDDMECH.js} +46 -33
- package/dist/{ffmpeg-JRNM74WY.js → ffmpeg-3LL345SO.js} +18 -18
- package/dist/{figma-JGP2UGGU.js → figma-474E54NB.js} +3 -3
- package/dist/fontLocalizeCli.js +24 -25
- package/dist/{frames-OYSWKB3F.js → frames-EZWGM7QQ.js} +23 -22
- package/dist/{generate-TDXLUFMR.js → generate-I75DZWDU.js} +36 -34
- package/dist/{get-UB2MNBYO.js → get-BHU6CBWO.js} +11 -8
- package/dist/{gpuPolicy-6CTTH3NY.js → gpuPolicy-6J2STCV2.js} +15 -15
- package/dist/{grade-compare-2DXT4RWV.js → grade-compare-D4TBMCBG.js} +49 -47
- package/dist/{gsapParser-L7TM3RGH.js → gsapParser-TSPNHW7F.js} +1 -1
- package/dist/hangReport.js +2 -1
- package/dist/{heifImagePrep-VDZVZ4G7.js → heifImagePrep-VLYGRKSS.js} +20 -21
- package/dist/{help-RGKY4DR4.js → help-2CUXKYJ6.js} +1 -1
- package/dist/{history-AVDXYNAP.js → history-LVAVYTAN.js} +19 -18
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-NGTQABZC.js → info-SUZOEH6L.js} +29 -23
- package/dist/{init-C3EARHDW.js → init-XI5QN3A6.js} +46 -44
- package/dist/{ink-ISO3VXRQ.js → ink-OVDZOCQJ.js} +21 -20
- package/dist/{inspect-V6MPU5I5.js → inspect-INBCGPBD.js} +50 -47
- package/dist/{installer-FI6HT2FW.js → installer-JNQKFCTN.js} +10 -10
- package/dist/{keyframes-PTJDE47Y.js → keyframes-LYZJK4RH.js} +21 -17
- package/dist/{lambda-JTO5YD2I.js → lambda-DUDXZV6X.js} +21 -21
- package/dist/{layout-QMLEZP5T.js → layout-JKUJW6A4.js} +50 -47
- package/dist/{lint-6BWOQAW6.js → lint-NKDC7IJ2.js} +25 -19
- package/dist/{lintProject-G4MXY4YA.js → lintProject-5Z34NNS4.js} +6 -6
- package/dist/{list-7E4VD7JA.js → list-5HUMDJYL.js} +11 -8
- package/dist/{localPage-BQOYZAOW.js → localPage-RRBRFR4Y.js} +16 -16
- package/dist/{login-37MSZXCY.js → login-C3SHKITR.js} +6 -5
- package/dist/{logout-QGNBUJKS.js → logout-CCATTNTL.js} +2 -1
- package/dist/{look-5GXW3NVP.js → look-3TX2U4BE.js} +21 -20
- package/dist/{manager-TMKN4DX5.js → manager-45VB2G5F.js} +4 -4
- package/dist/{manager-J2IRAOR7.js → manager-MOR255LW.js} +16 -16
- package/dist/{measure-23IL23BL.js → measure-ZAKBHNGY.js} +11 -11
- package/dist/{media-treatment-7ODBREPX.js → media-treatment-QJ35DSED.js} +25 -24
- package/dist/{media-use-QJA6NB3V.js → media-use-YBKHJVXL.js} +12 -18
- package/dist/{models-2Z6SURXU.js → models-OQHKG7B4.js} +20 -20
- package/dist/{motionShot-CYS3L6FK.js → motionShot-TWQTREFH.js} +26 -26
- package/dist/{normalize-audio-6YVF4LED.js → normalize-audio-PXHPUOMD.js} +19 -19
- package/dist/{open-WQ6NRHCN.js → open-TVGO5KVF.js} +34 -27
- package/dist/{parakeetRunner-R7KK6ZHD.js → parakeetRunner-MVJMZSIG.js} +23 -23
- package/dist/{pipeline-HRCK2JQL.js → pipeline-4S5UE4O4.js} +18 -18
- package/dist/{plan-FQNKACYR.js → plan-AMBZUX55.js} +30 -30
- package/dist/{play-UJZBNX2O.js → play-KEAESNBM.js} +43 -39
- package/dist/{preflight-VIMLSE3I.js → preflight-K3CM3W55.js} +18 -18
- package/dist/{present-JIOVM3ZH.js → present-42WDBGBA.js} +35 -32
- package/dist/{preview-HCYGBEWR.js → preview-KSHBU7ZR.js} +43 -34
- package/dist/{probe-6YQA2ZZC.js → probe-TMSXGCL4.js} +21 -20
- package/dist/{producer-JIM74BGL.js → producer-KXRSJPJF.js} +1 -1
- package/dist/{projectConfig-VPL64JBD.js → projectConfig-LOHNVOJG.js} +13 -13
- package/dist/{publicNetwork-F3ZXSVOD.js → publicNetwork-GW7SVP7N.js} +1 -1
- package/dist/{publication-ST3VFFWM.js → publication-LYPU7NTZ.js} +8 -8
- package/dist/{publish-3TTCO4R4.js → publish-PYZXDQJW.js} +51 -38
- package/dist/{refresh-6ONVQ3WV.js → refresh-X5ZLKQO5.js} +2 -1
- package/dist/{remove-background-XTICO22L.js → remove-background-HVX52VOF.js} +19 -19
- package/dist/{render-PFBZJRAN.js → render-57ZYQ53S.js} +73 -62
- package/dist/{render-WYDOZEZ5.js → render-5KMA5P2U.js} +90 -57
- package/dist/{render-MG5MX45D.js → render-CM4MCNVA.js} +9 -9
- package/dist/{render-batch-C3XGAQGX.js → render-batch-URBBGOVC.js} +9 -9
- package/dist/renderSetupWorker.js +10 -10
- package/dist/{resolver-AGMKICJW.js → resolver-UPUCU4XT.js} +10 -10
- package/dist/{reverse-TV524NFW.js → reverse-UYS7KVE2.js} +1 -1
- package/dist/{run-NQBD5RDR.js → run-4LNEWQLG.js} +10 -6
- package/dist/{screenshotCapture-OUZMH7EQ.js → screenshotCapture-IF5AO5XM.js} +18 -18
- package/dist/{service-UIHDIMFM.js → service-OEOC34BD.js} +22 -21
- package/dist/{share-WD7MCA4I.js → share-NS7CMVSU.js} +25 -24
- package/dist/{sherpa-H67ZJICN.js → sherpa-QBTXL6JA.js} +22 -22
- package/dist/sherpaWorker.js +3 -3
- package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
- package/dist/skills/media-use/audio/references/requirements.md +7 -7
- package/dist/skills/media-use/audio/references/tts.md +8 -6
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +39 -13
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +176 -2
- package/dist/skills/media-use/references/heygen.md +1 -1
- package/dist/{skills-7TUSQF6W.js → skills-S5U2MQAI.js} +16 -15
- package/dist/{skillsUpdateCheck-HF6SQWRA.js → skillsUpdateCheck-UZ7CZ6VC.js} +5 -3
- package/dist/{snapshot-P7ZSTKED.js → snapshot-YWFWQTAV.js} +118 -75
- package/dist/{src-H2EUJUV3.js → src-N2SMYJ44.js} +22 -23
- package/dist/{src-TQQ743H4.js → src-UQ3K3UW2.js} +31 -17
- package/dist/{start-7ZTAKHD4.js → start-4IA5GG5D.js} +34 -32
- package/dist/{staticProjectServer-X4PARIVN.js → staticProjectServer-5JP25RRX.js} +34 -33
- package/dist/{status-ELQXIXIB.js → status-ITCKXFBF.js} +25 -24
- package/dist/studio/assets/{hyperframes-player-D7LhzIg1.js → hyperframes-player-Oju91F6x.js} +2 -2
- package/dist/studio/assets/{index-D3WxJaqm.js → index-B0VEzzD2.js} +180 -180
- package/dist/studio/assets/index-Dv67Vrl6.js +74 -0
- package/dist/studio/assets/{index-CQ7o0CBU.js → index-XEm_N45R.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-BVUmBgn0.js → pausedVideoDecoder-p6zibxVM.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-OJEU24EG.js → studio-api-GENM2XVL.js} +21 -21
- package/dist/{studioServer-E5CLZC46.js → studioServer-SWR5Q3PD.js} +90 -77
- package/dist/{sync-VEJWMKDP.js → sync-CK6TTCXO.js} +21 -20
- package/dist/{synthesize-HOLHQCR2.js → synthesize-EXNEBJSY.js} +5 -5
- package/dist/{system-I5KGZTUG.js → system-JBPJHNTG.js} +3 -3
- package/dist/{telemetry-3U4UGQ5V.js → telemetry-T4HQ6AKZ.js} +12 -12
- package/dist/{templates-AUAOWIYA.js → templates-7O7NOIUC.js} +23 -22
- package/dist/{timeline-YO27AP66.js → timeline-P2PLN53O.js} +33 -32
- package/dist/{tokens-UXLQGLVG.js → tokens-SPQN27VG.js} +2 -2
- package/dist/{transcribe-FZ3TE4FK.js → transcribe-SCZG6IM4.js} +19 -19
- package/dist/{transcribe-I7MTUH4M.js → transcribe-YJQ3DDDI.js} +40 -39
- package/dist/{tts-3VHEX4RB.js → tts-5OAB5XX6.js} +1 -1
- package/dist/{update-KBKSO3SH.js → update-JYPZW35A.js} +18 -17
- package/dist/{updateCheck-MUYN55HR.js → updateCheck-5M2JJTH3.js} +4 -2
- package/dist/{upgrade-CRCX7CCK.js → upgrade-BP62FM6V.js} +7 -5
- package/dist/{urlDownloader-4EM6GLN4.js → urlDownloader-WOZQCE6P.js} +14 -14
- package/dist/{validate-Y2KF2DU3.js → validate-NEC5QLH7.js} +40 -39
- package/dist/{video-HG6SINBD.js → video-XEEBISSO.js} +17 -17
- package/dist/{voices-O4UHHFZS.js → voices-GCHA27JA.js} +34 -32
- package/dist/warmCheck.js +59 -57
- package/dist/warmCheckClient.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-DQZRNGDS.js +0 -5069
- package/dist/chunk-IGLEPPTN.js +0 -24
- package/dist/chunk-L2U4ISSS.js +0 -93
- package/dist/studio/assets/index-BX3KHhGX.js +0 -71
|
@@ -6,25 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
createShareService
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-77U3646W.js";
|
|
10
10
|
import {
|
|
11
11
|
shareError
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-NKUUNSII.js";
|
|
13
|
+
import "./chunk-FICKJQU2.js";
|
|
14
14
|
import {
|
|
15
15
|
q,
|
|
16
16
|
select
|
|
17
17
|
} from "./chunk-D2LIT7UR.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OIO7YMBP.js";
|
|
19
19
|
import "./chunk-BAWGEGKD.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-7WRLK2K4.js";
|
|
21
|
+
import "./chunk-ECGNWHFE.js";
|
|
21
22
|
import {
|
|
22
23
|
resolveProjectOrThrow
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KYUCSRZU.js";
|
|
24
25
|
import "./chunk-ZLTB7ZCQ.js";
|
|
25
26
|
import "./chunk-D3UCUI7G.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-CNZOKODL.js";
|
|
28
|
+
import "./chunk-O6E5HSVF.js";
|
|
28
29
|
import "./chunk-PXVQOMKL.js";
|
|
29
30
|
import "./chunk-MCDNAIFF.js";
|
|
30
31
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -34,32 +35,31 @@ import {
|
|
|
34
35
|
import "./chunk-S3S4TGEH.js";
|
|
35
36
|
import "./chunk-54HJ63Q2.js";
|
|
36
37
|
import "./chunk-JCNPHRGX.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-GA6QR6LN.js";
|
|
39
|
+
import "./chunk-OSKSTJNQ.js";
|
|
39
40
|
import "./chunk-Z5J67X44.js";
|
|
40
41
|
import "./chunk-5S7W3TUO.js";
|
|
41
42
|
import "./chunk-D54ZDCZR.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-BBDWXUO3.js";
|
|
44
|
+
import "./chunk-KCF6Q54R.js";
|
|
44
45
|
import "./chunk-3GXQPCJC.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-4IUOWNDS.js";
|
|
46
47
|
import "./chunk-FXMKHHPO.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-XGEJPKRY.js";
|
|
48
49
|
import "./chunk-VC76R6W2.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-KWTTELUY.js";
|
|
50
51
|
import "./chunk-RQVDTPGD.js";
|
|
51
52
|
import "./chunk-X6JUUQCM.js";
|
|
52
53
|
import "./chunk-KGPLIH7B.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-IR2GEREV.js";
|
|
54
55
|
import "./chunk-LEIR7IDJ.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-M425BL2U.js";
|
|
56
|
+
import "./chunk-TRAPS5WB.js";
|
|
57
|
+
import "./chunk-6EMFSRTW.js";
|
|
58
|
+
import "./chunk-CIYNUD7Q.js";
|
|
59
|
+
import "./chunk-IH2C53YV.js";
|
|
60
|
+
import "./chunk-VCKUDUPN.js";
|
|
61
61
|
import "./chunk-FR7YBU3H.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-DZWAYZG2.js";
|
|
63
63
|
import "./chunk-GWTIFRF5.js";
|
|
64
64
|
import "./chunk-2RY2LWAA.js";
|
|
65
65
|
import "./chunk-WC4MTXGN.js";
|
|
@@ -81,11 +81,12 @@ import {
|
|
|
81
81
|
isUnattended
|
|
82
82
|
} from "./chunk-CPHQTXP5.js";
|
|
83
83
|
import "./chunk-QBXDU24O.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-ELA3IV4P.js";
|
|
85
85
|
import "./chunk-E63BDV4Z.js";
|
|
86
86
|
import "./chunk-LW33P24U.js";
|
|
87
87
|
import "./chunk-XT6MXC7A.js";
|
|
88
88
|
import "./chunk-7KDQAD2W.js";
|
|
89
|
+
import "./chunk-E7T5SMDK.js";
|
|
89
90
|
import "./chunk-M2WBOQ2Q.js";
|
|
90
91
|
|
|
91
92
|
// src/commands/share.ts
|
|
@@ -17,51 +17,50 @@ import {
|
|
|
17
17
|
sherpaRuntimeLoadError,
|
|
18
18
|
sherpaUnsupportedReason,
|
|
19
19
|
transcribeWithSherpa
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-RBBWUYMG.js";
|
|
21
|
+
import "./chunk-NKAW4RVE.js";
|
|
22
22
|
import "./chunk-YTHXSYYB.js";
|
|
23
23
|
import "./chunk-3S27CPV7.js";
|
|
24
24
|
import "./chunk-6BEFEWFB.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-RXSPJW77.js";
|
|
26
|
+
import "./chunk-75TCOXNT.js";
|
|
27
|
+
import "./chunk-E7X54BVP.js";
|
|
28
|
+
import "./chunk-3IHRXHJQ.js";
|
|
29
29
|
import "./chunk-RZ6CXJ56.js";
|
|
30
30
|
import "./chunk-R4EWRIDL.js";
|
|
31
31
|
import "./chunk-JJ47LVJ7.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-7WRLK2K4.js";
|
|
33
33
|
import "./chunk-CDNVZEGQ.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-YBLBI3O2.js";
|
|
35
35
|
import "./chunk-UOFAE5RF.js";
|
|
36
36
|
import "./chunk-IR35BCLK.js";
|
|
37
37
|
import "./chunk-HU2SPFNG.js";
|
|
38
38
|
import "./chunk-EHZESMRB.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-GA6QR6LN.js";
|
|
40
|
+
import "./chunk-OSKSTJNQ.js";
|
|
41
41
|
import "./chunk-Z5J67X44.js";
|
|
42
42
|
import "./chunk-5S7W3TUO.js";
|
|
43
43
|
import "./chunk-D54ZDCZR.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-BBDWXUO3.js";
|
|
45
|
+
import "./chunk-KCF6Q54R.js";
|
|
46
46
|
import "./chunk-3GXQPCJC.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-4IUOWNDS.js";
|
|
48
48
|
import "./chunk-FXMKHHPO.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-XGEJPKRY.js";
|
|
50
50
|
import "./chunk-VC76R6W2.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-KWTTELUY.js";
|
|
52
52
|
import "./chunk-RQVDTPGD.js";
|
|
53
53
|
import "./chunk-CNAOJ7XI.js";
|
|
54
54
|
import "./chunk-X6JUUQCM.js";
|
|
55
55
|
import "./chunk-KGPLIH7B.js";
|
|
56
56
|
import "./chunk-LEIR7IDJ.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-M425BL2U.js";
|
|
57
|
+
import "./chunk-TRAPS5WB.js";
|
|
58
|
+
import "./chunk-6EMFSRTW.js";
|
|
59
|
+
import "./chunk-CIYNUD7Q.js";
|
|
60
|
+
import "./chunk-IH2C53YV.js";
|
|
61
|
+
import "./chunk-VCKUDUPN.js";
|
|
63
62
|
import "./chunk-FR7YBU3H.js";
|
|
64
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-DZWAYZG2.js";
|
|
65
64
|
import "./chunk-GWTIFRF5.js";
|
|
66
65
|
import "./chunk-2RY2LWAA.js";
|
|
67
66
|
import "./chunk-WC4MTXGN.js";
|
|
@@ -72,6 +71,7 @@ import "./chunk-QBXDU24O.js";
|
|
|
72
71
|
import "./chunk-E63BDV4Z.js";
|
|
73
72
|
import "./chunk-XT6MXC7A.js";
|
|
74
73
|
import "./chunk-7KDQAD2W.js";
|
|
74
|
+
import "./chunk-E7T5SMDK.js";
|
|
75
75
|
import "./chunk-M2WBOQ2Q.js";
|
|
76
76
|
export {
|
|
77
77
|
DecodeCancelled,
|
package/dist/sherpaWorker.js
CHANGED
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
droppedSpeechGaps,
|
|
12
12
|
silenceCuts,
|
|
13
13
|
spliceGap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YBLBI3O2.js";
|
|
15
15
|
import {
|
|
16
16
|
readWav
|
|
17
17
|
} from "./chunk-UOFAE5RF.js";
|
|
18
18
|
import "./chunk-IR35BCLK.js";
|
|
19
19
|
import "./chunk-HU2SPFNG.js";
|
|
20
20
|
import "./chunk-KGPLIH7B.js";
|
|
21
|
-
import "./chunk-IU5DC4HP.js";
|
|
22
21
|
import "./chunk-3F2DTPBD.js";
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-MEGSQW2I.js";
|
|
23
|
+
import "./chunk-E7T5SMDK.js";
|
|
24
24
|
import "./chunk-M2WBOQ2Q.js";
|
|
25
25
|
|
|
26
26
|
// src/whisper/sherpaWorker.ts
|
|
@@ -32,7 +32,7 @@ npx hyperframes auth refresh # force-refresh an OAuth token before a
|
|
|
32
32
|
npx hyperframes auth logout # clear the stored credential
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Credential resolution order (first match wins): `HEYGEN_ACCESS_TOKEN` (an OAuth token a host app injects; never refreshed or saved), then the `hyperframes auth login` session in `~/.hyperframes/credentials` (refreshed when expired), then `HEYGEN_API_KEY`, then `HYPERFRAMES_API_KEY
|
|
35
|
+
Credential resolution order (first match wins): `HEYGEN_ACCESS_TOKEN` (an OAuth token a host app injects; never refreshed or saved), then the `hyperframes auth login` session in `~/.hyperframes/credentials` (refreshed when expired), then `HEYGEN_API_KEY`, then `HYPERFRAMES_API_KEY` set in the shell, then a key saved with `auth login --api-key`, then a key that a project's `.env` sets. A project `.env` key is used only when no login or key is saved and the shell sets none, never in place of an expired session, and the CLI names that `.env` file on stderr when it uses one. A signed-in session wins over an env key; the env key is used if HeyGen refuses to refresh the session or `HEYGEN_API_URL` points at a host app's gateway. `auth status` shows which one is in use; `auth logout` makes the env key win. `HYPERFRAMES_ENV=dev` selects the dev client, OAuth/API hosts and `~/.hyperframes/dev/credentials` together. `HYPERFRAMES_CONFIG_DIR` overrides the credentials root. `HEYGEN_API_URL` overrides the API host.
|
|
36
36
|
|
|
37
37
|
## The render pipeline
|
|
38
38
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
Run `npx hyperframes auth status` to see what's configured and which engines a workflow will use (see the skill's **Preflight** section). Keys resolve in this order — **first match wins**:
|
|
6
6
|
|
|
7
|
-
| Provider | Resolution order (first non-empty wins)
|
|
8
|
-
| -------------------------------- |
|
|
9
|
-
| **HeyGen** (TTS + BGM retrieval) | `$HEYGEN_ACCESS_TOKEN` → the `~/.hyperframes/credentials` login → `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY` → a saved API key (`$HYPERFRAMES_CONFIG_DIR` overrides the root; dev uses `dev/`) | none (REST) |
|
|
10
|
-
| **ElevenLabs** (TTS fallback) | `$ELEVENLABS_API_KEY`
|
|
11
|
-
| **Lyria** (BGM fallback) | `$GEMINI_API_KEY` → `$GOOGLE_API_KEY`
|
|
12
|
-
| **Kokoro** (TTS, no key) | always — final voice fallback
|
|
13
|
-
| **MusicGen** (BGM, no key) | always — final music fallback
|
|
7
|
+
| Provider | Resolution order (first non-empty wins) | Local deps when used |
|
|
8
|
+
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
|
|
9
|
+
| **HeyGen** (TTS + BGM retrieval) | `$HEYGEN_ACCESS_TOKEN` → the `~/.hyperframes/credentials` login → `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY` → a saved API key → a project `.env` key when nothing is saved (`$HYPERFRAMES_CONFIG_DIR` overrides the root; dev uses `dev/`) | none (REST) |
|
|
10
|
+
| **ElevenLabs** (TTS fallback) | `$ELEVENLABS_API_KEY` | `pip install elevenlabs` |
|
|
11
|
+
| **Lyria** (BGM fallback) | `$GEMINI_API_KEY` → `$GOOGLE_API_KEY` | `pip install google-genai` |
|
|
12
|
+
| **Kokoro** (TTS, no key) | always — final voice fallback | `pip install kokoro-onnx soundfile` |
|
|
13
|
+
| **MusicGen** (BGM, no key) | always — final music fallback | `pip install transformers torch soundfile numpy` |
|
|
14
14
|
|
|
15
15
|
`hyperframes auth login` (browser OAuth) is the recommended setup: one sign-in, every project, no per-repo `.env`. An OAuth login is sent as `Authorization: Bearer`; an API key as `X-Api-Key`; only OAuth is tagged with `X-HeyGen-Source: cli`. The server decides HyperFrames eligibility and charges; API keys use API billing. An expired or foreign OAuth session requires refresh/sign-in and never selects a saved API key. With no HeyGen credential, voice/BGM run fully locally (Kokoro / MusicGen) — `hyperframes auth status` and `hyperframes doctor` both report whether those local deps are installed.
|
|
16
16
|
|
|
@@ -60,19 +60,21 @@ no CLI provider plumbing:
|
|
|
60
60
|
|
|
61
61
|
The script resolves a HeyGen credential the same way the CLI does — first source
|
|
62
62
|
wins: a host-injected OAuth `$HEYGEN_ACCESS_TOKEN` → an unexpired login in
|
|
63
|
-
`~/.hyperframes/credentials` → `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY`
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
`~/.hyperframes/credentials` → `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY` set in
|
|
64
|
+
the shell → an API key saved in `~/.hyperframes/credentials` → a key from a
|
|
65
|
+
project `.env` (auto-loaded, walks up ≤5 dirs), used only when nothing is saved
|
|
66
|
+
(credentials isolated from heygen-cli;
|
|
66
67
|
`$HYPERFRAMES_CONFIG_DIR` overrides the root; `HYPERFRAMES_ENV=dev` uses `dev/`). An OAuth login is sent as
|
|
67
68
|
`Authorization: Bearer`; an API key as `X-Api-Key`; only OAuth includes
|
|
68
69
|
`X-HeyGen-Source: cli`. The server decides HyperFrames eligibility and charges;
|
|
69
70
|
explicit API keys use API billing. An expired or foreign OAuth session gives way
|
|
70
|
-
to
|
|
71
|
-
a hint to run `npx hyperframes auth refresh
|
|
71
|
+
to a key set in the shell, never to a project `.env` key; without one it stops
|
|
72
|
+
rather than selecting a saved API key, with a hint to run `npx hyperframes auth refresh`
|
|
73
|
+
(or `auth login` for a session from another OAuth client).
|
|
72
74
|
|
|
73
75
|
```bash
|
|
74
76
|
# Only needed if you haven't run `npx hyperframes auth login`:
|
|
75
|
-
export HEYGEN_API_KEY=... #
|
|
77
|
+
export HEYGEN_API_KEY=... # a project .env key is used only when nothing is saved
|
|
76
78
|
|
|
77
79
|
# Synthesize + capture word timestamps in one call (skips a Whisper pass)
|
|
78
80
|
node skills/media-use/audio/scripts/heygen-tts.mjs \
|
|
@@ -4,9 +4,9 @@ import { fetchMedia } from "../../../scripts/lib/media-fetch.mjs";
|
|
|
4
4
|
// usable source wins — a host gateway ($HEYGEN_API_BASE with its own
|
|
5
5
|
// $HEYGEN_API_KEY) → a host-injected OAuth $HEYGEN_ACCESS_TOKEN (Bearer) →
|
|
6
6
|
// the live login in ~/.hyperframes/credentials → $HEYGEN_API_KEY /
|
|
7
|
-
// $HYPERFRAMES_API_KEY
|
|
8
|
-
//
|
|
9
|
-
// never to the saved API key ($HYPERFRAMES_CONFIG_DIR overrides the dir).
|
|
7
|
+
// $HYPERFRAMES_API_KEY from the shell → the API key saved in ~/.hyperframes/credentials →
|
|
8
|
+
// a key from a nearby project .env, only when nothing is saved. An expired login gives way to the shell's
|
|
9
|
+
// env key, never to the saved API key or a project .env key ($HYPERFRAMES_CONFIG_DIR overrides the dir).
|
|
10
10
|
// $HEYGEN_API_BASE moves every request to that host, as it does for the
|
|
11
11
|
// heygen CLI; plain HTTP needs $HEYGEN_ALLOW_HTTP=1, as there.
|
|
12
12
|
// Vendored so the skill ships standalone. Pure node.
|
|
@@ -79,6 +79,15 @@ const PROJECT_ENV_KEYS = new Set([
|
|
|
79
79
|
"DO_NOT_TRACK",
|
|
80
80
|
]);
|
|
81
81
|
|
|
82
|
+
const projectEnvValues = new Map();
|
|
83
|
+
let projectKeyNoted = false;
|
|
84
|
+
|
|
85
|
+
// The folder whose .env set `name`, while the environment still holds the value it set.
|
|
86
|
+
function projectKeyDir(name) {
|
|
87
|
+
const set = projectEnvValues.get(name);
|
|
88
|
+
return set !== undefined && set.val === process.env[name] ? set.dir : undefined;
|
|
89
|
+
}
|
|
90
|
+
|
|
82
91
|
// Walk up ≤5 dirs from startDir; load the first .env (shell env always wins).
|
|
83
92
|
export function loadEnvFromDir(startDir) {
|
|
84
93
|
let dir = resolve(startDir);
|
|
@@ -98,7 +107,10 @@ export function loadEnvFromDir(startDir) {
|
|
|
98
107
|
const end = val.indexOf(q, 1);
|
|
99
108
|
val = end > 0 ? val.slice(1, end) : val.slice(1);
|
|
100
109
|
}
|
|
101
|
-
if (PROJECT_ENV_KEYS.has(key) && !(key in process.env))
|
|
110
|
+
if (PROJECT_ENV_KEYS.has(key) && !(key in process.env)) {
|
|
111
|
+
process.env[key] = val;
|
|
112
|
+
projectEnvValues.set(key, { val, dir });
|
|
113
|
+
}
|
|
102
114
|
}
|
|
103
115
|
return;
|
|
104
116
|
}
|
|
@@ -108,7 +120,7 @@ export function loadEnvFromDir(startDir) {
|
|
|
108
120
|
}
|
|
109
121
|
}
|
|
110
122
|
|
|
111
|
-
// → { headers } | { expired: true } | null. Never throws.
|
|
123
|
+
// → { headers } | { expired: true, foreign? } | null. Never throws.
|
|
112
124
|
export function heygenCredential() {
|
|
113
125
|
const cred = resolveCredential();
|
|
114
126
|
return cred?.unreadable ? null : cred;
|
|
@@ -124,14 +136,25 @@ function resolveCredential() {
|
|
|
124
136
|
if (!heygenOwnBase()) return null;
|
|
125
137
|
const accessToken = process.env.HEYGEN_ACCESS_TOKEN;
|
|
126
138
|
if (accessToken) return { headers: { Authorization: `Bearer ${accessToken}` } };
|
|
127
|
-
const
|
|
139
|
+
const envNames = ["HEYGEN_API_KEY", "HYPERFRAMES_API_KEY"].filter((name) => process.env[name]);
|
|
140
|
+
const shellName = envNames.find((name) => projectKeyDir(name) === undefined);
|
|
128
141
|
const stored = storedCredential();
|
|
129
|
-
// A live login wins over
|
|
142
|
+
// A live login wins over a shell key; an expired, foreign or unreadable store gives way only to a shell key.
|
|
130
143
|
if (stored?.headers && "Authorization" in stored.headers) return stored;
|
|
131
|
-
|
|
144
|
+
if (shellName) return { headers: { "X-Api-Key": process.env[shellName] } };
|
|
145
|
+
// A project .env key is used only when nothing is saved.
|
|
146
|
+
const projectName = envNames[0];
|
|
147
|
+
if (stored || !projectName) return stored;
|
|
148
|
+
if (!projectKeyNoted) {
|
|
149
|
+
projectKeyNoted = true;
|
|
150
|
+
process.stderr.write(
|
|
151
|
+
`[hyperframes] Using ${projectName} from the project .env (${join(projectKeyDir(projectName), ".env")}): generated media goes to that key's HeyGen account.\n`,
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
return { headers: { "X-Api-Key": process.env[projectName] } };
|
|
132
155
|
}
|
|
133
156
|
|
|
134
|
-
// The credential saved in ~/.hyperframes/credentials: { headers } | { expired: true } | { unreadable } | null.
|
|
157
|
+
// The credential saved in ~/.hyperframes/credentials: { headers } | { expired: true, foreign? } | { unreadable } | null.
|
|
135
158
|
function storedCredential() {
|
|
136
159
|
const root = process.env.HYPERFRAMES_CONFIG_DIR || join(homedir(), ".hyperframes");
|
|
137
160
|
const file = join(root, ...(process.env.HYPERFRAMES_ENV === "dev" ? ["dev"] : []), "credentials");
|
|
@@ -144,13 +167,12 @@ function storedCredential() {
|
|
|
144
167
|
if (!raw) return null;
|
|
145
168
|
if (!raw.startsWith("{")) return { headers: { "X-Api-Key": raw } };
|
|
146
169
|
|
|
147
|
-
// A malformed credentials file (partial write
|
|
148
|
-
// "no credential", not crash the engine at startup.
|
|
170
|
+
// A malformed credentials file (partial write) is unreadable, not a crash at startup.
|
|
149
171
|
let cred;
|
|
150
172
|
try {
|
|
151
173
|
cred = JSON.parse(raw);
|
|
152
174
|
} catch {
|
|
153
|
-
return
|
|
175
|
+
return { unreadable: { file, code: "not valid JSON" } };
|
|
154
176
|
}
|
|
155
177
|
const oauth = cred.oauth;
|
|
156
178
|
if (oauth?.access_token) {
|
|
@@ -162,7 +184,7 @@ function storedCredential() {
|
|
|
162
184
|
oauth.client_id !== expectedClient ||
|
|
163
185
|
oauth.token_endpoint !== expectedTokenEndpoint
|
|
164
186
|
)
|
|
165
|
-
return { expired: true };
|
|
187
|
+
return { expired: true, foreign: true };
|
|
166
188
|
const expired = oauth.expires_at && new Date(oauth.expires_at).getTime() - 60_000 < Date.now();
|
|
167
189
|
if (!expired) return { headers: { Authorization: `Bearer ${oauth.access_token}` } };
|
|
168
190
|
return { expired: true };
|
|
@@ -198,6 +220,10 @@ export function heygenAuthHeaders() {
|
|
|
198
220
|
throw new Error(
|
|
199
221
|
`HeyGen credentials at ${cred.unreadable.file} can't be read (${cred.unreadable.code}) — fix or remove that path, then run \`npx hyperframes auth login\``,
|
|
200
222
|
);
|
|
223
|
+
if (cred?.foreign)
|
|
224
|
+
throw new Error(
|
|
225
|
+
"The saved HeyGen login belongs to another OAuth client or environment — run `npx hyperframes auth login`",
|
|
226
|
+
);
|
|
201
227
|
if (cred?.expired)
|
|
202
228
|
throw new Error(
|
|
203
229
|
"HeyGen OAuth token expired — run `npx hyperframes auth refresh` (or `npx hyperframes auth login`)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { test } from "node:test";
|
|
2
2
|
import assert from "node:assert/strict";
|
|
3
|
-
import { mkdirSync, mkdtempSync, rmSync, symlinkSync, writeFileSync } from "node:fs";
|
|
3
|
+
import { linkSync, mkdirSync, mkdtempSync, rmSync, symlinkSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { createServer } from "node:http";
|
|
5
5
|
import { tmpdir } from "node:os";
|
|
6
6
|
import { join } from "node:path";
|
|
@@ -161,6 +161,180 @@ test("a live login wins over HEYGEN_API_KEY; an expired one gives way to it", ()
|
|
|
161
161
|
});
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
+
// Runs fn(dir, notes, project) with a temp credentials dir and a project whose .env sets name=key.
|
|
165
|
+
function withProjectEnv(key, received, fn, name = "HEYGEN_API_KEY") {
|
|
166
|
+
withCleanHeygenEnv(() => {
|
|
167
|
+
const dir = mkdtempSync(join(tmpdir(), "heygen-cred-"));
|
|
168
|
+
const project = mkdtempSync(join(tmpdir(), "heygen-env-"));
|
|
169
|
+
const write = process.stderr.write;
|
|
170
|
+
const notes = [];
|
|
171
|
+
process.stderr.write = (line) => notes.push(String(line));
|
|
172
|
+
try {
|
|
173
|
+
process.env.HYPERFRAMES_CONFIG_DIR = dir;
|
|
174
|
+
writeFileSync(join(project, ".env"), `${name}=${key}\n`);
|
|
175
|
+
if (received !== undefined) {
|
|
176
|
+
mkdirSync(join(project, ".hyperframes"));
|
|
177
|
+
writeFileSync(join(project, ".hyperframes", "received-files.json"), received);
|
|
178
|
+
}
|
|
179
|
+
loadEnvFromDir(project);
|
|
180
|
+
fn(dir, notes, project);
|
|
181
|
+
} finally {
|
|
182
|
+
process.stderr.write = write;
|
|
183
|
+
rmSync(dir, { recursive: true, force: true });
|
|
184
|
+
rmSync(project, { recursive: true, force: true });
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// A cloned or copied folder has no received-files record; a received one lists its .env.
|
|
190
|
+
const PROJECT_KINDS = [
|
|
191
|
+
["a folder with no received-files record", undefined],
|
|
192
|
+
["a received folder", JSON.stringify({ files: [".env"] })],
|
|
193
|
+
];
|
|
194
|
+
|
|
195
|
+
for (const [kind, record] of [...PROJECT_KINDS, ["an unreadable received-files record", "{oops"]]) {
|
|
196
|
+
test(`a project .env key from ${kind} gives way to the saved API key`, () => {
|
|
197
|
+
withProjectEnv("hg_project", record, (dir, notes) => {
|
|
198
|
+
writeFileSync(join(dir, "credentials"), JSON.stringify({ api_key: "saved-wallet" }));
|
|
199
|
+
assert.deepEqual(heygenCredential(), { headers: { "X-Api-Key": "saved-wallet" } });
|
|
200
|
+
assert.deepEqual(notes, []);
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
for (const [projectName, shellName] of [
|
|
206
|
+
["HEYGEN_API_KEY", "HYPERFRAMES_API_KEY"],
|
|
207
|
+
["HYPERFRAMES_API_KEY", "HEYGEN_API_KEY"],
|
|
208
|
+
]) {
|
|
209
|
+
test(`the shell's ${shellName} wins over a project .env's ${projectName}, with or without a saved key`, () => {
|
|
210
|
+
withProjectEnv(
|
|
211
|
+
"hg_project",
|
|
212
|
+
undefined,
|
|
213
|
+
(dir) => {
|
|
214
|
+
process.env[shellName] = "hg_shell";
|
|
215
|
+
assert.deepEqual(heygenCredential(), { headers: { "X-Api-Key": "hg_shell" } });
|
|
216
|
+
writeFileSync(join(dir, "credentials"), JSON.stringify({ api_key: "saved-wallet" }));
|
|
217
|
+
assert.deepEqual(heygenCredential(), { headers: { "X-Api-Key": "hg_shell" } });
|
|
218
|
+
},
|
|
219
|
+
projectName,
|
|
220
|
+
);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// Loads a project .env with HEYGEN_API_KEY=hg_received and a saved key; arrange(root, project) places the record.
|
|
225
|
+
function receivedBy(arrange, load = (project) => project) {
|
|
226
|
+
return withCleanHeygenEnv(() => {
|
|
227
|
+
const root = mkdtempSync(join(tmpdir(), "heygen-rec-"));
|
|
228
|
+
const project = join(root, "real", "p");
|
|
229
|
+
mkdirSync(project, { recursive: true });
|
|
230
|
+
writeFileSync(join(project, ".env"), "HEYGEN_API_KEY=hg_received\n");
|
|
231
|
+
process.env.HYPERFRAMES_CONFIG_DIR = join(root, "cred");
|
|
232
|
+
mkdirSync(process.env.HYPERFRAMES_CONFIG_DIR);
|
|
233
|
+
writeFileSync(join(root, "cred", "credentials"), JSON.stringify({ api_key: "saved-wallet" }));
|
|
234
|
+
try {
|
|
235
|
+
arrange(root, project);
|
|
236
|
+
loadEnvFromDir(load(project, root));
|
|
237
|
+
return heygenCredential().headers["X-Api-Key"];
|
|
238
|
+
} finally {
|
|
239
|
+
rmSync(root, { recursive: true, force: true });
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
test(
|
|
245
|
+
"a received .env reached through a linked folder is still received",
|
|
246
|
+
{ skip: process.platform === "win32" },
|
|
247
|
+
() => {
|
|
248
|
+
const key = receivedBy(
|
|
249
|
+
(root, project) => {
|
|
250
|
+
mkdirSync(join(root, "real", ".hyperframes"));
|
|
251
|
+
writeFileSync(
|
|
252
|
+
join(root, "real", ".hyperframes", "received-files.json"),
|
|
253
|
+
JSON.stringify({ files: ["p/.env"] }),
|
|
254
|
+
);
|
|
255
|
+
symlinkSync(project, join(root, "link"));
|
|
256
|
+
},
|
|
257
|
+
(_project, root) => join(root, "link"),
|
|
258
|
+
);
|
|
259
|
+
assert.equal(key, "saved-wallet");
|
|
260
|
+
},
|
|
261
|
+
);
|
|
262
|
+
|
|
263
|
+
test("a received .env listed under another path to the same file is received", () => {
|
|
264
|
+
const key = receivedBy((_root, project) => {
|
|
265
|
+
mkdirSync(join(project, ".hyperframes"));
|
|
266
|
+
linkSync(join(project, ".env"), join(project, "copy.env"));
|
|
267
|
+
writeFileSync(
|
|
268
|
+
join(project, ".hyperframes", "received-files.json"),
|
|
269
|
+
JSON.stringify({ files: ["copy.env"] }),
|
|
270
|
+
);
|
|
271
|
+
});
|
|
272
|
+
assert.equal(key, "saved-wallet");
|
|
273
|
+
});
|
|
274
|
+
|
|
275
|
+
test("an unreadable record in the project's own folder counts its .env as received", () => {
|
|
276
|
+
const key = receivedBy((_root, project) => {
|
|
277
|
+
mkdirSync(join(project, ".hyperframes", "received-files.json"), { recursive: true });
|
|
278
|
+
});
|
|
279
|
+
assert.equal(key, "saved-wallet");
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
test("a project .env key works with no saved credential, and the process names its file once", () => {
|
|
283
|
+
const lines = [];
|
|
284
|
+
for (const [, record] of PROJECT_KINDS) {
|
|
285
|
+
withProjectEnv("hg_project", record, (_dir, notes, project) => {
|
|
286
|
+
assert.deepEqual(heygenCredential(), { headers: { "X-Api-Key": "hg_project" } });
|
|
287
|
+
heygenCredential();
|
|
288
|
+
lines.push(...notes.map((line) => line.replace(join(project, ".env"), "<file>")));
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
assert.deepEqual(lines, [
|
|
292
|
+
"[hyperframes] Using HEYGEN_API_KEY from the project .env (<file>): generated media goes to that key's HeyGen account.\n",
|
|
293
|
+
]);
|
|
294
|
+
});
|
|
295
|
+
|
|
296
|
+
for (const [why, oauth, state, hint] of [
|
|
297
|
+
[
|
|
298
|
+
"expired",
|
|
299
|
+
{ client_id: "Zg3LF4FCLoeJoGs2YqMtZ17g", expires_at: "2000-01-01T00:00:00Z" },
|
|
300
|
+
{ expired: true },
|
|
301
|
+
/OAuth token expired — run `npx hyperframes auth refresh`/,
|
|
302
|
+
],
|
|
303
|
+
[
|
|
304
|
+
"from another client",
|
|
305
|
+
{ client_id: "shared-heygen-client", expires_at: "2099-01-01T00:00:00Z" },
|
|
306
|
+
{ expired: true, foreign: true },
|
|
307
|
+
/another OAuth client or environment — run `npx hyperframes auth login`/,
|
|
308
|
+
],
|
|
309
|
+
]) {
|
|
310
|
+
for (const [kind, record] of PROJECT_KINDS) {
|
|
311
|
+
test(`a project .env key from ${kind} never replaces a saved login that is ${why}`, () => {
|
|
312
|
+
withProjectEnv("hg_project", record, (dir, notes) => {
|
|
313
|
+
const login = {
|
|
314
|
+
token_endpoint: "https://api2.heygen.com/v1/oauth/token",
|
|
315
|
+
access_token: "at_login",
|
|
316
|
+
...oauth,
|
|
317
|
+
};
|
|
318
|
+
writeFileSync(join(dir, "credentials"), JSON.stringify({ oauth: login }));
|
|
319
|
+
assert.deepEqual(heygenCredential(), state);
|
|
320
|
+
assert.throws(() => heygenAuthHeaders(), hint);
|
|
321
|
+
assert.deepEqual(notes, []);
|
|
322
|
+
});
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
for (const [kind, record] of PROJECT_KINDS) {
|
|
328
|
+
test(`a malformed credentials file refuses a project .env key from ${kind} and says to fix that file`, () => {
|
|
329
|
+
withProjectEnv("hg_project", record, (dir, notes) => {
|
|
330
|
+
writeFileSync(join(dir, "credentials"), "{not valid");
|
|
331
|
+
assert.equal(heygenCredential(), null);
|
|
332
|
+
assert.throws(() => heygenAuthHeaders(), /can't be read \(not valid JSON\)/);
|
|
333
|
+
assert.deepEqual(notes, []);
|
|
334
|
+
});
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
|
|
164
338
|
test("heygenAuthMethod returns api_key for an env API key, without tagging headers", () => {
|
|
165
339
|
withCleanHeygenEnv(() => {
|
|
166
340
|
process.env.HEYGEN_API_KEY = "hg_test";
|
|
@@ -222,7 +396,7 @@ test("an expired or foreign OAuth login never falls back to a saved API wallet",
|
|
|
222
396
|
credential.oauth.expires_at = "2099-01-01T00:00:00Z";
|
|
223
397
|
credential.oauth.client_id = "shared-heygen-client";
|
|
224
398
|
writeFileSync(join(dir, "credentials"), JSON.stringify(credential));
|
|
225
|
-
assert.deepEqual(heygenCredential(), { expired: true });
|
|
399
|
+
assert.deepEqual(heygenCredential(), { expired: true, foreign: true });
|
|
226
400
|
} finally {
|
|
227
401
|
rmSync(dir, { recursive: true, force: true });
|
|
228
402
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Signing in
|
|
6
6
|
|
|
7
|
-
`npx hyperframes auth status` says what is signed in. The credential is read in this order: a host app's `HEYGEN_ACCESS_TOKEN`, the session `npx hyperframes auth login` saved in `~/.hyperframes/credentials`, `HEYGEN_API_KEY`, `HYPERFRAMES_API_KEY
|
|
7
|
+
`npx hyperframes auth status` says what is signed in. The credential is read in this order: a host app's `HEYGEN_ACCESS_TOKEN`, the session `npx hyperframes auth login` saved in `~/.hyperframes/credentials`, `HEYGEN_API_KEY`, `HYPERFRAMES_API_KEY` set in the shell, an API key saved with `auth login --api-key`, then a key that a project's `.env` sets. A project `.env` key is used only when no login or key is saved and the shell sets none, never in place of an expired session, and the scripts name that `.env` file on stderr when they use one. A signed-in session wins over an env key; the env key is used when HeyGen refuses to refresh the session. `heygen auth login` is a separate sign-in that only the `heygen` CLI reads.
|
|
8
8
|
|
|
9
9
|
| Credential | Pays with | Covers |
|
|
10
10
|
| -------------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------- |
|