hyperframes 0.8.151 → 0.8.152
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-QKZZG7A2.js → add-SA33REHW.js} +14 -14
- package/dist/{animatedGifPrep-YQDPYGOD.js → animatedGifPrep-3YXJQZ7L.js} +9 -9
- package/dist/api.js +15 -15
- package/dist/{asset-3Q737Y4H.js → asset-PUVPTWPD.js} +2 -2
- package/dist/{assetCataloger-BTHEBJJB.js → assetCataloger-VWE2PLBX.js} +4 -4
- package/dist/{auth-XL7EU3SO.js → auth-PS3M6AI7.js} +1 -1
- package/dist/{autoUpdate-PJFLTQ3U.js → autoUpdate-CMO4SHWU.js} +2 -2
- package/dist/{backgroundChecks-T5TIR5WK.js → backgroundChecks-EDZ2A55J.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-NFLVIDB4.js → batchRender-7PLJISCN.js} +5 -5
- package/dist/{beats-JU4GZ26R.js → beats-2MDSIOE7.js} +14 -14
- package/dist/{benchmark-7U2YWLTW.js → benchmark-KBBXAPI4.js} +10 -10
- package/dist/{browser-D57UPYDA.js → browser-OMWKZRSW.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-26MXQOZG.js → bundleWithLocalizedFonts-76DMCRIW.js} +2 -2
- package/dist/{capture-47BV25G3.js → capture-LRUUXH5Q.js} +2 -2
- package/dist/{capture-LT252COQ.js → capture-YGDC7GN3.js} +12 -12
- package/dist/{catalog-BEZXOV4O.js → catalog-SMEBKEVO.js} +14 -14
- package/dist/{catch-up-KVV5X6BF.js → catch-up-OMILX3WE.js} +4 -4
- package/dist/{check-6KQ433E6.js → check-NUZ62LIW.js} +131 -43
- package/dist/{checkBrowser-PRDR6XBY.js → checkBrowser-MSTVEL4V.js} +39 -38
- package/dist/{chunk-L6RIMCMG.js → chunk-3DZBQ7MH.js} +3 -3
- package/dist/{chunk-POEEDPJI.js → chunk-3E4OCOC5.js} +1 -1
- package/dist/{chunk-YZTVHRJ2.js → chunk-3HPJM5IQ.js} +1 -1
- package/dist/{chunk-OZ4K46OV.js → chunk-3LO7BBJX.js} +2 -2
- package/dist/{chunk-APDLWWFG.js → chunk-3VGU2SH7.js} +1 -1
- package/dist/{chunk-RRBKEHST.js → chunk-4UMKAUZI.js} +1 -1
- package/dist/{chunk-DHPFXAUF.js → chunk-57GN6KWT.js} +17 -3
- package/dist/{chunk-374QQGBQ.js → chunk-5CS4T6C6.js} +63 -12
- package/dist/{chunk-XQKVEQNY.js → chunk-5ERVRJMV.js} +2 -2
- package/dist/{chunk-S22FKF6G.js → chunk-5VMSUW4Z.js} +2 -2
- package/dist/{chunk-N4IXP3MY.js → chunk-6Z4YJ5Q3.js} +3 -3
- package/dist/{chunk-FJWEYVEM.js → chunk-7FYFEXD2.js} +658 -198
- package/dist/{chunk-4LE27ST4.js → chunk-7NPSXBIN.js} +2 -2
- package/dist/chunk-7TASSBN2.js +215 -0
- package/dist/{chunk-IP73NMQT.js → chunk-ANS56TPS.js} +10 -10
- package/dist/{chunk-PUIELIFA.js → chunk-BQK3J7XO.js} +1 -1
- package/dist/{chunk-RJRGR5KF.js → chunk-BYJYQWEX.js} +9 -9
- package/dist/{chunk-XXPYZBZ3.js → chunk-C6TPGUWD.js} +2 -2
- package/dist/{chunk-FAIYEIZ4.js → chunk-D6RJXQLD.js} +1 -1
- package/dist/{chunk-N3I6RAOR.js → chunk-DFXK7KUO.js} +11 -11
- package/dist/{chunk-DIOBKUBV.js → chunk-E6EYZ33P.js} +2 -2
- package/dist/{chunk-ZGCRVM5M.js → chunk-EVTHG34H.js} +2 -2
- package/dist/{chunk-IZPN423R.js → chunk-EXH6L2XZ.js} +2 -2
- package/dist/{chunk-AIJS74LG.js → chunk-FFDC5OWV.js} +8 -2
- package/dist/{chunk-KQGWP4KH.js → chunk-FNN5QINS.js} +1 -1
- package/dist/{chunk-DMKI64EZ.js → chunk-FSZAFCU7.js} +1 -1
- package/dist/{chunk-L3N7RJHS.js → chunk-GQETH4PE.js} +3 -3
- package/dist/{chunk-ZD3RDNZI.js → chunk-H2SGM2V2.js} +1 -1
- package/dist/{chunk-OSAH7S5M.js → chunk-H7FXBK3Q.js} +1 -1
- package/dist/{chunk-BRF3O35X.js → chunk-HBCRRCTX.js} +109 -31
- package/dist/{chunk-KXX6NLOT.js → chunk-IBYC3VUA.js} +1 -1
- package/dist/{chunk-IPDS2SWI.js → chunk-IEDT4EXE.js} +1 -1
- package/dist/{chunk-TCWMDCBX.js → chunk-IZIRIDJH.js} +2 -2
- package/dist/{chunk-4PKQEKAI.js → chunk-IZKXUYZE.js} +2 -2
- package/dist/chunk-KCFF4ENE.js +24 -0
- package/dist/{chunk-IZ7L6V76.js → chunk-KZ3L3W4Q.js} +1 -1
- package/dist/{chunk-YEBKEWKB.js → chunk-LECTCGGS.js} +1 -1
- package/dist/{chunk-O3DUX6P2.js → chunk-LVPSWUS6.js} +4 -4
- package/dist/{chunk-LKQS72D5.js → chunk-MNHPG2UO.js} +1 -1
- package/dist/{chunk-XKKBIFE5.js → chunk-NHAG2KCE.js} +7 -7
- package/dist/{chunk-HVXRYMGQ.js → chunk-PKO2EWO7.js} +1 -1
- package/dist/{chunk-XNDXENJQ.js → chunk-PRXAOZWZ.js} +3 -3
- package/dist/{chunk-4YZYYP7V.js → chunk-PTXZDSW5.js} +3 -3
- package/dist/{chunk-QF7AE3DB.js → chunk-QECEOV6W.js} +1 -1
- package/dist/{chunk-XGLNQDLN.js → chunk-QESSGUKX.js} +1 -1
- package/dist/{chunk-3SVC7SW4.js → chunk-RN5I2DP5.js} +3 -3
- package/dist/{chunk-QBYHNRHU.js → chunk-S3RCK56N.js} +1 -1
- package/dist/{chunk-RYL6ZIJP.js → chunk-SWCSL6WS.js} +5 -5
- package/dist/{chunk-2PSPARWP.js → chunk-TYXH3EKP.js} +4 -0
- package/dist/{chunk-FMNVTKX2.js → chunk-U3BCDVZO.js} +1 -1
- package/dist/{chunk-FLVI7FHU.js → chunk-VS732BUG.js} +1 -1
- package/dist/{chunk-LFNQDTSH.js → chunk-VYKPBRCB.js} +63 -12
- package/dist/{chunk-QLGBNGXC.js → chunk-XEFFJRYX.js} +2 -2
- package/dist/{chunk-3ZPFRDEJ.js → chunk-XINGD6MS.js} +4 -4
- package/dist/chunk-XSEGMQYA.js +30 -0
- package/dist/{chunk-GNTVYF7E.js → chunk-YOEGUBBY.js} +5 -5
- package/dist/{chunk-35PWWBGZ.js → chunk-YYEYOFHW.js} +1 -1
- package/dist/{chunk-XYHBVSWD.js → chunk-ZTM3RMAD.js} +2 -2
- package/dist/{clean-RLTHFTQA.js → clean-F75G45BI.js} +52 -31
- package/dist/cli.js +53 -53
- package/dist/{cloud-Q5TGBTW3.js → cloud-KVJAOUWH.js} +4 -4
- package/dist/{cloudrun-4UZF74MV.js → cloudrun-Q7Q7O4GY.js} +6 -6
- package/dist/{compare-Q5UNR2V4.js → compare-DGUJ4QWU.js} +30 -30
- package/dist/{compiler-ZXT27Z62.js → compiler-NCN6PTVH.js} +6 -6
- package/dist/{component-H734P32V.js → component-PSYGT3JV.js} +3 -3
- package/dist/{compositions-YEHDSTDR.js → compositions-J3GAETIC.js} +13 -13
- package/dist/{delete-LDBMPWRT.js → delete-MR7LRGRP.js} +2 -2
- package/dist/{deterministicFonts-C5JQLCTS.js → deterministicFonts-EOMDR6ZF.js} +3 -3
- package/dist/{dist-RGE4QASU.js → dist-2YYJYYPY.js} +3 -3
- package/dist/{dist-7JXLFD6U.js → dist-3MHXG6EJ.js} +4 -4
- package/dist/{doctor-XNJFIWJ7.js → doctor-JOUGR5UK.js} +11 -11
- package/dist/{events-UKCPUWMH.js → events-63BKDWVO.js} +3 -3
- package/dist/{events-G6UFLNXR.js → events-FZFBJCIH.js} +2 -2
- package/dist/{feedback-CK3KZ7DE.js → feedback-QLKWUDXR.js} +8 -8
- package/dist/{figma-3D5C737B.js → figma-YJ7HGVQC.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -12
- package/dist/{get-QGTQUWFT.js → get-54MUUXMR.js} +2 -2
- package/dist/{gpuPolicy-G5QAQDYF.js → gpuPolicy-5OVNR75D.js} +9 -9
- package/dist/{grade-compare-XIHOM62P.js → grade-compare-7IDUF673.js} +30 -30
- package/dist/{gsapParserAcorn-VXZ3ZIF2.js → gsapParserAcorn-7NCK2LVT.js} +2 -2
- package/dist/{help-U5UBXT52.js → help-GQFYO5LU.js} +1 -1
- package/dist/{history-5J73QZSA.js → history-UI3O7CSO.js} +77 -205
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-RJHQQQUP.js → info-VQV3APEX.js} +9 -9
- package/dist/{init-M6UQOYYC.js → init-2UBFV5D7.js} +24 -24
- package/dist/{inspect-PRQWDBTP.js → inspect-36ACJ3CO.js} +31 -31
- package/dist/{installer-ZL7UKYK5.js → installer-GDUZDJG4.js} +7 -7
- package/dist/{keyframes-VMUJYTCQ.js → keyframes-GPBU34BG.js} +227 -82
- package/dist/{lambda-ON42DRQD.js → lambda-CBJVLTHY.js} +7 -7
- package/dist/{layout-QKBFVDVY.js → layout-2IHFV6EI.js} +31 -31
- package/dist/{lint-ZQHHL2SV.js → lint-IR6IYCEO.js} +9 -9
- package/dist/{lintProject-3Z6OJCSO.js → lintProject-XQWXJYSC.js} +3 -3
- package/dist/{list-YBRKIWGF.js → list-UAGKWARH.js} +2 -2
- package/dist/{login-4B2YXGLB.js → login-2GYCNCZF.js} +4 -4
- package/dist/{media-treatment-5C5EJAAP.js → media-treatment-Z553F7XI.js} +12 -12
- package/dist/{models-R7ZDWBJ6.js → models-6AZTNNSO.js} +12 -12
- package/dist/{motionShot-ZHESZNUL.js → motionShot-ARRL7WXT.js} +28 -15
- package/dist/{normalize-audio-EVWZVTBM.js → normalize-audio-CME4NUB6.js} +6 -6
- package/dist/{open-TV6HT4UT.js → open-HU2VXUFD.js} +4 -4
- package/dist/{parakeetRunner-YVVF4CG6.js → parakeetRunner-X5MKFMCB.js} +12 -12
- package/dist/{pipeline-ETR5SEBS.js → pipeline-MNFTEBJU.js} +9 -9
- package/dist/{play-C6WONRZV.js → play-2BBJDDAZ.js} +24 -24
- package/dist/{present-RANXTVPA.js → present-OE2WL2NY.js} +20 -20
- package/dist/{preview-KF6UMBT2.js → preview-RYSCCAWJ.js} +19 -19
- package/dist/{producer-CY2GXBWN.js → producer-SQWNRO66.js} +1 -1
- package/dist/{projectConfig-KPXCNMBM.js → projectConfig-B55Z7YKQ.js} +9 -9
- package/dist/{publication-Y36N4A7E.js → publication-MDZCOBJP.js} +4 -4
- package/dist/{publish-RCQJO35C.js → publish-AILV36BO.js} +12 -12
- package/dist/{remove-background-3ZMXVWLB.js → remove-background-6F72LKHG.js} +10 -10
- package/dist/{render-PTNEFO5U.js → render-2MZKU3L5.js} +10 -10
- package/dist/{render-FKVRCDT2.js → render-5EREH6YD.js} +57 -22
- package/dist/{render-WUSTRMUD.js → render-6GH5FSXU.js} +5 -5
- package/dist/{render-batch-AQHU2JWZ.js → render-batch-UMBUQWWS.js} +5 -5
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-L5BDZJKU.js → resolver-KO6WWO5P.js} +6 -6
- package/dist/{sherpa-3S3ISG7G.js → sherpa-DADGYWNR.js} +11 -11
- package/dist/skills/hyperframes-cli/SKILL.md +3 -0
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +5 -1
- package/dist/{skills-X4WQEKNF.js → skills-QLKSNU4Y.js} +5 -5
- package/dist/{skillsUpdateCheck-UYCVHDZ6.js → skillsUpdateCheck-Z2QQGF2W.js} +3 -3
- package/dist/{snapshot-YEYHQEZQ.js → snapshot-D5BBFXOS.js} +118 -41
- package/dist/{src-2NN2WB6X.js → src-AVQBAECC.js} +8 -8
- package/dist/{src-OLBDPEG6.js → src-V7263E47.js} +11 -11
- package/dist/{staticProjectServer-7H35NMWB.js → staticProjectServer-HNWSVEWN.js} +20 -20
- package/dist/studio/assets/{hyperframes-player-DJt8E7k4.js → hyperframes-player-0BY7-PK7.js} +1 -1
- package/dist/studio/assets/{index-DWIHrAY2.js → index-COrWdzlj.js} +1 -1
- package/dist/studio/assets/{index-BGks9KLI.js → index-p-VXwuJ2.js} +132 -132
- package/dist/studio/assets/{index-DgbLblGR.js → index-rmD5k_ES.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-HGM2A5I3.js → studio-api-UXKTDWLT.js} +30 -16
- package/dist/{studioServer-M6XFL7N6.js → studioServer-JOVR24O3.js} +43 -43
- package/dist/{synthesize-22B7L5GX.js → synthesize-MBDVUSH3.js} +2 -1
- package/dist/{telemetry-KVCZKVTE.js → telemetry-UW7XAM5W.js} +3 -3
- package/dist/{timeline-VYYKZR4V.js → timeline-JSGTZ3AN.js} +20 -20
- package/dist/{tokens-B5NFFL55.js → tokens-ADDBGTQ7.js} +2 -2
- package/dist/{transcribe-SBETOIWI.js → transcribe-FEHOK626.js} +10 -10
- package/dist/{transcribe-WNFRYZAC.js → transcribe-P6MJGSZJ.js} +16 -16
- package/dist/{tts-QSAQZVEZ.js → tts-POI553RG.js} +1 -1
- package/dist/{updateCheck-5MM2DFUC.js → updateCheck-IBWMLXQ4.js} +2 -2
- package/dist/{upgrade-LWID54R3.js → upgrade-NHZ7AYPO.js} +2 -2
- package/dist/{urlDownloader-CVLNXFDG.js → urlDownloader-ULDRBWS5.js} +8 -8
- package/dist/{validate-V4CGQ6OF.js → validate-NVWNXNBV.js} +25 -25
- package/dist/{video-VJB2KRSS.js → video-74DRD2DN.js} +9 -9
- package/package.json +1 -1
- package/dist/chunk-WBLXWOYK.js +0 -15
|
@@ -15,8 +15,9 @@ import {
|
|
|
15
15
|
ancestor,
|
|
16
16
|
full,
|
|
17
17
|
parse,
|
|
18
|
+
parseExpressionAt,
|
|
18
19
|
simple
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TYXH3EKP.js";
|
|
20
21
|
import {
|
|
21
22
|
__toESM
|
|
22
23
|
} from "./chunk-M2WBOQ2Q.js";
|
|
@@ -2195,19 +2196,19 @@ function collectIdentifierBindingIndex(ast) {
|
|
|
2195
2196
|
}
|
|
2196
2197
|
}
|
|
2197
2198
|
function addBinding(bindings, scopeNode, name, selector) {
|
|
2198
|
-
let scoped = bindings.get(scopeNode);
|
|
2199
|
+
let scoped = bindings.byScope.get(scopeNode);
|
|
2199
2200
|
if (!scoped) {
|
|
2200
2201
|
scoped = /* @__PURE__ */ new Map();
|
|
2201
|
-
bindings.set(scopeNode, scoped);
|
|
2202
|
+
bindings.byScope.set(scopeNode, scoped);
|
|
2202
2203
|
}
|
|
2203
2204
|
if (!scoped.has(name)) scoped.set(name, selector);
|
|
2204
2205
|
}
|
|
2205
2206
|
function lookupBindingFromAncestors(name, ancestors, bindings) {
|
|
2206
2207
|
for (const scopeNode of scopeChainFromAncestors(ancestors)) {
|
|
2207
|
-
const selector = bindings.get(scopeNode)?.get(name);
|
|
2208
|
+
const selector = bindings.byScope.get(scopeNode)?.get(name);
|
|
2208
2209
|
if (selector !== void 0) return selector;
|
|
2209
2210
|
}
|
|
2210
|
-
return bindings.get(null)?.get(name) ?? null;
|
|
2211
|
+
return bindings.byScope.get(null)?.get(name) ?? null;
|
|
2211
2212
|
}
|
|
2212
2213
|
function isFunctionNode2(node) {
|
|
2213
2214
|
return node?.type === "ArrowFunctionExpression" || node?.type === "FunctionExpression" || node?.type === "FunctionDeclaration";
|
|
@@ -2246,7 +2247,7 @@ function collectScopeBindings(ast) {
|
|
|
2246
2247
|
return bindings;
|
|
2247
2248
|
}
|
|
2248
2249
|
function collectTargetBindings(ast, scope, identifierBindings) {
|
|
2249
|
-
const bindings = /* @__PURE__ */ new Map();
|
|
2250
|
+
const bindings = { byScope: /* @__PURE__ */ new Map(), identifiers: identifierBindings };
|
|
2250
2251
|
ancestor(ast, {
|
|
2251
2252
|
VariableDeclarator(node, _, ancestors) {
|
|
2252
2253
|
const name = node.id?.name;
|
|
@@ -2327,7 +2328,18 @@ function resolveTargetSelector(node, ancestors, scope, bindings) {
|
|
|
2327
2328
|
return typeof node.value === "string" ? node.value : null;
|
|
2328
2329
|
}
|
|
2329
2330
|
if (node.type === "Identifier") {
|
|
2330
|
-
|
|
2331
|
+
const bound = lookupBindingFromAncestors(node.name, ancestors, bindings);
|
|
2332
|
+
if (bound) return bound;
|
|
2333
|
+
const declaration = findVisibleIdentifierDeclaration(
|
|
2334
|
+
node.name,
|
|
2335
|
+
ancestors,
|
|
2336
|
+
bindings.identifiers,
|
|
2337
|
+
node.start
|
|
2338
|
+
);
|
|
2339
|
+
if (declaration?.kind !== "const" || bindings.identifiers.reassignedDeclarations.has(declaration.node))
|
|
2340
|
+
return null;
|
|
2341
|
+
const literal = resolveNode(declaration.node.init, scope);
|
|
2342
|
+
return typeof literal === "string" ? literal : null;
|
|
2331
2343
|
}
|
|
2332
2344
|
if (node.type === "CallExpression") {
|
|
2333
2345
|
return selectorFromQueryCall(node, scope);
|
|
@@ -2352,7 +2364,7 @@ function describeProxyTarget(targetNode, varsNode, scope) {
|
|
|
2352
2364
|
const onUpdate = findPropertyNode(varsNode, "onUpdate");
|
|
2353
2365
|
const driven = onUpdate ? drivenDomChannel(onUpdate) : void 0;
|
|
2354
2366
|
if (driven) return `proxy \u2192 ${driven}`;
|
|
2355
|
-
return "dwell/hold";
|
|
2367
|
+
return objNode.properties.length === 0 && !onUpdate ? "dwell/hold" : "proxy (unresolved DOM association)";
|
|
2356
2368
|
}
|
|
2357
2369
|
function isStyleAssignmentTarget(left) {
|
|
2358
2370
|
return left?.type === "MemberExpression" && left.object?.type === "MemberExpression" && left.object.property?.name === "style" && !!left.property?.name;
|
|
@@ -2871,6 +2883,8 @@ function tweenCallToAnimation(call, scope, source, identifierBindings) {
|
|
|
2871
2883
|
duration,
|
|
2872
2884
|
ease
|
|
2873
2885
|
};
|
|
2886
|
+
if (["stagger", "repeat", "repeatDelay", "delay"].some((key) => findPropertyNode(call.varsArg, key)))
|
|
2887
|
+
anim.inspectionTiming = inspectionTiming(call.varsArg, scope);
|
|
2874
2888
|
if (targetIdentity) anim.targetIdentity = targetIdentity;
|
|
2875
2889
|
if (!hasPositionArg) anim.implicitPosition = true;
|
|
2876
2890
|
let group = classifyTweenPropertyGroup(properties);
|
|
@@ -2893,14 +2907,51 @@ function tweenCallToAnimation(call, scope, source, identifierBindings) {
|
|
|
2893
2907
|
if (provenance) anim.provenance = provenance;
|
|
2894
2908
|
return anim;
|
|
2895
2909
|
}
|
|
2910
|
+
function inspectionTiming(varsNode, scope) {
|
|
2911
|
+
const numeric2 = (key) => {
|
|
2912
|
+
const node2 = findPropertyNode(varsNode, key);
|
|
2913
|
+
if (!node2) return 0;
|
|
2914
|
+
const value = resolveNode(node2, scope);
|
|
2915
|
+
return typeof value === "number" && Number.isFinite(value) ? value : null;
|
|
2916
|
+
};
|
|
2917
|
+
const node = findPropertyNode(varsNode, "stagger");
|
|
2918
|
+
let stagger = { each: 0 };
|
|
2919
|
+
if (node) {
|
|
2920
|
+
const value = resolveNode(node, scope);
|
|
2921
|
+
stagger = typeof value === "number" ? { each: value } : null;
|
|
2922
|
+
if (node.type === "ObjectExpression" && !(node.properties ?? []).some(
|
|
2923
|
+
(p) => !["each", "amount", "from", "ease", "axis", "grid"].includes(propKeyName(p) ?? "")
|
|
2924
|
+
)) {
|
|
2925
|
+
const each = resolveNode(findPropertyNode(node, "each"), scope);
|
|
2926
|
+
const amount = resolveNode(findPropertyNode(node, "amount"), scope);
|
|
2927
|
+
if (!findPropertyNode(node, "grid") && !findPropertyNode(node, "axis")) {
|
|
2928
|
+
if (typeof amount === "number") stagger = { amount };
|
|
2929
|
+
else if (typeof each === "number") stagger = { each };
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
return {
|
|
2934
|
+
repeat: numeric2("repeat"),
|
|
2935
|
+
repeatDelay: numeric2("repeatDelay"),
|
|
2936
|
+
delay: numeric2("delay"),
|
|
2937
|
+
stagger
|
|
2938
|
+
};
|
|
2939
|
+
}
|
|
2896
2940
|
function staggerAmount(raw) {
|
|
2897
2941
|
if (typeof raw === "number") return raw;
|
|
2898
2942
|
if (typeof raw !== "string") return void 0;
|
|
2899
2943
|
const src = raw.startsWith("__raw:") ? raw.slice(6) : raw;
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2944
|
+
try {
|
|
2945
|
+
const node = parseExpressionAt(src, 0, { ecmaVersion: "latest" });
|
|
2946
|
+
if (src.slice(node.end).trim()) return void 0;
|
|
2947
|
+
const value = resolveNode(
|
|
2948
|
+
node.type === "ObjectExpression" ? findPropertyNode(node, "each") : node,
|
|
2949
|
+
/* @__PURE__ */ new Map()
|
|
2950
|
+
);
|
|
2951
|
+
return typeof value === "number" && Number.isFinite(value) ? value : void 0;
|
|
2952
|
+
} catch {
|
|
2953
|
+
return void 0;
|
|
2954
|
+
}
|
|
2904
2955
|
}
|
|
2905
2956
|
function restValue(prop) {
|
|
2906
2957
|
return prop === "opacity" || prop.startsWith("scale") ? 1 : 0;
|
|
@@ -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-HBCRRCTX.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S3RCK56N.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
formatPreviewProxyBox,
|
|
10
10
|
hdrToSdrToneMapFilter,
|
|
11
11
|
parseFirstFrameColour
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5ERVRJMV.js";
|
|
13
13
|
import {
|
|
14
14
|
decodeAuthoredAttribute,
|
|
15
15
|
scanHtmlOpeningTags
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VYKPBRCB.js";
|
|
17
17
|
import {
|
|
18
18
|
mkdirWithinProject,
|
|
19
19
|
realProjectRoot,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
rewriteAssetPath
|
|
33
33
|
} from "./chunk-BSQ7XANM.js";
|
|
34
34
|
|
|
35
|
-
// ../studio-server/dist/chunk-
|
|
35
|
+
// ../studio-server/dist/chunk-FKJBNFWA.js
|
|
36
36
|
import { statSync } from "fs";
|
|
37
37
|
import { sep } from "path";
|
|
38
38
|
import { execFile } from "child_process";
|
|
@@ -336,7 +336,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
|
|
|
336
336
|
return map;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
-
// ../studio-server/dist/chunk-
|
|
339
|
+
// ../studio-server/dist/chunk-JTPV2T3F.js
|
|
340
340
|
import { spawn } from "child_process";
|
|
341
341
|
import { createHash, randomUUID } from "crypto";
|
|
342
342
|
import { existsSync as existsSync2, renameSync, statSync as statSync2, unlinkSync as unlinkSync2, utimesSync } from "fs";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// src/utils/checkSnapshotDirectory.ts
|
|
9
|
+
import { randomUUID } from "crypto";
|
|
10
|
+
import { join, resolve } from "path";
|
|
11
|
+
var runDirectories = /* @__PURE__ */ new Map();
|
|
12
|
+
function checkSnapshotDirectory(projectDir) {
|
|
13
|
+
const project = resolve(projectDir);
|
|
14
|
+
let directory = runDirectories.get(project);
|
|
15
|
+
if (!directory) {
|
|
16
|
+
directory = join(project, ".hyperframes", "artifacts", "snapshots", randomUUID());
|
|
17
|
+
runDirectories.set(project, directory);
|
|
18
|
+
}
|
|
19
|
+
return directory;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// src/utils/checkTypes.ts
|
|
23
|
+
function rectToBbox(rect) {
|
|
24
|
+
return { x: rect.left, y: rect.top, width: rect.width, height: rect.height };
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
checkSnapshotDirectory,
|
|
29
|
+
rectToBbox
|
|
30
|
+
};
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
extractMediaSrcMutations,
|
|
26
26
|
isSafeMediaUrl,
|
|
27
27
|
resolveAliasDisplayName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3VGU2SH7.js";
|
|
29
29
|
import {
|
|
30
30
|
findFfBinary
|
|
31
31
|
} from "./chunk-VAS6HQX3.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
parse,
|
|
51
51
|
simple
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-TYXH3EKP.js";
|
|
53
53
|
import {
|
|
54
54
|
isSceneLikeCompositionId,
|
|
55
55
|
parseSlideshowManifest,
|
|
@@ -7437,18 +7437,18 @@ function deriveDurationFromClips(tags, rootTag) {
|
|
|
7437
7437
|
return resolveCompositionDuration({ authoredDurationSeconds: null, clipEndsSeconds: clipEnds });
|
|
7438
7438
|
}
|
|
7439
7439
|
async function loadParseGsapScript() {
|
|
7440
|
-
const mod = await import("./gsapParserAcorn-
|
|
7440
|
+
const mod = await import("./gsapParserAcorn-7NCK2LVT.js");
|
|
7441
7441
|
return mod.parseGsapScriptAcorn;
|
|
7442
7442
|
}
|
|
7443
7443
|
async function loadGsapScriptMotionPathFirstUseIndex() {
|
|
7444
|
-
const mod = await import("./gsapParserAcorn-
|
|
7444
|
+
const mod = await import("./gsapParserAcorn-7NCK2LVT.js");
|
|
7445
7445
|
return mod.gsapScriptMotionPathFirstUseIndex;
|
|
7446
7446
|
}
|
|
7447
7447
|
var SCENE_BOUNDARY_EPSILON_SECONDS = 0.05;
|
|
7448
7448
|
var UNRESOLVED_TARGET = "__unresolved__";
|
|
7449
7449
|
function targetHasNoStableIdentity(selector, identity) {
|
|
7450
7450
|
if (identity) return false;
|
|
7451
|
-
return selector === UNRESOLVED_TARGET || selector === "dwell/hold" || selector.startsWith("proxy
|
|
7451
|
+
return selector === UNRESOLVED_TARGET || selector === "dwell/hold" || selector.startsWith("proxy ");
|
|
7452
7452
|
}
|
|
7453
7453
|
function unwrapRaw(value) {
|
|
7454
7454
|
if (typeof value === "number") return value;
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EXH6L2XZ.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5ERVRJMV.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -6,30 +6,30 @@ 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-PTXZDSW5.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 "./chunk-
|
|
14
|
+
} from "./chunk-3E4OCOC5.js";
|
|
15
|
+
import "./chunk-HBCRRCTX.js";
|
|
16
|
+
import "./chunk-PRXAOZWZ.js";
|
|
17
|
+
import "./chunk-C6TPGUWD.js";
|
|
17
18
|
import {
|
|
18
19
|
DEFAULT_HISTORY_ROOT,
|
|
19
20
|
listProjectHistories,
|
|
20
21
|
pruneGoneProjectHistories
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-XXPYZBZ3.js";
|
|
22
|
+
} from "./chunk-7FYFEXD2.js";
|
|
23
23
|
import {
|
|
24
24
|
CACHE_DIR_NAME,
|
|
25
25
|
cleanupProxyCache
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-XINGD6MS.js";
|
|
27
|
+
import "./chunk-FFDC5OWV.js";
|
|
28
28
|
import {
|
|
29
29
|
formatBytes
|
|
30
30
|
} from "./chunk-K2FLNJVB.js";
|
|
31
31
|
import "./chunk-WUUOFMHU.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-5CS4T6C6.js";
|
|
33
33
|
import "./chunk-XBSPQ52S.js";
|
|
34
34
|
import {
|
|
35
35
|
defineCommand
|
|
@@ -45,12 +45,12 @@ import "./chunk-TJSTGSAW.js";
|
|
|
45
45
|
import "./chunk-LBT4AMSF.js";
|
|
46
46
|
import {
|
|
47
47
|
withMeta
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-YYEYOFHW.js";
|
|
49
49
|
import "./chunk-K4WIOZFP.js";
|
|
50
50
|
import "./chunk-XUXGIA7H.js";
|
|
51
51
|
import "./chunk-WERLJGIC.js";
|
|
52
52
|
import "./chunk-ISN5GRYI.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-IZIRIDJH.js";
|
|
54
54
|
import "./chunk-3DKN5WKL.js";
|
|
55
55
|
import "./chunk-EOVYQ3IG.js";
|
|
56
56
|
import "./chunk-6BEFEWFB.js";
|
|
@@ -61,15 +61,15 @@ import {
|
|
|
61
61
|
directorySizeBytes,
|
|
62
62
|
gcExtractionCache,
|
|
63
63
|
resolveExtractCacheDir
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import "./chunk-
|
|
64
|
+
} from "./chunk-EXH6L2XZ.js";
|
|
65
|
+
import "./chunk-RN5I2DP5.js";
|
|
66
66
|
import "./chunk-NE55C6S5.js";
|
|
67
67
|
import "./chunk-JYVGYKXG.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-5ERVRJMV.js";
|
|
69
|
+
import "./chunk-S3RCK56N.js";
|
|
70
70
|
import "./chunk-VC76R6W2.js";
|
|
71
71
|
import "./chunk-UJKQWGFF.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-VYKPBRCB.js";
|
|
73
73
|
import "./chunk-OFQWTKPW.js";
|
|
74
74
|
import "./chunk-DPVXBVLL.js";
|
|
75
75
|
import "./chunk-T76PLPD6.js";
|
|
@@ -77,14 +77,14 @@ import "./chunk-FXMKHHPO.js";
|
|
|
77
77
|
import "./chunk-RQVDTPGD.js";
|
|
78
78
|
import "./chunk-54DMWFQZ.js";
|
|
79
79
|
import "./chunk-TWWSYAKJ.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-YOEGUBBY.js";
|
|
81
81
|
import "./chunk-IWFLMU2N.js";
|
|
82
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-3VGU2SH7.js";
|
|
83
83
|
import "./chunk-VAS6HQX3.js";
|
|
84
84
|
import "./chunk-3RM2ETQT.js";
|
|
85
85
|
import "./chunk-BSQ7XANM.js";
|
|
86
86
|
import "./chunk-SDYDNHEE.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-TYXH3EKP.js";
|
|
88
88
|
import "./chunk-IXLUTE6N.js";
|
|
89
89
|
import "./chunk-KNU5COPB.js";
|
|
90
90
|
import "./chunk-KGPLIH7B.js";
|
|
@@ -94,11 +94,11 @@ import "./chunk-M2WBOQ2Q.js";
|
|
|
94
94
|
// src/commands/clean.ts
|
|
95
95
|
import { existsSync, readFileSync, realpathSync, rmSync } from "fs";
|
|
96
96
|
import { tmpdir } from "os";
|
|
97
|
-
import { join, resolve } from "path";
|
|
97
|
+
import { isAbsolute, join, relative, resolve } from "path";
|
|
98
98
|
var examples = [
|
|
99
99
|
["See what HyperFrames left on disk, remove nothing", "hyperframes clean --dry-run"],
|
|
100
100
|
["Remove it", "hyperframes clean"],
|
|
101
|
-
["Also remove
|
|
101
|
+
["Also remove snapshots and saved check reports", "hyperframes clean --snapshots"],
|
|
102
102
|
["For agents", "hyperframes clean --json"]
|
|
103
103
|
];
|
|
104
104
|
var OWNERLESS_IDLE_MS = 6 * 60 * 60 * 1e3;
|
|
@@ -160,16 +160,33 @@ function sweepProxies(sweep, project) {
|
|
|
160
160
|
bytes: swept.bytesBefore - swept.bytesAfter
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
+
var SNAPSHOT_FOLDERS = [
|
|
164
|
+
{ what: "Snapshots", path: ["snapshots"] },
|
|
165
|
+
{ what: "Snapshots", path: [".hyperframes", "artifacts", "snapshots"] },
|
|
166
|
+
{ what: "Check reports", path: [".hyperframes", "artifacts", "checks"] }
|
|
167
|
+
];
|
|
168
|
+
function staysUnderArtifacts(project, path, folder) {
|
|
169
|
+
try {
|
|
170
|
+
const allowed = join(realpathSync(project), ...folder);
|
|
171
|
+
const target = realpathSync(path);
|
|
172
|
+
const fromAllowed = relative(allowed, target);
|
|
173
|
+
return fromAllowed === "" || !fromAllowed.startsWith("..") && !isAbsolute(fromAllowed);
|
|
174
|
+
} catch {
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
163
178
|
function sweepSnapshots(sweep, project, remove) {
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
179
|
+
for (const folder of SNAPSHOT_FOLDERS) {
|
|
180
|
+
const path = join(project, ...folder.path);
|
|
181
|
+
if (!existsSync(path) || !staysUnderArtifacts(project, path, folder.path)) continue;
|
|
182
|
+
if (remove) drop(sweep, folder.what, path);
|
|
183
|
+
else
|
|
184
|
+
sweep.result.alsoReclaimable.push({
|
|
185
|
+
what: folder.what,
|
|
186
|
+
path,
|
|
187
|
+
bytes: directorySizeBytes(path)
|
|
188
|
+
});
|
|
189
|
+
}
|
|
173
190
|
}
|
|
174
191
|
async function sweepHistories(sweep, historyRoot, tempDir) {
|
|
175
192
|
const pruned = await pruneGoneProjectHistories(historyRoot, {
|
|
@@ -256,7 +273,11 @@ var clean_default = defineCommand({
|
|
|
256
273
|
description: "List what would be removed, remove nothing",
|
|
257
274
|
default: false
|
|
258
275
|
},
|
|
259
|
-
snapshots: {
|
|
276
|
+
snapshots: {
|
|
277
|
+
type: "boolean",
|
|
278
|
+
description: "Also remove snapshots/ and .hyperframes/artifacts/{snapshots,checks}/ folders",
|
|
279
|
+
default: false
|
|
280
|
+
},
|
|
260
281
|
json: { type: "boolean", description: "Output as JSON", default: false }
|
|
261
282
|
},
|
|
262
283
|
async run({ args }) {
|
package/dist/cli.js
CHANGED
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ISN5GRYI.js";
|
|
42
42
|
import {
|
|
43
43
|
VERSION
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-IZIRIDJH.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-63BKDWVO.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-2UBFV5D7.js").then((m) => m.default),
|
|
167
|
+
add: () => import("./add-SA33REHW.js").then((m) => m.default),
|
|
168
|
+
catalog: () => import("./catalog-SMEBKEVO.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-2BBJDDAZ.js").then((m) => m.default),
|
|
171
|
+
present: () => import("./present-OE2WL2NY.js").then((m) => m.default),
|
|
172
|
+
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-RYSCCAWJ.js").then((m) => m.default)),
|
|
173
|
+
publish: () => import("./publish-AILV36BO.js").then((m) => m.default),
|
|
174
|
+
open: () => import("./open-HU2VXUFD.js").then((m) => m.default),
|
|
175
|
+
"catch-up": () => import("./catch-up-OMILX3WE.js").then((m) => m.default),
|
|
176
|
+
render: () => import("./render-5EREH6YD.js").then((m) => m.default),
|
|
177
|
+
lint: () => import("./lint-IR6IYCEO.js").then((m) => m.default),
|
|
178
|
+
check: () => import("./check-NUZ62LIW.js").then((m) => m.default),
|
|
179
|
+
beats: () => import("./beats-2MDSIOE7.js").then((m) => m.default),
|
|
180
|
+
"normalize-audio": () => import("./normalize-audio-CME4NUB6.js").then((m) => m.default),
|
|
181
|
+
inspect: () => import("./inspect-36ACJ3CO.js").then((m) => m.default),
|
|
182
|
+
keyframes: () => import("./keyframes-GPBU34BG.js").then((m) => m.default),
|
|
183
|
+
layout: () => import("./layout-2IHFV6EI.js").then((m) => m.default),
|
|
184
|
+
info: () => import("./info-VQV3APEX.js").then((m) => m.default),
|
|
185
|
+
compositions: () => import("./compositions-J3GAETIC.js").then((m) => m.default),
|
|
186
|
+
timeline: () => import("./timeline-JSGTZ3AN.js").then((m) => m.default),
|
|
187
|
+
history: () => import("./history-UI3O7CSO.js").then((m) => m.default),
|
|
188
|
+
benchmark: () => import("./benchmark-KBBXAPI4.js").then((m) => m.default),
|
|
189
|
+
browser: () => import("./browser-OMWKZRSW.js").then((m) => m.default),
|
|
190
|
+
"remove-background": () => import("./remove-background-6F72LKHG.js").then((m) => m.default),
|
|
191
|
+
transcribe: () => import("./transcribe-P6MJGSZJ.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-6AZTNNSO.js").then((m) => m.default),
|
|
194
|
+
tts: () => import("./tts-POI553RG.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-
|
|
196
|
+
doctor: () => import("./doctor-JOUGR5UK.js").then((m) => m.default),
|
|
197
|
+
clean: () => import("./clean-F75G45BI.js").then((m) => m.default),
|
|
198
|
+
upgrade: () => import("./upgrade-NHZ7AYPO.js").then((m) => m.default),
|
|
199
|
+
skills: () => import("./skills-QLKSNU4Y.js").then((m) => m.default),
|
|
200
|
+
feedback: () => import("./feedback-QLKWUDXR.js").then((m) => m.default),
|
|
201
201
|
telemetry: () => import("./telemetry-CQYHCCPL.js").then((m) => m.default),
|
|
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-
|
|
202
|
+
events: () => import("./events-FZFBJCIH.js").then((m) => m.default),
|
|
203
|
+
validate: () => import("./validate-NVWNXNBV.js").then((m) => m.default),
|
|
204
|
+
snapshot: () => import("./snapshot-D5BBFXOS.js").then((m) => m.default),
|
|
205
|
+
"media-treatment": () => import("./media-treatment-Z553F7XI.js").then((m) => m.mediaTreatmentCommand),
|
|
206
|
+
"grade-compare": () => import("./grade-compare-7IDUF673.js").then((m) => m.default),
|
|
207
|
+
compare: () => import("./compare-DGUJ4QWU.js").then((m) => m.default),
|
|
208
|
+
capture: () => import("./capture-LRUUXH5Q.js").then((m) => m.default),
|
|
209
|
+
lambda: () => import("./lambda-CBJVLTHY.js").then((m) => m.default),
|
|
210
|
+
cloudrun: () => import("./cloudrun-Q7Q7O4GY.js").then((m) => m.default),
|
|
211
|
+
cloud: () => import("./cloud-KVJAOUWH.js").then((m) => m.default),
|
|
212
|
+
auth: () => import("./auth-PS3M6AI7.js").then((m) => m.default),
|
|
213
|
+
figma: () => import("./figma-YJ7HGVQC.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-UW7XAM5W.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-CMO4SHWU.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
|
|
248
248
|
});
|
|
249
|
-
import("./updateCheck-
|
|
249
|
+
import("./updateCheck-IBWMLXQ4.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-CMO4SHWU.js").catch(() => null);
|
|
255
255
|
auto?.scheduleBackgroundInstall(result.latest, result.current);
|
|
256
256
|
}
|
|
257
257
|
}).catch(() => {
|
|
258
258
|
});
|
|
259
|
-
import("./skillsUpdateCheck-
|
|
259
|
+
import("./skillsUpdateCheck-Z2QQGF2W.js").then((mod) => {
|
|
260
260
|
_printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
|
|
261
261
|
}).catch(() => {
|
|
262
262
|
});
|
|
263
|
-
import("./backgroundChecks-
|
|
263
|
+
import("./backgroundChecks-EDZ2A55J.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-GQFYO5LU.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-2MZKU3L5.js").then((m) => m.default),
|
|
59
|
+
list: () => import("./list-UAGKWARH.js").then((m) => m.default),
|
|
60
|
+
get: () => import("./get-54MUUXMR.js").then((m) => m.default),
|
|
61
|
+
delete: () => import("./delete-MR7LRGRP.js").then((m) => m.default)
|
|
62
62
|
},
|
|
63
63
|
async run({ args }) {
|
|
64
64
|
if (!args._?.[0]) console.log(HELP);
|