Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(mcp-schema-budget): starter JSON ceiling covers get_page content_only after the master merge

garrytan6460659cce34
diff --git a/test/mcp-schema-budget.test.ts b/test/mcp-schema-budget.test.ts
index 78eb61095e..916fc46790 100644
--- a/test/mcp-schema-budget.test.ts
+++ b/test/mcp-schema-budget.test.ts
@@ -40,8 +40,8 @@ import { cl100kAvailable, estimateTokens } from '../src/core/chunkers/token-esti
const SERVED_STARTER_MAX_CHARS = 25_000;
const SERVED_STARTER_MAX_TOKENS = 5_700;
-/** The whole tools/list JSON, annotations included (25,735 measured at v0.60.46.0; 26,196 once mute_notice, the dismissal for the coaching notices starter sessions receive, joined starter). */
-const SERVED_STARTER_MAX_JSON_CHARS = 26_250;
+/** The whole tools/list JSON, annotations included (25,735 measured at v0.60.46.0; 26,196 once mute_notice, the dismissal for the coaching notices starter sessions receive, joined starter; 26,270 with get_page's content_only flag). */
+const SERVED_STARTER_MAX_JSON_CHARS = 26_300;
/** 4,042 at the cost wave + 586 for the operator contract's error protocol, notice prefix and memory loop (F1); no schema guidance moved here. */
const INSTRUCTIONS_MAX_CHARS = 4_628;
const DESCRIPTION_HARD_CAP = 1_200;