Bound construct MCP context usage#865
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n\n- bound high-volume construct MCP reads with compact defaults, pagination, truncation metadata, and explicit full-detail opt-ins\n- add etag-based construct_context reuse and compact fleet, transcript, PTY, diff, usage, subagent, and Program projections\n- replace construct_program_update shimmer arrays with a compact pending map keyed by zero-based block index\n- document the agent-facing MCP context-budget contract\n\n## Breaking changes\n\n- several read tools now return compact projections by default; callers needing legacy-rich data must request detail: full where offered\n- construct_program_update accepts markdown plus pending instead of parallel shimmer and tooltip arrays\n- construct_program_get and Program catalog tools omit large bodies and revision history unless explicitly requested\n\n## Verification\n\n- cargo test -p construct-mcp --lib\n- cargo test -p construct-client -p construct-protocol\n- cargo check -p construct-mcp\n- cargo build\n- git diff --check\n\nNo recording: this changes the MCP protocol/context surface and has no user-visible TUI rendering change.