From 05ab9cfc874e53d142918d6d27d327de3bd51f63 Mon Sep 17 00:00:00 2001 From: snekxs Date: Sun, 11 Oct 2026 18:45:20 -0600 Subject: [PATCH] chore(budget): raise JS bundle budget to 2,470 kB for protocol 0.38.0 The AJAZZ NJ07/NJ08 key-map codec, vendor button-action catalog, and marker/default handling arrive through bridge-hid's SUPPORTED_HID_FILTERS and push the measured aggregate to 2,454.4 kB, 4.4 kB over the old 2,450 kB budget. Verified locally with @openmouse/protocol@0.38.0. --- build/check-bundle-size.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/check-bundle-size.ts b/build/check-bundle-size.ts index ec4e94cb..73ed3aa2 100644 --- a/build/check-bundle-size.ts +++ b/build/check-bundle-size.ts @@ -199,7 +199,12 @@ const BUDGET_BYTES: Record = { // Wuque codecs/client wiring, shared workspace cards, per-key trigger UI, // and keyboard strings in all ten locale chunks. The measured aggregate // is 2,419.9 kB, leaving ~30 kB of headroom. - ".js": 2_450_000, + // Raised to 2,470 kB for the @openmouse/protocol 0.38.0 bump: the AJAZZ + // NJ07/NJ08 key-map codec, the 49-entry vendor button-action catalog, and + // 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, }; const ASSETS = join("dist", "assets");