hyperframes 0.8.147 → 0.8.149
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-5CNUY3EW.js → add-MG53577L.js} +18 -18
- package/dist/{animatedGifPrep-ZID2XJRQ.js → animatedGifPrep-HV4ZFVPV.js} +5 -5
- package/dist/api.d.ts +209 -0
- package/dist/api.js +75 -0
- package/dist/{asset-TFEENZ7K.js → asset-3GIBXLLL.js} +3 -3
- package/dist/{assetCataloger-GX4B55VB.js → assetCataloger-JJQ4JW2P.js} +2 -2
- package/dist/{auth-EJVZW6C3.js → auth-XQMT727H.js} +4 -4
- package/dist/{autoUpdate-MBNEZ2U4.js → autoUpdate-CREZJGMU.js} +2 -2
- package/dist/{backgroundChecks-DNW5NPTY.js → backgroundChecks-K3S5QKR3.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-T7S2CGJE.js → batchRender-42AKNX73.js} +6 -6
- package/dist/{beats-STXBGN6Z.js → beats-Y7IKETUS.js} +21 -21
- package/dist/{benchmark-AC6IGEQP.js → benchmark-22SAXSO5.js} +18 -18
- package/dist/{browser-FB5AK32T.js → browser-ABNISCC3.js} +14 -13
- package/dist/{bundleWithLocalizedFonts-HSCWGCFO.js → bundleWithLocalizedFonts-OE5ZI4JE.js} +5 -5
- package/dist/{capture-VEIVUHWB.js → capture-DBNHO4WJ.js} +2 -2
- package/dist/{capture-I24MXH3Y.js → capture-HQG5W42I.js} +19 -19
- package/dist/{catalog-JRC4VTTI.js → catalog-KICZFIDX.js} +34 -34
- package/dist/{catch-up-NTCK7Z3G.js → catch-up-ZCQUCI45.js} +13 -13
- package/dist/{check-7M7W4LPN.js → check-TGXIICEF.js} +48 -48
- package/dist/{checkBrowser-2YRVCAYB.js → checkBrowser-3N23I56J.js} +36 -36
- package/dist/{chunk-A72OAGNB.js → chunk-2HWB4TCI.js} +1 -1
- package/dist/chunk-3WD4JNMU.js +3795 -0
- package/dist/{chunk-XOJDBRNF.js → chunk-4S4VUXW3.js} +1 -1
- package/dist/{chunk-JBQJKC23.js → chunk-62RUQJ5J.js} +1 -1
- package/dist/{chunk-A6S35NYA.js → chunk-7IEGPJ4P.js} +1 -1
- package/dist/{chunk-BAKPN2D2.js → chunk-AHBYQRGI.js} +1 -1
- package/dist/{chunk-H7B6JSHI.js → chunk-AY2BONTF.js} +1 -1
- package/dist/{chunk-A4Q7W4LV.js → chunk-B3XLIBFL.js} +4 -2
- package/dist/{chunk-ZVZSFDW3.js → chunk-BNYRD7PQ.js} +2 -2
- package/dist/{chunk-DYWSCPCR.js → chunk-CNPJHUOX.js} +17 -17
- package/dist/{chunk-B45OFFOQ.js → chunk-CT6ZQRLD.js} +6 -8
- package/dist/chunk-CYFFYK2F.js +56 -0
- package/dist/{chunk-KVGDFUVO.js → chunk-CZQLCBWY.js} +26 -13
- package/dist/{chunk-6IIGT7BX.js → chunk-DNZMBQTH.js} +1 -1
- package/dist/{chunk-SYUGVPYH.js → chunk-DUUFDLC4.js} +1 -1
- package/dist/{chunk-3YUFN37G.js → chunk-GESJSXFH.js} +1 -1
- package/dist/chunk-HU2SPFNG.js +103 -0
- package/dist/{chunk-4OA4LDTU.js → chunk-IYLHJV34.js} +1 -1
- package/dist/{chunk-KBB4RG6F.js → chunk-JZIEZCQM.js} +9 -2
- package/dist/{chunk-XVIYZU3D.js → chunk-K35E45SI.js} +1 -1
- package/dist/{chunk-EGO6Z24R.js → chunk-K44HCHZN.js} +3 -3
- package/dist/{chunk-4YVMMRHR.js → chunk-K4RIT6PX.js} +2 -2
- package/dist/chunk-KGPLIH7B.js +127 -0
- package/dist/{chunk-B4P5VDFQ.js → chunk-KMAAOHLO.js} +1 -1
- package/dist/{chunk-MOL32UKR.js → chunk-KMJLHHBF.js} +1 -1
- package/dist/{chunk-3HSWLZ6S.js → chunk-KQHJKJ3V.js} +1 -1
- package/dist/{chunk-2IDHEEAN.js → chunk-KUTT3JXL.js} +88 -28
- package/dist/{chunk-3BETQ4XI.js → chunk-L274XRWA.js} +81 -8
- package/dist/{chunk-3PPO64IB.js → chunk-LACFOFWX.js} +10 -10
- package/dist/chunk-LCILS4AF.js +329 -0
- package/dist/{chunk-6BSIQJPW.js → chunk-LTJDUBSQ.js} +1 -1
- package/dist/{chunk-66SAATRI.js → chunk-M5B42RL5.js} +9 -9
- package/dist/{chunk-6WD636E5.js → chunk-MI6U3OIN.js} +2 -2
- package/dist/{chunk-YCGU3UNU.js → chunk-MXB6CWVH.js} +1 -1
- package/dist/{chunk-Z5C4LEAD.js → chunk-NKM53WMI.js} +11 -11
- package/dist/{chunk-QTTDKWSM.js → chunk-OMBSUO4T.js} +2 -2
- package/dist/{chunk-AL2YEVOT.js → chunk-P7NTODQE.js} +3 -3
- package/dist/{chunk-BHVFTYSI.js → chunk-PO2SDVQA.js} +4 -1
- package/dist/{chunk-DDNS2674.js → chunk-PR7QQBSC.js} +1 -1
- package/dist/{chunk-FDL4HV44.js → chunk-Q2Y5OZCY.js} +2 -2
- package/dist/{chunk-P6HELLPU.js → chunk-QIJLIULK.js} +2 -2
- package/dist/{chunk-5OKZLMQK.js → chunk-RMIFSBRV.js} +1 -1
- package/dist/{chunk-AFIATIKS.js → chunk-SFUBSJFP.js} +1 -1
- package/dist/{chunk-LE7T4ML7.js → chunk-SP6XL3NP.js} +1 -1
- package/dist/{chunk-SEABQTBP.js → chunk-TPIG7ZBX.js} +9 -9
- package/dist/{chunk-POKK6XXU.js → chunk-U7SASZC5.js} +15 -15
- package/dist/{chunk-JF5L5SQ6.js → chunk-VC7JBNPS.js} +72 -107
- package/dist/{chunk-N53FLAMZ.js → chunk-VGCEMOQA.js} +10 -10
- package/dist/{normalize-U3SL5VG3.js → chunk-VHZ6DL3M.js} +3 -3
- package/dist/chunk-VX4AL2FQ.js +26 -0
- package/dist/{chunk-3BYMCR4O.js → chunk-VXM4BH23.js} +23 -12
- package/dist/{chunk-ZLL72U3I.js → chunk-WX7VCRM7.js} +2 -2
- package/dist/{chunk-KPJMBC4K.js → chunk-XHBX7QN6.js} +4 -4
- package/dist/{chunk-BYSBRF24.js → chunk-XPQSL5VS.js} +5 -120
- package/dist/{chunk-55RZG5SQ.js → chunk-Y475GD4L.js} +4 -4
- package/dist/{chunk-ZQXNL5DL.js → chunk-YDRX42P3.js} +6 -6
- package/dist/{chunk-4SFGME7K.js → chunk-YJDB4FLT.js} +1 -1
- package/dist/{chunk-QATWIE4K.js → chunk-YU2QRNWN.js} +2 -2
- package/dist/{chunk-BPUFVVSH.js → chunk-ZK3BQXHC.js} +1 -1
- package/dist/{chunk-QHRPB2JQ.js → chunk-ZKDKFJCK.js} +13 -13
- package/dist/{clean-3RY3Y2GX.js → clean-6QP7VAV4.js} +32 -31
- package/dist/cli.js +55 -55
- package/dist/{cloud-MLPBFCVE.js → cloud-5TME5ROM.js} +4 -4
- package/dist/{cloudrun-NQF5KFQI.js → cloudrun-F5VVCVF5.js} +6 -6
- package/dist/{compare-6EZX2754.js → compare-XPY2EXX6.js} +35 -35
- package/dist/{compiler-ACCPOZMQ.js → compiler-NPD3MYMO.js} +2 -2
- package/dist/{component-F5PQHP6A.js → component-OPVL3PUX.js} +4 -4
- package/dist/{compositions-AUHWSI2H.js → compositions-WSEOI454.js} +19 -19
- package/dist/{delete-VUF4SHHJ.js → delete-SLMH57VH.js} +11 -11
- package/dist/{dist-GPDOV3IQ.js → dist-CUIR3GFX.js} +2 -2
- package/dist/{doctor-3XHCA5JM.js → doctor-QZW3EKIH.js} +20 -19
- package/dist/{events-FKOIB3R3.js → events-6C3ZG7LS.js} +8 -8
- package/dist/{events-TIU72LZM.js → events-FIFWFRGC.js} +6 -6
- package/dist/{feedback-V6VATYBE.js → feedback-VKXM7YJ5.js} +24 -24
- package/dist/{ffmpeg-5V4FP3R6.js → ffmpeg-TZB5WAYE.js} +3 -2
- package/dist/{figma-YBJM2VGE.js → figma-3UYNADNA.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{get-3YVCGZBX.js → get-VH7VMRVX.js} +11 -11
- package/dist/{gpuPolicy-ZOUG66M7.js → gpuPolicy-M2JZGGVW.js} +5 -5
- package/dist/{grade-compare-MYXIRKQI.js → grade-compare-OSC2YQWN.js} +40 -39
- package/dist/{help-WFZ2SUUR.js → help-DCBFEZPT.js} +3 -3
- package/dist/{history-HWPRJFR5.js → history-XYJMQE26.js} +15 -15
- package/dist/hyperframe-runtime.js +62 -62
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-WJDTQ4OZ.js → info-YEHGENAH.js} +17 -17
- package/dist/{init-EXHDN7RO.js → init-64SML7PY.js} +52 -51
- package/dist/{inspect-EAOLZOMQ.js → inspect-GFOQKRJI.js} +32 -32
- package/dist/{installer-LZ4X5TZZ.js → installer-Q4MMZKLA.js} +4 -4
- package/dist/{keyframes-FSZYNEDN.js → keyframes-ORYFWKBZ.js} +16 -16
- package/dist/{lambda-3GAKHMC3.js → lambda-DRMOJGTC.js} +8 -8
- package/dist/{layout-M2TQ2CIX.js → layout-ZEQBE6UQ.js} +32 -32
- package/dist/{lint-7C5UPTNQ.js → lint-67KGFY63.js} +19 -19
- package/dist/{list-GU5KBZ73.js → list-T6OU5ARJ.js} +11 -11
- package/dist/{login-ZL2NYBIZ.js → login-2PXIGDP7.js} +9 -9
- package/dist/{logout-B4KS4A7S.js → logout-DKJANASY.js} +3 -3
- package/dist/{manager-5ORDVWJB.js → manager-ES2UFT4X.js} +6 -4
- package/dist/{manager-BPSR6D3V.js → manager-GWU5J6RJ.js} +3 -2
- package/dist/{media-treatment-QC3TAHVU.js → media-treatment-NAAHID6M.js} +27 -26
- package/dist/{models-A54I4QR5.js → models-P6XB6RWK.js} +19 -17
- package/dist/{motionShot-ZXPK562F.js → motionShot-7MHRIV6V.js} +13 -13
- package/dist/normalize-4UDISLPL.js +24 -0
- package/dist/{normalize-audio-CAP3DAE6.js → normalize-audio-LWNFYR2F.js} +15 -15
- package/dist/{open-GUSBNMDB.js → open-DAP5C7UD.js} +13 -13
- package/dist/{parakeetRunner-GCCH72CO.js → parakeetRunner-3ZVFPOD4.js} +17 -27
- package/dist/{pipeline-SCJ2MWYH.js → pipeline-V4YJCPUX.js} +9 -9
- package/dist/{play-FP2QLMGM.js → play-UDCESJO3.js} +35 -35
- package/dist/{preflight-ONF5AJNO.js → preflight-JOD4OXGC.js} +5 -4
- package/dist/{present-H5SA4APW.js → present-DXTHBH3F.js} +26 -26
- package/dist/{preview-ATPVKA6K.js → preview-YHXKRXKB.js} +39 -37
- package/dist/{producer-VBYUC27R.js → producer-343ENLAM.js} +1 -1
- package/dist/{projectConfig-SBRMQZGG.js → projectConfig-YXKU3CTB.js} +6 -6
- package/dist/{publication-5BQICRZO.js → publication-ODXP3JI7.js} +2 -2
- package/dist/{publish-XDUZA3E3.js → publish-UEFBFGV3.js} +22 -22
- package/dist/{refresh-PVHBEABE.js → refresh-MGCVWX56.js} +3 -3
- package/dist/{remove-background-GA6F7JZW.js → remove-background-FMV6IDOH.js} +38 -34
- package/dist/{render-XCYXFZTL.js → render-N7QGX6RJ.js} +30 -30
- package/dist/{render-PCFO45RK.js → render-SYC4RPGT.js} +6 -6
- package/dist/{render-KUVZFNQD.js → render-ZTXNPRGF.js} +61 -60
- package/dist/{render-batch-7R2NRNVJ.js → render-batch-SZRPCRUJ.js} +6 -6
- package/dist/renderSetupWorker.js +4 -3
- package/dist/{resolver-C4FPX72I.js → resolver-7MYXNEAX.js} +4 -4
- package/dist/{sherpa-IQY52XU6.js → sherpa-M4Z2Q5Y2.js} +15 -14
- package/dist/sherpaWorker.js +3 -1
- package/dist/{skills-JSSAEKUW.js → skills-NEHNSHZK.js} +15 -15
- package/dist/{skillsUpdateCheck-XE5E2K2F.js → skillsUpdateCheck-O77QR72A.js} +3 -3
- package/dist/{snapshot-QMQOE2DD.js → snapshot-GDVXFBVY.js} +54 -53
- package/dist/{src-R55QLGWI.js → src-PTIV7IVV.js} +6 -6
- package/dist/{src-2GMPFYHL.js → src-VMTHSARJ.js} +6 -4
- package/dist/{staticProjectServer-YH2RHYKW.js → staticProjectServer-3D2NXQ6W.js} +14 -14
- package/dist/{status-PTKNQD2E.js → status-NBRMGL7D.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-_eMxRXF_.js → hyperframes-player-C-2YwYre.js} +1 -1
- package/dist/studio/assets/{index-bXzd7tvF.js → index-ByJU5J6n.js} +115 -115
- package/dist/studio/assets/{index-CEq9KmY2.js → index-BybGk67U.js} +1 -1
- package/dist/studio/assets/{index-6okhHdnH.js → index-Cfs2r3fz.js} +1 -1
- package/dist/studio/assets/{index-CVd4O6eH.css → index-DkQKsFxx.css} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-T2TS2CHL.js → studio-api-XIBDLRHB.js} +7 -7
- package/dist/{studioServer-Q4MT44LT.js → studioServer-QIQK47UN.js} +70 -69
- package/dist/{synthesize-UCI4X5O7.js → synthesize-22B7L5GX.js} +6 -6
- package/dist/{telemetry-V5JYZDS4.js → telemetry-565KDZUW.js} +8 -8
- package/dist/{timeline-KTCTOKF5.js → timeline-E6XB7I6W.js} +24 -24
- package/dist/{tokens-ZHREZPK6.js → tokens-3ZAJENSE.js} +3 -3
- package/dist/transcribe-WODP3T77.js +332 -0
- package/dist/{transcribe-CRAV4FU3.js → transcribe-XWQQCCBG.js} +13 -12
- package/dist/{tts-B6AHFQEO.js → tts-QSAQZVEZ.js} +3 -3
- package/dist/{updateCheck-E7RMSK3E.js → updateCheck-QPYU4GRL.js} +2 -2
- package/dist/{upgrade-27PFTDCV.js → upgrade-2FJ5ZEN6.js} +5 -5
- package/dist/{urlDownloader-EAF6PLUP.js → urlDownloader-352AY25I.js} +4 -4
- package/dist/{validate-OKNFDBMG.js → validate-SP2VGNEI.js} +25 -25
- package/dist/{video-IEVS4FIH.js → video-RVNPFEA6.js} +8 -8
- package/package.json +8 -1
- package/dist/chunk-6IHWCZ3W.js +0 -54
- package/dist/chunk-SQLK7SJL.js +0 -88
- package/dist/chunk-Z6FLHIDV.js +0 -3795
- package/dist/manager-RFZNG5YT.js +0 -30
- package/dist/renderCancellation-NIXEWRAO.js +0 -43
- package/dist/transcribe-4QDEWCE6.js +0 -466
- package/dist/{chunk-DKSDVDXG.js → chunk-NAMGMP3R.js} +3 -3
- package/dist/{policies-4FEXMXPK.js → policies-DCSIM4AB.js} +3 -3
- package/dist/{screenshotCapture-3JXXUZND.js → screenshotCapture-TEUIWXWN.js} +3 -3
- package/dist/{telemetry-W5AKPI4R.js → telemetry-CQYHCCPL.js} +3 -3
|
@@ -7,122 +7,9 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
normalizeErrorMessage
|
|
9
9
|
} from "./chunk-KNU5COPB.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import { readdirSync, readFileSync } from "fs";
|
|
14
|
-
function processIsAlive(pid) {
|
|
15
|
-
try {
|
|
16
|
-
process.kill(pid, 0);
|
|
17
|
-
return true;
|
|
18
|
-
} catch (error) {
|
|
19
|
-
return error?.code !== "ESRCH";
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function processGroupIsAlive(pid) {
|
|
23
|
-
if (process.platform === "linux") {
|
|
24
|
-
try {
|
|
25
|
-
return readdirSync("/proc").some((entry) => {
|
|
26
|
-
if (!/^\d+$/.test(entry)) return false;
|
|
27
|
-
try {
|
|
28
|
-
const stat = readFileSync(`/proc/${entry}/stat`, "utf8");
|
|
29
|
-
const fields = stat.slice(stat.lastIndexOf(") ") + 2).split(/\s+/);
|
|
30
|
-
return fields[2] === String(pid) && fields[0] !== "Z" && fields[0] !== "X";
|
|
31
|
-
} catch {
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
} catch {
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return processIsAlive(-pid);
|
|
39
|
-
}
|
|
40
|
-
function waitForDelay(delayMs) {
|
|
41
|
-
return new Promise((resolve) => setTimeout(resolve, delayMs));
|
|
42
|
-
}
|
|
43
|
-
async function waitForProcessGroupExit(pid) {
|
|
44
|
-
while (processGroupIsAlive(pid)) await waitForDelay(20);
|
|
45
|
-
}
|
|
46
|
-
function windowsProcessTreeKillArgs(pid) {
|
|
47
|
-
return ["/PID", String(pid), "/T", "/F"];
|
|
48
|
-
}
|
|
49
|
-
function terminateWindowsProcessTree(pid, spawnProcess = (command, args, options) => spawn(command, [...args], options)) {
|
|
50
|
-
return new Promise((resolve, reject) => {
|
|
51
|
-
const killer = spawnProcess("taskkill", windowsProcessTreeKillArgs(pid), {
|
|
52
|
-
stdio: "ignore",
|
|
53
|
-
windowsHide: true
|
|
54
|
-
});
|
|
55
|
-
killer.once("error", reject);
|
|
56
|
-
killer.once("close", (status) => {
|
|
57
|
-
if (status === 0) resolve();
|
|
58
|
-
else reject(new Error(`taskkill exited with status ${status ?? "unknown"}`));
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function signalProcessGroup(pid, signal) {
|
|
63
|
-
try {
|
|
64
|
-
process.kill(-pid, signal);
|
|
65
|
-
} catch {
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
function getDescendants(pid) {
|
|
69
|
-
let children;
|
|
70
|
-
try {
|
|
71
|
-
const raw = execFileSync("pgrep", ["-P", String(pid)], {
|
|
72
|
-
encoding: "utf8",
|
|
73
|
-
timeout: 2e3
|
|
74
|
-
}).trim();
|
|
75
|
-
children = raw.split(/\r?\n/).map(Number).filter((childPid) => Number.isInteger(childPid) && childPid > 0);
|
|
76
|
-
} catch {
|
|
77
|
-
return [];
|
|
78
|
-
}
|
|
79
|
-
return children.flatMap((childPid) => [childPid, ...getDescendants(childPid)]);
|
|
80
|
-
}
|
|
81
|
-
function signalProcesses(pids, signal) {
|
|
82
|
-
for (const pid of pids) {
|
|
83
|
-
try {
|
|
84
|
-
process.kill(pid, signal);
|
|
85
|
-
} catch {
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
async function terminatePidTree(pid, signal) {
|
|
90
|
-
const pids = [...getDescendants(pid).reverse(), pid];
|
|
91
|
-
signalProcesses(pids, signal);
|
|
92
|
-
if (signal === "SIGKILL") return "SIGKILL";
|
|
93
|
-
await waitForDelay(500);
|
|
94
|
-
const survivors = pids.filter(processIsAlive);
|
|
95
|
-
signalProcesses(survivors, "SIGKILL");
|
|
96
|
-
return survivors.length > 0 ? "SIGKILL" : "SIGTERM";
|
|
97
|
-
}
|
|
98
|
-
async function terminateProcessGroup(pid, signal) {
|
|
99
|
-
signalProcessGroup(pid, signal);
|
|
100
|
-
if (signal === "SIGKILL") {
|
|
101
|
-
await waitForProcessGroupExit(pid);
|
|
102
|
-
return "SIGKILL";
|
|
103
|
-
}
|
|
104
|
-
await Promise.race([waitForProcessGroupExit(pid), waitForDelay(250)]);
|
|
105
|
-
if (!processGroupIsAlive(pid)) return "SIGTERM";
|
|
106
|
-
signalProcessGroup(pid, "SIGKILL");
|
|
107
|
-
await waitForProcessGroupExit(pid);
|
|
108
|
-
return "SIGKILL";
|
|
109
|
-
}
|
|
110
|
-
async function terminateProcessTree(pid, options = {}) {
|
|
111
|
-
if (process.platform === "win32") {
|
|
112
|
-
try {
|
|
113
|
-
await terminateWindowsProcessTree(pid, options.spawnProcess);
|
|
114
|
-
} catch (error) {
|
|
115
|
-
try {
|
|
116
|
-
options.child?.kill("SIGKILL");
|
|
117
|
-
} catch {
|
|
118
|
-
}
|
|
119
|
-
if (options.child) throw error;
|
|
120
|
-
}
|
|
121
|
-
return "SIGKILL";
|
|
122
|
-
}
|
|
123
|
-
const signal = options.signal ?? "SIGTERM";
|
|
124
|
-
return options.processGroup ? terminateProcessGroup(pid, signal) : terminatePidTree(pid, signal);
|
|
125
|
-
}
|
|
10
|
+
import {
|
|
11
|
+
terminateProcessTree
|
|
12
|
+
} from "./chunk-KGPLIH7B.js";
|
|
126
13
|
|
|
127
14
|
// src/renderSetupWorkerLifecycle.ts
|
|
128
15
|
var RENDER_SETUP_SIGNALS = ["SIGINT", "SIGTERM", "SIGHUP"];
|
|
@@ -176,7 +63,7 @@ function renderSetupFailureFrom(stderr) {
|
|
|
176
63
|
}
|
|
177
64
|
|
|
178
65
|
// src/utils/cancellableProcess.ts
|
|
179
|
-
import { spawn
|
|
66
|
+
import { spawn } from "child_process";
|
|
180
67
|
import { fileURLToPath } from "url";
|
|
181
68
|
var CancellableProcessError = class extends Error {
|
|
182
69
|
code;
|
|
@@ -209,7 +96,7 @@ function runCancellableProcess(command, args, options = {}) {
|
|
|
209
96
|
windowsHide: true,
|
|
210
97
|
detached: process.platform !== "win32"
|
|
211
98
|
};
|
|
212
|
-
child =
|
|
99
|
+
child = spawn(command, [...args], spawnOptions);
|
|
213
100
|
} catch (error) {
|
|
214
101
|
reject(error);
|
|
215
102
|
return;
|
|
@@ -363,8 +250,6 @@ async function runRenderSetupWorker(mode, input, options) {
|
|
|
363
250
|
}
|
|
364
251
|
|
|
365
252
|
export {
|
|
366
|
-
processIsAlive,
|
|
367
|
-
terminateProcessTree,
|
|
368
253
|
installRenderSetupSignalHandlers,
|
|
369
254
|
renderSetupResultLine,
|
|
370
255
|
renderSetupErrorLine,
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LACFOFWX.js";
|
|
12
12
|
import {
|
|
13
13
|
getPowerState
|
|
14
14
|
} from "./chunk-XBSPQ52S.js";
|
|
15
15
|
import {
|
|
16
16
|
CliRuntimeError
|
|
17
17
|
} from "./chunk-PBN6GBJE.js";
|
|
18
|
-
import {
|
|
19
|
-
redactTelemetryString
|
|
20
|
-
} from "./chunk-T76PLPD6.js";
|
|
21
18
|
import {
|
|
22
19
|
readConfig
|
|
23
20
|
} from "./chunk-XUXGIA7H.js";
|
|
21
|
+
import {
|
|
22
|
+
redactTelemetryString
|
|
23
|
+
} from "./chunk-T76PLPD6.js";
|
|
24
24
|
|
|
25
25
|
// src/utils/feedbackRating.ts
|
|
26
26
|
var FEEDBACK_RATING_SCALE = 10;
|
|
@@ -7,20 +7,20 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y475GD4L.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LACFOFWX.js";
|
|
14
14
|
import {
|
|
15
15
|
detectAgentRuntime
|
|
16
16
|
} from "./chunk-XBSPQ52S.js";
|
|
17
|
+
import {
|
|
18
|
+
c
|
|
19
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
17
20
|
import {
|
|
18
21
|
readConfig,
|
|
19
22
|
writeConfig
|
|
20
23
|
} from "./chunk-XUXGIA7H.js";
|
|
21
|
-
import {
|
|
22
|
-
c
|
|
23
|
-
} from "./chunk-ZTZA4UWZ.js";
|
|
24
24
|
|
|
25
25
|
// src/telemetry/feedback.ts
|
|
26
26
|
import * as readline from "readline";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-OXRG57F2.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-TZB5WAYE.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KMAAOHLO.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isAuthError,
|
|
14
14
|
isTokenExpired,
|
|
15
15
|
tryResolveCredential
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NAMGMP3R.js";
|
|
17
17
|
import {
|
|
18
18
|
CSS_URL_RE,
|
|
19
19
|
isNonRelativeUrl,
|
|
@@ -14,13 +14,9 @@ import {
|
|
|
14
14
|
describeRejectedPythonOverride,
|
|
15
15
|
hasPythonModules
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
|
-
import {
|
|
18
|
-
OPTIONAL_PACKAGES,
|
|
19
|
-
installedOptionalPackageVersion
|
|
20
|
-
} from "./chunk-3DKN5WKL.js";
|
|
21
17
|
import {
|
|
22
18
|
runEnvironmentChecks
|
|
23
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-M5B42RL5.js";
|
|
24
20
|
import {
|
|
25
21
|
getAvailableMemoryMb,
|
|
26
22
|
getFreeDiskMb,
|
|
@@ -31,25 +27,29 @@ import {
|
|
|
31
27
|
defineCommand
|
|
32
28
|
} from "./chunk-S3S4TGEH.js";
|
|
33
29
|
import {
|
|
34
|
-
|
|
35
|
-
} from "./chunk-
|
|
30
|
+
c
|
|
31
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
36
32
|
import {
|
|
37
33
|
getUpdateMeta,
|
|
38
34
|
withMeta
|
|
39
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GESJSXFH.js";
|
|
40
36
|
import {
|
|
41
37
|
CONFIG_PATH,
|
|
42
38
|
withFileLock
|
|
43
39
|
} from "./chunk-XUXGIA7H.js";
|
|
44
40
|
import {
|
|
45
41
|
VERSION
|
|
46
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OMBSUO4T.js";
|
|
43
|
+
import {
|
|
44
|
+
OPTIONAL_PACKAGES,
|
|
45
|
+
installedOptionalPackageVersion
|
|
46
|
+
} from "./chunk-3DKN5WKL.js";
|
|
47
|
+
import {
|
|
48
|
+
resolveExtractCacheDir
|
|
49
|
+
} from "./chunk-VC7JBNPS.js";
|
|
47
50
|
import {
|
|
48
51
|
normalizeErrorMessage
|
|
49
52
|
} from "./chunk-KNU5COPB.js";
|
|
50
|
-
import {
|
|
51
|
-
c
|
|
52
|
-
} from "./chunk-ZTZA4UWZ.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/doctor.ts
|
|
55
55
|
import { execFileSync, execSync } from "child_process";
|
|
@@ -232,7 +232,7 @@ function checkEnvironment() {
|
|
|
232
232
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
233
233
|
}
|
|
234
234
|
async function checkWhisper() {
|
|
235
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
235
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-ES2UFT4X.js");
|
|
236
236
|
const result = findWhisper();
|
|
237
237
|
if (result) {
|
|
238
238
|
return { ok: true, detail: result.executablePath };
|
|
@@ -6,18 +6,14 @@ 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-ZKDKFJCK.js";
|
|
10
10
|
import "./chunk-Z27A7NUB.js";
|
|
11
11
|
import "./chunk-5ETJX6WM.js";
|
|
12
12
|
import {
|
|
13
13
|
loadProducer
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import
|
|
17
|
-
formatBytes
|
|
18
|
-
} from "./chunk-K2FLNJVB.js";
|
|
19
|
-
import "./chunk-Z5C4LEAD.js";
|
|
20
|
-
import "./chunk-A72OAGNB.js";
|
|
14
|
+
} from "./chunk-ZK3BQXHC.js";
|
|
15
|
+
import "./chunk-NKM53WMI.js";
|
|
16
|
+
import "./chunk-2HWB4TCI.js";
|
|
21
17
|
import {
|
|
22
18
|
DEFAULT_HISTORY_ROOT,
|
|
23
19
|
listProjectHistories,
|
|
@@ -27,34 +23,50 @@ import "./chunk-ZFN6GQU4.js";
|
|
|
27
23
|
import {
|
|
28
24
|
CACHE_DIR_NAME,
|
|
29
25
|
cleanupProxyCache
|
|
30
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-KMJLHHBF.js";
|
|
31
27
|
import "./chunk-AIJS74LG.js";
|
|
32
|
-
import
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
import "./chunk-
|
|
28
|
+
import {
|
|
29
|
+
formatBytes
|
|
30
|
+
} from "./chunk-K2FLNJVB.js";
|
|
31
|
+
import "./chunk-M5B42RL5.js";
|
|
36
32
|
import "./chunk-374QQGBQ.js";
|
|
37
33
|
import "./chunk-XBSPQ52S.js";
|
|
38
|
-
import "./chunk-AMKC3AXA.js";
|
|
39
34
|
import {
|
|
40
35
|
defineCommand
|
|
41
36
|
} from "./chunk-S3S4TGEH.js";
|
|
42
37
|
import {
|
|
43
38
|
setCommandExitCode
|
|
44
39
|
} from "./chunk-PBN6GBJE.js";
|
|
40
|
+
import {
|
|
41
|
+
c
|
|
42
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
45
43
|
import "./chunk-EOOEC32M.js";
|
|
46
44
|
import "./chunk-TJSTGSAW.js";
|
|
45
|
+
import "./chunk-7IEGPJ4P.js";
|
|
46
|
+
import {
|
|
47
|
+
withMeta
|
|
48
|
+
} from "./chunk-GESJSXFH.js";
|
|
49
|
+
import "./chunk-K4WIOZFP.js";
|
|
50
|
+
import "./chunk-XUXGIA7H.js";
|
|
51
|
+
import "./chunk-WERLJGIC.js";
|
|
52
|
+
import "./chunk-ISN5GRYI.js";
|
|
53
|
+
import "./chunk-OMBSUO4T.js";
|
|
54
|
+
import "./chunk-3DKN5WKL.js";
|
|
55
|
+
import "./chunk-EOVYQ3IG.js";
|
|
56
|
+
import "./chunk-6BEFEWFB.js";
|
|
57
|
+
import "./chunk-DUUFDLC4.js";
|
|
58
|
+
import "./chunk-AMKC3AXA.js";
|
|
47
59
|
import {
|
|
48
60
|
EXTRACT_CACHE_MIN_AGE_MS,
|
|
49
61
|
directorySizeBytes,
|
|
50
62
|
gcExtractionCache,
|
|
51
63
|
resolveExtractCacheDir
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
64
|
+
} from "./chunk-VC7JBNPS.js";
|
|
65
|
+
import "./chunk-62RUQJ5J.js";
|
|
54
66
|
import "./chunk-NE55C6S5.js";
|
|
55
67
|
import "./chunk-JYVGYKXG.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-AHBYQRGI.js";
|
|
69
|
+
import "./chunk-3WD4JNMU.js";
|
|
58
70
|
import "./chunk-VC76R6W2.js";
|
|
59
71
|
import "./chunk-YA62XGXS.js";
|
|
60
72
|
import "./chunk-LFNQDTSH.js";
|
|
@@ -63,8 +75,7 @@ import "./chunk-DPVXBVLL.js";
|
|
|
63
75
|
import "./chunk-T76PLPD6.js";
|
|
64
76
|
import "./chunk-FXMKHHPO.js";
|
|
65
77
|
import "./chunk-RQVDTPGD.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-BYSBRF24.js";
|
|
78
|
+
import "./chunk-XPQSL5VS.js";
|
|
68
79
|
import "./chunk-TWWSYAKJ.js";
|
|
69
80
|
import "./chunk-JDB65PPT.js";
|
|
70
81
|
import "./chunk-IWFLMU2N.js";
|
|
@@ -75,19 +86,9 @@ import "./chunk-BSQ7XANM.js";
|
|
|
75
86
|
import "./chunk-SDYDNHEE.js";
|
|
76
87
|
import "./chunk-2PSPARWP.js";
|
|
77
88
|
import "./chunk-IXLUTE6N.js";
|
|
78
|
-
import {
|
|
79
|
-
withMeta
|
|
80
|
-
} from "./chunk-3YUFN37G.js";
|
|
81
|
-
import "./chunk-K4WIOZFP.js";
|
|
82
|
-
import "./chunk-XUXGIA7H.js";
|
|
83
|
-
import "./chunk-WERLJGIC.js";
|
|
84
|
-
import "./chunk-ISN5GRYI.js";
|
|
85
|
-
import "./chunk-QTTDKWSM.js";
|
|
86
89
|
import "./chunk-KNU5COPB.js";
|
|
90
|
+
import "./chunk-KGPLIH7B.js";
|
|
87
91
|
import "./chunk-3GXQPCJC.js";
|
|
88
|
-
import {
|
|
89
|
-
c
|
|
90
|
-
} from "./chunk-ZTZA4UWZ.js";
|
|
91
92
|
import "./chunk-M2WBOQ2Q.js";
|
|
92
93
|
|
|
93
94
|
// src/commands/clean.ts
|
package/dist/cli.js
CHANGED
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
registerRootExitCodeSanitizer,
|
|
36
36
|
registerRootExitRequester
|
|
37
37
|
} from "./chunk-PBN6GBJE.js";
|
|
38
|
+
import "./chunk-ZTZA4UWZ.js";
|
|
38
39
|
import {
|
|
39
40
|
isDevMode
|
|
40
41
|
} from "./chunk-ISN5GRYI.js";
|
|
41
42
|
import {
|
|
42
43
|
VERSION
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-ZTZA4UWZ.js";
|
|
44
|
+
} from "./chunk-OMBSUO4T.js";
|
|
45
45
|
import "./chunk-M2WBOQ2Q.js";
|
|
46
46
|
|
|
47
47
|
// src/cli.ts
|
|
@@ -91,7 +91,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
|
|
|
91
91
|
}
|
|
92
92
|
async function reportCommandFailure(command2, err) {
|
|
93
93
|
try {
|
|
94
|
-
const { trackCommandFailure } = await import("./events-
|
|
94
|
+
const { trackCommandFailure } = await import("./events-6C3ZG7LS.js");
|
|
95
95
|
trackCommandFailure(command2, err);
|
|
96
96
|
} catch {
|
|
97
97
|
}
|
|
@@ -163,54 +163,54 @@ async function assertStudioWorkspaceBuilt() {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
var commandLoaders = {
|
|
166
|
-
init: () => import("./init-
|
|
167
|
-
add: () => import("./add-
|
|
168
|
-
catalog: () => import("./catalog-
|
|
166
|
+
init: () => import("./init-64SML7PY.js").then((m) => m.default),
|
|
167
|
+
add: () => import("./add-MG53577L.js").then((m) => m.default),
|
|
168
|
+
catalog: () => import("./catalog-KICZFIDX.js").then((m) => m.default),
|
|
169
169
|
"media-use": () => import("./media-use-4XXGABIL.js").then((m) => m.default),
|
|
170
|
-
play: () => import("./play-
|
|
171
|
-
present: () => import("./present-
|
|
172
|
-
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-
|
|
173
|
-
publish: () => import("./publish-
|
|
174
|
-
open: () => import("./open-
|
|
175
|
-
"catch-up": () => import("./catch-up-
|
|
176
|
-
render: () => import("./render-
|
|
177
|
-
lint: () => import("./lint-
|
|
178
|
-
check: () => import("./check-
|
|
179
|
-
beats: () => import("./beats-
|
|
180
|
-
"normalize-audio": () => import("./normalize-audio-
|
|
181
|
-
inspect: () => import("./inspect-
|
|
182
|
-
keyframes: () => import("./keyframes-
|
|
183
|
-
layout: () => import("./layout-
|
|
184
|
-
info: () => import("./info-
|
|
185
|
-
compositions: () => import("./compositions-
|
|
186
|
-
timeline: () => import("./timeline-
|
|
187
|
-
history: () => import("./history-
|
|
188
|
-
benchmark: () => import("./benchmark-
|
|
189
|
-
browser: () => import("./browser-
|
|
190
|
-
"remove-background": () => import("./remove-background-
|
|
191
|
-
transcribe: () => import("./transcribe-
|
|
170
|
+
play: () => import("./play-UDCESJO3.js").then((m) => m.default),
|
|
171
|
+
present: () => import("./present-DXTHBH3F.js").then((m) => m.default),
|
|
172
|
+
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-YHXKRXKB.js").then((m) => m.default)),
|
|
173
|
+
publish: () => import("./publish-UEFBFGV3.js").then((m) => m.default),
|
|
174
|
+
open: () => import("./open-DAP5C7UD.js").then((m) => m.default),
|
|
175
|
+
"catch-up": () => import("./catch-up-ZCQUCI45.js").then((m) => m.default),
|
|
176
|
+
render: () => import("./render-ZTXNPRGF.js").then((m) => m.default),
|
|
177
|
+
lint: () => import("./lint-67KGFY63.js").then((m) => m.default),
|
|
178
|
+
check: () => import("./check-TGXIICEF.js").then((m) => m.default),
|
|
179
|
+
beats: () => import("./beats-Y7IKETUS.js").then((m) => m.default),
|
|
180
|
+
"normalize-audio": () => import("./normalize-audio-LWNFYR2F.js").then((m) => m.default),
|
|
181
|
+
inspect: () => import("./inspect-GFOQKRJI.js").then((m) => m.default),
|
|
182
|
+
keyframes: () => import("./keyframes-ORYFWKBZ.js").then((m) => m.default),
|
|
183
|
+
layout: () => import("./layout-ZEQBE6UQ.js").then((m) => m.default),
|
|
184
|
+
info: () => import("./info-YEHGENAH.js").then((m) => m.default),
|
|
185
|
+
compositions: () => import("./compositions-WSEOI454.js").then((m) => m.default),
|
|
186
|
+
timeline: () => import("./timeline-E6XB7I6W.js").then((m) => m.default),
|
|
187
|
+
history: () => import("./history-XYJMQE26.js").then((m) => m.default),
|
|
188
|
+
benchmark: () => import("./benchmark-22SAXSO5.js").then((m) => m.default),
|
|
189
|
+
browser: () => import("./browser-ABNISCC3.js").then((m) => m.default),
|
|
190
|
+
"remove-background": () => import("./remove-background-FMV6IDOH.js").then((m) => m.default),
|
|
191
|
+
transcribe: () => import("./transcribe-WODP3T77.js").then((m) => m.default),
|
|
192
192
|
usage: () => import("./usage-EC3KFUIJ.js").then((m) => m.default),
|
|
193
|
-
models: () => import("./models-
|
|
194
|
-
tts: () => import("./tts-
|
|
193
|
+
models: () => import("./models-P6XB6RWK.js").then((m) => m.default),
|
|
194
|
+
tts: () => import("./tts-QSAQZVEZ.js").then((m) => m.default),
|
|
195
195
|
docs: () => import("./docs-MPOM3PHH.js").then((m) => m.default),
|
|
196
|
-
doctor: () => import("./doctor-
|
|
197
|
-
clean: () => import("./clean-
|
|
198
|
-
upgrade: () => import("./upgrade-
|
|
199
|
-
skills: () => import("./skills-
|
|
200
|
-
feedback: () => import("./feedback-
|
|
201
|
-
telemetry: () => import("./telemetry-
|
|
202
|
-
events: () => import("./events-
|
|
203
|
-
validate: () => import("./validate-
|
|
204
|
-
snapshot: () => import("./snapshot-
|
|
205
|
-
"media-treatment": () => import("./media-treatment-
|
|
206
|
-
"grade-compare": () => import("./grade-compare-
|
|
207
|
-
compare: () => import("./compare-
|
|
208
|
-
capture: () => import("./capture-
|
|
209
|
-
lambda: () => import("./lambda-
|
|
210
|
-
cloudrun: () => import("./cloudrun-
|
|
211
|
-
cloud: () => import("./cloud-
|
|
212
|
-
auth: () => import("./auth-
|
|
213
|
-
figma: () => import("./figma-
|
|
196
|
+
doctor: () => import("./doctor-QZW3EKIH.js").then((m) => m.default),
|
|
197
|
+
clean: () => import("./clean-6QP7VAV4.js").then((m) => m.default),
|
|
198
|
+
upgrade: () => import("./upgrade-2FJ5ZEN6.js").then((m) => m.default),
|
|
199
|
+
skills: () => import("./skills-NEHNSHZK.js").then((m) => m.default),
|
|
200
|
+
feedback: () => import("./feedback-VKXM7YJ5.js").then((m) => m.default),
|
|
201
|
+
telemetry: () => import("./telemetry-CQYHCCPL.js").then((m) => m.default),
|
|
202
|
+
events: () => import("./events-FIFWFRGC.js").then((m) => m.default),
|
|
203
|
+
validate: () => import("./validate-SP2VGNEI.js").then((m) => m.default),
|
|
204
|
+
snapshot: () => import("./snapshot-GDVXFBVY.js").then((m) => m.default),
|
|
205
|
+
"media-treatment": () => import("./media-treatment-NAAHID6M.js").then((m) => m.mediaTreatmentCommand),
|
|
206
|
+
"grade-compare": () => import("./grade-compare-OSC2YQWN.js").then((m) => m.default),
|
|
207
|
+
compare: () => import("./compare-XPY2EXX6.js").then((m) => m.default),
|
|
208
|
+
capture: () => import("./capture-DBNHO4WJ.js").then((m) => m.default),
|
|
209
|
+
lambda: () => import("./lambda-DRMOJGTC.js").then((m) => m.default),
|
|
210
|
+
cloudrun: () => import("./cloudrun-F5VVCVF5.js").then((m) => m.default),
|
|
211
|
+
cloud: () => import("./cloud-5TME5ROM.js").then((m) => m.default),
|
|
212
|
+
auth: () => import("./auth-XQMT727H.js").then((m) => m.default),
|
|
213
|
+
figma: () => import("./figma-3UYNADNA.js").then((m) => m.default)
|
|
214
214
|
};
|
|
215
215
|
var subCommands = Object.fromEntries(
|
|
216
216
|
Object.entries(commandLoaders).map(([name, load]) => [name, trackCommandFailures(load)])
|
|
@@ -234,7 +234,7 @@ var _printStalePinNotice;
|
|
|
234
234
|
var _printSkillsUpdateNotice;
|
|
235
235
|
var telemetryReady = Promise.resolve();
|
|
236
236
|
if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
|
|
237
|
-
telemetryReady = import("./telemetry-
|
|
237
|
+
telemetryReady = import("./telemetry-565KDZUW.js").then((mod) => {
|
|
238
238
|
_flushSync = mod.flushSync;
|
|
239
239
|
_trackCliError = mod.trackCliError;
|
|
240
240
|
_trackCommandResult = mod.trackCommandResult;
|
|
@@ -244,23 +244,23 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
|
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
246
|
if (!isHelp && !hasJsonFlag && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
|
|
247
|
-
import("./autoUpdate-
|
|
247
|
+
import("./autoUpdate-CREZJGMU.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
|
|
248
248
|
});
|
|
249
|
-
import("./updateCheck-
|
|
249
|
+
import("./updateCheck-QPYU4GRL.js").then(async (mod) => {
|
|
250
250
|
_printUpdateNotice = mod.printUpdateNotice;
|
|
251
251
|
_printStalePinNotice = mod.printStalePinNotice;
|
|
252
252
|
const result = mod.cachedUpdateCheck();
|
|
253
253
|
if (result.updateAvailable) {
|
|
254
|
-
const auto = await import("./autoUpdate-
|
|
254
|
+
const auto = await import("./autoUpdate-CREZJGMU.js").catch(() => null);
|
|
255
255
|
auto?.scheduleBackgroundInstall(result.latest, result.current);
|
|
256
256
|
}
|
|
257
257
|
}).catch(() => {
|
|
258
258
|
});
|
|
259
|
-
import("./skillsUpdateCheck-
|
|
259
|
+
import("./skillsUpdateCheck-O77QR72A.js").then((mod) => {
|
|
260
260
|
_printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
|
|
261
261
|
}).catch(() => {
|
|
262
262
|
});
|
|
263
|
-
import("./backgroundChecks-
|
|
263
|
+
import("./backgroundChecks-K3S5QKR3.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
var _appHistoryNotice = null;
|
|
@@ -378,7 +378,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
378
378
|
emitCliErrorEvent("unhandled_rejection", error);
|
|
379
379
|
});
|
|
380
380
|
async function showUsage(cmd, parent) {
|
|
381
|
-
const { showUsage: impl } = await import("./help-
|
|
381
|
+
const { showUsage: impl } = await import("./help-DCBFEZPT.js");
|
|
382
382
|
return impl(cmd, parent);
|
|
383
383
|
}
|
|
384
384
|
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-N7QGX6RJ.js").then((m) => m.default),
|
|
59
|
+
list: () => import("./list-T6OU5ARJ.js").then((m) => m.default),
|
|
60
|
+
get: () => import("./get-VH7VMRVX.js").then((m) => m.default),
|
|
61
|
+
delete: () => import("./delete-SLMH57VH.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-XHBX7QN6.js";
|
|
15
15
|
import {
|
|
16
16
|
readAllowedCompositionFpsFromDir
|
|
17
17
|
} from "./chunk-WPNE5NEP.js";
|
|
@@ -23,8 +23,11 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
failCommand
|
|
25
25
|
} from "./chunk-PBN6GBJE.js";
|
|
26
|
-
import
|
|
27
|
-
|
|
26
|
+
import {
|
|
27
|
+
c
|
|
28
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
29
|
+
import "./chunk-AHBYQRGI.js";
|
|
30
|
+
import "./chunk-3WD4JNMU.js";
|
|
28
31
|
import "./chunk-VC76R6W2.js";
|
|
29
32
|
import "./chunk-YA62XGXS.js";
|
|
30
33
|
import "./chunk-LFNQDTSH.js";
|
|
@@ -41,9 +44,6 @@ import "./chunk-IXLUTE6N.js";
|
|
|
41
44
|
import {
|
|
42
45
|
normalizeErrorMessage
|
|
43
46
|
} from "./chunk-KNU5COPB.js";
|
|
44
|
-
import {
|
|
45
|
-
c
|
|
46
|
-
} from "./chunk-ZTZA4UWZ.js";
|
|
47
47
|
import "./chunk-M2WBOQ2Q.js";
|
|
48
48
|
|
|
49
49
|
// src/commands/cloudrun.ts
|