v0.10.0-beta.4
Pre-releaseDelta since previous beta (v0.10.0-beta.3) — 1 new changeset.
Patch Changes
-
Fix
execMCP results overflowing the client's per-result token limit on mid-size reads. The visible body was serialized up to 3× per result —content[].text,structuredContent.text(the load-bearing cross-client mirror that Claude-class clients read when they dropcontent[].text), and a redundantstructuredContent.stdoutraw copy — while the soft cap budgeted only one copy. A markdown file comfortably under the cap (soexecreportedstdoutTruncated: false) could still produce a result large enough that the client rejected it and spilled to a file, silently degrading an in-budget read.Two changes: (1) drop the
structuredContent.stdoutfield. It was the original Claude-Desktopcontent[].text-drop workaround, fully superseded by thestructuredContent.textmirror it predates; its bytes are a strict subset oftextand nothing consumed it. (2) Recalibrate the soft cap to budget the realized 2× body duplication (content[].text+structuredContent.text) rather than a single copy — the per-string cap is now ~25 KB (RESULT_BODY_BUDGET_BYTES / WIRE_BODY_COPIES), so the doubled payload stays well under the client ceiling. Oversized reads now truncate with the existing<truncated: … re-run with a more-specific query>marker instead of silently overflowing. The cross-clientcontent[].text+structuredContent.textmirror is unchanged.- @inkeep/open-knowledge-core@0.9.2-beta.0