Skip to content

Non-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.

test(mcp): raise unminified mcp-server bundle budget to 1 MiB

inkwhite6f03aa16a5f1
diff --git a/test/mcp-protocol.test.ts b/test/mcp-protocol.test.ts
index 388d771..c96fed4 100644
--- a/test/mcp-protocol.test.ts
+++ b/test/mcp-protocol.test.ts
@@ -1556,7 +1556,9 @@ describe("MCP Stdio Server end-to-end", () => {
serverBuf.subarray(0, 32).toString("utf8").startsWith("#!/usr/bin/env node\n"),
"dist/mcp-server.mjs must start with a node shebang for portable npx/bin execution",
);
- const MAX_MCP_BUNDLE_BYTES = 512 * 1024;
+ // Keep readable unminified ESM output (`minify: false` in scripts/build.mjs)
+ // while still guarding against accidental heavy dependency bloat.
+ const MAX_MCP_BUNDLE_BYTES = 1024 * 1024;
assert.ok(
serverBuf.byteLength <= MAX_MCP_BUNDLE_BYTES,
`dist/mcp-server.mjs is ${serverBuf.byteLength} bytes, exceeding ${MAX_MCP_BUNDLE_BYTES}-byte anti-bloat budget`,