hyperframes 0.8.162 → 0.8.164
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-UW7GCPQF.js → add-5UR2S4ZU.js} +11 -11
- package/dist/{animatedGifPrep-YAJTDXB7.js → animatedGifPrep-NUU6VMFL.js} +5 -5
- package/dist/api.js +11 -11
- package/dist/{asset-TWBPYQOL.js → asset-TB7K7OFL.js} +2 -2
- package/dist/{assetCataloger-BIDQA34M.js → assetCataloger-FE4K64GW.js} +27 -7
- package/dist/{audio-DJIE4YLH.js → audio-WH3XWV6N.js} +10 -10
- package/dist/{auth-VTCEZYBT.js → auth-4BBOL3DI.js} +1 -1
- package/dist/{autoUpdate-JA3SV472.js → autoUpdate-7LARILUN.js} +2 -2
- package/dist/{backgroundChecks-J3WJDPQJ.js → backgroundChecks-5A5VAWOQ.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-C2JCG5EK.js → batchRender-GJ65EZ26.js} +3 -3
- package/dist/{beats-QVJVXZV5.js → beats-EVQOYYYQ.js} +4 -4
- package/dist/{benchmark-WNBAKOXS.js → benchmark-5KE22VUG.js} +8 -8
- package/dist/{browser-VJOTRIXL.js → browser-BLGJSG23.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-SLBVWQ7O.js → bundleWithLocalizedFonts-O3BXZLCD.js} +2 -2
- package/dist/{capture-M5ZAD3BI.js → capture-KSXWVLT7.js} +312 -98
- package/dist/{capture-GUO23PVN.js → capture-PR52XOEQ.js} +2 -2
- package/dist/{catalog-SAC4GFIN.js → catalog-W3AG6ISP.js} +11 -11
- package/dist/{catch-up-T5RIRFJF.js → catch-up-JLZUALKW.js} +4 -4
- package/dist/{check-IRETF27J.js → check-PGH3VCIR.js} +30 -30
- package/dist/{checkBrowser-5IXR4QCK.js → checkBrowser-MNJBUCZD.js} +28 -27
- package/dist/{chunk-YLBV2PXM.js → chunk-36CWAWB7.js} +12 -1
- package/dist/{chunk-RTS7BGEC.js → chunk-3E3VMAAM.js} +1 -1
- package/dist/{chunk-MMV6IY6U.js → chunk-3KY7FUSS.js} +2 -2
- package/dist/{chunk-XTLV6UVP.js → chunk-3TKNBY6K.js} +2 -2
- package/dist/{chunk-KAKBRDU4.js → chunk-3XJVN7MR.js} +2 -2
- package/dist/{chunk-LYIG2GZ5.js → chunk-42AER3PM.js} +1 -1
- package/dist/{chunk-B7RUGHBT.js → chunk-4LXWLCIX.js} +1 -1
- package/dist/{chunk-T5BG7PYZ.js → chunk-56RENSU4.js} +1 -1
- package/dist/{chunk-B5FZ2CQM.js → chunk-57SASPYR.js} +13 -2
- package/dist/{chunk-NGKM64BP.js → chunk-5CTORVUM.js} +17 -2
- package/dist/{chunk-4ID635FL.js → chunk-5K5YH6M7.js} +1 -1
- package/dist/{chunk-T65MIV36.js → chunk-6DJLEE74.js} +3 -3
- package/dist/{chunk-GJQHHAAX.js → chunk-74H5SHQL.js} +3 -3
- package/dist/{chunk-PLEMSN3E.js → chunk-A356JY2J.js} +29 -19
- package/dist/{chunk-OMJA7JP6.js → chunk-AFPGUKMN.js} +4 -4
- package/dist/{chunk-RGYEL7QD.js → chunk-AXATVUCD.js} +3 -3
- package/dist/{chunk-GG37I7B3.js → chunk-BHGIBGUZ.js} +1 -1
- package/dist/{chunk-5YSHR4XC.js → chunk-CXVBPW5F.js} +6 -6
- package/dist/{chunk-GIPNECWL.js → chunk-D5PUMG2P.js} +1 -1
- package/dist/{chunk-D33YJZOH.js → chunk-DSXDYQQV.js} +1 -1
- package/dist/{chunk-3LQEZ4EI.js → chunk-FTFWZHTZ.js} +1 -1
- package/dist/{chunk-3NSVHCOH.js → chunk-G3QMPIFG.js} +2 -2
- package/dist/{chunk-PPF65XAF.js → chunk-GD7VU7CY.js} +1 -1
- package/dist/{chunk-GNFWKGSQ.js → chunk-GJOW6ZFW.js} +2 -2
- package/dist/{chunk-ERTJPFCH.js → chunk-H3JGPRWA.js} +1 -1
- package/dist/{chunk-EVRUR7DW.js → chunk-H45RC6HN.js} +1 -1
- package/dist/{chunk-DJZEIVAP.js → chunk-H46R2BND.js} +1 -1
- package/dist/{chunk-NQR5SBXX.js → chunk-HYRDV7AL.js} +1 -1
- package/dist/{chunk-XWWYGXJ5.js → chunk-JEW5CCRU.js} +2 -2
- package/dist/{chunk-FF5TAEPT.js → chunk-KR3M4GKH.js} +1 -1
- package/dist/{chunk-G642IIVK.js → chunk-LMHXUDSR.js} +1 -1
- package/dist/{chunk-VXVRPIJA.js → chunk-NOVAH7N4.js} +69 -1
- package/dist/{chunk-Q3TFX4OZ.js → chunk-NZ7K76Y2.js} +1 -1
- package/dist/{chunk-MP676E4B.js → chunk-O2CXBATN.js} +4 -3
- package/dist/{chunk-YJKUE3LV.js → chunk-PRZDWAH3.js} +1 -1
- package/dist/{chunk-KIJO75L4.js → chunk-Q4XFXAQ3.js} +18 -4
- package/dist/{chunk-N2NDDTYW.js → chunk-QGYAHDOR.js} +2 -2
- package/dist/{chunk-2ZLYSXZC.js → chunk-R64V3KQN.js} +10 -9
- package/dist/{chunk-PBNV5V5G.js → chunk-SYOB5Y35.js} +191 -3
- package/dist/{chunk-ON2HYNGB.js → chunk-UF45OJ3N.js} +6 -6
- package/dist/{chunk-S6OLD4SL.js → chunk-UH4IL4K4.js} +7 -7
- package/dist/{chunk-P4QE7SSN.js → chunk-ULAB77ZO.js} +1 -1
- package/dist/{chunk-YU2QRNWN.js → chunk-UZOZ2W2E.js} +3 -2
- package/dist/{chunk-ZEWX3GHP.js → chunk-VEAKQW4X.js} +1 -1
- package/dist/{chunk-AAUK5GDI.js → chunk-WE5X5AKF.js} +9 -9
- package/dist/{chunk-5K34RPE5.js → chunk-WLQII3K3.js} +2 -2
- package/dist/{chunk-JJYFRAI4.js → chunk-WZSWLCEH.js} +1 -1
- package/dist/{chunk-GS5EXZBV.js → chunk-XYDPJ3CQ.js} +9 -9
- package/dist/{chunk-SB5DX6AD.js → chunk-Z6VBXCYN.js} +2 -2
- package/dist/{chunk-P47XYVEQ.js → chunk-ZJO4SLHC.js} +1 -1
- package/dist/{clean-WB62QULT.js → clean-R7BXTAFB.js} +11 -11
- package/dist/cli.js +68 -60
- package/dist/{cloud-E5WB4DWZ.js → cloud-IPXFPX7M.js} +4 -4
- package/dist/{cloudrun-BIQXBUDO.js → cloudrun-RMBT2JQK.js} +3 -3
- package/dist/commands/layout-audit.browser.js +347 -20
- package/dist/{compare-GHFVHZ5A.js → compare-S3RMZBB4.js} +22 -22
- package/dist/{compiler-57M6W5WY.js → compiler-RKH75FZH.js} +2 -2
- package/dist/{component-ZGCC3MHX.js → component-VSOWEAK4.js} +3 -3
- package/dist/{compositions-THPEDDIX.js → compositions-7LPCAY7M.js} +9 -9
- package/dist/{delete-6FWT7DZX.js → delete-L32WDJGO.js} +2 -2
- package/dist/{dist-4JFB3WAR.js → dist-P5OHBFEV.js} +2 -2
- package/dist/{doctor-RDGDOUC4.js → doctor-7TSVAIF2.js} +7 -7
- package/dist/{dotEnv-AECLXQSO.js → dotEnv-64S3VKGH.js} +3 -1
- package/dist/{events-CU6FDXHC.js → events-FDHKA6NV.js} +3 -3
- package/dist/{events-VHXICDA2.js → events-RFABFHWU.js} +2 -2
- package/dist/{feedback-PUPN6EKP.js → feedback-SDAJ2HAM.js} +7 -7
- package/dist/{figma-ZKWBF7QH.js → figma-KJBYCHXQ.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{get-JHIBQRPM.js → get-6Z3JCPJ6.js} +2 -2
- package/dist/{gpuPolicy-VGE3I5J4.js → gpuPolicy-SYV7N237.js} +5 -5
- package/dist/{grade-compare-GPLUXDPW.js → grade-compare-HAQXCQSE.js} +22 -22
- package/dist/{help-GO6RGM37.js → help-WMMVG2PR.js} +1 -1
- package/dist/{history-RUTC4SH5.js → history-5AQNASLD.js} +6 -6
- package/dist/hyperframe-runtime.js +23 -23
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +23 -23
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-773VXW37.js → info-OUJ3HXTN.js} +7 -7
- package/dist/{init-YXSIRYZI.js → init-NEEYHH7E.js} +20 -20
- package/dist/{inspect-L4RRJEAA.js → inspect-ZWBDYWTY.js} +23 -23
- package/dist/{installer-T3STEB4U.js → installer-QWK7EA5M.js} +4 -4
- package/dist/{keyframes-P5IOQ6AM.js → keyframes-BA5R5Q7G.js} +6 -6
- package/dist/{lambda-RAJA6ZNA.js → lambda-LQHGF3LK.js} +4 -4
- package/dist/{layout-OH2VTN5E.js → layout-GJVLRWIJ.js} +23 -23
- package/dist/{lint-YEEPVE6Q.js → lint-FBH2BA2A.js} +6 -6
- package/dist/{list-QURRZTVN.js → list-XDZIX2PU.js} +2 -2
- package/dist/{login-DFT4L5YY.js → login-CUHIF5GP.js} +4 -4
- package/dist/{media-treatment-ERQ2PBIN.js → media-treatment-HZDD67IL.js} +8 -8
- package/dist/{models-OA4MXEYG.js → models-J2FZXHMD.js} +8 -8
- package/dist/{motionShot-C2YDYRNB.js → motionShot-D2C44I6P.js} +11 -11
- package/dist/{normalize-audio-R23VODOA.js → normalize-audio-B6PKQGHV.js} +4 -4
- package/dist/{open-GEOB4L3S.js → open-EIN2FH4D.js} +4 -4
- package/dist/{parakeetRunner-DBLHMD5T.js → parakeetRunner-NDIU5PKO.js} +8 -8
- package/dist/{pipeline-FSY65OQ4.js → pipeline-UKGI44NN.js} +5 -5
- package/dist/{play-BYUS37GA.js → play-KLOHE5XH.js} +16 -16
- package/dist/{present-BZLRNHDY.js → present-4K53KZ3P.js} +12 -12
- package/dist/{preview-TXML6PQ7.js → preview-PSALQBNR.js} +15 -15
- package/dist/{producer-C5V2A3YL.js → producer-66MQWVVQ.js} +1 -1
- package/dist/{projectConfig-X2IEHCSK.js → projectConfig-EVBNJKPS.js} +6 -6
- package/dist/{publication-JEANCWBW.js → publication-F6BOBZMI.js} +2 -2
- package/dist/{publish-VX5OH4ST.js → publish-6KTQDKL6.js} +8 -8
- package/dist/{remove-background-IXCISD26.js → remove-background-TJTKY3YM.js} +6 -6
- package/dist/{render-57SXH6NS.js → render-2QY3DTYM.js} +42 -29
- package/dist/{render-JTY7XQFQ.js → render-NAJFHWUG.js} +9 -9
- package/dist/{render-ISUT7Q3X.js → render-X4MWSR5L.js} +3 -3
- package/dist/{render-batch-2C6RUP3F.js → render-batch-VKFOIMV5.js} +3 -3
- package/dist/{resolver-KTNKZVIB.js → resolver-VGAM26OR.js} +4 -4
- package/dist/{sherpa-GFRG3TMM.js → sherpa-3OI5VMCY.js} +9 -7
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/{skills-2LBVMKVY.js → skills-ETYVJOLG.js} +5 -5
- package/dist/{skillsUpdateCheck-5DRXL565.js → skillsUpdateCheck-6P4VCFZZ.js} +3 -3
- package/dist/{snapshot-V2L77FCF.js → snapshot-P3RZFXUC.js} +25 -25
- package/dist/{src-GPUDUKY6.js → src-LZXECBBQ.js} +4 -4
- package/dist/{src-IMCQRH4P.js → src-RQPKPFRO.js} +6 -6
- package/dist/{staticProjectServer-4CQ3KDQK.js → staticProjectServer-DMG2CER4.js} +12 -12
- package/dist/studio/assets/{hyperframes-player-CAclPB6q.js → hyperframes-player-CQX9TDla.js} +1 -1
- package/dist/studio/assets/{index-DCwGKghK.js → index-BnU7S7oM.js} +1 -1
- package/dist/studio/assets/{index-B82aOvgB.js → index-DHqUZqg6.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-RYCDLEOR.js → studio-api-KRPBPUYQ.js} +6 -6
- package/dist/{studioServer-B7H7EQ4U.js → studioServer-HF6ZCYQO.js} +54 -41
- package/dist/{telemetry-WVHWY3DU.js → telemetry-ASFTF5YV.js} +3 -3
- package/dist/{timeline-EDXJ5L45.js → timeline-H7Q2K6ZQ.js} +13 -13
- package/dist/{tokens-UNJONAXT.js → tokens-LWCXLQCR.js} +2 -2
- package/dist/{transcribe-FL6NGWHF.js → transcribe-HOLKYWY5.js} +6 -6
- package/dist/{transcribe-VX7ZE2IZ.js → transcribe-X2GOG3HZ.js} +12 -12
- package/dist/{updateCheck-NLH5E44Q.js → updateCheck-EA7X36NI.js} +2 -2
- package/dist/{upgrade-RGQJA2B4.js → upgrade-Y6H3ZEEJ.js} +2 -2
- package/dist/{urlDownloader-KDJGLR2Y.js → urlDownloader-Z435W35E.js} +4 -4
- package/dist/{validate-4AN4PDV7.js → validate-TZAB2PVX.js} +17 -17
- package/dist/{video-AHO4CDCK.js → video-LNLD2PKZ.js} +5 -5
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
extractMediaMetadata,
|
|
19
19
|
resolveReferencedDuration,
|
|
20
20
|
resolveReferencedStart
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-A356JY2J.js";
|
|
22
22
|
import {
|
|
23
23
|
byStart,
|
|
24
24
|
compositionOriginSeconds,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
hostInPointSeconds,
|
|
28
28
|
parseFpsWithDefault,
|
|
29
29
|
resolveMediaStartSeconds
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-NZ7K76Y2.js";
|
|
31
31
|
import {
|
|
32
32
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
33
33
|
HF_AUDIO_FX_ATTR,
|
|
34
34
|
parseAudioFxChain,
|
|
35
35
|
parseAutomation,
|
|
36
36
|
resolveAutomation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZJO4SLHC.js";
|
|
38
38
|
import {
|
|
39
39
|
topLevelElements,
|
|
40
40
|
trackKindOf
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
renderFrameIdForRenderId,
|
|
31
31
|
resolveAuthoredTimingWindow,
|
|
32
32
|
toFps
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-NZ7K76Y2.js";
|
|
34
34
|
import {
|
|
35
35
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
36
36
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
shiftRateLane,
|
|
60
60
|
sourceTimeAt,
|
|
61
61
|
timeAtSourceTime
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-ZJO4SLHC.js";
|
|
63
63
|
import {
|
|
64
64
|
clampAudioGain,
|
|
65
65
|
isAudibleVideoElement
|
|
@@ -8051,8 +8051,12 @@ ${tail}` : `FFmpeg exited with code ${exitCode}`;
|
|
|
8051
8051
|
}
|
|
8052
8052
|
function describeFfmpegFailure(result, timeoutMs) {
|
|
8053
8053
|
const error = formatFfmpegError(result.exitCode, result.stderr);
|
|
8054
|
-
if (result.terminationReason
|
|
8055
|
-
|
|
8054
|
+
if (result.terminationReason === "deadline") {
|
|
8055
|
+
return `FFmpeg timed out after ${timeoutMs} ms (ffmpegProcessTimeout; long renders can raise FFMPEG_PROCESS_TIMEOUT_MS). ${error}`;
|
|
8056
|
+
}
|
|
8057
|
+
if (result.exitCode !== null) return error;
|
|
8058
|
+
const signalOrRequestedStop = result.terminationReason === "exit" ? result.signal : result.terminationReason;
|
|
8059
|
+
return signalOrRequestedStop ? `FFmpeg ended without an exit code (${signalOrRequestedStop}). ${error}` : error;
|
|
8056
8060
|
}
|
|
8057
8061
|
function spawnFfmpeg(args) {
|
|
8058
8062
|
const ffmpeg = spawn2(getFfmpegBinary(), args, { windowsHide: true });
|
|
@@ -15368,6 +15372,7 @@ async function mixThroughMasterBus(tracks, masterChain, outputPath, workDir, tot
|
|
|
15368
15372
|
async function processCompositionAudio(elements, baseDir, workDir, outputPath, totalDuration, signal, config, compiledDir) {
|
|
15369
15373
|
const startMs = Date.now();
|
|
15370
15374
|
const tracks = [];
|
|
15375
|
+
const preparedTracks = new Array(elements.length);
|
|
15371
15376
|
const failures = [];
|
|
15372
15377
|
const groupTracks = /* @__PURE__ */ new Map();
|
|
15373
15378
|
const groupMeta = /* @__PURE__ */ new Map();
|
|
@@ -15379,7 +15384,7 @@ async function processCompositionAudio(elements, baseDir, workDir, outputPath, t
|
|
|
15379
15384
|
else signal.addEventListener("abort", () => internalController.abort(), { once: true });
|
|
15380
15385
|
}
|
|
15381
15386
|
await Promise.all(
|
|
15382
|
-
elements.map(async (element) => {
|
|
15387
|
+
elements.map(async (element, index) => {
|
|
15383
15388
|
if (effectiveSignal.aborted) {
|
|
15384
15389
|
failures.push({
|
|
15385
15390
|
stage: "cancelled",
|
|
@@ -15559,20 +15564,7 @@ async function processCompositionAudio(elements, baseDir, workDir, outputPath, t
|
|
|
15559
15564
|
...element.fadeOut ? { fadeOut: element.fadeOut } : {},
|
|
15560
15565
|
...tailSeconds > 0 ? { tailSeconds } : {}
|
|
15561
15566
|
};
|
|
15562
|
-
|
|
15563
|
-
const bucket = groupTracks.get(element.groupId);
|
|
15564
|
-
if (bucket) bucket.push(track);
|
|
15565
|
-
else groupTracks.set(element.groupId, [track]);
|
|
15566
|
-
if (!groupMeta.has(element.groupId)) {
|
|
15567
|
-
groupMeta.set(element.groupId, {
|
|
15568
|
-
...element.groupFxChain ? { fxChain: element.groupFxChain } : {},
|
|
15569
|
-
...element.groupAutomation ? { automation: element.groupAutomation } : {},
|
|
15570
|
-
volume: element.groupVolume ?? 1
|
|
15571
|
-
});
|
|
15572
|
-
}
|
|
15573
|
-
} else {
|
|
15574
|
-
tracks.push(track);
|
|
15575
|
-
}
|
|
15567
|
+
preparedTracks[index] = track;
|
|
15576
15568
|
} catch (err) {
|
|
15577
15569
|
if (err instanceof AudioFxRenderError) throw err;
|
|
15578
15570
|
failures.push({
|
|
@@ -15595,6 +15587,24 @@ async function processCompositionAudio(elements, baseDir, workDir, outputPath, t
|
|
|
15595
15587
|
}
|
|
15596
15588
|
throw err;
|
|
15597
15589
|
});
|
|
15590
|
+
elements.forEach((element, index) => {
|
|
15591
|
+
const track = preparedTracks[index];
|
|
15592
|
+
if (!track) return;
|
|
15593
|
+
if (element.groupId) {
|
|
15594
|
+
const bucket = groupTracks.get(element.groupId);
|
|
15595
|
+
if (bucket) bucket.push(track);
|
|
15596
|
+
else groupTracks.set(element.groupId, [track]);
|
|
15597
|
+
if (!groupMeta.has(element.groupId)) {
|
|
15598
|
+
groupMeta.set(element.groupId, {
|
|
15599
|
+
...element.groupFxChain ? { fxChain: element.groupFxChain } : {},
|
|
15600
|
+
...element.groupAutomation ? { automation: element.groupAutomation } : {},
|
|
15601
|
+
volume: element.groupVolume ?? 1
|
|
15602
|
+
});
|
|
15603
|
+
}
|
|
15604
|
+
} else {
|
|
15605
|
+
tracks.push(track);
|
|
15606
|
+
}
|
|
15607
|
+
});
|
|
15598
15608
|
const removeWorkDir = () => {
|
|
15599
15609
|
try {
|
|
15600
15610
|
rmSync7(workDir, { recursive: true, force: true });
|
|
@@ -6,21 +6,21 @@ 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-3E3VMAAM.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-O2CXBATN.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-H46R2BND.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LMHXUDSR.js";
|
|
24
24
|
import {
|
|
25
25
|
formatSrt,
|
|
26
26
|
formatVtt,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CXVBPW5F.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5K5YH6M7.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAutoProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BHGIBGUZ.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeWellFormedEscapes
|
|
27
27
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-D5PUMG2P.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
scanProjectMediaCodecMap,
|
|
55
55
|
shouldPrewarmProxy,
|
|
56
56
|
waitForProxy
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-5K5YH6M7.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_WINDOW_IDLE_MS,
|
|
60
60
|
STUDIO_SIGNATURE_MANIFEST_PATHS,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-EOVYQ3IG.js";
|
|
104
104
|
import {
|
|
105
105
|
addScenePartsManifest
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-42AER3PM.js";
|
|
107
107
|
import {
|
|
108
108
|
ensureHfIds,
|
|
109
109
|
stampHfIdsInPlace
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
parseFps,
|
|
118
118
|
parsePreviewProxyBox,
|
|
119
119
|
sameInstant
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-NZ7K76Y2.js";
|
|
121
121
|
import {
|
|
122
122
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
123
123
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
resolveRateSpec,
|
|
132
132
|
sourceTimeAt,
|
|
133
133
|
stripEmbeddedRuntimeScripts
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-ZJO4SLHC.js";
|
|
135
135
|
import {
|
|
136
136
|
HTML_ATTRIBUTE_ENTITIES,
|
|
137
137
|
MagicString,
|
|
@@ -5495,7 +5495,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5495
5495
|
let block = extractGsapScriptBlock(html);
|
|
5496
5496
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5497
5497
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5498
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5498
|
+
const { GSAP_CDN } = await import("./dist-P5OHBFEV.js");
|
|
5499
5499
|
const bootstrap = [
|
|
5500
5500
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5501
5501
|
"<script>",
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-FDHKA6NV.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.164" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.164" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-36CWAWB7.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VEAKQW4X.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -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-G3QMPIFG.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -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-CXVBPW5F.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZJO4SLHC.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -4,6 +4,9 @@ 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
|
+
shouldTrack
|
|
9
|
+
} from "./chunk-VEAKQW4X.js";
|
|
7
10
|
|
|
8
11
|
// src/telemetry/renderObservability.ts
|
|
9
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -99,7 +102,72 @@ function renderJobObservabilityTelemetryPayload(job) {
|
|
|
99
102
|
};
|
|
100
103
|
}
|
|
101
104
|
|
|
105
|
+
// src/telemetry/renderCpu.ts
|
|
106
|
+
import { cpus, loadavg, platform } from "os";
|
|
107
|
+
var SAMPLE_INTERVAL_MS = 2e3;
|
|
108
|
+
var BUSY_CORE_PCT = 80;
|
|
109
|
+
function readCoreTimes() {
|
|
110
|
+
return cpus().map(({ times }) => {
|
|
111
|
+
const total = times.user + times.nice + times.sys + times.idle + times.irq;
|
|
112
|
+
return { busy: total - times.idle, total };
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function busyBetween(from, to) {
|
|
116
|
+
let busy = 0;
|
|
117
|
+
let total = 0;
|
|
118
|
+
let coresBusy = 0;
|
|
119
|
+
to.forEach((core, i) => {
|
|
120
|
+
const before = from[i];
|
|
121
|
+
if (!before) return;
|
|
122
|
+
const dBusy = core.busy - before.busy;
|
|
123
|
+
const dTotal = core.total - before.total;
|
|
124
|
+
if (dTotal <= 0) return;
|
|
125
|
+
busy += dBusy;
|
|
126
|
+
total += dTotal;
|
|
127
|
+
if (dBusy / dTotal * 100 >= BUSY_CORE_PCT) coresBusy++;
|
|
128
|
+
});
|
|
129
|
+
return total > 0 ? { pct: Math.round(busy / total * 100), coresBusy } : null;
|
|
130
|
+
}
|
|
131
|
+
function readLoadAvg() {
|
|
132
|
+
if (platform() === "win32") return void 0;
|
|
133
|
+
return Math.round((loadavg()[0] ?? 0) * 100) / 100;
|
|
134
|
+
}
|
|
135
|
+
var DISABLED = { stop: () => ({}) };
|
|
136
|
+
function startRenderCpuSampler(requesterOptedIn = true) {
|
|
137
|
+
if (!requesterOptedIn || !shouldTrack()) return DISABLED;
|
|
138
|
+
const start = readCoreTimes();
|
|
139
|
+
const loadAvgStart = readLoadAvg();
|
|
140
|
+
let last = start;
|
|
141
|
+
let peak = null;
|
|
142
|
+
const sample = () => {
|
|
143
|
+
const now = readCoreTimes();
|
|
144
|
+
const window = busyBetween(last, now);
|
|
145
|
+
if (window && (!peak || window.pct > peak.pct)) peak = window;
|
|
146
|
+
last = now;
|
|
147
|
+
};
|
|
148
|
+
const timer = setInterval(sample, SAMPLE_INTERVAL_MS);
|
|
149
|
+
timer.unref?.();
|
|
150
|
+
let result;
|
|
151
|
+
return {
|
|
152
|
+
stop() {
|
|
153
|
+
if (result) return result;
|
|
154
|
+
clearInterval(timer);
|
|
155
|
+
sample();
|
|
156
|
+
const avg = busyBetween(start, last);
|
|
157
|
+
result = {
|
|
158
|
+
cpuBusyAvgPct: avg?.pct,
|
|
159
|
+
cpuBusyPeakPct: peak?.pct,
|
|
160
|
+
cpuCoresBusyPeak: peak?.coresBusy,
|
|
161
|
+
loadAvgStart,
|
|
162
|
+
loadAvgEnd: readLoadAvg()
|
|
163
|
+
};
|
|
164
|
+
return result;
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
|
|
102
169
|
export {
|
|
103
170
|
renderObservabilityTelemetryPayload,
|
|
104
|
-
renderJobObservabilityTelemetryPayload
|
|
171
|
+
renderJobObservabilityTelemetryPayload,
|
|
172
|
+
startRenderCpuSampler
|
|
105
173
|
};
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H46R2BND.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LMHXUDSR.js";
|
|
28
28
|
import {
|
|
29
29
|
PARAKEET_MODEL_LABEL,
|
|
30
30
|
SHERPA_ERROR_PREFIX,
|
|
@@ -79,7 +79,7 @@ var PARAKEET_MODEL_FILES = [
|
|
|
79
79
|
sha256: "d58544679ea4bc6ac563d1f545eb7d474bd6cfa467f0a6e2c1dc1c7d37e3c35d"
|
|
80
80
|
}
|
|
81
81
|
];
|
|
82
|
-
var decodeTimeoutMs = (audioSeconds) => Math.max(18e5, audioSeconds * 2e3);
|
|
82
|
+
var decodeTimeoutMs = (audioSeconds) => Math.min(2 ** 31 - 1, Math.max(18e5, Math.ceil(audioSeconds * 2e3)));
|
|
83
83
|
var SUPPORTED_TARGETS = [
|
|
84
84
|
"darwin-arm64",
|
|
85
85
|
"darwin-x64",
|
|
@@ -381,6 +381,7 @@ async function transcribeWithSherpa(wavPath, dir, options) {
|
|
|
381
381
|
export {
|
|
382
382
|
SHERPA_RUNTIME_DIR,
|
|
383
383
|
PARAKEET_MODEL_DIR,
|
|
384
|
+
decodeTimeoutMs,
|
|
384
385
|
sherpaUnsupportedReason,
|
|
385
386
|
sherpaRuntimeLoadError,
|
|
386
387
|
sherpaPlatformPackage,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
updateNoticesSuppressed
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-56RENSU4.js";
|
|
10
10
|
import {
|
|
11
11
|
hostAnswers
|
|
12
12
|
} from "./chunk-K4WIOZFP.js";
|
|
@@ -66,14 +66,28 @@ var FALLBACK_CORE_SKILLS = [
|
|
|
66
66
|
"hyperframes-studio",
|
|
67
67
|
"media-use"
|
|
68
68
|
];
|
|
69
|
+
var RUNTIME_DIRS = /* @__PURE__ */ new Set([
|
|
70
|
+
"__pycache__",
|
|
71
|
+
".pytest_cache",
|
|
72
|
+
".mypy_cache",
|
|
73
|
+
".ruff_cache",
|
|
74
|
+
"node_modules"
|
|
75
|
+
]);
|
|
76
|
+
var RUNTIME_FILES = /* @__PURE__ */ new Set([".DS_Store", "Thumbs.db"]);
|
|
77
|
+
var RUNTIME_FILE_SUFFIXES = [".pyc", ".pyo", ".swp", ".swo", "~"];
|
|
78
|
+
function isRuntimeFile(name) {
|
|
79
|
+
return RUNTIME_FILES.has(name) || RUNTIME_FILE_SUFFIXES.some((s) => name.endsWith(s));
|
|
80
|
+
}
|
|
69
81
|
function listFilesSorted(dir) {
|
|
70
82
|
const out = [];
|
|
71
83
|
const walk = (d) => {
|
|
72
84
|
for (const name of readdirSync(d)) {
|
|
73
|
-
if (name === ".DS_Store") continue;
|
|
74
85
|
const p = join(d, name);
|
|
75
|
-
if (statSync(p).isDirectory())
|
|
76
|
-
|
|
86
|
+
if (statSync(p).isDirectory()) {
|
|
87
|
+
if (!RUNTIME_DIRS.has(name)) walk(p);
|
|
88
|
+
} else if (!isRuntimeFile(name)) {
|
|
89
|
+
out.push(p);
|
|
90
|
+
}
|
|
77
91
|
}
|
|
78
92
|
};
|
|
79
93
|
walk(dir);
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-H45RC6HN.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NZ7K76Y2.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|