hyperframes 0.8.205 → 0.8.207
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-BA4AU262.js → add-LXFWHBE3.js} +19 -18
- package/dist/{agentPromptGenerator-KYO5MKTW.js → agentPromptGenerator-D2E62ZP5.js} +1 -1
- package/dist/{animatedGifPrep-UNUCFGLQ.js → animatedGifPrep-VBPJZKFT.js} +21 -15
- package/dist/api.js +31 -31
- package/dist/{appHistory-QVCSAOI4.js → appHistory-HIBH6XZW.js} +3 -1
- package/dist/{asset-KCDVTNC3.js → asset-JX4RW3GO.js} +2 -2
- package/dist/{assetCataloger-5FCVQ3N6.js → assetCataloger-JKKOPBCF.js} +15 -14
- package/dist/{audio-KDBPEHRS.js → audio-OXQ3L6DW.js} +24 -24
- package/dist/{auth-IMPBZZXJ.js → auth-JAL7P7ZA.js} +1 -1
- package/dist/{autoUpdate-YE2RKCAG.js → autoUpdate-MRI2AICE.js} +2 -2
- package/dist/{backgroundChecks-OWY2UFSR.js → backgroundChecks-ORR46PBY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-AN4HWKET.js → batchRender-IFZYPGIW.js} +9 -9
- package/dist/{beats-VTQJ4JH6.js → beats-UDLOEW6U.js} +21 -21
- package/dist/{benchmark-PBEWHJ5K.js → benchmark-VTVDNKSO.js} +14 -14
- package/dist/{browser-E7ANEHNU.js → browser-QJC4BL2Y.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-I3BWMRSP.js → bundleWithLocalizedFonts-Z2JTBNDS.js} +2 -2
- package/dist/{capture-MP7R72WU.js → capture-2P4JERSX.js} +14 -3
- package/dist/{capture-XODFC4S4.js → capture-GLM2ACPM.js} +81 -41
- package/dist/{captureCompositionFrame-2OYGVDI3.js → captureCompositionFrame-A2A5MGQB.js} +19 -19
- package/dist/{captureFile-LYOJOUIE.js → captureFile-RPUEOZO6.js} +1 -1
- package/dist/{catalog-ORVCCEQR.js → catalog-5ZLVUQVJ.js} +25 -24
- package/dist/{catch-up-SYAQOXTT.js → catch-up-FRMVYJHZ.js} +5 -5
- package/dist/{check-6SQR6SSA.js → check-WVY7SM7C.js} +50 -48
- package/dist/checkAudio-PLEQY3SZ.js +201 -0
- package/dist/{checkBrowser-HOTD3CDE.js → checkBrowser-XSZUA2DQ.js} +42 -41
- package/dist/{chunk-JFNB4CMI.js → chunk-526VSRZ4.js} +20 -8
- package/dist/{chunk-DQBY7FRR.js → chunk-543U46OR.js} +4 -1
- package/dist/{chunk-CUGADCIV.js → chunk-5KBMYSF2.js} +54 -15
- package/dist/{chunk-2ST4WAFY.js → chunk-5PCALX6G.js} +13 -1
- package/dist/{chunk-TZ7MTRVJ.js → chunk-5PYRU5DT.js} +13 -13
- package/dist/{chunk-AYH5ANVS.js → chunk-5YHQBCWH.js} +52 -3
- package/dist/{chunk-KBZSMKKD.js → chunk-63DP5CB2.js} +29 -3
- package/dist/{chunk-GLBEBBS2.js → chunk-6IYIS2U7.js} +2 -2
- package/dist/{chunk-GSTFETKE.js → chunk-6KCFVLO6.js} +5 -5
- package/dist/{chunk-EXRHI43B.js → chunk-6KOHY5EP.js} +10 -9
- package/dist/{chunk-CU76YDPX.js → chunk-6Z7XDUUJ.js} +1 -1
- package/dist/{chunk-XNAIYEKD.js → chunk-7PJ3AJB2.js} +1 -1
- package/dist/{chunk-6GAYBX5C.js → chunk-7RWUY3BJ.js} +64 -62
- package/dist/{chunk-3CISA3OS.js → chunk-AF3L5JJX.js} +1 -1
- package/dist/chunk-BDJIQZN2.js +4830 -0
- package/dist/{chunk-75WNFDRU.js → chunk-C53ZNJDZ.js} +4 -4
- package/dist/{chunk-GBQCTZON.js → chunk-CVZO6TFE.js} +13 -43
- package/dist/{chunk-RQDVTUVD.js → chunk-DJQZ7DEH.js} +15 -15
- package/dist/{chunk-KAIQPYCM.js → chunk-DML6BD4K.js} +2 -2
- package/dist/{chunk-BTYT3RT3.js → chunk-EG3B2VWK.js} +2 -2
- package/dist/{chunk-OB7QARSN.js → chunk-EGRIVMCQ.js} +1 -1
- package/dist/{chunk-V4K4BSCM.js → chunk-EHFZEKQM.js} +57 -5
- package/dist/{chunk-H4MSJ2NZ.js → chunk-FEO7YW7V.js} +8 -8
- package/dist/{chunk-FNBEYIZH.js → chunk-FVAI7AHF.js} +13 -12
- package/dist/{chunk-PLGGKTCB.js → chunk-GXUONASF.js} +13 -20
- package/dist/{chunk-L6N2TLXR.js → chunk-H3LQ5X6Q.js} +84 -79
- package/dist/{chunk-MVXOY5RC.js → chunk-HA3V4XAF.js} +6 -6
- package/dist/{chunk-WB55EQNJ.js → chunk-HM7SUIQD.js} +38 -9
- package/dist/{chunk-G445Y3YG.js → chunk-HVOTYAS4.js} +15 -7
- package/dist/{chunk-IKYXXIMP.js → chunk-I2TDHVFV.js} +3 -3
- package/dist/{chunk-3N4T6I3O.js → chunk-I3TYUQLB.js} +1 -1
- package/dist/{chunk-AECL3B23.js → chunk-IBZHSU2J.js} +1 -1
- package/dist/{chunk-2FEOM3ZT.js → chunk-ID766OZB.js} +12 -12
- package/dist/{chunk-4UIEQIF4.js → chunk-IK4JY2LI.js} +2 -2
- package/dist/{chunk-C4LV6L4Q.js → chunk-IW5P4KK7.js} +3 -3
- package/dist/{chunk-N7VQD4WB.js → chunk-IYZT62UR.js} +1 -1
- package/dist/chunk-JKE24AG7.js +62 -0
- package/dist/chunk-JLCAHJUO.js +91 -0
- package/dist/{chunk-EUFBE5BW.js → chunk-JLGVBK5M.js} +1 -1
- package/dist/{chunk-6NC4KBS2.js → chunk-JQ32262N.js} +1 -1
- package/dist/{chunk-J2E3VVOS.js → chunk-KDHHPJOG.js} +4 -4
- package/dist/{chunk-A42PDANH.js → chunk-LCCYYTEK.js} +1 -1
- package/dist/{chunk-T2UR3T4L.js → chunk-LK6KPVX2.js} +263 -74
- package/dist/{chunk-RWOWD3PW.js → chunk-LPI7HX4G.js} +2 -2
- package/dist/{chunk-UR6BAPOD.js → chunk-LXP6XWJL.js} +2 -2
- package/dist/{chunk-4RPCYGZG.js → chunk-MAUGXKSI.js} +4 -4
- package/dist/{chunk-AII6P2TC.js → chunk-MMJAHBH2.js} +1 -1
- package/dist/{chunk-LFGJWOVA.js → chunk-MNNK7RV5.js} +11 -8
- package/dist/{chunk-26OI2B2X.js → chunk-MSHL6CF2.js} +1 -1
- package/dist/{chunk-SVVAUJPL.js → chunk-NHA4NRBE.js} +136 -25
- package/dist/{chunk-5F6B6KMK.js → chunk-NHL5CMO2.js} +18 -3
- package/dist/{chunk-NF6KI46X.js → chunk-NJNC2DQV.js} +31 -28
- package/dist/{chunk-I7IXUCKL.js → chunk-NSC5A4IR.js} +1 -1
- package/dist/{chunk-MRF4AMKD.js → chunk-NWGXTUYS.js} +32 -10
- package/dist/{chunk-57I5KNTL.js → chunk-PL36HK3U.js} +3 -3
- package/dist/{chunk-TOEIJ4WF.js → chunk-PUIG6DHT.js} +5 -5
- package/dist/{chunk-BA7MQJXG.js → chunk-QE4WRS3N.js} +3 -3
- package/dist/{chunk-7V7OUKTU.js → chunk-QTWXVOZI.js} +1 -1
- package/dist/{chunk-V2XXV2EH.js → chunk-QZ2JQ6O4.js} +6 -6
- package/dist/{chunk-BHOGXIBO.js → chunk-RPZNQV6D.js} +58 -826
- package/dist/{chunk-2BGOB2QK.js → chunk-SE2MXV2N.js} +136 -25
- package/dist/{chunk-HADQPG7O.js → chunk-SXOD5J7T.js} +2 -2
- package/dist/{chunk-32R2AFZ3.js → chunk-T4JGFCXU.js} +3 -3
- package/dist/chunk-TQBQYO4L.js +55 -0
- package/dist/{chunk-ZSUWGNIT.js → chunk-TSTONNOD.js} +2 -2
- package/dist/chunk-TSYRN646.js +84 -0
- package/dist/{chunk-BZ727KLT.js → chunk-U32PA6DI.js} +1 -1
- package/dist/{chunk-5PVPGWMH.js → chunk-UAT2UMTP.js} +1 -1
- package/dist/{chunk-TGS33LDU.js → chunk-UKM3JYNB.js} +5 -71
- package/dist/{chunk-UEOGIZ3Q.js → chunk-UUOIH4RW.js} +3 -3
- package/dist/{chunk-MASFRPCB.js → chunk-UYPWH7PH.js} +10 -10
- package/dist/{chunk-LSQM3NBR.js → chunk-VAVDAOUA.js} +1 -1
- package/dist/chunk-VBPNCOD7.js +355 -0
- package/dist/{chunk-HQ3CFNHL.js → chunk-VH4PNYOS.js} +1 -1
- package/dist/{chunk-IXXVS2Z4.js → chunk-VQB7G5BM.js} +1 -1
- package/dist/{chunk-FLREUEHW.js → chunk-W4DMQZL5.js} +1 -1
- package/dist/{chunk-RXATE6FZ.js → chunk-WC4MTXGN.js} +22 -0
- package/dist/{chunk-F2ASNL2K.js → chunk-WL263XM2.js} +1 -1
- package/dist/{chunk-ZB6SCA4J.js → chunk-XAGBSYIQ.js} +9 -2
- package/dist/{chunk-LQUMMPGK.js → chunk-XKW4Z7BU.js} +1 -1
- package/dist/chunk-XMRA7CQG.js +22 -0
- package/dist/{chunk-6YYFNGCS.js → chunk-XULJBZ7K.js} +7 -4
- package/dist/chunk-YJK6HOL5.js +29 -0
- package/dist/{chunk-KVNXEAVT.js → chunk-ZCJ5EGLU.js} +30 -10
- package/dist/{chunk-ERUINDRT.js → chunk-ZF3R2IPC.js} +184 -183
- package/dist/{chunk-AECSY5LT.js → chunk-ZYGIDXAK.js} +569 -378
- package/dist/{clean-BW7NHQS5.js → clean-TL3IPJDN.js} +28 -28
- package/dist/cli.js +55 -55
- package/dist/{cloud-TZVXTWZO.js → cloud-EYMRPJNY.js} +4 -4
- package/dist/{cloudrun-KRIETALO.js → cloudrun-TOJ36NLX.js} +11 -11
- package/dist/commands/layout-audit.browser.js +3 -15
- package/dist/{compare-WYWHJ4CR.js → compare-MP5EOW4D.js} +40 -40
- package/dist/{compiler-ANIPXLJ7.js → compiler-NOPVLJ2S.js} +15 -15
- package/dist/{component-CY7DCX56.js → component-ASACDCZK.js} +3 -3
- package/dist/{compositions-5YEB24E3.js → compositions-WKNZJY34.js} +19 -19
- package/dist/{contactSheet-5APX35L3.js → contactSheet-YOBPATEM.js} +2 -2
- package/dist/{delete-6642PDON.js → delete-DQTFHP3G.js} +2 -2
- package/dist/{deploy-NZP6TZLS.js → deploy-HHCFOUFM.js} +4 -4
- package/dist/{deterministicFonts-HQYCUUAL.js → deterministicFonts-LKAGUNE5.js} +3 -3
- package/dist/{dist-V2BGP46S.js → dist-L4Z4ZEYW.js} +7 -4
- package/dist/{dist-DGFC75NC.js → dist-NQEYA4ZX.js} +44 -36
- package/dist/docs/rendering.md +3 -0
- package/dist/{doctor-ZW4A2FS3.js → doctor-JDM65CP7.js} +20 -20
- package/dist/{events-NJU4VFDA.js → events-MBRNA3UF.js} +3 -3
- package/dist/{events-XRCHY2F6.js → events-RKRHRLJD.js} +2 -2
- package/dist/{feedback-NQLSZMES.js → feedback-LZWIWV5J.js} +17 -17
- package/dist/{ffmpeg-RYDQLG3G.js → ffmpeg-4PZKSIGE.js} +15 -15
- package/dist/{figma-TJAMP2CI.js → figma-QFNYUT3F.js} +3 -3
- package/dist/fontLocalizeCli.js +20 -18
- package/dist/{get-RRZ3O26X.js → get-2B5ENJOH.js} +2 -2
- package/dist/{gpuPolicy-4WLHUUS3.js → gpuPolicy-E5FB2GFR.js} +13 -13
- package/dist/{grade-compare-P7PE3NAA.js → grade-compare-4GUAPJHE.js} +40 -40
- package/dist/{gsapParser-IEUSLYDJ.js → gsapParser-3H7ON3DO.js} +1 -1
- package/dist/{gsapParserAcorn-LZJKCFQI.js → gsapParserAcorn-5YD4N6HQ.js} +2 -2
- package/dist/hangReport.js +47 -0
- package/dist/heifImagePrep-C2RYIEER.js +53 -0
- package/dist/{help-6RELRVIW.js → help-XGDAXV67.js} +1 -1
- package/dist/{history-GIIDYND3.js → history-WNFF6HGU.js} +108 -60
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +75 -68
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +16 -16
- package/dist/{info-LBUA2DXE.js → info-BR2LKGJD.js} +16 -16
- package/dist/{init-QUPXBONY.js → init-P6UWPUY3.js} +59 -58
- package/dist/{inspect-CL42DJZ4.js → inspect-MSRPF7ZO.js} +40 -39
- package/dist/inspection.js +4 -4
- package/dist/{installer-VR7XDLR3.js → installer-MPUQS3ZX.js} +10 -10
- package/dist/{keyframes-LELLROMA.js → keyframes-J6K66QTO.js} +11 -11
- package/dist/{lambda-I6KFXWOO.js → lambda-LJ2OSWFJ.js} +32 -13
- package/dist/{layout-NR6SNRZE.js → layout-CDY65XGA.js} +40 -39
- package/dist/{lint-DYEMSEQR.js → lint-CAUNBGPX.js} +13 -10
- package/dist/{lintProject-EA4NPL2X.js → lintProject-ZTSX3AWT.js} +7 -4
- package/dist/{list-RDURYO5U.js → list-33BYQNRZ.js} +2 -2
- package/dist/{login-VKLET5OL.js → login-5QMRKOHK.js} +4 -4
- package/dist/{manager-IYT3THJN.js → manager-3JOHHPVR.js} +17 -17
- package/dist/{manager-7TSUZKXU.js → manager-RMYSZ3KI.js} +7 -3
- package/dist/{media-treatment-I4AFEQZ3.js → media-treatment-4WP22CFN.js} +23 -23
- package/dist/{models-LLPVGC2E.js → models-HPWCHAZX.js} +28 -28
- package/dist/{motionShot-6A6HH6IK.js → motionShot-I7GDIROQ.js} +23 -23
- package/dist/{normalize-audio-KVQJBYLT.js → normalize-audio-VTMXPSC7.js} +14 -14
- package/dist/{open-J4ZT4X3C.js → open-SAO7OQTT.js} +19 -19
- package/dist/{parakeetRunner-FLUCIDIZ.js → parakeetRunner-ZYPBIA73.js} +25 -25
- package/dist/{pipeline-RRVLGALQ.js → pipeline-VNBMR6QU.js} +16 -16
- package/dist/{play-QGJSXUVM.js → play-7VI6A7KN.js} +42 -32
- package/dist/{preflight-SP2ZERBE.js → preflight-VWV7L45J.js} +17 -17
- package/dist/{present-UR4YBHMX.js → present-CSJGYOFF.js} +37 -27
- package/dist/{preview-6ENCRU4C.js → preview-B246ZTVO.js} +60 -45
- package/dist/{producer-OMHZRY6A.js → producer-WJLFDVQJ.js} +1 -1
- package/dist/{projectConfig-NGS7GJ47.js → projectConfig-OMR46ZWQ.js} +14 -13
- package/dist/{publication-6NYQA22Y.js → publication-AA7NNYET.js} +8 -8
- package/dist/{publish-E6RE5VHB.js → publish-TJ4QVVSP.js} +18 -17
- package/dist/{remove-background-66PQRA7R.js → remove-background-LQ2V7W7N.js} +20 -20
- package/dist/{render-ZLRJUFMX.js → render-AWEEPG3F.js} +39 -37
- package/dist/{render-SBAZWXPO.js → render-E5QJG74D.js} +14 -11
- package/dist/{render-IMSGS6BD.js → render-JLTNZ36U.js} +83 -51
- package/dist/{render-batch-MO7LYZSP.js → render-batch-U4T4VSCM.js} +14 -11
- package/dist/renderSetupWorker.js +11 -8
- package/dist/{resolver-QMBVTAKT.js → resolver-GXCTUKPV.js} +10 -10
- package/dist/{screenshotCapture-I5EDCITF.js → screenshotCapture-X6OKIXCB.js} +1 -1
- package/dist/{sherpa-JZRDL3OE.js → sherpa-4VZWVHWZ.js} +24 -24
- 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-YBTEWFYS.js → skills-WUKR7SUE.js} +8 -8
- package/dist/{skillsUpdateCheck-Z4HTDZJN.js → skillsUpdateCheck-YXRBY3JC.js} +3 -3
- package/dist/{snapshot-5F5UV6H5.js → snapshot-Q7S2FTNG.js} +143 -77
- package/dist/{src-WWXYV2TS.js → src-CLAALR5W.js} +26 -19
- package/dist/{src-UTW3F2PM.js → src-ZOXUSGAP.js} +24 -12
- package/dist/{staticProjectServer-UHZ63C5O.js → staticProjectServer-DQ7PIDPA.js} +26 -26
- package/dist/studio/assets/hyperframes-player-Cm5aBiKq.js +478 -0
- package/dist/studio/assets/{index-dy6GQJn4.js → index-BF9YeBnC.js} +142 -142
- package/dist/studio/assets/{index-C8hp9Y7c.js → index-BrqAmMRt.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-BHZ3PHL2.js → studio-api-NUE227JM.js} +18 -18
- package/dist/{studioSelectionClient-IUUPKUHZ.js → studioSelectionClient-D6VMGTKQ.js} +1 -1
- package/dist/{studioServer-AFUXWRB5.js → studioServer-HVOKP4VI.js} +81 -70
- package/dist/{synthesize-PKTB5ATG.js → synthesize-QZHRXGRY.js} +30 -8
- package/dist/{telemetry-UYKOT4OJ.js → telemetry-2Y5JXLDB.js} +3 -3
- package/dist/{timeline-K5NLEMH4.js → timeline-WOQGXFRV.js} +28 -28
- package/dist/{tokens-FCOSWE2O.js → tokens-T3OHTWUC.js} +2 -2
- package/dist/{transcribe-SIFMTW5W.js → transcribe-4U74P5TG.js} +22 -22
- package/dist/{transcribe-K2QTXDQR.js → transcribe-JZ3BO546.js} +32 -32
- package/dist/{tts-5I2AJNLM.js → tts-AY4JO5NQ.js} +2 -2
- package/dist/{updateCheck-JZ6TBZVE.js → updateCheck-6EUAGAM4.js} +2 -2
- package/dist/{upgrade-TUPAJXQQ.js → upgrade-55K6F4MP.js} +2 -2
- package/dist/upstreamProxy-W5FWAT5Z.js +17 -0
- package/dist/{urlDownloader-L4775QID.js → urlDownloader-47JMOLNN.js} +12 -12
- package/dist/{validate-4HVVMEBV.js → validate-QBJ3SBS4.js} +32 -32
- package/dist/{video-4OGPF3IE.js → video-3ZAUNAR3.js} +17 -15
- package/dist/warmCheck.js +50 -48
- package/package.json +2 -1
- package/dist/chunk-4YYJOFKS.js +0 -28
- package/dist/chunk-ZUQZP6QD.js +0 -3986
- package/dist/studio/assets/hyperframes-player-DzdSmJdB.js +0 -478
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-BF9YeBnC.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-NJNC2DQV.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-ID766OZB.js";
|
|
34
|
+
import "./chunk-VQB7G5BM.js";
|
|
35
35
|
import {
|
|
36
36
|
requestSubPath
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6KCFVLO6.js";
|
|
38
38
|
import {
|
|
39
39
|
DEFAULT_HISTORY_ROOT,
|
|
40
40
|
DELETED_VERSION,
|
|
@@ -71,15 +71,15 @@ import {
|
|
|
71
71
|
import {
|
|
72
72
|
CACHE_DIR_NAME,
|
|
73
73
|
cleanupProxyCache
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-HA3V4XAF.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-ZUQZP6QD.js";
|
|
90
|
+
import "./chunk-RPZNQV6D.js";
|
|
91
|
+
import "./chunk-7RWUY3BJ.js";
|
|
92
|
+
import "./chunk-BDJIQZN2.js";
|
|
94
93
|
import "./chunk-VC76R6W2.js";
|
|
95
|
-
import "./chunk-SVVAUJPL.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-ZCJ5EGLU.js";
|
|
101
|
+
import "./chunk-CZGHFATT.js";
|
|
104
102
|
import "./chunk-VAS6HQX3.js";
|
|
105
103
|
import "./chunk-PBNWRWKA.js";
|
|
106
|
-
import "./chunk-CZGHFATT.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-UAT2UMTP.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-HVOTYAS4.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveRenderBrowser
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-63DP5CB2.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-IK4JY2LI.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-NJNC2DQV.js";
|
|
42
|
+
import "./chunk-ID766OZB.js";
|
|
43
|
+
import "./chunk-VQB7G5BM.js";
|
|
44
|
+
import "./chunk-6KCFVLO6.js";
|
|
43
45
|
import {
|
|
44
46
|
DEFAULT_HISTORY_ROOT,
|
|
45
47
|
DELETED_VERSION,
|
|
@@ -53,38 +55,38 @@ import {
|
|
|
53
55
|
identifyFileWrite,
|
|
54
56
|
openProjectHistory
|
|
55
57
|
} from "./chunk-XDMZY3H7.js";
|
|
56
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-HA3V4XAF.js";
|
|
57
59
|
import "./chunk-ALVXFXUG.js";
|
|
58
60
|
import {
|
|
59
61
|
seekCompositionTimeline
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-UYPWH7PH.js";
|
|
63
|
+
import "./chunk-MAUGXKSI.js";
|
|
62
64
|
import "./chunk-MOEGCMKI.js";
|
|
63
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-UKM3JYNB.js";
|
|
64
66
|
import "./chunk-DKPNNYBZ.js";
|
|
65
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-7PJ3AJB2.js";
|
|
66
68
|
import "./chunk-K2FLNJVB.js";
|
|
67
69
|
import "./chunk-EHSBBBR2.js";
|
|
68
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-IBZHSU2J.js";
|
|
69
71
|
import {
|
|
70
72
|
resolveCaptureBrowserGpuMode,
|
|
71
73
|
resolveLocalBrowserGpuMode,
|
|
72
74
|
resolveLocalWebGpu
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-LPI7HX4G.js";
|
|
74
76
|
import {
|
|
75
77
|
resolveAutoProxy
|
|
76
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-LXP6XWJL.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-VAVDAOUA.js";
|
|
81
83
|
import "./chunk-JHOCK3DG.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-UUOIH4RW.js";
|
|
85
|
+
import "./chunk-XKW4Z7BU.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-NSC5A4IR.js";
|
|
96
98
|
import {
|
|
97
99
|
canaryDecisionsForStudio,
|
|
98
100
|
resetTelemetryPostureCache,
|
|
99
101
|
shouldTrack
|
|
100
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-QTWXVOZI.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,29 +115,27 @@ import "./chunk-7FMUTGOH.js";
|
|
|
111
115
|
import {
|
|
112
116
|
assertWebGpuAdapterAvailable,
|
|
113
117
|
compositionRequiresWebGpu
|
|
114
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-LK6KPVX2.js";
|
|
115
119
|
import "./chunk-5S7W3TUO.js";
|
|
120
|
+
import "./chunk-RPZNQV6D.js";
|
|
116
121
|
import {
|
|
117
122
|
GSAP_CDN_VERSION,
|
|
118
123
|
fpsToNumber
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import "./chunk-
|
|
121
|
-
import "./chunk-BHOGXIBO.js";
|
|
122
|
-
import "./chunk-ZUQZP6QD.js";
|
|
124
|
+
} from "./chunk-7RWUY3BJ.js";
|
|
125
|
+
import "./chunk-BDJIQZN2.js";
|
|
123
126
|
import "./chunk-VC76R6W2.js";
|
|
124
|
-
import "./chunk-SVVAUJPL.js";
|
|
125
|
-
import "./chunk-FR7YBU3H.js";
|
|
126
127
|
import {
|
|
127
128
|
realpath
|
|
128
129
|
} from "./chunk-OFQWTKPW.js";
|
|
129
|
-
import "./chunk-
|
|
130
|
+
import "./chunk-RQVDTPGD.js";
|
|
130
131
|
import "./chunk-3GXQPCJC.js";
|
|
131
132
|
import "./chunk-634HSJ3J.js";
|
|
132
133
|
import "./chunk-FXMKHHPO.js";
|
|
133
|
-
import "./chunk-
|
|
134
|
+
import "./chunk-HM7SUIQD.js";
|
|
134
135
|
import {
|
|
135
136
|
runRenderSetupWorker
|
|
136
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-EHFZEKQM.js";
|
|
138
|
+
import "./chunk-KGPLIH7B.js";
|
|
137
139
|
import {
|
|
138
140
|
bytesToMb,
|
|
139
141
|
detectAgentRuntime
|
|
@@ -141,17 +143,20 @@ import {
|
|
|
141
143
|
import "./chunk-XT6MXC7A.js";
|
|
142
144
|
import "./chunk-K4MJX7SR.js";
|
|
143
145
|
import "./chunk-4UMPIPCQ.js";
|
|
144
|
-
import "./chunk-
|
|
146
|
+
import "./chunk-ZCJ5EGLU.js";
|
|
147
|
+
import "./chunk-CZGHFATT.js";
|
|
145
148
|
import "./chunk-VAS6HQX3.js";
|
|
146
149
|
import {
|
|
147
150
|
isWithinProjectRoot
|
|
148
151
|
} from "./chunk-PBNWRWKA.js";
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
152
|
+
import "./chunk-SE2MXV2N.js";
|
|
153
|
+
import "./chunk-NHA4NRBE.js";
|
|
154
|
+
import "./chunk-FR7YBU3H.js";
|
|
155
|
+
import "./chunk-DPVXBVLL.js";
|
|
151
156
|
import "./chunk-GWTIFRF5.js";
|
|
152
157
|
import "./chunk-2RY2LWAA.js";
|
|
153
158
|
import "./chunk-3422KMTD.js";
|
|
154
|
-
import "./chunk-
|
|
159
|
+
import "./chunk-WC4MTXGN.js";
|
|
155
160
|
import "./chunk-UIOZIIB7.js";
|
|
156
161
|
import "./chunk-K4WIOZFP.js";
|
|
157
162
|
import {
|
|
@@ -164,9 +169,8 @@ import {
|
|
|
164
169
|
} from "./chunk-ISN5GRYI.js";
|
|
165
170
|
import {
|
|
166
171
|
VERSION
|
|
167
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-DML6BD4K.js";
|
|
168
173
|
import "./chunk-T2EUWCJE.js";
|
|
169
|
-
import "./chunk-KGPLIH7B.js";
|
|
170
174
|
import "./chunk-M2WBOQ2Q.js";
|
|
171
175
|
|
|
172
176
|
// src/server/studioServer.ts
|
|
@@ -356,7 +360,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
356
360
|
async function buildFromSource() {
|
|
357
361
|
if (!existsSync(ENTRY_TS)) return null;
|
|
358
362
|
try {
|
|
359
|
-
const mod = await import("./dist-
|
|
363
|
+
const mod = await import("./dist-NQEYA4ZX.js");
|
|
360
364
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
361
365
|
const source = mod.loadHyperframeRuntimeSource();
|
|
362
366
|
if (source) return source;
|
|
@@ -367,7 +371,7 @@ async function buildFromSource() {
|
|
|
367
371
|
}
|
|
368
372
|
async function getInlinedRuntime() {
|
|
369
373
|
try {
|
|
370
|
-
const mod = await import("./dist-
|
|
374
|
+
const mod = await import("./dist-NQEYA4ZX.js");
|
|
371
375
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
372
376
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
373
377
|
}
|
|
@@ -619,11 +623,11 @@ function sameOriginPost(headers) {
|
|
|
619
623
|
}
|
|
620
624
|
function mountDesktopRoutes(app, projectDir, {
|
|
621
625
|
ready = HANDOFF_READY,
|
|
622
|
-
open = (dir, cta) => openInDesktop(dir, { cta }),
|
|
626
|
+
open = (dir, cta) => openInDesktop(dir, { cta, src: "browser-editor" }),
|
|
623
627
|
platform = process.platform,
|
|
624
628
|
installed = () => desktopInstalled({ platform })
|
|
625
629
|
} = {}) {
|
|
626
|
-
const downloadUrl = desktopDownloadUrl(platform);
|
|
630
|
+
const downloadUrl = desktopDownloadUrl(platform, "browser-editor");
|
|
627
631
|
app.get("/api/open-in-desktop", (c) => {
|
|
628
632
|
const here = installed();
|
|
629
633
|
return c.json({
|
|
@@ -722,13 +726,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
722
726
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
723
727
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
724
728
|
async function loadStudioProducer() {
|
|
725
|
-
if (!isDevMode()) return await import("./src-
|
|
729
|
+
if (!isDevMode()) return await import("./src-CLAALR5W.js");
|
|
726
730
|
if (!process.versions.bun) {
|
|
727
731
|
throw new Error(
|
|
728
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`."
|
|
729
733
|
);
|
|
730
734
|
}
|
|
731
|
-
return await import("./src-
|
|
735
|
+
return await import("./src-CLAALR5W.js");
|
|
732
736
|
}
|
|
733
737
|
function resolveDistDir() {
|
|
734
738
|
return resolveStudioBundle().dir;
|
|
@@ -869,8 +873,8 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
869
873
|
_thumbnailBrowserInitializing = (async () => {
|
|
870
874
|
try {
|
|
871
875
|
if (isShuttingDown()) return null;
|
|
872
|
-
const { ensureBrowser } = await import("./manager-
|
|
873
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
876
|
+
const { ensureBrowser } = await import("./manager-RMYSZ3KI.js");
|
|
877
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-ZOXUSGAP.js");
|
|
874
878
|
let executablePath;
|
|
875
879
|
try {
|
|
876
880
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1015,13 +1019,14 @@ function createStudioServer(options) {
|
|
|
1015
1019
|
})
|
|
1016
1020
|
);
|
|
1017
1021
|
const projectHistory = () => histories.get(projectDir);
|
|
1022
|
+
const hostAppOwnsHistory = insideHostApp();
|
|
1018
1023
|
watcher.addListener((changedPath) => {
|
|
1019
1024
|
void histories.peek(projectDir)?.then((opened) => opened?.noteChange(changedPath));
|
|
1020
1025
|
});
|
|
1021
1026
|
const inFlightRenders = /* @__PURE__ */ new Map();
|
|
1022
1027
|
let shuttingDown = false;
|
|
1023
1028
|
const adapter = {
|
|
1024
|
-
history: () => projectHistory(),
|
|
1029
|
+
history: () => hostAppOwnsHistory ? null : projectHistory(),
|
|
1025
1030
|
loadSharp: () => loadSharpInBackground("image thumbnails"),
|
|
1026
1031
|
// Explicit option wins (preview's resolved --proxy/--no-proxy + config);
|
|
1027
1032
|
// otherwise honor the project's hyperframes.json media.autoProxy so every
|
|
@@ -1037,7 +1042,7 @@ function createStudioServer(options) {
|
|
|
1037
1042
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1038
1043
|
async bundle(dir, options2) {
|
|
1039
1044
|
try {
|
|
1040
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1045
|
+
const { bundleToSingleHtml } = await import("./compiler-NOPVLJ2S.js");
|
|
1041
1046
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1042
1047
|
html = html.replace(
|
|
1043
1048
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1050,12 +1055,21 @@ function createStudioServer(options) {
|
|
|
1050
1055
|
}
|
|
1051
1056
|
},
|
|
1052
1057
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1053
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1054
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1055
|
-
const {
|
|
1058
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-LKAGUNE5.js");
|
|
1059
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-VBPJZKFT.js");
|
|
1060
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-C2RYIEER.js");
|
|
1061
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-47JMOLNN.js");
|
|
1056
1062
|
const gifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1057
1063
|
const gifDownloadDir = join2(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1058
|
-
const
|
|
1064
|
+
const heifOutputDir = join2(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
1065
|
+
const { html: htmlWithJpegs } = await prepareHeifImageInputs(html, {
|
|
1066
|
+
projectDir: project2.dir,
|
|
1067
|
+
downloadDir: gifDownloadDir,
|
|
1068
|
+
outputDir: heifOutputDir,
|
|
1069
|
+
outputSrcPrefix: ".hyperframes/prepared-assets/heif",
|
|
1070
|
+
onFailure: (error) => console.warn(`[studio] ${error.message}`)
|
|
1071
|
+
});
|
|
1072
|
+
const prepared = await prepareAnimatedGifInputs(htmlWithJpegs, {
|
|
1059
1073
|
projectDir: project2.dir,
|
|
1060
1074
|
downloadDir: gifDownloadDir,
|
|
1061
1075
|
outputDir: gifOutputDir,
|
|
@@ -1076,7 +1090,7 @@ function createStudioServer(options) {
|
|
|
1076
1090
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1077
1091
|
},
|
|
1078
1092
|
async lint(html, opts) {
|
|
1079
|
-
const { lintHyperframeHtml } = await import("./dist-
|
|
1093
|
+
const { lintHyperframeHtml } = await import("./dist-L4Z4ZEYW.js");
|
|
1080
1094
|
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1081
1095
|
},
|
|
1082
1096
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
@@ -1141,10 +1155,7 @@ function createStudioServer(options) {
|
|
|
1141
1155
|
...manualEditsRenderScript ? { renderBodyScripts: [manualEditsRenderScript] } : {},
|
|
1142
1156
|
...opts.composition ? { entryFile: opts.composition } : {},
|
|
1143
1157
|
...opts.variables ? { variables: opts.variables } : {},
|
|
1144
|
-
...opts
|
|
1145
|
-
...opts.videoBitrate ? { videoBitrate: opts.videoBitrate } : {},
|
|
1146
|
-
...opts.videoFrameFormat ? { videoFrameFormat: opts.videoFrameFormat } : {},
|
|
1147
|
-
...opts.hdrMode ? { hdrMode: opts.hdrMode } : {},
|
|
1158
|
+
...encoderJobOptions(opts),
|
|
1148
1159
|
...opts.useGpu ? { useGpu: true } : {},
|
|
1149
1160
|
...opts.pageMotionBlur ? { pageMotionBlur: opts.pageMotionBlur } : {}
|
|
1150
1161
|
});
|
|
@@ -1211,7 +1222,7 @@ function createStudioServer(options) {
|
|
|
1211
1222
|
startBackgroundRemoval(opts) {
|
|
1212
1223
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1213
1224
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1214
|
-
const pipeline = await import("./pipeline-
|
|
1225
|
+
const pipeline = await import("./pipeline-VNBMR6QU.js").catch(
|
|
1215
1226
|
() => import(sourcePipelinePath)
|
|
1216
1227
|
);
|
|
1217
1228
|
return pipeline.render(renderOpts);
|
|
@@ -1296,8 +1307,8 @@ function createStudioServer(options) {
|
|
|
1296
1307
|
}
|
|
1297
1308
|
},
|
|
1298
1309
|
async listRegistryCatalog() {
|
|
1299
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1300
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1310
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-GXCTUKPV.js");
|
|
1311
|
+
const { loadProjectConfig } = await import("./projectConfig-OMR46ZWQ.js");
|
|
1301
1312
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1302
1313
|
const entries = await listRegistryItems(void 0, registry);
|
|
1303
1314
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1306,9 +1317,9 @@ function createStudioServer(options) {
|
|
|
1306
1317
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1307
1318
|
},
|
|
1308
1319
|
async installRegistryBlock(opts) {
|
|
1309
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1310
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1311
|
-
const { registryTargetPath } = await import("./publication-
|
|
1320
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-LXFWHBE3.js");
|
|
1321
|
+
const { recordRewrittenInstall } = await import("./installer-MPUQS3ZX.js");
|
|
1322
|
+
const { registryTargetPath } = await import("./publication-AA7NNYET.js");
|
|
1312
1323
|
const { result, item } = await addToProject({
|
|
1313
1324
|
name: opts.blockName,
|
|
1314
1325
|
projectDir: opts.project.dir,
|
|
@@ -1418,8 +1429,8 @@ function createStudioServer(options) {
|
|
|
1418
1429
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1419
1430
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1420
1431
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1421
|
-
import("./preflight-
|
|
1422
|
-
import("./ffmpeg-
|
|
1432
|
+
import("./preflight-VWV7L45J.js"),
|
|
1433
|
+
import("./ffmpeg-4PZKSIGE.js")
|
|
1423
1434
|
]);
|
|
1424
1435
|
const { outcomes } = await runEnvironmentChecks();
|
|
1425
1436
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1438,7 +1449,7 @@ function createStudioServer(options) {
|
|
|
1438
1449
|
mountDesktopRoutes(app, projectDir);
|
|
1439
1450
|
let cachedFFmpegPath;
|
|
1440
1451
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1441
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1452
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-4PZKSIGE.js");
|
|
1442
1453
|
if (!cachedFFmpegPath) {
|
|
1443
1454
|
cachedFFmpegPath = findFFmpeg();
|
|
1444
1455
|
}
|
|
@@ -1554,7 +1565,7 @@ function createStudioServer(options) {
|
|
|
1554
1565
|
});
|
|
1555
1566
|
const renders = [...inFlightRenders];
|
|
1556
1567
|
for (const [abortController] of renders) abortController.abort();
|
|
1557
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
1568
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-ZOXUSGAP.js");
|
|
1558
1569
|
killTrackedProcesses();
|
|
1559
1570
|
const closeBrowsers = Promise.allSettled([
|
|
1560
1571
|
closeThumbnailBrowser().catch(() => {
|
|
@@ -4,20 +4,22 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
findPython,
|
|
9
|
+
hasPythonPackage
|
|
10
|
+
} from "./chunk-5ETJX6WM.js";
|
|
7
11
|
import {
|
|
8
12
|
DEFAULT_VOICE,
|
|
9
13
|
ensureModel,
|
|
10
14
|
ensureVoices,
|
|
11
15
|
inferLangFromVoiceId
|
|
12
16
|
} from "./chunk-AHPGAESX.js";
|
|
13
|
-
import {
|
|
14
|
-
findPython,
|
|
15
|
-
hasPythonPackage
|
|
16
|
-
} from "./chunk-5ETJX6WM.js";
|
|
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 });
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NSC5A4IR.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-QTWXVOZI.js";
|
|
28
28
|
import "./chunk-VWG7OQKU.js";
|
|
29
29
|
import "./chunk-54HJ63Q2.js";
|
|
30
30
|
import "./chunk-JVBRJMOP.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from "./chunk-PSX5SF2N.js";
|
|
49
49
|
import "./chunk-WERLJGIC.js";
|
|
50
50
|
import "./chunk-ISN5GRYI.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-DML6BD4K.js";
|
|
52
52
|
import "./chunk-T2EUWCJE.js";
|
|
53
53
|
import "./chunk-M2WBOQ2Q.js";
|
|
54
54
|
export {
|