hyperframes 0.9.33 → 0.9.35
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/bin/hyperframes.mjs +10 -0
- package/dist/{add-GDXM36YQ.js → add-T5XBJN7F.js} +17 -16
- package/dist/{agentPromptGenerator-KPNDH2EI.js → agentPromptGenerator-KYLYM7IC.js} +11 -11
- package/dist/{animatedGifPrep-SAKETEZ2.js → animatedGifPrep-FLIPCLVQ.js} +10 -10
- package/dist/api.js +41 -41
- package/dist/{appHistory-WZIHFCPK.js → appHistory-VOZOEPVK.js} +3 -3
- package/dist/{asset-KOJC72AQ.js → asset-PJLMPMBK.js} +3 -3
- package/dist/{assetCataloger-Q4ZFUI6G.js → assetCataloger-ZQ2PWA47.js} +12 -12
- package/dist/{audio-XZBBXKQC.js → audio-EBICH5EQ.js} +21 -21
- package/dist/{auth-X45YSZGE.js → auth-OTDAEZYD.js} +2 -2
- package/dist/{autoUpdate-77XWQ564.js → autoUpdate-TQWOBFKJ.js} +2 -2
- package/dist/{avatars-D3D22TI2.js → avatars-WRUDCHTJ.js} +14 -14
- package/dist/{backgroundChecks-2L2RWFJ3.js → backgroundChecks-AMPTVQY5.js} +3 -3
- package/dist/backgroundChecksWorker.js +5 -4
- package/dist/{batchRender-O7J47H2Z.js → batchRender-SGTA6JAT.js} +6 -6
- package/dist/{beats-6RVVU56H.js → beats-TLHZXD7W.js} +13 -13
- package/dist/{benchmark-D5JRNAVQ.js → benchmark-TAXHNW33.js} +11 -11
- package/dist/{billing-WT4DGZII.js → billing-GOHX7W6X.js} +15 -15
- package/dist/{browser-2OR737P4.js → browser-H7K5L7WE.js} +10 -9
- package/dist/{bundleWithLocalizedFonts-VBET4RVR.js → bundleWithLocalizedFonts-6VWRV726.js} +1 -1
- package/dist/{capture-23X2CK56.js → capture-WJAV7DPT.js} +22 -22
- package/dist/{capture-B34FTO6G.js → capture-WVJK3FNU.js} +4 -4
- package/dist/{captureCompositionFrame-TPZKEVKN.js → captureCompositionFrame-R2OQ5A4S.js} +18 -18
- package/dist/{captureFile-Y2ZMB7HK.js → captureFile-MRDRPMNA.js} +3 -3
- package/dist/{catalog-ACHSYU5Z.js → catalog-JKDKE3QA.js} +17 -16
- package/dist/{catch-up-FGANS2BB.js → catch-up-65YBZQSC.js} +11 -11
- package/dist/{check-DXK4L5WP.js → check-XMNNDKNC.js} +50 -50
- package/dist/{checkAudio-4ISYJED3.js → checkAudio-ITIWPYET.js} +14 -14
- package/dist/{checkBrowser-5ECMULMP.js → checkBrowser-MQHZWWLA.js} +43 -43
- package/dist/{chunk-2I4DQZLQ.js → chunk-2QM6JA3F.js} +23 -37
- package/dist/{chunk-UC4X6I35.js → chunk-3F2DTPBD.js} +0 -6
- package/dist/chunk-42KTBKL4.js +5053 -0
- package/dist/{chunk-DMZER7D5.js → chunk-46ZLBZPE.js} +2 -2
- package/dist/{chunk-7UUUV4PN.js → chunk-47JK3BOK.js} +1 -1
- package/dist/{chunk-I3PA54IU.js → chunk-4IPKEJPW.js} +1 -1
- package/dist/{chunk-MDGNQWFN.js → chunk-5M43Z25X.js} +1 -1
- package/dist/{chunk-CHM3QYLF.js → chunk-5OHPI5OR.js} +3 -3
- package/dist/{chunk-SOAQ3XXB.js → chunk-5TAFQEKH.js} +2 -2
- package/dist/{chunk-XDRSEU2I.js → chunk-6AJG7TMS.js} +6 -6
- package/dist/{chunk-G7PITEUH.js → chunk-6MYO2IHD.js} +1 -1
- package/dist/{chunk-BMDABBHG.js → chunk-7IVPSA4K.js} +5 -17
- package/dist/{chunk-HPKW6UVW.js → chunk-7JCATDO6.js} +3 -3
- package/dist/{chunk-JZIEZCQM.js → chunk-7PBJR7WI.js} +5 -12
- package/dist/{chunk-O2T6ZTLN.js → chunk-7SUMXO6L.js} +1 -1
- package/dist/{chunk-UE2WSWNA.js → chunk-7ZYTAHZ2.js} +1 -1
- package/dist/{chunk-YTUPQTXA.js → chunk-A2MYAIM3.js} +10 -10
- package/dist/{chunk-A4VXOJZO.js → chunk-A2OQGUBL.js} +3 -3
- package/dist/{chunk-YNFHZ4RI.js → chunk-A3CUI2S2.js} +3 -3
- package/dist/{chunk-JCJJCYCP.js → chunk-A3MH6DGU.js} +10 -10
- package/dist/{chunk-VZQXHYEI.js → chunk-A3UI2LNA.js} +3 -3
- package/dist/{chunk-DDDSTRHU.js → chunk-ADAXA5XD.js} +26 -8
- package/dist/{chunk-2TBW7UOF.js → chunk-AOZKUVTY.js} +203 -115
- package/dist/{chunk-T3GSTIBS.js → chunk-AU6UGZZ4.js} +3 -3
- package/dist/{chunk-N6Y645MX.js → chunk-B7GOS2BL.js} +1 -1
- package/dist/{chunk-2QTGQGYA.js → chunk-BFXSMYNY.js} +1 -1
- package/dist/{chunk-IYLGUQFR.js → chunk-BHOEEMCW.js} +3 -3
- package/dist/{chunk-XUDJ5XSQ.js → chunk-BHPPJMXP.js} +6 -6
- package/dist/{chunk-REJ4NIBY.js → chunk-BHSQSWN6.js} +1 -1
- package/dist/{chunk-MA35E5OY.js → chunk-BTYCPOPD.js} +2 -2
- package/dist/{chunk-GHLLC6LJ.js → chunk-CEBLQRYG.js} +2 -2
- package/dist/{chunk-2LMCARA5.js → chunk-CI34E4VF.js} +6 -4
- package/dist/{chunk-CKJDY6EK.js → chunk-DC7AOIHN.js} +1 -1
- package/dist/{chunk-6ZVUTYNB.js → chunk-DLJ6ESP7.js} +6 -6
- package/dist/{chunk-23354HMA.js → chunk-DVAKYHZN.js} +3 -3
- package/dist/{chunk-B66UZ2YK.js → chunk-DYNIPOEN.js} +6 -6
- package/dist/{chunk-R45WFVRA.js → chunk-ECYVLHZZ.js} +2 -2
- package/dist/{chunk-W2FSQBUR.js → chunk-EIBERSJ2.js} +14 -14
- package/dist/{chunk-EX533ULK.js → chunk-EVMSNLUQ.js} +2 -2
- package/dist/{chunk-WYPRTHXQ.js → chunk-EXMJ7JS5.js} +2 -2
- package/dist/{chunk-I35B5RWZ.js → chunk-F645WHPZ.js} +4 -4
- package/dist/{chunk-ZIYXPDKY.js → chunk-FF6T5VPF.js} +2 -2
- package/dist/{chunk-G55YEL2L.js → chunk-FJ4PIVGB.js} +436 -57
- package/dist/{chunk-YAS347ZS.js → chunk-FLVHLNQN.js} +1 -1
- package/dist/{chunk-HEXTAQYG.js → chunk-FYCI7NEH.js} +2 -2
- package/dist/{chunk-6RV2QY4K.js → chunk-G4CQIZZC.js} +23 -23
- package/dist/{chunk-BBL6STGK.js → chunk-GHCG2KZD.js} +2 -2
- package/dist/{chunk-XVVPEWNX.js → chunk-GPERPLAQ.js} +1 -1
- package/dist/{chunk-VQJLTYEK.js → chunk-GT5REDGY.js} +2 -2
- package/dist/{chunk-CDI3CCAU.js → chunk-GUYH2XH2.js} +12 -14
- package/dist/{chunk-4DLYTSWQ.js → chunk-H3DP5ELI.js} +1 -1
- package/dist/chunk-HOIEN7O4.js +31 -0
- package/dist/{chunk-4CHGNFCS.js → chunk-I5VIATAH.js} +4 -4
- package/dist/{chunk-2B2IMLUQ.js → chunk-I6V25IXG.js} +1 -1
- package/dist/{chunk-76KUCQXD.js → chunk-IARWDMY7.js} +3 -3
- package/dist/{chunk-KRWPTZBY.js → chunk-IU5DC4HP.js} +94 -42
- package/dist/{chunk-PXDRW3QN.js → chunk-J466WOMZ.js} +1 -1
- package/dist/{chunk-6QEEF5RR.js → chunk-J54ZPEWO.js} +1 -1
- package/dist/{chunk-DGC2RIQE.js → chunk-JN3N335Z.js} +4 -4
- package/dist/{chunk-N2C7WJDG.js → chunk-KCIZBYAS.js} +1 -1
- package/dist/{chunk-SVI2CJ6R.js → chunk-KCPIENND.js} +1 -1
- package/dist/{chunk-W5PW26KE.js → chunk-KEUDODWJ.js} +1 -1
- package/dist/{chunk-QWM3NY2E.js → chunk-KKIAPWVZ.js} +4 -4
- package/dist/{chunk-ROXILOZ6.js → chunk-KLXPYLNA.js} +2 -2
- package/dist/{chunk-3J32XVJ6.js → chunk-LCK6C46G.js} +3 -3
- package/dist/{chunk-EVMY7IPL.js → chunk-LD6JONPV.js} +155 -22
- package/dist/{chunk-YSHUIQ3I.js → chunk-LO74I6MZ.js} +1 -1
- package/dist/{chunk-CNJLBAKM.js → chunk-LQV2PMKI.js} +2 -2
- package/dist/{chunk-N7C7U3ZR.js → chunk-M425BL2U.js} +22 -11
- package/dist/{chunk-MP36L7OJ.js → chunk-MG6GU4FF.js} +2 -2
- package/dist/{chunk-AIC7T7CC.js → chunk-MM5URNHE.js} +2 -2
- package/dist/{chunk-PIEVAPKP.js → chunk-MYETYFDI.js} +1 -1
- package/dist/{chunk-CHJGVW5W.js → chunk-N36NHUGP.js} +4 -11
- package/dist/{chunk-EX7WPDFA.js → chunk-NABIUZRZ.js} +2 -2
- package/dist/{chunk-4US5QCXR.js → chunk-NJF566HN.js} +77 -31
- package/dist/{chunk-XQWWFIBR.js → chunk-NMQ26YZX.js} +2 -2
- package/dist/{chunk-MVIUSNPZ.js → chunk-NQAXN2B2.js} +1 -1
- package/dist/{chunk-YDG3OXH3.js → chunk-NQE4NKVE.js} +2 -2
- package/dist/{chunk-ETWXZQN5.js → chunk-NTVSXJHQ.js} +2 -2
- package/dist/{chunk-U77L3ZQZ.js → chunk-OW5BBEVE.js} +1 -1
- package/dist/{chunk-SUXEL7G4.js → chunk-OYCKZZDC.js} +11 -11
- package/dist/{chunk-Y5DOT5NQ.js → chunk-PHDEKHEN.js} +1 -1
- package/dist/{chunk-KIAY63AB.js → chunk-PIA7JBWF.js} +26 -14
- package/dist/{chunk-RGYOCAHC.js → chunk-PP6XMZXN.js} +2 -2
- package/dist/{chunk-XFXCI4IP.js → chunk-Q4RX6D2H.js} +2 -2
- package/dist/{chunk-4WZU4FYS.js → chunk-QZFKLORI.js} +4 -4
- package/dist/{chunk-ADYMQM7T.js → chunk-R43U3RJ3.js} +2 -2
- package/dist/{chunk-C2VZ7UPE.js → chunk-RES7SNFU.js} +15 -15
- package/dist/{chunk-2RBQLV6B.js → chunk-RK3KWEOM.js} +1 -1
- package/dist/{chunk-ZOAANTVI.js → chunk-RZBPK4LO.js} +1 -1
- package/dist/{chunk-5GYTBKZA.js → chunk-S5FHA2NX.js} +2 -2
- package/dist/{chunk-SWPI27QV.js → chunk-SG4DOSAE.js} +8 -8
- package/dist/{chunk-L6BFXQ6S.js → chunk-SJGYWLHO.js} +3 -3
- package/dist/{chunk-JSVCF4A6.js → chunk-SM36NR25.js} +2 -2
- package/dist/{chunk-WIMVXPYG.js → chunk-SODOJ4CP.js} +11 -11
- package/dist/{chunk-ERJBWDPM.js → chunk-SWOE4NH4.js} +6 -6
- package/dist/{chunk-4FTJE22M.js → chunk-SZUO4O74.js} +2 -2
- package/dist/{chunk-O5CNNVRY.js → chunk-TORIKOIX.js} +8 -8
- package/dist/{chunk-TFBPCJPG.js → chunk-U47ZNIUB.js} +1 -1
- package/dist/{chunk-NQFIMBXS.js → chunk-UFWTTQ72.js} +2 -2
- package/dist/{chunk-FRH3CPW5.js → chunk-V4XLGSUL.js} +1 -1
- package/dist/{chunk-XSHJ37U3.js → chunk-VQVA4FRS.js} +8 -8
- package/dist/{chunk-HMB3IAVP.js → chunk-VX5JYR6N.js} +2 -2
- package/dist/{chunk-GOMTMQRT.js → chunk-VXVDZFZL.js} +1 -1
- package/dist/{chunk-MDBEAWP2.js → chunk-VYARX4SV.js} +3 -3
- package/dist/{chunk-77UB5EHM.js → chunk-WCSGSWKA.js} +1 -1
- package/dist/{chunk-2KYLVWLO.js → chunk-WWKU5VK7.js} +1 -1
- package/dist/{chunk-45ZQI734.js → chunk-X47GMPT2.js} +2 -2
- package/dist/{chunk-IEEIPTDW.js → chunk-X5BRDEOM.js} +2 -2
- package/dist/{chunk-G2XAFJ2B.js → chunk-X73RI4GQ.js} +2 -2
- package/dist/{chunk-7LTXT7ME.js → chunk-XAPVWRO5.js} +2 -2
- package/dist/{chunk-PNP2BO3U.js → chunk-XKL3WQI2.js} +3 -3
- package/dist/{chunk-RCB4SGTB.js → chunk-XODMUHGW.js} +50 -13
- package/dist/{chunk-HZTRKUKE.js → chunk-XWK2RSD5.js} +37 -0
- package/dist/{chunk-SIGASWB7.js → chunk-Y6U6DDBC.js} +4 -4
- package/dist/chunk-YFC5II7G.js +143 -0
- package/dist/chunk-YHJOTCTV.js +16 -0
- package/dist/{chunk-VKZSAAXZ.js → chunk-YUG4GVRH.js} +4 -4
- package/dist/{chunk-GBIASKIH.js → chunk-Z7VKBKC3.js} +1 -1
- package/dist/{chunk-OD7PLYYX.js → chunk-ZKGDIPMD.js} +32 -23
- package/dist/{chunk-LIWK3MFR.js → chunk-ZLTB7ZCQ.js} +6 -6
- package/dist/{chunk-5RVPI6QL.js → chunk-ZOL6363C.js} +3 -3
- package/dist/{clean-3IN64RHM.js → clean-MTIRQX5P.js} +28 -28
- package/dist/cli.js +66 -65
- package/dist/{cloud-LBUZBUP6.js → cloud-MWZ3SO3Z.js} +4 -4
- package/dist/{cloud-SVYXHFEG.js → cloud-SXXNSICW.js} +3 -3
- package/dist/{cloudrun-PZOF2QGL.js → cloudrun-7ZLJG5K7.js} +8 -8
- package/dist/{compare-UOJ3LXQQ.js → compare-336QVVJC.js} +42 -42
- package/dist/{compiler-5ZDHBKBQ.js → compiler-HYZUBDAD.js} +6 -6
- package/dist/{component-EVIPLTTJ.js → component-NEPVQVDF.js} +4 -4
- package/dist/{compositions-R4GG5FBO.js → compositions-5UXCOLME.js} +15 -15
- package/dist/{contactSheet-HZMP42FZ.js → contactSheet-3YTXO7U5.js} +4 -4
- package/dist/{curve-LR3PSRW3.js → curve-GDAFPSYA.js} +14 -14
- package/dist/{cuts-DHCOBAFT.js → cuts-U5XZJLGG.js} +15 -15
- package/dist/{delete-MMGGU3QP.js → delete-G4U723IG.js} +7 -7
- package/dist/{deploy-SKIGUTM2.js → deploy-ZJ6GBOAW.js} +2 -2
- package/dist/{describeProject-L7HNTBPV.js → describeProject-NOXO6HJS.js} +11 -11
- package/dist/{destroy-5HSMMDH7.js → destroy-ZYOIJW7D.js} +2 -2
- package/dist/{deterministicFonts-2ZPRAI3C.js → deterministicFonts-UDNPRDYM.js} +4 -4
- package/dist/{diff-KR7VKPYL.js → diff-NZ7IBYWS.js} +36 -36
- package/dist/{dist-3MFNUZSN.js → dist-CF7A6UPR.js} +3 -3
- package/dist/{dist-ZGYPFYOH.js → dist-I3WOJFIM.js} +4 -4
- package/dist/{dist-HK3AZNNL.js → dist-YSFMNDNF.js} +26 -23
- package/dist/{doctor-G7VGNSA5.js → doctor-OAEXYBD5.js} +17 -17
- package/dist/{energy-H7EEH6WO.js → energy-36Y2RVKN.js} +15 -15
- package/dist/{events-YD6N7OPQ.js → events-7MO6VYY5.js} +7 -7
- package/dist/{events-ASG27IXP.js → events-BN5A4QSC.js} +17 -17
- package/dist/{events-5ATZCZTK.js → events-OY5PAL44.js} +2 -2
- package/dist/{execute-OAS454OB.js → execute-6QR32QHM.js} +34 -34
- package/dist/{extract-645SENLA.js → extract-GS4GFBJ4.js} +15 -15
- package/dist/{face-WRT5XH4I.js → face-DXIURLMN.js} +16 -16
- package/dist/{feedback-3LKLR5MV.js → feedback-L5B5D2H4.js} +14 -14
- package/dist/{ffmpeg-PXKIZL2X.js → ffmpeg-RO3TC7DT.js} +10 -10
- package/dist/{figma-RIEVJJBW.js → figma-YSLP3NDJ.js} +3 -3
- package/dist/fontLocalizeCli.js +18 -17
- package/dist/{frames-OTB3J5W3.js → frames-NNGPW5Q5.js} +17 -17
- package/dist/{generate-IUKCZW2D.js → generate-IYY5CQKF.js} +26 -26
- package/dist/{get-6WVQ7TBV.js → get-GHTMJWAX.js} +7 -7
- package/dist/{gpuPolicy-HXSVAEU4.js → gpuPolicy-UGUQTJXT.js} +10 -10
- package/dist/{grade-compare-TCAYHDEF.js → grade-compare-HMQIS6CO.js} +41 -41
- package/dist/hangReport.js +2 -1
- package/dist/{heifImagePrep-GXIMK4HK.js → heifImagePrep-6CHEBOTB.js} +11 -11
- package/dist/{help-RGOL5EJD.js → help-M6V73NMA.js} +1 -1
- package/dist/{history-XKPRGJGS.js → history-JLNS7C6E.js} +15 -15
- 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-EYBBC42V.js → info-VHVWJBZ5.js} +17 -17
- package/dist/{init-F2FWPSMA.js → init-RAWSPX3T.js} +33 -33
- package/dist/{ink-BWFERAAT.js → ink-R2VCYLF3.js} +15 -15
- package/dist/{inspect-74N7L3BW.js → inspect-ODGFUWRM.js} +41 -41
- package/dist/{installer-LOUR7G4R.js → installer-YAJDSTNZ.js} +8 -8
- package/dist/{keyframes-WB5PTKFE.js → keyframes-MWS46OMG.js} +11 -11
- package/dist/{lambda-JYCNXUKB.js → lambda-EPIPZ62Q.js} +17 -17
- package/dist/{layout-P52EVR24.js → layout-IVOS3PHW.js} +41 -41
- package/dist/{lint-SL55KAS2.js → lint-G3XW5PVR.js} +13 -13
- package/dist/{lintProject-46WU53VC.js → lintProject-L42FF7XI.js} +3 -3
- package/dist/{list-LN6CQH52.js → list-25OWFBNT.js} +8 -8
- package/dist/{localPage-L6OJU3UH.js → localPage-PAUE6E6K.js} +11 -11
- package/dist/{login-WTOAMDID.js → login-EHL5EH3E.js} +4 -4
- package/dist/{look-O6ESLJRP.js → look-H2AAYHQC.js} +15 -15
- package/dist/{manager-IAXYSRG5.js → manager-DLEEPJVW.js} +2 -1
- package/dist/{manager-CMEZWENF.js → manager-T3FIJKIL.js} +11 -11
- package/dist/{measure-NEIXU53P.js → measure-IAGLDGL2.js} +11 -11
- package/dist/{media-treatment-6CAQG7MU.js → media-treatment-F53Y4K2K.js} +17 -17
- package/dist/{media-use-IXJFMKU7.js → media-use-7XRQIXDO.js} +22 -7
- package/dist/{models-TZALWUEY.js → models-UA72SFBG.js} +16 -16
- package/dist/{motionShot-OQYK6G6M.js → motionShot-WRHPBYSX.js} +22 -22
- package/dist/{normalize-audio-43PJLOBY.js → normalize-audio-6UO7T2NP.js} +14 -14
- package/dist/{open-EOX6QY4M.js → open-DVABOI2D.js} +19 -19
- package/dist/{parakeetRunner-STHAXQAF.js → parakeetRunner-IHEW335J.js} +18 -18
- package/dist/{pipeline-RRWZHFBQ.js → pipeline-SGJTBYFI.js} +13 -13
- package/dist/{plan-JWUSMF4W.js → plan-IB2LZKFH.js} +26 -26
- package/dist/{play-TUKTST32.js → play-OSJU47PB.js} +31 -31
- package/dist/{preflight-L42JKT6F.js → preflight-4UVA2SF4.js} +12 -12
- package/dist/{present-Z7HRDXPV.js → present-6HRJ67G2.js} +25 -25
- package/dist/{preview-HGTIRAV3.js → preview-ILIRTOIL.js} +59 -35
- package/dist/{probe-RXK44FY7.js → probe-QJIEY5RM.js} +15 -15
- package/dist/{producer-KJ2RZDJ3.js → producer-LUARVB5B.js} +1 -1
- package/dist/{projectConfig-K36NTJXP.js → projectConfig-CS4PKLO5.js} +11 -11
- package/dist/{publication-OZWLT6K6.js → publication-DQMOW7B4.js} +6 -6
- package/dist/{publish-CRUTXNYM.js → publish-TSZA3TYC.js} +19 -19
- package/dist/{remove-background-R37HZPCG.js → remove-background-URZDLZJ4.js} +14 -14
- package/dist/{render-ZHCPCISN.js → render-3HONOYZE.js} +49 -49
- package/dist/{render-SU2XTMJL.js → render-OHACUI7J.js} +8 -8
- package/dist/{render-EZMKBT7V.js → render-RDFQDDZA.js} +37 -37
- package/dist/{render-batch-YIUOEAAL.js → render-batch-EUKAQFHN.js} +8 -8
- package/dist/renderSetupWorker.js +6 -5
- package/dist/{resolver-DLCKRKQR.js → resolver-BTUTJ26S.js} +8 -8
- package/dist/{reverse-4FAVXIER.js → reverse-LTPJ6QRV.js} +1 -1
- package/dist/{run-H4GVEJVS.js → run-SIBZZM3T.js} +4 -4
- package/dist/{screenshotCapture-CQF5FYVI.js → screenshotCapture-2VXR5FHK.js} +13 -13
- package/dist/{service-XDQOULGD.js → service-47AZQ6EN.js} +14 -14
- package/dist/{share-CUCQALE7.js → share-4JJK6QM6.js} +19 -19
- package/dist/{sherpa-WZNRQUVC.js → sherpa-WDGLCJMP.js} +17 -17
- package/dist/sherpaWorker.js +4 -2
- package/dist/skills/hyperframes/references/plugin-installation.md +5 -2
- package/dist/skills/hyperframes/scripts/bake-basemap.mjs +1 -0
- package/dist/skills/hyperframes/scripts/lib/windows-exe-search.mjs +11 -0
- package/dist/skills/hyperframes/scripts/lib/windows-exe-search.test.mjs +149 -0
- package/dist/skills/hyperframes/scripts/locate.mjs +1 -0
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +21 -3
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +93 -7
- package/dist/skills/hyperframes-cli/references/doctor-browser.md +1 -1
- package/dist/skills/media-use/audio/scripts/carve.mjs +1 -0
- package/dist/skills/media-use/audio/scripts/extract-audio-data.py +3 -1
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +6 -6
- package/dist/skills/media-use/audio/scripts/lib/bgm.mjs +1 -0
- package/dist/skills/media-use/audio/scripts/lib/gemini-auth.mjs +1 -0
- package/dist/skills/media-use/audio/scripts/lib/python.mjs +1 -0
- package/dist/skills/media-use/audio/scripts/lib/recording.mjs +1 -0
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +12 -6
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +26 -6
- package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +37 -12
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +54 -18
- package/dist/skills/media-use/audio/scripts/trusted-program.test.mjs +106 -0
- package/dist/skills/media-use/audio/scripts/trusted_program.py +76 -0
- package/dist/skills/media-use/references/audio.md +2 -0
- package/dist/skills/media-use/references/operations.md +2 -1
- package/dist/skills/media-use/scripts/dither.mjs +1 -0
- package/dist/skills/media-use/scripts/eval.mjs +1 -0
- package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +22 -31
- package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +16 -11
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +34 -78
- package/dist/skills/media-use/scripts/lib/windows-exe-search.mjs +11 -0
- package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +43 -19
- package/dist/skills/media-use/scripts/transcribe.mjs +1 -0
- package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -17
- package/dist/skills/media-use/scripts/transcript-cut.mjs +1 -0
- package/dist/{skills-J52DBZAK.js → skills-32PFTMRC.js} +10 -10
- package/dist/{skillsUpdateCheck-26DJHBTC.js → skillsUpdateCheck-4YNSO2QT.js} +3 -3
- package/dist/{snapshot-ZIRQFDA7.js → snapshot-L26W46YP.js} +53 -53
- package/dist/{src-C3XYMTF4.js → src-KJ7FMIH7.js} +11 -9
- package/dist/{src-7BGBN6SS.js → src-SGZPUKDL.js} +15 -15
- package/dist/{start-QG2XNMYN.js → start-77AN6NW5.js} +24 -24
- package/dist/{staticProjectServer-TWMEFK3T.js → staticProjectServer-RDXGUNKX.js} +27 -27
- package/dist/{status-3UPA5WPI.js → status-BRVZZRTC.js} +18 -17
- package/dist/studio/assets/{codec-qz1-OXLj.js → codec-GKrIfefq.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-2eG1zFX5.js → hyperframes-player-BUFkdSG-.js} +1 -1
- package/dist/studio/assets/{index-DDmhnfrS.js → index-BzrZjoXW.js} +159 -159
- package/dist/studio/assets/{index-DUveJ_YP.js → index-oGGylite.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-CoHTKUjM.js → pausedVideoDecoder-VUkpOCb9.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Z42OO4JJ.js → studio-api-UZHSY6PR.js} +26 -23
- package/dist/{studioServer-SMN3RMVL.js → studioServer-UOVV7CDW.js} +126 -79
- package/dist/{sync-ONTI2WSI.js → sync-74O4W75V.js} +15 -15
- package/dist/{synthesize-FR5KPBRP.js → synthesize-7DD5JV36.js} +5 -4
- package/dist/{telemetry-RRXALB5D.js → telemetry-NB5MWICG.js} +7 -7
- package/dist/{templates-BHFOSD6F.js → templates-HOIYYCM2.js} +15 -15
- package/dist/{timeline-Z5IHY5TN.js → timeline-NUG347GZ.js} +26 -26
- package/dist/{tokens-MZVEPARM.js → tokens-TVAYON5K.js} +3 -3
- package/dist/{transcribe-M5N3YZZU.js → transcribe-3RN5NRX6.js} +14 -14
- package/dist/{transcribe-5IZS4BGW.js → transcribe-67A5YVQD.js} +31 -31
- package/dist/{tts-ZE776B4I.js → tts-SOSATBP4.js} +2 -2
- package/dist/{update-EVPWBIKY.js → update-QEVNP7XN.js} +12 -12
- package/dist/{updateCheck-2UUEF6TC.js → updateCheck-SZ6BPLHI.js} +2 -2
- package/dist/{upgrade-DK45FD4K.js → upgrade-NFDDBX2T.js} +5 -5
- package/dist/{urlDownloader-3MPHIDSA.js → urlDownloader-Q7225DS7.js} +9 -9
- package/dist/{validate-W27TQ367.js → validate-IMI6OBMO.js} +33 -33
- package/dist/{video-TI372QGV.js → video-K7UAJJLP.js} +12 -12
- package/dist/{voices-FZV4PGT6.js → voices-K2GLTRAS.js} +24 -24
- package/dist/warmCheck.js +52 -51
- package/dist/warmCheckClient.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-64F653HO.js +0 -164
- package/dist/chunk-WXOOAAT4.js +0 -314
- package/dist/chunk-XDDBSGBD.js +0 -5049
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{A as Ht,m as Ke,I as qt,v as le,p as Di,t as oe,b as Ni,a as m,w as Hi,B as we,F as yt,c as ce,d as K,e as Rt,f as Qe,r as vs,g as As,h as Ms,i as Is,j as qi,k as _e,l as Oi,s as Fs,n as $i,o as Bs,q as Be,u as gt,x as Ki,y as Rs,U as Ot,R as Ws,z as ve,C as Oe,D as Qi,V as $e,P as je,E as Gi,G as $t,T as Kt,M as Qt,H as zs,J as Us,K as Vs,L as Ls,N as Ds,O as ji,Q as Xi,S as Ns,W as Yi,X as Ee,Y as Hs,Z as qs,_ as Xe,$ as Os,a0 as $s,a1 as Ks,a2 as Qs,a3 as Gs,a4 as Zi,a5 as ft,a6 as Ji,a7 as es,a8 as ts,a9 as is,aa as ss,ab as js,ac as rs,ad as as,ae as Xs,af as ns,ag as Ys,ah as ht,ai as Jt,aj as bt,ak as Zs,al as w,am as ei,an as Js,ao as er,ap as tr,aq as Me,ar as ir,as as ti,at as Je,au as sr,av as rr,aw as ar,ax as nr,ay as or,az as ii,aA as cr,aB as ur,aC as Y,aD as dr,aE as si,aF as os,aG as ri,aH as cs,aI as us,aJ as _t,aK as Wt,aL as ai,aM as ni,aN as lr,aO as mr,aP as fr,aQ as hr,aR as pr,aS as lt,aT as gr,aU as wr,aV as Tr,aW as oi,aX as yr,aY as br,aZ as _r,a_ as ci,a$ as ui,b0 as di,b1 as Ne,b2 as li,b3 as kr,b4 as Sr,b5 as zt,b6 as et,b7 as tt,b8 as it,b9 as Cr,ba as mt,bb as xr,bc as be,bd as Ut,be as Vt,bf as st,bg as Re,bh as Fe,bi as ke,bj as Ue,bk as Ye,bl as Pr,bm as Ve,bn as We,bo as kt,bp as Er,bq as mi,br as vr,bs as Ar,bt as Lt,bu as Dt,bv as Mr,bw as Ir,bx as Fr,by as Br,bz as ze,bA as rt,bB as fi,bC as Rr,bD as hi,bE as pi,bF as gi,bG as Wr,bH as zr,bI as Ur,bJ as Vr,bK as Lr,bL as Dr}from"./codec-
|
|
1
|
+
import{A as Ht,m as Ke,I as qt,v as le,p as Di,t as oe,b as Ni,a as m,w as Hi,B as we,F as yt,c as ce,d as K,e as Rt,f as Qe,r as vs,g as As,h as Ms,i as Is,j as qi,k as _e,l as Oi,s as Fs,n as $i,o as Bs,q as Be,u as gt,x as Ki,y as Rs,U as Ot,R as Ws,z as ve,C as Oe,D as Qi,V as $e,P as je,E as Gi,G as $t,T as Kt,M as Qt,H as zs,J as Us,K as Vs,L as Ls,N as Ds,O as ji,Q as Xi,S as Ns,W as Yi,X as Ee,Y as Hs,Z as qs,_ as Xe,$ as Os,a0 as $s,a1 as Ks,a2 as Qs,a3 as Gs,a4 as Zi,a5 as ft,a6 as Ji,a7 as es,a8 as ts,a9 as is,aa as ss,ab as js,ac as rs,ad as as,ae as Xs,af as ns,ag as Ys,ah as ht,ai as Jt,aj as bt,ak as Zs,al as w,am as ei,an as Js,ao as er,ap as tr,aq as Me,ar as ir,as as ti,at as Je,au as sr,av as rr,aw as ar,ax as nr,ay as or,az as ii,aA as cr,aB as ur,aC as Y,aD as dr,aE as si,aF as os,aG as ri,aH as cs,aI as us,aJ as _t,aK as Wt,aL as ai,aM as ni,aN as lr,aO as mr,aP as fr,aQ as hr,aR as pr,aS as lt,aT as gr,aU as wr,aV as Tr,aW as oi,aX as yr,aY as br,aZ as _r,a_ as ci,a$ as ui,b0 as di,b1 as Ne,b2 as li,b3 as kr,b4 as Sr,b5 as zt,b6 as et,b7 as tt,b8 as it,b9 as Cr,ba as mt,bb as xr,bc as be,bd as Ut,be as Vt,bf as st,bg as Re,bh as Fe,bi as ke,bj as Ue,bk as Ye,bl as Pr,bm as Ve,bn as We,bo as kt,bp as Er,bq as mi,br as vr,bs as Ar,bt as Lt,bu as Dt,bv as Mr,bw as Ir,bx as Fr,by as Br,bz as ze,bA as rt,bB as fi,bC as Rr,bD as hi,bE as pi,bF as gi,bG as Wr,bH as zr,bI as Ur,bJ as Vr,bK as Lr,bL as Dr}from"./codec-GKrIfefq.js";import{bM as $n,bN as Kn,bO as Qn,bP as Gn,bQ as jn,bR as Xn,bS as Yn,bT as Zn,bU as Jn,bV as eo,bW as to,bX as io,bY as so,bZ as ro,b_ as ao,b$ as no,c0 as oo,c1 as co,c2 as uo,c3 as lo,c4 as mo,c5 as fo,c6 as ho,c7 as po,c8 as go,c9 as wo,ca as To,cb as yo,cc as bo,cd as _o,ce as ko,cf as So,cg as Co,ch as xo,ci as Po,cj as Eo,ck as vo,cl as Ao,cm as Mo,cn as Io,co as Fo,cp as Bo,cq as Ro,cr as Wo,cs as zo,ct as Uo,cu as Vo,cv as Lo,cw as Do,cx as No,cy as Ho,cz as qo,cA as Oo,cB as $o,cC as Ko,cD as Qo,cE as Go,cF as jo,cG as Xo,cH as Yo,cI as Zo,cJ as Jo,cK as ec,cL as tc,cM as ic,cN as sc,cO as rc,cP as ac,cQ as nc,cR as oc,cS as cc,cT as uc,cU as dc,cV as lc,cW as mc,cX as fc,cY as hc,cZ as pc,c_ as gc,c$ as wc,d0 as Tc,d1 as yc,d2 as bc,d3 as _c,d4 as kc,d5 as Sc,d6 as Cc,d7 as xc,d8 as Pc}from"./codec-GKrIfefq.js";import{n as wi}from"./index-BzrZjoXW.js";/*!
|
|
2
2
|
* Copyright (c) 2026-present, Vanilagy and contributors
|
|
3
3
|
*
|
|
4
4
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
package/dist/studio/assets/{pausedVideoDecoder-CoHTKUjM.js → pausedVideoDecoder-VUkpOCb9.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as V}from"./index-
|
|
1
|
+
import{l as V}from"./index-BzrZjoXW.js";import{bw as G,bN as K,cH as Q,bE as X}from"./codec-GKrIfefq.js";const x=1e-5,k=1e-9,T=h=>!h.variableFrameRate&&(h.frameRate??0)>0;function Y(h,i){const{sourceLead:r,inputLead:l,timeResolution:w,frameRate:p=0}=i;if(!T(i))return Math.max(l,h-r+l)+k;const d=Math.max(0,Math.floor((h-r)*p+k)),f=l+d/p;return(w>0?Math.round(f*w)/w:f)+x}function J(h,i,r){const{frameRate:l=0,sourceLead:w,inputLead:p}=r,d=T(r)?Math.round((h-p)*l)/l+w:h-p+w,f=Math.min(i,d);return{timestamp:f,duration:Math.max(T(r)?1/l:0,i-f+x)}}const E=64*1024*1024,M=4,Z=.5,$=2e3;async function q(h,i){if(!h.transparent)return h.sink.getSample(i);let r=null;try{for await(const l of h.sink.samplesAtTimestamps([i]))r==null||r.close(),r=l;return r}catch(l){throw r==null||r.close(),l}}function ot(h){const i=new Map,r=new Map,l=new Map,w=new Map,p=new Map;let d=0,f=!1;const _=t=>{var o,n;let e=new URL(t,location.href).pathname;try{e=decodeURIComponent(e)}catch{}return(n=Object.entries(((o=h.contentWindow)==null?void 0:o.__HF_MEDIA_SOURCE_FACTS__)??{}).filter(([s])=>e.endsWith(s)).sort(([s],[a])=>a.length-s.length)[0])==null?void 0:n[1]},g=(t=E)=>{for(const[e,o]of p){if(d<=t)break;e.pins>0||(p.delete(e),o.cache.delete(e.timestamp),d-=e.bytes,e.image.close())}},v=async t=>{if(t.disposed)return;t.disposed=!0,clearTimeout(t.idleTimer),r.get(t.key)===t&&r.delete(t.key);const e=(async()=>{t.transparent&&await t.tail,t.cancelReads(),t.input.dispose(),await y(t).catch(()=>{});for(const o of t.cache.values())p.delete(o),d-=o.bytes,o.image.close();t.cache.clear(),t.canvas.width=t.canvas.height=0})();return t.transparent?new Promise((o,n)=>{const s=setTimeout(()=>{t.cancelReads(),o()},$);e.then(o,n).finally(()=>clearTimeout(s))}):e},P=t=>{clearTimeout(t.idleTimer),!(t.disposed||t.users>0||[...t.cache.values()].some(e=>e.pins>0))&&(t.idleTimer=setTimeout(()=>{t.users>0||[...t.cache.values()].some(e=>e.pins>0)||r.get(t.key)===t&&(i.delete(t.key),v(t))},1e4))},D=async t=>{const e=V("thumbnail"),o=new G({source:new Q(t,e),formats:K});l.set(o,e.cancelReads);try{const n=await o.getPrimaryVideoTrack();if(!n||f)throw new Error("Preview video unavailable");const[s,a,u,c,m,S,F,B,j]=await Promise.all([n.getDisplayWidth(),n.getDisplayHeight(),n.getFirstTimestamp(),n.getTimeResolution(),n.getSquarePixelWidth(),n.getSquarePixelHeight(),n.getRotation(),n.getFlip(),n.canBeTransparent()]),b=document.createElement("canvas");b.width=Math.max(1,Math.ceil(s));const z=F%180===0?m/S:S/m;return b.height=Math.max(1,Math.round(b.width/z)),{key:t,input:o,cancelReads:e.cancelReads,sink:new X(n),canvas:b,rotation:F,flip:B,width:s,height:a,lead:u,ticks:c,transparent:j,tail:Promise.resolve(),iterator:null,iteratorEnd:0,lastTime:-1/0,cache:new Map,users:0,disposed:!1}}catch(n){throw o.dispose(),e.cancelReads(),n}finally{l.delete(o)}},I=()=>{for(const[t]of i){if(i.size<M)break;const e=r.get(t);e&&e.users===0&&![...e.cache.values()].some(o=>o.pins>0)&&(i.delete(t),v(e))}if(i.size>=M)throw new Error("Preview decoder budget reached")},L=async t=>{const e=t;if((w.get(e)??0)>performance.now())throw new Error("Preview decoder cooling down");let o=i.get(e);o||(I(),o=D(t),i.set(e,o)),i.delete(e),i.set(e,o);let n;try{n=await o}catch(s){throw i.get(e)===o&&(i.delete(e),w.set(e,performance.now()+5e3)),s}if(f||n.disposed)throw new DOMException("Preview disposed","AbortError");return r.set(e,n),n.users++,clearTimeout(n.idleTimer),n},y=async t=>{const e=t.iterator;t.iterator=null,await(e==null?void 0:e.return())},R=(t,e)=>{if(e.throwIfAborted(),f||t.disposed)throw new Error("Preview disposed")},O=async(t,e,o)=>{for(t.iterator||(t.iteratorEnd=e+8,t.iterator=t.sink.samples(e,t.iteratorEnd));;){R(t,o);const n=await t.iterator.next();if(n.done)return null;const s=n.value;let a=!1;try{if(R(t,o),s.timestamp>e+1e-6)return null;if(a=s.timestamp+s.duration>e+1e-6,a)return s}finally{a||s.close()}}},A=(t,e)=>(e.pins++,p.delete(e),p.set(e,t),e),W=async(t,e,o,n,s)=>{const a=t.canvas.getContext("2d",{alpha:!0});if(!a)throw new Error("Preview canvas unavailable");a.clearRect(0,0,t.canvas.width,t.canvas.height),a.imageSmoothingQuality="high",e.drawWithFit(a,{fit:"fill",rotation:t.rotation,flip:t.flip});const u=await createImageBitmap(t.canvas);if(s.aborted||f||t.disposed)throw u.close(),s.throwIfAborted(),new Error("Preview disposed");const c={image:u,...J(e.timestamp,o,n),bytes:u.width*u.height*4,pins:1},m=t.cache.get(c.timestamp);if(m)return m.duration=Math.max(m.duration,c.duration),u.close(),A(t,m);if(g(E-c.bytes),d+c.bytes>E)throw u.close(),new Error("Preview frame budget reached");return t.cache.set(c.timestamp,c),p.set(c,t),d+=c.bytes,c},H=(t,e,o)=>!t.transparent&&!o.variableFrameRate&&(o.frameRate??0)>0&&e>t.lastTime+1e-6&&e-t.lastTime<=Z,N=async(t,e,o,n)=>{R(t,n);const s=[...t.cache.values()].find(m=>e>=m.timestamp-1e-6&&e<m.timestamp+m.duration-1e-6);if(s)return A(t,s);const a=Y(e,o),u=H(t,e,o);let c=null;try{if((!u||a>=t.iteratorEnd)&&await y(t),c=u?await O(t,a,n):null,c||(await y(t),c=await q(t,a)),!c)throw new Error("No preview frame at requested time");return R(t,n),t.lastTime=e,await W(t,c,e,o,n)}finally{c==null||c.close(),(n.aborted||f)&&await y(t).catch(()=>{})}},U=(t,e)=>{const o=_(t.source);return{frameRate:o==null?void 0:o.frameRate,variableFrameRate:o==null?void 0:o.variableFrameRate,sourceLead:e.lead,inputLead:e.lead,timeResolution:e.ticks}},C=async(t,e)=>{e.throwIfAborted();const o=t.source;if(!o)throw new Error("Preview source unavailable");const n=await L(o);try{const s=U(t,n),a=n.tail.then(()=>N(n,t.time,s,e));n.tail=a.then(()=>{},()=>{});const u=await a;let c=!1;return g(),{source:u.image,timestamp:u.timestamp,duration:u.duration,width:n.width,height:n.height,release(){c||(c=!0,u.pins--,g(),P(n))}}}finally{n.users--,P(n)}};return{async decode(t,e){if(f)throw new DOMException("Preview disposed","AbortError");if(new Set(t.map(({source:a})=>a)).size>M)throw new Error("Preview decoder budget reached");const o=await Promise.allSettled(t.map(a=>C(a,e))),n=o.find(a=>a.status==="rejected"),s=o.flatMap(a=>a.status==="fulfilled"?[a.value]:[]);if(n||f||e.aborted){for(const a of s)a.release();throw n?n.reason:new DOMException("Preview cancelled","AbortError")}return s},async suspend(){const t=[...i.values()].map(e=>e.then(v).catch(()=>{}));i.clear();for(const[e,o]of l)o(),e.dispose();await Promise.all(t)},dispose(){if(!f){f=!0;for(const[t,e]of l)e(),t.dispose();for(const t of i.values())t.then(v).catch(()=>{});i.clear(),w.clear()}}}}export{ot as createPausedVideoDecoder};
|
package/dist/studio/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-BzrZjoXW.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-BJTCbv8z.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -10,23 +10,27 @@ import {
|
|
|
10
10
|
MIME_TYPES,
|
|
11
11
|
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
12
12
|
PREVIEW_BUNDLE_OPTIONS,
|
|
13
|
+
STUDIO_MOTION_PATH,
|
|
13
14
|
affectsPreview,
|
|
14
15
|
applyFileMutations,
|
|
15
16
|
buildSubCompositionHtml,
|
|
17
|
+
captureLoadGrant,
|
|
16
18
|
clearElementScreenshotIsolation,
|
|
17
19
|
compositionsAffectedBy,
|
|
18
20
|
createBackgroundRemovalJob,
|
|
19
21
|
createPreviewDocumentStore,
|
|
20
22
|
createStudioApi,
|
|
23
|
+
createStudioMotionRenderBodyScript,
|
|
21
24
|
duplicateElementInHtml,
|
|
22
25
|
getElementScreenshotClip,
|
|
23
26
|
getMimeType,
|
|
27
|
+
grantCaptureLoads,
|
|
24
28
|
originForListeningAddress,
|
|
25
29
|
previewAllowedHostsFromEnv,
|
|
26
30
|
stampProjectHfIds,
|
|
27
31
|
stampProjectHfIdsAsync,
|
|
28
32
|
thumbnailDeviceScaleFactor
|
|
29
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-FJ4PIVGB.js";
|
|
30
34
|
import {
|
|
31
35
|
dedupeClonedCompositionId,
|
|
32
36
|
findTargetElement,
|
|
@@ -34,16 +38,16 @@ import {
|
|
|
34
38
|
patchElementInHtml,
|
|
35
39
|
removeElementFromHtml,
|
|
36
40
|
splitElementInHtml
|
|
37
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-KKIAPWVZ.js";
|
|
38
42
|
import {
|
|
39
43
|
requestSubPath
|
|
40
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-BHPPJMXP.js";
|
|
41
45
|
import "./chunk-DONVZZLV.js";
|
|
42
46
|
import {
|
|
43
47
|
CACHE_DIR_NAME,
|
|
44
48
|
cleanupProxyCache
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-VQVA4FRS.js";
|
|
50
|
+
import "./chunk-CI34E4VF.js";
|
|
47
51
|
import {
|
|
48
52
|
DEFAULT_HISTORY_ROOT,
|
|
49
53
|
DELETED_VERSION,
|
|
@@ -79,42 +83,39 @@ import {
|
|
|
79
83
|
registerRenderOutput,
|
|
80
84
|
retainSnapshotOutput,
|
|
81
85
|
settledFileTag
|
|
82
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-6AJG7TMS.js";
|
|
83
87
|
import "./chunk-BZULWFMJ.js";
|
|
84
88
|
import {
|
|
85
|
-
STUDIO_MOTION_PATH,
|
|
86
|
-
createStudioMotionRenderBodyScript,
|
|
87
89
|
walkDir
|
|
88
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-YFC5II7G.js";
|
|
89
91
|
import {
|
|
90
92
|
MAX_OPEN_MEDIA_RANGE_BYTES,
|
|
91
|
-
openRangeEnd
|
|
92
|
-
} from "./chunk-64F653HO.js";
|
|
93
|
-
import "./chunk-ZB2XGJSP.js";
|
|
94
|
-
import {
|
|
95
93
|
STUDIO_MANUAL_EDITS_PATH,
|
|
96
94
|
createStudioManualEditsRenderBodyScript,
|
|
97
|
-
createStudioPositionSeekReapplyScript
|
|
98
|
-
|
|
95
|
+
createStudioPositionSeekReapplyScript,
|
|
96
|
+
openRangeEnd
|
|
97
|
+
} from "./chunk-LD6JONPV.js";
|
|
98
|
+
import "./chunk-ZB2XGJSP.js";
|
|
99
|
+
import "./chunk-HOIEN7O4.js";
|
|
99
100
|
import "./chunk-5S7W3TUO.js";
|
|
100
101
|
import "./chunk-D3MUHMFG.js";
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-PIA7JBWF.js";
|
|
103
|
+
import "./chunk-X5BRDEOM.js";
|
|
104
|
+
import "./chunk-NABIUZRZ.js";
|
|
104
105
|
import "./chunk-FXMKHHPO.js";
|
|
105
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-42KTBKL4.js";
|
|
106
107
|
import "./chunk-VC76R6W2.js";
|
|
107
108
|
import {
|
|
108
109
|
isSafePath
|
|
109
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-XWK2RSD5.js";
|
|
110
111
|
import "./chunk-RQVDTPGD.js";
|
|
111
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-LQV2PMKI.js";
|
|
112
113
|
import "./chunk-K2Z6OXEI.js";
|
|
113
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-IU5DC4HP.js";
|
|
114
115
|
import {
|
|
115
116
|
decodeWellFormedEscapes
|
|
116
117
|
} from "./chunk-6MKM2RVL.js";
|
|
117
|
-
import "./chunk-
|
|
118
|
+
import "./chunk-M425BL2U.js";
|
|
118
119
|
import "./chunk-FR7YBU3H.js";
|
|
119
120
|
import "./chunk-DPVXBVLL.js";
|
|
120
121
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -148,6 +149,7 @@ export {
|
|
|
148
149
|
artifactDirectory,
|
|
149
150
|
beginArtifactCapture,
|
|
150
151
|
buildSubCompositionHtml,
|
|
152
|
+
captureLoadGrant,
|
|
151
153
|
cleanupProxyCache,
|
|
152
154
|
clearElementScreenshotIsolation,
|
|
153
155
|
compositionsAffectedBy,
|
|
@@ -169,6 +171,7 @@ export {
|
|
|
169
171
|
forgetRecordedArtifacts,
|
|
170
172
|
getElementScreenshotClip,
|
|
171
173
|
getMimeType,
|
|
174
|
+
grantCaptureLoads,
|
|
172
175
|
historyCache,
|
|
173
176
|
identifyFileWrite,
|
|
174
177
|
isSafePath,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shareError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PHDEKHEN.js";
|
|
10
10
|
import {
|
|
11
11
|
ReviewFailed,
|
|
12
12
|
fileSha256Base64,
|
|
@@ -15,25 +15,25 @@ import {
|
|
|
15
15
|
shareSite,
|
|
16
16
|
trackShareInteraction,
|
|
17
17
|
versionOnPage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ADAXA5XD.js";
|
|
19
19
|
import {
|
|
20
20
|
acquireRenderLock,
|
|
21
21
|
describeRenderLockHolder,
|
|
22
22
|
renderJobObservabilityTelemetryPayload,
|
|
23
23
|
renderObservabilityTelemetryPayload,
|
|
24
24
|
startRenderCpuSampler
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DVAKYHZN.js";
|
|
26
26
|
import {
|
|
27
27
|
HANDOFF_READY,
|
|
28
28
|
desktopDownloadUrl,
|
|
29
29
|
desktopInstalled,
|
|
30
30
|
insideHostApp,
|
|
31
31
|
openInDesktop
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-A3UI2LNA.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveRenderBrowser
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-LCK6C46G.js";
|
|
36
|
+
import "./chunk-FF6T5VPF.js";
|
|
37
37
|
import "./chunk-X7MTZ4T2.js";
|
|
38
38
|
import "./chunk-M3BJEZ7E.js";
|
|
39
39
|
import {
|
|
@@ -41,23 +41,23 @@ import {
|
|
|
41
41
|
} from "./chunk-NL4RCLQF.js";
|
|
42
42
|
import "./chunk-BAWGEGKD.js";
|
|
43
43
|
import "./chunk-6BEFEWFB.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-MG6GU4FF.js";
|
|
45
45
|
import "./chunk-X7MTZ4T2.js";
|
|
46
46
|
import {
|
|
47
47
|
seekCompositionTimeline
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-OYCKZZDC.js";
|
|
49
|
+
import "./chunk-SM36NR25.js";
|
|
50
50
|
import "./chunk-YGGZ23BB.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-47JK3BOK.js";
|
|
52
|
+
import "./chunk-BHSQSWN6.js";
|
|
53
53
|
import "./chunk-262C25DQ.js";
|
|
54
54
|
import {
|
|
55
55
|
GSAP_VENDOR_FILES,
|
|
56
56
|
readBundleFile,
|
|
57
57
|
resolveGsapVendorDir
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
58
|
+
} from "./chunk-BFXSMYNY.js";
|
|
59
|
+
import "./chunk-F645WHPZ.js";
|
|
60
|
+
import "./chunk-WWKU5VK7.js";
|
|
61
61
|
import {
|
|
62
62
|
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
63
63
|
PREVIEW_BUNDLE_OPTIONS,
|
|
@@ -69,18 +69,19 @@ import {
|
|
|
69
69
|
createStudioApi,
|
|
70
70
|
getElementScreenshotClip,
|
|
71
71
|
getMimeType,
|
|
72
|
+
grantCaptureLoads,
|
|
72
73
|
hostHeaderAllowed,
|
|
73
74
|
identityAllowed,
|
|
74
75
|
originForListeningAddress,
|
|
75
76
|
previewAllowedHostsFromEnv,
|
|
76
77
|
sameOriginPost,
|
|
77
78
|
thumbnailDeviceScaleFactor
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
79
|
+
} from "./chunk-FJ4PIVGB.js";
|
|
80
|
+
import "./chunk-KKIAPWVZ.js";
|
|
81
|
+
import "./chunk-BHPPJMXP.js";
|
|
81
82
|
import "./chunk-DONVZZLV.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-VQVA4FRS.js";
|
|
84
|
+
import "./chunk-CI34E4VF.js";
|
|
84
85
|
import {
|
|
85
86
|
DEFAULT_HISTORY_ROOT,
|
|
86
87
|
DELETED_VERSION,
|
|
@@ -93,42 +94,42 @@ import {
|
|
|
93
94
|
historyCache,
|
|
94
95
|
identifyFileWrite,
|
|
95
96
|
openProjectHistory
|
|
96
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-6AJG7TMS.js";
|
|
97
98
|
import "./chunk-BZULWFMJ.js";
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-UFWTTQ72.js";
|
|
100
|
+
import "./chunk-ZLTB7ZCQ.js";
|
|
100
101
|
import {
|
|
101
102
|
resolveCaptureBrowserGpuMode,
|
|
102
103
|
resolveLocalBrowserGpuMode,
|
|
103
104
|
resolveLocalWebGpu
|
|
104
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-GHCG2KZD.js";
|
|
105
106
|
import {
|
|
106
107
|
isLinkFreeWithinProject
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-YFC5II7G.js";
|
|
108
109
|
import {
|
|
109
110
|
resolveAutoProxy
|
|
110
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-5TAFQEKH.js";
|
|
111
112
|
import "./chunk-XT7X6QCP.js";
|
|
112
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-Z7VKBKC3.js";
|
|
113
114
|
import "./chunk-HVW7ABXD.js";
|
|
114
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-KEUDODWJ.js";
|
|
115
116
|
import "./chunk-JHOCK3DG.js";
|
|
116
|
-
import "./chunk-
|
|
117
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-XODMUHGW.js";
|
|
118
|
+
import "./chunk-IARWDMY7.js";
|
|
118
119
|
import "./chunk-AWDFDFI3.js";
|
|
119
120
|
import "./chunk-P6LJ4Y32.js";
|
|
120
121
|
import "./chunk-D3UCUI7G.js";
|
|
121
|
-
import "./chunk-
|
|
122
|
+
import "./chunk-X73RI4GQ.js";
|
|
122
123
|
import {
|
|
123
124
|
renderMotionBlurTelemetryPayload,
|
|
124
125
|
trackRenderComplete,
|
|
125
126
|
trackRenderError
|
|
126
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-R43U3RJ3.js";
|
|
127
128
|
import {
|
|
128
129
|
canaryDecisionsForStudio,
|
|
129
130
|
resetTelemetryPostureCache,
|
|
130
131
|
shouldTrack
|
|
131
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-LO74I6MZ.js";
|
|
132
133
|
import "./chunk-PXVQOMKL.js";
|
|
133
134
|
import "./chunk-MCDNAIFF.js";
|
|
134
135
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -136,38 +137,38 @@ import "./chunk-JNHJX2BZ.js";
|
|
|
136
137
|
import "./chunk-54HJ63Q2.js";
|
|
137
138
|
import "./chunk-JCNPHRGX.js";
|
|
138
139
|
import {
|
|
140
|
+
createStudioManualEditsRenderBodyScript,
|
|
139
141
|
encoderJobOptions
|
|
140
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-LD6JONPV.js";
|
|
141
143
|
import "./chunk-ZB2XGJSP.js";
|
|
142
144
|
import {
|
|
143
|
-
createStudioManualEditsRenderBodyScript,
|
|
144
145
|
isProjectIgnoredDir
|
|
145
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-HOIEN7O4.js";
|
|
146
147
|
import {
|
|
147
148
|
assertWebGpuAdapterAvailable,
|
|
148
149
|
compositionRequiresWebGpu
|
|
149
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-AOZKUVTY.js";
|
|
150
151
|
import "./chunk-Z5J67X44.js";
|
|
151
152
|
import "./chunk-5S7W3TUO.js";
|
|
152
153
|
import "./chunk-D3MUHMFG.js";
|
|
153
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-PIA7JBWF.js";
|
|
154
155
|
import {
|
|
155
156
|
isAtomicTempPath,
|
|
156
157
|
replaceFileAtomically
|
|
157
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-X5BRDEOM.js";
|
|
158
159
|
import "./chunk-3GXQPCJC.js";
|
|
159
160
|
import {
|
|
160
161
|
GSAP_CDN_VERSION,
|
|
161
162
|
fpsToNumber
|
|
162
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-NABIUZRZ.js";
|
|
163
164
|
import "./chunk-FXMKHHPO.js";
|
|
164
|
-
import "./chunk-
|
|
165
|
+
import "./chunk-42KTBKL4.js";
|
|
165
166
|
import "./chunk-VC76R6W2.js";
|
|
166
167
|
import {
|
|
167
168
|
realpath
|
|
168
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-XWK2RSD5.js";
|
|
169
170
|
import "./chunk-RQVDTPGD.js";
|
|
170
|
-
import "./chunk-
|
|
171
|
+
import "./chunk-7IVPSA4K.js";
|
|
171
172
|
import "./chunk-PV4XID2A.js";
|
|
172
173
|
import {
|
|
173
174
|
runRenderSetupWorker
|
|
@@ -178,14 +179,14 @@ import {
|
|
|
178
179
|
} from "./chunk-FOZBANEN.js";
|
|
179
180
|
import "./chunk-K4MJX7SR.js";
|
|
180
181
|
import "./chunk-WE42NVH7.js";
|
|
181
|
-
import "./chunk-
|
|
182
|
+
import "./chunk-LQV2PMKI.js";
|
|
182
183
|
import {
|
|
183
184
|
isWithinProjectRoot
|
|
184
185
|
} from "./chunk-K2Z6OXEI.js";
|
|
185
|
-
import "./chunk-
|
|
186
|
+
import "./chunk-IU5DC4HP.js";
|
|
186
187
|
import "./chunk-FBN2M2HK.js";
|
|
187
188
|
import "./chunk-6MKM2RVL.js";
|
|
188
|
-
import "./chunk-
|
|
189
|
+
import "./chunk-M425BL2U.js";
|
|
189
190
|
import "./chunk-FR7YBU3H.js";
|
|
190
191
|
import "./chunk-DPVXBVLL.js";
|
|
191
192
|
import "./chunk-GWTIFRF5.js";
|
|
@@ -208,7 +209,7 @@ import "./chunk-CPHQTXP5.js";
|
|
|
208
209
|
import "./chunk-QBXDU24O.js";
|
|
209
210
|
import {
|
|
210
211
|
VERSION
|
|
211
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-X47GMPT2.js";
|
|
212
213
|
import "./chunk-E63BDV4Z.js";
|
|
213
214
|
import {
|
|
214
215
|
detectAgentRuntime
|
|
@@ -383,7 +384,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
383
384
|
async function buildFromSource() {
|
|
384
385
|
if (!existsSync(ENTRY_TS)) return null;
|
|
385
386
|
try {
|
|
386
|
-
const mod = await import("./dist-
|
|
387
|
+
const mod = await import("./dist-I3WOJFIM.js");
|
|
387
388
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
388
389
|
const source = mod.loadHyperframeRuntimeSource();
|
|
389
390
|
if (source) return source;
|
|
@@ -394,7 +395,7 @@ async function buildFromSource() {
|
|
|
394
395
|
}
|
|
395
396
|
async function getInlinedRuntime() {
|
|
396
397
|
try {
|
|
397
|
-
const mod = await import("./dist-
|
|
398
|
+
const mod = await import("./dist-I3WOJFIM.js");
|
|
398
399
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
399
400
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
400
401
|
}
|
|
@@ -656,7 +657,12 @@ import { bodyLimit } from "hono/body-limit";
|
|
|
656
657
|
|
|
657
658
|
// src/server/shareBoundary.ts
|
|
658
659
|
import { randomBytes, timingSafeEqual } from "crypto";
|
|
659
|
-
|
|
660
|
+
var isLoopbackSocketPeer = (address) => {
|
|
661
|
+
const ip = address?.replace(/^::ffff:/i, "") ?? "";
|
|
662
|
+
return ip === "::1" || /^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(ip);
|
|
663
|
+
};
|
|
664
|
+
function localShareRequestAllowed(request, socketPeer) {
|
|
665
|
+
if (!isLoopbackSocketPeer(socketPeer)) return false;
|
|
660
666
|
const host = request.headers.get("host");
|
|
661
667
|
if (!host || request.headers.get("sec-fetch-site") !== "same-origin") return false;
|
|
662
668
|
try {
|
|
@@ -682,15 +688,52 @@ function createShareCsrf() {
|
|
|
682
688
|
}
|
|
683
689
|
|
|
684
690
|
// src/server/shareEvents.ts
|
|
691
|
+
function choice(value, ...allowed) {
|
|
692
|
+
return allowed.find((item) => item === value);
|
|
693
|
+
}
|
|
685
694
|
function shareEventInput(value) {
|
|
686
695
|
if (typeof value !== "object" || value === null || Array.isArray(value)) return null;
|
|
687
696
|
if (Object.keys(value).length !== 2 || !("event" in value)) return null;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
697
|
+
const field = (key) => Reflect.get(value, key);
|
|
698
|
+
switch (value.event) {
|
|
699
|
+
case "share_opened": {
|
|
700
|
+
const link = choice(field("link"), "none", "live", "changed");
|
|
701
|
+
return link === void 0 ? null : { event: value.event, link };
|
|
702
|
+
}
|
|
703
|
+
case "share_link_copied": {
|
|
704
|
+
const via = choice(field("via"), "copy");
|
|
705
|
+
return via === void 0 ? null : { event: value.event, via };
|
|
706
|
+
}
|
|
707
|
+
case "share_upgrade_clicked": {
|
|
708
|
+
const reason = choice(field("reason"), "project_limit", "sharing_permissions");
|
|
709
|
+
return reason === void 0 ? null : { event: value.event, reason };
|
|
710
|
+
}
|
|
711
|
+
default:
|
|
712
|
+
return settingInteraction(value);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
function settingInteraction(value) {
|
|
716
|
+
const field = (key) => Reflect.get(value, key);
|
|
717
|
+
switch (value.event) {
|
|
718
|
+
case "share_audience_selected": {
|
|
719
|
+
const audience = choice(field("audience"), "public", "team", "invite", "private");
|
|
720
|
+
return audience === void 0 ? null : { event: value.event, audience };
|
|
721
|
+
}
|
|
722
|
+
case "share_source_toggled": {
|
|
723
|
+
const enabled = choice(field("enabled"), true, false);
|
|
724
|
+
return enabled === void 0 ? null : { event: value.event, enabled };
|
|
725
|
+
}
|
|
726
|
+
case "share_navigation_clicked": {
|
|
727
|
+
const destination = choice(field("destination"), "manage", "shared_page");
|
|
728
|
+
return destination === void 0 ? null : { event: value.event, destination };
|
|
729
|
+
}
|
|
730
|
+
case "share_action_clicked": {
|
|
731
|
+
const action = choice(field("action"), "share", "update", "access", "off", "on", "login");
|
|
732
|
+
return action === void 0 ? null : { event: value.event, action };
|
|
733
|
+
}
|
|
734
|
+
default:
|
|
735
|
+
return null;
|
|
736
|
+
}
|
|
694
737
|
}
|
|
695
738
|
|
|
696
739
|
// src/server/sharePresentation.ts
|
|
@@ -732,7 +775,10 @@ function knownChanges(value) {
|
|
|
732
775
|
}
|
|
733
776
|
function planOffer(entitlements) {
|
|
734
777
|
const plan = entitlements?.plan ?? null;
|
|
735
|
-
return {
|
|
778
|
+
return {
|
|
779
|
+
plan,
|
|
780
|
+
upgradeUrl: plan === "free" ? `${shareSite()}/pricing?entry=local_studio_share` : null
|
|
781
|
+
};
|
|
736
782
|
}
|
|
737
783
|
function presentedState(value, held) {
|
|
738
784
|
if (held) return "unavailable";
|
|
@@ -841,7 +887,7 @@ function optionalBoolean(value) {
|
|
|
841
887
|
function validSpace(value) {
|
|
842
888
|
return value === void 0 || typeof value === "string" && /^[A-Za-z0-9_-]{1,128}$/.test(value);
|
|
843
889
|
}
|
|
844
|
-
var defaultCreate = async (path, progress) => (await import("./service-
|
|
890
|
+
var defaultCreate = async (path, progress) => (await import("./service-47AZQ6EN.js")).createShareService(path, progress, {
|
|
845
891
|
surface: "local_studio",
|
|
846
892
|
pinIdentity: true
|
|
847
893
|
});
|
|
@@ -869,7 +915,7 @@ function mountShareRoutes(app, projectDir, create = defaultCreate, login = defau
|
|
|
869
915
|
};
|
|
870
916
|
routes.use("*", async (c, next) => {
|
|
871
917
|
c.header("Cache-Control", "no-store");
|
|
872
|
-
if (!localShareRequestAllowed(c.req.raw))
|
|
918
|
+
if (!localShareRequestAllowed(c.req.raw, c.env?.incoming?.socket.remoteAddress))
|
|
873
919
|
return c.json({ code: "forbidden", message: "Open sharing from this local Studio." }, 403);
|
|
874
920
|
if (c.req.path !== "/api/share/bootstrap" && !sessions.get(c.req.header("x-hyperframes-share-csrf") ?? ""))
|
|
875
921
|
return c.json({ code: "forbidden", message: "Refresh Studio to reconnect sharing." }, 403);
|
|
@@ -1080,13 +1126,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
1080
1126
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
1081
1127
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
1082
1128
|
async function loadStudioProducer() {
|
|
1083
|
-
if (!isDevMode()) return await import("./src-
|
|
1129
|
+
if (!isDevMode()) return await import("./src-SGZPUKDL.js");
|
|
1084
1130
|
if (!process.versions.bun) {
|
|
1085
1131
|
throw new Error(
|
|
1086
1132
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
1087
1133
|
);
|
|
1088
1134
|
}
|
|
1089
|
-
return await import("./src-
|
|
1135
|
+
return await import("./src-SGZPUKDL.js");
|
|
1090
1136
|
}
|
|
1091
1137
|
function resolveDistDir() {
|
|
1092
1138
|
return resolveStudioBundle().dir;
|
|
@@ -1201,8 +1247,8 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
1201
1247
|
_thumbnailBrowserInitializing = (async () => {
|
|
1202
1248
|
try {
|
|
1203
1249
|
if (isShuttingDown()) return null;
|
|
1204
|
-
const { ensureBrowser } = await import("./manager-
|
|
1205
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
1250
|
+
const { ensureBrowser } = await import("./manager-DLEEPJVW.js");
|
|
1251
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-KJ7FMIH7.js");
|
|
1206
1252
|
let executablePath;
|
|
1207
1253
|
try {
|
|
1208
1254
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1377,7 +1423,7 @@ function createStudioServer(options) {
|
|
|
1377
1423
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1378
1424
|
async bundle(dir, options2) {
|
|
1379
1425
|
try {
|
|
1380
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1426
|
+
const { bundleToSingleHtml } = await import("./compiler-HYZUBDAD.js");
|
|
1381
1427
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1382
1428
|
html = html.replace(
|
|
1383
1429
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1390,10 +1436,10 @@ function createStudioServer(options) {
|
|
|
1390
1436
|
}
|
|
1391
1437
|
},
|
|
1392
1438
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1393
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1394
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1395
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1396
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1439
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-UDNPRDYM.js");
|
|
1440
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-FLIPCLVQ.js");
|
|
1441
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-6CHEBOTB.js");
|
|
1442
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-Q7225DS7.js");
|
|
1397
1443
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1398
1444
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1399
1445
|
const heifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
@@ -1428,7 +1474,7 @@ function createStudioServer(options) {
|
|
|
1428
1474
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1429
1475
|
},
|
|
1430
1476
|
async lint(html, opts) {
|
|
1431
|
-
const { lintHyperframeHtml } = await import("./dist-
|
|
1477
|
+
const { lintHyperframeHtml } = await import("./dist-CF7A6UPR.js");
|
|
1432
1478
|
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1433
1479
|
},
|
|
1434
1480
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
@@ -1574,7 +1620,7 @@ function createStudioServer(options) {
|
|
|
1574
1620
|
startBackgroundRemoval(opts) {
|
|
1575
1621
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1576
1622
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1577
|
-
const pipeline = await import("./pipeline-
|
|
1623
|
+
const pipeline = await import("./pipeline-SGJTBYFI.js").catch(
|
|
1578
1624
|
() => import(sourcePipelinePath)
|
|
1579
1625
|
);
|
|
1580
1626
|
return pipeline.render(renderOpts);
|
|
@@ -1602,6 +1648,7 @@ function createStudioServer(options) {
|
|
|
1602
1648
|
opts.seekTime,
|
|
1603
1649
|
async (page) => {
|
|
1604
1650
|
await page.setViewport(viewport);
|
|
1651
|
+
await grantCaptureLoads(await page.createCDPSession(), opts.previewUrl);
|
|
1605
1652
|
await page.goto(opts.previewUrl, { waitUntil: "domcontentloaded", timeout: 1e4 });
|
|
1606
1653
|
await assertWebGpuAdapterAvailable(
|
|
1607
1654
|
page,
|
|
@@ -1659,8 +1706,8 @@ function createStudioServer(options) {
|
|
|
1659
1706
|
}
|
|
1660
1707
|
},
|
|
1661
1708
|
async listRegistryCatalog() {
|
|
1662
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1663
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1709
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-BTUTJ26S.js");
|
|
1710
|
+
const { loadProjectConfig } = await import("./projectConfig-CS4PKLO5.js");
|
|
1664
1711
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1665
1712
|
const entries = await listRegistryItems(void 0, registry);
|
|
1666
1713
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1669,9 +1716,9 @@ function createStudioServer(options) {
|
|
|
1669
1716
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1670
1717
|
},
|
|
1671
1718
|
async installRegistryBlock(opts) {
|
|
1672
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1673
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1674
|
-
const { registryTargetPath } = await import("./publication-
|
|
1719
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-T5XBJN7F.js");
|
|
1720
|
+
const { recordRewrittenInstall } = await import("./installer-YAJDSTNZ.js");
|
|
1721
|
+
const { registryTargetPath } = await import("./publication-DQMOW7B4.js");
|
|
1675
1722
|
const { result, item } = await addToProject({
|
|
1676
1723
|
name: opts.blockName,
|
|
1677
1724
|
projectDir: opts.project.dir,
|
|
@@ -1786,8 +1833,8 @@ function createStudioServer(options) {
|
|
|
1786
1833
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1787
1834
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1788
1835
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1789
|
-
import("./preflight-
|
|
1790
|
-
import("./ffmpeg-
|
|
1836
|
+
import("./preflight-4UVA2SF4.js"),
|
|
1837
|
+
import("./ffmpeg-RO3TC7DT.js")
|
|
1791
1838
|
]);
|
|
1792
1839
|
const { outcomes } = await runEnvironmentChecks();
|
|
1793
1840
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1807,7 +1854,7 @@ function createStudioServer(options) {
|
|
|
1807
1854
|
mountShareRoutes(app, projectDir);
|
|
1808
1855
|
let cachedFFmpegPath;
|
|
1809
1856
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1810
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1857
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-RO3TC7DT.js");
|
|
1811
1858
|
if (!cachedFFmpegPath) {
|
|
1812
1859
|
cachedFFmpegPath = findFFmpeg();
|
|
1813
1860
|
}
|
|
@@ -1816,7 +1863,7 @@ function createStudioServer(options) {
|
|
|
1816
1863
|
}
|
|
1817
1864
|
return next();
|
|
1818
1865
|
});
|
|
1819
|
-
const api = createStudioApi(adapter, { allowedHosts });
|
|
1866
|
+
const api = createStudioApi(adapter, { allowedHosts, sandboxThumbnailCaptures: true });
|
|
1820
1867
|
app.all("/api/*", async (c) => {
|
|
1821
1868
|
const url = new URL(c.req.url);
|
|
1822
1869
|
url.pathname = url.pathname.slice(4);
|
|
@@ -1924,7 +1971,7 @@ function createStudioServer(options) {
|
|
|
1924
1971
|
});
|
|
1925
1972
|
const renders = [...inFlightRenders];
|
|
1926
1973
|
for (const [abortController] of renders) abortController.abort();
|
|
1927
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1974
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-KJ7FMIH7.js");
|
|
1928
1975
|
killTrackedProcesses();
|
|
1929
1976
|
const closeBrowsers = Promise.allSettled([
|
|
1930
1977
|
closeThumbnailBrowser().catch(() => {
|