Bundle sizes

Per-entrypoint bundle sizes for @honua/sdk-js, measured the way a real consumer builds them: esbuild --bundle --minify, target es2020, runtime peers (maplibre-gl, cesium, @bufbuild/*, @connectrpc/*) kept external. Ceilings are enforced in CI via npm run verify:bundle-budgets (budgets live in bundle-budgets.json, set to actual + ~10% headroom).

Generated 2026-11-29 at commit 56ad00b6a.

Entrypoint Min Min budget Gzip Gzip budget
. (root) 781.9 KiB 829.3 KiB 211.0 KiB 211.8 KiB
/honua 956.4 KiB 1033.4 KiB 258.9 KiB 278.1 KiB
/contract 399.0 KiB 400.6 KiB 109.5 KiB 118.8 KiB
/source-schema (focused schema + pinned PROJJSON validator) 852.8 KiB 859.4 KiB 204.0 KiB 218.1 KiB
/source-capabilities (static evidence ingestion + lightweight evaluator) 188.5 KiB 257.5 KiB 26.3 KiB 33.2 KiB
/source-capability-discovery (GeoServices/OData/WMS/WMTS schema-bound evaluation) 886.8 KiB 961.8 KiB 213.4 KiB 237.6 KiB
/plugin (registry + certification, no heavy peers) 68.7 KiB 69.2 KiB 20.7 KiB 21.9 KiB
/agent-tools 46.4 KiB 48.1 KiB 12.7 KiB 13.3 KiB
/agent-safety 69.4 KiB 73.2 KiB 19.1 KiB 20.5 KiB
/nl-map-control 92.9 KiB 94.2 KiB 27.3 KiB 27.9 KiB
/interactions/declarative (ADR-0030 compiler over the existing binding primitives) 14.3 KiB 15.8 KiB 5.0 KiB 5.5 KiB
/studio-agent (SSE + MCP transports and the turn loop; bundles its agent-tools dependency) 59.3 KiB 64.1 KiB 19.4 KiB 20.8 KiB
/runtime 730.2 KiB 752.5 KiB 189.2 KiB 198.6 KiB
/realtime 82.6 KiB 86.2 KiB 23.7 KiB 25.0 KiB
/offline 171.8 KiB 186.2 KiB 45.6 KiB 49.7 KiB
/query-planner (worker runtime injected) 707.7 KiB 778.7 KiB 171.0 KiB 182.9 KiB
/scene-workspace (MapLibre/Cesium external — optional peers) 228.1 KiB 250.9 KiB 69.4 KiB 76.3 KiB
/client-compat 1095.2 KiB 1139.7 KiB 278.5 KiB 309.5 KiB
/expr 7.7 KiB 8.4 KiB 2.4 KiB 2.7 KiB
/webmap 35.0 KiB 38.6 KiB 10.7 KiB 11.8 KiB
/geocoding 34.5 KiB 35.9 KiB 9.8 KiB 10.1 KiB
/routing 29.2 KiB 31.8 KiB 8.8 KiB 9.5 KiB
/auth 29.7 KiB 30.6 KiB 8.2 KiB 8.7 KiB
/style 68.1 KiB 69.0 KiB 17.3 KiB 18.9 KiB
/map 199.2 KiB 218.2 KiB 56.7 KiB 62.1 KiB
/geoparquet (duckdb-wasm external — lazy peer) 149.3 KiB 154.9 KiB 44.7 KiB 46.6 KiB
/cog (caller-injected decoder; no raster peer in the static graph) 51.7 KiB 56.1 KiB 14.9 KiB 16.1 KiB
/pmtiles (bounded direct inspection + managed lifecycle; renderer runtime excluded) 338.1 KiB 364.2 KiB 90.7 KiB 98.7 KiB
/deckgl (deck.gl external — lazy peer) 70.1 KiB 77.7 KiB 19.1 KiB 21.3 KiB
/controls (framework-free control kit; includes the lazy web-components registration chunk) 1311.2 KiB 1420.1 KiB 350.7 KiB 386.1 KiB
/web-components (custom-element kit; maplibre-gl external, export adapters injected) 1419.5 KiB 1539.1 KiB 383.3 KiB 391.9 KiB
/kepler (kepler.gl/react/redux absent — dynamic optional peer) 61.7 KiB 67.5 KiB 18.0 KiB 18.1 KiB
/analytics (contract + accessible default presentation; no chart adapter, no chart peer) 47.0 KiB 51.0 KiB 14.9 KiB 15.5 KiB
/analytics/uplot (µPlot external — dynamically imported optional peer) 14.6 KiB 16.0 KiB 5.4 KiB 5.7 KiB
/react (react/react-dom external) 574.3 KiB 619.8 KiB 156.4 KiB 165.2 KiB
/geometry (turf/proj4 bundled — real consumer cost) 526.4 KiB 568.0 KiB 147.5 KiB 157.0 KiB
browser IIFE (./browser unpkg/jsdelivr) 782.1 KiB 832.8 KiB 211.2 KiB 222.1 KiB
browser ESM (./browser) 781.7 KiB 828.5 KiB 211.0 KiB 221.7 KiB
tree-shake guard ({ HonuaClient } only) 243.6 KiB 280.2 KiB 62.5 KiB 74.3 KiB
tree-shake guard ({ connect } from root, source-schema runtime excluded) 638.9 KiB 695.1 KiB 171.3 KiB 186.7 KiB
tree-shake guard ({ evaluateCapabilityProfile } only, CRS/PROJJSON validator excluded) 16.3 KiB 17.9 KiB 5.7 KiB 6.2 KiB
tree-shake guard ({ HonuaTimeoutError } only, descriptive code registry excluded) 17.0 KiB 17.1 KiB 4.5 KiB 4.5 KiB
explicit registry import ({ HONUA_ERROR_CODE_REGISTRY }, full descriptive summaries) 17.7 KiB 18.5 KiB 3.7 KiB 3.9 KiB
tree-shake guard ({ createHonua } managed discovery + accepted-plan facade) 741.0 KiB 791.3 KiB 200.2 KiB 210.6 KiB
tree-shake guard ({ FeatureLayerCompat } from /client-compat) 267.7 KiB 296.3 KiB 69.0 KiB 77.7 KiB
tree-shake guard ({ buffer } from /geometry, turf bundled) 286.0 KiB 316.3 KiB 65.2 KiB 72.2 KiB
tree-shake guard ({ mountSourceToMapLibre } from /map) 50.3 KiB 54.4 KiB 15.3 KiB 16.4 KiB
tree-shake guard ({ createHonuaPmtilesLifecycle } from /pmtiles, generic discovery excluded) 35.1 KiB 35.1 KiB 9.7 KiB 10.0 KiB
tree-shake guard ({ bindTerraDrawSketch } from /runtime, terra-draw external) 3.4 KiB 3.8 KiB 1.5 KiB 1.7 KiB
tree-shake guard (/analytics contract + default presentation, chart adapters/peers excluded) 33.0 KiB 35.9 KiB 10.6 KiB 11.3 KiB