hyperframes 0.8.191 → 0.8.193
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-S2ZQYG52.js → add-JC6DKZKC.js} +17 -17
- package/dist/{animatedGifPrep-3JA2CQ3U.js → animatedGifPrep-S6KXJGEL.js} +11 -10
- package/dist/api.js +24 -23
- package/dist/{appHistory-TH3TL6N6.js → appHistory-QVCSAOI4.js} +1 -1
- package/dist/{asset-2CNTAPOC.js → asset-XITFIFE6.js} +2 -2
- package/dist/{assetCataloger-5HXLXL7C.js → assetCataloger-K5FNKG35.js} +13 -12
- package/dist/{audio-DZTSYHXS.js → audio-364UHTY4.js} +22 -21
- package/dist/{auth-GX3M6TJ4.js → auth-5JEESRE6.js} +4 -4
- package/dist/{autoUpdate-EDIWE4Z5.js → autoUpdate-RVVYEHAA.js} +5 -5
- package/dist/{backgroundChecks-VPUPJ7UI.js → backgroundChecks-DCBIYWIQ.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-JHIIDBJR.js → batchRender-ZZ4QMBAA.js} +14 -7
- package/dist/{beats-PZRVTRYW.js → beats-YEL65M6G.js} +53 -15
- package/dist/{benchmark-22UFDW2N.js → benchmark-RBTRPA76.js} +18 -14
- package/dist/{browser-VRDWYIUM.js → browser-BVAYXT4R.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-23QDKFSN.js → bundleWithLocalizedFonts-JLB2OYMT.js} +3 -3
- package/dist/{capture-TOCLXYMJ.js → capture-GBXTMYLZ.js} +76 -68
- package/dist/{capture-NFCBXHDE.js → capture-NIFX6IRS.js} +3 -3
- package/dist/{captureCompositionFrame-BEM6MF7F.js → captureCompositionFrame-ATNNKUL5.js} +17 -16
- package/dist/{catalog-NXS35KM7.js → catalog-AGIF5SM5.js} +18 -18
- package/dist/{catch-up-6WJBUI2C.js → catch-up-SZ3ULDTI.js} +7 -7
- package/dist/{check-WVEBMWN5.js → check-YLQS3TF4.js} +43 -42
- package/dist/{checkBrowser-RT45HJ36.js → checkBrowser-QH4FMCBO.js} +38 -37
- package/dist/{chunk-JOLZ3BSL.js → chunk-2LSCYS2H.js} +2 -2
- package/dist/{chunk-B2A56S5C.js → chunk-2MCXIY4B.js} +13 -10
- package/dist/{chunk-TADJOIFW.js → chunk-2NERNYCJ.js} +4 -4
- package/dist/{chunk-KGMHMYWI.js → chunk-2SFDWMSW.js} +2 -2
- package/dist/{chunk-DCAI5DBR.js → chunk-2ST4WAFY.js} +9 -1
- package/dist/{chunk-3NRB7YXW.js → chunk-2VXY3PEF.js} +96 -67
- package/dist/{chunk-IXLUTE6N.js → chunk-3422KMTD.js} +5 -1
- package/dist/{chunk-VYQYVYQ5.js → chunk-3W4B6G7Y.js} +83 -45
- package/dist/{chunk-JYSSPQDT.js → chunk-4LXZJIVY.js} +11 -11
- package/dist/{chunk-WHAEJX26.js → chunk-4PPWAQYV.js} +17 -12
- package/dist/{chunk-COWQITWP.js → chunk-4TKJWWPL.js} +1 -1
- package/dist/{chunk-NXMYHJAL.js → chunk-4VYPICIA.js} +29 -1
- package/dist/{chunk-RE3EEBWC.js → chunk-5J6TWLFG.js} +4 -4
- package/dist/{chunk-TFMZ4RKM.js → chunk-6DLCOQR4.js} +474 -429
- package/dist/{chunk-KV72BP7O.js → chunk-6LWUPIKD.js} +11 -11
- package/dist/{chunk-HRPWRZGF.js → chunk-6N65ZMC5.js} +1 -1
- package/dist/{chunk-XUXGIA7H.js → chunk-6NLPPKBO.js} +1 -2
- package/dist/{chunk-JJJCFKMF.js → chunk-6XUJVEY2.js} +17 -6
- package/dist/{chunk-GM3WIOO6.js → chunk-7HTH5PFK.js} +2 -2
- package/dist/{chunk-LBNEH6IQ.js → chunk-7QNIXBQD.js} +1 -1
- package/dist/{chunk-OV6KHXLX.js → chunk-7YKJF5JV.js} +1 -1
- package/dist/{chunk-COETAXRN.js → chunk-7YSFE4SZ.js} +2 -2
- package/dist/{chunk-3WJT2JCX.js → chunk-AR3DQYRR.js} +52 -23
- package/dist/{chunk-HYW6HTAK.js → chunk-BJAS2JLW.js} +2 -2
- package/dist/{chunk-RWYUK7LM.js → chunk-BP4EMEGH.js} +2 -2
- package/dist/{chunk-XGHHVYC7.js → chunk-BY6OQ6XP.js} +2 -2
- package/dist/{chunk-TMBUBLZB.js → chunk-C4Y3ZREE.js} +185 -46
- package/dist/{chunk-JQYJXUJW.js → chunk-C6KE4AFW.js} +1 -1
- package/dist/{chunk-TMK4Q7JA.js → chunk-CFUCHO4T.js} +20 -5
- package/dist/{chunk-JGTRVG32.js → chunk-CGTZOY53.js} +1 -1
- package/dist/chunk-CZGHFATT.js +31 -0
- package/dist/{chunk-NJGTNWQY.js → chunk-D625D4TV.js} +6 -6
- package/dist/{chunk-CYBXXSC4.js → chunk-DIKAPMMF.js} +2 -2
- package/dist/{chunk-CXMXJEVY.js → chunk-DSQ72G5I.js} +1 -1
- package/dist/{chunk-GLG5JWLI.js → chunk-DYNHVCBF.js} +2 -2
- package/dist/{chunk-7L37AB57.js → chunk-E3P3LJG6.js} +9 -9
- package/dist/{chunk-EFCKV7MY.js → chunk-E77ALFLW.js} +1 -1
- package/dist/{chunk-WQ3X5OH4.js → chunk-EFXMETRK.js} +2 -2
- package/dist/{chunk-7KVVNF7B.js → chunk-ELP5QZWL.js} +1 -1
- package/dist/{chunk-QH3T4WI2.js → chunk-EXAX37XR.js} +8 -2
- package/dist/{chunk-7A65UCMI.js → chunk-F5LLORBP.js} +2 -2
- package/dist/{chunk-EI7FP7F3.js → chunk-FBVUAH7N.js} +12 -2
- package/dist/{chunk-XWOCXIKR.js → chunk-GKHMSSGY.js} +1 -1
- package/dist/{chunk-DOOSC34Z.js → chunk-GR5DQKDR.js} +8 -8
- package/dist/{chunk-W64L7IFS.js → chunk-IW5G323T.js} +1 -1
- package/dist/{chunk-NAUKCKCJ.js → chunk-KU3UFQN7.js} +9 -12
- package/dist/{chunk-NMDUSCCE.js → chunk-L4JB7LI4.js} +478 -129
- package/dist/{chunk-ALEF2F5N.js → chunk-L5YLA54L.js} +2 -2
- package/dist/{chunk-MSM6VRQ4.js → chunk-LFUVTS6V.js} +2 -2
- package/dist/{chunk-7ZJEQY7Q.js → chunk-LMNZLZMJ.js} +23 -3
- package/dist/{chunk-AQB5M53R.js → chunk-M3KZBDPB.js} +3 -3
- package/dist/{chunk-BFFLKQVB.js → chunk-MFUNDJEV.js} +4 -4
- package/dist/{chunk-7NKJS5KM.js → chunk-OFV3WSOE.js} +1 -1
- package/dist/{chunk-CINKQY6M.js → chunk-OFYW4J7Y.js} +3 -3
- package/dist/{chunk-5C7R55BJ.js → chunk-P2I4RLJE.js} +1 -1
- package/dist/{chunk-RUOG4VB7.js → chunk-PKZ7RK5N.js} +5 -4
- package/dist/{chunk-LLFQA7XF.js → chunk-QFPBRZJD.js} +1 -1
- package/dist/{chunk-TRZVS6TL.js → chunk-QKX7ITER.js} +3 -3
- package/dist/{chunk-46HEFGXJ.js → chunk-REUL2KH2.js} +1 -1
- package/dist/{chunk-TFGO5YMI.js → chunk-RTLPWOO6.js} +2 -2
- package/dist/{chunk-DYAPHNV6.js → chunk-RWGASWT7.js} +1 -1
- package/dist/chunk-RXATE6FZ.js +385 -0
- package/dist/{chunk-U5GTDAQL.js → chunk-SOY2FPOR.js} +7 -7
- package/dist/{chunk-KNU5COPB.js → chunk-T2EUWCJE.js} +1 -1
- package/dist/{chunk-RQBB7PYT.js → chunk-TY3LDJA3.js} +5 -12
- package/dist/{chunk-KAC2WR7P.js → chunk-TZEKVLPV.js} +3 -3
- package/dist/{chunk-TJKE4EYX.js → chunk-UB7BIDBS.js} +3 -3
- package/dist/{chunk-WY3TQ2PT.js → chunk-UIC7B5KW.js} +2 -2
- package/dist/{chunk-2WNVHZHA.js → chunk-UNATIAOT.js} +13 -13
- package/dist/chunk-USWPZXEA.js +3897 -0
- package/dist/{chunk-FBDOHH3Q.js → chunk-V7ZA2BNW.js} +29 -59
- package/dist/{chunk-7LUJE3II.js → chunk-VLLFORE2.js} +1 -1
- package/dist/{chunk-T5YF32WV.js → chunk-VPC4XIVI.js} +6 -5
- package/dist/{chunk-7FF36MAD.js → chunk-VW63MHQU.js} +9 -6
- package/dist/{chunk-ZHKUIC7X.js → chunk-WFS6S65A.js} +21 -14
- package/dist/{chunk-UNR3P7IF.js → chunk-WIVOXGEP.js} +3 -3
- package/dist/{chunk-3XI7MIZB.js → chunk-X5CECNCK.js} +1 -1
- package/dist/{chunk-KHCTBZGJ.js → chunk-XQPA4W3M.js} +4 -4
- package/dist/{chunk-XMSQRDAK.js → chunk-YS4JUGNI.js} +2 -2
- package/dist/{chunk-SMEF3TRJ.js → chunk-ZH7J2ZUL.js} +15 -15
- package/dist/{chunk-WJEVUPVD.js → chunk-ZT45TCY3.js} +1 -1
- package/dist/{chunk-JTPHFYZI.js → chunk-ZTKFRXJB.js} +68 -7
- package/dist/{chunk-W3CS2KFV.js → chunk-ZZPBXRYQ.js} +2 -2
- package/dist/{clean-3VIU2BSK.js → clean-5HGESK5A.js} +40 -27
- package/dist/cli.js +70 -68
- package/dist/{cloud-NA3J4XW2.js → cloud-746PHS32.js} +4 -4
- package/dist/{cloudrun-4MHOF7UT.js → cloudrun-DO7WFLSM.js} +9 -9
- package/dist/commands/contrast-audit.browser.js +1 -1
- package/dist/{compare-ZR7XRPPT.js → compare-66YPRNG2.js} +76 -47
- package/dist/{compiler-MA2ELZPG.js → compiler-R4UYDWXO.js} +8 -7
- package/dist/{component-ZJSOPUAM.js → component-EQ3H6RFP.js} +3 -3
- package/dist/{compositions-WA5V2SHF.js → compositions-ZZ7P5HT2.js} +19 -17
- package/dist/{contactSheet-CAGMKI3E.js → contactSheet-SZBJDOMT.js} +2 -2
- package/dist/{delete-UC427UEA.js → delete-Z5MSLJSR.js} +7 -7
- package/dist/{deploy-B5UO4UIK.js → deploy-RGSAC2K5.js} +1 -1
- package/dist/{deterministicFonts-EGAAE7QL.js → deterministicFonts-RO2TCMLZ.js} +3 -3
- package/dist/{dist-XGPSPKKP.js → dist-QQ26RUDV.js} +5 -4
- package/dist/{dist-BPK37SAB.js → dist-RKK4YLAD.js} +5 -5
- package/dist/{doctor-ZERCTKEK.js → doctor-W4ZZDRTU.js} +20 -19
- package/dist/{events-DCOZQERS.js → events-BSSL4A4W.js} +4 -4
- package/dist/{events-CNIXB2QK.js → events-UACT7PX3.js} +5 -5
- package/dist/{feedback-YBD5ITTY.js → feedback-47ILDLQG.js} +16 -16
- package/dist/{ffmpeg-V4BBFDTG.js → ffmpeg-IEHSUNUT.js} +13 -12
- package/dist/{figma-Z45ZYVGE.js → figma-PLFIIYRU.js} +3 -3
- package/dist/fontLocalizeCli.js +14 -13
- package/dist/{get-23NXQWCD.js → get-PDWGJYNL.js} +7 -7
- package/dist/{gpuPolicy-H6ABHVEB.js → gpuPolicy-6UBXO6ME.js} +11 -10
- package/dist/{grade-compare-ZPX2G3UV.js → grade-compare-5VWLQGM7.js} +38 -37
- package/dist/{gsapParserAcorn-SKODXC2N.js → gsapParserAcorn-OOTY2MVN.js} +2 -2
- package/dist/{help-EP4CDPLO.js → help-DS3KMWYO.js} +1 -1
- package/dist/{history-E5OSXO74.js → history-OC326NVZ.js} +41 -17
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +1 -1
- package/dist/{info-2HHGSW5H.js → info-AUIFV6MX.js} +56 -22
- package/dist/{init-ENEG6RZT.js → init-MRTWWDFW.js} +38 -45
- package/dist/{inspect-PVQK4E2A.js → inspect-55NOAXI2.js} +36 -35
- package/dist/{installer-YGGLEOSF.js → installer-YSFFGBBV.js} +8 -8
- package/dist/{keyframes-UWSYS2SL.js → keyframes-OO2BX2IB.js} +13 -14
- package/dist/{lambda-L3LPXC2M.js → lambda-CXXY6QT3.js} +11 -11
- package/dist/{layout-JVL4QREC.js → layout-57GJXKDK.js} +36 -35
- package/dist/{lint-JXQ72DDB.js → lint-J4FK3Z6G.js} +23 -16
- package/dist/{lintProject-F7IC7WY4.js → lintProject-52SLJPRC.js} +5 -4
- package/dist/{list-UFMLM3VV.js → list-VDQUJ76B.js} +7 -7
- package/dist/{login-CKGMWQJN.js → login-TJSEALWW.js} +7 -7
- package/dist/{logout-DDC4QLVK.js → logout-JYFWWUGK.js} +3 -3
- package/dist/{manager-U6OP3EXB.js → manager-4PLYEEWP.js} +14 -13
- package/dist/{manager-UHWEKPXC.js → manager-MZIJY73J.js} +3 -3
- package/dist/{media-treatment-MFMEWCDY.js → media-treatment-GXP4PMJH.js} +20 -19
- package/dist/{models-QA3TJ75Y.js → models-HQQQKEEP.js} +18 -17
- package/dist/{motionShot-NV2OPJHD.js → motionShot-2BT5D7DC.js} +21 -20
- package/dist/{normalize-3AYFSN2F.js → normalize-FASIPBUM.js} +1 -1
- package/dist/{normalize-audio-JWJRUKK2.js → normalize-audio-SOLFMHNP.js} +12 -8
- package/dist/{open-PTJNDRER.js → open-KHEUODFQ.js} +18 -18
- package/dist/{parakeetRunner-B5FCWWOO.js → parakeetRunner-BHU5NCAX.js} +20 -19
- package/dist/{pipeline-N26NA6ZG.js → pipeline-WFV5HDTD.js} +15 -14
- package/dist/{play-45D6X6TV.js → play-GB34CANJ.js} +27 -26
- package/dist/{policies-MBWGLMWB.js → policies-GHVXA5PE.js} +1 -1
- package/dist/{preflight-MFOHPUOI.js → preflight-REF3VSJ7.js} +15 -14
- package/dist/{present-IFBUDI4D.js → present-SIUTA7TD.js} +24 -23
- package/dist/{preview-MQRLXQOV.js → preview-T2GE7Z4A.js} +27 -26
- package/dist/{producer-2QG7HLAW.js → producer-23KVQZAB.js} +1 -1
- package/dist/{projectConfig-I4FTZXHB.js → projectConfig-DBSNBPNP.js} +10 -10
- package/dist/{publication-3GOFXCGU.js → publication-IXPUKYWJ.js} +5 -5
- package/dist/{publish-3B2TZCFH.js → publish-3BA5VHXJ.js} +18 -17
- package/dist/{refresh-RXTOPRBB.js → refresh-USSFPJAU.js} +3 -3
- package/dist/{remove-background-RK4BJDBF.js → remove-background-RMSCJVVQ.js} +16 -15
- package/dist/{render-SJ4HFPFU.js → render-6RNE2MLU.js} +26 -25
- package/dist/{render-PW3XGS7B.js → render-XGOZMMWX.js} +42 -41
- package/dist/{render-BV6FWFX3.js → render-Y6CTQ3YW.js} +8 -8
- package/dist/{render-batch-GKX54O6N.js → render-batch-VUR6N6EY.js} +9 -9
- package/dist/renderSetupWorker.js +9 -8
- package/dist/{resolver-RQJ7CNXD.js → resolver-GJCUH57W.js} +7 -7
- package/dist/{screenshotCapture-UBY6TT75.js → screenshotCapture-I5EDCITF.js} +6 -3
- package/dist/{sherpa-XZPG7QFF.js → sherpa-VVAKRCPL.js} +19 -18
- package/dist/skills/hyperframes/references/format.md +1 -0
- package/dist/skills/hyperframes/references/skill-lifecycle.md +8 -4
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
- package/dist/{skills-EYLB2V6F.js → skills-ZHBURVQG.js} +13 -75
- package/dist/{skillsUpdateCheck-TE6K5ROM.js → skillsUpdateCheck-VMDAL2O2.js} +5 -5
- package/dist/{slideshow-YTWATJRT.js → slideshow-SJGK4RQS.js} +1 -1
- package/dist/{snapshot-FE4T3SCN.js → snapshot-KEOG56SL.js} +61 -53
- package/dist/{src-ZOXSEJCD.js → src-BH5NICGQ.js} +24 -9
- package/dist/{src-SEJ7LNNB.js → src-TZLGFRRX.js} +13 -12
- package/dist/{staticProjectServer-LSVIRDRO.js → staticProjectServer-BKXL5CXB.js} +22 -21
- package/dist/{status-CM7IQTU2.js → status-H5WLKQDS.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-Bv9hQ3v7.js → hyperframes-player-BMcUdmDb.js} +3 -3
- package/dist/studio/assets/{index-CBO8uz7-.css → index-CYbvOVp-.css} +1 -1
- package/dist/studio/assets/{index-D_QqfWhx.js → index-Ca-mgTnS.js} +122 -122
- package/dist/studio/assets/{index-Df14bh-L.js → index-Ci6GuloR.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-SL2Z76NU.js → studio-api-A5U6QAMC.js} +19 -14
- package/dist/{studioServer-BADWVIHU.js → studioServer-5EC5CP4W.js} +60 -59
- package/dist/{telemetry-QG5AANZ4.js → telemetry-4K6CPMNT.js} +2 -2
- package/dist/{telemetry-RN6VYEID.js → telemetry-BCKJXDSW.js} +5 -5
- package/dist/{timeline-JBTCIPLU.js → timeline-AZWAXTAY.js} +65 -43
- package/dist/{tokens-A7V7UHNK.js → tokens-X7NC3V7C.js} +2 -2
- package/dist/{transcribe-E4BOSNM4.js → transcribe-7NCY7QZ2.js} +17 -16
- package/dist/{transcribe-NTUCJGFI.js → transcribe-SH26H755.js} +26 -25
- package/dist/{tts-A2WILYGN.js → tts-5I2AJNLM.js} +1 -1
- package/dist/{updateCheck-M7UAYLUR.js → updateCheck-Y7FUWQM4.js} +4 -4
- package/dist/{upgrade-A2COSIMB.js → upgrade-ZHGEVL65.js} +4 -4
- package/dist/{urlDownloader-MBSQYART.js → urlDownloader-FPILIT7M.js} +10 -9
- package/dist/{validate-NODZYBHY.js → validate-KQOZR4F6.js} +30 -29
- package/dist/{video-LBCUUYK7.js → video-N2QAETFB.js} +12 -11
- package/dist/warmCheck.js +43 -42
- package/package.json +2 -1
- package/dist/chunk-I5JRXMCV.js +0 -6077
- package/dist/chunk-LM265QNK.js +0 -3896
|
@@ -6,27 +6,27 @@ 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-LMNZLZMJ.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VPC4XIVI.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4LXZJIVY.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UIC7B5KW.js";
|
|
24
24
|
import {
|
|
25
25
|
gotoWhenSent
|
|
26
26
|
} from "./chunk-MOEGCMKI.js";
|
|
27
27
|
import {
|
|
28
28
|
pageNavigationTimeoutMs
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UB7BIDBS.js";
|
|
30
30
|
import {
|
|
31
31
|
defineCommand
|
|
32
32
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
printDeprecationNotice,
|
|
42
42
|
withMeta
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TZEKVLPV.js";
|
|
44
44
|
import {
|
|
45
45
|
normalizeErrorMessage
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-T2EUWCJE.js";
|
|
47
47
|
|
|
48
48
|
// src/commands/layout.ts
|
|
49
49
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
@@ -715,7 +715,7 @@ async function collectTweenBoundaries(page) {
|
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
717
|
async function bundleProjectHtml(projectDir) {
|
|
718
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
718
|
+
const { bundleToSingleHtml } = await import("./compiler-R4UYDWXO.js");
|
|
719
719
|
return bundleToSingleHtml(projectDir);
|
|
720
720
|
}
|
|
721
721
|
async function alignViewportToComposition(page, url) {
|
|
@@ -732,15 +732,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
732
732
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
733
733
|
}
|
|
734
734
|
async function runLayoutAudit(projectDir, opts) {
|
|
735
|
-
const { ensureBrowser } = await import("./manager-
|
|
735
|
+
const { ensureBrowser } = await import("./manager-MZIJY73J.js");
|
|
736
736
|
const puppeteer = await import("puppeteer-core");
|
|
737
|
-
const { buildChromeArgs } = await import("./src-
|
|
737
|
+
const { buildChromeArgs } = await import("./src-BH5NICGQ.js");
|
|
738
738
|
const {
|
|
739
739
|
assertWebGpuAdapterAvailable,
|
|
740
740
|
compositionRequiresWebGpu,
|
|
741
741
|
resolveLocalBrowserGpuMode,
|
|
742
742
|
resolveLocalWebGpu
|
|
743
|
-
} = await import("./gpuPolicy-
|
|
743
|
+
} = await import("./gpuPolicy-6UBXO6ME.js");
|
|
744
744
|
const html = await bundleProjectHtml(projectDir);
|
|
745
745
|
const server = await serveStaticProjectHtml(
|
|
746
746
|
projectDir,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ISN5GRYI.js";
|
|
13
13
|
import {
|
|
14
14
|
normalizeErrorMessage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-T2EUWCJE.js";
|
|
16
16
|
|
|
17
17
|
// src/telemetry/posthogKey.ts
|
|
18
18
|
var POSTHOG_API_KEY = "phc_zjjbX0PnWxERXrMHhkEJWj9A9BhGVLRReICgsfTMmpx";
|
|
@@ -305,7 +305,6 @@ function passthroughFields(parsed) {
|
|
|
305
305
|
skillsUpdateAvailable: parsed.skillsUpdateAvailable,
|
|
306
306
|
skillsOutdatedCount: parsed.skillsOutdatedCount,
|
|
307
307
|
skillsMissingCount: parsed.skillsMissingCount,
|
|
308
|
-
skillsRemovedCount: parsed.skillsRemovedCount,
|
|
309
308
|
localEmbeddingEnabled: consentFrom(parsed.localEmbeddingEnabled)
|
|
310
309
|
};
|
|
311
310
|
}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-HVW7ABXD.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_REGISTRY_URL
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7QNIXBQD.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/projectConfig.ts
|
|
18
18
|
import { readFileSync, writeFileSync } from "fs";
|
|
@@ -43,7 +43,10 @@ function readProjectConfigWithStatus(projectDir) {
|
|
|
43
43
|
return { status: isFileNotFound(error) ? "missing" : "unreadable" };
|
|
44
44
|
}
|
|
45
45
|
try {
|
|
46
|
-
return {
|
|
46
|
+
return {
|
|
47
|
+
status: "ok",
|
|
48
|
+
config: normalizeConfig(JSON.parse(text.replace(/^\uFEFF/, "")))
|
|
49
|
+
};
|
|
47
50
|
} catch {
|
|
48
51
|
return { status: "unreadable" };
|
|
49
52
|
}
|
|
@@ -118,12 +121,16 @@ function seedProjectAuthoringSkill(projectDir, rawSkill) {
|
|
|
118
121
|
return;
|
|
119
122
|
}
|
|
120
123
|
try {
|
|
121
|
-
const parsed = JSON.parse(text);
|
|
124
|
+
const parsed = JSON.parse(text.replace(/^\uFEFF/, ""));
|
|
122
125
|
if (!isJsonObject(parsed)) return;
|
|
123
126
|
if (normalizeSkillSlug(parsed.authoringSkill)) return;
|
|
124
127
|
parsed.authoringSkill = skill;
|
|
125
128
|
const indent = /\n([ \t]+)"/.exec(text)?.[1] ?? " ";
|
|
126
|
-
writeFileSync(
|
|
129
|
+
writeFileSync(
|
|
130
|
+
path,
|
|
131
|
+
(text.startsWith("\uFEFF") ? "\uFEFF" : "") + JSON.stringify(parsed, null, indent) + "\n",
|
|
132
|
+
"utf-8"
|
|
133
|
+
);
|
|
127
134
|
} catch {
|
|
128
135
|
}
|
|
129
136
|
}
|
|
@@ -137,7 +144,7 @@ function recordProjectRegistryItems(projectDir, items) {
|
|
|
137
144
|
return;
|
|
138
145
|
}
|
|
139
146
|
try {
|
|
140
|
-
const parsed = JSON.parse(text);
|
|
147
|
+
const parsed = JSON.parse(text.replace(/^\uFEFF/, ""));
|
|
141
148
|
if (!isJsonObject(parsed)) return;
|
|
142
149
|
const existing = normalizeRegistryItems(parsed.registryItems) ?? [];
|
|
143
150
|
const byName = new Map(existing.map((item) => [item.name, item]));
|
|
@@ -150,7 +157,11 @@ function recordProjectRegistryItems(projectDir, items) {
|
|
|
150
157
|
if (unchanged) return;
|
|
151
158
|
parsed.registryItems = merged;
|
|
152
159
|
const indent = /\n([ \t]+)"/.exec(text)?.[1] ?? " ";
|
|
153
|
-
writeFileSync(
|
|
160
|
+
writeFileSync(
|
|
161
|
+
path,
|
|
162
|
+
(text.startsWith("\uFEFF") ? "\uFEFF" : "") + JSON.stringify(parsed, null, indent) + "\n",
|
|
163
|
+
"utf-8"
|
|
164
|
+
);
|
|
154
165
|
} catch {
|
|
155
166
|
}
|
|
156
167
|
}
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-USWPZXEA.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isTextElement,
|
|
18
18
|
keyframesToGsapAnimations,
|
|
19
19
|
serializeGsapAnimations
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2MCXIY4B.js";
|
|
21
21
|
import {
|
|
22
22
|
COMPOSITION_ATTRIBUTES,
|
|
23
23
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
formatPreviewProxyBox,
|
|
14
14
|
hdrToSdrToneMapFilter,
|
|
15
15
|
parseFirstFrameColour
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7HTH5PFK.js";
|
|
17
17
|
import {
|
|
18
18
|
decodeAuthoredAttribute,
|
|
19
19
|
scanHtmlOpeningTags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2MCXIY4B.js";
|
|
21
21
|
import {
|
|
22
22
|
mkdirWithinProject,
|
|
23
23
|
realProjectRoot,
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
} from "./chunk-57GN6KWT.js";
|
|
12
12
|
import {
|
|
13
13
|
captureArtifactRevision
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-F5LLORBP.js";
|
|
15
15
|
import {
|
|
16
16
|
loadProducer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CGTZOY53.js";
|
|
18
18
|
import {
|
|
19
19
|
trackLintRun
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OFYW4J7Y.js";
|
|
21
21
|
import {
|
|
22
22
|
beginCheckSnapshots,
|
|
23
23
|
checkSnapshotDirectory,
|
|
24
24
|
finishCheckSnapshots,
|
|
25
25
|
preResolveHostileMediaProxies,
|
|
26
26
|
rectToBbox
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WFS6S65A.js";
|
|
28
28
|
import {
|
|
29
29
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
30
30
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -47,27 +47,27 @@ import {
|
|
|
47
47
|
mergeSampleTimes,
|
|
48
48
|
parseAt,
|
|
49
49
|
readMotionSpec
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-6LWUPIKD.js";
|
|
51
51
|
import {
|
|
52
52
|
resolveProject
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-LMNZLZMJ.js";
|
|
54
54
|
import {
|
|
55
55
|
recordArtifacts
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-C4Y3ZREE.js";
|
|
57
57
|
import {
|
|
58
58
|
BrowserCleanupError,
|
|
59
59
|
closeManagedBrowser
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-UIC7B5KW.js";
|
|
61
61
|
import {
|
|
62
62
|
withRemainingBudget
|
|
63
63
|
} from "./chunk-EHSBBBR2.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveLocalBrowserGpuMode
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-YS4JUGNI.js";
|
|
67
67
|
import {
|
|
68
68
|
trackCheckReport,
|
|
69
69
|
trackCommandFailure
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RTLPWOO6.js";
|
|
71
71
|
import {
|
|
72
72
|
swallowedFlagUsageError
|
|
73
73
|
} from "./chunk-HTIUNMTP.js";
|
|
@@ -87,20 +87,20 @@ import {
|
|
|
87
87
|
import {
|
|
88
88
|
extractMediaMetadata,
|
|
89
89
|
findHdrAutoPromotion
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-L4JB7LI4.js";
|
|
91
91
|
import {
|
|
92
92
|
lintProject,
|
|
93
93
|
shouldBlockRender
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-2VXY3PEF.js";
|
|
95
95
|
import {
|
|
96
96
|
resolveProjectRelativeSrc
|
|
97
97
|
} from "./chunk-6BNTGNGD.js";
|
|
98
98
|
import {
|
|
99
99
|
withMeta
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-TZEKVLPV.js";
|
|
101
101
|
import {
|
|
102
102
|
normalizeErrorMessage
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-T2EUWCJE.js";
|
|
104
104
|
|
|
105
105
|
// src/commands/check.ts
|
|
106
106
|
import { randomUUID } from "crypto";
|
|
@@ -143,11 +143,18 @@ var CheckDeadline = class {
|
|
|
143
143
|
phase = "waiting";
|
|
144
144
|
work;
|
|
145
145
|
spent = /* @__PURE__ */ new Map();
|
|
146
|
+
partials = [];
|
|
146
147
|
constructor() {
|
|
147
148
|
this.expiry = new Promise((_, reject) => {
|
|
148
149
|
this.rejectExpiry = reject;
|
|
149
150
|
});
|
|
150
151
|
}
|
|
152
|
+
keepPartial = (read) => {
|
|
153
|
+
this.partials.push(read);
|
|
154
|
+
};
|
|
155
|
+
partialResult() {
|
|
156
|
+
return Object.assign({}, ...this.partials.map((read) => read()));
|
|
157
|
+
}
|
|
151
158
|
enter = (phase) => {
|
|
152
159
|
if (this.expired) return;
|
|
153
160
|
const now = Date.now();
|
|
@@ -613,7 +620,7 @@ function round(value) {
|
|
|
613
620
|
|
|
614
621
|
// src/utils/hdrPromotion.ts
|
|
615
622
|
async function bundleProjectHtml(projectDir) {
|
|
616
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
623
|
+
const { bundleToSingleHtml } = await import("./compiler-R4UYDWXO.js");
|
|
617
624
|
return bundleToSingleHtml(projectDir);
|
|
618
625
|
}
|
|
619
626
|
async function collectBundledRenderMedia(html) {
|
|
@@ -973,7 +980,7 @@ async function collectSampleAt(driver, options, grid, motion, sets, time) {
|
|
|
973
980
|
await collectContrastAt(driver, options, time, issuesAtTime, collected);
|
|
974
981
|
return collected;
|
|
975
982
|
}
|
|
976
|
-
async function collectGridSamples(driver, options, grid, motion, helpers, enter, report) {
|
|
983
|
+
async function collectGridSamples(driver, options, grid, motion, helpers, enter, report, keep) {
|
|
977
984
|
const geometryEnabled = grid.captionSamples.length > 0 || grid.frameSamples.length > 0;
|
|
978
985
|
const sets = {
|
|
979
986
|
layout: new Set(grid.layoutSamples),
|
|
@@ -984,6 +991,17 @@ async function collectGridSamples(driver, options, grid, motion, helpers, enter,
|
|
|
984
991
|
const times = mergeSampleTimes(grid.layoutSamples, motion.times);
|
|
985
992
|
const pending = times.map((_, index) => index);
|
|
986
993
|
const perTime = [];
|
|
994
|
+
keep(() => {
|
|
995
|
+
const so = emptyGridSamples();
|
|
996
|
+
for (const samples of perTime) if (samples) appendGridSamples(so, samples);
|
|
997
|
+
const contrast = buildContrastResults(so.contrastEntries);
|
|
998
|
+
return {
|
|
999
|
+
layoutIssues: so.layoutIssues,
|
|
1000
|
+
contrastFindings: contrast.findings,
|
|
1001
|
+
contrastChecked: so.contrastEntries.length,
|
|
1002
|
+
contrastPassed: contrast.passed
|
|
1003
|
+
};
|
|
1004
|
+
});
|
|
987
1005
|
let finished = 0;
|
|
988
1006
|
const work = async (worker, taken = []) => {
|
|
989
1007
|
for (let index = pending.shift(); index !== void 0; index = pending.shift()) {
|
|
@@ -1607,6 +1625,7 @@ function disabledCraft() {
|
|
|
1607
1625
|
}
|
|
1608
1626
|
async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([]), enter = () => {
|
|
1609
1627
|
}, report = () => {
|
|
1628
|
+
}, keep = () => {
|
|
1610
1629
|
}) {
|
|
1611
1630
|
enter("samples");
|
|
1612
1631
|
await driver.initialize(options.contrast);
|
|
@@ -1617,7 +1636,16 @@ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([
|
|
|
1617
1636
|
grid.duration
|
|
1618
1637
|
);
|
|
1619
1638
|
const seekLoopStart = Date.now();
|
|
1620
|
-
const collected = await collectGridSamples(
|
|
1639
|
+
const collected = await collectGridSamples(
|
|
1640
|
+
driver,
|
|
1641
|
+
options,
|
|
1642
|
+
grid,
|
|
1643
|
+
plan,
|
|
1644
|
+
helpers,
|
|
1645
|
+
enter,
|
|
1646
|
+
report,
|
|
1647
|
+
keep
|
|
1648
|
+
);
|
|
1621
1649
|
const seekLoopMs = Date.now() - seekLoopStart;
|
|
1622
1650
|
let motionIssues = plan.preflightIssues;
|
|
1623
1651
|
if (motion.kind === "valid" && plan.assertions.length > 0 && collected.motionFrames.length > 0) {
|
|
@@ -1757,8 +1785,9 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
|
|
|
1757
1785
|
() => dependencies.runBrowserCheck(project, options, motion, deadline, browserAhead)
|
|
1758
1786
|
);
|
|
1759
1787
|
} catch (error) {
|
|
1760
|
-
|
|
1761
|
-
browser.
|
|
1788
|
+
const found = deadline.partialResult();
|
|
1789
|
+
browser = { ...emptyBrowserResult(), ...found, skipped: Object.keys(found).length === 0 };
|
|
1790
|
+
browser.runtimeFindings = [...browser.runtimeFindings, runtimeFailure(error)];
|
|
1762
1791
|
}
|
|
1763
1792
|
const snapshotFiles = options.snapshots ? await writeContrastSnapshots(dependencies, project.dir, browser) : [];
|
|
1764
1793
|
const report = buildReport(
|
|
@@ -2162,7 +2191,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2162
2191
|
};
|
|
2163
2192
|
}
|
|
2164
2193
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2165
|
-
const module = await import("./checkBrowser-
|
|
2194
|
+
const module = await import("./checkBrowser-QH4FMCBO.js");
|
|
2166
2195
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2167
2196
|
}
|
|
2168
2197
|
var adoptedBrowser;
|
|
@@ -2176,7 +2205,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2176
2205
|
if (adopted) return adopted;
|
|
2177
2206
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2178
2207
|
if (html === void 0) return void 0;
|
|
2179
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2208
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-ATNNKUL5.js");
|
|
2180
2209
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2181
2210
|
}
|
|
2182
2211
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2188,7 +2217,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2188
2217
|
return relative(projectDir, path);
|
|
2189
2218
|
}
|
|
2190
2219
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2191
|
-
const module = await import("./checkBrowser-
|
|
2220
|
+
const module = await import("./checkBrowser-QH4FMCBO.js");
|
|
2192
2221
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2193
2222
|
}
|
|
2194
2223
|
var DEFAULT_DEPENDENCIES2 = {
|
|
@@ -2227,7 +2256,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2227
2256
|
}
|
|
2228
2257
|
},
|
|
2229
2258
|
async prepareMedia(project, options) {
|
|
2230
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2259
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-JLB2OYMT.js");
|
|
2231
2260
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2232
2261
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2233
2262
|
},
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
} from "./chunk-MRF4AMKD.js";
|
|
11
11
|
import {
|
|
12
12
|
loadSharp
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EXAX37XR.js";
|
|
14
14
|
import {
|
|
15
15
|
createCaptureDownloadBudget,
|
|
16
16
|
readBoundedResponse
|
|
17
17
|
} from "./chunk-AWDFDFI3.js";
|
|
18
18
|
import {
|
|
19
19
|
isBlockedNetworkHost
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-L4JB7LI4.js";
|
|
21
21
|
import {
|
|
22
22
|
DOMParser,
|
|
23
23
|
parseHTML
|
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setHostHandlesSigint
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L4JB7LI4.js";
|
|
10
10
|
import {
|
|
11
11
|
processAncestorSnapshot,
|
|
12
12
|
processIdentity,
|
|
13
13
|
processParentPid
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IW5G323T.js";
|
|
15
15
|
import {
|
|
16
16
|
processIsAlive
|
|
17
17
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6N65ZMC5.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isAuthError,
|
|
14
14
|
isTokenExpired,
|
|
15
15
|
tryResolveCredential
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ELP5QZWL.js";
|
|
17
17
|
import {
|
|
18
18
|
CSS_URL_RE,
|
|
19
19
|
isNonRelativeUrl,
|