hyperframes 0.8.113 → 0.8.115
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-ILIGSLV4.js → add-ZSLFODRZ.js} +15 -14
- package/dist/{animatedGifPrep-U7FMC7DB.js → animatedGifPrep-72A45YER.js} +5 -5
- package/dist/{asset-OFDEIAGM.js → asset-SGDOHBBN.js} +2 -2
- package/dist/{assetCataloger-5LCGR5XU.js → assetCataloger-Q7BCDARF.js} +2 -2
- package/dist/{auth-5JDDEX2M.js → auth-5JGFN7SV.js} +2 -2
- package/dist/{autoUpdate-JXVZVJCV.js → autoUpdate-ZVTMYO7Z.js} +2 -2
- package/dist/{backgroundChecks-BBWGY3V6.js → backgroundChecks-IY3G5G2D.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-QVJ7NEUH.js → batchRender-QVLLL5DN.js} +3 -3
- package/dist/{beats-YEYVQMX6.js → beats-66KZIB5V.js} +14 -10
- package/dist/{benchmark-J2V46VWI.js → benchmark-AWFKSWQH.js} +11 -11
- package/dist/{browser-XBWASLD2.js → browser-J54EXMCE.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-4CVITCYK.js → bundleWithLocalizedFonts-BLLHP2TO.js} +2 -2
- package/dist/{capture-GLHK4ST7.js → capture-D4HRSVSK.js} +2 -2
- package/dist/{capture-F2Y7TIHU.js → capture-SLI2I5BS.js} +16 -11
- package/dist/{catalog-3QDMTDK2.js → catalog-BUMLQU7L.js} +15 -14
- package/dist/{check-O3RR4NWI.js → check-HEZUK62C.js} +31 -29
- package/dist/{checkBrowser-K36DAG4S.js → checkBrowser-RVJM6IUO.js} +30 -28
- package/dist/{chunk-EMZF2TPA.js → chunk-2DX6JYL2.js} +2 -2
- package/dist/{chunk-BOUDTDBQ.js → chunk-2GWVY66H.js} +1 -1
- package/dist/{chunk-P3FGUSFK.js → chunk-2H37RGJ2.js} +7 -7
- package/dist/{chunk-7543YIMQ.js → chunk-3J4EBX5M.js} +1 -1
- package/dist/{chunk-3XPZJUKM.js → chunk-3R6P5BIG.js} +2 -2
- package/dist/{chunk-ZZIXIOK2.js → chunk-3YTWSGBV.js} +4 -4
- package/dist/{chunk-HYXL3VJA.js → chunk-4HIF3LI3.js} +5 -5
- package/dist/{chunk-HTQR7SUZ.js → chunk-4P2TOD7N.js} +1 -1
- package/dist/{chunk-G2T2X6FZ.js → chunk-5MXN7WM4.js} +2 -2
- package/dist/{chunk-2DBYGR4N.js → chunk-5YSA3YXO.js} +14 -18
- package/dist/{chunk-7CGIICLA.js → chunk-6SEUZGID.js} +3 -3
- package/dist/{chunk-VLC7JS4K.js → chunk-74RAXWDF.js} +1 -1
- package/dist/{chunk-ZYSS3JED.js → chunk-AXXK3LWL.js} +1 -1
- package/dist/chunk-BDNCUMZM.js +2961 -0
- package/dist/{chunk-E52XEEAA.js → chunk-BQG33YTI.js} +1 -1
- package/dist/{chunk-QPR4N2D4.js → chunk-CVBWF2MD.js} +1 -1
- package/dist/{chunk-R4NWAW35.js → chunk-HOBR4IHC.js} +7 -7
- package/dist/{chunk-XZM2I47O.js → chunk-HPWPLV5J.js} +2 -2
- package/dist/{chunk-FCEFKWPM.js → chunk-IEE7GIVX.js} +1 -1
- package/dist/{chunk-L5QASNBN.js → chunk-IOJAVV6J.js} +1 -1
- package/dist/{chunk-DDK22K3I.js → chunk-KLZ7OCHR.js} +3 -3
- package/dist/{chunk-OCNCK5FQ.js → chunk-M7XTMZF5.js} +1 -1
- package/dist/{chunk-GDJ74GHW.js → chunk-MPB7BQT7.js} +1 -1
- package/dist/{chunk-VIJ35BJ6.js → chunk-ORAISNGN.js} +14 -17
- package/dist/{chunk-IP3XINRB.js → chunk-P6LJ4Y32.js} +23 -2944
- package/dist/chunk-P73WQPSB.js +93 -0
- package/dist/{chunk-VTP4VSRP.js → chunk-PLP4K6WZ.js} +194 -52
- package/dist/{chunk-LMC46FK5.js → chunk-QMFCL2ZN.js} +1 -1
- package/dist/{chunk-DR7QW6C5.js → chunk-QXNRRMBQ.js} +2 -2
- package/dist/{chunk-C6AIZOQN.js → chunk-RRPJEHHW.js} +1 -1
- package/dist/{chunk-FXHVADV6.js → chunk-SAO3NQPF.js} +1 -1
- package/dist/{chunk-3IUSKIZW.js → chunk-SC7ICSIU.js} +1 -1
- package/dist/{chunk-FW7K32YT.js → chunk-SK53U3PF.js} +1 -1
- package/dist/{chunk-XXKBPGPJ.js → chunk-SOEQWMNS.js} +2 -2
- package/dist/{chunk-L5SYYW2P.js → chunk-SSZYJCAL.js} +2 -2
- package/dist/{chunk-U4VSY56O.js → chunk-T5HXGUM3.js} +1 -1
- package/dist/{chunk-ENHAGQEP.js → chunk-TMCJPHPP.js} +1 -1
- package/dist/{chunk-XFJXFNJF.js → chunk-TWJT2RGZ.js} +27 -12
- package/dist/{chunk-ZMMSMDCA.js → chunk-VDASTWUM.js} +1 -1
- package/dist/{chunk-T3NMEYGM.js → chunk-WZYHTXZY.js} +1 -1
- package/dist/{chunk-IRJBTYJF.js → chunk-XJQ7TRLG.js} +1 -1
- package/dist/{chunk-OEA2J2TF.js → chunk-Y2Y4LBJD.js} +3 -3
- package/dist/{chunk-SIN32SJB.js → chunk-YNHP6OFJ.js} +2 -2
- package/dist/{chunk-4KGMIOMY.js → chunk-ZBQP54CD.js} +10 -7
- package/dist/{clean-RPB34TT6.js → clean-X6Y252ZC.js} +14 -14
- package/dist/cli.js +53 -52
- package/dist/{cloud-QECFFPKC.js → cloud-EE4GALWR.js} +4 -4
- package/dist/{cloudrun-BML6ZG7K.js → cloudrun-Y6A42KHE.js} +3 -3
- package/dist/{compare-PF6WHQ4T.js → compare-K6XJZ3OC.js} +25 -23
- package/dist/{compiler-ZHVIEP26.js → compiler-DYACPLUW.js} +2 -2
- package/dist/{component-4ENCNLED.js → component-T6IYSCFP.js} +3 -3
- package/dist/{compositions-5UA33RSG.js → compositions-4KUTNS5L.js} +10 -10
- package/dist/{delete-SARS5LIK.js → delete-C64TWAPE.js} +2 -2
- package/dist/{dist-OKRUIHYU.js → dist-KNGSQALD.js} +2 -2
- package/dist/{doctor-TSAQGYP4.js → doctor-WJXZK5QN.js} +9 -9
- package/dist/{events-3HUO73ZE.js → events-FVG3Y6Q4.js} +8 -8
- package/dist/{events-SZ5NWYWD.js → events-QRWJBSV4.js} +7 -7
- package/dist/{feedback-42OTOFC6.js → feedback-NQHRUOZP.js} +9 -9
- package/dist/{figma-RYNFCYXB.js → figma-MEX4CSIM.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{get-IRHLG5OQ.js → get-CMJIHGSA.js} +2 -2
- package/dist/{gpuPolicy-LRMOZXFU.js → gpuPolicy-5S4OZDME.js} +5 -5
- package/dist/{grade-compare-KGJP5HV7.js → grade-compare-NIDMIUGZ.js} +25 -23
- package/dist/{help-C5HS56RZ.js → help-G6AWAWJW.js} +1 -1
- package/dist/{history-DFJNDM2T.js → history-ZBOK2JQF.js} +20 -18
- package/dist/hyperframe-runtime.js +36 -36
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +36 -36
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-26GTDTKN.js → info-2ORQZ6I2.js} +10 -10
- package/dist/{init-RXA6NI73.js → init-3PSKH6UR.js} +22 -21
- package/dist/{inspect-2S5GAZYC.js → inspect-NR54RMEE.js} +26 -24
- package/dist/{installer-DGYYDGWJ.js → installer-YQUWHYBZ.js} +5 -4
- package/dist/{keyframes-WBMAX7XZ.js → keyframes-KT7T4AEV.js} +11 -11
- package/dist/{lambda-OQBFCEFA.js → lambda-3FF4V3X3.js} +4 -4
- package/dist/{layout-ZRU7PXBG.js → layout-RB3M37ER.js} +26 -24
- package/dist/{lint-ATVNZ6FG.js → lint-HR57M5YP.js} +11 -11
- package/dist/{list-E2GHYPCQ.js → list-YDXYHXHF.js} +2 -2
- package/dist/{login-LOC4KA7H.js → login-N6UNRVYW.js} +4 -4
- package/dist/{media-treatment-L43MVH2V.js → media-treatment-UXJOTNRO.js} +11 -11
- package/dist/{models-JF5OOZ5A.js → models-Z3XFMGXB.js} +6 -6
- package/dist/{motionShot-BJ5CLYMN.js → motionShot-KQMCXJ77.js} +15 -12
- package/dist/{normalize-audio-K33FKGAF.js → normalize-audio-XJQMDWRV.js} +10 -10
- package/dist/{pipeline-IWPF5ZMK.js → pipeline-U3OISHWV.js} +5 -5
- package/dist/{play-PHHXYCQI.js → play-XP77PML5.js} +20 -19
- package/dist/{preflight-2GH2Z4GZ.js → preflight-CANFVC4Y.js} +6 -6
- package/dist/{present-KBFK2YVB.js → present-MWGA3O4S.js} +15 -15
- package/dist/{preview-T3E5TFDC.js → preview-X5GWZ3Q6.js} +31 -24
- package/dist/{producer-SL66UNEP.js → producer-B2IHU7MA.js} +1 -1
- package/dist/{projectConfig-7AKXZNNR.js → projectConfig-2A64YU5H.js} +7 -6
- package/dist/{publication-B2OERUY7.js → publication-CFYBPLRS.js} +2 -2
- package/dist/{publish-ZGKT7KED.js → publish-WE6AS77D.js} +8 -7
- package/dist/{remove-background-4LRTT6YL.js → remove-background-XSDOCVN5.js} +6 -6
- package/dist/{render-H6RSJF2V.js → render-5TMRIC73.js} +11 -11
- package/dist/{render-OKNPNMFS.js → render-HVZUCLYW.js} +21 -20
- package/dist/{render-TGCDBKMP.js → render-QX6AKB6Y.js} +3 -3
- package/dist/{render-batch-WRQFW4UC.js → render-batch-QJXFVTDE.js} +3 -3
- package/dist/{renderCancellation-BFCQYGVV.js → renderCancellation-WSSSHRFR.js} +5 -5
- package/dist/{resolver-37UOGAMT.js → resolver-WTXO6WXA.js} +5 -4
- package/dist/{sherpa-SDVKYXCX.js → sherpa-S6ZBBEFO.js} +6 -6
- package/dist/skills/hyperframes/SKILL.md +4 -0
- package/dist/skills/hyperframes-cli/SKILL.md +8 -0
- package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +8 -0
- package/dist/skills/media-use/audio/scripts/audio.mjs +4 -1
- package/dist/skills/media-use/audio/scripts/audio.test.mjs +33 -0
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +1 -0
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +44 -1
- package/dist/{skills-O25ZTFTO.js → skills-CDRSTETB.js} +10 -10
- package/dist/{skillsUpdateCheck-Y2V4OMMT.js → skillsUpdateCheck-FKREJXSF.js} +3 -3
- package/dist/{snapshot-KGM2HZIC.js → snapshot-T4PFSXTH.js} +142 -51
- package/dist/{src-PLWCT745.js → src-5BZDQAVN.js} +6 -6
- package/dist/{src-PJJ6NISA.js → src-IZMCUYK7.js} +4 -4
- package/dist/{staticProjectServer-OCE7GU5S.js → staticProjectServer-VN4ARAH4.js} +14 -13
- package/dist/{status-LENRPQS5.js → status-OJZWJB53.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-DzJbtQVO.js → hyperframes-player-C-9N8nk0.js} +1 -1
- package/dist/studio/assets/{index-n5FUn1xv.js → index-BoUM6Xqb.js} +1 -1
- package/dist/studio/assets/{index-DRhF3v4Z.js → index-CAvZ0AA-.js} +204 -204
- package/dist/studio/assets/{index-DgwDQK5G.js → index-CVuorIMv.js} +1 -1
- package/dist/studio/assets/index-t1LH6H5H.css +1 -0
- package/dist/studio/{chunk-K47E2ZJA.js → chunk-5EKWJZLM.js} +504 -17
- package/dist/studio/chunk-5EKWJZLM.js.map +1 -0
- package/dist/studio/{chunk-VWT7STY3.js → chunk-J6Q572FA.js} +2 -2
- package/dist/studio/{chunk-BIUXP3PG.js → chunk-TXZMMOMA.js} +43 -276
- package/dist/studio/chunk-TXZMMOMA.js.map +1 -0
- package/dist/studio/{domEditingLayers-V67MS4WP.js → domEditingLayers-D7VYFJJD.js} +3 -5
- package/dist/studio/index.d.ts +46 -22
- package/dist/studio/index.html +2 -2
- package/dist/studio/index.js +3899 -3487
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +2 -2
- package/dist/studio/styles.css +1 -1
- package/dist/{studio-api-IEQ5BIHT.js → studio-api-CIO2NKK5.js} +9 -7
- package/dist/{studioServer-LXJ34MGN.js → studioServer-G5GNYWDI.js} +45 -45
- package/dist/{system-4KRSV2B7.js → system-PPNNGVIM.js} +5 -5
- package/dist/{telemetry-R3BPD6VK.js → telemetry-GMDMISOX.js} +8 -8
- package/dist/{timeline-N5UKVS2S.js → timeline-5LSQX4OS.js} +14 -14
- package/dist/{tokens-774UBF2R.js → tokens-VBXAT7CK.js} +2 -2
- package/dist/{transcribe-IP74EZLM.js → transcribe-GYCAIIEQ.js} +11 -11
- package/dist/{transcribe-3UXXEDXX.js → transcribe-VGYAWRXS.js} +6 -6
- package/dist/{updateCheck-EXHNAPKI.js → updateCheck-AZEREUQV.js} +2 -2
- package/dist/{upgrade-A4M3O2F2.js → upgrade-S63QN2LA.js} +2 -2
- package/dist/{urlDownloader-4KNER64L.js → urlDownloader-SM6ODN5O.js} +4 -4
- package/dist/usage-EC3KFUIJ.js +2139 -0
- package/dist/{validate-DV75GM6J.js → validate-7MNUK5MH.js} +15 -14
- package/dist/{video-GINAMW5I.js → video-JEOHARTC.js} +5 -5
- package/package.json +1 -1
- package/dist/studio/assets/index-DbfKVTId.css +0 -1
- package/dist/studio/chunk-BIUXP3PG.js.map +0 -1
- package/dist/studio/chunk-K47E2ZJA.js.map +0 -1
- /package/dist/studio/{chunk-VWT7STY3.js.map → chunk-J6Q572FA.js.map} +0 -0
- /package/dist/studio/{domEditingLayers-V67MS4WP.js.map → domEditingLayers-D7VYFJJD.js.map} +0 -0
|
@@ -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-FVG3Y6Q4.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5MXN7WM4.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IEE7GIVX.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-GK4AIFIH.js";
|
|
@@ -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-PLP4K6WZ.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RRPJEHHW.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isAllowedHtmlAttribute,
|
|
9
9
|
isSafeAttributeValue,
|
|
10
10
|
sanitizeRichTextChildren
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IEE7GIVX.js";
|
|
12
12
|
import {
|
|
13
13
|
removeElementWithGsapCascade
|
|
14
14
|
} from "./chunk-UUDQD62L.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-M7XTMZF5.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
23
|
} from "./chunk-YJEGT5L6.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
__toESM
|
|
35
35
|
} from "./chunk-M2WBOQ2Q.js";
|
|
36
36
|
|
|
37
|
-
// ../studio-server/dist/chunk-
|
|
37
|
+
// ../studio-server/dist/chunk-G4YB7Q2Q.js
|
|
38
38
|
var import_postcss_selector_parser = __toESM(require_dist(), 1);
|
|
39
39
|
import postcss from "postcss";
|
|
40
40
|
|
|
@@ -148,7 +148,7 @@ function findSyncPartner(el) {
|
|
|
148
148
|
return best?.el ?? null;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
// ../studio-server/dist/chunk-
|
|
151
|
+
// ../studio-server/dist/chunk-G4YB7Q2Q.js
|
|
152
152
|
function parseStyleDecls(style) {
|
|
153
153
|
const props = /* @__PURE__ */ new Map();
|
|
154
154
|
const order = [];
|
|
@@ -283,13 +283,21 @@ function findTargetElement(document, target) {
|
|
|
283
283
|
return null;
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function removeElementsFromHtml(source, targets) {
|
|
287
287
|
const { document, wrappedFragment } = parseSourceDocument(source);
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
let removed = false;
|
|
289
|
+
for (const target of targets) {
|
|
290
|
+
const element = findTargetElement(document, target);
|
|
291
|
+
if (!element) continue;
|
|
292
|
+
removeElementWithGsapCascade(document, element);
|
|
293
|
+
removed = true;
|
|
294
|
+
}
|
|
295
|
+
if (!removed) return source;
|
|
291
296
|
return wrappedFragment ? document.body.innerHTML || "" : document.toString();
|
|
292
297
|
}
|
|
298
|
+
function removeElementFromHtml(source, target) {
|
|
299
|
+
return removeElementsFromHtml(source, [target]);
|
|
300
|
+
}
|
|
293
301
|
function isHTMLElement(el) {
|
|
294
302
|
const HTMLEl = el.ownerDocument?.defaultView?.HTMLElement;
|
|
295
303
|
return HTMLEl ? el instanceof HTMLEl : el.nodeType === 1 && "style" in el;
|
|
@@ -394,11 +402,16 @@ function patchElementInHtml(source, target, operations) {
|
|
|
394
402
|
if (html === originalHtml) return { html: source, matched: true };
|
|
395
403
|
return { html: ensureHfIds(html), matched: true };
|
|
396
404
|
}
|
|
397
|
-
function
|
|
398
|
-
if (!target.id && !target.hfId && !target.selector) return false;
|
|
405
|
+
function probeElementsInSource(source, targets) {
|
|
399
406
|
const { document } = parseSourceDocument(source);
|
|
400
|
-
|
|
401
|
-
|
|
407
|
+
return targets.map((target) => {
|
|
408
|
+
if (!target.id && !target.hfId && !target.selector) return false;
|
|
409
|
+
const el = findTargetElement(document, target);
|
|
410
|
+
return el != null && isHTMLElement(el);
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
function probeElementInSource(source, target) {
|
|
414
|
+
return probeElementsInSource(source, [target])[0] ?? false;
|
|
402
415
|
}
|
|
403
416
|
function resolveElementTiming(el) {
|
|
404
417
|
const timing = readClipTiming(el);
|
|
@@ -630,10 +643,12 @@ export {
|
|
|
630
643
|
findSyncPartner,
|
|
631
644
|
parseSourceDocument,
|
|
632
645
|
findTargetElement,
|
|
646
|
+
removeElementsFromHtml,
|
|
633
647
|
removeElementFromHtml,
|
|
634
648
|
isHTMLElement,
|
|
635
649
|
dedupeClonedCompositionId,
|
|
636
650
|
patchElementInHtml,
|
|
651
|
+
probeElementsInSource,
|
|
637
652
|
probeElementInSource,
|
|
638
653
|
splitElementInHtml,
|
|
639
654
|
wrapElementsInHtml,
|
|
@@ -13,7 +13,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
13
13
|
return "auto";
|
|
14
14
|
}
|
|
15
15
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath) {
|
|
16
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
16
|
+
const { resolveBrowserGpuMode } = await import("./src-IZMCUYK7.js");
|
|
17
17
|
return resolveBrowserGpuMode(requestedMode, { chromePath });
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PLP4K6WZ.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-QMFCL2ZN.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAutoProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2GWVY66H.js";
|
|
25
25
|
|
|
26
26
|
// src/utils/staticProjectServer.ts
|
|
27
27
|
import { createServer } from "http";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_VP9_CPU_USED,
|
|
18
18
|
renderProvenanceArgs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5MXN7WM4.js";
|
|
20
20
|
import {
|
|
21
21
|
loadOptionalPackage
|
|
22
22
|
} from "./chunk-XT5P4QMO.js";
|
|
@@ -202,7 +202,7 @@ function inferInputKind(inputPath) {
|
|
|
202
202
|
}
|
|
203
203
|
async function probeMedia(inputPath) {
|
|
204
204
|
const isImage = inferInputKind(inputPath) === "image";
|
|
205
|
-
const engine = await import("./src-
|
|
205
|
+
const engine = await import("./src-IZMCUYK7.js");
|
|
206
206
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
207
207
|
if (isImage) {
|
|
208
208
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -7,23 +7,26 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveCompositionViewportFromHtml
|
|
9
9
|
} from "./chunk-5Z63TBTX.js";
|
|
10
|
+
import {
|
|
11
|
+
launchManagedBrowser,
|
|
12
|
+
resolveManagedGpuMode
|
|
13
|
+
} from "./chunk-P73WQPSB.js";
|
|
10
14
|
import {
|
|
11
15
|
windowsChromeCrashRemediation
|
|
12
16
|
} from "./chunk-262C25DQ.js";
|
|
13
17
|
import {
|
|
14
18
|
resolveDiagnosticNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SC7ICSIU.js";
|
|
16
20
|
import {
|
|
17
|
-
resolveCaptureBrowserGpuMode,
|
|
18
21
|
resolveLocalBrowserGpuMode
|
|
19
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WZYHTXZY.js";
|
|
20
23
|
import {
|
|
21
24
|
c
|
|
22
25
|
} from "./chunk-ZTZA4UWZ.js";
|
|
23
26
|
import {
|
|
24
27
|
assertWebGpuAdapterAvailable,
|
|
25
28
|
compositionRequiresWebGpu
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5MXN7WM4.js";
|
|
27
30
|
import {
|
|
28
31
|
normalizeErrorMessage
|
|
29
32
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -99,12 +102,12 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
99
102
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-CT3D67CG.js");
|
|
100
103
|
const browser = await ensureBrowser();
|
|
101
104
|
const puppeteer = await import("puppeteer-core");
|
|
102
|
-
const { buildChromeArgs } = await import("./src-
|
|
105
|
+
const { buildChromeArgs } = await import("./src-IZMCUYK7.js");
|
|
103
106
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
104
107
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
105
108
|
const launch = async (executablePath) => {
|
|
106
|
-
const resolvedGpuMode = await
|
|
107
|
-
return puppeteer.default
|
|
109
|
+
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, executablePath);
|
|
110
|
+
return launchManagedBrowser(puppeteer.default, {
|
|
108
111
|
headless: true,
|
|
109
112
|
executablePath,
|
|
110
113
|
args: buildChromeArgs(
|
|
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
redactHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4HIF3LI3.js";
|
|
10
10
|
import "./chunk-Z27A7NUB.js";
|
|
11
11
|
import "./chunk-5ETJX6WM.js";
|
|
12
12
|
import {
|
|
13
13
|
loadProducer
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-74RAXWDF.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_HISTORY_ROOT,
|
|
17
17
|
listProjectHistories,
|
|
18
18
|
pruneGoneProjectHistories
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-PLP4K6WZ.js";
|
|
20
|
+
import "./chunk-TWJT2RGZ.js";
|
|
21
21
|
import "./chunk-WEATBQTR.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-MPB7BQT7.js";
|
|
23
23
|
import {
|
|
24
24
|
CACHE_DIR_NAME,
|
|
25
25
|
cleanupProxyCache
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QMFCL2ZN.js";
|
|
27
27
|
import {
|
|
28
28
|
formatBytes
|
|
29
29
|
} from "./chunk-IHFUKJOR.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-BQG33YTI.js";
|
|
31
31
|
import "./chunk-TVCRUG2S.js";
|
|
32
32
|
import "./chunk-RDMAU7AJ.js";
|
|
33
33
|
import {
|
|
34
34
|
c
|
|
35
35
|
} from "./chunk-ZTZA4UWZ.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-IOJAVV6J.js";
|
|
37
37
|
import "./chunk-AMKC3AXA.js";
|
|
38
38
|
import {
|
|
39
39
|
defineCommand
|
|
@@ -48,12 +48,12 @@ import {
|
|
|
48
48
|
directorySizeBytes,
|
|
49
49
|
gcExtractionCache,
|
|
50
50
|
resolveExtractCacheDir
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-5MXN7WM4.js";
|
|
52
|
+
import "./chunk-IEE7GIVX.js";
|
|
53
53
|
import "./chunk-UUDQD62L.js";
|
|
54
54
|
import "./chunk-DPVXBVLL.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-M7XTMZF5.js";
|
|
56
|
+
import "./chunk-RRPJEHHW.js";
|
|
57
57
|
import "./chunk-VC76R6W2.js";
|
|
58
58
|
import "./chunk-OFQWTKPW.js";
|
|
59
59
|
import "./chunk-4PFZPP2N.js";
|
|
@@ -67,12 +67,12 @@ import "./chunk-GK4AIFIH.js";
|
|
|
67
67
|
import "./chunk-2PSPARWP.js";
|
|
68
68
|
import {
|
|
69
69
|
withMeta
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-T5HXGUM3.js";
|
|
71
71
|
import "./chunk-K4WIOZFP.js";
|
|
72
72
|
import "./chunk-XUXGIA7H.js";
|
|
73
73
|
import "./chunk-WERLJGIC.js";
|
|
74
74
|
import "./chunk-ISN5GRYI.js";
|
|
75
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-3R6P5BIG.js";
|
|
76
76
|
import "./chunk-KNU5COPB.js";
|
|
77
77
|
import "./chunk-XT5P4QMO.js";
|
|
78
78
|
import "./chunk-6BEFEWFB.js";
|
package/dist/cli.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./chunk-ISN5GRYI.js";
|
|
35
35
|
import {
|
|
36
36
|
VERSION
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-3R6P5BIG.js";
|
|
38
38
|
import "./chunk-M2WBOQ2Q.js";
|
|
39
39
|
|
|
40
40
|
// src/cli.ts
|
|
@@ -181,7 +181,7 @@ function wrapCommand(cmd, path) {
|
|
|
181
181
|
}
|
|
182
182
|
async function reportCommandFailure(command2, err) {
|
|
183
183
|
try {
|
|
184
|
-
const { trackCommandFailure } = await import("./events-
|
|
184
|
+
const { trackCommandFailure } = await import("./events-FVG3Y6Q4.js");
|
|
185
185
|
trackCommandFailure(command2, err);
|
|
186
186
|
} catch {
|
|
187
187
|
}
|
|
@@ -271,51 +271,52 @@ async function assertStudioWorkspaceBuilt() {
|
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
273
|
var commandLoaders = {
|
|
274
|
-
init: () => import("./init-
|
|
275
|
-
add: () => import("./add-
|
|
276
|
-
catalog: () => import("./catalog-
|
|
274
|
+
init: () => import("./init-3PSKH6UR.js").then((m) => m.default),
|
|
275
|
+
add: () => import("./add-ZSLFODRZ.js").then((m) => m.default),
|
|
276
|
+
catalog: () => import("./catalog-BUMLQU7L.js").then((m) => m.default),
|
|
277
277
|
"media-use": () => import("./media-use-4XXGABIL.js").then((m) => m.default),
|
|
278
|
-
play: () => import("./play-
|
|
279
|
-
present: () => import("./present-
|
|
280
|
-
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-
|
|
281
|
-
publish: () => import("./publish-
|
|
282
|
-
render: () => import("./render-
|
|
283
|
-
lint: () => import("./lint-
|
|
284
|
-
check: () => import("./check-
|
|
285
|
-
beats: () => import("./beats-
|
|
286
|
-
"normalize-audio": () => import("./normalize-audio-
|
|
287
|
-
inspect: () => import("./inspect-
|
|
288
|
-
keyframes: () => import("./keyframes-
|
|
289
|
-
layout: () => import("./layout-
|
|
290
|
-
info: () => import("./info-
|
|
291
|
-
compositions: () => import("./compositions-
|
|
292
|
-
timeline: () => import("./timeline-
|
|
293
|
-
history: () => import("./history-
|
|
294
|
-
benchmark: () => import("./benchmark-
|
|
295
|
-
browser: () => import("./browser-
|
|
296
|
-
"remove-background": () => import("./remove-background-
|
|
297
|
-
transcribe: () => import("./transcribe-
|
|
298
|
-
|
|
278
|
+
play: () => import("./play-XP77PML5.js").then((m) => m.default),
|
|
279
|
+
present: () => import("./present-MWGA3O4S.js").then((m) => m.default),
|
|
280
|
+
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-X5GWZ3Q6.js").then((m) => m.default)),
|
|
281
|
+
publish: () => import("./publish-WE6AS77D.js").then((m) => m.default),
|
|
282
|
+
render: () => import("./render-HVZUCLYW.js").then((m) => m.default),
|
|
283
|
+
lint: () => import("./lint-HR57M5YP.js").then((m) => m.default),
|
|
284
|
+
check: () => import("./check-HEZUK62C.js").then((m) => m.default),
|
|
285
|
+
beats: () => import("./beats-66KZIB5V.js").then((m) => m.default),
|
|
286
|
+
"normalize-audio": () => import("./normalize-audio-XJQMDWRV.js").then((m) => m.default),
|
|
287
|
+
inspect: () => import("./inspect-NR54RMEE.js").then((m) => m.default),
|
|
288
|
+
keyframes: () => import("./keyframes-KT7T4AEV.js").then((m) => m.default),
|
|
289
|
+
layout: () => import("./layout-RB3M37ER.js").then((m) => m.default),
|
|
290
|
+
info: () => import("./info-2ORQZ6I2.js").then((m) => m.default),
|
|
291
|
+
compositions: () => import("./compositions-4KUTNS5L.js").then((m) => m.default),
|
|
292
|
+
timeline: () => import("./timeline-5LSQX4OS.js").then((m) => m.default),
|
|
293
|
+
history: () => import("./history-ZBOK2JQF.js").then((m) => m.default),
|
|
294
|
+
benchmark: () => import("./benchmark-AWFKSWQH.js").then((m) => m.default),
|
|
295
|
+
browser: () => import("./browser-J54EXMCE.js").then((m) => m.default),
|
|
296
|
+
"remove-background": () => import("./remove-background-XSDOCVN5.js").then((m) => m.default),
|
|
297
|
+
transcribe: () => import("./transcribe-GYCAIIEQ.js").then((m) => m.default),
|
|
298
|
+
usage: () => import("./usage-EC3KFUIJ.js").then((m) => m.default),
|
|
299
|
+
models: () => import("./models-Z3XFMGXB.js").then((m) => m.default),
|
|
299
300
|
tts: () => import("./tts-P3LIPIL5.js").then((m) => m.default),
|
|
300
301
|
docs: () => import("./docs-QAPJEGLS.js").then((m) => m.default),
|
|
301
|
-
doctor: () => import("./doctor-
|
|
302
|
-
clean: () => import("./clean-
|
|
303
|
-
upgrade: () => import("./upgrade-
|
|
304
|
-
skills: () => import("./skills-
|
|
305
|
-
feedback: () => import("./feedback-
|
|
302
|
+
doctor: () => import("./doctor-WJXZK5QN.js").then((m) => m.default),
|
|
303
|
+
clean: () => import("./clean-X6Y252ZC.js").then((m) => m.default),
|
|
304
|
+
upgrade: () => import("./upgrade-S63QN2LA.js").then((m) => m.default),
|
|
305
|
+
skills: () => import("./skills-CDRSTETB.js").then((m) => m.default),
|
|
306
|
+
feedback: () => import("./feedback-NQHRUOZP.js").then((m) => m.default),
|
|
306
307
|
telemetry: () => import("./telemetry-2YC4SGQU.js").then((m) => m.default),
|
|
307
|
-
events: () => import("./events-
|
|
308
|
-
validate: () => import("./validate-
|
|
309
|
-
snapshot: () => import("./snapshot-
|
|
310
|
-
"media-treatment": () => import("./media-treatment-
|
|
311
|
-
"grade-compare": () => import("./grade-compare-
|
|
312
|
-
compare: () => import("./compare-
|
|
313
|
-
capture: () => import("./capture-
|
|
314
|
-
lambda: () => import("./lambda-
|
|
315
|
-
cloudrun: () => import("./cloudrun-
|
|
316
|
-
cloud: () => import("./cloud-
|
|
317
|
-
auth: () => import("./auth-
|
|
318
|
-
figma: () => import("./figma-
|
|
308
|
+
events: () => import("./events-QRWJBSV4.js").then((m) => m.default),
|
|
309
|
+
validate: () => import("./validate-7MNUK5MH.js").then((m) => m.default),
|
|
310
|
+
snapshot: () => import("./snapshot-T4PFSXTH.js").then((m) => m.default),
|
|
311
|
+
"media-treatment": () => import("./media-treatment-UXJOTNRO.js").then((m) => m.mediaTreatmentCommand),
|
|
312
|
+
"grade-compare": () => import("./grade-compare-NIDMIUGZ.js").then((m) => m.default),
|
|
313
|
+
compare: () => import("./compare-K6XJZ3OC.js").then((m) => m.default),
|
|
314
|
+
capture: () => import("./capture-D4HRSVSK.js").then((m) => m.default),
|
|
315
|
+
lambda: () => import("./lambda-3FF4V3X3.js").then((m) => m.default),
|
|
316
|
+
cloudrun: () => import("./cloudrun-Y6A42KHE.js").then((m) => m.default),
|
|
317
|
+
cloud: () => import("./cloud-EE4GALWR.js").then((m) => m.default),
|
|
318
|
+
auth: () => import("./auth-5JGFN7SV.js").then((m) => m.default),
|
|
319
|
+
figma: () => import("./figma-MEX4CSIM.js").then((m) => m.default)
|
|
319
320
|
};
|
|
320
321
|
var subCommands = Object.fromEntries(
|
|
321
322
|
Object.entries(commandLoaders).map(([name, load]) => [name, trackCommandFailures(load)])
|
|
@@ -338,8 +339,8 @@ var _printUpdateNotice;
|
|
|
338
339
|
var _printStalePinNotice;
|
|
339
340
|
var _printSkillsUpdateNotice;
|
|
340
341
|
var telemetryReady = Promise.resolve();
|
|
341
|
-
if (!isHelp && command !== "telemetry" && command !== "events" && command !== "unknown") {
|
|
342
|
-
telemetryReady = import("./telemetry-
|
|
342
|
+
if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
|
|
343
|
+
telemetryReady = import("./telemetry-GMDMISOX.js").then((mod) => {
|
|
343
344
|
_flushSync = mod.flushSync;
|
|
344
345
|
_trackCliError = mod.trackCliError;
|
|
345
346
|
_trackCommandResult = mod.trackCommandResult;
|
|
@@ -348,24 +349,24 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
|
|
|
348
349
|
if (mod.shouldTrack()) mod.incrementCommandCount();
|
|
349
350
|
});
|
|
350
351
|
}
|
|
351
|
-
if (!isHelp && !hasJsonFlag && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills") {
|
|
352
|
-
import("./autoUpdate-
|
|
352
|
+
if (!isHelp && !hasJsonFlag && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
|
|
353
|
+
import("./autoUpdate-ZVTMYO7Z.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
|
|
353
354
|
});
|
|
354
|
-
import("./updateCheck-
|
|
355
|
+
import("./updateCheck-AZEREUQV.js").then(async (mod) => {
|
|
355
356
|
_printUpdateNotice = mod.printUpdateNotice;
|
|
356
357
|
_printStalePinNotice = mod.printStalePinNotice;
|
|
357
358
|
const result = mod.cachedUpdateCheck();
|
|
358
359
|
if (result.updateAvailable) {
|
|
359
|
-
const auto = await import("./autoUpdate-
|
|
360
|
+
const auto = await import("./autoUpdate-ZVTMYO7Z.js").catch(() => null);
|
|
360
361
|
auto?.scheduleBackgroundInstall(result.latest, result.current);
|
|
361
362
|
}
|
|
362
363
|
}).catch(() => {
|
|
363
364
|
});
|
|
364
|
-
import("./skillsUpdateCheck-
|
|
365
|
+
import("./skillsUpdateCheck-FKREJXSF.js").then((mod) => {
|
|
365
366
|
_printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
|
|
366
367
|
}).catch(() => {
|
|
367
368
|
});
|
|
368
|
-
import("./backgroundChecks-
|
|
369
|
+
import("./backgroundChecks-IY3G5G2D.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
|
|
369
370
|
});
|
|
370
371
|
}
|
|
371
372
|
var commandStart = Date.now();
|
|
@@ -474,7 +475,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
474
475
|
emitCliErrorEvent("unhandled_rejection", error);
|
|
475
476
|
});
|
|
476
477
|
async function showUsage(cmd, parent) {
|
|
477
|
-
const { showUsage: impl } = await import("./help-
|
|
478
|
+
const { showUsage: impl } = await import("./help-G6AWAWJW.js");
|
|
478
479
|
return impl(cmd, parent);
|
|
479
480
|
}
|
|
480
481
|
async function showRequestedUsage() {
|
|
@@ -55,10 +55,10 @@ ${c.bold("AUTH:")}
|
|
|
55
55
|
var cloud_default = defineCommand({
|
|
56
56
|
meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
|
|
57
57
|
subCommands: {
|
|
58
|
-
render: () => import("./render-
|
|
59
|
-
list: () => import("./list-
|
|
60
|
-
get: () => import("./get-
|
|
61
|
-
delete: () => import("./delete-
|
|
58
|
+
render: () => import("./render-5TMRIC73.js").then((m) => m.default),
|
|
59
|
+
list: () => import("./list-YDXYHXHF.js").then((m) => m.default),
|
|
60
|
+
get: () => import("./get-CMJIHGSA.js").then((m) => m.default),
|
|
61
|
+
delete: () => import("./delete-C64TWAPE.js").then((m) => m.default)
|
|
62
62
|
},
|
|
63
63
|
async run({ args }) {
|
|
64
64
|
if (!args._?.[0]) console.log(HELP);
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
reportVariableIssues,
|
|
12
12
|
resolveVariablesArg,
|
|
13
13
|
validateVariablesAgainstProject
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VDASTWUM.js";
|
|
15
15
|
import {
|
|
16
16
|
readAllowedCompositionFpsFromDir
|
|
17
17
|
} from "./chunk-YEIFI443.js";
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
failCommand
|
|
28
28
|
} from "./chunk-PBN6GBJE.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-IEE7GIVX.js";
|
|
30
30
|
import "./chunk-UUDQD62L.js";
|
|
31
31
|
import "./chunk-DPVXBVLL.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-RRPJEHHW.js";
|
|
33
33
|
import "./chunk-VC76R6W2.js";
|
|
34
34
|
import "./chunk-OFQWTKPW.js";
|
|
35
35
|
import "./chunk-TQFG7HTI.js";
|