hyperframes 0.9.59 → 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/dist/{add-C7J7HSLI.js → add-LNPIKHAX.js} +26 -27
- package/dist/{agentPromptGenerator-GCLJUGVE.js → agentPromptGenerator-N3HL4JWM.js} +15 -17
- package/dist/{animatedGifPrep-JPQZPZC4.js → animatedGifPrep-SEPXIM4W.js} +20 -21
- package/dist/api.d.ts +8 -1
- package/dist/api.js +58 -58
- package/dist/{appHistory-TQ6JAEP5.js → appHistory-ASGUPUUV.js} +5 -6
- package/dist/{asset-HQEPGBDJ.js → asset-3L2G3ROU.js} +15 -5
- package/dist/{assetCataloger-LMPPKPF6.js → assetCataloger-3D75A6GI.js} +16 -18
- package/dist/{audio-FD2EBZ6D.js → audio-U4W5ZWQ7.js} +45 -45
- package/dist/{auth-JA7XH6NG.js → auth-V4G5ZE3P.js} +4 -4
- package/dist/{autoUpdate-WKW2OMIY.js → autoUpdate-QYKF3DDS.js} +4 -4
- package/dist/{avatars-Q7U6CO4X.js → avatars-SB2XCDWJ.js} +23 -25
- package/dist/{backgroundChecks-H2SOS2CM.js → backgroundChecks-KHBYRE6J.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-75OLVMZY.js → batchRender-6S5GMICZ.js} +7 -9
- package/dist/{beats-R4EHWWJN.js → beats-7YLYCCMD.js} +16 -18
- package/dist/{benchmark-F5OHG3Q3.js → benchmark-IBX7ZWVU.js} +27 -27
- package/dist/{billing-LBRSBVXQ.js → billing-EAHOGMQW.js} +21 -23
- package/dist/{browser-CNTCFZOG.js → browser-XKYRXDJW.js} +13 -15
- package/dist/{bundleWithLocalizedFonts-RVF7AFP5.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
- package/dist/{capture-CTRZEZTC.js → capture-4WKQKMXG.js} +10 -12
- package/dist/{capture-DLYM3V5F.js → capture-IBOCZ2MK.js} +43 -41
- package/dist/{captureCompositionFrame-2O2HP6SK.js → captureCompositionFrame-HZA3LNU3.js} +22 -24
- package/dist/{captureFile-W7ZDDBCD.js → captureFile-Z7HQDRC2.js} +4 -5
- package/dist/{catalog-6XL63LU3.js → catalog-TSXQTLKM.js} +28 -30
- package/dist/{catch-up-AOFQWE6O.js → catch-up-LD2B5CE3.js} +15 -17
- package/dist/{check-5V7K4RL6.js → check-TEZKUD26.js} +62 -63
- package/dist/{checkAudio-4YUTDQSQ.js → checkAudio-3GM74ZGV.js} +18 -20
- package/dist/{checkBrowser-BAWRZZZU.js → checkBrowser-OFH3I7Q6.js} +52 -53
- package/dist/{chunk-6ATP7YPZ.js → chunk-22B53HD3.js} +9 -4
- package/dist/{chunk-7Q4EGB3N.js → chunk-2CNVJQKU.js} +1 -1
- package/dist/{chunk-7XOORL2Q.js → chunk-2H4SJSUS.js} +10 -10
- package/dist/{chunk-EGZQX3UX.js → chunk-2SPQTJA2.js} +24 -22
- package/dist/{chunk-HY7FPTBD.js → chunk-32H642MS.js} +2 -2
- package/dist/{chunk-MHF5F4FF.js → chunk-3GF72UPC.js} +74 -15
- package/dist/chunk-3HJX4F2S.js +39 -0
- package/dist/{chunk-7YRZBB4C.js → chunk-3ROFCQAW.js} +1 -1
- package/dist/{chunk-B653JKWT.js → chunk-3W2ORSFV.js} +4 -4
- package/dist/{chunk-R3ONQOLE.js → chunk-4AMOVEV7.js} +11 -11
- package/dist/{chunk-KQHDFVFF.js → chunk-4EWS3KP3.js} +2 -2
- package/dist/{chunk-O733DEVT.js → chunk-4ORH2OXS.js} +1 -1
- package/dist/{chunk-VPPKUCSP.js → chunk-4SDNEKTL.js} +2 -2
- package/dist/{chunk-AEXDJU77.js → chunk-4T45V6GF.js} +1 -1
- package/dist/{chunk-MVA4OQL7.js → chunk-4ZLWEPK4.js} +1 -1
- package/dist/{chunk-2ARKMOCD.js → chunk-5F2ULLFW.js} +6 -6
- package/dist/{chunk-CIXP5G7Z.js → chunk-5GUYYSVT.js} +1 -1
- package/dist/{chunk-JQ7BPN2R.js → chunk-5RM7274K.js} +3 -3
- package/dist/{chunk-TVWDS5AT.js → chunk-5T2LNQAH.js} +46 -18
- package/dist/{chunk-C3NDLM4S.js → chunk-5ZAM42GH.js} +2 -2
- package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
- package/dist/{chunk-5T6HPV25.js → chunk-63CSQYYO.js} +2 -2
- package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
- package/dist/{chunk-Z2U7ELGP.js → chunk-6KU6TCSS.js} +2 -2
- package/dist/{chunk-ZQIMO52O.js → chunk-6NDSDQCR.js} +59 -24
- package/dist/{chunk-65X2G57W.js → chunk-6OKMCIDU.js} +4 -4
- package/dist/{chunk-LZWG4GCC.js → chunk-6P7FLYOR.js} +55 -125
- package/dist/{chunk-FQ26QE5N.js → chunk-6R22Y26Z.js} +1 -1
- package/dist/{chunk-WQGDE3L6.js → chunk-6X2CLRU7.js} +1 -1
- package/dist/{chunk-OV5OSN74.js → chunk-6ZU654EU.js} +3 -3
- package/dist/{chunk-6LGB4MVX.js → chunk-73NC557V.js} +1 -1
- package/dist/{chunk-AQIHV4PM.js → chunk-7463BOQJ.js} +2 -2
- package/dist/{chunk-I6OSAVHD.js → chunk-7AP5C4C2.js} +7 -11
- package/dist/{chunk-JLMMY3UI.js → chunk-7DMES2F3.js} +2 -2
- package/dist/{chunk-RKIF4EU7.js → chunk-7GDEQJSL.js} +14 -14
- package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
- package/dist/{chunk-OPIS2YMA.js → chunk-ADQ7XZE5.js} +6 -6
- package/dist/{chunk-ZIYYSD6S.js → chunk-B5JWBMDR.js} +79 -40
- package/dist/{chunk-PLOCYJ5U.js → chunk-B5TLZC2D.js} +11 -4
- package/dist/{chunk-UNB2DFR2.js → chunk-BAU3ASNM.js} +3 -3
- package/dist/{chunk-DSCMYTKJ.js → chunk-BHZZM2PK.js} +3 -3
- package/dist/chunk-BNH2IKGV.js +5101 -0
- package/dist/{chunk-SO7FT7YA.js → chunk-BNO5RN55.js} +33 -32
- package/dist/{chunk-TNFTRLLJ.js → chunk-C2GAAMZ3.js} +3 -3
- package/dist/{chunk-TIBFCGLT.js → chunk-C7IEAEKF.js} +1 -1
- package/dist/{chunk-EUVU5JS4.js → chunk-CAAUQUCW.js} +23 -9
- package/dist/{chunk-GMIFMRWR.js → chunk-CPHK3XMF.js} +6 -6
- package/dist/{chunk-SGQKP2JT.js → chunk-CPLVXXRS.js} +2 -2
- package/dist/{chunk-KYXH4JWF.js → chunk-CRX444MF.js} +18 -17
- package/dist/{chunk-6R4MEYWD.js → chunk-CRZ7FUMI.js} +2 -2
- package/dist/{chunk-I5H2FPNP.js → chunk-CSWJCRDU.js} +1 -1
- package/dist/{chunk-PSREPOJ4.js → chunk-CT54FOTS.js} +18 -14
- package/dist/{chunk-TJGGLLQJ.js → chunk-CYM53TWZ.js} +28 -14
- package/dist/chunk-D37I36FY.js +21 -0
- package/dist/{chunk-3RTZ2UX7.js → chunk-DD37XZVE.js} +1 -1
- package/dist/{chunk-QKHW5NXL.js → chunk-DWGDP537.js} +2 -2
- package/dist/chunk-EDH2DMXM.js +113 -0
- package/dist/{chunk-PCHUX7Y5.js → chunk-ENKXJNKX.js} +2 -2
- package/dist/{chunk-VXRTE7MZ.js → chunk-ERYGKPIR.js} +1 -1
- package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
- package/dist/{chunk-PHYFZXOS.js → chunk-FLJ4S7NA.js} +2 -2
- package/dist/{chunk-3DFEBAWJ.js → chunk-FU62NEWC.js} +2 -2
- package/dist/{chunk-PDT6CBK2.js → chunk-G7HO2FFX.js} +3 -3
- package/dist/chunk-GADMF4BL.js +170 -0
- package/dist/{chunk-HXFGAI6L.js → chunk-GNRC4L6F.js} +16 -16
- package/dist/{chunk-XZ6THYIK.js → chunk-GYPZTG46.js} +5 -5
- package/dist/{chunk-GYJ7AJXN.js → chunk-H4HYZUE3.js} +1 -1
- package/dist/{chunk-URHIQHDR.js → chunk-H6Y4XOSP.js} +14 -12
- package/dist/{chunk-TIZC4XKU.js → chunk-HAMPVCRY.js} +2 -2
- package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
- package/dist/{chunk-YMKCJRVK.js → chunk-HTHLFEO2.js} +1 -1
- package/dist/{chunk-RAOGN2HG.js → chunk-ICZWQNBR.js} +1 -1
- package/dist/{chunk-4STRMCGD.js → chunk-IIXSSRUR.js} +4 -4
- package/dist/{chunk-4QSDXDLV.js → chunk-ILKK6F5E.js} +3 -3
- package/dist/{chunk-ORKZUTZW.js → chunk-IOWECUEU.js} +1 -1
- package/dist/{chunk-T5QI7ZL2.js → chunk-IT2YUKYY.js} +5 -5
- package/dist/{chunk-SXCM6VY3.js → chunk-IU6AC3WL.js} +1 -1
- package/dist/{chunk-WDMSNDHS.js → chunk-J56ZJFSF.js} +285 -114
- package/dist/{chunk-POFQOZOF.js → chunk-KBEC6VQS.js} +426 -185
- package/dist/{chunk-ELDZ6C3R.js → chunk-KTY46LIH.js} +7 -3
- package/dist/{chunk-XXOEYRD5.js → chunk-KYZEK7QF.js} +2 -2
- package/dist/{chunk-N6QWL3E7.js → chunk-L7MFHIG7.js} +2 -2
- package/dist/{chunk-ISSG4PUD.js → chunk-LGIWC6KN.js} +3 -3
- package/dist/{chunk-CC72LTIT.js → chunk-LTXZLTXW.js} +180 -202
- package/dist/{chunk-WI3FM54X.js → chunk-LULZFFDN.js} +3 -3
- package/dist/{chunk-FFL5R2EZ.js → chunk-LV2ETFC5.js} +4 -4
- package/dist/{chunk-K2WLOTTF.js → chunk-LYTELQL2.js} +2 -4
- package/dist/{chunk-RHFB457E.js → chunk-LZSSGF7G.js} +3 -3
- package/dist/chunk-MERWX4DZ.js +159 -0
- package/dist/{chunk-H3TD4VKX.js → chunk-MJBBKSKB.js} +1 -1
- package/dist/{chunk-QHVE6AFU.js → chunk-MPVJI4SE.js} +1 -1
- package/dist/{chunk-BMTT2T7M.js → chunk-MPX3FO4A.js} +5 -5
- package/dist/{chunk-SC7SX2I3.js → chunk-MQCIX6O2.js} +4 -4
- package/dist/{chunk-ODLSLYJR.js → chunk-MTCVUAUK.js} +2 -2
- package/dist/{chunk-J4OHC5FU.js → chunk-NK2UW3WR.js} +1 -1
- package/dist/{chunk-7CI5MLCC.js → chunk-NOJRZCN3.js} +26 -11
- package/dist/{chunk-3QMGLSKC.js → chunk-NU7BEOCX.js} +2 -2
- package/dist/chunk-NY6E4272.js +112 -0
- package/dist/{chunk-L4MXZHRB.js → chunk-OBP5WNKP.js} +3 -3
- package/dist/{chunk-JUUOYXWH.js → chunk-OGOR22GY.js} +2 -2
- package/dist/{chunk-XWV6BOCG.js → chunk-OPUR2XQ2.js} +5 -5
- package/dist/{chunk-JT7RXK2N.js → chunk-OW6MOJSR.js} +1 -1
- package/dist/{chunk-4VJQVTQI.js → chunk-PAHTZDMZ.js} +1 -1
- package/dist/{chunk-FC77MYAD.js → chunk-PPETKAEO.js} +1 -1
- package/dist/{chunk-6VY52EVW.js → chunk-PQ2OPPGP.js} +7 -3
- package/dist/{chunk-KK5Z5XQ3.js → chunk-PTGNUVCB.js} +3 -0
- package/dist/{chunk-HTISHNLA.js → chunk-Q7IOMZ5X.js} +1 -1
- package/dist/{chunk-PMKWTXHE.js → chunk-R2LBMDYH.js} +2 -2
- package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
- package/dist/{chunk-ZMLZRMG7.js → chunk-RDJOA5MM.js} +2 -2
- package/dist/{chunk-J3H6QDDY.js → chunk-RF3DT4CS.js} +1 -1
- package/dist/{chunk-WRSGWDDB.js → chunk-RJCQZMNI.js} +9 -9
- package/dist/{chunk-QC35TPEE.js → chunk-RRI7NGQZ.js} +6 -6
- package/dist/{chunk-RDWGNSVI.js → chunk-RSYV6NNI.js} +2 -2
- package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
- package/dist/{chunk-KGPHUBBA.js → chunk-SCEBICAQ.js} +1 -1
- package/dist/{chunk-VFGFXE6J.js → chunk-SDIQEPAR.js} +1 -1
- package/dist/{chunk-OF7SQ77J.js → chunk-SIQGTRZ5.js} +1 -1
- package/dist/{chunk-QVHDAS3L.js → chunk-SQI2MWJE.js} +4 -4
- package/dist/{chunk-2LJPBYKI.js → chunk-SYMLVFQF.js} +1 -1
- package/dist/{chunk-QJ2BV7FM.js → chunk-TJAFCC37.js} +9 -9
- package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
- package/dist/{chunk-PYRM3OAI.js → chunk-TRVWLAQ3.js} +11 -13
- package/dist/{chunk-HLOJSBGC.js → chunk-TTRX7NM3.js} +9 -9
- package/dist/{chunk-763UG5II.js → chunk-UEJMLVGW.js} +8 -8
- package/dist/{chunk-LTOUXR3X.js → chunk-UX5KLSAJ.js} +73 -75
- package/dist/{chunk-L456Q4KU.js → chunk-VJVTGSGW.js} +1 -1
- package/dist/{chunk-RX67N2PU.js → chunk-VM2VBJRC.js} +31 -2
- package/dist/{chunk-K33E3YNK.js → chunk-VNWPHKKI.js} +10 -10
- package/dist/{chunk-XXJBWKDS.js → chunk-VRUVJTFW.js} +17 -17
- package/dist/{chunk-WTZT6FSK.js → chunk-VSS3OAZB.js} +1 -1
- package/dist/{chunk-6UAYOSE7.js → chunk-VZM7AFUH.js} +9 -9
- package/dist/{chunk-6K6RIX2A.js → chunk-W772ZFTE.js} +21 -6
- package/dist/{chunk-THGJTFYB.js → chunk-WTO3A7ET.js} +86 -6
- package/dist/{chunk-YBYNBKCN.js → chunk-WTS245RC.js} +2 -2
- package/dist/{chunk-UBNJWS2H.js → chunk-WTUDKVWQ.js} +3 -3
- package/dist/{chunk-BTXYXM2A.js → chunk-WVCCSYZC.js} +17 -17
- package/dist/{chunk-FGJUVWAM.js → chunk-X3NGTIE3.js} +1 -1
- package/dist/{chunk-DCRHNRUY.js → chunk-XLG3JMSS.js} +5 -5
- package/dist/{chunk-D44MBZI6.js → chunk-Y53Z2M77.js} +2 -2
- package/dist/{chunk-WKE3WTIU.js → chunk-YB2ZJJFJ.js} +1 -1
- package/dist/{chunk-LSGJY2FG.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-HYXQR5I3.js → chunk-Z55ASKZE.js} +1 -1
- package/dist/{chunk-OYKAS3J5.js → chunk-ZBDITGMP.js} +3 -3
- package/dist/{chunk-CAMD2NBN.js → chunk-ZGSGBGTB.js} +2 -2
- package/dist/{clean-Z5REUSNY.js → clean-RJKQ23WH.js} +36 -37
- package/dist/cli.js +74 -75
- package/dist/{cloud-NJ7G3NF3.js → cloud-R3NQSUTQ.js} +4 -4
- package/dist/{cloud-QP5R6B6A.js → cloud-VUR3ZO6O.js} +8 -9
- package/dist/{cloudrun-CPAZLNTW.js → cloudrun-SZYAYV7N.js} +19 -12
- package/dist/{compare-T5CHD25P.js → compare-AO5VJBJW.js} +70 -92
- package/dist/{compiler-QVDXN4OS.js → compiler-65SP7M2P.js} +7 -9
- package/dist/{component-QMZ46KTE.js → component-WGTPAIKX.js} +8 -10
- package/dist/{compositions-JHYYNBAK.js → compositions-HWM6DNJA.js} +21 -23
- package/dist/{contactSheet-7SPGUTDV.js → contactSheet-ROUVWDRO.js} +5 -6
- package/dist/{curve-ON6QQY7T.js → curve-PLPTMDS4.js} +20 -22
- package/dist/{cuts-K4FOVP4E.js → cuts-T5GYTDUA.js} +21 -23
- package/dist/{delete-6WFQ3FC2.js → delete-6WE3N3VO.js} +26 -15
- package/dist/{deploy-UAZQ5PBA.js → deploy-GYY6CYQD.js} +12 -13
- package/dist/{describeProject-7W6BN5A2.js → describeProject-UQQ2GGIX.js} +15 -17
- package/dist/{destroy-4B4OVPHJ.js → destroy-WSGREGAG.js} +12 -13
- package/dist/{deterministicFonts-VLIVGXUQ.js → deterministicFonts-JER4GPCM.js} +4 -5
- package/dist/{diff-ZSA37QQS.js → diff-JQBZUPKG.js} +57 -54
- package/dist/{dist-ACT5C6ME.js → dist-6EF2P3P7.js} +4 -4
- package/dist/{dist-VRYZIJFZ.js → dist-HF753IX4.js} +5 -8
- package/dist/{dist-2O52E7QZ.js → dist-JRJHFP27.js} +20 -21
- package/dist/{doctor-RXQ2Y2YY.js → doctor-SPJ5AJKX.js} +23 -25
- package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
- package/dist/{energy-DRA3DCRO.js → energy-KPDVIZ5D.js} +21 -23
- package/dist/{events-AJNF2C3H.js → events-4WAMG3JE.js} +10 -12
- package/dist/{events-4SNBQE3M.js → events-P4223ZZZ.js} +23 -25
- package/dist/{events-GA3YM3WT.js → events-XON5I7VU.js} +5 -5
- package/dist/{execute-6LTZRWE4.js → execute-CN5FLBYU.js} +49 -46
- package/dist/{extract-XZQN654B.js → extract-ABSBKYYH.js} +21 -23
- package/dist/{face-RKUNVSN3.js → face-PLPQ5335.js} +22 -24
- package/dist/{feedback-AL7NPPMZ.js → feedback-QPQ4G72X.js} +62 -38
- package/dist/{ffmpeg-BEL7EZBA.js → ffmpeg-F3XK57IP.js} +14 -16
- package/dist/{figma-IZ3NH2KZ.js → figma-S5CVANVZ.js} +3 -3
- package/dist/fontLocalizeCli.js +26 -27
- package/dist/{frames-AYE53CSZ.js → frames-F4QEQB4V.js} +23 -25
- package/dist/{generate-BZ4EVVQI.js → generate-O3OPOCHP.js} +37 -39
- package/dist/{get-2GG4NSOK.js → get-P7LQ7U22.js} +26 -15
- package/dist/{gpuPolicy-W2ZGBXNG.js → gpuPolicy-JPRDRQWU.js} +14 -16
- package/dist/{grade-compare-65NWHVXK.js → grade-compare-6UZ6SK4J.js} +50 -51
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-MRQ4KKDF.js → heifImagePrep-3PDFNYIE.js} +21 -22
- package/dist/{help-TEQWNNPI.js → help-DLOCAL7E.js} +1 -1
- package/dist/{history-MVNPETRW.js → history-YIJVOGH7.js} +23 -25
- 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-NGNTHWYX.js → info-FVYJNNQL.js} +23 -25
- package/dist/{init-H7SUGVZX.js → init-V45K4VAG.js} +41 -43
- package/dist/{ink-CPZ4YZFM.js → ink-P72OB7L4.js} +21 -23
- package/dist/{inspect-GZBQ7XN7.js → inspect-3W2IG3JF.js} +53 -54
- package/dist/{installer-ZTHYVK4L.js → installer-QGDTFTDU.js} +8 -10
- package/dist/{keyframes-B52LQUOI.js → keyframes-57OPHIR2.js} +77 -28
- package/dist/{lambda-SZDQJMKA.js → lambda-EQZS7UMO.js} +32 -26
- package/dist/{layout-BOUOG2D2.js → layout-KSWMO6MH.js} +53 -54
- package/dist/{lint-H4OWI5JN.js → lint-WIYBGVF2.js} +18 -20
- package/dist/{lintProject-P4EAXFU2.js → lintProject-N3UN6HEE.js} +4 -4
- package/dist/{list-VNEYACGL.js → list-3FQAHEE2.js} +27 -16
- package/dist/{localPage-ZP7WVA2N.js → localPage-G2QEA7JL.js} +15 -17
- package/dist/{login-RUDOUO5Z.js → login-C3U6WSHF.js} +6 -6
- package/dist/{logout-5ZO6ZNS3.js → logout-525LWS6J.js} +2 -2
- package/dist/{look-G3NVPKXZ.js → look-U5LWOI4H.js} +21 -23
- package/dist/{manager-KWNID2ZA.js → manager-C5S25OOK.js} +5 -5
- package/dist/{manager-NXH2NJC6.js → manager-ZVYDWLHI.js} +16 -18
- package/dist/{measure-5PVIZ2W2.js → measure-R2KZIHXT.js} +11 -11
- package/dist/{media-treatment-T5QJI4PQ.js → media-treatment-FAW5ZLT7.js} +29 -29
- package/dist/{media-use-RTN3SMVY.js → media-use-CPTT2ZDE.js} +12 -8
- package/dist/{models-J2CJ7EVX.js → models-53JHNGSL.js} +20 -22
- package/dist/{motionShot-HU7P26WJ.js → motionShot-K5ZHHHE6.js} +28 -30
- package/dist/{normalize-44E7R6T5.js → normalize-TBACWMEK.js} +4 -5
- package/dist/{normalize-audio-2YFTP2T6.js → normalize-audio-EOO2ORPP.js} +20 -21
- package/dist/{open-RSCNUV6E.js → open-3YABRCER.js} +26 -28
- package/dist/{parakeetRunner-BUY25EIR.js → parakeetRunner-TLZC2WAJ.js} +24 -26
- package/dist/{pipeline-A4RL5R5P.js → pipeline-LZ73CHLB.js} +20 -20
- package/dist/{plan-7WYNPILA.js → plan-3QQZ57IC.js} +31 -33
- package/dist/{play-UKHFNMYZ.js → play-ESWP4SF2.js} +44 -43
- package/dist/{preflight-2VFCT3PI.js → preflight-7G5OBMAA.js} +17 -19
- package/dist/{present-ZUGFCQOF.js → present-5ER4JKR5.js} +36 -37
- package/dist/{preview-BT2ZFYMC.js → preview-62XOVSXM.js} +50 -50
- package/dist/privateProjectFile-6NPNZXK3.js +65 -0
- package/dist/{probe-2CLEK2UT.js → probe-CFOGEVFU.js} +21 -23
- package/dist/{producer-HCAMS55D.js → producer-LLE32VVO.js} +1 -1
- package/dist/{progress-5A4N7PTR.js → progress-PT3NAFVP.js} +5 -6
- package/dist/{projectConfig-2KJ2PXIM.js → projectConfig-R54UDB5Y.js} +11 -13
- package/dist/{publication-AR63EGJF.js → publication-TOBV6M4Q.js} +6 -8
- package/dist/{publish-EGKYOJWV.js → publish-QVNH5PXC.js} +63 -42
- package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
- package/dist/{refresh-GYRLZ7DZ.js → refresh-HK4YEHWC.js} +2 -2
- package/dist/{remove-background-IQQPMM24.js → remove-background-XHE6JL35.js} +21 -21
- package/dist/{render-HJRMJYTA.js → render-7JJ2DFEB.js} +12 -13
- package/dist/{render-ROJ5X53T.js → render-GRZMK6ET.js} +128 -87
- package/dist/{render-YNSZYEEK.js → render-WK3D5VOW.js} +141 -114
- package/dist/{render-batch-MXYDIHRO.js → render-batch-KFEZFJXB.js} +12 -13
- package/dist/renderSetupWorker.js +9 -9
- package/dist/{resolver-SPLAVF76.js → resolver-N4U52UK5.js} +8 -10
- package/dist/{reverse-CE6OGBB7.js → reverse-6AOA3PXF.js} +1 -1
- package/dist/{run-YVNJJL26.js → run-M2J3ZJ3W.js} +11 -12
- package/dist/{sam-2D3BUTL7.js → sam-O7Y2CCK3.js} +4 -4
- package/dist/{screenshotCapture-DRO7VMNI.js → screenshotCapture-UXJZ7D3L.js} +17 -19
- package/dist/{service-K65JYG4O.js → service-DBNZZLPU.js} +22 -24
- package/dist/{share-CSVWF6SB.js → share-6P7S3USP.js} +26 -28
- package/dist/{sherpa-JE6AFUEV.js → sherpa-CXEHEVAJ.js} +23 -25
- package/dist/sherpaWorker.js +6 -7
- package/dist/{sites-QCGTWVNF.js → sites-R5F5FNAL.js} +6 -6
- package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
- package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +6 -6
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
- package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
- package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
- package/dist/skills/media-use/scripts/resolve.mjs +21 -15
- package/dist/{skills-L3BXM7VJ.js → skills-RMIHFNI6.js} +15 -17
- package/dist/{skillsUpdateCheck-VUENI5OR.js → skillsUpdateCheck-EHOSL2AC.js} +5 -5
- package/dist/{snapshot-GI2GWIF6.js → snapshot-DQK3P7TF.js} +97 -84
- package/dist/{src-ZXZO5RCJ.js → src-4INHWM6L.js} +29 -30
- package/dist/{src-B646B52O.js → src-BNSCFKOD.js} +17 -19
- package/dist/{start-ZNGKXRNE.js → start-KPCEUG5K.js} +43 -37
- package/dist/{state-7CJBWHXJ.js → state-5LE7AN6F.js} +5 -6
- package/dist/{staticProjectServer-46T6YTPF.js → staticProjectServer-VCS4TOU2.js} +33 -34
- package/dist/{status-7SWTPLVI.js → status-WBNQSG4H.js} +23 -25
- package/dist/studio/assets/{hyperframes-player-bya4hgms.js → hyperframes-player-Cm0hYGm2.js} +1 -1
- package/dist/studio/assets/{index-Bxh5lW0C.js → index-BGrNWeLK.js} +199 -199
- package/dist/studio/assets/{index--dcfSUzI.js → index-REqr_dLu.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-BKym1jA6.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-4XKM5HDR.js → studio-api-RAW4CIPR.js} +20 -21
- package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
- package/dist/{studioServer-4TWRIZNU.js → studioServer-5PWBZADN.js} +260 -117
- package/dist/subCompositionWorker.js +60 -54
- package/dist/{sync-R3K6LYB3.js → sync-PM2WLBUC.js} +21 -23
- package/dist/{synthesize-OZ3SJTOF.js → synthesize-NGU4DRKC.js} +10 -9
- package/dist/{system-LZ4PMOJD.js → system-PKL4Y4MX.js} +3 -3
- package/dist/{telemetry-WSBY25O3.js → telemetry-4BST73P2.js} +10 -12
- package/dist/{templates-ITP6ISAF.js → templates-G3XOWYXG.js} +24 -26
- package/dist/{timeline-U7GJMYKV.js → timeline-E6ZXYGQR.js} +36 -37
- package/dist/{tokens-3YTSUU27.js → tokens-KRHXM44C.js} +15 -5
- package/dist/{transcribe-QHHY5M3G.js → transcribe-RJ3GOCJL.js} +44 -46
- package/dist/{transcribe-ISCBYWN4.js → transcribe-TKV3POYD.js} +20 -22
- package/dist/{tts-24IJXIT2.js → tts-EPXRE275.js} +20 -4
- package/dist/{update-SVEH2GOL.js → update-TO7MLJCS.js} +17 -19
- package/dist/{updateCheck-MDG7N7VO.js → updateCheck-5AY447D5.js} +4 -4
- package/dist/{upgrade-6CGAI4OR.js → upgrade-BLZWWXYL.js} +8 -9
- package/dist/{urlDownloader-VPQTIGEH.js → urlDownloader-ME67HQ4O.js} +13 -15
- package/dist/{validate-QUB4KCEQ.js → validate-SRBV5NFV.js} +41 -42
- package/dist/{video-PUGZ5UHS.js → video-JPESR36I.js} +17 -19
- package/dist/{voices-4UO5AYLS.js → voices-AECYKXGA.js} +34 -36
- package/dist/warmCheck.js +62 -63
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-6VY6WTY5.js +0 -279
- package/dist/chunk-NI7JVGOE.js +0 -5083
- package/dist/chunk-NLN5NY3P.js +0 -34
- package/dist/chunk-UVZIABYZ.js +0 -40
- package/dist/chunk-VC76R6W2.js +0 -27
- /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
|
@@ -6,24 +6,21 @@ 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-73NC557V.js";
|
|
10
10
|
import {
|
|
11
11
|
acquireRenderLock,
|
|
12
12
|
describeRenderLockHolder,
|
|
13
13
|
renderJobObservabilityTelemetryPayload,
|
|
14
14
|
renderObservabilityTelemetryPayload,
|
|
15
15
|
startRenderCpuSampler
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
outsideAssetsAllowed
|
|
19
|
-
} from "./chunk-LZWG4GCC.js";
|
|
16
|
+
} from "./chunk-WTUDKVWQ.js";
|
|
20
17
|
import {
|
|
21
18
|
HANDOFF_READY,
|
|
22
19
|
desktopDownloadUrl,
|
|
23
20
|
desktopInstalled,
|
|
24
21
|
insideHostApp,
|
|
25
22
|
openInDesktop
|
|
26
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MPX3FO4A.js";
|
|
27
24
|
import "./chunk-IEESWUIQ.js";
|
|
28
25
|
import {
|
|
29
26
|
ReviewFailed,
|
|
@@ -33,36 +30,50 @@ import {
|
|
|
33
30
|
shareSite,
|
|
34
31
|
trackShareInteraction,
|
|
35
32
|
versionOnPage
|
|
36
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-UEJMLVGW.js";
|
|
37
34
|
import {
|
|
38
35
|
resolveRenderBrowser
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import
|
|
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";
|
|
41
52
|
import {
|
|
42
53
|
loadSharpInBackground
|
|
43
54
|
} from "./chunk-LB6ZAP4I.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-KGPHUBBA.js";
|
|
55
|
+
import "./chunk-SCEBICAQ.js";
|
|
46
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-
|
|
52
|
-
import "./chunk-ODLSLYJR.js";
|
|
62
|
+
import "./chunk-B5TLZC2D.js";
|
|
53
63
|
import "./chunk-X7MTZ4T2.js";
|
|
54
64
|
import {
|
|
55
65
|
seekCompositionTimeline
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-7GDEQJSL.js";
|
|
67
|
+
import "./chunk-CPLVXXRS.js";
|
|
68
|
+
import "./chunk-3ROFCQAW.js";
|
|
69
|
+
import "./chunk-MTCVUAUK.js";
|
|
58
70
|
import "./chunk-262C25DQ.js";
|
|
59
71
|
import {
|
|
60
72
|
GSAP_VENDOR_FILES,
|
|
61
73
|
readBundleFile,
|
|
62
74
|
resolveGsapVendorDir
|
|
63
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YLC67YFR.js";
|
|
64
76
|
import "./chunk-YGGZ23BB.js";
|
|
65
|
-
import "./chunk-7YRZBB4C.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-
|
|
85
|
-
import
|
|
94
|
+
} from "./chunk-J56ZJFSF.js";
|
|
95
|
+
import "./chunk-BAU3ASNM.js";
|
|
96
|
+
import {
|
|
97
|
+
requestSubPath
|
|
98
|
+
} from "./chunk-RJCQZMNI.js";
|
|
86
99
|
import "./chunk-HYO4DIYT.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-UX5KLSAJ.js";
|
|
101
|
+
import "./chunk-TJAFCC37.js";
|
|
89
102
|
import {
|
|
90
103
|
DEFAULT_HISTORY_ROOT,
|
|
91
104
|
DELETED_VERSION,
|
|
@@ -98,51 +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 {
|
|
111
|
-
resolveAutoProxy
|
|
112
|
-
} from "./chunk-RHFB457E.js";
|
|
113
|
-
import "./chunk-XT7X6QCP.js";
|
|
114
|
-
import "./chunk-OF7SQ77J.js";
|
|
115
|
-
import "./chunk-HVW7ABXD.js";
|
|
116
|
-
import {
|
|
117
|
-
recordFolder
|
|
118
|
-
} from "./chunk-JT7RXK2N.js";
|
|
123
|
+
import "./chunk-OPUR2XQ2.js";
|
|
119
124
|
import {
|
|
120
125
|
resolveCaptureBrowserGpuMode,
|
|
121
126
|
resolveLocalBrowserGpuMode,
|
|
122
127
|
resolveLocalWebGpu
|
|
123
|
-
} 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";
|
|
134
|
+
import "./chunk-HVW7ABXD.js";
|
|
124
135
|
import {
|
|
125
136
|
renderMotionBlurTelemetryPayload,
|
|
126
137
|
trackRenderComplete,
|
|
127
138
|
trackRenderError
|
|
128
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-22B53HD3.js";
|
|
129
140
|
import {
|
|
130
141
|
canaryDecisionsForStudio,
|
|
131
142
|
resetTelemetryPostureCache,
|
|
132
143
|
shouldTrack
|
|
133
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-NU7BEOCX.js";
|
|
134
145
|
import "./chunk-PXVQOMKL.js";
|
|
135
146
|
import "./chunk-NGRWDXRZ.js";
|
|
136
147
|
import "./chunk-DMW5SSUN.js";
|
|
137
|
-
import
|
|
148
|
+
import {
|
|
149
|
+
recordFolder
|
|
150
|
+
} from "./chunk-OW6MOJSR.js";
|
|
151
|
+
import "./chunk-L7MFHIG7.js";
|
|
138
152
|
import "./chunk-XFF4XJZO.js";
|
|
139
|
-
import "./chunk-
|
|
140
|
-
import "./chunk-
|
|
153
|
+
import "./chunk-6OKMCIDU.js";
|
|
154
|
+
import "./chunk-C2GAAMZ3.js";
|
|
141
155
|
import "./chunk-AWDFDFI3.js";
|
|
142
156
|
import "./chunk-662337AC.js";
|
|
143
157
|
import "./chunk-D3UCUI7G.js";
|
|
144
|
-
import "./chunk-
|
|
145
|
-
import "./chunk-
|
|
158
|
+
import "./chunk-WTS245RC.js";
|
|
159
|
+
import "./chunk-PQ2OPPGP.js";
|
|
146
160
|
import "./chunk-54HJ63Q2.js";
|
|
147
161
|
import "./chunk-YAROSZMP.js";
|
|
148
162
|
import "./chunk-JCNPHRGX.js";
|
|
@@ -152,45 +166,45 @@ import {
|
|
|
152
166
|
} from "./chunk-LD6JONPV.js";
|
|
153
167
|
import "./chunk-ZB2XGJSP.js";
|
|
154
168
|
import {
|
|
155
|
-
|
|
156
|
-
} from "./chunk-P2ZMVHTF.js";
|
|
157
|
-
import "./chunk-6T4PB35F.js";
|
|
158
|
-
import {
|
|
159
|
-
isLinkFreeWithinProject
|
|
160
|
-
} from "./chunk-THGJTFYB.js";
|
|
161
|
-
import {
|
|
169
|
+
SAME_ORIGIN_FRAMING_HEADERS,
|
|
162
170
|
assertWebGpuAdapterAvailable,
|
|
163
171
|
compositionRequiresWebGpu
|
|
164
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-LTXZLTXW.js";
|
|
165
173
|
import "./chunk-Z5J67X44.js";
|
|
166
174
|
import "./chunk-PJQVJSMG.js";
|
|
167
|
-
import "./chunk-3GXQPCJC.js";
|
|
168
175
|
import {
|
|
169
|
-
|
|
170
|
-
} from "./chunk-
|
|
171
|
-
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";
|
|
172
185
|
import "./chunk-5S7W3TUO.js";
|
|
173
186
|
import "./chunk-D54ZDCZR.js";
|
|
174
|
-
import "./chunk-
|
|
187
|
+
import "./chunk-7AP5C4C2.js";
|
|
188
|
+
import "./chunk-D37I36FY.js";
|
|
189
|
+
import {
|
|
190
|
+
isProjectIgnoredDir
|
|
191
|
+
} from "./chunk-F6PI5O3H.js";
|
|
175
192
|
import {
|
|
176
193
|
isAtomicTempPath,
|
|
177
194
|
replaceFileAtomically
|
|
178
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-LYTELQL2.js";
|
|
179
196
|
import {
|
|
180
197
|
GSAP_CDN_VERSION,
|
|
181
198
|
fpsToNumber
|
|
182
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-MPVJI4SE.js";
|
|
183
200
|
import "./chunk-FXMKHHPO.js";
|
|
184
|
-
import "./chunk-
|
|
185
|
-
import "./chunk-VC76R6W2.js";
|
|
186
|
-
import {
|
|
187
|
-
realpath
|
|
188
|
-
} from "./chunk-MHF5F4FF.js";
|
|
201
|
+
import "./chunk-BNH2IKGV.js";
|
|
189
202
|
import {
|
|
203
|
+
realpath,
|
|
190
204
|
terminalText
|
|
191
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-3GF72UPC.js";
|
|
192
206
|
import "./chunk-RQVDTPGD.js";
|
|
193
|
-
import "./chunk-
|
|
207
|
+
import "./chunk-LGIWC6KN.js";
|
|
194
208
|
import "./chunk-A7NRMVUG.js";
|
|
195
209
|
import {
|
|
196
210
|
runRenderSetupWorker
|
|
@@ -198,13 +212,13 @@ import {
|
|
|
198
212
|
import "./chunk-KGPLIH7B.js";
|
|
199
213
|
import {
|
|
200
214
|
bytesToMb
|
|
201
|
-
} from "./chunk-
|
|
202
|
-
import "./chunk-
|
|
203
|
-
import "./chunk-
|
|
215
|
+
} from "./chunk-YB2ZJJFJ.js";
|
|
216
|
+
import "./chunk-YWUE4CRU.js";
|
|
217
|
+
import "./chunk-TTRX7NM3.js";
|
|
204
218
|
import {
|
|
205
219
|
isWithinProjectRoot
|
|
206
|
-
} from "./chunk-
|
|
207
|
-
import "./chunk-
|
|
220
|
+
} from "./chunk-S35RUNXJ.js";
|
|
221
|
+
import "./chunk-5GUYYSVT.js";
|
|
208
222
|
import "./chunk-IH2C53YV.js";
|
|
209
223
|
import "./chunk-4NDSGKPO.js";
|
|
210
224
|
import "./chunk-FR7YBU3H.js";
|
|
@@ -212,7 +226,7 @@ import "./chunk-DZWAYZG2.js";
|
|
|
212
226
|
import "./chunk-WC4MTXGN.js";
|
|
213
227
|
import "./chunk-GWTIFRF5.js";
|
|
214
228
|
import "./chunk-2RY2LWAA.js";
|
|
215
|
-
import "./chunk-
|
|
229
|
+
import "./chunk-PTGNUVCB.js";
|
|
216
230
|
import "./chunk-WFQJ6EJ6.js";
|
|
217
231
|
import "./chunk-4NTCQF3L.js";
|
|
218
232
|
import "./chunk-KUJJJBV2.js";
|
|
@@ -231,20 +245,28 @@ import "./chunk-CPHQTXP5.js";
|
|
|
231
245
|
import "./chunk-QBXDU24O.js";
|
|
232
246
|
import {
|
|
233
247
|
VERSION
|
|
234
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-7DMES2F3.js";
|
|
235
249
|
import "./chunk-E63BDV4Z.js";
|
|
236
250
|
import {
|
|
237
251
|
detectAgentRuntime
|
|
238
252
|
} from "./chunk-LW33P24U.js";
|
|
239
253
|
import "./chunk-XT6MXC7A.js";
|
|
240
254
|
import "./chunk-7KDQAD2W.js";
|
|
241
|
-
import "./chunk-
|
|
255
|
+
import "./chunk-VM2VBJRC.js";
|
|
242
256
|
import "./chunk-M2WBOQ2Q.js";
|
|
243
257
|
|
|
244
258
|
// src/server/studioServer.ts
|
|
245
259
|
import { Hono as Hono2 } from "hono";
|
|
246
260
|
import { streamSSE } from "hono/streaming";
|
|
247
|
-
import {
|
|
261
|
+
import {
|
|
262
|
+
createReadStream,
|
|
263
|
+
existsSync as existsSync3,
|
|
264
|
+
readFileSync,
|
|
265
|
+
rmSync,
|
|
266
|
+
statSync as statSync2,
|
|
267
|
+
writeFileSync,
|
|
268
|
+
unlinkSync
|
|
269
|
+
} from "fs";
|
|
248
270
|
import { createHash as createHash2 } from "crypto";
|
|
249
271
|
import { fileURLToPath } from "url";
|
|
250
272
|
import { resolve as resolve2, join as join3, basename as basename2, relative as relative2, sep as sep2 } from "path";
|
|
@@ -407,7 +429,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
407
429
|
async function buildFromSource() {
|
|
408
430
|
if (!existsSync(ENTRY_TS)) return null;
|
|
409
431
|
try {
|
|
410
|
-
const mod = await import("./dist-
|
|
432
|
+
const mod = await import("./dist-HF753IX4.js");
|
|
411
433
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
412
434
|
const source = mod.loadHyperframeRuntimeSource();
|
|
413
435
|
if (source) return source;
|
|
@@ -418,7 +440,7 @@ async function buildFromSource() {
|
|
|
418
440
|
}
|
|
419
441
|
async function getInlinedRuntime() {
|
|
420
442
|
try {
|
|
421
|
-
const mod = await import("./dist-
|
|
443
|
+
const mod = await import("./dist-HF753IX4.js");
|
|
422
444
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
423
445
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
424
446
|
}
|
|
@@ -673,6 +695,100 @@ function mountDesktopRoutes(app, projectDir, {
|
|
|
673
695
|
});
|
|
674
696
|
}
|
|
675
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
|
+
|
|
676
792
|
// src/server/shareRoutes.ts
|
|
677
793
|
import { randomUUID } from "crypto";
|
|
678
794
|
import { Hono } from "hono";
|
|
@@ -910,7 +1026,7 @@ function optionalBoolean(value) {
|
|
|
910
1026
|
function validSpace(value) {
|
|
911
1027
|
return value === void 0 || typeof value === "string" && /^[A-Za-z0-9_-]{1,128}$/.test(value);
|
|
912
1028
|
}
|
|
913
|
-
var defaultCreate = async (path, progress) => (await import("./service-
|
|
1029
|
+
var defaultCreate = async (path, progress) => (await import("./service-DBNZZLPU.js")).createShareService(path, progress, {
|
|
914
1030
|
surface: "local_studio",
|
|
915
1031
|
pinIdentity: true
|
|
916
1032
|
});
|
|
@@ -1196,15 +1312,15 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
1196
1312
|
var LINT_WORKER_TIMEOUT_MS = 12e4;
|
|
1197
1313
|
var LINT_WORKER_HEAP_MB = 1024;
|
|
1198
1314
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
1199
|
-
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;
|
|
1200
1316
|
async function loadStudioProducer() {
|
|
1201
|
-
if (!isDevMode()) return await import("./src-
|
|
1317
|
+
if (!isDevMode()) return await import("./src-4INHWM6L.js");
|
|
1202
1318
|
if (!process.versions.bun) {
|
|
1203
1319
|
throw new Error(
|
|
1204
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`."
|
|
1205
1321
|
);
|
|
1206
1322
|
}
|
|
1207
|
-
return await import("./src-
|
|
1323
|
+
return await import("./src-4INHWM6L.js");
|
|
1208
1324
|
}
|
|
1209
1325
|
function resolveDistDir() {
|
|
1210
1326
|
return resolveStudioBundle().dir;
|
|
@@ -1212,12 +1328,12 @@ function resolveDistDir() {
|
|
|
1212
1328
|
function resolveStudioBundle() {
|
|
1213
1329
|
const builtPath = resolve2(__dirname, "studio");
|
|
1214
1330
|
const builtIndex = resolve2(builtPath, "index.html");
|
|
1215
|
-
if (
|
|
1331
|
+
if (existsSync3(builtIndex)) {
|
|
1216
1332
|
return { dir: builtPath, indexPath: builtIndex, available: true, checkedPaths: [builtIndex] };
|
|
1217
1333
|
}
|
|
1218
1334
|
const devPath = resolve2(__dirname, "..", "..", "..", "studio", "dist");
|
|
1219
1335
|
const devIndex = resolve2(devPath, "index.html");
|
|
1220
|
-
if (
|
|
1336
|
+
if (existsSync3(devIndex)) {
|
|
1221
1337
|
return {
|
|
1222
1338
|
dir: devPath,
|
|
1223
1339
|
indexPath: devIndex,
|
|
@@ -1234,9 +1350,9 @@ function resolveStudioBundle() {
|
|
|
1234
1350
|
}
|
|
1235
1351
|
function resolveRuntimePath() {
|
|
1236
1352
|
const builtPath = resolve2(__dirname, "hyperframe-runtime.js");
|
|
1237
|
-
if (
|
|
1353
|
+
if (existsSync3(builtPath)) return builtPath;
|
|
1238
1354
|
const iifePath = resolve2(__dirname, "hyperframe.runtime.iife.js");
|
|
1239
|
-
if (
|
|
1355
|
+
if (existsSync3(iifePath)) return iifePath;
|
|
1240
1356
|
const devPath = resolve2(
|
|
1241
1357
|
__dirname,
|
|
1242
1358
|
"..",
|
|
@@ -1246,13 +1362,13 @@ function resolveRuntimePath() {
|
|
|
1246
1362
|
"dist",
|
|
1247
1363
|
"hyperframe.runtime.iife.js"
|
|
1248
1364
|
);
|
|
1249
|
-
if (
|
|
1365
|
+
if (existsSync3(devPath)) return devPath;
|
|
1250
1366
|
return builtPath;
|
|
1251
1367
|
}
|
|
1252
1368
|
var GSAP_LOCAL_ROOT = "/api/vendor/npm";
|
|
1253
1369
|
function readStudioManualEditManifestContent(projectDir) {
|
|
1254
1370
|
const manifestPath = join3(projectDir, STUDIO_MANUAL_EDITS_PATH);
|
|
1255
|
-
if (!
|
|
1371
|
+
if (!existsSync3(manifestPath)) return "";
|
|
1256
1372
|
try {
|
|
1257
1373
|
return readFileSync(manifestPath, "utf-8");
|
|
1258
1374
|
} catch {
|
|
@@ -1281,12 +1397,25 @@ function collectRemoteGifImageSources(html) {
|
|
|
1281
1397
|
}
|
|
1282
1398
|
return [...urls];
|
|
1283
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
|
+
}
|
|
1284
1408
|
async function downloadRemoteGifImageSources(html, downloadDir, downloadToTemp) {
|
|
1285
1409
|
const sourceAssets = /* @__PURE__ */ new Map();
|
|
1286
1410
|
await Promise.all(
|
|
1287
1411
|
collectRemoteGifImageSources(html).map(async (url) => {
|
|
1288
1412
|
try {
|
|
1289
|
-
|
|
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);
|
|
1290
1419
|
} catch (err) {
|
|
1291
1420
|
console.warn(
|
|
1292
1421
|
"[Studio] Remote animated GIF prep skipped:",
|
|
@@ -1322,8 +1451,8 @@ async function getThumbnailBrowser(requestedGpuMode, pageServerUrl, isShuttingDo
|
|
|
1322
1451
|
_thumbnailBrowserInitializing = (async () => {
|
|
1323
1452
|
try {
|
|
1324
1453
|
if (isShuttingDown()) return null;
|
|
1325
|
-
const { ensureBrowser } = await import("./manager-
|
|
1326
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
1454
|
+
const { ensureBrowser } = await import("./manager-C5S25OOK.js");
|
|
1455
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-BNSCFKOD.js");
|
|
1327
1456
|
let executablePath;
|
|
1328
1457
|
try {
|
|
1329
1458
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1407,7 +1536,7 @@ async function loadPreviewServerBuildSignature() {
|
|
|
1407
1536
|
}
|
|
1408
1537
|
function rewriteWrittenToHostViewport(projectDir, written) {
|
|
1409
1538
|
const indexPath = join3(projectDir, "index.html");
|
|
1410
|
-
if (!
|
|
1539
|
+
if (!existsSync3(indexPath)) return;
|
|
1411
1540
|
const indexHtml = readFileSync(indexPath, "utf-8");
|
|
1412
1541
|
const hostW = indexHtml.match(/data-width="(\d+)"/)?.[1];
|
|
1413
1542
|
const hostH = indexHtml.match(/data-height="(\d+)"/)?.[1];
|
|
@@ -1428,9 +1557,15 @@ function rewriteWrittenToHostViewport(projectDir, written) {
|
|
|
1428
1557
|
return match;
|
|
1429
1558
|
}
|
|
1430
1559
|
);
|
|
1431
|
-
replaceFileAtomically(absPath, content,
|
|
1560
|
+
replaceFileAtomically(absPath, content, statSync2(absPath).mode);
|
|
1432
1561
|
}
|
|
1433
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
|
+
}
|
|
1434
1569
|
function createStateFolderBeforeWatching(projectDir) {
|
|
1435
1570
|
recordFolder(projectDir, "");
|
|
1436
1571
|
}
|
|
@@ -1484,6 +1619,12 @@ function createStudioServer(options) {
|
|
|
1484
1619
|
});
|
|
1485
1620
|
const inFlightRenders = /* @__PURE__ */ new Map();
|
|
1486
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
|
+
};
|
|
1487
1628
|
const adapter = {
|
|
1488
1629
|
history: () => hostAppOwnsHistory ? null : projectHistory(),
|
|
1489
1630
|
loadSharp: () => loadSharpInBackground("image thumbnails"),
|
|
@@ -1493,15 +1634,12 @@ function createStudioServer(options) {
|
|
|
1493
1634
|
// configured behavior without its own plumbing.
|
|
1494
1635
|
autoProxy: options.autoProxy ?? resolveAutoProxy(projectDir, void 0),
|
|
1495
1636
|
listProjects: () => [project],
|
|
1496
|
-
// Salted with the running CLI file
|
|
1497
|
-
previewDocuments:
|
|
1498
|
-
projectDir,
|
|
1499
|
-
createHash2("sha256").update(readFileSync(fileURLToPath(import.meta.url))).digest("hex")
|
|
1500
|
-
),
|
|
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),
|
|
1501
1639
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1502
1640
|
async bundle(dir, options2) {
|
|
1503
1641
|
try {
|
|
1504
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1642
|
+
const { bundleToSingleHtml } = await import("./compiler-65SP7M2P.js");
|
|
1505
1643
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1506
1644
|
html = html.replace(
|
|
1507
1645
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1514,21 +1652,23 @@ function createStudioServer(options) {
|
|
|
1514
1652
|
}
|
|
1515
1653
|
},
|
|
1516
1654
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1517
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1518
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1519
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1520
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
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");
|
|
1521
1659
|
const gifOutputDir = join3(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1522
1660
|
const gifDownloadDir = join3(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1523
1661
|
const heifOutputDir = join3(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
1524
1662
|
const preparedDirs = [gifOutputDir, gifDownloadDir, heifOutputDir];
|
|
1525
1663
|
if (!preparedDirs.every((dir) => isLinkFreeWithinProject(project2.dir, dir)))
|
|
1526
1664
|
return injectDeterministicFontFaces(html);
|
|
1665
|
+
const allowOutsideFiles = outsideAssetsAllowed(project2.dir, void 0, warnPreviewOnce);
|
|
1527
1666
|
const { html: htmlWithJpegs } = await prepareHeifImageInputs(html, {
|
|
1528
1667
|
projectDir: project2.dir,
|
|
1529
1668
|
downloadDir: gifDownloadDir,
|
|
1530
1669
|
outputDir: heifOutputDir,
|
|
1531
1670
|
outputSrcPrefix: ".hyperframes/prepared-assets/heif",
|
|
1671
|
+
allowOutsideFiles,
|
|
1532
1672
|
onFailure: (error) => console.warn(`[studio] ${error.message}`)
|
|
1533
1673
|
});
|
|
1534
1674
|
const prepared = await prepareAnimatedGifInputs(htmlWithJpegs, {
|
|
@@ -1536,6 +1676,7 @@ function createStudioServer(options) {
|
|
|
1536
1676
|
downloadDir: gifDownloadDir,
|
|
1537
1677
|
outputDir: gifOutputDir,
|
|
1538
1678
|
outputSrcPrefix: ".hyperframes/prepared-assets/gif",
|
|
1679
|
+
allowOutsideFiles,
|
|
1539
1680
|
cacheDir: gifOutputDir,
|
|
1540
1681
|
sourceAssets: await downloadRemoteGifImageSources(
|
|
1541
1682
|
html,
|
|
@@ -1596,7 +1737,7 @@ function createStudioServer(options) {
|
|
|
1596
1737
|
for (const suffix of ["", ".meta.json"]) {
|
|
1597
1738
|
const fp = suffix ? opts.outputPath.replace(/\.(mp4|webm|mov|gif)$/, suffix) : opts.outputPath;
|
|
1598
1739
|
try {
|
|
1599
|
-
if (
|
|
1740
|
+
if (existsSync3(fp)) unlinkSync(fp);
|
|
1600
1741
|
} catch {
|
|
1601
1742
|
}
|
|
1602
1743
|
}
|
|
@@ -1706,7 +1847,7 @@ function createStudioServer(options) {
|
|
|
1706
1847
|
startBackgroundRemoval(opts) {
|
|
1707
1848
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1708
1849
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1709
|
-
const pipeline = await import("./pipeline-
|
|
1850
|
+
const pipeline = await import("./pipeline-LZ73CHLB.js").catch(
|
|
1710
1851
|
() => import(sourcePipelinePath)
|
|
1711
1852
|
);
|
|
1712
1853
|
return pipeline.render(renderOpts);
|
|
@@ -1725,7 +1866,7 @@ function createStudioServer(options) {
|
|
|
1725
1866
|
return null;
|
|
1726
1867
|
}
|
|
1727
1868
|
const sourcePath = join3(opts.project.dir, opts.compPath);
|
|
1728
|
-
const requiresWebGpu =
|
|
1869
|
+
const requiresWebGpu = existsSync3(sourcePath) ? compositionRequiresWebGpu(readFileSync(sourcePath, "utf-8")) : false;
|
|
1729
1870
|
if (opts.signal.aborted) return null;
|
|
1730
1871
|
const width = opts.width || 1920;
|
|
1731
1872
|
const height = opts.height || 1080;
|
|
@@ -1796,8 +1937,8 @@ function createStudioServer(options) {
|
|
|
1796
1937
|
}
|
|
1797
1938
|
},
|
|
1798
1939
|
async listRegistryCatalog() {
|
|
1799
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1800
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1940
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-N4U52UK5.js");
|
|
1941
|
+
const { loadProjectConfig } = await import("./projectConfig-R54UDB5Y.js");
|
|
1801
1942
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1802
1943
|
const entries = await listRegistryItems(void 0, registry);
|
|
1803
1944
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1806,9 +1947,9 @@ function createStudioServer(options) {
|
|
|
1806
1947
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1807
1948
|
},
|
|
1808
1949
|
async installRegistryBlock(opts) {
|
|
1809
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1810
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1811
|
-
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");
|
|
1812
1953
|
const { result, item } = await addToProject({
|
|
1813
1954
|
name: opts.blockName,
|
|
1814
1955
|
projectDir: opts.project.dir,
|
|
@@ -1930,8 +2071,8 @@ function createStudioServer(options) {
|
|
|
1930
2071
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1931
2072
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1932
2073
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1933
|
-
import("./preflight-
|
|
1934
|
-
import("./ffmpeg-
|
|
2074
|
+
import("./preflight-7G5OBMAA.js"),
|
|
2075
|
+
import("./ffmpeg-F3XK57IP.js")
|
|
1935
2076
|
]);
|
|
1936
2077
|
const { outcomes } = await runEnvironmentChecks();
|
|
1937
2078
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1949,9 +2090,10 @@ function createStudioServer(options) {
|
|
|
1949
2090
|
});
|
|
1950
2091
|
mountDesktopRoutes(app, projectDir);
|
|
1951
2092
|
mountShareRoutes(app, projectDir);
|
|
2093
|
+
followReceivedRecords(app, projectDir);
|
|
1952
2094
|
let cachedFFmpegPath;
|
|
1953
2095
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1954
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
2096
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-F3XK57IP.js");
|
|
1955
2097
|
if (!cachedFFmpegPath) {
|
|
1956
2098
|
cachedFFmpegPath = findFFmpeg();
|
|
1957
2099
|
}
|
|
@@ -1996,6 +2138,7 @@ function createStudioServer(options) {
|
|
|
1996
2138
|
return `<script>window.__HF_STUDIO_ENV__=${JSON.stringify(overrides)};</script>`;
|
|
1997
2139
|
}
|
|
1998
2140
|
app.get("*", (c) => {
|
|
2141
|
+
for (const [name, value] of Object.entries(SAME_ORIGIN_FRAMING_HEADERS)) c.header(name, value);
|
|
1999
2142
|
const indexPath = resolve2(studioDir, "index.html");
|
|
2000
2143
|
const indexContent = readBundleFile(indexPath);
|
|
2001
2144
|
if (indexContent === null) {
|
|
@@ -2068,7 +2211,7 @@ function createStudioServer(options) {
|
|
|
2068
2211
|
});
|
|
2069
2212
|
const renders = [...inFlightRenders];
|
|
2070
2213
|
for (const [abortController] of renders) abortController.abort();
|
|
2071
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
2214
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-BNSCFKOD.js");
|
|
2072
2215
|
killTrackedProcesses();
|
|
2073
2216
|
const closeBrowsers = Promise.allSettled([
|
|
2074
2217
|
closeThumbnailBrowser().catch(() => {
|