hyperframes 0.9.53 → 0.9.55
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-TZFSLV5M.js → add-2LZ5XA27.js} +23 -23
- package/dist/{agentPromptGenerator-OPQZUVYC.js → agentPromptGenerator-RSFEFNFL.js} +12 -11
- package/dist/{animatedGifPrep-DEK4XZYT.js → animatedGifPrep-AX4MK2QD.js} +13 -12
- package/dist/api.d.ts +4 -2
- package/dist/api.js +51 -49
- package/dist/{appHistory-DK2XI4EZ.js → appHistory-T3ZLA7QN.js} +4 -3
- package/dist/{asset-3BIBG7LB.js → asset-XYQJVHR2.js} +2 -2
- package/dist/{assetCataloger-R4NWWO4P.js → assetCataloger-WTFR2Z5Q.js} +13 -12
- package/dist/{audio-N3DHNT3F.js → audio-U2OIHTUI.js} +93 -70
- package/dist/{auth-CBF2DVRT.js → auth-DXESNULL.js} +5 -5
- package/dist/{autoUpdate-UJB4MI4Z.js → autoUpdate-DWT4YYU2.js} +5 -5
- package/dist/{avatars-JVATTQYO.js → avatars-EL5RBI4P.js} +19 -18
- package/dist/{backgroundChecks-R7SFELIM.js → backgroundChecks-T2DL425O.js} +6 -6
- package/dist/backgroundChecksWorker.js +6 -6
- package/dist/{batchRender-D4VO4OCF.js → batchRender-CMG4SVBX.js} +4 -4
- package/dist/{beats-UCYZ7MKK.js → beats-HU756KUO.js} +14 -14
- package/dist/{benchmark-3NMJO5DK.js → benchmark-HBNCPXH5.js} +21 -20
- package/dist/{billing-76JTGOHN.js → billing-LGHM3LC7.js} +21 -21
- package/dist/{browser-5XXA4O25.js → browser-XIFUT5OB.js} +11 -11
- package/dist/{bundleWithLocalizedFonts-S7DIF43W.js → bundleWithLocalizedFonts-JPPBCCVV.js} +1 -1
- package/dist/{capture-JHMVFAUS.js → capture-B6DSZD2P.js} +4 -4
- package/dist/{capture-EV4G3SCY.js → capture-ZY7G3QSM.js} +30 -29
- package/dist/{captureCompositionFrame-3M3BFHZH.js → captureCompositionFrame-2WRG6SNW.js} +18 -17
- package/dist/{captureFile-R5JZ7WRA.js → captureFile-LXMDM5TD.js} +3 -3
- package/dist/{catalog-WVZJ6XYV.js → catalog-CUEOQ4PJ.js} +23 -23
- package/dist/{catch-up-FQ5KCZIH.js → catch-up-BAYJTXAL.js} +14 -13
- package/dist/{check-VTUVZWCF.js → check-KGXBQPRZ.js} +54 -53
- package/dist/{checkAudio-FYRBXK22.js → checkAudio-6PI7DJLP.js} +18 -17
- package/dist/{checkBrowser-EJQEWSIH.js → checkBrowser-4SGXUL27.js} +47 -46
- package/dist/{chunk-HY25JZQ2.js → chunk-26RTKW2U.js} +2 -2
- package/dist/{chunk-T3QK3VKM.js → chunk-27YDEBOP.js} +2 -2
- package/dist/{chunk-6CO6L3YP.js → chunk-2LQJHVI7.js} +2 -2
- package/dist/{chunk-KEZ7QIJN.js → chunk-2PASB3PC.js} +4 -4
- package/dist/{chunk-KKO4PRB5.js → chunk-2XZ76TF4.js} +1 -1
- package/dist/{chunk-FLPVKGBS.js → chunk-32IRBM3V.js} +3 -3
- package/dist/{chunk-BQRJZDSM.js → chunk-3ANC4SO2.js} +14 -14
- package/dist/{chunk-I7NTTMET.js → chunk-3USMIMBB.js} +97 -73
- package/dist/{chunk-XM7LOJBP.js → chunk-3WG7IC5Z.js} +1 -1
- package/dist/{chunk-FU2R6OVR.js → chunk-4IUOWNDS.js} +1 -1
- package/dist/{chunk-RH6UD7XI.js → chunk-4S53OP2C.js} +11 -11
- package/dist/{chunk-5SMHNPMW.js → chunk-4ZQG3Z3J.js} +2 -2
- package/dist/{chunk-SH6PAYUD.js → chunk-5BWIBP2F.js} +5 -5
- package/dist/{chunk-OLVZAALP.js → chunk-5HJZGP54.js} +2 -2
- package/dist/{chunk-ISVRNYE5.js → chunk-5LSMAWK5.js} +1 -1
- package/dist/{chunk-E3LZAM64.js → chunk-6BGTTCKN.js} +4 -4
- package/dist/{chunk-ZT7RB42S.js → chunk-6EG3W5AD.js} +16 -9
- package/dist/{chunk-QBDT7Z5D.js → chunk-7DJCG5ED.js} +10 -10
- package/dist/{chunk-N36NHUGP.js → chunk-7QFFS657.js} +1 -1
- package/dist/chunk-AGTBMLNM.js +42 -0
- package/dist/{chunk-7ELQHSEE.js → chunk-AHXRYOTC.js} +2 -2
- package/dist/{chunk-HJ2YUPBF.js → chunk-ATKA5KHE.js} +3 -3
- package/dist/{chunk-NCPSUM5A.js → chunk-AU4ZBCR3.js} +1 -1
- package/dist/{chunk-HZ2CD6RL.js → chunk-AYESPEPQ.js} +1 -1
- package/dist/{chunk-4FOHO7GC.js → chunk-B5HSHXE2.js} +2 -2
- package/dist/{chunk-4KRID4YV.js → chunk-BMJGWQ5X.js} +1 -1
- package/dist/{chunk-JNM4WG7C.js → chunk-BOEEHWDX.js} +1 -1
- package/dist/{chunk-GDWPLGHY.js → chunk-CAYQATCT.js} +1 -1
- package/dist/{chunk-FSBV6Z7E.js → chunk-CHQWDBUM.js} +23 -7
- package/dist/{chunk-4TJGOQER.js → chunk-CRRVULYR.js} +6 -4
- package/dist/{chunk-ES273AD6.js → chunk-DQHFS4AE.js} +4 -4
- package/dist/{chunk-HD5RVDL6.js → chunk-E2DHBP6C.js} +1 -1
- package/dist/{chunk-CTHG3WLB.js → chunk-E7GHBT2M.js} +4 -4
- package/dist/{chunk-BCJJ64JG.js → chunk-EKZ5FGV7.js} +1 -1
- package/dist/{chunk-SZGQU7EB.js → chunk-ER22SVLT.js} +1 -1
- package/dist/{chunk-2ODGEXNH.js → chunk-EUJSQHIL.js} +2 -2
- package/dist/{chunk-KCPIENND.js → chunk-EUP7ODOV.js} +1 -1
- package/dist/{chunk-UMRNTF3C.js → chunk-EXEX7TSU.js} +2 -2
- package/dist/{chunk-I2UMQAOQ.js → chunk-EXXIFMUX.js} +1 -1
- package/dist/{chunk-YT3LRZA3.js → chunk-F7B2YDPM.js} +7 -5
- package/dist/{chunk-TWI33YJP.js → chunk-FLHL32SV.js} +1 -1
- package/dist/{chunk-CYBOQOKO.js → chunk-FLQT2FVH.js} +1 -1
- package/dist/{chunk-346RTE74.js → chunk-FMYXLRJN.js} +3 -3
- package/dist/{chunk-SXZMJ7QJ.js → chunk-FOKS5HQ2.js} +4 -4
- package/dist/{chunk-3HQ4C4HI.js → chunk-FPRHOB5W.js} +3 -3
- package/dist/{chunk-XZZF6YBS.js → chunk-GKOF2RS3.js} +1 -1
- package/dist/{chunk-IU5DC4HP.js → chunk-GWSMTN55.js} +93 -23
- package/dist/{chunk-B3WRUPRS.js → chunk-HLDUHLYO.js} +4 -4
- package/dist/{chunk-43ILJV43.js → chunk-J424KJXV.js} +8 -8
- package/dist/{chunk-PCH55NAO.js → chunk-JAAIW4JR.js} +1 -1
- package/dist/{chunk-FM5JRUWL.js → chunk-JS7UI73E.js} +6 -6
- package/dist/{chunk-PUT3NPVE.js → chunk-JVA3SAGB.js} +4 -4
- package/dist/{chunk-TQKX3TA3.js → chunk-K2VFTUAA.js} +1 -1
- package/dist/{chunk-DE3JRSGT.js → chunk-KCF6Q54R.js} +1 -1
- package/dist/{chunk-LKWN2F7O.js → chunk-KD33HZPP.js} +2 -2
- package/dist/{chunk-ZK6BC3JM.js → chunk-KG24ATFM.js} +6 -6
- package/dist/{chunk-GVUG5VDL.js → chunk-KHEOHL5O.js} +1 -1
- package/dist/{chunk-FQMP2KFS.js → chunk-KVYHRUZX.js} +2 -2
- package/dist/{chunk-XWK2RSD5.js → chunk-KWTTELUY.js} +2 -2
- package/dist/{chunk-U3LWQGCD.js → chunk-L27Z3PZT.js} +1 -1
- package/dist/{chunk-YF34MK67.js → chunk-LGYCWN3Q.js} +14 -14
- package/dist/{chunk-ZFCK46UR.js → chunk-LKWWY6WN.js} +1 -1
- package/dist/{chunk-CBV4W4R3.js → chunk-MDOMSEK2.js} +2 -2
- package/dist/{chunk-RXJUMVCA.js → chunk-MDRLJ737.js} +5 -2
- package/dist/{chunk-TTP6JGIL.js → chunk-MO5NTFSC.js} +2 -2
- package/dist/{chunk-SRPPNXGX.js → chunk-MWTOYGIJ.js} +3 -3
- package/dist/{chunk-W6WVHIU7.js → chunk-N4CJSWTO.js} +2 -2
- package/dist/{chunk-PYOCEDTU.js → chunk-N7M2SNAF.js} +1 -1
- package/dist/{chunk-FZNH7SCB.js → chunk-NCSBBZQ5.js} +1 -1
- package/dist/{chunk-GZG2Z2O2.js → chunk-ND5SQJAB.js} +2 -2
- package/dist/{chunk-QXYR7LOO.js → chunk-NFLH3TQ5.js} +8 -8
- package/dist/{chunk-47IXIEBQ.js → chunk-NFNYYBD6.js} +1 -1
- package/dist/{chunk-7PBJR7WI.js → chunk-NHNFBLBM.js} +1 -1
- package/dist/{chunk-562X3KBJ.js → chunk-NISP57R3.js} +2 -2
- package/dist/{chunk-4Y5IDZOJ.js → chunk-NKAW4RVE.js} +4 -4
- package/dist/{chunk-2YSQU74C.js → chunk-NMQCIUBE.js} +5 -5
- package/dist/{chunk-35PKJPEI.js → chunk-NRGNEP3R.js} +1 -1
- package/dist/{chunk-G7GTO4YP.js → chunk-NUGAYGT3.js} +2 -2
- package/dist/{chunk-RCTY7VNK.js → chunk-O7TIBLSJ.js} +15 -101
- package/dist/{chunk-RUQ2VOD3.js → chunk-OAV5ESA6.js} +52 -17
- package/dist/{chunk-KPFJGQ6M.js → chunk-OIO7YMBP.js} +28 -30
- package/dist/{chunk-ZI3MSFSN.js → chunk-OM2WIZOR.js} +2 -2
- package/dist/{chunk-OUPWEFUM.js → chunk-ON3CGL3V.js} +1 -1
- package/dist/{chunk-IXUIJ7OL.js → chunk-OOWZ6M75.js} +3 -3
- package/dist/{chunk-5JOYZGHQ.js → chunk-OTWFSHYH.js} +3 -3
- package/dist/{chunk-KDDRDNEE.js → chunk-OWQWMQTY.js} +3 -2
- package/dist/{chunk-7FU5JCAK.js → chunk-OYEGPK3Q.js} +1 -1
- package/dist/{chunk-5A75E4OT.js → chunk-OZDELWQP.js} +2 -29
- package/dist/{chunk-XBPLO6CY.js → chunk-PCNNMAUX.js} +326 -95
- package/dist/{chunk-UAOL5PRX.js → chunk-PLFOZIEH.js} +1 -1
- package/dist/chunk-PXLGDX2S.js +104 -0
- package/dist/{chunk-G55B5LP6.js → chunk-Q42L7V5T.js} +1 -1
- package/dist/{chunk-BH5P5QZN.js → chunk-QGQYMSYM.js} +4 -4
- package/dist/{chunk-2ST2FAVH.js → chunk-QQLVSUO7.js} +2 -2
- package/dist/{chunk-Y6CLFCYX.js → chunk-QWBJABCA.js} +4 -4
- package/dist/{chunk-JCFOSR7Z.js → chunk-QX4TZ2RK.js} +86 -15
- package/dist/{chunk-WPG76RJZ.js → chunk-RBOKZ5ED.js} +1 -1
- package/dist/{chunk-IH56MGAB.js → chunk-RIAH7WEL.js} +9 -9
- package/dist/{chunk-7RHN6N5F.js → chunk-SDFGDNWV.js} +1 -1
- package/dist/{chunk-NFRKPLTJ.js → chunk-SEC76O65.js} +1 -1
- package/dist/{chunk-ZPPEZJVD.js → chunk-TEA4ZEHB.js} +71 -38
- package/dist/{chunk-G5FNJQER.js → chunk-TFVIXR6V.js} +26 -26
- package/dist/{chunk-IB5DXMAH.js → chunk-TMLKMCZK.js} +4 -4
- package/dist/{chunk-NVGB7L2M.js → chunk-TN3WGE3L.js} +3 -3
- package/dist/{chunk-FH6KC5EF.js → chunk-TPLO6NJI.js} +3 -3
- package/dist/{chunk-VCHJV7ZT.js → chunk-TULCSCC4.js} +67 -15
- package/dist/{chunk-Q5P7YJXO.js → chunk-UCLUH5AG.js} +2 -2
- package/dist/{chunk-H5K3FS4W.js → chunk-UHE44FC4.js} +3 -3
- package/dist/{chunk-3FL7MKQH.js → chunk-UHVB2TVW.js} +168 -127
- package/dist/{chunk-KLIVZ5VG.js → chunk-UHVKV5IF.js} +1 -1
- package/dist/{chunk-6F4ZVQUX.js → chunk-UV3I2TND.js} +1 -1
- package/dist/{chunk-5CRHNVJW.js → chunk-VPX4GVGQ.js} +3 -3
- package/dist/{chunk-N2YHCAFL.js → chunk-W2GXQ3CR.js} +10 -10
- package/dist/{chunk-4XETQ5LC.js → chunk-WPD7JH6F.js} +2 -2
- package/dist/{chunk-ZV3RIHRN.js → chunk-WQGQCSRY.js} +67 -27
- package/dist/{chunk-FRM4EM52.js → chunk-X4KIL5BW.js} +18 -18
- package/dist/{chunk-JHOCK3DG.js → chunk-XFF4XJZO.js} +11 -3
- package/dist/{chunk-BS36NRXV.js → chunk-XFSZ3IXC.js} +1 -1
- package/dist/chunk-XGEJPKRY.js +5069 -0
- package/dist/{chunk-I7SJBRVT.js → chunk-XLQUCTC2.js} +3 -3
- package/dist/{chunk-XJTFSMZK.js → chunk-YSN6HPD3.js} +2 -2
- package/dist/{chunk-6RPLXBZJ.js → chunk-YU5LSWA2.js} +1 -1
- package/dist/{chunk-4KS3GL5I.js → chunk-YVCPUVHV.js} +1 -1
- package/dist/chunk-YXX6CIHL.js +25 -0
- package/dist/{chunk-44OCDK5C.js → chunk-YY7ZJHL3.js} +14 -9
- package/dist/{chunk-365OGBQ2.js → chunk-ZLG2E7GC.js} +2 -2
- package/dist/{clean-KEVJGNES.js → clean-SXRW77YG.js} +29 -28
- package/dist/cli.js +67 -67
- package/dist/{cloud-EBJZO6ZY.js → cloud-LU4FVT33.js} +7 -7
- package/dist/{cloud-OR62JJDE.js → cloud-PUCWVAS2.js} +4 -4
- package/dist/{cloudrun-HPYJTM5N.js → cloudrun-SXXONVD6.js} +17 -6
- package/dist/{compare-353XZU2M.js → compare-K65FNAEA.js} +45 -44
- package/dist/{compiler-KPDUYBA5.js → compiler-QISQISFV.js} +5 -5
- package/dist/{component-5DZDY74T.js → component-YYCDOLP2.js} +3 -3
- package/dist/{compositions-VBICZHMF.js → compositions-LCQTIYIU.js} +20 -19
- package/dist/{contactSheet-O3FOOHOX.js → contactSheet-CCHQAZLA.js} +4 -4
- package/dist/{curve-KDRSQWHP.js → curve-T7JAY3EM.js} +17 -16
- package/dist/{cuts-ABAQKTF4.js → cuts-E54SOAWH.js} +18 -17
- package/dist/{delete-BXURHIL4.js → delete-GLQNSOWH.js} +12 -12
- package/dist/{deploy-4TBYCBNI.js → deploy-SPMSEG67.js} +10 -7
- package/dist/{describeProject-K62TKQLI.js → describeProject-YPTJWL3O.js} +12 -11
- package/dist/{destroy-FAJUHCW4.js → destroy-FMAAH4KQ.js} +9 -6
- package/dist/{deterministicFonts-XZIQ4PNP.js → deterministicFonts-OXGNMVJE.js} +3 -3
- package/dist/{diff-4O7ZCBM5.js → diff-OT5SHVFD.js} +46 -45
- package/dist/{dist-D67752QW.js → dist-EO7BILWH.js} +16 -15
- package/dist/{dist-F4T6FB7P.js → dist-RYTNYHMF.js} +2 -2
- package/dist/{dist-AAGJ6SXG.js → dist-T62DJJZX.js} +3 -3
- package/dist/{doctor-IEUIWBC5.js → doctor-L4SNKUBM.js} +21 -20
- package/dist/{energy-BJQTVGBO.js → energy-AXQGYZF6.js} +18 -17
- package/dist/{events-D3NBN44E.js → events-5T25R4EH.js} +6 -6
- package/dist/{events-M37XFHGJ.js → events-7QP5H6PW.js} +20 -19
- package/dist/{events-4UBI5WNS.js → events-EBA6KHJV.js} +10 -10
- package/dist/{execute-JCLM27KS.js → execute-PTHC7Y5Q.js} +35 -34
- package/dist/{extract-AYWY5PIN.js → extract-76UPXPJC.js} +18 -17
- package/dist/{face-TEHC6WYN.js → face-YZON2N2E.js} +19 -18
- package/dist/{feedback-JZDCB5N4.js → feedback-KAYKPPHI.js} +22 -21
- package/dist/{ffmpeg-JMPVMPDT.js → ffmpeg-T3KK5XKT.js} +11 -10
- package/dist/{figma-6MYT2VRV.js → figma-NJ6CAJGV.js} +3 -3
- package/dist/fontLocalizeCli.js +18 -17
- package/dist/{frames-NLFBDILH.js → frames-KNR4CSB4.js} +20 -19
- package/dist/{generate-YLPRVWHZ.js → generate-ISCPAKHT.js} +34 -33
- package/dist/{get-APCR6ZJE.js → get-X7QNC3PE.js} +12 -12
- package/dist/{gpuPolicy-YXBUP4AF.js → gpuPolicy-ZXN5S3HE.js} +11 -10
- package/dist/{grade-compare-VLWGCI4O.js → grade-compare-XD3IONCL.js} +44 -43
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-UC2AV5LU.js → heifImagePrep-EFBHDH4Z.js} +14 -13
- package/dist/{help-YSBTU7WC.js → help-VUFIY5X4.js} +1 -1
- package/dist/{history-EPIGMZUN.js → history-OM3MHRB2.js} +17 -17
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6SF6E2T3.js → info-G64344ST.js} +22 -21
- package/dist/{init-BXS47X5W.js → init-2N6SDLZB.js} +37 -36
- package/dist/{ink-BWKWSIKA.js → ink-T5BJE4D2.js} +18 -17
- package/dist/{inspect-NUE2R2OF.js → inspect-6I4YSARX.js} +45 -44
- package/dist/{installer-T57TKMM6.js → installer-JNQKFCTN.js} +7 -7
- package/dist/{keyframes-WCRUYIOQ.js → keyframes-PT3H7WHD.js} +16 -16
- package/dist/{lambda-L2YNMAL5.js → lambda-NEQXIHUM.js} +17 -16
- package/dist/{layout-FXTXMDAL.js → layout-FRWUKOGX.js} +45 -44
- package/dist/{lint-IKRYTERJ.js → lint-GXPONOPU.js} +18 -18
- package/dist/{lintProject-2NDIJLD2.js → lintProject-J4YTLKPW.js} +2 -2
- package/dist/{list-BX5SCZEC.js → list-JO7WSM6Y.js} +12 -12
- package/dist/{localPage-HY3VMEYU.js → localPage-XDWFSE4K.js} +12 -11
- package/dist/{login-5IDR2M6C.js → login-XMFEIEXG.js} +5 -5
- package/dist/{logout-MTWA4BBI.js → logout-CCATTNTL.js} +1 -1
- package/dist/{look-7R4YJNX7.js → look-U77ADJ4V.js} +18 -17
- package/dist/{manager-PHCAZFHT.js → manager-RNMX2WTR.js} +12 -11
- package/dist/{manager-DBMIO5YG.js → manager-ZRETV4LQ.js} +4 -4
- package/dist/{measure-7CJ4RKSY.js → measure-JNJAPVVN.js} +11 -11
- package/dist/{media-treatment-HEW3RMDV.js → media-treatment-MFNKKPM7.js} +20 -19
- package/dist/{media-use-S5IJPK5G.js → media-use-ZKHL2IN2.js} +7 -6
- package/dist/{models-4UJY22Z3.js → models-PGO2ERAU.js} +16 -15
- package/dist/{motionShot-FLZQ75TM.js → motionShot-AG4LR5Q5.js} +22 -21
- package/dist/{normalize-audio-AN3KKSSK.js → normalize-audio-FO3JCPD3.js} +14 -14
- package/dist/{open-AHPOLDBY.js → open-ZI6KK3GM.js} +23 -22
- package/dist/{parakeetRunner-4URDK3H4.js → parakeetRunner-CBO3HRL6.js} +19 -18
- package/dist/{pipeline-O5UWLQDZ.js → pipeline-VWVNH5ZC.js} +14 -13
- package/dist/{plan-SUV7WBBJ.js → plan-UHZYW3K2.js} +27 -26
- package/dist/{play-LHMMHUUN.js → play-IVTXE4JW.js} +34 -33
- package/dist/{preflight-FLSEP55G.js → preflight-QJNKKMPE.js} +14 -13
- package/dist/{present-VEDXFFPZ.js → present-NB6DAJ6K.js} +28 -27
- package/dist/{preview-FXNPXOJL.js → preview-FIWAZ5PX.js} +37 -35
- package/dist/{probe-P6LUMX34.js → probe-VQJOUG65.js} +18 -17
- package/dist/{producer-SWV2GP4I.js → producer-NP6X5UBL.js} +1 -1
- package/dist/{projectConfig-EPOIXMHL.js → projectConfig-UVA26HJW.js} +11 -11
- package/dist/{publication-SIGMWEK3.js → publication-LYPU7NTZ.js} +5 -5
- package/dist/{publish-EVCYPK6H.js → publish-MRQ2K62E.js} +28 -28
- package/dist/{refresh-PIFEWEAL.js → refresh-X5ZLKQO5.js} +1 -1
- package/dist/{remove-background-AFXDE5YR.js → remove-background-RG6DCWOW.js} +15 -14
- package/dist/{render-MENZ6KS5.js → render-6B7YPN7H.js} +46 -42
- package/dist/{render-BCKSDBLK.js → render-CM4MCNVA.js} +6 -6
- package/dist/{render-DFUMSKVQ.js → render-XWBMMSC5.js} +60 -54
- package/dist/{render-batch-DPT67NDL.js → render-batch-Y3RRNDNJ.js} +7 -7
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-EE3255VM.js → resolver-K6VAEZVH.js} +8 -8
- package/dist/{reverse-TA73U7V6.js → reverse-5RDRLKAP.js} +1 -1
- package/dist/{run-Y2ISHW5P.js → run-OQK3QU4I.js} +9 -6
- package/dist/{sam-EGFXZF56.js → sam-A4NXDWSU.js} +4 -1
- package/dist/{screenshotCapture-CEEBQ3FU.js → screenshotCapture-VDITRAK2.js} +14 -13
- package/dist/{service-6P6QVFNF.js → service-C3UT4LYP.js} +18 -17
- package/dist/{share-Q25X6AIX.js → share-JU3IDHUV.js} +23 -22
- package/dist/{sherpa-PPSJ23WI.js → sherpa-Z2Z4XLXV.js} +18 -17
- 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 +6 -5
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +18 -72
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +51 -67
- package/dist/skills/media-use/references/heygen.md +1 -1
- package/dist/{skills-PVJJ3R2V.js → skills-24YEOJGP.js} +15 -14
- package/dist/{skillsUpdateCheck-L4TGSUN6.js → skillsUpdateCheck-5R4JJ27G.js} +6 -6
- package/dist/{snapshot-AIAJRR5C.js → snapshot-T4REEKFX.js} +72 -67
- package/dist/{src-O5P56HIK.js → src-EKGFNTTY.js} +18 -9
- package/dist/{src-UEH4H4UY.js → src-RMJVAEKT.js} +16 -15
- package/dist/{start-HY5WGCDN.js → start-E5RIH3KS.js} +32 -31
- package/dist/{staticProjectServer-WNKXSUBZ.js → staticProjectServer-LEM5W3S5.js} +28 -27
- package/dist/{status-AFDHSUGG.js → status-CSHJWWOP.js} +26 -26
- package/dist/studio/assets/{hyperframes-player-z7r-N5fm.js → hyperframes-player-BroIQA4E.js} +1 -1
- package/dist/studio/assets/{index-Dpo7Q_9-.js → index-Be7DZynj.js} +154 -154
- package/dist/studio/assets/{index-2QPHxCxy.js → index-CiF0D62S.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-BarDYEAf.js → pausedVideoDecoder-RXcvblHS.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-P72FA5XB.js → studio-api-COJYCMRI.js} +16 -15
- package/dist/{studioServer-RICH4NMX.js → studioServer-62ZTBLFM.js} +76 -73
- package/dist/{sync-J66DIXED.js → sync-CLRYHWYE.js} +18 -17
- package/dist/{synthesize-UKCQR7WW.js → synthesize-Z2H32QPU.js} +5 -5
- package/dist/{system-I5KGZTUG.js → system-2YOII5LZ.js} +3 -3
- package/dist/{telemetry-KOOKPGMR.js → telemetry-DWA36DFX.js} +10 -10
- package/dist/{templates-6DRGOTNH.js → templates-LXMQR35F.js} +22 -22
- package/dist/{timeline-UZX7366C.js → timeline-LMKTDKRT.js} +27 -26
- package/dist/{tokens-AU3BUE6U.js → tokens-VJ765KFG.js} +2 -2
- package/dist/{transcribe-OUTSVFRZ.js → transcribe-3WASFP7Z.js} +15 -14
- package/dist/{transcribe-CW5HK2OA.js → transcribe-TICRK4IY.js} +38 -37
- package/dist/{tts-X3MAUZ7E.js → tts-5YJV6UXX.js} +1 -1
- package/dist/{update-KRYJ6ACJ.js → update-Q26QGCBW.js} +17 -16
- package/dist/{updateCheck-WQVGQLCG.js → updateCheck-7R4S46TT.js} +5 -5
- package/dist/{upgrade-S54RPT3R.js → upgrade-76TFHAGI.js} +8 -8
- package/dist/{urlDownloader-MASRYSQX.js → urlDownloader-AE4UQI5A.js} +10 -9
- package/dist/{validate-4QVUHCYG.js → validate-BEYREWEL.js} +34 -33
- package/dist/{video-AEGOEGSP.js → video-47AVLNWM.js} +13 -12
- package/dist/{voices-T4U7EU5X.js → voices-5O6OAL6H.js} +31 -30
- package/dist/warmCheck.js +54 -53
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-3FHPYC6X.js +0 -5069
- package/dist/privateProjectFile-NN7MTTEQ.js +0 -50
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isolatedPythonCode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7QFFS657.js";
|
|
10
10
|
import {
|
|
11
11
|
STEADY_BEAT_CONFIDENCE,
|
|
12
12
|
envelope,
|
|
@@ -23,26 +23,32 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
uploadAssetViaDirectUpload
|
|
25
25
|
} from "./chunk-PJNDSYJV.js";
|
|
26
|
+
import {
|
|
27
|
+
readPlainFile
|
|
28
|
+
} from "./chunk-PXLGDX2S.js";
|
|
26
29
|
import {
|
|
27
30
|
refreshIfNeeded,
|
|
28
31
|
resolveCloudBaseUrl
|
|
29
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ON3CGL3V.js";
|
|
30
33
|
import {
|
|
31
34
|
HyperframesCloudClient
|
|
32
35
|
} from "./chunk-D3NWGOXW.js";
|
|
33
36
|
import {
|
|
34
37
|
tryResolveCredential
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-OIO7YMBP.js";
|
|
36
39
|
import {
|
|
37
40
|
buildAuthHeaders
|
|
38
41
|
} from "./chunk-BAWGEGKD.js";
|
|
39
42
|
import {
|
|
40
43
|
decodeAudio,
|
|
41
44
|
probeAudio
|
|
42
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UHVKV5IF.js";
|
|
43
46
|
import {
|
|
44
47
|
runsWithoutInstallPrompt
|
|
45
48
|
} from "./chunk-JJ47LVJ7.js";
|
|
49
|
+
import {
|
|
50
|
+
replaceFileAtomically
|
|
51
|
+
} from "./chunk-KCF6Q54R.js";
|
|
46
52
|
import {
|
|
47
53
|
hyperframesCacheDir
|
|
48
54
|
} from "./chunk-JOQR4AP6.js";
|
|
@@ -707,10 +713,42 @@ function tempoFromBeats(beats) {
|
|
|
707
713
|
}
|
|
708
714
|
|
|
709
715
|
// src/audio/analysis/kindCache.ts
|
|
710
|
-
import { createHash as createHash2
|
|
711
|
-
import {
|
|
712
|
-
import { dirname, join as join4 } from "path";
|
|
716
|
+
import { createHash as createHash2 } from "crypto";
|
|
717
|
+
import { statSync } from "fs";
|
|
718
|
+
import { dirname as dirname2, join as join4 } from "path";
|
|
719
|
+
|
|
720
|
+
// src/audio/cacheFolder.ts
|
|
721
|
+
import { lstatSync, mkdirSync } from "fs";
|
|
722
|
+
import { basename, dirname } from "path";
|
|
723
|
+
function foldersOf(path, depth) {
|
|
724
|
+
const folders = [];
|
|
725
|
+
for (let folder = path; folders.length < depth; folder = dirname(folder)) folders.unshift(folder);
|
|
726
|
+
return folders;
|
|
727
|
+
}
|
|
728
|
+
var isFolder = (path) => lstatSync(path, { throwIfNoEntry: false })?.isDirectory() === true;
|
|
729
|
+
function isRealFolder(path, depth) {
|
|
730
|
+
return foldersOf(path, depth).every(isFolder);
|
|
731
|
+
}
|
|
732
|
+
function makeRealFolder(path, depth) {
|
|
733
|
+
for (const folder of foldersOf(path, depth)) {
|
|
734
|
+
try {
|
|
735
|
+
mkdirSync(folder);
|
|
736
|
+
} catch (error) {
|
|
737
|
+
if (error.code !== "EEXIST") throw error;
|
|
738
|
+
}
|
|
739
|
+
if (!isFolder(folder))
|
|
740
|
+
throw new Error(
|
|
741
|
+
`${basename(folder)} in ${dirname(folder)} is a link or a file, not a folder; remove it and run again`
|
|
742
|
+
);
|
|
743
|
+
}
|
|
744
|
+
return path;
|
|
745
|
+
}
|
|
746
|
+
var isPlainFile = (path) => lstatSync(path, { throwIfNoEntry: false })?.isFile() === true;
|
|
747
|
+
var isPlainName = (name) => typeof name === "string" && name !== "." && name !== ".." && !/[/\\]/.test(name) && basename(name) === name;
|
|
748
|
+
|
|
749
|
+
// src/audio/analysis/kindCache.ts
|
|
713
750
|
var CACHE_VERSION = 1;
|
|
751
|
+
var MAX_ENTRY_BYTES = 64 * 1024;
|
|
714
752
|
var record = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
715
753
|
var finite = (value) => typeof value === "number" && Number.isFinite(value);
|
|
716
754
|
var probability = (value) => finite(value) && value >= 0 && value <= 1;
|
|
@@ -741,7 +779,7 @@ function readKindCache(file) {
|
|
|
741
779
|
if (file === null) return null;
|
|
742
780
|
let value;
|
|
743
781
|
try {
|
|
744
|
-
value = JSON.parse(
|
|
782
|
+
value = isRealFolder(dirname2(file), 2) && isPlainFile(file) ? JSON.parse(readPlainFile(file, MAX_ENTRY_BYTES)) : null;
|
|
745
783
|
} catch {
|
|
746
784
|
return null;
|
|
747
785
|
}
|
|
@@ -755,19 +793,12 @@ function readKindCache(file) {
|
|
|
755
793
|
};
|
|
756
794
|
}
|
|
757
795
|
function writeKindCache(file, value) {
|
|
758
|
-
const temporary = `${file}.${randomUUID2()}.tmp`;
|
|
759
796
|
try {
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
renameSync(temporary, file);
|
|
797
|
+
makeRealFolder(dirname2(file), 2);
|
|
798
|
+
replaceFileAtomically(file, JSON.stringify(value));
|
|
763
799
|
return null;
|
|
764
800
|
} catch {
|
|
765
801
|
return "kind could not be cached; another query will analyze the clip again";
|
|
766
|
-
} finally {
|
|
767
|
-
try {
|
|
768
|
-
rmSync(temporary, { force: true });
|
|
769
|
-
} catch {
|
|
770
|
-
}
|
|
771
802
|
}
|
|
772
803
|
}
|
|
773
804
|
function cacheKindAnalysis(file, analysis) {
|
|
@@ -1057,6 +1088,10 @@ export {
|
|
|
1057
1088
|
serviceAccess,
|
|
1058
1089
|
serviceFailure,
|
|
1059
1090
|
DEFAULT_CAPABILITIES,
|
|
1091
|
+
isRealFolder,
|
|
1092
|
+
makeRealFolder,
|
|
1093
|
+
isPlainFile,
|
|
1094
|
+
isPlainName,
|
|
1060
1095
|
previewTarget,
|
|
1061
1096
|
analyzeTargets
|
|
1062
1097
|
};
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-DMW5SSUN.js";
|
|
22
22
|
|
|
23
23
|
// src/auth/resolver.ts
|
|
24
|
+
import { join } from "path";
|
|
24
25
|
var ENV_CREDENTIAL_VAR = {
|
|
25
26
|
env: "HEYGEN_API_KEY",
|
|
26
27
|
env_alias: "HYPERFRAMES_API_KEY",
|
|
@@ -33,47 +34,45 @@ async function resolveCredential(opts = {}) {
|
|
|
33
34
|
}
|
|
34
35
|
async function resolveFromSources(opts) {
|
|
35
36
|
const now = (opts.now ?? (() => /* @__PURE__ */ new Date()))();
|
|
36
|
-
const
|
|
37
|
+
const shellKey = envApiKey(false);
|
|
38
|
+
const projectKey = envApiKey(true);
|
|
39
|
+
const envKey = shellKey ?? projectKey;
|
|
37
40
|
if (envKey && !heygenApiHost()) return envKey;
|
|
38
41
|
const accessToken = headerSafeEnv(ENV_CREDENTIAL_VAR.env_oauth);
|
|
39
42
|
if (accessToken) {
|
|
40
43
|
return { type: "oauth", access_token: accessToken, source: "env_oauth", refreshable: false };
|
|
41
44
|
}
|
|
42
|
-
if (
|
|
43
|
-
return await fromStore(now,
|
|
45
|
+
if (shellKey && loginRefreshFailed) return shellKey;
|
|
46
|
+
return await fromStore(now, shellKey, projectKey);
|
|
44
47
|
}
|
|
45
|
-
async function fromStore(now,
|
|
46
|
-
const store = await readStore().catch(
|
|
47
|
-
if (
|
|
48
|
+
async function fromStore(now, shellKey, projectKey) {
|
|
49
|
+
const store = await readStore().catch((err) => {
|
|
50
|
+
if (shellKey) return null;
|
|
48
51
|
throw err;
|
|
49
52
|
});
|
|
50
53
|
if (!store || store.source === "absent") {
|
|
51
|
-
|
|
54
|
+
const key = shellKey ?? projectKey;
|
|
55
|
+
if (key) return key;
|
|
52
56
|
throw ErrNotConfigured();
|
|
53
57
|
}
|
|
54
58
|
const { credentials, source } = store;
|
|
55
59
|
const fileSource = source === "file_legacy" ? "file_legacy" : "file_json";
|
|
56
60
|
const login = credentials.oauth && boundToThisClient(credentials.oauth) ? pickOAuth(credentials.oauth, now, fileSource) : null;
|
|
57
|
-
return login ??
|
|
61
|
+
return login ?? apiKeyWithoutLogin(credentials, fileSource, shellKey, projectKey);
|
|
58
62
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
if (
|
|
63
|
+
function apiKeyWithoutLogin(credentials, source, shellKey, projectKey) {
|
|
64
|
+
if (shellKey) return shellKey;
|
|
65
|
+
if (projectKey && !credentials.oauth && !credentials.api_key) return projectKey;
|
|
62
66
|
return storedApiKey(credentials, source);
|
|
63
67
|
}
|
|
64
|
-
|
|
68
|
+
var projectKeyNoted = false;
|
|
69
|
+
function noteProjectKey(credential) {
|
|
65
70
|
const name = envCredentialVar(credential.source);
|
|
66
71
|
const dir = credential.type === "api_key" && name ? projectEnvDir(name) : void 0;
|
|
67
|
-
if (dir
|
|
68
|
-
const { receivedFiles } = await import("./privateProjectFile-NN7MTTEQ.js");
|
|
69
|
-
return receivedFiles(dir)(".env");
|
|
70
|
-
}
|
|
71
|
-
var projectKeyNoted = false;
|
|
72
|
-
async function noteProjectKey(credential) {
|
|
73
|
-
if (!projectKeyNoted && await fromReceivedProjectEnv(credential)) {
|
|
72
|
+
if (dir !== void 0 && !projectKeyNoted) {
|
|
74
73
|
projectKeyNoted = true;
|
|
75
74
|
process.stderr.write(
|
|
76
|
-
`[hyperframes] Using ${
|
|
75
|
+
`[hyperframes] Using ${name} from this folder's .env (${join(dir, ".env")}): uploads and renders go to that key's HeyGen account.
|
|
77
76
|
`
|
|
78
77
|
);
|
|
79
78
|
}
|
|
@@ -87,16 +86,15 @@ function storedApiKey(credentials, source) {
|
|
|
87
86
|
if (credentials.api_key) return { type: "api_key", key: credentials.api_key, source };
|
|
88
87
|
throw ErrNotConfigured();
|
|
89
88
|
}
|
|
90
|
-
|
|
91
|
-
let received;
|
|
89
|
+
function envApiKey(fromProject) {
|
|
92
90
|
for (const source of ["env", "env_alias"]) {
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
const name = ENV_CREDENTIAL_VAR[source];
|
|
92
|
+
const key = headerSafeEnv(name);
|
|
93
|
+
if (key && projectEnvDir(name) !== void 0 === fromProject) {
|
|
94
|
+
return { type: "api_key", key, source };
|
|
95
|
+
}
|
|
98
96
|
}
|
|
99
|
-
return
|
|
97
|
+
return void 0;
|
|
100
98
|
}
|
|
101
99
|
function heygenApiHost() {
|
|
102
100
|
const mediaBase = process.env["HEYGEN_API_BASE"]?.trim();
|
|
@@ -129,8 +127,8 @@ async function afterRefreshFailure(err, refreshToken) {
|
|
|
129
127
|
}
|
|
130
128
|
}
|
|
131
129
|
if (!err.refused && err.code !== "LOGIN_EXPIRED") throw err;
|
|
132
|
-
const key =
|
|
133
|
-
if (!key
|
|
130
|
+
const key = envApiKey(false);
|
|
131
|
+
if (!key) throw err;
|
|
134
132
|
loginRefreshFailed = true;
|
|
135
133
|
return key;
|
|
136
134
|
}
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
uncheckedSource,
|
|
34
34
|
withProjectShareLock,
|
|
35
35
|
writeJsonAtomic
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5BWIBP2F.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-NUGAYGT3.js";
|
|
43
43
|
import {
|
|
44
44
|
defaultClientId,
|
|
45
45
|
oauthEnvironment,
|
|
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveCloudAuthHeaders,
|
|
9
9
|
resolveCloudBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ON3CGL3V.js";
|
|
11
11
|
import {
|
|
12
12
|
readProjectConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-B5HSHXE2.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeSkillSlug
|
|
16
16
|
} from "./chunk-HVW7ABXD.js";
|
|
17
17
|
import {
|
|
18
18
|
trackBillingCheckoutReturnRefused
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FPRHOB5W.js";
|
|
20
20
|
|
|
21
21
|
// src/heygen/plan.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
mkdirOwnedWithinProject,
|
|
10
10
|
pinProjectRecord,
|
|
11
11
|
realFilePath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ER22SVLT.js";
|
|
13
13
|
import {
|
|
14
14
|
atomicTempPath,
|
|
15
15
|
cannotHardLink,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
refuseReadOnly,
|
|
19
19
|
renameWithRetryAsync,
|
|
20
20
|
replaceFileAtomically
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KCF6Q54R.js";
|
|
22
22
|
import {
|
|
23
23
|
isSafePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KWTTELUY.js";
|
|
25
25
|
import {
|
|
26
26
|
hyperframesCacheDir
|
|
27
27
|
} from "./chunk-JOQR4AP6.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-6T4PB35F.js";
|
|
16
16
|
import {
|
|
17
17
|
realFilePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ER22SVLT.js";
|
|
19
19
|
|
|
20
20
|
// ../studio-server/dist/helpers/outsideFile.js
|
|
21
21
|
import { closeSync, constants, fstatSync, openSync, readSync } from "fs";
|
|
@@ -111,7 +111,8 @@ var linksOutside = (projectDir, filePath) => isOutside(relative(realFilePath(pro
|
|
|
111
111
|
var WHY = {
|
|
112
112
|
private: "which holds secrets or tool data",
|
|
113
113
|
blocklisted: "which is outside the project in a private location",
|
|
114
|
-
received: "which leads outside the project and came in with an imported project"
|
|
114
|
+
received: "which leads outside the project and came in with an imported project",
|
|
115
|
+
network_share: "which is on another computer's network share or is a Windows device path"
|
|
115
116
|
};
|
|
116
117
|
var COPIED_TYPES = {
|
|
117
118
|
upload: "an image, video, audio, font or CSS file",
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QQLVSUO7.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
trustedPathDirs
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GWSMTN55.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/windowsExeSearch.ts
|
|
12
12
|
import { delimiter, win32 } from "path";
|
|
@@ -15,38 +15,11 @@ var neverCreatedPathFolder = () => fileURLToPath(new URL("no-trusted-path-folder
|
|
|
15
15
|
function keyOf(env, name) {
|
|
16
16
|
return Object.keys(env).find((key) => key.toUpperCase() === name);
|
|
17
17
|
}
|
|
18
|
-
function windowsFolderKey(dir) {
|
|
19
|
-
return dir.replaceAll("/", "\\").replace(/\\+$/, "").toLowerCase();
|
|
20
|
-
}
|
|
21
|
-
function windowsSystemFolders(env) {
|
|
22
|
-
const rootKey = keyOf(env, "SYSTEMROOT");
|
|
23
|
-
const root = rootKey && env[rootKey] || "C:\\Windows";
|
|
24
|
-
const system32 = win32.join(root, "System32");
|
|
25
|
-
return new Set(
|
|
26
|
-
[
|
|
27
|
-
root,
|
|
28
|
-
system32,
|
|
29
|
-
win32.join(system32, "Wbem"),
|
|
30
|
-
win32.join(system32, "WindowsPowerShell", "v1.0")
|
|
31
|
-
].map(windowsFolderKey)
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
function unquoted(dir) {
|
|
35
|
-
return dir.length > 1 && dir.startsWith('"') && dir.endsWith('"') ? dir.slice(1, -1) : dir;
|
|
36
|
-
}
|
|
37
|
-
function windowsTrustedDirs(pathValue, env) {
|
|
38
|
-
const entries = pathValue.split(win32.delimiter).map(unquoted);
|
|
39
|
-
const trusted = new Set(trustedPathDirs(entries.join(delimiter)));
|
|
40
|
-
const system = windowsSystemFolders(env);
|
|
41
|
-
return [
|
|
42
|
-
...new Set(entries.filter((dir) => trusted.has(dir) || system.has(windowsFolderKey(dir))))
|
|
43
|
-
];
|
|
44
|
-
}
|
|
45
18
|
function withOnlyTrustedPathFolders(env, platform = process.platform) {
|
|
46
19
|
const pathKey = keyOf(env, "PATH");
|
|
47
20
|
if (!pathKey) return { ...env };
|
|
48
21
|
const value = env[pathKey] ?? "";
|
|
49
|
-
const dirs =
|
|
22
|
+
const dirs = trustedPathDirs(value, platform, env);
|
|
50
23
|
const separator = platform === "win32" ? win32.delimiter : delimiter;
|
|
51
24
|
return { ...env, [pathKey]: dirs.length > 0 ? dirs.join(separator) : neverCreatedPathFolder() };
|
|
52
25
|
}
|