hyperframes 0.8.198 → 0.8.199
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-KEYBYC4P.js → add-7LA5CGDM.js} +12 -12
- package/dist/{animatedGifPrep-Z5BJNWKN.js → animatedGifPrep-NB2MZTMQ.js} +6 -6
- package/dist/api.js +14 -14
- package/dist/{asset-I4SWXLQ6.js → asset-4BIOI6GN.js} +2 -2
- package/dist/{assetCataloger-FBZ36VTV.js → assetCataloger-TX5KL5VV.js} +6 -6
- package/dist/{audio-I4Z5PT7P.js → audio-ZGMIIDNU.js} +13 -13
- package/dist/{auth-CKN546QV.js → auth-OQ5PWEUG.js} +1 -1
- package/dist/{autoUpdate-AKOIVDJZ.js → autoUpdate-QREPD6I4.js} +3 -3
- package/dist/{backgroundChecks-5BJIAXAC.js → backgroundChecks-5CJPJX2O.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-QY2RN3J2.js → batchRender-BW2ZK4MA.js} +3 -3
- package/dist/{beats-UEGEBTZ6.js → beats-I5XARMDB.js} +9 -9
- package/dist/{benchmark-BNGEOBEM.js → benchmark-S2WWY4U7.js} +9 -9
- package/dist/{browser-DL2STX2A.js → browser-PAXVQYQZ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-ULZJ7GHE.js → bundleWithLocalizedFonts-3ED26VCR.js} +2 -2
- package/dist/{capture-UNI6ZOPZ.js → capture-23574YLP.js} +9 -9
- package/dist/{capture-DHYANXXU.js → capture-OVITDMKK.js} +2 -2
- package/dist/{captureCompositionFrame-PS5KDJXF.js → captureCompositionFrame-KAUUHCOL.js} +11 -11
- package/dist/{catalog-UF3CDKXY.js → catalog-CM3VXSQE.js} +12 -12
- package/dist/{catch-up-DIESQDJZ.js → catch-up-HMFREOC2.js} +5 -5
- package/dist/{check-WZ6L42CH.js → check-CYJZ6CGT.js} +34 -34
- package/dist/{checkBrowser-7J6VC7D6.js → checkBrowser-GZJ3W2OP.js} +29 -29
- package/dist/{chunk-MMJ3L4XQ.js → chunk-2KZSKIYY.js} +1 -1
- package/dist/chunk-2ONVJ7NT.js +3901 -0
- package/dist/{chunk-JTTWK6IM.js → chunk-3CFTCM7X.js} +1 -1
- package/dist/{chunk-WA6HZFDD.js → chunk-4QG64APO.js} +2 -2
- package/dist/{chunk-4WDOTQDY.js → chunk-65HUC64P.js} +1 -1
- package/dist/{chunk-JBTNMFFR.js → chunk-6RRO4GE3.js} +1 -1
- package/dist/{chunk-F2ZAINSR.js → chunk-7QB46WTF.js} +1 -1
- package/dist/{chunk-7W7F3KBH.js → chunk-7SKOZHIY.js} +2 -2
- package/dist/{chunk-6NSH5EAO.js → chunk-7YZME6DE.js} +1 -1
- package/dist/{chunk-TXJKDBUB.js → chunk-AHZLNYZY.js} +1 -1
- package/dist/{chunk-ISZK5IJM.js → chunk-BFYDVTD3.js} +1 -1
- package/dist/{chunk-O3KFO66O.js → chunk-BYLC52GJ.js} +1 -1
- package/dist/{chunk-56ZYGITX.js → chunk-CMHVLASW.js} +1 -1
- package/dist/{chunk-2CGWIIPE.js → chunk-D5CZCYYT.js} +2 -2
- package/dist/{chunk-6WZ6HNK2.js → chunk-DMRDGGNM.js} +6 -6
- package/dist/{chunk-GJA6QSSQ.js → chunk-DWUOGV3M.js} +3 -3
- package/dist/{chunk-N4NKPFKQ.js → chunk-FHDKRWQN.js} +54 -16
- package/dist/{chunk-P3ZZD4SK.js → chunk-FV5GKRAO.js} +3 -3
- package/dist/{chunk-OU6YITCR.js → chunk-FZ2VPLXL.js} +2 -2
- package/dist/{chunk-FXDYR644.js → chunk-GQACWAOC.js} +1 -1
- package/dist/{chunk-4UAUXH77.js → chunk-HK45GJMI.js} +648 -422
- package/dist/{chunk-EUZB3ZV3.js → chunk-HOAXHVRR.js} +9 -9
- package/dist/{chunk-MFDZK3X5.js → chunk-HRZ6ZBKO.js} +2 -2
- package/dist/{chunk-YUODO5H2.js → chunk-IC6BO4GU.js} +25 -2
- package/dist/{chunk-FCY375PD.js → chunk-IELYOY6S.js} +3 -3
- package/dist/{chunk-HBPFY3KU.js → chunk-ILFDFMYJ.js} +3 -3
- package/dist/{chunk-5I74DQPC.js → chunk-IMVTN367.js} +2 -2
- package/dist/{chunk-7OFK6XMH.js → chunk-JFIEV2J4.js} +7 -7
- package/dist/{chunk-HVF7K2T3.js → chunk-JN63IPHT.js} +1 -1
- package/dist/{chunk-ESJYD4AE.js → chunk-K5O6JTJQ.js} +5 -5
- package/dist/{chunk-DZWTK3HJ.js → chunk-K65XUUJX.js} +1 -1
- package/dist/{chunk-BPU22WKT.js → chunk-KFZPWUPN.js} +7 -7
- package/dist/{chunk-F2K72QNO.js → chunk-KG3BVLA4.js} +1 -1
- package/dist/{chunk-ZSO7UVC5.js → chunk-L6FG62QM.js} +40 -24
- package/dist/{chunk-JSLQZKXA.js → chunk-LPDNR3R4.js} +2 -2
- package/dist/{chunk-AFQ777YP.js → chunk-M2GO2AAS.js} +1 -1
- package/dist/{chunk-O2CO6QNK.js → chunk-M6IMQBK6.js} +1 -1
- package/dist/{chunk-7FT7E7OU.js → chunk-NUZMP7SV.js} +17 -17
- package/dist/{chunk-2FT5WJPY.js → chunk-NY2OH5XD.js} +1 -1
- package/dist/{chunk-O2SA7HOG.js → chunk-OZVRCLEN.js} +2 -2
- package/dist/{chunk-UBOBOWWB.js → chunk-PO5PAROC.js} +3 -3
- package/dist/{chunk-6NLPPKBO.js → chunk-PSX5SF2N.js} +36 -0
- package/dist/{chunk-6BTMNV3R.js → chunk-QH4425AL.js} +1 -1
- package/dist/{chunk-4V2OO56A.js → chunk-QYOUK3UO.js} +1 -1
- package/dist/{chunk-PKQ3GBDU.js → chunk-RYCANWOM.js} +4 -4
- package/dist/{chunk-DFL4XSQZ.js → chunk-S5WSJVHP.js} +3 -3
- package/dist/{chunk-NDBOBZRL.js → chunk-SQQZUUK6.js} +9 -9
- package/dist/{chunk-UUG3DETI.js → chunk-T4IJMVCB.js} +1 -1
- package/dist/{chunk-C6WBKEOI.js → chunk-TF7LCULS.js} +2 -2
- package/dist/{chunk-ORNE2BC4.js → chunk-TTWFTEUG.js} +5 -5
- package/dist/{chunk-GHO33VCP.js → chunk-TVR744AS.js} +2 -2
- package/dist/{chunk-XIYNIHGQ.js → chunk-UBSAHYWA.js} +2 -2
- package/dist/{chunk-YP5XWK7M.js → chunk-UMBCYIFE.js} +1 -1
- package/dist/{chunk-YEVU5W5G.js → chunk-UVQLSMAR.js} +27 -4
- package/dist/{chunk-256C5DYC.js → chunk-VWPU6URV.js} +5 -5
- package/dist/{chunk-U66P7HPN.js → chunk-XP55QWOB.js} +13 -13
- package/dist/{chunk-UMCU32QC.js → chunk-XVZZQVT4.js} +1 -1
- package/dist/{chunk-WY67Q2QY.js → chunk-YAMRODVV.js} +3 -2
- package/dist/{chunk-Y2I7KT2R.js → chunk-Z6Q4ASCD.js} +107 -44
- package/dist/{clean-2W5OGTMI.js → clean-QX6LKOWJ.js} +15 -15
- package/dist/cli.js +54 -54
- package/dist/{cloud-AJK5OLJM.js → cloud-ASA7Y3HA.js} +4 -4
- package/dist/{cloudrun-HAAYNZWP.js → cloudrun-LK4GJWUZ.js} +4 -4
- package/dist/{compare-KRY3JTXM.js → compare-426Z2ND6.js} +26 -26
- package/dist/{compiler-47QXFQF4.js → compiler-WER7FC5O.js} +3 -3
- package/dist/{component-XQR75LCM.js → component-HTDWZMEG.js} +3 -3
- package/dist/{compositions-QJZQZJFB.js → compositions-EKRLQ5TU.js} +11 -11
- package/dist/{delete-PPOMPFZG.js → delete-KHXM6R7A.js} +3 -3
- package/dist/{deploy-IKVAHO42.js → deploy-WJ5JQJBD.js} +1 -1
- package/dist/{dist-JBRYL3MH.js → dist-EYJATCTF.js} +2 -2
- package/dist/{dist-XPD7X6JB.js → dist-ONHJ6ZDA.js} +1 -1
- package/dist/{doctor-TM2B4PLJ.js → doctor-NB3G2GDG.js} +11 -11
- package/dist/{events-UFQAFJ7A.js → events-6EL5NIJV.js} +3 -3
- package/dist/{events-QERYXJVB.js → events-LH6W5ZCV.js} +4 -4
- package/dist/{feedback-X6GA5Z2Y.js → feedback-2GNY725M.js} +7 -7
- package/dist/{ffmpeg-G6RMIP5K.js → ffmpeg-XX3O53B3.js} +6 -6
- package/dist/{figma-WAM4RJUC.js → figma-X7KKOOXB.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-7TO44JK3.js → get-M57U7QCX.js} +3 -3
- package/dist/{gpuPolicy-IMLRNUEJ.js → gpuPolicy-GIBBYBI5.js} +6 -6
- package/dist/{grade-compare-TCUAQKW4.js → grade-compare-XNY37UYQ.js} +27 -27
- package/dist/{help-GSPNIWE2.js → help-ZXSPZBUG.js} +1 -1
- package/dist/{history-SFC4KDFT.js → history-G5B4IPBH.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +59 -59
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-YBSWR4VE.js → info-ZWZDG54W.js} +8 -8
- package/dist/{init-RJCZWSTH.js → init-F4XMU6SV.js} +27 -27
- package/dist/{inspect-R6C5Q7WI.js → inspect-6VXFMQRR.js} +27 -27
- package/dist/{installer-BJQSDYHE.js → installer-4M3Y5T5F.js} +4 -4
- package/dist/{keyframes-UJOV3QTF.js → keyframes-3U466AWX.js} +7 -7
- package/dist/{lambda-645URVF4.js → lambda-OPSTAEF6.js} +6 -6
- package/dist/{layout-MPGHNIY6.js → layout-B3MXD3F3.js} +27 -27
- package/dist/{lint-BWYP7H5P.js → lint-TVOEGW63.js} +8 -8
- package/dist/{lintProject-Q4ZVEF3G.js → lintProject-FKPKSU6M.js} +1 -1
- package/dist/{list-YBOALPIY.js → list-M5GQSFVT.js} +3 -3
- package/dist/{login-Z3JYXJKB.js → login-HBHGZIDN.js} +4 -4
- package/dist/{manager-CCRWUMQO.js → manager-VLIJARMF.js} +7 -7
- package/dist/{media-treatment-4P54XYM7.js → media-treatment-RQZ437VS.js} +13 -13
- package/dist/{models-3LIZKQPH.js → models-2CCKVBTR.js} +10 -10
- package/dist/{motionShot-22NRFNLM.js → motionShot-3IFRSICA.js} +14 -14
- package/dist/{normalize-audio-C6JTJBZE.js → normalize-audio-23H2MBDP.js} +5 -5
- package/dist/{open-5KOE2UWD.js → open-J33KT3G7.js} +12 -12
- package/dist/{parakeetRunner-67JLWWPE.js → parakeetRunner-QTXNEMVY.js} +11 -11
- package/dist/{pipeline-QZQRLXSV.js → pipeline-2ECWWEBD.js} +7 -7
- package/dist/{play-ID4KS6LH.js → play-G5777L7A.js} +18 -18
- package/dist/{preflight-DVW7XWEO.js → preflight-NVFB4HXQ.js} +7 -7
- package/dist/{present-CDJCTLFJ.js → present-4EI2BE4Z.js} +14 -14
- package/dist/{preview-KDMHWG3L.js → preview-HYCIDZ52.js} +18 -18
- package/dist/{producer-QPUWC6S3.js → producer-6JAATJVD.js} +1 -1
- package/dist/{projectConfig-VMVZXMC6.js → projectConfig-XPGN76VV.js} +6 -6
- package/dist/{publication-VBXDWVC7.js → publication-YRZ7EBUV.js} +2 -2
- package/dist/{publish-XDNOVFIZ.js → publish-UIDHN7KD.js} +8 -8
- package/dist/{remove-background-OQUEVC4I.js → remove-background-LPQP4WBN.js} +8 -8
- package/dist/{render-MMEZAOL7.js → render-DT3OCUCV.js} +117 -37
- package/dist/{render-2MVVITHT.js → render-LFJQNVCK.js} +5 -5
- package/dist/{render-L5DUPSDJ.js → render-NZSNQFYW.js} +14 -14
- package/dist/{render-batch-EZRFUUHG.js → render-batch-QI2A45WH.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-E6OFNCLG.js → resolver-4YDXG4PP.js} +4 -4
- package/dist/{sherpa-MQUVKCRX.js → sherpa-XLKWFYFO.js} +10 -10
- package/dist/skills/media-use/references/mixing.md +1 -0
- package/dist/{skills-Y7AATMSQ.js → skills-OVVLZHF5.js} +6 -6
- package/dist/{skillsUpdateCheck-K7DSQJGU.js → skillsUpdateCheck-Y2UQA7I5.js} +4 -4
- package/dist/{snapshot-DZWLAQAW.js → snapshot-7NVB5WSO.js} +31 -31
- package/dist/{src-RRTSNZLM.js → src-ACAFJXAJ.js} +7 -7
- package/dist/{src-7FSQZKIY.js → src-QQPHMIJ7.js} +5 -5
- package/dist/{staticProjectServer-J2IXFINI.js → staticProjectServer-JUN6BRTW.js} +14 -14
- package/dist/studio/assets/{hyperframes-player-DDoxfTBd.js → hyperframes-player-BDtBfwof.js} +1 -1
- package/dist/studio/assets/{index-D9WoRF2S.js → index--W_0fuR8.js} +1 -1
- package/dist/studio/assets/{index-BAKWbo0z.js → index-BFfBBQMu.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-7BNDWZG5.js → studio-api-D76Q4Q2N.js} +7 -7
- package/dist/{studioServer-FBRUE3XK.js → studioServer-HG3RFAOY.js} +45 -45
- package/dist/{telemetry-4K6CPMNT.js → telemetry-IHU4HL3R.js} +1 -1
- package/dist/{telemetry-OOQVUJGL.js → telemetry-Q2EHWVO4.js} +4 -4
- package/dist/{timeline-U6MIU6JP.js → timeline-WDQCCETQ.js} +16 -16
- package/dist/{tokens-3ZPX6WKB.js → tokens-2GJWP2HY.js} +2 -2
- package/dist/{transcribe-VPGQV5TG.js → transcribe-SRLAY6RG.js} +9 -9
- package/dist/{transcribe-QDBXRADM.js → transcribe-Z63Y53GQ.js} +16 -16
- package/dist/{updateCheck-MN3QTSGM.js → updateCheck-MJ6NDE3T.js} +3 -3
- package/dist/{upgrade-4FVRTMU5.js → upgrade-D5XEX3XE.js} +3 -3
- package/dist/{urlDownloader-UTVBU5IQ.js → urlDownloader-R7BZ47TY.js} +5 -5
- package/dist/{validate-NN43T4XX.js → validate-F5BIDZLN.js} +21 -21
- package/dist/{video-VQ67QXES.js → video-QUG5OG5Q.js} +6 -6
- package/dist/warmCheck.js +34 -34
- package/package.json +1 -1
- package/dist/chunk-UYBXHV7R.js +0 -3901
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
readConfig,
|
|
12
12
|
readConfigFresh,
|
|
13
13
|
writeConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PSX5SF2N.js";
|
|
15
15
|
import {
|
|
16
16
|
isDevMode
|
|
17
17
|
} from "./chunk-ISN5GRYI.js";
|
|
18
18
|
import {
|
|
19
19
|
VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OZVRCLEN.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/updateCheck.ts
|
|
23
23
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
renameWithRetry,
|
|
11
11
|
runFfmpeg
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-L6FG62QM.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAnimatedGifMetadata
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UVQLSMAR.js";
|
|
16
16
|
import {
|
|
17
17
|
parseHTML
|
|
18
18
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OZVRCLEN.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-2ST4WAFY.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JN63IPHT.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UVQLSMAR.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3CFTCM7X.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-L6FG62QM.js";
|
|
33
33
|
import {
|
|
34
34
|
getAvailableMemoryMb,
|
|
35
35
|
getFreeDiskMb,
|
|
@@ -39,14 +39,14 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
getUpdateMeta,
|
|
41
41
|
withMeta
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4QG64APO.js";
|
|
43
43
|
import {
|
|
44
44
|
CONFIG_PATH,
|
|
45
45
|
withFileLock
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-PSX5SF2N.js";
|
|
47
47
|
import {
|
|
48
48
|
VERSION
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-OZVRCLEN.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeErrorMessage
|
|
52
52
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -232,7 +232,7 @@ function checkEnvironment() {
|
|
|
232
232
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
233
233
|
}
|
|
234
234
|
async function checkWhisper() {
|
|
235
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
235
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-VLIJARMF.js");
|
|
236
236
|
const result = findWhisper();
|
|
237
237
|
if (result) {
|
|
238
238
|
return { ok: true, detail: result.executablePath };
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-65HUC64P.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-M6IMQBK6.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QYOUK3UO.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SQQZUUK6.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XP55QWOB.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TTWFTEUG.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JFIEV2J4.js";
|
|
23
23
|
import {
|
|
24
24
|
artifactDirectory,
|
|
25
25
|
finishSnapshotRun
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
proxyVariantFor,
|
|
32
32
|
resolveProxies,
|
|
33
33
|
scanProjectMediaCodecMap
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Z6Q4ASCD.js";
|
|
35
35
|
import {
|
|
36
36
|
AUDIT_SEEK_OPTIONS,
|
|
37
37
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -45,20 +45,21 @@ import {
|
|
|
45
45
|
seekCompositionTimeline,
|
|
46
46
|
seekInPage,
|
|
47
47
|
waitForPreferredSeekTarget
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HOAXHVRR.js";
|
|
49
49
|
import {
|
|
50
50
|
BrowserCleanupError,
|
|
51
|
-
closeManagedBrowser
|
|
52
|
-
|
|
51
|
+
closeManagedBrowser,
|
|
52
|
+
onStopSignal
|
|
53
|
+
} from "./chunk-2KZSKIYY.js";
|
|
53
54
|
import {
|
|
54
55
|
findStageProxyBox
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-T4IJMVCB.js";
|
|
56
57
|
import {
|
|
57
58
|
resolveAutoProxy
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-JN63IPHT.js";
|
|
59
60
|
import {
|
|
60
61
|
injectTagsAtHeadStart
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2ONVJ7NT.js";
|
|
62
63
|
import {
|
|
63
64
|
normalizeErrorMessage
|
|
64
65
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -315,6 +316,30 @@ function rectToBbox(rect) {
|
|
|
315
316
|
}
|
|
316
317
|
|
|
317
318
|
// src/utils/checkBrowser.ts
|
|
319
|
+
var COPY_HEARTBEAT_MS = 1e4;
|
|
320
|
+
function elapsedText(ms) {
|
|
321
|
+
const seconds = Math.round(ms / 1e3);
|
|
322
|
+
return seconds < 60 ? `${seconds}s` : `${Math.floor(seconds / 60)}m ${seconds % 60}s`;
|
|
323
|
+
}
|
|
324
|
+
function startCopyHeartbeat(sources, cached) {
|
|
325
|
+
const startedAt = Date.now();
|
|
326
|
+
const latest = /* @__PURE__ */ new Map();
|
|
327
|
+
const timer = setInterval(() => {
|
|
328
|
+
for (const [index, { doneSeconds, totalSeconds }] of latest) {
|
|
329
|
+
if (cached[index]) continue;
|
|
330
|
+
const done = totalSeconds ? `${Math.min(100, Math.floor(doneSeconds / totalSeconds * 100))}%` : "";
|
|
331
|
+
console.error(
|
|
332
|
+
`[hyperframes] browser-playable copy of ${sources[index].file}: ${done || `${Math.floor(doneSeconds)}s done`} (${elapsedText(Date.now() - startedAt)} so far)`
|
|
333
|
+
);
|
|
334
|
+
}
|
|
335
|
+
}, COPY_HEARTBEAT_MS);
|
|
336
|
+
timer.unref();
|
|
337
|
+
return {
|
|
338
|
+
progress: (index, progress) => void latest.set(index, progress),
|
|
339
|
+
settled: (index) => void latest.delete(index),
|
|
340
|
+
stop: () => clearInterval(timer)
|
|
341
|
+
};
|
|
342
|
+
}
|
|
318
343
|
async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride) {
|
|
319
344
|
const none = { findings: [], failedPaths: /* @__PURE__ */ new Set(), files: [] };
|
|
320
345
|
if (!resolveAutoProxy(projectDir, autoProxyOverride)) return none;
|
|
@@ -352,9 +377,22 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
352
377
|
);
|
|
353
378
|
}
|
|
354
379
|
let settled = 0;
|
|
355
|
-
const
|
|
356
|
-
|
|
357
|
-
|
|
380
|
+
const heartbeat = startCopyHeartbeat(sources, cached);
|
|
381
|
+
const stopped = new AbortController();
|
|
382
|
+
const forgetStop = onStopSignal(() => stopped.abort());
|
|
383
|
+
const results = await resolveProxies(
|
|
384
|
+
projectDir,
|
|
385
|
+
sources,
|
|
386
|
+
(index) => {
|
|
387
|
+
settled += 1;
|
|
388
|
+
heartbeat.settled(index);
|
|
389
|
+
if (toMake > 0) console.error(`[hyperframes] browser-playable copies: ${settled}/${total}`);
|
|
390
|
+
},
|
|
391
|
+
heartbeat.progress,
|
|
392
|
+
stopped.signal
|
|
393
|
+
).finally(() => {
|
|
394
|
+
heartbeat.stop();
|
|
395
|
+
forgetStop();
|
|
358
396
|
});
|
|
359
397
|
const failures = sources.flatMap((source, index) => {
|
|
360
398
|
const result = results[index];
|
|
@@ -396,7 +434,7 @@ function proxyFailedDraft(message) {
|
|
|
396
434
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
397
435
|
}
|
|
398
436
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
399
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
437
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-3ED26VCR.js");
|
|
400
438
|
return injectTagsAtHeadStart(
|
|
401
439
|
await bundleWithLocalizedFonts(dir),
|
|
402
440
|
`<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
|
|
@@ -455,7 +493,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
455
493
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
456
494
|
}));
|
|
457
495
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
458
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
496
|
+
const { analyzeClipMediaFit } = await import("./src-QQPHMIJ7.js");
|
|
459
497
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
460
498
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
461
499
|
}
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
isAllowedHtmlAttribute,
|
|
12
12
|
isSafeAttributeValue,
|
|
13
13
|
sanitizeRichTextChildren
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UVQLSMAR.js";
|
|
15
15
|
import {
|
|
16
16
|
EXCLUDED_TAGS,
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HRZ6ZBKO.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
24
24
|
} from "./chunk-XOTUPVIF.js";
|
|
25
25
|
import {
|
|
26
26
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IC6BO4GU.js";
|
|
28
28
|
import {
|
|
29
29
|
readClipTiming,
|
|
30
30
|
writeClipTiming
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JFIEV2J4.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2ONVJ7NT.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|