Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test(budgets): fit get_page content_only into the v0.60.44.0 schema budgets
Howard Parkd88b5c03d8d6
diff --git a/src/core/ops/pages.ts b/src/core/ops/pages.tsindex d36d05106f..35e54ea125 100644--- a/src/core/ops/pages.ts+++ b/src/core/ops/pages.ts@@ -84,7 +84,7 @@ const get_page: Operation = {slug: { type: 'string', description: 'Page slug.', required: true },fuzzy: { type: 'boolean', description: 'Fuzzy slug match.' },include_content: { type: 'boolean', description: 'Full markdown + revision, for editing.' },- content_only: { type: 'boolean', description: 'With include_content: only the round-trip fields (slug, type, title, revision, tags, content).' },+ content_only: { type: 'boolean', description: 'Round-trip fields only.' },include_deleted: { type: 'boolean', description: 'Include soft-deleted pages.' },include_timeline_entries: { type: 'boolean', description: 'Also return timeline rows.' },source_id: { type: 'string', description: "One source, or '__all__'." },diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.jsonindex d0e52c8c00..5e17c00079 100644--- a/test/fixtures/goldens/cli/tools-json.json+++ b/test/fixtures/goldens/cli/tools-json.json@@ -2,8 +2,8 @@"golden": {"exitCode": 0,"stderr": "",- "stdoutBytes": 197057,- "stdoutSha256": "8cf966cd6d0ae838e6c2e457ae254c0b6c44e14e59689a7a747a560044cf63d4",+ "stdoutBytes": 196986,+ "stdoutSha256": "a94ef05467e333a594813f1214c3c3d5d17174ebf09c587a357b40fde49c668e","toolNames": ["remember","entity",@@ -360,7 +360,7 @@"schema": {"properties": {"content_only": {- "description": "With include_content: only the round-trip fields (slug, type, title, revision, tags, content).",+ "description": "Round-trip fields only.","type": "boolean"},"fuzzy": {diff --git a/test/mcp-schema-budget.test.ts b/test/mcp-schema-budget.test.tsindex 4a7eff8069..244ba88ded 100644--- a/test/mcp-schema-budget.test.ts+++ b/test/mcp-schema-budget.test.ts@@ -51,7 +51,7 @@ const PARAM_DESCRIPTION_HARD_CAP = 200;const TOOL_BUDGETS: Record<string, number> = {add_timeline_entry: 640, cancel_job: 270, cancel_write_request: 350, capture: 1250, context_pack: 760,delete_skill: 810, delta: 830, edit_page: 1090, entity: 460, find_anomalies: 520, forget: 560, get_agent_job: 270,- get_backlinks: 430, get_ingest_log: 280, get_page: 810, get_recent_salience: 660, get_skill: 910,+ get_backlinks: 430, get_ingest_log: 280, get_page: 930, get_recent_salience: 660, get_skill: 910,get_skill_asset: 790, get_write_request: 330, join_brain: 560, leave_brain: 540, list_brain_skillpack: 230,list_link_sources: 220, list_pages: 1090, list_skills: 670, list_write_requests: 450, put_page: 1320,put_skill: 1420, query: 3250, recall: 1590, remember: 1370, request_tools: 560, resolve_slugs: 410, search: 1760,