From 1d55d1a2d2dc05e84616e4f863d70cadf42d6552 Mon Sep 17 00:00:00 2001 From: snekxs <26660858+snekxs@users.noreply.github.com> Date: Sun, 11 Oct 2026 23:20:49 -0600 Subject: [PATCH] chore(budget): raise JS bundle budget to 2,472 kB for protocol 0.40.0 The G-Wolves XVI-new driver, 16 more cataloged G-Wolves PIDs with their picker filters, and the Bridge empty-enumeration diagnostic push the measured aggregate to 2,470.9 kB, 0.9 kB over the old 2,470 kB budget. Verified locally with @openmouse/protocol@0.40.0. --- build/check-bundle-size.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/check-bundle-size.ts b/build/check-bundle-size.ts index 73ed3aa2..b9a18ea1 100644 --- a/build/check-bundle-size.ts +++ b/build/check-bundle-size.ts @@ -204,7 +204,13 @@ const BUDGET_BYTES: Record = { // the marker/default client handling arrive through bridge-hid's // SUPPORTED_HID_FILTERS. The measured aggregate is 2,454.4 kB, 4.4 kB over // the old 2,450 kB budget, leaving ~15 kB of headroom. - ".js": 2_470_000, + // Raised to 2,472 kB for the @openmouse/protocol 0.40.0 bump: the G-Wolves + // XVI-new driver (profile-addressed sensor commands plus clicks-only + // remap), 16 more cataloged G-Wolves PIDs and their picker filters, and + // the Bridge empty-enumeration diagnostic. The measured aggregate is + // 2,470.9 kB, 0.9 kB over the old 2,470 kB budget, leaving ~1 kB of + // headroom — the next driver will need a real diet or a bigger bump. + ".js": 2_472_000, }; const ASSETS = join("dist", "assets");