hyperframes 0.8.111 → 0.8.112
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-M5WN2AM2.js → add-NIVC2YMT.js} +15 -15
- package/dist/{agentPromptGenerator-QL2KAWEP.js → agentPromptGenerator-VIIPZCJ3.js} +1 -1
- package/dist/{animatedGifPrep-NMGFOSIL.js → animatedGifPrep-NWAJKCHG.js} +6 -6
- package/dist/{asset-GUASPIKN.js → asset-O6JJKF3Z.js} +2 -2
- package/dist/{assetCataloger-FXEHOUA3.js → assetCataloger-DJSPW3RL.js} +2 -2
- package/dist/{auth-3YMEVUKJ.js → auth-6XRZQQQS.js} +2 -2
- package/dist/{autoUpdate-FYCGHBPC.js → autoUpdate-GZHLQBLS.js} +2 -2
- package/dist/{backgroundChecks-ZLYIRMTS.js → backgroundChecks-4QQRGJ5S.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ZTHFMHZY.js → batchRender-PJGNXN7F.js} +3 -3
- package/dist/{beats-GXY5ZBPB.js → beats-VYR6B4UB.js} +10 -10
- package/dist/{benchmark-MJFVBVNW.js → benchmark-CGP2NKIP.js} +12 -12
- package/dist/{browser-ZDI7IX6H.js → browser-ZWD4ETXK.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-4Q3ETTHW.js → bundleWithLocalizedFonts-JWHKLSZM.js} +2 -2
- package/dist/{capture-4OPH4PMK.js → capture-C4MPRLJV.js} +40 -42
- package/dist/{capture-OG6532RA.js → capture-IQ7AUK6M.js} +3 -3
- package/dist/{captureFile-JOPOCRU7.js → captureFile-LYOJOUIE.js} +3 -1
- package/dist/{catalog-23DP7KCW.js → catalog-RZ7PWQMS.js} +15 -15
- package/dist/{check-5X6BJA2P.js → check-7UU4SSO6.js} +50 -38
- package/dist/{checkBrowser-3QHBTMYM.js → checkBrowser-6KYNYIU7.js} +32 -31
- package/dist/{chunk-CFC3EEDQ.js → chunk-2BEOCUAG.js} +1 -1
- package/dist/{chunk-6CI65KCP.js → chunk-2GXKCB7J.js} +1 -1
- package/dist/{chunk-HQGJLZB6.js → chunk-36XLW2TP.js} +2 -2
- package/dist/{chunk-NH75EKOP.js → chunk-3Q7HXIXZ.js} +1 -1
- package/dist/{chunk-2JXJ5SGK.js → chunk-4BXTKKRD.js} +6 -6
- package/dist/{chunk-XYVFPDNU.js → chunk-5SDXALUQ.js} +1 -1
- package/dist/{chunk-ITBEN3QD.js → chunk-7G25WGTA.js} +2 -2
- package/dist/{chunk-YIXEH4TF.js → chunk-7OJSZTJK.js} +2 -2
- package/dist/{chunk-5ER3PYYP.js → chunk-7VIXEM6Q.js} +1 -1
- package/dist/{chunk-HPEHQUJX.js → chunk-A6GVXZZ3.js} +1 -1
- package/dist/{chunk-YLOSZHA2.js → chunk-BD3MHTSR.js} +2 -2
- package/dist/{chunk-Q2QNAFQV.js → chunk-BLI5XATY.js} +1 -1
- package/dist/{chunk-N32ITJ7L.js → chunk-BSBIG74E.js} +15 -12
- package/dist/{chunk-ZU54D6MI.js → chunk-BZGWHPRW.js} +3 -3
- package/dist/{chunk-B25H4M4V.js → chunk-C4JINRJK.js} +1 -1
- package/dist/{chunk-5ON5GH3X.js → chunk-CS4IE5G7.js} +1 -1
- package/dist/{chunk-EE6SV6KW.js → chunk-E664L6K3.js} +3 -3
- package/dist/{chunk-J4RPT4QW.js → chunk-E6RPWJVC.js} +1 -1
- package/dist/{chunk-TQKKC4MB.js → chunk-EA4LCCJI.js} +5 -5
- package/dist/{chunk-LFUXJBYA.js → chunk-GODQ5XA4.js} +16 -8
- package/dist/{chunk-LAQEZHOH.js → chunk-H3WFEPV2.js} +1 -1
- package/dist/{chunk-U4TDAJZE.js → chunk-J2S4MY2M.js} +2 -2
- package/dist/{chunk-CQRF7VU3.js → chunk-JRULOVZK.js} +1 -1
- package/dist/{chunk-C4TZBEHY.js → chunk-KIIKVKHB.js} +2 -2
- package/dist/{chunk-M224DAMG.js → chunk-KPSRL2NB.js} +1 -1
- package/dist/{chunk-JTTAS7N6.js → chunk-KQ3VNA6R.js} +1 -1
- package/dist/{chunk-ZXSNGIYS.js → chunk-KS5HFREQ.js} +4 -4
- package/dist/{chunk-AMSBTN6L.js → chunk-LYBFDHXD.js} +3 -3
- package/dist/{chunk-AWUZ3AUD.js → chunk-M4RYK5OF.js} +1 -1
- package/dist/chunk-MRF4AMKD.js +104 -0
- package/dist/{chunk-JWPSBANO.js → chunk-NOOBRCMC.js} +3 -3
- package/dist/{chunk-TIZQC44K.js → chunk-OWN3ZIIK.js} +1 -1
- package/dist/{chunk-NIGUNLOO.js → chunk-OXZO4WQI.js} +9 -8
- package/dist/{chunk-JUP65S7D.js → chunk-P3AQVFY2.js} +3 -3
- package/dist/{chunk-OF3RKOPU.js → chunk-P74PW7KR.js} +189 -111
- package/dist/{chunk-PFEKMIN5.js → chunk-POEGJGEA.js} +1 -1
- package/dist/{chunk-BQYGGX3B.js → chunk-PRETPA7Z.js} +1 -1
- package/dist/{chunk-QMAXDSCH.js → chunk-Q7U7QRC7.js} +2 -2
- package/dist/chunk-S6TH5G6Z.js +3541 -0
- package/dist/{chunk-MGFVNTIB.js → chunk-TSZU5JMC.js} +2 -2
- package/dist/{chunk-MR2LOG32.js → chunk-TXVN43SX.js} +8 -8
- package/dist/{chunk-V4HKT2LV.js → chunk-UTXMQVB2.js} +9 -9
- package/dist/{chunk-I5WWEBDG.js → chunk-VHRHI3CU.js} +1 -1
- package/dist/{chunk-E4AYSXMS.js → chunk-VW6CVKVA.js} +2 -2
- package/dist/{chunk-BAVM2XBR.js → chunk-YAFO7V4A.js} +209 -33
- package/dist/{chunk-32P7FTFC.js → chunk-YQ5MFXWG.js} +8 -7
- package/dist/{clean-ATMEGSGP.js → clean-263PH5CR.js} +15 -15
- package/dist/cli.js +50 -50
- package/dist/{cloud-ZFGUHACY.js → cloud-STLYEQNN.js} +4 -4
- package/dist/{cloudrun-LVZ4OPPC.js → cloudrun-7ZVNB6FY.js} +3 -3
- package/dist/commands/layout-audit.browser.js +178 -202
- package/dist/commands/motion-sample.browser.js +24 -71
- package/dist/commands/motion-signature.browser.js +374 -0
- package/dist/{compare-55LEUY7M.js → compare-33JLJ52D.js} +26 -26
- package/dist/{compiler-C32VXLE2.js → compiler-H3QAMMC2.js} +3 -3
- package/dist/{component-3EDFANIC.js → component-O5JLM26B.js} +3 -3
- package/dist/{compositions-OPU6U6GM.js → compositions-CN4ZVT5G.js} +11 -11
- package/dist/{contactSheet-54AJDSR5.js → contactSheet-27SRU7A4.js} +2 -2
- package/dist/{delete-PJE4P3HH.js → delete-Z23A45R3.js} +2 -2
- package/dist/{deploy-4T3RMA5G.js → deploy-PJLSZMUH.js} +1 -1
- package/dist/{destroy-EYDBVHGF.js → destroy-IPUDK6YN.js} +1 -1
- package/dist/{dist-YUIPB7OX.js → dist-7VEVT4NT.js} +2 -2
- package/dist/{dist-FMHQMEMX.js → dist-ICXYT7XK.js} +1 -1
- package/dist/docker/Dockerfile.render +1 -1
- package/dist/{doctor-EIVBJJAF.js → doctor-6QLXSGPK.js} +10 -10
- package/dist/{events-ISMT4RDW.js → events-EAAIWITP.js} +8 -8
- package/dist/{events-NP666TF4.js → events-UA4DJUO2.js} +9 -9
- package/dist/{feedback-4OSLMKBW.js → feedback-2CIRCBHY.js} +10 -10
- package/dist/{figma-Y7ZHFCOU.js → figma-DFCCII66.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-E4GBRHQK.js → get-UQ2AAXWM.js} +2 -2
- package/dist/{gpuPolicy-CA6KRFQQ.js → gpuPolicy-CPCLBMS5.js} +6 -6
- package/dist/{grade-compare-B2EHEOLR.js → grade-compare-THUUFHO3.js} +24 -24
- package/dist/{help-ISGUWGOR.js → help-SR2MRL3U.js} +1 -1
- package/dist/{history-FNRU3TL4.js → history-WLI7KFXB.js} +15 -15
- package/dist/hyperframe-runtime.js +49 -49
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +49 -49
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-FO7VR5NC.js → info-DFJM3YRJ.js} +11 -11
- package/dist/{init-IGW4DTVC.js → init-HEAMOTGH.js} +22 -22
- package/dist/{inspect-D4GUGDW7.js → inspect-TO2EXJNK.js} +25 -25
- package/dist/{installer-NBEN3ZIP.js → installer-REA7ZASD.js} +4 -4
- package/dist/{keyframes-CXZLEC3R.js → keyframes-XHEBAJY7.js} +12 -12
- package/dist/{lambda-BFHJMMCG.js → lambda-MSWYKDNT.js} +6 -6
- package/dist/{layout-XEDEOLAH.js → layout-UQXCTFFV.js} +25 -25
- package/dist/{lint-LLGMCVZ5.js → lint-BSMZ526C.js} +12 -12
- package/dist/{lintProject-X7L7EZWZ.js → lintProject-VNE322A7.js} +1 -1
- package/dist/{list-LUCWSLK6.js → list-RNP5EMTX.js} +2 -2
- package/dist/{login-SMWYXJWJ.js → login-S6V75HG5.js} +4 -4
- package/dist/{media-treatment-OYTNU6PX.js → media-treatment-IHEEEDUQ.js} +15 -14
- package/dist/{models-RILNQV3Z.js → models-OQEBKNJI.js} +7 -7
- package/dist/{motionShot-5F4DCMWC.js → motionShot-EAIFVJ2I.js} +10 -10
- package/dist/{normalize-audio-4LHYKFON.js → normalize-audio-4ACUR6W6.js} +11 -11
- package/dist/{pipeline-5UY45ELH.js → pipeline-SOQHD5YN.js} +6 -6
- package/dist/{play-D4AHRZQD.js → play-3WJPS3FE.js} +20 -20
- package/dist/{preflight-3V5IHGWQ.js → preflight-ZUADCOLZ.js} +7 -7
- package/dist/{present-VUH7PLOO.js → present-MU23WZZA.js} +16 -16
- package/dist/{preview-NCFC65VR.js → preview-VOTNRX67.js} +17 -17
- package/dist/{producer-7JGAPEAF.js → producer-HKRMTCPU.js} +1 -1
- package/dist/{projectConfig-JHEWPAA5.js → projectConfig-H37MQGE6.js} +6 -6
- package/dist/{publication-7XA2H7UB.js → publication-QVDKMAKD.js} +2 -2
- package/dist/{publish-257VZMWI.js → publish-54IPKU5O.js} +8 -8
- package/dist/{remove-background-EV6XVADN.js → remove-background-KQQ2WPKP.js} +7 -7
- package/dist/{render-DHCMWKFV.js → render-HJQ44SEI.js} +12 -12
- package/dist/{render-DKXGFQVW.js → render-P7727PLY.js} +21 -21
- package/dist/{render-4C3YKVZI.js → render-S2T3SLI4.js} +3 -3
- package/dist/{render-batch-AFDBPDMM.js → render-batch-DUFAHD6F.js} +3 -3
- package/dist/{renderCancellation-VIZELWDD.js → renderCancellation-BSVXXGZM.js} +6 -6
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-S72XBTEQ.js → resolver-PHWKDEH2.js} +4 -4
- package/dist/{screenshotCapture-FA5HPN7Q.js → screenshotCapture-ECBTLCU6.js} +3 -3
- package/dist/{sherpa-BAADWCHB.js → sherpa-GHQOWXFV.js} +7 -7
- package/dist/skills/hyperframes/references/frame-worker-core.md +2 -2
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
- package/dist/skills/media-use/audio/references/bgm.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/python.mjs +19 -5
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +69 -1
- package/dist/{skills-2BGFBUR6.js → skills-SOCMD66Y.js} +40 -14
- package/dist/{skillsUpdateCheck-5LYFYHUF.js → skillsUpdateCheck-PONPICQM.js} +3 -3
- package/dist/{snapshot-Z37DZL4T.js → snapshot-ECXEZ4TY.js} +50 -29
- package/dist/{src-GD7RGV5U.js → src-LVBNYMJW.js} +5 -5
- package/dist/{src-GRC63B6L.js → src-RQE5HXZK.js} +7 -7
- package/dist/{staticProjectServer-SFINO3DE.js → staticProjectServer-TQYP44CW.js} +14 -14
- package/dist/{status-LXQL3L3H.js → status-HVI7QZHE.js} +6 -6
- package/dist/studio/assets/{hyperframes-player-DvJeHBHi.js → hyperframes-player-CBpg41JM.js} +1 -1
- package/dist/studio/assets/{index-Bt4vDkfw.js → index-BFitquwi.js} +1 -1
- package/dist/studio/assets/{index-SFktf7O1.js → index-BKy_birQ.js} +194 -194
- package/dist/studio/assets/{index--G6c4Q_x.js → index-CZfrSyU9.js} +1 -1
- package/dist/studio/assets/{index-C7apTvpr.css → index-DbfKVTId.css} +1 -1
- package/dist/studio/{chunk-PQFEBX32.js → chunk-BIUXP3PG.js} +2 -2
- package/dist/studio/{chunk-6LUNLTHR.js → chunk-K47E2ZJA.js} +13 -8
- package/dist/studio/chunk-K47E2ZJA.js.map +1 -0
- package/dist/studio/{chunk-QUXZVHOJ.js → chunk-VWT7STY3.js} +2 -2
- package/dist/studio/{domEditingLayers-JQPQGGT7.js → domEditingLayers-V67MS4WP.js} +3 -3
- package/dist/studio/index.d.ts +80 -46
- package/dist/studio/index.html +2 -2
- package/dist/studio/index.js +7294 -6844
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +2 -2
- package/dist/studio/styles.css +1 -1
- package/dist/{studio-api-WRSCXPWS.js → studio-api-EKF6TFDB.js} +8 -8
- package/dist/{studioServer-HTLRGC5G.js → studioServer-BSNDGK63.js} +38 -38
- package/dist/{system-EEWYEHYX.js → system-NLNIE7PO.js} +6 -6
- package/dist/{telemetry-NLEEMXO2.js → telemetry-XNDAM6JU.js} +9 -9
- package/dist/{timeline-7C4KM3KD.js → timeline-IKWTTCNY.js} +15 -15
- package/dist/{tokens-QQLJXW4G.js → tokens-KOTFKBAK.js} +2 -2
- package/dist/{transcribe-GCKJF5A6.js → transcribe-ELJHKA5B.js} +7 -7
- package/dist/{transcribe-TGR5CTA7.js → transcribe-STEYOXIO.js} +12 -12
- package/dist/{updateCheck-73JM5QR3.js → updateCheck-OJMEQUST.js} +2 -2
- package/dist/{upgrade-V6E5P53C.js → upgrade-NIS32YR6.js} +2 -2
- package/dist/{urlDownloader-NYXPEBUN.js → urlDownloader-KJSQAFN7.js} +5 -5
- package/dist/{validate-INP7WJAK.js → validate-7MCKNH5K.js} +15 -15
- package/dist/{video-KWQ5TSVD.js → video-TUXP3VGQ.js} +17 -9
- package/package.json +1 -1
- package/dist/chunk-5GQAJ43Q.js +0 -31
- package/dist/chunk-YLVI7VL5.js +0 -3541
- package/dist/studio/chunk-6LUNLTHR.js.map +0 -1
- /package/dist/studio/{chunk-PQFEBX32.js.map → chunk-BIUXP3PG.js.map} +0 -0
- /package/dist/studio/{chunk-QUXZVHOJ.js.map → chunk-VWT7STY3.js.map} +0 -0
- /package/dist/studio/{domEditingLayers-JQPQGGT7.js.map → domEditingLayers-V67MS4WP.js.map} +0 -0
|
@@ -113,7 +113,7 @@ var capture_default = defineCommand({
|
|
|
113
113
|
// fallow-ignore-next-line complexity
|
|
114
114
|
async run({ args }) {
|
|
115
115
|
if (args.video) {
|
|
116
|
-
const { runVideoMode } = await import("./video-
|
|
116
|
+
const { runVideoMode } = await import("./video-TUXP3VGQ.js");
|
|
117
117
|
await runVideoMode({
|
|
118
118
|
project: args.video,
|
|
119
119
|
index: args.index ?? null,
|
|
@@ -162,7 +162,7 @@ var capture_default = defineCommand({
|
|
|
162
162
|
}
|
|
163
163
|
console.log();
|
|
164
164
|
}
|
|
165
|
-
const { captureWebsite } = await import("./capture-
|
|
165
|
+
const { captureWebsite } = await import("./capture-C4MPRLJV.js");
|
|
166
166
|
try {
|
|
167
167
|
const result = await captureWebsite(
|
|
168
168
|
{
|
|
@@ -252,7 +252,7 @@ var capture_default = defineCommand({
|
|
|
252
252
|
try {
|
|
253
253
|
const { mkdirSync } = await import("fs");
|
|
254
254
|
const { formatCaptureFailureReason } = await import("./captureTimeout-PA4FYWT5.js");
|
|
255
|
-
const { writeCaptureFileSync } = await import("./captureFile-
|
|
255
|
+
const { writeCaptureFileSync } = await import("./captureFile-LYOJOUIE.js");
|
|
256
256
|
mkdirSync(outputDir, { recursive: true });
|
|
257
257
|
const reason = formatCaptureFailureReason(errMsg);
|
|
258
258
|
writeCaptureFileSync(
|
|
@@ -5,9 +5,11 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
ensureCaptureDirSync,
|
|
8
9
|
writeCaptureFileSync
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MRF4AMKD.js";
|
|
10
11
|
import "./chunk-M2WBOQ2Q.js";
|
|
11
12
|
export {
|
|
13
|
+
ensureCaptureDirSync,
|
|
12
14
|
writeCaptureFileSync
|
|
13
15
|
};
|
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
runAdd
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-GODQ5XA4.js";
|
|
10
|
+
import "./chunk-POEGJGEA.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
loadProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-H3WFEPV2.js";
|
|
15
15
|
import "./chunk-XT7X6QCP.js";
|
|
16
16
|
import "./chunk-4YYJOFKS.js";
|
|
17
17
|
import "./chunk-HVW7ABXD.js";
|
|
@@ -23,23 +23,23 @@ import {
|
|
|
23
23
|
} from "./chunk-WMQNIQDJ.js";
|
|
24
24
|
import {
|
|
25
25
|
loadAllItems
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-5SDXALUQ.js";
|
|
27
|
+
import "./chunk-36XLW2TP.js";
|
|
28
28
|
import {
|
|
29
29
|
fetchRegistryManifest
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-M4RYK5OF.js";
|
|
31
31
|
import "./chunk-AWDFDFI3.js";
|
|
32
32
|
import "./chunk-GMECXFAN.js";
|
|
33
33
|
import {
|
|
34
34
|
downloadFile
|
|
35
35
|
} from "./chunk-X5HWXQPU.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-LYBFDHXD.js";
|
|
37
|
+
import "./chunk-E664L6K3.js";
|
|
38
38
|
import "./chunk-VWG7OQKU.js";
|
|
39
39
|
import {
|
|
40
40
|
c
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-JRULOVZK.js";
|
|
43
43
|
import "./chunk-AMKC3AXA.js";
|
|
44
44
|
import {
|
|
45
45
|
defineCommand
|
|
@@ -48,18 +48,18 @@ import "./chunk-54HJ63Q2.js";
|
|
|
48
48
|
import {
|
|
49
49
|
finishCommand
|
|
50
50
|
} from "./chunk-PBN6GBJE.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-P74PW7KR.js";
|
|
52
|
+
import "./chunk-C4JINRJK.js";
|
|
53
53
|
import "./chunk-UUDQD62L.js";
|
|
54
54
|
import "./chunk-DPVXBVLL.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-J2S4MY2M.js";
|
|
56
|
+
import "./chunk-S6TH5G6Z.js";
|
|
57
57
|
import "./chunk-VC76R6W2.js";
|
|
58
58
|
import {
|
|
59
59
|
realpath
|
|
60
60
|
} from "./chunk-OFQWTKPW.js";
|
|
61
61
|
import "./chunk-TWWSYAKJ.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-YAFO7V4A.js";
|
|
63
63
|
import "./chunk-HBBJFK6I.js";
|
|
64
64
|
import "./chunk-PJ3HDUCY.js";
|
|
65
65
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
isAttendedTerminal
|
|
75
75
|
} from "./chunk-WERLJGIC.js";
|
|
76
76
|
import "./chunk-ISN5GRYI.js";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-BD3MHTSR.js";
|
|
78
78
|
import "./chunk-KNU5COPB.js";
|
|
79
79
|
import {
|
|
80
80
|
installedOptionalPackageVersion,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-WBLXWOYK.js";
|
|
10
10
|
import {
|
|
11
11
|
loadProducer
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7VIXEM6Q.js";
|
|
13
13
|
import {
|
|
14
14
|
trackLintRun
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-P3AQVFY2.js";
|
|
16
16
|
import {
|
|
17
17
|
assertionTargets,
|
|
18
18
|
buildLayoutSampleTimes,
|
|
@@ -27,49 +27,49 @@ import {
|
|
|
27
27
|
mergeSampleTimes,
|
|
28
28
|
parseAt,
|
|
29
29
|
readMotionSpec
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-OXZO4WQI.js";
|
|
31
|
+
import "./chunk-NOOBRCMC.js";
|
|
32
32
|
import "./chunk-XUHOIDKG.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-7G25WGTA.js";
|
|
34
34
|
import "./chunk-X7MTZ4T2.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-YQ5MFXWG.js";
|
|
36
36
|
import "./chunk-5Z63TBTX.js";
|
|
37
37
|
import "./chunk-262C25DQ.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-OWN3ZIIK.js";
|
|
39
39
|
import "./chunk-YEIFI443.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-TXVN43SX.js";
|
|
41
|
+
import "./chunk-BZGWHPRW.js";
|
|
42
42
|
import "./chunk-WEATBQTR.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-CS4IE5G7.js";
|
|
44
|
+
import "./chunk-TSZU5JMC.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveProject
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-A6GVXZZ3.js";
|
|
48
48
|
import "./chunk-IHFUKJOR.js";
|
|
49
49
|
import "./chunk-PFCFR3KZ.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-H3WFEPV2.js";
|
|
51
51
|
import "./chunk-XT7X6QCP.js";
|
|
52
52
|
import "./chunk-4YYJOFKS.js";
|
|
53
53
|
import "./chunk-HVW7ABXD.js";
|
|
54
54
|
import {
|
|
55
55
|
resolveLocalBrowserGpuMode
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-KPSRL2NB.js";
|
|
57
|
+
import "./chunk-5SDXALUQ.js";
|
|
58
|
+
import "./chunk-36XLW2TP.js";
|
|
59
|
+
import "./chunk-M4RYK5OF.js";
|
|
60
60
|
import "./chunk-AWDFDFI3.js";
|
|
61
61
|
import "./chunk-GMECXFAN.js";
|
|
62
62
|
import "./chunk-RDMAU7AJ.js";
|
|
63
63
|
import {
|
|
64
64
|
trackCheckReport,
|
|
65
65
|
trackCommandFailure
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-LYBFDHXD.js";
|
|
67
|
+
import "./chunk-E664L6K3.js";
|
|
68
68
|
import "./chunk-VWG7OQKU.js";
|
|
69
69
|
import {
|
|
70
70
|
c
|
|
71
71
|
} from "./chunk-ZTZA4UWZ.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-JRULOVZK.js";
|
|
73
73
|
import "./chunk-AMKC3AXA.js";
|
|
74
74
|
import {
|
|
75
75
|
defineCommand,
|
|
@@ -86,12 +86,12 @@ import "./chunk-TJSTGSAW.js";
|
|
|
86
86
|
import {
|
|
87
87
|
extractMediaMetadata,
|
|
88
88
|
findHdrAutoPromotion
|
|
89
|
-
} from "./chunk-
|
|
90
|
-
import "./chunk-
|
|
89
|
+
} from "./chunk-P74PW7KR.js";
|
|
90
|
+
import "./chunk-C4JINRJK.js";
|
|
91
91
|
import "./chunk-UUDQD62L.js";
|
|
92
92
|
import "./chunk-DPVXBVLL.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-J2S4MY2M.js";
|
|
94
|
+
import "./chunk-S6TH5G6Z.js";
|
|
95
95
|
import "./chunk-VC76R6W2.js";
|
|
96
96
|
import "./chunk-OFQWTKPW.js";
|
|
97
97
|
import "./chunk-Q5X2B5WT.js";
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
lintProject,
|
|
101
101
|
resolveProjectRelativeSrc,
|
|
102
102
|
shouldBlockRender
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-YAFO7V4A.js";
|
|
104
104
|
import "./chunk-HBBJFK6I.js";
|
|
105
105
|
import "./chunk-PJ3HDUCY.js";
|
|
106
106
|
import "./chunk-TQFG7HTI.js";
|
|
@@ -108,12 +108,12 @@ import "./chunk-GK4AIFIH.js";
|
|
|
108
108
|
import "./chunk-2PSPARWP.js";
|
|
109
109
|
import {
|
|
110
110
|
withMeta
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-BLI5XATY.js";
|
|
112
112
|
import "./chunk-K4WIOZFP.js";
|
|
113
113
|
import "./chunk-XUXGIA7H.js";
|
|
114
114
|
import "./chunk-WERLJGIC.js";
|
|
115
115
|
import "./chunk-ISN5GRYI.js";
|
|
116
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-BD3MHTSR.js";
|
|
117
117
|
import {
|
|
118
118
|
normalizeErrorMessage
|
|
119
119
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -128,7 +128,7 @@ import { join, relative } from "path";
|
|
|
128
128
|
|
|
129
129
|
// src/utils/hdrPromotion.ts
|
|
130
130
|
async function bundleProjectHtml(projectDir) {
|
|
131
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
131
|
+
const { bundleToSingleHtml } = await import("./compiler-H3QAMMC2.js");
|
|
132
132
|
return bundleToSingleHtml(projectDir);
|
|
133
133
|
}
|
|
134
134
|
async function collectBundledRenderMedia(html) {
|
|
@@ -417,7 +417,7 @@ async function collectGridSamples(driver, options, grid, motion) {
|
|
|
417
417
|
contrastEntries: [],
|
|
418
418
|
screenshots: [],
|
|
419
419
|
contrastMs: 0,
|
|
420
|
-
|
|
420
|
+
layoutStateSignatures: [],
|
|
421
421
|
rotationSamples: [],
|
|
422
422
|
indicatorFrames: []
|
|
423
423
|
};
|
|
@@ -428,7 +428,10 @@ async function collectGridSamples(driver, options, grid, motion) {
|
|
|
428
428
|
const layoutIssues = await driver.collectLayout(time, options.tolerance, options.layout);
|
|
429
429
|
collected.layoutIssues.push(...layoutIssues);
|
|
430
430
|
issuesAtTime.push(...layoutIssues);
|
|
431
|
-
collected.
|
|
431
|
+
collected.layoutStateSignatures.push({
|
|
432
|
+
time,
|
|
433
|
+
signature: await driver.collectLayoutGeometry()
|
|
434
|
+
});
|
|
432
435
|
collected.rotationSamples.push(...await driver.collectRotationSample(time));
|
|
433
436
|
collected.indicatorFrames.push(await driver.collectOffPivotRotationSample(time));
|
|
434
437
|
}
|
|
@@ -490,12 +493,12 @@ var ZERO_LAYOUT_RECT = {
|
|
|
490
493
|
width: 0,
|
|
491
494
|
height: 0
|
|
492
495
|
};
|
|
493
|
-
function detectSweepStatic(duration,
|
|
496
|
+
function detectSweepStatic(duration, layoutStateSignatures, motionIssues, hasNoTimelineDeclaration) {
|
|
494
497
|
if (hasNoTimelineDeclaration) return [];
|
|
495
498
|
if (duration < SWEEP_STATIC_MIN_DURATION_SEC) return [];
|
|
496
|
-
if (
|
|
499
|
+
if (layoutStateSignatures.length < 2) return [];
|
|
497
500
|
if (motionIssues.some((issue) => issue.code === "motion_frozen")) return [];
|
|
498
|
-
const [first, ...rest] =
|
|
501
|
+
const [first, ...rest] = layoutStateSignatures;
|
|
499
502
|
if (!first || rest.some((signature) => signature !== first)) return [];
|
|
500
503
|
return [
|
|
501
504
|
{
|
|
@@ -859,7 +862,7 @@ async function runAuditGrid(driver, options, motion) {
|
|
|
859
862
|
const userPicked = new Set(grid.userPickedSamples);
|
|
860
863
|
const sweepFindings = detectSweepStatic(
|
|
861
864
|
grid.duration,
|
|
862
|
-
collected.
|
|
865
|
+
collected.layoutStateSignatures.filter((sample) => !userPicked.has(sample.time)).map((sample) => sample.signature),
|
|
863
866
|
motionIssues,
|
|
864
867
|
await driver.hasNoTimelineDeclaration()
|
|
865
868
|
);
|
|
@@ -888,7 +891,8 @@ async function runAuditGrid(driver, options, motion) {
|
|
|
888
891
|
contrastChecked: collected.contrastEntries.length,
|
|
889
892
|
contrastPassed: contrast.passed,
|
|
890
893
|
screenshots: collected.screenshots,
|
|
891
|
-
timings: { launchSettleMs: 0, seekLoopMs, contrastMs: collected.contrastMs }
|
|
894
|
+
timings: { launchSettleMs: 0, seekLoopMs, contrastMs: collected.contrastMs },
|
|
895
|
+
skipped: false
|
|
892
896
|
};
|
|
893
897
|
}
|
|
894
898
|
async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDENCIES2) {
|
|
@@ -1088,6 +1092,7 @@ function buildReport(options, lint, browser, motion, extraMotionFindings, snapsh
|
|
|
1088
1092
|
const report = {
|
|
1089
1093
|
ok: errorCount === 0 && (!options.strict || warningCount === 0),
|
|
1090
1094
|
strict: options.strict,
|
|
1095
|
+
browserSkipped: browser.skipped,
|
|
1091
1096
|
lint,
|
|
1092
1097
|
runtime,
|
|
1093
1098
|
layout,
|
|
@@ -1197,7 +1202,8 @@ function emptyBrowserResult() {
|
|
|
1197
1202
|
contrastChecked: 0,
|
|
1198
1203
|
contrastPassed: 0,
|
|
1199
1204
|
screenshots: [],
|
|
1200
|
-
timings: { launchSettleMs: 0, seekLoopMs: 0, contrastMs: 0 }
|
|
1205
|
+
timings: { launchSettleMs: 0, seekLoopMs: 0, contrastMs: 0 },
|
|
1206
|
+
skipped: true
|
|
1201
1207
|
};
|
|
1202
1208
|
}
|
|
1203
1209
|
function runtimeFailure(error, code = "check_runtime_failure") {
|
|
@@ -1240,7 +1246,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
1240
1246
|
};
|
|
1241
1247
|
}
|
|
1242
1248
|
async function runBrowserCheck(project, options, motion) {
|
|
1243
|
-
const module = await import("./checkBrowser-
|
|
1249
|
+
const module = await import("./checkBrowser-6KYNYIU7.js");
|
|
1244
1250
|
return module.runBrowserCheck(project, options, motion, runAuditGrid);
|
|
1245
1251
|
}
|
|
1246
1252
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -1252,7 +1258,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
1252
1258
|
return join("snapshots", filename);
|
|
1253
1259
|
}
|
|
1254
1260
|
async function captureFindingCrops(project, options, requests) {
|
|
1255
|
-
const module = await import("./checkBrowser-
|
|
1261
|
+
const module = await import("./checkBrowser-6KYNYIU7.js");
|
|
1256
1262
|
return module.captureFindingCrops(project, options, requests);
|
|
1257
1263
|
}
|
|
1258
1264
|
var DEFAULT_DEPENDENCIES2 = {
|
|
@@ -1583,6 +1589,12 @@ function nonNegativeNumber(value, fallback) {
|
|
|
1583
1589
|
}
|
|
1584
1590
|
function printHumanReport(report) {
|
|
1585
1591
|
printSection("Lint", report.lint);
|
|
1592
|
+
if (report.browserSkipped) {
|
|
1593
|
+
console.log();
|
|
1594
|
+
console.log(
|
|
1595
|
+
` ${c.warn("\u26A0")} Browser session never ran \u2014 layout, motion, and contrast below are empty placeholders, not a clean pass.`
|
|
1596
|
+
);
|
|
1597
|
+
}
|
|
1586
1598
|
printSection("Runtime", report.runtime);
|
|
1587
1599
|
printLayoutSection("Layout", report.layout);
|
|
1588
1600
|
printSection("Motion", report.motion);
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ambiguousIssue,
|
|
12
12
|
loadBrowserScript
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OXZO4WQI.js";
|
|
14
14
|
import {
|
|
15
15
|
serveStaticProjectHtml
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NOOBRCMC.js";
|
|
17
17
|
import {
|
|
18
18
|
auditClipDurations,
|
|
19
19
|
shouldIgnoreHttpError,
|
|
20
20
|
shouldIgnoreRequestFailure
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UTXMQVB2.js";
|
|
22
22
|
import "./chunk-XUHOIDKG.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-7G25WGTA.js";
|
|
24
24
|
import "./chunk-X7MTZ4T2.js";
|
|
25
25
|
import {
|
|
26
26
|
AUDIT_SEEK_OPTIONS,
|
|
@@ -33,69 +33,69 @@ import {
|
|
|
33
33
|
resolveCliChromeGpuMode,
|
|
34
34
|
seekCompositionTimeline,
|
|
35
35
|
waitForPreferredSeekTarget
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YQ5MFXWG.js";
|
|
37
37
|
import "./chunk-5Z63TBTX.js";
|
|
38
38
|
import "./chunk-262C25DQ.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-OWN3ZIIK.js";
|
|
40
40
|
import "./chunk-YEIFI443.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-TXVN43SX.js";
|
|
42
|
+
import "./chunk-BZGWHPRW.js";
|
|
43
43
|
import "./chunk-WEATBQTR.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-CS4IE5G7.js";
|
|
45
45
|
import {
|
|
46
46
|
decideMediaProxyEligibility,
|
|
47
47
|
proxyVariantFor,
|
|
48
48
|
resolveProxy,
|
|
49
49
|
scanProjectMediaCodecMap
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-TSZU5JMC.js";
|
|
51
|
+
import "./chunk-A6GVXZZ3.js";
|
|
52
52
|
import "./chunk-IHFUKJOR.js";
|
|
53
53
|
import "./chunk-PFCFR3KZ.js";
|
|
54
54
|
import {
|
|
55
55
|
resolveAutoProxy
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-H3WFEPV2.js";
|
|
57
57
|
import "./chunk-XT7X6QCP.js";
|
|
58
58
|
import "./chunk-4YYJOFKS.js";
|
|
59
59
|
import "./chunk-HVW7ABXD.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-KPSRL2NB.js";
|
|
61
|
+
import "./chunk-5SDXALUQ.js";
|
|
62
|
+
import "./chunk-36XLW2TP.js";
|
|
63
|
+
import "./chunk-M4RYK5OF.js";
|
|
64
64
|
import "./chunk-AWDFDFI3.js";
|
|
65
65
|
import "./chunk-GMECXFAN.js";
|
|
66
66
|
import "./chunk-RDMAU7AJ.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-LYBFDHXD.js";
|
|
68
|
+
import "./chunk-E664L6K3.js";
|
|
69
69
|
import "./chunk-VWG7OQKU.js";
|
|
70
70
|
import "./chunk-ZTZA4UWZ.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-JRULOVZK.js";
|
|
72
72
|
import "./chunk-AMKC3AXA.js";
|
|
73
73
|
import "./chunk-S3S4TGEH.js";
|
|
74
74
|
import "./chunk-54HJ63Q2.js";
|
|
75
75
|
import "./chunk-PBN6GBJE.js";
|
|
76
76
|
import "./chunk-KC5XXX3X.js";
|
|
77
77
|
import "./chunk-TJSTGSAW.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-P74PW7KR.js";
|
|
79
|
+
import "./chunk-C4JINRJK.js";
|
|
80
80
|
import "./chunk-UUDQD62L.js";
|
|
81
81
|
import "./chunk-DPVXBVLL.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
82
|
+
import "./chunk-J2S4MY2M.js";
|
|
83
|
+
import "./chunk-S6TH5G6Z.js";
|
|
84
84
|
import "./chunk-VC76R6W2.js";
|
|
85
85
|
import "./chunk-OFQWTKPW.js";
|
|
86
86
|
import "./chunk-TWWSYAKJ.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-YAFO7V4A.js";
|
|
88
88
|
import "./chunk-HBBJFK6I.js";
|
|
89
89
|
import "./chunk-PJ3HDUCY.js";
|
|
90
90
|
import "./chunk-TQFG7HTI.js";
|
|
91
91
|
import "./chunk-GK4AIFIH.js";
|
|
92
92
|
import "./chunk-2PSPARWP.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-BLI5XATY.js";
|
|
94
94
|
import "./chunk-K4WIOZFP.js";
|
|
95
95
|
import "./chunk-XUXGIA7H.js";
|
|
96
96
|
import "./chunk-WERLJGIC.js";
|
|
97
97
|
import "./chunk-ISN5GRYI.js";
|
|
98
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-BD3MHTSR.js";
|
|
99
99
|
import {
|
|
100
100
|
normalizeErrorMessage
|
|
101
101
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -113,7 +113,7 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
113
113
|
try {
|
|
114
114
|
codecMap = await scanProjectMediaCodecMap(projectDir, [{ html }]);
|
|
115
115
|
} catch (err) {
|
|
116
|
-
console.
|
|
116
|
+
console.error(
|
|
117
117
|
`[hyperframes] media proxy pre-resolve: scan failed (${normalizeErrorMessage(err)})`
|
|
118
118
|
);
|
|
119
119
|
return;
|
|
@@ -133,12 +133,12 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
133
133
|
)
|
|
134
134
|
);
|
|
135
135
|
const failed = results.filter((result) => result.status === "rejected").length;
|
|
136
|
-
console.
|
|
136
|
+
console.error(
|
|
137
137
|
`[hyperframes] media proxy pre-resolve: ${results.length - failed}/${results.length} ready, ${failed} failed (${Date.now() - startedAt}ms)`
|
|
138
138
|
);
|
|
139
139
|
}
|
|
140
140
|
async function runBrowserCheck(project, options, motion, runGrid) {
|
|
141
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
141
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-JWHKLSZM.js");
|
|
142
142
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
143
143
|
await preResolveHostileMediaProxies(project.dir, html, options.autoProxy);
|
|
144
144
|
const server = await serveStaticProjectHtml(
|
|
@@ -165,7 +165,7 @@ async function runBrowserCheck(project, options, motion, runGrid) {
|
|
|
165
165
|
await waitForPreferredSeekTarget(page);
|
|
166
166
|
const rootAnchor = await resolveRootAnchor(page);
|
|
167
167
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
168
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
168
|
+
const { analyzeClipMediaFit } = await import("./src-LVBNYMJW.js");
|
|
169
169
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
170
170
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
171
171
|
}
|
|
@@ -185,7 +185,7 @@ async function runBrowserCheck(project, options, motion, runGrid) {
|
|
|
185
185
|
}
|
|
186
186
|
async function captureFindingCrops(project, options, requests) {
|
|
187
187
|
if (requests.length === 0) return [];
|
|
188
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
188
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-JWHKLSZM.js");
|
|
189
189
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
190
190
|
const server = await serveStaticProjectHtml(
|
|
191
191
|
project.dir,
|
|
@@ -365,6 +365,7 @@ async function hasNoTimelineDeclaration(page) {
|
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
367
|
async function injectAuditScripts(page, contrast) {
|
|
368
|
+
await page.addScriptTag({ content: loadBrowserScript("motion-signature.browser.js") });
|
|
368
369
|
await page.addScriptTag({ content: loadBrowserScript("layout-audit.browser.js") });
|
|
369
370
|
await page.addScriptTag({ content: loadBrowserScript("motion-sample.browser.js") });
|
|
370
371
|
if (contrast) {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M4RYK5OF.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-C4JINRJK.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -31,7 +31,7 @@ function locateSamTemplate(repoRoot2) {
|
|
|
31
31
|
const candidate = join(repoRoot2, "examples", "aws-lambda", "template.yaml");
|
|
32
32
|
if (!existsSync(candidate)) {
|
|
33
33
|
throw new Error(
|
|
34
|
-
`[lambda] SAM template not found at ${candidate}.
|
|
34
|
+
`[lambda] SAM template not found at ${candidate}. \`hyperframes lambda deploy\` needs a HyperFrames repo checkout: run it from one, or set HYPERFRAMES_REPO_ROOT to point at one.`
|
|
35
35
|
);
|
|
36
36
|
}
|
|
37
37
|
return candidate;
|
|
@@ -5,15 +5,16 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
ensureCaptureDirSync,
|
|
8
9
|
writeCaptureFileSync
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MRF4AMKD.js";
|
|
10
11
|
import {
|
|
11
12
|
createCaptureDownloadBudget,
|
|
12
13
|
readBoundedResponse
|
|
13
14
|
} from "./chunk-AWDFDFI3.js";
|
|
14
15
|
import {
|
|
15
16
|
isBlockedNetworkHost
|
|
16
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-P74PW7KR.js";
|
|
17
18
|
import {
|
|
18
19
|
DOMParser,
|
|
19
20
|
parseHTML
|
|
@@ -23,7 +24,6 @@ import {
|
|
|
23
24
|
var CAPTURE_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36";
|
|
24
25
|
|
|
25
26
|
// src/capture/assetDownloader.ts
|
|
26
|
-
import { mkdirSync } from "fs";
|
|
27
27
|
import { join, extname } from "path";
|
|
28
28
|
import { createHash as createHash2 } from "crypto";
|
|
29
29
|
|
|
@@ -515,12 +515,12 @@ async function downloadDeclaredIcons(faviconLinks, outputDir, drops, options) {
|
|
|
515
515
|
async function downloadAssets(tokens, outputDir, catalogedAssets, faviconLinks, options = {}) {
|
|
516
516
|
options = { ...options, byteBudget: options.byteBudget ?? createCaptureDownloadBudget() };
|
|
517
517
|
const assetsDir = join(outputDir, "assets");
|
|
518
|
-
|
|
518
|
+
ensureCaptureDirSync(outputDir, assetsDir);
|
|
519
519
|
const assets = [];
|
|
520
520
|
const drops = noDrops();
|
|
521
521
|
const downloadedUrls = /* @__PURE__ */ new Set();
|
|
522
522
|
let icons = emptyIconManifest();
|
|
523
|
-
|
|
523
|
+
ensureCaptureDirSync(outputDir, join(outputDir, "assets", "svgs"));
|
|
524
524
|
const usedSvgNames = /* @__PURE__ */ new Set();
|
|
525
525
|
const MAX_INLINE_SVGS = 30;
|
|
526
526
|
drops["cap-reached"] += Math.max(0, tokens.svgs.length - MAX_INLINE_SVGS);
|
|
@@ -686,7 +686,7 @@ function normalizeUrl(u) {
|
|
|
686
686
|
async function downloadAndRewriteFonts(css, outputDir, options = {}) {
|
|
687
687
|
options = { ...options, byteBudget: options.byteBudget ?? createCaptureDownloadBudget() };
|
|
688
688
|
const assetsDir = join(outputDir, "assets", "fonts");
|
|
689
|
-
|
|
689
|
+
ensureCaptureDirSync(outputDir, assetsDir);
|
|
690
690
|
const drops = noDrops();
|
|
691
691
|
const fontUrlRegex = /url\(['"]?(https?:\/\/[^'")\s]+\.(?:woff2?|ttf|otf)[^'")\s]*?)['"]?\)/g;
|
|
692
692
|
const fontUrls = /* @__PURE__ */ new Set();
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TXVN43SX.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S6TH5G6Z.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-P74PW7KR.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-C4JINRJK.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-GK4AIFIH.js";
|