hyperframes 0.8.229 → 0.8.230
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-YJS4LRAZ.js → add-ZFTVMGJ2.js} +11 -11
- package/dist/{agentPromptGenerator-UZ3FX4D3.js → agentPromptGenerator-EEBHEUEF.js} +8 -7
- package/dist/{animatedGifPrep-2XRRZPQO.js → animatedGifPrep-UMPPCLWN.js} +8 -7
- package/dist/api.js +22 -21
- package/dist/{asset-WSOL4NMK.js → asset-A3OP633F.js} +2 -2
- package/dist/{assetCataloger-OZZ5MJBG.js → assetCataloger-PEJSHMPN.js} +10 -9
- package/dist/{audio-LANYADHD.js → audio-TLYTPBM3.js} +15 -14
- package/dist/{auth-YYGXDZF2.js → auth-BXAJN6RK.js} +1 -1
- package/dist/{autoUpdate-KSRU7EZH.js → autoUpdate-K7LZBRTU.js} +2 -2
- package/dist/{backgroundChecks-TB7CC2D6.js → backgroundChecks-QWFCJ6TK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-XZYDF2FG.js → batchRender-BCJRGQHY.js} +3 -3
- package/dist/{beats-IDTXCXIG.js → beats-NOIQZVH5.js} +9 -9
- package/dist/{benchmark-IPKHN37F.js → benchmark-L2HQTYWL.js} +8 -8
- package/dist/{browser-OVOXZLNV.js → browser-EDJ5MBKD.js} +5 -4
- package/dist/{bundleWithLocalizedFonts-I7PYCJHZ.js → bundleWithLocalizedFonts-TPVRBZIK.js} +2 -2
- package/dist/{capture-CONXFELZ.js → capture-3SANI4UY.js} +18 -17
- package/dist/{capture-VS5ZCDVK.js → capture-QWZ5QODO.js} +3 -3
- package/dist/{captureCompositionFrame-CXMJFFT6.js → captureCompositionFrame-MS2HZXRW.js} +14 -13
- package/dist/{catalog-GRKDVE2L.js → catalog-R5K6MWIG.js} +13 -12
- package/dist/{catch-up-EEQHBX7W.js → catch-up-7BNUPGJ6.js} +4 -4
- package/dist/{check-KN2TFSLV.js → check-GYXWKYE5.js} +40 -39
- package/dist/{checkAudio-TL5G6H6R.js → checkAudio-DHHNBUVG.js} +11 -10
- package/dist/{checkBrowser-VSOGYBDG.js → checkBrowser-LNXZAIEZ.js} +34 -33
- package/dist/{chunk-TZOQFBBQ.js → chunk-2D2RRZT7.js} +2 -2
- package/dist/{chunk-SWBOZCM7.js → chunk-2JVDORVD.js} +2 -2
- package/dist/{chunk-J5D43JAY.js → chunk-2TVJN55K.js} +2 -2
- package/dist/{chunk-MIJSNZCK.js → chunk-3BWYSXMK.js} +3 -3
- package/dist/{chunk-TYJQUMPE.js → chunk-3PZ4A3EL.js} +14 -14
- package/dist/{chunk-C54QOVBO.js → chunk-4NWPFZ3L.js} +10 -7
- package/dist/chunk-4PNFWK4W.js +5030 -0
- package/dist/{chunk-OLUL6BOC.js → chunk-56CHSBGE.js} +14 -14
- package/dist/{chunk-BYU5BWLS.js → chunk-5KW5SITK.js} +11 -11
- package/dist/{chunk-Y65ZU7XY.js → chunk-5UT3R43E.js} +21 -18
- package/dist/{chunk-VPCKLVUT.js → chunk-5Y36ONBR.js} +1 -1
- package/dist/{chunk-5657GBGJ.js → chunk-6PVFGNKW.js} +4 -4
- package/dist/{chunk-3ZKTX4RA.js → chunk-6UYYXEUT.js} +1 -1
- package/dist/chunk-766MOTIZ.js +18 -0
- package/dist/{chunk-FG4BBFZI.js → chunk-7YCF2F5M.js} +4 -1
- package/dist/{chunk-E7CVWOG6.js → chunk-A2YVTHFV.js} +1 -1
- package/dist/{chunk-LDAKZ65G.js → chunk-AJE3DDAK.js} +2 -2
- package/dist/{chunk-7T2OIXVQ.js → chunk-ARJDVDDW.js} +1 -1
- package/dist/{chunk-44H3ZPQ2.js → chunk-B4EC7MLH.js} +3 -3
- package/dist/{chunk-X6JPD24H.js → chunk-BGBSNRZN.js} +2 -2
- package/dist/{chunk-WIK27NBN.js → chunk-CJQK4ZIE.js} +7 -7
- package/dist/{chunk-KQO3UIAP.js → chunk-CLKV7JFF.js} +1 -1
- package/dist/{chunk-WMLUEEKU.js → chunk-CNI6P4N3.js} +3 -3
- package/dist/{chunk-6IPIEPGY.js → chunk-DRNRROYF.js} +2 -2
- package/dist/{chunk-MKCTDPSJ.js → chunk-DUAWYFWW.js} +5 -3
- package/dist/{chunk-AUKCANZ5.js → chunk-EIYQX23K.js} +1 -1
- package/dist/{chunk-EWUQH2H2.js → chunk-EJPKTQIL.js} +1 -1
- package/dist/{chunk-OYR33QMF.js → chunk-FNDKV2AD.js} +1 -1
- package/dist/{chunk-6UOTC4U7.js → chunk-GJ2ESZC4.js} +3 -3
- package/dist/{chunk-UWS3BKTB.js → chunk-GO3BLPTW.js} +1 -1
- package/dist/{chunk-2KQE627O.js → chunk-GVUXSS6R.js} +7 -7
- package/dist/{chunk-MS3HCZGU.js → chunk-I5RUZETZ.js} +2 -2
- package/dist/{chunk-EDUWHB7E.js → chunk-I6BKRA57.js} +6 -6
- package/dist/{chunk-URICPFYV.js → chunk-ISJ2W4CG.js} +1 -1
- package/dist/{chunk-DCLGVVR7.js → chunk-IUUQ22F4.js} +8 -5
- package/dist/{chunk-M5NZ7GKA.js → chunk-IWMVCOUX.js} +6 -4
- package/dist/{chunk-FHBWBQMS.js → chunk-J6NBMUDH.js} +2 -2
- package/dist/{chunk-GR2T3BOX.js → chunk-JAU6XH2U.js} +1 -1
- package/dist/{chunk-KZPMI6BZ.js → chunk-K3SQVEIB.js} +8 -12
- package/dist/{chunk-UWM22NR5.js → chunk-L47UDYP3.js} +1 -1
- package/dist/{chunk-MMHM3KKV.js → chunk-LBVU3TVN.js} +2 -2
- package/dist/{chunk-2TL6R2B5.js → chunk-M6ZPTCQF.js} +6 -6
- package/dist/{chunk-GGH5MQHG.js → chunk-MCVX4UXA.js} +1 -1
- package/dist/{chunk-GHPR346W.js → chunk-MPRXE6II.js} +3 -3
- package/dist/{chunk-FSTBQD2F.js → chunk-MYAB3HNP.js} +1 -1
- package/dist/{chunk-C4YBIKYO.js → chunk-NPPXBR26.js} +1 -1
- package/dist/{chunk-MOZ5DSCP.js → chunk-OBVTIR2F.js} +3 -3
- package/dist/{chunk-YZTGIVCU.js → chunk-OPLR3AWT.js} +10 -10
- package/dist/{chunk-RSFLI6E6.js → chunk-P7SEWZV5.js} +1 -1
- package/dist/{chunk-4QRJNEY2.js → chunk-PLHQUBAY.js} +1 -1
- package/dist/{chunk-T4C5HPYH.js → chunk-PS37DU4F.js} +1 -1
- package/dist/{chunk-WP64W5LK.js → chunk-PZNWJDPR.js} +1 -1
- package/dist/{chunk-QNW43LWB.js → chunk-Q3SKYJGG.js} +7 -4
- package/dist/{chunk-KANCJWEU.js → chunk-QV36OSND.js} +1 -1
- package/dist/{chunk-LCRVATH2.js → chunk-RT2EBZP2.js} +1 -1
- package/dist/{chunk-QTV666C6.js → chunk-RTUKNMA4.js} +1 -1
- package/dist/{chunk-BS23JBCT.js → chunk-RUW4IMIR.js} +2 -2
- package/dist/{chunk-5J6IHFXE.js → chunk-RVDNZAZY.js} +1 -1
- package/dist/{chunk-R2C5EON5.js → chunk-RXFKSZN2.js} +2 -1
- package/dist/{chunk-XVK7Z5LC.js → chunk-SNGNCTDX.js} +1 -1
- package/dist/{chunk-ALLYZDHR.js → chunk-SOC3QD2H.js} +1 -1
- package/dist/{chunk-UOJSQZBR.js → chunk-TINSW7PZ.js} +3 -3
- package/dist/{chunk-YQVFMOMM.js → chunk-TPZ424FN.js} +1 -1
- package/dist/{chunk-QMHENMOT.js → chunk-TW2GRPKX.js} +2 -2
- package/dist/{chunk-65CJV3HG.js → chunk-TWFKOHB5.js} +11 -11
- package/dist/{chunk-YKB7R3ED.js → chunk-UCIYEJN4.js} +12 -12
- package/dist/{chunk-PVZRUN64.js → chunk-UCKQN6BX.js} +1 -1
- package/dist/{chunk-QU5OYMTB.js → chunk-UGUYWTWD.js} +5 -3
- package/dist/{chunk-3MJIP7L3.js → chunk-UI2ZEY3S.js} +1 -1
- package/dist/{chunk-IXDFHVYK.js → chunk-UPYIHSZF.js} +7 -7
- package/dist/{chunk-ZFVNYA3M.js → chunk-UWZ2OIWM.js} +1 -1
- package/dist/{chunk-RQD2CQDC.js → chunk-VSOHYXNI.js} +2 -2
- package/dist/{chunk-GB4ZE5GE.js → chunk-VTKVQIH2.js} +10 -8
- package/dist/{chunk-DBCQ45W4.js → chunk-WHO74N3U.js} +19 -19
- package/dist/{chunk-SJAAY2FB.js → chunk-WP4WBVCB.js} +1 -1
- package/dist/{chunk-2GTFW4MK.js → chunk-WVRAFHJU.js} +16 -2
- package/dist/{chunk-G3AG7A42.js → chunk-X5FSMQEJ.js} +4 -2
- package/dist/{chunk-SCVDE65J.js → chunk-YGRA5UJG.js} +1 -1
- package/dist/{chunk-3OGN5ESJ.js → chunk-YIZIBPZI.js} +3 -3
- package/dist/{chunk-FKPJP7KG.js → chunk-YK25FG4Q.js} +5 -2
- package/dist/{chunk-AJAK6K6Z.js → chunk-YTEDOLWP.js} +12 -15
- package/dist/{chunk-2WZSWSVB.js → chunk-Z364Z3IE.js} +1 -1
- package/dist/{chunk-V76CLMWJ.js → chunk-Z4P4Y2FC.js} +2 -2
- package/dist/{chunk-UZOIYEQT.js → chunk-Z5LQYHUG.js} +3 -3
- package/dist/{chunk-O7M3IGR4.js → chunk-ZIOSKQ5M.js} +3 -3
- package/dist/{chunk-RSE7JAWA.js → chunk-ZTLYHUR4.js} +2 -2
- package/dist/{chunk-AX34M43B.js → chunk-ZVSU727V.js} +1 -1
- package/dist/{clean-EBLROVPZ.js → clean-2L3ZWO2D.js} +21 -20
- package/dist/cli.js +58 -58
- package/dist/{cloud-VHV4JR6S.js → cloud-U57KZR6H.js} +4 -4
- package/dist/{cloudrun-WH47ZBWZ.js → cloudrun-I4B3BXSH.js} +4 -4
- package/dist/{compare-ADKP4OZQ.js → compare-CBLFYWG7.js} +33 -32
- package/dist/{compiler-JT3NQV6V.js → compiler-QWW2ROBH.js} +4 -4
- package/dist/{component-4DZS7LRH.js → component-M3K63KF7.js} +3 -3
- package/dist/{compositions-U6AILJYT.js → compositions-4YUYGFL6.js} +12 -11
- package/dist/{contactSheet-WG4HT5XP.js → contactSheet-RJTY6IIV.js} +3 -2
- package/dist/{curve-UJYH6TCN.js → curve-XR7AE6L7.js} +12 -11
- package/dist/{cuts-4AMR7G23.js → cuts-MRQ6MDGL.js} +13 -12
- package/dist/{delete-2WACGCZO.js → delete-AVTCERRU.js} +2 -2
- package/dist/{deploy-6D752FSZ.js → deploy-7ST7E4WX.js} +5 -3
- package/dist/{describeProject-KRSRBDRI.js → describeProject-4XZBAMTL.js} +9 -8
- package/dist/{deterministicFonts-LV2JMOJL.js → deterministicFonts-H4RC6TOJ.js} +2 -1
- package/dist/{diff-NDK55Z7J.js → diff-5YUXDZOX.js} +23 -22
- package/dist/{dist-3LBVDOZK.js → dist-B2QQUFZP.js} +2 -2
- package/dist/{dist-DCP77RWC.js → dist-HPM7VDPI.js} +2 -2
- package/dist/docs/audio.md +20 -0
- package/dist/docs/transcribe.md +27 -0
- package/dist/{docs-IB3KETC6.js → docs-D22SOQEZ.js} +8 -0
- package/dist/{doctor-6YKL5FHE.js → doctor-HLB63OT3.js} +14 -13
- package/dist/{energy-ZEGRDGJK.js → energy-VW77ZV3F.js} +13 -12
- package/dist/{events-LFLG2NA4.js → events-5GGAU7ZZ.js} +3 -3
- package/dist/{events-LFUAHTKC.js → events-V6DADTLI.js} +15 -14
- package/dist/{events-WCD2Z2HV.js → events-ZH54ZY4B.js} +2 -2
- package/dist/{extract-3MIHGXDX.js → extract-B5MVUVQ6.js} +13 -12
- package/dist/{face-JWRUZSZT.js → face-G7III3PJ.js} +13 -12
- package/dist/{feedback-7GKEQSNR.js → feedback-4DFZBTNB.js} +6 -6
- package/dist/{ffmpeg-3XMQNQFR.js → ffmpeg-2AGKTQG2.js} +8 -7
- package/dist/{figma-QQPOSC6N.js → figma-4K3CO4RJ.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -11
- package/dist/{frames-JUGYOXXB.js → frames-34HBSWM5.js} +15 -14
- package/dist/{generate-U5GGGI7G.js → generate-OGIXKYI4.js} +15 -14
- package/dist/{get-KQRDF6LW.js → get-JDO3MZ2A.js} +2 -2
- package/dist/{gpuPolicy-DYOKYL7P.js → gpuPolicy-UDII6SVQ.js} +8 -7
- package/dist/{grade-compare-EVFXFOYV.js → grade-compare-FX2ZBKQV.js} +34 -33
- package/dist/{heifImagePrep-H677DLTO.js → heifImagePrep-PPM72A76.js} +9 -8
- package/dist/{help-XUSQUMOX.js → help-4TFE5IRX.js} +1 -1
- package/dist/{history-LLJEG3KB.js → history-PDIPYZDO.js} +8 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-TM2S6RVA.js → info-QLAVL4D6.js} +7 -7
- package/dist/{init-ABJ7VDQV.js → init-IJTIPTM5.js} +28 -27
- package/dist/{ink-TFN2A4RE.js → ink-2MHROV35.js} +13 -12
- package/dist/{inspect-OIXXKBEP.js → inspect-YR63O7PQ.js} +32 -31
- package/dist/{installer-XCAV3J6A.js → installer-4L6AMT6A.js} +4 -4
- package/dist/{keyframes-GDYO4HII.js → keyframes-OVPB24JR.js} +7 -7
- package/dist/{lambda-SGAG3ET2.js → lambda-AP3DWGVZ.js} +12 -11
- package/dist/{layout-IDN2INXZ.js → layout-WFOB4NH7.js} +32 -31
- package/dist/{lint-VXDG3OVR.js → lint-QDXZ2JIL.js} +8 -8
- package/dist/{lintProject-54CNQ4HT.js → lintProject-BD6IM66W.js} +2 -2
- package/dist/{list-V5ZA6YH3.js → list-E34IXXFK.js} +2 -2
- package/dist/{localPage-WTACQ4HH.js → localPage-VHLJTQY2.js} +8 -7
- package/dist/{login-ZHZBLYD6.js → login-CEPXJR3A.js} +4 -4
- package/dist/{look-43IS7IVT.js → look-GC35DD7I.js} +13 -12
- package/dist/{manager-BT5X67BV.js → manager-KMK5LM5C.js} +9 -8
- package/dist/{manager-ENFYM32B.js → manager-QLCWYXYQ.js} +2 -1
- package/dist/{measure-OYIH5M4K.js → measure-BBUH4DRN.js} +11 -11
- package/dist/{media-treatment-U6QA2YV2.js → media-treatment-QVROLLSA.js} +28 -14
- package/dist/{media-use-Q25W5P26.js → media-use-UV6EIS3H.js} +1 -1
- package/dist/{models-QSUPPDL2.js → models-HO7UMXYV.js} +12 -11
- package/dist/{motionShot-PDSNKYAY.js → motionShot-3MU24L46.js} +18 -17
- package/dist/{normalize-audio-HIPTTGNT.js → normalize-audio-CLVSEOAU.js} +9 -9
- package/dist/{open-7VKL24QP.js → open-VIM437EH.js} +11 -11
- package/dist/{parakeetRunner-RHK7LU3T.js → parakeetRunner-36TVWXLQ.js} +14 -13
- package/dist/{pipeline-AMQUBBUD.js → pipeline-SKRS5WMZ.js} +12 -11
- package/dist/{play-DLP7TMRY.js → play-JNJEJZON.js} +22 -21
- package/dist/{preflight-R5WNJ5KC.js → preflight-YPDAPSAQ.js} +10 -9
- package/dist/{present-PPIXSHJO.js → present-C7EQ5LCW.js} +18 -17
- package/dist/{preview-RS25TO6I.js → preview-BPFZG3P3.js} +19 -18
- package/dist/{probe-LSVMXNWS.js → probe-JNHRDFQS.js} +12 -11
- package/dist/{producer-CNJP7NWH.js → producer-LHWVMF6E.js} +1 -1
- package/dist/{projectConfig-AXBTPJSK.js → projectConfig-3QUI7VQX.js} +6 -6
- package/dist/{publication-CZY3OVDJ.js → publication-BPQMAQ3J.js} +2 -2
- package/dist/{publish-DV3JALTW.js → publish-GQL3RUPQ.js} +10 -10
- package/dist/{remove-background-XBBLE6ZN.js → remove-background-I2UM53VK.js} +13 -12
- package/dist/{render-CH265MNE.js → render-IWL3CDAJ.js} +17 -16
- package/dist/{render-4NTEIX6C.js → render-YKWOGHXS.js} +5 -5
- package/dist/{render-GNBMXGA4.js → render-ZUDCNEET.js} +38 -37
- package/dist/{render-batch-STMZ5ZGQ.js → render-batch-CFOWBUY5.js} +5 -5
- package/dist/renderSetupWorker.js +4 -3
- package/dist/{resolver-YWKOIBSQ.js → resolver-LDVP5D6K.js} +4 -4
- package/dist/{run-A46NUKCV.js → run-MTGSR5HH.js} +2 -1
- package/dist/{screenshotCapture-RUDON2HB.js → screenshotCapture-HTGXPA7D.js} +1 -1
- package/dist/{sherpa-KFLH5Z7E.js → sherpa-47XSQ5SC.js} +13 -12
- package/dist/skills/media-use/scripts/lib/cube-validate.mjs +1 -1
- package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +9 -4
- package/dist/{skills-2OSBIIXY.js → skills-SA2B6X37.js} +5 -5
- package/dist/{skillsUpdateCheck-GBISX7YN.js → skillsUpdateCheck-V4SUWFZF.js} +3 -3
- package/dist/{snapshot-SSS7UVPI.js → snapshot-D5BJGYXC.js} +54 -41
- package/dist/{src-XCS2N6EG.js → src-PYUEICT3.js} +11 -10
- package/dist/{src-27JZLSBO.js → src-QSUFF6F6.js} +7 -6
- package/dist/{staticProjectServer-ASRDNNFG.js → staticProjectServer-4X3QJKBR.js} +20 -19
- package/dist/studio/assets/{hyperframes-player-CtwXT8nW.js → hyperframes-player-Dv5Ew1Dr.js} +1 -1
- package/dist/studio/assets/{index-CrRO-B3w.js → index-BvqtI0ko.js} +160 -160
- package/dist/studio/assets/{index-CNO8BPjF.js → index-hiL49K7x.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-YKUVSV4J.js → studio-api-F6GR7BOG.js} +12 -11
- package/dist/{studioServer-QUBL75RC.js → studioServer-Z5Y5JSD3.js} +55 -54
- package/dist/{sync-ILC4CCNG.js → sync-VFNQSZCF.js} +13 -12
- package/dist/{synthesize-DIT2SR3D.js → synthesize-YYT7UON6.js} +5 -3
- package/dist/{telemetry-TJI5LGLQ.js → telemetry-VVGZLWWF.js} +3 -3
- package/dist/{timeline-X2HQ6SWI.js → timeline-MURAFV53.js} +20 -19
- package/dist/{tokens-7MKCWG3Y.js → tokens-4BI3CVLA.js} +2 -2
- package/dist/{transcribe-ABCSYFPP.js → transcribe-LP5SBIA5.js} +11 -10
- package/dist/{transcribe-QCEDFMMB.js → transcribe-W6X6MWKO.js} +20 -19
- package/dist/{tts-ZLNNIS6W.js → tts-JHGGL7GL.js} +3 -2
- package/dist/{updateCheck-ZCRXVYWB.js → updateCheck-MKHH55H2.js} +2 -2
- package/dist/{upgrade-HQ4XGPMT.js → upgrade-7M7S4RSB.js} +2 -2
- package/dist/{urlDownloader-ONLQCQ7O.js → urlDownloader-3MPDWAYA.js} +7 -6
- package/dist/{validate-PTSOIX2X.js → validate-KDXR4CQK.js} +26 -25
- package/dist/{video-O2LMQZWJ.js → video-XDL4BHZ5.js} +10 -9
- package/dist/warmCheck.js +41 -40
- package/dist/warmCheckClient.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-NWU7H447.js +0 -5030
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DRNRROYF.js";
|
|
10
10
|
import {
|
|
11
11
|
HistoryBusyError,
|
|
12
12
|
beginArtifactCapture
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UGUYWTWD.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/artifactCapture.ts
|
|
16
16
|
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UI2ZEY3S.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CJQK4ZIE.js";
|
|
16
16
|
import {
|
|
17
17
|
AUDIT_SEEK_OPTIONS,
|
|
18
18
|
installPageFunctionGuard,
|
|
19
19
|
seekCompositionTimeline,
|
|
20
20
|
waitForCompositionFonts,
|
|
21
21
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5KW5SITK.js";
|
|
23
23
|
import {
|
|
24
24
|
gotoWhenSent
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RXFKSZN2.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CNI6P4N3.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2D2RRZT7.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonFileText
|
|
35
35
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-5Y36ONBR.js";
|
|
46
46
|
import {
|
|
47
47
|
failureMessage,
|
|
48
48
|
jsonFailure
|
|
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
|
|
|
709
709
|
});
|
|
710
710
|
}
|
|
711
711
|
async function bundleProjectHtml(projectDir) {
|
|
712
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
712
|
+
const { bundleToSingleHtml } = await import("./compiler-QWW2ROBH.js");
|
|
713
713
|
return bundleToSingleHtml(projectDir);
|
|
714
714
|
}
|
|
715
715
|
async function alignViewportToComposition(page, url) {
|
|
@@ -726,15 +726,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
726
726
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
727
727
|
}
|
|
728
728
|
async function runLayoutAudit(projectDir, opts) {
|
|
729
|
-
const { ensureBrowser } = await import("./manager-
|
|
729
|
+
const { ensureBrowser } = await import("./manager-QLCWYXYQ.js");
|
|
730
730
|
const puppeteer = await import("puppeteer-core");
|
|
731
|
-
const { buildChromeArgs } = await import("./src-
|
|
731
|
+
const { buildChromeArgs } = await import("./src-QSUFF6F6.js");
|
|
732
732
|
const {
|
|
733
733
|
assertWebGpuAdapterAvailable,
|
|
734
734
|
compositionRequiresWebGpu,
|
|
735
735
|
resolveLocalBrowserGpuMode,
|
|
736
736
|
resolveLocalWebGpu
|
|
737
|
-
} = await import("./gpuPolicy-
|
|
737
|
+
} = await import("./gpuPolicy-UDII6SVQ.js");
|
|
738
738
|
const html = await bundleProjectHtml(projectDir);
|
|
739
739
|
const server = await serveStaticProjectHtml(
|
|
740
740
|
projectDir,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
Semaphore,
|
|
9
9
|
prepareHeifImageInputs,
|
|
10
10
|
withMediaProbeSlot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AJE3DDAK.js";
|
|
12
12
|
import {
|
|
13
13
|
EncoderInterruptedError,
|
|
14
14
|
encoderFailureError,
|
|
15
15
|
prepareAnimatedGifInputs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J6NBMUDH.js";
|
|
17
17
|
import {
|
|
18
18
|
GENERIC_FAMILIES,
|
|
19
19
|
collectFontFamilyCustomProperties,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
iterateFontFamilyDeclarations,
|
|
22
22
|
normalizeSystemFontPrimaryFamilies,
|
|
23
23
|
resolveFontFamilyDeclarationFamilies
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Q3SKYJGG.js";
|
|
25
25
|
import {
|
|
26
26
|
parseEncoderOptions
|
|
27
27
|
} from "./chunk-G6OKQMJI.js";
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
videoAudioId,
|
|
181
181
|
videoStartOnMediaTimeline,
|
|
182
182
|
writeCapturedFrame
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-IUUQ22F4.js";
|
|
184
184
|
import {
|
|
185
185
|
assignBundledRuntimeCompositionIds,
|
|
186
186
|
emitMountedModuleScripts,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
parsesAsScript,
|
|
193
193
|
prepareFlattenedInnerRoot,
|
|
194
194
|
stripSdrPngColourTags
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-MPRXE6II.js";
|
|
196
196
|
import {
|
|
197
197
|
collectScratchLeftovers,
|
|
198
198
|
removeScratch,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
parseVfxChain,
|
|
212
212
|
resolveAuthoredTimingWindow,
|
|
213
213
|
toFps
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-WP4WBVCB.js";
|
|
215
215
|
import {
|
|
216
216
|
gsapCdnDist,
|
|
217
217
|
normalizeGsapBaseUrl
|
|
@@ -250,7 +250,7 @@ import {
|
|
|
250
250
|
sourceTimeAt,
|
|
251
251
|
styleElementsFor,
|
|
252
252
|
timeAtSourceTime
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-4PNFWK4W.js";
|
|
254
254
|
import {
|
|
255
255
|
TRANSITIONS,
|
|
256
256
|
convertTransfer,
|
|
@@ -266,13 +266,13 @@ import {
|
|
|
266
266
|
import {
|
|
267
267
|
lintHyperframeHtml,
|
|
268
268
|
resolveReferencedStart
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-JAU6XH2U.js";
|
|
270
270
|
import {
|
|
271
271
|
isUnresolvedAssetPlaceholder,
|
|
272
272
|
readProjectFile,
|
|
273
273
|
readTextFile,
|
|
274
274
|
resolveProjectRelativeSrc
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-WVRAFHJU.js";
|
|
276
276
|
import {
|
|
277
277
|
CSS_URL_RE,
|
|
278
278
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -7185,7 +7185,7 @@ async function readLocalFont(absPath) {
|
|
|
7185
7185
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
7186
7186
|
}
|
|
7187
7187
|
async function embedLocalFontFaces(html, projectDir) {
|
|
7188
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
7188
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-H4RC6TOJ.js");
|
|
7189
7189
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
7190
7190
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
7191
7191
|
let result = html;
|
|
@@ -16803,7 +16803,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
16803
16803
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
16804
16804
|
if (probeResult.probeSession) {
|
|
16805
16805
|
try {
|
|
16806
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
16806
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-QSUFF6F6.js");
|
|
16807
16807
|
await closeCaptureSession2(probeResult.probeSession);
|
|
16808
16808
|
} catch (err) {
|
|
16809
16809
|
log.warn("[plan] probe session close failed", {
|
|
@@ -20177,7 +20177,7 @@ function startServer(options = {}) {
|
|
|
20177
20177
|
});
|
|
20178
20178
|
async function shutdown(signal) {
|
|
20179
20179
|
log.info(`Received ${signal}, shutting down`);
|
|
20180
|
-
const { drainBrowserPool } = await import("./src-
|
|
20180
|
+
const { drainBrowserPool } = await import("./src-QSUFF6F6.js");
|
|
20181
20181
|
await drainBrowserPool().catch(() => {
|
|
20182
20182
|
});
|
|
20183
20183
|
const handle = await Promise.race([
|
|
@@ -25,8 +25,11 @@ import {
|
|
|
25
25
|
isSafePath,
|
|
26
26
|
mkdirWithinProject
|
|
27
27
|
} from "./chunk-OFQWTKPW.js";
|
|
28
|
+
import {
|
|
29
|
+
hyperframesCacheDir
|
|
30
|
+
} from "./chunk-766MOTIZ.js";
|
|
28
31
|
|
|
29
|
-
// ../studio-server/dist/chunk-
|
|
32
|
+
// ../studio-server/dist/chunk-3GSVCYB4.js
|
|
30
33
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
31
34
|
import { mkdir as mkdir2, readdir as readdir4, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
|
|
32
35
|
import {
|
|
@@ -39,7 +42,6 @@ import {
|
|
|
39
42
|
realpathSync,
|
|
40
43
|
rmSync as rmSync3
|
|
41
44
|
} from "fs";
|
|
42
|
-
import { homedir } from "os";
|
|
43
45
|
import { dirname as dirname5, isAbsolute as isAbsolute5, join as join8, relative as relative5, resolve as resolve8, sep as sep5 } from "path";
|
|
44
46
|
import { createHash, randomUUID } from "crypto";
|
|
45
47
|
import { readFileSync as readFileSync2 } from "fs";
|
|
@@ -1792,7 +1794,7 @@ function referencedHashes(log, current) {
|
|
|
1792
1794
|
}
|
|
1793
1795
|
return keep;
|
|
1794
1796
|
}
|
|
1795
|
-
var DEFAULT_HISTORY_ROOT =
|
|
1797
|
+
var DEFAULT_HISTORY_ROOT = hyperframesCacheDir("history");
|
|
1796
1798
|
var MAX_WINDOW_IDLE_MS = 10 * 6e4;
|
|
1797
1799
|
var UNDO_MODES = ["just-this", "back-to-before", "keep-later-edits"];
|
|
1798
1800
|
var OUTSIDE = { kind: "outside", name: "Outside" };
|
|
@@ -6,33 +6,33 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UCKQN6BX.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K3SQVEIB.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RT2EBZP2.js";
|
|
20
20
|
import {
|
|
21
21
|
runFfmpeg
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Z364Z3IE.js";
|
|
23
23
|
import {
|
|
24
24
|
initialModelForLanguage,
|
|
25
25
|
transcribe
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B4EC7MLH.js";
|
|
27
27
|
import {
|
|
28
28
|
createRenderCancellationScope,
|
|
29
29
|
stoppedByCancelSignal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QV36OSND.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_MODEL,
|
|
33
33
|
findWhisper,
|
|
34
34
|
isWhisperUnavailable
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VTKVQIH2.js";
|
|
36
36
|
import {
|
|
37
37
|
formatSrt,
|
|
38
38
|
formatVtt,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L47UDYP3.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YK25FG4Q.js";
|
|
19
19
|
import {
|
|
20
20
|
runCancellableProcess
|
|
21
21
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -12,17 +12,20 @@ import {
|
|
|
12
12
|
} from "./chunk-R4EWRIDL.js";
|
|
13
13
|
import {
|
|
14
14
|
findFFmpeg
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L47UDYP3.js";
|
|
16
16
|
import {
|
|
17
17
|
stoppableExecFile
|
|
18
18
|
} from "./chunk-HU2SPFNG.js";
|
|
19
|
+
import {
|
|
20
|
+
hyperframesCacheDir
|
|
21
|
+
} from "./chunk-766MOTIZ.js";
|
|
19
22
|
|
|
20
23
|
// src/whisper/manager.ts
|
|
21
24
|
import { execFileSync } from "child_process";
|
|
22
25
|
import { existsSync, mkdirSync, readdirSync, rmSync, statSync } from "fs";
|
|
23
|
-
import {
|
|
26
|
+
import { platform } from "os";
|
|
24
27
|
import { join } from "path";
|
|
25
|
-
var MODELS_DIR =
|
|
28
|
+
var MODELS_DIR = hyperframesCacheDir("whisper", "models");
|
|
26
29
|
var DEFAULT_MODEL = "small.en";
|
|
27
30
|
var WhisperUnavailableError = class extends Error {
|
|
28
31
|
code = "WHISPER_UNAVAILABLE";
|
|
@@ -123,7 +126,7 @@ function findFromSystem() {
|
|
|
123
126
|
}
|
|
124
127
|
return void 0;
|
|
125
128
|
}
|
|
126
|
-
var BUILD_DIR =
|
|
129
|
+
var BUILD_DIR = hyperframesCacheDir("whisper", "whisper.cpp");
|
|
127
130
|
var WHISPER_REPO = "https://github.com/ggml-org/whisper.cpp.git";
|
|
128
131
|
function findBuiltBinary() {
|
|
129
132
|
for (const p of [
|
|
@@ -140,10 +143,9 @@ async function buildFromSource(onProgress, signal) {
|
|
|
140
143
|
}
|
|
141
144
|
if (!existsSync(BUILD_DIR)) {
|
|
142
145
|
onProgress?.("Downloading whisper.cpp...");
|
|
143
|
-
mkdirSync(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
await stoppableExecFile("git", ["clone", "--depth", "1", WHISPER_REPO, BUILD_DIR], {
|
|
146
|
+
mkdirSync(BUILD_DIR, { recursive: true });
|
|
147
|
+
await stoppableExecFile("git", ["clone", "--depth", "1", WHISPER_REPO, "."], {
|
|
148
|
+
cwd: BUILD_DIR,
|
|
147
149
|
stdio: "ignore",
|
|
148
150
|
timeout: 6e4,
|
|
149
151
|
env: { ...process.env, GIT_TERMINAL_PROMPT: "0" },
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3PZ4A3EL.js";
|
|
21
21
|
import {
|
|
22
22
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
23
23
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -38,11 +38,11 @@ import {
|
|
|
38
38
|
mergeSampleTimes,
|
|
39
39
|
parseAt,
|
|
40
40
|
readMotionSpec
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TWFKOHB5.js";
|
|
42
42
|
import {
|
|
43
43
|
collectProjectMedia,
|
|
44
44
|
mediaPath
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-Z5LQYHUG.js";
|
|
46
46
|
import {
|
|
47
47
|
findingAtRoot,
|
|
48
48
|
findingElementKey,
|
|
@@ -51,16 +51,16 @@ import {
|
|
|
51
51
|
} from "./chunk-TQBQYO4L.js";
|
|
52
52
|
import {
|
|
53
53
|
captureArtifactRevision
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-TW2GRPKX.js";
|
|
55
55
|
import {
|
|
56
56
|
trackLintRun
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ZIOSKQ5M.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-UI2ZEY3S.js";
|
|
61
61
|
import {
|
|
62
62
|
recordArtifacts
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-UGUYWTWD.js";
|
|
64
64
|
import {
|
|
65
65
|
withRemainingBudget
|
|
66
66
|
} from "./chunk-YGGZ23BB.js";
|
|
@@ -69,14 +69,14 @@ import {
|
|
|
69
69
|
closeManagedBrowser,
|
|
70
70
|
onStopSignal,
|
|
71
71
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2D2RRZT7.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-Z4P4Y2FC.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-ZVSU727V.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
82
|
} from "./chunk-ZFQSXMX6.js";
|
|
@@ -96,14 +96,14 @@ import {
|
|
|
96
96
|
extractMediaMetadata,
|
|
97
97
|
findHdrAutoPromotion,
|
|
98
98
|
gradingKeepsSdr
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-IUUQ22F4.js";
|
|
100
100
|
import {
|
|
101
101
|
lintProject,
|
|
102
102
|
shouldBlockRender
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-JAU6XH2U.js";
|
|
104
104
|
import {
|
|
105
105
|
withMeta
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-5Y36ONBR.js";
|
|
107
107
|
import {
|
|
108
108
|
recordLastCheck
|
|
109
109
|
} from "./chunk-BLBMPEBX.js";
|
|
@@ -2362,7 +2362,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2362
2362
|
};
|
|
2363
2363
|
}
|
|
2364
2364
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2365
|
-
const module = await import("./checkBrowser-
|
|
2365
|
+
const module = await import("./checkBrowser-LNXZAIEZ.js");
|
|
2366
2366
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2367
2367
|
}
|
|
2368
2368
|
var adoptedBrowser;
|
|
@@ -2376,7 +2376,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2376
2376
|
if (adopted) return adopted;
|
|
2377
2377
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2378
2378
|
if (html === void 0) return void 0;
|
|
2379
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2379
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-MS2HZXRW.js");
|
|
2380
2380
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2381
2381
|
}
|
|
2382
2382
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2388,11 +2388,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2388
2388
|
return relative(projectDir, path);
|
|
2389
2389
|
}
|
|
2390
2390
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2391
|
-
const module = await import("./checkBrowser-
|
|
2391
|
+
const module = await import("./checkBrowser-LNXZAIEZ.js");
|
|
2392
2392
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2393
2393
|
}
|
|
2394
2394
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2395
|
-
const module = await import("./checkBrowser-
|
|
2395
|
+
const module = await import("./checkBrowser-LNXZAIEZ.js");
|
|
2396
2396
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2397
2397
|
}
|
|
2398
2398
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2414,7 +2414,7 @@ function collectMedia(project) {
|
|
|
2414
2414
|
return collectProjectMedia(project.dir);
|
|
2415
2415
|
}
|
|
2416
2416
|
async function inspectAudio(project, media) {
|
|
2417
|
-
const module = await import("./checkAudio-
|
|
2417
|
+
const module = await import("./checkAudio-DHHNBUVG.js");
|
|
2418
2418
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2419
2419
|
}
|
|
2420
2420
|
function audioCheckFailure(project, error) {
|
|
@@ -2488,7 +2488,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2488
2488
|
}
|
|
2489
2489
|
},
|
|
2490
2490
|
async prepareMedia(project, options) {
|
|
2491
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2491
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-TPVRBZIK.js");
|
|
2492
2492
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2493
2493
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2494
2494
|
},
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
// ../parsers/dist/assetResolution.js
|
|
12
12
|
import { closeSync, constants, existsSync, fstatSync, openSync, readFileSync } from "fs";
|
|
13
13
|
import { isAbsolute as isAbsolute2, join as join2, posix as posix2, relative as relative2, resolve as resolve3, sep } from "path";
|
|
14
|
+
import { fileURLToPath } from "url";
|
|
14
15
|
import { posix } from "path";
|
|
15
16
|
function readAttributeValue(html, at) {
|
|
16
17
|
while (/[\t\n\f\r ]/.test(html.charAt(at))) at++;
|
|
@@ -218,8 +219,21 @@ function reanchoredCandidates(variant, baseDir, compiledDir) {
|
|
|
218
219
|
if (!stripped || stripped === variant || stripped.startsWith("..")) return [];
|
|
219
220
|
return compiledDir ? [join2(compiledDir, stripped), join2(baseDir, stripped)] : [join2(baseDir, stripped)];
|
|
220
221
|
}
|
|
222
|
+
function fileUrlAsPath(src) {
|
|
223
|
+
if (!/^file:/i.test(src)) return src;
|
|
224
|
+
try {
|
|
225
|
+
return fileURLToPath(src);
|
|
226
|
+
} catch {
|
|
227
|
+
return src;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
function gitBashFile(src) {
|
|
231
|
+
if (process.platform !== "win32" || !/^\/[a-zA-Z]\//.test(src)) return void 0;
|
|
232
|
+
const path = resolve3(`${src[1]}:${src.slice(2)}`);
|
|
233
|
+
return existsSync(path) ? path : void 0;
|
|
234
|
+
}
|
|
221
235
|
function resolveProjectRelativeSrc(src, baseDir, compiledDir) {
|
|
222
|
-
const cleanSrc = cleanAssetUrl(src);
|
|
236
|
+
const cleanSrc = fileUrlAsPath(cleanAssetUrl(src));
|
|
223
237
|
if (isAbsolute2(cleanSrc) && existsSync(cleanSrc)) return cleanSrc;
|
|
224
238
|
const candidates = /* @__PURE__ */ new Set();
|
|
225
239
|
for (const variant of decodeUrlPathVariants(cleanSrc)) {
|
|
@@ -229,7 +243,7 @@ function resolveProjectRelativeSrc(src, baseDir, compiledDir) {
|
|
|
229
243
|
if (compiledDir) candidates.add(join2(compiledDir, variant));
|
|
230
244
|
candidates.add(join2(baseDir, variant));
|
|
231
245
|
}
|
|
232
|
-
return [...candidates].find(existsSync) ?? join2(baseDir, cleanSrc);
|
|
246
|
+
return [...candidates].find(existsSync) ?? gitBashFile(cleanSrc) ?? join2(baseDir, cleanSrc);
|
|
233
247
|
}
|
|
234
248
|
function maskRange(src, pattern) {
|
|
235
249
|
return src.replace(pattern, (m) => " ".repeat(m.length));
|
|
@@ -7,12 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
downloadFile
|
|
9
9
|
} from "./chunk-R4EWRIDL.js";
|
|
10
|
+
import {
|
|
11
|
+
hyperframesCacheDir
|
|
12
|
+
} from "./chunk-766MOTIZ.js";
|
|
10
13
|
|
|
11
14
|
// src/tts/manager.ts
|
|
12
15
|
import { existsSync, mkdirSync } from "fs";
|
|
13
|
-
import { homedir } from "os";
|
|
14
16
|
import { join } from "path";
|
|
15
|
-
var CACHE_DIR =
|
|
17
|
+
var CACHE_DIR = hyperframesCacheDir("tts");
|
|
16
18
|
var MODELS_DIR = join(CACHE_DIR, "models");
|
|
17
19
|
var VOICES_DIR = join(CACHE_DIR, "voices");
|
|
18
20
|
var DEFAULT_MODEL = "kokoro-v1.0";
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MPRXE6II.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WP4WBVCB.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-JAU6XH2U.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|
|
@@ -16,6 +16,9 @@ import {
|
|
|
16
16
|
managedChromeVersion,
|
|
17
17
|
pickSharedShell
|
|
18
18
|
} from "./chunk-WE42NVH7.js";
|
|
19
|
+
import {
|
|
20
|
+
hyperframesCacheDir
|
|
21
|
+
} from "./chunk-766MOTIZ.js";
|
|
19
22
|
import {
|
|
20
23
|
normalizeErrorMessage
|
|
21
24
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -146,8 +149,8 @@ Fix: run \`npm install\` or \`bun install\` to restore missing packages, then re
|
|
|
146
149
|
);
|
|
147
150
|
}
|
|
148
151
|
}
|
|
149
|
-
var CACHE_ROOT_DIR =
|
|
150
|
-
var CACHE_DIR =
|
|
152
|
+
var CACHE_ROOT_DIR = hyperframesCacheDir();
|
|
153
|
+
var CACHE_DIR = hyperframesCacheDir("chrome");
|
|
151
154
|
var ARCHIVE_PLUS_UNPACKED_SHELL_MB = 512;
|
|
152
155
|
var PUPPETEER_CACHE_DIR = join(homedir(), ".cache", "puppeteer", "chrome-headless-shell");
|
|
153
156
|
var INSTALL_LOCK_DIR = join(CACHE_ROOT_DIR, ".chrome.install.lock");
|