hyperframes 0.8.221 → 0.8.223
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-7CVO7K6M.js → add-PBLOPJHC.js} +16 -15
- package/dist/{agentPromptGenerator-YFC2SJLF.js → agentPromptGenerator-OD74HKYZ.js} +12 -11
- package/dist/{animatedGifPrep-YSMY5GU2.js → animatedGifPrep-QCG2BTDC.js} +12 -11
- package/dist/api.d.ts +5 -3
- package/dist/api.js +38 -26
- package/dist/{asset-ZVKHSO3M.js → asset-KHXCO4OR.js} +2 -2
- package/dist/{assetCataloger-6IBSEOK7.js → assetCataloger-ZX5WZTDQ.js} +13 -12
- package/dist/{audio-JUV3TVSW.js → audio-7AH2C6PB.js} +153 -1160
- package/dist/{auth-2J6FP462.js → auth-DJWMGXQB.js} +5 -5
- package/dist/{autoUpdate-ML6EZK6D.js → autoUpdate-KJMLYSHE.js} +2 -2
- package/dist/{backgroundChecks-MAWP2REX.js → backgroundChecks-XLVQMMXY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-Z7MGNJZH.js → batchRender-UR67LI4H.js} +12 -9
- package/dist/{beats-LRZOZUUQ.js → beats-ISWSYNN6.js} +54 -22
- package/dist/{benchmark-XJWLDTIL.js → benchmark-7JUATINH.js} +12 -11
- package/dist/billing-VGKY3FMX.js +86 -0
- package/dist/{browser-STEVEWWA.js → browser-HNGQB47C.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-WH63ZWUT.js → bundleWithLocalizedFonts-4XWX2XPS.js} +2 -2
- package/dist/{capture-VB5ID7HT.js → capture-GFDP5THL.js} +3 -3
- package/dist/{capture-U3ZT3GNI.js → capture-LBEGVQTJ.js} +80 -38
- package/dist/{captureCompositionFrame-MXJ3WO2R.js → captureCompositionFrame-5L3J4MZ4.js} +18 -17
- package/dist/{catalog-ICGHSRPZ.js → catalog-SNUTPI57.js} +16 -15
- package/dist/{catch-up-DJPQKXQB.js → catch-up-FE3HDMLJ.js} +4 -4
- package/dist/{check-TL7AGWPO.js → check-MQCBMOKA.js} +47 -45
- package/dist/{checkAudio-GPTU6EGB.js → checkAudio-6VPMLIY6.js} +22 -21
- package/dist/{checkBrowser-FG5DAW2R.js → checkBrowser-SHUVFQ4S.js} +45 -39
- package/dist/{chunk-YKMFCE5B.js → chunk-2GMHYOV3.js} +1 -1
- package/dist/{chunk-TNQCXU37.js → chunk-2HBB5U52.js} +1 -1
- package/dist/{chunk-UNQ3CVKW.js → chunk-3FGEDDSA.js} +27 -28
- package/dist/{chunk-HSHKLYDI.js → chunk-44IPXXSK.js} +7 -5
- package/dist/{chunk-TVT465RJ.js → chunk-44YG42L5.js} +144 -41
- package/dist/{chunk-ZBLSSWSE.js → chunk-45UOXUUH.js} +16 -3
- package/dist/chunk-4JRFMRCQ.js +288 -0
- package/dist/{chunk-M2F6VGCP.js → chunk-4XQQQ4KN.js} +85 -50
- package/dist/{chunk-6MUI2H6P.js → chunk-54Q3H2UQ.js} +5 -2
- package/dist/{chunk-67CALYTU.js → chunk-664JAO7C.js} +1 -1
- package/dist/{chunk-H3HC6U4I.js → chunk-6LE7K3YM.js} +17 -14
- package/dist/{chunk-Z7YQEDA5.js → chunk-7LKEHM2R.js} +1 -1
- package/dist/{chunk-I45R2REQ.js → chunk-7XWCCFYW.js} +1 -1
- package/dist/{chunk-L63FJVSC.js → chunk-A2KNKY4Z.js} +1 -1
- package/dist/{chunk-MEB6HWBM.js → chunk-A5WWEW6U.js} +2 -2
- package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
- package/dist/{chunk-OPKSVV4G.js → chunk-AKTI2SHL.js} +2 -2
- package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
- package/dist/chunk-AW7UW2Z7.js +312 -0
- package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
- package/dist/{chunk-625I5VBE.js → chunk-B5HFCGI7.js} +2 -2
- package/dist/{chunk-AZXDEC2G.js → chunk-B6F33PUK.js} +6 -8
- package/dist/{chunk-AW7A27JM.js → chunk-BDEBKAD2.js} +1 -1
- package/dist/{chunk-322M35EB.js → chunk-BN75GXZM.js} +3 -3
- package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
- package/dist/{chunk-6YW3FEHC.js → chunk-C466I3DT.js} +9 -8
- package/dist/{chunk-M2BCU4Y5.js → chunk-CXEU6XNL.js} +6 -20
- package/dist/{chunk-KQPP4NIZ.js → chunk-CYE2NNFF.js} +2 -2
- package/dist/{chunk-U6WH572X.js → chunk-DFK4RMNE.js} +5 -5
- package/dist/chunk-DY7PQLIE.js +248 -0
- package/dist/chunk-EF735J3K.js +59 -0
- package/dist/{chunk-XFMO3BEN.js → chunk-EHZESMRB.js} +18 -6
- package/dist/chunk-EJOFIHX4.js +46 -0
- package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
- package/dist/{chunk-2ZNURTH5.js → chunk-EX75C5HT.js} +4459 -4312
- package/dist/{chunk-4ZM727AO.js → chunk-FKBWONRY.js} +5 -5
- package/dist/{chunk-YISDQ7YP.js → chunk-FORV75JT.js} +26 -14
- package/dist/{chunk-ZKPRJPWN.js → chunk-G5KX4X6W.js} +59 -59
- package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
- package/dist/{chunk-LYZB5CJN.js → chunk-HT3D5AKG.js} +160 -19
- package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
- package/dist/{chunk-35JKCWYI.js → chunk-I6OY5MS6.js} +1 -1
- package/dist/{chunk-S5GOFDX5.js → chunk-IJI2JNN7.js} +1 -1
- package/dist/{chunk-SAKL7SZH.js → chunk-IQ7FABPU.js} +3 -3
- package/dist/{chunk-YV2QQUTL.js → chunk-JNQCM6CR.js} +2 -2
- package/dist/{chunk-TMK3MW7B.js → chunk-JO4LHFFP.js} +10 -10
- package/dist/chunk-JTZHDD63.js +70 -0
- package/dist/{chunk-YSZ4VMXI.js → chunk-K5GMPWMG.js} +1 -1
- package/dist/{chunk-ROVRC3CG.js → chunk-KCDWRMTC.js} +5 -5
- package/dist/{chunk-74E7EHVH.js → chunk-KJGYQVFD.js} +1 -1
- package/dist/{chunk-3STL4WJ6.js → chunk-KT2WLSX5.js} +19 -10
- package/dist/{chunk-OMLDAF44.js → chunk-KWYK65GR.js} +9 -8
- package/dist/{chunk-F6WHVEUS.js → chunk-LAIGIOEA.js} +5 -1
- package/dist/{chunk-3PJ3HVLG.js → chunk-LV5AVW6U.js} +1 -1
- package/dist/{chunk-XETZLYGW.js → chunk-M4UVOUWC.js} +2 -2
- package/dist/{chunk-DMCU2ELU.js → chunk-M7HNGAWN.js} +3 -3
- package/dist/chunk-MEJH7VEA.js +63 -0
- package/dist/{chunk-MYXFBIJO.js → chunk-MTVL7FWZ.js} +1 -1
- package/dist/{chunk-MYNBV7WG.js → chunk-MUHOFRGW.js} +1 -1
- package/dist/{chunk-7DVR3DL3.js → chunk-N6XKBBT5.js} +8 -8
- package/dist/{chunk-OOEOJPFY.js → chunk-NLWG5TU7.js} +2 -2
- package/dist/chunk-NZZQCWUC.js +205 -0
- package/dist/{chunk-ZOLKM3VZ.js → chunk-OL2C3ODS.js} +9 -9
- package/dist/{chunk-QLQVQQP6.js → chunk-OVINGNLQ.js} +3 -3
- package/dist/{chunk-MXVH6UW6.js → chunk-OWFSGDQS.js} +6 -57
- package/dist/chunk-OZM6VLD7.js +71 -0
- package/dist/{chunk-5YT2KHPO.js → chunk-P5QGZMGC.js} +2 -2
- package/dist/{chunk-NYOQP6DO.js → chunk-PBPHKD56.js} +1 -1
- package/dist/chunk-PHEPL7OX.js +1048 -0
- package/dist/{chunk-AZI2T2KO.js → chunk-PX7Y4HMM.js} +1 -1
- package/dist/{chunk-IDWJJ7PP.js → chunk-QNLHDYYO.js} +2 -2
- package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
- package/dist/{chunk-24F7TOW2.js → chunk-QU5OYMTB.js} +140 -54
- package/dist/chunk-QZGKKQ77.js +570 -0
- package/dist/{chunk-NQOCM4KQ.js → chunk-RKVKFXYB.js} +3 -3
- package/dist/{chunk-Y4GLFHO5.js → chunk-RORIFIUW.js} +1 -1
- package/dist/{chunk-MESSJFK3.js → chunk-RWSVSCOP.js} +38 -28
- package/dist/chunk-RZ6CXJ56.js +24 -0
- package/dist/chunk-SDBVVDBW.js +113 -0
- package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
- package/dist/{chunk-BQNTY7J5.js → chunk-SNFVQDKE.js} +1 -1
- package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
- package/dist/{chunk-D2RQVJLZ.js → chunk-SX7ESVCQ.js} +5 -29
- package/dist/{chunk-P6FGS4U6.js → chunk-UFYWGUUV.js} +6 -6
- package/dist/{chunk-GSCFMG4C.js → chunk-UGUWSAJT.js} +3 -3
- package/dist/chunk-UQECNXFA.js +5013 -0
- package/dist/{chunk-XDTCPMR3.js → chunk-UQVAAEPQ.js} +2 -2
- package/dist/{chunk-NHXGFQWQ.js → chunk-UVF4U3ZF.js} +1 -1
- package/dist/{chunk-YSTBSLWY.js → chunk-VBCBHDIW.js} +1 -1
- package/dist/chunk-VJM6NX54.js +250 -0
- package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
- package/dist/chunk-WGOIJN57.js +95 -0
- package/dist/{chunk-RVCWVOXM.js → chunk-WQLTKHPP.js} +3 -3
- package/dist/{chunk-RVIMLJXC.js → chunk-WUXDIF5D.js} +60 -23
- package/dist/{chunk-QYUXDFJY.js → chunk-WWOHLNFO.js} +12 -10
- package/dist/{chunk-JGZUG5V4.js → chunk-XZEHFUQF.js} +2 -2
- package/dist/{chunk-6HKUUBAV.js → chunk-Y4INSXS7.js} +2 -2
- package/dist/{chunk-O7WR4AHX.js → chunk-ZEKV5T3I.js} +14 -14
- package/dist/{clean-3NMJWZXK.js → clean-JZOPMJMV.js} +27 -26
- package/dist/cli.js +59 -56
- package/dist/{cloud-CB3NYNUR.js → cloud-VMPF2KMA.js} +4 -4
- package/dist/{cloudrun-2CTKCIXV.js → cloudrun-LA2FKS2F.js} +10 -9
- package/dist/commands/layout-audit.browser.js +19 -3
- package/dist/commands/motion-signature.browser.js +8 -4
- package/dist/{compare-FVY3AMTT.js → compare-IQCFSC5Z.js} +37 -36
- package/dist/{compiler-SEQRWEEN.js → compiler-J7OZQIPD.js} +8 -8
- package/dist/{component-AEMJRROX.js → component-TRGBVFCI.js} +3 -3
- package/dist/{compositions-NRBSIBGZ.js → compositions-FOC2CAZX.js} +18 -17
- package/dist/curve-ID3Z522S.js +329 -0
- package/dist/cuts-MWHQSE2Z.js +123 -0
- package/dist/{delete-T4E53ELR.js → delete-47KZ7PLI.js} +5 -5
- package/dist/{deploy-PUF2DW3H.js → deploy-NTNEO4TI.js} +8 -8
- package/dist/describeProject-WWREIVQV.js +56 -0
- package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
- package/dist/diff-GH4KCQGQ.js +1825 -0
- package/dist/{dist-VARV35QH.js → dist-24QQO5IL.js} +6 -6
- package/dist/{dist-B6C3DU6I.js → dist-XW7FATO6.js} +7 -6
- package/dist/{doctor-FVBU575B.js → doctor-4ZH7WFU6.js} +16 -15
- package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
- package/dist/energy-2C65KXBH.js +134 -0
- package/dist/{events-RSPDI7FX.js → events-FUFFA55P.js} +3 -3
- package/dist/{events-DZ5PRR6F.js → events-Q3EBOW2Y.js} +2 -2
- package/dist/events-QO5G2VCC.js +221 -0
- package/dist/extract-Z6TLBM5B.js +309 -0
- package/dist/face-WI6BPPUG.js +171 -0
- package/dist/{feedback-AALA3OA7.js → feedback-M5GZWDXP.js} +16 -15
- package/dist/{ffmpeg-YXKE5CUE.js → ffmpeg-27H6P7ZU.js} +13 -12
- package/dist/{figma-37R727XZ.js → figma-AI6TSWVO.js} +3 -3
- package/dist/fontLocalizeCli.js +16 -15
- package/dist/frames-WUTLVZIR.js +352 -0
- package/dist/generate-3CJREF5U.js +74 -0
- package/dist/{get-L3VKJ6JF.js → get-KTDRE33B.js} +5 -5
- package/dist/{gpuPolicy-6QIFFWAI.js → gpuPolicy-Z4MM64HY.js} +12 -11
- package/dist/{grade-compare-7IN5QDJD.js → grade-compare-IM7Z7HWI.js} +41 -37
- package/dist/{heifImagePrep-AWII25PM.js → heifImagePrep-CXI2ZMUX.js} +13 -12
- package/dist/{help-B4MB7MWW.js → help-5FR6BRLR.js} +7 -1
- package/dist/{history-TQO6AWEQ.js → history-5P5YVP5H.js} +17 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +72 -72
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +8 -8
- package/dist/index-gen-OPMQ5WSN.js +61 -0
- package/dist/{info-7CBHVXSG.js → info-5ZGNJJVA.js} +11 -10
- package/dist/{init-D7HKPQ5A.js → init-NWIAEYSX.js} +35 -33
- package/dist/{inspect-VHDQL55M.js → inspect-HBLAVW5C.js} +38 -36
- package/dist/{installer-EJNLL6SV.js → installer-KVFTBZZ5.js} +8 -7
- package/dist/{keyframes-IFLBMAJP.js → keyframes-LFCLUY2R.js} +7 -7
- package/dist/{lambda-I7EQULHC.js → lambda-RFWTTMLU.js} +19 -18
- package/dist/{layout-MOCEANRO.js → layout-WOG2Y5ND.js} +38 -36
- package/dist/{lint-HFXGSQKN.js → lint-7MALXMMF.js} +12 -12
- package/dist/{lintProject-VCDI6A2W.js → lintProject-6H64SX3V.js} +6 -6
- package/dist/{list-OFYIXVON.js → list-XRYAT24W.js} +5 -5
- package/dist/{localPage-QOOQ5YA2.js → localPage-IN36JVJU.js} +12 -11
- package/dist/{login-WAG7B4PM.js → login-32WGVGTM.js} +15 -9
- package/dist/{logout-6VFJ7WMW.js → logout-SLI6YTHI.js} +2 -2
- package/dist/look-ZWVE6JO3.js +180 -0
- package/dist/{manager-34U5CEFB.js → manager-SFL6GLYX.js} +14 -12
- package/dist/manifest-QSJYVERU.js +49 -0
- package/dist/measure-Q74BJTRQ.js +46 -0
- package/dist/{media-treatment-2TLX6NKS.js → media-treatment-3R6DYEAZ.js} +24 -23
- package/dist/{media-use-ZNTB7W6N.js → media-use-ZM2WCRQC.js} +9 -5
- package/dist/{models-M2F4WTAR.js → models-NNC53UPU.js} +16 -15
- package/dist/{motionShot-6WCTCV4W.js → motionShot-5BI5JFUP.js} +21 -20
- package/dist/{normalize-QJVXFMWO.js → normalize-MBNGRVQA.js} +2 -1
- package/dist/{normalize-audio-T6PIPWOT.js → normalize-audio-6Z2WN56Q.js} +15 -14
- package/dist/{open-BC5METIY.js → open-5NCEN6RC.js} +15 -14
- package/dist/{parakeetRunner-UXVY7PV2.js → parakeetRunner-DH3XKR3C.js} +19 -17
- package/dist/{pipeline-GJAJPWPB.js → pipeline-CGEGQAPH.js} +15 -14
- package/dist/{play-UCIRUHCU.js → play-K37BN736.js} +28 -27
- package/dist/{policies-J5BWAZHM.js → policies-U4PFXF5E.js} +4 -2
- package/dist/{preflight-GVRYYIH5.js → preflight-CG7H3D5B.js} +13 -12
- package/dist/{present-46QLZOK4.js → present-KQ53DOHA.js} +24 -23
- package/dist/{preview-HWXMP7WL.js → preview-V7CYHL6U.js} +26 -25
- package/dist/probe-JVW2MPY3.js +178 -0
- package/dist/{producer-2PBHUE5O.js → producer-UD32S7PX.js} +1 -1
- package/dist/{projectConfig-C4S3LBBX.js → projectConfig-WXCB5AZE.js} +10 -9
- package/dist/{publication-GESNVVMS.js → publication-KG4UDZRM.js} +6 -5
- package/dist/{publish-IBY26S3T.js → publish-MEQB543T.js} +22 -21
- package/dist/{refresh-I6ITGHKL.js → refresh-2LU4XDL7.js} +2 -2
- package/dist/{remove-background-3OBWOHVZ.js → remove-background-FSV5KQK3.js} +16 -15
- package/dist/{render-LSI5WXS7.js → render-O4S4SURS.js} +10 -9
- package/dist/{render-SR5RISLU.js → render-SQXZAGPQ.js} +160 -46
- package/dist/{render-3F6GQ5WW.js → render-SY4AXKXC.js} +40 -39
- package/dist/{render-batch-HV4W3PZM.js → render-batch-GTZQUB3H.js} +10 -9
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-R5X3HAPE.js → resolver-BQZNCVJS.js} +8 -7
- package/dist/run-67OPNJGD.js +31 -0
- package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
- package/dist/{sherpa-2Q6U4ZFY.js → sherpa-KH3PJAUG.js} +18 -16
- package/dist/skills/hyperframes-cli/references/beats.md +1 -1
- package/dist/skills/media-use/SKILL.md +20 -21
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +26 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +33 -0
- package/dist/skills/media-use/references/heygen.md +58 -0
- package/dist/skills/media-use/references/operations.md +9 -6
- package/dist/skills/media-use/references/setup-providers.md +11 -12
- package/dist/skills/media-use/scripts/lib/index-gen.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/manifest.d.mts +21 -0
- package/dist/{skills-FSGXQSHA.js → skills-FTZZJGAB.js} +5 -5
- package/dist/{skillsUpdateCheck-UW6643XX.js → skillsUpdateCheck-LZPD2CZI.js} +3 -3
- package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
- package/dist/{snapshot-HFPB34Y7.js → snapshot-4BORZ3ED.js} +60 -47
- package/dist/{src-VMTQQUUP.js → src-6ZOFAM3F.js} +21 -14
- package/dist/{src-ROWFWCEN.js → src-D7AO7PGH.js} +12 -11
- package/dist/{staticProjectServer-4TGZJIWN.js → staticProjectServer-Q23A6XU2.js} +25 -24
- package/dist/{status-4AAPTTRW.js → status-VIJRZ4ZK.js} +34 -9
- package/dist/studio/assets/hyperframes-player-D0W1SNqK.js +478 -0
- package/dist/studio/assets/{index-BDE7dwov.js → index-DD9KJoEr.js} +119 -119
- package/dist/studio/assets/{index-D0jGq2dS.js → index-mbwAH5iR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TSHXVZ6R.js → studio-api-XVVJZ7YT.js} +24 -19
- package/dist/{studioServer-74ZBLNP2.js → studioServer-6HG3AMTW.js} +77 -114
- package/dist/sync-Q5SRIL7V.js +115 -0
- package/dist/{telemetry-3NDLZOPR.js → telemetry-VXPSJ3X3.js} +3 -3
- package/dist/templates/blank/index.html +1 -1
- package/dist/templates/from-file/index.html +1 -1
- package/dist/{timeline-5IFZJU7M.js → timeline-6477OWFA.js} +31 -26
- package/dist/{tokens-UFNPQVLS.js → tokens-ZUUNEDKT.js} +2 -2
- package/dist/{transcribe-7KQAUHEN.js → transcribe-HA4UGLKO.js} +17 -15
- package/dist/{transcribe-NAXKBIPW.js → transcribe-ITVANIDK.js} +41 -23
- package/dist/{tts-BVTJEP72.js → tts-KMZPHG3K.js} +1 -1
- package/dist/{updateCheck-KDSFL3XX.js → updateCheck-SVADAQ43.js} +2 -2
- package/dist/{upgrade-EXX4C35N.js → upgrade-WKW4FDNF.js} +2 -2
- package/dist/{urlDownloader-4UFCIAPH.js → urlDownloader-VWHCESDD.js} +11 -10
- package/dist/{validate-QYOHY3N6.js → validate-7VG2RLP2.js} +31 -30
- package/dist/{video-HRL3V2R5.js → video-LM3FYHGG.js} +13 -12
- package/dist/warmCheck.js +47 -45
- package/package.json +1 -1
- package/dist/chunk-Q3PPGPEA.js +0 -5061
- package/dist/studio/assets/hyperframes-player-B_wvwarc.js +0 -478
- package/dist/{chunk-NOH32H42.js → chunk-HBAUU3IK.js} +124 -124
- package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
- package/dist/{destroy-BQ5R7LUF.js → destroy-6NWJMQX2.js} +4 -4
- package/dist/{synthesize-4JC74JW5.js → synthesize-DIT2SR3D.js} +5 -5
package/dist/studio/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-DD9KJoEr.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-RUPGNyct.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getMimeType,
|
|
23
23
|
stampProjectHfIds,
|
|
24
24
|
thumbnailDeviceScaleFactor
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-G5KX4X6W.js";
|
|
26
26
|
import {
|
|
27
27
|
dedupeClonedCompositionId,
|
|
28
28
|
findTargetElement,
|
|
@@ -30,11 +30,16 @@ import {
|
|
|
30
30
|
patchElementInHtml,
|
|
31
31
|
removeElementFromHtml,
|
|
32
32
|
splitElementInHtml
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-VZBJ5BQF.js";
|
|
33
|
+
} from "./chunk-C466I3DT.js";
|
|
35
34
|
import {
|
|
36
35
|
requestSubPath
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-KCDWRMTC.js";
|
|
37
|
+
import "./chunk-AW3XJY4S.js";
|
|
38
|
+
import {
|
|
39
|
+
CACHE_DIR_NAME,
|
|
40
|
+
cleanupProxyCache
|
|
41
|
+
} from "./chunk-UFYWGUUV.js";
|
|
42
|
+
import "./chunk-UQVAAEPQ.js";
|
|
38
43
|
import {
|
|
39
44
|
DEFAULT_HISTORY_ROOT,
|
|
40
45
|
DELETED_VERSION,
|
|
@@ -51,11 +56,13 @@ import {
|
|
|
51
56
|
beginArtifactCapture,
|
|
52
57
|
consumeFileWriteReceipt,
|
|
53
58
|
createProjectSignature,
|
|
59
|
+
createProjectSignatureAsync,
|
|
54
60
|
fileContentVersion,
|
|
55
61
|
finishSnapshotRun,
|
|
56
62
|
forgetRecordedArtifacts,
|
|
57
63
|
historyCache,
|
|
58
64
|
identifyFileWrite,
|
|
65
|
+
isUncopiedMedia,
|
|
59
66
|
listProjectHistories,
|
|
60
67
|
onRestoredInPlace,
|
|
61
68
|
openProjectHistory,
|
|
@@ -68,12 +75,7 @@ import {
|
|
|
68
75
|
registerRenderOutput,
|
|
69
76
|
retainSnapshotOutput,
|
|
70
77
|
settledFileTag
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import {
|
|
73
|
-
CACHE_DIR_NAME,
|
|
74
|
-
cleanupProxyCache
|
|
75
|
-
} from "./chunk-P6FGS4U6.js";
|
|
76
|
-
import "./chunk-XDTCPMR3.js";
|
|
78
|
+
} from "./chunk-QU5OYMTB.js";
|
|
77
79
|
import {
|
|
78
80
|
STUDIO_MOTION_PATH,
|
|
79
81
|
createStudioMotionRenderBodyScript,
|
|
@@ -90,10 +92,11 @@ import {
|
|
|
90
92
|
import "./chunk-7FMUTGOH.js";
|
|
91
93
|
import "./chunk-5S7W3TUO.js";
|
|
92
94
|
import "./chunk-D3MUHMFG.js";
|
|
93
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-FKBWONRY.js";
|
|
94
96
|
import "./chunk-YWRUQ7XZ.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-OWFSGDQS.js";
|
|
98
|
+
import "./chunk-MEJH7VEA.js";
|
|
99
|
+
import "./chunk-UQECNXFA.js";
|
|
97
100
|
import "./chunk-VC76R6W2.js";
|
|
98
101
|
import {
|
|
99
102
|
isSafePath
|
|
@@ -101,19 +104,19 @@ import {
|
|
|
101
104
|
import "./chunk-RQVDTPGD.js";
|
|
102
105
|
import "./chunk-TK7THLRO.js";
|
|
103
106
|
import "./chunk-FXMKHHPO.js";
|
|
104
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-HT3D5AKG.js";
|
|
108
|
+
import "./chunk-HYRPH6LL.js";
|
|
109
|
+
import "./chunk-AKMY4QVI.js";
|
|
105
110
|
import "./chunk-CZGHFATT.js";
|
|
106
|
-
import "./chunk-BIROA7JM.js";
|
|
107
|
-
import "./chunk-PBNWRWKA.js";
|
|
108
111
|
import {
|
|
109
112
|
decodeWellFormedEscapes
|
|
110
|
-
} from "./chunk-
|
|
111
|
-
import "./chunk-
|
|
113
|
+
} from "./chunk-C2KEGBR3.js";
|
|
114
|
+
import "./chunk-T5ELONXY.js";
|
|
112
115
|
import "./chunk-FR7YBU3H.js";
|
|
113
116
|
import "./chunk-DPVXBVLL.js";
|
|
114
117
|
import "./chunk-GWTIFRF5.js";
|
|
115
118
|
import "./chunk-2RY2LWAA.js";
|
|
116
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-EPQC3FGZ.js";
|
|
117
120
|
import "./chunk-WC4MTXGN.js";
|
|
118
121
|
import "./chunk-M2WBOQ2Q.js";
|
|
119
122
|
export {
|
|
@@ -146,6 +149,7 @@ export {
|
|
|
146
149
|
createBackgroundRemovalJob,
|
|
147
150
|
createPreviewDocumentStore,
|
|
148
151
|
createProjectSignature,
|
|
152
|
+
createProjectSignatureAsync,
|
|
149
153
|
createStudioApi,
|
|
150
154
|
createStudioManualEditsRenderBodyScript,
|
|
151
155
|
createStudioMotionRenderBodyScript,
|
|
@@ -162,6 +166,7 @@ export {
|
|
|
162
166
|
historyCache,
|
|
163
167
|
identifyFileWrite,
|
|
164
168
|
isSafePath,
|
|
169
|
+
isUncopiedMedia,
|
|
165
170
|
listProjectHistories,
|
|
166
171
|
onRestoredInPlace,
|
|
167
172
|
openProjectHistory,
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
renderJobObservabilityTelemetryPayload,
|
|
9
9
|
renderObservabilityTelemetryPayload,
|
|
10
10
|
startRenderCpuSampler
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KJGYQVFD.js";
|
|
12
12
|
import {
|
|
13
13
|
HANDOFF_READY,
|
|
14
14
|
desktopDownloadUrl,
|
|
15
15
|
desktopInstalled,
|
|
16
16
|
insideHostApp,
|
|
17
17
|
openInDesktop
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y4INSXS7.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveRenderBrowser
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-A5WWEW6U.js";
|
|
22
22
|
import "./chunk-XQ26I3PL.js";
|
|
23
23
|
import {
|
|
24
24
|
loadSharpInBackground
|
|
25
25
|
} from "./chunk-Y65ZU7XY.js";
|
|
26
26
|
import "./chunk-6BEFEWFB.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-WWOHLNFO.js";
|
|
28
28
|
import "./chunk-X7MTZ4T2.js";
|
|
29
29
|
import {
|
|
30
30
|
PREVIEW_BUNDLE_OPTIONS,
|
|
@@ -38,10 +38,12 @@ import {
|
|
|
38
38
|
getMimeType,
|
|
39
39
|
stampProjectHfIds,
|
|
40
40
|
thumbnailDeviceScaleFactor
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-G5KX4X6W.js";
|
|
42
|
+
import "./chunk-C466I3DT.js";
|
|
43
|
+
import "./chunk-KCDWRMTC.js";
|
|
44
|
+
import "./chunk-AW3XJY4S.js";
|
|
45
|
+
import "./chunk-UFYWGUUV.js";
|
|
46
|
+
import "./chunk-UQVAAEPQ.js";
|
|
45
47
|
import {
|
|
46
48
|
DEFAULT_HISTORY_ROOT,
|
|
47
49
|
DELETED_VERSION,
|
|
@@ -54,39 +56,41 @@ import {
|
|
|
54
56
|
historyCache,
|
|
55
57
|
identifyFileWrite,
|
|
56
58
|
openProjectHistory
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-P6FGS4U6.js";
|
|
59
|
-
import "./chunk-XDTCPMR3.js";
|
|
59
|
+
} from "./chunk-QU5OYMTB.js";
|
|
60
60
|
import "./chunk-ALVXFXUG.js";
|
|
61
61
|
import {
|
|
62
62
|
seekCompositionTimeline
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
} from "./chunk-JO4LHFFP.js";
|
|
64
|
+
import {
|
|
65
|
+
GSAP_VENDOR_FILES,
|
|
66
|
+
readBundleFile,
|
|
67
|
+
resolveGsapVendorDir
|
|
68
|
+
} from "./chunk-HOTXWVVP.js";
|
|
69
|
+
import "./chunk-BN75GXZM.js";
|
|
70
|
+
import "./chunk-7LKEHM2R.js";
|
|
67
71
|
import "./chunk-5ZBMHUY2.js";
|
|
68
72
|
import "./chunk-EHSBBBR2.js";
|
|
69
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-PBPHKD56.js";
|
|
70
74
|
import {
|
|
71
75
|
resolveAutoProxy
|
|
72
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-2GMHYOV3.js";
|
|
73
77
|
import "./chunk-XT7X6QCP.js";
|
|
74
78
|
import "./chunk-5YPMCCCA.js";
|
|
75
79
|
import "./chunk-HVW7ABXD.js";
|
|
76
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-MUHOFRGW.js";
|
|
77
81
|
import "./chunk-JHOCK3DG.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-IQ7FABPU.js";
|
|
83
|
+
import "./chunk-IJI2JNN7.js";
|
|
80
84
|
import "./chunk-AWDFDFI3.js";
|
|
81
85
|
import "./chunk-P6LJ4Y32.js";
|
|
82
86
|
import "./chunk-T2WJO4XM.js";
|
|
83
87
|
import "./chunk-W4DMQZL5.js";
|
|
84
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-XZEHFUQF.js";
|
|
85
89
|
import {
|
|
86
90
|
resolveCaptureBrowserGpuMode,
|
|
87
91
|
resolveLocalBrowserGpuMode,
|
|
88
92
|
resolveLocalWebGpu
|
|
89
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-B5HFCGI7.js";
|
|
90
94
|
import {
|
|
91
95
|
isAtomicTempPath,
|
|
92
96
|
replaceFileAtomically
|
|
@@ -94,12 +98,12 @@ import {
|
|
|
94
98
|
import {
|
|
95
99
|
trackRenderComplete,
|
|
96
100
|
trackRenderError
|
|
97
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-LAIGIOEA.js";
|
|
98
102
|
import {
|
|
99
103
|
canaryDecisionsForStudio,
|
|
100
104
|
resetTelemetryPostureCache,
|
|
101
105
|
shouldTrack
|
|
102
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-45UOXUUH.js";
|
|
103
107
|
import "./chunk-PXVQOMKL.js";
|
|
104
108
|
import "./chunk-EQGKUPBJ.js";
|
|
105
109
|
import "./chunk-VLA6UJGH.js";
|
|
@@ -117,17 +121,19 @@ import "./chunk-7FMUTGOH.js";
|
|
|
117
121
|
import {
|
|
118
122
|
assertWebGpuAdapterAvailable,
|
|
119
123
|
compositionRequiresWebGpu
|
|
120
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-4XQQQ4KN.js";
|
|
121
125
|
import "./chunk-Z5J67X44.js";
|
|
122
126
|
import "./chunk-5S7W3TUO.js";
|
|
123
127
|
import "./chunk-D3MUHMFG.js";
|
|
124
|
-
import "./chunk-
|
|
128
|
+
import "./chunk-FKBWONRY.js";
|
|
125
129
|
import "./chunk-YWRUQ7XZ.js";
|
|
126
130
|
import {
|
|
127
|
-
GSAP_CDN_VERSION,
|
|
128
131
|
fpsToNumber
|
|
129
|
-
} from "./chunk-
|
|
130
|
-
import
|
|
132
|
+
} from "./chunk-OWFSGDQS.js";
|
|
133
|
+
import {
|
|
134
|
+
GSAP_CDN_VERSION
|
|
135
|
+
} from "./chunk-MEJH7VEA.js";
|
|
136
|
+
import "./chunk-UQECNXFA.js";
|
|
131
137
|
import "./chunk-VC76R6W2.js";
|
|
132
138
|
import {
|
|
133
139
|
realpath
|
|
@@ -146,19 +152,19 @@ import {
|
|
|
146
152
|
} from "./chunk-LAGZGKKN.js";
|
|
147
153
|
import "./chunk-K4MJX7SR.js";
|
|
148
154
|
import "./chunk-WE42NVH7.js";
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
151
|
-
import "./chunk-BIROA7JM.js";
|
|
155
|
+
import "./chunk-HT3D5AKG.js";
|
|
156
|
+
import "./chunk-HYRPH6LL.js";
|
|
152
157
|
import {
|
|
153
158
|
isWithinProjectRoot
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import "./chunk-
|
|
156
|
-
import "./chunk-
|
|
159
|
+
} from "./chunk-AKMY4QVI.js";
|
|
160
|
+
import "./chunk-CZGHFATT.js";
|
|
161
|
+
import "./chunk-C2KEGBR3.js";
|
|
162
|
+
import "./chunk-T5ELONXY.js";
|
|
157
163
|
import "./chunk-FR7YBU3H.js";
|
|
158
164
|
import "./chunk-DPVXBVLL.js";
|
|
159
165
|
import "./chunk-GWTIFRF5.js";
|
|
160
166
|
import "./chunk-2RY2LWAA.js";
|
|
161
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-EPQC3FGZ.js";
|
|
162
168
|
import "./chunk-WC4MTXGN.js";
|
|
163
169
|
import "./chunk-FBN2M2HK.js";
|
|
164
170
|
import "./chunk-BR2JQQC5.js";
|
|
@@ -175,7 +181,7 @@ import "./chunk-J3RXEDR2.js";
|
|
|
175
181
|
import "./chunk-QBXDU24O.js";
|
|
176
182
|
import {
|
|
177
183
|
VERSION
|
|
178
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-P5QGZMGC.js";
|
|
179
185
|
import "./chunk-E63BDV4Z.js";
|
|
180
186
|
import {
|
|
181
187
|
detectAgentRuntime
|
|
@@ -187,31 +193,10 @@ import "./chunk-M2WBOQ2Q.js";
|
|
|
187
193
|
// src/server/studioServer.ts
|
|
188
194
|
import { Hono } from "hono";
|
|
189
195
|
import { streamSSE } from "hono/streaming";
|
|
190
|
-
import { existsSync as existsSync2, readFileSync
|
|
196
|
+
import { existsSync as existsSync2, readFileSync, statSync, writeFileSync, unlinkSync } from "fs";
|
|
191
197
|
import { createHash as createHash2 } from "crypto";
|
|
192
198
|
import { fileURLToPath } from "url";
|
|
193
|
-
import { resolve as resolve2, join as join2, basename as basename2,
|
|
194
|
-
import { createRequire } from "module";
|
|
195
|
-
|
|
196
|
-
// src/server/readBundleFile.ts
|
|
197
|
-
import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";
|
|
198
|
-
function readBundleFile(filePath) {
|
|
199
|
-
let fd;
|
|
200
|
-
try {
|
|
201
|
-
fd = openSync(filePath, constants.O_RDONLY | constants.O_NONBLOCK);
|
|
202
|
-
} catch (error) {
|
|
203
|
-
if (error instanceof Error && "code" in error && (error.code === "ENOENT" || error.code === "ENOTDIR"))
|
|
204
|
-
return null;
|
|
205
|
-
if (!statSync(filePath, { throwIfNoEntry: false })?.isFile()) return null;
|
|
206
|
-
throw error;
|
|
207
|
-
}
|
|
208
|
-
try {
|
|
209
|
-
if (!fstatSync(fd).isFile()) return null;
|
|
210
|
-
return readFileSync(fd);
|
|
211
|
-
} finally {
|
|
212
|
-
closeSync(fd);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
199
|
+
import { resolve as resolve2, join as join2, basename as basename2, relative as relative2, sep as sep2 } from "path";
|
|
215
200
|
|
|
216
201
|
// src/server/fileWatcher.ts
|
|
217
202
|
import { lstatSync, readdirSync, watch } from "fs";
|
|
@@ -371,7 +356,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
371
356
|
async function buildFromSource() {
|
|
372
357
|
if (!existsSync(ENTRY_TS)) return null;
|
|
373
358
|
try {
|
|
374
|
-
const mod = await import("./dist-
|
|
359
|
+
const mod = await import("./dist-XW7FATO6.js");
|
|
375
360
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
376
361
|
const source = mod.loadHyperframeRuntimeSource();
|
|
377
362
|
if (source) return source;
|
|
@@ -382,7 +367,7 @@ async function buildFromSource() {
|
|
|
382
367
|
}
|
|
383
368
|
async function getInlinedRuntime() {
|
|
384
369
|
try {
|
|
385
|
-
const mod = await import("./dist-
|
|
370
|
+
const mod = await import("./dist-XW7FATO6.js");
|
|
386
371
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
387
372
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
388
373
|
}
|
|
@@ -580,6 +565,10 @@ function perfPayload(perf, elapsedMs) {
|
|
|
580
565
|
totalFrames: perf.totalFrames,
|
|
581
566
|
speedRatio,
|
|
582
567
|
captureAvgMs: perf.captureAvgMs,
|
|
568
|
+
captureSeekAvgMs: perf.captureSeekAvgMs,
|
|
569
|
+
captureBeforeCaptureAvgMs: perf.captureBeforeCaptureAvgMs,
|
|
570
|
+
captureScreenshotAvgMs: perf.captureScreenshotAvgMs,
|
|
571
|
+
encoderWaitAvgMs: perf.encoderWaitAvgMs,
|
|
583
572
|
capturePeakMs: perf.capturePeakMs,
|
|
584
573
|
tmpPeakBytes: perf.tmpPeakBytes,
|
|
585
574
|
...stagesPayload(perf.stages),
|
|
@@ -737,13 +726,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
737
726
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
738
727
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
739
728
|
async function loadStudioProducer() {
|
|
740
|
-
if (!isDevMode()) return await import("./src-
|
|
729
|
+
if (!isDevMode()) return await import("./src-6ZOFAM3F.js");
|
|
741
730
|
if (!process.versions.bun) {
|
|
742
731
|
throw new Error(
|
|
743
732
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
744
733
|
);
|
|
745
734
|
}
|
|
746
|
-
return await import("./src-
|
|
735
|
+
return await import("./src-6ZOFAM3F.js");
|
|
747
736
|
}
|
|
748
737
|
function resolveDistDir() {
|
|
749
738
|
return resolveStudioBundle().dir;
|
|
@@ -789,37 +778,11 @@ function resolveRuntimePath() {
|
|
|
789
778
|
return builtPath;
|
|
790
779
|
}
|
|
791
780
|
var GSAP_LOCAL_ROOT = "/api/vendor/npm";
|
|
792
|
-
var GSAP_VENDOR_FILES = /* @__PURE__ */ new Set(["gsap.min.js", "CustomEase.min.js", "MotionPathPlugin.min.js"]);
|
|
793
|
-
function installedGsapDist() {
|
|
794
|
-
try {
|
|
795
|
-
const coreRequire = createRequire(resolve2(__dirname, "..", "..", "..", "core", "package.json"));
|
|
796
|
-
return join2(dirname3(coreRequire.resolve("gsap/package.json")), "dist");
|
|
797
|
-
} catch {
|
|
798
|
-
return null;
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
function resolveGsapVendorDir() {
|
|
802
|
-
const vendored = join2("vendor", "npm", `gsap@${GSAP_CDN_VERSION}`, "dist");
|
|
803
|
-
const candidates = [
|
|
804
|
-
resolve2(__dirname, vendored),
|
|
805
|
-
// Running from source: the built CLI next door, then core's installed gsap.
|
|
806
|
-
resolve2(__dirname, "..", "..", "dist", vendored),
|
|
807
|
-
installedGsapDist()
|
|
808
|
-
];
|
|
809
|
-
for (const dir of candidates) {
|
|
810
|
-
if (!dir) continue;
|
|
811
|
-
if (!existsSync2(join2(dir, "gsap.min.js"))) continue;
|
|
812
|
-
const manifest = readBundleFile(join2(dir, "..", "package.json"));
|
|
813
|
-
if (manifest && JSON.parse(manifest.toString("utf-8")).version !== GSAP_CDN_VERSION) continue;
|
|
814
|
-
return dir;
|
|
815
|
-
}
|
|
816
|
-
return null;
|
|
817
|
-
}
|
|
818
781
|
function readStudioManualEditManifestContent(projectDir) {
|
|
819
782
|
const manifestPath = join2(projectDir, STUDIO_MANUAL_EDITS_PATH);
|
|
820
783
|
if (!existsSync2(manifestPath)) return "";
|
|
821
784
|
try {
|
|
822
|
-
return
|
|
785
|
+
return readFileSync(manifestPath, "utf-8");
|
|
823
786
|
} catch {
|
|
824
787
|
return "";
|
|
825
788
|
}
|
|
@@ -885,7 +848,7 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
885
848
|
try {
|
|
886
849
|
if (isShuttingDown()) return null;
|
|
887
850
|
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
888
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
851
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-D7AO7PGH.js");
|
|
889
852
|
let executablePath;
|
|
890
853
|
try {
|
|
891
854
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -963,13 +926,13 @@ async function loadPreviewServerBuildSignature() {
|
|
|
963
926
|
function rewriteWrittenToHostViewport(projectDir, written) {
|
|
964
927
|
const indexPath = join2(projectDir, "index.html");
|
|
965
928
|
if (!existsSync2(indexPath)) return;
|
|
966
|
-
const indexHtml =
|
|
929
|
+
const indexHtml = readFileSync(indexPath, "utf-8");
|
|
967
930
|
const hostW = indexHtml.match(/data-width="(\d+)"/)?.[1];
|
|
968
931
|
const hostH = indexHtml.match(/data-height="(\d+)"/)?.[1];
|
|
969
932
|
if (!hostW || !hostH) return;
|
|
970
933
|
for (const absPath of written) {
|
|
971
934
|
if (!absPath.endsWith(".html")) continue;
|
|
972
|
-
let content =
|
|
935
|
+
let content = readFileSync(absPath, "utf-8");
|
|
973
936
|
content = content.replace(
|
|
974
937
|
/(<meta\s+name="viewport"\s+content="width=)\d+(,\s*height=)\d+/i,
|
|
975
938
|
`$1${hostW}$2${hostH}`
|
|
@@ -983,7 +946,7 @@ function rewriteWrittenToHostViewport(projectDir, written) {
|
|
|
983
946
|
return match;
|
|
984
947
|
}
|
|
985
948
|
);
|
|
986
|
-
replaceFileAtomically(absPath, content,
|
|
949
|
+
replaceFileAtomically(absPath, content, statSync(absPath).mode);
|
|
987
950
|
}
|
|
988
951
|
}
|
|
989
952
|
function createStudioServer(options) {
|
|
@@ -1048,12 +1011,12 @@ function createStudioServer(options) {
|
|
|
1048
1011
|
// Salted with the running CLI file, so an upgraded CLI never serves an older build's document.
|
|
1049
1012
|
previewDocuments: createPreviewDocumentStore(
|
|
1050
1013
|
projectDir,
|
|
1051
|
-
createHash2("sha256").update(
|
|
1014
|
+
createHash2("sha256").update(readFileSync(fileURLToPath(import.meta.url))).digest("hex")
|
|
1052
1015
|
),
|
|
1053
1016
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1054
1017
|
async bundle(dir, options2) {
|
|
1055
1018
|
try {
|
|
1056
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1019
|
+
const { bundleToSingleHtml } = await import("./compiler-J7OZQIPD.js");
|
|
1057
1020
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1058
1021
|
html = html.replace(
|
|
1059
1022
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1066,10 +1029,10 @@ function createStudioServer(options) {
|
|
|
1066
1029
|
}
|
|
1067
1030
|
},
|
|
1068
1031
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1069
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1070
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1071
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1072
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1032
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-LV2JMOJL.js");
|
|
1033
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-QCG2BTDC.js");
|
|
1034
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-CXI2ZMUX.js");
|
|
1035
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-VWHCESDD.js");
|
|
1073
1036
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1074
1037
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1075
1038
|
const heifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
@@ -1101,7 +1064,7 @@ function createStudioServer(options) {
|
|
|
1101
1064
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1102
1065
|
},
|
|
1103
1066
|
async lint(html, opts) {
|
|
1104
|
-
const { lintHyperframeHtml } = await import("./dist-
|
|
1067
|
+
const { lintHyperframeHtml } = await import("./dist-24QQO5IL.js");
|
|
1105
1068
|
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1106
1069
|
},
|
|
1107
1070
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
@@ -1233,7 +1196,7 @@ function createStudioServer(options) {
|
|
|
1233
1196
|
startBackgroundRemoval(opts) {
|
|
1234
1197
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1235
1198
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1236
|
-
const pipeline = await import("./pipeline-
|
|
1199
|
+
const pipeline = await import("./pipeline-CGEGQAPH.js").catch(
|
|
1237
1200
|
() => import(sourcePipelinePath)
|
|
1238
1201
|
);
|
|
1239
1202
|
return pipeline.render(renderOpts);
|
|
@@ -1248,7 +1211,7 @@ function createStudioServer(options) {
|
|
|
1248
1211
|
return null;
|
|
1249
1212
|
}
|
|
1250
1213
|
const sourcePath = join2(opts.project.dir, opts.compPath);
|
|
1251
|
-
const requiresWebGpu = existsSync2(sourcePath) ? compositionRequiresWebGpu(
|
|
1214
|
+
const requiresWebGpu = existsSync2(sourcePath) ? compositionRequiresWebGpu(readFileSync(sourcePath, "utf-8")) : false;
|
|
1252
1215
|
if (opts.signal.aborted) return null;
|
|
1253
1216
|
const width = opts.width || 1920;
|
|
1254
1217
|
const height = opts.height || 1080;
|
|
@@ -1318,8 +1281,8 @@ function createStudioServer(options) {
|
|
|
1318
1281
|
}
|
|
1319
1282
|
},
|
|
1320
1283
|
async listRegistryCatalog() {
|
|
1321
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1322
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1284
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-BQZNCVJS.js");
|
|
1285
|
+
const { loadProjectConfig } = await import("./projectConfig-WXCB5AZE.js");
|
|
1323
1286
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1324
1287
|
const entries = await listRegistryItems(void 0, registry);
|
|
1325
1288
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1328,9 +1291,9 @@ function createStudioServer(options) {
|
|
|
1328
1291
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1329
1292
|
},
|
|
1330
1293
|
async installRegistryBlock(opts) {
|
|
1331
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1332
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1333
|
-
const { registryTargetPath } = await import("./publication-
|
|
1294
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-PBLOPJHC.js");
|
|
1295
|
+
const { recordRewrittenInstall } = await import("./installer-KVFTBZZ5.js");
|
|
1296
|
+
const { registryTargetPath } = await import("./publication-KG4UDZRM.js");
|
|
1334
1297
|
const { result, item } = await addToProject({
|
|
1335
1298
|
name: opts.blockName,
|
|
1336
1299
|
projectDir: opts.project.dir,
|
|
@@ -1403,7 +1366,7 @@ function createStudioServer(options) {
|
|
|
1403
1366
|
const absPath = resolve2(projectDir, path);
|
|
1404
1367
|
let version = null;
|
|
1405
1368
|
try {
|
|
1406
|
-
version = fileContentVersion(
|
|
1369
|
+
version = fileContentVersion(readFileSync(absPath));
|
|
1407
1370
|
} catch {
|
|
1408
1371
|
}
|
|
1409
1372
|
const receipt = identifyFileWrite(absPath, version ?? DELETED_VERSION);
|
|
@@ -1434,8 +1397,8 @@ function createStudioServer(options) {
|
|
|
1434
1397
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1435
1398
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1436
1399
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1437
|
-
import("./preflight-
|
|
1438
|
-
import("./ffmpeg-
|
|
1400
|
+
import("./preflight-CG7H3D5B.js"),
|
|
1401
|
+
import("./ffmpeg-27H6P7ZU.js")
|
|
1439
1402
|
]);
|
|
1440
1403
|
const { outcomes } = await runEnvironmentChecks();
|
|
1441
1404
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1454,7 +1417,7 @@ function createStudioServer(options) {
|
|
|
1454
1417
|
mountDesktopRoutes(app, projectDir);
|
|
1455
1418
|
let cachedFFmpegPath;
|
|
1456
1419
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1457
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1420
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-27H6P7ZU.js");
|
|
1458
1421
|
if (!cachedFFmpegPath) {
|
|
1459
1422
|
cachedFFmpegPath = findFFmpeg();
|
|
1460
1423
|
}
|
|
@@ -1570,7 +1533,7 @@ function createStudioServer(options) {
|
|
|
1570
1533
|
});
|
|
1571
1534
|
const renders = [...inFlightRenders];
|
|
1572
1535
|
for (const [abortController] of renders) abortController.abort();
|
|
1573
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1536
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-D7AO7PGH.js");
|
|
1574
1537
|
killTrackedProcesses();
|
|
1575
1538
|
const closeBrowsers = Promise.allSettled([
|
|
1576
1539
|
closeThumbnailBrowser().catch(() => {
|