mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-07 06:19:43 -10:00
fix(sdk): bump the browser daemon bundle budget to 216KB (#10602)
The daemon JSON-RPC error-detail surfacing grew the browser-safe daemon bundle from 215,998 to 220,220 bytes, past the 215KB gate, so every install on main fails its build script and CI is red across all PRs. Bump the budget by 1KB to cover the measured size with minimal headroom, following the file's bump-line convention.
This commit is contained in:
1 parent
ec2fc5dd23
commit
c4803303fe
1 file changed
+3
-1
@@ -119,7 +119,9 @@ const rootDir = join(__dirname, '..');
|
||||
// response validation, and outcome-unknown recovery surface.
|
||||
// Workflow task status and control APIs merge within this budget; keep the
|
||||
// measured combined bundle bounded here.
|
||||
const MAX_DAEMON_BROWSER_BUNDLE_BYTES = 215 * 1024;
|
||||
// Bumped from 215KB to 216KB for the daemon JSON-RPC error-detail surfacing
|
||||
// (structured `code`/`data` forwarding in the error payload).
|
||||
const MAX_DAEMON_BROWSER_BUNDLE_BYTES = 216 * 1024;
|
||||
// The opt-in `daemon/transports` browser bundle legitimately ships the concrete
|
||||
// ACP transports (AcpHttpTransport/AcpWsTransport/AutoReconnect + negotiate), so
|
||||
// it's larger than the default barrel — but still budgeted so a future PR can't
|
||||
|
||||
Reference in new issue
Block a user