hyperframes 0.8.217 → 0.8.220
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-AXTSRFNT.js → add-7BJGQPZT.js} +12 -12
- package/dist/{agentPromptGenerator-52346WSZ.js → agentPromptGenerator-NFN3AYLJ.js} +7 -7
- package/dist/{animatedGifPrep-WZHO7ZUA.js → animatedGifPrep-HC45HF7H.js} +7 -7
- package/dist/api.js +18 -18
- package/dist/{asset-T2CE34TV.js → asset-TSP3CMU4.js} +2 -2
- package/dist/{assetCataloger-2KABZLU3.js → assetCataloger-KIN2UKI7.js} +8 -8
- package/dist/{audio-6I2AK3TZ.js → audio-NEJOZZXG.js} +17 -17
- package/dist/{auth-B3LLOMAG.js → auth-7EEBDTBK.js} +8 -7
- package/dist/{autoUpdate-TTY4BTMM.js → autoUpdate-67ZMQDED.js} +2 -2
- package/dist/{backgroundChecks-WKW5CTCV.js → backgroundChecks-YN424YG5.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ESAPNTE3.js → batchRender-I2GRQUPY.js} +3 -3
- package/dist/{beats-5WAAC5HT.js → beats-VVY6JZEU.js} +11 -11
- package/dist/{benchmark-KFYDNWZ7.js → benchmark-BJJVW6RH.js} +9 -9
- package/dist/{browser-LK4FYQXO.js → browser-IOP3IU24.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-NRY45OIW.js → bundleWithLocalizedFonts-TLEZEZXN.js} +2 -2
- package/dist/{capture-DXRZI2WW.js → capture-4Z3KBJNP.js} +13 -13
- package/dist/{capture-SCXKM2WO.js → capture-HVIWNBQA.js} +3 -3
- package/dist/{captureCompositionFrame-NDQEZBHR.js → captureCompositionFrame-J3OOHGC2.js} +12 -12
- package/dist/{catalog-7WRGMHVI.js → catalog-G65QCBXG.js} +12 -12
- package/dist/{catch-up-6QEJHTFF.js → catch-up-VHTDAQYM.js} +5 -5
- package/dist/{check-HNONMHQD.js → check-W7TCUAXY.js} +38 -38
- package/dist/{checkAudio-OLNSZWWX.js → checkAudio-AV7R24FD.js} +11 -11
- package/dist/{checkBrowser-L2L2EEJD.js → checkBrowser-QTMNRNPF.js} +32 -32
- package/dist/{chunk-6YGTOBXW.js → chunk-22U7OCYM.js} +1 -1
- package/dist/{chunk-UZPWLXO6.js → chunk-2L645DAG.js} +1 -1
- package/dist/{chunk-XN22HGE7.js → chunk-2MDFNL2E.js} +1 -1
- package/dist/{chunk-4I7KQWZS.js → chunk-2Q7XV4F6.js} +1 -1
- package/dist/{chunk-UGQFQDSV.js → chunk-35JKCWYI.js} +1 -1
- package/dist/{chunk-5SZ2HRCW.js → chunk-3F6EGZ6C.js} +2 -2
- package/dist/{chunk-KH5XMMSM.js → chunk-5RGVBSDS.js} +2 -2
- package/dist/{chunk-4JHZBIBW.js → chunk-5XOOBNU2.js} +1 -1
- package/dist/{chunk-K2666FKT.js → chunk-6A7DOGSP.js} +1 -1
- package/dist/{chunk-62ER6HGC.js → chunk-6CWSMSOC.js} +3 -3
- package/dist/{chunk-VS7G457O.js → chunk-6MHKL2TB.js} +1 -1
- package/dist/{chunk-BRYOYBO5.js → chunk-6OXVMHTB.js} +1 -1
- package/dist/{chunk-OQRO2MEK.js → chunk-6YIBMA6Y.js} +5 -5
- package/dist/{chunk-ST5EBZTO.js → chunk-A32ZEFZT.js} +9 -3
- package/dist/{chunk-HPRR3WD7.js → chunk-AGFHQTZD.js} +17 -13
- package/dist/{chunk-W2LKSBX5.js → chunk-ARZGHKST.js} +24 -17
- package/dist/{chunk-LJB2PF6K.js → chunk-AUGHXWJC.js} +1 -1
- package/dist/{chunk-YQY4KVP4.js → chunk-BASBBBNB.js} +1 -1
- package/dist/{chunk-VAS6HQX3.js → chunk-BIROA7JM.js} +32 -3
- package/dist/{chunk-64TWYU4M.js → chunk-CIUEQLWL.js} +7 -7
- package/dist/{chunk-WGHUHNXI.js → chunk-CMI2POHT.js} +9 -9
- package/dist/{chunk-YATFRFNH.js → chunk-D5TOH3QI.js} +1 -1
- package/dist/{chunk-AU7VGKCP.js → chunk-DA6GOIIA.js} +1 -1
- package/dist/{chunk-CH4RRRGC.js → chunk-DB6OJRZB.js} +5 -5
- package/dist/{chunk-42K4JLQO.js → chunk-DBT7CRK4.js} +1 -1
- package/dist/{chunk-JY27IRDR.js → chunk-DEXGPHAZ.js} +1 -1
- package/dist/{chunk-VTLIN7XN.js → chunk-DJWAL7AW.js} +2 -2
- package/dist/{chunk-DOZGTBDV.js → chunk-EUZYVUUS.js} +2 -2
- package/dist/{chunk-OV6MUGZI.js → chunk-FGGZKCOT.js} +2 -2
- package/dist/{chunk-NWD2KKM5.js → chunk-FK5TW3IM.js} +1 -1
- package/dist/{chunk-QRIC4WOO.js → chunk-FKPJP7KG.js} +11 -5
- package/dist/{chunk-3MUFCWGK.js → chunk-IMVM6E65.js} +3 -3
- package/dist/{chunk-PNBH4ZY7.js → chunk-IZBJZBBF.js} +2 -2
- package/dist/{chunk-5ETJX6WM.js → chunk-J3OVTOVC.js} +18 -14
- package/dist/{chunk-7VZEOCUY.js → chunk-J74ZUXVU.js} +1 -1
- package/dist/{chunk-3YCAGPZK.js → chunk-JIGD5ZXE.js} +21 -21
- package/dist/{chunk-KLGJ2R4V.js → chunk-K7APBNPW.js} +2 -2
- package/dist/{chunk-2Q4CL6AB.js → chunk-KGM6VQ6D.js} +5 -2
- package/dist/{chunk-K5GGTJJV.js → chunk-KJ2ORDQZ.js} +1 -1
- package/dist/{chunk-WKNWKORX.js → chunk-LZPNAI7P.js} +3 -3
- package/dist/{chunk-UVXIJYZY.js → chunk-MESSJFK3.js} +249 -298
- package/dist/{chunk-JF3RF6GS.js → chunk-MHZB6QSC.js} +1 -1
- package/dist/{chunk-5XDKFCEI.js → chunk-MS2SDIPC.js} +9 -9
- package/dist/{chunk-QY7RG6K3.js → chunk-NEVX7YHH.js} +1 -1
- package/dist/{chunk-CBCZBHGK.js → chunk-NHXGFQWQ.js} +2 -2
- package/dist/{chunk-DEWCAOOL.js → chunk-NKNKRN7G.js} +2 -2
- package/dist/{chunk-P42DLWIY.js → chunk-NQP44XMF.js} +3 -3
- package/dist/{chunk-GHWV6PIS.js → chunk-NSJPSQZ3.js} +1 -1
- package/dist/{chunk-RYBFHEMZ.js → chunk-NSKIGECI.js} +1 -1
- package/dist/{chunk-R7EB4M5P.js → chunk-NYSB3CWY.js} +10 -10
- package/dist/{chunk-ESZ6YPQM.js → chunk-O332YWQV.js} +2 -2
- package/dist/{chunk-H47FQDFU.js → chunk-OURH3TLX.js} +1 -1
- package/dist/{chunk-URKDBFZV.js → chunk-P3XF3ZZF.js} +3 -3
- package/dist/{chunk-G35NVFZF.js → chunk-PCKWLYKA.js} +4 -4
- package/dist/{chunk-LPJMACTI.js → chunk-PIKANFFV.js} +4 -4
- package/dist/{chunk-O44FYXH5.js → chunk-RECS6EGQ.js} +3 -3
- package/dist/{chunk-3C6O5HV2.js → chunk-RF5LOY22.js} +14 -14
- package/dist/{chunk-RLT45AWC.js → chunk-RHEQ7RXZ.js} +1 -1
- package/dist/{chunk-TCVI4ZGS.js → chunk-RIG7XBHW.js} +1 -1
- package/dist/{chunk-5CXGDO74.js → chunk-RIYARQ2O.js} +2 -2
- package/dist/{chunk-2JUNPJUM.js → chunk-RK3LW7NO.js} +2 -2
- package/dist/{chunk-Z27A7NUB.js → chunk-SHOE3UR6.js} +1 -1
- package/dist/{chunk-UWV753SJ.js → chunk-SUQ77SEY.js} +1 -1
- package/dist/{chunk-L4BRJVGC.js → chunk-SW5XTDRD.js} +7 -7
- package/dist/{chunk-EAUUGY4R.js → chunk-TQ3W64VT.js} +3 -3
- package/dist/{chunk-5HGUY24Y.js → chunk-UOIVSNPI.js} +1 -1
- package/dist/{chunk-Z3HHAFEP.js → chunk-VJGQLC2A.js} +7 -7
- package/dist/chunk-VLA6UJGH.js +139 -0
- package/dist/{chunk-V4AS2BNU.js → chunk-VZVRF3JX.js} +3 -3
- package/dist/{chunk-MK4R3APQ.js → chunk-WQYLRTVT.js} +2 -2
- package/dist/{chunk-JMGMOK4Z.js → chunk-X2YBRPCM.js} +13 -6
- package/dist/{chunk-MGZKDR6R.js → chunk-XPV5K5MD.js} +1 -1
- package/dist/{chunk-TDNZIFJ2.js → chunk-YMKTEQIA.js} +48 -15
- package/dist/{chunk-PPMLF76Z.js → chunk-YSTBSLWY.js} +1 -1
- package/dist/{chunk-UQSBVZ3H.js → chunk-ZS5PARPI.js} +8 -5
- package/dist/{clean-2CK4S5ES.js → clean-AYZ2RAMN.js} +20 -20
- package/dist/cli.js +55 -55
- package/dist/{cloud-QRSJMVGW.js → cloud-A53ZNOO6.js} +4 -4
- package/dist/{cloudrun-5XEDIP77.js → cloudrun-USB736UD.js} +4 -4
- package/dist/commands/layout-audit.browser.js +49 -1
- package/dist/{compare-ASV5QBD2.js → compare-42CWJXBR.js} +29 -29
- package/dist/{compiler-CG2EXM75.js → compiler-SV2WYWTI.js} +4 -4
- package/dist/{component-24XLTKUQ.js → component-7JC7NQGM.js} +3 -3
- package/dist/{compositions-AN7ETEKG.js → compositions-6F6743GP.js} +12 -12
- package/dist/{delete-OMKQ3XTL.js → delete-7TRRZI5M.js} +6 -6
- package/dist/{deploy-3M6QRT2H.js → deploy-6SSC2FBD.js} +1 -1
- package/dist/{dist-VNOJCTQR.js → dist-KP2GVAQU.js} +2 -2
- package/dist/{dist-KXFW5H5Q.js → dist-XXBCSQYF.js} +2 -2
- package/dist/{doctor-ABYFP2LY.js → doctor-XEG3GZAA.js} +14 -14
- package/dist/{events-P5AFL2VZ.js → events-33HQE43K.js} +4 -4
- package/dist/{events-64QVWKTU.js → events-I7F24HFX.js} +3 -3
- package/dist/{feedback-LQ2TT4XL.js → feedback-XDTUBZX3.js} +11 -11
- package/dist/{ffmpeg-Y6NMFQ5J.js → ffmpeg-ABXU2TYH.js} +7 -7
- package/dist/{figma-R75KTFW4.js → figma-4JKNWEKN.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{get-KB67C2T7.js → get-EX2INNLN.js} +6 -6
- package/dist/{gpuPolicy-4ERRTA5U.js → gpuPolicy-7TSXQHK4.js} +7 -7
- package/dist/{grade-compare-NPVETP7T.js → grade-compare-TLUTRM2K.js} +30 -30
- package/dist/{heifImagePrep-ABLYQMTO.js → heifImagePrep-UOBBQFA2.js} +8 -8
- package/dist/{help-ZNJG5OJO.js → help-BB4FPW2K.js} +1 -1
- package/dist/{history-HUBQPMLX.js → history-JNETCPLB.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +47 -47
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KDSQGWE5.js → info-7LBANHQG.js} +8 -8
- package/dist/{init-QEPNUQB2.js → init-GZ36UP5K.js} +29 -29
- package/dist/{inspect-27GJ5ZUI.js → inspect-OD54TEQN.js} +30 -30
- package/dist/{installer-OFIDWMYR.js → installer-4KJ7T3KB.js} +4 -4
- package/dist/{keyframes-E2NNHMNK.js → keyframes-KLBNYGYC.js} +7 -7
- package/dist/{lambda-QQ2VVPRQ.js → lambda-554LSIHM.js} +11 -11
- package/dist/{layout-NQQZ5KR7.js → layout-EQAJKTIW.js} +30 -30
- package/dist/{lint-DUYKX36O.js → lint-ZMSIAVMI.js} +9 -9
- package/dist/{lintProject-SZIPPOJR.js → lintProject-I4XPWIQZ.js} +2 -2
- package/dist/{list-HIZY6RSP.js → list-KUZLCZUK.js} +6 -6
- package/dist/{localPage-U2RMKIMN.js → localPage-MQJZAR7Z.js} +7 -7
- package/dist/{login-CLP2ZTEW.js → login-644VKQTJ.js} +9 -8
- package/dist/{logout-CXGSSQ4Q.js → logout-6VFJ7WMW.js} +4 -4
- package/dist/{manager-CXRLWAKH.js → manager-3C33QHJB.js} +8 -8
- package/dist/{manager-LXWVBDLM.js → manager-ENFYM32B.js} +1 -1
- package/dist/{media-treatment-GSWIAGS4.js → media-treatment-XYS2O3JD.js} +14 -14
- package/dist/{media-use-ZRHFRO46.js → media-use-ZNTB7W6N.js} +85 -10
- package/dist/{models-TPHYQXOL.js → models-KOTMJX4Z.js} +11 -11
- package/dist/{motionShot-7UX4TKHZ.js → motionShot-YOSDJ26I.js} +16 -16
- package/dist/{normalize-audio-WBTJDFS7.js → normalize-audio-FNT6Y4MC.js} +18 -12
- package/dist/{open-P7Z2PIPR.js → open-COIGEQCX.js} +12 -12
- package/dist/{parakeetRunner-F2OX525D.js → parakeetRunner-BBXLGDZW.js} +13 -13
- package/dist/{pipeline-2ZDZGL4J.js → pipeline-23GAJEQO.js} +10 -10
- package/dist/{play-YCH7MRNX.js → play-GOCWJH7Z.js} +21 -21
- package/dist/{preflight-MTMSPVCR.js → preflight-7IWI3INL.js} +9 -9
- package/dist/{present-L4HNZ2HU.js → present-VN2RAATE.js} +17 -17
- package/dist/{preview-RWX74O5J.js → preview-MD7W5T56.js} +19 -19
- package/dist/{producer-UI4FXLPQ.js → producer-IRENEI2Y.js} +1 -1
- package/dist/{projectConfig-I6QNMRVV.js → projectConfig-3IXWY6VF.js} +6 -6
- package/dist/{publication-JET7ZBWG.js → publication-MCDU4VIJ.js} +2 -2
- package/dist/{publish-T56AYTZU.js → publish-5477WXAK.js} +15 -15
- package/dist/{refresh-VJ4FQVH2.js → refresh-I6ITGHKL.js} +5 -4
- package/dist/{remove-background-4Y56FLXV.js → remove-background-XYO5ENFU.js} +11 -11
- package/dist/{render-33TSTTN7.js → render-34GMNN2B.js} +5 -5
- package/dist/{render-UBDIHGEG.js → render-54SCVHMS.js} +21 -21
- package/dist/{render-IJ7L24RF.js → render-L66MXLV2.js} +37 -37
- package/dist/{render-batch-SDDZ3LM7.js → render-batch-DOCRB7KQ.js} +5 -5
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-VLOUQ7I6.js → resolver-Q5XTMECS.js} +4 -4
- package/dist/{sherpa-6GOUBSP2.js → sherpa-E7C2ZGKD.js} +12 -12
- package/dist/skills/hyperframes-cli/references/cloud.md +4 -4
- package/dist/skills/media-use/SKILL.md +3 -1
- package/dist/skills/media-use/audio/references/bgm.md +1 -1
- package/dist/skills/media-use/audio/references/requirements.md +9 -9
- package/dist/skills/media-use/audio/references/tts.md +11 -11
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +23 -7
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +68 -10
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +2 -2
- package/dist/skills/media-use/references/operations.md +11 -9
- package/dist/skills/media-use/references/setup-providers.md +30 -30
- package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -2
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +49 -4
- package/dist/{skills-MAJGGJKJ.js → skills-DDZCYTVS.js} +6 -6
- package/dist/{skillsUpdateCheck-X6AIBUUG.js → skillsUpdateCheck-4XX7YYZA.js} +3 -3
- package/dist/{snapshot-JKKWQSMQ.js → snapshot-PTLZ25S3.js} +34 -34
- package/dist/{src-RIL5PHI6.js → src-KT325UQS.js} +9 -9
- package/dist/{src-LAO5IGRI.js → src-RDWYM4KF.js} +6 -6
- package/dist/{staticProjectServer-YF5AZXGR.js → staticProjectServer-JCGTNF4E.js} +18 -18
- package/dist/{status-TJFZFDGS.js → status-4AAPTTRW.js} +42 -13
- package/dist/studio/assets/{hyperframes-player-Cf9gtxqa.js → hyperframes-player-CC1Ue2mg.js} +1 -1
- package/dist/studio/assets/{index-zVoFhoyD.js → index-BgjuGqZk.js} +6 -6
- package/dist/studio/assets/{index-CW5fPxU8.js → index-hc5Ru1gB.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Q2U6752S.js → studio-api-GTN767PW.js} +10 -10
- package/dist/{studioServer-SPU4MINT.js → studioServer-X6O4WB7E.js} +51 -51
- package/dist/{synthesize-IKSZPKFJ.js → synthesize-4JC74JW5.js} +13 -9
- package/dist/{telemetry-W7CBBWIN.js → telemetry-OY2PKIWO.js} +4 -4
- package/dist/{timeline-L26OBLW2.js → timeline-IZZRAXKP.js} +19 -19
- package/dist/{tokens-PNNCTOYV.js → tokens-JHIYKROF.js} +2 -2
- package/dist/{transcribe-PPZFOWMB.js → transcribe-2MPZHRG5.js} +11 -11
- package/dist/{transcribe-XZCZTOPU.js → transcribe-WJ2DIE3W.js} +18 -18
- package/dist/{tts-MQNOBHLH.js → tts-BVTJEP72.js} +1 -1
- package/dist/{updateCheck-SNRZKRO2.js → updateCheck-6XMEFB74.js} +2 -2
- package/dist/{upgrade-WEU5MYWF.js → upgrade-MSNQIWR7.js} +2 -2
- package/dist/{urlDownloader-55NQFDIH.js → urlDownloader-CD6NVJE5.js} +6 -6
- package/dist/{validate-4QEMOBFD.js → validate-7L5LJFTK.js} +24 -24
- package/dist/{video-VYOWJDYM.js → video-HFIDOIQI.js} +8 -8
- package/dist/warmCheck.js +38 -38
- package/package.json +1 -1
- package/dist/chunk-4WEWHZZO.js +0 -24
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-D5TOH3QI.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-T2WJO4XM.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DA6GOIIA.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-XQ26I3PL.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6OXVMHTB.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DA6GOIIA.js";
|
|
20
20
|
|
|
21
21
|
// src/utils/desktopApp.ts
|
|
22
22
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -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.220" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.220" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -717,13 +717,13 @@ function moveStagedInstallIntoCache(stagingDir, staged) {
|
|
|
717
717
|
if (replaced) renameSync(aside, target);
|
|
718
718
|
throw err;
|
|
719
719
|
}
|
|
720
|
-
if (replaced)
|
|
720
|
+
if (replaced) removeLeftover(aside);
|
|
721
721
|
return join(target, relative(staged.path, staged.executablePath));
|
|
722
722
|
}
|
|
723
723
|
var STAGING_PREFIX = ".chrome-staging-";
|
|
724
724
|
var REPLACED_PREFIX = ".chrome-replaced-";
|
|
725
725
|
var isInstallLeftover = (name) => name.startsWith(STAGING_PREFIX) || name.startsWith(REPLACED_PREFIX);
|
|
726
|
-
function removeInstallLeftovers() {
|
|
726
|
+
function removeInstallLeftovers(tolerateLocked = true) {
|
|
727
727
|
let names;
|
|
728
728
|
try {
|
|
729
729
|
names = readdirSync(CACHE_ROOT_DIR);
|
|
@@ -732,17 +732,23 @@ function removeInstallLeftovers() {
|
|
|
732
732
|
throw err;
|
|
733
733
|
}
|
|
734
734
|
const leftovers = names.filter(isInstallLeftover);
|
|
735
|
-
for (const name of leftovers)
|
|
736
|
-
rmSync(join(CACHE_ROOT_DIR, name), { recursive: true, force: true });
|
|
735
|
+
for (const name of leftovers) removeLeftover(join(CACHE_ROOT_DIR, name), tolerateLocked);
|
|
737
736
|
return leftovers.length > 0;
|
|
738
737
|
}
|
|
738
|
+
function removeLeftover(path, tolerateLocked = true) {
|
|
739
|
+
try {
|
|
740
|
+
rmSync(path, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
741
|
+
} catch (err) {
|
|
742
|
+
if (!tolerateLocked || !isErrno(err, "EBUSY") && !isErrno(err, "EPERM")) throw err;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
739
745
|
async function sweepKilledInstalls() {
|
|
740
746
|
const names = existsSync(CACHE_ROOT_DIR) ? readdirSync(CACHE_ROOT_DIR) : [];
|
|
741
747
|
if (!names.some(isInstallLeftover)) return;
|
|
742
748
|
await withInstallLock(async () => removeInstallLeftovers());
|
|
743
749
|
}
|
|
744
750
|
function clearBrowser() {
|
|
745
|
-
const removedLeftovers = removeInstallLeftovers();
|
|
751
|
+
const removedLeftovers = removeInstallLeftovers(false);
|
|
746
752
|
if (!existsSync(CACHE_DIR)) return removedLeftovers;
|
|
747
753
|
rmSync(CACHE_DIR, { recursive: true, force: true });
|
|
748
754
|
return true;
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NEVX7YHH.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K7APBNPW.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-FDPS57FU.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-ABXU2TYH.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YMKTEQIA.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-RDWYM4KF.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -54,36 +54,40 @@ function describeRejectedPythonOverride() {
|
|
|
54
54
|
if (validation.ok) return null;
|
|
55
55
|
return `HYPERFRAMES_PYTHON="${override}" was rejected: ${validation.reason}`;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function withoutPythonPath() {
|
|
58
|
+
const { PYTHONPATH: _foreign, ...env } = process.env;
|
|
59
|
+
return env;
|
|
60
|
+
}
|
|
61
|
+
function runs(python, code, env) {
|
|
58
62
|
try {
|
|
59
|
-
execFileSync(python, ["-c",
|
|
60
|
-
stdio: ["pipe", "pipe", "pipe"],
|
|
61
|
-
timeout: 1e4
|
|
62
|
-
});
|
|
63
|
+
execFileSync(python, ["-c", code], { stdio: ["pipe", "pipe", "pipe"], timeout: 1e4, env });
|
|
63
64
|
return true;
|
|
64
65
|
} catch {
|
|
65
66
|
return false;
|
|
66
67
|
}
|
|
67
68
|
}
|
|
69
|
+
function environmentThatRuns(python, code) {
|
|
70
|
+
return [process.env, withoutPythonPath()].find((env) => runs(python, code, env)) ?? null;
|
|
71
|
+
}
|
|
72
|
+
function workingPythonEnv(python, modules, extra = {}) {
|
|
73
|
+
const env = environmentThatRuns(python, `import ${modules.join(", ")}`);
|
|
74
|
+
return env && { ...env, ...extra };
|
|
75
|
+
}
|
|
76
|
+
function hasPythonPackage(python, pkg) {
|
|
77
|
+
return environmentThatRuns(python, `import ${pkg}`) !== null;
|
|
78
|
+
}
|
|
68
79
|
function hasPythonModules(modules) {
|
|
69
80
|
const python = findPython();
|
|
70
81
|
if (!python) return false;
|
|
71
82
|
const list = JSON.stringify(modules);
|
|
72
83
|
const probe = `import importlib.util,sys; sys.exit(0 if all(importlib.util.find_spec(m) for m in ${list}) else 1)`;
|
|
73
|
-
|
|
74
|
-
execFileSync(python, ["-c", probe], {
|
|
75
|
-
stdio: ["pipe", "pipe", "pipe"],
|
|
76
|
-
timeout: 1e4
|
|
77
|
-
});
|
|
78
|
-
return true;
|
|
79
|
-
} catch {
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
84
|
+
return environmentThatRuns(python, probe) !== null;
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
export {
|
|
85
88
|
findPython,
|
|
86
89
|
describeRejectedPythonOverride,
|
|
90
|
+
workingPythonEnv,
|
|
87
91
|
hasPythonPackage,
|
|
88
92
|
hasPythonModules
|
|
89
93
|
};
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AGFHQTZD.js";
|
|
21
21
|
import {
|
|
22
22
|
collectProjectMedia,
|
|
23
23
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-O332YWQV.js";
|
|
25
25
|
import {
|
|
26
26
|
captureArtifactRevision
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DEXGPHAZ.js";
|
|
28
28
|
import {
|
|
29
29
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TQ3W64VT.js";
|
|
31
31
|
import {
|
|
32
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
mergeSampleTimes,
|
|
49
49
|
parseAt,
|
|
50
50
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ARZGHKST.js";
|
|
52
52
|
import {
|
|
53
53
|
findingAtRoot,
|
|
54
54
|
findingElementKey,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-TQBQYO4L.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-FK5TW3IM.js";
|
|
61
61
|
import {
|
|
62
62
|
recordArtifacts
|
|
63
63
|
} from "./chunk-24F7TOW2.js";
|
|
@@ -69,14 +69,14 @@ import {
|
|
|
69
69
|
closeManagedBrowser,
|
|
70
70
|
onStopSignal,
|
|
71
71
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-RIYARQ2O.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-IZBJZBBF.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-NEVX7YHH.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
82
|
} from "./chunk-GLC5XHN5.js";
|
|
@@ -95,14 +95,14 @@ import {
|
|
|
95
95
|
import {
|
|
96
96
|
extractMediaMetadata,
|
|
97
97
|
findHdrAutoPromotion
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-YMKTEQIA.js";
|
|
99
99
|
import {
|
|
100
100
|
lintProject,
|
|
101
101
|
shouldBlockRender
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-MHZB6QSC.js";
|
|
103
103
|
import {
|
|
104
104
|
withMeta
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-OURH3TLX.js";
|
|
106
106
|
import {
|
|
107
107
|
recordLastCheck
|
|
108
108
|
} from "./chunk-BLBMPEBX.js";
|
|
@@ -2247,7 +2247,7 @@ function filterComponentReport(report, options) {
|
|
|
2247
2247
|
return report;
|
|
2248
2248
|
}
|
|
2249
2249
|
function shapeLayoutSection(issues, browser, options) {
|
|
2250
|
-
const shaped = shapeLayoutFindings(issues, options, browser.layoutSamples
|
|
2250
|
+
const shaped = shapeLayoutFindings(issues, options, browser.layoutSamples);
|
|
2251
2251
|
return {
|
|
2252
2252
|
...section(shaped.findings),
|
|
2253
2253
|
duration: browser.duration,
|
|
@@ -2259,9 +2259,9 @@ function shapeLayoutSection(issues, browser, options) {
|
|
|
2259
2259
|
truncated: shaped.truncated
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
2262
|
-
function shapeLayoutFindings(issues, options,
|
|
2262
|
+
function shapeLayoutFindings(issues, options, sampleTimes) {
|
|
2263
2263
|
const deduped = dedupeLayoutIssues(issues);
|
|
2264
|
-
const all = options.collapseStatic ? collapseStaticLayoutIssues(deduped,
|
|
2264
|
+
const all = options.collapseStatic ? collapseStaticLayoutIssues(deduped, sampleTimes?.length, sampleTimes) : deduped;
|
|
2265
2265
|
const anchored = all.map(ensureAnchoredLayoutIssue);
|
|
2266
2266
|
let grouped = anchored;
|
|
2267
2267
|
if (options.collapseStatic) {
|
|
@@ -2361,7 +2361,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
2363
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2364
|
-
const module = await import("./checkBrowser-
|
|
2364
|
+
const module = await import("./checkBrowser-QTMNRNPF.js");
|
|
2365
2365
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2366
2366
|
}
|
|
2367
2367
|
var adoptedBrowser;
|
|
@@ -2375,7 +2375,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2375
2375
|
if (adopted) return adopted;
|
|
2376
2376
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2377
2377
|
if (html === void 0) return void 0;
|
|
2378
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2378
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-J3OOHGC2.js");
|
|
2379
2379
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2380
2380
|
}
|
|
2381
2381
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2387,11 +2387,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2387
2387
|
return relative(projectDir, path);
|
|
2388
2388
|
}
|
|
2389
2389
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2390
|
-
const module = await import("./checkBrowser-
|
|
2390
|
+
const module = await import("./checkBrowser-QTMNRNPF.js");
|
|
2391
2391
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2392
2392
|
}
|
|
2393
2393
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2394
|
-
const module = await import("./checkBrowser-
|
|
2394
|
+
const module = await import("./checkBrowser-QTMNRNPF.js");
|
|
2395
2395
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2396
2396
|
}
|
|
2397
2397
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2413,7 +2413,7 @@ function collectMedia(project) {
|
|
|
2413
2413
|
return collectProjectMedia(project.dir);
|
|
2414
2414
|
}
|
|
2415
2415
|
async function inspectAudio(project, media) {
|
|
2416
|
-
const module = await import("./checkAudio-
|
|
2416
|
+
const module = await import("./checkAudio-AV7R24FD.js");
|
|
2417
2417
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2418
2418
|
}
|
|
2419
2419
|
function audioCheckFailure(project, error) {
|
|
@@ -2487,7 +2487,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2487
2487
|
}
|
|
2488
2488
|
},
|
|
2489
2489
|
async prepareMedia(project, options) {
|
|
2490
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2490
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-TLEZEZXN.js");
|
|
2491
2491
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2492
2492
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2493
2493
|
},
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-EQGKUPBJ.js";
|
|
13
13
|
import {
|
|
14
14
|
credentialPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VLA6UJGH.js";
|
|
16
16
|
import {
|
|
17
17
|
getInvocationId
|
|
18
18
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-BLBMPEBX.js";
|
|
44
44
|
import {
|
|
45
45
|
VERSION
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FGGZKCOT.js";
|
|
47
47
|
|
|
48
48
|
// src/telemetry/transport.ts
|
|
49
49
|
import { spawn } from "child_process";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
warnUnknownEnumValues,
|
|
60
60
|
wrapInlineScriptWithErrorBoundary,
|
|
61
61
|
wrapScopedCompositionScript
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2Q7XV4F6.js";
|
|
63
63
|
import {
|
|
64
64
|
cssVariableName
|
|
65
65
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
collectExternalStyles,
|
|
72
72
|
lintHyperframeHtml
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-MHZB6QSC.js";
|
|
74
74
|
import {
|
|
75
75
|
CSS_URL_RE,
|
|
76
76
|
checkSubCompositionUsability,
|
|
@@ -1149,6 +1149,9 @@ ${AUTHORED_SOURCE_END}`);
|
|
|
1149
1149
|
if (innerRoot?.hasAttribute("data-timeline-locked")) {
|
|
1150
1150
|
hostEl.setAttribute("data-timeline-locked", "");
|
|
1151
1151
|
}
|
|
1152
|
+
if (innerRoot?.hasAttribute("data-no-timeline")) {
|
|
1153
|
+
hostEl.setAttribute("data-no-timeline", "");
|
|
1154
|
+
}
|
|
1152
1155
|
if (innerRoot) {
|
|
1153
1156
|
const innerW = innerRoot.getAttribute("data-width");
|
|
1154
1157
|
const innerH = innerRoot.getAttribute("data-height");
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PCKWLYKA.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UOIVSNPI.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BASBBBNB.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|