hyperframes 0.9.58 → 0.9.61
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 +3 -1
- package/dist/{add-JQUKPSEZ.js → add-LNPIKHAX.js} +33 -32
- package/dist/{agentPromptGenerator-3NEY7FPP.js → agentPromptGenerator-N3HL4JWM.js} +19 -20
- package/dist/{animatedGifPrep-VMUZ6IVJ.js → animatedGifPrep-SEPXIM4W.js} +24 -24
- package/dist/api.d.ts +8 -1
- package/dist/api.js +70 -69
- package/dist/{appHistory-JNI6IOR6.js → appHistory-ASGUPUUV.js} +6 -6
- package/dist/{asset-ZT3VXZ67.js → asset-3L2G3ROU.js} +17 -7
- package/dist/{assetCataloger-D2DV65BA.js → assetCataloger-3D75A6GI.js} +21 -22
- package/dist/{audio-LD5H2R5V.js → audio-U4W5ZWQ7.js} +54 -53
- package/dist/{auth-4FPYYMSH.js → auth-V4G5ZE3P.js} +4 -4
- package/dist/{autoUpdate-5ZKSFCG4.js → autoUpdate-QYKF3DDS.js} +6 -6
- package/dist/{avatars-DCLFE7VG.js → avatars-SB2XCDWJ.js} +31 -32
- package/dist/{backgroundChecks-UZA3F46H.js → backgroundChecks-KHBYRE6J.js} +16 -9
- package/dist/backgroundChecksWorker.js +9 -9
- package/dist/{batchRender-TAUW3CT2.js → batchRender-6S5GMICZ.js} +13 -14
- package/dist/{beats-X3LCR6OG.js → beats-7YLYCCMD.js} +21 -22
- package/dist/{benchmark-DNZQT3YQ.js → benchmark-IBX7ZWVU.js} +37 -35
- package/dist/{billing-4BFUAHWX.js → billing-EAHOGMQW.js} +28 -29
- package/dist/{browser-5J2MTDB6.js → browser-XKYRXDJW.js} +23 -24
- package/dist/{bundleWithLocalizedFonts-XWK47ZVF.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
- package/dist/{capture-TVYTKWTG.js → capture-4WKQKMXG.js} +38 -17
- package/dist/{capture-2YSVFKWV.js → capture-IBOCZ2MK.js} +56 -50
- package/dist/{captureCompositionFrame-L765HLCT.js → captureCompositionFrame-HZA3LNU3.js} +29 -30
- package/dist/{captureFile-DOCK42K3.js → captureFile-Z7HQDRC2.js} +4 -4
- package/dist/captureProxy-4K3J652A.js +23 -0
- package/dist/{catalog-CHGGRRQX.js → catalog-TSXQTLKM.js} +45 -43
- package/dist/{catch-up-OCFU6ZR3.js → catch-up-LD2B5CE3.js} +35 -29
- package/dist/{check-LWK4Z7FI.js → check-TEZKUD26.js} +72 -72
- package/dist/{checkAudio-R5ORBXBO.js → checkAudio-3GM74ZGV.js} +22 -23
- package/dist/{checkBrowser-6SH73T47.js → checkBrowser-OFH3I7Q6.js} +62 -62
- package/dist/{chunk-2WA62M3B.js → chunk-22B53HD3.js} +10 -5
- package/dist/{chunk-K2EJQ44S.js → chunk-2CNVJQKU.js} +1 -1
- package/dist/{chunk-XMT4MG6W.js → chunk-2H4SJSUS.js} +14 -14
- package/dist/{chunk-6RPKPL22.js → chunk-2SPQTJA2.js} +25 -23
- package/dist/{chunk-GIVMQDSK.js → chunk-32H642MS.js} +2 -2
- package/dist/chunk-3GF72UPC.js +256 -0
- package/dist/chunk-3HJX4F2S.js +39 -0
- package/dist/{chunk-VXE46PXX.js → chunk-3JVTHNDH.js} +1 -1
- package/dist/{chunk-H3LEOZVK.js → chunk-3ROFCQAW.js} +1 -1
- package/dist/{chunk-NLVIE7VN.js → chunk-3W2ORSFV.js} +4 -4
- package/dist/{chunk-4QPT3IEL.js → chunk-4AMOVEV7.js} +181 -59
- package/dist/{chunk-A4L7G74T.js → chunk-4EWS3KP3.js} +3 -3
- package/dist/{chunk-AJ7YRQS4.js → chunk-4ORH2OXS.js} +2 -2
- package/dist/{chunk-2GRCLLKU.js → chunk-4SDNEKTL.js} +4 -4
- package/dist/{chunk-CDNVZEGQ.js → chunk-4T45V6GF.js} +5 -2
- package/dist/{chunk-GDIBE57N.js → chunk-4ZLWEPK4.js} +2 -2
- package/dist/{chunk-CRPLPK6J.js → chunk-5F2ULLFW.js} +7 -7
- package/dist/{chunk-O5U3Y5DX.js → chunk-5GUYYSVT.js} +1 -1
- package/dist/{chunk-EOXNEA4Z.js → chunk-5RM7274K.js} +21 -9
- package/dist/{chunk-E4IR34CF.js → chunk-5T2LNQAH.js} +58 -20
- package/dist/{chunk-M5TTYUZM.js → chunk-5ZAM42GH.js} +6 -6
- package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
- package/dist/{chunk-A4YRESMH.js → chunk-63CSQYYO.js} +2 -2
- package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
- package/dist/{chunk-X3IVUSOX.js → chunk-6KU6TCSS.js} +3 -3
- package/dist/{chunk-DHVRVI7F.js → chunk-6NDSDQCR.js} +62 -27
- package/dist/{chunk-O4K22EFS.js → chunk-6OKMCIDU.js} +24 -14
- package/dist/{chunk-D3M5VOC5.js → chunk-6P7FLYOR.js} +55 -125
- package/dist/{chunk-JQZ5WP7L.js → chunk-6R22Y26Z.js} +1 -1
- package/dist/{chunk-2SJNGWSY.js → chunk-6X2CLRU7.js} +1 -1
- package/dist/{chunk-PYTF6VHF.js → chunk-6ZU654EU.js} +3 -3
- package/dist/{chunk-G3U5CUF3.js → chunk-73NC557V.js} +2 -2
- package/dist/{chunk-7WAWUQDQ.js → chunk-7463BOQJ.js} +4 -4
- package/dist/{chunk-4N3WOFP3.js → chunk-7AP5C4C2.js} +19 -19
- package/dist/{chunk-FFOFGL2O.js → chunk-7DMES2F3.js} +2 -2
- package/dist/{chunk-Y6CZFX5X.js → chunk-7GDEQJSL.js} +28 -19
- package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
- package/dist/{chunk-CNAOJ7XI.js → chunk-A7NRMVUG.js} +1 -1
- package/dist/{chunk-TLGQQ324.js → chunk-ADQ7XZE5.js} +11 -9
- package/dist/{chunk-M3IHARIW.js → chunk-B5JWBMDR.js} +102 -40
- package/dist/{chunk-7ZHBY7T5.js → chunk-B5TLZC2D.js} +11 -4
- package/dist/{chunk-DH3M5X3Y.js → chunk-BAU3ASNM.js} +4 -4
- package/dist/{chunk-ELRE6LVJ.js → chunk-BHZZM2PK.js} +5 -5
- package/dist/chunk-BNH2IKGV.js +5101 -0
- package/dist/{chunk-ROESFEBP.js → chunk-BNO5RN55.js} +74 -66
- package/dist/{chunk-EWKJDXH6.js → chunk-C2GAAMZ3.js} +4 -4
- package/dist/{chunk-OMZSPAK5.js → chunk-C7IEAEKF.js} +1 -1
- package/dist/{chunk-ZFOV3R2L.js → chunk-CAAUQUCW.js} +23 -9
- package/dist/{chunk-CPDPSNSB.js → chunk-CPHK3XMF.js} +7 -7
- package/dist/{chunk-NJPLH762.js → chunk-CPLVXXRS.js} +4 -4
- package/dist/{chunk-AMS7Q7P7.js → chunk-CRX444MF.js} +22 -21
- package/dist/{chunk-4LZSNWFJ.js → chunk-CRZ7FUMI.js} +3 -3
- package/dist/{chunk-VI2LLFW6.js → chunk-CSWJCRDU.js} +2 -2
- package/dist/{chunk-37Y334MN.js → chunk-CT54FOTS.js} +18 -14
- package/dist/{chunk-CGODFJZ7.js → chunk-CYM53TWZ.js} +32 -18
- package/dist/chunk-D37I36FY.js +21 -0
- package/dist/{chunk-LO5USUM4.js → chunk-DD37XZVE.js} +1 -1
- package/dist/{chunk-OD7XWF5T.js → chunk-DWGDP537.js} +12 -6
- package/dist/chunk-EDH2DMXM.js +113 -0
- package/dist/{chunk-TAXMLPTE.js → chunk-ENKXJNKX.js} +2 -2
- package/dist/{chunk-UJTLTFB6.js → chunk-ERYGKPIR.js} +1 -1
- package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
- package/dist/{chunk-GVIJFPZV.js → chunk-FLJ4S7NA.js} +2 -2
- package/dist/{chunk-KYKQO4VN.js → chunk-FU62NEWC.js} +3 -3
- package/dist/{chunk-MPC3OODR.js → chunk-G7HO2FFX.js} +4 -4
- package/dist/chunk-GADMF4BL.js +170 -0
- package/dist/{chunk-DWFWF6IR.js → chunk-GNRC4L6F.js} +34 -242
- package/dist/{chunk-BSFTB6AM.js → chunk-GYPZTG46.js} +12 -6
- package/dist/{chunk-OL7RHRNJ.js → chunk-H4HYZUE3.js} +2 -2
- package/dist/{chunk-V3O4AFO3.js → chunk-H6Y4XOSP.js} +17 -15
- package/dist/{chunk-PGITR2WX.js → chunk-HAMPVCRY.js} +4 -4
- package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
- package/dist/{chunk-HFIVZJJD.js → chunk-HTHLFEO2.js} +1 -1
- package/dist/{chunk-SM5PNCDI.js → chunk-ICZWQNBR.js} +2 -2
- package/dist/{chunk-HTGJOOXE.js → chunk-IIXSSRUR.js} +4 -4
- package/dist/{chunk-GEOJA37C.js → chunk-ILKK6F5E.js} +3 -3
- package/dist/{chunk-IHXMN5YH.js → chunk-IOWECUEU.js} +2 -2
- package/dist/{chunk-SE4NOUB6.js → chunk-IT2YUKYY.js} +5 -5
- package/dist/chunk-IU6AC3WL.js +125 -0
- package/dist/{chunk-IGZQYMZA.js → chunk-J56ZJFSF.js} +303 -123
- package/dist/{chunk-5SGGOZNL.js → chunk-KBEC6VQS.js} +595 -206
- package/dist/{chunk-WEU6WLVT.js → chunk-KTY46LIH.js} +8 -4
- package/dist/chunk-KUJJJBV2.js +211 -0
- package/dist/{chunk-CHCMXYER.js → chunk-KVIXXJLO.js} +1 -1
- package/dist/{chunk-XYP4T6TQ.js → chunk-KYZEK7QF.js} +5 -5
- package/dist/{chunk-UGKUGYHD.js → chunk-L7MFHIG7.js} +5 -2
- package/dist/{chunk-YTHXSYYB.js → chunk-LB6ZAP4I.js} +19 -11
- package/dist/{chunk-SV72WLBE.js → chunk-LGIWC6KN.js} +28 -15
- package/dist/{chunk-ADVVQX4I.js → chunk-LMNCEQCC.js} +4 -2
- package/dist/{chunk-VLFBOKZX.js → chunk-LTXZLTXW.js} +304 -234
- package/dist/{chunk-WJIWXHXK.js → chunk-LULZFFDN.js} +3 -3
- package/dist/{chunk-CGJIMWNU.js → chunk-LV2ETFC5.js} +5 -5
- package/dist/{chunk-DL6PEJWH.js → chunk-LYTELQL2.js} +2 -4
- package/dist/{chunk-W2OXNTHG.js → chunk-LZSSGF7G.js} +3 -3
- package/dist/chunk-MERWX4DZ.js +159 -0
- package/dist/{chunk-CVTIGS5K.js → chunk-MJBBKSKB.js} +1 -1
- package/dist/{chunk-5IUVWP3A.js → chunk-MPVJI4SE.js} +2 -2
- package/dist/{chunk-7WYJXKIG.js → chunk-MPX3FO4A.js} +5 -5
- package/dist/{chunk-ERDQIRUL.js → chunk-MQCIX6O2.js} +20 -10
- package/dist/{chunk-ZO5NHAF3.js → chunk-MTCVUAUK.js} +10 -4
- package/dist/{chunk-E26Z73S3.js → chunk-MTKXKULM.js} +2 -2
- package/dist/{chunk-MCDNAIFF.js → chunk-NGRWDXRZ.js} +1 -1
- package/dist/{chunk-FNXU56VT.js → chunk-NK2UW3WR.js} +1 -1
- package/dist/{chunk-PS7WBIPK.js → chunk-NOJRZCN3.js} +33 -18
- package/dist/{chunk-JOOKM2NC.js → chunk-NU7BEOCX.js} +3 -3
- package/dist/chunk-NY6E4272.js +112 -0
- package/dist/{chunk-JZVI2TMX.js → chunk-OBP5WNKP.js} +3 -3
- package/dist/{chunk-AM4Y3XMR.js → chunk-OGOR22GY.js} +4 -4
- package/dist/{chunk-D2LIT7UR.js → chunk-OH3MUFZG.js} +1 -1
- package/dist/{chunk-DX5Y3L5B.js → chunk-OPUR2XQ2.js} +6 -6
- package/dist/{chunk-SYKUNH25.js → chunk-OW6MOJSR.js} +59 -7
- package/dist/{chunk-XCJ2YYMV.js → chunk-P5M3IEXO.js} +1 -1
- package/dist/{chunk-D2LSYXLW.js → chunk-PAHTZDMZ.js} +1 -1
- package/dist/{chunk-OSKSTJNQ.js → chunk-PJQVJSMG.js} +21 -12
- package/dist/{chunk-72GTIFAI.js → chunk-POVOGRMU.js} +2 -2
- package/dist/{chunk-U5MILT4G.js → chunk-PPETKAEO.js} +1 -1
- package/dist/{chunk-ZLTB7ZCQ.js → chunk-PQ2OPPGP.js} +8 -4
- package/dist/chunk-PTGNUVCB.js +112 -0
- package/dist/{chunk-X6JUUQCM.js → chunk-Q4FVSYTD.js} +5 -2
- package/dist/{chunk-MYETYFDI.js → chunk-Q7IOMZ5X.js} +2 -2
- package/dist/{chunk-GRSZAGJB.js → chunk-R2LBMDYH.js} +2 -2
- package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
- package/dist/{chunk-VSM7OIG2.js → chunk-RDJOA5MM.js} +2 -2
- package/dist/{chunk-OEGWTN6N.js → chunk-RF3DT4CS.js} +1 -1
- package/dist/{chunk-WGHJUGNU.js → chunk-RJCQZMNI.js} +10 -10
- package/dist/{chunk-B2WXMYMA.js → chunk-RPICLHBJ.js} +1 -1
- package/dist/{chunk-7ECPFKQV.js → chunk-RRI7NGQZ.js} +37 -13
- package/dist/{chunk-X3UXEB2U.js → chunk-RSYV6NNI.js} +2 -2
- package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
- package/dist/{chunk-QGQCWG7F.js → chunk-SCEBICAQ.js} +2 -2
- package/dist/{chunk-JKLWQUSV.js → chunk-SDIQEPAR.js} +1 -1
- package/dist/{chunk-3VMZQQUI.js → chunk-SIQGTRZ5.js} +1 -1
- package/dist/{chunk-N6PAWR5C.js → chunk-SQI2MWJE.js} +5 -5
- package/dist/{chunk-BSDUTNFX.js → chunk-SYMLVFQF.js} +1 -1
- package/dist/{chunk-XMAU5ZQX.js → chunk-TFAKFI3R.js} +1 -1
- package/dist/{chunk-SNKBI4YB.js → chunk-TJAFCC37.js} +9 -9
- package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
- package/dist/{chunk-4NNYYCJN.js → chunk-TRVWLAQ3.js} +25 -21
- package/dist/{chunk-UDLWVQ74.js → chunk-TTRX7NM3.js} +35 -21
- package/dist/{chunk-66W5IWLO.js → chunk-U7M4SZUB.js} +13 -2
- package/dist/{chunk-TLDIP7Y3.js → chunk-UEJMLVGW.js} +16 -17
- package/dist/{chunk-ZAWQJOTW.js → chunk-UX5KLSAJ.js} +74 -76
- package/dist/{chunk-O2BLY7PO.js → chunk-VJVTGSGW.js} +1 -1
- package/dist/{chunk-IE6BIB3L.js → chunk-VM2VBJRC.js} +34 -3
- package/dist/{chunk-AM6UYKVR.js → chunk-VNWPHKKI.js} +11 -11
- package/dist/{chunk-WQZQMADW.js → chunk-VRUVJTFW.js} +244 -28
- package/dist/{chunk-37VS6QY6.js → chunk-VSS3OAZB.js} +1 -1
- package/dist/{chunk-H7DTMLAR.js → chunk-VZM7AFUH.js} +39 -24
- package/dist/{chunk-WLNHZ2OM.js → chunk-W772ZFTE.js} +21 -6
- package/dist/{chunk-3GKGBYW3.js → chunk-WTO3A7ET.js} +120 -9
- package/dist/{chunk-ALD7JBPV.js → chunk-WTS245RC.js} +2 -2
- package/dist/{chunk-VBEDZGBW.js → chunk-WTUDKVWQ.js} +74 -19
- package/dist/{chunk-OPSGEOCO.js → chunk-WVCCSYZC.js} +53 -31
- package/dist/{chunk-ZCLC3KVY.js → chunk-X3NGTIE3.js} +1 -1
- package/dist/{chunk-RV3HR3BZ.js → chunk-XLG3JMSS.js} +9 -9
- package/dist/{chunk-ZYNNZ5DE.js → chunk-Y53Z2M77.js} +2 -2
- package/dist/{chunk-O2INZCGB.js → chunk-YB2ZJJFJ.js} +1 -1
- package/dist/{chunk-J6VYWZSO.js → chunk-YLC67YFR.js} +1 -1
- package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
- package/dist/chunk-Z3BPDCRV.js +537 -0
- package/dist/{chunk-I6V25IXG.js → chunk-Z55ASKZE.js} +2 -2
- package/dist/{chunk-EZJHKHWU.js → chunk-ZBDITGMP.js} +3 -3
- package/dist/{chunk-MSC5KBCE.js → chunk-ZGSGBGTB.js} +32 -24
- package/dist/{clean-6ODSABBF.js → clean-RJKQ23WH.js} +46 -46
- package/dist/cli.js +120 -77
- package/dist/{cloud-IMYQB5RC.js → cloud-R3NQSUTQ.js} +4 -4
- package/dist/{cloud-NTKLXMBS.js → cloud-VUR3ZO6O.js} +10 -10
- package/dist/{cloudrun-JNLDP33J.js → cloudrun-SZYAYV7N.js} +24 -16
- package/dist/{compare-VLYZ6ZS4.js → compare-AO5VJBJW.js} +79 -100
- package/dist/{compiler-7M2UCEWG.js → compiler-65SP7M2P.js} +9 -10
- package/dist/{component-KMUHKZ4R.js → component-WGTPAIKX.js} +23 -9
- package/dist/{compositions-ESLWNOMS.js → compositions-HWM6DNJA.js} +28 -29
- package/dist/{contactSheet-4YF7U6U7.js → contactSheet-ROUVWDRO.js} +7 -7
- package/dist/{curve-7RPSNRPE.js → curve-PLPTMDS4.js} +27 -28
- package/dist/{cuts-KBAAZSPS.js → cuts-T5GYTDUA.js} +28 -29
- package/dist/{delete-EP5Z7HKF.js → delete-6WE3N3VO.js} +33 -21
- package/dist/{deploy-MVR63JLD.js → deploy-GYY6CYQD.js} +14 -13
- package/dist/{describeProject-NBVZT5EN.js → describeProject-UQQ2GGIX.js} +19 -20
- package/dist/{destroy-DQKIT574.js → destroy-WSGREGAG.js} +14 -13
- package/dist/{deterministicFonts-LYBMXXBW.js → deterministicFonts-JER4GPCM.js} +7 -7
- package/dist/{diff-RI3FTMOZ.js → diff-JQBZUPKG.js} +305 -114
- package/dist/{dist-LRGTXDSM.js → dist-6EF2P3P7.js} +6 -5
- package/dist/{dist-G7VFX23I.js → dist-HF753IX4.js} +12 -10
- package/dist/{dist-TOOMD57O.js → dist-JRJHFP27.js} +24 -24
- package/dist/{docs-YTM4NX2R.js → docs-3OAPSKPG.js} +1 -1
- package/dist/{doctor-43YNRCRB.js → doctor-SPJ5AJKX.js} +31 -32
- package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
- package/dist/{energy-YCH36KCC.js → energy-KPDVIZ5D.js} +28 -29
- package/dist/{events-VUR27EF6.js → events-4WAMG3JE.js} +15 -16
- package/dist/{events-6RJBITYN.js → events-P4223ZZZ.js} +30 -31
- package/dist/{events-JCPYG3CD.js → events-XON5I7VU.js} +9 -9
- package/dist/{execute-OXMKWIFI.js → execute-CN5FLBYU.js} +57 -53
- package/dist/{extract-XGD2RDEX.js → extract-ABSBKYYH.js} +29 -30
- package/dist/{face-XCNWNTGN.js → face-PLPQ5335.js} +29 -30
- package/dist/{feedback-JNFDVBFV.js → feedback-QPQ4G72X.js} +70 -44
- package/dist/{ffmpeg-YQLAJUEA.js → ffmpeg-F3XK57IP.js} +19 -20
- package/dist/{figma-XXGHYEB3.js → figma-S5CVANVZ.js} +3 -3
- package/dist/fontLocalizeCli.js +29 -29
- package/dist/{frames-PEMWFRRY.js → frames-F4QEQB4V.js} +30 -31
- package/dist/{generate-H5M4QSJR.js → generate-O3OPOCHP.js} +46 -47
- package/dist/{get-R6Y2OE5P.js → get-P7LQ7U22.js} +29 -17
- package/dist/{gpuPolicy-2WVDQYZA.js → gpuPolicy-JPRDRQWU.js} +18 -19
- package/dist/{grade-compare-KFXPZFDL.js → grade-compare-6UZ6SK4J.js} +61 -61
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-VLKYA5QZ.js → heifImagePrep-3PDFNYIE.js} +25 -25
- package/dist/{help-T3XUX5RI.js → help-DLOCAL7E.js} +1 -1
- package/dist/{history-QJPUCUUC.js → history-YIJVOGH7.js} +29 -30
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +14 -6
- package/dist/{info-556DHJHJ.js → info-FVYJNNQL.js} +33 -34
- package/dist/{init-P62TPWR3.js → init-V45K4VAG.js} +54 -53
- package/dist/{ink-SRN65OZH.js → ink-P72OB7L4.js} +28 -29
- package/dist/{inspect-U5FWQQFB.js → inspect-3W2IG3JF.js} +63 -59
- package/dist/{installer-3TNMANQV.js → installer-QGDTFTDU.js} +11 -12
- package/dist/{keyframes-FPGEFGCH.js → keyframes-57OPHIR2.js} +111 -49
- package/dist/{lambda-YJY2MYWL.js → lambda-EQZS7UMO.js} +40 -33
- package/dist/{layout-QIKSVA44.js → layout-KSWMO6MH.js} +63 -61
- package/dist/{lint-RD33ESM5.js → lint-WIYBGVF2.js} +23 -24
- package/dist/{lintProject-ZWLXB3A2.js → lintProject-N3UN6HEE.js} +6 -5
- package/dist/{list-FFO3WOB2.js → list-3FQAHEE2.js} +32 -20
- package/dist/{localPage-DHIBMNJH.js → localPage-G2QEA7JL.js} +19 -20
- package/dist/{login-IMFRQOEQ.js → login-C3U6WSHF.js} +10 -10
- package/dist/{logout-SLBKP67J.js → logout-525LWS6J.js} +5 -5
- package/dist/{look-ZZHJYSPC.js → look-U5LWOI4H.js} +28 -29
- package/dist/{manager-U4WEPCLV.js → manager-C5S25OOK.js} +7 -7
- package/dist/{manager-V4LGD4HB.js → manager-ZVYDWLHI.js} +21 -22
- package/dist/{measure-ZRBVN45B.js → measure-R2KZIHXT.js} +11 -11
- package/dist/{media-treatment-3I2CMQJZ.js → media-treatment-FAW5ZLT7.js} +37 -36
- package/dist/{media-use-2OYJ3CCN.js → media-use-CPTT2ZDE.js} +14 -10
- package/dist/{models-PRW7EWSV.js → models-53JHNGSL.js} +31 -32
- package/dist/{motionShot-VWILMLHQ.js → motionShot-K5ZHHHE6.js} +33 -34
- package/dist/{normalize-PGMS24I2.js → normalize-TBACWMEK.js} +4 -1
- package/dist/{normalize-audio-42XMF35K.js → normalize-audio-EOO2ORPP.js} +25 -25
- package/dist/{oauth-V3HSFZRE.js → oauth-E5QBYYTX.js} +2 -2
- package/dist/{open-D52MJZQA.js → open-3YABRCER.js} +34 -35
- package/dist/{parakeetRunner-ZR2JWQZH.js → parakeetRunner-TLZC2WAJ.js} +31 -32
- package/dist/{pipeline-W3H4JA6H.js → pipeline-LZ73CHLB.js} +27 -26
- package/dist/{plan-2HQOFJO7.js → plan-3QQZ57IC.js} +38 -39
- package/dist/{play-G5XDRDIZ.js → play-ESWP4SF2.js} +53 -50
- package/dist/{policies-5RUNO47I.js → policies-XG6OTGQC.js} +2 -2
- package/dist/{preflight-W2JDYF3T.js → preflight-7G5OBMAA.js} +22 -23
- package/dist/{present-CYMTHQFM.js → present-5ER4JKR5.js} +45 -44
- package/dist/{preview-DTQPQZTK.js → preview-62XOVSXM.js} +61 -60
- package/dist/privateProjectFile-6NPNZXK3.js +65 -0
- package/dist/{probe-WZJK3YQI.js → probe-CFOGEVFU.js} +28 -29
- package/dist/{producer-2BSMSO6I.js → producer-LLE32VVO.js} +1 -1
- package/dist/{progress-KRDVC24C.js → progress-PT3NAFVP.js} +6 -5
- package/dist/{projectConfig-BYRVYLCC.js → projectConfig-R54UDB5Y.js} +14 -15
- package/dist/{prompts-7VQEH645.js → prompts-XC3IBT4D.js} +2 -2
- package/dist/{publicNetwork-GW7SVP7N.js → publicNetwork-66HWFKYG.js} +3 -1
- package/dist/{publication-UCFJLELD.js → publication-TOBV6M4Q.js} +8 -9
- package/dist/{publish-KXVPSWCO.js → publish-QVNH5PXC.js} +107 -76
- package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
- package/dist/{refresh-2GVNKDQE.js → refresh-HK4YEHWC.js} +5 -5
- package/dist/{remove-background-O7BZNS3X.js → remove-background-XHE6JL35.js} +31 -30
- package/dist/{render-TYS3LCIQ.js → render-7JJ2DFEB.js} +16 -15
- package/dist/{render-QOWXGWQZ.js → render-GRZMK6ET.js} +143 -100
- package/dist/{render-DGAP4Q2Z.js → render-WK3D5VOW.js} +173 -138
- package/dist/{render-batch-TEQRGAUC.js → render-batch-KFEZFJXB.js} +20 -18
- package/dist/renderSetupWorker.js +23 -13
- package/dist/{resolver-RN2JGGQL.js → resolver-N4U52UK5.js} +11 -12
- package/dist/{reverse-FUARFEG2.js → reverse-6AOA3PXF.js} +1 -1
- package/dist/{run-V722HMUG.js → run-M2J3ZJ3W.js} +14 -14
- package/dist/runtimeVersion.js +6 -1
- package/dist/{sam-KHLM2DJA.js → sam-O7Y2CCK3.js} +5 -5
- package/dist/{screenshotCapture-4BB4LUMX.js → screenshotCapture-UXJZ7D3L.js} +21 -22
- package/dist/{service-ZPCHJY6B.js → service-DBNZZLPU.js} +31 -31
- package/dist/{share-PXUN7AH7.js → share-6P7S3USP.js} +36 -36
- package/dist/{sherpa-LT6Y7IGM.js → sherpa-CXEHEVAJ.js} +30 -31
- package/dist/sherpaWorker.js +6 -6
- package/dist/{sites-WWCABDSX.js → sites-R5F5FNAL.js} +9 -6
- package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
- package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
- package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +6 -6
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
- package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
- package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +1 -1
- package/dist/skills/media-use/scripts/lib/credit-limit.mjs +14 -9
- package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
- package/dist/skills/media-use/scripts/resolve.mjs +21 -15
- package/dist/{skills-G63W5GD5.js → skills-RMIHFNI6.js} +21 -22
- package/dist/{skillsUpdateCheck-2T3JVDAA.js → skillsUpdateCheck-EHOSL2AC.js} +7 -7
- package/dist/{snapshot-EVSKTVDG.js → snapshot-DQK3P7TF.js} +114 -90
- package/dist/{src-K5FSMLTB.js → src-4INHWM6L.js} +29 -29
- package/dist/{src-R57EQQSI.js → src-BNSCFKOD.js} +25 -22
- package/dist/{start-XBCYKGBV.js → start-KPCEUG5K.js} +52 -45
- package/dist/{state-FO64CPYE.js → state-5LE7AN6F.js} +6 -5
- package/dist/{staticProjectServer-Q6VR7CXT.js → staticProjectServer-VCS4TOU2.js} +37 -37
- package/dist/{status-E5XIWRCQ.js → status-WBNQSG4H.js} +31 -32
- package/dist/studio/assets/hyperframes-player-Cm0hYGm2.js +573 -0
- package/dist/studio/assets/{index-D7ICtobF.js → index-BGrNWeLK.js} +199 -199
- package/dist/studio/assets/{index-ww7-RmuM.js → index-REqr_dLu.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-Dbe8Cmab.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-GMJVYGET.js → studio-api-RAW4CIPR.js} +24 -24
- package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
- package/dist/{studioServer-MIQCMK6U.js → studioServer-5PWBZADN.js} +357 -163
- package/dist/subCompositionWorker.js +62 -55
- package/dist/{sync-WJOFN6VN.js → sync-PM2WLBUC.js} +28 -29
- package/dist/{synthesize-FXM7ZD6J.js → synthesize-NGU4DRKC.js} +24 -14
- package/dist/{system-DBUN5UDD.js → system-PKL4Y4MX.js} +3 -3
- package/dist/{telemetry-HZ4P4DMC.js → telemetry-4BST73P2.js} +15 -16
- package/dist/{telemetry-M722DCXI.js → telemetry-UC4MSMG3.js} +1 -1
- package/dist/{templates-KFZZSSKW.js → templates-G3XOWYXG.js} +36 -31
- package/dist/{timeline-5M6DPCXF.js → timeline-E6ZXYGQR.js} +50 -46
- package/dist/{tokens-H4NPNRFR.js → tokens-KRHXM44C.js} +17 -7
- package/dist/{transcribe-6STI2ALX.js → transcribe-RJ3GOCJL.js} +56 -57
- package/dist/{transcribe-7PE5UH7J.js → transcribe-TKV3POYD.js} +26 -27
- package/dist/{tts-D7CLD3AD.js → tts-EPXRE275.js} +26 -10
- package/dist/{update-H3T3AVVG.js → update-TO7MLJCS.js} +23 -24
- package/dist/{updateCheck-TLCXUNBV.js → updateCheck-5AY447D5.js} +6 -6
- package/dist/{upgrade-BZVTMCQU.js → upgrade-BLZWWXYL.js} +11 -11
- package/dist/{urlDownloader-FJXNC3IM.js → urlDownloader-ME67HQ4O.js} +17 -18
- package/dist/{validate-WTRVCEL5.js → validate-SRBV5NFV.js} +53 -49
- package/dist/{video-TVO2U5F2.js → video-JPESR36I.js} +38 -34
- package/dist/{voices-F3EW43LX.js → voices-AECYKXGA.js} +43 -44
- package/dist/warmCheck.js +73 -73
- package/dist/warmCheckClient.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-23SG3B6M.js +0 -81
- package/dist/chunk-2RUCE54M.js +0 -5083
- package/dist/chunk-HFUI6LVF.js +0 -34
- package/dist/chunk-JOQR4AP6.js +0 -22
- package/dist/chunk-MK23FXLH.js +0 -21
- package/dist/chunk-SALNTRJA.js +0 -204
- package/dist/chunk-VC76R6W2.js +0 -27
- package/dist/chunk-Z642P33A.js +0 -270
- package/dist/studio/assets/hyperframes-player-B78JDyI_.js +0 -565
- package/dist/{chunk-7IMHPBSH.js → chunk-4NDSGKPO.js} +3 -3
- /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
|
@@ -6,63 +6,74 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shareError
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
ReviewFailed,
|
|
12
|
-
fileSha256Base64,
|
|
13
|
-
latestShareRender,
|
|
14
|
-
shareContentFingerprint,
|
|
15
|
-
shareSite,
|
|
16
|
-
trackShareInteraction,
|
|
17
|
-
versionOnPage
|
|
18
|
-
} from "./chunk-TLDIP7Y3.js";
|
|
9
|
+
} from "./chunk-73NC557V.js";
|
|
19
10
|
import {
|
|
20
11
|
acquireRenderLock,
|
|
21
12
|
describeRenderLockHolder,
|
|
22
13
|
renderJobObservabilityTelemetryPayload,
|
|
23
14
|
renderObservabilityTelemetryPayload,
|
|
24
15
|
startRenderCpuSampler
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
outsideAssetsAllowed
|
|
28
|
-
} from "./chunk-D3M5VOC5.js";
|
|
16
|
+
} from "./chunk-WTUDKVWQ.js";
|
|
29
17
|
import {
|
|
30
18
|
HANDOFF_READY,
|
|
31
19
|
desktopDownloadUrl,
|
|
32
20
|
desktopInstalled,
|
|
33
21
|
insideHostApp,
|
|
34
22
|
openInDesktop
|
|
35
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MPX3FO4A.js";
|
|
36
24
|
import "./chunk-IEESWUIQ.js";
|
|
25
|
+
import {
|
|
26
|
+
ReviewFailed,
|
|
27
|
+
fileSha256Base64,
|
|
28
|
+
latestShareRender,
|
|
29
|
+
shareContentFingerprint,
|
|
30
|
+
shareSite,
|
|
31
|
+
trackShareInteraction,
|
|
32
|
+
versionOnPage
|
|
33
|
+
} from "./chunk-UEJMLVGW.js";
|
|
37
34
|
import {
|
|
38
35
|
resolveRenderBrowser
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
} from "./chunk-GYPZTG46.js";
|
|
37
|
+
import {
|
|
38
|
+
dropReceivedArrivals,
|
|
39
|
+
dropReceivedLeavers,
|
|
40
|
+
keepListedInFolder,
|
|
41
|
+
onDiskPath,
|
|
42
|
+
plannedReceivedChange,
|
|
43
|
+
recordReceivedArrivals,
|
|
44
|
+
relistHistoryWrites,
|
|
45
|
+
relistReceivedContent
|
|
46
|
+
} from "./chunk-GADMF4BL.js";
|
|
47
|
+
import {
|
|
48
|
+
outsideAssetsAllowed
|
|
49
|
+
} from "./chunk-6P7FLYOR.js";
|
|
50
|
+
import "./chunk-MERWX4DZ.js";
|
|
51
|
+
import "./chunk-6KU6TCSS.js";
|
|
43
52
|
import {
|
|
44
53
|
loadSharpInBackground
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-LB6ZAP4I.js";
|
|
55
|
+
import "./chunk-SCEBICAQ.js";
|
|
56
|
+
import "./chunk-TFAKFI3R.js";
|
|
47
57
|
import "./chunk-6BEFEWFB.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-CRZ7FUMI.js";
|
|
59
|
+
import "./chunk-Z3BPDCRV.js";
|
|
60
|
+
import "./chunk-A2ZUVULS.js";
|
|
50
61
|
import "./chunk-X7MTZ4T2.js";
|
|
51
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-B5TLZC2D.js";
|
|
52
63
|
import "./chunk-X7MTZ4T2.js";
|
|
53
64
|
import {
|
|
54
65
|
seekCompositionTimeline
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-ZO5NHAF3.js";
|
|
66
|
+
} from "./chunk-7GDEQJSL.js";
|
|
67
|
+
import "./chunk-CPLVXXRS.js";
|
|
68
|
+
import "./chunk-3ROFCQAW.js";
|
|
69
|
+
import "./chunk-MTCVUAUK.js";
|
|
60
70
|
import "./chunk-262C25DQ.js";
|
|
61
71
|
import {
|
|
62
72
|
GSAP_VENDOR_FILES,
|
|
63
73
|
readBundleFile,
|
|
64
74
|
resolveGsapVendorDir
|
|
65
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YLC67YFR.js";
|
|
76
|
+
import "./chunk-YGGZ23BB.js";
|
|
66
77
|
import {
|
|
67
78
|
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
68
79
|
PREVIEW_BUNDLE_OPTIONS,
|
|
@@ -80,12 +91,14 @@ import {
|
|
|
80
91
|
previewAllowedHostsFromEnv,
|
|
81
92
|
sameOriginPost,
|
|
82
93
|
thumbnailDeviceScaleFactor
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-J56ZJFSF.js";
|
|
95
|
+
import "./chunk-BAU3ASNM.js";
|
|
96
|
+
import {
|
|
97
|
+
requestSubPath
|
|
98
|
+
} from "./chunk-RJCQZMNI.js";
|
|
85
99
|
import "./chunk-HYO4DIYT.js";
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-SNKBI4YB.js";
|
|
100
|
+
import "./chunk-UX5KLSAJ.js";
|
|
101
|
+
import "./chunk-TJAFCC37.js";
|
|
89
102
|
import {
|
|
90
103
|
DEFAULT_HISTORY_ROOT,
|
|
91
104
|
DELETED_VERSION,
|
|
@@ -98,49 +111,52 @@ import {
|
|
|
98
111
|
historyCache,
|
|
99
112
|
identifyFileWrite,
|
|
100
113
|
openProjectHistory
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
114
|
+
} from "./chunk-5T2LNQAH.js";
|
|
115
|
+
import "./chunk-SQI2MWJE.js";
|
|
116
|
+
import "./chunk-C7IEAEKF.js";
|
|
104
117
|
import {
|
|
105
118
|
PREVIEW_NONCE_HEADER,
|
|
106
|
-
previewProof
|
|
107
|
-
|
|
119
|
+
previewProof,
|
|
120
|
+
previewToken
|
|
121
|
+
} from "./chunk-HLVNKNSW.js";
|
|
108
122
|
import "./chunk-7FIJRDUG.js";
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-ZLTB7ZCQ.js";
|
|
111
|
-
import {
|
|
112
|
-
resolveAutoProxy
|
|
113
|
-
} from "./chunk-W2OXNTHG.js";
|
|
114
|
-
import "./chunk-XT7X6QCP.js";
|
|
115
|
-
import "./chunk-3VMZQQUI.js";
|
|
116
|
-
import "./chunk-SYKUNH25.js";
|
|
123
|
+
import "./chunk-OPUR2XQ2.js";
|
|
117
124
|
import {
|
|
118
125
|
resolveCaptureBrowserGpuMode,
|
|
119
126
|
resolveLocalBrowserGpuMode,
|
|
120
127
|
resolveLocalWebGpu
|
|
121
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-Y53Z2M77.js";
|
|
129
|
+
import {
|
|
130
|
+
resolveAutoProxy
|
|
131
|
+
} from "./chunk-LZSSGF7G.js";
|
|
132
|
+
import "./chunk-XT7X6QCP.js";
|
|
133
|
+
import "./chunk-SIQGTRZ5.js";
|
|
122
134
|
import "./chunk-HVW7ABXD.js";
|
|
123
135
|
import {
|
|
124
136
|
renderMotionBlurTelemetryPayload,
|
|
125
137
|
trackRenderComplete,
|
|
126
138
|
trackRenderError
|
|
127
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-22B53HD3.js";
|
|
128
140
|
import {
|
|
129
141
|
canaryDecisionsForStudio,
|
|
130
142
|
resetTelemetryPostureCache,
|
|
131
143
|
shouldTrack
|
|
132
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-NU7BEOCX.js";
|
|
133
145
|
import "./chunk-PXVQOMKL.js";
|
|
134
|
-
import "./chunk-
|
|
146
|
+
import "./chunk-NGRWDXRZ.js";
|
|
135
147
|
import "./chunk-DMW5SSUN.js";
|
|
136
|
-
import
|
|
148
|
+
import {
|
|
149
|
+
recordFolder
|
|
150
|
+
} from "./chunk-OW6MOJSR.js";
|
|
151
|
+
import "./chunk-L7MFHIG7.js";
|
|
137
152
|
import "./chunk-XFF4XJZO.js";
|
|
138
|
-
import "./chunk-
|
|
139
|
-
import "./chunk-
|
|
153
|
+
import "./chunk-6OKMCIDU.js";
|
|
154
|
+
import "./chunk-C2GAAMZ3.js";
|
|
140
155
|
import "./chunk-AWDFDFI3.js";
|
|
141
156
|
import "./chunk-662337AC.js";
|
|
142
157
|
import "./chunk-D3UCUI7G.js";
|
|
143
|
-
import "./chunk-
|
|
158
|
+
import "./chunk-WTS245RC.js";
|
|
159
|
+
import "./chunk-PQ2OPPGP.js";
|
|
144
160
|
import "./chunk-54HJ63Q2.js";
|
|
145
161
|
import "./chunk-YAROSZMP.js";
|
|
146
162
|
import "./chunk-JCNPHRGX.js";
|
|
@@ -150,67 +166,70 @@ import {
|
|
|
150
166
|
} from "./chunk-LD6JONPV.js";
|
|
151
167
|
import "./chunk-ZB2XGJSP.js";
|
|
152
168
|
import {
|
|
153
|
-
|
|
154
|
-
} from "./chunk-P2ZMVHTF.js";
|
|
155
|
-
import "./chunk-6T4PB35F.js";
|
|
156
|
-
import {
|
|
157
|
-
isLinkFreeWithinProject
|
|
158
|
-
} from "./chunk-3GKGBYW3.js";
|
|
159
|
-
import {
|
|
169
|
+
SAME_ORIGIN_FRAMING_HEADERS,
|
|
160
170
|
assertWebGpuAdapterAvailable,
|
|
161
171
|
compositionRequiresWebGpu
|
|
162
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-LTXZLTXW.js";
|
|
163
173
|
import "./chunk-Z5J67X44.js";
|
|
164
|
-
import "./chunk-
|
|
165
|
-
import "./chunk-3GXQPCJC.js";
|
|
174
|
+
import "./chunk-PJQVJSMG.js";
|
|
166
175
|
import {
|
|
167
|
-
|
|
168
|
-
} from "./chunk-
|
|
169
|
-
import "./chunk-
|
|
176
|
+
getMimeType
|
|
177
|
+
} from "./chunk-P2ZMVHTF.js";
|
|
178
|
+
import "./chunk-TRQDC2UC.js";
|
|
179
|
+
import {
|
|
180
|
+
isLinkFreeWithinProject,
|
|
181
|
+
resolveWritableWithinProject
|
|
182
|
+
} from "./chunk-WTO3A7ET.js";
|
|
183
|
+
import "./chunk-3GXQPCJC.js";
|
|
184
|
+
import "./chunk-BWFNWEUO.js";
|
|
170
185
|
import "./chunk-5S7W3TUO.js";
|
|
171
186
|
import "./chunk-D54ZDCZR.js";
|
|
172
|
-
import "./chunk-
|
|
187
|
+
import "./chunk-7AP5C4C2.js";
|
|
188
|
+
import "./chunk-D37I36FY.js";
|
|
189
|
+
import {
|
|
190
|
+
isProjectIgnoredDir
|
|
191
|
+
} from "./chunk-F6PI5O3H.js";
|
|
173
192
|
import {
|
|
174
193
|
isAtomicTempPath,
|
|
175
194
|
replaceFileAtomically
|
|
176
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-LYTELQL2.js";
|
|
177
196
|
import {
|
|
178
197
|
GSAP_CDN_VERSION,
|
|
179
198
|
fpsToNumber
|
|
180
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-MPVJI4SE.js";
|
|
181
200
|
import "./chunk-FXMKHHPO.js";
|
|
182
|
-
import "./chunk-
|
|
183
|
-
import "./chunk-VC76R6W2.js";
|
|
201
|
+
import "./chunk-BNH2IKGV.js";
|
|
184
202
|
import {
|
|
185
|
-
realpath
|
|
186
|
-
|
|
187
|
-
|
|
203
|
+
realpath,
|
|
204
|
+
terminalText
|
|
205
|
+
} from "./chunk-3GF72UPC.js";
|
|
188
206
|
import "./chunk-RQVDTPGD.js";
|
|
189
|
-
import "./chunk-
|
|
190
|
-
import "./chunk-
|
|
207
|
+
import "./chunk-LGIWC6KN.js";
|
|
208
|
+
import "./chunk-A7NRMVUG.js";
|
|
191
209
|
import {
|
|
192
210
|
runRenderSetupWorker
|
|
193
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-Q4FVSYTD.js";
|
|
194
212
|
import "./chunk-KGPLIH7B.js";
|
|
195
213
|
import {
|
|
196
214
|
bytesToMb
|
|
197
|
-
} from "./chunk-
|
|
198
|
-
import "./chunk-
|
|
199
|
-
import "./chunk-
|
|
215
|
+
} from "./chunk-YB2ZJJFJ.js";
|
|
216
|
+
import "./chunk-YWUE4CRU.js";
|
|
217
|
+
import "./chunk-TTRX7NM3.js";
|
|
200
218
|
import {
|
|
201
219
|
isWithinProjectRoot
|
|
202
|
-
} from "./chunk-
|
|
203
|
-
import "./chunk-
|
|
220
|
+
} from "./chunk-S35RUNXJ.js";
|
|
221
|
+
import "./chunk-5GUYYSVT.js";
|
|
204
222
|
import "./chunk-IH2C53YV.js";
|
|
205
|
-
import "./chunk-
|
|
223
|
+
import "./chunk-4NDSGKPO.js";
|
|
206
224
|
import "./chunk-FR7YBU3H.js";
|
|
207
225
|
import "./chunk-DZWAYZG2.js";
|
|
226
|
+
import "./chunk-WC4MTXGN.js";
|
|
208
227
|
import "./chunk-GWTIFRF5.js";
|
|
209
228
|
import "./chunk-2RY2LWAA.js";
|
|
210
|
-
import "./chunk-
|
|
229
|
+
import "./chunk-PTGNUVCB.js";
|
|
211
230
|
import "./chunk-WFQJ6EJ6.js";
|
|
212
231
|
import "./chunk-4NTCQF3L.js";
|
|
213
|
-
import "./chunk-
|
|
232
|
+
import "./chunk-KUJJJBV2.js";
|
|
214
233
|
import "./chunk-BR2JQQC5.js";
|
|
215
234
|
import {
|
|
216
235
|
readConfig,
|
|
@@ -220,29 +239,37 @@ import {
|
|
|
220
239
|
isDevMode
|
|
221
240
|
} from "./chunk-ISN5GRYI.js";
|
|
222
241
|
import "./chunk-GR2E54E6.js";
|
|
223
|
-
import "./chunk-
|
|
224
|
-
import "./chunk-
|
|
242
|
+
import "./chunk-LMNCEQCC.js";
|
|
243
|
+
import "./chunk-U7M4SZUB.js";
|
|
225
244
|
import "./chunk-CPHQTXP5.js";
|
|
226
245
|
import "./chunk-QBXDU24O.js";
|
|
227
246
|
import {
|
|
228
247
|
VERSION
|
|
229
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-7DMES2F3.js";
|
|
230
249
|
import "./chunk-E63BDV4Z.js";
|
|
231
250
|
import {
|
|
232
251
|
detectAgentRuntime
|
|
233
252
|
} from "./chunk-LW33P24U.js";
|
|
234
253
|
import "./chunk-XT6MXC7A.js";
|
|
235
254
|
import "./chunk-7KDQAD2W.js";
|
|
236
|
-
import "./chunk-
|
|
255
|
+
import "./chunk-VM2VBJRC.js";
|
|
237
256
|
import "./chunk-M2WBOQ2Q.js";
|
|
238
257
|
|
|
239
258
|
// src/server/studioServer.ts
|
|
240
259
|
import { Hono as Hono2 } from "hono";
|
|
241
260
|
import { streamSSE } from "hono/streaming";
|
|
242
|
-
import {
|
|
261
|
+
import {
|
|
262
|
+
createReadStream,
|
|
263
|
+
existsSync as existsSync3,
|
|
264
|
+
readFileSync,
|
|
265
|
+
rmSync,
|
|
266
|
+
statSync as statSync2,
|
|
267
|
+
writeFileSync,
|
|
268
|
+
unlinkSync
|
|
269
|
+
} from "fs";
|
|
243
270
|
import { createHash as createHash2 } from "crypto";
|
|
244
271
|
import { fileURLToPath } from "url";
|
|
245
|
-
import { resolve as resolve2, join as
|
|
272
|
+
import { resolve as resolve2, join as join3, basename as basename2, relative as relative2, sep as sep2 } from "path";
|
|
246
273
|
|
|
247
274
|
// src/server/fileWatcher.ts
|
|
248
275
|
import { lstatSync, readdirSync, watch } from "fs";
|
|
@@ -402,7 +429,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
402
429
|
async function buildFromSource() {
|
|
403
430
|
if (!existsSync(ENTRY_TS)) return null;
|
|
404
431
|
try {
|
|
405
|
-
const mod = await import("./dist-
|
|
432
|
+
const mod = await import("./dist-HF753IX4.js");
|
|
406
433
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
407
434
|
const source = mod.loadHyperframeRuntimeSource();
|
|
408
435
|
if (source) return source;
|
|
@@ -413,7 +440,7 @@ async function buildFromSource() {
|
|
|
413
440
|
}
|
|
414
441
|
async function getInlinedRuntime() {
|
|
415
442
|
try {
|
|
416
|
-
const mod = await import("./dist-
|
|
443
|
+
const mod = await import("./dist-HF753IX4.js");
|
|
417
444
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
418
445
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
419
446
|
}
|
|
@@ -668,6 +695,100 @@ function mountDesktopRoutes(app, projectDir, {
|
|
|
668
695
|
});
|
|
669
696
|
}
|
|
670
697
|
|
|
698
|
+
// src/server/followReceivedRecords.ts
|
|
699
|
+
import { existsSync as existsSync2, statSync } from "fs";
|
|
700
|
+
var isObject = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
701
|
+
var textAt = (value, key) => isObject(value) && typeof value[key] === "string" ? [value[key]] : [];
|
|
702
|
+
var listAt = (value, key) => isObject(value) && Array.isArray(value[key]) ? value[key] : [];
|
|
703
|
+
var warn = (error) => console.warn(`[studio] Could not update the received-files record: ${String(error)}`);
|
|
704
|
+
var busy = (c) => c.json(
|
|
705
|
+
{ error: "Could not update the received-files record; try again.", why: "record_busy" },
|
|
706
|
+
409
|
|
707
|
+
);
|
|
708
|
+
var jsonBody = (c) => c.req.raw.clone().json().catch(() => null);
|
|
709
|
+
function writablePath(projectDir, path) {
|
|
710
|
+
const found = path ? resolveWritableWithinProject(projectDir, path) : null;
|
|
711
|
+
return found && existsSync2(found) ? onDiskPath(found) : null;
|
|
712
|
+
}
|
|
713
|
+
var isFile = (path) => statSync(path, { throwIfNoEntry: false })?.isFile() === true;
|
|
714
|
+
async function requestedChange(c, projectDir) {
|
|
715
|
+
const from = writablePath(projectDir, requestSubPath(c.req.url, "projects/:id/files"));
|
|
716
|
+
if (from === null) return null;
|
|
717
|
+
if (c.req.method !== "PATCH") return { from };
|
|
718
|
+
const newPath = textAt(await jsonBody(c), "newPath")[0];
|
|
719
|
+
const to = newPath ? resolveWritableWithinProject(projectDir, newPath) : null;
|
|
720
|
+
return to === null ? null : { from, to: onDiskPath(to) };
|
|
721
|
+
}
|
|
722
|
+
async function startedChange(projectDir, { from, to }) {
|
|
723
|
+
if (!await keepListedInFolder(projectDir, from)) return null;
|
|
724
|
+
return plannedReceivedChange(projectDir, from, to).then(recordReceivedArrivals).catch(() => null);
|
|
725
|
+
}
|
|
726
|
+
function followMovesAndDeletes(app, projectDir) {
|
|
727
|
+
app.on(["PATCH", "DELETE"], "/api/projects/:id/files/*", async (c, next) => {
|
|
728
|
+
const requested = await requestedChange(c, projectDir);
|
|
729
|
+
if (requested === null) return next();
|
|
730
|
+
const change = await startedChange(projectDir, requested);
|
|
731
|
+
if (change === null) return busy(c);
|
|
732
|
+
await next();
|
|
733
|
+
await (c.res.ok ? dropReceivedLeavers(change) : dropReceivedArrivals(change)).catch(warn);
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
function followHistory(app, projectDir) {
|
|
737
|
+
const routes = ["step", "undo", "restore"].map((name) => `/api/projects/:id/history/${name}`);
|
|
738
|
+
app.on("POST", routes, async (c, next) => {
|
|
739
|
+
await next();
|
|
740
|
+
if (!c.res.ok) return;
|
|
741
|
+
const sent = await c.res.clone().json().catch(() => null);
|
|
742
|
+
const entry = isObject(sent) && isObject(sent.entry) ? sent.entry : sent;
|
|
743
|
+
const files = listAt(entry, "files").flatMap(
|
|
744
|
+
(file) => textAt(file, "path").map((path) => ({ path }))
|
|
745
|
+
);
|
|
746
|
+
await relistHistoryWrites(projectDir, { files }).catch(warn);
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
var SAVES_NAMING_THE_FILE = [
|
|
750
|
+
"files",
|
|
751
|
+
"file-mutations/:operation",
|
|
752
|
+
"gsap-mutations",
|
|
753
|
+
"gsap-mutations-batch",
|
|
754
|
+
"gsap-mutation-rollback"
|
|
755
|
+
];
|
|
756
|
+
async function savedPaths(c) {
|
|
757
|
+
const route = SAVES_NAMING_THE_FILE.find(
|
|
758
|
+
(prefix) => c.req.routePath.startsWith(`/api/projects/:id/${prefix}/`)
|
|
759
|
+
);
|
|
760
|
+
const named = route === void 0 ? "" : requestSubPath(c.req.url, `projects/:id/${route}`);
|
|
761
|
+
if (named) return [named];
|
|
762
|
+
const body = await jsonBody(c);
|
|
763
|
+
return [
|
|
764
|
+
...textAt(body, "path"),
|
|
765
|
+
...listAt(body, "files").flatMap((file) => textAt(file, "path")),
|
|
766
|
+
...listAt(body, "batches").flatMap((batch) => textAt(batch, "sourceFile"))
|
|
767
|
+
];
|
|
768
|
+
}
|
|
769
|
+
function followSaves(app, projectDir) {
|
|
770
|
+
const relistBeforeSave = async (c, next) => {
|
|
771
|
+
const paths = (await savedPaths(c)).flatMap((path) => writablePath(projectDir, path) ?? []);
|
|
772
|
+
try {
|
|
773
|
+
await relistReceivedContent(projectDir, paths.filter(isFile));
|
|
774
|
+
} catch {
|
|
775
|
+
return busy(c);
|
|
776
|
+
}
|
|
777
|
+
return next();
|
|
778
|
+
};
|
|
779
|
+
app.put("/api/projects/:id/files/*", relistBeforeSave);
|
|
780
|
+
app.on(
|
|
781
|
+
"POST",
|
|
782
|
+
SAVES_NAMING_THE_FILE.slice(1).map((prefix) => `/api/projects/:id/${prefix}/*`),
|
|
783
|
+
relistBeforeSave
|
|
784
|
+
);
|
|
785
|
+
}
|
|
786
|
+
function followReceivedRecords(app, projectDir) {
|
|
787
|
+
followMovesAndDeletes(app, projectDir);
|
|
788
|
+
followHistory(app, projectDir);
|
|
789
|
+
followSaves(app, projectDir);
|
|
790
|
+
}
|
|
791
|
+
|
|
671
792
|
// src/server/shareRoutes.ts
|
|
672
793
|
import { randomUUID } from "crypto";
|
|
673
794
|
import { Hono } from "hono";
|
|
@@ -905,12 +1026,12 @@ function optionalBoolean(value) {
|
|
|
905
1026
|
function validSpace(value) {
|
|
906
1027
|
return value === void 0 || typeof value === "string" && /^[A-Za-z0-9_-]{1,128}$/.test(value);
|
|
907
1028
|
}
|
|
908
|
-
var defaultCreate = async (path, progress) => (await import("./service-
|
|
1029
|
+
var defaultCreate = async (path, progress) => (await import("./service-DBNZZLPU.js")).createShareService(path, progress, {
|
|
909
1030
|
surface: "local_studio",
|
|
910
1031
|
pinIdentity: true
|
|
911
1032
|
});
|
|
912
1033
|
async function defaultLogin() {
|
|
913
|
-
const { startAuthorizationCodeFlow } = await import("./oauth-
|
|
1034
|
+
const { startAuthorizationCodeFlow } = await import("./oauth-E5QBYYTX.js");
|
|
914
1035
|
await startAuthorizationCodeFlow({ timeoutMs: 3e5 });
|
|
915
1036
|
}
|
|
916
1037
|
function mountShareRoutes(app, projectDir, create = defaultCreate, login = defaultLogin, track = trackShareInteraction) {
|
|
@@ -1075,6 +1196,53 @@ async function sessionOwner(session) {
|
|
|
1075
1196
|
return shareSessionKey(await (await session.get()).checkSession());
|
|
1076
1197
|
}
|
|
1077
1198
|
|
|
1199
|
+
// src/utils/lintHtmlWorker.ts
|
|
1200
|
+
import { mkdtemp, rm, writeFile } from "fs/promises";
|
|
1201
|
+
import { tmpdir } from "os";
|
|
1202
|
+
import { join as join2 } from "path";
|
|
1203
|
+
var LINT_HTML_HEAP_MB = 512;
|
|
1204
|
+
var LINT_HTML_TIMEOUT_MS = 15e3;
|
|
1205
|
+
function abortedLintResult(opts, afterMs) {
|
|
1206
|
+
return {
|
|
1207
|
+
ok: false,
|
|
1208
|
+
errorCount: 1,
|
|
1209
|
+
warningCount: 0,
|
|
1210
|
+
infoCount: 0,
|
|
1211
|
+
findings: [
|
|
1212
|
+
{
|
|
1213
|
+
code: "lint_aborted",
|
|
1214
|
+
severity: "error",
|
|
1215
|
+
message: "This composition's script could not be checked: linting it ran too long or out of memory, so it was stopped. A very large or deeply nested script is the usual cause.",
|
|
1216
|
+
...opts?.filePath && { file: opts.filePath }
|
|
1217
|
+
}
|
|
1218
|
+
],
|
|
1219
|
+
timings: { totalMs: afterMs, groupMs: {}, slowestRule: "", slowestRuleMs: 0 }
|
|
1220
|
+
};
|
|
1221
|
+
}
|
|
1222
|
+
async function lintHtmlOutOfProcess(html, opts, { run = runRenderSetupWorker, timeoutMs = LINT_HTML_TIMEOUT_MS } = {}) {
|
|
1223
|
+
const dir = await mkdtemp(join2(tmpdir(), "hf-lint-"));
|
|
1224
|
+
const htmlPath = join2(dir, "page.html");
|
|
1225
|
+
try {
|
|
1226
|
+
await writeFile(htmlPath, html);
|
|
1227
|
+
const began = performance.now();
|
|
1228
|
+
try {
|
|
1229
|
+
return await run(
|
|
1230
|
+
"lint-html",
|
|
1231
|
+
{ htmlPath, opts },
|
|
1232
|
+
{
|
|
1233
|
+
execArgv: [`--max-old-space-size=${LINT_HTML_HEAP_MB}`],
|
|
1234
|
+
maxBufferBytes: 8 * 1024 * 1024,
|
|
1235
|
+
timeoutMs
|
|
1236
|
+
}
|
|
1237
|
+
);
|
|
1238
|
+
} catch {
|
|
1239
|
+
return abortedLintResult(opts, Math.round(performance.now() - began));
|
|
1240
|
+
}
|
|
1241
|
+
} finally {
|
|
1242
|
+
await rm(dir, { recursive: true, force: true });
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1078
1246
|
// src/server/thumbnailPages.ts
|
|
1079
1247
|
function createThumbnailPages(maxPages = 2, idleMs = 1e3) {
|
|
1080
1248
|
const pages = /* @__PURE__ */ new Map();
|
|
@@ -1142,16 +1310,17 @@ function createThumbnailPages(maxPages = 2, idleMs = 1e3) {
|
|
|
1142
1310
|
var STUDIO_MANUAL_EDITS_PATH = ".hyperframes/studio-manual-edits.json";
|
|
1143
1311
|
var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
1144
1312
|
var LINT_WORKER_TIMEOUT_MS = 12e4;
|
|
1313
|
+
var LINT_WORKER_HEAP_MB = 1024;
|
|
1145
1314
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
1146
|
-
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
1315
|
+
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"'?#]+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
1147
1316
|
async function loadStudioProducer() {
|
|
1148
|
-
if (!isDevMode()) return await import("./src-
|
|
1317
|
+
if (!isDevMode()) return await import("./src-4INHWM6L.js");
|
|
1149
1318
|
if (!process.versions.bun) {
|
|
1150
1319
|
throw new Error(
|
|
1151
1320
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
1152
1321
|
);
|
|
1153
1322
|
}
|
|
1154
|
-
return await import("./src-
|
|
1323
|
+
return await import("./src-4INHWM6L.js");
|
|
1155
1324
|
}
|
|
1156
1325
|
function resolveDistDir() {
|
|
1157
1326
|
return resolveStudioBundle().dir;
|
|
@@ -1159,12 +1328,12 @@ function resolveDistDir() {
|
|
|
1159
1328
|
function resolveStudioBundle() {
|
|
1160
1329
|
const builtPath = resolve2(__dirname, "studio");
|
|
1161
1330
|
const builtIndex = resolve2(builtPath, "index.html");
|
|
1162
|
-
if (
|
|
1331
|
+
if (existsSync3(builtIndex)) {
|
|
1163
1332
|
return { dir: builtPath, indexPath: builtIndex, available: true, checkedPaths: [builtIndex] };
|
|
1164
1333
|
}
|
|
1165
1334
|
const devPath = resolve2(__dirname, "..", "..", "..", "studio", "dist");
|
|
1166
1335
|
const devIndex = resolve2(devPath, "index.html");
|
|
1167
|
-
if (
|
|
1336
|
+
if (existsSync3(devIndex)) {
|
|
1168
1337
|
return {
|
|
1169
1338
|
dir: devPath,
|
|
1170
1339
|
indexPath: devIndex,
|
|
@@ -1181,9 +1350,9 @@ function resolveStudioBundle() {
|
|
|
1181
1350
|
}
|
|
1182
1351
|
function resolveRuntimePath() {
|
|
1183
1352
|
const builtPath = resolve2(__dirname, "hyperframe-runtime.js");
|
|
1184
|
-
if (
|
|
1353
|
+
if (existsSync3(builtPath)) return builtPath;
|
|
1185
1354
|
const iifePath = resolve2(__dirname, "hyperframe.runtime.iife.js");
|
|
1186
|
-
if (
|
|
1355
|
+
if (existsSync3(iifePath)) return iifePath;
|
|
1187
1356
|
const devPath = resolve2(
|
|
1188
1357
|
__dirname,
|
|
1189
1358
|
"..",
|
|
@@ -1193,13 +1362,13 @@ function resolveRuntimePath() {
|
|
|
1193
1362
|
"dist",
|
|
1194
1363
|
"hyperframe.runtime.iife.js"
|
|
1195
1364
|
);
|
|
1196
|
-
if (
|
|
1365
|
+
if (existsSync3(devPath)) return devPath;
|
|
1197
1366
|
return builtPath;
|
|
1198
1367
|
}
|
|
1199
1368
|
var GSAP_LOCAL_ROOT = "/api/vendor/npm";
|
|
1200
1369
|
function readStudioManualEditManifestContent(projectDir) {
|
|
1201
|
-
const manifestPath =
|
|
1202
|
-
if (!
|
|
1370
|
+
const manifestPath = join3(projectDir, STUDIO_MANUAL_EDITS_PATH);
|
|
1371
|
+
if (!existsSync3(manifestPath)) return "";
|
|
1203
1372
|
try {
|
|
1204
1373
|
return readFileSync(manifestPath, "utf-8");
|
|
1205
1374
|
} catch {
|
|
@@ -1228,12 +1397,25 @@ function collectRemoteGifImageSources(html) {
|
|
|
1228
1397
|
}
|
|
1229
1398
|
return [...urls];
|
|
1230
1399
|
}
|
|
1400
|
+
async function startsWithGifSignature(path) {
|
|
1401
|
+
const chunks = [];
|
|
1402
|
+
for await (const chunk of createReadStream(path, { start: 0, end: 5 })) {
|
|
1403
|
+
chunks.push(Buffer.from(chunk));
|
|
1404
|
+
}
|
|
1405
|
+
const signature = Buffer.concat(chunks).toString("latin1");
|
|
1406
|
+
return signature === "GIF87a" || signature === "GIF89a";
|
|
1407
|
+
}
|
|
1231
1408
|
async function downloadRemoteGifImageSources(html, downloadDir, downloadToTemp) {
|
|
1232
1409
|
const sourceAssets = /* @__PURE__ */ new Map();
|
|
1233
1410
|
await Promise.all(
|
|
1234
1411
|
collectRemoteGifImageSources(html).map(async (url) => {
|
|
1235
1412
|
try {
|
|
1236
|
-
|
|
1413
|
+
const path = await downloadToTemp(url, downloadDir);
|
|
1414
|
+
if (!await startsWithGifSignature(path)) {
|
|
1415
|
+
rmSync(path, { force: true });
|
|
1416
|
+
throw new Error("downloaded file is not a GIF");
|
|
1417
|
+
}
|
|
1418
|
+
sourceAssets.set(url, path);
|
|
1237
1419
|
} catch (err) {
|
|
1238
1420
|
console.warn(
|
|
1239
1421
|
"[Studio] Remote animated GIF prep skipped:",
|
|
@@ -1248,29 +1430,29 @@ var _thumbnailBrowserLease = null;
|
|
|
1248
1430
|
var thumbnailPages = createThumbnailPages();
|
|
1249
1431
|
var _thumbnailBrowserInitializing = null;
|
|
1250
1432
|
var _thumbnailBrowserModes = null;
|
|
1251
|
-
async function getThumbnailBrowser(requestedGpuMode,
|
|
1433
|
+
async function getThumbnailBrowser(requestedGpuMode, pageServerUrl, isShuttingDown) {
|
|
1252
1434
|
if (isShuttingDown()) return null;
|
|
1253
|
-
const
|
|
1254
|
-
if (_thumbnailBrowserLease?.browser.connected && _thumbnailBrowserModes?.requested === requestedGpuMode && _thumbnailBrowserModes.
|
|
1435
|
+
const pageServerOrigin = new URL(pageServerUrl).origin;
|
|
1436
|
+
if (_thumbnailBrowserLease?.browser.connected && _thumbnailBrowserModes?.requested === requestedGpuMode && _thumbnailBrowserModes.pageServerOrigin === pageServerOrigin) {
|
|
1255
1437
|
return {
|
|
1256
1438
|
browser: _thumbnailBrowserLease.browser,
|
|
1257
1439
|
requestedGpuMode: _thumbnailBrowserModes.requested,
|
|
1258
1440
|
resolvedGpuMode: _thumbnailBrowserModes.resolved,
|
|
1259
1441
|
softwareWebGpu: _thumbnailBrowserModes.softwareWebGpu,
|
|
1260
|
-
|
|
1442
|
+
pageServerOrigin
|
|
1261
1443
|
};
|
|
1262
1444
|
}
|
|
1263
1445
|
if (_thumbnailBrowserInitializing) {
|
|
1264
1446
|
const session = await _thumbnailBrowserInitializing;
|
|
1265
|
-
if (session?.requestedGpuMode === requestedGpuMode && session.
|
|
1447
|
+
if (session?.requestedGpuMode === requestedGpuMode && session.pageServerOrigin === pageServerOrigin)
|
|
1266
1448
|
return session;
|
|
1267
1449
|
}
|
|
1268
1450
|
if (_thumbnailBrowserLease) await closeThumbnailBrowser();
|
|
1269
1451
|
_thumbnailBrowserInitializing = (async () => {
|
|
1270
1452
|
try {
|
|
1271
1453
|
if (isShuttingDown()) return null;
|
|
1272
|
-
const { ensureBrowser } = await import("./manager-
|
|
1273
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
1454
|
+
const { ensureBrowser } = await import("./manager-C5S25OOK.js");
|
|
1455
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-BNSCFKOD.js");
|
|
1274
1456
|
let executablePath;
|
|
1275
1457
|
try {
|
|
1276
1458
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1292,14 +1474,14 @@ async function getThumbnailBrowser(requestedGpuMode, previewUrl, isShuttingDown)
|
|
|
1292
1474
|
},
|
|
1293
1475
|
gpuConfig
|
|
1294
1476
|
),
|
|
1295
|
-
{ forceScreenshot: true, pageServerUrl
|
|
1477
|
+
{ forceScreenshot: true, pageServerUrl }
|
|
1296
1478
|
);
|
|
1297
1479
|
_thumbnailBrowserLease = acquired;
|
|
1298
1480
|
_thumbnailBrowserModes = {
|
|
1299
1481
|
requested: requestedGpuMode,
|
|
1300
1482
|
resolved: resolvedGpuMode,
|
|
1301
1483
|
softwareWebGpu,
|
|
1302
|
-
|
|
1484
|
+
pageServerOrigin
|
|
1303
1485
|
};
|
|
1304
1486
|
acquired.browser.on("disconnected", () => {
|
|
1305
1487
|
if (_thumbnailBrowserLease !== acquired) return;
|
|
@@ -1312,7 +1494,7 @@ async function getThumbnailBrowser(requestedGpuMode, previewUrl, isShuttingDown)
|
|
|
1312
1494
|
requestedGpuMode,
|
|
1313
1495
|
resolvedGpuMode,
|
|
1314
1496
|
softwareWebGpu,
|
|
1315
|
-
|
|
1497
|
+
pageServerOrigin
|
|
1316
1498
|
};
|
|
1317
1499
|
} catch (err) {
|
|
1318
1500
|
console.warn(
|
|
@@ -1353,8 +1535,8 @@ async function loadPreviewServerBuildSignature() {
|
|
|
1353
1535
|
]);
|
|
1354
1536
|
}
|
|
1355
1537
|
function rewriteWrittenToHostViewport(projectDir, written) {
|
|
1356
|
-
const indexPath =
|
|
1357
|
-
if (!
|
|
1538
|
+
const indexPath = join3(projectDir, "index.html");
|
|
1539
|
+
if (!existsSync3(indexPath)) return;
|
|
1358
1540
|
const indexHtml = readFileSync(indexPath, "utf-8");
|
|
1359
1541
|
const hostW = indexHtml.match(/data-width="(\d+)"/)?.[1];
|
|
1360
1542
|
const hostH = indexHtml.match(/data-height="(\d+)"/)?.[1];
|
|
@@ -1375,15 +1557,17 @@ function rewriteWrittenToHostViewport(projectDir, written) {
|
|
|
1375
1557
|
return match;
|
|
1376
1558
|
}
|
|
1377
1559
|
);
|
|
1378
|
-
replaceFileAtomically(absPath, content,
|
|
1560
|
+
replaceFileAtomically(absPath, content, statSync2(absPath).mode);
|
|
1379
1561
|
}
|
|
1380
1562
|
}
|
|
1563
|
+
function previewDocumentStore(projectDir) {
|
|
1564
|
+
const secret = previewToken();
|
|
1565
|
+
if (!secret) return void 0;
|
|
1566
|
+
const salt = createHash2("sha256").update(readFileSync(fileURLToPath(import.meta.url))).digest("hex");
|
|
1567
|
+
return createPreviewDocumentStore(projectDir, salt, secret);
|
|
1568
|
+
}
|
|
1381
1569
|
function createStateFolderBeforeWatching(projectDir) {
|
|
1382
|
-
|
|
1383
|
-
mkdirSync(join2(projectDir, ".hyperframes"), { recursive: true });
|
|
1384
|
-
} catch {
|
|
1385
|
-
return;
|
|
1386
|
-
}
|
|
1570
|
+
recordFolder(projectDir, "");
|
|
1387
1571
|
}
|
|
1388
1572
|
function createStudioServer(options) {
|
|
1389
1573
|
const { projectDir, projectName } = options;
|
|
@@ -1397,7 +1581,7 @@ function createStudioServer(options) {
|
|
|
1397
1581
|
const project = { id: projectId, dir: projectDir, title: projectId };
|
|
1398
1582
|
let cachedProjectSignature = null;
|
|
1399
1583
|
watcher.addListener((changedPath) => {
|
|
1400
|
-
if (changedPath === "." || affectsProjectSignature(projectDir,
|
|
1584
|
+
if (changedPath === "." || affectsProjectSignature(projectDir, join3(projectDir, changedPath))) {
|
|
1401
1585
|
cachedProjectSignature = null;
|
|
1402
1586
|
}
|
|
1403
1587
|
});
|
|
@@ -1435,6 +1619,12 @@ function createStudioServer(options) {
|
|
|
1435
1619
|
});
|
|
1436
1620
|
const inFlightRenders = /* @__PURE__ */ new Map();
|
|
1437
1621
|
let shuttingDown = false;
|
|
1622
|
+
const previewWarnings = /* @__PURE__ */ new Set();
|
|
1623
|
+
const warnPreviewOnce = (line) => {
|
|
1624
|
+
if (previewWarnings.has(line)) return;
|
|
1625
|
+
previewWarnings.add(line);
|
|
1626
|
+
console.warn(`[studio] ${line}`);
|
|
1627
|
+
};
|
|
1438
1628
|
const adapter = {
|
|
1439
1629
|
history: () => hostAppOwnsHistory ? null : projectHistory(),
|
|
1440
1630
|
loadSharp: () => loadSharpInBackground("image thumbnails"),
|
|
@@ -1444,15 +1634,12 @@ function createStudioServer(options) {
|
|
|
1444
1634
|
// configured behavior without its own plumbing.
|
|
1445
1635
|
autoProxy: options.autoProxy ?? resolveAutoProxy(projectDir, void 0),
|
|
1446
1636
|
listProjects: () => [project],
|
|
1447
|
-
// Salted with the running CLI file
|
|
1448
|
-
previewDocuments:
|
|
1449
|
-
projectDir,
|
|
1450
|
-
createHash2("sha256").update(readFileSync(fileURLToPath(import.meta.url))).digest("hex")
|
|
1451
|
-
),
|
|
1637
|
+
// Salted with the running CLI file; keyed with this user's preview token, so a shipped document is never served.
|
|
1638
|
+
previewDocuments: previewDocumentStore(projectDir),
|
|
1452
1639
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1453
1640
|
async bundle(dir, options2) {
|
|
1454
1641
|
try {
|
|
1455
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1642
|
+
const { bundleToSingleHtml } = await import("./compiler-65SP7M2P.js");
|
|
1456
1643
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1457
1644
|
html = html.replace(
|
|
1458
1645
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1465,21 +1652,23 @@ function createStudioServer(options) {
|
|
|
1465
1652
|
}
|
|
1466
1653
|
},
|
|
1467
1654
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1468
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1469
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1470
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1471
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1472
|
-
const gifOutputDir =
|
|
1473
|
-
const gifDownloadDir =
|
|
1474
|
-
const heifOutputDir =
|
|
1655
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-JER4GPCM.js");
|
|
1656
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-SEPXIM4W.js");
|
|
1657
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-3PDFNYIE.js");
|
|
1658
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-ME67HQ4O.js");
|
|
1659
|
+
const gifOutputDir = join3(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1660
|
+
const gifDownloadDir = join3(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1661
|
+
const heifOutputDir = join3(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
1475
1662
|
const preparedDirs = [gifOutputDir, gifDownloadDir, heifOutputDir];
|
|
1476
1663
|
if (!preparedDirs.every((dir) => isLinkFreeWithinProject(project2.dir, dir)))
|
|
1477
1664
|
return injectDeterministicFontFaces(html);
|
|
1665
|
+
const allowOutsideFiles = outsideAssetsAllowed(project2.dir, void 0, warnPreviewOnce);
|
|
1478
1666
|
const { html: htmlWithJpegs } = await prepareHeifImageInputs(html, {
|
|
1479
1667
|
projectDir: project2.dir,
|
|
1480
1668
|
downloadDir: gifDownloadDir,
|
|
1481
1669
|
outputDir: heifOutputDir,
|
|
1482
1670
|
outputSrcPrefix: ".hyperframes/prepared-assets/heif",
|
|
1671
|
+
allowOutsideFiles,
|
|
1483
1672
|
onFailure: (error) => console.warn(`[studio] ${error.message}`)
|
|
1484
1673
|
});
|
|
1485
1674
|
const prepared = await prepareAnimatedGifInputs(htmlWithJpegs, {
|
|
@@ -1487,6 +1676,7 @@ function createStudioServer(options) {
|
|
|
1487
1676
|
downloadDir: gifDownloadDir,
|
|
1488
1677
|
outputDir: gifOutputDir,
|
|
1489
1678
|
outputSrcPrefix: ".hyperframes/prepared-assets/gif",
|
|
1679
|
+
allowOutsideFiles,
|
|
1490
1680
|
cacheDir: gifOutputDir,
|
|
1491
1681
|
sourceAssets: await downloadRemoteGifImageSources(
|
|
1492
1682
|
html,
|
|
@@ -1502,21 +1692,23 @@ function createStudioServer(options) {
|
|
|
1502
1692
|
invalidateProjectSignature: (dir) => {
|
|
1503
1693
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1504
1694
|
},
|
|
1505
|
-
|
|
1506
|
-
const { lintHyperframeHtml } = await import("./dist-LRGTXDSM.js");
|
|
1507
|
-
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1508
|
-
},
|
|
1695
|
+
lint: (html, opts) => lintHtmlOutOfProcess(html, { ...opts, host: "studio" }),
|
|
1509
1696
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
1510
1697
|
// this event loop it stalls every other Studio request, the preview included.
|
|
1511
1698
|
lintProject: (dir, signal) => runRenderSetupWorker(
|
|
1512
1699
|
"lint",
|
|
1513
1700
|
{ projectDir: dir, host: "studio", background: true },
|
|
1514
|
-
{
|
|
1701
|
+
{
|
|
1702
|
+
execArgv: [`--max-old-space-size=${LINT_WORKER_HEAP_MB}`],
|
|
1703
|
+
maxBufferBytes: 8 * 1024 * 1024,
|
|
1704
|
+
signal,
|
|
1705
|
+
timeoutMs: LINT_WORKER_TIMEOUT_MS
|
|
1706
|
+
}
|
|
1515
1707
|
),
|
|
1516
1708
|
runtimeUrl: "/api/runtime.js",
|
|
1517
1709
|
gsapLocalRoot: gsapVendorDir ? GSAP_LOCAL_ROOT : void 0,
|
|
1518
1710
|
serverOrigin: () => options.origin?.(),
|
|
1519
|
-
rendersDir: () =>
|
|
1711
|
+
rendersDir: () => join3(projectDir, "renders"),
|
|
1520
1712
|
startRender(opts) {
|
|
1521
1713
|
if (shuttingDown) {
|
|
1522
1714
|
return {
|
|
@@ -1545,7 +1737,7 @@ function createStudioServer(options) {
|
|
|
1545
1737
|
for (const suffix of ["", ".meta.json"]) {
|
|
1546
1738
|
const fp = suffix ? opts.outputPath.replace(/\.(mp4|webm|mov|gif)$/, suffix) : opts.outputPath;
|
|
1547
1739
|
try {
|
|
1548
|
-
if (
|
|
1740
|
+
if (existsSync3(fp)) unlinkSync(fp);
|
|
1549
1741
|
} catch {
|
|
1550
1742
|
}
|
|
1551
1743
|
}
|
|
@@ -1655,7 +1847,7 @@ function createStudioServer(options) {
|
|
|
1655
1847
|
startBackgroundRemoval(opts) {
|
|
1656
1848
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1657
1849
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1658
|
-
const pipeline = await import("./pipeline-
|
|
1850
|
+
const pipeline = await import("./pipeline-LZ73CHLB.js").catch(
|
|
1659
1851
|
() => import(sourcePipelinePath)
|
|
1660
1852
|
);
|
|
1661
1853
|
return pipeline.render(renderOpts);
|
|
@@ -1664,7 +1856,7 @@ function createStudioServer(options) {
|
|
|
1664
1856
|
async generateThumbnail(opts) {
|
|
1665
1857
|
const session = await getThumbnailBrowser(
|
|
1666
1858
|
browserGpuMode,
|
|
1667
|
-
opts.previewUrl,
|
|
1859
|
+
options.origin?.() ?? opts.previewUrl,
|
|
1668
1860
|
() => shuttingDown
|
|
1669
1861
|
);
|
|
1670
1862
|
if (!session) {
|
|
@@ -1673,8 +1865,8 @@ function createStudioServer(options) {
|
|
|
1673
1865
|
}
|
|
1674
1866
|
return null;
|
|
1675
1867
|
}
|
|
1676
|
-
const sourcePath =
|
|
1677
|
-
const requiresWebGpu =
|
|
1868
|
+
const sourcePath = join3(opts.project.dir, opts.compPath);
|
|
1869
|
+
const requiresWebGpu = existsSync3(sourcePath) ? compositionRequiresWebGpu(readFileSync(sourcePath, "utf-8")) : false;
|
|
1678
1870
|
if (opts.signal.aborted) return null;
|
|
1679
1871
|
const width = opts.width || 1920;
|
|
1680
1872
|
const height = opts.height || 1080;
|
|
@@ -1745,8 +1937,8 @@ function createStudioServer(options) {
|
|
|
1745
1937
|
}
|
|
1746
1938
|
},
|
|
1747
1939
|
async listRegistryCatalog() {
|
|
1748
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1749
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1940
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-N4U52UK5.js");
|
|
1941
|
+
const { loadProjectConfig } = await import("./projectConfig-R54UDB5Y.js");
|
|
1750
1942
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1751
1943
|
const entries = await listRegistryItems(void 0, registry);
|
|
1752
1944
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1755,9 +1947,9 @@ function createStudioServer(options) {
|
|
|
1755
1947
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1756
1948
|
},
|
|
1757
1949
|
async installRegistryBlock(opts) {
|
|
1758
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1759
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1760
|
-
const { registryTargetPath } = await import("./publication-
|
|
1950
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-LNPIKHAX.js");
|
|
1951
|
+
const { recordRewrittenInstall } = await import("./installer-QGDTFTDU.js");
|
|
1952
|
+
const { registryTargetPath } = await import("./publication-TOBV6M4Q.js");
|
|
1761
1953
|
const { result, item } = await addToProject({
|
|
1762
1954
|
name: opts.blockName,
|
|
1763
1955
|
projectDir: opts.project.dir,
|
|
@@ -1765,7 +1957,7 @@ function createStudioServer(options) {
|
|
|
1765
1957
|
source: "studio"
|
|
1766
1958
|
});
|
|
1767
1959
|
for (const warning of result.warnings) {
|
|
1768
|
-
process.stderr.write(`hyperframes:registry ${warning}
|
|
1960
|
+
process.stderr.write(`hyperframes:registry ${terminalText(warning)}
|
|
1769
1961
|
`);
|
|
1770
1962
|
}
|
|
1771
1963
|
const written = result.written;
|
|
@@ -1828,7 +2020,7 @@ function createStudioServer(options) {
|
|
|
1828
2020
|
});
|
|
1829
2021
|
app.get(`${GSAP_LOCAL_ROOT}/:pkg/dist/:file`, (c) => {
|
|
1830
2022
|
const file = c.req.param("file");
|
|
1831
|
-
const body = gsapVendorDir && c.req.param("pkg") === `gsap@${GSAP_CDN_VERSION}` && GSAP_VENDOR_FILES.has(file) ? readBundleFile(
|
|
2023
|
+
const body = gsapVendorDir && c.req.param("pkg") === `gsap@${GSAP_CDN_VERSION}` && GSAP_VENDOR_FILES.has(file) ? readBundleFile(join3(gsapVendorDir, file)) : null;
|
|
1832
2024
|
if (!body) return c.text("not found", 404);
|
|
1833
2025
|
return c.body(body, 200, {
|
|
1834
2026
|
"Content-Type": getMimeType(file),
|
|
@@ -1879,8 +2071,8 @@ function createStudioServer(options) {
|
|
|
1879
2071
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1880
2072
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1881
2073
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1882
|
-
import("./preflight-
|
|
1883
|
-
import("./ffmpeg-
|
|
2074
|
+
import("./preflight-7G5OBMAA.js"),
|
|
2075
|
+
import("./ffmpeg-F3XK57IP.js")
|
|
1884
2076
|
]);
|
|
1885
2077
|
const { outcomes } = await runEnvironmentChecks();
|
|
1886
2078
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1898,9 +2090,10 @@ function createStudioServer(options) {
|
|
|
1898
2090
|
});
|
|
1899
2091
|
mountDesktopRoutes(app, projectDir);
|
|
1900
2092
|
mountShareRoutes(app, projectDir);
|
|
2093
|
+
followReceivedRecords(app, projectDir);
|
|
1901
2094
|
let cachedFFmpegPath;
|
|
1902
2095
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1903
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
2096
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-F3XK57IP.js");
|
|
1904
2097
|
if (!cachedFFmpegPath) {
|
|
1905
2098
|
cachedFFmpegPath = findFFmpeg();
|
|
1906
2099
|
}
|
|
@@ -1945,6 +2138,7 @@ function createStudioServer(options) {
|
|
|
1945
2138
|
return `<script>window.__HF_STUDIO_ENV__=${JSON.stringify(overrides)};</script>`;
|
|
1946
2139
|
}
|
|
1947
2140
|
app.get("*", (c) => {
|
|
2141
|
+
for (const [name, value] of Object.entries(SAME_ORIGIN_FRAMING_HEADERS)) c.header(name, value);
|
|
1948
2142
|
const indexPath = resolve2(studioDir, "index.html");
|
|
1949
2143
|
const indexContent = readBundleFile(indexPath);
|
|
1950
2144
|
if (indexContent === null) {
|
|
@@ -2017,7 +2211,7 @@ function createStudioServer(options) {
|
|
|
2017
2211
|
});
|
|
2018
2212
|
const renders = [...inFlightRenders];
|
|
2019
2213
|
for (const [abortController] of renders) abortController.abort();
|
|
2020
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
2214
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-BNSCFKOD.js");
|
|
2021
2215
|
killTrackedProcesses();
|
|
2022
2216
|
const closeBrowsers = Promise.allSettled([
|
|
2023
2217
|
closeThumbnailBrowser().catch(() => {
|