hyperframes 0.8.217 → 0.8.218
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-AXTSRFNT.js → add-6TACQX2U.js} +6 -6
- package/dist/{agentPromptGenerator-52346WSZ.js → agentPromptGenerator-2OHH7TQF.js} +5 -5
- package/dist/{animatedGifPrep-WZHO7ZUA.js → animatedGifPrep-3TCOKQRQ.js} +5 -5
- package/dist/api.js +16 -16
- package/dist/{asset-T2CE34TV.js → asset-XGF7DP6H.js} +2 -2
- package/dist/{assetCataloger-2KABZLU3.js → assetCataloger-23H37VZ5.js} +6 -6
- package/dist/{audio-6I2AK3TZ.js → audio-IIU2JTO2.js} +14 -14
- package/dist/{auth-B3LLOMAG.js → auth-YXS6A6HO.js} +8 -7
- package/dist/{autoUpdate-TTY4BTMM.js → autoUpdate-25S52Q5S.js} +2 -2
- package/dist/{backgroundChecks-WKW5CTCV.js → backgroundChecks-I7EVP7FG.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-5WAAC5HT.js → beats-STUURUTE.js} +9 -9
- package/dist/{benchmark-KFYDNWZ7.js → benchmark-APCKXZV4.js} +7 -7
- package/dist/{browser-LK4FYQXO.js → browser-24AXY6XT.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-NRY45OIW.js → bundleWithLocalizedFonts-D5DHHE3J.js} +2 -2
- package/dist/{capture-SCXKM2WO.js → capture-6DJ63B7N.js} +3 -3
- package/dist/{capture-DXRZI2WW.js → capture-CPDVGCHU.js} +10 -10
- package/dist/{captureCompositionFrame-NDQEZBHR.js → captureCompositionFrame-UQWCB4GS.js} +8 -8
- package/dist/{catalog-7WRGMHVI.js → catalog-Q23ML47J.js} +6 -6
- package/dist/{catch-up-6QEJHTFF.js → catch-up-RS3QCE4R.js} +5 -5
- package/dist/{check-HNONMHQD.js → check-CTCEOX24.js} +30 -30
- package/dist/{checkAudio-OLNSZWWX.js → checkAudio-SINGW2W7.js} +8 -8
- package/dist/{checkBrowser-L2L2EEJD.js → checkBrowser-PDM2H472.js} +24 -24
- package/dist/{chunk-UGQFQDSV.js → chunk-35JKCWYI.js} +1 -1
- package/dist/{chunk-OQRO2MEK.js → chunk-3MTNYVWM.js} +2 -2
- package/dist/{chunk-EAUUGY4R.js → chunk-3O6TQMFR.js} +3 -3
- package/dist/{chunk-YQY4KVP4.js → chunk-3VIICMJF.js} +1 -1
- package/dist/{chunk-CH4RRRGC.js → chunk-4OWVRHSV.js} +5 -5
- package/dist/{chunk-JMGMOK4Z.js → chunk-4RHUYKVK.js} +2 -2
- package/dist/{chunk-NWD2KKM5.js → chunk-562GRMWD.js} +1 -1
- package/dist/{chunk-2JUNPJUM.js → chunk-576ATOOU.js} +2 -2
- package/dist/{chunk-5CXGDO74.js → chunk-5JMHTBGN.js} +2 -2
- package/dist/{chunk-UQSBVZ3H.js → chunk-5UIODBMI.js} +7 -4
- package/dist/{chunk-JY27IRDR.js → chunk-67YDBMLK.js} +1 -1
- package/dist/{chunk-6YGTOBXW.js → chunk-A5MVD5IH.js} +1 -1
- package/dist/{chunk-VAS6HQX3.js → chunk-BIROA7JM.js} +32 -3
- package/dist/{chunk-KLGJ2R4V.js → chunk-BMM6KPEK.js} +2 -2
- package/dist/{chunk-KH5XMMSM.js → chunk-BT5UT4XT.js} +2 -2
- package/dist/{chunk-WGHUHNXI.js → chunk-BWP7C7WY.js} +7 -7
- package/dist/{chunk-XN22HGE7.js → chunk-C2G23WQQ.js} +1 -1
- package/dist/{chunk-3YCAGPZK.js → chunk-CPLOVCBR.js} +18 -18
- package/dist/{chunk-4JHZBIBW.js → chunk-DFLWN6Y3.js} +1 -1
- package/dist/{chunk-5HGUY24Y.js → chunk-DWMI7CKI.js} +1 -1
- package/dist/{chunk-3MUFCWGK.js → chunk-FQUPVW7G.js} +3 -3
- package/dist/{chunk-WKNWKORX.js → chunk-G2E2DHH2.js} +3 -3
- package/dist/{chunk-O44FYXH5.js → chunk-GEOYME4I.js} +2 -2
- package/dist/{chunk-ESZ6YPQM.js → chunk-H6LEUSAT.js} +2 -2
- package/dist/{chunk-5XDKFCEI.js → chunk-HOTGBCX7.js} +6 -6
- package/dist/{chunk-K2666FKT.js → chunk-HTBHG63K.js} +1 -1
- package/dist/{chunk-RLT45AWC.js → chunk-IEC36WFL.js} +1 -1
- package/dist/{chunk-62ER6HGC.js → chunk-ILCIWNPQ.js} +1 -1
- package/dist/{chunk-7VZEOCUY.js → chunk-J74ZUXVU.js} +1 -1
- package/dist/{chunk-5SZ2HRCW.js → chunk-JH2AO4ZW.js} +1 -1
- package/dist/{chunk-URKDBFZV.js → chunk-KUQOUWJ4.js} +2 -2
- package/dist/{chunk-VS7G457O.js → chunk-LBZVTVG6.js} +1 -1
- package/dist/{chunk-ST5EBZTO.js → chunk-LGMRZWJS.js} +9 -3
- package/dist/{chunk-P42DLWIY.js → chunk-LYK7IGH4.js} +2 -2
- package/dist/{chunk-UVXIJYZY.js → chunk-MESSJFK3.js} +249 -298
- package/dist/{chunk-JF3RF6GS.js → chunk-MHZB6QSC.js} +1 -1
- package/dist/{chunk-V4AS2BNU.js → chunk-NEPGYMT3.js} +2 -2
- package/dist/{chunk-CBCZBHGK.js → chunk-NHXGFQWQ.js} +2 -2
- package/dist/{chunk-64TWYU4M.js → chunk-P34BNDC3.js} +5 -5
- package/dist/{chunk-HPRR3WD7.js → chunk-P5ANVBAG.js} +10 -10
- package/dist/{chunk-DEWCAOOL.js → chunk-SFBFRIKF.js} +2 -2
- package/dist/{chunk-W2LKSBX5.js → chunk-SJYWAEKF.js} +9 -9
- package/dist/{chunk-Z3HHAFEP.js → chunk-SVJAW3N3.js} +4 -4
- package/dist/{chunk-R7EB4M5P.js → chunk-SZMW32YW.js} +8 -8
- package/dist/{chunk-TCVI4ZGS.js → chunk-TCV7N2UY.js} +1 -1
- package/dist/{chunk-G35NVFZF.js → chunk-U2EUCTYQ.js} +4 -4
- package/dist/chunk-VLA6UJGH.js +139 -0
- package/dist/{chunk-H47FQDFU.js → chunk-VLMPZRZC.js} +1 -1
- package/dist/{chunk-2Q4CL6AB.js → chunk-VMTLGFAP.js} +1 -1
- package/dist/{chunk-MK4R3APQ.js → chunk-VP5KECBU.js} +1 -1
- package/dist/{chunk-MGZKDR6R.js → chunk-WHISG7MU.js} +1 -1
- package/dist/{chunk-L4BRJVGC.js → chunk-WSAGYFYU.js} +2 -2
- package/dist/{chunk-UZPWLXO6.js → chunk-WUABYDXU.js} +1 -1
- package/dist/{chunk-3C6O5HV2.js → chunk-X4SGGGSG.js} +11 -11
- package/dist/{chunk-OV6MUGZI.js → chunk-XC2DA2IA.js} +2 -2
- package/dist/{chunk-LPJMACTI.js → chunk-XKG4VTT5.js} +4 -4
- package/dist/{chunk-PNBH4ZY7.js → chunk-YBW7HTJK.js} +2 -2
- package/dist/{chunk-PPMLF76Z.js → chunk-YSTBSLWY.js} +1 -1
- package/dist/{chunk-TDNZIFJ2.js → chunk-YXZ56JUN.js} +2 -2
- package/dist/{chunk-42K4JLQO.js → chunk-Z5N3BHCQ.js} +1 -1
- package/dist/{chunk-QY7RG6K3.js → chunk-ZJNN53CS.js} +1 -1
- package/dist/{clean-2CK4S5ES.js → clean-MMKLFZD6.js} +15 -15
- package/dist/cli.js +53 -53
- package/dist/{cloud-QRSJMVGW.js → cloud-PYPEVKTI.js} +4 -4
- package/dist/{compare-ASV5QBD2.js → compare-5FYV3HXW.js} +21 -21
- package/dist/{compiler-CG2EXM75.js → compiler-DVUV3DGB.js} +3 -3
- package/dist/{component-24XLTKUQ.js → component-6WPGKSED.js} +3 -3
- package/dist/{compositions-AN7ETEKG.js → compositions-KF7WTF4B.js} +10 -10
- package/dist/{delete-OMKQ3XTL.js → delete-KZFID7WD.js} +6 -6
- package/dist/{deploy-3M6QRT2H.js → deploy-JU22XTWD.js} +1 -1
- package/dist/{dist-KXFW5H5Q.js → dist-XXBCSQYF.js} +2 -2
- package/dist/{doctor-ABYFP2LY.js → doctor-PI6KAIR5.js} +9 -9
- package/dist/{events-64QVWKTU.js → events-DE5M7353.js} +3 -3
- package/dist/{events-P5AFL2VZ.js → events-GTCDNRHF.js} +4 -4
- package/dist/{feedback-LQ2TT4XL.js → feedback-WBXTSD7V.js} +9 -9
- package/dist/{ffmpeg-Y6NMFQ5J.js → ffmpeg-32BKO53L.js} +5 -5
- package/dist/{figma-R75KTFW4.js → figma-4EX6IU6D.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-KB67C2T7.js → get-IDFMBDVJ.js} +6 -6
- package/dist/{gpuPolicy-4ERRTA5U.js → gpuPolicy-XALYIHRC.js} +5 -5
- package/dist/{grade-compare-NPVETP7T.js → grade-compare-IR6C2BDN.js} +22 -22
- package/dist/{heifImagePrep-ABLYQMTO.js → heifImagePrep-UT4MVMZK.js} +6 -6
- package/dist/{help-ZNJG5OJO.js → help-LNFTZ33U.js} +1 -1
- package/dist/{history-HUBQPMLX.js → history-CVMBLNPB.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KDSQGWE5.js → info-ZR6NR7MT.js} +6 -6
- package/dist/{init-QEPNUQB2.js → init-3H4OWHAC.js} +23 -23
- package/dist/{inspect-27GJ5ZUI.js → inspect-DQB42FQJ.js} +22 -22
- package/dist/{keyframes-E2NNHMNK.js → keyframes-U74BN76I.js} +7 -7
- package/dist/{lambda-QQ2VVPRQ.js → lambda-UPISIKLU.js} +6 -6
- package/dist/{layout-NQQZ5KR7.js → layout-JCWBIDXF.js} +22 -22
- package/dist/{lint-DUYKX36O.js → lint-EELAY2XS.js} +9 -9
- package/dist/{lintProject-SZIPPOJR.js → lintProject-I4XPWIQZ.js} +2 -2
- package/dist/{list-HIZY6RSP.js → list-MDRTOKTA.js} +6 -6
- package/dist/{localPage-U2RMKIMN.js → localPage-BRAEGIND.js} +5 -5
- package/dist/{login-CLP2ZTEW.js → login-SOWERHQ6.js} +9 -8
- package/dist/{logout-CXGSSQ4Q.js → logout-6VFJ7WMW.js} +4 -4
- package/dist/{manager-CXRLWAKH.js → manager-PZ3USUXJ.js} +6 -6
- package/dist/{media-treatment-GSWIAGS4.js → media-treatment-A4CYTZKY.js} +12 -12
- package/dist/{media-use-ZRHFRO46.js → media-use-ZNTB7W6N.js} +85 -10
- package/dist/{models-TPHYQXOL.js → models-3LT54WBS.js} +9 -9
- package/dist/{motionShot-7UX4TKHZ.js → motionShot-QLD2PDVI.js} +11 -11
- package/dist/{normalize-audio-WBTJDFS7.js → normalize-audio-HMYHPUV4.js} +8 -8
- package/dist/{open-P7Z2PIPR.js → open-CYR6L7BV.js} +5 -5
- package/dist/{parakeetRunner-F2OX525D.js → parakeetRunner-52GLM62X.js} +11 -11
- package/dist/{pipeline-2ZDZGL4J.js → pipeline-KZW5KLBK.js} +8 -8
- package/dist/{play-YCH7MRNX.js → play-KSX3VWZ5.js} +15 -15
- package/dist/{preflight-MTMSPVCR.js → preflight-YJZS7QKG.js} +6 -6
- package/dist/{present-L4HNZ2HU.js → present-4Q3DIPFX.js} +15 -15
- package/dist/{preview-RWX74O5J.js → preview-XAKLHB7C.js} +12 -12
- package/dist/{producer-UI4FXLPQ.js → producer-Q46KBQS7.js} +1 -1
- package/dist/{publish-T56AYTZU.js → publish-ZGW46SKV.js} +9 -9
- package/dist/{refresh-VJ4FQVH2.js → refresh-I6ITGHKL.js} +5 -4
- package/dist/{remove-background-4Y56FLXV.js → remove-background-ENOMPCPD.js} +9 -9
- package/dist/{render-IJ7L24RF.js → render-5W2OBXKB.js} +23 -23
- package/dist/{render-UBDIHGEG.js → render-MS2SUV7X.js} +18 -18
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{sherpa-6GOUBSP2.js → sherpa-BWAZ26Z4.js} +10 -10
- package/dist/skills/hyperframes-cli/references/cloud.md +4 -4
- package/dist/skills/media-use/SKILL.md +3 -1
- package/dist/skills/media-use/audio/references/bgm.md +1 -1
- package/dist/skills/media-use/audio/references/requirements.md +9 -9
- package/dist/skills/media-use/audio/references/tts.md +11 -11
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +23 -7
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +68 -10
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +2 -2
- package/dist/skills/media-use/references/operations.md +11 -9
- package/dist/skills/media-use/references/setup-providers.md +30 -30
- package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -2
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +49 -4
- package/dist/{skills-MAJGGJKJ.js → skills-MSNOVAV2.js} +6 -6
- package/dist/{skillsUpdateCheck-X6AIBUUG.js → skillsUpdateCheck-KNXASTIY.js} +3 -3
- package/dist/{snapshot-JKKWQSMQ.js → snapshot-UVDTIQFA.js} +26 -26
- package/dist/{src-LAO5IGRI.js → src-AA5O4QMT.js} +4 -4
- package/dist/{src-RIL5PHI6.js → src-ZMJBQF2Y.js} +7 -7
- package/dist/{staticProjectServer-YF5AZXGR.js → staticProjectServer-MVGWIOTX.js} +11 -11
- package/dist/{status-TJFZFDGS.js → status-63BKLDVW.js} +40 -11
- package/dist/studio/assets/{hyperframes-player-Cf9gtxqa.js → hyperframes-player-C6V-KPv8.js} +1 -1
- package/dist/studio/assets/{index-zVoFhoyD.js → index-BLgjf320.js} +4 -4
- package/dist/studio/assets/{index-CW5fPxU8.js → index-C_LGrLz-.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Q2U6752S.js → studio-api-SW5MW272.js} +8 -8
- package/dist/{studioServer-SPU4MINT.js → studioServer-SXYAQVII.js} +34 -34
- package/dist/{telemetry-W7CBBWIN.js → telemetry-3JM3MQK2.js} +4 -4
- package/dist/{timeline-L26OBLW2.js → timeline-G6MHJ4MV.js} +16 -16
- package/dist/{tokens-PNNCTOYV.js → tokens-ROE4XPZP.js} +2 -2
- package/dist/{transcribe-PPZFOWMB.js → transcribe-EINIBALD.js} +9 -9
- package/dist/{transcribe-XZCZTOPU.js → transcribe-RGWPXLJ3.js} +16 -16
- package/dist/{updateCheck-SNRZKRO2.js → updateCheck-4RS5TICZ.js} +2 -2
- package/dist/{upgrade-WEU5MYWF.js → upgrade-7ULCD6M6.js} +2 -2
- package/dist/{urlDownloader-55NQFDIH.js → urlDownloader-KQOGUGS6.js} +4 -4
- package/dist/{validate-4QEMOBFD.js → validate-QXQ3WRA4.js} +20 -20
- package/dist/{video-VYOWJDYM.js → video-DDKGIJLL.js} +6 -6
- package/dist/warmCheck.js +30 -30
- package/package.json +1 -1
- package/dist/chunk-4WEWHZZO.js +0 -24
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NEPGYMT3.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-2GICKZ3I.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-YXZ56JUN.js";
|
|
33
33
|
import {
|
|
34
34
|
getFreeDiskMb,
|
|
35
35
|
getShmSizeMb,
|
|
@@ -41,14 +41,14 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
getUpdateMeta,
|
|
43
43
|
withMeta
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VLMPZRZC.js";
|
|
45
45
|
import {
|
|
46
46
|
CONFIG_PATH,
|
|
47
47
|
withFileLock
|
|
48
48
|
} from "./chunk-BLBMPEBX.js";
|
|
49
49
|
import {
|
|
50
50
|
VERSION
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XC2DA2IA.js";
|
|
52
52
|
import {
|
|
53
53
|
normalizeErrorMessage
|
|
54
54
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -240,7 +240,7 @@ function checkEnvironment() {
|
|
|
240
240
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
241
241
|
}
|
|
242
242
|
async function checkWhisper() {
|
|
243
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
243
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-PZ3USUXJ.js");
|
|
244
244
|
const result = findWhisper();
|
|
245
245
|
if (result) {
|
|
246
246
|
return { ok: true, detail: result.executablePath };
|
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SJYWAEKF.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-X4SGGGSG.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SVJAW3N3.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HOTGBCX7.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-KUQOUWJ4.js";
|
|
35
35
|
import {
|
|
36
36
|
AUDIT_SEEK_OPTIONS,
|
|
37
37
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
seekCompositionTimeline,
|
|
46
46
|
seekInPage,
|
|
47
47
|
waitForPreferredSeekTarget
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SZMW32YW.js";
|
|
49
49
|
import {
|
|
50
50
|
findStageProxyBox
|
|
51
51
|
} from "./chunk-RYBFHEMZ.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
BrowserCleanupError,
|
|
57
57
|
closeManagedBrowser,
|
|
58
58
|
onStopSignal
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-5JMHTBGN.js";
|
|
60
60
|
import {
|
|
61
61
|
injectTagsAtHeadStart
|
|
62
62
|
} from "./chunk-4I7KQWZS.js";
|
|
@@ -578,7 +578,7 @@ function proxyFailedDraft(message) {
|
|
|
578
578
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
579
579
|
}
|
|
580
580
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
581
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
581
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-D5DHHE3J.js");
|
|
582
582
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
583
583
|
}
|
|
584
584
|
function withCapturePreviewMark(html) {
|
|
@@ -640,7 +640,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
640
640
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
641
641
|
}));
|
|
642
642
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
643
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
643
|
+
const { analyzeClipMediaFit } = await import("./src-AA5O4QMT.js");
|
|
644
644
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
645
645
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
646
646
|
}
|
|
@@ -777,7 +777,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
777
777
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
778
778
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
779
779
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
780
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
780
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-D5DHHE3J.js");
|
|
781
781
|
return withCapturePreviewMark(
|
|
782
782
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
783
783
|
);
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IEC36WFL.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.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-3JM3MQK2.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-562GRMWD.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SVJAW3N3.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-SZMW32YW.js";
|
|
23
23
|
import {
|
|
24
24
|
gotoWhenSent
|
|
25
25
|
} from "./chunk-SGTEKMJW.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ILCIWNPQ.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5JMHTBGN.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
printDeprecationNotice,
|
|
41
41
|
withMeta
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VLMPZRZC.js";
|
|
43
43
|
import {
|
|
44
44
|
failureMessage,
|
|
45
45
|
jsonFailure
|
|
@@ -699,7 +699,7 @@ async function collectTweenBoundaries(page) {
|
|
|
699
699
|
});
|
|
700
700
|
}
|
|
701
701
|
async function bundleProjectHtml(projectDir) {
|
|
702
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
702
|
+
const { bundleToSingleHtml } = await import("./compiler-DVUV3DGB.js");
|
|
703
703
|
return bundleToSingleHtml(projectDir);
|
|
704
704
|
}
|
|
705
705
|
async function alignViewportToComposition(page, url) {
|
|
@@ -718,13 +718,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
718
718
|
async function runLayoutAudit(projectDir, opts) {
|
|
719
719
|
const { ensureBrowser } = await import("./manager-LXWVBDLM.js");
|
|
720
720
|
const puppeteer = await import("puppeteer-core");
|
|
721
|
-
const { buildChromeArgs } = await import("./src-
|
|
721
|
+
const { buildChromeArgs } = await import("./src-AA5O4QMT.js");
|
|
722
722
|
const {
|
|
723
723
|
assertWebGpuAdapterAvailable,
|
|
724
724
|
compositionRequiresWebGpu,
|
|
725
725
|
resolveLocalBrowserGpuMode,
|
|
726
726
|
resolveLocalWebGpu
|
|
727
|
-
} = await import("./gpuPolicy-
|
|
727
|
+
} = await import("./gpuPolicy-XALYIHRC.js");
|
|
728
728
|
const html = await bundleProjectHtml(projectDir);
|
|
729
729
|
const server = await serveStaticProjectHtml(
|
|
730
730
|
projectDir,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HOTGBCX7.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KUQOUWJ4.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
24
|
} from "./chunk-RYBFHEMZ.js";
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
} from "./chunk-BRYOYBO5.js";
|
|
28
28
|
import {
|
|
29
29
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YXZ56JUN.js";
|
|
31
31
|
import {
|
|
32
32
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VMTLGFAP.js";
|
|
34
34
|
import {
|
|
35
35
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
36
|
parsePreviewProxyBox
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
pageNavigationTimeoutMs,
|
|
12
12
|
windowsChromeCrashRemediation
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ILCIWNPQ.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveCompositionViewportFromHtml
|
|
16
16
|
} from "./chunk-RYBFHEMZ.js";
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
launchManagedBrowser,
|
|
19
19
|
resolveManagedGpuMode,
|
|
20
20
|
rethrowAfterBrowserCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5JMHTBGN.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveLocalBrowserGpuMode,
|
|
24
24
|
resolveLocalWebGpu
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YBW7HTJK.js";
|
|
26
26
|
import {
|
|
27
27
|
c
|
|
28
28
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
assertWebGpuAdapterAvailable,
|
|
31
31
|
compositionRequiresWebGpu,
|
|
32
32
|
oneProcessOverPipe
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YXZ56JUN.js";
|
|
34
34
|
import {
|
|
35
35
|
normalizeErrorMessage
|
|
36
36
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
138
138
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
139
139
|
});
|
|
140
140
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
141
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
141
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-AA5O4QMT.js");
|
|
142
142
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
143
143
|
await waitForImagesReady(
|
|
144
144
|
page,
|
|
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
|
|
|
187
187
|
async function openSettledCompositionPage(html, url, options) {
|
|
188
188
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
189
189
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
190
|
-
const answer = (await import("./staticProjectServer-
|
|
190
|
+
const answer = (await import("./staticProjectServer-MVGWIOTX.js")).inProcessAnswer(url);
|
|
191
191
|
const noListen = answer !== void 0;
|
|
192
192
|
let chromeBrowser;
|
|
193
193
|
try {
|
|
@@ -198,7 +198,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
198
198
|
options.onBrowserReady?.();
|
|
199
199
|
const page = await chromeBrowser.newPage();
|
|
200
200
|
await installPageFunctionGuard(page);
|
|
201
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
201
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-AA5O4QMT.js");
|
|
202
202
|
await installMediaRenderIdBridge(page);
|
|
203
203
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
204
204
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -219,7 +219,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
219
219
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-LXWVBDLM.js");
|
|
220
220
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
221
221
|
const puppeteer = await import("puppeteer-core");
|
|
222
|
-
const { buildChromeArgs } = await import("./src-
|
|
222
|
+
const { buildChromeArgs } = await import("./src-AA5O4QMT.js");
|
|
223
223
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
224
224
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
225
225
|
let softwareWebGpu = false;
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudio
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J74ZUXVU.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DWMI7CKI.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel,
|
|
19
19
|
sha256File
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3VIICMJF.js";
|
|
21
21
|
import {
|
|
22
22
|
findFFmpeg,
|
|
23
23
|
findFFprobe,
|
|
24
24
|
getFFmpegInstallHint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LGMRZWJS.js";
|
|
26
26
|
import {
|
|
27
27
|
findWavChunk
|
|
28
28
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// src/auth/errors.ts
|
|
9
|
+
var AuthError = class extends Error {
|
|
10
|
+
code;
|
|
11
|
+
hint;
|
|
12
|
+
constructor(code, message, hint) {
|
|
13
|
+
super(message);
|
|
14
|
+
this.name = "AuthError";
|
|
15
|
+
this.code = code;
|
|
16
|
+
this.hint = hint;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
var ErrNotConfigured = () => new AuthError(
|
|
20
|
+
"NOT_CONFIGURED",
|
|
21
|
+
"No HeyGen credentials found",
|
|
22
|
+
"Run `hyperframes auth login` to sign in."
|
|
23
|
+
);
|
|
24
|
+
var ErrInvalidStore = (detail) => new AuthError(
|
|
25
|
+
"INVALID_STORE",
|
|
26
|
+
`Credential file is unreadable: ${detail}`,
|
|
27
|
+
"Delete ~/.hyperframes/credentials and run `hyperframes auth login` to re-create it."
|
|
28
|
+
);
|
|
29
|
+
var ErrUnauthenticated = (detail) => new AuthError(
|
|
30
|
+
"UNAUTHENTICATED",
|
|
31
|
+
detail ? `HeyGen rejected the credential: ${detail}` : "HeyGen rejected the credential",
|
|
32
|
+
"Run `hyperframes auth login` to re-authenticate."
|
|
33
|
+
);
|
|
34
|
+
var ErrApi = (status, detail) => new AuthError("API_ERROR", `HeyGen API error (${status}): ${detail}`);
|
|
35
|
+
var ErrOAuthNotConfigured = () => new AuthError(
|
|
36
|
+
"OAUTH_NOT_CONFIGURED",
|
|
37
|
+
"OAuth client is not configured",
|
|
38
|
+
"Set HYPERFRAMES_OAUTH_CLIENT_ID, or run `hyperframes auth login --api-key`."
|
|
39
|
+
);
|
|
40
|
+
var ErrRefreshFailed = (detail) => new AuthError(
|
|
41
|
+
"REFRESH_FAILED",
|
|
42
|
+
detail ? `Failed to refresh OAuth tokens: ${detail}` : "Failed to refresh OAuth tokens",
|
|
43
|
+
"Run `hyperframes auth login` to re-authenticate."
|
|
44
|
+
);
|
|
45
|
+
var ErrLoginExpired = () => new AuthError(
|
|
46
|
+
"LOGIN_EXPIRED",
|
|
47
|
+
"Your HeyGen login expired",
|
|
48
|
+
"Run `hyperframes auth login` to sign in again."
|
|
49
|
+
);
|
|
50
|
+
var ErrLoginChanged = () => new AuthError(
|
|
51
|
+
"LOGIN_CHANGED",
|
|
52
|
+
"Your HeyGen login changed while this command ran",
|
|
53
|
+
"Run the command again."
|
|
54
|
+
);
|
|
55
|
+
var ErrDeviceAuthFailed = (detail) => new AuthError(
|
|
56
|
+
"DEVICE_AUTH_FAILED",
|
|
57
|
+
`Device authorization failed: ${detail}`,
|
|
58
|
+
"Run `hyperframes auth login --device` to start a new code."
|
|
59
|
+
);
|
|
60
|
+
function isAuthError(err) {
|
|
61
|
+
return err instanceof AuthError;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// src/auth/config.ts
|
|
65
|
+
var PROD_CLIENT_ID = "Zg3LF4FCLoeJoGs2YqMtZ17g";
|
|
66
|
+
function oauthEnvironment() {
|
|
67
|
+
const value = process.env["HYPERFRAMES_ENV"] || "prod";
|
|
68
|
+
if (value === "prod" || value === "dev") return value;
|
|
69
|
+
throw new AuthError("OAUTH_NOT_CONFIGURED", "HYPERFRAMES_ENV must be prod or dev");
|
|
70
|
+
}
|
|
71
|
+
function defaultClientId() {
|
|
72
|
+
return oauthEnvironment() === "prod" ? PROD_CLIENT_ID : "9QoaiwCZov9O0cAkC4OZbR4p";
|
|
73
|
+
}
|
|
74
|
+
function resolveClientId() {
|
|
75
|
+
const id = process.env["HYPERFRAMES_OAUTH_CLIENT_ID"] || defaultClientId();
|
|
76
|
+
if (!id) throw ErrOAuthNotConfigured();
|
|
77
|
+
return id;
|
|
78
|
+
}
|
|
79
|
+
function tokenEndpoint() {
|
|
80
|
+
return process.env["HYPERFRAMES_OAUTH_TOKEN_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/token`;
|
|
81
|
+
}
|
|
82
|
+
function authorizeEndpoint() {
|
|
83
|
+
return process.env["HYPERFRAMES_OAUTH_AUTHORIZE_URL"] || (oauthEnvironment() === "dev" ? "https://api2.dev.heygen.com/v1/oauth/authorize" : "https://app.heygen.com/oauth/authorize");
|
|
84
|
+
}
|
|
85
|
+
function revokeEndpoint() {
|
|
86
|
+
return process.env["HYPERFRAMES_OAUTH_REVOKE_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/revoke`;
|
|
87
|
+
}
|
|
88
|
+
function deviceAuthorizationEndpoint() {
|
|
89
|
+
return process.env["HYPERFRAMES_OAUTH_DEVICE_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/device_authorization`;
|
|
90
|
+
}
|
|
91
|
+
function oauthIdentity() {
|
|
92
|
+
return { client_id: resolveClientId(), token_endpoint: tokenEndpoint() };
|
|
93
|
+
}
|
|
94
|
+
function assertOAuthIdentity(tokens) {
|
|
95
|
+
const identity = oauthIdentity();
|
|
96
|
+
if (tokens.client_id !== identity.client_id || tokens.token_endpoint !== identity.token_endpoint) {
|
|
97
|
+
throw new AuthError(
|
|
98
|
+
"LOGIN_EXPIRED",
|
|
99
|
+
"This login belongs to a different OAuth client or environment",
|
|
100
|
+
"Run `hyperframes auth login` to sign into the selected HyperFrames environment."
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// src/auth/paths.ts
|
|
106
|
+
import { homedir } from "os";
|
|
107
|
+
import { join } from "path";
|
|
108
|
+
var CREDENTIAL_FILENAME = "credentials";
|
|
109
|
+
function configDir() {
|
|
110
|
+
const root = process.env["HYPERFRAMES_CONFIG_DIR"] || join(homedir(), ".hyperframes");
|
|
111
|
+
return oauthEnvironment() === "dev" ? join(root, "dev") : root;
|
|
112
|
+
}
|
|
113
|
+
function credentialPath() {
|
|
114
|
+
return join(configDir(), CREDENTIAL_FILENAME);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export {
|
|
118
|
+
AuthError,
|
|
119
|
+
ErrNotConfigured,
|
|
120
|
+
ErrInvalidStore,
|
|
121
|
+
ErrUnauthenticated,
|
|
122
|
+
ErrApi,
|
|
123
|
+
ErrRefreshFailed,
|
|
124
|
+
ErrLoginExpired,
|
|
125
|
+
ErrLoginChanged,
|
|
126
|
+
ErrDeviceAuthFailed,
|
|
127
|
+
isAuthError,
|
|
128
|
+
oauthEnvironment,
|
|
129
|
+
defaultClientId,
|
|
130
|
+
resolveClientId,
|
|
131
|
+
tokenEndpoint,
|
|
132
|
+
authorizeEndpoint,
|
|
133
|
+
revokeEndpoint,
|
|
134
|
+
deviceAuthorizationEndpoint,
|
|
135
|
+
oauthIdentity,
|
|
136
|
+
assertOAuthIdentity,
|
|
137
|
+
configDir,
|
|
138
|
+
credentialPath
|
|
139
|
+
};
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
RegistryCompatibilityError,
|
|
12
12
|
gateRegistryItemsCompatibility
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A5MVD5IH.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_PROJECT_CONFIG,
|
|
16
16
|
createProjectConfig,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-YATFRFNH.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZJNN53CS.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-562GRMWD.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SZMW32YW.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ILCIWNPQ.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
21
|
} from "./chunk-RYBFHEMZ.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5JMHTBGN.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VLMPZRZC.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-Q46KBQS7.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,10 +273,10 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-DVUV3DGB.js");
|
|
277
277
|
const { ensureBrowser } = await import("./manager-LXWVBDLM.js");
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
-
const { lintProject } = await import("./lintProject-
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-MVGWIOTX.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-I4XPWIQZ.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
282
282
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-AA5O4QMT.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-XALYIHRC.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -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.218" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.218" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LGMRZWJS.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5JMHTBGN.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YXZ56JUN.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
391
391
|
}
|
|
392
392
|
async function probeMedia(inputPath) {
|
|
393
393
|
const isImage = inferInputKind(inputPath) === "image";
|
|
394
|
-
const engine = await import("./src-
|
|
394
|
+
const engine = await import("./src-AA5O4QMT.js");
|
|
395
395
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
396
396
|
if (isImage) {
|
|
397
397
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|