hyperframes 0.8.157 → 0.8.159
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/README.md +14 -0
- package/dist/{add-XKIJJAC6.js → add-7UMRT6IJ.js} +11 -11
- package/dist/{animatedGifPrep-MTJRHJ5G.js → animatedGifPrep-COFZMEVD.js} +5 -5
- package/dist/api.js +11 -11
- package/dist/{asset-TEWIJMG5.js → asset-N37XIJTB.js} +2 -2
- package/dist/{assetCataloger-DI7FC5KZ.js → assetCataloger-ZOQ67MGR.js} +2 -2
- package/dist/{auth-ERW6EOVW.js → auth-GKFS2PL6.js} +1 -1
- package/dist/{autoUpdate-IHYT5BQF.js → autoUpdate-V4PLREDQ.js} +2 -2
- package/dist/{backgroundChecks-DTKZTDHN.js → backgroundChecks-TVOKARY2.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-FTZ67377.js → batchRender-IARQXQHN.js} +3 -3
- package/dist/{beats-AE4ZKJ3I.js → beats-FY4UDXBL.js} +11 -10
- package/dist/{benchmark-Q3YSQVWW.js → benchmark-ZJYFRFYF.js} +8 -8
- package/dist/{browser-IRRLG5FG.js → browser-WRZOH4PD.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-IVO43QBQ.js → bundleWithLocalizedFonts-SFHKZZAX.js} +2 -2
- package/dist/{capture-ANATPLOS.js → capture-KFYPMVTT.js} +18 -8
- package/dist/{capture-MVH3XNAE.js → capture-LLLIHYEF.js} +2 -2
- package/dist/{catalog-5BJJW3G4.js → catalog-QO762U7V.js} +11 -11
- package/dist/{catch-up-DU2O72RS.js → catch-up-MELHNTGB.js} +4 -4
- package/dist/{check-P5D3YU2H.js → check-RX3LTKYB.js} +38 -37
- package/dist/{checkBrowser-RNIDFQZZ.js → checkBrowser-EUUMEILI.js} +35 -34
- package/dist/{chunk-YBKIAQNU.js → chunk-24N3BB5M.js} +3 -3
- package/dist/{chunk-IRRRH66M.js → chunk-2CEH75X3.js} +115 -13
- package/dist/{chunk-LQXHRO6F.js → chunk-3W3MOLRL.js} +2 -2
- package/dist/{chunk-EYNN5DJG.js → chunk-4D5RBIX6.js} +30 -10
- package/dist/{chunk-4YDQQQY6.js → chunk-4DEBDQD4.js} +2 -2
- package/dist/{chunk-6B6G3QMQ.js → chunk-4IKI2RYR.js} +11 -11
- package/dist/{chunk-QAWCWGQG.js → chunk-5GPX4X4L.js} +2 -2
- package/dist/{chunk-WZBGU46C.js → chunk-5HNZQSO4.js} +1 -1
- package/dist/{chunk-OTG5H2VM.js → chunk-5O6I5ZV7.js} +2 -2
- package/dist/{chunk-ZFZNPLRJ.js → chunk-5RSV6DWB.js} +4 -3
- package/dist/{chunk-WK375PPO.js → chunk-5YCFHCD4.js} +2 -2
- package/dist/{chunk-SMPG26EL.js → chunk-6TDZJ43G.js} +1 -1
- package/dist/{chunk-7ZWOLEGS.js → chunk-76NO4ZRM.js} +1 -1
- package/dist/{chunk-3FRK53UC.js → chunk-7RTTPSXG.js} +1 -1
- package/dist/{chunk-ZY4A2R7C.js → chunk-7XEVZDKU.js} +7 -7
- package/dist/{chunk-56QTFOWH.js → chunk-A5RDOXZE.js} +1 -1
- package/dist/{chunk-GPUVPZRK.js → chunk-AEQWF7PE.js} +1 -1
- package/dist/{chunk-DRT6ZQI2.js → chunk-AFYZWHR7.js} +7 -7
- package/dist/{chunk-EGKIQS5J.js → chunk-AQXJC64X.js} +1 -1
- package/dist/{chunk-BPTKOTF2.js → chunk-BEW7RCCW.js} +1 -1
- package/dist/{chunk-O4ZB2LUC.js → chunk-DLQQA25O.js} +1 -1
- package/dist/{chunk-23VDPRQ3.js → chunk-DVAEX52Q.js} +1 -1
- package/dist/{chunk-J7WFHOCW.js → chunk-EGJVFPUX.js} +1 -1
- package/dist/{chunk-T76NSAXO.js → chunk-ESOAYGIT.js} +6 -4
- package/dist/{chunk-OGJFYVRC.js → chunk-EWAAH7AU.js} +1 -1
- package/dist/{chunk-QRPYTJBW.js → chunk-FEKRMXT6.js} +1 -1
- package/dist/{chunk-J6SJCYAQ.js → chunk-GGDCBVXK.js} +4 -4
- package/dist/{chunk-YB26LWR2.js → chunk-H6BKVVU4.js} +2 -2
- package/dist/{chunk-EEEUI3ON.js → chunk-HEEN6X6O.js} +15 -8
- package/dist/{chunk-HQG7B5ZE.js → chunk-HO3SITVT.js} +1 -1
- package/dist/{chunk-25IXEZXH.js → chunk-IJ7JPX4W.js} +2 -2
- package/dist/{chunk-UGIIDY6C.js → chunk-IKDBT5WT.js} +79 -4
- package/dist/{chunk-FJT35XBA.js → chunk-INNBWSZK.js} +1 -1
- package/dist/{chunk-SLUFA6UM.js → chunk-IWOEAWIP.js} +1 -1
- package/dist/{chunk-LZ7C6CXD.js → chunk-JZLFHF2M.js} +2 -2
- package/dist/{chunk-NIT2ZCNI.js → chunk-K5BMHQOU.js} +9 -9
- package/dist/{chunk-CA7IDB4Z.js → chunk-MMYY4KV3.js} +18 -3
- package/dist/{chunk-ZTUZDPHE.js → chunk-MTUC2Z32.js} +2 -2
- package/dist/{chunk-XRRZZFGI.js → chunk-NCVGBBWC.js} +1 -1
- package/dist/{chunk-NFX4K6OW.js → chunk-NIGOOCVS.js} +1 -1
- package/dist/{chunk-TQ62EMUI.js → chunk-ODE7HHNN.js} +20 -20
- package/dist/chunk-TWBTXEDZ.js +3795 -0
- package/dist/{chunk-T243WV6D.js → chunk-UK4KRTIX.js} +1 -1
- package/dist/{chunk-SGIZMTWO.js → chunk-V5J4XEBG.js} +1 -1
- package/dist/{chunk-ZZ3ZWTOI.js → chunk-WWMFR4SH.js} +1 -1
- package/dist/{chunk-SWRIMG46.js → chunk-YITZFHRJ.js} +1 -1
- package/dist/{clean-4WDZ3TFN.js → clean-RW7Z4XM6.js} +18 -18
- package/dist/cli.js +52 -52
- package/dist/{cloud-FL6VP6IU.js → cloud-EEOV7JKB.js} +4 -4
- package/dist/{cloudrun-STLNWUBW.js → cloudrun-EZAXYVXG.js} +3 -3
- package/dist/{compare-MXZ7QKBN.js → compare-5UARQFXX.js} +29 -28
- package/dist/{compiler-VFJVUZWR.js → compiler-THI7BXZU.js} +2 -2
- package/dist/{component-XKBA5ON2.js → component-AYOFPL33.js} +3 -3
- package/dist/{compositions-2LUY6RQW.js → compositions-XJNJBOMG.js} +9 -9
- package/dist/{delete-OBAOZCXI.js → delete-653AOR25.js} +2 -2
- package/dist/{dist-SVTSOG4Q.js → dist-DLR4X3KN.js} +2 -2
- package/dist/{doctor-BLXWRHAE.js → doctor-WA6VRRE7.js} +7 -7
- package/dist/{events-V4LYF3MW.js → events-U5COLUWT.js} +2 -2
- package/dist/{events-LSJDXTXK.js → events-XXBCP2I4.js} +3 -3
- package/dist/{feedback-LMDNGTYB.js → feedback-DX6Q3LN7.js} +8 -8
- package/dist/{figma-BXHFTYCT.js → figma-LCQVLBXF.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-2ZKWMYCG.js → get-UYNPFMHX.js} +2 -2
- package/dist/{gpuPolicy-VXNJ4UBN.js → gpuPolicy-YIW3HL3B.js} +5 -5
- package/dist/{grade-compare-F7JNDXGF.js → grade-compare-YQEYATJV.js} +28 -28
- package/dist/{help-WGANCPIE.js → help-FDURC7WR.js} +1 -1
- package/dist/{history-FILLGPWB.js → history-EU5UZLHT.js} +10 -10
- package/dist/hyperframe-runtime.js +55 -55
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +55 -55
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-QQJ7C6SO.js → info-7T6CK6CL.js} +7 -7
- package/dist/{init-BQYTOLTG.js → init-KQYSKFVU.js} +31 -26
- package/dist/{inspect-BTBKTW5W.js → inspect-HQBV7VHS.js} +28 -27
- package/dist/{installer-HF5BXXXM.js → installer-OKKPQNKS.js} +4 -4
- package/dist/{keyframes-Y5QDNXST.js → keyframes-SK74JHOA.js} +6 -6
- package/dist/{lambda-ZCX7KGTY.js → lambda-S2N4VTRO.js} +4 -4
- package/dist/{layout-HITFK2H5.js → layout-MTE5Y6DE.js} +28 -27
- package/dist/{lint-6HH5X4NJ.js → lint-FJGGJYB7.js} +8 -8
- package/dist/{list-KBERMLPP.js → list-MBPALK5U.js} +2 -2
- package/dist/{login-MZNDV73I.js → login-HDN4T5E4.js} +4 -4
- package/dist/{media-treatment-YACCPVXX.js → media-treatment-IP34DXWN.js} +11 -11
- package/dist/{models-WHDUQZQZ.js → models-W5TASRHD.js} +8 -8
- package/dist/{motionShot-CRQTWUJB.js → motionShot-2WYEMOPJ.js} +12 -11
- package/dist/{normalize-audio-Z7UQTZ5J.js → normalize-audio-F4NQPXII.js} +7 -7
- package/dist/{open-GM2J5QEA.js → open-DRXNALDE.js} +7 -7
- package/dist/{parakeetRunner-5PNBGCGH.js → parakeetRunner-VISBF2EA.js} +8 -8
- package/dist/{pipeline-QA2422UI.js → pipeline-A2XOVZOM.js} +5 -5
- package/dist/{play-JGMRZO6G.js → play-W2QELQX7.js} +26 -26
- package/dist/{present-SI7ZE6IB.js → present-NHYRS4F4.js} +20 -20
- package/dist/{preview-PZOQHOIO.js → preview-SMJVUPXE.js} +21 -21
- package/dist/{producer-PQMZ7OYH.js → producer-276O3CKW.js} +1 -1
- package/dist/{projectConfig-EYYDESVO.js → projectConfig-FXFUHFPZ.js} +6 -6
- package/dist/{publication-MJY3XYYV.js → publication-SSQO6ECV.js} +2 -2
- package/dist/{publish-UT3L777Q.js → publish-UHDKDXZI.js} +10 -10
- package/dist/{remove-background-HT73ZUIG.js → remove-background-IG6U56HC.js} +6 -6
- package/dist/{render-6CJXA7UA.js → render-6P5RSFS3.js} +12 -12
- package/dist/{render-YTJ3SMCD.js → render-XQONIJEJ.js} +3 -3
- package/dist/{render-SFIX3O3B.js → render-ZJPSLTKV.js} +49 -28
- package/dist/{render-batch-AFB2XK3I.js → render-batch-MH3Z6IPT.js} +3 -3
- package/dist/{resolver-F2D2YCSQ.js → resolver-JMSGO2JF.js} +4 -4
- package/dist/{sherpa-IBKSF6GX.js → sherpa-64JLV4YM.js} +7 -7
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/frame-worker-core.md +1 -1
- package/dist/skills/hyperframes/references/intent-interview.md +2 -2
- package/dist/skills/hyperframes/references/production-loop.md +11 -11
- package/dist/skills/hyperframes/references/review-loop.md +6 -6
- package/dist/skills/hyperframes/references/storyboard-format.md +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +1 -1
- package/dist/{skills-G26XO2BY.js → skills-UXOL62PY.js} +5 -5
- package/dist/{skillsUpdateCheck-ZNDQSDB4.js → skillsUpdateCheck-5Y6676K6.js} +3 -3
- package/dist/{snapshot-SN7I7O7I.js → snapshot-SQBPCXOV.js} +74 -48
- package/dist/{src-NDI4KNT3.js → src-N42CT3YR.js} +6 -4
- package/dist/{src-4GCHM2LX.js → src-RQMK5INS.js} +7 -7
- package/dist/{staticProjectServer-TTC3LYHO.js → staticProjectServer-AQXVWMLU.js} +15 -13
- package/dist/studio/assets/{hyperframes-player-D3ufdOJ_.js → hyperframes-player-kqB1psAJ.js} +1 -1
- package/dist/studio/assets/{index-7oKTFwYd.js → index-BrViH8hj.js} +1 -1
- package/dist/studio/assets/{index-CALVHgsJ.js → index-C3AZLr-0.js} +1 -1
- package/dist/studio/assets/{index-DYk4U8BS.js → index-X_d1b5vz.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TVIDDUZG.js → studio-api-GY5D7RAP.js} +9 -9
- package/dist/{studioServer-WBV2Q3SH.js → studioServer-O3VONODG.js} +49 -49
- package/dist/{telemetry-RVFKZEOH.js → telemetry-V2K5P7CI.js} +3 -3
- package/dist/{timeline-BUYUBI5X.js → timeline-YU3YPLKB.js} +18 -18
- package/dist/{tokens-PUA5FQKP.js → tokens-NPSSSG2A.js} +2 -2
- package/dist/{transcribe-DZ6O6EG5.js → transcribe-BXJNS3RZ.js} +6 -6
- package/dist/{transcribe-L2QHSNHO.js → transcribe-FNBDG24U.js} +12 -12
- package/dist/{updateCheck-PULEO7CW.js → updateCheck-MB3RHSVK.js} +2 -2
- package/dist/{upgrade-UJJIVNHJ.js → upgrade-5VNRUR37.js} +2 -2
- package/dist/{urlDownloader-INLS5A6I.js → urlDownloader-WCT7FMLA.js} +4 -4
- package/dist/{validate-DJAZMEQB.js → validate-UXSXRCE6.js} +20 -19
- package/dist/{video-3GLT6U6Z.js → video-NRNQBZMV.js} +5 -5
- package/package.json +1 -1
- package/dist/chunk-LPOTN5GW.js +0 -3795
|
@@ -4,26 +4,26 @@ 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
|
-
serveStaticProjectHtml
|
|
9
|
-
} from "./chunk-UGIIDY6C.js";
|
|
10
7
|
import {
|
|
11
8
|
AUDIT_SEEK_OPTIONS,
|
|
12
9
|
installPageFunctionGuard,
|
|
13
10
|
seekCompositionTimeline,
|
|
14
11
|
waitForCompositionFonts,
|
|
15
12
|
waitForRuntimeReady
|
|
16
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4D5RBIX6.js";
|
|
17
14
|
import {
|
|
18
15
|
launchManagedBrowser,
|
|
19
16
|
resolveManagedGpuMode
|
|
20
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MMYY4KV3.js";
|
|
21
18
|
import {
|
|
22
19
|
resolveDiagnosticNavigationTimeoutMs
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EGJVFPUX.js";
|
|
24
21
|
import {
|
|
25
22
|
resolveProject
|
|
26
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5HNZQSO4.js";
|
|
24
|
+
import {
|
|
25
|
+
serveStaticProjectHtml
|
|
26
|
+
} from "./chunk-IKDBT5WT.js";
|
|
27
27
|
import {
|
|
28
28
|
defineCommand
|
|
29
29
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
printDeprecationNotice,
|
|
39
39
|
withMeta
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DLQQA25O.js";
|
|
41
41
|
import {
|
|
42
42
|
normalizeErrorMessage
|
|
43
43
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -708,7 +708,7 @@ async function collectTweenBoundaries(page) {
|
|
|
708
708
|
});
|
|
709
709
|
}
|
|
710
710
|
async function bundleProjectHtml(projectDir) {
|
|
711
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
711
|
+
const { bundleToSingleHtml } = await import("./compiler-THI7BXZU.js");
|
|
712
712
|
return bundleToSingleHtml(projectDir);
|
|
713
713
|
}
|
|
714
714
|
async function alignViewportToComposition(page, url) {
|
|
@@ -730,13 +730,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
730
730
|
async function runLayoutAudit(projectDir, opts) {
|
|
731
731
|
const { ensureBrowser } = await import("./manager-ZLJD3EAY.js");
|
|
732
732
|
const puppeteer = await import("puppeteer-core");
|
|
733
|
-
const { buildChromeArgs } = await import("./src-
|
|
733
|
+
const { buildChromeArgs } = await import("./src-N42CT3YR.js");
|
|
734
734
|
const {
|
|
735
735
|
assertWebGpuAdapterAvailable,
|
|
736
736
|
compositionRequiresWebGpu,
|
|
737
737
|
resolveLocalBrowserGpuMode,
|
|
738
738
|
resolveLocalWebGpu
|
|
739
|
-
} = await import("./gpuPolicy-
|
|
739
|
+
} = await import("./gpuPolicy-YIW3HL3B.js");
|
|
740
740
|
const html = await bundleProjectHtml(projectDir);
|
|
741
741
|
const server = await serveStaticProjectHtml(
|
|
742
742
|
projectDir,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YITZFHRJ.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-V2K5P7CI.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
SDR_RGB_TO_BT709_FILTER,
|
|
21
21
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
22
22
|
renderProvenanceArgs
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2CEH75X3.js";
|
|
24
24
|
|
|
25
25
|
// src/background-removal/pipeline.ts
|
|
26
26
|
import { spawn } from "child_process";
|
|
@@ -270,7 +270,7 @@ function inferInputKind(inputPath) {
|
|
|
270
270
|
}
|
|
271
271
|
async function probeMedia(inputPath) {
|
|
272
272
|
const isImage = inferInputKind(inputPath) === "image";
|
|
273
|
-
const engine = await import("./src-
|
|
273
|
+
const engine = await import("./src-N42CT3YR.js");
|
|
274
274
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
275
275
|
if (isImage) {
|
|
276
276
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
formatPreviewProxyBox,
|
|
10
10
|
hdrToSdrToneMapFilter,
|
|
11
11
|
parseFirstFrameColour
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V5J4XEBG.js";
|
|
13
13
|
import {
|
|
14
14
|
decodeAuthoredAttribute,
|
|
15
15
|
scanHtmlOpeningTags
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
rewriteAssetPath
|
|
33
33
|
} from "./chunk-BSQ7XANM.js";
|
|
34
34
|
|
|
35
|
-
// ../studio-server/dist/chunk-
|
|
35
|
+
// ../studio-server/dist/chunk-EZMTFRUX.js
|
|
36
36
|
import { statSync } from "fs";
|
|
37
37
|
import { sep } from "path";
|
|
38
38
|
import { execFile } from "child_process";
|
|
@@ -174,6 +174,7 @@ var BROWSER_HOSTILE_CODECS = {
|
|
|
174
174
|
// Windows/Linux and Firefox everywhere need the substitute.
|
|
175
175
|
hevc: { representativeMime: 'video/mp4; codecs="hvc1.1.6.L120.B0"', prewarm: true },
|
|
176
176
|
prores: { representativeMime: null, prewarm: true },
|
|
177
|
+
theora: { representativeMime: 'video/ogg; codecs="theora"', prewarm: true },
|
|
177
178
|
// Every mainstream engine decodes AV1 and VP9, so canPlayType keeps the
|
|
178
179
|
// original and only the rare browser that cannot pays for a transcode.
|
|
179
180
|
av1: { representativeMime: 'video/mp4; codecs="av01.0.08M.08"', prewarm: false },
|
|
@@ -336,7 +337,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
|
|
|
336
337
|
return map;
|
|
337
338
|
}
|
|
338
339
|
|
|
339
|
-
// ../studio-server/dist/chunk-
|
|
340
|
+
// ../studio-server/dist/chunk-XRUVTG5G.js
|
|
340
341
|
import { spawn } from "child_process";
|
|
341
342
|
import { createHash, randomUUID } from "crypto";
|
|
342
343
|
import { existsSync as existsSync2, renameSync, statSync as statSync2, unlinkSync as unlinkSync2, utimesSync } from "fs";
|
|
@@ -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-ODE7HHNN.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TWBTXEDZ.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -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-MTUC2Z32.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6TDZJ43G.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AEQWF7PE.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7RTTPSXG.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3W3MOLRL.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FEKRMXT6.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NCVGBBWC.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-V5J4XEBG.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -4,6 +4,13 @@ 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
|
+
resolveProject
|
|
9
|
+
} from "./chunk-5HNZQSO4.js";
|
|
10
|
+
import {
|
|
11
|
+
findPreviewServerForProject,
|
|
12
|
+
studioApiUrl
|
|
13
|
+
} from "./chunk-DQBY7FRR.js";
|
|
7
14
|
import {
|
|
8
15
|
DEFAULT_HISTORY_ROOT,
|
|
9
16
|
HistoryBusyError,
|
|
@@ -11,13 +18,6 @@ import {
|
|
|
11
18
|
openProjectHistory,
|
|
12
19
|
readProjectHistory
|
|
13
20
|
} from "./chunk-6PIGOKTE.js";
|
|
14
|
-
import {
|
|
15
|
-
resolveProject
|
|
16
|
-
} from "./chunk-WZBGU46C.js";
|
|
17
|
-
import {
|
|
18
|
-
findPreviewServerForProject,
|
|
19
|
-
studioApiUrl
|
|
20
|
-
} from "./chunk-DQBY7FRR.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/historyOwner.ts
|
|
23
23
|
import { randomUUID } from "crypto";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2CEH75X3.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-V5J4XEBG.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -37,15 +37,17 @@ var EncoderInterruptedError = class extends Error {
|
|
|
37
37
|
retryable = true;
|
|
38
38
|
/** Retained inside the producer for diagnostics; never copied to the wire envelope. */
|
|
39
39
|
diagnosticMessage;
|
|
40
|
-
|
|
40
|
+
audioFailures;
|
|
41
|
+
constructor(prefix, diagnosticMessage, audioFailures = []) {
|
|
41
42
|
super(`${prefix}: encoder process was interrupted by the host lifecycle`);
|
|
42
43
|
this.name = "EncoderInterruptedError";
|
|
43
44
|
this.diagnosticMessage = diagnosticMessage;
|
|
45
|
+
this.audioFailures = audioFailures;
|
|
44
46
|
}
|
|
45
47
|
};
|
|
46
48
|
function encoderFailureError(prefix, result) {
|
|
47
49
|
const message = `${prefix}: ${result.error ?? "unknown encoder failure"}`;
|
|
48
|
-
return result.failureReason === "external_interruption" ? new EncoderInterruptedError(prefix, message) : new Error(message);
|
|
50
|
+
return result.failureReason === "external_interruption" ? new EncoderInterruptedError(prefix, message, result.audioFailures) : new Error(message);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
// ../producer/src/services/animatedGifPrep.ts
|
|
@@ -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-76NO4ZRM.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4DEBDQD4.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WWMFR4SH.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UK4KRTIX.js";
|
|
24
24
|
import {
|
|
25
25
|
formatSrt,
|
|
26
26
|
formatVtt,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2CEH75X3.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-N42CT3YR.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
EncoderInterruptedError,
|
|
17
17
|
encoderFailureError,
|
|
18
18
|
prepareAnimatedGifInputs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ESOAYGIT.js";
|
|
20
20
|
import {
|
|
21
21
|
parseEncoderOptions
|
|
22
22
|
} from "./chunk-KLIKCX6Q.js";
|
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
assertConfiguredFfmpegBinariesExist,
|
|
46
46
|
assertMediaPayload,
|
|
47
47
|
assertSwiftShader,
|
|
48
|
+
audioFailureDiagnostics,
|
|
48
49
|
augmentPageNavigationTimeoutError,
|
|
49
50
|
augmentProtocolTimeoutError,
|
|
50
51
|
blitRgb48leAffine,
|
|
@@ -150,7 +151,7 @@ import {
|
|
|
150
151
|
validateEngineConfigSnapshot,
|
|
151
152
|
verifyDiskDrawElementSamples,
|
|
152
153
|
writeCapturedFrame
|
|
153
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-2CEH75X3.js";
|
|
154
155
|
import {
|
|
155
156
|
assignBundledRuntimeCompositionIds,
|
|
156
157
|
buildVariablesByCompScript,
|
|
@@ -163,7 +164,7 @@ import {
|
|
|
163
164
|
isTemplateEntry,
|
|
164
165
|
parsesAsScript,
|
|
165
166
|
prepareFlattenedInnerRoot
|
|
166
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-INNBWSZK.js";
|
|
167
168
|
import {
|
|
168
169
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
169
170
|
getCgroupMemoryLimitMb,
|
|
@@ -187,7 +188,7 @@ import {
|
|
|
187
188
|
resolveAbsoluteMediaStartSeconds,
|
|
188
189
|
resolveAuthoredTimingWindow,
|
|
189
190
|
toFps
|
|
190
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-V5J4XEBG.js";
|
|
191
192
|
import {
|
|
192
193
|
COMPOSITION_SOURCE_URL,
|
|
193
194
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -215,7 +216,7 @@ import {
|
|
|
215
216
|
shouldClampResolvedMediaDuration,
|
|
216
217
|
sourceTimeAt,
|
|
217
218
|
styleElementsFor
|
|
218
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-TWBTXEDZ.js";
|
|
219
220
|
import {
|
|
220
221
|
MAX_AUDIO_GAIN
|
|
221
222
|
} from "./chunk-UJKQWGFF.js";
|
|
@@ -8304,6 +8305,9 @@ function appendAutoDetectedVideoAudio(composition, extracted) {
|
|
|
8304
8305
|
|
|
8305
8306
|
// ../producer/src/services/render/stages/audioStage.ts
|
|
8306
8307
|
import { join as join16 } from "path";
|
|
8308
|
+
function triggerFirst(failures, trigger) {
|
|
8309
|
+
return [trigger, ...(failures ?? []).filter((failure) => failure !== trigger)];
|
|
8310
|
+
}
|
|
8307
8311
|
async function runAudioStage(input) {
|
|
8308
8312
|
const {
|
|
8309
8313
|
projectDir,
|
|
@@ -8369,7 +8373,8 @@ async function runAudioStage(input) {
|
|
|
8369
8373
|
if (interrupted) {
|
|
8370
8374
|
throw encoderFailureError("Audio processing failed", {
|
|
8371
8375
|
error: interrupted.detail,
|
|
8372
|
-
failureReason: "external_interruption"
|
|
8376
|
+
failureReason: "external_interruption",
|
|
8377
|
+
audioFailures: audioFailureDiagnostics(triggerFirst(audioResult.failures, interrupted))
|
|
8373
8378
|
});
|
|
8374
8379
|
}
|
|
8375
8380
|
hasAudio = audioResult.success;
|
|
@@ -11765,6 +11770,7 @@ async function executeRenderPipeline(input) {
|
|
|
11765
11770
|
message: `Audio mix failed; output would be video-only: ${audioResult.audioError}`,
|
|
11766
11771
|
details: {
|
|
11767
11772
|
mediaType: "audio",
|
|
11773
|
+
audioFailures: audioFailureDiagnostics(audioFailures),
|
|
11768
11774
|
failureReasons: [...new Set(audioFailures.map((failure) => failure.reason))],
|
|
11769
11775
|
failureStages: [...new Set(audioFailures.map((failure) => failure.stage))],
|
|
11770
11776
|
failureOwner,
|
|
@@ -14416,7 +14422,7 @@ function startServer(options = {}) {
|
|
|
14416
14422
|
});
|
|
14417
14423
|
async function shutdown(signal) {
|
|
14418
14424
|
log.info(`Received ${signal}, shutting down`);
|
|
14419
|
-
const { drainBrowserPool } = await import("./src-
|
|
14425
|
+
const { drainBrowserPool } = await import("./src-N42CT3YR.js");
|
|
14420
14426
|
await drainBrowserPool().catch(() => {
|
|
14421
14427
|
});
|
|
14422
14428
|
const handle = await Promise.race([
|
|
@@ -15222,6 +15228,7 @@ function applyDistributedAudioWarningPolicy(job, audioError, audioFailures = [],
|
|
|
15222
15228
|
message: `Audio mix failed; output would be video-only: ${audioError}`,
|
|
15223
15229
|
details: {
|
|
15224
15230
|
mediaType: "audio",
|
|
15231
|
+
audioFailures: audioFailureDiagnostics(audioFailures),
|
|
15225
15232
|
failureReasons: [...new Set(audioFailures.map((failure) => failure.reason))],
|
|
15226
15233
|
failureStages: [...new Set(audioFailures.map((failure) => failure.stage))],
|
|
15227
15234
|
failureOwner,
|
|
@@ -15602,7 +15609,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15602
15609
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15603
15610
|
if (probeResult.probeSession) {
|
|
15604
15611
|
try {
|
|
15605
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15612
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-N42CT3YR.js");
|
|
15606
15613
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15607
15614
|
} catch (err) {
|
|
15608
15615
|
log.warn("[plan] probe session close failed", {
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NCVGBBWC.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HO3SITVT.js";
|
|
14
14
|
import {
|
|
15
15
|
detectAgentRuntime
|
|
16
16
|
} from "./chunk-QWQ6GQTI.js";
|