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
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
R,
|
|
9
|
+
confirm
|
|
10
|
+
} from "./chunk-OH3MUFZG.js";
|
|
11
|
+
import {
|
|
12
|
+
outsideFilesQuestion
|
|
13
|
+
} from "./chunk-YN6UGKZE.js";
|
|
14
|
+
import {
|
|
15
|
+
trackEvent
|
|
16
|
+
} from "./chunk-RHHPEUVM.js";
|
|
17
|
+
import {
|
|
18
|
+
realFilePath
|
|
19
|
+
} from "./chunk-WTO3A7ET.js";
|
|
20
|
+
import {
|
|
21
|
+
hyperframesConfigDir
|
|
22
|
+
} from "./chunk-GR2E54E6.js";
|
|
23
|
+
|
|
24
|
+
// src/telemetry/uploadLeftOut.ts
|
|
25
|
+
function leftOutCounts(references) {
|
|
26
|
+
const levels = references.map((reference) => reference.levels_up);
|
|
27
|
+
const counted = (keep) => levels.filter(keep).length;
|
|
28
|
+
return {
|
|
29
|
+
left_out_count: references.length,
|
|
30
|
+
received_count: references.filter((reference) => reference.reason === "received").length,
|
|
31
|
+
blocklisted_count: references.filter((reference) => reference.reason === "blocklisted").length,
|
|
32
|
+
file_type_count: references.filter((reference) => reference.reason === "file_type").length,
|
|
33
|
+
not_approved_count: references.filter((reference) => reference.reason === "not_approved").length,
|
|
34
|
+
max_levels_up: Math.max(0, ...levels.map((n) => n ?? 0)),
|
|
35
|
+
levels_up_1: counted((n) => n === 1),
|
|
36
|
+
levels_up_2: counted((n) => n === 2),
|
|
37
|
+
levels_up_3_plus: counted((n) => n !== null && n >= 3),
|
|
38
|
+
other_drive: counted((n) => n === null)
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function trackUploadLeftOut(command, references, dryRun = false) {
|
|
42
|
+
if (references.length === 0) return;
|
|
43
|
+
trackEvent("cli_upload_left_out", { command, dry_run: dryRun, ...leftOutCounts(references) });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// src/utils/outsideFileApproval.ts
|
|
47
|
+
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "fs";
|
|
48
|
+
import { dirname, resolve } from "path";
|
|
49
|
+
var approvalsFile = () => hyperframesConfigDir("outside-files.json");
|
|
50
|
+
function readApprovals() {
|
|
51
|
+
try {
|
|
52
|
+
const parsed = JSON.parse(readFileSync(approvalsFile(), "utf-8"));
|
|
53
|
+
return parsed && typeof parsed === "object" && !Array.isArray(parsed) ? parsed : {};
|
|
54
|
+
} catch {
|
|
55
|
+
return {};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
var projectKey = (projectDir) => realFilePath(resolve(projectDir));
|
|
59
|
+
function approvedOutsideFiles(projectDir) {
|
|
60
|
+
const listed = readApprovals()[projectKey(projectDir)];
|
|
61
|
+
return new Set(Array.isArray(listed) ? listed.map(String) : []);
|
|
62
|
+
}
|
|
63
|
+
function rememberOutsideFiles(projectDir, paths) {
|
|
64
|
+
const approvals = readApprovals();
|
|
65
|
+
const key = projectKey(projectDir);
|
|
66
|
+
approvals[key] = [.../* @__PURE__ */ new Set([...approvedOutsideFiles(projectDir), ...paths])].sort();
|
|
67
|
+
const file = approvalsFile();
|
|
68
|
+
mkdirSync(dirname(file), { recursive: true, mode: 448 });
|
|
69
|
+
const staging = `${file}.${process.pid}.tmp`;
|
|
70
|
+
writeFileSync(staging, `${JSON.stringify(approvals, null, 2)}
|
|
71
|
+
`, { mode: 384 });
|
|
72
|
+
renameSync(staging, file);
|
|
73
|
+
}
|
|
74
|
+
async function confirmOutsideFiles(references) {
|
|
75
|
+
const answer = await confirm({
|
|
76
|
+
message: outsideFilesQuestion(references),
|
|
77
|
+
initialValue: false
|
|
78
|
+
});
|
|
79
|
+
return answer === true;
|
|
80
|
+
}
|
|
81
|
+
async function stageWithOutsideFileApproval(projectDir, choice, stage) {
|
|
82
|
+
const approved = approvedOutsideFiles(projectDir);
|
|
83
|
+
const run = () => {
|
|
84
|
+
const outsideFiles = [];
|
|
85
|
+
const notApproved = /* @__PURE__ */ new Map();
|
|
86
|
+
const staged = stage((reference) => {
|
|
87
|
+
if (!choice.includeAll && !approved.has(reference.path)) {
|
|
88
|
+
notApproved.set(reference.path, reference);
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
outsideFiles.push(reference);
|
|
92
|
+
return true;
|
|
93
|
+
});
|
|
94
|
+
return { staged, outsideFiles, notApproved: [...notApproved.values()] };
|
|
95
|
+
};
|
|
96
|
+
const first = run();
|
|
97
|
+
if (first.notApproved.length === 0 || !choice.ask || !await choice.ask(first.notApproved))
|
|
98
|
+
return first;
|
|
99
|
+
const paths = first.notApproved.map((reference) => reference.path);
|
|
100
|
+
for (const path of paths) approved.add(path);
|
|
101
|
+
try {
|
|
102
|
+
rememberOutsideFiles(projectDir, paths);
|
|
103
|
+
} catch (error) {
|
|
104
|
+
R.warn(`Could not remember the approval for next time: ${error.message}`);
|
|
105
|
+
}
|
|
106
|
+
return run();
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export {
|
|
110
|
+
trackUploadLeftOut,
|
|
111
|
+
confirmOutsideFiles,
|
|
112
|
+
stageWithOutsideFileApproval
|
|
113
|
+
};
|
|
@@ -4,15 +4,15 @@ 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
|
-
forceRefreshCredentials,
|
|
9
|
-
resolveCloudAuthHeaders,
|
|
10
|
-
resolveCloudBaseUrl
|
|
11
|
-
} from "./chunk-MVA4OQL7.js";
|
|
12
7
|
import {
|
|
13
8
|
HyperframesApiError,
|
|
14
9
|
HyperframesCloudClient
|
|
15
10
|
} from "./chunk-D3NWGOXW.js";
|
|
11
|
+
import {
|
|
12
|
+
forceRefreshCredentials,
|
|
13
|
+
resolveCloudAuthHeaders,
|
|
14
|
+
resolveCloudBaseUrl
|
|
15
|
+
} from "./chunk-4KEONZJ2.js";
|
|
16
16
|
|
|
17
17
|
// src/cloud/poll.ts
|
|
18
18
|
var DEFAULT_POLL_INTERVAL_MS = 2e3;
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
hasPythonModules
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RF3DT4CS.js";
|
|
10
10
|
|
|
11
11
|
// src/audio/providers.ts
|
|
12
12
|
var KOKORO_MODULES = ["kokoro_onnx", "soundfile"];
|
|
@@ -24,8 +24,10 @@ var PREVIEW_IGNORED_DIRS = /* @__PURE__ */ new Set([
|
|
|
24
24
|
]);
|
|
25
25
|
var RENDER_TEMP_DIR = /^(work-[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}|hf-render|\..+\.hf-transaction)-[A-Za-z0-9]{6}$/;
|
|
26
26
|
var isProjectIgnoredDir = (name) => PREVIEW_IGNORED_DIRS.has(name) || RENDER_TEMP_DIR.test(name);
|
|
27
|
+
var RENDER_VARIABLES_FILE = ".hyperframes/render-variables.json";
|
|
27
28
|
|
|
28
29
|
export {
|
|
29
30
|
RENDER_TEMP_DIR,
|
|
30
|
-
isProjectIgnoredDir
|
|
31
|
+
isProjectIgnoredDir,
|
|
32
|
+
RENDER_VARIABLES_FILE
|
|
31
33
|
};
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
jsonArg,
|
|
9
9
|
runMeasure,
|
|
10
10
|
videoArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZYODIJRG.js";
|
|
12
12
|
import {
|
|
13
13
|
Fix,
|
|
14
14
|
ffmpegBin,
|
|
15
15
|
probeVideo,
|
|
16
16
|
round,
|
|
17
17
|
runFfmpeg
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V7Z2JQRL.js";
|
|
19
19
|
import {
|
|
20
20
|
makeOutputFolder
|
|
21
21
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-DL4OD7IA.js";
|
|
25
25
|
import {
|
|
26
26
|
toneMapReferenceNits
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BJMW2GYO.js";
|
|
28
28
|
|
|
29
29
|
// src/commands/measure/probe.ts
|
|
30
30
|
import { execFileSync } from "child_process";
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.9.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.9.
|
|
9
|
+
var VERSION = true ? "0.9.63" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.9.63" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
fetchLocalPageUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LNDOTF7B.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureCaptureDirSync,
|
|
12
12
|
writeCaptureFileSync
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VSS3OAZB.js";
|
|
14
14
|
import {
|
|
15
15
|
loadSharp
|
|
16
16
|
} from "./chunk-LB6ZAP4I.js";
|
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
originalPath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SDIQEPAR.js";
|
|
10
10
|
import {
|
|
11
11
|
executableIn,
|
|
12
12
|
pathEntries,
|
|
13
13
|
trustedPathDirs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VM2VBJRC.js";
|
|
15
15
|
|
|
16
16
|
// src/utils/projectCopyHint.ts
|
|
17
17
|
import { isAbsolute, relative, resolve, sep } from "path";
|
|
@@ -5,143 +5,37 @@ 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
|
+
cssReferences,
|
|
9
|
+
htmlReferences,
|
|
10
|
+
isFile,
|
|
11
|
+
isPageOrStylesheet,
|
|
12
|
+
readHead,
|
|
13
|
+
realOrNull,
|
|
14
|
+
referencePath
|
|
15
|
+
} from "./chunk-PET4B6IL.js";
|
|
16
|
+
import {
|
|
17
|
+
contentHash,
|
|
18
|
+
mayHoldLoadedFiles,
|
|
8
19
|
receivedRecordStatus,
|
|
9
20
|
walkBudget
|
|
10
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Z3BPDCRV.js";
|
|
11
22
|
import {
|
|
12
23
|
linksOutside
|
|
13
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-B5TLZC2D.js";
|
|
14
25
|
import {
|
|
15
26
|
terminalText
|
|
16
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3GF72UPC.js";
|
|
17
28
|
import {
|
|
18
|
-
namesAnotherNetworkRoot
|
|
19
|
-
|
|
20
|
-
} from "./chunk-6EMFSRTW.js";
|
|
29
|
+
namesAnotherNetworkRoot
|
|
30
|
+
} from "./chunk-S35RUNXJ.js";
|
|
21
31
|
import {
|
|
22
|
-
isNonRelativeUrl,
|
|
23
32
|
isPathInside
|
|
24
33
|
} from "./chunk-IH2C53YV.js";
|
|
25
|
-
import {
|
|
26
|
-
parseHTML
|
|
27
|
-
} from "./chunk-GWTIFRF5.js";
|
|
28
34
|
|
|
29
35
|
// src/utils/receivedRender.ts
|
|
30
|
-
import {
|
|
31
|
-
|
|
32
|
-
openSync,
|
|
33
|
-
readdirSync,
|
|
34
|
-
readSync,
|
|
35
|
-
realpathSync,
|
|
36
|
-
statSync
|
|
37
|
-
} from "fs";
|
|
38
|
-
import { dirname, extname, isAbsolute, join, relative, resolve } from "path";
|
|
39
|
-
import { fileURLToPath } from "url";
|
|
40
|
-
var REFERENCE_ATTRS = ["src", "href", "poster"];
|
|
41
|
-
var MAX_SCANNED_BYTES = 2 * 1024 * 1024;
|
|
36
|
+
import { closeSync, openSync, readdirSync, readSync, statSync } from "fs";
|
|
37
|
+
import { extname, join, relative, resolve } from "path";
|
|
42
38
|
var MAX_SCANNED_FILES = 500;
|
|
43
|
-
function unquote(value) {
|
|
44
|
-
const first = value[0];
|
|
45
|
-
return value.length >= 2 && (first === '"' || first === "'") && value.at(-1) === first ? value.slice(1, -1).trim() : value;
|
|
46
|
-
}
|
|
47
|
-
function cssReferences(css) {
|
|
48
|
-
const refs = [];
|
|
49
|
-
for (let at = css.indexOf("url("); at !== -1; ) {
|
|
50
|
-
const close = css.indexOf(")", at + 4);
|
|
51
|
-
if (close === -1) break;
|
|
52
|
-
const raw = unquote(css.slice(at + 4, close).trim());
|
|
53
|
-
if (raw) refs.push({ raw, composition: false, follow: true });
|
|
54
|
-
at = css.indexOf("url(", close + 1);
|
|
55
|
-
}
|
|
56
|
-
return refs;
|
|
57
|
-
}
|
|
58
|
-
function elementReferences(el) {
|
|
59
|
-
const follow = el.localName === "link";
|
|
60
|
-
const refs = REFERENCE_ATTRS.flatMap((attr) => {
|
|
61
|
-
const raw = el.getAttribute(attr)?.trim();
|
|
62
|
-
return raw ? [{ raw, composition: false, follow }] : [];
|
|
63
|
-
});
|
|
64
|
-
const composition = el.getAttribute("data-composition-src")?.trim();
|
|
65
|
-
if (composition) refs.push({ raw: composition, composition: true, follow: true });
|
|
66
|
-
return refs;
|
|
67
|
-
}
|
|
68
|
-
function htmlReferences(html) {
|
|
69
|
-
const { document } = parseHTML(html);
|
|
70
|
-
const hosts = document.querySelectorAll("[src], [href], [poster], [data-composition-src]");
|
|
71
|
-
const refs = [...hosts].flatMap(elementReferences);
|
|
72
|
-
for (const style of document.querySelectorAll("style")) {
|
|
73
|
-
refs.push(...cssReferences(style.textContent ?? ""));
|
|
74
|
-
}
|
|
75
|
-
for (const el of document.querySelectorAll("[style]")) {
|
|
76
|
-
refs.push(...cssReferences(el.getAttribute("style") ?? ""));
|
|
77
|
-
}
|
|
78
|
-
for (const template of document.querySelectorAll("template")) {
|
|
79
|
-
refs.push(...htmlReferences(template.innerHTML));
|
|
80
|
-
}
|
|
81
|
-
return refs;
|
|
82
|
-
}
|
|
83
|
-
var WINDOWS_DEVICE_PREFIX = /^[\\/]{2}[?.][\\/]/;
|
|
84
|
-
function withoutQuery(raw) {
|
|
85
|
-
const device = WINDOWS_DEVICE_PREFIX.exec(raw)?.[0] ?? "";
|
|
86
|
-
return device + raw.slice(device.length).replace(/[?#].*$/, "");
|
|
87
|
-
}
|
|
88
|
-
function localPath(raw, fromDir) {
|
|
89
|
-
if (raw.startsWith("file:")) {
|
|
90
|
-
try {
|
|
91
|
-
return fileURLToPath(raw);
|
|
92
|
-
} catch {
|
|
93
|
-
return null;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
const path = withoutQuery(raw);
|
|
97
|
-
if (isAbsolute(path) && !path.startsWith("//")) return path;
|
|
98
|
-
if (path === "" || isNonRelativeUrl(path)) return null;
|
|
99
|
-
try {
|
|
100
|
-
return resolve(fromDir, decodeURIComponent(path));
|
|
101
|
-
} catch {
|
|
102
|
-
return resolve(fromDir, path);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
function isFile(path) {
|
|
106
|
-
try {
|
|
107
|
-
return statSync(path, { throwIfNoEntry: false })?.isFile() === true;
|
|
108
|
-
} catch {
|
|
109
|
-
return false;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
function realOrNull(path) {
|
|
113
|
-
try {
|
|
114
|
-
return realpathSync(path);
|
|
115
|
-
} catch {
|
|
116
|
-
return null;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
function readHead(file) {
|
|
120
|
-
let fd;
|
|
121
|
-
try {
|
|
122
|
-
fd = openSync(file, "r");
|
|
123
|
-
const size = statSync(file).size;
|
|
124
|
-
const buffer = Buffer.alloc(Math.min(size, MAX_SCANNED_BYTES));
|
|
125
|
-
const read = readSync(fd, buffer, 0, buffer.length, 0);
|
|
126
|
-
return {
|
|
127
|
-
text: buffer.toString("utf-8", 0, read),
|
|
128
|
-
whole: size <= MAX_SCANNED_BYTES
|
|
129
|
-
};
|
|
130
|
-
} catch {
|
|
131
|
-
return null;
|
|
132
|
-
} finally {
|
|
133
|
-
if (fd !== void 0) closeSync(fd);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
var isPageOrStylesheet = (path) => /\.(?:html?|css)$/i.test(path);
|
|
137
|
-
function referencePath(ref, file, projectDir) {
|
|
138
|
-
if (!ref.composition) return localPath(ref.raw, dirname(file));
|
|
139
|
-
try {
|
|
140
|
-
return resolveCompositionSrc(projectDir, ref.raw) ?? localPath(ref.raw, projectDir);
|
|
141
|
-
} catch {
|
|
142
|
-
return null;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
39
|
function referencesIn(found, file) {
|
|
146
40
|
const read = readHead(file);
|
|
147
41
|
if (read === null || !read.whole) found.complete = false;
|
|
@@ -321,6 +215,40 @@ function nonMediaAliases(projectDir, received) {
|
|
|
321
215
|
return walk.aliases;
|
|
322
216
|
}
|
|
323
217
|
var READS_NOTHING_OUTSIDE = "so the render reads nothing outside the project.";
|
|
218
|
+
function holderIn(dir, listing, walk) {
|
|
219
|
+
for (const entry of listing) {
|
|
220
|
+
const path = join(dir, entry.name);
|
|
221
|
+
if (entry.isDirectory()) {
|
|
222
|
+
if (mayHoldLoadedFiles(walk.projectDir, path)) walk.pending.push(path);
|
|
223
|
+
} else if (entry.isFile() && !isMediaName(path) && walk.known.has(contentHash(path) ?? "")) {
|
|
224
|
+
return path;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return void 0;
|
|
228
|
+
}
|
|
229
|
+
function receivedContentHolder(projectDir, hashes) {
|
|
230
|
+
if (hashes.length === 0) return void 0;
|
|
231
|
+
const withinBudget = walkBudget();
|
|
232
|
+
const walk = { projectDir, known: new Set(hashes), pending: [projectDir] };
|
|
233
|
+
for (let dir = walk.pending.pop(); dir !== void 0; dir = walk.pending.pop()) {
|
|
234
|
+
const listing = listDir(dir);
|
|
235
|
+
if (listing === null || !withinBudget(listing.length)) return null;
|
|
236
|
+
const holder = holderIn(dir, listing, walk);
|
|
237
|
+
if (holder !== void 0) return holder;
|
|
238
|
+
}
|
|
239
|
+
return void 0;
|
|
240
|
+
}
|
|
241
|
+
function receivedContentRefusal(projectDir, hashes) {
|
|
242
|
+
const holder = receivedContentHolder(projectDir, hashes);
|
|
243
|
+
if (holder === void 0) return null;
|
|
244
|
+
if (holder === null) {
|
|
245
|
+
const reason2 = `Could not check every project file for content that came from someone else, ${READS_NOTHING_OUTSIDE}`;
|
|
246
|
+
return { reason: reason2, alwaysWarn: true };
|
|
247
|
+
}
|
|
248
|
+
const shown = relative(realOrNull(projectDir) ?? projectDir, holder);
|
|
249
|
+
const reason = `${shown} holds the content of a file that came from someone else, ${READS_NOTHING_OUTSIDE}`;
|
|
250
|
+
return { reason, alwaysWarn: false };
|
|
251
|
+
}
|
|
324
252
|
function receivedRefusal(projectDir, record) {
|
|
325
253
|
const shown = (path) => relative(realOrNull(projectDir) ?? projectDir, path);
|
|
326
254
|
if (record === "unchecked") {
|
|
@@ -330,12 +258,13 @@ function receivedRefusal(projectDir, record) {
|
|
|
330
258
|
if (record.listed === null) {
|
|
331
259
|
return { reason: `Could not read ${record.path}, ${READS_NOTHING_OUTSIDE}`, alwaysWarn: true };
|
|
332
260
|
}
|
|
333
|
-
if (record.listed.length === 0) return null;
|
|
334
261
|
const nonMedia = record.listed.find((path) => !isMediaFontOrImage(path));
|
|
335
262
|
if (nonMedia !== void 0) {
|
|
336
263
|
const reason2 = `${shown(nonMedia)} came from someone else and is not a media, font or image file, ${READS_NOTHING_OUTSIDE}`;
|
|
337
264
|
return { reason: reason2, alwaysWarn: false };
|
|
338
265
|
}
|
|
266
|
+
const contentRefusal = receivedContentRefusal(projectDir, record.hashes);
|
|
267
|
+
if (contentRefusal !== null || record.listed.length === 0) return contentRefusal;
|
|
339
268
|
const received = receivedIdentities(record.listed);
|
|
340
269
|
const aliases = received === null ? null : nonMediaAliases(projectDir, received);
|
|
341
270
|
if (aliases === null) {
|
|
@@ -358,5 +287,6 @@ function outsideAssetsAllowed(projectDir, entryFile, warn) {
|
|
|
358
287
|
}
|
|
359
288
|
|
|
360
289
|
export {
|
|
290
|
+
isMediaFontOrImage,
|
|
361
291
|
outsideAssetsAllowed
|
|
362
292
|
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
cssReferences,
|
|
9
|
+
htmlReferences,
|
|
10
|
+
isFile,
|
|
11
|
+
isPageOrStylesheet,
|
|
12
|
+
localPath,
|
|
13
|
+
readHead,
|
|
14
|
+
realOrNull,
|
|
15
|
+
referencePath
|
|
16
|
+
} from "./chunk-PET4B6IL.js";
|
|
17
|
+
import {
|
|
18
|
+
isPrivateCompositionFile
|
|
19
|
+
} from "./chunk-Z3BPDCRV.js";
|
|
20
|
+
import {
|
|
21
|
+
isCopiedOutsideFileType,
|
|
22
|
+
linksOutside
|
|
23
|
+
} from "./chunk-B5TLZC2D.js";
|
|
24
|
+
import {
|
|
25
|
+
terminalText
|
|
26
|
+
} from "./chunk-3GF72UPC.js";
|
|
27
|
+
import {
|
|
28
|
+
isPathInside
|
|
29
|
+
} from "./chunk-IH2C53YV.js";
|
|
30
|
+
import {
|
|
31
|
+
isPrivateFileUnder,
|
|
32
|
+
isStudioPrivatePath
|
|
33
|
+
} from "./chunk-PTGNUVCB.js";
|
|
34
|
+
|
|
35
|
+
// src/utils/stageReferencedFiles.ts
|
|
36
|
+
import { copyFileSync, mkdirSync } from "fs";
|
|
37
|
+
import { dirname, join, relative } from "path";
|
|
38
|
+
var MAX_FOLLOWED_FILES = 500;
|
|
39
|
+
var NAMES_SHOWN = 5;
|
|
40
|
+
function stageable(root, file) {
|
|
41
|
+
const { path } = file;
|
|
42
|
+
if (linksOutside(root, path)) return false;
|
|
43
|
+
if (isPrivateFileUnder(root, path, isStudioPrivatePath) || isPrivateCompositionFile(root, path))
|
|
44
|
+
return false;
|
|
45
|
+
if (file.colorGradingLut && /\.cube$/i.test(path)) return true;
|
|
46
|
+
return /\.html?$/i.test(path) || isCopiedOutsideFileType(path);
|
|
47
|
+
}
|
|
48
|
+
function namedPath(ref, file, root) {
|
|
49
|
+
if (!ref.composition && /^\/(?![/\\])/.test(ref.raw)) return localPath(ref.raw.slice(1), root);
|
|
50
|
+
return referencePath(ref, file, root);
|
|
51
|
+
}
|
|
52
|
+
function namedFiles(file, root, result) {
|
|
53
|
+
const read = readHead(file);
|
|
54
|
+
if (read === null || !read.whole) result.complete = false;
|
|
55
|
+
if (read === null) return [];
|
|
56
|
+
const refs = /\.css$/i.test(file) ? cssReferences(read.text) : htmlReferences(read.text);
|
|
57
|
+
return refs.flatMap((ref) => {
|
|
58
|
+
const path = namedPath(ref, file, root);
|
|
59
|
+
return path === null ? [] : [{ raw: ref.raw, path, colorGradingLut: !!ref.colorGradingLut }];
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function realEntries(root, entries) {
|
|
63
|
+
return entries.map((entry) => {
|
|
64
|
+
const real = realOrNull(entry);
|
|
65
|
+
if (real === null || !isPathInside(real, root)) throw new Error(`Cannot read ${entry}`);
|
|
66
|
+
return real;
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
function stageReferencedFiles(root, entries, stagedDir) {
|
|
70
|
+
const realRoot = realOrNull(root);
|
|
71
|
+
if (realRoot === null) throw new Error(`Cannot read ${root}`);
|
|
72
|
+
const result = { leftOut: [], complete: true };
|
|
73
|
+
const staged = /* @__PURE__ */ new Set();
|
|
74
|
+
const pending = [];
|
|
75
|
+
const stage = (path) => {
|
|
76
|
+
const real = realOrNull(path);
|
|
77
|
+
if (real === null || staged.has(real)) return;
|
|
78
|
+
staged.add(real);
|
|
79
|
+
const target = join(stagedDir, relative(realRoot, path));
|
|
80
|
+
mkdirSync(dirname(target), { recursive: true });
|
|
81
|
+
copyFileSync(real, target);
|
|
82
|
+
if (!isPageOrStylesheet(path)) return;
|
|
83
|
+
if (staged.size <= MAX_FOLLOWED_FILES) pending.push(path);
|
|
84
|
+
else result.complete = false;
|
|
85
|
+
};
|
|
86
|
+
const leaveOut = (raw) => {
|
|
87
|
+
if (!result.leftOut.includes(raw)) result.leftOut.push(raw);
|
|
88
|
+
};
|
|
89
|
+
realEntries(realRoot, entries).forEach(stage);
|
|
90
|
+
for (let file = pending.pop(); file !== void 0; file = pending.pop()) {
|
|
91
|
+
for (const named of namedFiles(file, realRoot, result)) {
|
|
92
|
+
if (!isPathInside(named.path, realRoot)) leaveOut(named.raw);
|
|
93
|
+
else if (!isFile(named.path)) continue;
|
|
94
|
+
else if (stageable(realRoot, named)) stage(named.path);
|
|
95
|
+
else leaveOut(named.raw);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return result;
|
|
99
|
+
}
|
|
100
|
+
function leftOutNotice(command, result) {
|
|
101
|
+
if (result.leftOut.length === 0 && result.complete) return null;
|
|
102
|
+
const shown = result.leftOut.slice(0, NAMES_SHOWN).map((raw) => terminalText(raw));
|
|
103
|
+
const more = result.leftOut.length > NAMES_SHOWN ? `, and ${result.leftOut.length - NAMES_SHOWN} more` : "";
|
|
104
|
+
const named = shown.length > 0 ? ` left out ${shown.join(", ")}${more}.` : "";
|
|
105
|
+
const partial = result.complete ? "" : " Some files were too large or too many to read in full.";
|
|
106
|
+
return `${command}:${named}${partial} Only the files the page names in its own folder are served; pass the project folder to keep the rest.`;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export {
|
|
110
|
+
stageReferencedFiles,
|
|
111
|
+
leftOutNotice
|
|
112
|
+
};
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
} from "./chunk-EHZESMRB.js";
|
|
16
16
|
import {
|
|
17
17
|
errorBox
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PQ2OPPGP.js";
|
|
19
19
|
import {
|
|
20
20
|
c
|
|
21
21
|
} from "./chunk-JCNPHRGX.js";
|
|
22
22
|
import {
|
|
23
23
|
formatVariableValidationIssue,
|
|
24
24
|
validateVariables
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BJMW2GYO.js";
|
|
26
26
|
import {
|
|
27
27
|
extractCompositionMetadata
|
|
28
28
|
} from "./chunk-4NDSGKPO.js";
|
|
@@ -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-RF3DT4CS.js";
|
|
10
10
|
import {
|
|
11
11
|
STEADY_BEAT_CONFIDENCE,
|
|
12
12
|
envelope,
|
|
@@ -23,33 +23,33 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
uploadAssetViaDirectUpload
|
|
25
25
|
} from "./chunk-PJNDSYJV.js";
|
|
26
|
-
import {
|
|
27
|
-
refreshIfNeeded,
|
|
28
|
-
resolveCloudBaseUrl
|
|
29
|
-
} from "./chunk-MVA4OQL7.js";
|
|
30
26
|
import {
|
|
31
27
|
HyperframesCloudClient
|
|
32
28
|
} from "./chunk-D3NWGOXW.js";
|
|
29
|
+
import {
|
|
30
|
+
refreshIfNeeded,
|
|
31
|
+
resolveCloudBaseUrl
|
|
32
|
+
} from "./chunk-4KEONZJ2.js";
|
|
33
33
|
import {
|
|
34
34
|
tryResolveCredential
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XFGC5XLR.js";
|
|
36
36
|
import {
|
|
37
37
|
buildAuthHeaders
|
|
38
38
|
} from "./chunk-TFAKFI3R.js";
|
|
39
39
|
import {
|
|
40
40
|
decodeAudio,
|
|
41
41
|
probeAudio
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NK2UW3WR.js";
|
|
43
43
|
import {
|
|
44
44
|
runsWithoutInstallPrompt
|
|
45
45
|
} from "./chunk-JJ47LVJ7.js";
|
|
46
46
|
import {
|
|
47
47
|
readPlainFile
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-OW6MOJSR.js";
|
|
49
49
|
import {
|
|
50
50
|
createStagingDir,
|
|
51
51
|
replaceFileAtomically
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LYTELQL2.js";
|
|
53
53
|
import {
|
|
54
54
|
assertPrivateCachePath,
|
|
55
55
|
ensurePrivateCacheDir,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-ZB2XGJSP.js";
|
|
15
15
|
import {
|
|
16
16
|
createStagingDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LYTELQL2.js";
|
|
18
18
|
import {
|
|
19
19
|
terminalText
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3GF72UPC.js";
|
|
21
21
|
import {
|
|
22
22
|
FONT_ALIAS_MAP,
|
|
23
23
|
fontShorthandFamilies,
|