hyperframes 0.8.206 → 0.8.208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/hyperframes.mjs +1 -0
- package/dist/{add-FFMNAJXJ.js → add-XMWRBMBR.js} +22 -20
- package/dist/{agentPromptGenerator-KYO5MKTW.js → agentPromptGenerator-4NJ252MR.js} +6 -2
- package/dist/{animatedGifPrep-BIIIIVWL.js → animatedGifPrep-6XURJIPV.js} +14 -13
- package/dist/api.js +33 -32
- package/dist/{appHistory-QVCSAOI4.js → appHistory-HIBH6XZW.js} +3 -1
- package/dist/{asset-IPUHGZSL.js → asset-I5GGEOB2.js} +2 -2
- package/dist/{assetCataloger-M5FWXLAJ.js → assetCataloger-YBPXUNUP.js} +17 -14
- package/dist/{audio-VYWWM4DB.js → audio-GFJCHH5W.js} +420 -138
- package/dist/{auth-GZQZCUPL.js → auth-QOA55RYR.js} +4 -4
- package/dist/{autoUpdate-GJUDDLLO.js → autoUpdate-SPS4QPJU.js} +4 -4
- package/dist/{backgroundChecks-BTMSW34Z.js → backgroundChecks-HRJO7YK7.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-LI2BJRGO.js → batchRender-FBP3RKUF.js} +11 -10
- package/dist/{beats-H73CSYT4.js → beats-VNGJ7F6W.js} +32 -25
- package/dist/{benchmark-XT3A5REC.js → benchmark-NZ3N3MIV.js} +16 -16
- package/dist/{browser-VIOK66YK.js → browser-BD5BKRJ5.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-PFRVWYOO.js → bundleWithLocalizedFonts-WXVNPAWD.js} +3 -3
- package/dist/{capture-KKD5GMAF.js → capture-CXWXKWS5.js} +120 -54
- package/dist/{capture-252WNPCD.js → capture-LMJ4TQRL.js} +63 -17
- package/dist/{captureCompositionFrame-YLYVGNN2.js → captureCompositionFrame-ZKVCRYYU.js} +21 -20
- package/dist/{captureFile-LYOJOUIE.js → captureFile-VIVGKFY4.js} +2 -1
- package/dist/{catalog-6IJGNN3T.js → catalog-WRXQSCAU.js} +28 -26
- package/dist/{catch-up-BFW7Z35W.js → catch-up-MDSPABFC.js} +7 -7
- package/dist/{check-XUWBZASR.js → check-SIBBK5HA.js} +53 -52
- package/dist/{checkAudio-2NRR3VHQ.js → checkAudio-QQBR4HR7.js} +19 -18
- package/dist/{checkBrowser-JW74KWTF.js → checkBrowser-4EBJLLIH.js} +45 -44
- package/dist/{chunk-XDMZY3H7.js → chunk-3O2E4Q66.js} +15 -20
- package/dist/{chunk-VEA7Z4PZ.js → chunk-43MW4SY7.js} +15 -7
- package/dist/{chunk-HJAJ6W4V.js → chunk-4F5NRJ6M.js} +2 -2
- package/dist/{chunk-2RT7MXFL.js → chunk-4HT2L6W2.js} +1 -1
- package/dist/{chunk-QVTCXN42.js → chunk-4KG3ESVO.js} +30 -4
- package/dist/{chunk-42KN6I6A.js → chunk-4LTBQEPD.js} +2 -2
- package/dist/{chunk-C6KE4AFW.js → chunk-56ANHX5U.js} +1 -1
- package/dist/{chunk-NVLPW3DG.js → chunk-5HB4JM7H.js} +2 -2
- package/dist/{chunk-2ST4WAFY.js → chunk-5PCALX6G.js} +13 -1
- package/dist/{chunk-AYH5ANVS.js → chunk-5YHQBCWH.js} +52 -3
- package/dist/{chunk-X5HHHFTX.js → chunk-6CWKORZO.js} +3 -3
- package/dist/{chunk-ZF3R2IPC.js → chunk-6DSYBW7Z.js} +1 -0
- package/dist/{chunk-VHVSBOZH.js → chunk-6JNSYFOH.js} +4 -4
- package/dist/{chunk-AJSU6KGS.js → chunk-6N7D2GUV.js} +15 -15
- package/dist/{chunk-F2ASNL2K.js → chunk-6PWQH77E.js} +1 -1
- package/dist/{chunk-ZNAOBFU5.js → chunk-6WRN4WC6.js} +1 -1
- package/dist/{chunk-GAV56VJL.js → chunk-7CPI2DWL.js} +2 -2
- package/dist/{chunk-CMDVJP4T.js → chunk-7PAK7LZ5.js} +11 -11
- package/dist/{chunk-3CISA3OS.js → chunk-AF3L5JJX.js} +1 -1
- package/dist/{chunk-X7RXXBYM.js → chunk-B5MPMIKQ.js} +2 -2
- package/dist/{chunk-RW4DMP2Y.js → chunk-BKDQFOKK.js} +4 -4
- package/dist/{chunk-DZG565OO.js → chunk-BLCKQPBE.js} +1 -1
- package/dist/chunk-BQMAPNDA.js +4830 -0
- package/dist/{chunk-CPSGXAYD.js → chunk-CP225S5H.js} +3 -3
- package/dist/{chunk-3R6SXPHD.js → chunk-CSWCZA6V.js} +3 -3
- package/dist/{chunk-4CY5RXXC.js → chunk-D2CE2J2A.js} +4 -4
- package/dist/{chunk-FMWACL3L.js → chunk-DHQSDCWD.js} +6 -2
- package/dist/chunk-DROFHVQD.js +240 -0
- package/dist/{chunk-OZUAVHFE.js → chunk-DXACKQ3F.js} +3 -3
- package/dist/{chunk-5QKJPCQ4.js → chunk-EGOXYG3M.js} +2 -2
- package/dist/{chunk-QL4ZYSIB.js → chunk-ENRFKCI6.js} +5 -71
- package/dist/{chunk-MRF4AMKD.js → chunk-EQBDKYXR.js} +5 -10
- package/dist/{chunk-4UMPIPCQ.js → chunk-ERUQ3S6D.js} +2 -2
- package/dist/{chunk-T2EUWCJE.js → chunk-EU7MVORF.js} +13 -1
- package/dist/{chunk-FULMZCDW.js → chunk-EYEEZXLI.js} +11 -11
- package/dist/{chunk-2MLMO25E.js → chunk-FC4WT5FX.js} +105 -7
- package/dist/{chunk-PLGGKTCB.js → chunk-FFDYRJBE.js} +37 -21
- package/dist/{chunk-7SXL476O.js → chunk-G2A6RC5R.js} +72 -28
- package/dist/{chunk-HTIUNMTP.js → chunk-GDZA4ALG.js} +8 -2
- package/dist/{chunk-CZYS6UKP.js → chunk-GEO6THL3.js} +61 -30
- package/dist/{chunk-MFHYBSJC.js → chunk-GHSO62LK.js} +3 -3
- package/dist/{chunk-P2I4RLJE.js → chunk-HTZJNQYI.js} +1 -1
- package/dist/{chunk-4DGLKB2H.js → chunk-HUKQW4YE.js} +1 -1
- package/dist/{chunk-WYB3VKLK.js → chunk-HZN7ICAF.js} +8 -8
- package/dist/{chunk-6ZFDNEMY.js → chunk-IIJVSCSH.js} +16 -16
- package/dist/{chunk-VDVVQNTK.js → chunk-IL2TMC6F.js} +5 -5
- package/dist/{chunk-L5MFWGGU.js → chunk-J67FSI3Q.js} +623 -376
- package/dist/chunk-JLCAHJUO.js +91 -0
- package/dist/{chunk-N7ZMDVAK.js → chunk-JLGVBK5M.js} +1 -1
- package/dist/{chunk-SFYLZX5C.js → chunk-K4PHB3YQ.js} +59 -15
- package/dist/{chunk-G6W55MTX.js → chunk-KTWGVEN6.js} +40 -11
- package/dist/{chunk-FNNGQ3DB.js → chunk-LSMFOZ4F.js} +2 -2
- package/dist/{chunk-ELP5QZWL.js → chunk-M4QZFUMW.js} +1 -1
- package/dist/{chunk-PNKLOMHQ.js → chunk-MBGM26P5.js} +17 -22
- package/dist/{chunk-ZTEKVSZ6.js → chunk-MMJAHBH2.js} +1 -1
- package/dist/{chunk-RDDVQSNQ.js → chunk-MPO25DQW.js} +451 -208
- package/dist/{chunk-E2ZZSDDQ.js → chunk-MW2NQQ6Z.js} +2 -2
- package/dist/{chunk-TSJVPPXT.js → chunk-MYO77JWR.js} +1 -1
- package/dist/{chunk-PSX5SF2N.js → chunk-NEASABW6.js} +1 -1
- package/dist/{chunk-OFRRUYBA.js → chunk-NHA4NRBE.js} +135 -24
- package/dist/{chunk-NNLQTG3M.js → chunk-NZ6G5YWZ.js} +2 -2
- package/dist/{chunk-WHD5IAHI.js → chunk-ORFRUZPB.js} +2 -2
- package/dist/{chunk-Z3XXLTVB.js → chunk-OTXXDONS.js} +3 -3
- package/dist/{chunk-2S263R6D.js → chunk-P7WGVXR7.js} +9 -9
- package/dist/{chunk-AXEEZKIL.js → chunk-PKVA6MPV.js} +6 -6
- package/dist/{chunk-FJW757TF.js → chunk-PSOAGSNO.js} +2 -2
- package/dist/{chunk-AEC4T4IF.js → chunk-PWEOSJ3E.js} +12 -12
- package/dist/{chunk-X7A7C4JS.js → chunk-Q43YUROE.js} +3 -3
- package/dist/{chunk-PQYWYBEQ.js → chunk-QP2MJYTJ.js} +1 -1
- package/dist/{chunk-VW2LVMKB.js → chunk-QWBVPWUI.js} +47 -55
- package/dist/{chunk-AAX2A7LQ.js → chunk-S2OLTAEL.js} +2 -2
- package/dist/{chunk-CNVHMLPI.js → chunk-S4KHJERB.js} +1 -1
- package/dist/{chunk-2BGOB2QK.js → chunk-SE2MXV2N.js} +136 -25
- package/dist/{chunk-3CS6QYL7.js → chunk-SI7QCT2J.js} +8 -8
- package/dist/{chunk-CIHW6VM2.js → chunk-SKKQMW5X.js} +1 -1
- package/dist/{chunk-3B2DBUQX.js → chunk-TNTGGDSD.js} +1 -1
- package/dist/chunk-TSYRN646.js +84 -0
- package/dist/{chunk-XOM3XTJ4.js → chunk-U6KN6OIP.js} +2 -2
- package/dist/{chunk-63DGZRZP.js → chunk-ULL3U6PV.js} +1 -1
- package/dist/{chunk-IXXVS2Z4.js → chunk-VQB7G5BM.js} +1 -1
- package/dist/{chunk-UMUVGNOH.js → chunk-VR3JLTZD.js} +3 -3
- package/dist/{chunk-DEVZJ4AL.js → chunk-VS4SK7BN.js} +17 -11
- package/dist/{chunk-6N65ZMC5.js → chunk-VYRJAQGC.js} +1 -1
- package/dist/{chunk-FLREUEHW.js → chunk-W4DMQZL5.js} +1 -1
- package/dist/chunk-WABB4LZS.js +62 -0
- package/dist/{chunk-RXATE6FZ.js → chunk-WC4MTXGN.js} +22 -0
- package/dist/{chunk-36QE3P6B.js → chunk-WNMVC3IT.js} +1 -1
- package/dist/{chunk-T6SD37JZ.js → chunk-X6MCIK7L.js} +103 -16
- package/dist/chunk-XFMO3BEN.js +71 -0
- package/dist/{chunk-BBUK6A7Q.js → chunk-XG3IZV62.js} +7 -7
- package/dist/chunk-XMRA7CQG.js +22 -0
- package/dist/{chunk-G6QDFWDN.js → chunk-XOFBXLMG.js} +2 -2
- package/dist/{chunk-H4JO7VSI.js → chunk-XUQYC5DD.js} +12 -12
- package/dist/chunk-Z5J67X44.js +40 -0
- package/dist/{chunk-HEP5XMXV.js → chunk-Z5TGBEPJ.js} +9 -2
- package/dist/{chunk-7JAD4MEW.js → chunk-ZA5TNF4R.js} +1 -0
- package/dist/{clean-N5VSKUVS.js → clean-6GX7WAEC.js} +32 -31
- package/dist/cli.js +58 -58
- package/dist/{cloud-74NF5FXC.js → cloud-6PFJKLNL.js} +4 -4
- package/dist/{cloudrun-7UOH335V.js → cloudrun-UGG3ZFH7.js} +13 -12
- package/dist/commands/layout-audit.browser.js +3 -15
- package/dist/{compare-AY2LS2TZ.js → compare-P4EBOP4B.js} +46 -45
- package/dist/{compiler-4MHMC777.js → compiler-PG4RKX6K.js} +8 -8
- package/dist/{component-CFWQOAZI.js → component-SQPMI3W7.js} +3 -3
- package/dist/{compositions-DXLJTDSP.js → compositions-KRIHY3IY.js} +20 -19
- package/dist/{contactSheet-5APX35L3.js → contactSheet-RYAE7Y5D.js} +3 -2
- package/dist/{delete-GB4MS7LM.js → delete-T5TO4SV6.js} +7 -7
- package/dist/{deploy-NXD3Q3KD.js → deploy-AO6LQR5G.js} +6 -6
- package/dist/{deterministicFonts-775YXAQ2.js → deterministicFonts-LKAGUNE5.js} +3 -3
- package/dist/{dist-3ZJMZU75.js → dist-23AAB5X2.js} +36 -36
- package/dist/{dist-ZY6IFESG.js → dist-6IMEDVMC.js} +6 -3
- package/dist/docker/Dockerfile.render +1 -1
- package/dist/docs/rendering.md +3 -0
- package/dist/{doctor-CVY2XXKS.js → doctor-QBUJQ655.js} +23 -22
- package/dist/{events-RYQYEWBV.js → events-J7CESLKQ.js} +4 -4
- package/dist/{events-T3CLIYRG.js → events-SIZO7YHI.js} +5 -5
- package/dist/{feedback-K5ZMMLTA.js → feedback-74WOJ5PN.js} +22 -22
- package/dist/{ffmpeg-UNDAJ2IC.js → ffmpeg-AKUP6U2S.js} +17 -16
- package/dist/{figma-MYYCX635.js → figma-GGMYRR4Q.js} +3 -3
- package/dist/fontLocalizeCli.js +21 -19
- package/dist/{get-JVIDYMVP.js → get-PLKAI6JM.js} +7 -7
- package/dist/{gpuPolicy-KEX7GDRJ.js → gpuPolicy-EYDAAPJF.js} +14 -13
- package/dist/{grade-compare-QEF6VASJ.js → grade-compare-UADJP4AV.js} +44 -43
- package/dist/{gsapParserAcorn-LZJKCFQI.js → gsapParserAcorn-5YD4N6HQ.js} +2 -2
- package/dist/hangReport.js +47 -0
- package/dist/{heifImagePrep-A3ZPVQGU.js → heifImagePrep-KDF3OPOK.js} +15 -14
- package/dist/{help-XPPSLIRY.js → help-WSQQ555Q.js} +1 -1
- package/dist/{history-OFOPRD27.js → history-VSQ2DQ3V.js} +110 -62
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +76 -71
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-7RF6FQX5.js → info-MOQ4LRC3.js} +18 -18
- package/dist/{init-NTIXWA3D.js → init-EONQSZJG.js} +62 -60
- package/dist/{inspect-MYMCV5E7.js → inspect-OLCVLHOU.js} +43 -42
- package/dist/{installer-PYJIJ3PJ.js → installer-GHISA75B.js} +10 -10
- package/dist/{keyframes-UJ52PYE4.js → keyframes-DGQYCY24.js} +13 -13
- package/dist/{lambda-SBNUYEQE.js → lambda-AMMWF2YH.js} +35 -15
- package/dist/{layout-IOMCOABO.js → layout-R6CAPGRO.js} +43 -42
- package/dist/{lint-AQWHHMPS.js → lint-QZJEYPHD.js} +14 -11
- package/dist/{lintProject-5A4SCW3S.js → lintProject-W3YVHAGP.js} +6 -3
- package/dist/{list-WKAJ5SP3.js → list-KCJID4SP.js} +7 -7
- package/dist/localPage-V3HBGM3Z.js +27 -0
- package/dist/{login-3ZDK5JOA.js → login-7HKBEPJS.js} +7 -7
- package/dist/{logout-JYFWWUGK.js → logout-3IID4KXD.js} +3 -3
- package/dist/{manager-QYFYWZOK.js → manager-6YSKJMVD.js} +19 -18
- package/dist/{manager-F2YREC5X.js → manager-Z7W4GQGF.js} +9 -5
- package/dist/{media-treatment-4OLWVHUY.js → media-treatment-E3DL6LEZ.js} +34 -31
- package/dist/{models-MR55FAUX.js → models-URWI7YEG.js} +30 -29
- package/dist/{motionShot-DC47S7BT.js → motionShot-27IXMDJK.js} +25 -24
- package/dist/{normalize-audio-M2TK4NG5.js → normalize-audio-WGRLPR3P.js} +16 -16
- package/dist/{open-YXWBWTKL.js → open-LQ35PLEN.js} +21 -21
- package/dist/{parakeetRunner-J6QR3GTG.js → parakeetRunner-XASVIDTI.js} +27 -26
- package/dist/{pipeline-7MJ5H4SW.js → pipeline-GA7QVCHS.js} +18 -17
- package/dist/{play-S562STR4.js → play-RYZP77CI.js} +31 -31
- package/dist/{policies-GHVXA5PE.js → policies-PKLD4UW5.js} +1 -1
- package/dist/{preflight-QWGXMISC.js → preflight-HJFSJXXF.js} +19 -18
- package/dist/{present-PGOHZT3L.js → present-YBMLOWZV.js} +26 -26
- package/dist/{preview-JU75H4QN.js → preview-QIRKJCRV.js} +52 -39
- package/dist/{producer-H66OMZLW.js → producer-524FDOLX.js} +1 -1
- package/dist/{projectConfig-COSP24YT.js → projectConfig-IDQN5ZRW.js} +14 -13
- package/dist/{publication-J3XYHPGB.js → publication-3X3IGSDO.js} +8 -8
- package/dist/{publish-7GCCEPJZ.js → publish-2BF7K6HX.js} +21 -20
- package/dist/{refresh-USSFPJAU.js → refresh-3IRHJEQA.js} +3 -3
- package/dist/{remove-background-WRCGIU32.js → remove-background-EZBCEFT6.js} +22 -21
- package/dist/{render-QS3YJCBR.js → render-EFUA2A6A.js} +15 -11
- package/dist/{render-VUVTK2JM.js → render-JFMTAXHD.js} +87 -53
- package/dist/{render-5J5PP3UK.js → render-TEEBI2UT.js} +49 -43
- package/dist/{render-batch-Q2LQ3D4P.js → render-batch-XTYNXVSW.js} +16 -12
- package/dist/renderSetupWorker.js +12 -9
- package/dist/{resolver-QCBWPRSC.js → resolver-FZS6TN6B.js} +10 -10
- package/dist/{screenshotCapture-I5EDCITF.js → screenshotCapture-HOW4VSV6.js} +3 -2
- package/dist/{sherpa-IZ22SC5W.js → sherpa-TQIAIKTH.js} +26 -25
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/format.md +1 -0
- package/dist/skills/hyperframes-cli/references/beats.md +2 -0
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -0
- package/dist/skills/hyperframes-cli/references/lambda.md +3 -0
- package/dist/skills/hyperframes-cli/references/preview-render.md +3 -0
- package/dist/skills/media-use/references/grading.md +2 -0
- package/dist/skills/media-use/references/local.md +1 -0
- package/dist/{skills-3RFMPMJA.js → skills-S6ZG5KKH.js} +10 -10
- package/dist/{skillsUpdateCheck-DWBFVUBT.js → skillsUpdateCheck-XC7JQL3F.js} +5 -5
- package/dist/{snapshot-5PHA43DK.js → snapshot-ERYZIM32.js} +152 -80
- package/dist/{src-4YJKYMNF.js → src-6XOMREMS.js} +21 -12
- package/dist/{src-36BQVJL3.js → src-OL6RHPE4.js} +22 -20
- package/dist/{staticProjectServer-3XFB76XS.js → staticProjectServer-JYDDGPAH.js} +26 -26
- package/dist/{status-LR7VXITS.js → status-DTP6ZYDU.js} +3 -3
- package/dist/studio/assets/hyperframes-player-5dRdMVOq.js +478 -0
- package/dist/studio/assets/{index-CwreIGoq.js → index-Bu3mJUU2.js} +131 -131
- package/dist/studio/assets/{index-BNuxGFZK.js → index-ZqyQ91pm.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-WL6EZ4KE.js → studio-api-GRU4SHKD.js} +18 -18
- package/dist/{studioServer-ZS5RA6U3.js → studioServer-OYPBEI5B.js} +76 -73
- package/dist/{synthesize-QCRP3NI7.js → synthesize-QZHRXGRY.js} +26 -4
- package/dist/{telemetry-IHU4HL3R.js → telemetry-6BPSGY5W.js} +2 -2
- package/dist/{telemetry-W3LRO3TB.js → telemetry-CPYINR63.js} +5 -5
- package/dist/{timeline-BDO5DYWP.js → timeline-RGK5BMPD.js} +34 -33
- package/dist/{tokens-47CEMYFV.js → tokens-EX4BOWRW.js} +2 -2
- package/dist/{transcribe-XF3NL6JI.js → transcribe-MK367I6A.js} +24 -23
- package/dist/{transcribe-GEPVJO3A.js → transcribe-RI52JMVW.js} +35 -34
- package/dist/{tts-QM4RFE7U.js → tts-AY4JO5NQ.js} +2 -2
- package/dist/{updateCheck-BON6ZFYP.js → updateCheck-BIEJKQI4.js} +4 -4
- package/dist/{upgrade-KIF5Z4J3.js → upgrade-ES3UUI7O.js} +4 -4
- package/dist/upstreamProxy-W5FWAT5Z.js +17 -0
- package/dist/{urlDownloader-UDRHVUWR.js → urlDownloader-XAGYSTAG.js} +13 -12
- package/dist/{validate-2OPSQT3W.js → validate-A6GZHNEI.js} +36 -35
- package/dist/{video-ECWXMY4F.js → video-OEMGR3MN.js} +19 -15
- package/dist/warmCheck.js +53 -52
- package/package.json +2 -1
- package/dist/chunk-4YYJOFKS.js +0 -28
- package/dist/chunk-KLIPVNCO.js +0 -4824
- package/dist/studio/assets/hyperframes-player-lCVwx9d3.js +0 -478
- package/dist/{destroy-SSPAKADI.js → destroy-CGAZIL2C.js} +4 -4
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-Bu3mJUU2.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-CYbvOVp-.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-G2A6RC5R.js";
|
|
26
26
|
import {
|
|
27
27
|
dedupeClonedCompositionId,
|
|
28
28
|
findTargetElement,
|
|
@@ -30,11 +30,11 @@ import {
|
|
|
30
30
|
patchElementInHtml,
|
|
31
31
|
removeElementFromHtml,
|
|
32
32
|
splitElementInHtml
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-PWEOSJ3E.js";
|
|
34
|
+
import "./chunk-VQB7G5BM.js";
|
|
35
35
|
import {
|
|
36
36
|
requestSubPath
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IL2TMC6F.js";
|
|
38
38
|
import {
|
|
39
39
|
DEFAULT_HISTORY_ROOT,
|
|
40
40
|
DELETED_VERSION,
|
|
@@ -67,19 +67,19 @@ import {
|
|
|
67
67
|
registerRenderOutput,
|
|
68
68
|
retainSnapshotOutput,
|
|
69
69
|
settledFileTag
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3O2E4Q66.js";
|
|
71
71
|
import {
|
|
72
72
|
CACHE_DIR_NAME,
|
|
73
73
|
cleanupProxyCache
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-PKVA6MPV.js";
|
|
75
75
|
import {
|
|
76
76
|
STUDIO_MOTION_PATH,
|
|
77
77
|
createStudioMotionRenderBodyScript,
|
|
78
78
|
walkDir
|
|
79
79
|
} from "./chunk-ALVXFXUG.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-W4DMQZL5.js";
|
|
81
81
|
import "./chunk-EOVYQ3IG.js";
|
|
82
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-5YHQBCWH.js";
|
|
83
83
|
import {
|
|
84
84
|
STUDIO_MANUAL_EDITS_PATH,
|
|
85
85
|
createStudioManualEditsRenderBodyScript,
|
|
@@ -87,30 +87,30 @@ import {
|
|
|
87
87
|
} from "./chunk-EVMY7IPL.js";
|
|
88
88
|
import "./chunk-7FMUTGOH.js";
|
|
89
89
|
import "./chunk-5S7W3TUO.js";
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-KLIPVNCO.js";
|
|
90
|
+
import "./chunk-GHSO62LK.js";
|
|
91
|
+
import "./chunk-QWBVPWUI.js";
|
|
92
|
+
import "./chunk-BQMAPNDA.js";
|
|
94
93
|
import "./chunk-VC76R6W2.js";
|
|
95
|
-
import "./chunk-OFRRUYBA.js";
|
|
96
|
-
import "./chunk-FR7YBU3H.js";
|
|
97
94
|
import {
|
|
98
95
|
isSafePath
|
|
99
96
|
} from "./chunk-OFQWTKPW.js";
|
|
100
|
-
import "./chunk-
|
|
97
|
+
import "./chunk-RQVDTPGD.js";
|
|
101
98
|
import "./chunk-634HSJ3J.js";
|
|
102
99
|
import "./chunk-FXMKHHPO.js";
|
|
103
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-FC4WT5FX.js";
|
|
104
101
|
import "./chunk-CZGHFATT.js";
|
|
105
102
|
import "./chunk-VAS6HQX3.js";
|
|
106
103
|
import "./chunk-PBNWRWKA.js";
|
|
107
104
|
import {
|
|
108
105
|
decodeWellFormedEscapes
|
|
109
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-SE2MXV2N.js";
|
|
107
|
+
import "./chunk-NHA4NRBE.js";
|
|
108
|
+
import "./chunk-FR7YBU3H.js";
|
|
109
|
+
import "./chunk-DPVXBVLL.js";
|
|
110
110
|
import "./chunk-GWTIFRF5.js";
|
|
111
111
|
import "./chunk-2RY2LWAA.js";
|
|
112
112
|
import "./chunk-3422KMTD.js";
|
|
113
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-WC4MTXGN.js";
|
|
114
114
|
import "./chunk-M2WBOQ2Q.js";
|
|
115
115
|
export {
|
|
116
116
|
DEFAULT_HISTORY_ROOT,
|
|
@@ -8,22 +8,24 @@ import {
|
|
|
8
8
|
renderJobObservabilityTelemetryPayload,
|
|
9
9
|
renderObservabilityTelemetryPayload,
|
|
10
10
|
startRenderCpuSampler
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6WRN4WC6.js";
|
|
12
12
|
import {
|
|
13
13
|
HANDOFF_READY,
|
|
14
14
|
desktopDownloadUrl,
|
|
15
15
|
desktopInstalled,
|
|
16
|
+
insideHostApp,
|
|
16
17
|
openInDesktop
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-2ST4WAFY.js";
|
|
18
|
+
} from "./chunk-43MW4SY7.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveRenderBrowser
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4KG3ESVO.js";
|
|
22
|
+
import "./chunk-5PCALX6G.js";
|
|
22
23
|
import {
|
|
23
24
|
loadSharpInBackground
|
|
24
25
|
} from "./chunk-EXAX37XR.js";
|
|
25
26
|
import "./chunk-6BEFEWFB.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-EGOXYG3M.js";
|
|
28
|
+
import "./chunk-X7MTZ4T2.js";
|
|
27
29
|
import {
|
|
28
30
|
PREVIEW_BUNDLE_OPTIONS,
|
|
29
31
|
affectsPreview,
|
|
@@ -36,10 +38,10 @@ import {
|
|
|
36
38
|
getMimeType,
|
|
37
39
|
stampProjectHfIds,
|
|
38
40
|
thumbnailDeviceScaleFactor
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-G2A6RC5R.js";
|
|
42
|
+
import "./chunk-PWEOSJ3E.js";
|
|
43
|
+
import "./chunk-VQB7G5BM.js";
|
|
44
|
+
import "./chunk-IL2TMC6F.js";
|
|
43
45
|
import {
|
|
44
46
|
DEFAULT_HISTORY_ROOT,
|
|
45
47
|
DELETED_VERSION,
|
|
@@ -52,39 +54,39 @@ import {
|
|
|
52
54
|
historyCache,
|
|
53
55
|
identifyFileWrite,
|
|
54
56
|
openProjectHistory
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-3O2E4Q66.js";
|
|
58
|
+
import "./chunk-PKVA6MPV.js";
|
|
57
59
|
import "./chunk-ALVXFXUG.js";
|
|
58
60
|
import {
|
|
59
61
|
seekCompositionTimeline
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-7PAK7LZ5.js";
|
|
63
|
+
import "./chunk-X6MCIK7L.js";
|
|
62
64
|
import "./chunk-MOEGCMKI.js";
|
|
63
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-ENRFKCI6.js";
|
|
64
66
|
import "./chunk-DKPNNYBZ.js";
|
|
65
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-QP2MJYTJ.js";
|
|
66
68
|
import "./chunk-K2FLNJVB.js";
|
|
67
69
|
import "./chunk-EHSBBBR2.js";
|
|
68
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-ULL3U6PV.js";
|
|
69
71
|
import {
|
|
70
72
|
resolveCaptureBrowserGpuMode,
|
|
71
73
|
resolveLocalBrowserGpuMode,
|
|
72
74
|
resolveLocalWebGpu
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-4LTBQEPD.js";
|
|
74
76
|
import {
|
|
75
77
|
resolveAutoProxy
|
|
76
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-ORFRUZPB.js";
|
|
77
79
|
import "./chunk-XT7X6QCP.js";
|
|
78
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-XMRA7CQG.js";
|
|
79
81
|
import "./chunk-HVW7ABXD.js";
|
|
80
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-TNTGGDSD.js";
|
|
81
83
|
import "./chunk-JHOCK3DG.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-OTXXDONS.js";
|
|
85
|
+
import "./chunk-HUKQW4YE.js";
|
|
84
86
|
import "./chunk-AWDFDFI3.js";
|
|
85
87
|
import "./chunk-P6LJ4Y32.js";
|
|
86
88
|
import "./chunk-GMECXFAN.js";
|
|
87
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-W4DMQZL5.js";
|
|
88
90
|
import {
|
|
89
91
|
isAtomicTempPath,
|
|
90
92
|
replaceFileAtomically
|
|
@@ -92,17 +94,19 @@ import {
|
|
|
92
94
|
import {
|
|
93
95
|
trackRenderComplete,
|
|
94
96
|
trackRenderError
|
|
95
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-DHQSDCWD.js";
|
|
96
98
|
import {
|
|
97
99
|
canaryDecisionsForStudio,
|
|
98
100
|
resetTelemetryPostureCache,
|
|
99
101
|
shouldTrack
|
|
100
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-PSOAGSNO.js";
|
|
101
103
|
import "./chunk-VWG7OQKU.js";
|
|
102
104
|
import "./chunk-54HJ63Q2.js";
|
|
103
105
|
import "./chunk-JVBRJMOP.js";
|
|
104
106
|
import "./chunk-ZTZA4UWZ.js";
|
|
105
|
-
import
|
|
107
|
+
import {
|
|
108
|
+
encoderJobOptions
|
|
109
|
+
} from "./chunk-5YHQBCWH.js";
|
|
106
110
|
import {
|
|
107
111
|
createStudioManualEditsRenderBodyScript,
|
|
108
112
|
isProjectIgnoredDir
|
|
@@ -111,62 +115,63 @@ import "./chunk-7FMUTGOH.js";
|
|
|
111
115
|
import {
|
|
112
116
|
assertWebGpuAdapterAvailable,
|
|
113
117
|
compositionRequiresWebGpu
|
|
114
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-MPO25DQW.js";
|
|
119
|
+
import "./chunk-Z5J67X44.js";
|
|
115
120
|
import "./chunk-5S7W3TUO.js";
|
|
121
|
+
import "./chunk-GHSO62LK.js";
|
|
116
122
|
import {
|
|
117
123
|
GSAP_CDN_VERSION,
|
|
118
124
|
fpsToNumber
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import "./chunk-
|
|
121
|
-
import "./chunk-MFHYBSJC.js";
|
|
122
|
-
import "./chunk-KLIPVNCO.js";
|
|
125
|
+
} from "./chunk-QWBVPWUI.js";
|
|
126
|
+
import "./chunk-BQMAPNDA.js";
|
|
123
127
|
import "./chunk-VC76R6W2.js";
|
|
124
|
-
import "./chunk-OFRRUYBA.js";
|
|
125
|
-
import "./chunk-FR7YBU3H.js";
|
|
126
128
|
import {
|
|
127
129
|
realpath
|
|
128
130
|
} from "./chunk-OFQWTKPW.js";
|
|
129
|
-
import "./chunk-
|
|
131
|
+
import "./chunk-RQVDTPGD.js";
|
|
130
132
|
import "./chunk-3GXQPCJC.js";
|
|
131
133
|
import "./chunk-634HSJ3J.js";
|
|
132
134
|
import "./chunk-FXMKHHPO.js";
|
|
133
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-KTWGVEN6.js";
|
|
134
136
|
import {
|
|
135
137
|
runRenderSetupWorker
|
|
136
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-Q43YUROE.js";
|
|
139
|
+
import "./chunk-KGPLIH7B.js";
|
|
137
140
|
import {
|
|
138
141
|
bytesToMb,
|
|
139
142
|
detectAgentRuntime
|
|
140
143
|
} from "./chunk-QSFWGZG6.js";
|
|
141
144
|
import "./chunk-XT6MXC7A.js";
|
|
142
145
|
import "./chunk-K4MJX7SR.js";
|
|
143
|
-
import "./chunk-
|
|
144
|
-
import "./chunk-
|
|
146
|
+
import "./chunk-ERUQ3S6D.js";
|
|
147
|
+
import "./chunk-FC4WT5FX.js";
|
|
145
148
|
import "./chunk-CZGHFATT.js";
|
|
146
149
|
import "./chunk-VAS6HQX3.js";
|
|
147
150
|
import {
|
|
148
151
|
isWithinProjectRoot
|
|
149
152
|
} from "./chunk-PBNWRWKA.js";
|
|
150
|
-
import "./chunk-
|
|
153
|
+
import "./chunk-SE2MXV2N.js";
|
|
154
|
+
import "./chunk-NHA4NRBE.js";
|
|
155
|
+
import "./chunk-FR7YBU3H.js";
|
|
156
|
+
import "./chunk-DPVXBVLL.js";
|
|
151
157
|
import "./chunk-GWTIFRF5.js";
|
|
152
158
|
import "./chunk-2RY2LWAA.js";
|
|
153
159
|
import "./chunk-3422KMTD.js";
|
|
154
|
-
import "./chunk-
|
|
160
|
+
import "./chunk-WC4MTXGN.js";
|
|
155
161
|
import "./chunk-UIOZIIB7.js";
|
|
156
162
|
import "./chunk-K4WIOZFP.js";
|
|
157
163
|
import {
|
|
158
164
|
readConfig,
|
|
159
165
|
readConfigFresh
|
|
160
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-NEASABW6.js";
|
|
161
167
|
import "./chunk-WERLJGIC.js";
|
|
162
168
|
import {
|
|
163
169
|
isDevMode
|
|
164
170
|
} from "./chunk-ISN5GRYI.js";
|
|
165
171
|
import {
|
|
166
172
|
VERSION
|
|
167
|
-
} from "./chunk-
|
|
168
|
-
import "./chunk-
|
|
169
|
-
import "./chunk-KGPLIH7B.js";
|
|
173
|
+
} from "./chunk-MW2NQQ6Z.js";
|
|
174
|
+
import "./chunk-EU7MVORF.js";
|
|
170
175
|
import "./chunk-M2WBOQ2Q.js";
|
|
171
176
|
|
|
172
177
|
// src/server/studioServer.ts
|
|
@@ -356,7 +361,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
356
361
|
async function buildFromSource() {
|
|
357
362
|
if (!existsSync(ENTRY_TS)) return null;
|
|
358
363
|
try {
|
|
359
|
-
const mod = await import("./dist-
|
|
364
|
+
const mod = await import("./dist-23AAB5X2.js");
|
|
360
365
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
361
366
|
const source = mod.loadHyperframeRuntimeSource();
|
|
362
367
|
if (source) return source;
|
|
@@ -367,7 +372,7 @@ async function buildFromSource() {
|
|
|
367
372
|
}
|
|
368
373
|
async function getInlinedRuntime() {
|
|
369
374
|
try {
|
|
370
|
-
const mod = await import("./dist-
|
|
375
|
+
const mod = await import("./dist-23AAB5X2.js");
|
|
371
376
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
372
377
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
373
378
|
}
|
|
@@ -619,11 +624,11 @@ function sameOriginPost(headers) {
|
|
|
619
624
|
}
|
|
620
625
|
function mountDesktopRoutes(app, projectDir, {
|
|
621
626
|
ready = HANDOFF_READY,
|
|
622
|
-
open = (dir, cta) => openInDesktop(dir, { cta }),
|
|
627
|
+
open = (dir, cta) => openInDesktop(dir, { cta, src: "browser-editor" }),
|
|
623
628
|
platform = process.platform,
|
|
624
629
|
installed = () => desktopInstalled({ platform })
|
|
625
630
|
} = {}) {
|
|
626
|
-
const downloadUrl = desktopDownloadUrl(platform);
|
|
631
|
+
const downloadUrl = desktopDownloadUrl(platform, "browser-editor");
|
|
627
632
|
app.get("/api/open-in-desktop", (c) => {
|
|
628
633
|
const here = installed();
|
|
629
634
|
return c.json({
|
|
@@ -722,13 +727,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
722
727
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
723
728
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
724
729
|
async function loadStudioProducer() {
|
|
725
|
-
if (!isDevMode()) return await import("./src-
|
|
730
|
+
if (!isDevMode()) return await import("./src-OL6RHPE4.js");
|
|
726
731
|
if (!process.versions.bun) {
|
|
727
732
|
throw new Error(
|
|
728
733
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
729
734
|
);
|
|
730
735
|
}
|
|
731
|
-
return await import("./src-
|
|
736
|
+
return await import("./src-OL6RHPE4.js");
|
|
732
737
|
}
|
|
733
738
|
function resolveDistDir() {
|
|
734
739
|
return resolveStudioBundle().dir;
|
|
@@ -869,8 +874,8 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
869
874
|
_thumbnailBrowserInitializing = (async () => {
|
|
870
875
|
try {
|
|
871
876
|
if (isShuttingDown()) return null;
|
|
872
|
-
const { ensureBrowser } = await import("./manager-
|
|
873
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
877
|
+
const { ensureBrowser } = await import("./manager-Z7W4GQGF.js");
|
|
878
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-6XOMREMS.js");
|
|
874
879
|
let executablePath;
|
|
875
880
|
try {
|
|
876
881
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1015,13 +1020,14 @@ function createStudioServer(options) {
|
|
|
1015
1020
|
})
|
|
1016
1021
|
);
|
|
1017
1022
|
const projectHistory = () => histories.get(projectDir);
|
|
1023
|
+
const hostAppOwnsHistory = insideHostApp();
|
|
1018
1024
|
watcher.addListener((changedPath) => {
|
|
1019
1025
|
void histories.peek(projectDir)?.then((opened) => opened?.noteChange(changedPath));
|
|
1020
1026
|
});
|
|
1021
1027
|
const inFlightRenders = /* @__PURE__ */ new Map();
|
|
1022
1028
|
let shuttingDown = false;
|
|
1023
1029
|
const adapter = {
|
|
1024
|
-
history: () => projectHistory(),
|
|
1030
|
+
history: () => hostAppOwnsHistory ? null : projectHistory(),
|
|
1025
1031
|
loadSharp: () => loadSharpInBackground("image thumbnails"),
|
|
1026
1032
|
// Explicit option wins (preview's resolved --proxy/--no-proxy + config);
|
|
1027
1033
|
// otherwise honor the project's hyperframes.json media.autoProxy so every
|
|
@@ -1037,7 +1043,7 @@ function createStudioServer(options) {
|
|
|
1037
1043
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1038
1044
|
async bundle(dir, options2) {
|
|
1039
1045
|
try {
|
|
1040
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1046
|
+
const { bundleToSingleHtml } = await import("./compiler-PG4RKX6K.js");
|
|
1041
1047
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1042
1048
|
html = html.replace(
|
|
1043
1049
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1050,10 +1056,10 @@ function createStudioServer(options) {
|
|
|
1050
1056
|
}
|
|
1051
1057
|
},
|
|
1052
1058
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1053
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1054
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1055
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1056
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1059
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-LKAGUNE5.js");
|
|
1060
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-6XURJIPV.js");
|
|
1061
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-KDF3OPOK.js");
|
|
1062
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-XAGYSTAG.js");
|
|
1057
1063
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1058
1064
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1059
1065
|
const heifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
@@ -1085,7 +1091,7 @@ function createStudioServer(options) {
|
|
|
1085
1091
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1086
1092
|
},
|
|
1087
1093
|
async lint(html, opts) {
|
|
1088
|
-
const { lintHyperframeHtml } = await import("./dist-
|
|
1094
|
+
const { lintHyperframeHtml } = await import("./dist-6IMEDVMC.js");
|
|
1089
1095
|
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1090
1096
|
},
|
|
1091
1097
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
@@ -1150,10 +1156,7 @@ function createStudioServer(options) {
|
|
|
1150
1156
|
...manualEditsRenderScript ? { renderBodyScripts: [manualEditsRenderScript] } : {},
|
|
1151
1157
|
...opts.composition ? { entryFile: opts.composition } : {},
|
|
1152
1158
|
...opts.variables ? { variables: opts.variables } : {},
|
|
1153
|
-
...opts
|
|
1154
|
-
...opts.videoBitrate ? { videoBitrate: opts.videoBitrate } : {},
|
|
1155
|
-
...opts.videoFrameFormat ? { videoFrameFormat: opts.videoFrameFormat } : {},
|
|
1156
|
-
...opts.hdrMode ? { hdrMode: opts.hdrMode } : {},
|
|
1159
|
+
...encoderJobOptions(opts),
|
|
1157
1160
|
...opts.useGpu ? { useGpu: true } : {},
|
|
1158
1161
|
...opts.pageMotionBlur ? { pageMotionBlur: opts.pageMotionBlur } : {}
|
|
1159
1162
|
});
|
|
@@ -1220,7 +1223,7 @@ function createStudioServer(options) {
|
|
|
1220
1223
|
startBackgroundRemoval(opts) {
|
|
1221
1224
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1222
1225
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1223
|
-
const pipeline = await import("./pipeline-
|
|
1226
|
+
const pipeline = await import("./pipeline-GA7QVCHS.js").catch(
|
|
1224
1227
|
() => import(sourcePipelinePath)
|
|
1225
1228
|
);
|
|
1226
1229
|
return pipeline.render(renderOpts);
|
|
@@ -1305,8 +1308,8 @@ function createStudioServer(options) {
|
|
|
1305
1308
|
}
|
|
1306
1309
|
},
|
|
1307
1310
|
async listRegistryCatalog() {
|
|
1308
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1309
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1311
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-FZS6TN6B.js");
|
|
1312
|
+
const { loadProjectConfig } = await import("./projectConfig-IDQN5ZRW.js");
|
|
1310
1313
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1311
1314
|
const entries = await listRegistryItems(void 0, registry);
|
|
1312
1315
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1315,9 +1318,9 @@ function createStudioServer(options) {
|
|
|
1315
1318
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1316
1319
|
},
|
|
1317
1320
|
async installRegistryBlock(opts) {
|
|
1318
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1319
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1320
|
-
const { registryTargetPath } = await import("./publication-
|
|
1321
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-XMWRBMBR.js");
|
|
1322
|
+
const { recordRewrittenInstall } = await import("./installer-GHISA75B.js");
|
|
1323
|
+
const { registryTargetPath } = await import("./publication-3X3IGSDO.js");
|
|
1321
1324
|
const { result, item } = await addToProject({
|
|
1322
1325
|
name: opts.blockName,
|
|
1323
1326
|
projectDir: opts.project.dir,
|
|
@@ -1427,8 +1430,8 @@ function createStudioServer(options) {
|
|
|
1427
1430
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1428
1431
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1429
1432
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1430
|
-
import("./preflight-
|
|
1431
|
-
import("./ffmpeg-
|
|
1433
|
+
import("./preflight-HJFSJXXF.js"),
|
|
1434
|
+
import("./ffmpeg-AKUP6U2S.js")
|
|
1432
1435
|
]);
|
|
1433
1436
|
const { outcomes } = await runEnvironmentChecks();
|
|
1434
1437
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1447,7 +1450,7 @@ function createStudioServer(options) {
|
|
|
1447
1450
|
mountDesktopRoutes(app, projectDir);
|
|
1448
1451
|
let cachedFFmpegPath;
|
|
1449
1452
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1450
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1453
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-AKUP6U2S.js");
|
|
1451
1454
|
if (!cachedFFmpegPath) {
|
|
1452
1455
|
cachedFFmpegPath = findFFmpeg();
|
|
1453
1456
|
}
|
|
@@ -1563,7 +1566,7 @@ function createStudioServer(options) {
|
|
|
1563
1566
|
});
|
|
1564
1567
|
const renders = [...inFlightRenders];
|
|
1565
1568
|
for (const [abortController] of renders) abortController.abort();
|
|
1566
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1569
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-6XOMREMS.js");
|
|
1567
1570
|
killTrackedProcesses();
|
|
1568
1571
|
const closeBrowsers = Promise.allSettled([
|
|
1569
1572
|
closeThumbnailBrowser().catch(() => {
|
|
@@ -17,7 +17,9 @@ import {
|
|
|
17
17
|
import "./chunk-WQ6ZXHFQ.js";
|
|
18
18
|
import {
|
|
19
19
|
writeNewFileSync
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XMRA7CQG.js";
|
|
21
|
+
import "./chunk-EOVYQ3IG.js";
|
|
22
|
+
import "./chunk-OFQWTKPW.js";
|
|
21
23
|
import "./chunk-M2WBOQ2Q.js";
|
|
22
24
|
|
|
23
25
|
// src/tts/synthesize.ts
|
|
@@ -26,7 +28,7 @@ import { existsSync, mkdirSync, readdirSync, unlinkSync } from "fs";
|
|
|
26
28
|
import { join, dirname, basename } from "path";
|
|
27
29
|
import { homedir } from "os";
|
|
28
30
|
var SYNTH_SCRIPT = `
|
|
29
|
-
import sys, json, inspect, re
|
|
31
|
+
import sys, json, inspect, re, os, shutil, tempfile
|
|
30
32
|
|
|
31
33
|
model_path = sys.argv[1]
|
|
32
34
|
voices_path = sys.argv[2]
|
|
@@ -39,7 +41,27 @@ lang = sys.argv[7] if len(sys.argv) > 7 else ""
|
|
|
39
41
|
import kokoro_onnx
|
|
40
42
|
import soundfile as sf
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
# espeak-ng reads its data with narrow-char Windows file calls, so a data folder
|
|
45
|
+
# past 260 characters fails with "Error processing file ...phontab". Use a short copy.
|
|
46
|
+
def espeak_config_for_long_data_path():
|
|
47
|
+
if os.name != "nt" or "espeak_config" not in inspect.signature(kokoro_onnx.Kokoro.__init__).parameters:
|
|
48
|
+
return {}
|
|
49
|
+
import espeakng_loader
|
|
50
|
+
from kokoro_onnx.config import EspeakConfig
|
|
51
|
+
source = espeakng_loader.get_data_path()
|
|
52
|
+
if len(source) < 200:
|
|
53
|
+
return {}
|
|
54
|
+
target = os.path.join(tempfile.gettempdir(), "hyperframes-espeak-ng-data")
|
|
55
|
+
if not os.path.isdir(target):
|
|
56
|
+
staging = target + "." + str(os.getpid())
|
|
57
|
+
shutil.copytree(source, staging)
|
|
58
|
+
try:
|
|
59
|
+
os.rename(staging, target)
|
|
60
|
+
except OSError:
|
|
61
|
+
shutil.rmtree(staging, ignore_errors=True)
|
|
62
|
+
return {"espeak_config": EspeakConfig(data_path=target)}
|
|
63
|
+
|
|
64
|
+
model = kokoro_onnx.Kokoro(model_path, voices_path, **espeak_config_for_long_data_path())
|
|
43
65
|
|
|
44
66
|
kwargs = {"voice": voice, "speed": speed}
|
|
45
67
|
supports_lang = "lang" in inspect.signature(model.create).parameters
|
|
@@ -93,7 +115,7 @@ var ESPEAK_LANG_OVERRIDES = {
|
|
|
93
115
|
zh: "cmn"
|
|
94
116
|
};
|
|
95
117
|
var SCRIPT_DIR = join(homedir(), ".cache", "hyperframes", "tts");
|
|
96
|
-
var SCRIPT_PATH = join(SCRIPT_DIR, "synth-
|
|
118
|
+
var SCRIPT_PATH = join(SCRIPT_DIR, "synth-v4.py");
|
|
97
119
|
function ensureSynthScript() {
|
|
98
120
|
if (!existsSync(SCRIPT_PATH)) {
|
|
99
121
|
mkdirSync(SCRIPT_DIR, { recursive: true });
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
effectiveTelemetryStatus,
|
|
20
20
|
readConfigFresh,
|
|
21
21
|
writeConfigWithResult
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NEASABW6.js";
|
|
23
23
|
import "./chunk-WERLJGIC.js";
|
|
24
24
|
import "./chunk-ISN5GRYI.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-EU7MVORF.js";
|
|
26
26
|
import "./chunk-M2WBOQ2Q.js";
|
|
27
27
|
|
|
28
28
|
// src/commands/telemetry.ts
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DHQSDCWD.js";
|
|
21
21
|
import {
|
|
22
22
|
flush,
|
|
23
23
|
flushSync,
|
|
24
24
|
shouldTrack,
|
|
25
25
|
showTelemetryNotice,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-PSOAGSNO.js";
|
|
28
28
|
import "./chunk-VWG7OQKU.js";
|
|
29
29
|
import "./chunk-54HJ63Q2.js";
|
|
30
30
|
import "./chunk-JVBRJMOP.js";
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
incrementCommandCount,
|
|
46
46
|
readConfig,
|
|
47
47
|
writeConfig
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-NEASABW6.js";
|
|
49
49
|
import "./chunk-WERLJGIC.js";
|
|
50
50
|
import "./chunk-ISN5GRYI.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-MW2NQQ6Z.js";
|
|
52
|
+
import "./chunk-EU7MVORF.js";
|
|
53
53
|
import "./chunk-M2WBOQ2Q.js";
|
|
54
54
|
export {
|
|
55
55
|
CONFIG_PATH,
|