hyperframes 0.9.59 → 0.9.63
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-C7J7HSLI.js → add-OBIEVDD7.js} +26 -27
- package/dist/{agentPromptGenerator-GCLJUGVE.js → agentPromptGenerator-KOFDIQGE.js} +15 -17
- package/dist/{animatedGifPrep-JPQZPZC4.js → animatedGifPrep-C4S7AVG7.js} +20 -21
- package/dist/api.d.ts +8 -1
- package/dist/api.js +58 -58
- package/dist/{appHistory-TQ6JAEP5.js → appHistory-ASGUPUUV.js} +5 -6
- package/dist/{asset-HQEPGBDJ.js → asset-FUQDWJ62.js} +15 -5
- package/dist/{assetCataloger-LMPPKPF6.js → assetCataloger-A5N6O4JB.js} +16 -18
- package/dist/{audio-FD2EBZ6D.js → audio-AFNZLDGT.js} +45 -45
- package/dist/{auth-JA7XH6NG.js → auth-N2G7ERXF.js} +4 -4
- package/dist/{autoUpdate-WKW2OMIY.js → autoUpdate-ZGC4CJIP.js} +4 -4
- package/dist/{avatars-Q7U6CO4X.js → avatars-ALJTTP5M.js} +23 -25
- package/dist/{backgroundChecks-H2SOS2CM.js → backgroundChecks-3S6MXDFU.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-75OLVMZY.js → batchRender-HZIXQY4N.js} +7 -9
- package/dist/{beats-R4EHWWJN.js → beats-2XU7WVQU.js} +16 -18
- package/dist/{benchmark-F5OHG3Q3.js → benchmark-SBZQIKED.js} +27 -27
- package/dist/{billing-LBRSBVXQ.js → billing-2DFCEQSM.js} +21 -23
- package/dist/{browser-CNTCFZOG.js → browser-336OZKWA.js} +13 -15
- package/dist/{bundleWithLocalizedFonts-RVF7AFP5.js → bundleWithLocalizedFonts-DMW5VAFU.js} +1 -1
- package/dist/{capture-CTRZEZTC.js → capture-AD5PYZ2O.js} +10 -12
- package/dist/{capture-DLYM3V5F.js → capture-Z3LNLS32.js} +43 -41
- package/dist/{captureCompositionFrame-2O2HP6SK.js → captureCompositionFrame-2BVCI3V2.js} +22 -24
- package/dist/{captureFile-W7ZDDBCD.js → captureFile-Z7HQDRC2.js} +4 -5
- package/dist/{catalog-6XL63LU3.js → catalog-OKCKRILJ.js} +28 -30
- package/dist/{catch-up-AOFQWE6O.js → catch-up-MP2BCTZH.js} +15 -17
- package/dist/{check-5V7K4RL6.js → check-FYG4RBOV.js} +62 -63
- package/dist/{checkAudio-4YUTDQSQ.js → checkAudio-3RKJELTT.js} +18 -20
- package/dist/{checkBrowser-BAWRZZZU.js → checkBrowser-R3KY4UR5.js} +52 -53
- package/dist/{chunk-EGZQX3UX.js → chunk-2SPQTJA2.js} +24 -22
- package/dist/{chunk-2ARKMOCD.js → chunk-2XKRMQJP.js} +6 -6
- package/dist/{chunk-MHF5F4FF.js → chunk-3GF72UPC.js} +74 -15
- package/dist/chunk-3HJX4F2S.js +39 -0
- package/dist/{chunk-KYXH4JWF.js → chunk-3KKKIHBJ.js} +18 -17
- package/dist/{chunk-QC35TPEE.js → chunk-3O2FM72C.js} +6 -6
- package/dist/{chunk-WDMSNDHS.js → chunk-3SMQ3AKQ.js} +297 -115
- package/dist/{chunk-MVA4OQL7.js → chunk-4KEONZJ2.js} +1 -1
- package/dist/{chunk-O733DEVT.js → chunk-4ORH2OXS.js} +1 -1
- package/dist/{chunk-VPPKUCSP.js → chunk-4SDNEKTL.js} +2 -2
- package/dist/{chunk-AEXDJU77.js → chunk-4T45V6GF.js} +1 -1
- package/dist/{chunk-CIXP5G7Z.js → chunk-5GUYYSVT.js} +1 -1
- package/dist/{chunk-ZQIMO52O.js → chunk-5RCXJH5B.js} +59 -24
- package/dist/{chunk-TVWDS5AT.js → chunk-5T2LNQAH.js} +46 -18
- package/dist/{chunk-XZ6THYIK.js → chunk-5YY4SRBH.js} +5 -5
- package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
- package/dist/{chunk-5T6HPV25.js → chunk-63CSQYYO.js} +2 -2
- package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
- package/dist/{chunk-N6QWL3E7.js → chunk-6HHKHDMW.js} +2 -2
- package/dist/{chunk-Z2U7ELGP.js → chunk-6KU6TCSS.js} +2 -2
- package/dist/{chunk-PSREPOJ4.js → chunk-6PANJZEW.js} +18 -14
- package/dist/{chunk-YMKCJRVK.js → chunk-7AYDKU2X.js} +1 -1
- package/dist/{chunk-PMKWTXHE.js → chunk-7CSPYOLI.js} +2 -2
- package/dist/{chunk-KQHDFVFF.js → chunk-7F3NOYSK.js} +2 -2
- package/dist/{chunk-ZMLZRMG7.js → chunk-7NHID6VP.js} +2 -2
- package/dist/{chunk-BMTT2T7M.js → chunk-7NMH22SY.js} +5 -5
- package/dist/{chunk-RDWGNSVI.js → chunk-7YB4BDX7.js} +2 -2
- package/dist/{chunk-RAOGN2HG.js → chunk-A65Q5P62.js} +1 -1
- package/dist/{chunk-JQ7BPN2R.js → chunk-ABK44JS4.js} +3 -3
- package/dist/{chunk-DSCMYTKJ.js → chunk-AQFSYY23.js} +3 -3
- package/dist/{chunk-PLOCYJ5U.js → chunk-B5TLZC2D.js} +11 -4
- package/dist/{chunk-EUVU5JS4.js → chunk-BGIRYNAW.js} +38 -11
- package/dist/{chunk-URHIQHDR.js → chunk-BGV5YKSM.js} +14 -12
- package/dist/{chunk-QVHDAS3L.js → chunk-BJLC2UEQ.js} +4 -4
- package/dist/{chunk-QHVE6AFU.js → chunk-BJMW2GYO.js} +1 -1
- package/dist/{chunk-LSGJY2FG.js → chunk-CDPVVNNZ.js} +1 -1
- package/dist/{chunk-HXFGAI6L.js → chunk-CLRASDLH.js} +16 -16
- package/dist/{chunk-CAMD2NBN.js → chunk-CSMWC336.js} +2 -2
- package/dist/{chunk-WRSGWDDB.js → chunk-CZYQR7VM.js} +9 -9
- package/dist/chunk-D37I36FY.js +21 -0
- package/dist/{chunk-6LGB4MVX.js → chunk-DEWY2KX4.js} +1 -1
- package/dist/{chunk-OV5OSN74.js → chunk-DG4VSBM3.js} +3 -3
- package/dist/{chunk-L456Q4KU.js → chunk-DJCBHKQ5.js} +1 -1
- package/dist/{chunk-SGQKP2JT.js → chunk-DN4KUTQ5.js} +2 -2
- package/dist/{chunk-RHFB457E.js → chunk-DVUC244G.js} +3 -3
- package/dist/{chunk-7Q4EGB3N.js → chunk-E6WYYM6K.js} +1 -1
- package/dist/chunk-EJINQHA6.js +113 -0
- package/dist/{chunk-T5QI7ZL2.js → chunk-EPWGATQN.js} +5 -5
- package/dist/{chunk-VXRTE7MZ.js → chunk-ERYGKPIR.js} +1 -1
- package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
- package/dist/{chunk-L4MXZHRB.js → chunk-FA6TQ22Y.js} +3 -3
- package/dist/{chunk-JLMMY3UI.js → chunk-FAYFXXVF.js} +2 -2
- package/dist/{chunk-JUUOYXWH.js → chunk-FEURVA3G.js} +2 -2
- package/dist/{chunk-PHYFZXOS.js → chunk-FLJ4S7NA.js} +2 -2
- package/dist/{chunk-LZWG4GCC.js → chunk-GGSE4SO2.js} +55 -125
- package/dist/chunk-GJPT5Q6H.js +112 -0
- package/dist/{chunk-C3NDLM4S.js → chunk-GPZIE45V.js} +2 -2
- package/dist/{chunk-6UAYOSE7.js → chunk-GRBYYKYT.js} +9 -9
- package/dist/{chunk-GYJ7AJXN.js → chunk-H4HYZUE3.js} +1 -1
- package/dist/{chunk-7YRZBB4C.js → chunk-H7FGALE4.js} +1 -1
- package/dist/{chunk-FQ26QE5N.js → chunk-HAFE7SZR.js} +1 -1
- package/dist/{chunk-TIZC4XKU.js → chunk-HAMPVCRY.js} +2 -2
- package/dist/{chunk-POFQOZOF.js → chunk-HF2A733B.js} +490 -224
- package/dist/{chunk-3DFEBAWJ.js → chunk-HGVBKNLQ.js} +2 -2
- package/dist/{chunk-4STRMCGD.js → chunk-HHM2JZLH.js} +4 -4
- package/dist/{chunk-PYRM3OAI.js → chunk-HJTCWQGF.js} +11 -13
- package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
- package/dist/{chunk-SC7SX2I3.js → chunk-HMY3GUJN.js} +4 -4
- package/dist/{chunk-3RTZ2UX7.js → chunk-HS7YBLZS.js} +1 -1
- package/dist/{chunk-B653JKWT.js → chunk-HY6N5K6U.js} +4 -4
- package/dist/{chunk-WI3FM54X.js → chunk-HZMDLKRP.js} +3 -3
- package/dist/{chunk-6ATP7YPZ.js → chunk-IBU2BW4H.js} +9 -4
- package/dist/{chunk-I5H2FPNP.js → chunk-ICP22AQY.js} +1 -1
- package/dist/{chunk-ORKZUTZW.js → chunk-IOWECUEU.js} +1 -1
- package/dist/{chunk-RKIF4EU7.js → chunk-IS45C2EI.js} +14 -14
- package/dist/{chunk-SXCM6VY3.js → chunk-IU6AC3WL.js} +1 -1
- package/dist/{chunk-FGJUVWAM.js → chunk-J2MAI47E.js} +1 -1
- package/dist/{chunk-K33E3YNK.js → chunk-J43NNMIX.js} +10 -10
- package/dist/{chunk-FC77MYAD.js → chunk-J4YDHNAH.js} +1 -1
- package/dist/{chunk-QKHW5NXL.js → chunk-JDKLF3AG.js} +2 -2
- package/dist/{chunk-PCHUX7Y5.js → chunk-JU4ZWNU6.js} +2 -2
- package/dist/{chunk-2LJPBYKI.js → chunk-KDLMUU3E.js} +1 -1
- package/dist/{chunk-OPIS2YMA.js → chunk-KIWGMFXC.js} +6 -6
- package/dist/{chunk-ISSG4PUD.js → chunk-LGIWC6KN.js} +3 -3
- package/dist/{chunk-YXX6CIHL.js → chunk-LKHH4BUW.js} +12 -1
- package/dist/{chunk-PDT6CBK2.js → chunk-LNDOTF7B.js} +8 -3
- package/dist/{chunk-BTXYXM2A.js → chunk-LYGIKJBA.js} +17 -17
- package/dist/{chunk-K2WLOTTF.js → chunk-LYTELQL2.js} +2 -4
- package/dist/chunk-MCTQEI6H.js +170 -0
- package/dist/{chunk-XXJBWKDS.js → chunk-MHS3RUAQ.js} +17 -17
- package/dist/{chunk-H3TD4VKX.js → chunk-MJBBKSKB.js} +1 -1
- package/dist/{chunk-ODLSLYJR.js → chunk-MTCVUAUK.js} +2 -2
- package/dist/{chunk-FFL5R2EZ.js → chunk-N5EZRITN.js} +4 -4
- package/dist/{chunk-65X2G57W.js → chunk-NEZVFC34.js} +4 -4
- package/dist/{chunk-J4OHC5FU.js → chunk-NK2UW3WR.js} +1 -1
- package/dist/{chunk-763UG5II.js → chunk-OOVT26AC.js} +8 -8
- package/dist/{chunk-JT7RXK2N.js → chunk-OW6MOJSR.js} +1 -1
- package/dist/{chunk-4VJQVTQI.js → chunk-PAHTZDMZ.js} +1 -1
- package/dist/chunk-PET4B6IL.js +159 -0
- package/dist/{chunk-7XOORL2Q.js → chunk-PJ22RPTH.js} +10 -10
- package/dist/{chunk-I6OSAVHD.js → chunk-PLI7YT5S.js} +7 -11
- package/dist/{chunk-6VY52EVW.js → chunk-PQ2OPPGP.js} +7 -3
- package/dist/{chunk-KK5Z5XQ3.js → chunk-PTGNUVCB.js} +3 -0
- package/dist/{chunk-HTISHNLA.js → chunk-Q7IOMZ5X.js} +1 -1
- package/dist/{chunk-TNFTRLLJ.js → chunk-QOLZBRLN.js} +3 -3
- package/dist/{chunk-WQGDE3L6.js → chunk-QUYSLXNP.js} +1 -1
- package/dist/{chunk-6R4MEYWD.js → chunk-QY42NK3T.js} +2 -2
- package/dist/{chunk-CC72LTIT.js → chunk-R5HNUPI5.js} +259 -230
- package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
- package/dist/{chunk-J3H6QDDY.js → chunk-RF3DT4CS.js} +1 -1
- package/dist/{chunk-3QMGLSKC.js → chunk-RHHPEUVM.js} +2 -2
- package/dist/{chunk-UBNJWS2H.js → chunk-RQ4YNYWE.js} +3 -3
- package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
- package/dist/{chunk-XXOEYRD5.js → chunk-S4X7H76F.js} +2 -2
- package/dist/{chunk-VFGFXE6J.js → chunk-SDIQEPAR.js} +1 -1
- package/dist/{chunk-D44MBZI6.js → chunk-SFIUSS3O.js} +2 -2
- package/dist/{chunk-OF7SQ77J.js → chunk-SIQGTRZ5.js} +1 -1
- package/dist/{chunk-AQIHV4PM.js → chunk-SKQWXQ7H.js} +2 -2
- package/dist/{chunk-QJ2BV7FM.js → chunk-SOIOB7FF.js} +9 -9
- package/dist/{chunk-GMIFMRWR.js → chunk-T25ZHQR2.js} +6 -6
- package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
- package/dist/{chunk-HLOJSBGC.js → chunk-TTRX7NM3.js} +9 -9
- package/dist/chunk-TZ6M2LEV.js +5101 -0
- package/dist/{chunk-6K6RIX2A.js → chunk-U4KLJXI4.js} +21 -6
- package/dist/{chunk-7CI5MLCC.js → chunk-UOWDVL6M.js} +26 -11
- package/dist/{chunk-OYKAS3J5.js → chunk-V7Z2JQRL.js} +3 -3
- package/dist/{chunk-UNB2DFR2.js → chunk-VHDT4EME.js} +3 -3
- package/dist/{chunk-RX67N2PU.js → chunk-VM2VBJRC.js} +31 -2
- package/dist/{chunk-LTOUXR3X.js → chunk-VSCJ76AM.js} +73 -75
- package/dist/{chunk-WTZT6FSK.js → chunk-VSS3OAZB.js} +1 -1
- package/dist/{chunk-TJGGLLQJ.js → chunk-VWI7V4Q5.js} +35 -16
- package/dist/{chunk-SO7FT7YA.js → chunk-WMKIO4OA.js} +33 -32
- package/dist/{chunk-THGJTFYB.js → chunk-WTO3A7ET.js} +86 -6
- package/dist/{chunk-YBYNBKCN.js → chunk-WTS245RC.js} +2 -2
- package/dist/{chunk-ECGNWHFE.js → chunk-XBHPFWRL.js} +88 -2
- package/dist/{chunk-KGPHUBBA.js → chunk-XFGC5XLR.js} +1 -1
- package/dist/{chunk-R3ONQOLE.js → chunk-XGKNDIBT.js} +11 -11
- package/dist/{chunk-DCRHNRUY.js → chunk-XQQRCWS5.js} +5 -5
- package/dist/{chunk-XWV6BOCG.js → chunk-XQQZ2G25.js} +5 -5
- package/dist/{chunk-WKE3WTIU.js → chunk-YB2ZJJFJ.js} +1 -1
- package/dist/{chunk-ZIYYSD6S.js → chunk-YN6UGKZE.js} +79 -40
- package/dist/{chunk-TIBFCGLT.js → chunk-YSWORAKY.js} +1 -1
- package/dist/{chunk-HY7FPTBD.js → chunk-YWNQOM4P.js} +2 -2
- package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
- package/dist/chunk-Z3BPDCRV.js +537 -0
- package/dist/{chunk-HYXQR5I3.js → chunk-Z55ASKZE.js} +1 -1
- package/dist/{chunk-4QSDXDLV.js → chunk-ZM3GP62D.js} +3 -3
- package/dist/{chunk-ELDZ6C3R.js → chunk-ZYODIJRG.js} +7 -3
- package/dist/{clean-Z5REUSNY.js → clean-QXAUIYBP.js} +36 -37
- package/dist/cli.js +74 -75
- package/dist/{cloud-QP5R6B6A.js → cloud-46NGVK4Q.js} +8 -9
- package/dist/{cloud-NJ7G3NF3.js → cloud-7B4YZT5U.js} +4 -4
- package/dist/{cloudrun-CPAZLNTW.js → cloudrun-CZGDPM57.js} +19 -12
- package/dist/{compare-T5CHD25P.js → compare-O2UN7HGD.js} +70 -92
- package/dist/{compiler-QVDXN4OS.js → compiler-ZGIAIJVE.js} +7 -9
- package/dist/{component-QMZ46KTE.js → component-ZIGH3VGE.js} +8 -10
- package/dist/{compositions-JHYYNBAK.js → compositions-W54S4VIU.js} +21 -23
- package/dist/{contactSheet-7SPGUTDV.js → contactSheet-ROUVWDRO.js} +5 -6
- package/dist/{curve-ON6QQY7T.js → curve-HBHRWPIE.js} +20 -22
- package/dist/{cuts-K4FOVP4E.js → cuts-YHNO7A5G.js} +21 -23
- package/dist/{delete-6WFQ3FC2.js → delete-WIW3WLKA.js} +26 -15
- package/dist/{deploy-UAZQ5PBA.js → deploy-ICQ2PLU5.js} +12 -13
- package/dist/{describeProject-7W6BN5A2.js → describeProject-OCXNHB5X.js} +15 -17
- package/dist/{destroy-4B4OVPHJ.js → destroy-UBSVUXYW.js} +12 -13
- package/dist/{deterministicFonts-VLIVGXUQ.js → deterministicFonts-JER4GPCM.js} +4 -5
- package/dist/{diff-ZSA37QQS.js → diff-43OCC2Y3.js} +57 -54
- package/dist/{dist-ACT5C6ME.js → dist-6EF2P3P7.js} +4 -4
- package/dist/{dist-VRYZIJFZ.js → dist-A65PCIEN.js} +5 -8
- package/dist/{dist-2O52E7QZ.js → dist-DRHXUWGQ.js} +25 -21
- package/dist/{doctor-RXQ2Y2YY.js → doctor-XVOTWU62.js} +23 -25
- package/dist/{dotEnv-RZ52L7X3.js → dotEnv-MWWLCN66.js} +11 -3
- package/dist/{energy-DRA3DCRO.js → energy-SGA245NF.js} +21 -23
- package/dist/{events-4SNBQE3M.js → events-6HPYERWI.js} +23 -25
- package/dist/{events-GA3YM3WT.js → events-LIZCRDAT.js} +5 -5
- package/dist/{events-AJNF2C3H.js → events-MMXXYK5J.js} +10 -12
- package/dist/{execute-6LTZRWE4.js → execute-3346FOCY.js} +49 -46
- package/dist/{extract-XZQN654B.js → extract-VDV6EY5E.js} +21 -23
- package/dist/{face-RKUNVSN3.js → face-EGKO7HYX.js} +22 -24
- package/dist/{feedback-AL7NPPMZ.js → feedback-KEX6YIDA.js} +62 -38
- package/dist/{ffmpeg-BEL7EZBA.js → ffmpeg-OIAPERTW.js} +14 -16
- package/dist/{figma-IZ3NH2KZ.js → figma-KANAV6Q6.js} +3 -3
- package/dist/fontLocalizeCli.js +26 -27
- package/dist/{frames-AYE53CSZ.js → frames-XBQNOQBU.js} +23 -25
- package/dist/{generate-BZ4EVVQI.js → generate-P4E5UIEY.js} +37 -39
- package/dist/{get-2GG4NSOK.js → get-R2FJMNJK.js} +26 -15
- package/dist/{gpuPolicy-W2ZGBXNG.js → gpuPolicy-AISTDFL2.js} +14 -16
- package/dist/{grade-compare-65NWHVXK.js → grade-compare-CE4RUMFU.js} +50 -51
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-MRQ4KKDF.js → heifImagePrep-UQUW2OVF.js} +21 -22
- package/dist/{help-TEQWNNPI.js → help-SK6PGYI2.js} +1 -1
- package/dist/{history-MVNPETRW.js → history-DM5H55WQ.js} +23 -25
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-NGNTHWYX.js → info-UBGKJ5XD.js} +23 -25
- package/dist/{init-H7SUGVZX.js → init-SGBCTXCE.js} +41 -43
- package/dist/{ink-CPZ4YZFM.js → ink-NWXEZQPJ.js} +21 -23
- package/dist/{inspect-GZBQ7XN7.js → inspect-B7VENILS.js} +53 -54
- package/dist/{installer-ZTHYVK4L.js → installer-GR5X6HMD.js} +8 -10
- package/dist/{keyframes-B52LQUOI.js → keyframes-VZSC75GL.js} +77 -28
- package/dist/{lambda-SZDQJMKA.js → lambda-KCTB2LV5.js} +32 -26
- package/dist/{layout-BOUOG2D2.js → layout-3HSW3SNT.js} +53 -54
- package/dist/{lint-H4OWI5JN.js → lint-Q6NRDYLG.js} +18 -20
- package/dist/{lintProject-P4EAXFU2.js → lintProject-N3UN6HEE.js} +4 -4
- package/dist/{list-VNEYACGL.js → list-5TAZKTS2.js} +27 -16
- package/dist/{localPage-ZP7WVA2N.js → localPage-X22Z5SDE.js} +15 -17
- package/dist/{login-RUDOUO5Z.js → login-TIPDZQXX.js} +6 -6
- package/dist/{logout-5ZO6ZNS3.js → logout-KQ7VU5M6.js} +2 -2
- package/dist/{look-G3NVPKXZ.js → look-VODDQOS6.js} +21 -23
- package/dist/{manager-NXH2NJC6.js → manager-B5HWXCKJ.js} +16 -18
- package/dist/{manager-KWNID2ZA.js → manager-C5S25OOK.js} +5 -5
- package/dist/{measure-5PVIZ2W2.js → measure-EPD4JLR7.js} +11 -11
- package/dist/{media-treatment-T5QJI4PQ.js → media-treatment-ZLWCSYMP.js} +29 -29
- package/dist/{media-use-RTN3SMVY.js → media-use-HELWSEKT.js} +12 -8
- package/dist/{models-J2CJ7EVX.js → models-OKVD2GZS.js} +20 -22
- package/dist/{motionShot-HU7P26WJ.js → motionShot-6HJBMGBW.js} +28 -30
- package/dist/{normalize-44E7R6T5.js → normalize-TBACWMEK.js} +4 -5
- package/dist/{normalize-audio-2YFTP2T6.js → normalize-audio-PKUJQYZZ.js} +20 -21
- package/dist/{open-RSCNUV6E.js → open-ZOXZI6MJ.js} +26 -28
- package/dist/{parakeetRunner-BUY25EIR.js → parakeetRunner-I3TPZNMG.js} +24 -26
- package/dist/{pipeline-A4RL5R5P.js → pipeline-IGYBW7NA.js} +20 -20
- package/dist/{plan-7WYNPILA.js → plan-K2WUQRA2.js} +31 -33
- package/dist/{play-UKHFNMYZ.js → play-QRRL526W.js} +47 -45
- package/dist/{preflight-2VFCT3PI.js → preflight-KTYLNVCB.js} +17 -19
- package/dist/{present-ZUGFCQOF.js → present-EX2TKGXD.js} +39 -40
- package/dist/{preview-BT2ZFYMC.js → preview-FXMD27D6.js} +50 -50
- package/dist/privateProjectFile-TTLLYWGC.js +65 -0
- package/dist/{probe-2CLEK2UT.js → probe-2QG66GKK.js} +21 -23
- package/dist/{producer-HCAMS55D.js → producer-QH7A62IS.js} +1 -1
- package/dist/{progress-5A4N7PTR.js → progress-PT3NAFVP.js} +5 -6
- package/dist/{projectConfig-2KJ2PXIM.js → projectConfig-ZX2IUY45.js} +11 -13
- package/dist/{publication-AR63EGJF.js → publication-SKR5UXQK.js} +6 -8
- package/dist/{publish-EGKYOJWV.js → publish-X2PMT5TT.js} +63 -42
- package/dist/receivedRecordFollow-K7DVCCUS.js +54 -0
- package/dist/{refresh-GYRLZ7DZ.js → refresh-CYSJHATJ.js} +2 -2
- package/dist/{remove-background-IQQPMM24.js → remove-background-5FVNHD45.js} +21 -21
- package/dist/{render-ROJ5X53T.js → render-CJDV7E5M.js} +128 -87
- package/dist/{render-HJRMJYTA.js → render-GPXJCWM4.js} +12 -13
- package/dist/{render-YNSZYEEK.js → render-KAABP77Y.js} +141 -114
- package/dist/{render-batch-MXYDIHRO.js → render-batch-JYPH5RA7.js} +12 -13
- package/dist/renderSetupWorker.js +9 -9
- package/dist/{resolver-SPLAVF76.js → resolver-NXCI42VM.js} +8 -10
- package/dist/{reverse-CE6OGBB7.js → reverse-TQTVHTEN.js} +1 -1
- package/dist/{run-YVNJJL26.js → run-3O3N737Q.js} +11 -12
- package/dist/{sam-2D3BUTL7.js → sam-O7Y2CCK3.js} +4 -4
- package/dist/{screenshotCapture-DRO7VMNI.js → screenshotCapture-V6VXB4AZ.js} +17 -19
- package/dist/{service-K65JYG4O.js → service-HBLZ3T4R.js} +22 -24
- package/dist/{share-CSVWF6SB.js → share-QBLF3RGF.js} +26 -28
- package/dist/{sherpa-JE6AFUEV.js → sherpa-UZXWHCV4.js} +23 -25
- package/dist/sherpaWorker.js +6 -7
- package/dist/{sites-QCGTWVNF.js → sites-R5F5FNAL.js} +6 -6
- package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
- package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +6 -6
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
- package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
- package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
- package/dist/skills/media-use/scripts/resolve.mjs +21 -15
- package/dist/{skills-L3BXM7VJ.js → skills-HVIJD32X.js} +15 -17
- package/dist/{skillsUpdateCheck-VUENI5OR.js → skillsUpdateCheck-DD2NM36O.js} +5 -5
- package/dist/{snapshot-GI2GWIF6.js → snapshot-JKKROVMI.js} +97 -84
- package/dist/{src-ZXZO5RCJ.js → src-BBT6W66H.js} +29 -30
- package/dist/{src-B646B52O.js → src-IQKTGPPV.js} +17 -19
- package/dist/{start-ZNGKXRNE.js → start-A4KULXY2.js} +43 -37
- package/dist/{state-7CJBWHXJ.js → state-5LE7AN6F.js} +5 -6
- package/dist/{staticProjectServer-46T6YTPF.js → staticProjectServer-WH2SJFSD.js} +33 -34
- package/dist/{status-7SWTPLVI.js → status-ZL2XQWMR.js} +23 -25
- package/dist/studio/assets/{hyperframes-player-bya4hgms.js → hyperframes-player-CUQxAJaE.js} +1 -1
- package/dist/studio/assets/{index--dcfSUzI.js → index-D3rdYBVx.js} +1 -1
- package/dist/studio/assets/{index-Bxh5lW0C.js → index-DSrTQv-k.js} +204 -204
- package/dist/studio/assets/{pausedVideoDecoder-BKym1jA6.js → pausedVideoDecoder-BWllfjF-.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-4XKM5HDR.js → studio-api-FNZ62P67.js} +25 -21
- package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
- package/dist/{studioServer-4TWRIZNU.js → studioServer-BBVHB7A6.js} +260 -117
- package/dist/subCompositionWorker.js +60 -54
- package/dist/{sync-R3K6LYB3.js → sync-UW6N6ORX.js} +21 -23
- package/dist/{synthesize-OZ3SJTOF.js → synthesize-NGU4DRKC.js} +10 -9
- package/dist/{system-LZ4PMOJD.js → system-PKL4Y4MX.js} +3 -3
- package/dist/{telemetry-WSBY25O3.js → telemetry-OJ2XS46A.js} +10 -12
- package/dist/{templates-ITP6ISAF.js → templates-GH4ZOTLA.js} +24 -26
- package/dist/{timeline-U7GJMYKV.js → timeline-MABFMT2U.js} +36 -37
- package/dist/{tokens-3YTSUU27.js → tokens-XE3K3AJF.js} +15 -5
- package/dist/{transcribe-QHHY5M3G.js → transcribe-IRYGXKOQ.js} +44 -46
- package/dist/{transcribe-ISCBYWN4.js → transcribe-TV5THKEM.js} +20 -22
- package/dist/{tts-24IJXIT2.js → tts-HRWZJFLJ.js} +20 -4
- package/dist/{update-SVEH2GOL.js → update-BLVL5JMT.js} +17 -19
- package/dist/{updateCheck-MDG7N7VO.js → updateCheck-5QADMRBP.js} +4 -4
- package/dist/{upgrade-6CGAI4OR.js → upgrade-CBB7FP3D.js} +8 -9
- package/dist/{urlDownloader-VPQTIGEH.js → urlDownloader-ZJ423NLB.js} +13 -15
- package/dist/{validate-QUB4KCEQ.js → validate-PASIFGBU.js} +41 -42
- package/dist/{video-PUGZ5UHS.js → video-3MS2DCXZ.js} +17 -19
- package/dist/{voices-4UO5AYLS.js → voices-TXV5K5WI.js} +34 -36
- package/dist/warmCheck.js +62 -63
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-6VY6WTY5.js +0 -279
- package/dist/chunk-NI7JVGOE.js +0 -5083
- package/dist/chunk-NLN5NY3P.js +0 -34
- package/dist/chunk-UVZIABYZ.js +0 -40
- package/dist/chunk-VC76R6W2.js +0 -27
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
windowsLocalAppData
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6KU6TCSS.js";
|
|
10
10
|
import {
|
|
11
11
|
MAX_PORT_SCAN,
|
|
12
12
|
PreviewServerPortMismatchError,
|
|
13
13
|
activeServerOnPort,
|
|
14
14
|
scanActiveServers
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-62UUXB3F.js";
|
|
16
16
|
import {
|
|
17
17
|
isProcessDescendant,
|
|
18
18
|
processIdentity
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findTrustedExecutable
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VM2VBJRC.js";
|
|
10
10
|
|
|
11
11
|
// ../engine/src/services/systemMemory.ts
|
|
12
12
|
import { execFileSync } from "child_process";
|
|
@@ -13,36 +13,36 @@ import {
|
|
|
13
13
|
rewriteHtmlAttributes,
|
|
14
14
|
rewriteStyleBlocks,
|
|
15
15
|
stagedSize
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YN6UGKZE.js";
|
|
17
17
|
import {
|
|
18
18
|
probeAudio
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NK2UW3WR.js";
|
|
20
20
|
import {
|
|
21
21
|
findFFmpeg,
|
|
22
22
|
findFFprobe,
|
|
23
23
|
getFFmpegInstallHint
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QY42NK3T.js";
|
|
25
25
|
import {
|
|
26
26
|
runWithConcurrencyLimit
|
|
27
27
|
} from "./chunk-XFF4XJZO.js";
|
|
28
28
|
import {
|
|
29
29
|
formatBytes
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PQ2OPPGP.js";
|
|
31
31
|
import {
|
|
32
32
|
AUDIO_EXTS,
|
|
33
33
|
CONVERTIBLE_IMAGE_EXTS,
|
|
34
|
-
MEDIA_INPUT_ARGS,
|
|
35
34
|
VIDEO_EXTS,
|
|
35
|
+
mediaInputArgs,
|
|
36
36
|
startsAsMediaPlaylist
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TRQDC2UC.js";
|
|
38
38
|
import {
|
|
39
39
|
parseAnimatedGifMetadata
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-BJMW2GYO.js";
|
|
41
41
|
import {
|
|
42
42
|
cleanAssetUrl,
|
|
43
43
|
isRemoteOrInlineUrl,
|
|
44
44
|
resolveLocalAssetCandidates
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-S35RUNXJ.js";
|
|
46
46
|
import {
|
|
47
47
|
readAuthoredDurationSeconds,
|
|
48
48
|
readMediaOffsetSeconds,
|
|
@@ -55,9 +55,12 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
hyperframesCacheDir
|
|
57
57
|
} from "./chunk-KUJJJBV2.js";
|
|
58
|
+
import {
|
|
59
|
+
followFfmpegProgress
|
|
60
|
+
} from "./chunk-VM2VBJRC.js";
|
|
58
61
|
|
|
59
62
|
// src/cloud/offload.ts
|
|
60
|
-
import { execFile } from "child_process";
|
|
63
|
+
import { execFile, spawn } from "child_process";
|
|
61
64
|
import { createHash } from "crypto";
|
|
62
65
|
import {
|
|
63
66
|
closeSync,
|
|
@@ -186,6 +189,7 @@ var OFFLOAD_MIN_BYTES = 5 * 1024 * 1024;
|
|
|
186
189
|
var OFFLOAD_CONCURRENCY = 8;
|
|
187
190
|
var MiB = 1024 * 1024;
|
|
188
191
|
var AUDIO_MAX_BYTES = 15e8;
|
|
192
|
+
var CACHE_CHECK_TIMEOUT_MS = 1e4;
|
|
189
193
|
var ACCEPTED = {
|
|
190
194
|
".mp4": { contentType: "video/mp4", maxBytes: 200 * MiB },
|
|
191
195
|
".m4v": { contentType: "video/mp4", maxBytes: 200 * MiB },
|
|
@@ -247,11 +251,15 @@ function writeCache(path, cache) {
|
|
|
247
251
|
renameSync(tmp, path);
|
|
248
252
|
}
|
|
249
253
|
async function stillServed(entry, fetchImpl) {
|
|
254
|
+
const controller = new AbortController();
|
|
255
|
+
const timer = setTimeout(() => controller.abort(), CACHE_CHECK_TIMEOUT_MS);
|
|
250
256
|
try {
|
|
251
|
-
const res = await fetchImpl(entry.url, { method: "HEAD" });
|
|
257
|
+
const res = await fetchImpl(entry.url, { method: "HEAD", signal: controller.signal });
|
|
252
258
|
return res.ok && Number(res.headers.get("content-length")) === entry.size_bytes;
|
|
253
259
|
} catch {
|
|
254
260
|
return false;
|
|
261
|
+
} finally {
|
|
262
|
+
clearTimeout(timer);
|
|
255
263
|
}
|
|
256
264
|
}
|
|
257
265
|
function mediaKind(path) {
|
|
@@ -274,7 +282,7 @@ async function probeVideo(path) {
|
|
|
274
282
|
"stream=codec_name,pix_fmt,color_primaries,color_transfer,color_space:stream_tags",
|
|
275
283
|
"-of",
|
|
276
284
|
"json",
|
|
277
|
-
...
|
|
285
|
+
...mediaInputArgs(path),
|
|
278
286
|
"--",
|
|
279
287
|
path
|
|
280
288
|
]);
|
|
@@ -311,13 +319,13 @@ function hdrColorArgs({ color }) {
|
|
|
311
319
|
}
|
|
312
320
|
var seconds = (t) => (Math.floor(t * 1e6) / 1e6).toFixed(6);
|
|
313
321
|
async function segmentArgs(sourcePath, decoder, segments, media) {
|
|
314
|
-
if (media === "image") return [...decoder, ...
|
|
322
|
+
if (media === "image") return [...decoder, ...mediaInputArgs(sourcePath), "-i", sourcePath];
|
|
315
323
|
const audio = await keptAudio(sourcePath, media);
|
|
316
324
|
const cuts = segments?.length ? segments : [void 0];
|
|
317
325
|
const inputs = cuts.flatMap((s) => [
|
|
318
326
|
...decoder,
|
|
319
327
|
...seekArgs(s),
|
|
320
|
-
...
|
|
328
|
+
...mediaInputArgs(sourcePath),
|
|
321
329
|
"-i",
|
|
322
330
|
sourcePath
|
|
323
331
|
]);
|
|
@@ -328,7 +336,7 @@ async function segmentArgs(sourcePath, decoder, segments, media) {
|
|
|
328
336
|
];
|
|
329
337
|
}
|
|
330
338
|
async function keptAudio(sourcePath, media) {
|
|
331
|
-
const audio = (await probeAudio(sourcePath,
|
|
339
|
+
const audio = (await probeAudio(sourcePath, mediaInputArgs(sourcePath)))?.audioStream ?? null;
|
|
332
340
|
if (media === "audio" && audio === null) {
|
|
333
341
|
throw new Error("the file has no audio track ffmpeg can decode");
|
|
334
342
|
}
|
|
@@ -373,7 +381,7 @@ async function durationSeconds(sourcePath) {
|
|
|
373
381
|
"format=duration",
|
|
374
382
|
"-of",
|
|
375
383
|
"csv=p=0",
|
|
376
|
-
...
|
|
384
|
+
...mediaInputArgs(sourcePath),
|
|
377
385
|
"--",
|
|
378
386
|
sourcePath
|
|
379
387
|
]);
|
|
@@ -382,9 +390,10 @@ async function durationSeconds(sourcePath) {
|
|
|
382
390
|
}
|
|
383
391
|
var capOf = (presetName) => ACCEPTED[REENCODE_PRESETS[presetName].ext]?.maxBytes ?? 0;
|
|
384
392
|
var playedSeconds = (segments) => segments.reduce((sum, s) => sum + s.end - s.start, 0);
|
|
393
|
+
var outputSeconds = (sourcePath, segments) => segments?.length ? Promise.resolve(playedSeconds(segments)) : durationSeconds(sourcePath);
|
|
385
394
|
async function limitFor(sourcePath, presetName, segments, maxBytes = capOf(presetName)) {
|
|
386
395
|
if (mediaOf(presetName) !== "video") return [];
|
|
387
|
-
const seconds2 =
|
|
396
|
+
const seconds2 = await outputSeconds(sourcePath, segments);
|
|
388
397
|
const limit = sizeLimitArgs({
|
|
389
398
|
maxBytes,
|
|
390
399
|
seconds: seconds2 ?? 0,
|
|
@@ -392,17 +401,37 @@ async function limitFor(sourcePath, presetName, segments, maxBytes = capOf(prese
|
|
|
392
401
|
});
|
|
393
402
|
return presetName === "alphaVideo" && limit.length ? [...limit, "-b:v", limit[1]] : limit;
|
|
394
403
|
}
|
|
395
|
-
|
|
404
|
+
function runFfmpeg(ffmpeg, args, onSeconds) {
|
|
405
|
+
return new Promise((resolve2, reject) => {
|
|
406
|
+
const proc = spawn(ffmpeg, ["-progress", "pipe:1", "-nostats", ...args], {
|
|
407
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
408
|
+
windowsHide: true
|
|
409
|
+
});
|
|
410
|
+
followFfmpegProgress(proc.stdout, onSeconds);
|
|
411
|
+
let stderr = "";
|
|
412
|
+
proc.stderr.on("data", (chunk) => {
|
|
413
|
+
stderr = (stderr + chunk.toString()).slice(-16384);
|
|
414
|
+
});
|
|
415
|
+
proc.on("error", reject);
|
|
416
|
+
proc.on("close", (code, signal) => {
|
|
417
|
+
if (code === 0) return resolve2();
|
|
418
|
+
const ended = signal ? `was ended by ${signal}` : `exited with code ${code}`;
|
|
419
|
+
reject(new Error(`ffmpeg ${ended}: ${stderr.trim()}`));
|
|
420
|
+
});
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
async function ffmpegReencode(sourcePath, presetName, segments, onProgress) {
|
|
396
424
|
const ffmpeg = findFFmpeg();
|
|
397
425
|
if (!ffmpeg) throw new Error(`Re-encoding needs ffmpeg. Install it: ${getFFmpegInstallHint()}`);
|
|
398
426
|
const preset = REENCODE_PRESETS[presetName];
|
|
399
427
|
const probe = preset.contentType.startsWith("video/") ? await probeVideo(sourcePath) : void 0;
|
|
400
428
|
const decoder = probe ? alphaDecoderArgs(probe) : [];
|
|
401
429
|
const color = presetName === "hdrVideo" && probe ? hdrColorArgs(probe) : [];
|
|
430
|
+
const totalSeconds = onProgress ? await outputSeconds(sourcePath, segments) : null;
|
|
402
431
|
const workDir = mkdtempSync(join(tmpdir(), "hf-offload-"));
|
|
403
432
|
const outPath = join(workDir, `${basename2(sourcePath, extname(sourcePath))}${preset.ext}`);
|
|
404
433
|
try {
|
|
405
|
-
await
|
|
434
|
+
await runFfmpeg(
|
|
406
435
|
ffmpeg,
|
|
407
436
|
[
|
|
408
437
|
"-v",
|
|
@@ -415,7 +444,7 @@ async function ffmpegReencode(sourcePath, presetName, segments) {
|
|
|
415
444
|
...preset.audio,
|
|
416
445
|
outPath
|
|
417
446
|
],
|
|
418
|
-
|
|
447
|
+
(doneSeconds) => onProgress?.(doneSeconds, totalSeconds)
|
|
419
448
|
);
|
|
420
449
|
return {
|
|
421
450
|
bytes: readChecked(outPath, ({ size }) => assertFitsAsset(sourcePath, outPath, size)),
|
|
@@ -446,7 +475,7 @@ async function isAnimatedImage(path) {
|
|
|
446
475
|
"stream=nb_frames",
|
|
447
476
|
"-of",
|
|
448
477
|
"csv=p=0",
|
|
449
|
-
...
|
|
478
|
+
...mediaInputArgs(path),
|
|
450
479
|
"--",
|
|
451
480
|
path
|
|
452
481
|
]);
|
|
@@ -469,7 +498,7 @@ async function trimGrid(sourcePath, kind) {
|
|
|
469
498
|
"stream=r_frame_rate,avg_frame_rate",
|
|
470
499
|
"-of",
|
|
471
500
|
"csv=p=0",
|
|
472
|
-
...
|
|
501
|
+
...mediaInputArgs(sourcePath),
|
|
473
502
|
"--",
|
|
474
503
|
sourcePath
|
|
475
504
|
]);
|
|
@@ -494,7 +523,7 @@ async function hasVideoStream(sourcePath) {
|
|
|
494
523
|
"stream=codec_type",
|
|
495
524
|
"-of",
|
|
496
525
|
"csv=p=0",
|
|
497
|
-
...
|
|
526
|
+
...mediaInputArgs(sourcePath),
|
|
498
527
|
"--",
|
|
499
528
|
sourcePath
|
|
500
529
|
]);
|
|
@@ -648,7 +677,13 @@ async function uploadPlanned(ctx, upload, path, staged, plan) {
|
|
|
648
677
|
}
|
|
649
678
|
async function uploadOnce(ctx, upload, path, staged, plan) {
|
|
650
679
|
const filename = basename2(path);
|
|
651
|
-
const
|
|
680
|
+
const report = ctx.opts.onReencodeProgress;
|
|
681
|
+
const file = plan.preset ? await ctx.reencoder.run(
|
|
682
|
+
plan.sourcePath,
|
|
683
|
+
plan.preset,
|
|
684
|
+
plan.segments,
|
|
685
|
+
report && ((doneSeconds, totalSeconds) => report({ path, doneSeconds, totalSeconds }))
|
|
686
|
+
) : Buffer.isBuffer(staged) ? { bytes: staged, filename, contentType: plan.contentType } : { path: staged.absPath, size: staged.size, filename, contentType: plan.contentType };
|
|
652
687
|
if (plan.preset && !Buffer.isBuffer(staged)) assertUnchanged(staged);
|
|
653
688
|
const size = "bytes" in file ? file.bytes.byteLength : file.size;
|
|
654
689
|
assertFitsAsset(path, file.filename, size);
|
|
@@ -667,7 +702,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
667
702
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
668
703
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
669
704
|
if (!sourceAssets) return;
|
|
670
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
705
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-BBT6W66H.js")).prepareAnimatedGifInputs;
|
|
671
706
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
672
707
|
ctx.tempFiles.push(outputDir);
|
|
673
708
|
const result = await prep(html, {
|
|
@@ -5,13 +5,14 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
isWritableInProject,
|
|
8
9
|
mkdirOwnedWithinProject,
|
|
9
10
|
pinProjectRecord,
|
|
10
11
|
realFilePath
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WTO3A7ET.js";
|
|
12
13
|
import {
|
|
13
14
|
isProjectIgnoredDir
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-F6PI5O3H.js";
|
|
15
16
|
import {
|
|
16
17
|
atomicTempPath,
|
|
17
18
|
cannotHardLink,
|
|
@@ -20,23 +21,23 @@ import {
|
|
|
20
21
|
refuseReadOnly,
|
|
21
22
|
renameWithRetryAsync,
|
|
22
23
|
replaceFileAtomically
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LYTELQL2.js";
|
|
24
25
|
import {
|
|
25
26
|
isSafePath,
|
|
26
27
|
realProjectRoot,
|
|
27
28
|
realpath
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3GF72UPC.js";
|
|
29
30
|
import {
|
|
30
31
|
namesAnotherNetworkRoot
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-S35RUNXJ.js";
|
|
32
33
|
import {
|
|
33
34
|
isStudioPrivatePath
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PTGNUVCB.js";
|
|
35
36
|
import {
|
|
36
37
|
hyperframesCacheDir
|
|
37
38
|
} from "./chunk-KUJJJBV2.js";
|
|
38
39
|
|
|
39
|
-
// ../studio-server/dist/chunk-
|
|
40
|
+
// ../studio-server/dist/chunk-ALDXTRE6.js
|
|
40
41
|
import { spawnSync } from "child_process";
|
|
41
42
|
import { randomUUID } from "crypto";
|
|
42
43
|
import {
|
|
@@ -655,7 +656,7 @@ async function stopServingAndClose(path) {
|
|
|
655
656
|
);
|
|
656
657
|
}
|
|
657
658
|
|
|
658
|
-
// ../studio-server/dist/chunk-
|
|
659
|
+
// ../studio-server/dist/chunk-YBAMOQND.js
|
|
659
660
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
660
661
|
import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile as writeFile2 } from "fs/promises";
|
|
661
662
|
import {
|
|
@@ -2116,6 +2117,20 @@ function chainBackFrom(byAfter, hash) {
|
|
|
2116
2117
|
}
|
|
2117
2118
|
return chain;
|
|
2118
2119
|
}
|
|
2120
|
+
var SEEN_PER_PATH = 32;
|
|
2121
|
+
var SeenVersions = class extends Map {
|
|
2122
|
+
note(path, hash) {
|
|
2123
|
+
const hashes = this.get(path) ?? /* @__PURE__ */ new Set();
|
|
2124
|
+
hashes.delete(hash);
|
|
2125
|
+
hashes.add(hash);
|
|
2126
|
+
const oldest = hashes.values().next().value;
|
|
2127
|
+
if (hashes.size > SEEN_PER_PATH && oldest !== void 0) hashes.delete(oldest);
|
|
2128
|
+
this.set(path, hashes);
|
|
2129
|
+
}
|
|
2130
|
+
sawAt(path, hash) {
|
|
2131
|
+
return hash && this.get(path)?.has(hash) ? hash : void 0;
|
|
2132
|
+
}
|
|
2133
|
+
};
|
|
2119
2134
|
function addChange(group, path, before, after) {
|
|
2120
2135
|
const earlier = group.changes.get(path);
|
|
2121
2136
|
const from = earlier ? earlier.before : before;
|
|
@@ -2132,13 +2147,16 @@ function keepTargetsOfItsFiles(entry) {
|
|
|
2132
2147
|
return entry;
|
|
2133
2148
|
}
|
|
2134
2149
|
var TrackedFiles = class extends Map {
|
|
2135
|
-
constructor(changed) {
|
|
2150
|
+
constructor(changed, seen) {
|
|
2136
2151
|
super();
|
|
2137
2152
|
this.changed = changed;
|
|
2153
|
+
this.seen = seen;
|
|
2138
2154
|
}
|
|
2139
2155
|
changed;
|
|
2156
|
+
seen;
|
|
2140
2157
|
set(path, file) {
|
|
2141
2158
|
this.changed();
|
|
2159
|
+
this.seen(path, file.hash);
|
|
2142
2160
|
return super.set(path, file);
|
|
2143
2161
|
}
|
|
2144
2162
|
delete(path) {
|
|
@@ -2168,7 +2186,11 @@ var Engine = class {
|
|
|
2168
2186
|
home;
|
|
2169
2187
|
log = { baseline: /* @__PURE__ */ new Map(), entries: [], pins: /* @__PURE__ */ new Set() };
|
|
2170
2188
|
owesVideoState = true;
|
|
2171
|
-
|
|
2189
|
+
seen = new SeenVersions();
|
|
2190
|
+
tracked = new TrackedFiles(
|
|
2191
|
+
() => this.owesVideoState = true,
|
|
2192
|
+
(path, hash) => this.seen.note(path, hash)
|
|
2193
|
+
);
|
|
2172
2194
|
windows = [];
|
|
2173
2195
|
outside = null;
|
|
2174
2196
|
/** A coalescing claim, open until another key, its idle timer, an operation, a window, or another write. */
|
|
@@ -2284,6 +2306,8 @@ var Engine = class {
|
|
|
2284
2306
|
if (!replaced || replaced === after) return;
|
|
2285
2307
|
const path = relative3(realDir, absPath).split(sep3).join("/");
|
|
2286
2308
|
if (!isHistoryPath(path)) return;
|
|
2309
|
+
this.seen.note(path, replaced);
|
|
2310
|
+
this.seen.note(path, after);
|
|
2287
2311
|
this.overwritten.set(
|
|
2288
2312
|
path,
|
|
2289
2313
|
chainBackFrom(this.overwritten.get(path), replaced).set(after, replaced)
|
|
@@ -2582,17 +2606,18 @@ var Engine = class {
|
|
|
2582
2606
|
const untouched = (change) => takenPaths.has(change.path) || (this.tracked.get(change.path)?.hash ?? null) === change.after;
|
|
2583
2607
|
return group && taken.every((change) => after(change.path, change.before) === change.before) && [...group.changes.values()].every(untouched) ? group : null;
|
|
2584
2608
|
}
|
|
2609
|
+
studioWouldWrite = (path) => isWritableInProject(this.dir, path);
|
|
2585
2610
|
logPath(path) {
|
|
2586
2611
|
return relative3(this.dir, resolve5(this.dir, path)).split(sep3).join("/");
|
|
2587
2612
|
}
|
|
2588
2613
|
/** Takes `paths`' uncommitted changes from others, cut at what `who` overwrote. */
|
|
2589
2614
|
async takeClaimed(who, paths, overwrote) {
|
|
2590
|
-
const wanted = new Set(paths.map((path) => this.logPath(path)));
|
|
2615
|
+
const wanted = new Set(paths.map((path) => this.logPath(path)).filter(this.studioWouldWrite));
|
|
2591
2616
|
const at = new Map(
|
|
2592
|
-
Object.entries(overwrote).map(([path, version]) =>
|
|
2593
|
-
this.logPath(path)
|
|
2594
|
-
hashOfVersion(version)
|
|
2595
|
-
|
|
2617
|
+
Object.entries(overwrote).map(([path, version]) => {
|
|
2618
|
+
const logPath = this.logPath(path);
|
|
2619
|
+
return [logPath, this.seen.sawAt(logPath, hashOfVersion(version))];
|
|
2620
|
+
})
|
|
2596
2621
|
);
|
|
2597
2622
|
const others = this.windows.filter((open2) => !sameWho(open2.who, who));
|
|
2598
2623
|
const groups = this.outside ? [this.outside, ...others] : others;
|
|
@@ -2846,7 +2871,9 @@ var Engine = class {
|
|
|
2846
2871
|
/** Writes `target` (path to hash, null deletes) as one entry of `who`'s. */
|
|
2847
2872
|
async writeAs(who, label, target, extra) {
|
|
2848
2873
|
this.assertWritable();
|
|
2849
|
-
const changes = [...target].filter(
|
|
2874
|
+
const changes = [...target].filter(
|
|
2875
|
+
([path, hash]) => this.studioWouldWrite(path) && (this.tracked.get(path)?.hash ?? null) !== hash
|
|
2876
|
+
).sort(([, a], [, b]) => Number(a !== null) - Number(b !== null));
|
|
2850
2877
|
const setAsideByDeletesFirst = new Set(
|
|
2851
2878
|
changes.filter(([, hash]) => hash === null).map(([path]) => this.tracked.get(path)?.hash)
|
|
2852
2879
|
);
|
|
@@ -2938,8 +2965,9 @@ var Engine = class {
|
|
|
2938
2965
|
}
|
|
2939
2966
|
next(direction, who) {
|
|
2940
2967
|
const mine = (author) => sameWho(author, who) || sameWho(author, OUTSIDE);
|
|
2968
|
+
const writes = (paths) => [...paths].some(this.studioWouldWrite);
|
|
2941
2969
|
const pending = [...[...this.windows].reverse(), this.outside, this.claimed?.group].find(
|
|
2942
|
-
(group) => group
|
|
2970
|
+
(group) => group && writes(group.changes.keys()) && mine(group.who)
|
|
2943
2971
|
);
|
|
2944
2972
|
if (pending) return direction === "back" ? this.pendingEntry(pending) : void 0;
|
|
2945
2973
|
const everyone = this.options.undoScope === "everyone";
|
|
@@ -2947,7 +2975,7 @@ var Engine = class {
|
|
|
2947
2975
|
return stepTarget(
|
|
2948
2976
|
this.log.entries,
|
|
2949
2977
|
direction,
|
|
2950
|
-
(entry) => entry.files.
|
|
2978
|
+
(entry) => writes(entry.files.map((file) => file.path)) && (mine(entry.who) || everyone && !ofOpenTurn(entry))
|
|
2951
2979
|
);
|
|
2952
2980
|
}
|
|
2953
2981
|
/** A pending group as the entry it becomes once committed (a window's part gets a fresh id). */
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QY42NK3T.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LGIWC6KN.js";
|
|
19
19
|
import {
|
|
20
20
|
runCancellableProcess
|
|
21
21
|
} from "./chunk-Q4FVSYTD.js";
|
|
22
22
|
import {
|
|
23
23
|
getFreeDiskMb
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YB2ZJJFJ.js";
|
|
25
25
|
import {
|
|
26
26
|
buildChromeLaunchEnv
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YWUE4CRU.js";
|
|
28
28
|
import {
|
|
29
29
|
normalizeErrorMessage
|
|
30
30
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
FFMPEG_PATH_ENV,
|
|
33
33
|
FFPROBE_PATH_ENV,
|
|
34
34
|
findFfBinary
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VM2VBJRC.js";
|
|
36
36
|
|
|
37
37
|
// src/browser/preflight.ts
|
|
38
38
|
import { existsSync } from "fs";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-HU2SPFNG.js";
|
|
13
13
|
import {
|
|
14
14
|
replaceFileAtomically
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LYTELQL2.js";
|
|
16
16
|
import {
|
|
17
17
|
findTrustedExecutable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VM2VBJRC.js";
|
|
19
19
|
|
|
20
20
|
// src/whisper/parakeet.ts
|
|
21
21
|
import { execFileSync } from "child_process";
|
|
@@ -325,11 +325,18 @@ async function downloadToPart(url, dest, options) {
|
|
|
325
325
|
}
|
|
326
326
|
await publishPart(part, dest, options);
|
|
327
327
|
}
|
|
328
|
+
async function keepsDest(dest, waited, options) {
|
|
329
|
+
if (!existsSync(dest)) return false;
|
|
330
|
+
if (!options.keepExisting) return waited;
|
|
331
|
+
if (await options.keepExisting(dest)) return true;
|
|
332
|
+
removePartialFile(dest);
|
|
333
|
+
return false;
|
|
334
|
+
}
|
|
328
335
|
async function downloadFile(url, dest, options = {}) {
|
|
329
336
|
const lock = `${dest}.lock`;
|
|
330
337
|
const { owner, waited } = await acquireLock(lock, options.signal);
|
|
331
338
|
try {
|
|
332
|
-
if (!(waited
|
|
339
|
+
if (!await keepsDest(dest, waited, options)) await downloadToPart(url, dest, options);
|
|
333
340
|
} finally {
|
|
334
341
|
heldLocks.delete(owner);
|
|
335
342
|
if (readLock(lock) === owner) removePartialFile(lock);
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
DEFAULT_REGISTRY_URL,
|
|
12
12
|
fetchItemManifest,
|
|
13
13
|
fetchRegistryManifest
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QOLZBRLN.js";
|
|
15
15
|
import {
|
|
16
16
|
closestNames
|
|
17
17
|
} from "./chunk-YAROSZMP.js";
|
|
18
18
|
import {
|
|
19
19
|
terminalText
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3GF72UPC.js";
|
|
21
21
|
|
|
22
22
|
// src/registry/resolver.ts
|
|
23
23
|
function defaultWarn(message) {
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
readRecordTail,
|
|
11
11
|
recordChangedAt,
|
|
12
12
|
replaceFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OW6MOJSR.js";
|
|
14
14
|
import {
|
|
15
15
|
realpath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3GF72UPC.js";
|
|
17
17
|
import {
|
|
18
18
|
namedCacheDir
|
|
19
19
|
} from "./chunk-KUJJJBV2.js";
|
|
@@ -7,31 +7,32 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
isCopiedOutsideFileType,
|
|
9
9
|
isPrivateOutsideFile,
|
|
10
|
+
isUploadedOutsideFileType,
|
|
10
11
|
leftOutWarning,
|
|
11
12
|
linksOutside
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
realFilePath
|
|
15
|
-
} from "./chunk-THGJTFYB.js";
|
|
13
|
+
} from "./chunk-B5TLZC2D.js";
|
|
16
14
|
import {
|
|
17
15
|
DEFAULT_VP9_CPU_USED,
|
|
18
16
|
isHttpUrl,
|
|
19
17
|
isPrivateUnderAssetRoots,
|
|
20
18
|
runFfmpeg,
|
|
21
19
|
urlInputArgs
|
|
22
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-R5HNUPI5.js";
|
|
21
|
+
import {
|
|
22
|
+
realFilePath
|
|
23
|
+
} from "./chunk-WTO3A7ET.js";
|
|
23
24
|
import {
|
|
24
25
|
renameWithRetry
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LYTELQL2.js";
|
|
26
27
|
import {
|
|
27
28
|
parseAnimatedGifMetadata
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BJMW2GYO.js";
|
|
29
30
|
import {
|
|
30
31
|
isSafePath
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3GF72UPC.js";
|
|
32
33
|
import {
|
|
33
34
|
namesAnotherNetworkRoot
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-S35RUNXJ.js";
|
|
35
36
|
import {
|
|
36
37
|
parseHTML
|
|
37
38
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -69,15 +70,17 @@ function isPathInside(childPath, parentPath, options = {}) {
|
|
|
69
70
|
function escapesAssetRoot(path, assetRoot) {
|
|
70
71
|
return assetRoot !== void 0 && !isSafePath(assetRoot, path);
|
|
71
72
|
}
|
|
72
|
-
function outsideAssetRefusal(projectDir, path) {
|
|
73
|
+
function outsideAssetRefusal(projectDir, path, policy = {}) {
|
|
73
74
|
if (!linksOutside(projectDir, path)) return null;
|
|
74
75
|
if (isPrivateOutsideFile(projectDir, path)) return "blocklisted";
|
|
75
76
|
const folder = statSync(path, { throwIfNoEntry: false })?.isDirectory();
|
|
76
|
-
|
|
77
|
+
if (folder || isUploadedOutsideFileType(path)) return null;
|
|
78
|
+
if (!isCopiedOutsideFileType(path)) return "file_type";
|
|
79
|
+
return policy.includeScripts ? null : "script";
|
|
77
80
|
}
|
|
78
81
|
var leftOutOfRender = (file, reference, reason) => leftOutWarning(file, reference, reason, "render");
|
|
79
|
-
function refusesOutsideLink(projectDir, path, warn) {
|
|
80
|
-
const refusal = outsideAssetRefusal(projectDir, path);
|
|
82
|
+
function refusesOutsideLink(projectDir, path, warn, policy = {}) {
|
|
83
|
+
const refusal = outsideAssetRefusal(projectDir, path, policy);
|
|
81
84
|
if (!refusal) return false;
|
|
82
85
|
const file = nodeRelative(projectDir, path).split(sep).join("/");
|
|
83
86
|
warn(leftOutOfRender(file, realFilePath(path), refusal));
|
|
@@ -170,7 +173,8 @@ function resolveLocalImageSourcePath(src, options) {
|
|
|
170
173
|
isAbsolute(basePath) ? basePath : resolve(options.projectDir, projectRelative),
|
|
171
174
|
resolve(options.downloadDir, normalizedBase)
|
|
172
175
|
];
|
|
173
|
-
const
|
|
176
|
+
const assetRoot = options.allowOutsideFiles ? void 0 : options.projectDir;
|
|
177
|
+
const allowed = (candidate) => !namesAnotherNetworkRoot(options.projectDir, candidate) && !isPrivateUnderAssetRoots(candidate, [options.projectDir, options.downloadDir]) && (!escapesAssetRoot(candidate, assetRoot) && outsideAssetRefusal(options.projectDir, candidate) !== "blocklisted" || !escapesAssetRoot(candidate, options.downloadDir));
|
|
174
178
|
return candidates.find((candidate) => allowed(candidate) && existsSync(candidate)) ?? null;
|
|
175
179
|
}
|
|
176
180
|
function isUsableFile(path) {
|
|
@@ -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-FAYFXXVF.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCuts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DJCBHKQ5.js";
|
|
10
10
|
import {
|
|
11
11
|
grey,
|
|
12
12
|
readClip,
|
|
13
13
|
round,
|
|
14
14
|
videoClip,
|
|
15
15
|
writeImage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-V7Z2JQRL.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|