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.
- package/dist/{add-Z6G2DLNE.js → add-TZFSLV5M.js} +21 -16
- package/dist/{agentPromptGenerator-RCTC2XXL.js → agentPromptGenerator-OPQZUVYC.js} +12 -17
- package/dist/{animatedGifPrep-X7KILCDI.js → animatedGifPrep-DEK4XZYT.js} +15 -16
- package/dist/api.js +46 -46
- package/dist/{asset-A3ENWWCU.js → asset-3BIBG7LB.js} +2 -2
- package/dist/{assetCataloger-TIMZTOYH.js → assetCataloger-R4NWWO4P.js} +13 -13
- package/dist/{audio-HMCUO2CV.js → audio-N3DHNT3F.js} +38 -31
- package/dist/{auth-NXR3QM4C.js → auth-CBF2DVRT.js} +5 -5
- package/dist/{autoUpdate-TY7P2Z4F.js → autoUpdate-UJB4MI4Z.js} +5 -3
- package/dist/{avatars-36MYJUPA.js → avatars-JVATTQYO.js} +21 -19
- package/dist/{backgroundChecks-EWWJEGF6.js → backgroundChecks-R7SFELIM.js} +6 -4
- package/dist/backgroundChecksWorker.js +6 -5
- package/dist/{batchRender-VKM4E7PI.js → batchRender-D4VO4OCF.js} +26 -7
- package/dist/{beats-Z4B4B4KM.js → beats-UCYZ7MKK.js} +14 -14
- package/dist/{benchmark-PLGO2THH.js → benchmark-3NMJO5DK.js} +31 -14
- package/dist/{billing-ZIXACCLR.js → billing-76JTGOHN.js} +18 -17
- package/dist/{browser-VZFBNASB.js → browser-5XXA4O25.js} +11 -11
- package/dist/{bundleWithLocalizedFonts-XD2XDEQL.js → bundleWithLocalizedFonts-S7DIF43W.js} +1 -1
- package/dist/{capture-BAFLHNDI.js → capture-EV4G3SCY.js} +33 -34
- package/dist/{capture-GC4F54XT.js → capture-JHMVFAUS.js} +4 -4
- package/dist/{captureCompositionFrame-YBVEFKWM.js → captureCompositionFrame-3M3BFHZH.js} +19 -19
- package/dist/{catalog-LHOCJUO2.js → catalog-WVZJ6XYV.js} +21 -16
- package/dist/{catch-up-6FNQ6I7Q.js → catch-up-FQ5KCZIH.js} +11 -11
- package/dist/{check-S7T5LE6V.js → check-VTUVZWCF.js} +52 -49
- package/dist/{checkAudio-AKOI4AWK.js → checkAudio-FYRBXK22.js} +19 -19
- package/dist/{checkBrowser-NABXGNNM.js → checkBrowser-EJQEWSIH.js} +46 -43
- package/dist/{chunk-YXQA6MKA.js → chunk-2ODGEXNH.js} +4 -4
- package/dist/{chunk-7SZ7QQJ3.js → chunk-2ST2FAVH.js} +2 -2
- package/dist/{chunk-POGZYVM2.js → chunk-2YSQU74C.js} +9 -9
- package/dist/{chunk-H4S3WY2N.js → chunk-346RTE74.js} +1 -1
- package/dist/{chunk-Z46RV43W.js → chunk-35PKJPEI.js} +2 -2
- package/dist/{chunk-MQGRMXFN.js → chunk-365OGBQ2.js} +3 -3
- package/dist/chunk-3FHPYC6X.js +5069 -0
- package/dist/{chunk-6PXVXIC7.js → chunk-3FL7MKQH.js} +163 -60
- package/dist/{chunk-SQ64IEA7.js → chunk-3HQ4C4HI.js} +2 -2
- package/dist/{chunk-CDK23M57.js → chunk-43ILJV43.js} +11 -11
- package/dist/{chunk-RMO7KIFX.js → chunk-44OCDK5C.js} +4 -4
- package/dist/{chunk-APT2TSYC.js → chunk-47IXIEBQ.js} +1 -1
- package/dist/{chunk-FCNMU7LC.js → chunk-4FOHO7GC.js} +1 -1
- package/dist/{chunk-CQ5VQNOD.js → chunk-4KRID4YV.js} +1 -1
- package/dist/{chunk-MR7VKWYT.js → chunk-4KS3GL5I.js} +1 -1
- package/dist/{chunk-4Q2HYZZK.js → chunk-4TJGOQER.js} +58 -3
- package/dist/{chunk-YJFIGFON.js → chunk-562X3KBJ.js} +2 -2
- package/dist/chunk-5A75E4OT.js +72 -0
- package/dist/{chunk-XHUFLQGD.js → chunk-5CRHNVJW.js} +3 -3
- package/dist/{chunk-22EEGJLH.js → chunk-5JOYZGHQ.js} +82 -54
- package/dist/{chunk-NQ3NHCF6.js → chunk-5SMHNPMW.js} +2 -2
- package/dist/{chunk-24M5C5EQ.js → chunk-6CO6L3YP.js} +1 -1
- package/dist/{chunk-MP4TEYUJ.js → chunk-6EMFSRTW.js} +4 -1
- package/dist/{chunk-H4LCNEA2.js → chunk-6F4ZVQUX.js} +195 -128
- package/dist/{chunk-YRXIEP35.js → chunk-6RPLXBZJ.js} +89 -10
- package/dist/{chunk-7RLMDAUO.js → chunk-6T4PB35F.js} +2 -1
- package/dist/{chunk-VOJ3ICMF.js → chunk-7ELQHSEE.js} +1 -1
- package/dist/{chunk-NXDFCWF2.js → chunk-7FU5JCAK.js} +1 -1
- package/dist/{chunk-UFET7UTU.js → chunk-B3WRUPRS.js} +2 -2
- package/dist/{chunk-TI7JN55F.js → chunk-BCJJ64JG.js} +1 -1
- package/dist/{chunk-P27QDOID.js → chunk-BH5P5QZN.js} +4 -4
- package/dist/{chunk-RIHRYTNB.js → chunk-BQRJZDSM.js} +15 -15
- package/dist/{chunk-7GVHPY7W.js → chunk-BS36NRXV.js} +1 -1
- package/dist/{chunk-PRG42HNH.js → chunk-CBV4W4R3.js} +2 -2
- package/dist/{chunk-UX2KMUKC.js → chunk-CTHG3WLB.js} +9 -9
- package/dist/{chunk-MF53JVZ5.js → chunk-CYBOQOKO.js} +1 -1
- package/dist/{chunk-DPVXBVLL.js → chunk-DZWAYZG2.js} +6254 -6096
- package/dist/{chunk-AMWWQXTC.js → chunk-E3LZAM64.js} +5 -5
- package/dist/{chunk-B2ZZYISD.js → chunk-ECGNWHFE.js} +29 -6
- package/dist/{chunk-ZG6BVWQ7.js → chunk-ES273AD6.js} +3 -3
- package/dist/{chunk-R64WJS45.js → chunk-FH6KC5EF.js} +6 -6
- package/dist/{chunk-S5EMQAKL.js → chunk-FLPVKGBS.js} +2 -2
- package/dist/{chunk-HLXZFHEY.js → chunk-FM5JRUWL.js} +6 -6
- package/dist/{chunk-DE7Q2LWF.js → chunk-FQMP2KFS.js} +2 -2
- package/dist/{chunk-ZXMZSU5Y.js → chunk-FRM4EM52.js} +15 -15
- package/dist/chunk-FSBV6Z7E.js +351 -0
- package/dist/{chunk-U7ZCBWNM.js → chunk-FU2R6OVR.js} +3 -3
- package/dist/{chunk-4OHV7UZZ.js → chunk-FZNH7SCB.js} +1 -1
- package/dist/{chunk-O45HB74L.js → chunk-G5FNJQER.js} +31 -27
- package/dist/{chunk-G6QCHM2N.js → chunk-G7GTO4YP.js} +4 -4
- package/dist/{chunk-WN4W76IQ.js → chunk-GDWPLGHY.js} +1 -1
- package/dist/{chunk-UB44XZOI.js → chunk-GVUG5VDL.js} +1 -1
- package/dist/{chunk-YXR5MVBM.js → chunk-GZG2Z2O2.js} +2 -2
- package/dist/{chunk-7QM73IH2.js → chunk-H5K3FS4W.js} +4 -4
- package/dist/{chunk-MOTJT42J.js → chunk-HJ2YUPBF.js} +13 -1
- package/dist/{chunk-47MEWWCO.js → chunk-HY25JZQ2.js} +2 -2
- package/dist/{chunk-DONVZZLV.js → chunk-HYO4DIYT.js} +1 -1
- package/dist/{chunk-6NGJ55V5.js → chunk-HZ2CD6RL.js} +1 -1
- package/dist/{chunk-WPC2FKNB.js → chunk-I7NTTMET.js} +326 -114
- package/dist/{chunk-P37ZACC6.js → chunk-I7SJBRVT.js} +3 -3
- package/dist/{chunk-CIMOTEZB.js → chunk-IB5DXMAH.js} +4 -4
- package/dist/{chunk-MI54IK7G.js → chunk-IEESWUIQ.js} +11 -2
- package/dist/{chunk-6MKM2RVL.js → chunk-IH2C53YV.js} +460 -1
- package/dist/{chunk-GEIWJSWN.js → chunk-IH56MGAB.js} +10 -10
- package/dist/{chunk-6MYO2IHD.js → chunk-IHXMN5YH.js} +7 -0
- package/dist/{chunk-YHJOTCTV.js → chunk-IJYIIHGK.js} +10 -5
- package/dist/{chunk-L2KUIV56.js → chunk-ISVRNYE5.js} +1 -1
- package/dist/{chunk-QP7MQ43Y.js → chunk-IXUIJ7OL.js} +3 -3
- package/dist/chunk-JCFOSR7Z.js +181 -0
- package/dist/{chunk-HS7LT4PL.js → chunk-JNM4WG7C.js} +1 -1
- package/dist/{chunk-WSZJS4QC.js → chunk-KDDRDNEE.js} +60 -9
- package/dist/{chunk-UAU4SIOQ.js → chunk-KEZ7QIJN.js} +6 -6
- package/dist/{chunk-ZW6ZUKBB.js → chunk-KKO4PRB5.js} +1 -1
- package/dist/{chunk-M3BJEZ7E.js → chunk-KPFJGQ6M.js} +45 -12
- package/dist/{chunk-YPURY3MW.js → chunk-LKWN2F7O.js} +2 -2
- package/dist/{chunk-CIGQUDEV.js → chunk-N2YHCAFL.js} +50 -15
- package/dist/{chunk-Z2EKCD7H.js → chunk-NCPSUM5A.js} +1 -1
- package/dist/{chunk-64T46P7K.js → chunk-NVGB7L2M.js} +2 -2
- package/dist/{chunk-2MNSS7PH.js → chunk-OLVZAALP.js} +2 -2
- package/dist/{chunk-LZTBL7SR.js → chunk-OSKSTJNQ.js} +12 -2
- package/dist/{chunk-QUUZ2BGC.js → chunk-OUPWEFUM.js} +1 -1
- package/dist/{chunk-4QFWV5GQ.js → chunk-P2ZMVHTF.js} +2 -1
- package/dist/{chunk-T6VQGCN3.js → chunk-PPLFDG7N.js} +9 -5
- package/dist/{chunk-UBHBB3TB.js → chunk-PUT3NPVE.js} +43 -51
- package/dist/{chunk-IMNIW22F.js → chunk-PYOCEDTU.js} +2 -2
- package/dist/{chunk-E2KJT7JR.js → chunk-Q5P7YJXO.js} +2 -2
- package/dist/{chunk-42JBYXIQ.js → chunk-QBDT7Z5D.js} +38 -22
- package/dist/{chunk-3LIMD4YP.js → chunk-QBN2W4T3.js} +6 -8
- package/dist/{chunk-J45SCYTD.js → chunk-QXYR7LOO.js} +7 -7
- package/dist/{chunk-LNZHSISH.js → chunk-RH6UD7XI.js} +11 -11
- package/dist/{chunk-IZQDQ5AN.js → chunk-RUQ2VOD3.js} +3 -2
- package/dist/{chunk-ETXOQXWT.js → chunk-SH6PAYUD.js} +5 -5
- package/dist/{chunk-M6TIOPL5.js → chunk-SRPPNXGX.js} +3 -3
- package/dist/{chunk-LIPVGXPV.js → chunk-SXZMJ7QJ.js} +4 -4
- package/dist/{chunk-ZGWOCGSJ.js → chunk-T3QK3VKM.js} +1 -1
- package/dist/{chunk-DC7AOIHN.js → chunk-T5S7U5C6.js} +1 -1
- package/dist/{chunk-RULKJFRT.js → chunk-TQKX3TA3.js} +1 -1
- package/dist/{chunk-IB722ALN.js → chunk-TTP6JGIL.js} +2 -2
- package/dist/{chunk-DYYAFCZH.js → chunk-TWI33YJP.js} +1 -1
- package/dist/{chunk-5B425ZB3.js → chunk-UAOL5PRX.js} +1 -1
- package/dist/{chunk-L56WTLQP.js → chunk-VCHJV7ZT.js} +10 -9
- package/dist/{chunk-M425BL2U.js → chunk-VCKUDUPN.js} +1 -1
- package/dist/{chunk-UIIQA7DN.js → chunk-W6WVHIU7.js} +6 -3
- package/dist/{chunk-JJLPGVTA.js → chunk-WPG76RJZ.js} +1 -1
- package/dist/{chunk-VXX4S2PH.js → chunk-XBPLO6CY.js} +384 -94
- package/dist/{chunk-M4E7CMYS.js → chunk-XJTFSMZK.js} +2 -2
- package/dist/{chunk-X3IULMVV.js → chunk-XM7LOJBP.js} +1 -1
- package/dist/{chunk-HT4FWRIT.js → chunk-XZZF6YBS.js} +1 -1
- package/dist/{chunk-4FWR7OE3.js → chunk-Y6CLFCYX.js} +3 -3
- package/dist/{chunk-7VQ3RAKO.js → chunk-YF34MK67.js} +19 -16
- package/dist/{chunk-UX4HQHMS.js → chunk-YT3LRZA3.js} +12 -10
- package/dist/{chunk-MOR3H5FK.js → chunk-ZFCK46UR.js} +1 -1
- package/dist/{chunk-C66O6A2J.js → chunk-ZI3MSFSN.js} +2 -2
- package/dist/{chunk-2AZMG6DR.js → chunk-ZK6BC3JM.js} +4 -4
- package/dist/{chunk-TDQUQAW5.js → chunk-ZPPEZJVD.js} +97 -39
- package/dist/{chunk-I6SCA2ME.js → chunk-ZT7RB42S.js} +43 -21
- package/dist/{chunk-KUZTIMY3.js → chunk-ZV3RIHRN.js} +7 -7
- package/dist/{clean-Y6YIQRPM.js → clean-KEVJGNES.js} +29 -28
- package/dist/cli.js +67 -66
- package/dist/{cloud-5C5SCK4H.js → cloud-EBJZO6ZY.js} +5 -4
- package/dist/{cloud-A5U7YYNA.js → cloud-OR62JJDE.js} +4 -4
- package/dist/{cloudrun-EULFHQQL.js → cloudrun-HPYJTM5N.js} +9 -9
- package/dist/{compare-6XCTMUF3.js → compare-353XZU2M.js} +43 -41
- package/dist/{compiler-DUG4GFRI.js → compiler-KPDUYBA5.js} +8 -8
- package/dist/{component-JDQIZSAL.js → component-5DZDY74T.js} +3 -3
- package/dist/{compositions-HZDEOSRL.js → compositions-VBICZHMF.js} +27 -20
- package/dist/{curve-SE7ZAMI6.js → curve-KDRSQWHP.js} +18 -17
- package/dist/{cuts-AEFJGBFP.js → cuts-ABAQKTF4.js} +19 -18
- package/dist/{delete-EQUQ7Z2K.js → delete-BXURHIL4.js} +10 -7
- package/dist/{deploy-NSLC6BYZ.js → deploy-4TBYCBNI.js} +7 -7
- package/dist/{describeProject-FTJBPDL3.js → describeProject-K62TKQLI.js} +14 -14
- package/dist/{destroy-4O4T3KL3.js → destroy-FAJUHCW4.js} +6 -6
- package/dist/{deterministicFonts-QY4KNTOU.js → deterministicFonts-XZIQ4PNP.js} +3 -3
- package/dist/{diff-VJ3CS7YE.js → diff-4O7ZCBM5.js} +43 -41
- package/dist/{dist-MXWEGMRB.js → dist-AAGJ6SXG.js} +5 -5
- package/dist/{dist-MNFB4YKV.js → dist-D67752QW.js} +18 -18
- package/dist/{dist-2YJCNIWI.js → dist-F4T6FB7P.js} +6 -6
- package/dist/{doctor-RR7SNO6X.js → doctor-IEUIWBC5.js} +23 -18
- package/dist/{dotEnv-33RDHX7P.js → dotEnv-RZ52L7X3.js} +5 -4
- package/dist/{energy-PN23W2UJ.js → energy-BJQTVGBO.js} +19 -18
- package/dist/{events-4ECJEB2W.js → events-4UBI5WNS.js} +10 -10
- package/dist/{events-NR6UPBHG.js → events-D3NBN44E.js} +4 -4
- package/dist/{events-5OLO73VJ.js → events-M37XFHGJ.js} +21 -20
- package/dist/{execute-TS3BP65F.js → execute-JCLM27KS.js} +36 -36
- package/dist/{extract-GCZ5HSEN.js → extract-AYWY5PIN.js} +19 -18
- package/dist/{face-QKMYBRV3.js → face-TEHC6WYN.js} +20 -19
- package/dist/{feedback-3H43EK7N.js → feedback-JZDCB5N4.js} +42 -30
- package/dist/{ffmpeg-JRNM74WY.js → ffmpeg-JMPVMPDT.js} +15 -15
- package/dist/{figma-JGP2UGGU.js → figma-6MYT2VRV.js} +3 -3
- package/dist/fontLocalizeCli.js +20 -21
- package/dist/{frames-OYSWKB3F.js → frames-NLFBDILH.js} +20 -19
- package/dist/{generate-TDXLUFMR.js → generate-YLPRVWHZ.js} +32 -30
- package/dist/{get-UB2MNBYO.js → get-APCR6ZJE.js} +10 -7
- package/dist/{gpuPolicy-6CTTH3NY.js → gpuPolicy-YXBUP4AF.js} +12 -12
- package/dist/{grade-compare-2DXT4RWV.js → grade-compare-VLWGCI4O.js} +43 -41
- package/dist/{gsapParser-L7TM3RGH.js → gsapParser-TSPNHW7F.js} +1 -1
- package/dist/hangReport.js +2 -1
- package/dist/{heifImagePrep-VDZVZ4G7.js → heifImagePrep-UC2AV5LU.js} +16 -17
- package/dist/{help-RGKY4DR4.js → help-YSBTU7WC.js} +1 -1
- package/dist/{history-AVDXYNAP.js → history-EPIGMZUN.js} +15 -14
- 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-6SF6E2T3.js} +26 -20
- package/dist/{init-C3EARHDW.js → init-BXS47X5W.js} +40 -38
- package/dist/{ink-ISO3VXRQ.js → ink-BWKWSIKA.js} +19 -18
- package/dist/{inspect-V6MPU5I5.js → inspect-NUE2R2OF.js} +44 -41
- package/dist/{installer-FI6HT2FW.js → installer-T57TKMM6.js} +7 -7
- package/dist/{keyframes-PTJDE47Y.js → keyframes-WCRUYIOQ.js} +19 -15
- package/dist/{lambda-JTO5YD2I.js → lambda-L2YNMAL5.js} +18 -18
- package/dist/{layout-QMLEZP5T.js → layout-FXTXMDAL.js} +44 -41
- package/dist/{lint-6BWOQAW6.js → lint-IKRYTERJ.js} +23 -17
- package/dist/{lintProject-G4MXY4YA.js → lintProject-2NDIJLD2.js} +6 -6
- package/dist/{list-7E4VD7JA.js → list-BX5SCZEC.js} +10 -7
- package/dist/{localPage-BQOYZAOW.js → localPage-HY3VMEYU.js} +12 -12
- package/dist/{login-37MSZXCY.js → login-5IDR2M6C.js} +6 -5
- package/dist/{logout-QGNBUJKS.js → logout-MTWA4BBI.js} +2 -1
- package/dist/{look-5GXW3NVP.js → look-7R4YJNX7.js} +19 -18
- package/dist/{manager-TMKN4DX5.js → manager-DBMIO5YG.js} +2 -2
- package/dist/{manager-J2IRAOR7.js → manager-PHCAZFHT.js} +13 -13
- package/dist/{measure-23IL23BL.js → measure-7CJ4RKSY.js} +11 -11
- package/dist/{media-treatment-7ODBREPX.js → media-treatment-HEW3RMDV.js} +22 -21
- package/dist/{media-use-QJA6NB3V.js → media-use-S5IJPK5G.js} +11 -18
- package/dist/{models-2Z6SURXU.js → models-4UJY22Z3.js} +16 -16
- package/dist/{motionShot-CYS3L6FK.js → motionShot-FLZQ75TM.js} +23 -23
- package/dist/{normalize-audio-6YVF4LED.js → normalize-audio-AN3KKSSK.js} +16 -16
- package/dist/{open-WQ6NRHCN.js → open-AHPOLDBY.js} +26 -20
- package/dist/{parakeetRunner-R7KK6ZHD.js → parakeetRunner-4URDK3H4.js} +17 -17
- package/dist/{pipeline-HRCK2JQL.js → pipeline-O5UWLQDZ.js} +15 -15
- package/dist/{plan-FQNKACYR.js → plan-SUV7WBBJ.js} +25 -25
- package/dist/{play-UJZBNX2O.js → play-LHMMHUUN.js} +37 -33
- package/dist/{preflight-VIMLSE3I.js → preflight-FLSEP55G.js} +14 -14
- package/dist/{present-JIOVM3ZH.js → present-VEDXFFPZ.js} +31 -28
- package/dist/{preview-HCYGBEWR.js → preview-FXNPXOJL.js} +41 -33
- package/dist/privateProjectFile-NN7MTTEQ.js +50 -0
- package/dist/{probe-6YQA2ZZC.js → probe-P6LUMX34.js} +19 -18
- package/dist/{producer-JIM74BGL.js → producer-SWV2GP4I.js} +1 -1
- package/dist/{projectConfig-VPL64JBD.js → projectConfig-EPOIXMHL.js} +9 -9
- package/dist/{publicNetwork-F3ZXSVOD.js → publicNetwork-GW7SVP7N.js} +1 -1
- package/dist/{publication-ST3VFFWM.js → publication-SIGMWEK3.js} +5 -5
- package/dist/{publish-3TTCO4R4.js → publish-EVCYPK6H.js} +45 -32
- package/dist/{refresh-6ONVQ3WV.js → refresh-PIFEWEAL.js} +2 -1
- package/dist/{remove-background-XTICO22L.js → remove-background-AFXDE5YR.js} +16 -16
- package/dist/{render-MG5MX45D.js → render-BCKSDBLK.js} +8 -8
- package/dist/{render-PFBZJRAN.js → render-DFUMSKVQ.js} +65 -55
- package/dist/{render-WYDOZEZ5.js → render-MENZ6KS5.js} +82 -50
- package/dist/{render-batch-C3XGAQGX.js → render-batch-DPT67NDL.js} +8 -8
- package/dist/renderSetupWorker.js +8 -8
- package/dist/{resolver-AGMKICJW.js → resolver-EE3255VM.js} +7 -7
- package/dist/{reverse-TV524NFW.js → reverse-TA73U7V6.js} +1 -1
- package/dist/{run-NQBD5RDR.js → run-Y2ISHW5P.js} +5 -4
- package/dist/{screenshotCapture-OUZMH7EQ.js → screenshotCapture-CEEBQ3FU.js} +14 -14
- package/dist/{service-UIHDIMFM.js → service-6P6QVFNF.js} +19 -18
- package/dist/{share-WD7MCA4I.js → share-Q25X6AIX.js} +24 -23
- package/dist/{sherpa-H67ZJICN.js → sherpa-PPSJ23WI.js} +16 -16
- package/dist/sherpaWorker.js +2 -2
- package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +3 -2
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +95 -15
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +192 -2
- package/dist/skills/media-use/references/heygen.md +1 -1
- package/dist/{skills-7TUSQF6W.js → skills-PVJJ3R2V.js} +14 -13
- package/dist/{skillsUpdateCheck-HF6SQWRA.js → skillsUpdateCheck-L4TGSUN6.js} +6 -4
- package/dist/{snapshot-P7ZSTKED.js → snapshot-AIAJRR5C.js} +93 -54
- package/dist/{src-TQQ743H4.js → src-O5P56HIK.js} +20 -14
- package/dist/{src-H2EUJUV3.js → src-UEH4H4UY.js} +18 -19
- package/dist/{start-7ZTAKHD4.js → start-HY5WGCDN.js} +30 -28
- package/dist/{staticProjectServer-X4PARIVN.js → staticProjectServer-WNKXSUBZ.js} +28 -27
- package/dist/{status-ELQXIXIB.js → status-AFDHSUGG.js} +21 -20
- package/dist/studio/assets/{hyperframes-player-D7LhzIg1.js → hyperframes-player-z7r-N5fm.js} +2 -2
- package/dist/studio/assets/{index-CQ7o0CBU.js → index-2QPHxCxy.js} +1 -1
- package/dist/studio/assets/{index-D3WxJaqm.js → index-Dpo7Q_9-.js} +160 -160
- package/dist/studio/assets/index-Dv67Vrl6.js +74 -0
- package/dist/studio/assets/{pausedVideoDecoder-BVUmBgn0.js → pausedVideoDecoder-BarDYEAf.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-OJEU24EG.js → studio-api-P72FA5XB.js} +18 -18
- package/dist/{studioServer-E5CLZC46.js → studioServer-RICH4NMX.js} +81 -70
- package/dist/{sync-VEJWMKDP.js → sync-J66DIXED.js} +19 -18
- package/dist/system-I5KGZTUG.js +1 -1
- package/dist/{telemetry-3U4UGQ5V.js → telemetry-KOOKPGMR.js} +10 -10
- package/dist/{templates-AUAOWIYA.js → templates-6DRGOTNH.js} +19 -18
- package/dist/{timeline-YO27AP66.js → timeline-UZX7366C.js} +29 -28
- package/dist/{tokens-UXLQGLVG.js → tokens-AU3BUE6U.js} +2 -2
- package/dist/{transcribe-I7MTUH4M.js → transcribe-CW5HK2OA.js} +33 -32
- package/dist/{transcribe-FZ3TE4FK.js → transcribe-OUTSVFRZ.js} +15 -15
- package/dist/{tts-3VHEX4RB.js → tts-X3MAUZ7E.js} +1 -1
- package/dist/{update-KBKSO3SH.js → update-KRYJ6ACJ.js} +15 -14
- package/dist/{updateCheck-MUYN55HR.js → updateCheck-WQVGQLCG.js} +5 -3
- package/dist/{upgrade-CRCX7CCK.js → upgrade-S54RPT3R.js} +6 -4
- package/dist/{urlDownloader-4EM6GLN4.js → urlDownloader-MASRYSQX.js} +11 -11
- package/dist/{validate-Y2KF2DU3.js → validate-4QVUHCYG.js} +36 -35
- package/dist/{video-HG6SINBD.js → video-AEGOEGSP.js} +13 -13
- package/dist/{voices-O4UHHFZS.js → voices-T4U7EU5X.js} +29 -27
- package/dist/warmCheck.js +52 -50
- 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
- package/dist/{chunk-445BBSZS.js → chunk-UMRNTF3C.js} +3 -3
- package/dist/{synthesize-HOLHQCR2.js → synthesize-UKCQR7WW.js} +1 -1
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FZNH7SCB.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-KOOKPGMR.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-KLIVZ5VG.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JNM4WG7C.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
16
16
|
ensureWhisper,
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2ODGEXNH.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
findFFmpeg,
|
|
25
25
|
findFFprobe,
|
|
26
26
|
getFFmpegInstallHint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-G7GTO4YP.js";
|
|
28
28
|
import {
|
|
29
29
|
parseWhisperJson
|
|
30
30
|
} from "./chunk-CDNVZEGQ.js";
|
|
@@ -9,27 +9,30 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VCHJV7ZT.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RH6UD7XI.js";
|
|
20
20
|
import {
|
|
21
21
|
gotoWhenSent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HY25JZQ2.js";
|
|
23
|
+
import {
|
|
24
|
+
terminalText
|
|
25
|
+
} from "./chunk-IJYIIHGK.js";
|
|
23
26
|
import {
|
|
24
27
|
resolveProject
|
|
25
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GVUG5VDL.js";
|
|
26
29
|
import {
|
|
27
30
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5CRHNVJW.js";
|
|
29
32
|
import {
|
|
30
33
|
launchManagedBrowser,
|
|
31
34
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FQMP2KFS.js";
|
|
33
36
|
import {
|
|
34
37
|
readJsonFileText
|
|
35
38
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -42,7 +45,7 @@ import {
|
|
|
42
45
|
import {
|
|
43
46
|
printDeprecationNotice,
|
|
44
47
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-W6WVHIU7.js";
|
|
46
49
|
import {
|
|
47
50
|
failureMessage,
|
|
48
51
|
jsonFailure
|
|
@@ -92,14 +95,14 @@ function formatLayoutIssue(issue) {
|
|
|
92
95
|
const parts = [
|
|
93
96
|
timeLabel,
|
|
94
97
|
issue.code,
|
|
95
|
-
issue.selector,
|
|
96
|
-
issue.containerSelector ? `inside ${issue.containerSelector}` : "",
|
|
98
|
+
terminalText(issue.selector),
|
|
99
|
+
issue.containerSelector ? `inside ${terminalText(issue.containerSelector)}` : "",
|
|
97
100
|
issue.overflow ? `overflowed ${formatOverflow(issue.overflow)}` : "",
|
|
98
|
-
issue.text ? quoteText(issue.text) : ""
|
|
101
|
+
issue.text ? terminalText(quoteText(issue.text)) : ""
|
|
99
102
|
].filter(Boolean);
|
|
100
|
-
const line = `${parts.join(" ")} \u2014 ${issue.message}`;
|
|
103
|
+
const line = `${parts.join(" ")} \u2014 ${terminalText(issue.message)}`;
|
|
101
104
|
return issue.fixHint ? `${line}
|
|
102
|
-
Fix: ${issue.fixHint}` : line;
|
|
105
|
+
Fix: ${terminalText(issue.fixHint)}` : line;
|
|
103
106
|
}
|
|
104
107
|
function dedupeLayoutIssues(issues) {
|
|
105
108
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -716,7 +719,7 @@ async function collectTweenBoundaries(page) {
|
|
|
716
719
|
});
|
|
717
720
|
}
|
|
718
721
|
async function bundleProjectHtml(projectDir) {
|
|
719
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
722
|
+
const { bundleToSingleHtml } = await import("./compiler-KPDUYBA5.js");
|
|
720
723
|
return bundleToSingleHtml(projectDir);
|
|
721
724
|
}
|
|
722
725
|
async function alignViewportToComposition(page, url) {
|
|
@@ -733,15 +736,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
733
736
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
734
737
|
}
|
|
735
738
|
async function runLayoutAudit(projectDir, opts) {
|
|
736
|
-
const { ensureBrowser } = await import("./manager-
|
|
739
|
+
const { ensureBrowser } = await import("./manager-DBMIO5YG.js");
|
|
737
740
|
const puppeteer = await import("puppeteer-core");
|
|
738
|
-
const { buildChromeArgs } = await import("./src-
|
|
741
|
+
const { buildChromeArgs } = await import("./src-O5P56HIK.js");
|
|
739
742
|
const {
|
|
740
743
|
assertWebGpuAdapterAvailable,
|
|
741
744
|
compositionRequiresWebGpu,
|
|
742
745
|
resolveLocalBrowserGpuMode,
|
|
743
746
|
resolveLocalWebGpu
|
|
744
|
-
} = await import("./gpuPolicy-
|
|
747
|
+
} = await import("./gpuPolicy-YXBUP4AF.js");
|
|
745
748
|
const html = await bundleProjectHtml(projectDir);
|
|
746
749
|
const server = await serveStaticProjectHtml(
|
|
747
750
|
projectDir,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shellArg
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IEESWUIQ.js";
|
|
10
10
|
import {
|
|
11
11
|
addCatchUpNote,
|
|
12
12
|
markSeen,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
} from "./chunk-RCTY7VNK.js";
|
|
19
19
|
import {
|
|
20
20
|
createProjectConfig
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4FOHO7GC.js";
|
|
22
22
|
import {
|
|
23
23
|
isHyperframesProject
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FU2R6OVR.js";
|
|
25
25
|
import {
|
|
26
26
|
isCI
|
|
27
27
|
} from "./chunk-CPHQTXP5.js";
|
|
@@ -191,14 +191,16 @@ function leaveIntent(dir, cta, doc) {
|
|
|
191
191
|
else writeRecord(dir, DESKTOP_CTA_RECORD, before);
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
function shownDir(dir, cwd) {
|
|
195
|
-
return shellArg(relative(cwd, dir) || ".");
|
|
194
|
+
function shownDir(dir, cwd, platform) {
|
|
195
|
+
return shellArg(relative(cwd, dir) || ".", platform);
|
|
196
196
|
}
|
|
197
|
-
function openCommandFor(dir, cwd = process.cwd()) {
|
|
198
|
-
|
|
197
|
+
function openCommandFor(dir, cwd = process.cwd(), platform = process.platform) {
|
|
198
|
+
const shown = shownDir(dir, cwd, platform);
|
|
199
|
+
return shown === null ? "hyperframes open from the project folder" : `hyperframes open ${shown}`;
|
|
199
200
|
}
|
|
200
|
-
function previewStopCommandFor(dir, port, cwd = process.cwd()) {
|
|
201
|
-
|
|
201
|
+
function previewStopCommandFor(dir, port, cwd = process.cwd(), platform = process.platform) {
|
|
202
|
+
const shown = shownDir(dir, cwd, platform);
|
|
203
|
+
return shown === null ? null : `hyperframes preview ${shown} --stop --port ${port}`;
|
|
202
204
|
}
|
|
203
205
|
var spotlightFinds = (bundleId) => spawnSync("mdfind", [`kMDItemCFBundleIdentifier == '${bundleId}'`], { encoding: "utf8" }).stdout?.split("\n").some((path) => path.endsWith(".app") && !basename(path).startsWith(".")) ?? false;
|
|
204
206
|
function desktopInstalled({
|
|
@@ -229,7 +231,7 @@ function desktopHint(dir, {
|
|
|
229
231
|
} = {}) {
|
|
230
232
|
if (insideHostApp(env) || !someoneToTell(env, tty)) return null;
|
|
231
233
|
if (ready && (installed ?? desktopInstalled({ platform, env }))) {
|
|
232
|
-
const open = openCommandFor(dir);
|
|
234
|
+
const open = openCommandFor(dir, process.cwd(), platform);
|
|
233
235
|
const how = preview === "background" ? `${open} (this stops the background preview)` : preview === "foreground" ? `stop this preview, then run ${open}` : open;
|
|
234
236
|
return `Keep editing by chatting with Framey in the desktop app: ${how}`;
|
|
235
237
|
}
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
uncheckedSource,
|
|
34
34
|
withProjectShareLock,
|
|
35
35
|
writeJsonAtomic
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SH6PAYUD.js";
|
|
37
37
|
import {
|
|
38
38
|
apiBaseUrl
|
|
39
39
|
} from "./chunk-BAWGEGKD.js";
|
|
40
40
|
import {
|
|
41
41
|
findFFprobe
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-G7GTO4YP.js";
|
|
43
43
|
import {
|
|
44
44
|
defaultClientId,
|
|
45
45
|
oauthEnvironment,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isPrivateOutsideFile,
|
|
10
10
|
leftOutWarning,
|
|
11
11
|
linksOutside
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KDDRDNEE.js";
|
|
13
13
|
import {
|
|
14
14
|
realFilePath
|
|
15
15
|
} from "./chunk-SZGQU7EB.js";
|
|
@@ -17,19 +17,19 @@ import {
|
|
|
17
17
|
DEFAULT_VP9_CPU_USED,
|
|
18
18
|
isHttpUrl,
|
|
19
19
|
runFfmpeg
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XBPLO6CY.js";
|
|
21
21
|
import {
|
|
22
22
|
renameWithRetry
|
|
23
23
|
} from "./chunk-DE3JRSGT.js";
|
|
24
24
|
import {
|
|
25
25
|
parseAnimatedGifMetadata
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FU2R6OVR.js";
|
|
27
27
|
import {
|
|
28
28
|
isSafePath
|
|
29
29
|
} from "./chunk-XWK2RSD5.js";
|
|
30
30
|
import {
|
|
31
31
|
namesAnotherNetworkRoot
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6EMFSRTW.js";
|
|
33
33
|
import {
|
|
34
34
|
parseHTML
|
|
35
35
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -4,28 +4,28 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
isPrivateCompositionFile,
|
|
9
|
-
linksToPrivateOutsideFile,
|
|
10
|
-
receivedFiles
|
|
11
|
-
} from "./chunk-L2U4ISSS.js";
|
|
12
7
|
import {
|
|
13
8
|
refreshIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OUPWEFUM.js";
|
|
15
10
|
import {
|
|
16
11
|
envCredentialVar,
|
|
17
12
|
isTokenExpired,
|
|
18
13
|
tryResolveCredential
|
|
19
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KPFJGQ6M.js";
|
|
20
15
|
import {
|
|
21
16
|
buildAuthHeaders
|
|
22
17
|
} from "./chunk-BAWGEGKD.js";
|
|
23
18
|
import {
|
|
24
|
-
|
|
19
|
+
isPrivateCompositionFile,
|
|
20
|
+
linksToPrivateOutsideFile,
|
|
21
|
+
receivedFiles
|
|
22
|
+
} from "./chunk-JCFOSR7Z.js";
|
|
23
|
+
import {
|
|
25
24
|
isPrivateOutsideFile,
|
|
25
|
+
isUploadedOutsideFileType,
|
|
26
26
|
leftOutWarning,
|
|
27
27
|
linksOutside
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KDDRDNEE.js";
|
|
29
29
|
import {
|
|
30
30
|
isAuthError
|
|
31
31
|
} from "./chunk-DMW5SSUN.js";
|
|
@@ -34,17 +34,23 @@ import {
|
|
|
34
34
|
} from "./chunk-SZGQU7EB.js";
|
|
35
35
|
import {
|
|
36
36
|
projectIgnore
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6F4ZVQUX.js";
|
|
38
|
+
import {
|
|
39
|
+
collectSubCompositionSrcs,
|
|
40
|
+
decodeTextHonoringBom,
|
|
41
|
+
resolveCompositionSrc
|
|
42
|
+
} from "./chunk-6EMFSRTW.js";
|
|
38
43
|
import {
|
|
39
|
-
|
|
44
|
+
cssUrlMatches,
|
|
40
45
|
isNonRelativeUrl,
|
|
41
46
|
isPathInside,
|
|
47
|
+
replaceMatches,
|
|
42
48
|
rewriteSrcsetUrls
|
|
43
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IH2C53YV.js";
|
|
44
50
|
import {
|
|
45
51
|
decodeUrlPathVariants,
|
|
46
52
|
encodeUrlPath
|
|
47
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-VCKUDUPN.js";
|
|
48
54
|
import {
|
|
49
55
|
parseHTML
|
|
50
56
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -137,6 +143,25 @@ function writeTeamProject(projectDir, team) {
|
|
|
137
143
|
return file;
|
|
138
144
|
}
|
|
139
145
|
|
|
146
|
+
// src/utils/leftOutReference.ts
|
|
147
|
+
import { isAbsolute, relative } from "path";
|
|
148
|
+
function outsideFileReference(projectDir, file, reference, absPath) {
|
|
149
|
+
const path = relative(realFilePath(projectDir), realFilePath(absPath)).replaceAll("\\", "/");
|
|
150
|
+
const levels_up = isAbsolute(path) ? null : path.split("/").filter((s) => s === "..").length;
|
|
151
|
+
return { file, reference, path, levels_up };
|
|
152
|
+
}
|
|
153
|
+
function leftOutReference(projectDir, file, reference, absPath, reason) {
|
|
154
|
+
const { path, levels_up } = outsideFileReference(projectDir, file, reference, absPath);
|
|
155
|
+
return { file, reference, path, reason, levels_up };
|
|
156
|
+
}
|
|
157
|
+
function outsideFilesNotice(references) {
|
|
158
|
+
const count = references.length === 1 ? "1 file" : `${references.length} files`;
|
|
159
|
+
const lines = references.map(
|
|
160
|
+
({ file, reference, path }) => file === reference ? ` ${path} (linked from ${file})` : ` ${path} (referenced by ${file})`
|
|
161
|
+
);
|
|
162
|
+
return [`Uploading ${count} from outside the project folder:`, ...lines].join("\n");
|
|
163
|
+
}
|
|
164
|
+
|
|
140
165
|
// src/utils/publishProject.ts
|
|
141
166
|
import { basename, dirname, isAbsolute as isAbsolute2, join as join2, posix, relative as relative2, resolve as resolve2 } from "path";
|
|
142
167
|
import {
|
|
@@ -149,16 +174,6 @@ import {
|
|
|
149
174
|
statSync
|
|
150
175
|
} from "fs";
|
|
151
176
|
import AdmZip from "adm-zip";
|
|
152
|
-
|
|
153
|
-
// src/utils/leftOutReference.ts
|
|
154
|
-
import { isAbsolute, relative } from "path";
|
|
155
|
-
function leftOutReference(projectDir, file, reference, absPath, reason) {
|
|
156
|
-
const path = relative(realFilePath(projectDir), realFilePath(absPath)).replaceAll("\\", "/");
|
|
157
|
-
const levels_up = isAbsolute(path) ? null : path.split("/").filter((s) => s === "..").length;
|
|
158
|
-
return { file, reference, path, reason, levels_up };
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// src/utils/publishProject.ts
|
|
162
177
|
var IGNORED_DIRS = /* @__PURE__ */ new Set([".git", "node_modules", "dist", ".next", "coverage"]);
|
|
163
178
|
var IGNORED_FILES = /* @__PURE__ */ new Set([".DS_Store", "Thumbs.db"]);
|
|
164
179
|
var PUBLISH_CONTENT_TYPE = "application/zip";
|
|
@@ -408,9 +423,10 @@ function stageFile(absPath, onDiskMinBytes) {
|
|
|
408
423
|
closeSync(fd);
|
|
409
424
|
}
|
|
410
425
|
}
|
|
411
|
-
function addExternalAsset(ctx, absPath) {
|
|
426
|
+
function addExternalAsset(ctx, absPath, entryPath, rawPath) {
|
|
412
427
|
const existing = ctx.externalMap.get(absPath);
|
|
413
428
|
if (existing) return existing;
|
|
429
|
+
ctx.onOutsideFile?.(outsideFileReference(ctx.absProjectDir, entryPath, rawPath, absPath));
|
|
414
430
|
const rel = relative2(ctx.absProjectDir, absPath).replaceAll("\\", "/");
|
|
415
431
|
const stripped = rel.replace(/^(?:\.\.\/)+/, "");
|
|
416
432
|
let archivePath = archiveKey(`${EXT_ASSETS_PREFIX}/${stripped}`);
|
|
@@ -430,6 +446,11 @@ function staysOut(ctx, rel, absPath) {
|
|
|
430
446
|
if (!rel || ctx.fileContents.has(rel) || rel.split("/").some(shouldIgnoreSegment)) return true;
|
|
431
447
|
return isPrivateCompositionFile(ctx.absProjectDir, absPath) || existsSync2(absPath) && linksToPrivateOutsideFile(ctx.absProjectDir, absPath);
|
|
432
448
|
}
|
|
449
|
+
function reportProjectLinkOutside(absProjectDir, file, absPath, onOutsideFile) {
|
|
450
|
+
if (onOutsideFile && linksOutside(absProjectDir, absPath)) {
|
|
451
|
+
onOutsideFile(outsideFileReference(absProjectDir, file, file, absPath));
|
|
452
|
+
}
|
|
453
|
+
}
|
|
433
454
|
function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk, entryPath) {
|
|
434
455
|
const fromRoot = resolve2(ctx.absProjectDir, rawPath);
|
|
435
456
|
for (const candidate of [resolvedPath, fromRoot]) {
|
|
@@ -442,6 +463,7 @@ function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk,
|
|
|
442
463
|
return leaveOut(ctx, entryPath, rawPath, absPath, "received");
|
|
443
464
|
}
|
|
444
465
|
if (statSync(absPath).isFile()) {
|
|
466
|
+
reportProjectLinkOutside(ctx.absProjectDir, rel, absPath, ctx.onOutsideFile);
|
|
445
467
|
ctx.fileContents.set(rel, stageFile(absPath, ctx.onDiskMinBytes));
|
|
446
468
|
}
|
|
447
469
|
return;
|
|
@@ -475,14 +497,14 @@ function archiveTargetOf(ctx, absPath, rawPath, options) {
|
|
|
475
497
|
leaveOut(ctx, options.entryPath, rawPath, absPath);
|
|
476
498
|
return void 0;
|
|
477
499
|
}
|
|
478
|
-
if (!
|
|
500
|
+
if (!isUploadedOutsideFileType(absPath)) {
|
|
479
501
|
leaveOut(ctx, options.entryPath, rawPath, absPath, "file_type");
|
|
480
502
|
return void 0;
|
|
481
503
|
}
|
|
482
504
|
} catch {
|
|
483
505
|
return void 0;
|
|
484
506
|
}
|
|
485
|
-
return encodeUrlPath(addExternalAsset(ctx, absPath));
|
|
507
|
+
return encodeUrlPath(addExternalAsset(ctx, absPath, options.entryPath, rawPath));
|
|
486
508
|
}
|
|
487
509
|
function tryResolveExternal(ctx, rawPath, referrerAbsDir, entryPath, requireOnDisk = false) {
|
|
488
510
|
const filesystemPath = isAbsolute2(rawPath) && !rawPath.startsWith("//");
|
|
@@ -504,7 +526,7 @@ function referenceFrom(entryPath, target) {
|
|
|
504
526
|
}
|
|
505
527
|
function rewriteCssUrls(css, referrerAbsDir, entryPath, resolveTarget) {
|
|
506
528
|
let modified = false;
|
|
507
|
-
const rewritten = css
|
|
529
|
+
const rewritten = replaceMatches(css, cssUrlMatches(css), (full, quote, rawUrl) => {
|
|
508
530
|
const target = resolveTarget((rawUrl || "").trim(), referrerAbsDir);
|
|
509
531
|
if (!target) return full;
|
|
510
532
|
modified = true;
|
|
@@ -573,7 +595,7 @@ function localizeHtmlEntry(ctx, entryPath, content) {
|
|
|
573
595
|
val,
|
|
574
596
|
dir,
|
|
575
597
|
entryPath,
|
|
576
|
-
ref !== void 0 && HARD_REFERENCES.has(`${ref.tag}[${ref.attr}]`)
|
|
598
|
+
(ctx.filmPages?.has(entryPath) ?? true) && ref !== void 0 && HARD_REFERENCES.has(`${ref.tag}[${ref.attr}]`)
|
|
577
599
|
);
|
|
578
600
|
const attrsChanged = rewriteHtmlAttributes(document, referrerAbsDir, entryPath, resolveTarget, {
|
|
579
601
|
attrs: ["src", "href", "poster"]
|
|
@@ -598,7 +620,22 @@ function localizeCssEntry(ctx, entryPath, content) {
|
|
|
598
620
|
ctx.fileContents.set(entryPath, Buffer.from(result.css, "utf-8"));
|
|
599
621
|
}
|
|
600
622
|
}
|
|
601
|
-
function
|
|
623
|
+
function filmPagesOf(absProjectDir, fileContents, entry) {
|
|
624
|
+
const pages = /* @__PURE__ */ new Set();
|
|
625
|
+
const queue = [entry];
|
|
626
|
+
for (const page of queue) {
|
|
627
|
+
if (pages.has(page)) continue;
|
|
628
|
+
const file = fileContents.get(page);
|
|
629
|
+
if (!Buffer.isBuffer(file)) return null;
|
|
630
|
+
pages.add(page);
|
|
631
|
+
for (const src of collectSubCompositionSrcs(decodeTextHonoringBom(file))) {
|
|
632
|
+
const absPath = resolveCompositionSrc(absProjectDir, src);
|
|
633
|
+
if (absPath) queue.push(archiveKey(relative2(absProjectDir, absPath).replaceAll("\\", "/")));
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
return pages;
|
|
637
|
+
}
|
|
638
|
+
function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = Infinity, onLeftOut, onOutsideFile, entry = "index.html") {
|
|
602
639
|
const ctx = {
|
|
603
640
|
absProjectDir,
|
|
604
641
|
fileContents,
|
|
@@ -607,7 +644,9 @@ function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = In
|
|
|
607
644
|
usedArchivePaths: /* @__PURE__ */ new Set(),
|
|
608
645
|
leftOut: /* @__PURE__ */ new Set(),
|
|
609
646
|
onLeftOut,
|
|
610
|
-
|
|
647
|
+
onOutsideFile,
|
|
648
|
+
received: receivedFiles(absProjectDir),
|
|
649
|
+
filmPages: filmPagesOf(absProjectDir, fileContents, entry)
|
|
611
650
|
};
|
|
612
651
|
for (const [entryPath, content] of [...fileContents.entries()]) {
|
|
613
652
|
if (entryPath.startsWith(EXT_ASSETS_PREFIX + "/") || !Buffer.isBuffer(content)) continue;
|
|
@@ -619,8 +658,8 @@ function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = In
|
|
|
619
658
|
}
|
|
620
659
|
return ctx.externalMap.size;
|
|
621
660
|
}
|
|
622
|
-
function buildPublishFileMap(projectDir, onLeftOut) {
|
|
623
|
-
return stagePublishFiles(projectDir, Infinity, onLeftOut);
|
|
661
|
+
function buildPublishFileMap(projectDir, onLeftOut, onOutsideFile) {
|
|
662
|
+
return stagePublishFiles(projectDir, Infinity, onLeftOut, onOutsideFile);
|
|
624
663
|
}
|
|
625
664
|
var archiveKey = (path) => path.normalize("NFC");
|
|
626
665
|
function composeNamesInText(fileContents, filePaths) {
|
|
@@ -640,7 +679,18 @@ function composeNamesInText(fileContents, filePaths) {
|
|
|
640
679
|
if (text !== before) fileContents.set(key, Buffer.from(text, "utf-8"));
|
|
641
680
|
}
|
|
642
681
|
}
|
|
643
|
-
|
|
682
|
+
var WALKED_LEFT_OUT = {
|
|
683
|
+
private: "holds secrets or tool data (an env file, Git data or Studio records)",
|
|
684
|
+
blocklisted: "links to a file outside the project in a private location",
|
|
685
|
+
received: "links to a file outside the project and came in with an imported project"
|
|
686
|
+
};
|
|
687
|
+
function walkedFileLeftOut(absProjectDir, filePath, absPath, received) {
|
|
688
|
+
if (isPrivateCompositionFile(absProjectDir, absPath)) return "private";
|
|
689
|
+
if (linksToPrivateOutsideFile(absProjectDir, absPath)) return "blocklisted";
|
|
690
|
+
if (received(filePath) && linksOutside(absProjectDir, absPath)) return "received";
|
|
691
|
+
return null;
|
|
692
|
+
}
|
|
693
|
+
function stagePublishFiles(projectDir, onDiskMinBytes, onLeftOut, onOutsideFile, entry = "index.html") {
|
|
644
694
|
const absProjectDir = resolve2(projectDir);
|
|
645
695
|
const filePaths = [];
|
|
646
696
|
collectProjectFiles(absProjectDir, absProjectDir, filePaths, projectIgnore(absProjectDir));
|
|
@@ -654,11 +704,10 @@ function stagePublishFiles(projectDir, onDiskMinBytes, onLeftOut) {
|
|
|
654
704
|
const received = receivedFiles(absProjectDir);
|
|
655
705
|
for (const filePath of filePaths) {
|
|
656
706
|
const absPath = join2(absProjectDir, filePath);
|
|
657
|
-
const reason =
|
|
707
|
+
const reason = walkedFileLeftOut(absProjectDir, filePath, absPath, received);
|
|
658
708
|
if (reason) {
|
|
659
|
-
const why = reason === "received" ? "and came in with an imported project" : "in a private location";
|
|
660
709
|
onLeftOut?.(
|
|
661
|
-
`${filePath}
|
|
710
|
+
`${filePath} ${WALKED_LEFT_OUT[reason]}; it was left out of the upload.`,
|
|
662
711
|
leftOutReference(absProjectDir, filePath, filePath, absPath, reason)
|
|
663
712
|
);
|
|
664
713
|
continue;
|
|
@@ -671,10 +720,18 @@ function stagePublishFiles(projectDir, onDiskMinBytes, onLeftOut) {
|
|
|
671
720
|
);
|
|
672
721
|
}
|
|
673
722
|
diskPathOf.set(key, filePath);
|
|
723
|
+
reportProjectLinkOutside(absProjectDir, filePath, absPath, onOutsideFile);
|
|
674
724
|
fileContents.set(key, stageFile(absPath, onDiskMinBytes));
|
|
675
725
|
}
|
|
676
726
|
composeNamesInText(fileContents, filePaths);
|
|
677
|
-
localizeExternalAssets(
|
|
727
|
+
localizeExternalAssets(
|
|
728
|
+
absProjectDir,
|
|
729
|
+
fileContents,
|
|
730
|
+
onDiskMinBytes,
|
|
731
|
+
onLeftOut,
|
|
732
|
+
onOutsideFile,
|
|
733
|
+
entry
|
|
734
|
+
);
|
|
678
735
|
return fileContents;
|
|
679
736
|
}
|
|
680
737
|
var ARCHIVE_ENTRY_TIME = new Date(1980, 0, 1, 0, 0, 0, 0);
|
|
@@ -691,8 +748,8 @@ function zipPublishFileMap(fileContents) {
|
|
|
691
748
|
fileCount: fileContents.size
|
|
692
749
|
};
|
|
693
750
|
}
|
|
694
|
-
function createPublishArchive(projectDir, onLeftOut) {
|
|
695
|
-
return zipPublishFileMap(buildPublishFileMap(projectDir, onLeftOut));
|
|
751
|
+
function createPublishArchive(projectDir, onLeftOut, onOutsideFile) {
|
|
752
|
+
return zipPublishFileMap(buildPublishFileMap(projectDir, onLeftOut, onOutsideFile));
|
|
696
753
|
}
|
|
697
754
|
function getPublishApiBaseUrl() {
|
|
698
755
|
return (process.env["HYPERFRAMES_PUBLISHED_PROJECTS_API_URL"] || process.env["HEYGEN_API_URL"] || "https://api2.heygen.com").replace(/\/$/, "");
|
|
@@ -850,6 +907,7 @@ export {
|
|
|
850
907
|
ensureProjectId,
|
|
851
908
|
readTeamProject,
|
|
852
909
|
writeTeamProject,
|
|
910
|
+
outsideFilesNotice,
|
|
853
911
|
resolvePublishCredential,
|
|
854
912
|
TEXT_FILE_EXTS,
|
|
855
913
|
stagedSize,
|