hyperframes 0.9.9 → 0.9.11
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/README.md +9 -0
- package/dist/{add-FQX5F6PC.js → add-IAFJH5RC.js} +6 -6
- package/dist/{agentPromptGenerator-XNGPKVEX.js → agentPromptGenerator-S3GWYMVC.js} +1 -1
- package/dist/{animatedGifPrep-E3PYKFJ3.js → animatedGifPrep-YU7IOD5D.js} +1 -1
- package/dist/api.js +10 -10
- package/dist/{asset-X5GG5TTP.js → asset-UR4PH6KJ.js} +2 -2
- package/dist/{assetCataloger-SDFP4DWL.js → assetCataloger-VKJIQCYP.js} +1 -1
- package/dist/{audio-DDTYFS23.js → audio-HZJ7QZQR.js} +9 -9
- package/dist/{auth-OAWLDT3A.js → auth-UBNAW62X.js} +2 -2
- package/dist/{autoUpdate-BWIPXW2W.js → autoUpdate-DDFTFHRP.js} +3 -3
- package/dist/{backgroundChecks-YJ5NRMBA.js → backgroundChecks-H3TNVYJV.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{beats-Q2TIAA7S.js → beats-HOIQSFFP.js} +6 -6
- package/dist/{benchmark-I3GRHFIN.js → benchmark-ZYOQV7DK.js} +7 -7
- package/dist/billing-5YSYJJ2V.js +142 -0
- package/dist/{browser-F24WMZ52.js → browser-PLFK53IZ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-K5CQPNIZ.js → bundleWithLocalizedFonts-TH5SLG6O.js} +2 -2
- package/dist/{capture-UKWY3SZQ.js → capture-MICLAF6V.js} +13 -13
- package/dist/{capture-HLC6I4RE.js → capture-R77HOGLQ.js} +3 -3
- package/dist/{captureCompositionFrame-YMB3CKSP.js → captureCompositionFrame-WBMFZHEF.js} +4 -4
- package/dist/{catalog-H7SOITD6.js → catalog-CGT32566.js} +6 -6
- package/dist/{catch-up-YRGPVEM6.js → catch-up-TMYPXRKC.js} +5 -5
- package/dist/{check-BPQZZ2MO.js → check-4O5J4OWS.js} +23 -23
- package/dist/{checkAudio-4NRQ3WGS.js → checkAudio-AAVDZFIQ.js} +3 -3
- package/dist/{checkBrowser-S66AHKW3.js → checkBrowser-3OCZBJC7.js} +19 -17
- package/dist/{chunk-BYC4C4YY.js → chunk-2VYAX3ZD.js} +2 -2
- package/dist/{chunk-GIYZMGYT.js → chunk-2VZVMCV6.js} +1 -1
- package/dist/{chunk-322AG75G.js → chunk-33K2UZBX.js} +2 -2
- package/dist/{chunk-5YIZRU2L.js → chunk-37537KOL.js} +4 -4
- package/dist/{chunk-NX2X326Z.js → chunk-4ILKN2MX.js} +8 -8
- package/dist/{chunk-NCP3JQ6S.js → chunk-4J4EGANW.js} +2 -2
- package/dist/{chunk-TZBJEKKU.js → chunk-4YCNVKJX.js} +194 -17
- package/dist/{chunk-2ROPUTCS.js → chunk-6DHC3MVK.js} +2 -2
- package/dist/{chunk-BX2JB24X.js → chunk-6JDNEQV5.js} +1 -1
- package/dist/{chunk-6HO6QKYG.js → chunk-6R2PED3X.js} +6 -6
- package/dist/{chunk-DIKIN4BA.js → chunk-6Y7WZTHJ.js} +54 -38
- package/dist/{chunk-HBHLCMOQ.js → chunk-7ZBMUKHY.js} +2 -2
- package/dist/chunk-AHLDGEH5.js +158 -0
- package/dist/{chunk-6DKWOG7L.js → chunk-BBMMVLA3.js} +1 -1
- package/dist/{chunk-BLBMPEBX.js → chunk-BONBJJ35.js} +1 -0
- package/dist/{chunk-63GTSNMY.js → chunk-CD65TPHT.js} +1 -1
- package/dist/{chunk-HUJMTTKR.js → chunk-CN3Q4CDK.js} +43 -27
- package/dist/{chunk-2Y575PWJ.js → chunk-DI3ZFBZ3.js} +1 -1
- package/dist/{chunk-NNF6G2UH.js → chunk-EL2DMHA5.js} +1 -1
- package/dist/{chunk-B5GWDPUO.js → chunk-EPCVE3OX.js} +2 -2
- package/dist/{chunk-6UZLHLFP.js → chunk-FC4WF2VQ.js} +1 -1
- package/dist/{chunk-4W5X4S47.js → chunk-H7H7XNYY.js} +88 -28
- package/dist/{chunk-JZPUXDQE.js → chunk-HY64QA63.js} +1 -1
- package/dist/{chunk-AH6MUQQC.js → chunk-I4XTKG2B.js} +2 -2
- package/dist/{skills-EBVQSIK4.js → chunk-IMK55N3Z.js} +46 -38
- package/dist/{chunk-VNR7LSN4.js → chunk-IQ5OMRLK.js} +39 -41
- package/dist/{chunk-PPMCILED.js → chunk-JS6ZTPYC.js} +4 -4
- package/dist/{chunk-V74HSKGY.js → chunk-JT2ZGKKB.js} +2 -2
- package/dist/{chunk-2NGBIAUF.js → chunk-KNOIX2U5.js} +220 -177
- package/dist/{chunk-MY4PAH7C.js → chunk-LWFXO732.js} +1 -1
- package/dist/{upgrade-ZUWFB2QM.js → chunk-MZHCA5KY.js} +65 -27
- package/dist/{chunk-EN6MPNZT.js → chunk-NQYW4IYN.js} +2 -2
- package/dist/{chunk-H534266X.js → chunk-OKD2LP73.js} +1 -1
- package/dist/{chunk-A2NFFVWH.js → chunk-OQGA4QBD.js} +18 -6
- package/dist/{chunk-UWYHZCEQ.js → chunk-OQHC5YIB.js} +2 -2
- package/dist/{chunk-BHL4KN3H.js → chunk-PKLZ5PV2.js} +1 -1
- package/dist/{chunk-OYAZODSP.js → chunk-QM4OL5MZ.js} +16 -11
- package/dist/{chunk-BBP5KGYS.js → chunk-SUM3VFPQ.js} +2 -2
- package/dist/{chunk-CNX3WKQ5.js → chunk-T4ELNOK6.js} +1 -1
- package/dist/{chunk-VZ5O7A77.js → chunk-V6HV2IDT.js} +5 -2
- package/dist/{chunk-BXYB5NGT.js → chunk-VWUUNGSV.js} +1 -1
- package/dist/{chunk-CBPBTQBH.js → chunk-WJ7E5J77.js} +11 -10
- package/dist/{chunk-62ATHBDS.js → chunk-YJZYUXHQ.js} +1 -1
- package/dist/{chunk-TJ2USKCK.js → chunk-ZUACTOAB.js} +1 -1
- package/dist/{clean-RCXKQNFM.js → clean-2FWZPS4J.js} +9 -9
- package/dist/cli.js +61 -60
- package/dist/{cloud-TQPQZRC5.js → cloud-2UFI7NLD.js} +4 -4
- package/dist/cloud-Z3FNCC4T.js +1 -1
- package/dist/{compare-EO32AASM.js → compare-HKRLSFTU.js} +15 -15
- package/dist/{compiler-NAIDMQFU.js → compiler-KKIYPREA.js} +1 -1
- package/dist/{component-S3TYNVCR.js → component-F43F3363.js} +3 -3
- package/dist/{compositions-4TXRLZ3M.js → compositions-FFXCISLD.js} +7 -7
- package/dist/{curve-HGLOP2GY.js → curve-RHSJUG5P.js} +5 -5
- package/dist/{cuts-VNFIISLL.js → cuts-KVFY3U6C.js} +5 -5
- package/dist/{delete-TIWI3G7X.js → delete-O7IZKKUN.js} +4 -4
- package/dist/{deploy-EHPNOGSY.js → deploy-PZAAUW75.js} +8 -8
- package/dist/{describeProject-DN6YQU3X.js → describeProject-E44RWBJL.js} +1 -1
- package/dist/{diff-46JK5ZCL.js → diff-OMNILRNN.js} +21 -19
- package/dist/{dist-CCPYPKOC.js → dist-PUHEYGA5.js} +3 -3
- package/dist/{doctor-LD23DW4N.js → doctor-4HZN7ZVI.js} +10 -6
- package/dist/{energy-YZ3DB6AI.js → energy-N3ZIPHTP.js} +5 -5
- package/dist/{events-3OWNDNJX.js → events-56A5D6DK.js} +4 -4
- package/dist/{events-MQIKCKA5.js → events-TUTAERAN.js} +6 -6
- package/dist/{events-DRTMYSQ6.js → events-VAJ4Y6XF.js} +3 -3
- package/dist/{extract-F3NBE3X5.js → extract-NJMZEOLG.js} +6 -6
- package/dist/{face-ZU7ZDYGO.js → face-KLV4W6CP.js} +5 -5
- package/dist/{feedback-37M37Y4F.js → feedback-4VEKGVLN.js} +5 -5
- package/dist/{ffmpeg-PERZ6YHQ.js → ffmpeg-A2O4HSRD.js} +1 -1
- package/dist/{figma-55AG42NN.js → figma-6XDKKOA6.js} +3 -3
- package/dist/fontLocalizeCli.js +3 -3
- package/dist/{frames-DJA3CFSY.js → frames-IAMGMNCA.js} +5 -5
- package/dist/{generate-BVJ5XNWP.js → generate-FMATRA3L.js} +11 -9
- package/dist/{get-PGLCWEBG.js → get-JKA3APWR.js} +4 -4
- package/dist/{gpuPolicy-DUNSQM6M.js → gpuPolicy-TKHFDEH2.js} +2 -2
- package/dist/{grade-compare-R6Q6G6WP.js → grade-compare-TCLCDUG5.js} +14 -14
- package/dist/{heifImagePrep-YNPHFR6W.js → heifImagePrep-L2EY67F2.js} +1 -1
- package/dist/{help-4SNDXHWQ.js → help-TWDOQJDN.js} +3 -2
- package/dist/{history-NKRHKIE2.js → history-SOWVZUAB.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-U4VDKU2Y.js → info-JDINBZLH.js} +6 -6
- package/dist/{init-2RUVBHQO.js → init-ACNL6AFC.js} +15 -15
- package/dist/{ink-TX3USU7X.js → ink-WNEJROFH.js} +5 -5
- package/dist/{inspect-MAGHXEWS.js → inspect-37AMWUW3.js} +15 -15
- package/dist/{keyframes-2TDECIQZ.js → keyframes-LMUFQW4Z.js} +7 -7
- package/dist/{lambda-CRVYDETX.js → lambda-DRGDNEW6.js} +3 -3
- package/dist/{layout-I3VNHWJH.js → layout-E63HPSXW.js} +15 -15
- package/dist/{lint-MCVWXDJX.js → lint-HNZPRCXH.js} +7 -7
- package/dist/{list-FJJNWPM6.js → list-UMR5VN2M.js} +4 -4
- package/dist/{localPage-6MQ6YFER.js → localPage-KIFKMB2B.js} +1 -1
- package/dist/{login-YAZZWYFK.js → login-OXOPCSUY.js} +4 -4
- package/dist/{look-U5UHXPUQ.js → look-DFQJP2LY.js} +5 -5
- package/dist/{manager-ARXEX6OP.js → manager-T633Z2L4.js} +1 -1
- package/dist/{measure-JAPDVQ5X.js → measure-Y2VXF6LJ.js} +11 -11
- package/dist/{media-treatment-A4Z32NGP.js → media-treatment-U2PDH4P3.js} +8 -8
- package/dist/{media-use-6HX7JHRD.js → media-use-KGNGAQQP.js} +2 -1
- package/dist/{models-GMJODMZ5.js → models-HATSG3VK.js} +5 -5
- package/dist/{motionShot-Z63I3GO7.js → motionShot-45M7MSFQ.js} +7 -7
- package/dist/{normalize-audio-45CHOWKY.js → normalize-audio-SOXEVIKM.js} +5 -5
- package/dist/{open-RSTNLDYI.js → open-LRPNBFRW.js} +5 -5
- package/dist/{parakeetRunner-K4EGDDVH.js → parakeetRunner-A7Z6CQOT.js} +1 -1
- package/dist/{pipeline-EKLTELWF.js → pipeline-N3M6VXBC.js} +4 -4
- package/dist/{play-BYIEIRQQ.js → play-HTHDFMOU.js} +10 -10
- package/dist/{preflight-TC6ZW3GB.js → preflight-XZZXHV42.js} +2 -2
- package/dist/{present-5B5VQKT5.js → present-LQ4PJTP4.js} +10 -10
- package/dist/{preview-5O2HT2WF.js → preview-CTEDNFN3.js} +9 -9
- package/dist/{probe-ZGK6DBAR.js → probe-6IZD5TPR.js} +6 -6
- package/dist/{producer-RFTB2APL.js → producer-4CR46ON4.js} +1 -1
- package/dist/{remove-background-LURZDSDJ.js → remove-background-SYHNGASQ.js} +5 -5
- package/dist/{render-ETZ3WAJO.js → render-JHSMAWED.js} +9 -9
- package/dist/{render-7HIEI7QP.js → render-VZLEKSHR.js} +19 -19
- package/dist/{reverse-VPBNBP2Q.js → reverse-SCXEQVRH.js} +1 -1
- package/dist/{run-XER4YJY5.js → run-GRCZ6JO5.js} +2 -2
- package/dist/{sherpa-D6FQ3CHN.js → sherpa-EENLR3RM.js} +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +2 -0
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +2 -0
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +14 -0
- package/dist/skills/media-use/references/heygen.md +2 -2
- package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +3 -0
- package/dist/skills/media-use/scripts/lib/credit-limit.mjs +41 -0
- package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +39 -0
- package/dist/skills/media-use/scripts/lib/heygen-video-provider.mjs +2 -0
- package/dist/skills/media-use/scripts/lib/voice-provider.mjs +2 -0
- package/dist/skills-4TSYBAGW.js +49 -0
- package/dist/{skillsUpdateCheck-7VXK4R4J.js → skillsUpdateCheck-MGXL5VXL.js} +6 -4
- package/dist/{snapshot-PJUNSMDS.js → snapshot-P27Y3NJE.js} +18 -18
- package/dist/{src-RL6YEPTD.js → src-L7UBHHKB.js} +1 -1
- package/dist/{src-SMIMKSHZ.js → src-MWO2XBSA.js} +2 -2
- package/dist/{start-5ZDH643Z.js → start-L5M26YD5.js} +31 -19
- package/dist/{staticProjectServer-BX4RWEY5.js → staticProjectServer-2JYB7RLI.js} +5 -5
- package/dist/{status-4LLUW5YT.js → status-SUK4I7TS.js} +8 -5
- package/dist/studio/assets/{hyperframes-player-CcNGHTev.js → hyperframes-player-BbRz52ui.js} +1 -1
- package/dist/studio/assets/{index-D9uDed3x.js → index-CCSgOq2L.js} +1 -1
- package/dist/studio/assets/{index-DSRgrCDX.js → index-D3y5mWmH.js} +22 -22
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-PEUXVD7P.js → studio-api-MEZKFJBY.js} +3 -3
- package/dist/{studioServer-2WIQBEQC.js → studioServer-J5RPUMHP.js} +25 -25
- package/dist/{sync-P3O3WZWT.js → sync-FHT2CHKU.js} +5 -5
- package/dist/{telemetry-267LV4SC.js → telemetry-JWEOBK3Q.js} +4 -4
- package/dist/{telemetry-T73TKZOL.js → telemetry-WGNNQUSF.js} +1 -1
- package/dist/{templates-MQ742KVZ.js → templates-7DIQ52Y4.js} +40 -11
- package/dist/{timeline-WP7AZAQC.js → timeline-ZO3PNIET.js} +9 -9
- package/dist/{tokens-ROFKR7AE.js → tokens-X6OTCQCV.js} +2 -2
- package/dist/{transcribe-WS2STSCJ.js → transcribe-KNO3BK5S.js} +9 -9
- package/dist/{transcribe-N66QUYCS.js → transcribe-QIZGXMR5.js} +1 -1
- package/dist/{tts-HIQMJU6O.js → tts-JHGGL7GL.js} +1 -1
- package/dist/update-WXGSPMEG.js +280 -0
- package/dist/{updateCheck-M2SMSDIO.js → updateCheck-OBYSCTWV.js} +7 -3
- package/dist/upgrade-YCCIVSI6.js +40 -0
- package/dist/{urlDownloader-YNI3Y3IE.js → urlDownloader-FOXK4FYP.js} +1 -1
- package/dist/{validate-M2M37G47.js → validate-TDVQ2B6Y.js} +13 -13
- package/dist/{video-2OEOTSPQ.js → video-AVEGMBDM.js} +1 -1
- package/dist/voices-2LIY4CYK.js +97 -0
- package/dist/warmCheck.js +23 -23
- package/package.json +1 -1
- package/dist/billing-W224NIAM.js +0 -96
- package/dist/chunk-ASGRVFQ3.js +0 -59
- package/dist/{chunk-QUBVGS27.js → chunk-LNTUFRZD.js} +3 -3
- package/dist/{destroy-C5GQLZVZ.js → destroy-IQLGADZM.js} +4 -4
- package/dist/{synthesize-YK3WLOEQ.js → synthesize-YYT7UON6.js} +5 -5
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
defineCommand
|
|
17
17
|
} from "./chunk-DL4OD7IA.js";
|
|
18
|
-
import "./chunk-S3S4TGEH.js";
|
|
19
18
|
import {
|
|
20
19
|
c
|
|
21
20
|
} from "./chunk-2GICKZ3I.js";
|
|
22
21
|
import {
|
|
22
|
+
NO_UPDATE_NOTICE,
|
|
23
23
|
checkForUpdate,
|
|
24
24
|
detectInstaller,
|
|
25
25
|
installInvocation,
|
|
@@ -27,31 +27,21 @@ import {
|
|
|
27
27
|
rewritePinnedHyperframesText,
|
|
28
28
|
rewriteProjectPinnedScripts,
|
|
29
29
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-BR2JQQC5.js";
|
|
32
|
-
import "./chunk-BLBMPEBX.js";
|
|
33
|
-
import "./chunk-ISN5GRYI.js";
|
|
34
|
-
import "./chunk-ADVVQX4I.js";
|
|
30
|
+
} from "./chunk-4YCNVKJX.js";
|
|
35
31
|
import {
|
|
36
32
|
setCommandExitCode
|
|
37
33
|
} from "./chunk-66W5IWLO.js";
|
|
38
34
|
import {
|
|
39
35
|
isUnattended
|
|
40
36
|
} from "./chunk-J3RXEDR2.js";
|
|
41
|
-
import "./chunk-QBXDU24O.js";
|
|
42
37
|
import {
|
|
43
38
|
VERSION
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-E63BDV4Z.js";
|
|
46
|
-
import "./chunk-G7VEYUZ2.js";
|
|
47
|
-
import "./chunk-XT6MXC7A.js";
|
|
48
|
-
import "./chunk-7KDQAD2W.js";
|
|
49
|
-
import "./chunk-M2WBOQ2Q.js";
|
|
39
|
+
} from "./chunk-I4XTKG2B.js";
|
|
50
40
|
|
|
51
41
|
// src/commands/upgrade.ts
|
|
52
42
|
import { execFileSync } from "child_process";
|
|
53
43
|
import { existsSync, readFileSync, writeFileSync, renameSync, readdirSync } from "fs";
|
|
54
|
-
import { resolve } from "path";
|
|
44
|
+
import { join, resolve } from "path";
|
|
55
45
|
var examples = [
|
|
56
46
|
["Check for updates interactively", "hyperframes upgrade"],
|
|
57
47
|
["Check for updates without prompting", "hyperframes upgrade --check"],
|
|
@@ -77,7 +67,7 @@ var upgrade_default = defineCommand({
|
|
|
77
67
|
const p = resolveProjectArgs(args.project, { check: checkOnly, json: useJson });
|
|
78
68
|
const res = await upgradeProjectPins(resolve(p.dir), { json: p.json, check: p.check });
|
|
79
69
|
if (p.json) {
|
|
80
|
-
console.log(JSON.stringify(withMeta(res), null, 2));
|
|
70
|
+
console.log(JSON.stringify(withMeta(res, NO_UPDATE_NOTICE), null, 2));
|
|
81
71
|
return;
|
|
82
72
|
}
|
|
83
73
|
printProjectPinResult(res, p.check);
|
|
@@ -85,7 +75,7 @@ var upgrade_default = defineCommand({
|
|
|
85
75
|
}
|
|
86
76
|
if (useJson) {
|
|
87
77
|
const result2 = await checkForUpdate(true);
|
|
88
|
-
console.log(JSON.stringify(withMeta(result2), null, 2));
|
|
78
|
+
console.log(JSON.stringify(withMeta(result2, NO_UPDATE_NOTICE), null, 2));
|
|
89
79
|
return;
|
|
90
80
|
}
|
|
91
81
|
const autoYes = args.yes === true;
|
|
@@ -130,19 +120,65 @@ function applyUpgrade(result, autoYes) {
|
|
|
130
120
|
setCommandExitCode(1);
|
|
131
121
|
return;
|
|
132
122
|
}
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
const npxFallback = `npx hyperframes@${result.latest}`;
|
|
137
|
-
if (!invocation || !displayCmd) {
|
|
138
|
-
printNpxFallback(installer.reason, npxFallback, autoYes);
|
|
123
|
+
const plan = upgradePlan(result.latest);
|
|
124
|
+
if ("manual" in plan) {
|
|
125
|
+
printNpxFallback(plan.reason, plan.manual, autoYes);
|
|
139
126
|
return;
|
|
140
127
|
}
|
|
141
128
|
if (!autoYes) {
|
|
142
|
-
printManualCommands(displayCmd,
|
|
129
|
+
printManualCommands(plan.displayCmd, `npx hyperframes@${result.latest}`);
|
|
143
130
|
return;
|
|
144
131
|
}
|
|
145
|
-
runDetectedInstall(invocation, displayCmd, result.latest);
|
|
132
|
+
runDetectedInstall(plan.invocation, plan.displayCmd, result.latest);
|
|
133
|
+
}
|
|
134
|
+
var NPX_LATEST = "npx hyperframes@latest";
|
|
135
|
+
function upgradePlan(latest) {
|
|
136
|
+
const installer = detectInstaller();
|
|
137
|
+
const invocation = installInvocation(installer.kind, latest);
|
|
138
|
+
const displayCmd = installer.installCommand(latest);
|
|
139
|
+
if (!invocation || !displayCmd) return { manual: NPX_LATEST, reason: installer.reason };
|
|
140
|
+
return { invocation, displayCmd, pinsVersion: installer.kind !== "brew" };
|
|
141
|
+
}
|
|
142
|
+
function brewInstalledVersion() {
|
|
143
|
+
try {
|
|
144
|
+
const prefix = execFileSync("brew", ["--prefix", "hyperframes"], {
|
|
145
|
+
encoding: "utf8",
|
|
146
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
147
|
+
shell: false
|
|
148
|
+
}).trim();
|
|
149
|
+
const version = execFileSync(join(prefix, "bin", "hyperframes"), ["--version"], {
|
|
150
|
+
encoding: "utf8",
|
|
151
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
152
|
+
shell: false,
|
|
153
|
+
env: { ...process.env, HYPERFRAMES_NO_UPDATE_CHECK: "1", HYPERFRAMES_NO_TELEMETRY: "1" }
|
|
154
|
+
}).trim();
|
|
155
|
+
return isSafeVersion(version) ? version : null;
|
|
156
|
+
} catch {
|
|
157
|
+
return null;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function upgradeRunningCli(latest) {
|
|
161
|
+
if (!isSafeVersion(latest)) return { status: "failed", command: NPX_LATEST };
|
|
162
|
+
const plan = upgradePlan(latest);
|
|
163
|
+
if ("manual" in plan) return { status: "manual", command: plan.manual, reason: plan.reason };
|
|
164
|
+
try {
|
|
165
|
+
execFileSync(plan.invocation.bin, plan.invocation.args, {
|
|
166
|
+
stdio: ["inherit", 2, 2],
|
|
167
|
+
shell: false
|
|
168
|
+
});
|
|
169
|
+
} catch {
|
|
170
|
+
return { status: "failed", command: plan.displayCmd };
|
|
171
|
+
}
|
|
172
|
+
const installed = plan.pinsVersion ? latest : brewInstalledVersion();
|
|
173
|
+
const command = plan.displayCmd;
|
|
174
|
+
if (installed === null) {
|
|
175
|
+
return { status: "unverified", command, reason: "the installed version could not be read" };
|
|
176
|
+
}
|
|
177
|
+
if (installed === VERSION) {
|
|
178
|
+
const reason = `${command} left ${installed} in place; npm has ${latest}`;
|
|
179
|
+
return { status: "unchanged", version: installed, command, reason };
|
|
180
|
+
}
|
|
181
|
+
return { status: "upgraded", version: installed, command };
|
|
146
182
|
}
|
|
147
183
|
function printNpxFallback(reason, npxFallback, autoYes) {
|
|
148
184
|
console.log();
|
|
@@ -237,10 +273,12 @@ function runDetectedInstall(invocation, displayCmd, version) {
|
|
|
237
273
|
setCommandExitCode(1);
|
|
238
274
|
}
|
|
239
275
|
}
|
|
276
|
+
|
|
240
277
|
export {
|
|
241
|
-
upgrade_default as default,
|
|
242
278
|
examples,
|
|
279
|
+
upgrade_default,
|
|
280
|
+
upgradeRunningCli,
|
|
243
281
|
resolveProjectArgs,
|
|
244
|
-
|
|
245
|
-
|
|
282
|
+
upgradeProjectPins,
|
|
283
|
+
runDetectedInstall
|
|
246
284
|
};
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-AVNF52HR.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PKLZ5PV2.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-L7UBHHKB.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-J3OVTOVC.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V6HV2IDT.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -40,15 +40,18 @@ import {
|
|
|
40
40
|
} from "./chunk-FBN2M2HK.js";
|
|
41
41
|
import {
|
|
42
42
|
getUpdateMeta,
|
|
43
|
+
installChannelLabel,
|
|
44
|
+
runningInstall,
|
|
45
|
+
updateCommandFor,
|
|
43
46
|
withMeta
|
|
44
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-4YCNVKJX.js";
|
|
45
48
|
import {
|
|
46
49
|
CONFIG_PATH,
|
|
47
50
|
withFileLock
|
|
48
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BONBJJ35.js";
|
|
49
52
|
import {
|
|
50
53
|
VERSION
|
|
51
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-I4XTKG2B.js";
|
|
52
55
|
import {
|
|
53
56
|
normalizeErrorMessage
|
|
54
57
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -99,11 +102,17 @@ function checkVersion() {
|
|
|
99
102
|
return {
|
|
100
103
|
ok: false,
|
|
101
104
|
detail: `${VERSION} \u2192 ${meta.latestVersion} available`,
|
|
102
|
-
hint:
|
|
105
|
+
hint: `Run: ${updateCommandFor(runningInstall(), meta.latestVersion)}`
|
|
103
106
|
};
|
|
104
107
|
}
|
|
108
|
+
if (!meta.latestVersion) return { ok: true, detail: `${VERSION} (not checked yet)` };
|
|
105
109
|
return { ok: true, detail: `${VERSION} (latest)` };
|
|
106
110
|
}
|
|
111
|
+
function checkInstall() {
|
|
112
|
+
const install = runningInstall();
|
|
113
|
+
const where = install.path ?? "entry path unknown";
|
|
114
|
+
return { ok: true, detail: `${installChannelLabel(install.channel)} \xB7 ${where}` };
|
|
115
|
+
}
|
|
107
116
|
function checkNode() {
|
|
108
117
|
return { ok: true, detail: `${process.version} (${process.platform} ${process.arch})` };
|
|
109
118
|
}
|
|
@@ -240,7 +249,7 @@ function checkEnvironment() {
|
|
|
240
249
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
241
250
|
}
|
|
242
251
|
async function checkWhisper() {
|
|
243
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
252
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-T633Z2L4.js");
|
|
244
253
|
const result = findWhisper();
|
|
245
254
|
if (result) {
|
|
246
255
|
return { ok: true, detail: result.executablePath };
|
|
@@ -309,6 +318,7 @@ var doctor_default = defineCommand({
|
|
|
309
318
|
const environment = await runEnvironmentChecks({ includeBrowser: true });
|
|
310
319
|
const checks = [
|
|
311
320
|
{ name: "Version", run: checkVersion },
|
|
321
|
+
{ name: "CLI binary", run: checkInstall },
|
|
312
322
|
{ name: "Node.js", run: checkNode },
|
|
313
323
|
{ name: "CPU", run: checkCPU },
|
|
314
324
|
{ name: "Memory", run: checkMemory },
|
|
@@ -389,6 +399,8 @@ export {
|
|
|
389
399
|
examples,
|
|
390
400
|
TESTED_FFMPEG_VERSION,
|
|
391
401
|
ffmpegDoctorDetail,
|
|
402
|
+
checkVersion,
|
|
403
|
+
checkInstall,
|
|
392
404
|
checkFramesCache,
|
|
393
405
|
checkArchiveExtractor,
|
|
394
406
|
checkSettingsLock,
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZUACTOAB.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-WVRAFHJU.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-KKIYPREA.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FC4WF2VQ.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4ILKN2MX.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WJ7E5J77.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2VYAX3ZD.js";
|
|
19
19
|
import {
|
|
20
20
|
AUDIT_SEEK_OPTIONS,
|
|
21
21
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
seekCompositionTimeline,
|
|
30
30
|
seekInPage,
|
|
31
31
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6R2PED3X.js";
|
|
33
33
|
import {
|
|
34
34
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
35
35
|
} from "./chunk-YGGZ23BB.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
41
41
|
STUDIO_PREVIEW_MARK_META
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4J4EGANW.js";
|
|
43
43
|
import {
|
|
44
44
|
artifactDirectory,
|
|
45
45
|
finishSnapshotRun
|
|
@@ -60,7 +60,10 @@ import {
|
|
|
60
60
|
BrowserCleanupError,
|
|
61
61
|
closeManagedBrowser,
|
|
62
62
|
onStopSignal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-PKLZ5PV2.js";
|
|
64
|
+
import {
|
|
65
|
+
DEFAULT_CONFIG
|
|
66
|
+
} from "./chunk-N6FGHJ7X.js";
|
|
64
67
|
import {
|
|
65
68
|
injectTagsAtHeadStart
|
|
66
69
|
} from "./chunk-Y3ICFPFK.js";
|
|
@@ -459,6 +462,7 @@ function rectToBbox(rect) {
|
|
|
459
462
|
}
|
|
460
463
|
|
|
461
464
|
// src/utils/checkBrowser.ts
|
|
465
|
+
var RENDER_READY_WARNING_SUFFIX = `the scene may still be building, so results can miss late content; raise --timeout (for example ${DEFAULT_CONFIG.playerReadyTimeout * 2 / 1e3}s)`;
|
|
462
466
|
var COPY_HEARTBEAT_MS = 1e4;
|
|
463
467
|
function elapsedText(ms) {
|
|
464
468
|
const seconds = Math.round(ms / 1e3);
|
|
@@ -582,7 +586,7 @@ function proxyFailedDraft(message) {
|
|
|
582
586
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
583
587
|
}
|
|
584
588
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
585
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
589
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-TH5SLG6O.js");
|
|
586
590
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
587
591
|
}
|
|
588
592
|
function withCapturePreviewMark(html) {
|
|
@@ -621,7 +625,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
621
625
|
const session = await openSettledCompositionPage(html, server.url, {
|
|
622
626
|
navigationTimeoutMs: options.timeout,
|
|
623
627
|
renderReadyTimeoutMs: options.timeout,
|
|
624
|
-
renderReadyWarningSuffix:
|
|
628
|
+
renderReadyWarningSuffix: RENDER_READY_WARNING_SUFFIX,
|
|
625
629
|
prelaunched,
|
|
626
630
|
browserGpuMode: options.browserGpuMode ?? resolveCliChromeGpuMode(),
|
|
627
631
|
signal: deadline?.signal,
|
|
@@ -644,7 +648,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
644
648
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
645
649
|
}));
|
|
646
650
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
647
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
651
|
+
const { analyzeClipMediaFit } = await import("./src-L7UBHHKB.js");
|
|
648
652
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
649
653
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
650
654
|
}
|
|
@@ -736,7 +740,7 @@ async function openHelperSession(html, url, options, deadline, owner) {
|
|
|
736
740
|
const session = await openSettledCompositionPage(html, url, {
|
|
737
741
|
navigationTimeoutMs: options.timeout,
|
|
738
742
|
renderReadyTimeoutMs: options.timeout,
|
|
739
|
-
renderReadyWarningSuffix:
|
|
743
|
+
renderReadyWarningSuffix: RENDER_READY_WARNING_SUFFIX,
|
|
740
744
|
browserGpuMode: options.browserGpuMode ?? resolveCliChromeGpuMode(),
|
|
741
745
|
signal: owner.signal,
|
|
742
746
|
onBrowser: owner.onBrowser,
|
|
@@ -785,7 +789,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
785
789
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
786
790
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
787
791
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
788
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
792
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-TH5SLG6O.js");
|
|
789
793
|
return withCapturePreviewMark(
|
|
790
794
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
791
795
|
);
|
|
@@ -2090,6 +2094,7 @@ export {
|
|
|
2090
2094
|
checkSnapshotDirectory,
|
|
2091
2095
|
finishCheckSnapshots,
|
|
2092
2096
|
rectToBbox,
|
|
2097
|
+
RENDER_READY_WARNING_SUFFIX,
|
|
2093
2098
|
preResolveHostileMediaProxies,
|
|
2094
2099
|
runBrowserCheck,
|
|
2095
2100
|
samplingBrowserCount,
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6DHC3MVK.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JT2ZGKKB.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -621,7 +621,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
621
621
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
622
622
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
623
623
|
if (!sourceAssets) return;
|
|
624
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
624
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-MWO2XBSA.js")).prepareAnimatedGifInputs;
|
|
625
625
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
626
626
|
ctx.tempFiles.push(outputDir);
|
|
627
627
|
const result = await prep(html, {
|
|
@@ -87,8 +87,11 @@ async function readToolVersion(binaryPath, signal) {
|
|
|
87
87
|
};
|
|
88
88
|
} catch (error) {
|
|
89
89
|
if (signal?.aborted) signal.throwIfAborted();
|
|
90
|
-
const
|
|
91
|
-
const
|
|
90
|
+
const field = (name) => typeof error === "object" && error !== null && name in error ? error[name] : void 0;
|
|
91
|
+
const status = field("status");
|
|
92
|
+
const code = field("code");
|
|
93
|
+
const killedBy = field("signal");
|
|
94
|
+
const exitDetail = typeof status === "number" ? ` (exit code ${status})` : typeof code === "string" ? ` (${code})` : typeof killedBy === "string" ? ` (signal ${killedBy})` : "";
|
|
92
95
|
return {
|
|
93
96
|
ok: false,
|
|
94
97
|
detail: `Failed to run "${binaryPath}" -version${exitDetail}.`
|
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BBMMVLA3.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6R2PED3X.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
18
|
} from "./chunk-E2YXF2EP.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PKLZ5PV2.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4YCNVKJX.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -61,7 +61,7 @@ var __dirname = dirname(__filename);
|
|
|
61
61
|
var CONTRAST_SAMPLES = 5;
|
|
62
62
|
var SEEK_SETTLE_MS = 150;
|
|
63
63
|
var PREFERRED_SEEK_TARGET_WAIT_MS = 500;
|
|
64
|
-
var MEDIA_EXTENSIONS = /\.(aac|flac|m4a|mov|mp3|mp4|oga|ogg|wav|webm)$/i;
|
|
64
|
+
var MEDIA_EXTENSIONS = /\.(3gp|aac|aif|aiff|avi|flac|flv|m2ts|m4a|m4v|mkv|mov|mp3|mp4|mpeg|mpg|mts|mxf|oga|ogg|ogv|opus|wav|weba|webm|wma|wmv)$/i;
|
|
65
65
|
function navigationTimeoutHint(err, navTimeoutMs) {
|
|
66
66
|
const msg = err instanceof Error ? err.message : String(err);
|
|
67
67
|
if (!/navigation timeout/i.test(msg)) return null;
|
|
@@ -73,6 +73,7 @@ function shouldIgnoreRequestFailure(url, errorText, resourceType) {
|
|
|
73
73
|
if (errorText === "net::ERR_ABORTED" && isOptionalCaptionOverridesRequest(url)) return true;
|
|
74
74
|
if (errorText !== "net::ERR_ABORTED") return false;
|
|
75
75
|
if (resourceType === "media") return true;
|
|
76
|
+
if (resourceType === "image") return false;
|
|
76
77
|
try {
|
|
77
78
|
return MEDIA_EXTENSIONS.test(new URL(url).pathname);
|
|
78
79
|
} catch {
|
|
@@ -252,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
253
|
async function localizeRemoteAssets(html) {
|
|
253
254
|
let dir;
|
|
254
255
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
256
|
+
const { loadProducer } = await import("./producer-4CR46ON4.js");
|
|
256
257
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
258
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
259
|
const assetDir = dir;
|
|
@@ -273,9 +274,9 @@ async function localizeRemoteAssets(html) {
|
|
|
273
274
|
}
|
|
274
275
|
async function validateInBrowser(project, opts) {
|
|
275
276
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
277
|
+
const { bundleToSingleHtml } = await import("./compiler-KKIYPREA.js");
|
|
277
278
|
const { ensureBrowser } = await import("./manager-SAXHANEY.js");
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-2JYB7RLI.js");
|
|
279
280
|
const { lintProject } = await import("./lintProject-EV3EEBY3.js");
|
|
280
281
|
const lintResult = await lintProject(projectDir);
|
|
281
282
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
@@ -297,9 +298,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
298
|
try {
|
|
298
299
|
const browser = await ensureBrowser();
|
|
299
300
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
301
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-L7UBHHKB.js");
|
|
301
302
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
303
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-TKHFDEH2.js");
|
|
303
304
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
305
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
306
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -6,18 +6,18 @@ 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-OQGA4QBD.js";
|
|
10
10
|
import "./chunk-SHOE3UR6.js";
|
|
11
11
|
import "./chunk-J3OVTOVC.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-V6HV2IDT.js";
|
|
13
13
|
import "./chunk-5UT3R43E.js";
|
|
14
14
|
import "./chunk-6BEFEWFB.js";
|
|
15
15
|
import "./chunk-AVNF52HR.js";
|
|
16
16
|
import {
|
|
17
17
|
loadProducer
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-ZUACTOAB.js";
|
|
19
|
+
import "./chunk-4J4EGANW.js";
|
|
20
|
+
import "./chunk-HY64QA63.js";
|
|
21
21
|
import "./chunk-AW3XJY4S.js";
|
|
22
22
|
import "./chunk-CPMTEWQM.js";
|
|
23
23
|
import {
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
import "./chunk-Z5J67X44.js";
|
|
57
57
|
import "./chunk-5S7W3TUO.js";
|
|
58
58
|
import "./chunk-D3MUHMFG.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-JS6ZTPYC.js";
|
|
60
60
|
import "./chunk-YWRUQ7XZ.js";
|
|
61
61
|
import "./chunk-W5AUD5OL.js";
|
|
62
62
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -89,9 +89,9 @@ import "./chunk-FBN2M2HK.js";
|
|
|
89
89
|
import "./chunk-766MOTIZ.js";
|
|
90
90
|
import {
|
|
91
91
|
withMeta
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-4YCNVKJX.js";
|
|
93
93
|
import "./chunk-BR2JQQC5.js";
|
|
94
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-BONBJJ35.js";
|
|
95
95
|
import "./chunk-ISN5GRYI.js";
|
|
96
96
|
import "./chunk-ADVVQX4I.js";
|
|
97
97
|
import {
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
} from "./chunk-66W5IWLO.js";
|
|
100
100
|
import "./chunk-J3RXEDR2.js";
|
|
101
101
|
import "./chunk-QBXDU24O.js";
|
|
102
|
-
import "./chunk-
|
|
102
|
+
import "./chunk-I4XTKG2B.js";
|
|
103
103
|
import "./chunk-E63BDV4Z.js";
|
|
104
104
|
import "./chunk-G7VEYUZ2.js";
|
|
105
105
|
import "./chunk-XT6MXC7A.js";
|