hyperframes 0.9.67 → 0.9.68
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-2FYFE3ZX.js → add-C4WVIZBM.js} +14 -14
- package/dist/{agentPromptGenerator-5YFPYST7.js → agentPromptGenerator-6LLQYHZV.js} +9 -9
- package/dist/{animatedGifPrep-SIL3ADIS.js → animatedGifPrep-3VMWRGRQ.js} +9 -9
- package/dist/api.js +39 -39
- package/dist/{asset-D5BXLEK4.js → asset-WIUPYC6I.js} +4 -4
- package/dist/{assetCataloger-7UREFLWJ.js → assetCataloger-35EEYGRW.js} +10 -10
- package/dist/{audio-NGQW5Z7O.js → audio-X6U5EPJC.js} +24 -24
- package/dist/{auth-L2MGMG62.js → auth-6YJJF7JO.js} +4 -4
- package/dist/{autoUpdate-FKWV43U5.js → autoUpdate-5RW6OSP5.js} +4 -4
- package/dist/{avatars-SM7BUIVL.js → avatars-3TUWVA5L.js} +18 -18
- package/dist/{backgroundChecks-XGOO6ETM.js → backgroundChecks-NFDJJ3A7.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-LK46EDAZ.js → batchRender-RD2SC67M.js} +6 -5
- package/dist/{beats-FPJEEBO2.js → beats-SEZBR7ZB.js} +12 -12
- package/dist/{benchmark-BMM3E56O.js → benchmark-HIHHSXWJ.js} +14 -14
- package/dist/{billing-S37OJE6G.js → billing-KOAEFBSV.js} +23 -19
- package/dist/{browser-ACTTU67A.js → browser-CMQWPJW3.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-H2UJUDSF.js → bundleWithLocalizedFonts-54M62O3L.js} +1 -1
- package/dist/{capture-N24KHG3V.js → capture-M627KANC.js} +19 -19
- package/dist/{capture-V4ATIGRR.js → capture-WG3M26CA.js} +6 -6
- package/dist/{captureCompositionFrame-Y2GGNU43.js → captureCompositionFrame-2MMKTYGJ.js} +16 -16
- package/dist/{captureProxy-4K3J652A.js → captureProxy-ZKHJ6HRI.js} +1 -1
- package/dist/{catalog-4FAP2CFF.js → catalog-PNNNRYGW.js} +14 -14
- package/dist/{catch-up-6RCTMCTI.js → catch-up-LV2JRFEP.js} +9 -9
- package/dist/{check-P6XW2CX7.js → check-MNVZU53N.js} +46 -46
- package/dist/{checkAudio-R7ZSNHPD.js → checkAudio-ZI7CKTSP.js} +13 -13
- package/dist/{checkBrowser-ZTEBVQMM.js → checkBrowser-ZFRZGSZO.js} +39 -38
- package/dist/{chunk-TNO5EVXS.js → chunk-2EF7PBIL.js} +5 -5
- package/dist/{chunk-3XS35R5E.js → chunk-2J5U5T4U.js} +14 -14
- package/dist/{chunk-HPENBBIH.js → chunk-2LA5EFA7.js} +1 -1
- package/dist/{chunk-L7YERJVL.js → chunk-2QY74XCK.js} +448 -380
- package/dist/{chunk-O3ENZQHQ.js → chunk-2TSEYJEW.js} +2 -2
- package/dist/{chunk-IFC533NZ.js → chunk-2ZRRIDLB.js} +2 -2
- package/dist/{chunk-PJQVJSMG.js → chunk-33JUCUTM.js} +7 -2
- package/dist/{chunk-FXQRMULT.js → chunk-35JN6DUV.js} +2 -2
- package/dist/{chunk-JOW7SA7F.js → chunk-3DU5M4RZ.js} +2 -2
- package/dist/{chunk-T73BVHZ5.js → chunk-3PXYJAP2.js} +5 -5
- package/dist/{chunk-4E3AKTSD.js → chunk-42D2JWAH.js} +1 -1
- package/dist/{chunk-P6WWZ4ZZ.js → chunk-44YM6GQW.js} +2 -2
- package/dist/{chunk-3NPAQ5FV.js → chunk-4M5C3543.js} +2 -2
- package/dist/{chunk-2SE62YIX.js → chunk-52ZPRSRR.js} +5 -5
- package/dist/{chunk-KNRZBLQH.js → chunk-5JFK2MZE.js} +2 -2
- package/dist/{chunk-BAL7FD4W.js → chunk-667DGYQF.js} +2 -2
- package/dist/{chunk-NYJ4OV4H.js → chunk-6KS7MRXE.js} +2 -2
- package/dist/{chunk-JK2WTAKR.js → chunk-6YQL5U3X.js} +3 -3
- package/dist/{chunk-77SURLKL.js → chunk-7HTUIFCU.js} +3 -3
- package/dist/{chunk-ITBQLYIV.js → chunk-7KOPWRBA.js} +3 -3
- package/dist/{chunk-DKEP2QM5.js → chunk-7YFT3XBE.js} +6 -6
- package/dist/{chunk-UN5SNMRS.js → chunk-A6MOPSB7.js} +10 -10
- package/dist/{chunk-PHBS5KEY.js → chunk-ACLEARJ5.js} +1 -1
- package/dist/{chunk-MIPRIUWU.js → chunk-APV4EGPC.js} +6 -6
- package/dist/{chunk-PAKYOFVJ.js → chunk-AYE5S3LS.js} +1 -1
- package/dist/{chunk-2FKIIF2W.js → chunk-BBEPJIL6.js} +2 -2
- package/dist/{chunk-IRW7AWIC.js → chunk-BDEXAT2A.js} +4 -4
- package/dist/{chunk-IUUEMVZV.js → chunk-BFR4Z6XZ.js} +2 -2
- package/dist/{chunk-JXUDMAKX.js → chunk-BIS25FPH.js} +2 -2
- package/dist/{chunk-FZT7QWVE.js → chunk-BQ42ZSDC.js} +2 -2
- package/dist/{chunk-VW733NCS.js → chunk-BX4EUXTT.js} +13 -13
- package/dist/{chunk-EMUKI7UB.js → chunk-C4KEZBFB.js} +1 -1
- package/dist/{chunk-2FEZFXKE.js → chunk-CHEMP247.js} +1 -1
- package/dist/{chunk-JYFQXM2E.js → chunk-CJAUHCIH.js} +1 -1
- package/dist/{chunk-AQYZW46G.js → chunk-CJGEN3HQ.js} +9 -9
- package/dist/{chunk-U6ZR7GBQ.js → chunk-CJGFAAQM.js} +11 -7
- package/dist/{chunk-X2VXJFX2.js → chunk-CUQRPA5X.js} +1 -1
- package/dist/{chunk-4SBR3ZP7.js → chunk-D4V3A66O.js} +1 -1
- package/dist/{chunk-VQ72HDX3.js → chunk-DN2WT7UF.js} +76 -45
- package/dist/{chunk-XNBVJAL4.js → chunk-DXPKV74K.js} +11 -11
- package/dist/{chunk-5U4QTHAS.js → chunk-ERM6VZH5.js} +2 -2
- package/dist/{chunk-2F2HLVI5.js → chunk-F266JN4O.js} +6 -6
- package/dist/{chunk-Q3OZGUZ4.js → chunk-F3W2XNVF.js} +6 -6
- package/dist/{chunk-BHOQKOW3.js → chunk-FGBIIVLD.js} +1 -1
- package/dist/{chunk-GXKCFOMR.js → chunk-GDPNIGCY.js} +1 -1
- package/dist/{chunk-A5ZULLJX.js → chunk-GIICVK4I.js} +1 -1
- package/dist/{chunk-6U5JJJFB.js → chunk-GJCRUFVA.js} +1 -1
- package/dist/{chunk-SW4TVGUR.js → chunk-GLPWQEIS.js} +2 -2
- package/dist/{chunk-PS26KCCH.js → chunk-HFMRAULK.js} +3 -3
- package/dist/{chunk-RF3DT4CS.js → chunk-HJXFRTK3.js} +1 -1
- package/dist/{chunk-5GUYYSVT.js → chunk-HY67LTYS.js} +1 -1
- package/dist/{chunk-AEBDHKTJ.js → chunk-ID6NFBRJ.js} +1 -1
- package/dist/{chunk-6QKW4E7D.js → chunk-IUMEFOOG.js} +12 -12
- package/dist/{chunk-FHSBI5MM.js → chunk-IWOK7S6W.js} +2 -2
- package/dist/{chunk-FLJ4S7NA.js → chunk-J3FUIWZX.js} +2 -2
- package/dist/{chunk-EYFZRI6U.js → chunk-JJOEC2AX.js} +1 -1
- package/dist/{chunk-ZTD6VXAE.js → chunk-JK5EXU2V.js} +1 -1
- package/dist/{chunk-ULR3HM3L.js → chunk-JL2QIL62.js} +2 -2
- package/dist/{chunk-B3HZTUCD.js → chunk-JLITKVAK.js} +3 -3
- package/dist/{chunk-MDFQC4J2.js → chunk-K3JLION2.js} +1 -1
- package/dist/{chunk-LHCQ4TMY.js → chunk-KI4QH2XR.js} +2 -2
- package/dist/{chunk-H3AH7NDI.js → chunk-KNHIVCWP.js} +8 -8
- package/dist/{chunk-YB2ZJJFJ.js → chunk-LMUPRQ3G.js} +1 -1
- package/dist/{chunk-RVQQUHIT.js → chunk-MG3X2IGB.js} +2 -2
- package/dist/{chunk-D7W642TJ.js → chunk-MHPVT4IR.js} +2 -2
- package/dist/{chunk-AMQBBQCF.js → chunk-MI3L5IN2.js} +4 -4
- package/dist/{chunk-YU4OCNWW.js → chunk-MK2V4GOX.js} +8 -8
- package/dist/{chunk-U4BP54JI.js → chunk-MNWXPKEP.js} +1 -1
- package/dist/chunk-MOIJOTXX.js +25 -0
- package/dist/{chunk-MDWOXUEU.js → chunk-MPYCCFGC.js} +5 -5
- package/dist/{chunk-PEXUCK6Y.js → chunk-N2IQL7QC.js} +3 -3
- package/dist/{chunk-3DENR37V.js → chunk-N2NX5H6U.js} +3 -3
- package/dist/{chunk-4ORH2OXS.js → chunk-NKRVZC5S.js} +1 -1
- package/dist/{chunk-A4USKCUY.js → chunk-NXTKZZGR.js} +1 -1
- package/dist/{chunk-STUDSWGR.js → chunk-OWWIJYV3.js} +1 -1
- package/dist/{chunk-U55SJQPA.js → chunk-P63PBGBD.js} +2 -2
- package/dist/{chunk-WMUBDXHG.js → chunk-PDCJFCXJ.js} +73 -24
- package/dist/{chunk-W742C6SA.js → chunk-PTDAEAQY.js} +1 -1
- package/dist/{chunk-XOXWJAWW.js → chunk-PXUG4MJS.js} +4 -4
- package/dist/{chunk-K7VV4XSD.js → chunk-Q6ECHIJY.js} +2 -2
- package/dist/{chunk-OMLJTCNR.js → chunk-QA2QMK2I.js} +2 -2
- package/dist/{chunk-QTLKOGK4.js → chunk-QEKCHUUA.js} +2 -2
- package/dist/{chunk-SIVDQSNV.js → chunk-QFO7O6CB.js} +26 -23
- package/dist/{chunk-BLPMKSO7.js → chunk-QK2QVBVK.js} +1 -1
- package/dist/{chunk-3F7MJNGG.js → chunk-QQMYKUIG.js} +1 -1
- package/dist/{chunk-2U6Z7QH5.js → chunk-RAOIICTD.js} +10 -10
- package/dist/{chunk-SDIQEPAR.js → chunk-RWDZPTDG.js} +1 -1
- package/dist/{chunk-A4AMJI7L.js → chunk-S6WLGGFS.js} +1 -1
- package/dist/{chunk-NK2UW3WR.js → chunk-SDOVSUQP.js} +1 -1
- package/dist/{chunk-JB7OF43L.js → chunk-SEZ6YFNG.js} +1 -1
- package/dist/{chunk-ERYGKPIR.js → chunk-SMLMTEV6.js} +1 -1
- package/dist/{chunk-AH4QO6YC.js → chunk-TDLDZZNW.js} +1 -1
- package/dist/{chunk-HUUPDIBE.js → chunk-TIAWLVUB.js} +3 -3
- package/dist/{chunk-KRRKEWWI.js → chunk-TQU327UC.js} +1 -1
- package/dist/{chunk-4MJCBHXI.js → chunk-TYBLBWNS.js} +1 -1
- package/dist/{chunk-BC24UT7V.js → chunk-U42FMHXX.js} +3 -3
- package/dist/{chunk-W7MKF4I2.js → chunk-UECOOH6G.js} +4 -4
- package/dist/{chunk-PI6ZYIGK.js → chunk-UV6U7GP5.js} +1 -1
- package/dist/{chunk-S36C2TEK.js → chunk-UZLN7NLA.js} +4 -4
- package/dist/{chunk-AWP277ZO.js → chunk-V3KCLOPE.js} +5 -2
- package/dist/{chunk-GHPPUALY.js → chunk-V7A3632C.js} +3 -3
- package/dist/{chunk-W3AUR4EP.js → chunk-VB3MY67J.js} +1 -1
- package/dist/{chunk-ZS2ROUIG.js → chunk-VBNZJYTW.js} +1 -1
- package/dist/{chunk-ZHNHAA6O.js → chunk-VWSXDENA.js} +4 -4
- package/dist/{chunk-TTG6TSI6.js → chunk-W3H5NVS7.js} +2 -2
- package/dist/{chunk-DNBMLRSA.js → chunk-WUNTVKJ5.js} +1 -1
- package/dist/{chunk-CGHKK2BY.js → chunk-WVAA6ZNR.js} +3 -3
- package/dist/{chunk-QOIEPOKY.js → chunk-X5DKQC4C.js} +1 -1
- package/dist/{chunk-3RUFJGIT.js → chunk-XBKJYNHG.js} +2 -2
- package/dist/{chunk-BO2FQEM4.js → chunk-XERF7LKH.js} +2 -2
- package/dist/{chunk-NNKKJ2MI.js → chunk-XTYAKH7L.js} +4 -4
- package/dist/chunk-Y2D2KZC2.js +5146 -0
- package/dist/{chunk-VM2VBJRC.js → chunk-Z67ELZGQ.js} +16 -0
- package/dist/{chunk-WU3JL3BC.js → chunk-ZBICCHYQ.js} +2 -2
- package/dist/{chunk-BANMRXAN.js → chunk-ZDM7GFKC.js} +2 -2
- package/dist/{chunk-XEP7ER4Z.js → chunk-ZDPZZNLV.js} +2 -2
- package/dist/{chunk-AJPSKAQ6.js → chunk-ZZMOJL4C.js} +13 -13
- package/dist/{clean-NP652D74.js → clean-TGMFBGYJ.js} +25 -24
- package/dist/cli.js +68 -68
- package/dist/{cloud-TNWRELD4.js → cloud-7RGF4WQT.js} +7 -7
- package/dist/{cloud-EBVLMT6V.js → cloud-TMGC6QCF.js} +4 -4
- package/dist/{cloudrun-NAQ26OGP.js → cloudrun-S6OJKIV4.js} +7 -7
- package/dist/{compare-NPK5WR6F.js → compare-UY4WUT4M.js} +41 -43
- package/dist/{compiler-TYKIETZY.js → compiler-B5OKYH72.js} +4 -4
- package/dist/{component-YTC25I6A.js → component-UNC53NZD.js} +5 -5
- package/dist/{compositions-A3WYG7XA.js → compositions-IHZGRDPY.js} +15 -15
- package/dist/{curve-HULZZNO2.js → curve-PY3IWSSS.js} +14 -14
- package/dist/{cuts-EEN2AJLR.js → cuts-QDZJTR4C.js} +15 -15
- package/dist/{delete-QBPY4DUZ.js → delete-NWSVGHB6.js} +11 -11
- package/dist/{deploy-ZOTTUJKO.js → deploy-46ZFBV7W.js} +6 -6
- package/dist/{describeProject-AT42RQAC.js → describeProject-FUNFO4CI.js} +10 -10
- package/dist/{destroy-72TCFGIU.js → destroy-MGSLIVVF.js} +6 -6
- package/dist/{diff-L76A3S3I.js → diff-KV5MIGRD.js} +37 -37
- package/dist/{dist-56QKGCNA.js → dist-CZNBPI6A.js} +11 -10
- package/dist/{dist-XRESUN6B.js → dist-XBACRUL3.js} +2 -2
- package/dist/{dist-FU3Y3LDE.js → dist-ZJCX2EDP.js} +2 -2
- package/dist/{doctor-MTSMQTIP.js → doctor-Y2HSNKRA.js} +18 -18
- package/dist/{dotEnv-NMTSGEYW.js → dotEnv-3XMUX3U6.js} +3 -3
- package/dist/{energy-Y7UZSF5R.js → energy-7OXUOWH5.js} +15 -15
- package/dist/{events-5IZJ6IG4.js → events-2NABTDY4.js} +5 -5
- package/dist/{events-RY7F26WJ.js → events-C6EY6OJ5.js} +8 -8
- package/dist/{events-NLBWWYJR.js → events-EFOWGVWG.js} +17 -17
- package/dist/{execute-X6GOJYI7.js → execute-3ZQSB2IX.js} +29 -28
- package/dist/{extract-PO4ERZG7.js → extract-V36OHCDI.js} +15 -15
- package/dist/{face-GS7FT77Y.js → face-27NDWNOT.js} +11 -11
- package/dist/{face-O7W6DN3E.js → face-UJ22O2MN.js} +15 -15
- package/dist/{feedback-OLPHMAVY.js → feedback-K6BSCEV7.js} +17 -17
- package/dist/{ffmpeg-6R5HYRLA.js → ffmpeg-YNZQRQCJ.js} +9 -9
- package/dist/{figma-3WLCHH7N.js → figma-LIWR7AJJ.js} +3 -3
- package/dist/fontLocalizeCli.js +14 -13
- package/dist/{frames-RELC7P5I.js → frames-4CSSTFJP.js} +16 -16
- package/dist/{generate-KDKHARPX.js → generate-4Q37PFXG.js} +29 -29
- package/dist/{get-Y4JVREKO.js → get-AV65OF23.js} +11 -11
- package/dist/{gpuPolicy-IJE7MB5Y.js → gpuPolicy-Y6OVUHUV.js} +9 -9
- package/dist/{grade-compare-T25JDQLV.js → grade-compare-MBA4VG7M.js} +36 -35
- package/dist/{hands-WXGO4FOI.js → hands-2I2HWDTL.js} +17 -17
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-5X36VXGL.js → heifImagePrep-JC3TQ4IG.js} +10 -10
- package/dist/{help-N66Y52S7.js → help-JOQIPFII.js} +1 -1
- package/dist/{history-F7C2MXWT.js → history-TLE2CGTY.js} +13 -13
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-IHOMN6HZ.js → info-3HMZZAAV.js} +17 -17
- package/dist/{init-S2SZ3YJW.js → init-Y7FGDZUZ.js} +31 -31
- package/dist/{ink-DMKCUCA4.js → ink-K4JHETG5.js} +15 -15
- package/dist/{inspect-ILBSFULF.js → inspect-STYYLKV6.js} +40 -39
- package/dist/{installer-5ZPAYISO.js → installer-SRPSC2X7.js} +4 -4
- package/dist/{keyframes-U4XFMXJ3.js → keyframes-S6RFXNAA.js} +15 -15
- package/dist/{lambda-DYOGW62Q.js → lambda-YDA3ROVC.js} +15 -15
- package/dist/{launch-D5BGD7YR.js → launch-5UBQEKDH.js} +10 -10
- package/dist/{layout-F7SIJYUI.js → layout-LVDEEUDY.js} +40 -39
- package/dist/{lint-3HQJQBVK.js → lint-4OELSC7I.js} +13 -13
- package/dist/{lintProject-55U44GOP.js → lintProject-FPQL3VUS.js} +2 -2
- package/dist/{list-JUPBF73K.js → list-5TBQYNHD.js} +11 -11
- package/dist/{localPage-SI4COAH7.js → localPage-NEVG3XFX.js} +9 -9
- package/dist/{login-H6EP7A3D.js → login-IWDL4RDU.js} +14 -12
- package/dist/{logout-S5JLGTKW.js → logout-ZTTDB46G.js} +6 -6
- package/dist/{look-X5LTWUIV.js → look-J5XK73IV.js} +15 -15
- package/dist/{manager-PXRZQDDT.js → manager-AA3ZNHAP.js} +4 -4
- package/dist/{manager-GGOPVDOZ.js → manager-SNMVD5EK.js} +10 -10
- package/dist/{measure-XUHMK2AU.js → measure-COGDPBLB.js} +12 -12
- package/dist/{media-YXE5MDL4.js → media-PYSX3S7F.js} +10 -10
- package/dist/{media-treatment-SJXT2VQM.js → media-treatment-HR3X5LCP.js} +17 -17
- package/dist/{media-use-VK62B4E2.js → media-use-RHUAYJ66.js} +10 -10
- package/dist/{models-GBAKNMXA.js → models-Z6RV3WVR.js} +14 -14
- package/dist/{motionShot-6DNYNDSA.js → motionShot-DFOO4EQ3.js} +20 -20
- package/dist/{normalize-audio-RWERSIGD.js → normalize-audio-DV3OPHTW.js} +11 -11
- package/dist/{oauth-RETRT7QD.js → oauth-EZ2ZQ4XR.js} +16 -1
- package/dist/{open-3YMOWNPY.js → open-UOR7EZ5U.js} +16 -16
- package/dist/{parakeetRunner-TVDHLBTI.js → parakeetRunner-DTHAZ5YS.js} +16 -16
- package/dist/{pipeline-WCH5HSYI.js → pipeline-IO437FLW.js} +12 -12
- package/dist/{plan-HVP3IH7H.js → plan-NJNZYLV3.js} +21 -21
- package/dist/{play-CQQ7HHSQ.js → play-S6G25SBX.js} +25 -24
- package/dist/{preflight-6B6A46GT.js → preflight-WQQIKPKE.js} +12 -12
- package/dist/{present-UB6UPVOL.js → present-KTL4QWTR.js} +21 -20
- package/dist/{preview-BVSDP4Z7.js → preview-T6HZZTTI.js} +23 -23
- package/dist/{privateProjectFile-NBXWYT2G.js → privateProjectFile-EPXXPIEV.js} +2 -2
- package/dist/{probe-BOCLZXCU.js → probe-QVXQWQGR.js} +15 -15
- package/dist/{producer-HKFKQO2J.js → producer-7YJ4HGWN.js} +1 -1
- package/dist/{projectConfig-S7ZS2Q7T.js → projectConfig-ORBFL2ON.js} +6 -6
- package/dist/{publicNetwork-66HWFKYG.js → publicNetwork-RUALPHQQ.js} +1 -1
- package/dist/{publication-A6ZCUXEK.js → publication-CFIXSMO5.js} +2 -2
- package/dist/{publish-UA5UUDMQ.js → publish-OLO5DOLH.js} +25 -24
- package/dist/{receivedRecordFollow-Y7JQ2W2O.js → receivedRecordFollow-K2WHSMQL.js} +5 -5
- package/dist/{refresh-T3APLU23.js → refresh-FYXJG2PX.js} +6 -6
- package/dist/{remove-background-YZ4FAKSD.js → remove-background-CGJDVLEN.js} +13 -13
- package/dist/{render-HZFDCEBU.js → render-JF4YUCUQ.js} +43 -41
- package/dist/{render-CTU3KQWD.js → render-ODVFUS2P.js} +69 -44
- package/dist/{render-POJSNMDW.js → render-U7GWG4G2.js} +5 -5
- package/dist/{render-batch-XUPWNAEB.js → render-batch-GFCU3E6Q.js} +5 -5
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-XFJ2W7CE.js → resolver-7HNGNUD3.js} +4 -4
- package/dist/{reverse-DP3LTE2X.js → reverse-R4GX3IZN.js} +1 -1
- package/dist/{run-7YFWJGQA.js → run-JRDVPXZK.js} +10 -10
- package/dist/{sam-O7Y2CCK3.js → sam-PHMZPQBM.js} +4 -4
- package/dist/{screenshotCapture-XDIKLRCX.js → screenshotCapture-332Y4ROA.js} +11 -11
- package/dist/{service-BMH3KCG2.js → service-FB4AF4RM.js} +17 -17
- package/dist/{share-GNE5S6JA.js → share-YSLQ7PGY.js} +24 -23
- package/dist/{sherpa-2NMBO7EI.js → sherpa-7RMA3KRP.js} +15 -15
- package/dist/sherpaWorker.js +3 -3
- package/dist/skills/hyperframes/references/plugin-installation.md +1 -1
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +4 -4
- package/dist/{skills-SB465LBL.js → skills-F5S4ISKO.js} +13 -13
- package/dist/{skillsUpdateCheck-OO3QYY7I.js → skillsUpdateCheck-MAMDFQR5.js} +5 -5
- package/dist/{snapshot-YYE5X4D6.js → snapshot-3GN5M7A4.js} +45 -45
- package/dist/{snapshotHeldVideos-WKU5Q4NL.js → snapshotHeldVideos-NNAZHPYK.js} +10 -10
- package/dist/{src-UEZXRPFJ.js → src-SHRAI2Y4.js} +12 -11
- package/dist/{src-COKNEXLI.js → src-WKQLHMUG.js} +11 -9
- package/dist/{start-RXKU3NS3.js → start-XXU5LDBV.js} +27 -27
- package/dist/{staticProjectServer-PYOO5BKL.js → staticProjectServer-RBNNFU6T.js} +21 -20
- package/dist/{status-OO7JXNVG.js → status-CTL4EWQC.js} +20 -20
- package/dist/studio/assets/{hyperframes-player-DHYu0XuV.js → hyperframes-player-Dl0dFOXO.js} +1 -1
- package/dist/studio/assets/{index-BBKHfua5.js → index-DPzReVPd.js} +178 -178
- package/dist/studio/assets/{index-DqND4rHq.js → index-DbMtST5n.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-B1FNXBMe.js → pausedVideoDecoder-CCAL8jtm.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-3QHWJQ5S.js → studio-api-2AOIQOEV.js} +11 -10
- package/dist/{studioServer-DDL676LA.js → studioServer-R6ADUV52.js} +69 -69
- package/dist/subCompositionWorker.js +13 -18
- package/dist/{sync-JOQ6E5IN.js → sync-C4DLMXLD.js} +15 -15
- package/dist/{synthesize-JECKYUGO.js → synthesize-W7KYX6CI.js} +2 -2
- package/dist/{system-PKL4Y4MX.js → system-V6IZXVU4.js} +3 -3
- package/dist/{telemetry-PEPGYBEH.js → telemetry-PCNSNJZE.js} +8 -8
- package/dist/{templates-U3LTK3E6.js → templates-LPGMBERL.js} +17 -17
- package/dist/{textOverFace-665L5B6Q.js → textOverFace-WYPZHM6O.js} +3 -3
- package/dist/{timeline-5H5XHN2E.js → timeline-KTEBNLHM.js} +23 -22
- package/dist/{tokens-ZT2YAOJ2.js → tokens-WP5ZRTJ3.js} +4 -4
- package/dist/{transcribe-62GITMY3.js → transcribe-463K32RT.js} +13 -13
- package/dist/{transcribe-DVXDCZX7.js → transcribe-L65PBQ4S.js} +32 -32
- package/dist/{tts-V36EOYBQ.js → tts-DDVJVSD4.js} +3 -3
- package/dist/{update-QVKPG5CA.js → update-6HCOMJ7L.js} +14 -14
- package/dist/{updateCheck-X36OZADC.js → updateCheck-RFRITDJM.js} +4 -4
- package/dist/{upgrade-YE57GX33.js → upgrade-BOQF5LPW.js} +5 -5
- package/dist/{urlDownloader-UJ5T4WGL.js → urlDownloader-MNYASBMV.js} +8 -8
- package/dist/{validate-IXPYD4ZO.js → validate-RZNELWBT.js} +30 -29
- package/dist/{video-OX3ZLXXC.js → video-FEMS6YLC.js} +10 -10
- package/dist/{voices-ND6HWM5H.js → voices-LADMSNKC.js} +27 -27
- package/dist/warmCheck.js +46 -46
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-S3IQW75Q.js +0 -5146
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
auditClipDurations,
|
|
9
9
|
shouldIgnoreHttpError,
|
|
10
10
|
shouldIgnoreRequestFailure
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2J5U5T4U.js";
|
|
12
12
|
import {
|
|
13
13
|
projectLocalFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UZLN7NLA.js";
|
|
15
15
|
import {
|
|
16
16
|
serveStaticProjectHtml
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CJGEN3HQ.js";
|
|
18
18
|
import {
|
|
19
19
|
AUDIT_SEEK_OPTIONS,
|
|
20
20
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
seekCompositionTimeline,
|
|
29
29
|
seekInPage,
|
|
30
30
|
waitForPreferredSeekTarget
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZZMOJL4C.js";
|
|
32
32
|
import {
|
|
33
33
|
findStageProxyBox
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-PTDAEAQY.js";
|
|
35
35
|
import {
|
|
36
36
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
37
37
|
withRemainingBudget
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
resolveProxies,
|
|
46
46
|
scanProjectMediaCodecMap,
|
|
47
47
|
shouldPrewarmProxy
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DN2WT7UF.js";
|
|
49
49
|
import {
|
|
50
50
|
artifactDirectory,
|
|
51
51
|
finishSnapshotRun
|
|
@@ -54,23 +54,23 @@ import {
|
|
|
54
54
|
BrowserCleanupError,
|
|
55
55
|
closeManagedBrowser,
|
|
56
56
|
onStopSignal
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-2ZRRIDLB.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveAutoProxy
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-GJCRUFVA.js";
|
|
61
61
|
import {
|
|
62
62
|
projectFolder
|
|
63
63
|
} from "./chunk-244FN6TG.js";
|
|
64
64
|
import {
|
|
65
65
|
DEFAULT_CONFIG
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-PDCJFCXJ.js";
|
|
67
67
|
import {
|
|
68
68
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
69
69
|
STUDIO_PREVIEW_MARK_META
|
|
70
70
|
} from "./chunk-LKHH4BUW.js";
|
|
71
71
|
import {
|
|
72
72
|
injectTagsAtHeadStart
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-Y2D2KZC2.js";
|
|
74
74
|
import {
|
|
75
75
|
parseHTML
|
|
76
76
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -1139,7 +1139,7 @@ function proxyFailedDraft(message) {
|
|
|
1139
1139
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
1140
1140
|
}
|
|
1141
1141
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
1142
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1142
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-54M62O3L.js");
|
|
1143
1143
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
1144
1144
|
}
|
|
1145
1145
|
function withCapturePreviewMark(html) {
|
|
@@ -1212,7 +1212,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
1212
1212
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
1213
1213
|
}));
|
|
1214
1214
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
1215
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
1215
|
+
const { analyzeClipMediaFit } = await import("./src-WKQLHMUG.js");
|
|
1216
1216
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
1217
1217
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
1218
1218
|
}
|
|
@@ -1355,7 +1355,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
1355
1355
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
1356
1356
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
1357
1357
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
1358
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1358
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-54M62O3L.js");
|
|
1359
1359
|
return withCapturePreviewMark(
|
|
1360
1360
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
1361
1361
|
);
|
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findStageProxyBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PTDAEAQY.js";
|
|
10
10
|
import {
|
|
11
11
|
documentFromAnotherSite,
|
|
12
12
|
injectMediaCodecMapIntoHtml,
|
|
13
13
|
proxyWorkFromAnotherSite
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DXPKV74K.js";
|
|
15
15
|
import {
|
|
16
16
|
PROXY_VARIANT_CONFIG,
|
|
17
17
|
ProxyCapacityError,
|
|
@@ -22,20 +22,20 @@ import {
|
|
|
22
22
|
recordProxyRequest,
|
|
23
23
|
resolveProxy,
|
|
24
24
|
resolveProxyVariantRequest
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DN2WT7UF.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveAutoProxy
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GJCRUFVA.js";
|
|
29
29
|
import {
|
|
30
30
|
openRangeEnd
|
|
31
31
|
} from "./chunk-LD6JONPV.js";
|
|
32
32
|
import {
|
|
33
33
|
SAME_ORIGIN_FRAMING_HEADERS,
|
|
34
34
|
isOwnLoopbackHost
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PDCJFCXJ.js";
|
|
36
36
|
import {
|
|
37
37
|
listenOnBrowserSafePort
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-33JUCUTM.js";
|
|
39
39
|
import {
|
|
40
40
|
getMimeType
|
|
41
41
|
} from "./chunk-P2ZMVHTF.js";
|
|
@@ -45,14 +45,14 @@ import {
|
|
|
45
45
|
} from "./chunk-LKHH4BUW.js";
|
|
46
46
|
import {
|
|
47
47
|
stripSdrPngColourTags
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-BBEPJIL6.js";
|
|
49
49
|
import {
|
|
50
50
|
PREVIEW_PROXY_BOX_PARAM,
|
|
51
51
|
parsePreviewProxyBox
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-OWWIJYV3.js";
|
|
53
53
|
import {
|
|
54
54
|
injectTagsAtHeadStart
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Y2D2KZC2.js";
|
|
56
56
|
import {
|
|
57
57
|
decodeWellFormedEscapes
|
|
58
58
|
} from "./chunk-KZ5PV5TL.js";
|
|
@@ -30,6 +30,9 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
c
|
|
32
32
|
} from "./chunk-JCNPHRGX.js";
|
|
33
|
+
import {
|
|
34
|
+
terminalText
|
|
35
|
+
} from "./chunk-OGL5VQGT.js";
|
|
33
36
|
import {
|
|
34
37
|
failCommand
|
|
35
38
|
} from "./chunk-U7M4SZUB.js";
|
|
@@ -112,6 +115,7 @@ function failurePage(code, description) {
|
|
|
112
115
|
}
|
|
113
116
|
|
|
114
117
|
// src/auth/loopback.ts
|
|
118
|
+
var STALE_SIGN_IN = "This page is from a different sign-in. Your terminal is still waiting: finish signing in from the newest sign-in tab.";
|
|
115
119
|
var CALLBACK_PATH = "/oauth/callback";
|
|
116
120
|
var SIGN_IN_WITH_CHECKOUT_TIMEOUT_MS = 60 * 60 * 1e3;
|
|
117
121
|
async function startLoopback(opts) {
|
|
@@ -166,17 +170,17 @@ function handleRequest(req, res, expectedState, redirectUri, resolveResult, reje
|
|
|
166
170
|
return;
|
|
167
171
|
}
|
|
168
172
|
const params = url.searchParams;
|
|
173
|
+
const state = params.get("state");
|
|
174
|
+
if (!state || !stateMatches(state, expectedState)) {
|
|
175
|
+
respond(res, 400, failurePage("invalid_state", STALE_SIGN_IN));
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
169
178
|
const error = params.get("error");
|
|
170
179
|
if (error) {
|
|
171
180
|
const desc = params.get("error_description") ?? "";
|
|
172
181
|
respond(res, 400, failurePage(error, desc));
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
const state = params.get("state");
|
|
177
|
-
if (!state || !stateMatches(state, expectedState)) {
|
|
178
|
-
respond(res, 400, failurePage("invalid_state", "State parameter did not match."));
|
|
179
|
-
rejectResult(new Error("OAuth state mismatch \u2014 possible CSRF, aborting."));
|
|
182
|
+
const shown = `${terminalText(error)}${desc ? ` \u2014 ${terminalText(desc)}` : ""}`;
|
|
183
|
+
rejectResult(new Error(`OAuth authorize returned error: ${shown}`));
|
|
180
184
|
return;
|
|
181
185
|
}
|
|
182
186
|
const code = params.get("code");
|
|
@@ -139,7 +139,7 @@ var competitorsOf = (name) => COMPETING_PROVIDER_KEYS.filter((group) => group.in
|
|
|
139
139
|
(group) => group.filter((other) => other !== name && Boolean(process.env[other]))
|
|
140
140
|
);
|
|
141
141
|
async function untrustedEnvOrigin(dir) {
|
|
142
|
-
const { receivedFiles, receivedRecordStatus } = await import("./privateProjectFile-
|
|
142
|
+
const { receivedFiles, receivedRecordStatus } = await import("./privateProjectFile-EPXXPIEV.js");
|
|
143
143
|
if (receivedRecordStatus(dir) === "unchecked")
|
|
144
144
|
return "a project whose origin could not be checked (too many folders to scan)";
|
|
145
145
|
return receivedFiles(dir)(".env") ? "a received project" : null;
|
|
@@ -7,7 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZDPZZNLV.js";
|
|
11
|
+
import {
|
|
12
|
+
previewToken
|
|
13
|
+
} from "./chunk-HLVNKNSW.js";
|
|
11
14
|
import {
|
|
12
15
|
NOT_MEDIA,
|
|
13
16
|
mediaInputArgs
|
|
@@ -27,7 +30,7 @@ import {
|
|
|
27
30
|
formatPreviewProxyBox,
|
|
28
31
|
hdrToSdrToneMapFilter,
|
|
29
32
|
isHeavyForPreview
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OWWIJYV3.js";
|
|
31
34
|
import {
|
|
32
35
|
mkdirWithinProject,
|
|
33
36
|
realProjectRoot,
|
|
@@ -47,9 +50,10 @@ import {
|
|
|
47
50
|
scanHtmlOpeningTags
|
|
48
51
|
} from "./chunk-4NDSGKPO.js";
|
|
49
52
|
import {
|
|
53
|
+
concatListInputArgs,
|
|
50
54
|
findFfBinary,
|
|
51
55
|
followFfmpegProgress
|
|
52
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-Z67ELZGQ.js";
|
|
53
57
|
|
|
54
58
|
// ../studio-server/dist/chunk-QTM3VNZG.js
|
|
55
59
|
import { statSync } from "fs";
|
|
@@ -279,20 +283,12 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
|
|
|
279
283
|
return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
|
|
280
284
|
}
|
|
281
285
|
|
|
282
|
-
// ../studio-server/dist/chunk-
|
|
286
|
+
// ../studio-server/dist/chunk-ZQTRPHJN.js
|
|
283
287
|
import { spawn as spawn2 } from "child_process";
|
|
284
|
-
import { randomUUID } from "crypto";
|
|
285
|
-
import {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
renameSync,
|
|
289
|
-
rmSync as rmSync2,
|
|
290
|
-
unlinkSync as unlinkSync2,
|
|
291
|
-
utimesSync,
|
|
292
|
-
writeFileSync
|
|
293
|
-
} from "fs";
|
|
294
|
-
import os, { availableParallelism, tmpdir, totalmem } from "os";
|
|
295
|
-
import { basename as basename3, dirname as dirname4, extname as extname4, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
|
|
288
|
+
import { createHmac, randomBytes, randomUUID } from "crypto";
|
|
289
|
+
import { existsSync as existsSync2, renameSync, rmSync as rmSync2, unlinkSync as unlinkSync2, utimesSync, writeFileSync } from "fs";
|
|
290
|
+
import os, { availableParallelism, totalmem } from "os";
|
|
291
|
+
import { basename as basename3, dirname as dirname4, extname as extname3, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
|
|
296
292
|
import { existsSync, readdirSync, statSync as statSync2, unlinkSync } from "fs";
|
|
297
293
|
import { dirname, extname, join } from "path";
|
|
298
294
|
import { createHash } from "crypto";
|
|
@@ -307,7 +303,7 @@ import {
|
|
|
307
303
|
statSync as statSync3,
|
|
308
304
|
writeSync
|
|
309
305
|
} from "fs";
|
|
310
|
-
import { basename as basename2, dirname as dirname3,
|
|
306
|
+
import { basename as basename2, dirname as dirname3, join as join3 } from "path";
|
|
311
307
|
var DEFAULT_MAX_BYTES = 10 * 1024 * 1024 * 1024;
|
|
312
308
|
var DEFAULT_STALE_TEMP_MS = 60 * 60 * 1e3;
|
|
313
309
|
var DEFAULT_MIN_SWEEP_INTERVAL_MS = 5 * 60 * 1e3;
|
|
@@ -316,8 +312,8 @@ var PROXY_EXTENSIONS = /* @__PURE__ */ new Set([
|
|
|
316
312
|
PROXY_STILL_EXTENSION
|
|
317
313
|
]);
|
|
318
314
|
var TRANSCODER_PROXY_NAME = /^[0-9a-f]{64}\.\w+$/;
|
|
319
|
-
var TRANSCODER_TEMP_NAME = /^\.tmp-[0-9a-f-]{36}-(?:\.part-[0-9a-f]{64}
|
|
320
|
-
var TRANSCODER_PIECE_NAME = /^\.part-([0-9a-f]{64})
|
|
315
|
+
var TRANSCODER_TEMP_NAME = /^\.tmp-[0-9a-f-]{36}-(?:\.part-[0-9a-f]{64}-(?:[0-9a-f]{32}-)?\d+|[0-9a-f]{64})\.\w+$/;
|
|
316
|
+
var TRANSCODER_PIECE_NAME = /^\.part-([0-9a-f]{64})-([0-9a-f]{32}-)?\d+(\.\w+)$/;
|
|
321
317
|
var STALE_PIECE_MS = 60 * 60 * 1e3;
|
|
322
318
|
var lastSweepAt = /* @__PURE__ */ new Map();
|
|
323
319
|
function positiveEnvNumber(name, fallback) {
|
|
@@ -347,8 +343,10 @@ function isLeftoverName(name) {
|
|
|
347
343
|
function leftoverIsDead(cacheDir, name, modifiedAt, protectedPaths, now, staleTempMs) {
|
|
348
344
|
const piece = TRANSCODER_PIECE_NAME.exec(name);
|
|
349
345
|
if (!piece) return now - modifiedAt >= staleTempMs;
|
|
350
|
-
const
|
|
351
|
-
|
|
346
|
+
const taggedForThisVersion = piece[2] !== void 0;
|
|
347
|
+
const copyIsRunning = taggedForThisVersion && protectedPaths.has(join(cacheDir, `${piece[1]}${piece[3]}`));
|
|
348
|
+
const ageEvenIfFutureDated = Math.abs(now - modifiedAt);
|
|
349
|
+
return !copyIsRunning && ageEvenIfFutureDated >= STALE_PIECE_MS;
|
|
352
350
|
}
|
|
353
351
|
function readCacheInventory(cacheDir, protectedPaths, now, staleTempMs) {
|
|
354
352
|
const entries = [];
|
|
@@ -488,15 +486,21 @@ var CopyLockStalledError = class extends Error {
|
|
|
488
486
|
this.name = "CopyLockStalledError";
|
|
489
487
|
}
|
|
490
488
|
};
|
|
491
|
-
function
|
|
489
|
+
function changedNoLaterThanFirstSeen(sightings, file, mtimeMs) {
|
|
490
|
+
const earlier = sightings.get(file);
|
|
491
|
+
const seenAt = earlier?.mtimeMs === mtimeMs ? earlier.seenAt : Date.now();
|
|
492
|
+
sightings.set(file, { mtimeMs, seenAt });
|
|
493
|
+
return Math.min(mtimeMs, seenAt);
|
|
494
|
+
}
|
|
495
|
+
function lastActivityMs(cachePath, lockPath, unguessablePieceName, sightings) {
|
|
492
496
|
const name = basename2(cachePath);
|
|
493
|
-
const
|
|
494
|
-
const mine = (file) => file === basename2(lockPath) || file.startsWith(".tmp-") &&
|
|
497
|
+
const isPiece = (file) => unguessablePieceName !== void 0 && (file.startsWith(unguessablePieceName) || file.startsWith(".tmp-") && file.includes(`-${unguessablePieceName}`));
|
|
498
|
+
const mine = (file) => file === basename2(lockPath) || file.startsWith(".tmp-") && file.endsWith(`-${name}`) || isPiece(file);
|
|
495
499
|
let newest = 0;
|
|
496
500
|
for (const file of readdirSync2(dirname3(cachePath))) {
|
|
497
501
|
if (!mine(file)) continue;
|
|
498
502
|
const changed = statSync3(join3(dirname3(cachePath), file), { throwIfNoEntry: false })?.mtimeMs;
|
|
499
|
-
newest = Math.max(newest, changed ?? 0);
|
|
503
|
+
newest = Math.max(newest, changedNoLaterThanFirstSeen(sightings, file, changed ?? 0));
|
|
500
504
|
}
|
|
501
505
|
return newest;
|
|
502
506
|
}
|
|
@@ -529,8 +533,9 @@ function pause(ms, signal) {
|
|
|
529
533
|
signal.addEventListener("abort", onAbort, { once: true });
|
|
530
534
|
});
|
|
531
535
|
}
|
|
532
|
-
async function acquireCopyLock(cachePath, copyMade, signal, stallMs) {
|
|
536
|
+
async function acquireCopyLock(cachePath, copyMade, signal, stallMs, unguessablePieceName) {
|
|
533
537
|
const lockPath = lockPathFor(cachePath);
|
|
538
|
+
const sightings = /* @__PURE__ */ new Map();
|
|
534
539
|
for (; ; ) {
|
|
535
540
|
signal.throwIfAborted();
|
|
536
541
|
if (copyMade(cachePath)) return null;
|
|
@@ -545,7 +550,7 @@ async function acquireCopyLock(cachePath, copyMade, signal, stallMs) {
|
|
|
545
550
|
if (err.code !== "EEXIST") throw err;
|
|
546
551
|
}
|
|
547
552
|
if (!ownerIsAlive(lockPath)) rmSync(lockPath, { force: true });
|
|
548
|
-
else if (Date.now() - lastActivityMs(cachePath, lockPath) > stallMs)
|
|
553
|
+
else if (Date.now() - lastActivityMs(cachePath, lockPath, unguessablePieceName, sightings) > stallMs)
|
|
549
554
|
throw new CopyLockStalledError(basename2(cachePath), stallMs);
|
|
550
555
|
else await pause(POLL_MS, signal);
|
|
551
556
|
}
|
|
@@ -570,7 +575,26 @@ var TRANSCODE_STALL_MS = boundedEnvInteger(
|
|
|
570
575
|
);
|
|
571
576
|
var PROXY_CHUNK_SECONDS = 15;
|
|
572
577
|
var CHUNK_PREFIX = ".part-";
|
|
578
|
+
var UNSIGNED_PIECE_SECRET = randomBytes(32).toString("hex");
|
|
579
|
+
var warnedNoPieceToken = false;
|
|
580
|
+
function pieceSecret() {
|
|
581
|
+
const token = previewToken();
|
|
582
|
+
if (token) return token;
|
|
583
|
+
if (!warnedNoPieceToken) {
|
|
584
|
+
warnedNoPieceToken = true;
|
|
585
|
+
console.warn(
|
|
586
|
+
"[media-proxy] no preview token could be read, so a stopped copy restarts from its first piece after Studio restarts"
|
|
587
|
+
);
|
|
588
|
+
}
|
|
589
|
+
return UNSIGNED_PIECE_SECRET;
|
|
590
|
+
}
|
|
591
|
+
function unguessablePiecePrefix(cacheDir, stem) {
|
|
592
|
+
const tag = createHmac("sha256", pieceSecret()).update(`proxy-piece
|
|
593
|
+
${stem}`).digest("hex").slice(0, 32);
|
|
594
|
+
return join4(cacheDir, `${CHUNK_PREFIX}${stem}-${tag}-`);
|
|
595
|
+
}
|
|
573
596
|
var CONCAT_TIMEOUT_MS = 2 * 60 * 1e3;
|
|
597
|
+
var JOIN_FROM_CACHE_FOLDER = process.platform !== "win32";
|
|
574
598
|
var FAILURE_CACHE_TTL_MS = 60 * 1e3;
|
|
575
599
|
var PROXY_PENDING_RETRY_AFTER_SECONDS = 2;
|
|
576
600
|
var ENVIRONMENT_FAILURE_TTL_MS = 5 * PROXY_PENDING_RETRY_AFTER_SECONDS * 1e3;
|
|
@@ -890,7 +914,7 @@ function createPieceGate(size) {
|
|
|
890
914
|
}
|
|
891
915
|
async function encodeInChunks(ranges, chunks, tempPath, encode, concat, signal, gate, onDone = () => {
|
|
892
916
|
}) {
|
|
893
|
-
const extension =
|
|
917
|
+
const extension = extname3(tempPath);
|
|
894
918
|
const pieces = ranges.map((_, index) => `${chunks.prefix}${index}${extension}`);
|
|
895
919
|
const madeAsPlainFile = (piece) => isProjectCacheFile(chunks.projectDir, piece);
|
|
896
920
|
const pending = ranges.flatMap((_, index) => madeAsPlainFile(pieces[index]) ? [] : [index]);
|
|
@@ -940,17 +964,16 @@ async function encodeInChunks(ranges, chunks, tempPath, encode, concat, signal,
|
|
|
940
964
|
)
|
|
941
965
|
);
|
|
942
966
|
if (failure !== void 0) throw failure;
|
|
943
|
-
const
|
|
967
|
+
const listPath = join4(dirname4(tempPath), `${basename3(tempPath, extension)}.txt`);
|
|
944
968
|
try {
|
|
945
|
-
const listPath = join4(listDir, "pieces.txt");
|
|
946
969
|
writeFileSync(
|
|
947
970
|
listPath,
|
|
948
|
-
pieces.map((piece) =>
|
|
971
|
+
pieces.map((piece) => JOIN_FROM_CACHE_FOLDER ? basename3(piece) : piece.replace(/\\/g, "/")).map((piece) => `file '${piece.replace(/'/g, "'\\''")}'
|
|
949
972
|
`).join("")
|
|
950
973
|
);
|
|
951
974
|
await concat(listPath, tempPath);
|
|
952
975
|
} finally {
|
|
953
|
-
rmSync2(
|
|
976
|
+
rmSync2(listPath, { force: true });
|
|
954
977
|
}
|
|
955
978
|
for (const piece of pieces) if (existsSync2(piece)) unlinkSync2(piece);
|
|
956
979
|
}
|
|
@@ -1084,7 +1107,18 @@ async function runFfmpeg(sourcePath, outputPath, chunks, variant, box, limitSeco
|
|
|
1084
1107
|
chunks,
|
|
1085
1108
|
outputPath,
|
|
1086
1109
|
encode,
|
|
1087
|
-
(listPath, target) =>
|
|
1110
|
+
(listPath, target) => {
|
|
1111
|
+
const cwd = JOIN_FROM_CACHE_FOLDER ? dirname4(listPath) : void 0;
|
|
1112
|
+
return spawnFfmpeg(
|
|
1113
|
+
ffmpegPath,
|
|
1114
|
+
concatArgs(cwd ? basename3(listPath) : listPath, target, variant),
|
|
1115
|
+
CONCAT_TIMEOUT_MS,
|
|
1116
|
+
signal,
|
|
1117
|
+
void 0,
|
|
1118
|
+
false,
|
|
1119
|
+
cwd
|
|
1120
|
+
);
|
|
1121
|
+
},
|
|
1088
1122
|
signal,
|
|
1089
1123
|
gate,
|
|
1090
1124
|
(doneSeconds) => onProgress({ doneSeconds, totalSeconds })
|
|
@@ -1096,12 +1130,7 @@ async function runFfmpeg(sourcePath, outputPath, chunks, variant, box, limitSeco
|
|
|
1096
1130
|
function concatArgs(listPath, target, variant) {
|
|
1097
1131
|
return [
|
|
1098
1132
|
"-y",
|
|
1099
|
-
|
|
1100
|
-
"concat",
|
|
1101
|
-
"-safe",
|
|
1102
|
-
"0",
|
|
1103
|
-
"-i",
|
|
1104
|
-
listPath,
|
|
1133
|
+
...concatListInputArgs(listPath),
|
|
1105
1134
|
"-c",
|
|
1106
1135
|
"copy",
|
|
1107
1136
|
...variant === "h264" ? ["-movflags", "+faststart"] : [],
|
|
@@ -1115,10 +1144,11 @@ function lowerPriorityUnlessExited(pid) {
|
|
|
1115
1144
|
return;
|
|
1116
1145
|
}
|
|
1117
1146
|
}
|
|
1118
|
-
function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress, background = false) {
|
|
1147
|
+
function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress, background = false, cwd) {
|
|
1119
1148
|
return new Promise((resolvePromise, reject) => {
|
|
1120
1149
|
signal.throwIfAborted();
|
|
1121
1150
|
const proc = spawn2(ffmpegPath, args, {
|
|
1151
|
+
cwd,
|
|
1122
1152
|
stdio: ["ignore", "pipe", "pipe"],
|
|
1123
1153
|
killSignal: "SIGKILL",
|
|
1124
1154
|
signal,
|
|
@@ -1201,11 +1231,16 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
|
|
|
1201
1231
|
return sameContent;
|
|
1202
1232
|
}
|
|
1203
1233
|
const copyMade = (path) => isProjectCacheFile(projectDir, path);
|
|
1234
|
+
const chunks = {
|
|
1235
|
+
projectDir,
|
|
1236
|
+
prefix: unguessablePiecePrefix(cacheDir, basename3(cachePath, extname3(cachePath)))
|
|
1237
|
+
};
|
|
1204
1238
|
const release = await acquireCopyLock(
|
|
1205
1239
|
cachePath,
|
|
1206
1240
|
copyMade,
|
|
1207
1241
|
job.abandoned.signal,
|
|
1208
|
-
TRANSCODE_STALL_MS
|
|
1242
|
+
TRANSCODE_STALL_MS,
|
|
1243
|
+
basename3(chunks.prefix)
|
|
1209
1244
|
).catch((error) => {
|
|
1210
1245
|
throw error instanceof CopyLockStalledError ? new ProxyTranscodeError(error.message, null, "") : error;
|
|
1211
1246
|
});
|
|
@@ -1215,10 +1250,6 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
|
|
|
1215
1250
|
}
|
|
1216
1251
|
const tempPath = join4(cacheDir, `.tmp-${randomUUID()}-${basename3(cachePath)}`);
|
|
1217
1252
|
try {
|
|
1218
|
-
const chunks = {
|
|
1219
|
-
projectDir,
|
|
1220
|
-
prefix: join4(cacheDir, `${CHUNK_PREFIX}${basename3(cachePath, extname4(cachePath))}-`)
|
|
1221
|
-
};
|
|
1222
1253
|
await runFfmpeg(
|
|
1223
1254
|
absoluteSourcePath,
|
|
1224
1255
|
tempPath,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JLITKVAK.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
requestedProjectPath,
|
|
33
33
|
requiredFfmpeg,
|
|
34
34
|
resolveLocalAudioPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-V7A3632C.js";
|
|
36
36
|
import {
|
|
37
37
|
PROXY_PARAMS_VERSION,
|
|
38
38
|
PROXY_PENDING_RETRY_AFTER_SECONDS,
|
|
@@ -57,11 +57,11 @@ import {
|
|
|
57
57
|
scanProjectMedia,
|
|
58
58
|
shouldPrewarmProxy,
|
|
59
59
|
waitForProxy
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-DN2WT7UF.js";
|
|
61
61
|
import {
|
|
62
62
|
probeAudioTrack,
|
|
63
63
|
probeMediaMetadata
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-ZDPZZNLV.js";
|
|
65
65
|
import {
|
|
66
66
|
HistoryBusyError,
|
|
67
67
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
ensureHfIds,
|
|
136
136
|
stampHfIdsInPlace,
|
|
137
137
|
stripSdrPngColourTags
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-BBEPJIL6.js";
|
|
139
139
|
import {
|
|
140
140
|
RENDER_VARIABLES_FILE
|
|
141
141
|
} from "./chunk-F6PI5O3H.js";
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
normalizeGsapLocalRoot,
|
|
165
165
|
parseFps,
|
|
166
166
|
parsePreviewProxyBox
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-OWWIJYV3.js";
|
|
168
168
|
import {
|
|
169
169
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
170
170
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
resolveRateSpec,
|
|
180
180
|
sourceTimeAt,
|
|
181
181
|
stripEmbeddedRuntimeScripts
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-Y2D2KZC2.js";
|
|
183
183
|
import {
|
|
184
184
|
ProjectRootMissingError,
|
|
185
185
|
folderGone,
|
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
FFPROBE_PATH_ENV,
|
|
225
225
|
findFfBinary,
|
|
226
226
|
requireFfBinary
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-Z67ELZGQ.js";
|
|
228
228
|
|
|
229
229
|
// ../studio-server/dist/chunk-UEEXAVOA.js
|
|
230
230
|
function findUnsafeMutationValues(value, path = "body", options = {}) {
|
|
@@ -654,7 +654,7 @@ function studioMotionRenderRuntime(manifestContent, activeCompositionPath) {
|
|
|
654
654
|
applyManifest();
|
|
655
655
|
}
|
|
656
656
|
|
|
657
|
-
// ../studio-server/dist/chunk-
|
|
657
|
+
// ../studio-server/dist/chunk-BE5454WS.js
|
|
658
658
|
import { resolve } from "path";
|
|
659
659
|
function isAutoProxyEnabled(adapter) {
|
|
660
660
|
return adapter.autoProxy !== false;
|
|
@@ -701,7 +701,7 @@ async function injectMediaCodecMap(html, adapter, projectDir, compSrcPath, probe
|
|
|
701
701
|
return injectMediaCodecMapIntoHtml(html, projectDir, [{ html, compSrcPath }], probeCache, false);
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
// ../studio-server/dist/chunk-
|
|
704
|
+
// ../studio-server/dist/chunk-EZ3N2OLY.js
|
|
705
705
|
import { existsSync, readFileSync as readFileSync2 } from "fs";
|
|
706
706
|
import { join as join2 } from "path";
|
|
707
707
|
import { readlinkSync } from "fs";
|
|
@@ -7012,7 +7012,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
7012
7012
|
let block = extractGsapScriptBlock(html);
|
|
7013
7013
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
7014
7014
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
7015
|
-
const { GSAP_CDN } = await import("./dist-
|
|
7015
|
+
const { GSAP_CDN } = await import("./dist-ZJCX2EDP.js");
|
|
7016
7016
|
const bootstrap = [
|
|
7017
7017
|
`<script src="${GSAP_CDN}"></script>`,
|
|
7018
7018
|
"<script>",
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// src/utils/bundleWithLocalizedFonts.ts
|
|
15
15
|
async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer, bundleOptions) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-B5OKYH72.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir, bundleOptions);
|
|
18
18
|
return localizeFonts(html);
|
|
19
19
|
}
|
|
20
20
|
async function loadFontInjector() {
|
|
21
21
|
try {
|
|
22
|
-
const { loadProducer } = await import("./producer-
|
|
22
|
+
const { loadProducer } = await import("./producer-7YJ4HGWN.js");
|
|
23
23
|
const mod = await loadProducer();
|
|
24
24
|
return mod.injectDeterministicFontFaces ?? null;
|
|
25
25
|
} catch {
|
|
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SEZ6YFNG.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2TSEYJEW.js";
|
|
16
16
|
import {
|
|
17
17
|
chargedCredits,
|
|
18
18
|
idempotencyKey,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
publicVoices,
|
|
23
23
|
runJob,
|
|
24
24
|
senderScope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2EF7PBIL.js";
|
|
26
26
|
import {
|
|
27
27
|
Fix,
|
|
28
28
|
probeSeconds,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
round,
|
|
32
32
|
runFfmpeg,
|
|
33
33
|
videoClip
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Q6ECHIJY.js";
|
|
35
35
|
import {
|
|
36
36
|
loadSharp
|
|
37
37
|
} from "./chunk-LB6ZAP4I.js";
|
|
@@ -351,9 +351,9 @@ function assetsOf(r) {
|
|
|
351
351
|
async function uploaded(paths) {
|
|
352
352
|
const ids = /* @__PURE__ */ new Map();
|
|
353
353
|
if (!paths.length) return ids;
|
|
354
|
-
const { createCloudClient } = await import("./cloud-
|
|
354
|
+
const { createCloudClient } = await import("./cloud-7RGF4WQT.js");
|
|
355
355
|
const { uploadAssetViaDirectUpload } = await import("./upload-PEY7EYFV.js");
|
|
356
|
-
const { getMimeType } = await import("./dist-
|
|
356
|
+
const { getMimeType } = await import("./dist-CZNBPI6A.js");
|
|
357
357
|
const client = await createCloudClient();
|
|
358
358
|
for (const path of paths) {
|
|
359
359
|
const asset = await uploadAssetViaDirectUpload({
|