hyperframes 0.8.141 → 0.8.142
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-KH2CF4FD.js → add-YS2RCWEK.js} +11 -11
- package/dist/{animatedGifPrep-QO4BSKR7.js → animatedGifPrep-SAMCDT7T.js} +6 -7
- package/dist/{asset-4RDZILVJ.js → asset-BLWC2NWB.js} +2 -2
- package/dist/{assetCataloger-WGR4LYYN.js → assetCataloger-FVNBBRP3.js} +2 -2
- package/dist/{auth-WYQCOYE5.js → auth-DRZB7OAC.js} +5 -4
- package/dist/{autoUpdate-PC5TN3NL.js → autoUpdate-I5I3BOJK.js} +2 -2
- package/dist/{backgroundChecks-7M3T44EP.js → backgroundChecks-VR2QHGNY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-GOLLOE4V.js → batchRender-4YUHQI6X.js} +3 -3
- package/dist/{beats-XJ7WP6QS.js → beats-7OT7ALV3.js} +11 -12
- package/dist/{benchmark-HCGFBEZJ.js → benchmark-Q2XQCRTR.js} +8 -8
- package/dist/{browser-VQKO2FKG.js → browser-7VAWQQZC.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-FH7PHTTX.js → bundleWithLocalizedFonts-DDMLLL2R.js} +2 -2
- package/dist/{capture-TFZZSF6F.js → capture-HEJS6M5A.js} +74 -33
- package/dist/{capture-XD3P3YQR.js → capture-U7ABPKS5.js} +24 -8
- package/dist/{catalog-4S33QWJJ.js → catalog-DVJ3XPDN.js} +11 -11
- package/dist/{catch-up-RW7YXXNT.js → catch-up-DF6AVSN2.js} +4 -4
- package/dist/{check-XVTRRN4Y.js → check-KXORRWAE.js} +75 -72
- package/dist/{checkBrowser-HZXJ2EDU.js → checkBrowser-J7HZJTRH.js} +28 -29
- package/dist/{chunk-XTFJOR3K.js → chunk-4SFGME7K.js} +1 -1
- package/dist/{chunk-EDYBFSPE.js → chunk-6RAD4BCC.js} +5 -8
- package/dist/{chunk-4BB7V6AI.js → chunk-6UM3R7PP.js} +1 -1
- package/dist/{chunk-BM5PX3DJ.js → chunk-6UYZB4TY.js} +1 -1
- package/dist/{chunk-L3JSAB4L.js → chunk-75JJVANE.js} +2 -2
- package/dist/{chunk-IV7EI5E2.js → chunk-7FCDA4RH.js} +1 -1
- package/dist/{chunk-HKCNZITN.js → chunk-AM5L5YIA.js} +1 -1
- package/dist/{chunk-BRITLL56.js → chunk-B4P5VDFQ.js} +1 -1
- package/dist/{chunk-IO7ZIDRP.js → chunk-B6SMSALD.js} +53 -12
- package/dist/{chunk-XWVGSEUT.js → chunk-BPZVDBHY.js} +1 -1
- package/dist/{chunk-246MOR5U.js → chunk-DKSDVDXG.js} +175 -162
- package/dist/{chunk-35RSNI77.js → chunk-DPHJKWP5.js} +2 -2
- package/dist/{chunk-W6HTOVHU.js → chunk-DZEVA7DI.js} +2 -2
- package/dist/{chunk-AVWEIOEN.js → chunk-EFDXGAAD.js} +1 -1
- package/dist/{chunk-3A5AAPMP.js → chunk-FWRNQOLT.js} +1 -1
- package/dist/{chunk-GS6FE3IW.js → chunk-FZK35GT4.js} +1 -1
- package/dist/{chunk-RPYPW5NN.js → chunk-GYE63V4P.js} +10 -10
- package/dist/{chunk-R7UDXKI3.js → chunk-H2X52H2N.js} +3 -3
- package/dist/{chunk-3NBKW2QJ.js → chunk-HMUF7FEO.js} +1 -1
- package/dist/{chunk-E6SDW5FV.js → chunk-IDX52YJN.js} +5 -5
- package/dist/{chunk-OLDDJS3S.js → chunk-IMY4QQTQ.js} +7 -7
- package/dist/{chunk-WY5OODN5.js → chunk-IW2CKH6A.js} +3645 -3
- package/dist/{chunk-KFH6UD26.js → chunk-IXCTG2WY.js} +3 -3
- package/dist/chunk-J4UX3RS3.js +3717 -0
- package/dist/{chunk-IYFKBFTW.js → chunk-JLKMWY2T.js} +1 -1
- package/dist/{chunk-IKVBTDLO.js → chunk-JOTLPC6S.js} +1 -1
- package/dist/{chunk-6IFXWJDX.js → chunk-JU6Y5TTZ.js} +2 -2
- package/dist/{chunk-YURXPGAM.js → chunk-KYN364DU.js} +2 -2
- package/dist/{chunk-RCFCZT5O.js → chunk-LBKDQKWV.js} +1 -1
- package/dist/{chunk-TC2FBZJZ.js → chunk-LJAU4TPS.js} +1 -1
- package/dist/{chunk-34TXESM7.js → chunk-LQASVU3I.js} +3 -3
- package/dist/{chunk-NORZWWLK.js → chunk-LTGGTEMA.js} +2 -2
- package/dist/{chunk-K2GOFLTX.js → chunk-MVTUV4TP.js} +2 -2
- package/dist/{chunk-A7YQNIQT.js → chunk-OKCR3JTO.js} +104 -4
- package/dist/{chunk-O3SKIXQK.js → chunk-OSUKETIH.js} +1 -1
- package/dist/chunk-P36MALQF.js +15 -0
- package/dist/{chunk-P6E4HFFU.js → chunk-QGRFOOLE.js} +8 -8
- package/dist/{chunk-Q65ZQFF2.js → chunk-QXPCARFE.js} +1 -1
- package/dist/{chunk-E4BSCXMU.js → chunk-R2JEKLDZ.js} +1 -1
- package/dist/{chunk-EKA4ZZBI.js → chunk-TY6XOHEM.js} +1 -1
- package/dist/{chunk-INI3TM6I.js → chunk-WGVOWWVK.js} +2 -2
- package/dist/{chunk-XDSOIJC3.js → chunk-WSGY5CDQ.js} +5 -5
- package/dist/{chunk-J5IPIQU2.js → chunk-WTMUCJ6Z.js} +1 -1
- package/dist/{chunk-7XTZVLE6.js → chunk-XGMNQQTJ.js} +1 -1
- package/dist/{chunk-N77KD7ZZ.js → chunk-XTLBLWOV.js} +1 -1
- package/dist/{chunk-6E6CM7WS.js → chunk-YFT3BL7N.js} +1 -1
- package/dist/{chunk-6Q6FR4KH.js → chunk-YHRZQJXH.js} +43 -29
- package/dist/{clean-L2E4VD57.js → clean-KTHTV5G5.js} +12 -13
- package/dist/cli.js +52 -52
- package/dist/{cloud-IDUQRYLO.js → cloud-ARSZWALC.js} +4 -4
- package/dist/{cloudrun-R3JXWXGG.js → cloudrun-NM7RXOCL.js} +3 -3
- package/dist/commands/layout-audit.browser.js +20 -20
- package/dist/{compare-VYBWSP3Y.js → compare-CY4UO3RW.js} +23 -24
- package/dist/{compiler-ACHWOU5N.js → compiler-VTH2D3ID.js} +3 -4
- package/dist/{component-PYYV2V3F.js → component-FRUIAXIR.js} +3 -3
- package/dist/{compositions-B5GQSXH7.js → compositions-CUSY6ZYY.js} +10 -11
- package/dist/{delete-EAX2U3WI.js → delete-KT3VHP4L.js} +5 -5
- package/dist/{dist-ROUDWGLO.js → dist-2GC6XKRQ.js} +2 -2
- package/dist/{dist-NZSQCYOF.js → dist-7SZU7MA7.js} +1 -2
- package/dist/{doctor-PJX7MLFG.js → doctor-4ROTBL5U.js} +8 -9
- package/dist/{events-SBC54MHO.js → events-Q5PXT5UC.js} +2 -2
- package/dist/{events-YFFXKAQQ.js → events-QJDVMKSR.js} +3 -3
- package/dist/{feedback-UETLWREV.js → feedback-PQ7TWESA.js} +10 -10
- package/dist/{figma-QDSJPIRW.js → figma-JN5DDBDS.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -9
- package/dist/{get-B5TS6C7H.js → get-KT6OTERO.js} +5 -5
- package/dist/{gpuPolicy-LYOVBAJP.js → gpuPolicy-LCBWVGEH.js} +6 -7
- package/dist/{grade-compare-LBIHMAUN.js → grade-compare-VS3RP73G.js} +23 -24
- package/dist/{help-XBP6A6LT.js → help-AD6FIZIO.js} +1 -1
- package/dist/{history-2S42ZXKL.js → history-ZRWYRY7R.js} +5 -5
- package/dist/hyperframe-runtime.js +2 -2
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +2 -2
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-I2VDAWT7.js → info-WBBQA2AX.js} +7 -7
- package/dist/{init-BGHSDODI.js → init-A2XBDFGF.js} +21 -22
- package/dist/{inspect-MZK5B5RP.js → inspect-CLTZHA5O.js} +24 -25
- package/dist/{installer-LL4QAKFW.js → installer-WQDRVXH4.js} +4 -4
- package/dist/{keyframes-2EBF7OSS.js → keyframes-3FYOK6H6.js} +6 -6
- package/dist/{lambda-XKFPAOFE.js → lambda-Y2PA2BGS.js} +4 -4
- package/dist/{layout-TP5ERKEF.js → layout-4KP5O7IJ.js} +24 -25
- package/dist/{lint-FQ6CEI7E.js → lint-V4GRFHOJ.js} +7 -8
- package/dist/{lintProject-LM3XZRPZ.js → lintProject-RG2KGAXB.js} +1 -2
- package/dist/{list-FRNUJXZ3.js → list-OQ4VED6E.js} +5 -5
- package/dist/{login-C25QU3BQ.js → login-W47NKN5S.js} +20 -24
- package/dist/{logout-GJXZQKOA.js → logout-B4KS4A7S.js} +6 -6
- package/dist/{media-treatment-DCANGWSV.js → media-treatment-HJYL3EME.js} +43 -24
- package/dist/{models-GOD6ARB3.js → models-DYBAD2GQ.js} +7 -8
- package/dist/{motionShot-FSKETANX.js → motionShot-7NE2YBB3.js} +12 -13
- package/dist/{normalize-audio-C2IM7OID.js → normalize-audio-INKCLMS2.js} +4 -4
- package/dist/{open-VVISXIII.js → open-TYC5THVY.js} +4 -4
- package/dist/{pipeline-7YHZPYIS.js → pipeline-EVKEPQEW.js} +6 -7
- package/dist/{play-DSELK7G3.js → play-QMZEM6X3.js} +17 -18
- package/dist/{present-N72YFDKP.js → present-Y7IK3C4W.js} +13 -14
- package/dist/{preview-XTYN4NJ2.js → preview-5OQRYE6A.js} +16 -17
- package/dist/{producer-NDCU3MHK.js → producer-Q6G6JU7B.js} +1 -1
- package/dist/{projectConfig-MH4QU4AC.js → projectConfig-RJN3DKDB.js} +6 -6
- package/dist/{publication-KUSHI5MG.js → publication-QCPGGN3U.js} +2 -2
- package/dist/{publish-3XEEFWMF.js → publish-VZLFIGYY.js} +15 -15
- package/dist/{refresh-MFITBIKV.js → refresh-PVHBEABE.js} +2 -2
- package/dist/{remove-background-2QKJ7XOD.js → remove-background-TKOEHBA5.js} +7 -8
- package/dist/{render-S73DW4KK.js → render-KIIIF6PS.js} +13 -13
- package/dist/{render-2DVYTVLQ.js → render-X3NFNVEQ.js} +19 -20
- package/dist/{render-75E342ZU.js → render-XTXE5CRU.js} +3 -3
- package/dist/{render-batch-YURBS54Q.js → render-batch-M55YZLZ5.js} +3 -3
- package/dist/{renderCancellation-373ASJTO.js → renderCancellation-X5BEHAZU.js} +6 -7
- package/dist/renderSetupWorker.js +1 -2
- package/dist/{resolver-FE3GBZ4T.js → resolver-GAMXRA42.js} +4 -4
- package/dist/{screenshotCapture-ECBTLCU6.js → screenshotCapture-TEUIWXWN.js} +53 -33
- package/dist/{sherpa-B2D3AGP6.js → sherpa-ZYTNFHD5.js} +7 -8
- package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
- package/dist/skills/media-use/references/grading.md +4 -2
- package/dist/{skills-ICJ22CZZ.js → skills-CZHVAD3J.js} +5 -5
- package/dist/{skillsUpdateCheck-GXZN56I5.js → skillsUpdateCheck-6WLLX53A.js} +3 -3
- package/dist/{snapshot-XHKOAWF4.js → snapshot-K7BTJPYQ.js} +24 -25
- package/dist/{src-I7UC3JTL.js → src-3I3RH3V5.js} +5 -6
- package/dist/{src-74PFDTDX.js → src-YUW26JU5.js} +7 -8
- package/dist/{staticProjectServer-2DGKD6TF.js → staticProjectServer-IKCSGN2B.js} +13 -14
- package/dist/{status-JA6SKQVH.js → status-LXPGSSKY.js} +6 -4
- package/dist/studio/assets/{hyperframes-player-5Vx2AiUz.js → hyperframes-player-sAsRuV73.js} +1 -1
- package/dist/studio/assets/{index-C0thd4eM.js → index-B-wffzRH.js} +126 -126
- package/dist/studio/assets/{index-BAnh7cSQ.js → index-D3Vij9t1.js} +1 -1
- package/dist/studio/assets/{index-P8fgj_Xa.js → index-D5q2_7Gw.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +26 -15
- package/dist/studio/index.js.map +1 -1
- package/dist/{studio-api-PROBO7JG.js → studio-api-SQ3NXFSM.js} +7 -8
- package/dist/{studioServer-ID6UV2NE.js → studioServer-VVEO7XCH.js} +35 -36
- package/dist/{telemetry-65LFHIWH.js → telemetry-FQDKR5XA.js} +3 -3
- package/dist/{timeline-6UV3JJXD.js → timeline-N6ZASFNE.js} +13 -14
- package/dist/{tokens-HIL4TZXI.js → tokens-2OIIBBCW.js} +2 -2
- package/dist/{transcribe-TIO6W3EQ.js → transcribe-4F6MK73N.js} +7 -8
- package/dist/{transcribe-V7F6QDSN.js → transcribe-7YTUCXDX.js} +6 -6
- package/dist/{updateCheck-GZELANMA.js → updateCheck-AZ2COZFR.js} +2 -2
- package/dist/{upgrade-BX3KDDZJ.js → upgrade-QAJEYB4X.js} +2 -2
- package/dist/{urlDownloader-R76OHFIE.js → urlDownloader-LSMFEO3R.js} +5 -6
- package/dist/{validate-7UX4I443.js → validate-GW5MDL36.js} +15 -16
- package/dist/{video-RVGYEFQU.js → video-PRNOKUK3.js} +6 -7
- package/package.json +1 -1
- package/dist/chunk-24OWOBQH.js +0 -3656
- package/dist/chunk-SYKKFAUW.js +0 -3711
|
@@ -17,19 +17,19 @@ import {
|
|
|
17
17
|
remapTarget,
|
|
18
18
|
runAdd,
|
|
19
19
|
tagAddJson
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-IMY4QQTQ.js";
|
|
21
|
+
import "./chunk-BPZVDBHY.js";
|
|
22
|
+
import "./chunk-EFDXGAAD.js";
|
|
23
23
|
import "./chunk-XT7X6QCP.js";
|
|
24
24
|
import "./chunk-4YYJOFKS.js";
|
|
25
25
|
import "./chunk-HVW7ABXD.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-JOTLPC6S.js";
|
|
27
|
+
import "./chunk-75JJVANE.js";
|
|
28
|
+
import "./chunk-QXPCARFE.js";
|
|
29
29
|
import "./chunk-AWDFDFI3.js";
|
|
30
30
|
import "./chunk-P6LJ4Y32.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-XGMNQQTJ.js";
|
|
32
|
+
import "./chunk-LBKDQKWV.js";
|
|
33
33
|
import "./chunk-VWG7OQKU.js";
|
|
34
34
|
import "./chunk-GQJZORQP.js";
|
|
35
35
|
import "./chunk-AMKC3AXA.js";
|
|
@@ -38,10 +38,10 @@ import "./chunk-S3S4TGEH.js";
|
|
|
38
38
|
import "./chunk-54HJ63Q2.js";
|
|
39
39
|
import "./chunk-PBN6GBJE.js";
|
|
40
40
|
import "./chunk-USDEMXXL.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-YFT3BL7N.js";
|
|
42
42
|
import "./chunk-OZUQF4NB.js";
|
|
43
43
|
import "./chunk-DPVXBVLL.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-J4UX3RS3.js";
|
|
45
45
|
import "./chunk-VC76R6W2.js";
|
|
46
46
|
import "./chunk-YA62XGXS.js";
|
|
47
47
|
import "./chunk-OFQWTKPW.js";
|
|
@@ -57,7 +57,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
57
57
|
import "./chunk-XUXGIA7H.js";
|
|
58
58
|
import "./chunk-WERLJGIC.js";
|
|
59
59
|
import "./chunk-ISN5GRYI.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-DZEVA7DI.js";
|
|
61
61
|
import "./chunk-KNU5COPB.js";
|
|
62
62
|
import "./chunk-ZTZA4UWZ.js";
|
|
63
63
|
import "./chunk-M2WBOQ2Q.js";
|
|
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
buildAnimatedGifTranscodeArgs,
|
|
9
9
|
prepareAnimatedGifInputs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WGVOWWVK.js";
|
|
11
11
|
import "./chunk-BZ56MTDX.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-IDX52YJN.js";
|
|
13
|
+
import "./chunk-DPHJKWP5.js";
|
|
14
14
|
import "./chunk-A4KQZXZI.js";
|
|
15
15
|
import "./chunk-USDEMXXL.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-YFT3BL7N.js";
|
|
17
17
|
import "./chunk-OZUQF4NB.js";
|
|
18
18
|
import "./chunk-DPVXBVLL.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-J4UX3RS3.js";
|
|
20
20
|
import "./chunk-VC76R6W2.js";
|
|
21
21
|
import "./chunk-YA62XGXS.js";
|
|
22
22
|
import "./chunk-OFQWTKPW.js";
|
|
@@ -24,8 +24,7 @@ import "./chunk-T76PLPD6.js";
|
|
|
24
24
|
import "./chunk-FXMKHHPO.js";
|
|
25
25
|
import "./chunk-RQVDTPGD.js";
|
|
26
26
|
import "./chunk-TWWSYAKJ.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-24OWOBQH.js";
|
|
27
|
+
import "./chunk-IW2CKH6A.js";
|
|
29
28
|
import "./chunk-JFKL3WAE.js";
|
|
30
29
|
import "./chunk-HBBJFK6I.js";
|
|
31
30
|
import "./chunk-PJ3HDUCY.js";
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
gatherAssetRefs,
|
|
10
10
|
runAssetImport,
|
|
11
11
|
runAssetImportMany
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-MVTUV4TP.js";
|
|
13
|
+
import "./chunk-R2JEKLDZ.js";
|
|
14
14
|
import "./chunk-IHFUKJOR.js";
|
|
15
15
|
import "./chunk-S3S4TGEH.js";
|
|
16
16
|
import "./chunk-PBN6GBJE.js";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parseAnimatedGifMetadata
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YFT3BL7N.js";
|
|
10
10
|
import "./chunk-OZUQF4NB.js";
|
|
11
11
|
import "./chunk-DPVXBVLL.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-J4UX3RS3.js";
|
|
13
13
|
import "./chunk-VC76R6W2.js";
|
|
14
14
|
import "./chunk-YA62XGXS.js";
|
|
15
15
|
import "./chunk-OFQWTKPW.js";
|
|
@@ -37,6 +37,7 @@ ${c.bold("SUBCOMMANDS:")}
|
|
|
37
37
|
${c.bold("ENV VARS:")}
|
|
38
38
|
${c.accent("HEYGEN_API_KEY")} Override the stored credential.
|
|
39
39
|
${c.accent("HYPERFRAMES_API_KEY")} Alias for HEYGEN_API_KEY.
|
|
40
|
+
${c.accent("HEYGEN_ACCESS_TOKEN")} OAuth token from a host app; used after the API keys, never refreshed or saved.
|
|
40
41
|
${c.accent("HEYGEN_API_URL")} Override the API base URL (default https://api.heygen.com).
|
|
41
42
|
${c.accent("HEYGEN_CONFIG_DIR")} Override the credentials directory (default ~/.heygen).
|
|
42
43
|
${c.accent("HYPERFRAMES_OAUTH_CLIENT_ID")} Override the OAuth client_id (for dev/test).
|
|
@@ -45,10 +46,10 @@ ${c.bold("ENV VARS:")}
|
|
|
45
46
|
var auth_default = defineCommand({
|
|
46
47
|
meta: { name: "auth", description: "Sign in to HeyGen and manage credentials" },
|
|
47
48
|
subCommands: {
|
|
48
|
-
login: () => import("./login-
|
|
49
|
-
status: () => import("./status-
|
|
50
|
-
logout: () => import("./logout-
|
|
51
|
-
refresh: () => import("./refresh-
|
|
49
|
+
login: () => import("./login-W47NKN5S.js").then((m) => m.default),
|
|
50
|
+
status: () => import("./status-LXPGSSKY.js").then((m) => m.default),
|
|
51
|
+
logout: () => import("./logout-B4KS4A7S.js").then((m) => m.default),
|
|
52
|
+
refresh: () => import("./refresh-PVHBEABE.js").then((m) => m.default)
|
|
52
53
|
},
|
|
53
54
|
async run({ args }) {
|
|
54
55
|
if (!args._?.[0]) console.log(HELP);
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
detectInstaller,
|
|
13
13
|
installInvocation,
|
|
14
14
|
updateCheckDisabled
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JLKMWY2T.js";
|
|
16
16
|
import "./chunk-K4WIOZFP.js";
|
|
17
17
|
import {
|
|
18
18
|
readConfig,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-XUXGIA7H.js";
|
|
22
22
|
import "./chunk-WERLJGIC.js";
|
|
23
23
|
import "./chunk-ISN5GRYI.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-DZEVA7DI.js";
|
|
25
25
|
import "./chunk-KNU5COPB.js";
|
|
26
26
|
import "./chunk-M2WBOQ2Q.js";
|
|
27
27
|
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
skillsCheckDue
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FZK35GT4.js";
|
|
10
10
|
import {
|
|
11
11
|
updateCheckDue
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JLKMWY2T.js";
|
|
13
13
|
import "./chunk-K4WIOZFP.js";
|
|
14
14
|
import {
|
|
15
15
|
readConfig,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-XUXGIA7H.js";
|
|
19
19
|
import "./chunk-WERLJGIC.js";
|
|
20
20
|
import "./chunk-ISN5GRYI.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-DZEVA7DI.js";
|
|
22
22
|
import "./chunk-KNU5COPB.js";
|
|
23
23
|
import "./chunk-M2WBOQ2Q.js";
|
|
24
24
|
|
|
@@ -6,15 +6,15 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshSkillsCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FZK35GT4.js";
|
|
10
10
|
import {
|
|
11
11
|
checkForUpdate
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JLKMWY2T.js";
|
|
13
13
|
import "./chunk-K4WIOZFP.js";
|
|
14
14
|
import "./chunk-XUXGIA7H.js";
|
|
15
15
|
import "./chunk-WERLJGIC.js";
|
|
16
16
|
import "./chunk-ISN5GRYI.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-DZEVA7DI.js";
|
|
18
18
|
import "./chunk-KNU5COPB.js";
|
|
19
19
|
import "./chunk-M2WBOQ2Q.js";
|
|
20
20
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
loadProjectVariableSchema,
|
|
9
9
|
reportVariableIssues,
|
|
10
10
|
validateVariablesAgainstSchema
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6UYZB4TY.js";
|
|
12
12
|
import {
|
|
13
13
|
errorBox
|
|
14
14
|
} from "./chunk-IHFUKJOR.js";
|
|
@@ -16,10 +16,10 @@ import "./chunk-PFCFR3KZ.js";
|
|
|
16
16
|
import {
|
|
17
17
|
failCommand
|
|
18
18
|
} from "./chunk-PBN6GBJE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-YFT3BL7N.js";
|
|
20
20
|
import "./chunk-OZUQF4NB.js";
|
|
21
21
|
import "./chunk-DPVXBVLL.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-J4UX3RS3.js";
|
|
23
23
|
import "./chunk-VC76R6W2.js";
|
|
24
24
|
import "./chunk-YA62XGXS.js";
|
|
25
25
|
import "./chunk-OFQWTKPW.js";
|
|
@@ -6,14 +6,14 @@ 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-LJAU4TPS.js";
|
|
10
10
|
import {
|
|
11
11
|
launchManagedBrowser
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OSUKETIH.js";
|
|
13
13
|
import "./chunk-IHFUKJOR.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-WTMUCJ6Z.js";
|
|
15
|
+
import "./chunk-XGMNQQTJ.js";
|
|
16
|
+
import "./chunk-LBKDQKWV.js";
|
|
17
17
|
import "./chunk-VWG7OQKU.js";
|
|
18
18
|
import "./chunk-GQJZORQP.js";
|
|
19
19
|
import "./chunk-AMKC3AXA.js";
|
|
@@ -24,14 +24,14 @@ import "./chunk-54HJ63Q2.js";
|
|
|
24
24
|
import {
|
|
25
25
|
failCommand
|
|
26
26
|
} from "./chunk-PBN6GBJE.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-IDX52YJN.js";
|
|
28
|
+
import "./chunk-DPHJKWP5.js";
|
|
29
29
|
import "./chunk-A4KQZXZI.js";
|
|
30
30
|
import "./chunk-USDEMXXL.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-YFT3BL7N.js";
|
|
32
32
|
import "./chunk-OZUQF4NB.js";
|
|
33
33
|
import "./chunk-DPVXBVLL.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-J4UX3RS3.js";
|
|
35
35
|
import "./chunk-VC76R6W2.js";
|
|
36
36
|
import "./chunk-YA62XGXS.js";
|
|
37
37
|
import "./chunk-OFQWTKPW.js";
|
|
@@ -39,8 +39,7 @@ import "./chunk-T76PLPD6.js";
|
|
|
39
39
|
import "./chunk-FXMKHHPO.js";
|
|
40
40
|
import "./chunk-RQVDTPGD.js";
|
|
41
41
|
import "./chunk-TWWSYAKJ.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-24OWOBQH.js";
|
|
42
|
+
import "./chunk-IW2CKH6A.js";
|
|
44
43
|
import "./chunk-JFKL3WAE.js";
|
|
45
44
|
import "./chunk-HBBJFK6I.js";
|
|
46
45
|
import "./chunk-PJ3HDUCY.js";
|
|
@@ -52,7 +51,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
52
51
|
import "./chunk-XUXGIA7H.js";
|
|
53
52
|
import "./chunk-WERLJGIC.js";
|
|
54
53
|
import "./chunk-ISN5GRYI.js";
|
|
55
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-DZEVA7DI.js";
|
|
56
55
|
import "./chunk-KNU5COPB.js";
|
|
57
56
|
import "./chunk-3GXQPCJC.js";
|
|
58
57
|
import {
|
|
@@ -6,17 +6,17 @@ 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-XTLBLWOV.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LJAU4TPS.js";
|
|
13
13
|
import {
|
|
14
14
|
errorBox,
|
|
15
15
|
formatBytes,
|
|
16
16
|
formatDuration
|
|
17
17
|
} from "./chunk-IHFUKJOR.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-XGMNQQTJ.js";
|
|
19
|
+
import "./chunk-LBKDQKWV.js";
|
|
20
20
|
import "./chunk-VWG7OQKU.js";
|
|
21
21
|
import "./chunk-GQJZORQP.js";
|
|
22
22
|
import "./chunk-AMKC3AXA.js";
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
import "./chunk-USDEMXXL.js";
|
|
34
34
|
import {
|
|
35
35
|
fpsToFfmpegArg
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YFT3BL7N.js";
|
|
37
37
|
import "./chunk-OZUQF4NB.js";
|
|
38
38
|
import "./chunk-DPVXBVLL.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-J4UX3RS3.js";
|
|
40
40
|
import "./chunk-VC76R6W2.js";
|
|
41
41
|
import "./chunk-YA62XGXS.js";
|
|
42
42
|
import "./chunk-OFQWTKPW.js";
|
|
@@ -49,12 +49,12 @@ import "./chunk-2PSPARWP.js";
|
|
|
49
49
|
import "./chunk-PMRBLBUP.js";
|
|
50
50
|
import {
|
|
51
51
|
withMeta
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-JLKMWY2T.js";
|
|
53
53
|
import "./chunk-K4WIOZFP.js";
|
|
54
54
|
import "./chunk-XUXGIA7H.js";
|
|
55
55
|
import "./chunk-WERLJGIC.js";
|
|
56
56
|
import "./chunk-ISN5GRYI.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-DZEVA7DI.js";
|
|
58
58
|
import "./chunk-KNU5COPB.js";
|
|
59
59
|
import {
|
|
60
60
|
c
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
} from "./chunk-IHFUKJOR.js";
|
|
10
10
|
import {
|
|
11
11
|
trackBrowserInstall
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-XGMNQQTJ.js";
|
|
13
|
+
import "./chunk-LBKDQKWV.js";
|
|
14
14
|
import "./chunk-VWG7OQKU.js";
|
|
15
15
|
import "./chunk-GQJZORQP.js";
|
|
16
16
|
import "./chunk-AMKC3AXA.js";
|
|
@@ -44,7 +44,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
44
44
|
import "./chunk-XUXGIA7H.js";
|
|
45
45
|
import "./chunk-WERLJGIC.js";
|
|
46
46
|
import "./chunk-ISN5GRYI.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-DZEVA7DI.js";
|
|
48
48
|
import "./chunk-KNU5COPB.js";
|
|
49
49
|
import {
|
|
50
50
|
c
|
|
@@ -14,13 +14,13 @@ import "./chunk-M2WBOQ2Q.js";
|
|
|
14
14
|
|
|
15
15
|
// src/utils/bundleWithLocalizedFonts.ts
|
|
16
16
|
async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer) {
|
|
17
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
17
|
+
const { bundleToSingleHtml } = await import("./compiler-VTH2D3ID.js");
|
|
18
18
|
const html = await bundleToSingleHtml(projectDir);
|
|
19
19
|
return localizeFonts(html);
|
|
20
20
|
}
|
|
21
21
|
async function loadFontInjector() {
|
|
22
22
|
try {
|
|
23
|
-
const { loadProducer } = await import("./producer-
|
|
23
|
+
const { loadProducer } = await import("./producer-Q6G6JU7B.js");
|
|
24
24
|
const mod = await loadProducer();
|
|
25
25
|
return mod.injectDeterministicFontFaces ?? null;
|
|
26
26
|
} catch {
|
|
@@ -8,6 +8,10 @@ import {
|
|
|
8
8
|
createCaptureWatchdog,
|
|
9
9
|
runWithWatchdog
|
|
10
10
|
} from "./chunk-UYEZTK4U.js";
|
|
11
|
+
import {
|
|
12
|
+
CAPTURE_PHASE_SCHEMA,
|
|
13
|
+
DEFAULT_MAX_SCREENSHOTS
|
|
14
|
+
} from "./chunk-P36MALQF.js";
|
|
11
15
|
import {
|
|
12
16
|
CAPTURE_USER_AGENT,
|
|
13
17
|
downloadAndRewriteFonts,
|
|
@@ -17,7 +21,7 @@ import {
|
|
|
17
21
|
noDrops,
|
|
18
22
|
safeFetch,
|
|
19
23
|
totalDrops
|
|
20
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HMUF7FEO.js";
|
|
21
25
|
import {
|
|
22
26
|
captureProtocolTimeoutMs,
|
|
23
27
|
isDegradableEvaluateTimeoutError,
|
|
@@ -35,8 +39,8 @@ import {
|
|
|
35
39
|
} from "./chunk-3DKN5WKL.js";
|
|
36
40
|
import {
|
|
37
41
|
launchManagedBrowser
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-OSUKETIH.js";
|
|
43
|
+
import "./chunk-WTMUCJ6Z.js";
|
|
40
44
|
import {
|
|
41
45
|
writeNewFileSync
|
|
42
46
|
} from "./chunk-4YYJOFKS.js";
|
|
@@ -53,14 +57,14 @@ import {
|
|
|
53
57
|
} from "./chunk-NGKM64BP.js";
|
|
54
58
|
import "./chunk-IGLEPPTN.js";
|
|
55
59
|
import "./chunk-PBN6GBJE.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-IDX52YJN.js";
|
|
61
|
+
import "./chunk-DPHJKWP5.js";
|
|
58
62
|
import "./chunk-A4KQZXZI.js";
|
|
59
63
|
import "./chunk-USDEMXXL.js";
|
|
60
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-YFT3BL7N.js";
|
|
61
65
|
import "./chunk-OZUQF4NB.js";
|
|
62
66
|
import "./chunk-DPVXBVLL.js";
|
|
63
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-J4UX3RS3.js";
|
|
64
68
|
import "./chunk-VC76R6W2.js";
|
|
65
69
|
import "./chunk-YA62XGXS.js";
|
|
66
70
|
import "./chunk-OFQWTKPW.js";
|
|
@@ -68,8 +72,7 @@ import "./chunk-T76PLPD6.js";
|
|
|
68
72
|
import "./chunk-FXMKHHPO.js";
|
|
69
73
|
import "./chunk-RQVDTPGD.js";
|
|
70
74
|
import "./chunk-TWWSYAKJ.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-24OWOBQH.js";
|
|
75
|
+
import "./chunk-IW2CKH6A.js";
|
|
73
76
|
import "./chunk-JFKL3WAE.js";
|
|
74
77
|
import "./chunk-HBBJFK6I.js";
|
|
75
78
|
import "./chunk-PJ3HDUCY.js";
|
|
@@ -688,9 +691,6 @@ async function generateProjectScaffold(outputDir, url, tokens, animationCatalog,
|
|
|
688
691
|
}
|
|
689
692
|
}
|
|
690
693
|
|
|
691
|
-
// src/capture/types.ts
|
|
692
|
-
var CAPTURE_PHASE_SCHEMA = "hyperframes.capture.phase.v1";
|
|
693
|
-
|
|
694
694
|
// src/capture/browserLaunchArgs.ts
|
|
695
695
|
function captureBrowserArgs(disableWebgl, viewportWidth, viewportHeight) {
|
|
696
696
|
return [
|
|
@@ -3045,6 +3045,13 @@ async function runCoreExtraction(input) {
|
|
|
3045
3045
|
downloadByteBudget,
|
|
3046
3046
|
canWrite
|
|
3047
3047
|
} = input;
|
|
3048
|
+
const { maxScreenshots } = input;
|
|
3049
|
+
let exhaustedPhase = remainingMs() <= 0 ? "navigation checks" : void 0;
|
|
3050
|
+
const recordBudget = (phase) => {
|
|
3051
|
+
if (exhaustedPhase === void 0 && remainingMs() <= 0) exhaustedPhase = phase;
|
|
3052
|
+
};
|
|
3053
|
+
const animationWarning = () => remainingMs() > 0 ? "animation catalog evaluate timed out; continuing without animation catalog" : "--capture-budget spent before the animation catalog finished; continuing without animation catalog";
|
|
3054
|
+
let screenshotOutcome = { kind: "complete" };
|
|
3048
3055
|
const runLazyAndLottie = async () => {
|
|
3049
3056
|
if (!contentCheckTimedOut && pageContentCheck.textLength < 100) {
|
|
3050
3057
|
const reason = "Page has very little text content (" + pageContentCheck.textLength + " chars) \u2014 may be blocked or a client-rendered SPA that needs more time";
|
|
@@ -3066,6 +3073,7 @@ async function runCoreExtraction(input) {
|
|
|
3066
3073
|
await new Promise((r) => setTimeout(r, 300));
|
|
3067
3074
|
};
|
|
3068
3075
|
await runLazyAndLottie();
|
|
3076
|
+
recordBudget("lazy scrolling");
|
|
3069
3077
|
const runAnimationDiscovery = async () => {
|
|
3070
3078
|
const scanDomLotties = async () => {
|
|
3071
3079
|
try {
|
|
@@ -3124,6 +3132,7 @@ async function runCoreExtraction(input) {
|
|
|
3124
3132
|
await saveDiscoveredLotties();
|
|
3125
3133
|
};
|
|
3126
3134
|
await runAnimationDiscovery();
|
|
3135
|
+
recordBudget("animation discovery");
|
|
3127
3136
|
const runShaderCapture = async () => {
|
|
3128
3137
|
try {
|
|
3129
3138
|
const shaders = await page1.evaluate(`window.__capturedShaders || []`);
|
|
@@ -3148,6 +3157,7 @@ async function runCoreExtraction(input) {
|
|
|
3148
3157
|
}
|
|
3149
3158
|
};
|
|
3150
3159
|
await runShaderCapture();
|
|
3160
|
+
recordBudget("shader capture");
|
|
3151
3161
|
const runTokenExtraction = async () => {
|
|
3152
3162
|
progress("tokens", "Extracting design tokens...");
|
|
3153
3163
|
tokens = await extractTokens(page1);
|
|
@@ -3182,6 +3192,7 @@ ${err.stack}` : normalizeErrorMessage(err);
|
|
|
3182
3192
|
}
|
|
3183
3193
|
};
|
|
3184
3194
|
await runTokenExtraction();
|
|
3195
|
+
recordBudget("design token extraction");
|
|
3185
3196
|
const runAnimationCapture = async () => {
|
|
3186
3197
|
progress("animations", "Cataloging animations...");
|
|
3187
3198
|
try {
|
|
@@ -3191,7 +3202,7 @@ ${err.stack}` : normalizeErrorMessage(err);
|
|
|
3191
3202
|
});
|
|
3192
3203
|
animationCatalog = animationOutcome.catalog;
|
|
3193
3204
|
if (animationOutcome.timedOut) {
|
|
3194
|
-
const message =
|
|
3205
|
+
const message = animationWarning();
|
|
3195
3206
|
warnings.push(message);
|
|
3196
3207
|
progress("warn", message);
|
|
3197
3208
|
}
|
|
@@ -3199,7 +3210,7 @@ ${err.stack}` : normalizeErrorMessage(err);
|
|
|
3199
3210
|
if (!isDegradableEvaluateTimeoutError(err)) {
|
|
3200
3211
|
throw err;
|
|
3201
3212
|
}
|
|
3202
|
-
const message =
|
|
3213
|
+
const message = animationWarning();
|
|
3203
3214
|
warnings.push(message);
|
|
3204
3215
|
progress("warn", message);
|
|
3205
3216
|
try {
|
|
@@ -3207,27 +3218,48 @@ ${err.stack}` : normalizeErrorMessage(err);
|
|
|
3207
3218
|
} catch {
|
|
3208
3219
|
}
|
|
3209
3220
|
}
|
|
3221
|
+
recordBudget("animation catalog");
|
|
3222
|
+
};
|
|
3223
|
+
await runAnimationCapture();
|
|
3224
|
+
const runScreenshotCapture = async () => {
|
|
3210
3225
|
progress("screenshots", "Capturing scroll screenshots...");
|
|
3211
|
-
const { captureScrollScreenshots } = await import("./screenshotCapture-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3226
|
+
const { captureScrollScreenshots } = await import("./screenshotCapture-TEUIWXWN.js");
|
|
3227
|
+
if (!canWrite()) {
|
|
3228
|
+
screenshotOutcome = {
|
|
3229
|
+
kind: "failed",
|
|
3230
|
+
reason: "deadline"
|
|
3231
|
+
};
|
|
3232
|
+
return;
|
|
3233
|
+
}
|
|
3234
|
+
screenshots = [];
|
|
3235
|
+
state.screenshots = screenshots;
|
|
3236
|
+
const capture = await captureScrollScreenshots(page1, outputDir, {
|
|
3237
|
+
remainingMs,
|
|
3238
|
+
maxScreenshots,
|
|
3239
|
+
files: screenshots
|
|
3240
|
+
});
|
|
3241
|
+
if (capture.interruption || screenshots.length === 0) {
|
|
3242
|
+
recordBudget("screenshots");
|
|
3243
|
+
const { reason, message: detail } = capture.interruption ?? {
|
|
3244
|
+
reason: "internal-error",
|
|
3245
|
+
message: "screenshot capture produced no files"
|
|
3246
|
+
};
|
|
3247
|
+
const cause = reason === "budget-exhausted" ? `--capture-budget exhausted during ${exhaustedPhase}` : detail;
|
|
3248
|
+
const message = `${screenshots.length}/${maxScreenshots} requested screenshot files captured: ${cause}`;
|
|
3249
|
+
screenshotOutcome = {
|
|
3250
|
+
kind: screenshots.length === 0 ? "failed" : "partial",
|
|
3251
|
+
reason
|
|
3252
|
+
};
|
|
3222
3253
|
warnings.push(message);
|
|
3223
3254
|
progress("warn", message);
|
|
3224
3255
|
}
|
|
3256
|
+
progress("screenshots", `${screenshots.length} scroll screenshots captured`);
|
|
3225
3257
|
};
|
|
3226
|
-
await
|
|
3258
|
+
await runScreenshotCapture();
|
|
3227
3259
|
const runHtmlExtraction = async () => {
|
|
3228
3260
|
progress("design", "Cataloging assets...");
|
|
3229
3261
|
try {
|
|
3230
|
-
const { catalogAssets } = await import("./assetCataloger-
|
|
3262
|
+
const { catalogAssets } = await import("./assetCataloger-FVNBBRP3.js");
|
|
3231
3263
|
catalogedAssets = await catalogAssets(page1);
|
|
3232
3264
|
progress("design", `${catalogedAssets.length} assets cataloged`);
|
|
3233
3265
|
if (catalogedAssets.length === 0) {
|
|
@@ -3278,6 +3310,7 @@ ${err.stack}` : normalizeErrorMessage(err);
|
|
|
3278
3310
|
};
|
|
3279
3311
|
await runHtmlExtraction();
|
|
3280
3312
|
return {
|
|
3313
|
+
screenshotOutcome,
|
|
3281
3314
|
animationCatalog,
|
|
3282
3315
|
capturedShaders,
|
|
3283
3316
|
catalogedAssets,
|
|
@@ -3799,7 +3832,7 @@ async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, s
|
|
|
3799
3832
|
viewportHeight = 1080,
|
|
3800
3833
|
timeout = 12e4,
|
|
3801
3834
|
settleTime = 3e3,
|
|
3802
|
-
maxScreenshots
|
|
3835
|
+
maxScreenshots = DEFAULT_MAX_SCREENSHOTS,
|
|
3803
3836
|
skipAssets = false,
|
|
3804
3837
|
skipVision = false,
|
|
3805
3838
|
postNavigationBudgetMs = DEFAULT_POST_NAVIGATION_BUDGET_MS,
|
|
@@ -3959,7 +3992,8 @@ async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, s
|
|
|
3959
3992
|
extracted,
|
|
3960
3993
|
screenshots,
|
|
3961
3994
|
downloadByteBudget,
|
|
3962
|
-
canWrite
|
|
3995
|
+
canWrite,
|
|
3996
|
+
maxScreenshots
|
|
3963
3997
|
});
|
|
3964
3998
|
({
|
|
3965
3999
|
animationCatalog,
|
|
@@ -3972,7 +4006,9 @@ async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, s
|
|
|
3972
4006
|
extracted,
|
|
3973
4007
|
screenshots
|
|
3974
4008
|
} = coreResult);
|
|
3975
|
-
|
|
4009
|
+
const screenshotOutcome = coreResult.screenshotOutcome;
|
|
4010
|
+
if (screenshotOutcome.kind === "complete") phase("core-extraction", "completed");
|
|
4011
|
+
else phase("core-extraction", "degraded", screenshotOutcome.reason);
|
|
3976
4012
|
const postResult = await runPostExtraction({
|
|
3977
4013
|
state,
|
|
3978
4014
|
outputDir,
|
|
@@ -4012,10 +4048,15 @@ async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, s
|
|
|
4012
4048
|
);
|
|
4013
4049
|
}
|
|
4014
4050
|
phase("scaffold", "completed");
|
|
4015
|
-
progress(
|
|
4016
|
-
|
|
4051
|
+
progress(
|
|
4052
|
+
"done",
|
|
4053
|
+
screenshotOutcome.kind === "failed" ? "Capture failed: no screenshots captured" : "Capture complete"
|
|
4054
|
+
);
|
|
4055
|
+
if (screenshotOutcome.kind === "failed")
|
|
4056
|
+
phase("complete", "degraded", screenshotOutcome.reason);
|
|
4057
|
+
else phase("complete", "completed");
|
|
4017
4058
|
return {
|
|
4018
|
-
ok:
|
|
4059
|
+
ok: screenshotOutcome.kind !== "failed",
|
|
4019
4060
|
projectDir: outputDir,
|
|
4020
4061
|
url,
|
|
4021
4062
|
httpStatus,
|