Repository navigation
fix(mcp): default to stdio-standard ndjson framing; feat: real read-o… - #36
Merged
Merged
Conversation
…nly /plan mode MCP client: write newline-delimited JSON by default (the MCP stdio standard, spoken by gocode mcp-serve, REA and the reference servers); Content-Length frames are opt-in via framing: content-length. Responses are read in either framing, request ids are matched so notifications no longer pose as responses, and initialize + tools/list are bounded by a 30s timeout so a silent server cannot hang startup. /plan: toggles a read-only gate in PermissionPolicy, checked before every other rule. Read tools run; bash, edits, MCP tools, sub-agents, tmux and ast_grep are refused with a model-readable reason. Each turn tells the model it is planning. Release prep: CHANGELOG v0.11.0, version string v0.11.0.
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.
…nly /plan mode
MCP client: write newline-delimited JSON by default (the MCP stdio standard, spoken by gocode mcp-serve, REA and the reference servers); Content-Length frames are opt-in via framing: content-length. Responses are read in either framing, request ids are matched so notifications no longer pose as responses, and initialize + tools/list are bounded by a 30s timeout so a silent server cannot hang startup.
/plan: toggles a read-only gate in PermissionPolicy, checked before every other rule. Read tools run; bash, edits, MCP tools, sub-agents, tmux and ast_grep are refused with a model-readable reason. Each turn tells the model it is planning.
Release prep: CHANGELOG v0.11.0, version string v0.11.0.