hyperframes 0.8.173 → 0.8.174
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-V7VBTFNG.js → add-XANMFNIP.js} +14 -15
- package/dist/{animatedGifPrep-62S72ZY6.js → animatedGifPrep-OUQ4M2T3.js} +9 -11
- package/dist/api.js +19 -21
- package/dist/{asset-Z4JI2F6V.js → asset-SVONSQ67.js} +2 -2
- package/dist/{assetCataloger-Q7LE7BCC.js → assetCataloger-AG77T6SF.js} +9 -11
- package/dist/{audio-HIHNLQJ7.js → audio-DMQOTXKL.js} +16 -18
- package/dist/{auth-4K6DSZCD.js → auth-ED7SPBS6.js} +2 -2
- package/dist/{autoUpdate-DXZDD5VT.js → autoUpdate-4QQYZOVT.js} +2 -2
- package/dist/{backgroundChecks-ODMKKJ4S.js → backgroundChecks-2VT46P5S.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-I4BFJGPA.js → batchRender-KIYAPCTG.js} +4 -4
- package/dist/{beats-7QCA6GDR.js → beats-OE7M5BEE.js} +6 -7
- package/dist/{benchmark-IT4WTSMZ.js → benchmark-2ZQP2RNF.js} +11 -12
- package/dist/{browser-5VHM72PM.js → browser-CSSJ3VWW.js} +5 -6
- package/dist/{bundleWithLocalizedFonts-MKTQCB2Y.js → bundleWithLocalizedFonts-ZUC4MLSO.js} +2 -2
- package/dist/{capture-CMNNIMIL.js → capture-3NXAHID3.js} +2 -2
- package/dist/{capture-B5Y45EWD.js → capture-APNSW4ZT.js} +22 -18
- package/dist/{catalog-AKPJ65GY.js → catalog-CFDBIVSC.js} +15 -16
- package/dist/{catch-up-2SVYRMD3.js → catch-up-OUK522JT.js} +6 -7
- package/dist/{check-Q7AX6K7O.js → check-PUDEOXGP.js} +37 -39
- package/dist/{checkBrowser-CPXD5BZY.js → checkBrowser-PMRJSTFJ.js} +34 -36
- package/dist/chunk-2CDBTQKS.js +113 -0
- package/dist/{chunk-KR5ZHRF2.js → chunk-2XSAYE7U.js} +2 -2
- package/dist/{chunk-QVPOR7WE.js → chunk-32GKETR7.js} +22 -1
- package/dist/{chunk-BTPZ74Z3.js → chunk-3MDO2Q4F.js} +1 -1
- package/dist/{chunk-3O45NOL7.js → chunk-4PX47Z65.js} +1 -1
- package/dist/{chunk-IK3SOMZ4.js → chunk-4VTUDCHM.js} +19 -22
- package/dist/{chunk-NOMPG5HQ.js → chunk-4WQUBVDO.js} +3 -3
- package/dist/{chunk-HCOL75LA.js → chunk-55LJK3H2.js} +3 -3
- package/dist/{chunk-H5C375DW.js → chunk-6HF2WFPV.js} +5 -5
- package/dist/{chunk-BCPJSBCS.js → chunk-ALCCEHX2.js} +7 -3
- package/dist/{chunk-XDPXSQJO.js → chunk-APMA7XXB.js} +1 -1
- package/dist/{chunk-L4SFGSSQ.js → chunk-AR2SEGPZ.js} +1 -1
- package/dist/{chunk-ETPPGNJB.js → chunk-B23GBPCW.js} +2 -2
- package/dist/{chunk-4RDDUBOC.js → chunk-CI7ZHFSV.js} +11 -11
- package/dist/chunk-CIWX5UKC.js +16 -0
- package/dist/{chunk-4D2T6Y5Y.js → chunk-CSMKMVGG.js} +6 -6
- package/dist/{chunk-BYRHCRU3.js → chunk-D2YN4FNH.js} +2 -2
- package/dist/{chunk-PBVUVNWP.js → chunk-DRR3UMIY.js} +1 -1
- package/dist/{chunk-TNHRCZT3.js → chunk-EAR5LFOH.js} +42 -2
- package/dist/{chunk-5JTRGGTX.js → chunk-EJZJ5AY7.js} +1 -1
- package/dist/{chunk-ODR7V2JL.js → chunk-G4UUEQDT.js} +1 -1
- package/dist/{chunk-2TNPXPI5.js → chunk-GK2FIKIQ.js} +10 -8
- package/dist/{chunk-CBOYQOLY.js → chunk-GXWV4FNV.js} +1 -1
- package/dist/{chunk-QURKHVV5.js → chunk-H2BPHBDY.js} +1 -1
- package/dist/{chunk-X3SCQP2A.js → chunk-HB2UP4V7.js} +1 -1
- package/dist/chunk-HIP62XAW.js +36 -0
- package/dist/{chunk-6JQDH4O6.js → chunk-HIYAJFRH.js} +1 -1
- package/dist/{chunk-45IAFBUP.js → chunk-HZZYJV7K.js} +14 -14
- package/dist/{chunk-A2DMF2Q6.js → chunk-HZZZ6C6Z.js} +2 -2
- package/dist/{chunk-XZNKIYIG.js → chunk-JKPI7VLI.js} +1 -1
- package/dist/{chunk-TWZRU64W.js → chunk-JL76Y45C.js} +7 -7
- package/dist/{chunk-KRWEUM4R.js → chunk-LR72ON5B.js} +1 -1
- package/dist/{chunk-C4QGOXO2.js → chunk-LUKY7253.js} +491 -133
- package/dist/{chunk-2QJDC4NT.js → chunk-MXNPYP5F.js} +1 -1
- package/dist/{chunk-VFCKXTBB.js → chunk-NL5F3AD4.js} +27 -38
- package/dist/{chunk-WIAO42MD.js → chunk-ONXTLGJB.js} +5 -5
- package/dist/{chunk-N7RTLKMM.js → chunk-PLYTTPVE.js} +2 -2
- package/dist/{chunk-PCLYCYBK.js → chunk-QJCVK7CI.js} +4 -4
- package/dist/{chunk-6HKO6VWS.js → chunk-QRO2UBWS.js} +1 -1
- package/dist/{chunk-ROQBQHBK.js → chunk-QUK2IZKI.js} +1 -1
- package/dist/{chunk-2DWYRHJS.js → chunk-RLBLLBLL.js} +2 -2
- package/dist/{chunk-U7EGMXQR.js → chunk-RMKL5FVH.js} +4 -17
- package/dist/{chunk-2BL7BJ22.js → chunk-RNKNDYBN.js} +1 -1
- package/dist/{chunk-SOAXQ7Q7.js → chunk-RYR3LTZR.js} +2 -2
- package/dist/{chunk-5E43335V.js → chunk-RZ2FMZ5U.js} +1 -1
- package/dist/{chunk-L3RCYYON.js → chunk-S5D4Q74P.js} +2 -2
- package/dist/{chunk-V2D4QZBC.js → chunk-SEHRMJTO.js} +3 -3
- package/dist/{chunk-X2ALZSKK.js → chunk-SEXAKOK3.js} +3 -3
- package/dist/{chunk-6RIH2NDU.js → chunk-SH43VDEF.js} +9 -9
- package/dist/{chunk-YOOW26KG.js → chunk-SI76MFBF.js} +2 -2
- package/dist/{chunk-QWQ6GQTI.js → chunk-T6AGUTZJ.js} +2 -4
- package/dist/{chunk-LN4SZS7W.js → chunk-TI3HKGQC.js} +3 -3
- package/dist/{chunk-CHALU2TF.js → chunk-UDJHYQSZ.js} +1 -1
- package/dist/{chunk-MWNSVO4P.js → chunk-UKAOWORD.js} +8 -8
- package/dist/chunk-UKJECUDK.js +3805 -0
- package/dist/{chunk-OFFNB2SU.js → chunk-UQLXFITA.js} +241 -6
- package/dist/{chunk-JYVGYKXG.js → chunk-W2LGJSEN.js} +73 -1
- package/dist/{chunk-BYVBP3U5.js → chunk-W3YVQ6VI.js} +9 -9
- package/dist/{chunk-FDWTZVA6.js → chunk-W4AECR7V.js} +1 -1
- package/dist/{chunk-2YTOJ447.js → chunk-X3BE2HX4.js} +3 -3
- package/dist/{chunk-TDPVEMBS.js → chunk-XFCLWWL3.js} +1 -1
- package/dist/{chunk-O433SZAJ.js → chunk-XVIFWEPR.js} +35 -16
- package/dist/{clean-SBFI3ZKR.js → clean-6SVCU47L.js} +18 -20
- package/dist/cli.js +53 -53
- package/dist/{cloud-IRE4HLEK.js → cloud-TIISRMZV.js} +4 -4
- package/dist/{cloudrun-GIHWEBGM.js → cloudrun-4TMBWELQ.js} +5 -5
- package/dist/{compare-S6NM2FSV.js → compare-YV2XTKYX.js} +28 -30
- package/dist/{compiler-WCWRB2LZ.js → compiler-O5R3ZZDV.js} +5 -6
- package/dist/{component-WDFZQ2HN.js → component-7LWSMRKZ.js} +3 -3
- package/dist/{compositions-RMUBDPD4.js → compositions-5VTSC4M3.js} +14 -16
- package/dist/{delete-SDNARGJ4.js → delete-AV2SKLZW.js} +4 -4
- package/dist/{deploy-4MK3Y67M.js → deploy-NKWMPAMH.js} +19 -5
- package/dist/{destroy-GFQLTIY3.js → destroy-UKP522AE.js} +4 -2
- package/dist/{dist-FAN2FFAV.js → dist-2FMTAVGL.js} +3 -3
- package/dist/{dist-65ELHZOF.js → dist-4FY5EEH5.js} +3 -3
- package/dist/{doctor-YPCZILXV.js → doctor-XOCYSEAZ.js} +14 -16
- package/dist/{events-INXDJ44V.js → events-6QPRKX45.js} +4 -5
- package/dist/{events-Q2K7SNEZ.js → events-MAZUZI43.js} +5 -6
- package/dist/{feedback-FRGRCTIX.js → feedback-MGRILBMP.js} +10 -11
- package/dist/{ffmpeg-7BYARPLM.js → ffmpeg-YCULCUB2.js} +24 -4
- package/dist/{figma-C262EFOC.js → figma-UMBACTCG.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -13
- package/dist/{get-ZIUUGSVI.js → get-LWEOLWYN.js} +4 -4
- package/dist/{gpuPolicy-FRLW63IY.js → gpuPolicy-MCIQK5Z7.js} +9 -11
- package/dist/{grade-compare-DN342HJC.js → grade-compare-MZQOTX3F.js} +29 -31
- package/dist/{help-XQPBPSBP.js → help-THPG2NRP.js} +1 -1
- package/dist/{history-PF5FUC6M.js → history-2IQYTDU5.js} +8 -9
- package/dist/hyperframe-runtime.js +55 -55
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +55 -55
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-PC7IKGVB.js → info-CXMADV6K.js} +10 -11
- package/dist/{init-ORZX3PSQ.js → init-Y5GU454D.js} +34 -34
- package/dist/{inspect-L5GRL6SP.js → inspect-S7JDKEMJ.js} +29 -31
- package/dist/{installer-KXS557O7.js → installer-AY23RPEZ.js} +5 -5
- package/dist/{keyframes-EIZDSXUH.js → keyframes-FKYT6QAJ.js} +8 -9
- package/dist/{lambda-U3N7MRD7.js → lambda-7WMZGRH5.js} +16 -12
- package/dist/{layout-WHAVE2H5.js → layout-LL4GOS6G.js} +29 -31
- package/dist/{lint-I7PYIW56.js → lint-2M7FY4ZT.js} +11 -12
- package/dist/{lintProject-7IEOAXJY.js → lintProject-ARKJXDQF.js} +3 -3
- package/dist/{list-XXQM3WDO.js → list-SZBMUHBW.js} +4 -4
- package/dist/{login-64NUUDYU.js → login-QRACITGK.js} +4 -4
- package/dist/{manager-B6MVBM2E.js → manager-W2BTPAVT.js} +25 -3
- package/dist/{media-treatment-5XIM4A3F.js → media-treatment-E4VJETTT.js} +23 -18
- package/dist/{models-WRB3S67Z.js → models-AHO3MYE7.js} +13 -15
- package/dist/{motionShot-BOFBL73C.js → motionShot-LMMYPGPT.js} +19 -21
- package/dist/{normalize-audio-PP4BSZSU.js → normalize-audio-RDWIWZOO.js} +6 -7
- package/dist/{open-F4CUWMZF.js → open-WOKRHFDH.js} +14 -15
- package/dist/{parakeetRunner-O7QYJ7V7.js → parakeetRunner-RY2KIE63.js} +16 -18
- package/dist/{pipeline-BCHSFFT3.js → pipeline-LEA32KLW.js} +11 -13
- package/dist/{play-PPBR2GJK.js → play-3S46XG66.js} +21 -23
- package/dist/{policies-DCSIM4AB.js → policies-5NTZOHJA.js} +2 -0
- package/dist/preflight-MCOFNWFQ.js +52 -0
- package/dist/{present-Y7VTCZRZ.js → present-GR7F4CTI.js} +17 -19
- package/dist/{preview-53AD4OME.js → preview-TKEAF3KR.js} +34 -25
- package/dist/{producer-WBJDNLBF.js → producer-BJ5SUPVD.js} +1 -1
- package/dist/{progress-5AM2MZ7V.js → progress-I37JB7R4.js} +1 -0
- package/dist/{projectConfig-4KUGQ4P6.js → projectConfig-YJBYWSNK.js} +7 -7
- package/dist/{publication-OFDIFS4R.js → publication-2HXIW4LS.js} +3 -3
- package/dist/{publish-RWWTY743.js → publish-LHJFEKEI.js} +11 -11
- package/dist/{remove-background-G7VK3VKP.js → remove-background-AQUUVAPD.js} +12 -14
- package/dist/{render-7PPMS4P6.js → render-AOHXNGIM.js} +40 -38
- package/dist/{render-6CXZNXXZ.js → render-AXTGGHVZ.js} +9 -4
- package/dist/{render-52W63I3Y.js → render-B5S7FLLS.js} +14 -15
- package/dist/{render-batch-2EJVUVVN.js → render-batch-DMQG3QWK.js} +4 -4
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-FF5GV6IA.js → resolver-FV54X3T2.js} +5 -5
- package/dist/sam-IKPEJRRO.js +21 -0
- package/dist/{screenshotCapture-XAYELJK7.js → screenshotCapture-HXEZ3TNJ.js} +20 -3
- package/dist/{sherpa-QJPI6B5S.js → sherpa-RKURBTUM.js} +15 -17
- package/dist/skills/hyperframes/SKILL.md +42 -0
- package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
- package/dist/skills/media-use/scripts/lib/recipe-store.mjs +5 -2
- package/dist/{skills-H6ZJNOLH.js → skills-YUXI4IRF.js} +11 -10
- package/dist/{skillsUpdateCheck-4EBGMO2A.js → skillsUpdateCheck-HK3GDYD6.js} +3 -3
- package/dist/{snapshot-DZRUBWRH.js → snapshot-D6Q52Z4X.js} +32 -34
- package/dist/{src-ZL7ACIZ3.js → src-DPR7JBU3.js} +10 -12
- package/dist/{src-WD5GOYON.js → src-MRYINZ62.js} +8 -10
- package/dist/{staticProjectServer-72JF5PPO.js → staticProjectServer-RT7JATD2.js} +15 -16
- package/dist/{status-RGHSK3DJ.js → status-BV7QAUQD.js} +2 -3
- package/dist/studio/assets/{hyperframes-player-B-wEZiX3.js → hyperframes-player-B4KfQdfl.js} +1 -1
- package/dist/studio/assets/{index-DPugLDRK.js → index-Bsc8xBh9.js} +1 -1
- package/dist/studio/assets/{index-Bvkb0Zxy.js → index-DGl_Zvb3.js} +97 -97
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-BL6CLOA6.js → studio-api-NL2RMVB5.js} +9 -10
- package/dist/{studioServer-TRWCZZXP.js → studioServer-VL2GUVCR.js} +47 -49
- package/dist/{system-VRXC6S4A.js → system-7F3UEHQT.js} +2 -3
- package/dist/{telemetry-FDSW3ZOZ.js → telemetry-5PJWDFSZ.js} +5 -6
- package/dist/{timeline-ZRN336EA.js → timeline-OH35TN25.js} +124 -51
- package/dist/{tokens-RMLNQHIB.js → tokens-YISVK7W2.js} +2 -2
- package/dist/{transcribe-SOODKU6H.js → transcribe-6KBSE76Q.js} +12 -14
- package/dist/{transcribe-AEHHCYAL.js → transcribe-KRPN2FWA.js} +22 -24
- package/dist/{updateCheck-OSPEYRBY.js → updateCheck-QCZTFFSQ.js} +2 -2
- package/dist/{upgrade-AK4S7DMX.js → upgrade-DRFQISI6.js} +2 -2
- package/dist/{urlDownloader-FSCMLFG7.js → urlDownloader-CJDXTKMC.js} +8 -10
- package/dist/{validate-JJTCKZIV.js → validate-BKY3FIJC.js} +23 -25
- package/dist/{video-ZDM5CFI2.js → video-3UEJ57Q7.js} +9 -11
- package/package.json +1 -1
- package/dist/chunk-7JDEZNBY.js +0 -3805
- package/dist/chunk-7KDQAD2W.js +0 -81
- package/dist/chunk-BXCMXMJQ.js +0 -73
- package/dist/chunk-KCF6GHJP.js +0 -250
- package/dist/preflight-G5KP7ZKA.js +0 -32
|
@@ -27,8 +27,8 @@ function assertAwsCliAvailable() {
|
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
function locateSamTemplate(
|
|
31
|
-
const candidate = join(
|
|
30
|
+
function locateSamTemplate(repoRoot) {
|
|
31
|
+
const candidate = join(repoRoot, "examples", "aws-lambda", "template.yaml");
|
|
32
32
|
if (!existsSync(candidate)) {
|
|
33
33
|
throw new Error(
|
|
34
34
|
`[lambda] SAM template not found at ${candidate}. \`hyperframes lambda deploy\` needs a HyperFrames repo checkout: run it from one, or set HYPERFRAMES_REPO_ROOT to point at one.`
|
|
@@ -36,12 +36,23 @@ function locateSamTemplate(repoRoot2) {
|
|
|
36
36
|
}
|
|
37
37
|
return candidate;
|
|
38
38
|
}
|
|
39
|
+
function parseReservedConcurrency(raw) {
|
|
40
|
+
if (raw === void 0 || raw === null || raw === "") return void 0;
|
|
41
|
+
if (raw === "none") return -1;
|
|
42
|
+
const n = Number(raw);
|
|
43
|
+
if (!Number.isInteger(n) || n < 1) {
|
|
44
|
+
throw new Error(
|
|
45
|
+
`[lambda] --concurrency must be a positive integer or "none"; got ${String(raw)}`
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
return n;
|
|
49
|
+
}
|
|
39
50
|
function samDeploy(opts) {
|
|
40
51
|
assertSamAvailable();
|
|
41
|
-
const paramOverrides = [
|
|
42
|
-
|
|
43
|
-
`ReservedConcurrency=${opts.reservedConcurrency
|
|
44
|
-
|
|
52
|
+
const paramOverrides = [`ChromeSource=${opts.chromeSource ?? "sparticuz"}`];
|
|
53
|
+
if (opts.reservedConcurrency !== void 0) {
|
|
54
|
+
paramOverrides.push(`ReservedConcurrency=${opts.reservedConcurrency}`);
|
|
55
|
+
}
|
|
45
56
|
if (opts.lambdaMemoryMb !== void 0) {
|
|
46
57
|
paramOverrides.push(`LambdaMemoryMb=${opts.lambdaMemoryMb}`);
|
|
47
58
|
}
|
|
@@ -96,7 +107,7 @@ function fetchStackOutputs(opts) {
|
|
|
96
107
|
"--region",
|
|
97
108
|
opts.region,
|
|
98
109
|
"--query",
|
|
99
|
-
"Stacks[0]
|
|
110
|
+
"Stacks[0]",
|
|
100
111
|
"--output",
|
|
101
112
|
"json"
|
|
102
113
|
];
|
|
@@ -104,8 +115,11 @@ function fetchStackOutputs(opts) {
|
|
|
104
115
|
args.unshift("--profile", opts.awsProfile);
|
|
105
116
|
}
|
|
106
117
|
const out = execFileSync("aws", args, { encoding: "utf-8" });
|
|
107
|
-
const
|
|
108
|
-
const byKey = new Map(
|
|
118
|
+
const stack = JSON.parse(out);
|
|
119
|
+
const byKey = new Map((stack.Outputs ?? []).map((o) => [o.OutputKey, o.OutputValue]));
|
|
120
|
+
const reserved = Number(
|
|
121
|
+
stack.Parameters?.find((p) => p.ParameterKey === "ReservedConcurrency")?.ParameterValue
|
|
122
|
+
);
|
|
109
123
|
const bucketName = byKey.get("RenderBucketName");
|
|
110
124
|
const functionName = byKey.get("RenderFunctionArn");
|
|
111
125
|
const stateMachineArn = byKey.get("RenderStateMachineArn");
|
|
@@ -120,40 +134,15 @@ function fetchStackOutputs(opts) {
|
|
|
120
134
|
// last colon-segment, which downstream `getRenderProgress` calls use
|
|
121
135
|
// for cost math + CloudWatch lookups.
|
|
122
136
|
functionName: functionName.split(":").pop() ?? functionName,
|
|
123
|
-
stateMachineArn
|
|
137
|
+
stateMachineArn,
|
|
138
|
+
reservedConcurrency: reserved > 0 ? reserved : void 0
|
|
124
139
|
};
|
|
125
140
|
}
|
|
126
141
|
|
|
127
|
-
// src/commands/lambda/repoRoot.ts
|
|
128
|
-
import { existsSync as existsSync2 } from "fs";
|
|
129
|
-
import { dirname, resolve } from "path";
|
|
130
|
-
import { fileURLToPath } from "url";
|
|
131
|
-
function repoRoot() {
|
|
132
|
-
const override = process.env.HYPERFRAMES_REPO_ROOT;
|
|
133
|
-
if (override) {
|
|
134
|
-
if (existsSync2(resolve(override, "packages", "aws-lambda", "package.json"))) return override;
|
|
135
|
-
throw new Error(
|
|
136
|
-
"[hyperframes lambda] HYPERFRAMES_REPO_ROOT is not a hyperframes checkout (no packages/aws-lambda/package.json there). Point it at the repo root, or unset it."
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
let dir = dirname(fileURLToPath(import.meta.url));
|
|
140
|
-
for (let depth = 0; depth < 12; depth++) {
|
|
141
|
-
if (existsSync2(resolve(dir, "packages", "aws-lambda", "package.json"))) {
|
|
142
|
-
return dir;
|
|
143
|
-
}
|
|
144
|
-
const parent = dirname(dir);
|
|
145
|
-
if (parent === dir) break;
|
|
146
|
-
dir = parent;
|
|
147
|
-
}
|
|
148
|
-
throw new Error(
|
|
149
|
-
"[hyperframes lambda] could not find the repo root (no packages/aws-lambda/ above this CLI's source). Run `hyperframes lambda` from within a hyperframes checkout, or set HYPERFRAMES_REPO_ROOT explicitly."
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
142
|
export {
|
|
154
143
|
locateSamTemplate,
|
|
144
|
+
parseReservedConcurrency,
|
|
155
145
|
samDeploy,
|
|
156
146
|
samDelete,
|
|
157
|
-
fetchStackOutputs
|
|
158
|
-
repoRoot
|
|
147
|
+
fetchStackOutputs
|
|
159
148
|
};
|
|
@@ -7,13 +7,13 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D2YN4FNH.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-B23GBPCW.js";
|
|
14
14
|
import {
|
|
15
15
|
detectAgentRuntime
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-T6AGUTZJ.js";
|
|
17
17
|
import {
|
|
18
18
|
c
|
|
19
19
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -83,8 +83,8 @@ async function maybePromptRenderFeedback(opts) {
|
|
|
83
83
|
async function getDoctorSummary() {
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
|
-
import("./system-
|
|
87
|
-
import("./ffmpeg-
|
|
86
|
+
import("./system-7F3UEHQT.js"),
|
|
87
|
+
import("./ffmpeg-YCULCUB2.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -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-CI7ZHFSV.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UKJECUDK.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UQLXFITA.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RMKL5FVH.js";
|
|
21
21
|
import {
|
|
22
22
|
decodedUrlPath,
|
|
23
23
|
removeElementWithGsapCascade
|
|
24
24
|
} from "./chunk-YMS5FOMC.js";
|
|
25
25
|
import {
|
|
26
26
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GK2FIKIQ.js";
|
|
28
28
|
import {
|
|
29
29
|
readClipTiming,
|
|
30
30
|
writeClipTiming
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-32GKETR7.js";
|
|
32
32
|
import {
|
|
33
33
|
readMediaOffsetSeconds,
|
|
34
34
|
readPlaybackRate
|
|
@@ -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-MAZUZI43.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QRO2UBWS.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-5PJWDFSZ.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UKJECUDK.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -20,8 +20,9 @@ import {
|
|
|
20
20
|
} from "./chunk-YMS5FOMC.js";
|
|
21
21
|
import {
|
|
22
22
|
COMPOSITION_ATTRIBUTES,
|
|
23
|
-
parseStartExpression
|
|
24
|
-
|
|
23
|
+
parseStartExpression,
|
|
24
|
+
sameInstant
|
|
25
|
+
} from "./chunk-32GKETR7.js";
|
|
25
26
|
import {
|
|
26
27
|
readMediaOffsetSeconds
|
|
27
28
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -4583,17 +4584,6 @@ function createRuntimeStartTimeResolver(params) {
|
|
|
4583
4584
|
|
|
4584
4585
|
// ../core/dist/clipFacts.js
|
|
4585
4586
|
var byStart = (a, b) => a.start - b.start || a.trackIndex - b.trackIndex;
|
|
4586
|
-
var instantTolerance = (time) => 4 * Number.EPSILON * Math.max(1, Math.abs(time));
|
|
4587
|
-
function sameInstant(a, b) {
|
|
4588
|
-
if (!Number.isFinite(a) || !Number.isFinite(b))
|
|
4589
|
-
return a === b;
|
|
4590
|
-
return Math.abs(a - b) <= instantTolerance(Math.max(Math.abs(a), Math.abs(b)));
|
|
4591
|
-
}
|
|
4592
|
-
var isBefore = (a, b) => a < b && !sameInstant(a, b);
|
|
4593
|
-
function spansShareTime(aStart, aEnd, bStart, bEnd) {
|
|
4594
|
-
return isBefore(Math.max(aStart, bStart), Math.min(aEnd, bEnd));
|
|
4595
|
-
}
|
|
4596
|
-
var isInsideSpan = (time, start, end) => isBefore(start, time) && isBefore(time, end);
|
|
4597
4587
|
|
|
4598
4588
|
// ../core/dist/runtime/clipWindow.js
|
|
4599
4589
|
var hasClipStarted = (time, start) => time >= start || sameInstant(time, start);
|
|
@@ -5614,9 +5604,6 @@ export {
|
|
|
5614
5604
|
cutToHostSlots,
|
|
5615
5605
|
createRuntimeStartTimeResolver,
|
|
5616
5606
|
byStart,
|
|
5617
|
-
sameInstant,
|
|
5618
|
-
spansShareTime,
|
|
5619
|
-
isInsideSpan,
|
|
5620
5607
|
hasClipStarted,
|
|
5621
5608
|
isInClipWindow,
|
|
5622
5609
|
isClipVisibleAt,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XVIFWEPR.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RMKL5FVH.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-H2BPHBDY.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RMKL5FVH.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GXWV4FNV.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_CONFIG,
|
|
18
18
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XVIFWEPR.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RMKL5FVH.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D2YN4FNH.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-B23GBPCW.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-GK2FIKIQ.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -4,33 +4,33 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
resolveCompositionViewportFromHtml
|
|
9
|
+
} from "./chunk-FH7WODJH.js";
|
|
7
10
|
import {
|
|
8
11
|
gotoWhenSent,
|
|
9
12
|
launchManagedBrowser,
|
|
10
13
|
resolveManagedGpuMode,
|
|
11
14
|
rethrowAfterBrowserCleanup
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
resolveCompositionViewportFromHtml
|
|
15
|
-
} from "./chunk-FH7WODJH.js";
|
|
15
|
+
} from "./chunk-EAR5LFOH.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs,
|
|
18
18
|
windowsChromeCrashRemediation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SEHRMJTO.js";
|
|
20
20
|
import {
|
|
21
21
|
oneProcessOverPipe
|
|
22
22
|
} from "./chunk-BRHI7EIA.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveLocalBrowserGpuMode,
|
|
25
25
|
resolveLocalWebGpu
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2XSAYE7U.js";
|
|
27
27
|
import {
|
|
28
28
|
c
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
30
30
|
import {
|
|
31
31
|
assertWebGpuAdapterAvailable,
|
|
32
32
|
compositionRequiresWebGpu
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XVIFWEPR.js";
|
|
34
34
|
import {
|
|
35
35
|
normalizeErrorMessage
|
|
36
36
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -114,9 +114,9 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
114
114
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-HEUPD2YB.js");
|
|
115
115
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
116
116
|
const puppeteer = await import("puppeteer-core");
|
|
117
|
-
const { buildChromeArgs } = await import("./src-
|
|
117
|
+
const { buildChromeArgs } = await import("./src-MRYINZ62.js");
|
|
118
118
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
119
|
-
const answer = (await import("./staticProjectServer-
|
|
119
|
+
const answer = (await import("./staticProjectServer-RT7JATD2.js")).inProcessAnswer(url);
|
|
120
120
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
121
121
|
let softwareWebGpu = false;
|
|
122
122
|
const launch = async (executablePath) => {
|
|
@@ -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.174" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.174" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -5,11 +5,9 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
detectWsl,
|
|
8
9
|
getSystemTotalMb
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
detectWsl
|
|
12
|
-
} from "./chunk-7KDQAD2W.js";
|
|
10
|
+
} from "./chunk-W2LGJSEN.js";
|
|
13
11
|
|
|
14
12
|
// src/telemetry/system.ts
|
|
15
13
|
import { cpus, freemem, platform as platform2, release as release2 } from "os";
|
|
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AR2SEGPZ.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
13
13
|
ensureWhisper,
|
|
14
14
|
hasFFmpeg
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HB2UP4V7.js";
|
|
16
16
|
import {
|
|
17
17
|
findFFmpeg,
|
|
18
18
|
findFFprobe,
|
|
19
19
|
getFFmpegInstallHint
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4VTUDCHM.js";
|
|
21
21
|
import {
|
|
22
22
|
findWavChunk
|
|
23
23
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -6,31 +6,31 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LR72ON5B.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-55LJK3H2.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TI3HKGQC.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AR2SEGPZ.js";
|
|
24
|
+
import {
|
|
25
|
+
DEFAULT_MODEL,
|
|
26
|
+
isWhisperUnavailable
|
|
27
|
+
} from "./chunk-HB2UP4V7.js";
|
|
24
28
|
import {
|
|
25
29
|
formatSrt,
|
|
26
30
|
formatVtt,
|
|
27
31
|
loadTranscript,
|
|
28
32
|
patchCaptionHtml
|
|
29
33
|
} from "./chunk-VHZ6DL3M.js";
|
|
30
|
-
import {
|
|
31
|
-
DEFAULT_MODEL,
|
|
32
|
-
isWhisperUnavailable
|
|
33
|
-
} from "./chunk-X3SCQP2A.js";
|
|
34
34
|
import {
|
|
35
35
|
normalizeErrorMessage
|
|
36
36
|
} from "./chunk-KNU5COPB.js";
|