Skip to content

fix(mcp): default to stdio-standard ndjson framing; feat: real read-o… - #36

Merged
AlleyBo55 merged 1 commit into
masterfrom
feat/mcp-stdio-and-plan-mode
Nov 2, 2026
Merged

AlleyBo55 merged 1 commit into
masterfrom
feat/mcp-stdio-and-plan-mode

Conversation

@AlleyBo55

Copy link
Copy Markdown
Owner

…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.

…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.
@AlleyBo55
AlleyBo55 merged commit 0575cc2 into master Nov 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant